fix: add missing vibe and agy agent configs to CommandRegistrar#1835
Open
mango766 wants to merge 2 commits intogithub:mainfrom
Open
fix: add missing vibe and agy agent configs to CommandRegistrar#1835mango766 wants to merge 2 commits intogithub:mainfrom
mango766 wants to merge 2 commits intogithub:mainfrom
Conversation
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>
Contributor
There was a problem hiding this comment.
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
vibeandagytoCommandRegistrar.AGENT_CONFIGSso extensions can register commands for those agents. - Broaden “Last updated” line matching in
update-agent-contextscripts 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_CONFIGSis a second source of truth alongsideAGENT_CONFIGin__init__.py, and this PR exists because they drifted. Consider adding a small consistency check (or deriving these entries fromAGENT_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" | ||
| } |
mnriem
requested changes
Mar 13, 2026
Collaborator
mnriem
left a comment
There was a problem hiding this comment.
Please address Copilot feedback. If not applicable please explain why
Contributor
Contributor
|
im going to be adding support for extension + agent-skills with this #1795 , would you like to wait for it and retry for agy? |
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.
Adds the missing
vibe(Mistral Vibe) andagy(Antigravity) entries toCommandRegistrar.AGENT_CONFIGSinextensions.py.Both agents are defined in
AGENT_CONFIGin__init__.pybut were absent from the extension system's config dictionary, which meant extensions couldn't register commands for them.Related: #1816, #1705
Closes #1833