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>
9.8 KiB
9.8 KiB