@1claw/openapi-spec 0.57.0 → 0.58.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -2
- package/openapi.json +1066 -25
- package/openapi.yaml +730 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @1claw/openapi-spec
|
|
1
|
+
# @1claw/openapi-spec (v0.58.0)
|
|
2
2
|
|
|
3
3
|
OpenAPI 3.1.0 specification for the [1Claw Vault API](https://1claw.xyz). Use this package to generate API clients in any language.
|
|
4
4
|
|
|
@@ -40,7 +40,27 @@ openapi-generator generate \
|
|
|
40
40
|
import spec from "@1claw/openapi-spec/openapi.json";
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## What's in the spec (v0.
|
|
43
|
+
## What's in the spec (v0.58.0)
|
|
44
|
+
|
|
45
|
+
### Platform control plane (v0.58)
|
|
46
|
+
- **App-scoped reads (`plt_`)** — `GET /v1/platform/connections/{id}/approvals`, pending-approvals (includes `payload_hash`), spend-policy
|
|
47
|
+
- **Spend policy** — `GET /v1/platform/apps/{id}/spend-policies/{policy_id}`; `PUT .../connections/{id}/spend-policy` supports optional **`Idempotency-Key`** (24h body-hash replay)
|
|
48
|
+
- **App lifecycle** — soft-delete returns `{ id, slug, deleted_at }`; slug unique per org; inactive apps return 404
|
|
49
|
+
- **Ownership transfer** — `POST /v1/platform/apps/{id}/transfer-ownership` with step-up auth
|
|
50
|
+
|
|
51
|
+
### Platform API expansion (v0.57)
|
|
52
|
+
- **SIWE provisioning** — `POST /v1/platform/siwe/challenge`; upsert with wallet subject token
|
|
53
|
+
- **Parameterized templates** — bootstrap `parameters` JSON; `POST .../templates/{tid}/preview` dry-runs `{{params.*}}` / `{{subject.*}}`
|
|
54
|
+
- **Connection polling** — `GET /v1/platform/connections/{id}` (status, claim, entitlements, wallet address)
|
|
55
|
+
- **Per-connection usage** — `GET .../connections/{id}/usage` (inference spend, UTC period)
|
|
56
|
+
- **On-chain entitlements** — template `entitlements[]`; refresh + monitor endpoints
|
|
57
|
+
- **Inference budgets** — spend policy inference allowance fields; `GET /v1/treasury/wallets/inference-budget`
|
|
58
|
+
|
|
59
|
+
### Safe accounts & guardrail governance (v0.56)
|
|
60
|
+
- **Agent accounts** — `GET/POST /v1/agents/{id}/accounts`, migrate/deprecate EOA, module registry
|
|
61
|
+
- **Guardrail governance** — shadow report, revisions, replay; widening guardrails return **202** + approval
|
|
62
|
+
- **Human Factor Auth** — treasury send/swap/export step-up policies
|
|
63
|
+
- **Org unfreeze** — T3 step-up; cumulative gas budget ledger
|
|
44
64
|
|
|
45
65
|
### Graduated HITL & extended guardrails (v0.54–0.55)
|
|
46
66
|
- **Agent fields** — `tx_approval_policy`, `typed_data_policy`, `simulation_failure_policy`, `raw_signing_policy`, `personal_sign_policy`, `tx_block_unlimited_approvals`, per-recipient limits, USD caps, `allow_erc4337`, `allow_eip7702`, `auto_suspended`, `clear_auto_suspended` (update)
|