Skip to content

feat(agent): accept a prompt file or stdin as one literal task - #328

Merged
AetherAI3 merged 1 commit into
mainfrom
feat/issue-320-prompt-file
Oct 9, 2026
Merged

AetherAI3 merged 1 commit into
mainfrom
feat/issue-320-prompt-file

Conversation

@AetherAI3

Copy link
Copy Markdown
Owner

Closes #320.

Change

  • Add --prompt-file <path|-> to aether agent and its code alias. Read one bounded UTF-8 source to EOF and pass its literal text to the existing coding task path.
  • Reject positional tasks, resume, interactive steering, managed-agent routing, and --with-token before reading stdin or starting a session.
  • Record source and byte count in diagnostics and session metadata while using a generic run label instead of logging the prompt body.
  • Document the 256 KiB cap, conflict table, file and pipe examples, and generated command help.

Evidence

  • npm run build passed.
  • node --test --test-isolation=none dist/test/prompt_file.test.js dist/test/brain_cloud_dev.test.js dist/test/brain_ollama.test.js dist/test/code_verification_path.test.js dist/test/command_manifest.test.js dist/test/command_registry.test.js dist/test/command_dispatch.test.js dist/test/command_docs_parity.test.js: 86 passed, 0 failed.
  • npm run docs:check passed.
  • git diff --check passed.

@AetherAI3
AetherAI3 merged commit ac5a9c2 into main Oct 9, 2026
1 of 8 checks passed
@AetherAI3
AetherAI3 deleted the feat/issue-320-prompt-file branch October 9, 2026 14:35
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.

[feature] Agent: accept a prompt file or stdin as one literal task

1 participant