Skip to content

ci: fix release build step#76

Merged
johnstcn merged 2 commits intomainfrom
cj/fix-release-build
Sep 3, 2025
Merged

ci: fix release build step#76
johnstcn merged 2 commits intomainfrom
cj/fix-release-build

Conversation

@johnstcn
Copy link
Member

@johnstcn johnstcn commented Sep 3, 2025

Our CI job was running GOOS=xxx GOARCH=yyy make build. Recent changes made this call go run which would end up causing an exec format error.
Since this step is now run in CI pipelines, removing the gen target as a dependency of the build target.

@johnstcn johnstcn self-assigned this Sep 3, 2025
@johnstcn johnstcn requested a review from matifali September 3, 2025 11:21
@johnstcn johnstcn merged commit 66713c7 into main Sep 3, 2025
2 checks passed
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 23, 2026
Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat(e2e): add asciinema recording parser for testing

- Add asciinema package to parse asciinema v2 recordings
- Convert recordings to echo agent scripts
- Enable using real agent interactions for e2e testing
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat(e2e): add asciinema recording parser for testing

- Add asciinema package to parse asciinema v2 recordings
- Convert recordings to echo agent scripts
- Enable using real agent interactions for e2e testing

* fix: screenDiff wrong content for AgentTypeOpencode

Fixes #174 - screenDiff returns wrong content for AgentTypeOpencode

The bug was using slice index instead of original array index when
finding first non-matching line after header.
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination support for messages endpoint

#187 - Add offset/limit query params to /messages endpoint
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: auto-skip status check for AskUserQuestion prompts

#171 - Support for AskUserQuestion input

The AskUserQuestion tool renders an interactive TUI menu that never
stabilizes (cursor keeps blinking), causing timeouts when trying to
send a response.

This fix auto-detects AskUserQuestion prompts by checking for the
'Enter to select' indicator and skips the screen stability check.
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* fix: use fs.WalkDir instead of afero.Walk for embed.FS

#178 - Fix afero.Walk error with embedded files

The afero.Walk function can fail with embedded FS due to path separator
issues on different platforms. This change uses fs.WalkDir which is the
standard Go way to walk directories and works better with embed.FS.

Also adds better error handling for files that can't be read or accessed.
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* test: add initial prompt tests and fix whitespace handling

#114 - Add tests for initial prompt feature

- Add TestConversation_InitialPrompt_MultiLine
- Add TestConversation_InitialPrompt_WhitespaceOnly
- Fix: treat whitespace-only prompts as empty
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add slash command support

#117 - Support For Slash Commands

- Add MessageTypeCommand for sending slash commands
- Slash commands are sent directly to agent with newline appended
- Example: POST /message with type: "command", content: "/help"
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add /info endpoint for agent info

#60 - Improve agent detection

- Add GET /info endpoint returning agent type, version, and features
- Helps clients detect agent type and capabilities
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* test: add tests for first line preservation

#126 - First line of response being trimmed

- Add TestFormatAgentMessage_PreservesFirstLine
- Add TestTrimEmptyLines_PreservesContent
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add API key generation endpoint placeholder
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add test coverage placeholder
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add /health endpoint for load balancer probes

Add GET /health endpoint for Kubernetes/Docker health checks
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add /config endpoint

Add GET /config endpoint returning agent type and port
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add /version endpoint
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add /messages/count endpoint
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add /ready endpoint for Kubernetes readiness probe
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add rate limiting endpoint
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add logging endpoint
KooshaPari referenced this pull request in KooshaPari/agentapi-plusplus Feb 24, 2026
* feat: add agent lifecycle endpoints

Add new HTTP endpoints for agent management:
- POST /agent/start - Start a new agent session
- GET /agent/{id}/status - Get session status
- POST /agent/{id}/stop - Stop a session
- GET /agent/{id}/logs - Stream logs (SSE)
- POST /model/run - One-shot model command
- GET /models - List available models

Migrate from gin to chi for HTTP routing.
Add AgentHandler with session management.

Related: #72 #73 #74 #75 #76

* feat: add pagination to GET /messages endpoint

Add support for:
- ?after=<id> - return messages after this ID
- ?limit=<n> - limit number of messages returned

This allows clients to poll for new messages without fetching
the entire conversation history each time.

Fixes #187

* feat: add DELETE /messages to clear conversation history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants