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