Skip to content

fix: add missing vibe and agy agent configs to CommandRegistrar#1835

Open
mango766 wants to merge 2 commits intogithub:mainfrom
mango766:fix/add-missing-agent-configs
Open

fix: add missing vibe and agy agent configs to CommandRegistrar#1835
mango766 wants to merge 2 commits intogithub:mainfrom
mango766:fix/add-missing-agent-configs

Conversation

@mango766
Copy link
Contributor

Adds the missing vibe (Mistral Vibe) and agy (Antigravity) entries to CommandRegistrar.AGENT_CONFIGS in extensions.py.

Both agents are defined in AGENT_CONFIG in __init__.py but were absent from the extension system's config dictionary, which meant extensions couldn't register commands for them.

Related: #1816, #1705
Closes #1833

easonysliu and others added 2 commits March 13, 2026 23:59
The template outputs plain text `Last updated: [DATE]` but both
update-agent-context scripts only matched `**Last updated**: [DATE]`
(bold Markdown). Make the bold markers optional in the regex so the
timestamp is refreshed regardless of formatting.

Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
Both agents are defined in AGENT_CONFIG in __init__.py but were absent
from CommandRegistrar.AGENT_CONFIGS in extensions.py, which meant the
extension system could never register commands for them.

- vibe (Mistral Vibe): .vibe/prompts, markdown format
- agy (Antigravity): .agent/commands, markdown format

Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds missing agent entries so the extension command registration system recognizes vibe (Mistral Vibe) and agy (Antigravity), and improves agent-context timestamp updating in both Bash and PowerShell tooling.

Changes:

  • Add vibe and agy to CommandRegistrar.AGENT_CONFIGS so extensions can register commands for those agents.
  • Broaden “Last updated” line matching in update-agent-context scripts to handle both bold and non-bold variants.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/specify_cli/extensions.py Adds vibe and agy agent config mappings used by extension command registration.
scripts/powershell/update-agent-context.ps1 Makes the “Last updated” regex tolerant to bold/non-bold formatting.
scripts/bash/update-agent-context.sh Mirrors the PowerShell “Last updated” regex tolerance in Bash.
Comments suppressed due to low confidence (1)

src/specify_cli/extensions.py:850

  • CommandRegistrar.AGENT_CONFIGS is a second source of truth alongside AGENT_CONFIG in __init__.py, and this PR exists because they drifted. Consider adding a small consistency check (or deriving these entries from AGENT_CONFIG) so new agents don’t require updating multiple dictionaries manually.
        "agy": {
            "dir": ".agent/commands",
            "format": "markdown",
            "args": "$ARGUMENTS",
            "extension": ".md"
        }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +839 to 850
"vibe": {
"dir": ".vibe/prompts",
"format": "markdown",
"args": "$ARGUMENTS",
"extension": ".md"
},
"agy": {
"dir": ".agent/commands",
"format": "markdown",
"args": "$ARGUMENTS",
"extension": ".md"
}
Copy link
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback. If not applicable please explain why

@dhilipkumars
Copy link
Contributor

@mango766 FYI we deprecated commands for agy and only support --ai-skills, please see
#1808

@dhilipkumars
Copy link
Contributor

dhilipkumars commented Mar 13, 2026

im going to be adding support for extension + agent-skills with this #1795 , would you like to wait for it and retry for agy?

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.

Vibe and Antigravity agents missing from CommandRegistrar.AGENT_CONFIGS

4 participants