Skip to content

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

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

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

Conversation

@johnstcn

@johnstcn johnstcn commented Nov 6, 2025

Copy link
Copy Markdown
Member

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

github-actions Bot commented Nov 6, 2025

Copy link
Copy Markdown

✅ Preview binaries are ready!

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

@35C4n0r 35C4n0r left a comment

Copy link
Copy Markdown
Collaborator

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