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
The / autocomplete list mixes four different kinds of entries with no way to tell them apart:
command - built-in Go shortcuts (/model, /tools, /theme, ...)
shortcut - user or init-seeded YAML shortcuts from .infer/shortcuts/*.yaml (/git, /agents, /mcp, ...)
skill - installed Agent Skills, sent to the agent as a skill invocation
remote skill - catalog skills that are not installed yet and get downloaded on first use
Today only remote skills get a visual hint: renderItem in internal/presentation/tui/autocomplete/autocomplete.go tints Catalog entries with the status color. Everything else looks the same, so users can't tell whether /a2a opens a built-in view or runs a skill, or that a YAML shortcut has silently replaced a built-in with the same name.
The desktop app already solves this: frontend/components/Composer.tsx in inference-gateway/desktop labels every slash item command, skill or remote skill. The CLI should match it and add shortcut for the YAML shortcuts the desktop doesn't have.
Acceptance Criteria
Every / autocomplete row shows a dim kind label: command, shortcut, skill or remote skill
The label is derived from the source (built-in shortcut, *CustomShortcut, installed skill, catalog skill) and replaces the Catalog bool rather than sitting next to it
The mid-text skills completion (skills-midtext mode) shows the same labels
Labels stay readable at narrow widths (the description truncates first, not the label)
autocomplete_test.go covers one row of each kind
Docs follow-up filed for cli.md (inference-gateway/docs)
Done. Issue #1358 is implemented and PR #1363 (#1363) is open and marked ready for review, with the Roadmap board item moved to QA.
What changed (branch fix/issue-1358, commit e03fcc4, 2 files, +168/-17):
ShortcutOption.Catalog bool is replaced by ShortcutOption.Kind string with exported kinds KindCommand, KindShortcut, KindSkill, KindRemoteSkill - the label replaces the bool, not sits next to it.
The label is derived at the source: registry rows type-switch on *shortcuts.CustomShortcut (shortcut) vs built-in Go shortcuts (command); skill rows check Skill.Scope == SkillScopeCatalog (remote skill) vs installed (skill); subcommand rows inherit their parent's kind. Models, tools, files, issues rows stay unlabeled.
Rendering: each labeled row shows a dim kind tag in its own column right after the shortcut name; the column is sized to the widest label in the list so rows stay aligned, and the description (already truncating via PadText) shrinks before the label at narrow widths. remote skill names keep the status color, preserving the "will be downloaded on first use" hint.
The skills-midtext mode shows the same labels for free since it shares the render path.
Tests: TestAutocomplete_KindLabels covers one row of each kind, mid-text labels, the remote-skill tint, and label readability/alignment at 60 columns.
Checks:go test ./... green, task lint and task vet clean, pre-commit hook (tidy, mocks, fmt, lint) passed on the commit; working tree clean and pushed.
Docs: no new ticket needed - the follow-up already exists as inference-gateway/docs#844 and is referenced in the PR. No downstream ripple beyond the docs ticket: ShortcutOption is private to the autocomplete package.
Activity
edenreich commentedon Sep 27, 2026
Docs follow-up: inference-gateway/docs#844
edenreich commentedon Sep 27, 2026
@infer Can you work on this? use /ponytail:ponytail /domain-driven-design /clean-code
inference-gateway-maintainer commentedon Sep 27, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#1363
✅ Infer Result: Success
Done. Issue #1358 is implemented and PR #1363 (#1363) is open and marked ready for review, with the Roadmap board item moved to QA.
What changed (branch
fix/issue-1358, commite03fcc4, 2 files, +168/-17):ShortcutOption.Catalog boolis replaced byShortcutOption.Kind stringwith exported kindsKindCommand,KindShortcut,KindSkill,KindRemoteSkill- the label replaces the bool, not sits next to it.*shortcuts.CustomShortcut(shortcut) vs built-in Go shortcuts (command); skill rows checkSkill.Scope == SkillScopeCatalog(remote skill) vs installed (skill); subcommand rows inherit their parent's kind. Models, tools, files, issues rows stay unlabeled.PadText) shrinks before the label at narrow widths.remote skillnames keep the status color, preserving the "will be downloaded on first use" hint.skills-midtextmode shows the same labels for free since it shares the render path.TestAutocomplete_KindLabelscovers one row of each kind, mid-text labels, the remote-skill tint, and label readability/alignment at 60 columns.Checks:
go test ./...green,task lintandtask vetclean, pre-commit hook (tidy, mocks, fmt, lint) passed on the commit; working tree clean and pushed.Docs: no new ticket needed - the follow-up already exists as inference-gateway/docs#844 and is referenced in the PR. No downstream ripple beyond the docs ticket:
ShortcutOptionis private to the autocomplete package.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 13m 41sTokens: 3,153,383 in · 36,482 out · 3,189,865 total (33 requests)
Tool calls: 49 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.215.0 🎉
The release is available on:
Your semantic-release bot 📦🚀