Files
agency-agents/scripts
Michael Sitarzewski 21763134f6 Add installKind to tools.json — install mechanism as upstream truth (#618)
Adds `installKind` to every tool entry and enforces it in check-tools.sh. It
classifies the install MECHANISM, which is true for every consumer (not app
state, unlike renderer coverage):
  - per-agent : one rendered file/dir per agent (11 tools)
  - roster    : one combined file for all agents (aider, windsurf)
  - plugin    : a built artifact, NOT per-agent renderable — CLI-only everywhere
                (hermes; no consumer can render it as a string)

Why: consumers currently infer "this tool is a plugin / can't be rendered" from
the format name + multi-file dest + reading the convert script. Making it
explicit is principled, not incidental. The Agency Agents app can now branch:
install natively when installKind is per-agent|roster AND it implements the
`format`; treat `plugin` kinds as recognized-but-CLI-only. Renderer coverage
stays the consumer's concern (derived from `format`); the catalog still carries
no app-release state — installKind passes the "true for every consumer" test
that `wired` failed.

check-tools.sh now requires installKind on every entry and validates the enum
(per-agent|roster|plugin). Purely additive — agency-agents scripts don't read
it, so this lands safely independent of the app, which adopts the field on its
next bundled-baseline refresh.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 10:32:50 -05:00
..