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>
17 lines
447 B
TOML
17 lines
447 B
TOML
[package]
|
|
name = "switchyard-core"
|
|
description = "Switchyard domain types: manifests, prices, the Adapter trait, the HTTP transport seam, errors and hashing."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
async-trait.workspace = true
|
|
secrecy.workspace = true
|
|
sha2.workspace = true
|
|
hex.workspace = true
|
|
ulid.workspace = true
|