Releases: agentruntimecontrolprotocol/swift-sdk
Releases · agentruntimecontrolprotocol/swift-sdk
v1.1.0 — Full ARCP v1.1 protocol conformance
What's new
Full ARCP v1.1 protocol surface
All normative v1.1 wire surfaces are now implemented:
job.result_chunk— multi-kind streamed results (text,event,log,thought,metric,binary) with back-pressure and cooperative close- Crash-and-resume — same
IdempotencyKey→ samejob_id, buffered chunk replay viaclient.resultChunks(for:) lease_constraints.expires_at— submission validation + in-handler expiry checks viacontext.checkLeaseExpiration()cost.budget— per-invoke budget cap,context.charge()deductions,BUDGET_EXHAUSTEDerror, per-charge metricsmodel.use— payload parsing, requested-model matching, runtime policy enforcementprovisioned_credentials— issue / rotate / revoke lifecycle with test provisioner
Documentation (docs/)
Complete docs/ tree added:
- Architecture overview and RFC mapping guide
- State diagrams for sessions, jobs, streams, subscriptions, and leases (SVG — light + dark)
- Troubleshooting guide covering common integration errors
- Extension authoring guide (§21 custom message types)
Recipes (Recipes/)
Four focused, self-contained runnable examples (each swift run from its directory):
| Recipe | Demonstrates |
|---|---|
email-vendor-leases |
requestPermission + PermissionHandler veto (§15.4, §6.4) |
mcp-skill |
Bridging MCP call_tool as an ARCP ToolHandler (§20, §15.4, §10, §18.3) |
multi-agent-budget |
Cost-budget cap across serial worker steps (§17.3.1, §18.3) |
stream-resume |
Crash-and-resume for streamed ResultChunkStream (§10, §19, §7.2) |
Transports
StdioTransport— NDJSON framing over stdin/stdout (CLIarcp serve/arcp send/arcp tail/arcp replay)WebSocketTransport— client-side WebSocket transport (server-side deferred to v1.2)
No breaking changes
v1.1.0 is fully backward-compatible with v1.0.x client code. All new surfaces are additive.
Deferred to v1.2
mTLS / OAuth2 auth, sidecar binary stream frames, scheduled jobs, multi-agent delegation, trust elevation, checkpoint-based resume, full WebSocket server. See CONFORMANCE.md.