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
[FEATURE] Single /agents view: drop the /a2a alias and stop the init-seeded /agents shortcut from shadowing it #1357
PR #1348 adds a built-in /agents shortcut that opens the merged Agents view (local + a2a rows) and keeps /a2a as a pre-filtered alias showing only a2a rows. Two problems:
The filter is not needed. One view with typed chips is enough; two entry points to the same list just add surface to document and maintain. Keep /agents, drop /a2a.
The built-in /agents is shadowed by the init-seeded YAML shortcut.infer init writes ~/.infer/shortcuts/a2a.yaml with a custom /agents <list|add|remove> shortcut (cmd/init/init.go). Custom shortcuts are registered after the built-ins (internal/container/container.go), and Registry.LoadCustomShortcuts overwrites by name (internal/presentation/shortcuts/registry.go), so on any machine that ran infer init the /agents view never opens. /agents runs infer agents instead, and the view is only reachable through the /a2a alias this issue removes.
Acceptance Criteria
/agents is the single entry point to the Agents view; the /a2a shortcut and its a2a-only scope are removed
Anything that opened the a2a-only scope (e.g. the A2A: X/Y status-bar indicator) opens the Agents view instead
infer init no longer seeds a custom /agents shortcut in a2a.yaml (add/remove stay available as infer agents add|remove)
A built-in shortcut wins over a custom YAML shortcut with the same name, with a warning naming the file, so an existing ~/.infer/shortcuts/a2a.yaml cannot shadow /agents
Tests cover the precedence rule and the removed alias
/agents is now the single entry point to the merged Agents view, and a custom YAML shortcut can no longer shadow it.
Precedence (b537621): Registry.LoadCustomShortcuts no longer lets a custom YAML shortcut overwrite a built-in registered under the same name - it skips the collision and logs a warning naming the offending file (custom shortcuts now remember their source file). Project dir still overlays userspace dir for custom-vs-custom.
Alias removed (25f7ec3): deleted the /a2a built-in, SideEffectShowA2AAgents, and the a2a-only scope (ViewStateA2AAgents, AgentsScopeA2A) - the view had none of the complexity those existed to serve. The A2A: X/Y status-bar indicator now opens the Agents view.
Init (89dc891): infer init no longer writes shortcuts/a2a.yaml (its /agents <list|add|remove> shortcut was the shadowing culprit); infer agents add|remove|list covers management.
Docs (16359c8): shortcuts-guide.md (documents /agents, drops /a2a and the a2a.yaml row), commands-reference.md (indicator now opens the agents view), plus a2a-connections.md and directory-structure.md examples switched to infer agents. Docs follow-up already tracked in [DOCS] /agents is the single Agents view for local and a2a agents docs#843.
Checks
TestLoadCustomShortcutsBuiltinsWin pins both the precedence rule and the removed alias; TUI tests updated for the unified view
Skipped: renaming StatusIndicatorActionA2AAgents (it names the indicator segment, which still exists) and keeping an empty a2a.yaml placeholder - neither earns its keep.
Activity
edenreich commentedon Sep 27, 2026
@infer can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 27, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#1359
✅ Infer Result: Success
All work is complete and verified. Closing out the todo list.
Done. PR #1359 is ready for review: #1359
Summary
/agentsis now the single entry point to the merged Agents view, and a custom YAML shortcut can no longer shadow it.b537621):Registry.LoadCustomShortcutsno longer lets a custom YAML shortcut overwrite a built-in registered under the same name - it skips the collision and logs a warning naming the offending file (custom shortcuts now remember their source file). Project dir still overlays userspace dir for custom-vs-custom.25f7ec3): deleted the/a2abuilt-in,SideEffectShowA2AAgents, and the a2a-only scope (ViewStateA2AAgents,AgentsScopeA2A) - the view had none of the complexity those existed to serve. TheA2A: X/Ystatus-bar indicator now opens the Agents view.89dc891):infer initno longer writesshortcuts/a2a.yaml(its/agents <list|add|remove>shortcut was the shadowing culprit);infer agents add|remove|listcovers management.16359c8): shortcuts-guide.md (documents/agents, drops/a2aand the a2a.yaml row), commands-reference.md (indicator now opens the agents view), plus a2a-connections.md and directory-structure.md examples switched toinfer agents. Docs follow-up already tracked in [DOCS] /agents is the single Agents view for local and a2a agents docs#843.Checks
TestLoadCustomShortcutsBuiltinsWinpins both the precedence rule and the removed alias; TUI tests updated for the unified viewgo test ./...,task vet, and the pre-commit lint/format hooks pass on every commit; tree clean, branch pushed, PR feat(shortcuts): /agents is the single Agents view entry point #1359 readySkipped: renaming
StatusIndicatorActionA2AAgents(it names the indicator segment, which still exists) and keeping an empty a2a.yaml placeholder - neither earns its keep.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 22m 17sTokens: 11,998,179 in · 64,193 out · 12,062,372 total (93 requests)
Tool calls: 135 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Sep 27, 2026
🎉 This issue has been resolved in version 0.214.0 🎉
The release is available on:
Your semantic-release bot 📦🚀