release: v0.2.4#8
Merged
Merged
Conversation
Fold the -s / --system-prompt override flag into the v0.2.4 release alongside the 'Working' spinner changes already in this section. - -s / --system-prompt / --system-prompt=<text> replaces the default system prompt entirely (works in both TUI and -p headless mode). - When the override is active, AGENTS.md memory and skills catalog are skipped (they live inside the default prompt). - The override is captured in a ref so /new and /resume keep it. - README and --help updated.
Contributor
Contributor
|
✅ Reviewed the changes: Clean feature PR adding |
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.
Cut the v0.2.4 release. Folds the new
-s/--system-promptflag into the 0.2.4 section of CHANGELOG.md alongside the 'Working' spinner (which was the original content of that section).What's in this release
Added
-s/--system-promptflag to override the default system prompt. Passorbcode -s "<text>"(or--system-prompt "<text>", or--system-prompt="<text>"for values that start with-) to replace the built-in system prompt entirely for the session. Works in both the interactive TUI and headless mode (-p). When the override is active, AGENTS.md memory files and the skills catalog are skipped, since they live inside the default prompt.⠋ Working (Xs · esc to interrupt)spinner appears and stays visible through tool execution, covering the previously dead-air window.Files changed
src/core/agent.ts— addedsystemPromptOverridetoAgentOptions; constructor uses it instead ofbuildSystemPromptwhen set.src/headless.ts—runHeadless(prompt, yolo, systemPromptOverride?)threads the override into theAgentconstructor.src/index.tsx— addedtakeSystemPrompt()supporting the=form, parses the flag, passes it torunHeadlessand the TUIApp. UpdatedprintHelp.src/ui/App.tsx—AppacceptssystemPromptOverride;createAgentreads it from a ref so regenerated agents keep the override.CHANGELOG.md—-sflag entry added to the existing 0.2.4 section.package.json— no version bump (already 0.2.4).Verification
npm run typecheck→ exit 0npm run build→ exit 0After merge
Per
RELEASE.md, after the PR is merged intomain, push the v0.2.4 tag to trigger the publish workflow: