@1claw/openapi-spec 0.32.0 → 0.32.1

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/openapi.json CHANGED
@@ -3693,7 +3693,7 @@
3693
3693
  "Bankr Keys"
3694
3694
  ],
3695
3695
  "summary": "Lease a short-lived Bankr wallet API key",
3696
- "description": "Provision a scoped, time-limited Bankr wallet API key for an agent.\nRequires `BANKR_PARTNER_KEY` configured on the Vault service.\nDefault TTL 1 hour, max 24 hours. Max 5 concurrent leases per agent.\n",
3696
+ "description": "Provision a scoped, time-limited Bankr wallet API key for an agent.\n**Privileged, deny-by-default:** agent callers need an explicit access policy\non `agents/{agent_id}/bankr/*` in the `__agent-keys` vault (JWT scope\n`agents/{agent_id}/bankr/lease`). Agents may only lease for their own ID.\nThe `bk_usr_` key is **omitted** from the JSON response for agent JWTs —\nstored server-side for Shroud resolution. Human callers receive `api_key` once.\nRequires `BANKR_PARTNER_KEY` on Vault. Agent default TTL 15 min when omitted;\nhuman/org default 1 hour (`BANKR_DEFAULT_LEASE_TTL_SECS`). Recommend 5–15 min\nfor autonomous agents. Max TTL 24 hours. Max 5 concurrent leases per agent.\n",
3697
3697
  "operationId": "leaseBankrKey",
3698
3698
  "parameters": [
3699
3699
  {
@@ -10934,7 +10934,7 @@
10934
10934
  },
10935
10935
  "api_key": {
10936
10936
  "type": "string",
10937
- "description": "Ephemeral bk_usr_ key (one-time display)."
10937
+ "description": "Ephemeral bk_usr_ key. Present for human callers only; omitted for agent JWTs."
10938
10938
  },
10939
10939
  "wallet_id": {
10940
10940
  "type": "string"
package/openapi.yaml CHANGED
@@ -2423,8 +2423,14 @@ paths:
2423
2423
  summary: Lease a short-lived Bankr wallet API key
2424
2424
  description: |
2425
2425
  Provision a scoped, time-limited Bankr wallet API key for an agent.
2426
- Requires `BANKR_PARTNER_KEY` configured on the Vault service.
2427
- Default TTL 1 hour, max 24 hours. Max 5 concurrent leases per agent.
2426
+ **Privileged, deny-by-default:** agent callers need an explicit access policy
2427
+ on `agents/{agent_id}/bankr/*` in the `__agent-keys` vault (JWT scope
2428
+ `agents/{agent_id}/bankr/lease`). Agents may only lease for their own ID.
2429
+ The `bk_usr_` key is **omitted** from the JSON response for agent JWTs —
2430
+ stored server-side for Shroud resolution. Human callers receive `api_key` once.
2431
+ Requires `BANKR_PARTNER_KEY` on Vault. Agent default TTL 15 min when omitted;
2432
+ human/org default 1 hour (`BANKR_DEFAULT_LEASE_TTL_SECS`). Recommend 5–15 min
2433
+ for autonomous agents. Max TTL 24 hours. Max 5 concurrent leases per agent.
2428
2434
  operationId: leaseBankrKey
2429
2435
  parameters:
2430
2436
  - $ref: "#/components/parameters/AgentId"
@@ -7163,7 +7169,7 @@ components:
7163
7169
  format: uuid
7164
7170
  api_key:
7165
7171
  type: string
7166
- description: Ephemeral bk_usr_ key (one-time display).
7172
+ description: Ephemeral bk_usr_ key. Present for human callers only; omitted for agent JWTs.
7167
7173
  wallet_id:
7168
7174
  type: string
7169
7175
  expires_at:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API — generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {