@1claw/openapi-spec 0.40.1 → 0.41.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 +89 -2
- package/openapi.yaml +62 -0
- package/package.json +38 -38
package/openapi.json
CHANGED
|
@@ -11373,6 +11373,16 @@
|
|
|
11373
11373
|
"additionalProperties": true,
|
|
11374
11374
|
"description": "Guardrails applied to all execution intents for this agent"
|
|
11375
11375
|
},
|
|
11376
|
+
"intents_require_tee": {
|
|
11377
|
+
"type": "boolean",
|
|
11378
|
+
"default": false,
|
|
11379
|
+
"description": "When true, transaction/sign requests must arrive via a TEE host (Pro+ only)"
|
|
11380
|
+
},
|
|
11381
|
+
"execution_require_tee": {
|
|
11382
|
+
"type": "boolean",
|
|
11383
|
+
"default": false,
|
|
11384
|
+
"description": "When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)"
|
|
11385
|
+
},
|
|
11376
11386
|
"tx_token_allowlist": {
|
|
11377
11387
|
"type": "array",
|
|
11378
11388
|
"items": {
|
|
@@ -11484,6 +11494,14 @@
|
|
|
11484
11494
|
"additionalProperties": true,
|
|
11485
11495
|
"description": "Guardrails applied to all execution intents for this agent"
|
|
11486
11496
|
},
|
|
11497
|
+
"intents_require_tee": {
|
|
11498
|
+
"type": "boolean",
|
|
11499
|
+
"description": "When true, transaction/sign requests must arrive via a TEE host (Pro+ only)"
|
|
11500
|
+
},
|
|
11501
|
+
"execution_require_tee": {
|
|
11502
|
+
"type": "boolean",
|
|
11503
|
+
"description": "When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)"
|
|
11504
|
+
},
|
|
11487
11505
|
"federation_enabled": {
|
|
11488
11506
|
"type": "boolean",
|
|
11489
11507
|
"description": "Enable OIDC federation (RFC 8693 token-exchange) for this agent.\nWhen true, the agent may call POST /v1/auth/federated-token to mint\nfederation tokens for the audiences listed in `federation_audiences`.\n"
|
|
@@ -11663,6 +11681,14 @@
|
|
|
11663
11681
|
"additionalProperties": true,
|
|
11664
11682
|
"description": "Guardrails applied to all execution intents for this agent"
|
|
11665
11683
|
},
|
|
11684
|
+
"intents_require_tee": {
|
|
11685
|
+
"type": "boolean",
|
|
11686
|
+
"description": "When true, transaction/sign requests must arrive via a TEE host (Pro+ only)"
|
|
11687
|
+
},
|
|
11688
|
+
"execution_require_tee": {
|
|
11689
|
+
"type": "boolean",
|
|
11690
|
+
"description": "When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)"
|
|
11691
|
+
},
|
|
11666
11692
|
"federation_enabled": {
|
|
11667
11693
|
"type": "boolean",
|
|
11668
11694
|
"description": "Whether this agent may mint OIDC federation tokens via\nPOST /v1/auth/federated-token. False by default.\n"
|
|
@@ -17098,6 +17124,39 @@
|
|
|
17098
17124
|
}
|
|
17099
17125
|
}
|
|
17100
17126
|
},
|
|
17127
|
+
"CredentialSource": {
|
|
17128
|
+
"type": "object",
|
|
17129
|
+
"required": [
|
|
17130
|
+
"type"
|
|
17131
|
+
],
|
|
17132
|
+
"description": "Credential source — inline value (stored in __agent-keys) or live pointer to a vault secret (resolved at execution time).",
|
|
17133
|
+
"discriminator": {
|
|
17134
|
+
"propertyName": "type"
|
|
17135
|
+
},
|
|
17136
|
+
"properties": {
|
|
17137
|
+
"type": {
|
|
17138
|
+
"type": "string",
|
|
17139
|
+
"enum": [
|
|
17140
|
+
"inline",
|
|
17141
|
+
"vault_ref"
|
|
17142
|
+
]
|
|
17143
|
+
},
|
|
17144
|
+
"value": {
|
|
17145
|
+
"type": "object",
|
|
17146
|
+
"additionalProperties": true,
|
|
17147
|
+
"description": "For inline — the credential value object."
|
|
17148
|
+
},
|
|
17149
|
+
"vault_id": {
|
|
17150
|
+
"type": "string",
|
|
17151
|
+
"format": "uuid",
|
|
17152
|
+
"description": "For vault_ref — the vault containing the referenced secret."
|
|
17153
|
+
},
|
|
17154
|
+
"path": {
|
|
17155
|
+
"type": "string",
|
|
17156
|
+
"description": "For vault_ref — the secret path in the vault."
|
|
17157
|
+
}
|
|
17158
|
+
}
|
|
17159
|
+
},
|
|
17101
17160
|
"CreateBindingRequest": {
|
|
17102
17161
|
"type": "object",
|
|
17103
17162
|
"required": [
|
|
@@ -17133,7 +17192,11 @@
|
|
|
17133
17192
|
},
|
|
17134
17193
|
"credential": {
|
|
17135
17194
|
"type": "object",
|
|
17136
|
-
"additionalProperties": true
|
|
17195
|
+
"additionalProperties": true,
|
|
17196
|
+
"description": "Legacy: inline credential value. Use credential_source for new integrations."
|
|
17197
|
+
},
|
|
17198
|
+
"credential_source": {
|
|
17199
|
+
"$ref": "#/components/schemas/CredentialSource"
|
|
17137
17200
|
}
|
|
17138
17201
|
}
|
|
17139
17202
|
},
|
|
@@ -17153,7 +17216,11 @@
|
|
|
17153
17216
|
},
|
|
17154
17217
|
"credential": {
|
|
17155
17218
|
"type": "object",
|
|
17156
|
-
"additionalProperties": true
|
|
17219
|
+
"additionalProperties": true,
|
|
17220
|
+
"description": "Legacy: inline credential value."
|
|
17221
|
+
},
|
|
17222
|
+
"credential_source": {
|
|
17223
|
+
"$ref": "#/components/schemas/CredentialSource"
|
|
17157
17224
|
}
|
|
17158
17225
|
}
|
|
17159
17226
|
},
|
|
@@ -17210,6 +17277,26 @@
|
|
|
17210
17277
|
"type": "boolean",
|
|
17211
17278
|
"description": "Whether a credential is stored for this binding. The value itself is never returned."
|
|
17212
17279
|
},
|
|
17280
|
+
"credential_source_type": {
|
|
17281
|
+
"type": "string",
|
|
17282
|
+
"enum": [
|
|
17283
|
+
"inline",
|
|
17284
|
+
"vault_ref"
|
|
17285
|
+
],
|
|
17286
|
+
"nullable": true,
|
|
17287
|
+
"description": "How the credential is sourced — inline (HSM-encrypted copy) or vault_ref (live pointer)."
|
|
17288
|
+
},
|
|
17289
|
+
"credential_vault_id": {
|
|
17290
|
+
"type": "string",
|
|
17291
|
+
"format": "uuid",
|
|
17292
|
+
"nullable": true,
|
|
17293
|
+
"description": "For vault_ref credentials — the vault containing the referenced secret."
|
|
17294
|
+
},
|
|
17295
|
+
"credential_path": {
|
|
17296
|
+
"type": "string",
|
|
17297
|
+
"nullable": true,
|
|
17298
|
+
"description": "For vault_ref credentials — the secret path in the referenced vault."
|
|
17299
|
+
},
|
|
17213
17300
|
"created_at": {
|
|
17214
17301
|
"type": "string",
|
|
17215
17302
|
"format": "date-time"
|
package/openapi.yaml
CHANGED
|
@@ -7332,6 +7332,14 @@ components:
|
|
|
7332
7332
|
type: object
|
|
7333
7333
|
additionalProperties: true
|
|
7334
7334
|
description: Guardrails applied to all execution intents for this agent
|
|
7335
|
+
intents_require_tee:
|
|
7336
|
+
type: boolean
|
|
7337
|
+
default: false
|
|
7338
|
+
description: When true, transaction/sign requests must arrive via a TEE host (Pro+ only)
|
|
7339
|
+
execution_require_tee:
|
|
7340
|
+
type: boolean
|
|
7341
|
+
default: false
|
|
7342
|
+
description: When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)
|
|
7335
7343
|
tx_token_allowlist:
|
|
7336
7344
|
type: array
|
|
7337
7345
|
items:
|
|
@@ -7417,6 +7425,12 @@ components:
|
|
|
7417
7425
|
type: object
|
|
7418
7426
|
additionalProperties: true
|
|
7419
7427
|
description: Guardrails applied to all execution intents for this agent
|
|
7428
|
+
intents_require_tee:
|
|
7429
|
+
type: boolean
|
|
7430
|
+
description: When true, transaction/sign requests must arrive via a TEE host (Pro+ only)
|
|
7431
|
+
execution_require_tee:
|
|
7432
|
+
type: boolean
|
|
7433
|
+
description: When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)
|
|
7420
7434
|
federation_enabled:
|
|
7421
7435
|
type: boolean
|
|
7422
7436
|
description: |
|
|
@@ -7563,6 +7577,12 @@ components:
|
|
|
7563
7577
|
type: object
|
|
7564
7578
|
additionalProperties: true
|
|
7565
7579
|
description: Guardrails applied to all execution intents for this agent
|
|
7580
|
+
intents_require_tee:
|
|
7581
|
+
type: boolean
|
|
7582
|
+
description: When true, transaction/sign requests must arrive via a TEE host (Pro+ only)
|
|
7583
|
+
execution_require_tee:
|
|
7584
|
+
type: boolean
|
|
7585
|
+
description: When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)
|
|
7566
7586
|
federation_enabled:
|
|
7567
7587
|
type: boolean
|
|
7568
7588
|
description: |
|
|
@@ -11300,6 +11320,28 @@ components:
|
|
|
11300
11320
|
|
|
11301
11321
|
# --- Execution Intents ---
|
|
11302
11322
|
|
|
11323
|
+
CredentialSource:
|
|
11324
|
+
type: object
|
|
11325
|
+
required: [type]
|
|
11326
|
+
description: Credential source — inline value (stored in __agent-keys) or live pointer to a vault secret (resolved at execution time).
|
|
11327
|
+
discriminator:
|
|
11328
|
+
propertyName: type
|
|
11329
|
+
properties:
|
|
11330
|
+
type:
|
|
11331
|
+
type: string
|
|
11332
|
+
enum: [inline, vault_ref]
|
|
11333
|
+
value:
|
|
11334
|
+
type: object
|
|
11335
|
+
additionalProperties: true
|
|
11336
|
+
description: For inline — the credential value object.
|
|
11337
|
+
vault_id:
|
|
11338
|
+
type: string
|
|
11339
|
+
format: uuid
|
|
11340
|
+
description: For vault_ref — the vault containing the referenced secret.
|
|
11341
|
+
path:
|
|
11342
|
+
type: string
|
|
11343
|
+
description: For vault_ref — the secret path in the vault.
|
|
11344
|
+
|
|
11303
11345
|
CreateBindingRequest:
|
|
11304
11346
|
type: object
|
|
11305
11347
|
required: [name, binding_type]
|
|
@@ -11318,6 +11360,9 @@ components:
|
|
|
11318
11360
|
credential:
|
|
11319
11361
|
type: object
|
|
11320
11362
|
additionalProperties: true
|
|
11363
|
+
description: "Legacy: inline credential value. Use credential_source for new integrations."
|
|
11364
|
+
credential_source:
|
|
11365
|
+
$ref: "#/components/schemas/CredentialSource"
|
|
11321
11366
|
|
|
11322
11367
|
UpdateBindingRequest:
|
|
11323
11368
|
type: object
|
|
@@ -11333,6 +11378,9 @@ components:
|
|
|
11333
11378
|
credential:
|
|
11334
11379
|
type: object
|
|
11335
11380
|
additionalProperties: true
|
|
11381
|
+
description: "Legacy: inline credential value."
|
|
11382
|
+
credential_source:
|
|
11383
|
+
$ref: "#/components/schemas/CredentialSource"
|
|
11336
11384
|
|
|
11337
11385
|
BindingResponse:
|
|
11338
11386
|
type: object
|
|
@@ -11360,6 +11408,20 @@ components:
|
|
|
11360
11408
|
credential_set:
|
|
11361
11409
|
type: boolean
|
|
11362
11410
|
description: Whether a credential is stored for this binding. The value itself is never returned.
|
|
11411
|
+
credential_source_type:
|
|
11412
|
+
type: string
|
|
11413
|
+
enum: [inline, vault_ref]
|
|
11414
|
+
nullable: true
|
|
11415
|
+
description: How the credential is sourced — inline (HSM-encrypted copy) or vault_ref (live pointer).
|
|
11416
|
+
credential_vault_id:
|
|
11417
|
+
type: string
|
|
11418
|
+
format: uuid
|
|
11419
|
+
nullable: true
|
|
11420
|
+
description: For vault_ref credentials — the vault containing the referenced secret.
|
|
11421
|
+
credential_path:
|
|
11422
|
+
type: string
|
|
11423
|
+
nullable: true
|
|
11424
|
+
description: For vault_ref credentials — the secret path in the referenced vault.
|
|
11363
11425
|
created_at:
|
|
11364
11426
|
type: string
|
|
11365
11427
|
format: date-time
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
2
|
+
"name": "@1claw/openapi-spec",
|
|
3
|
+
"version": "0.41.1",
|
|
4
|
+
"description": "OpenAPI 3.1.0 specification for the 1Claw Vault API — generate clients in any language",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/1clawAI/1claw.git",
|
|
9
|
+
"directory": "packages/openapi-spec"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"openapi.yaml",
|
|
13
|
+
"openapi.json",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
"./openapi.yaml": "./openapi.yaml",
|
|
18
|
+
"./openapi.json": "./openapi.json"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "node scripts/yaml-to-json.mjs",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"1claw",
|
|
29
|
+
"openapi",
|
|
30
|
+
"api-spec",
|
|
31
|
+
"codegen",
|
|
32
|
+
"swagger",
|
|
33
|
+
"secrets",
|
|
34
|
+
"vault",
|
|
35
|
+
"ai-agents"
|
|
36
|
+
],
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"js-yaml": "^4.1.1"
|
|
39
|
+
}
|
|
40
40
|
}
|