@1claw/openapi-spec 0.61.54 → 0.61.56

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
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "1Claw API",
5
- "version": "0.61.54",
5
+ "version": "0.61.56",
6
6
  "description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging. Automations (workflow_spec,\nwebhook tokens, event triggers, Assist), cloud runtimes with\ninteractive shell sessions, agent memory, and discovery.\n\n## Domains\n\n`api.1claw.co` is canonical: it is the OIDC issuer, the `aud` the API\nmints, and the first entry in `servers` — a generated client takes its\nbase URL from there, and the previous ordering pointed every SDK at the\ndomain the issuer had already left. `api.1claw.xyz` still answers and is\nstill accepted on token validation, because tokens minted before the\nmove carry it; it is never minted now.\n\nOne deliberate exception: the Shroud attestation identity token is\nrequested from GCP with `audience: https://api.1claw.xyz`, so\n`/v1/shroud/attestation` reports that as its `expected_audience`. That\nis accurate rather than stale — the audience is a verification contract\nwith anyone already checking the token, and moving it is a breaking\nchange for them, not a rename.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
7
7
  "contact": {
8
8
  "email": "ops@1claw.co"
@@ -37764,6 +37764,10 @@
37764
37764
  "type": "boolean",
37765
37765
  "description": "Agent memory, off by default. Until this field existed a\nplatform app had no way to turn it on: a bootstrap template\naccepted `memory_enabled` in its spec and never read it, so\nthe capability was reachable only from the end user's own\ndashboard. Templates now honour the flag too.\n"
37766
37766
  },
37767
+ "raw_signing_enabled": {
37768
+ "type": "boolean",
37769
+ "description": "Raw/blind digest signing (`sign_digest`, `eip712_digest`),\noff by default. The same gap as `memory_enabled` above, one\ncapability later: a template accepted `raw_signing_enabled`\nand never read it, and this route had no field for it, so a\nplatform app that provisioned an agent for raw signing had\nno way to switch it on. Reported from production.\n\nThis route is the only one that reaches an already\nbootstrapped agent — it lives in the end user's own org, so\nthe platform app's own `PATCH /v1/agents/{agent_id}` returns\n403, and the fleet bulk-patch refuses capability flags by\ndesign. Enabling it is audited as\n`platform.connection.agent_patch` with\n`raw_signing_changed`.\n"
37770
+ },
37767
37771
  "system_prompt": {
37768
37772
  "type": [
37769
37773
  "string",
@@ -37788,6 +37792,9 @@
37788
37792
  "memory_enabled": {
37789
37793
  "type": "boolean"
37790
37794
  },
37795
+ "raw_signing_enabled": {
37796
+ "type": "boolean"
37797
+ },
37791
37798
  "system_prompt": {
37792
37799
  "type": [
37793
37800
  "string",
@@ -48518,8 +48525,11 @@
48518
48525
  "type": "boolean"
48519
48526
  },
48520
48527
  "owner_sender_id": {
48521
- "type": "string",
48522
- "description": "External sender ID treated as the channel owner for admin slash commands. Merged into channel metadata, which is where the slash-command authorizer reads it from. Set this or `sender_allowlist` to authorize admin commands."
48528
+ "type": [
48529
+ "string",
48530
+ "null"
48531
+ ],
48532
+ "description": "External sender ID treated as the channel owner for admin slash commands. Merged into channel metadata, which is where the slash-command authorizer reads it from. Set this or `sender_allowlist` to authorize admin commands. An explicit `null` revokes admin by removing the key; omitting the field leaves the current admin unchanged. Revoking is durable on a channel that has already received a message — the first-contact claim fires only when a channel has no prior inbound message."
48523
48533
  }
48524
48534
  }
48525
48535
  },
package/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
 
3
3
  info:
4
4
  title: 1Claw API
5
- version: "0.61.54"
5
+ version: "0.61.56"
6
6
  description: |
7
7
  Secure secret management for AI agents. Provides vaults, secrets,
8
8
  policy-based access control, agent identity, Intents API,
@@ -24370,6 +24370,23 @@ components:
24370
24370
  accepted `memory_enabled` in its spec and never read it, so
24371
24371
  the capability was reachable only from the end user's own
24372
24372
  dashboard. Templates now honour the flag too.
24373
+ raw_signing_enabled:
24374
+ type: boolean
24375
+ description: |
24376
+ Raw/blind digest signing (`sign_digest`, `eip712_digest`),
24377
+ off by default. The same gap as `memory_enabled` above, one
24378
+ capability later: a template accepted `raw_signing_enabled`
24379
+ and never read it, and this route had no field for it, so a
24380
+ platform app that provisioned an agent for raw signing had
24381
+ no way to switch it on. Reported from production.
24382
+
24383
+ This route is the only one that reaches an already
24384
+ bootstrapped agent — it lives in the end user's own org, so
24385
+ the platform app's own `PATCH /v1/agents/{agent_id}` returns
24386
+ 403, and the fleet bulk-patch refuses capability flags by
24387
+ design. Enabling it is audited as
24388
+ `platform.connection.agent_patch` with
24389
+ `raw_signing_changed`.
24373
24390
  system_prompt:
24374
24391
  type: [string, "null"]
24375
24392
 
@@ -24385,6 +24402,8 @@ components:
24385
24402
  type: boolean
24386
24403
  memory_enabled:
24387
24404
  type: boolean
24405
+ raw_signing_enabled:
24406
+ type: boolean
24388
24407
  system_prompt:
24389
24408
  type: [string, "null"]
24390
24409
 
@@ -30755,12 +30774,23 @@ components:
30755
30774
  auto_respond_enabled:
30756
30775
  type: boolean
30757
30776
  owner_sender_id:
30758
- type: string
30777
+ # `type: [string, "null"]`, not `nullable: true`: this is a
30778
+ # 3.1.0 document, where `nullable` was removed and is
30779
+ # ignored by generators — a client built from it would
30780
+ # reject the null that revokes admin. 374 other fields here
30781
+ # use the union form; the 19 remaining `nullable: true`
30782
+ # are legacy and have the same latent problem.
30783
+ type: [string, "null"]
30759
30784
  description: >-
30760
30785
  External sender ID treated as the channel owner for admin
30761
30786
  slash commands. Merged into channel metadata, which is
30762
30787
  where the slash-command authorizer reads it from. Set this
30763
30788
  or `sender_allowlist` to authorize admin commands.
30789
+ An explicit `null` revokes admin by removing the key;
30790
+ omitting the field leaves the current admin unchanged.
30791
+ Revoking is durable on a channel that has already
30792
+ received a message — the first-contact claim fires only
30793
+ when a channel has no prior inbound message.
30764
30794
 
30765
30795
  ChannelResponse:
30766
30796
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.61.54",
3
+ "version": "0.61.56",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API \u2014 generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {