- switchyard-store: Store trait with in-memory and Postgres (sqlx) implementations and one conformance suite; append-only hash-chained calls table (trigger refuses UPDATE/DELETE) written atomically with its outbox events and idempotency entry. - switchyard-meter: Mint hold/capture/release/balance/checkout client with AITP receipt decoding, Rago tool_call events via a durable outbox with backoff, per-project/key/tool/send caps counting in-flight holds. - switchyard-auth: Relay sk-t0 keys verified against Relay's own key table (one key for both rails), EdDSA access tokens bound to a resource, OAuth 2.1 AS logic: PKCE S256, DCR, client ID metadata documents, rotating refresh tokens with family revocation on reuse, device authorization grant, Scribase-backed identity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
521 B
TOML
20 lines
521 B
TOML
[package]
|
|
name = "switchyard-store"
|
|
description = "Switchyard persistence: the Store trait, an in-memory store (tests, single-box dev) and the Postgres store (sqlx, migrations)."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
switchyard-core.workspace = true
|
|
async-trait.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
chrono.workspace = true
|
|
sqlx.workspace = true
|
|
tokio.workspace = true
|
|
|
|
[dev-dependencies]
|
|
ulid.workspace = true
|