Repository navigation
fix: resolve 'too many arguments' CLI error - #61
Merged
Merged
Conversation
Remove unsupported 'version' field from YAML frontmatter in squad.agent.md. The 'version' property is not supported in GitHub Copilot CLI agent manifests and was causing the Copilot CLI parser to display 'error: too many arguments' above the textbox. Changes: - Moved version tracking from YAML frontmatter to HTML comment - Updated stampVersion() to replace HTML comment and Version line - Updated readInstalledVersion() to read from HTML comment (with fallback) - Removed version from name field (was 'Squad (v0.0.0-source)', now 'Squad') The version is still tracked and stamped during install/upgrade, but no longer conflicts with the Copilot CLI's YAML parser. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
joniba
pushed a commit
to joniba/squad
that referenced
this pull request
Mar 26, 2026
Add worktree-based parallel agent isolation: - SKILL.md: coordinator create/spawn/cleanup flow - create-worktree.ps1: creates worktree + branch for an issue - cleanup-worktree.ps1: removes a single worktree after merge - cleanup-all-worktrees.ps1: prunes all merged/orphaned worktrees - .gitignore: exclude worktrees/ directory Resolves github#61. Design approved in github#60. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
joniba
pushed a commit
to joniba/squad
that referenced
this pull request
Mar 26, 2026
Add worktree-based parallel agent isolation: - SKILL.md: coordinator create/spawn/cleanup flow - create-worktree.ps1: creates worktree + branch for an issue - cleanup-worktree.ps1: removes a single worktree after merge - cleanup-all-worktrees.ps1: prunes all merged/orphaned worktrees - .gitignore: exclude worktrees/ directory Resolves github#61. Design approved in github#60. 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.
Closes #59
Investigated and fixed the argument parsing error that was displaying 'error: too many arguments' above the textbox in the CLI post-0.4.0.
Root Cause
The \�ersion\ field in the YAML frontmatter of \squad.agent.md\ is not a supported property according to the GitHub Copilot CLI agent manifest specification. When the Copilot CLI parser encounters unsupported properties, it interprets them as command-line arguments, causing the 'error: too many arguments' message.
Changes
eadInstalledVersion()* to read from HTML comment (with fallback to old format for backward compatibility)
Testing
The version is still tracked and displayed to users, but no longer conflicts with the Copilot CLI's YAML parser.