@aionixone/client-agent 0.0.0-stage → 0.3.0-beta.3
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/LICENSE +202 -0
- package/NOTICE +11 -0
- package/README.md +42 -2
- package/dist/generated/catalog.d.ts +859 -0
- package/dist/generated/catalog.d.ts.map +1 -0
- package/dist/generated/catalog.js +855 -0
- package/dist/generated/catalog.js.map +1 -0
- package/dist/generated/index.d.ts +6 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +7 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/schema_types.d.ts +133 -0
- package/dist/generated/schema_types.d.ts.map +1 -0
- package/dist/generated/schema_types.js +3 -0
- package/dist/generated/schema_types.js.map +1 -0
- package/dist/generated/service.d.ts +916 -0
- package/dist/generated/service.d.ts.map +1 -0
- package/dist/generated/service.js +1170 -0
- package/dist/generated/service.js.map +1 -0
- package/dist/generated/trn.d.ts +98 -0
- package/dist/generated/trn.d.ts.map +1 -0
- package/dist/generated/trn.js +359 -0
- package/dist/generated/trn.js.map +1 -0
- package/dist/generated/types.d.ts +427 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +3 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/session.d.ts +25 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +67 -0
- package/dist/session.js.map +1 -0
- package/package.json +34 -4
- package/src/generated/catalog.ts +858 -0
- package/src/generated/index.ts +7 -0
- package/src/generated/schema_types.ts +134 -0
- package/src/generated/service.ts +1240 -0
- package/src/generated/trn.ts +517 -0
- package/src/generated/types.ts +500 -0
- package/src/index.ts +1 -0
- package/src/session.ts +124 -0
|
@@ -0,0 +1,855 @@
|
|
|
1
|
+
// @generated by xtask ts-client-export; DO NOT EDIT
|
|
2
|
+
export const OPERATIONS = {
|
|
3
|
+
agent_mcp_endpoint_access_requirement_list: {
|
|
4
|
+
operationId: "agent.mcp-endpoint.access_requirement_list",
|
|
5
|
+
domain: "agent",
|
|
6
|
+
sdkMethod: ["agent", "mcpEndpoint", "accessRequirementList"],
|
|
7
|
+
method: "POST",
|
|
8
|
+
pathTemplate: "/mcp-endpoints/{trn}/access-requirements",
|
|
9
|
+
requestBodyEncoding: "json",
|
|
10
|
+
responseBodyEncoding: "standard_envelope",
|
|
11
|
+
successStatus: 200,
|
|
12
|
+
safeReplay: true,
|
|
13
|
+
rejections: [],
|
|
14
|
+
idempotencyKey: "none",
|
|
15
|
+
replayWindowSeconds: null,
|
|
16
|
+
admitsExecutionName: false,
|
|
17
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_McpEndpointNotFound"],
|
|
18
|
+
},
|
|
19
|
+
agent_mcp_endpoint_list: {
|
|
20
|
+
operationId: "agent.mcp-endpoint.list",
|
|
21
|
+
domain: "agent",
|
|
22
|
+
sdkMethod: ["agent", "mcpEndpoint", "list"],
|
|
23
|
+
method: "GET",
|
|
24
|
+
pathTemplate: "/mcp-endpoints",
|
|
25
|
+
requestBodyEncoding: "none",
|
|
26
|
+
responseBodyEncoding: "standard_envelope",
|
|
27
|
+
successStatus: 200,
|
|
28
|
+
safeReplay: true,
|
|
29
|
+
rejections: [],
|
|
30
|
+
idempotencyKey: "none",
|
|
31
|
+
replayWindowSeconds: null,
|
|
32
|
+
admitsExecutionName: false,
|
|
33
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError"],
|
|
34
|
+
},
|
|
35
|
+
agent_mcp_endpoint_read: {
|
|
36
|
+
operationId: "agent.mcp-endpoint.read",
|
|
37
|
+
domain: "agent",
|
|
38
|
+
sdkMethod: ["agent", "mcpEndpoint", "read"],
|
|
39
|
+
method: "GET",
|
|
40
|
+
pathTemplate: "/mcp-endpoints/{trn}",
|
|
41
|
+
requestBodyEncoding: "none",
|
|
42
|
+
responseBodyEncoding: "standard_envelope",
|
|
43
|
+
successStatus: 200,
|
|
44
|
+
safeReplay: true,
|
|
45
|
+
rejections: [],
|
|
46
|
+
idempotencyKey: "none",
|
|
47
|
+
replayWindowSeconds: null,
|
|
48
|
+
admitsExecutionName: false,
|
|
49
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_McpEndpointNotFound"],
|
|
50
|
+
},
|
|
51
|
+
agent_profile_access_requirement_list: {
|
|
52
|
+
operationId: "agent.profile.access_requirement_list",
|
|
53
|
+
domain: "agent",
|
|
54
|
+
sdkMethod: ["agent", "profile", "accessRequirementList"],
|
|
55
|
+
method: "POST",
|
|
56
|
+
pathTemplate: "/profiles/{trn}/access-requirements",
|
|
57
|
+
requestBodyEncoding: "json",
|
|
58
|
+
responseBodyEncoding: "standard_envelope",
|
|
59
|
+
successStatus: 200,
|
|
60
|
+
safeReplay: true,
|
|
61
|
+
rejections: [],
|
|
62
|
+
idempotencyKey: "none",
|
|
63
|
+
replayWindowSeconds: null,
|
|
64
|
+
admitsExecutionName: false,
|
|
65
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ProfileNotFound"],
|
|
66
|
+
},
|
|
67
|
+
agent_profile_context_budget_resolve: {
|
|
68
|
+
operationId: "agent.profile.context_budget_resolve",
|
|
69
|
+
domain: "agent",
|
|
70
|
+
sdkMethod: ["agent", "profile", "contextBudgetResolve"],
|
|
71
|
+
method: "POST",
|
|
72
|
+
pathTemplate: "/profiles:context-budget-resolve",
|
|
73
|
+
requestBodyEncoding: "json",
|
|
74
|
+
responseBodyEncoding: "standard_envelope",
|
|
75
|
+
successStatus: 200,
|
|
76
|
+
safeReplay: true,
|
|
77
|
+
rejections: [],
|
|
78
|
+
idempotencyKey: "none",
|
|
79
|
+
replayWindowSeconds: null,
|
|
80
|
+
admitsExecutionName: false,
|
|
81
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType"],
|
|
82
|
+
},
|
|
83
|
+
agent_profile_invoke: {
|
|
84
|
+
operationId: "agent.profile.invoke",
|
|
85
|
+
domain: "agent",
|
|
86
|
+
sdkMethod: ["agent", "profile", "invoke"],
|
|
87
|
+
method: "POST",
|
|
88
|
+
pathTemplate: "/profiles/{trn}/invoke",
|
|
89
|
+
requestBodyEncoding: "json",
|
|
90
|
+
responseBodyEncoding: "standard_envelope",
|
|
91
|
+
successStatus: 200,
|
|
92
|
+
safeReplay: true,
|
|
93
|
+
rejections: [],
|
|
94
|
+
idempotencyKey: "per_call",
|
|
95
|
+
replayWindowSeconds: 604800,
|
|
96
|
+
admitsExecutionName: true,
|
|
97
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Agent_ProfileNotFound", "Agent_PromptNotFound", "Agent_SkillNotFound", "Agent_VersionNotFound", "Internal_IdempotencyKeyReused", "Internal_Conflict"],
|
|
98
|
+
},
|
|
99
|
+
agent_profile_list: {
|
|
100
|
+
operationId: "agent.profile.list",
|
|
101
|
+
domain: "agent",
|
|
102
|
+
sdkMethod: ["agent", "profile", "list"],
|
|
103
|
+
method: "GET",
|
|
104
|
+
pathTemplate: "/profiles",
|
|
105
|
+
requestBodyEncoding: "none",
|
|
106
|
+
responseBodyEncoding: "standard_envelope",
|
|
107
|
+
successStatus: 200,
|
|
108
|
+
safeReplay: true,
|
|
109
|
+
rejections: [],
|
|
110
|
+
idempotencyKey: "none",
|
|
111
|
+
replayWindowSeconds: null,
|
|
112
|
+
admitsExecutionName: false,
|
|
113
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError"],
|
|
114
|
+
},
|
|
115
|
+
agent_profile_read: {
|
|
116
|
+
operationId: "agent.profile.read",
|
|
117
|
+
domain: "agent",
|
|
118
|
+
sdkMethod: ["agent", "profile", "read"],
|
|
119
|
+
method: "GET",
|
|
120
|
+
pathTemplate: "/profiles/{trn}",
|
|
121
|
+
requestBodyEncoding: "none",
|
|
122
|
+
responseBodyEncoding: "standard_envelope",
|
|
123
|
+
successStatus: 200,
|
|
124
|
+
safeReplay: true,
|
|
125
|
+
rejections: [],
|
|
126
|
+
idempotencyKey: "none",
|
|
127
|
+
replayWindowSeconds: null,
|
|
128
|
+
admitsExecutionName: false,
|
|
129
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound"],
|
|
130
|
+
},
|
|
131
|
+
agent_profile_statistics_list: {
|
|
132
|
+
operationId: "agent.profile.statistics_list",
|
|
133
|
+
domain: "agent",
|
|
134
|
+
sdkMethod: ["agent", "profile", "statisticsList"],
|
|
135
|
+
method: "GET",
|
|
136
|
+
pathTemplate: "/profiles:statistics",
|
|
137
|
+
requestBodyEncoding: "none",
|
|
138
|
+
responseBodyEncoding: "standard_envelope",
|
|
139
|
+
successStatus: 200,
|
|
140
|
+
safeReplay: true,
|
|
141
|
+
rejections: [],
|
|
142
|
+
idempotencyKey: "none",
|
|
143
|
+
replayWindowSeconds: null,
|
|
144
|
+
admitsExecutionName: false,
|
|
145
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_StatisticsWindowRejected", "Agent_QueryDeadlineExceeded"],
|
|
146
|
+
},
|
|
147
|
+
agent_profile_statistics_read: {
|
|
148
|
+
operationId: "agent.profile.statistics_read",
|
|
149
|
+
domain: "agent",
|
|
150
|
+
sdkMethod: ["agent", "profile", "statisticsRead"],
|
|
151
|
+
method: "GET",
|
|
152
|
+
pathTemplate: "/profiles/{trn}/statistics",
|
|
153
|
+
requestBodyEncoding: "none",
|
|
154
|
+
responseBodyEncoding: "standard_envelope",
|
|
155
|
+
successStatus: 200,
|
|
156
|
+
safeReplay: true,
|
|
157
|
+
rejections: [],
|
|
158
|
+
idempotencyKey: "none",
|
|
159
|
+
replayWindowSeconds: null,
|
|
160
|
+
admitsExecutionName: false,
|
|
161
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_StatisticsWindowRejected", "Agent_QueryDeadlineExceeded"],
|
|
162
|
+
},
|
|
163
|
+
agent_profile_thread_creation_requirement_read: {
|
|
164
|
+
operationId: "agent.profile.thread_creation_requirement_read",
|
|
165
|
+
domain: "agent",
|
|
166
|
+
sdkMethod: ["agent", "profile", "threadCreationRequirementRead"],
|
|
167
|
+
method: "GET",
|
|
168
|
+
pathTemplate: "/profiles/{trn}/thread-creation-requirements",
|
|
169
|
+
requestBodyEncoding: "none",
|
|
170
|
+
responseBodyEncoding: "standard_envelope",
|
|
171
|
+
successStatus: 200,
|
|
172
|
+
safeReplay: true,
|
|
173
|
+
rejections: [],
|
|
174
|
+
idempotencyKey: "none",
|
|
175
|
+
replayWindowSeconds: null,
|
|
176
|
+
admitsExecutionName: false,
|
|
177
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound"],
|
|
178
|
+
},
|
|
179
|
+
agent_profile_tool_statistics_read: {
|
|
180
|
+
operationId: "agent.profile.tool_statistics_read",
|
|
181
|
+
domain: "agent",
|
|
182
|
+
sdkMethod: ["agent", "profile", "toolStatisticsRead"],
|
|
183
|
+
method: "GET",
|
|
184
|
+
pathTemplate: "/profiles/{trn}/tool-statistics",
|
|
185
|
+
requestBodyEncoding: "none",
|
|
186
|
+
responseBodyEncoding: "standard_envelope",
|
|
187
|
+
successStatus: 200,
|
|
188
|
+
safeReplay: true,
|
|
189
|
+
rejections: [],
|
|
190
|
+
idempotencyKey: "none",
|
|
191
|
+
replayWindowSeconds: null,
|
|
192
|
+
admitsExecutionName: false,
|
|
193
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_StatisticsWindowRejected", "Agent_QueryDeadlineExceeded"],
|
|
194
|
+
},
|
|
195
|
+
agent_profile_version_delete: {
|
|
196
|
+
operationId: "agent.profile.version_delete",
|
|
197
|
+
domain: "agent",
|
|
198
|
+
sdkMethod: ["agent", "profile", "versionDelete"],
|
|
199
|
+
method: "DELETE",
|
|
200
|
+
pathTemplate: "/profiles/{trn}/version",
|
|
201
|
+
requestBodyEncoding: "none",
|
|
202
|
+
responseBodyEncoding: "none",
|
|
203
|
+
successStatus: 204,
|
|
204
|
+
safeReplay: false,
|
|
205
|
+
rejections: [],
|
|
206
|
+
idempotencyKey: "none",
|
|
207
|
+
replayWindowSeconds: null,
|
|
208
|
+
admitsExecutionName: false,
|
|
209
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_VersionNotFound", "Declarative_RemovalBlocked", "Internal_Conflict"],
|
|
210
|
+
},
|
|
211
|
+
agent_profile_version_list: {
|
|
212
|
+
operationId: "agent.profile.version_list",
|
|
213
|
+
domain: "agent",
|
|
214
|
+
sdkMethod: ["agent", "profile", "versionList"],
|
|
215
|
+
method: "GET",
|
|
216
|
+
pathTemplate: "/profiles/{trn}/versions",
|
|
217
|
+
requestBodyEncoding: "none",
|
|
218
|
+
responseBodyEncoding: "standard_envelope",
|
|
219
|
+
successStatus: 200,
|
|
220
|
+
safeReplay: true,
|
|
221
|
+
rejections: [],
|
|
222
|
+
idempotencyKey: "none",
|
|
223
|
+
replayWindowSeconds: null,
|
|
224
|
+
admitsExecutionName: false,
|
|
225
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound"],
|
|
226
|
+
},
|
|
227
|
+
agent_profile_version_read: {
|
|
228
|
+
operationId: "agent.profile.version_read",
|
|
229
|
+
domain: "agent",
|
|
230
|
+
sdkMethod: ["agent", "profile", "versionRead"],
|
|
231
|
+
method: "GET",
|
|
232
|
+
pathTemplate: "/profiles/{trn}/version",
|
|
233
|
+
requestBodyEncoding: "none",
|
|
234
|
+
responseBodyEncoding: "standard_envelope",
|
|
235
|
+
successStatus: 200,
|
|
236
|
+
safeReplay: true,
|
|
237
|
+
rejections: [],
|
|
238
|
+
idempotencyKey: "none",
|
|
239
|
+
replayWindowSeconds: null,
|
|
240
|
+
admitsExecutionName: false,
|
|
241
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_VersionNotFound"],
|
|
242
|
+
},
|
|
243
|
+
agent_profile_version_set_current: {
|
|
244
|
+
operationId: "agent.profile.version_set_current",
|
|
245
|
+
domain: "agent",
|
|
246
|
+
sdkMethod: ["agent", "profile", "versionSetCurrent"],
|
|
247
|
+
method: "POST",
|
|
248
|
+
pathTemplate: "/profiles/{trn}/version/set-current",
|
|
249
|
+
requestBodyEncoding: "none",
|
|
250
|
+
responseBodyEncoding: "standard_envelope",
|
|
251
|
+
successStatus: 200,
|
|
252
|
+
safeReplay: false,
|
|
253
|
+
rejections: ["Agent_ProfileNotFound", "Agent_VersionNotFound"],
|
|
254
|
+
idempotencyKey: "none",
|
|
255
|
+
replayWindowSeconds: null,
|
|
256
|
+
admitsExecutionName: false,
|
|
257
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_VersionNotFound", "Internal_Conflict"],
|
|
258
|
+
},
|
|
259
|
+
agent_prompt_list: {
|
|
260
|
+
operationId: "agent.prompt.list",
|
|
261
|
+
domain: "agent",
|
|
262
|
+
sdkMethod: ["agent", "prompt", "list"],
|
|
263
|
+
method: "GET",
|
|
264
|
+
pathTemplate: "/prompts",
|
|
265
|
+
requestBodyEncoding: "none",
|
|
266
|
+
responseBodyEncoding: "standard_envelope",
|
|
267
|
+
successStatus: 200,
|
|
268
|
+
safeReplay: true,
|
|
269
|
+
rejections: [],
|
|
270
|
+
idempotencyKey: "none",
|
|
271
|
+
replayWindowSeconds: null,
|
|
272
|
+
admitsExecutionName: false,
|
|
273
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError"],
|
|
274
|
+
},
|
|
275
|
+
agent_prompt_read: {
|
|
276
|
+
operationId: "agent.prompt.read",
|
|
277
|
+
domain: "agent",
|
|
278
|
+
sdkMethod: ["agent", "prompt", "read"],
|
|
279
|
+
method: "GET",
|
|
280
|
+
pathTemplate: "/prompts/{trn}",
|
|
281
|
+
requestBodyEncoding: "none",
|
|
282
|
+
responseBodyEncoding: "standard_envelope",
|
|
283
|
+
successStatus: 200,
|
|
284
|
+
safeReplay: true,
|
|
285
|
+
rejections: [],
|
|
286
|
+
idempotencyKey: "none",
|
|
287
|
+
replayWindowSeconds: null,
|
|
288
|
+
admitsExecutionName: false,
|
|
289
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_PromptNotFound"],
|
|
290
|
+
},
|
|
291
|
+
agent_prompt_runtime_read: {
|
|
292
|
+
operationId: "agent.prompt.runtime_read",
|
|
293
|
+
domain: "agent",
|
|
294
|
+
sdkMethod: ["agent", "prompt", "runtimeRead"],
|
|
295
|
+
method: "POST",
|
|
296
|
+
pathTemplate: "/prompts:read",
|
|
297
|
+
requestBodyEncoding: "json",
|
|
298
|
+
responseBodyEncoding: "standard_envelope",
|
|
299
|
+
successStatus: 200,
|
|
300
|
+
safeReplay: true,
|
|
301
|
+
rejections: [],
|
|
302
|
+
idempotencyKey: "none",
|
|
303
|
+
replayWindowSeconds: null,
|
|
304
|
+
admitsExecutionName: false,
|
|
305
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_PromptNotFound", "Agent_VersionNotFound", "Agent_ThreadNotFound", "Agent_TurnNotFound", "Agent_InvalidState", "Agent_RequestTemplateInvalid", "Internal_NotFound"],
|
|
306
|
+
},
|
|
307
|
+
agent_prompt_runtime_resolve: {
|
|
308
|
+
operationId: "agent.prompt.runtime_resolve",
|
|
309
|
+
domain: "agent",
|
|
310
|
+
sdkMethod: ["agent", "prompt", "runtimeResolve"],
|
|
311
|
+
method: "POST",
|
|
312
|
+
pathTemplate: "/prompts:resolve",
|
|
313
|
+
requestBodyEncoding: "json",
|
|
314
|
+
responseBodyEncoding: "standard_envelope",
|
|
315
|
+
successStatus: 200,
|
|
316
|
+
safeReplay: true,
|
|
317
|
+
rejections: [],
|
|
318
|
+
idempotencyKey: "none",
|
|
319
|
+
replayWindowSeconds: null,
|
|
320
|
+
admitsExecutionName: false,
|
|
321
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_PromptNotFound", "Agent_VersionNotFound", "Agent_ThreadNotFound", "Agent_TurnNotFound", "Agent_InvalidState", "Internal_NotFound"],
|
|
322
|
+
},
|
|
323
|
+
agent_prompt_version_delete: {
|
|
324
|
+
operationId: "agent.prompt.version_delete",
|
|
325
|
+
domain: "agent",
|
|
326
|
+
sdkMethod: ["agent", "prompt", "versionDelete"],
|
|
327
|
+
method: "DELETE",
|
|
328
|
+
pathTemplate: "/prompts/{trn}/version",
|
|
329
|
+
requestBodyEncoding: "none",
|
|
330
|
+
responseBodyEncoding: "none",
|
|
331
|
+
successStatus: 204,
|
|
332
|
+
safeReplay: false,
|
|
333
|
+
rejections: [],
|
|
334
|
+
idempotencyKey: "none",
|
|
335
|
+
replayWindowSeconds: null,
|
|
336
|
+
admitsExecutionName: false,
|
|
337
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_PromptNotFound", "Agent_VersionNotFound", "Declarative_RemovalBlocked", "Internal_Conflict"],
|
|
338
|
+
},
|
|
339
|
+
agent_prompt_version_list: {
|
|
340
|
+
operationId: "agent.prompt.version_list",
|
|
341
|
+
domain: "agent",
|
|
342
|
+
sdkMethod: ["agent", "prompt", "versionList"],
|
|
343
|
+
method: "GET",
|
|
344
|
+
pathTemplate: "/prompts/{trn}/versions",
|
|
345
|
+
requestBodyEncoding: "none",
|
|
346
|
+
responseBodyEncoding: "standard_envelope",
|
|
347
|
+
successStatus: 200,
|
|
348
|
+
safeReplay: true,
|
|
349
|
+
rejections: [],
|
|
350
|
+
idempotencyKey: "none",
|
|
351
|
+
replayWindowSeconds: null,
|
|
352
|
+
admitsExecutionName: false,
|
|
353
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_PromptNotFound"],
|
|
354
|
+
},
|
|
355
|
+
agent_prompt_version_read: {
|
|
356
|
+
operationId: "agent.prompt.version_read",
|
|
357
|
+
domain: "agent",
|
|
358
|
+
sdkMethod: ["agent", "prompt", "versionRead"],
|
|
359
|
+
method: "GET",
|
|
360
|
+
pathTemplate: "/prompts/{trn}/version",
|
|
361
|
+
requestBodyEncoding: "none",
|
|
362
|
+
responseBodyEncoding: "standard_envelope",
|
|
363
|
+
successStatus: 200,
|
|
364
|
+
safeReplay: true,
|
|
365
|
+
rejections: [],
|
|
366
|
+
idempotencyKey: "none",
|
|
367
|
+
replayWindowSeconds: null,
|
|
368
|
+
admitsExecutionName: false,
|
|
369
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_PromptNotFound", "Agent_VersionNotFound", "Internal_NotFound"],
|
|
370
|
+
},
|
|
371
|
+
agent_prompt_version_set_current: {
|
|
372
|
+
operationId: "agent.prompt.version_set_current",
|
|
373
|
+
domain: "agent",
|
|
374
|
+
sdkMethod: ["agent", "prompt", "versionSetCurrent"],
|
|
375
|
+
method: "POST",
|
|
376
|
+
pathTemplate: "/prompts/{trn}/version/set-current",
|
|
377
|
+
requestBodyEncoding: "none",
|
|
378
|
+
responseBodyEncoding: "standard_envelope",
|
|
379
|
+
successStatus: 200,
|
|
380
|
+
safeReplay: false,
|
|
381
|
+
rejections: ["Agent_PromptNotFound", "Agent_VersionNotFound"],
|
|
382
|
+
idempotencyKey: "none",
|
|
383
|
+
replayWindowSeconds: null,
|
|
384
|
+
admitsExecutionName: false,
|
|
385
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_PromptNotFound", "Agent_VersionNotFound", "Internal_Conflict"],
|
|
386
|
+
},
|
|
387
|
+
agent_session_connect: {
|
|
388
|
+
operationId: "agent.session.connect",
|
|
389
|
+
domain: "agent",
|
|
390
|
+
sdkMethod: ["agent", "session", "connect"],
|
|
391
|
+
method: "POST",
|
|
392
|
+
pathTemplate: "/session/connect",
|
|
393
|
+
requestBodyEncoding: "json",
|
|
394
|
+
responseBodyEncoding: "standard_envelope",
|
|
395
|
+
successStatus: 200,
|
|
396
|
+
safeReplay: false,
|
|
397
|
+
rejections: [],
|
|
398
|
+
idempotencyKey: "none",
|
|
399
|
+
replayWindowSeconds: null,
|
|
400
|
+
admitsExecutionName: false,
|
|
401
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Internal_Conflict"],
|
|
402
|
+
},
|
|
403
|
+
agent_skill_list: {
|
|
404
|
+
operationId: "agent.skill.list",
|
|
405
|
+
domain: "agent",
|
|
406
|
+
sdkMethod: ["agent", "skill", "list"],
|
|
407
|
+
method: "GET",
|
|
408
|
+
pathTemplate: "/skills",
|
|
409
|
+
requestBodyEncoding: "none",
|
|
410
|
+
responseBodyEncoding: "standard_envelope",
|
|
411
|
+
successStatus: 200,
|
|
412
|
+
safeReplay: true,
|
|
413
|
+
rejections: [],
|
|
414
|
+
idempotencyKey: "none",
|
|
415
|
+
replayWindowSeconds: null,
|
|
416
|
+
admitsExecutionName: false,
|
|
417
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError"],
|
|
418
|
+
},
|
|
419
|
+
agent_skill_read: {
|
|
420
|
+
operationId: "agent.skill.read",
|
|
421
|
+
domain: "agent",
|
|
422
|
+
sdkMethod: ["agent", "skill", "read"],
|
|
423
|
+
method: "GET",
|
|
424
|
+
pathTemplate: "/skills/{trn}",
|
|
425
|
+
requestBodyEncoding: "none",
|
|
426
|
+
responseBodyEncoding: "standard_envelope",
|
|
427
|
+
successStatus: 200,
|
|
428
|
+
safeReplay: true,
|
|
429
|
+
rejections: [],
|
|
430
|
+
idempotencyKey: "none",
|
|
431
|
+
replayWindowSeconds: null,
|
|
432
|
+
admitsExecutionName: false,
|
|
433
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound"],
|
|
434
|
+
},
|
|
435
|
+
agent_skill_version_delete: {
|
|
436
|
+
operationId: "agent.skill.version_delete",
|
|
437
|
+
domain: "agent",
|
|
438
|
+
sdkMethod: ["agent", "skill", "versionDelete"],
|
|
439
|
+
method: "DELETE",
|
|
440
|
+
pathTemplate: "/skills/{trn}/version",
|
|
441
|
+
requestBodyEncoding: "none",
|
|
442
|
+
responseBodyEncoding: "none",
|
|
443
|
+
successStatus: 204,
|
|
444
|
+
safeReplay: false,
|
|
445
|
+
rejections: [],
|
|
446
|
+
idempotencyKey: "none",
|
|
447
|
+
replayWindowSeconds: null,
|
|
448
|
+
admitsExecutionName: false,
|
|
449
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound", "Agent_VersionNotFound", "Declarative_RemovalBlocked", "Internal_Conflict"],
|
|
450
|
+
},
|
|
451
|
+
agent_skill_version_file_read: {
|
|
452
|
+
operationId: "agent.skill.version_file_read",
|
|
453
|
+
domain: "agent",
|
|
454
|
+
sdkMethod: ["agent", "skill", "versionFileRead"],
|
|
455
|
+
method: "GET",
|
|
456
|
+
pathTemplate: "/skills/{trn}/version/file",
|
|
457
|
+
requestBodyEncoding: "none",
|
|
458
|
+
responseBodyEncoding: "binary",
|
|
459
|
+
successStatus: 200,
|
|
460
|
+
safeReplay: true,
|
|
461
|
+
rejections: [],
|
|
462
|
+
idempotencyKey: "none",
|
|
463
|
+
replayWindowSeconds: null,
|
|
464
|
+
admitsExecutionName: false,
|
|
465
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound", "Agent_VersionNotFound", "Internal_NotFound"],
|
|
466
|
+
},
|
|
467
|
+
agent_skill_version_list: {
|
|
468
|
+
operationId: "agent.skill.version_list",
|
|
469
|
+
domain: "agent",
|
|
470
|
+
sdkMethod: ["agent", "skill", "versionList"],
|
|
471
|
+
method: "GET",
|
|
472
|
+
pathTemplate: "/skills/{trn}/versions",
|
|
473
|
+
requestBodyEncoding: "none",
|
|
474
|
+
responseBodyEncoding: "standard_envelope",
|
|
475
|
+
successStatus: 200,
|
|
476
|
+
safeReplay: true,
|
|
477
|
+
rejections: [],
|
|
478
|
+
idempotencyKey: "none",
|
|
479
|
+
replayWindowSeconds: null,
|
|
480
|
+
admitsExecutionName: false,
|
|
481
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound"],
|
|
482
|
+
},
|
|
483
|
+
agent_skill_version_package_read: {
|
|
484
|
+
operationId: "agent.skill.version_package_read",
|
|
485
|
+
domain: "agent",
|
|
486
|
+
sdkMethod: ["agent", "skill", "versionPackageRead"],
|
|
487
|
+
method: "GET",
|
|
488
|
+
pathTemplate: "/skills/{trn}/version/package",
|
|
489
|
+
requestBodyEncoding: "none",
|
|
490
|
+
responseBodyEncoding: "binary",
|
|
491
|
+
successStatus: 200,
|
|
492
|
+
safeReplay: true,
|
|
493
|
+
rejections: [],
|
|
494
|
+
idempotencyKey: "none",
|
|
495
|
+
replayWindowSeconds: null,
|
|
496
|
+
admitsExecutionName: false,
|
|
497
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound", "Agent_VersionNotFound", "Internal_NotFound"],
|
|
498
|
+
},
|
|
499
|
+
agent_skill_version_read: {
|
|
500
|
+
operationId: "agent.skill.version_read",
|
|
501
|
+
domain: "agent",
|
|
502
|
+
sdkMethod: ["agent", "skill", "versionRead"],
|
|
503
|
+
method: "GET",
|
|
504
|
+
pathTemplate: "/skills/{trn}/version",
|
|
505
|
+
requestBodyEncoding: "none",
|
|
506
|
+
responseBodyEncoding: "standard_envelope",
|
|
507
|
+
successStatus: 200,
|
|
508
|
+
safeReplay: true,
|
|
509
|
+
rejections: [],
|
|
510
|
+
idempotencyKey: "none",
|
|
511
|
+
replayWindowSeconds: null,
|
|
512
|
+
admitsExecutionName: false,
|
|
513
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound", "Agent_VersionNotFound", "Internal_NotFound"],
|
|
514
|
+
},
|
|
515
|
+
agent_skill_version_set_current: {
|
|
516
|
+
operationId: "agent.skill.version_set_current",
|
|
517
|
+
domain: "agent",
|
|
518
|
+
sdkMethod: ["agent", "skill", "versionSetCurrent"],
|
|
519
|
+
method: "POST",
|
|
520
|
+
pathTemplate: "/skills/{trn}/version/set-current",
|
|
521
|
+
requestBodyEncoding: "none",
|
|
522
|
+
responseBodyEncoding: "standard_envelope",
|
|
523
|
+
successStatus: 200,
|
|
524
|
+
safeReplay: false,
|
|
525
|
+
rejections: ["Agent_SkillNotFound", "Agent_VersionNotFound"],
|
|
526
|
+
idempotencyKey: "none",
|
|
527
|
+
replayWindowSeconds: null,
|
|
528
|
+
admitsExecutionName: false,
|
|
529
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_SkillNotFound", "Agent_VersionNotFound", "Internal_Conflict"],
|
|
530
|
+
},
|
|
531
|
+
agent_thread_archive: {
|
|
532
|
+
operationId: "agent.thread.archive",
|
|
533
|
+
domain: "agent",
|
|
534
|
+
sdkMethod: ["agent", "thread", "archive"],
|
|
535
|
+
method: "POST",
|
|
536
|
+
pathTemplate: "/threads/{trn}/archive",
|
|
537
|
+
requestBodyEncoding: "json",
|
|
538
|
+
responseBodyEncoding: "standard_envelope",
|
|
539
|
+
successStatus: 200,
|
|
540
|
+
safeReplay: false,
|
|
541
|
+
rejections: [],
|
|
542
|
+
idempotencyKey: "none",
|
|
543
|
+
replayWindowSeconds: null,
|
|
544
|
+
admitsExecutionName: false,
|
|
545
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Agent_InvalidState"],
|
|
546
|
+
},
|
|
547
|
+
agent_thread_delete: {
|
|
548
|
+
operationId: "agent.thread.delete",
|
|
549
|
+
domain: "agent",
|
|
550
|
+
sdkMethod: ["agent", "thread", "delete"],
|
|
551
|
+
method: "DELETE",
|
|
552
|
+
pathTemplate: "/threads/{trn}",
|
|
553
|
+
requestBodyEncoding: "none",
|
|
554
|
+
responseBodyEncoding: "none",
|
|
555
|
+
successStatus: 204,
|
|
556
|
+
safeReplay: false,
|
|
557
|
+
rejections: [],
|
|
558
|
+
idempotencyKey: "none",
|
|
559
|
+
replayWindowSeconds: null,
|
|
560
|
+
admitsExecutionName: false,
|
|
561
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound", "Agent_InvalidState"],
|
|
562
|
+
},
|
|
563
|
+
agent_thread_interrupt: {
|
|
564
|
+
operationId: "agent.thread.interrupt",
|
|
565
|
+
domain: "agent",
|
|
566
|
+
sdkMethod: ["agent", "thread", "interrupt"],
|
|
567
|
+
method: "POST",
|
|
568
|
+
pathTemplate: "/threads/{trn}/interrupt",
|
|
569
|
+
requestBodyEncoding: "json",
|
|
570
|
+
responseBodyEncoding: "standard_envelope",
|
|
571
|
+
successStatus: 200,
|
|
572
|
+
safeReplay: false,
|
|
573
|
+
rejections: [],
|
|
574
|
+
idempotencyKey: "none",
|
|
575
|
+
replayWindowSeconds: null,
|
|
576
|
+
admitsExecutionName: false,
|
|
577
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Internal_IdempotencyKeyReused", "Internal_Conflict"],
|
|
578
|
+
},
|
|
579
|
+
agent_thread_item_list: {
|
|
580
|
+
operationId: "agent.thread.item_list",
|
|
581
|
+
domain: "agent",
|
|
582
|
+
sdkMethod: ["agent", "thread", "itemList"],
|
|
583
|
+
method: "GET",
|
|
584
|
+
pathTemplate: "/threads/{trn}/items",
|
|
585
|
+
requestBodyEncoding: "none",
|
|
586
|
+
responseBodyEncoding: "standard_envelope",
|
|
587
|
+
successStatus: 200,
|
|
588
|
+
safeReplay: true,
|
|
589
|
+
rejections: [],
|
|
590
|
+
idempotencyKey: "none",
|
|
591
|
+
replayWindowSeconds: null,
|
|
592
|
+
admitsExecutionName: false,
|
|
593
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound", "Agent_TurnNotFound", "Agent_InvalidState"],
|
|
594
|
+
},
|
|
595
|
+
agent_thread_list: {
|
|
596
|
+
operationId: "agent.thread.list",
|
|
597
|
+
domain: "agent",
|
|
598
|
+
sdkMethod: ["agent", "thread", "list"],
|
|
599
|
+
method: "GET",
|
|
600
|
+
pathTemplate: "/threads",
|
|
601
|
+
requestBodyEncoding: "none",
|
|
602
|
+
responseBodyEncoding: "standard_envelope",
|
|
603
|
+
successStatus: 200,
|
|
604
|
+
safeReplay: true,
|
|
605
|
+
rejections: [],
|
|
606
|
+
idempotencyKey: "none",
|
|
607
|
+
replayWindowSeconds: null,
|
|
608
|
+
admitsExecutionName: false,
|
|
609
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound"],
|
|
610
|
+
},
|
|
611
|
+
agent_thread_notification_stream: {
|
|
612
|
+
operationId: "agent.thread.notification_stream",
|
|
613
|
+
domain: "agent",
|
|
614
|
+
sdkMethod: ["agent", "thread", "notificationStream"],
|
|
615
|
+
method: "GET",
|
|
616
|
+
pathTemplate: "/threads/{trn}/notifications/stream",
|
|
617
|
+
requestBodyEncoding: "none",
|
|
618
|
+
responseBodyEncoding: "event_stream",
|
|
619
|
+
successStatus: 200,
|
|
620
|
+
streamEnd: { kind: 'unbounded' },
|
|
621
|
+
safeReplay: true,
|
|
622
|
+
rejections: [],
|
|
623
|
+
idempotencyKey: "none",
|
|
624
|
+
replayWindowSeconds: null,
|
|
625
|
+
admitsExecutionName: false,
|
|
626
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound"],
|
|
627
|
+
},
|
|
628
|
+
agent_thread_pending_interaction_answer: {
|
|
629
|
+
operationId: "agent.thread.pending_interaction_answer",
|
|
630
|
+
domain: "agent",
|
|
631
|
+
sdkMethod: ["agent", "thread", "pendingInteractionAnswer"],
|
|
632
|
+
method: "POST",
|
|
633
|
+
pathTemplate: "/threads/{trn}/interactions/answer",
|
|
634
|
+
requestBodyEncoding: "json",
|
|
635
|
+
responseBodyEncoding: "standard_envelope",
|
|
636
|
+
successStatus: 200,
|
|
637
|
+
safeReplay: false,
|
|
638
|
+
rejections: [],
|
|
639
|
+
idempotencyKey: "none",
|
|
640
|
+
replayWindowSeconds: null,
|
|
641
|
+
admitsExecutionName: false,
|
|
642
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Agent_TurnNotFound", "Agent_InteractionNotFound", "Agent_InvalidState", "Internal_Conflict"],
|
|
643
|
+
},
|
|
644
|
+
agent_thread_pending_interaction_list: {
|
|
645
|
+
operationId: "agent.thread.pending_interaction_list",
|
|
646
|
+
domain: "agent",
|
|
647
|
+
sdkMethod: ["agent", "thread", "pendingInteractionList"],
|
|
648
|
+
method: "GET",
|
|
649
|
+
pathTemplate: "/threads/{trn}/interactions/pending",
|
|
650
|
+
requestBodyEncoding: "none",
|
|
651
|
+
responseBodyEncoding: "standard_envelope",
|
|
652
|
+
successStatus: 200,
|
|
653
|
+
safeReplay: true,
|
|
654
|
+
rejections: [],
|
|
655
|
+
idempotencyKey: "none",
|
|
656
|
+
replayWindowSeconds: null,
|
|
657
|
+
admitsExecutionName: false,
|
|
658
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound"],
|
|
659
|
+
},
|
|
660
|
+
agent_thread_read: {
|
|
661
|
+
operationId: "agent.thread.read",
|
|
662
|
+
domain: "agent",
|
|
663
|
+
sdkMethod: ["agent", "thread", "read"],
|
|
664
|
+
method: "GET",
|
|
665
|
+
pathTemplate: "/threads/{trn}",
|
|
666
|
+
requestBodyEncoding: "none",
|
|
667
|
+
responseBodyEncoding: "standard_envelope",
|
|
668
|
+
successStatus: 200,
|
|
669
|
+
safeReplay: true,
|
|
670
|
+
rejections: [],
|
|
671
|
+
idempotencyKey: "none",
|
|
672
|
+
replayWindowSeconds: null,
|
|
673
|
+
admitsExecutionName: false,
|
|
674
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound"],
|
|
675
|
+
},
|
|
676
|
+
agent_thread_rename: {
|
|
677
|
+
operationId: "agent.thread.rename",
|
|
678
|
+
domain: "agent",
|
|
679
|
+
sdkMethod: ["agent", "thread", "rename"],
|
|
680
|
+
method: "POST",
|
|
681
|
+
pathTemplate: "/threads/{trn}/rename",
|
|
682
|
+
requestBodyEncoding: "json",
|
|
683
|
+
responseBodyEncoding: "standard_envelope",
|
|
684
|
+
successStatus: 200,
|
|
685
|
+
safeReplay: false,
|
|
686
|
+
rejections: [],
|
|
687
|
+
idempotencyKey: "none",
|
|
688
|
+
replayWindowSeconds: null,
|
|
689
|
+
admitsExecutionName: false,
|
|
690
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound"],
|
|
691
|
+
},
|
|
692
|
+
agent_thread_shutdown: {
|
|
693
|
+
operationId: "agent.thread.shutdown",
|
|
694
|
+
domain: "agent",
|
|
695
|
+
sdkMethod: ["agent", "thread", "shutdown"],
|
|
696
|
+
method: "POST",
|
|
697
|
+
pathTemplate: "/threads/{trn}/shutdown",
|
|
698
|
+
requestBodyEncoding: "json",
|
|
699
|
+
responseBodyEncoding: "standard_envelope",
|
|
700
|
+
successStatus: 200,
|
|
701
|
+
safeReplay: false,
|
|
702
|
+
rejections: [],
|
|
703
|
+
idempotencyKey: "none",
|
|
704
|
+
replayWindowSeconds: null,
|
|
705
|
+
admitsExecutionName: false,
|
|
706
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Internal_IdempotencyKeyReused", "Internal_Conflict"],
|
|
707
|
+
},
|
|
708
|
+
agent_thread_statistics_read: {
|
|
709
|
+
operationId: "agent.thread.statistics_read",
|
|
710
|
+
domain: "agent",
|
|
711
|
+
sdkMethod: ["agent", "thread", "statisticsRead"],
|
|
712
|
+
method: "GET",
|
|
713
|
+
pathTemplate: "/threads:statistics",
|
|
714
|
+
requestBodyEncoding: "none",
|
|
715
|
+
responseBodyEncoding: "standard_envelope",
|
|
716
|
+
successStatus: 200,
|
|
717
|
+
safeReplay: true,
|
|
718
|
+
rejections: [],
|
|
719
|
+
idempotencyKey: "none",
|
|
720
|
+
replayWindowSeconds: null,
|
|
721
|
+
admitsExecutionName: false,
|
|
722
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_StatisticsWindowRejected", "Agent_QueryDeadlineExceeded"],
|
|
723
|
+
},
|
|
724
|
+
agent_thread_status_read: {
|
|
725
|
+
operationId: "agent.thread.status_read",
|
|
726
|
+
domain: "agent",
|
|
727
|
+
sdkMethod: ["agent", "thread", "statusRead"],
|
|
728
|
+
method: "GET",
|
|
729
|
+
pathTemplate: "/threads/{trn}/status",
|
|
730
|
+
requestBodyEncoding: "none",
|
|
731
|
+
responseBodyEncoding: "standard_envelope",
|
|
732
|
+
successStatus: 200,
|
|
733
|
+
safeReplay: true,
|
|
734
|
+
rejections: [],
|
|
735
|
+
idempotencyKey: "none",
|
|
736
|
+
replayWindowSeconds: null,
|
|
737
|
+
admitsExecutionName: false,
|
|
738
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound"],
|
|
739
|
+
},
|
|
740
|
+
agent_thread_status_stream: {
|
|
741
|
+
operationId: "agent.thread.status_stream",
|
|
742
|
+
domain: "agent",
|
|
743
|
+
sdkMethod: ["agent", "thread", "statusStream"],
|
|
744
|
+
method: "GET",
|
|
745
|
+
pathTemplate: "/threads/{trn}/status/stream",
|
|
746
|
+
requestBodyEncoding: "none",
|
|
747
|
+
responseBodyEncoding: "event_stream",
|
|
748
|
+
successStatus: 200,
|
|
749
|
+
streamEnd: { kind: 'unbounded' },
|
|
750
|
+
safeReplay: true,
|
|
751
|
+
rejections: [],
|
|
752
|
+
idempotencyKey: "none",
|
|
753
|
+
replayWindowSeconds: null,
|
|
754
|
+
admitsExecutionName: false,
|
|
755
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound"],
|
|
756
|
+
},
|
|
757
|
+
agent_thread_tool_statistics_read: {
|
|
758
|
+
operationId: "agent.thread.tool_statistics_read",
|
|
759
|
+
domain: "agent",
|
|
760
|
+
sdkMethod: ["agent", "thread", "toolStatisticsRead"],
|
|
761
|
+
method: "GET",
|
|
762
|
+
pathTemplate: "/threads:tool-statistics",
|
|
763
|
+
requestBodyEncoding: "none",
|
|
764
|
+
responseBodyEncoding: "standard_envelope",
|
|
765
|
+
successStatus: 200,
|
|
766
|
+
safeReplay: true,
|
|
767
|
+
rejections: [],
|
|
768
|
+
idempotencyKey: "none",
|
|
769
|
+
replayWindowSeconds: null,
|
|
770
|
+
admitsExecutionName: false,
|
|
771
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ProfileNotFound", "Agent_StatisticsWindowRejected", "Agent_QueryDeadlineExceeded"],
|
|
772
|
+
},
|
|
773
|
+
agent_thread_turn_list: {
|
|
774
|
+
operationId: "agent.thread.turn_list",
|
|
775
|
+
domain: "agent",
|
|
776
|
+
sdkMethod: ["agent", "thread", "turnList"],
|
|
777
|
+
method: "GET",
|
|
778
|
+
pathTemplate: "/threads/{trn}/turns",
|
|
779
|
+
requestBodyEncoding: "none",
|
|
780
|
+
responseBodyEncoding: "standard_envelope",
|
|
781
|
+
successStatus: 200,
|
|
782
|
+
safeReplay: true,
|
|
783
|
+
rejections: [],
|
|
784
|
+
idempotencyKey: "none",
|
|
785
|
+
replayWindowSeconds: null,
|
|
786
|
+
admitsExecutionName: false,
|
|
787
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound", "Agent_InvalidState"],
|
|
788
|
+
},
|
|
789
|
+
agent_thread_unarchive: {
|
|
790
|
+
operationId: "agent.thread.unarchive",
|
|
791
|
+
domain: "agent",
|
|
792
|
+
sdkMethod: ["agent", "thread", "unarchive"],
|
|
793
|
+
method: "POST",
|
|
794
|
+
pathTemplate: "/threads/{trn}/unarchive",
|
|
795
|
+
requestBodyEncoding: "json",
|
|
796
|
+
responseBodyEncoding: "standard_envelope",
|
|
797
|
+
successStatus: 200,
|
|
798
|
+
safeReplay: false,
|
|
799
|
+
rejections: [],
|
|
800
|
+
idempotencyKey: "none",
|
|
801
|
+
replayWindowSeconds: null,
|
|
802
|
+
admitsExecutionName: false,
|
|
803
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Internal_PayloadTooLarge", "Internal_UnsupportedMediaType", "Agent_ThreadNotFound", "Agent_InvalidState"],
|
|
804
|
+
},
|
|
805
|
+
agent_thread_usage_list: {
|
|
806
|
+
operationId: "agent.thread.usage_list",
|
|
807
|
+
domain: "agent",
|
|
808
|
+
sdkMethod: ["agent", "thread", "usageList"],
|
|
809
|
+
method: "GET",
|
|
810
|
+
pathTemplate: "/threads/{trn}/usage",
|
|
811
|
+
requestBodyEncoding: "none",
|
|
812
|
+
responseBodyEncoding: "standard_envelope",
|
|
813
|
+
successStatus: 200,
|
|
814
|
+
safeReplay: true,
|
|
815
|
+
rejections: [],
|
|
816
|
+
idempotencyKey: "none",
|
|
817
|
+
replayWindowSeconds: null,
|
|
818
|
+
admitsExecutionName: false,
|
|
819
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound"],
|
|
820
|
+
},
|
|
821
|
+
agent_turn_attachment_read: {
|
|
822
|
+
operationId: "agent.turn.attachment_read",
|
|
823
|
+
domain: "agent",
|
|
824
|
+
sdkMethod: ["agent", "turn", "attachmentRead"],
|
|
825
|
+
method: "GET",
|
|
826
|
+
pathTemplate: "/turns/{trn}/attachments/{index}",
|
|
827
|
+
requestBodyEncoding: "none",
|
|
828
|
+
responseBodyEncoding: "binary",
|
|
829
|
+
successStatus: 200,
|
|
830
|
+
safeReplay: true,
|
|
831
|
+
rejections: [],
|
|
832
|
+
idempotencyKey: "none",
|
|
833
|
+
replayWindowSeconds: null,
|
|
834
|
+
admitsExecutionName: false,
|
|
835
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound", "Agent_TurnNotFound", "Agent_AttachmentNotFound", "Internal_NotFound"],
|
|
836
|
+
},
|
|
837
|
+
agent_turn_read: {
|
|
838
|
+
operationId: "agent.turn.read",
|
|
839
|
+
domain: "agent",
|
|
840
|
+
sdkMethod: ["agent", "turn", "read"],
|
|
841
|
+
method: "GET",
|
|
842
|
+
pathTemplate: "/turns/{trn}",
|
|
843
|
+
requestBodyEncoding: "none",
|
|
844
|
+
responseBodyEncoding: "standard_envelope",
|
|
845
|
+
successStatus: 200,
|
|
846
|
+
safeReplay: true,
|
|
847
|
+
rejections: [],
|
|
848
|
+
idempotencyKey: "none",
|
|
849
|
+
replayWindowSeconds: null,
|
|
850
|
+
admitsExecutionName: false,
|
|
851
|
+
errorCodes: ["Internal_Unauthorized", "Internal_PermissionDenied", "Internal_ValidationFailed", "Internal_ServiceUnavailable", "Internal_SystemError", "Internal_DatabaseError", "Internal_DatabaseConnectionError", "Agent_ThreadNotFound", "Agent_TurnNotFound"],
|
|
852
|
+
},
|
|
853
|
+
};
|
|
854
|
+
export const SDK_OPERATIONS = Object.values(OPERATIONS);
|
|
855
|
+
//# sourceMappingURL=catalog.js.map
|