@1claw/openapi-spec 0.9.0 → 0.10.0
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 +1 -1
- package/openapi.json +108 -0
- package/openapi.yaml +79 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ openapi-generator generate \
|
|
|
40
40
|
import spec from "@1claw/openapi-spec/openapi.json";
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## What's in the spec (
|
|
43
|
+
## What's in the spec (v0.10.0)
|
|
44
44
|
|
|
45
45
|
- **Vaults** — CRUD, CMEK enable/disable, key rotation with job tracking
|
|
46
46
|
- **Secrets** — CRUD, versioning, CMEK-encrypted flag
|
package/openapi.json
CHANGED
|
@@ -4277,6 +4277,14 @@
|
|
|
4277
4277
|
"oidc_client_id": {
|
|
4278
4278
|
"type": "string",
|
|
4279
4279
|
"description": "OIDC client ID (required for oidc_client_credentials auth)"
|
|
4280
|
+
},
|
|
4281
|
+
"shroud_enabled": {
|
|
4282
|
+
"type": "boolean",
|
|
4283
|
+
"default": false,
|
|
4284
|
+
"description": "Enable Shroud LLM Proxy for this agent"
|
|
4285
|
+
},
|
|
4286
|
+
"shroud_config": {
|
|
4287
|
+
"$ref": "#/components/schemas/ShroudConfig"
|
|
4280
4288
|
}
|
|
4281
4289
|
}
|
|
4282
4290
|
},
|
|
@@ -4330,6 +4338,13 @@
|
|
|
4330
4338
|
"type": "string",
|
|
4331
4339
|
"format": "uuid"
|
|
4332
4340
|
}
|
|
4341
|
+
},
|
|
4342
|
+
"shroud_enabled": {
|
|
4343
|
+
"type": "boolean",
|
|
4344
|
+
"description": "Enable/disable Shroud LLM Proxy"
|
|
4345
|
+
},
|
|
4346
|
+
"shroud_config": {
|
|
4347
|
+
"$ref": "#/components/schemas/ShroudConfig"
|
|
4333
4348
|
}
|
|
4334
4349
|
}
|
|
4335
4350
|
},
|
|
@@ -4341,6 +4356,7 @@
|
|
|
4341
4356
|
"auth_method",
|
|
4342
4357
|
"is_active",
|
|
4343
4358
|
"intents_api_enabled",
|
|
4359
|
+
"shroud_enabled",
|
|
4344
4360
|
"created_at"
|
|
4345
4361
|
],
|
|
4346
4362
|
"properties": {
|
|
@@ -4423,6 +4439,13 @@
|
|
|
4423
4439
|
"type": "string",
|
|
4424
4440
|
"description": "P-256 ECDH public key (base64 SEC1 uncompressed point, auto-generated at creation)"
|
|
4425
4441
|
},
|
|
4442
|
+
"shroud_enabled": {
|
|
4443
|
+
"type": "boolean",
|
|
4444
|
+
"description": "Whether this agent routes LLM traffic through the Shroud TEE proxy"
|
|
4445
|
+
},
|
|
4446
|
+
"shroud_config": {
|
|
4447
|
+
"$ref": "#/components/schemas/ShroudConfig"
|
|
4448
|
+
},
|
|
4426
4449
|
"created_at": {
|
|
4427
4450
|
"type": "string",
|
|
4428
4451
|
"format": "date-time"
|
|
@@ -4489,6 +4512,91 @@
|
|
|
4489
4512
|
"ecdh_public_key": {
|
|
4490
4513
|
"type": "string",
|
|
4491
4514
|
"description": "P-256 ECDH public key (base64 SEC1 uncompressed point)"
|
|
4515
|
+
},
|
|
4516
|
+
"shroud_enabled": {
|
|
4517
|
+
"type": "boolean",
|
|
4518
|
+
"description": "Whether this agent routes LLM traffic through the Shroud TEE proxy"
|
|
4519
|
+
},
|
|
4520
|
+
"shroud_config": {
|
|
4521
|
+
"$ref": "#/components/schemas/ShroudConfig"
|
|
4522
|
+
}
|
|
4523
|
+
}
|
|
4524
|
+
},
|
|
4525
|
+
"ShroudConfig": {
|
|
4526
|
+
"type": "object",
|
|
4527
|
+
"description": "Per-agent Shroud LLM Proxy configuration",
|
|
4528
|
+
"properties": {
|
|
4529
|
+
"pii_policy": {
|
|
4530
|
+
"type": "string",
|
|
4531
|
+
"enum": [
|
|
4532
|
+
"block",
|
|
4533
|
+
"redact",
|
|
4534
|
+
"warn",
|
|
4535
|
+
"allow"
|
|
4536
|
+
],
|
|
4537
|
+
"default": "redact",
|
|
4538
|
+
"description": "How PII detections are handled"
|
|
4539
|
+
},
|
|
4540
|
+
"injection_threshold": {
|
|
4541
|
+
"type": "number",
|
|
4542
|
+
"minimum": 0,
|
|
4543
|
+
"maximum": 1,
|
|
4544
|
+
"default": 0.7,
|
|
4545
|
+
"description": "Prompt injection score threshold (0.0–1.0). Requests above are blocked"
|
|
4546
|
+
},
|
|
4547
|
+
"context_injection_threshold": {
|
|
4548
|
+
"type": "number",
|
|
4549
|
+
"minimum": 0,
|
|
4550
|
+
"maximum": 1,
|
|
4551
|
+
"default": 0.7,
|
|
4552
|
+
"description": "Context injection score threshold (0.0–1.0)"
|
|
4553
|
+
},
|
|
4554
|
+
"allowed_providers": {
|
|
4555
|
+
"type": "array",
|
|
4556
|
+
"items": {
|
|
4557
|
+
"type": "string"
|
|
4558
|
+
},
|
|
4559
|
+
"description": "LLM providers this agent may use (empty = all)"
|
|
4560
|
+
},
|
|
4561
|
+
"allowed_models": {
|
|
4562
|
+
"type": "array",
|
|
4563
|
+
"items": {
|
|
4564
|
+
"type": "string"
|
|
4565
|
+
},
|
|
4566
|
+
"description": "Specific models allowed (empty = all)"
|
|
4567
|
+
},
|
|
4568
|
+
"denied_models": {
|
|
4569
|
+
"type": "array",
|
|
4570
|
+
"items": {
|
|
4571
|
+
"type": "string"
|
|
4572
|
+
},
|
|
4573
|
+
"description": "Models explicitly blocked"
|
|
4574
|
+
},
|
|
4575
|
+
"max_tokens_per_request": {
|
|
4576
|
+
"type": "integer",
|
|
4577
|
+
"description": "Maximum input tokens per request"
|
|
4578
|
+
},
|
|
4579
|
+
"max_requests_per_minute": {
|
|
4580
|
+
"type": "integer",
|
|
4581
|
+
"description": "Rate limit (requests per minute)"
|
|
4582
|
+
},
|
|
4583
|
+
"max_requests_per_day": {
|
|
4584
|
+
"type": "integer",
|
|
4585
|
+
"description": "Rate limit (requests per day)"
|
|
4586
|
+
},
|
|
4587
|
+
"daily_budget_usd": {
|
|
4588
|
+
"type": "number",
|
|
4589
|
+
"description": "Daily LLM spend cap in USD (0 = unlimited)"
|
|
4590
|
+
},
|
|
4591
|
+
"enable_secret_redaction": {
|
|
4592
|
+
"type": "boolean",
|
|
4593
|
+
"default": true,
|
|
4594
|
+
"description": "Whether vault secrets are redacted from prompts/responses"
|
|
4595
|
+
},
|
|
4596
|
+
"enable_response_filtering": {
|
|
4597
|
+
"type": "boolean",
|
|
4598
|
+
"default": true,
|
|
4599
|
+
"description": "Whether response credential scanning is active"
|
|
4492
4600
|
}
|
|
4493
4601
|
}
|
|
4494
4602
|
},
|
package/openapi.yaml
CHANGED
|
@@ -2793,6 +2793,12 @@ components:
|
|
|
2793
2793
|
oidc_client_id:
|
|
2794
2794
|
type: string
|
|
2795
2795
|
description: OIDC client ID (required for oidc_client_credentials auth)
|
|
2796
|
+
shroud_enabled:
|
|
2797
|
+
type: boolean
|
|
2798
|
+
default: false
|
|
2799
|
+
description: Enable Shroud LLM Proxy for this agent
|
|
2800
|
+
shroud_config:
|
|
2801
|
+
$ref: '#/components/schemas/ShroudConfig'
|
|
2796
2802
|
|
|
2797
2803
|
UpdateAgentRequest:
|
|
2798
2804
|
type: object
|
|
@@ -2830,10 +2836,15 @@ components:
|
|
|
2830
2836
|
items:
|
|
2831
2837
|
type: string
|
|
2832
2838
|
format: uuid
|
|
2839
|
+
shroud_enabled:
|
|
2840
|
+
type: boolean
|
|
2841
|
+
description: Enable/disable Shroud LLM Proxy
|
|
2842
|
+
shroud_config:
|
|
2843
|
+
$ref: '#/components/schemas/ShroudConfig'
|
|
2833
2844
|
|
|
2834
2845
|
AgentResponse:
|
|
2835
2846
|
type: object
|
|
2836
|
-
required: [id, name, auth_method, is_active, intents_api_enabled, created_at]
|
|
2847
|
+
required: [id, name, auth_method, is_active, intents_api_enabled, shroud_enabled, created_at]
|
|
2837
2848
|
properties:
|
|
2838
2849
|
id:
|
|
2839
2850
|
type: string
|
|
@@ -2888,6 +2899,11 @@ components:
|
|
|
2888
2899
|
ecdh_public_key:
|
|
2889
2900
|
type: string
|
|
2890
2901
|
description: P-256 ECDH public key (base64 SEC1 uncompressed point, auto-generated at creation)
|
|
2902
|
+
shroud_enabled:
|
|
2903
|
+
type: boolean
|
|
2904
|
+
description: Whether this agent routes LLM traffic through the Shroud TEE proxy
|
|
2905
|
+
shroud_config:
|
|
2906
|
+
$ref: '#/components/schemas/ShroudConfig'
|
|
2891
2907
|
created_at:
|
|
2892
2908
|
type: string
|
|
2893
2909
|
format: date-time
|
|
@@ -2937,6 +2953,68 @@ components:
|
|
|
2937
2953
|
ecdh_public_key:
|
|
2938
2954
|
type: string
|
|
2939
2955
|
description: P-256 ECDH public key (base64 SEC1 uncompressed point)
|
|
2956
|
+
shroud_enabled:
|
|
2957
|
+
type: boolean
|
|
2958
|
+
description: Whether this agent routes LLM traffic through the Shroud TEE proxy
|
|
2959
|
+
shroud_config:
|
|
2960
|
+
$ref: '#/components/schemas/ShroudConfig'
|
|
2961
|
+
|
|
2962
|
+
ShroudConfig:
|
|
2963
|
+
type: object
|
|
2964
|
+
description: Per-agent Shroud LLM Proxy configuration
|
|
2965
|
+
properties:
|
|
2966
|
+
pii_policy:
|
|
2967
|
+
type: string
|
|
2968
|
+
enum: [block, redact, warn, allow]
|
|
2969
|
+
default: redact
|
|
2970
|
+
description: How PII detections are handled
|
|
2971
|
+
injection_threshold:
|
|
2972
|
+
type: number
|
|
2973
|
+
minimum: 0
|
|
2974
|
+
maximum: 1
|
|
2975
|
+
default: 0.7
|
|
2976
|
+
description: Prompt injection score threshold (0.0–1.0). Requests above are blocked
|
|
2977
|
+
context_injection_threshold:
|
|
2978
|
+
type: number
|
|
2979
|
+
minimum: 0
|
|
2980
|
+
maximum: 1
|
|
2981
|
+
default: 0.7
|
|
2982
|
+
description: Context injection score threshold (0.0–1.0)
|
|
2983
|
+
allowed_providers:
|
|
2984
|
+
type: array
|
|
2985
|
+
items:
|
|
2986
|
+
type: string
|
|
2987
|
+
description: LLM providers this agent may use (empty = all)
|
|
2988
|
+
allowed_models:
|
|
2989
|
+
type: array
|
|
2990
|
+
items:
|
|
2991
|
+
type: string
|
|
2992
|
+
description: Specific models allowed (empty = all)
|
|
2993
|
+
denied_models:
|
|
2994
|
+
type: array
|
|
2995
|
+
items:
|
|
2996
|
+
type: string
|
|
2997
|
+
description: Models explicitly blocked
|
|
2998
|
+
max_tokens_per_request:
|
|
2999
|
+
type: integer
|
|
3000
|
+
description: Maximum input tokens per request
|
|
3001
|
+
max_requests_per_minute:
|
|
3002
|
+
type: integer
|
|
3003
|
+
description: Rate limit (requests per minute)
|
|
3004
|
+
max_requests_per_day:
|
|
3005
|
+
type: integer
|
|
3006
|
+
description: Rate limit (requests per day)
|
|
3007
|
+
daily_budget_usd:
|
|
3008
|
+
type: number
|
|
3009
|
+
description: Daily LLM spend cap in USD (0 = unlimited)
|
|
3010
|
+
enable_secret_redaction:
|
|
3011
|
+
type: boolean
|
|
3012
|
+
default: true
|
|
3013
|
+
description: Whether vault secrets are redacted from prompts/responses
|
|
3014
|
+
enable_response_filtering:
|
|
3015
|
+
type: boolean
|
|
3016
|
+
default: true
|
|
3017
|
+
description: Whether response credential scanning is active
|
|
2940
3018
|
|
|
2941
3019
|
AgentCreatedResponse:
|
|
2942
3020
|
type: object
|
package/package.json
CHANGED