Conversation
matifali
approved these changes
Sep 3, 2025
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our CI job was running
GOOS=xxx GOARCH=yyy make build. Recent changes made this callgo runwhich would end up causing an exec format error.Since this step is now run in CI pipelines, removing the
gentarget as a dependency of thebuild target.