`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>
36 lines
917 B
TOML
36 lines
917 B
TOML
[package]
|
|
name = "switchyard-cli"
|
|
description = "The Switchyard CLI (`switchyard`, alias `sy`): device-code login, search, describe, call, balance, top-up, keys, write-only credentials, SKILL.md bundles, project caps and a stdio MCP shim."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "switchyard"
|
|
path = "src/bin/switchyard.rs"
|
|
|
|
[[bin]]
|
|
name = "sy"
|
|
path = "src/bin/sy.rs"
|
|
|
|
[dependencies]
|
|
clap.workspace = true
|
|
reqwest.workspace = true
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_yaml.workspace = true
|
|
anyhow.workspace = true
|
|
chrono.workspace = true
|
|
url.workspace = true
|
|
|
|
[dev-dependencies]
|
|
switchyard-server.workspace = true
|
|
switchyard-testkit.workspace = true
|
|
switchyard-store.workspace = true
|
|
switchyard-auth.workspace = true
|
|
switchyard-vault.workspace = true
|
|
axum.workspace = true
|
|
secrecy.workspace = true
|
|
reqwest.workspace = true
|