Skip to content

Display Squad version in agent name across Copilot hosts#19

Merged
bradygaster merged 5 commits intomainfrom
copilot/show-squad-version-in-agent-label
Feb 12, 2026
Merged

Display Squad version in agent name across Copilot hosts#19
bradygaster merged 5 commits intomainfrom
copilot/show-squad-version-in-agent-label

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 11, 2026

Squad version was invisible in agent picker UIs. Users couldn't determine installed version without checking files manually.

Changes

Agent template (.github/agents/squad.agent.md)

  • Changed name: Squadname: Squad (v0.0.0-source) in frontmatter
  • Version placeholder gets stamped during install/upgrade

Version stamping (index.js)

  • Enhanced stampVersion() to replace version in both version: and name: fields
  • Uses regex pattern /^name:\s*Squad(?:\s*\([^)]*\))?$/m to handle:
    • Fresh installs from source template
    • Upgrades from any previous version
    • Manual edits that removed version

Documentation

  • Added version display details to docs/scenarios/upgrading.md
  • Updated docs/guide.md to clarify multi-host Copilot support (not CLI-only)
  • Updated README.md example

Result

# Before
name: Squad

# After
name: Squad (v0.3.0)

Agent picker now shows Squad (v0.3.0) across all Copilot hosts (VS Code, CLI, Visual Studio, Coding Agent). The name field is the only frontmatter property consistently displayed in picker UIs.

Original prompt

This section details on the original issue you should resolve

<issue_title>Show squad version number in agent label across Copilot hosts</issue_title>
<issue_description>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
  • Version is already in package.json (</issue_description>

<agent_instructions>Please figure out what is possible in terms of customizing the agent's name in the copilot CLI, VS Code, and Visual Studio experiences. Ideally, the agent name "squad" is consistent but, we could have a "description" property that gets shown in the tool we could capitalize on. If it is possible, work through the plan for implementing it so users can always see what version they're on in all the experiences. </agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 4 commits February 12, 2026 00:01
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Copilot AI changed the title [WIP] Add squad version number to agent label in Copilot hosts Display Squad version in agent name across Copilot hosts Feb 12, 2026
Copilot AI requested a review from bradygaster February 12, 2026 00:07
@bradygaster bradygaster marked this pull request as ready for review February 12, 2026 03:34
@bradygaster bradygaster merged commit 3e5b6c3 into main Feb 12, 2026
@bradygaster bradygaster deleted the copilot/show-squad-version-in-agent-label branch February 12, 2026 04:11
joniba pushed a commit to joniba/squad that referenced this pull request Mar 26, 2026
Add two comprehensive guides to pa-squad documentation:
- squad-template-patterns.md: charter structure, routing, ceremonies, role interactions, lessons learned, anti-patterns, implementation checklist
- squad-template-role-mapping.md: generic role reference, customization process, worked examples (Feature/Marvel, Platform/Star Wars, Data/Greek), customization guidance

Update documentation indexes:
- INDEX.md: add both guides to Guides category (4/8 categories now populated)
- TAGS.md: add 'patterns', 'roles', 'squad-infra', 'workflow' tag sections with both guides
- RECENT.md: move both guides to entries 1–2 (highest recency)

Update Bilbo's history with key learnings: charter structure patterns, role routing framework, ceremony rhythm, customization process.

Resolves GitHub issues bradygaster#11 and bradygaster#19.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Show squad version number in agent label across Copilot hosts

2 participants