Skip to content

feat(cmd/server): support reading initial prompt from stdin#139

Merged
johnstcn merged 4 commits intomainfrom
cj/prompt-stdin
Nov 7, 2025
Merged

feat(cmd/server): support reading initial prompt from stdin#139
johnstcn merged 4 commits intomainfrom
cj/prompt-stdin

Conversation

@johnstcn
Copy link
Copy Markdown
Member

@johnstcn johnstcn commented Nov 6, 2025

Supports passing initial prompt via stdin, e.g.

echo "a very long prompt" | agentapi server claude

@johnstcn johnstcn requested review from 35C4n0r and hugodutka November 6, 2025 13:14
@johnstcn johnstcn self-assigned this Nov 6, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 6, 2025

✅ Preview binaries are ready!

To test with modules: agentapi_version = "agentapi_139" or download from: https://github.com/coder/agentapi/releases/tag/agentapi_139

Copy link
Copy Markdown
Collaborator

@35C4n0r 35C4n0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM !

@johnstcn johnstcn requested a review from mafredri November 7, 2025 09:24
Comment thread cmd/server/server.go Outdated
Comment thread cmd/server/server_test.go Outdated
@johnstcn johnstcn merged commit 005809c into main Nov 7, 2025
3 checks passed
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.

3 participants