Standalone cargo workspace at apps/toolgate (working name; product name Switchyard pending owner confirmation). Clean-room implementation from gtm/TOOLGATE-SPEC-2026-09-29.md. - switchyard-core: tool/capability/provider manifests, micro-USD prices (quote = hold bound, settle = exact capture, failures never billed), the Adapter trait and error classes, the HTTP transport seam, the API error envelope, canonical JSON, request hashes and the audit hash chain. - switchyard-catalog: YAML loader with integrity checks (references, JSON Schema 2020-12 compile, examples validate), JSON Pointer validation errors, output mapping language, minijinja templates and BM25 search by task with free-first and reliability boosts. - catalog/: 24 capabilities, 27 tools (11 own-product, 16 free/public), provider etiquette limits, and the lead-to-video SKILL.md bundle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
257 B
YAML
10 lines
257 B
YAML
# Bring-your-own-key providers: calls use the team's stored credential and are
|
|
# not metered.
|
|
- id: brave
|
|
title: Brave Search API
|
|
kind: byo
|
|
egress_hosts: [api.search.brave.com]
|
|
credential: { header: X-Subscription-Token }
|
|
rate_per_s: 1
|
|
burst: 1
|