fix: stamp CLI version in squad.agent.md during init/upgrade (#321)#409
Merged
bradygaster merged 1 commit intodevfrom Mar 15, 2026
Merged
fix: stamp CLI version in squad.agent.md during init/upgrade (#321)#409bradygaster merged 1 commit intodevfrom
bradygaster merged 1 commit intodevfrom
Conversation
8f94ebe to
754e5ec
Compare
Both squad init and squad upgrade now update the version comment
in .github/agents/squad.agent.md to match the installed CLI version.
Changes:
- SDK stampVersionInContent() now replaces all 3 version locations
(HTML comment, Identity Version line, {version} placeholder)
- CLI init.ts calls stampVersion() after SDK creates the file
- CLI upgrade.ts uses shared version utilities from version.ts
- version.ts regex updated to handle pre-release with dot suffix
Previously the SDK only stamped the HTML comment, and the init
command had no post-creation stamping, leaving stale version identity.
Closes #321
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
754e5ec to
07d6662
Compare
tamirdresher
pushed a commit
to tamirdresher/squad
that referenced
this pull request
Mar 16, 2026
… (#475) Add tab-cycling support to InputPrompt. Pressing tab on @partial or /partial cycles through matching agent names or slash commands. Resets on any other keystroke. Agent names passed from App.tsx via agentNames prop. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
Both
squad initandsquad upgradenow update the<!-- version: X.Y.Z -->comment in.github/agents/squad.agent.mdto match the installed CLI version. The Identity Version line andSquad v{version}greeting placeholder are also stamped.Working as GNC (Node.js Runtime)
Closes #321
Changes
stampVersionInContent()now replaces all 3 version locations (HTML comment, Identity Version line, {version} placeholder) — previously only the HTML commentstampVersion()after SDK creates the file (belt-and-suspenders)stampVersion(),readInstalledVersion(), andgetCLIVersion()— now uses shared utilities fromversion.ts0.8.0-alpha.1)Testing