Files
ai-agent/backend/skills.py
Gabriel Vidal 56e5da331c feat(composer): auto-tag — the composer notices the tags you already named
Both composers (spawn + resume) turn on RichInput's new auto-tag: a
second after the typing stops, the words a tag declares are circled in
the prompt with a ✓/✕ to turn that tag on.

Where the words come from, by kind:
- skill    → SKILL.md's `trigger_words:`, parsed by the backend (the
             frontmatter parser learned block sequences) and carried on
             the catalog as `triggerWords`;
- project/service → the tag's own name, which is the signal auto-tag
             exists to catch;
- agent/stack/shortcut → nothing, until words are written by hand.

Settings → Tags gains the editor for that hand-written half; a prompt
shortcut carries its own `triggers` instead, since it is a line of
prompt, not a tag. Tag colours gain a raw-CSS twin (TAG_COLOR_CSS) —
the ring is an SVG stroke, which no utility class can reach.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 15:16:11 +02:00

9.8 KiB