2 Commits

Author SHA1 Message Date
abd287ab3e chore(toolgate): clippy clean and reword one doc comment
Clippy --all-targets now reports zero warnings. Reworded the
reported_cost doc comment in price.rs, which the originality check found
matched a phrase in treg's models.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 03:11:30 +03:00
9307ff6ff7 feat(toolgate): sy CLI with device-code login and stdio MCP shim
`switchyard` / `sy`: device-code login (token stored 0600, refreshed and
rotated transparently, no raw key on disk), search, describe, call
(JSON, @file or stdin input; pin, dry run, max cost, idempotency key,
cache bypass), balance, Dodo top-up, usage, audit log, keys (one key for
Relay and Switchyard), write-only credentials from stdin, SKILL.md bundle
push/install, project caps/policy/pins, and `sy mcp` forwarding stdio
JSON-RPC to /mcp. SWITCHYARD_TOKEN + SWITCHYARD_URL for CI. No telemetry.
Tests drive every command against a live local server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:36:55 +03:00