@converge.ai/a13n 0.1.0 → 0.3.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/openapi.json CHANGED
@@ -4283,6 +4283,56 @@
4283
4283
  "title": "ClientEnvironmentConfiguration",
4284
4284
  "type": "object"
4285
4285
  },
4286
+ "ClientOutputAlternative": {
4287
+ "additionalProperties": false,
4288
+ "properties": {
4289
+ "description": {
4290
+ "anyOf": [
4291
+ {
4292
+ "maxLength": 4096,
4293
+ "type": "string"
4294
+ },
4295
+ {
4296
+ "type": "null"
4297
+ }
4298
+ ],
4299
+ "title": "Description"
4300
+ },
4301
+ "kind": {
4302
+ "const": "client_tool",
4303
+ "title": "Kind",
4304
+ "type": "string"
4305
+ },
4306
+ "name": {
4307
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$",
4308
+ "title": "Name",
4309
+ "type": "string"
4310
+ },
4311
+ "resources": {
4312
+ "maxProperties": 128,
4313
+ "patternProperties": {
4314
+ "^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$": {
4315
+ "additionalProperties": {
4316
+ "$ref": "#/components/schemas/JsonValue"
4317
+ },
4318
+ "type": "object"
4319
+ }
4320
+ },
4321
+ "title": "Resources",
4322
+ "type": "object"
4323
+ },
4324
+ "schema": {
4325
+ "additionalProperties": {
4326
+ "$ref": "#/components/schemas/JsonValue"
4327
+ },
4328
+ "title": "Schema",
4329
+ "type": "object"
4330
+ }
4331
+ },
4332
+ "required": ["name", "schema", "kind"],
4333
+ "title": "ClientOutputAlternative",
4334
+ "type": "object"
4335
+ },
4286
4336
  "ClientToolDefinition": {
4287
4337
  "additionalProperties": false,
4288
4338
  "description": "Portable model guidance for one externally executed client tool.",
@@ -6677,6 +6727,162 @@
6677
6727
  "title": "Deny",
6678
6728
  "type": "object"
6679
6729
  },
6730
+ "Deployment": {
6731
+ "properties": {
6732
+ "account_id": {
6733
+ "title": "Account Id",
6734
+ "type": "string"
6735
+ },
6736
+ "cleanup": {
6737
+ "additionalProperties": {
6738
+ "enum": ["removed", "pending", "not_created"],
6739
+ "type": "string"
6740
+ },
6741
+ "title": "Cleanup",
6742
+ "type": "object"
6743
+ },
6744
+ "endpoint": {
6745
+ "anyOf": [
6746
+ {
6747
+ "type": "string"
6748
+ },
6749
+ {
6750
+ "type": "null"
6751
+ }
6752
+ ],
6753
+ "title": "Endpoint"
6754
+ },
6755
+ "error": {
6756
+ "anyOf": [
6757
+ {
6758
+ "type": "string"
6759
+ },
6760
+ {
6761
+ "type": "null"
6762
+ }
6763
+ ],
6764
+ "title": "Error"
6765
+ },
6766
+ "id": {
6767
+ "title": "Id",
6768
+ "type": "string"
6769
+ },
6770
+ "name": {
6771
+ "title": "Name",
6772
+ "type": "string"
6773
+ },
6774
+ "operation": {
6775
+ "enum": ["deploy", "retire"],
6776
+ "title": "Operation",
6777
+ "type": "string"
6778
+ },
6779
+ "provider_id": {
6780
+ "anyOf": [
6781
+ {
6782
+ "type": "string"
6783
+ },
6784
+ {
6785
+ "type": "null"
6786
+ }
6787
+ ],
6788
+ "title": "Provider Id"
6789
+ },
6790
+ "source_image": {
6791
+ "title": "Source Image",
6792
+ "type": "string"
6793
+ },
6794
+ "stage": {
6795
+ "title": "Stage",
6796
+ "type": "string"
6797
+ },
6798
+ "status": {
6799
+ "enum": [
6800
+ "deploying",
6801
+ "ready",
6802
+ "retiring",
6803
+ "needs_attention",
6804
+ "retired"
6805
+ ],
6806
+ "title": "Status",
6807
+ "type": "string"
6808
+ },
6809
+ "version": {
6810
+ "title": "Version",
6811
+ "type": "integer"
6812
+ },
6813
+ "worker_name": {
6814
+ "title": "Worker Name",
6815
+ "type": "string"
6816
+ }
6817
+ },
6818
+ "required": [
6819
+ "id",
6820
+ "version",
6821
+ "provider_id",
6822
+ "name",
6823
+ "account_id",
6824
+ "worker_name",
6825
+ "source_image",
6826
+ "status",
6827
+ "operation",
6828
+ "stage",
6829
+ "endpoint",
6830
+ "error",
6831
+ "cleanup"
6832
+ ],
6833
+ "title": "Deployment",
6834
+ "type": "object"
6835
+ },
6836
+ "DeploymentCreate": {
6837
+ "additionalProperties": false,
6838
+ "properties": {
6839
+ "account_id": {
6840
+ "pattern": "^[a-f0-9]{32}$",
6841
+ "title": "Account Id",
6842
+ "type": "string"
6843
+ },
6844
+ "api_token": {
6845
+ "format": "password",
6846
+ "maxLength": 512,
6847
+ "minLength": 1,
6848
+ "title": "Api Token",
6849
+ "type": "string",
6850
+ "writeOnly": true
6851
+ },
6852
+ "name": {
6853
+ "maxLength": 128,
6854
+ "minLength": 1,
6855
+ "title": "Name",
6856
+ "type": "string"
6857
+ },
6858
+ "request_id": {
6859
+ "format": "uuid",
6860
+ "title": "Request Id",
6861
+ "type": "string"
6862
+ }
6863
+ },
6864
+ "required": ["request_id", "name", "account_id", "api_token"],
6865
+ "title": "DeploymentCreate",
6866
+ "type": "object"
6867
+ },
6868
+ "DeploymentList": {
6869
+ "properties": {
6870
+ "available": {
6871
+ "title": "Available",
6872
+ "type": "boolean"
6873
+ },
6874
+ "items": {
6875
+ "items": {
6876
+ "$ref": "#/components/schemas/Deployment"
6877
+ },
6878
+ "title": "Items",
6879
+ "type": "array"
6880
+ }
6881
+ },
6882
+ "required": ["available", "items"],
6883
+ "title": "DeploymentList",
6884
+ "type": "object"
6885
+ },
6680
6886
  "DeploymentPreset": {
6681
6887
  "properties": {
6682
6888
  "config": {
@@ -6699,6 +6905,29 @@
6699
6905
  "title": "DeploymentPreset",
6700
6906
  "type": "object"
6701
6907
  },
6908
+ "DeploymentRetry": {
6909
+ "additionalProperties": false,
6910
+ "properties": {
6911
+ "api_token": {
6912
+ "anyOf": [
6913
+ {
6914
+ "format": "password",
6915
+ "maxLength": 512,
6916
+ "minLength": 1,
6917
+ "type": "string",
6918
+ "writeOnly": true
6919
+ },
6920
+ {
6921
+ "type": "null"
6922
+ }
6923
+ ],
6924
+ "title": "Api Token",
6925
+ "writeOnly": true
6926
+ }
6927
+ },
6928
+ "title": "DeploymentRetry",
6929
+ "type": "object"
6930
+ },
6702
6931
  "Description": {
6703
6932
  "maxLength": 2048,
6704
6933
  "type": "string"
@@ -7521,7 +7750,7 @@
7521
7750
  "type": "string"
7522
7751
  },
7523
7752
  "kind": {
7524
- "enum": ["message", "child_result"],
7753
+ "enum": ["message", "child_result", "child_message"],
7525
7754
  "title": "Kind",
7526
7755
  "type": "string"
7527
7756
  },
@@ -7768,6 +7997,7 @@
7768
7997
  "enum": [
7769
7998
  "message",
7770
7999
  "child_result",
8000
+ "child_message",
7771
8001
  "tool_result",
7772
8002
  "browser_handback",
7773
8003
  "desktop_handback"
@@ -16640,6 +16870,33 @@
16640
16870
  "title": "OrganizationUpdate",
16641
16871
  "type": "object"
16642
16872
  },
16873
+ "OutputAlternative": {
16874
+ "anyOf": [
16875
+ {
16876
+ "$ref": "#/components/schemas/OutputReference"
16877
+ },
16878
+ {
16879
+ "$ref": "#/components/schemas/OutputDefinition"
16880
+ }
16881
+ ]
16882
+ },
16883
+ "OutputDefinition": {
16884
+ "discriminator": {
16885
+ "mapping": {
16886
+ "client_tool": "#/components/schemas/ClientOutputAlternative",
16887
+ "structured": "#/components/schemas/StructuredOutputAlternative"
16888
+ },
16889
+ "propertyName": "kind"
16890
+ },
16891
+ "oneOf": [
16892
+ {
16893
+ "$ref": "#/components/schemas/StructuredOutputAlternative"
16894
+ },
16895
+ {
16896
+ "$ref": "#/components/schemas/ClientOutputAlternative"
16897
+ }
16898
+ ]
16899
+ },
16643
16900
  "OutputPreview": {
16644
16901
  "properties": {
16645
16902
  "observation_closed": {
@@ -16675,10 +16932,31 @@
16675
16932
  "title": "OutputPreview",
16676
16933
  "type": "object"
16677
16934
  },
16935
+ "OutputReference": {
16936
+ "maxLength": 128,
16937
+ "pattern": "^(text|builtin\\.[A-Za-z0-9_.-]+|[A-Za-z_][A-Za-z0-9_.:-]*:[A-Za-z0-9_.-]+)$",
16938
+ "type": "string"
16939
+ },
16678
16940
  "OutputSpec": {
16679
16941
  "additionalProperties": false,
16680
16942
  "description": "Plain text without a schema, one structured output, or at least two named variants.\n\n`resources` are the schemas `$ref`s may name besides the schema's own definitions.",
16681
16943
  "properties": {
16944
+ "alternatives": {
16945
+ "anyOf": [
16946
+ {
16947
+ "items": {
16948
+ "$ref": "#/components/schemas/OutputAlternative"
16949
+ },
16950
+ "maxItems": 32,
16951
+ "minItems": 1,
16952
+ "type": "array"
16953
+ },
16954
+ {
16955
+ "type": "null"
16956
+ }
16957
+ ],
16958
+ "title": "Alternatives"
16959
+ },
16682
16960
  "description": {
16683
16961
  "anyOf": [
16684
16962
  {
@@ -17200,6 +17478,11 @@
17200
17478
  ],
17201
17479
  "title": "Presentation"
17202
17480
  },
17481
+ "terminal": {
17482
+ "default": false,
17483
+ "title": "Terminal",
17484
+ "type": "boolean"
17485
+ },
17203
17486
  "tool_call_id": {
17204
17487
  "$ref": "#/components/schemas/ToolCallId"
17205
17488
  },
@@ -17948,6 +18231,11 @@
17948
18231
  "title": "Id",
17949
18232
  "type": "string"
17950
18233
  },
18234
+ "managed_deployment": {
18235
+ "default": false,
18236
+ "title": "Managed Deployment",
18237
+ "type": "boolean"
18238
+ },
17951
18239
  "name": {
17952
18240
  "title": "Name",
17953
18241
  "type": "string"
@@ -23789,18 +24077,9 @@
23789
24077
  "enum": ["boundary", "immediate"],
23790
24078
  "type": "string"
23791
24079
  },
23792
- "SubagentSelection-Input": {
24080
+ "StructuredOutputAlternative": {
23793
24081
  "additionalProperties": false,
23794
24082
  "properties": {
23795
- "agent_id": {
23796
- "maxLength": 41,
23797
- "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
23798
- "title": "Agent Id",
23799
- "type": "string"
23800
- },
23801
- "context": {
23802
- "$ref": "#/components/schemas/DelegationContextPolicy"
23803
- },
23804
24083
  "description": {
23805
24084
  "anyOf": [
23806
24085
  {
@@ -23813,38 +24092,97 @@
23813
24092
  ],
23814
24093
  "title": "Description"
23815
24094
  },
23816
- "environment": {
23817
- "$ref": "#/components/schemas/ChildEnvironmentPolicy"
24095
+ "kind": {
24096
+ "const": "structured",
24097
+ "title": "Kind",
24098
+ "type": "string"
23818
24099
  },
23819
- "revision_id": {
23820
- "anyOf": [
23821
- {
23822
- "maxLength": 41,
23823
- "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
23824
- "type": "string"
23825
- },
23826
- {
23827
- "type": "null"
23828
- }
23829
- ],
23830
- "title": "Revision Id"
24100
+ "name": {
24101
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$",
24102
+ "title": "Name",
24103
+ "type": "string"
23831
24104
  },
23832
- "usage_limits": {
23833
- "anyOf": [
23834
- {
23835
- "$ref": "#/components/schemas/UsageLimits-Input"
23836
- },
23837
- {
23838
- "type": "null"
24105
+ "resources": {
24106
+ "maxProperties": 128,
24107
+ "patternProperties": {
24108
+ "^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$": {
24109
+ "additionalProperties": {
24110
+ "$ref": "#/components/schemas/JsonValue"
24111
+ },
24112
+ "type": "object"
23839
24113
  }
23840
- ]
24114
+ },
24115
+ "title": "Resources",
24116
+ "type": "object"
24117
+ },
24118
+ "schema": {
24119
+ "additionalProperties": {
24120
+ "$ref": "#/components/schemas/JsonValue"
24121
+ },
24122
+ "title": "Schema",
24123
+ "type": "object"
23841
24124
  }
23842
24125
  },
23843
- "required": ["agent_id"],
23844
- "title": "SubagentSelection",
24126
+ "required": ["name", "schema", "kind"],
24127
+ "title": "StructuredOutputAlternative",
23845
24128
  "type": "object"
23846
24129
  },
23847
- "SubagentSelection-Output": {
24130
+ "SubagentSelection-Input": {
24131
+ "additionalProperties": false,
24132
+ "properties": {
24133
+ "agent_id": {
24134
+ "maxLength": 41,
24135
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
24136
+ "title": "Agent Id",
24137
+ "type": "string"
24138
+ },
24139
+ "context": {
24140
+ "$ref": "#/components/schemas/DelegationContextPolicy"
24141
+ },
24142
+ "description": {
24143
+ "anyOf": [
24144
+ {
24145
+ "maxLength": 4096,
24146
+ "type": "string"
24147
+ },
24148
+ {
24149
+ "type": "null"
24150
+ }
24151
+ ],
24152
+ "title": "Description"
24153
+ },
24154
+ "environment": {
24155
+ "$ref": "#/components/schemas/ChildEnvironmentPolicy"
24156
+ },
24157
+ "revision_id": {
24158
+ "anyOf": [
24159
+ {
24160
+ "maxLength": 41,
24161
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
24162
+ "type": "string"
24163
+ },
24164
+ {
24165
+ "type": "null"
24166
+ }
24167
+ ],
24168
+ "title": "Revision Id"
24169
+ },
24170
+ "usage_limits": {
24171
+ "anyOf": [
24172
+ {
24173
+ "$ref": "#/components/schemas/UsageLimits-Input"
24174
+ },
24175
+ {
24176
+ "type": "null"
24177
+ }
24178
+ ]
24179
+ }
24180
+ },
24181
+ "required": ["agent_id"],
24182
+ "title": "SubagentSelection",
24183
+ "type": "object"
24184
+ },
24185
+ "SubagentSelection-Output": {
23848
24186
  "additionalProperties": false,
23849
24187
  "properties": {
23850
24188
  "agent_id": {
@@ -26223,6 +26561,7 @@
26223
26561
  "queued",
26224
26562
  "resume",
26225
26563
  "child_result",
26564
+ "child_message",
26226
26565
  "tool_result",
26227
26566
  "browser_handback",
26228
26567
  "desktop_handback",
@@ -31507,7 +31846,393 @@
31507
31846
  "content": {
31508
31847
  "application/json": {
31509
31848
  "schema": {
31510
- "$ref": "#/components/schemas/Pairing"
31849
+ "$ref": "#/components/schemas/Pairing"
31850
+ }
31851
+ }
31852
+ },
31853
+ "description": "Successful Response"
31854
+ },
31855
+ "400": {
31856
+ "$ref": "#/components/responses/Error"
31857
+ },
31858
+ "default": {
31859
+ "$ref": "#/components/responses/Error"
31860
+ }
31861
+ },
31862
+ "security": [
31863
+ {
31864
+ "apiKey": []
31865
+ },
31866
+ {
31867
+ "loginSession": []
31868
+ }
31869
+ ],
31870
+ "summary": "Get Client Pairing",
31871
+ "tags": ["client-environments"],
31872
+ "x-a13n-mcp": false
31873
+ }
31874
+ },
31875
+ "/api/v1/client-environments/pairings/{pairing_id}/approve": {
31876
+ "post": {
31877
+ "operationId": "approve_client_pairing",
31878
+ "parameters": [
31879
+ {
31880
+ "in": "path",
31881
+ "name": "pairing_id",
31882
+ "required": true,
31883
+ "schema": {
31884
+ "title": "Pairing Id",
31885
+ "type": "string"
31886
+ }
31887
+ },
31888
+ {
31889
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31890
+ "in": "header",
31891
+ "name": "X-Workspace-ID",
31892
+ "required": false,
31893
+ "schema": {
31894
+ "anyOf": [
31895
+ {
31896
+ "maxLength": 41,
31897
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
31898
+ "type": "string"
31899
+ },
31900
+ {
31901
+ "type": "null"
31902
+ }
31903
+ ],
31904
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31905
+ "title": "X-Workspace-Id"
31906
+ }
31907
+ }
31908
+ ],
31909
+ "requestBody": {
31910
+ "content": {
31911
+ "application/json": {
31912
+ "schema": {
31913
+ "$ref": "#/components/schemas/PairingApproval"
31914
+ }
31915
+ }
31916
+ },
31917
+ "required": true
31918
+ },
31919
+ "responses": {
31920
+ "200": {
31921
+ "content": {
31922
+ "application/json": {
31923
+ "schema": {
31924
+ "$ref": "#/components/schemas/Pairing"
31925
+ }
31926
+ }
31927
+ },
31928
+ "description": "Successful Response"
31929
+ },
31930
+ "400": {
31931
+ "$ref": "#/components/responses/Error"
31932
+ },
31933
+ "default": {
31934
+ "$ref": "#/components/responses/Error"
31935
+ }
31936
+ },
31937
+ "security": [
31938
+ {
31939
+ "apiKey": []
31940
+ },
31941
+ {
31942
+ "csrf": [],
31943
+ "loginSession": []
31944
+ }
31945
+ ],
31946
+ "summary": "Approve Client Pairing",
31947
+ "tags": ["client-environments"],
31948
+ "x-a13n-mcp": false
31949
+ }
31950
+ },
31951
+ "/api/v1/client-environments/pairings/{pairing_id}/cancel": {
31952
+ "post": {
31953
+ "operationId": "cancel_client_pairing",
31954
+ "parameters": [
31955
+ {
31956
+ "in": "path",
31957
+ "name": "pairing_id",
31958
+ "required": true,
31959
+ "schema": {
31960
+ "title": "Pairing Id",
31961
+ "type": "string"
31962
+ }
31963
+ },
31964
+ {
31965
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31966
+ "in": "header",
31967
+ "name": "X-Workspace-ID",
31968
+ "required": false,
31969
+ "schema": {
31970
+ "anyOf": [
31971
+ {
31972
+ "maxLength": 41,
31973
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
31974
+ "type": "string"
31975
+ },
31976
+ {
31977
+ "type": "null"
31978
+ }
31979
+ ],
31980
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31981
+ "title": "X-Workspace-Id"
31982
+ }
31983
+ }
31984
+ ],
31985
+ "responses": {
31986
+ "200": {
31987
+ "content": {
31988
+ "application/json": {
31989
+ "schema": {
31990
+ "$ref": "#/components/schemas/Pairing"
31991
+ }
31992
+ }
31993
+ },
31994
+ "description": "Successful Response"
31995
+ },
31996
+ "400": {
31997
+ "$ref": "#/components/responses/Error"
31998
+ },
31999
+ "default": {
32000
+ "$ref": "#/components/responses/Error"
32001
+ }
32002
+ },
32003
+ "security": [
32004
+ {
32005
+ "apiKey": []
32006
+ },
32007
+ {
32008
+ "csrf": [],
32009
+ "loginSession": []
32010
+ }
32011
+ ],
32012
+ "summary": "Cancel Client Pairing",
32013
+ "tags": ["client-environments"],
32014
+ "x-a13n-mcp": false
32015
+ }
32016
+ },
32017
+ "/api/v1/client-environments/pairings/{pairing_id}/claim": {
32018
+ "post": {
32019
+ "operationId": "claim_client_pairing",
32020
+ "parameters": [
32021
+ {
32022
+ "in": "path",
32023
+ "name": "pairing_id",
32024
+ "required": true,
32025
+ "schema": {
32026
+ "title": "Pairing Id",
32027
+ "type": "string"
32028
+ }
32029
+ }
32030
+ ],
32031
+ "requestBody": {
32032
+ "content": {
32033
+ "application/json": {
32034
+ "schema": {
32035
+ "$ref": "#/components/schemas/DeviceClaim"
32036
+ }
32037
+ }
32038
+ },
32039
+ "required": true
32040
+ },
32041
+ "responses": {
32042
+ "200": {
32043
+ "content": {
32044
+ "application/json": {
32045
+ "schema": {
32046
+ "$ref": "#/components/schemas/ClaimResult"
32047
+ }
32048
+ }
32049
+ },
32050
+ "description": "Successful Response"
32051
+ },
32052
+ "400": {
32053
+ "$ref": "#/components/responses/Error"
32054
+ },
32055
+ "default": {
32056
+ "$ref": "#/components/responses/Error"
32057
+ }
32058
+ },
32059
+ "summary": "Claim Client Pairing",
32060
+ "tags": ["client-environments"],
32061
+ "x-a13n-mcp": false
32062
+ }
32063
+ },
32064
+ "/api/v1/client-environments/pairings/{pairing_id}/recognize": {
32065
+ "post": {
32066
+ "operationId": "recognize_client_pairing",
32067
+ "parameters": [
32068
+ {
32069
+ "in": "path",
32070
+ "name": "pairing_id",
32071
+ "required": true,
32072
+ "schema": {
32073
+ "title": "Pairing Id",
32074
+ "type": "string"
32075
+ }
32076
+ }
32077
+ ],
32078
+ "requestBody": {
32079
+ "content": {
32080
+ "application/json": {
32081
+ "schema": {
32082
+ "$ref": "#/components/schemas/Recognition"
32083
+ }
32084
+ }
32085
+ },
32086
+ "required": true
32087
+ },
32088
+ "responses": {
32089
+ "200": {
32090
+ "content": {
32091
+ "application/json": {
32092
+ "schema": {
32093
+ "$ref": "#/components/schemas/Pairing"
32094
+ }
32095
+ }
32096
+ },
32097
+ "description": "Successful Response"
32098
+ },
32099
+ "400": {
32100
+ "$ref": "#/components/responses/Error"
32101
+ },
32102
+ "default": {
32103
+ "$ref": "#/components/responses/Error"
32104
+ }
32105
+ },
32106
+ "summary": "Recognize Client Pairing",
32107
+ "tags": ["client-environments"],
32108
+ "x-a13n-mcp": false
32109
+ }
32110
+ },
32111
+ "/api/v1/client-environments/{environment_id}": {
32112
+ "get": {
32113
+ "operationId": "get_client_environment",
32114
+ "parameters": [
32115
+ {
32116
+ "in": "path",
32117
+ "name": "environment_id",
32118
+ "required": true,
32119
+ "schema": {
32120
+ "title": "Environment Id",
32121
+ "type": "string"
32122
+ }
32123
+ },
32124
+ {
32125
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
32126
+ "in": "header",
32127
+ "name": "X-Workspace-ID",
32128
+ "required": false,
32129
+ "schema": {
32130
+ "anyOf": [
32131
+ {
32132
+ "maxLength": 41,
32133
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
32134
+ "type": "string"
32135
+ },
32136
+ {
32137
+ "type": "null"
32138
+ }
32139
+ ],
32140
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
32141
+ "title": "X-Workspace-Id"
32142
+ }
32143
+ }
32144
+ ],
32145
+ "responses": {
32146
+ "200": {
32147
+ "content": {
32148
+ "application/json": {
32149
+ "schema": {
32150
+ "$ref": "#/components/schemas/ClientEnvironment"
32151
+ }
32152
+ }
32153
+ },
32154
+ "description": "Successful Response"
32155
+ },
32156
+ "400": {
32157
+ "$ref": "#/components/responses/Error"
32158
+ },
32159
+ "default": {
32160
+ "$ref": "#/components/responses/Error"
32161
+ }
32162
+ },
32163
+ "security": [
32164
+ {
32165
+ "apiKey": []
32166
+ },
32167
+ {
32168
+ "loginSession": []
32169
+ }
32170
+ ],
32171
+ "summary": "Get Client Environment",
32172
+ "tags": ["client-environments"],
32173
+ "x-a13n-mcp": true
32174
+ }
32175
+ },
32176
+ "/api/v1/client-environments/{environment_id}/revoke-credential": {
32177
+ "post": {
32178
+ "operationId": "revoke_client_environment_credential",
32179
+ "parameters": [
32180
+ {
32181
+ "in": "path",
32182
+ "name": "environment_id",
32183
+ "required": true,
32184
+ "schema": {
32185
+ "title": "Environment Id",
32186
+ "type": "string"
32187
+ }
32188
+ },
32189
+ {
32190
+ "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
32191
+ "in": "header",
32192
+ "name": "If-Match",
32193
+ "required": false,
32194
+ "schema": {
32195
+ "anyOf": [
32196
+ {
32197
+ "maxLength": 512,
32198
+ "type": "string"
32199
+ },
32200
+ {
32201
+ "type": "null"
32202
+ }
32203
+ ],
32204
+ "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
32205
+ "title": "If-Match",
32206
+ "x-a13n-mcp-entity-tag": "expected_version"
32207
+ }
32208
+ },
32209
+ {
32210
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
32211
+ "in": "header",
32212
+ "name": "X-Workspace-ID",
32213
+ "required": false,
32214
+ "schema": {
32215
+ "anyOf": [
32216
+ {
32217
+ "maxLength": 41,
32218
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
32219
+ "type": "string"
32220
+ },
32221
+ {
32222
+ "type": "null"
32223
+ }
32224
+ ],
32225
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
32226
+ "title": "X-Workspace-Id"
32227
+ }
32228
+ }
32229
+ ],
32230
+ "responses": {
32231
+ "200": {
32232
+ "content": {
32233
+ "application/json": {
32234
+ "schema": {
32235
+ "$ref": "#/components/schemas/Registered"
31511
32236
  }
31512
32237
  }
31513
32238
  },
@@ -31525,27 +32250,48 @@
31525
32250
  "apiKey": []
31526
32251
  },
31527
32252
  {
32253
+ "csrf": [],
31528
32254
  "loginSession": []
31529
32255
  }
31530
32256
  ],
31531
- "summary": "Get Client Pairing",
32257
+ "summary": "Revoke Client Environment Credential",
31532
32258
  "tags": ["client-environments"],
31533
32259
  "x-a13n-mcp": false
31534
32260
  }
31535
32261
  },
31536
- "/api/v1/client-environments/pairings/{pairing_id}/approve": {
32262
+ "/api/v1/client-environments/{environment_id}/rotate-credential": {
31537
32263
  "post": {
31538
- "operationId": "approve_client_pairing",
32264
+ "operationId": "rotate_client_environment_credential",
31539
32265
  "parameters": [
31540
32266
  {
31541
32267
  "in": "path",
31542
- "name": "pairing_id",
32268
+ "name": "environment_id",
31543
32269
  "required": true,
31544
32270
  "schema": {
31545
- "title": "Pairing Id",
32271
+ "title": "Environment Id",
31546
32272
  "type": "string"
31547
32273
  }
31548
32274
  },
32275
+ {
32276
+ "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
32277
+ "in": "header",
32278
+ "name": "If-Match",
32279
+ "required": false,
32280
+ "schema": {
32281
+ "anyOf": [
32282
+ {
32283
+ "maxLength": 512,
32284
+ "type": "string"
32285
+ },
32286
+ {
32287
+ "type": "null"
32288
+ }
32289
+ ],
32290
+ "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
32291
+ "title": "If-Match",
32292
+ "x-a13n-mcp-entity-tag": "expected_version"
32293
+ }
32294
+ },
31549
32295
  {
31550
32296
  "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31551
32297
  "in": "header",
@@ -31567,22 +32313,12 @@
31567
32313
  }
31568
32314
  }
31569
32315
  ],
31570
- "requestBody": {
31571
- "content": {
31572
- "application/json": {
31573
- "schema": {
31574
- "$ref": "#/components/schemas/PairingApproval"
31575
- }
31576
- }
31577
- },
31578
- "required": true
31579
- },
31580
32316
  "responses": {
31581
32317
  "200": {
31582
32318
  "content": {
31583
32319
  "application/json": {
31584
32320
  "schema": {
31585
- "$ref": "#/components/schemas/Pairing"
32321
+ "$ref": "#/components/schemas/Registered"
31586
32322
  }
31587
32323
  }
31588
32324
  },
@@ -31604,24 +32340,44 @@
31604
32340
  "loginSession": []
31605
32341
  }
31606
32342
  ],
31607
- "summary": "Approve Client Pairing",
32343
+ "summary": "Rotate Client Environment Credential",
31608
32344
  "tags": ["client-environments"],
31609
32345
  "x-a13n-mcp": false
31610
32346
  }
31611
32347
  },
31612
- "/api/v1/client-environments/pairings/{pairing_id}/cancel": {
31613
- "post": {
31614
- "operationId": "cancel_client_pairing",
32348
+ "/api/v1/client-environments/{environment_id}/status": {
32349
+ "patch": {
32350
+ "operationId": "change_client_environment_status",
31615
32351
  "parameters": [
31616
32352
  {
31617
32353
  "in": "path",
31618
- "name": "pairing_id",
32354
+ "name": "environment_id",
31619
32355
  "required": true,
31620
32356
  "schema": {
31621
- "title": "Pairing Id",
32357
+ "title": "Environment Id",
31622
32358
  "type": "string"
31623
32359
  }
31624
32360
  },
32361
+ {
32362
+ "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
32363
+ "in": "header",
32364
+ "name": "If-Match",
32365
+ "required": false,
32366
+ "schema": {
32367
+ "anyOf": [
32368
+ {
32369
+ "maxLength": 512,
32370
+ "type": "string"
32371
+ },
32372
+ {
32373
+ "type": "null"
32374
+ }
32375
+ ],
32376
+ "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
32377
+ "title": "If-Match",
32378
+ "x-a13n-mcp-entity-tag": "expected_version"
32379
+ }
32380
+ },
31625
32381
  {
31626
32382
  "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31627
32383
  "in": "header",
@@ -31643,12 +32399,22 @@
31643
32399
  }
31644
32400
  }
31645
32401
  ],
32402
+ "requestBody": {
32403
+ "content": {
32404
+ "application/json": {
32405
+ "schema": {
32406
+ "$ref": "#/components/schemas/StatusChange"
32407
+ }
32408
+ }
32409
+ },
32410
+ "required": true
32411
+ },
31646
32412
  "responses": {
31647
32413
  "200": {
31648
32414
  "content": {
31649
32415
  "application/json": {
31650
32416
  "schema": {
31651
- "$ref": "#/components/schemas/Pairing"
32417
+ "$ref": "#/components/schemas/ClientEnvironment"
31652
32418
  }
31653
32419
  }
31654
32420
  },
@@ -31670,41 +32436,42 @@
31670
32436
  "loginSession": []
31671
32437
  }
31672
32438
  ],
31673
- "summary": "Cancel Client Pairing",
32439
+ "summary": "Change Client Environment Status",
31674
32440
  "tags": ["client-environments"],
31675
32441
  "x-a13n-mcp": false
31676
32442
  }
31677
32443
  },
31678
- "/api/v1/client-environments/pairings/{pairing_id}/claim": {
31679
- "post": {
31680
- "operationId": "claim_client_pairing",
32444
+ "/api/v1/cloudflare-deployments": {
32445
+ "get": {
32446
+ "operationId": "list_cloudflare_deployments",
31681
32447
  "parameters": [
31682
32448
  {
31683
- "in": "path",
31684
- "name": "pairing_id",
31685
- "required": true,
32449
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
32450
+ "in": "header",
32451
+ "name": "X-Workspace-ID",
32452
+ "required": false,
31686
32453
  "schema": {
31687
- "title": "Pairing Id",
31688
- "type": "string"
32454
+ "anyOf": [
32455
+ {
32456
+ "maxLength": 41,
32457
+ "pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
32458
+ "type": "string"
32459
+ },
32460
+ {
32461
+ "type": "null"
32462
+ }
32463
+ ],
32464
+ "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
32465
+ "title": "X-Workspace-Id"
31689
32466
  }
31690
32467
  }
31691
32468
  ],
31692
- "requestBody": {
31693
- "content": {
31694
- "application/json": {
31695
- "schema": {
31696
- "$ref": "#/components/schemas/DeviceClaim"
31697
- }
31698
- }
31699
- },
31700
- "required": true
31701
- },
31702
32469
  "responses": {
31703
32470
  "200": {
31704
32471
  "content": {
31705
32472
  "application/json": {
31706
32473
  "schema": {
31707
- "$ref": "#/components/schemas/ClaimResult"
32474
+ "$ref": "#/components/schemas/DeploymentList"
31708
32475
  }
31709
32476
  }
31710
32477
  },
@@ -31717,71 +32484,20 @@
31717
32484
  "$ref": "#/components/responses/Error"
31718
32485
  }
31719
32486
  },
31720
- "summary": "Claim Client Pairing",
31721
- "tags": ["client-environments"],
31722
- "x-a13n-mcp": false
31723
- }
31724
- },
31725
- "/api/v1/client-environments/pairings/{pairing_id}/recognize": {
31726
- "post": {
31727
- "operationId": "recognize_client_pairing",
31728
- "parameters": [
32487
+ "security": [
31729
32488
  {
31730
- "in": "path",
31731
- "name": "pairing_id",
31732
- "required": true,
31733
- "schema": {
31734
- "title": "Pairing Id",
31735
- "type": "string"
31736
- }
31737
- }
31738
- ],
31739
- "requestBody": {
31740
- "content": {
31741
- "application/json": {
31742
- "schema": {
31743
- "$ref": "#/components/schemas/Recognition"
31744
- }
31745
- }
31746
- },
31747
- "required": true
31748
- },
31749
- "responses": {
31750
- "200": {
31751
- "content": {
31752
- "application/json": {
31753
- "schema": {
31754
- "$ref": "#/components/schemas/Pairing"
31755
- }
31756
- }
31757
- },
31758
- "description": "Successful Response"
31759
- },
31760
- "400": {
31761
- "$ref": "#/components/responses/Error"
32489
+ "apiKey": []
31762
32490
  },
31763
- "default": {
31764
- "$ref": "#/components/responses/Error"
32491
+ {
32492
+ "loginSession": []
31765
32493
  }
31766
- },
31767
- "summary": "Recognize Client Pairing",
31768
- "tags": ["client-environments"],
31769
- "x-a13n-mcp": false
31770
- }
31771
- },
31772
- "/api/v1/client-environments/{environment_id}": {
31773
- "get": {
31774
- "operationId": "get_client_environment",
32494
+ ],
32495
+ "summary": "List Cloudflare Deployments",
32496
+ "tags": ["cloudflare-deployments"]
32497
+ },
32498
+ "post": {
32499
+ "operationId": "create_cloudflare_deployment",
31775
32500
  "parameters": [
31776
- {
31777
- "in": "path",
31778
- "name": "environment_id",
31779
- "required": true,
31780
- "schema": {
31781
- "title": "Environment Id",
31782
- "type": "string"
31783
- }
31784
- },
31785
32501
  {
31786
32502
  "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31787
32503
  "in": "header",
@@ -31803,12 +32519,22 @@
31803
32519
  }
31804
32520
  }
31805
32521
  ],
32522
+ "requestBody": {
32523
+ "content": {
32524
+ "application/json": {
32525
+ "schema": {
32526
+ "$ref": "#/components/schemas/DeploymentCreate"
32527
+ }
32528
+ }
32529
+ },
32530
+ "required": true
32531
+ },
31806
32532
  "responses": {
31807
- "200": {
32533
+ "202": {
31808
32534
  "content": {
31809
32535
  "application/json": {
31810
32536
  "schema": {
31811
- "$ref": "#/components/schemas/ClientEnvironment"
32537
+ "$ref": "#/components/schemas/Deployment"
31812
32538
  }
31813
32539
  }
31814
32540
  },
@@ -31826,47 +32552,27 @@
31826
32552
  "apiKey": []
31827
32553
  },
31828
32554
  {
32555
+ "csrf": [],
31829
32556
  "loginSession": []
31830
32557
  }
31831
32558
  ],
31832
- "summary": "Get Client Environment",
31833
- "tags": ["client-environments"],
31834
- "x-a13n-mcp": true
32559
+ "summary": "Create Cloudflare Deployment",
32560
+ "tags": ["cloudflare-deployments"]
31835
32561
  }
31836
32562
  },
31837
- "/api/v1/client-environments/{environment_id}/revoke-credential": {
31838
- "post": {
31839
- "operationId": "revoke_client_environment_credential",
32563
+ "/api/v1/cloudflare-deployments/{deployment_id}": {
32564
+ "get": {
32565
+ "operationId": "get_cloudflare_deployment",
31840
32566
  "parameters": [
31841
32567
  {
31842
32568
  "in": "path",
31843
- "name": "environment_id",
32569
+ "name": "deployment_id",
31844
32570
  "required": true,
31845
32571
  "schema": {
31846
- "title": "Environment Id",
32572
+ "title": "Deployment Id",
31847
32573
  "type": "string"
31848
32574
  }
31849
32575
  },
31850
- {
31851
- "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
31852
- "in": "header",
31853
- "name": "If-Match",
31854
- "required": false,
31855
- "schema": {
31856
- "anyOf": [
31857
- {
31858
- "maxLength": 512,
31859
- "type": "string"
31860
- },
31861
- {
31862
- "type": "null"
31863
- }
31864
- ],
31865
- "description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
31866
- "title": "If-Match",
31867
- "x-a13n-mcp-entity-tag": "expected_version"
31868
- }
31869
- },
31870
32576
  {
31871
32577
  "description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
31872
32578
  "in": "header",
@@ -31893,7 +32599,7 @@
31893
32599
  "content": {
31894
32600
  "application/json": {
31895
32601
  "schema": {
31896
- "$ref": "#/components/schemas/Registered"
32602
+ "$ref": "#/components/schemas/Deployment"
31897
32603
  }
31898
32604
  }
31899
32605
  },
@@ -31911,25 +32617,23 @@
31911
32617
  "apiKey": []
31912
32618
  },
31913
32619
  {
31914
- "csrf": [],
31915
32620
  "loginSession": []
31916
32621
  }
31917
32622
  ],
31918
- "summary": "Revoke Client Environment Credential",
31919
- "tags": ["client-environments"],
31920
- "x-a13n-mcp": false
32623
+ "summary": "Get Cloudflare Deployment",
32624
+ "tags": ["cloudflare-deployments"]
31921
32625
  }
31922
32626
  },
31923
- "/api/v1/client-environments/{environment_id}/rotate-credential": {
32627
+ "/api/v1/cloudflare-deployments/{deployment_id}/retire": {
31924
32628
  "post": {
31925
- "operationId": "rotate_client_environment_credential",
32629
+ "operationId": "retire_cloudflare_deployment",
31926
32630
  "parameters": [
31927
32631
  {
31928
32632
  "in": "path",
31929
- "name": "environment_id",
32633
+ "name": "deployment_id",
31930
32634
  "required": true,
31931
32635
  "schema": {
31932
- "title": "Environment Id",
32636
+ "title": "Deployment Id",
31933
32637
  "type": "string"
31934
32638
  }
31935
32639
  },
@@ -31975,11 +32679,11 @@
31975
32679
  }
31976
32680
  ],
31977
32681
  "responses": {
31978
- "200": {
32682
+ "202": {
31979
32683
  "content": {
31980
32684
  "application/json": {
31981
32685
  "schema": {
31982
- "$ref": "#/components/schemas/Registered"
32686
+ "$ref": "#/components/schemas/Deployment"
31983
32687
  }
31984
32688
  }
31985
32689
  },
@@ -32001,21 +32705,20 @@
32001
32705
  "loginSession": []
32002
32706
  }
32003
32707
  ],
32004
- "summary": "Rotate Client Environment Credential",
32005
- "tags": ["client-environments"],
32006
- "x-a13n-mcp": false
32708
+ "summary": "Retire Cloudflare Deployment",
32709
+ "tags": ["cloudflare-deployments"]
32007
32710
  }
32008
32711
  },
32009
- "/api/v1/client-environments/{environment_id}/status": {
32010
- "patch": {
32011
- "operationId": "change_client_environment_status",
32712
+ "/api/v1/cloudflare-deployments/{deployment_id}/retry": {
32713
+ "post": {
32714
+ "operationId": "retry_cloudflare_deployment",
32012
32715
  "parameters": [
32013
32716
  {
32014
32717
  "in": "path",
32015
- "name": "environment_id",
32718
+ "name": "deployment_id",
32016
32719
  "required": true,
32017
32720
  "schema": {
32018
- "title": "Environment Id",
32721
+ "title": "Deployment Id",
32019
32722
  "type": "string"
32020
32723
  }
32021
32724
  },
@@ -32064,18 +32767,18 @@
32064
32767
  "content": {
32065
32768
  "application/json": {
32066
32769
  "schema": {
32067
- "$ref": "#/components/schemas/StatusChange"
32770
+ "$ref": "#/components/schemas/DeploymentRetry"
32068
32771
  }
32069
32772
  }
32070
32773
  },
32071
32774
  "required": true
32072
32775
  },
32073
32776
  "responses": {
32074
- "200": {
32777
+ "202": {
32075
32778
  "content": {
32076
32779
  "application/json": {
32077
32780
  "schema": {
32078
- "$ref": "#/components/schemas/ClientEnvironment"
32781
+ "$ref": "#/components/schemas/Deployment"
32079
32782
  }
32080
32783
  }
32081
32784
  },
@@ -32097,9 +32800,8 @@
32097
32800
  "loginSession": []
32098
32801
  }
32099
32802
  ],
32100
- "summary": "Change Client Environment Status",
32101
- "tags": ["client-environments"],
32102
- "x-a13n-mcp": false
32803
+ "summary": "Retry Cloudflare Deployment",
32804
+ "tags": ["cloudflare-deployments"]
32103
32805
  }
32104
32806
  },
32105
32807
  "/api/v1/connections": {
@@ -53839,7 +54541,7 @@
53839
54541
  "schema": {
53840
54542
  "anyOf": [
53841
54543
  {
53842
- "enum": ["message", "child_result"],
54544
+ "enum": ["message", "child_result", "child_message"],
53843
54545
  "type": "string"
53844
54546
  },
53845
54547
  {