You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show squad version number in agent label across Copilot hosts #18
When Squad agents spawn, the host UI shows an agent label (e.g. in Copilot CLI it shows the agent type/description). It would be useful to display the Squad version number somewhere in that label or output so users know which version of Squad is running.
Why:
Helps with debugging and support — users can immediately see which version they're on
Makes it clear when an update is available or when behavior changed between versions
Useful across all hosts: Copilot CLI, VS Code, Visual Studio, coding agent
Acceptance criteria:
Investigate what's controllable in the agent label/description across Copilot hosts
If possible, include the version from package.json in the spawn output or agent label
If the host doesn't support custom labels, find the next best surface (e.g. first line of agent output, status message)
Document which hosts support this and which don't
Notes:
This is a UX/platform investigation — the answer may be 'not possible on host X' and that's fine
Kujan — Version Display Investigation & Implementation
Findings
What's already in place:
squad.agent.md has YAML frontmatter with version: "0.0.0-source" in the source file
index.js already stamps the real version (from package.json) into the frontmatter via stampVersion() during both init and upgrade
The version is already embedded in every installed agent file — it just wasn't being surfaced to users
What's controllable:
The description field in task tool calls shows in the Copilot UI, but it's per-spawn — not the right place for a persistent version indicator
The YAML frontmatter description field shows in the agent picker UI — could work, but mixing version into the agent description feels noisy
The coordinator's first response text is the cleanest place — it's visible in every host (CLI, VS Code, GitHub.com)
Approach Chosen: Coordinator Self-Announcement
Added a Version line to the Coordinator Identity section in squad.agent.md:
-**Version:** Read the `version` field from the YAML frontmatter at the top of this file. Include it as `Squad v{version}` in your first response of each session.
Why this works across all Copilot hosts:
The version is already stamped into the frontmatter during install/upgrade — no new machinery needed
The coordinator reads its own file at session start — the version is right there
The instruction to include it in the first response is simple and reliable
Works identically in CLI, VS Code, and GitHub.com — no host-specific logic
Zero code changes to index.js — the stamping mechanism is already correct
What the user sees (first response of any session):
Init mode: Squad v0.3.0 — Hey Brady, what are you building?
Team mode: Squad v0.3.0 — Fenster's on it — refactoring auth module
Alternatives Considered & Rejected
Injecting version into description frontmatter field — Would show in agent picker but is noisy (Your AI team (v0.3.0)), and the picker UI may truncate it
Runtime version read from package.json — The coordinator can't read package.json at runtime (it's in the npm package, not the user's repo). The stamped frontmatter is the correct mechanism.
Adding version to task tool description field — Per-spawn, not persistent. Would clutter every spawn acknowledgment.
Implementation
Single edit to squad.agent.md Coordinator Identity section. All 118 existing tests pass. No changes to index.js needed — the version stamping pipeline was already correct.
Resolved in v0.4.0 — added version display to coordinator identity in squad.agent.md. Version is read from frontmatter and shown as 'Squad v{version}' on session start.
Activity
bradygaster commentedon Feb 12, 2026
Kujan — Version Display Investigation & Implementation
Findings
What's already in place:
squad.agent.mdhas YAML frontmatter withversion: "0.0.0-source"in the source fileindex.jsalready stamps the real version (frompackage.json) into the frontmatter viastampVersion()during both init and upgradeWhat's controllable:
descriptionfield intasktool calls shows in the Copilot UI, but it's per-spawn — not the right place for a persistent version indicatordescriptionfield shows in the agent picker UI — could work, but mixing version into the agent description feels noisyApproach Chosen: Coordinator Self-Announcement
Added a
Versionline to the Coordinator Identity section insquad.agent.md:Why this works across all Copilot hosts:
index.js— the stamping mechanism is already correctWhat the user sees (first response of any session):
Squad v0.3.0 — Hey Brady, what are you building?Squad v0.3.0 — Fenster's on it — refactoring auth moduleAlternatives Considered & Rejected
descriptionfrontmatter field — Would show in agent picker but is noisy (Your AI team (v0.3.0)), and the picker UI may truncate ittasktooldescriptionfield — Per-spawn, not persistent. Would clutter every spawn acknowledgment.Implementation
Single edit to
squad.agent.mdCoordinator Identity section. All 118 existing tests pass. No changes toindex.jsneeded — the version stamping pipeline was already correct.bradygaster commentedon Feb 12, 2026
Resolved in v0.4.0 — added version display to coordinator identity in squad.agent.md. Version is read from frontmatter and shown as 'Squad v{version}' on session start.
fix: apply P0+P1 security audit findings for remote-control
fix: add EISDIR, NaN, stream error, non-JSON PTY, and decodeURI guards
feat: Squad Remote Control - PTY mirror + devtunnel for phone access (#…
feat: reusable squad template project with generic roles