@meetkai/mka1 0.54.22 → 0.54.23

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 (101) hide show
  1. package/README.md +284 -285
  2. package/bin/mcp-server.js +1342 -854
  3. package/bin/mcp-server.js.map +13 -9
  4. package/dist/commonjs/funcs/llmResponsesCreate.d.ts +25 -0
  5. package/dist/commonjs/funcs/llmResponsesCreate.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/llmResponsesCreate.js +137 -0
  7. package/dist/commonjs/funcs/llmResponsesCreate.js.map +1 -0
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  12. package/dist/commonjs/mcp-server/server.js +3 -1
  13. package/dist/commonjs/mcp-server/server.js.map +1 -1
  14. package/dist/commonjs/mcp-server/tools/llmResponsesCreate.d.ts +8 -0
  15. package/dist/commonjs/mcp-server/tools/llmResponsesCreate.d.ts.map +1 -0
  16. package/dist/commonjs/mcp-server/tools/llmResponsesCreate.js +64 -0
  17. package/dist/commonjs/mcp-server/tools/llmResponsesCreate.js.map +1 -0
  18. package/dist/commonjs/models/components/index.d.ts +1 -0
  19. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  20. package/dist/commonjs/models/components/index.js +1 -0
  21. package/dist/commonjs/models/components/index.js.map +1 -1
  22. package/dist/commonjs/models/components/responsescreaterequest.d.ts +432 -0
  23. package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -0
  24. package/dist/commonjs/models/components/responsescreaterequest.js +455 -0
  25. package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -0
  26. package/dist/commonjs/models/operations/createresponse.d.ts +64 -0
  27. package/dist/commonjs/models/operations/createresponse.d.ts.map +1 -0
  28. package/dist/commonjs/models/operations/createresponse.js +128 -0
  29. package/dist/commonjs/models/operations/createresponse.js.map +1 -0
  30. package/dist/commonjs/models/operations/index.d.ts +1 -0
  31. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/index.js +1 -0
  33. package/dist/commonjs/models/operations/index.js.map +1 -1
  34. package/dist/commonjs/react-query/index.d.ts +1 -0
  35. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  36. package/dist/commonjs/react-query/index.js +1 -0
  37. package/dist/commonjs/react-query/index.js.map +1 -1
  38. package/dist/commonjs/react-query/llmResponsesCreate.d.ts +34 -0
  39. package/dist/commonjs/react-query/llmResponsesCreate.d.ts.map +1 -0
  40. package/dist/commonjs/react-query/llmResponsesCreate.js +50 -0
  41. package/dist/commonjs/react-query/llmResponsesCreate.js.map +1 -0
  42. package/dist/commonjs/sdk/responses.d.ts +11 -0
  43. package/dist/commonjs/sdk/responses.d.ts.map +1 -1
  44. package/dist/commonjs/sdk/responses.js +13 -1
  45. package/dist/commonjs/sdk/responses.js.map +1 -1
  46. package/dist/esm/funcs/llmResponsesCreate.d.ts +25 -0
  47. package/dist/esm/funcs/llmResponsesCreate.d.ts.map +1 -0
  48. package/dist/esm/funcs/llmResponsesCreate.js +100 -0
  49. package/dist/esm/funcs/llmResponsesCreate.js.map +1 -0
  50. package/dist/esm/lib/config.d.ts +2 -2
  51. package/dist/esm/lib/config.js +2 -2
  52. package/dist/esm/mcp-server/mcp-server.js +1 -1
  53. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  54. package/dist/esm/mcp-server/server.js +3 -1
  55. package/dist/esm/mcp-server/server.js.map +1 -1
  56. package/dist/esm/mcp-server/tools/llmResponsesCreate.d.ts +8 -0
  57. package/dist/esm/mcp-server/tools/llmResponsesCreate.d.ts.map +1 -0
  58. package/dist/esm/mcp-server/tools/llmResponsesCreate.js +28 -0
  59. package/dist/esm/mcp-server/tools/llmResponsesCreate.js.map +1 -0
  60. package/dist/esm/models/components/index.d.ts +1 -0
  61. package/dist/esm/models/components/index.d.ts.map +1 -1
  62. package/dist/esm/models/components/index.js +1 -0
  63. package/dist/esm/models/components/index.js.map +1 -1
  64. package/dist/esm/models/components/responsescreaterequest.d.ts +432 -0
  65. package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -0
  66. package/dist/esm/models/components/responsescreaterequest.js +403 -0
  67. package/dist/esm/models/components/responsescreaterequest.js.map +1 -0
  68. package/dist/esm/models/operations/createresponse.d.ts +64 -0
  69. package/dist/esm/models/operations/createresponse.d.ts.map +1 -0
  70. package/dist/esm/models/operations/createresponse.js +86 -0
  71. package/dist/esm/models/operations/createresponse.js.map +1 -0
  72. package/dist/esm/models/operations/index.d.ts +1 -0
  73. package/dist/esm/models/operations/index.d.ts.map +1 -1
  74. package/dist/esm/models/operations/index.js +1 -0
  75. package/dist/esm/models/operations/index.js.map +1 -1
  76. package/dist/esm/react-query/index.d.ts +1 -0
  77. package/dist/esm/react-query/index.d.ts.map +1 -1
  78. package/dist/esm/react-query/index.js +1 -0
  79. package/dist/esm/react-query/index.js.map +1 -1
  80. package/dist/esm/react-query/llmResponsesCreate.d.ts +34 -0
  81. package/dist/esm/react-query/llmResponsesCreate.d.ts.map +1 -0
  82. package/dist/esm/react-query/llmResponsesCreate.js +43 -0
  83. package/dist/esm/react-query/llmResponsesCreate.js.map +1 -0
  84. package/dist/esm/sdk/responses.d.ts +11 -0
  85. package/dist/esm/sdk/responses.d.ts.map +1 -1
  86. package/dist/esm/sdk/responses.js +11 -0
  87. package/dist/esm/sdk/responses.js.map +1 -1
  88. package/jsr.json +1 -1
  89. package/package.json +1 -1
  90. package/src/funcs/llmResponsesCreate.ts +188 -0
  91. package/src/lib/config.ts +2 -2
  92. package/src/mcp-server/mcp-server.ts +1 -1
  93. package/src/mcp-server/server.ts +3 -1
  94. package/src/mcp-server/tools/llmResponsesCreate.ts +37 -0
  95. package/src/models/components/index.ts +1 -0
  96. package/src/models/components/responsescreaterequest.ts +1076 -0
  97. package/src/models/operations/createresponse.ts +198 -0
  98. package/src/models/operations/index.ts +1 -0
  99. package/src/react-query/index.ts +1 -0
  100. package/src/react-query/llmResponsesCreate.ts +113 -0
  101. package/src/sdk/responses.ts +23 -0
package/bin/mcp-server.js CHANGED
@@ -52917,9 +52917,9 @@ var init_config = __esm(() => {
52917
52917
  SDK_METADATA = {
52918
52918
  language: "typescript",
52919
52919
  openapiDocVersion: "1.1.0",
52920
- sdkVersion: "0.54.22",
52920
+ sdkVersion: "0.54.23",
52921
52921
  genVersion: "2.935.1",
52922
- userAgent: "speakeasy-sdk/typescript 0.54.22 2.935.1 1.1.0 @meetkai/mka1"
52922
+ userAgent: "speakeasy-sdk/typescript 0.54.23 2.935.1 1.1.0 @meetkai/mka1"
52923
52923
  };
52924
52924
  });
52925
52925
 
@@ -75039,6 +75039,318 @@ var init_responserefusaldoneevent = __esm(() => {
75039
75039
  });
75040
75040
  });
75041
75041
 
75042
+ // src/models/components/responsescreaterequest.ts
75043
+ var Include, ResponsesCreateRequestTruncation, ResponsesCreateRequestServiceTier, Modalities, ResponsesCreateRequestFormat, ResponsesCreateRequestInput$inboundSchema, ResponsesCreateRequestInput$outboundSchema, ResponsesCreateRequestConversation$inboundSchema, ResponsesCreateRequestConversation$outboundSchema, Include$inboundSchema, Include$outboundSchema, ResponsesCreateRequestStreamOptions$inboundSchema, ResponsesCreateRequestStreamOptions$outboundSchema, Tools$inboundSchema, Tools$outboundSchema, ResponsesCreateRequestStop$inboundSchema, ResponsesCreateRequestStop$outboundSchema, ResponsesCreateRequestPrefillThink$inboundSchema, ResponsesCreateRequestPrefillThink$outboundSchema, ResponsesCreateRequestTruncation$inboundSchema, ResponsesCreateRequestTruncation$outboundSchema, ResponsesCreateRequestServiceTier$inboundSchema, ResponsesCreateRequestServiceTier$outboundSchema, Modalities$inboundSchema, Modalities$outboundSchema, ResponsesCreateRequestFormat$inboundSchema, ResponsesCreateRequestFormat$outboundSchema, Audio$inboundSchema, Audio$outboundSchema, ResponsesCreateRequest$inboundSchema, ResponsesCreateRequest$outboundSchema;
75044
+ var init_responsescreaterequest = __esm(() => {
75045
+ init_esm();
75046
+ init_primitives();
75047
+ init_codeinterpretertooldefinition();
75048
+ init_compactioncontextmanagement();
75049
+ init_computerusetooldefinition();
75050
+ init_conversation();
75051
+ init_customtooldefinition();
75052
+ init_filesearchtooldefinition();
75053
+ init_functiontooldefinition();
75054
+ init_historytooldefinition();
75055
+ init_hostedtooldefinition();
75056
+ init_imagegenerationtooldefinition();
75057
+ init_item();
75058
+ init_localshelltooldefinition();
75059
+ init_mcptooldefinition();
75060
+ init_prompttemplate();
75061
+ init_reasoningconfiguration();
75062
+ init_shelltooldefinition();
75063
+ init_sleeptooldefinition();
75064
+ init_textconfiguration();
75065
+ init_toolchoice();
75066
+ init_websearchpreviewtooldefinition();
75067
+ init_websearchtooldefinition();
75068
+ Include = {
75069
+ WebSearchCallActionSources: "web_search_call.action.sources",
75070
+ CodeInterpreterCallOutputs: "code_interpreter_call.outputs",
75071
+ ComputerCallOutputOutputImageUrl: "computer_call_output.output.image_url",
75072
+ FileSearchCallResults: "file_search_call.results",
75073
+ MessageInputImageImageUrl: "message.input_image.image_url",
75074
+ MessageOutputTextLogprobs: "message.output_text.logprobs",
75075
+ ReasoningEncryptedContent: "reasoning.encrypted_content"
75076
+ };
75077
+ ResponsesCreateRequestTruncation = {
75078
+ Auto: "auto",
75079
+ Disabled: "disabled"
75080
+ };
75081
+ ResponsesCreateRequestServiceTier = {
75082
+ Auto: "auto",
75083
+ Default: "default",
75084
+ Flex: "flex",
75085
+ Priority: "priority"
75086
+ };
75087
+ Modalities = {
75088
+ Text: "text",
75089
+ Audio: "audio"
75090
+ };
75091
+ ResponsesCreateRequestFormat = {
75092
+ Wav: "wav",
75093
+ Mp3: "mp3",
75094
+ Flac: "flac",
75095
+ Opus: "opus",
75096
+ Pcm16: "pcm16"
75097
+ };
75098
+ ResponsesCreateRequestInput$inboundSchema = unionType([stringType(), arrayType(Item$inboundSchema)]);
75099
+ ResponsesCreateRequestInput$outboundSchema = unionType([stringType(), arrayType(Item$outboundSchema)]);
75100
+ ResponsesCreateRequestConversation$inboundSchema = unionType([Conversation$inboundSchema, stringType()]);
75101
+ ResponsesCreateRequestConversation$outboundSchema = unionType([Conversation$outboundSchema, stringType()]);
75102
+ Include$inboundSchema = nativeEnumType(Include);
75103
+ Include$outboundSchema = Include$inboundSchema;
75104
+ ResponsesCreateRequestStreamOptions$inboundSchema = objectType({
75105
+ include_usage: booleanType().optional(),
75106
+ include_obfuscation: booleanType().optional()
75107
+ }).transform((v2) => {
75108
+ return remap(v2, {
75109
+ include_usage: "includeUsage",
75110
+ include_obfuscation: "includeObfuscation"
75111
+ });
75112
+ });
75113
+ ResponsesCreateRequestStreamOptions$outboundSchema = objectType({
75114
+ includeUsage: booleanType().optional(),
75115
+ includeObfuscation: booleanType().optional()
75116
+ }).transform((v2) => {
75117
+ return remap(v2, {
75118
+ includeUsage: "include_usage",
75119
+ includeObfuscation: "include_obfuscation"
75120
+ });
75121
+ });
75122
+ Tools$inboundSchema = unionType([
75123
+ FunctionToolDefinition$inboundSchema,
75124
+ ComputerUseToolDefinition$inboundSchema,
75125
+ FileSearchToolDefinition$inboundSchema,
75126
+ CodeInterpreterToolDefinition$inboundSchema,
75127
+ CustomToolDefinition$inboundSchema,
75128
+ WebSearchToolDefinition$inboundSchema,
75129
+ MCPToolDefinition$inboundSchema,
75130
+ ImageGenerationToolDefinition$inboundSchema,
75131
+ LocalShellToolDefinition$inboundSchema,
75132
+ ShellToolDefinition$inboundSchema,
75133
+ WebSearchPreviewToolDefinition$inboundSchema,
75134
+ HostedToolDefinition$inboundSchema,
75135
+ SleepToolDefinition$inboundSchema,
75136
+ HistoryToolDefinition$inboundSchema
75137
+ ]);
75138
+ Tools$outboundSchema = unionType([
75139
+ FunctionToolDefinition$outboundSchema,
75140
+ ComputerUseToolDefinition$outboundSchema,
75141
+ FileSearchToolDefinition$outboundSchema,
75142
+ CodeInterpreterToolDefinition$outboundSchema,
75143
+ CustomToolDefinition$outboundSchema,
75144
+ WebSearchToolDefinition$outboundSchema,
75145
+ MCPToolDefinition$outboundSchema,
75146
+ ImageGenerationToolDefinition$outboundSchema,
75147
+ LocalShellToolDefinition$outboundSchema,
75148
+ ShellToolDefinition$outboundSchema,
75149
+ WebSearchPreviewToolDefinition$outboundSchema,
75150
+ HostedToolDefinition$outboundSchema,
75151
+ SleepToolDefinition$outboundSchema,
75152
+ HistoryToolDefinition$outboundSchema
75153
+ ]);
75154
+ ResponsesCreateRequestStop$inboundSchema = unionType([stringType(), arrayType(stringType())]);
75155
+ ResponsesCreateRequestStop$outboundSchema = unionType([stringType(), arrayType(stringType())]);
75156
+ ResponsesCreateRequestPrefillThink$inboundSchema = unionType([booleanType(), stringType()]);
75157
+ ResponsesCreateRequestPrefillThink$outboundSchema = unionType([booleanType(), stringType()]);
75158
+ ResponsesCreateRequestTruncation$inboundSchema = nativeEnumType(ResponsesCreateRequestTruncation);
75159
+ ResponsesCreateRequestTruncation$outboundSchema = ResponsesCreateRequestTruncation$inboundSchema;
75160
+ ResponsesCreateRequestServiceTier$inboundSchema = nativeEnumType(ResponsesCreateRequestServiceTier);
75161
+ ResponsesCreateRequestServiceTier$outboundSchema = ResponsesCreateRequestServiceTier$inboundSchema;
75162
+ Modalities$inboundSchema = nativeEnumType(Modalities);
75163
+ Modalities$outboundSchema = Modalities$inboundSchema;
75164
+ ResponsesCreateRequestFormat$inboundSchema = nativeEnumType(ResponsesCreateRequestFormat);
75165
+ ResponsesCreateRequestFormat$outboundSchema = ResponsesCreateRequestFormat$inboundSchema;
75166
+ Audio$inboundSchema = objectType({
75167
+ voice: stringType().default("alloy"),
75168
+ format: ResponsesCreateRequestFormat$inboundSchema.default("wav")
75169
+ });
75170
+ Audio$outboundSchema = objectType({
75171
+ voice: stringType().default("alloy"),
75172
+ format: ResponsesCreateRequestFormat$outboundSchema.default("wav")
75173
+ });
75174
+ ResponsesCreateRequest$inboundSchema = objectType({
75175
+ model: stringType(),
75176
+ input: unionType([stringType(), arrayType(Item$inboundSchema)]).optional(),
75177
+ instructions: stringType().optional(),
75178
+ conversation: nullableType(unionType([Conversation$inboundSchema, stringType()])).optional(),
75179
+ previous_response_id: stringType().optional(),
75180
+ prompt: PromptTemplate$inboundSchema.optional(),
75181
+ include: arrayType(Include$inboundSchema).optional(),
75182
+ text: TextConfiguration$inboundSchema.optional(),
75183
+ stream: booleanType().default(false),
75184
+ stream_options: nullableType(lazyType(() => ResponsesCreateRequestStreamOptions$inboundSchema)).optional(),
75185
+ stream_events: booleanType().optional(),
75186
+ store: booleanType().default(true),
75187
+ background: booleanType().default(false),
75188
+ webhook_url: stringType().optional(),
75189
+ webhook_secret: stringType().optional(),
75190
+ tools: arrayType(unionType([
75191
+ FunctionToolDefinition$inboundSchema,
75192
+ ComputerUseToolDefinition$inboundSchema,
75193
+ FileSearchToolDefinition$inboundSchema,
75194
+ CodeInterpreterToolDefinition$inboundSchema,
75195
+ CustomToolDefinition$inboundSchema,
75196
+ WebSearchToolDefinition$inboundSchema,
75197
+ MCPToolDefinition$inboundSchema,
75198
+ ImageGenerationToolDefinition$inboundSchema,
75199
+ LocalShellToolDefinition$inboundSchema,
75200
+ ShellToolDefinition$inboundSchema,
75201
+ WebSearchPreviewToolDefinition$inboundSchema,
75202
+ HostedToolDefinition$inboundSchema,
75203
+ SleepToolDefinition$inboundSchema,
75204
+ HistoryToolDefinition$inboundSchema
75205
+ ])).optional(),
75206
+ tool_choice: ToolChoice$inboundSchema.optional(),
75207
+ parallel_tool_calls: booleanType().default(true),
75208
+ max_tool_calls: numberType().int().default(64),
75209
+ reasoning: ReasoningConfiguration$inboundSchema.optional(),
75210
+ max_output_tokens: numberType().int().optional(),
75211
+ temperature: numberType().optional(),
75212
+ top_p: numberType().optional(),
75213
+ stop: unionType([stringType(), arrayType(stringType())]).optional(),
75214
+ top_k: numberType().int().optional(),
75215
+ min_p: numberType().optional(),
75216
+ repetition_penalty: numberType().optional(),
75217
+ do_sample: booleanType().optional(),
75218
+ extra_body: recordType(anyType()).optional(),
75219
+ chat_template_kwargs: recordType(anyType()).optional(),
75220
+ prefill_think: unionType([booleanType(), stringType()]).optional(),
75221
+ use_cache: booleanType().optional(),
75222
+ top_logprobs: numberType().int().optional(),
75223
+ truncation: ResponsesCreateRequestTruncation$inboundSchema.default("auto"),
75224
+ context_management: arrayType(CompactionContextManagement$inboundSchema).optional(),
75225
+ presence_penalty: numberType().optional(),
75226
+ frequency_penalty: numberType().optional(),
75227
+ service_tier: ResponsesCreateRequestServiceTier$inboundSchema.default("auto"),
75228
+ prompt_cache_key: stringType().optional(),
75229
+ safety_identifier: stringType().optional(),
75230
+ metadata: recordType(stringType()).optional(),
75231
+ modalities: arrayType(Modalities$inboundSchema).optional(),
75232
+ audio: lazyType(() => Audio$inboundSchema).optional(),
75233
+ user: stringType().optional()
75234
+ }).transform((v2) => {
75235
+ return remap(v2, {
75236
+ previous_response_id: "previousResponseId",
75237
+ stream_options: "streamOptions",
75238
+ stream_events: "streamEvents",
75239
+ webhook_url: "webhookUrl",
75240
+ webhook_secret: "webhookSecret",
75241
+ tool_choice: "toolChoice",
75242
+ parallel_tool_calls: "parallelToolCalls",
75243
+ max_tool_calls: "maxToolCalls",
75244
+ max_output_tokens: "maxOutputTokens",
75245
+ top_p: "topP",
75246
+ top_k: "topK",
75247
+ min_p: "minP",
75248
+ repetition_penalty: "repetitionPenalty",
75249
+ do_sample: "doSample",
75250
+ extra_body: "extraBody",
75251
+ chat_template_kwargs: "chatTemplateKwargs",
75252
+ prefill_think: "prefillThink",
75253
+ use_cache: "useCache",
75254
+ top_logprobs: "topLogprobs",
75255
+ context_management: "contextManagement",
75256
+ presence_penalty: "presencePenalty",
75257
+ frequency_penalty: "frequencyPenalty",
75258
+ service_tier: "serviceTier",
75259
+ prompt_cache_key: "promptCacheKey",
75260
+ safety_identifier: "safetyIdentifier"
75261
+ });
75262
+ });
75263
+ ResponsesCreateRequest$outboundSchema = objectType({
75264
+ model: stringType(),
75265
+ input: unionType([stringType(), arrayType(Item$outboundSchema)]).optional(),
75266
+ instructions: stringType().optional(),
75267
+ conversation: nullableType(unionType([Conversation$outboundSchema, stringType()])).optional(),
75268
+ previousResponseId: stringType().optional(),
75269
+ prompt: PromptTemplate$outboundSchema.optional(),
75270
+ include: arrayType(Include$outboundSchema).optional(),
75271
+ text: TextConfiguration$outboundSchema.optional(),
75272
+ stream: booleanType().default(false),
75273
+ streamOptions: nullableType(lazyType(() => ResponsesCreateRequestStreamOptions$outboundSchema)).optional(),
75274
+ streamEvents: booleanType().optional(),
75275
+ store: booleanType().default(true),
75276
+ background: booleanType().default(false),
75277
+ webhookUrl: stringType().optional(),
75278
+ webhookSecret: stringType().optional(),
75279
+ tools: arrayType(unionType([
75280
+ FunctionToolDefinition$outboundSchema,
75281
+ ComputerUseToolDefinition$outboundSchema,
75282
+ FileSearchToolDefinition$outboundSchema,
75283
+ CodeInterpreterToolDefinition$outboundSchema,
75284
+ CustomToolDefinition$outboundSchema,
75285
+ WebSearchToolDefinition$outboundSchema,
75286
+ MCPToolDefinition$outboundSchema,
75287
+ ImageGenerationToolDefinition$outboundSchema,
75288
+ LocalShellToolDefinition$outboundSchema,
75289
+ ShellToolDefinition$outboundSchema,
75290
+ WebSearchPreviewToolDefinition$outboundSchema,
75291
+ HostedToolDefinition$outboundSchema,
75292
+ SleepToolDefinition$outboundSchema,
75293
+ HistoryToolDefinition$outboundSchema
75294
+ ])).optional(),
75295
+ toolChoice: ToolChoice$outboundSchema.optional(),
75296
+ parallelToolCalls: booleanType().default(true),
75297
+ maxToolCalls: numberType().int().default(64),
75298
+ reasoning: ReasoningConfiguration$outboundSchema.optional(),
75299
+ maxOutputTokens: numberType().int().optional(),
75300
+ temperature: numberType().optional(),
75301
+ topP: numberType().optional(),
75302
+ stop: unionType([stringType(), arrayType(stringType())]).optional(),
75303
+ topK: numberType().int().optional(),
75304
+ minP: numberType().optional(),
75305
+ repetitionPenalty: numberType().optional(),
75306
+ doSample: booleanType().optional(),
75307
+ extraBody: recordType(anyType()).optional(),
75308
+ chatTemplateKwargs: recordType(anyType()).optional(),
75309
+ prefillThink: unionType([booleanType(), stringType()]).optional(),
75310
+ useCache: booleanType().optional(),
75311
+ topLogprobs: numberType().int().optional(),
75312
+ truncation: ResponsesCreateRequestTruncation$outboundSchema.default("auto"),
75313
+ contextManagement: arrayType(CompactionContextManagement$outboundSchema).optional(),
75314
+ presencePenalty: numberType().optional(),
75315
+ frequencyPenalty: numberType().optional(),
75316
+ serviceTier: ResponsesCreateRequestServiceTier$outboundSchema.default("auto"),
75317
+ promptCacheKey: stringType().optional(),
75318
+ safetyIdentifier: stringType().optional(),
75319
+ metadata: recordType(stringType()).optional(),
75320
+ modalities: arrayType(Modalities$outboundSchema).optional(),
75321
+ audio: lazyType(() => Audio$outboundSchema).optional(),
75322
+ user: stringType().optional()
75323
+ }).transform((v2) => {
75324
+ return remap(v2, {
75325
+ previousResponseId: "previous_response_id",
75326
+ streamOptions: "stream_options",
75327
+ streamEvents: "stream_events",
75328
+ webhookUrl: "webhook_url",
75329
+ webhookSecret: "webhook_secret",
75330
+ toolChoice: "tool_choice",
75331
+ parallelToolCalls: "parallel_tool_calls",
75332
+ maxToolCalls: "max_tool_calls",
75333
+ maxOutputTokens: "max_output_tokens",
75334
+ topP: "top_p",
75335
+ topK: "top_k",
75336
+ minP: "min_p",
75337
+ repetitionPenalty: "repetition_penalty",
75338
+ doSample: "do_sample",
75339
+ extraBody: "extra_body",
75340
+ chatTemplateKwargs: "chat_template_kwargs",
75341
+ prefillThink: "prefill_think",
75342
+ useCache: "use_cache",
75343
+ topLogprobs: "top_logprobs",
75344
+ contextManagement: "context_management",
75345
+ presencePenalty: "presence_penalty",
75346
+ frequencyPenalty: "frequency_penalty",
75347
+ serviceTier: "service_tier",
75348
+ promptCacheKey: "prompt_cache_key",
75349
+ safetyIdentifier: "safety_identifier"
75350
+ });
75351
+ });
75352
+ });
75353
+
75042
75354
  // src/models/components/responsesgroupby.ts
75043
75355
  var ResponsesGroupBy, ResponsesGroupBy$inboundSchema, ResponsesGroupBy$outboundSchema;
75044
75356
  var init_responsesgroupby = __esm(() => {
@@ -79415,6 +79727,7 @@ var init_components = __esm(() => {
79415
79727
  init_responsereasoningtextdoneevent();
79416
79728
  init_responserefusaldeltaevent();
79417
79729
  init_responserefusaldoneevent();
79730
+ init_responsescreaterequest();
79418
79731
  init_responsesgroupby();
79419
79732
  init_responseshellcallcompletedevent();
79420
79733
  init_responseshellcallexecutingevent();
@@ -89491,6 +89804,221 @@ var init_createrepo = __esm(() => {
89491
89804
  });
89492
89805
  });
89493
89806
 
89807
+ // src/lib/event-streams.ts
89808
+ function findBoundary(buf, len, from) {
89809
+ for (let i = from;i < len; i++) {
89810
+ if (buf[i] !== CR && buf[i] !== LF)
89811
+ continue;
89812
+ for (const boundary of BOUNDARIES) {
89813
+ if (i + boundary.length > len)
89814
+ continue;
89815
+ let match2 = true;
89816
+ for (let j2 = 0;j2 < boundary.length; j2++) {
89817
+ if (buf[i + j2] !== boundary[j2]) {
89818
+ match2 = false;
89819
+ break;
89820
+ }
89821
+ }
89822
+ if (match2)
89823
+ return { index: i, length: boundary.length };
89824
+ }
89825
+ }
89826
+ return null;
89827
+ }
89828
+ function parseMessage(chunk, parse6, state, dataRequired) {
89829
+ const text2 = new TextDecoder().decode(chunk);
89830
+ const lines = text2.split(/\r\n|\r|\n/);
89831
+ const dataLines = [];
89832
+ const ret = {};
89833
+ let ignore = true;
89834
+ for (const line of lines) {
89835
+ if (!line || line.startsWith(":"))
89836
+ continue;
89837
+ ignore = false;
89838
+ const i = line.indexOf(":");
89839
+ let field = line;
89840
+ let value = "";
89841
+ if (i > 0) {
89842
+ field = line.slice(0, i);
89843
+ value = line[i + 1] === " " ? line.slice(i + 2) : line.slice(i + 1);
89844
+ }
89845
+ if (field === "data")
89846
+ dataLines.push(value);
89847
+ else if (field === "event")
89848
+ ret.event = value;
89849
+ else if (field === "id" && !value.includes("\x00"))
89850
+ state.eventId = value;
89851
+ else if (field === "retry" && /^\d+$/.test(value)) {
89852
+ ret.retry = Number(value);
89853
+ }
89854
+ }
89855
+ if (ignore)
89856
+ return;
89857
+ ret.id = state.eventId;
89858
+ if (dataLines.length)
89859
+ ret.data = dataLines.join(`
89860
+ `);
89861
+ else if (dataRequired)
89862
+ return;
89863
+ return parse6(ret);
89864
+ }
89865
+ var EventStream, CR = 13, LF = 10, BOUNDARIES, MAX_BOUNDARY_LEN;
89866
+ var init_event_streams = __esm(() => {
89867
+ EventStream = class EventStream extends ReadableStream {
89868
+ constructor(responseBody, parse6, opts) {
89869
+ const upstream = responseBody.getReader();
89870
+ let buffer = new Uint8Array(4096);
89871
+ let bufferLen = 0;
89872
+ let searchStart = 0;
89873
+ const state = { eventId: undefined };
89874
+ const dataRequired = opts?.dataRequired ?? true;
89875
+ super({
89876
+ async pull(downstream) {
89877
+ try {
89878
+ while (true) {
89879
+ const match2 = findBoundary(buffer, bufferLen, searchStart);
89880
+ if (!match2) {
89881
+ searchStart = Math.max(0, bufferLen - MAX_BOUNDARY_LEN + 1);
89882
+ const chunk = await upstream.read();
89883
+ if (chunk.done)
89884
+ return downstream.close();
89885
+ if (bufferLen + chunk.value.length > buffer.length) {
89886
+ const grown = new Uint8Array(Math.max(buffer.length * 2, bufferLen + chunk.value.length));
89887
+ grown.set(buffer.subarray(0, bufferLen));
89888
+ buffer = grown;
89889
+ }
89890
+ buffer.set(chunk.value, bufferLen);
89891
+ bufferLen += chunk.value.length;
89892
+ continue;
89893
+ }
89894
+ const message = buffer.slice(0, match2.index);
89895
+ buffer.copyWithin(0, match2.index + match2.length, bufferLen);
89896
+ bufferLen -= match2.index + match2.length;
89897
+ if (buffer.length > 4096 && bufferLen <= buffer.length >> 2) {
89898
+ const shrunk = new Uint8Array(Math.max(4096, bufferLen * 2));
89899
+ shrunk.set(buffer.subarray(0, bufferLen));
89900
+ buffer = shrunk;
89901
+ }
89902
+ searchStart = 0;
89903
+ const item2 = parseMessage(message, parse6, state, dataRequired);
89904
+ if (item2 && !item2.done)
89905
+ return downstream.enqueue(item2.value);
89906
+ if (item2?.done) {
89907
+ await upstream.cancel("done");
89908
+ return downstream.close();
89909
+ }
89910
+ }
89911
+ } catch (e) {
89912
+ downstream.error(e);
89913
+ await upstream.cancel(e);
89914
+ }
89915
+ },
89916
+ cancel: (reason) => upstream.cancel(reason)
89917
+ });
89918
+ }
89919
+ [Symbol.asyncIterator]() {
89920
+ const fn = ReadableStream.prototype[Symbol.asyncIterator];
89921
+ if (typeof fn === "function")
89922
+ return fn.call(this);
89923
+ const reader = this.getReader();
89924
+ return {
89925
+ next: async () => {
89926
+ const r = await reader.read();
89927
+ if (r.done) {
89928
+ reader.releaseLock();
89929
+ return { done: true, value: undefined };
89930
+ }
89931
+ return { done: false, value: r.value };
89932
+ },
89933
+ throw: async (e) => {
89934
+ await reader.cancel(e);
89935
+ reader.releaseLock();
89936
+ return { done: true, value: undefined };
89937
+ },
89938
+ return: async () => {
89939
+ await reader.cancel("done");
89940
+ reader.releaseLock();
89941
+ return { done: true, value: undefined };
89942
+ },
89943
+ [Symbol.asyncIterator]() {
89944
+ return this;
89945
+ }
89946
+ };
89947
+ }
89948
+ };
89949
+ BOUNDARIES = [
89950
+ [CR, LF, CR, LF],
89951
+ [CR, LF, CR],
89952
+ [CR, LF, LF],
89953
+ [CR, CR, LF],
89954
+ [LF, CR, LF],
89955
+ [CR, CR],
89956
+ [LF, CR],
89957
+ [LF, LF]
89958
+ ];
89959
+ MAX_BOUNDARY_LEN = BOUNDARIES.reduce((m, b2) => Math.max(m, b2.length), 0);
89960
+ });
89961
+
89962
+ // src/models/operations/createresponse.ts
89963
+ var CreateResponseRequest$inboundSchema, CreateResponseRequest$outboundSchema, CreateResponseResponseBody$inboundSchema, CreateResponseResponseBody$outboundSchema, CreateResponseResponse$inboundSchema, CreateResponseResponse$outboundSchema;
89964
+ var init_createresponse = __esm(() => {
89965
+ init_esm();
89966
+ init_event_streams();
89967
+ init_primitives();
89968
+ init_components();
89969
+ CreateResponseRequest$inboundSchema = objectType({
89970
+ "X-On-Behalf-Of": stringType().optional(),
89971
+ ResponsesCreateRequest: ResponsesCreateRequest$inboundSchema
89972
+ }).transform((v2) => {
89973
+ return remap(v2, {
89974
+ "X-On-Behalf-Of": "xOnBehalfOf",
89975
+ ResponsesCreateRequest: "responsesCreateRequest"
89976
+ });
89977
+ });
89978
+ CreateResponseRequest$outboundSchema = objectType({
89979
+ xOnBehalfOf: stringType().optional(),
89980
+ responsesCreateRequest: ResponsesCreateRequest$outboundSchema
89981
+ }).transform((v2) => {
89982
+ return remap(v2, {
89983
+ xOnBehalfOf: "X-On-Behalf-Of",
89984
+ responsesCreateRequest: "ResponsesCreateRequest"
89985
+ });
89986
+ });
89987
+ CreateResponseResponseBody$inboundSchema = objectType({
89988
+ event: stringType().optional(),
89989
+ data: unknownType().transform((v2, ctx) => {
89990
+ if (typeof v2 !== "string")
89991
+ return v2;
89992
+ try {
89993
+ return JSON.parse(v2);
89994
+ } catch (err) {
89995
+ ctx.addIssue({ code: "custom", message: `malformed json: ${err}` });
89996
+ return NEVER;
89997
+ }
89998
+ }).pipe(ResponseStreamingEvent$inboundSchema),
89999
+ id: stringType().optional(),
90000
+ retry: numberType().int().optional()
90001
+ });
90002
+ CreateResponseResponseBody$outboundSchema = objectType({
90003
+ event: stringType().optional(),
90004
+ data: ResponseStreamingEvent$outboundSchema,
90005
+ id: stringType().optional(),
90006
+ retry: numberType().int().optional()
90007
+ });
90008
+ CreateResponseResponse$inboundSchema = unionType([
90009
+ ResponseObject$inboundSchema,
90010
+ instanceOfType(ReadableStream).transform((stream2) => {
90011
+ return new EventStream(stream2, (rawEvent) => {
90012
+ return {
90013
+ done: false,
90014
+ value: lazyType(() => CreateResponseResponseBody$inboundSchema).parse(rawEvent)
90015
+ };
90016
+ });
90017
+ })
90018
+ ]);
90019
+ CreateResponseResponse$outboundSchema = unionType([ResponseObject$outboundSchema, neverType()]);
90020
+ });
90021
+
89494
90022
  // src/models/operations/createresponsefeedback.ts
89495
90023
  var CreateResponseFeedbackRequest$inboundSchema, CreateResponseFeedbackRequest$outboundSchema;
89496
90024
  var init_createresponsefeedback = __esm(() => {
@@ -94967,169 +95495,14 @@ var init_getrepo = __esm(() => {
94967
95495
  });
94968
95496
  });
94969
95497
 
94970
- // src/lib/event-streams.ts
94971
- function findBoundary(buf, len, from) {
94972
- for (let i = from;i < len; i++) {
94973
- if (buf[i] !== CR && buf[i] !== LF)
94974
- continue;
94975
- for (const boundary of BOUNDARIES) {
94976
- if (i + boundary.length > len)
94977
- continue;
94978
- let match2 = true;
94979
- for (let j2 = 0;j2 < boundary.length; j2++) {
94980
- if (buf[i + j2] !== boundary[j2]) {
94981
- match2 = false;
94982
- break;
94983
- }
94984
- }
94985
- if (match2)
94986
- return { index: i, length: boundary.length };
94987
- }
94988
- }
94989
- return null;
94990
- }
94991
- function parseMessage(chunk, parse6, state, dataRequired) {
94992
- const text2 = new TextDecoder().decode(chunk);
94993
- const lines = text2.split(/\r\n|\r|\n/);
94994
- const dataLines = [];
94995
- const ret = {};
94996
- let ignore = true;
94997
- for (const line of lines) {
94998
- if (!line || line.startsWith(":"))
94999
- continue;
95000
- ignore = false;
95001
- const i = line.indexOf(":");
95002
- let field = line;
95003
- let value = "";
95004
- if (i > 0) {
95005
- field = line.slice(0, i);
95006
- value = line[i + 1] === " " ? line.slice(i + 2) : line.slice(i + 1);
95007
- }
95008
- if (field === "data")
95009
- dataLines.push(value);
95010
- else if (field === "event")
95011
- ret.event = value;
95012
- else if (field === "id" && !value.includes("\x00"))
95013
- state.eventId = value;
95014
- else if (field === "retry" && /^\d+$/.test(value)) {
95015
- ret.retry = Number(value);
95016
- }
95017
- }
95018
- if (ignore)
95019
- return;
95020
- ret.id = state.eventId;
95021
- if (dataLines.length)
95022
- ret.data = dataLines.join(`
95023
- `);
95024
- else if (dataRequired)
95025
- return;
95026
- return parse6(ret);
95027
- }
95028
- var EventStream, CR = 13, LF = 10, BOUNDARIES, MAX_BOUNDARY_LEN;
95029
- var init_event_streams = __esm(() => {
95030
- EventStream = class EventStream extends ReadableStream {
95031
- constructor(responseBody, parse6, opts) {
95032
- const upstream = responseBody.getReader();
95033
- let buffer = new Uint8Array(4096);
95034
- let bufferLen = 0;
95035
- let searchStart = 0;
95036
- const state = { eventId: undefined };
95037
- const dataRequired = opts?.dataRequired ?? true;
95038
- super({
95039
- async pull(downstream) {
95040
- try {
95041
- while (true) {
95042
- const match2 = findBoundary(buffer, bufferLen, searchStart);
95043
- if (!match2) {
95044
- searchStart = Math.max(0, bufferLen - MAX_BOUNDARY_LEN + 1);
95045
- const chunk = await upstream.read();
95046
- if (chunk.done)
95047
- return downstream.close();
95048
- if (bufferLen + chunk.value.length > buffer.length) {
95049
- const grown = new Uint8Array(Math.max(buffer.length * 2, bufferLen + chunk.value.length));
95050
- grown.set(buffer.subarray(0, bufferLen));
95051
- buffer = grown;
95052
- }
95053
- buffer.set(chunk.value, bufferLen);
95054
- bufferLen += chunk.value.length;
95055
- continue;
95056
- }
95057
- const message = buffer.slice(0, match2.index);
95058
- buffer.copyWithin(0, match2.index + match2.length, bufferLen);
95059
- bufferLen -= match2.index + match2.length;
95060
- if (buffer.length > 4096 && bufferLen <= buffer.length >> 2) {
95061
- const shrunk = new Uint8Array(Math.max(4096, bufferLen * 2));
95062
- shrunk.set(buffer.subarray(0, bufferLen));
95063
- buffer = shrunk;
95064
- }
95065
- searchStart = 0;
95066
- const item2 = parseMessage(message, parse6, state, dataRequired);
95067
- if (item2 && !item2.done)
95068
- return downstream.enqueue(item2.value);
95069
- if (item2?.done) {
95070
- await upstream.cancel("done");
95071
- return downstream.close();
95072
- }
95073
- }
95074
- } catch (e) {
95075
- downstream.error(e);
95076
- await upstream.cancel(e);
95077
- }
95078
- },
95079
- cancel: (reason) => upstream.cancel(reason)
95080
- });
95081
- }
95082
- [Symbol.asyncIterator]() {
95083
- const fn = ReadableStream.prototype[Symbol.asyncIterator];
95084
- if (typeof fn === "function")
95085
- return fn.call(this);
95086
- const reader = this.getReader();
95087
- return {
95088
- next: async () => {
95089
- const r = await reader.read();
95090
- if (r.done) {
95091
- reader.releaseLock();
95092
- return { done: true, value: undefined };
95093
- }
95094
- return { done: false, value: r.value };
95095
- },
95096
- throw: async (e) => {
95097
- await reader.cancel(e);
95098
- reader.releaseLock();
95099
- return { done: true, value: undefined };
95100
- },
95101
- return: async () => {
95102
- await reader.cancel("done");
95103
- reader.releaseLock();
95104
- return { done: true, value: undefined };
95105
- },
95106
- [Symbol.asyncIterator]() {
95107
- return this;
95108
- }
95109
- };
95110
- }
95111
- };
95112
- BOUNDARIES = [
95113
- [CR, LF, CR, LF],
95114
- [CR, LF, CR],
95115
- [CR, LF, LF],
95116
- [CR, CR, LF],
95117
- [LF, CR, LF],
95118
- [CR, CR],
95119
- [LF, CR],
95120
- [LF, LF]
95121
- ];
95122
- MAX_BOUNDARY_LEN = BOUNDARIES.reduce((m, b2) => Math.max(m, b2.length), 0);
95123
- });
95124
-
95125
95498
  // src/models/operations/getresponse.ts
95126
- var Include, Include$inboundSchema, Include$outboundSchema, GetResponseRequest$inboundSchema, GetResponseRequest$outboundSchema, GetResponseResponseBody$inboundSchema, GetResponseResponseBody$outboundSchema, GetResponseResponse$inboundSchema, GetResponseResponse$outboundSchema;
95499
+ var Include2, Include$inboundSchema2, Include$outboundSchema2, GetResponseRequest$inboundSchema, GetResponseRequest$outboundSchema, GetResponseResponseBody$inboundSchema, GetResponseResponseBody$outboundSchema, GetResponseResponse$inboundSchema, GetResponseResponse$outboundSchema;
95127
95500
  var init_getresponse = __esm(() => {
95128
95501
  init_esm();
95129
95502
  init_event_streams();
95130
95503
  init_primitives();
95131
95504
  init_components();
95132
- Include = {
95505
+ Include2 = {
95133
95506
  WebSearchCallActionSources: "web_search_call.action.sources",
95134
95507
  CodeInterpreterCallOutputs: "code_interpreter_call.outputs",
95135
95508
  ComputerCallOutputOutputImageUrl: "computer_call_output.output.image_url",
@@ -95138,11 +95511,11 @@ var init_getresponse = __esm(() => {
95138
95511
  MessageOutputTextLogprobs: "message.output_text.logprobs",
95139
95512
  ReasoningEncryptedContent: "reasoning.encrypted_content"
95140
95513
  };
95141
- Include$inboundSchema = nativeEnumType(Include);
95142
- Include$outboundSchema = Include$inboundSchema;
95514
+ Include$inboundSchema2 = nativeEnumType(Include2);
95515
+ Include$outboundSchema2 = Include$inboundSchema2;
95143
95516
  GetResponseRequest$inboundSchema = objectType({
95144
95517
  response_id: stringType(),
95145
- include: arrayType(Include$inboundSchema).optional(),
95518
+ include: arrayType(Include$inboundSchema2).optional(),
95146
95519
  include_obfuscation: booleanType().optional(),
95147
95520
  starting_after: numberType().int().optional(),
95148
95521
  stream: booleanType().optional(),
@@ -95157,7 +95530,7 @@ var init_getresponse = __esm(() => {
95157
95530
  });
95158
95531
  GetResponseRequest$outboundSchema = objectType({
95159
95532
  responseId: stringType(),
95160
- include: arrayType(Include$outboundSchema).optional(),
95533
+ include: arrayType(Include$outboundSchema2).optional(),
95161
95534
  includeObfuscation: booleanType().optional(),
95162
95535
  startingAfter: numberType().int().optional(),
95163
95536
  stream: booleanType().optional(),
@@ -106088,6 +106461,7 @@ var init_operations = __esm(() => {
106088
106461
  init_createprompt();
106089
106462
  init_createpromptversion();
106090
106463
  init_createrepo();
106464
+ init_createresponse();
106091
106465
  init_createresponsefeedback();
106092
106466
  init_createscopedapikey2();
106093
106467
  init_createservice();
@@ -138360,11 +138734,123 @@ Creates a compacted summary of the conversation history for a response, reducing
138360
138734
  };
138361
138735
  });
138362
138736
 
138363
- // src/funcs/llmResponsesDelete.ts
138364
- function llmResponsesDelete(client, request, options) {
138737
+ // src/funcs/llmResponsesCreate.ts
138738
+ function llmResponsesCreate(client, request, options) {
138365
138739
  return new APIPromise($do275(client, request, options));
138366
138740
  }
138367
138741
  async function $do275(client, request, options) {
138742
+ const parsed = safeParse4(request, (value) => CreateResponseRequest$outboundSchema.parse(value), "Input validation failed");
138743
+ if (!parsed.ok) {
138744
+ return [parsed, { status: "invalid" }];
138745
+ }
138746
+ const payload = parsed.value;
138747
+ const body = encodeJSON("body", payload.ResponsesCreateRequest, {
138748
+ explode: true
138749
+ });
138750
+ const path = pathToFunc("/api/v1/llm/responses")();
138751
+ const headers = new Headers(compactMap({
138752
+ "Content-Type": "application/json",
138753
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, text/event-stream;q=0",
138754
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
138755
+ }));
138756
+ const secConfig = await extractSecurity(client._options.bearerAuth);
138757
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
138758
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
138759
+ const context = {
138760
+ options: client._options,
138761
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
138762
+ operationID: "createResponse",
138763
+ oAuth2Scopes: null,
138764
+ resolvedSecurity: requestSecurity,
138765
+ securitySource: client._options.bearerAuth,
138766
+ retryConfig: options?.retries || client._options.retryConfig || {
138767
+ strategy: "backoff",
138768
+ backoff: {
138769
+ initialInterval: 500,
138770
+ maxInterval: 5000,
138771
+ exponent: 1.5,
138772
+ maxElapsedTime: 15000
138773
+ },
138774
+ retryConnectionErrors: true
138775
+ },
138776
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
138777
+ };
138778
+ const requestRes = client._createRequest(context, {
138779
+ security: requestSecurity,
138780
+ method: "POST",
138781
+ baseURL: options?.serverURL,
138782
+ path,
138783
+ headers,
138784
+ body,
138785
+ userAgent: client._options.userAgent,
138786
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
138787
+ }, options);
138788
+ if (!requestRes.ok) {
138789
+ return [requestRes, { status: "invalid" }];
138790
+ }
138791
+ const req = requestRes.value;
138792
+ const doResult = await client._do(req, {
138793
+ context,
138794
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
138795
+ retryConfig: context.retryConfig,
138796
+ retryCodes: context.retryCodes
138797
+ });
138798
+ if (!doResult.ok) {
138799
+ return [doResult, { status: "request-error", request: req }];
138800
+ }
138801
+ const response = doResult.value;
138802
+ const [result] = await match(json(200, CreateResponseResponse$inboundSchema), sse(200, CreateResponseResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
138803
+ if (!result.ok) {
138804
+ return [result, { status: "complete", request: req, response }];
138805
+ }
138806
+ return [result, { status: "complete", request: req, response }];
138807
+ }
138808
+ var init_llmResponsesCreate = __esm(() => {
138809
+ init_encodings();
138810
+ init_http();
138811
+ init_matchers();
138812
+ init_primitives();
138813
+ init_schemas4();
138814
+ init_security();
138815
+ init_url();
138816
+ init_operations();
138817
+ init_async();
138818
+ });
138819
+
138820
+ // src/mcp-server/tools/llmResponsesCreate.ts
138821
+ var args267, tool$llmResponsesCreate;
138822
+ var init_llmResponsesCreate2 = __esm(() => {
138823
+ init_llmResponsesCreate();
138824
+ init_operations();
138825
+ init_tools();
138826
+ args267 = {
138827
+ request: CreateResponseRequest$inboundSchema
138828
+ };
138829
+ tool$llmResponsesCreate = {
138830
+ name: "llm-responses-create",
138831
+ description: `Create an agent-powered response with tool support
138832
+
138833
+ Creates a new AI agent response using advanced language models with autonomous tool usage capabilities.`,
138834
+ args: args267,
138835
+ tool: async (client, args268, ctx) => {
138836
+ const [result, apiCall] = await llmResponsesCreate(client, args268.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138837
+ if (!result.ok) {
138838
+ return {
138839
+ content: [{ type: "text", text: result.error.message }],
138840
+ isError: true
138841
+ };
138842
+ }
138843
+ const value = result.value;
138844
+ return formatResult(value, apiCall);
138845
+ }
138846
+ };
138847
+ });
138848
+
138849
+ // src/funcs/llmResponsesDelete.ts
138850
+ function llmResponsesDelete(client, request, options) {
138851
+ return new APIPromise($do276(client, request, options));
138852
+ }
138853
+ async function $do276(client, request, options) {
138368
138854
  const parsed = safeParse4(request, (value) => DeleteResponseRequest$outboundSchema.parse(value), "Input validation failed");
138369
138855
  if (!parsed.ok) {
138370
138856
  return [parsed, { status: "invalid" }];
@@ -138448,12 +138934,12 @@ var init_llmResponsesDelete = __esm(() => {
138448
138934
  });
138449
138935
 
138450
138936
  // src/mcp-server/tools/llmResponsesDelete.ts
138451
- var args267, tool$llmResponsesDelete;
138937
+ var args268, tool$llmResponsesDelete;
138452
138938
  var init_llmResponsesDelete2 = __esm(() => {
138453
138939
  init_llmResponsesDelete();
138454
138940
  init_operations();
138455
138941
  init_tools();
138456
- args267 = {
138942
+ args268 = {
138457
138943
  request: DeleteResponseRequest$inboundSchema
138458
138944
  };
138459
138945
  tool$llmResponsesDelete = {
@@ -138461,9 +138947,9 @@ var init_llmResponsesDelete2 = __esm(() => {
138461
138947
  description: `Permanently delete a response and its data
138462
138948
 
138463
138949
  Permanently deletes an agent response and all associated data.`,
138464
- args: args267,
138465
- tool: async (client, args268, ctx) => {
138466
- const [result, apiCall] = await llmResponsesDelete(client, args268.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138950
+ args: args268,
138951
+ tool: async (client, args269, ctx) => {
138952
+ const [result, apiCall] = await llmResponsesDelete(client, args269.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138467
138953
  if (!result.ok) {
138468
138954
  return {
138469
138955
  content: [{ type: "text", text: result.error.message }],
@@ -138478,9 +138964,9 @@ Permanently deletes an agent response and all associated data.`,
138478
138964
 
138479
138965
  // src/funcs/llmResponsesGet.ts
138480
138966
  function llmResponsesGet(client, request, options) {
138481
- return new APIPromise($do276(client, request, options));
138967
+ return new APIPromise($do277(client, request, options));
138482
138968
  }
138483
- async function $do276(client, request, options) {
138969
+ async function $do277(client, request, options) {
138484
138970
  const parsed = safeParse4(request, (value) => GetResponseRequest$outboundSchema.parse(value), "Input validation failed");
138485
138971
  if (!parsed.ok) {
138486
138972
  return [parsed, { status: "invalid" }];
@@ -138570,12 +139056,12 @@ var init_llmResponsesGet = __esm(() => {
138570
139056
  });
138571
139057
 
138572
139058
  // src/mcp-server/tools/llmResponsesGet.ts
138573
- var args268, tool$llmResponsesGet;
139059
+ var args269, tool$llmResponsesGet;
138574
139060
  var init_llmResponsesGet2 = __esm(() => {
138575
139061
  init_llmResponsesGet();
138576
139062
  init_operations();
138577
139063
  init_tools();
138578
- args268 = {
139064
+ args269 = {
138579
139065
  request: GetResponseRequest$inboundSchema
138580
139066
  };
138581
139067
  tool$llmResponsesGet = {
@@ -138583,9 +139069,9 @@ var init_llmResponsesGet2 = __esm(() => {
138583
139069
  description: `Retrieve response by ID with status and results
138584
139070
 
138585
139071
  Retrieves a previously created agent response by its unique ID. When stream=true, returns Server-Sent Events for real-time updates on in-progress background responses.`,
138586
- args: args268,
138587
- tool: async (client, args269, ctx) => {
138588
- const [result, apiCall] = await llmResponsesGet(client, args269.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139072
+ args: args269,
139073
+ tool: async (client, args270, ctx) => {
139074
+ const [result, apiCall] = await llmResponsesGet(client, args270.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138589
139075
  if (!result.ok) {
138590
139076
  return {
138591
139077
  content: [{ type: "text", text: result.error.message }],
@@ -138600,9 +139086,9 @@ Retrieves a previously created agent response by its unique ID. When stream=true
138600
139086
 
138601
139087
  // src/funcs/llmResponsesList.ts
138602
139088
  function llmResponsesList(client, request, options) {
138603
- return new APIPromise($do277(client, request, options));
139089
+ return new APIPromise($do278(client, request, options));
138604
139090
  }
138605
- async function $do277(client, request, options) {
139091
+ async function $do278(client, request, options) {
138606
139092
  const parsed = safeParse4(request, (value) => ListResponsesRequest$outboundSchema.parse(value), "Input validation failed");
138607
139093
  if (!parsed.ok) {
138608
139094
  return [parsed, { status: "invalid" }];
@@ -138687,12 +139173,12 @@ var init_llmResponsesList = __esm(() => {
138687
139173
  });
138688
139174
 
138689
139175
  // src/mcp-server/tools/llmResponsesList.ts
138690
- var args269, tool$llmResponsesList;
139176
+ var args270, tool$llmResponsesList;
138691
139177
  var init_llmResponsesList2 = __esm(() => {
138692
139178
  init_llmResponsesList();
138693
139179
  init_operations();
138694
139180
  init_tools();
138695
- args269 = {
139181
+ args270 = {
138696
139182
  request: ListResponsesRequest$inboundSchema
138697
139183
  };
138698
139184
  tool$llmResponsesList = {
@@ -138700,9 +139186,9 @@ var init_llmResponsesList2 = __esm(() => {
138700
139186
  description: `List all responses with pagination
138701
139187
 
138702
139188
  Retrieves a paginated list of all agent responses for the authenticated user.`,
138703
- args: args269,
138704
- tool: async (client, args270, ctx) => {
138705
- const [result, apiCall] = await llmResponsesList(client, args270.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139189
+ args: args270,
139190
+ tool: async (client, args271, ctx) => {
139191
+ const [result, apiCall] = await llmResponsesList(client, args271.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138706
139192
  if (!result.ok) {
138707
139193
  return {
138708
139194
  content: [{ type: "text", text: result.error.message }],
@@ -138717,9 +139203,9 @@ Retrieves a paginated list of all agent responses for the authenticated user.`,
138717
139203
 
138718
139204
  // src/funcs/llmResponsesListInputItems.ts
138719
139205
  function llmResponsesListInputItems(client, request, options) {
138720
- return new APIPromise($do278(client, request, options));
139206
+ return new APIPromise($do279(client, request, options));
138721
139207
  }
138722
- async function $do278(client, request, options) {
139208
+ async function $do279(client, request, options) {
138723
139209
  const parsed = safeParse4(request, (value) => ListInputItemsRequest$outboundSchema.parse(value), "Input validation failed");
138724
139210
  if (!parsed.ok) {
138725
139211
  return [parsed, { status: "invalid" }];
@@ -138810,12 +139296,12 @@ var init_llmResponsesListInputItems = __esm(() => {
138810
139296
  });
138811
139297
 
138812
139298
  // src/mcp-server/tools/llmResponsesListInputItems.ts
138813
- var args270, tool$llmResponsesListInputItems;
139299
+ var args271, tool$llmResponsesListInputItems;
138814
139300
  var init_llmResponsesListInputItems2 = __esm(() => {
138815
139301
  init_llmResponsesListInputItems();
138816
139302
  init_operations();
138817
139303
  init_tools();
138818
- args270 = {
139304
+ args271 = {
138819
139305
  request: ListInputItemsRequest$inboundSchema
138820
139306
  };
138821
139307
  tool$llmResponsesListInputItems = {
@@ -138823,9 +139309,9 @@ var init_llmResponsesListInputItems2 = __esm(() => {
138823
139309
  description: `List paginated input items for a response
138824
139310
 
138825
139311
  Retrieves a paginated list of all input items provided when creating the specified agent response.`,
138826
- args: args270,
138827
- tool: async (client, args271, ctx) => {
138828
- const [result, apiCall] = await llmResponsesListInputItems(client, args271.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139312
+ args: args271,
139313
+ tool: async (client, args272, ctx) => {
139314
+ const [result, apiCall] = await llmResponsesListInputItems(client, args272.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138829
139315
  if (!result.ok) {
138830
139316
  return {
138831
139317
  content: [{ type: "text", text: result.error.message }],
@@ -138840,9 +139326,9 @@ Retrieves a paginated list of all input items provided when creating the specifi
138840
139326
 
138841
139327
  // src/funcs/llmResponsesUpdate.ts
138842
139328
  function llmResponsesUpdate(client, request, options) {
138843
- return new APIPromise($do279(client, request, options));
139329
+ return new APIPromise($do280(client, request, options));
138844
139330
  }
138845
- async function $do279(client, request, options) {
139331
+ async function $do280(client, request, options) {
138846
139332
  const parsed = safeParse4(request, (value) => UpdateResponseRequest$outboundSchema2.parse(value), "Input validation failed");
138847
139333
  if (!parsed.ok) {
138848
139334
  return [parsed, { status: "invalid" }];
@@ -138929,12 +139415,12 @@ var init_llmResponsesUpdate = __esm(() => {
138929
139415
  });
138930
139416
 
138931
139417
  // src/mcp-server/tools/llmResponsesUpdate.ts
138932
- var args271, tool$llmResponsesUpdate;
139418
+ var args272, tool$llmResponsesUpdate;
138933
139419
  var init_llmResponsesUpdate2 = __esm(() => {
138934
139420
  init_llmResponsesUpdate();
138935
139421
  init_operations();
138936
139422
  init_tools();
138937
- args271 = {
139423
+ args272 = {
138938
139424
  request: UpdateResponseRequest$inboundSchema2
138939
139425
  };
138940
139426
  tool$llmResponsesUpdate = {
@@ -138942,9 +139428,9 @@ var init_llmResponsesUpdate2 = __esm(() => {
138942
139428
  description: `Update a response
138943
139429
 
138944
139430
  Update a response's metadata.`,
138945
- args: args271,
138946
- tool: async (client, args272, ctx) => {
138947
- const [result, apiCall] = await llmResponsesUpdate(client, args272.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139431
+ args: args272,
139432
+ tool: async (client, args273, ctx) => {
139433
+ const [result, apiCall] = await llmResponsesUpdate(client, args273.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138948
139434
  if (!result.ok) {
138949
139435
  return {
138950
139436
  content: [{ type: "text", text: result.error.message }],
@@ -138959,9 +139445,9 @@ Update a response's metadata.`,
138959
139445
 
138960
139446
  // src/funcs/llmResponsesWake.ts
138961
139447
  function llmResponsesWake(client, request, options) {
138962
- return new APIPromise($do280(client, request, options));
139448
+ return new APIPromise($do281(client, request, options));
138963
139449
  }
138964
- async function $do280(client, request, options) {
139450
+ async function $do281(client, request, options) {
138965
139451
  const parsed = safeParse4(request, (value) => WakeResponseRequest$outboundSchema.parse(value), "Input validation failed");
138966
139452
  if (!parsed.ok) {
138967
139453
  return [parsed, { status: "invalid" }];
@@ -139045,12 +139531,12 @@ var init_llmResponsesWake = __esm(() => {
139045
139531
  });
139046
139532
 
139047
139533
  // src/mcp-server/tools/llmResponsesWake.ts
139048
- var args272, tool$llmResponsesWake;
139534
+ var args273, tool$llmResponsesWake;
139049
139535
  var init_llmResponsesWake2 = __esm(() => {
139050
139536
  init_llmResponsesWake();
139051
139537
  init_operations();
139052
139538
  init_tools();
139053
- args272 = {
139539
+ args273 = {
139054
139540
  request: WakeResponseRequest$inboundSchema
139055
139541
  };
139056
139542
  tool$llmResponsesWake = {
@@ -139058,9 +139544,9 @@ var init_llmResponsesWake2 = __esm(() => {
139058
139544
  description: `Wake a sleeping background response
139059
139545
 
139060
139546
  Interrupts a short sleep tool call on an in-progress background response by providing follow-up input. Wake delivery is polled by the sleeping agent and may take up to one second.`,
139061
- args: args272,
139062
- tool: async (client, args273, ctx) => {
139063
- const [result, apiCall] = await llmResponsesWake(client, args273.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139547
+ args: args273,
139548
+ tool: async (client, args274, ctx) => {
139549
+ const [result, apiCall] = await llmResponsesWake(client, args274.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139064
139550
  if (!result.ok) {
139065
139551
  return {
139066
139552
  content: [{ type: "text", text: result.error.message }],
@@ -139075,9 +139561,9 @@ Interrupts a short sleep tool call on an in-progress background response by prov
139075
139561
 
139076
139562
  // src/funcs/llmSkillsContent.ts
139077
139563
  function llmSkillsContent(client, request, options) {
139078
- return new APIPromise($do281(client, request, options));
139564
+ return new APIPromise($do282(client, request, options));
139079
139565
  }
139080
- async function $do281(client, request, options) {
139566
+ async function $do282(client, request, options) {
139081
139567
  const parsed = safeParse4(request, (value) => GetSkillContentRequest$outboundSchema.parse(value), "Input validation failed");
139082
139568
  if (!parsed.ok) {
139083
139569
  return [parsed, { status: "invalid" }];
@@ -139163,12 +139649,12 @@ var init_llmSkillsContent = __esm(() => {
139163
139649
  });
139164
139650
 
139165
139651
  // src/mcp-server/tools/llmSkillsContent.ts
139166
- var args273, tool$llmSkillsContent;
139652
+ var args274, tool$llmSkillsContent;
139167
139653
  var init_llmSkillsContent2 = __esm(() => {
139168
139654
  init_llmSkillsContent();
139169
139655
  init_operations();
139170
139656
  init_tools();
139171
- args273 = {
139657
+ args274 = {
139172
139658
  request: GetSkillContentRequest$inboundSchema
139173
139659
  };
139174
139660
  tool$llmSkillsContent = {
@@ -139176,9 +139662,9 @@ var init_llmSkillsContent2 = __esm(() => {
139176
139662
  description: `Download skill content
139177
139663
 
139178
139664
  Download the zip bundle for a skill's default version.`,
139179
- args: args273,
139180
- tool: async (client, args274, ctx) => {
139181
- const [result, apiCall] = await llmSkillsContent(client, args274.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139665
+ args: args274,
139666
+ tool: async (client, args275, ctx) => {
139667
+ const [result, apiCall] = await llmSkillsContent(client, args275.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139182
139668
  if (!result.ok) {
139183
139669
  return {
139184
139670
  content: [{ type: "text", text: result.error.message }],
@@ -139193,9 +139679,9 @@ Download the zip bundle for a skill's default version.`,
139193
139679
 
139194
139680
  // src/funcs/llmSkillsCreate.ts
139195
139681
  function llmSkillsCreate(client, request, options) {
139196
- return new APIPromise($do282(client, request, options));
139682
+ return new APIPromise($do283(client, request, options));
139197
139683
  }
139198
- async function $do282(client, request, options) {
139684
+ async function $do283(client, request, options) {
139199
139685
  const parsed = safeParse4(request, (value) => CreateSkillRequest$outboundSchema.parse(value), "Input validation failed");
139200
139686
  if (!parsed.ok) {
139201
139687
  return [parsed, { status: "invalid" }];
@@ -139291,12 +139777,12 @@ var init_llmSkillsCreate = __esm(() => {
139291
139777
  });
139292
139778
 
139293
139779
  // src/mcp-server/tools/llmSkillsCreate.ts
139294
- var args274, tool$llmSkillsCreate;
139780
+ var args275, tool$llmSkillsCreate;
139295
139781
  var init_llmSkillsCreate2 = __esm(() => {
139296
139782
  init_llmSkillsCreate();
139297
139783
  init_operations();
139298
139784
  init_tools();
139299
- args274 = {
139785
+ args275 = {
139300
139786
  request: CreateSkillRequest$inboundSchema
139301
139787
  };
139302
139788
  tool$llmSkillsCreate = {
@@ -139304,9 +139790,9 @@ var init_llmSkillsCreate2 = __esm(() => {
139304
139790
  description: `Create skill
139305
139791
 
139306
139792
  Create a new skill by uploading files. The uploaded files must include a SKILL.md manifest. Accepts multipart form data with individual files or a single zip archive.`,
139307
- args: args274,
139308
- tool: async (client, args275, ctx) => {
139309
- const [result, apiCall] = await llmSkillsCreate(client, args275.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139793
+ args: args275,
139794
+ tool: async (client, args276, ctx) => {
139795
+ const [result, apiCall] = await llmSkillsCreate(client, args276.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139310
139796
  if (!result.ok) {
139311
139797
  return {
139312
139798
  content: [{ type: "text", text: result.error.message }],
@@ -139321,9 +139807,9 @@ Create a new skill by uploading files. The uploaded files must include a SKILL.m
139321
139807
 
139322
139808
  // src/funcs/llmSkillsCreateVersion.ts
139323
139809
  function llmSkillsCreateVersion(client, request, options) {
139324
- return new APIPromise($do283(client, request, options));
139810
+ return new APIPromise($do284(client, request, options));
139325
139811
  }
139326
- async function $do283(client, request, options) {
139812
+ async function $do284(client, request, options) {
139327
139813
  const parsed = safeParse4(request, (value) => CreateSkillVersionRequest$outboundSchema.parse(value), "Input validation failed");
139328
139814
  if (!parsed.ok) {
139329
139815
  return [parsed, { status: "invalid" }];
@@ -139428,12 +139914,12 @@ var init_llmSkillsCreateVersion = __esm(() => {
139428
139914
  });
139429
139915
 
139430
139916
  // src/mcp-server/tools/llmSkillsCreateVersion.ts
139431
- var args275, tool$llmSkillsCreateVersion;
139917
+ var args276, tool$llmSkillsCreateVersion;
139432
139918
  var init_llmSkillsCreateVersion2 = __esm(() => {
139433
139919
  init_llmSkillsCreateVersion();
139434
139920
  init_operations();
139435
139921
  init_tools();
139436
- args275 = {
139922
+ args276 = {
139437
139923
  request: CreateSkillVersionRequest$inboundSchema
139438
139924
  };
139439
139925
  tool$llmSkillsCreateVersion = {
@@ -139441,9 +139927,9 @@ var init_llmSkillsCreateVersion2 = __esm(() => {
139441
139927
  description: `Create skill version
139442
139928
 
139443
139929
  Create a new immutable version of a skill by uploading files. The uploaded files must include a SKILL.md manifest.`,
139444
- args: args275,
139445
- tool: async (client, args276, ctx) => {
139446
- const [result, apiCall] = await llmSkillsCreateVersion(client, args276.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139930
+ args: args276,
139931
+ tool: async (client, args277, ctx) => {
139932
+ const [result, apiCall] = await llmSkillsCreateVersion(client, args277.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139447
139933
  if (!result.ok) {
139448
139934
  return {
139449
139935
  content: [{ type: "text", text: result.error.message }],
@@ -139458,9 +139944,9 @@ Create a new immutable version of a skill by uploading files. The uploaded files
139458
139944
 
139459
139945
  // src/funcs/llmSkillsDelete.ts
139460
139946
  function llmSkillsDelete(client, request, options) {
139461
- return new APIPromise($do284(client, request, options));
139947
+ return new APIPromise($do285(client, request, options));
139462
139948
  }
139463
- async function $do284(client, request, options) {
139949
+ async function $do285(client, request, options) {
139464
139950
  const parsed = safeParse4(request, (value) => DeleteSkillRequest$outboundSchema.parse(value), "Input validation failed");
139465
139951
  if (!parsed.ok) {
139466
139952
  return [parsed, { status: "invalid" }];
@@ -139544,12 +140030,12 @@ var init_llmSkillsDelete = __esm(() => {
139544
140030
  });
139545
140031
 
139546
140032
  // src/mcp-server/tools/llmSkillsDelete.ts
139547
- var args276, tool$llmSkillsDelete;
140033
+ var args277, tool$llmSkillsDelete;
139548
140034
  var init_llmSkillsDelete2 = __esm(() => {
139549
140035
  init_llmSkillsDelete();
139550
140036
  init_operations();
139551
140037
  init_tools();
139552
- args276 = {
140038
+ args277 = {
139553
140039
  request: DeleteSkillRequest$inboundSchema
139554
140040
  };
139555
140041
  tool$llmSkillsDelete = {
@@ -139557,9 +140043,9 @@ var init_llmSkillsDelete2 = __esm(() => {
139557
140043
  description: `Delete skill
139558
140044
 
139559
140045
  Delete a skill and all its versions.`,
139560
- args: args276,
139561
- tool: async (client, args277, ctx) => {
139562
- const [result, apiCall] = await llmSkillsDelete(client, args277.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140046
+ args: args277,
140047
+ tool: async (client, args278, ctx) => {
140048
+ const [result, apiCall] = await llmSkillsDelete(client, args278.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139563
140049
  if (!result.ok) {
139564
140050
  return {
139565
140051
  content: [{ type: "text", text: result.error.message }],
@@ -139574,9 +140060,9 @@ Delete a skill and all its versions.`,
139574
140060
 
139575
140061
  // src/funcs/llmSkillsDeleteVersion.ts
139576
140062
  function llmSkillsDeleteVersion(client, request, options) {
139577
- return new APIPromise($do285(client, request, options));
140063
+ return new APIPromise($do286(client, request, options));
139578
140064
  }
139579
- async function $do285(client, request, options) {
140065
+ async function $do286(client, request, options) {
139580
140066
  const parsed = safeParse4(request, (value) => DeleteSkillVersionRequest$outboundSchema.parse(value), "Input validation failed");
139581
140067
  if (!parsed.ok) {
139582
140068
  return [parsed, { status: "invalid" }];
@@ -139664,12 +140150,12 @@ var init_llmSkillsDeleteVersion = __esm(() => {
139664
140150
  });
139665
140151
 
139666
140152
  // src/mcp-server/tools/llmSkillsDeleteVersion.ts
139667
- var args277, tool$llmSkillsDeleteVersion;
140153
+ var args278, tool$llmSkillsDeleteVersion;
139668
140154
  var init_llmSkillsDeleteVersion2 = __esm(() => {
139669
140155
  init_llmSkillsDeleteVersion();
139670
140156
  init_operations();
139671
140157
  init_tools();
139672
- args277 = {
140158
+ args278 = {
139673
140159
  request: DeleteSkillVersionRequest$inboundSchema
139674
140160
  };
139675
140161
  tool$llmSkillsDeleteVersion = {
@@ -139677,9 +140163,9 @@ var init_llmSkillsDeleteVersion2 = __esm(() => {
139677
140163
  description: `Delete skill version
139678
140164
 
139679
140165
  Delete a specific version of a skill.`,
139680
- args: args277,
139681
- tool: async (client, args278, ctx) => {
139682
- const [result, apiCall] = await llmSkillsDeleteVersion(client, args278.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140166
+ args: args278,
140167
+ tool: async (client, args279, ctx) => {
140168
+ const [result, apiCall] = await llmSkillsDeleteVersion(client, args279.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139683
140169
  if (!result.ok) {
139684
140170
  return {
139685
140171
  content: [{ type: "text", text: result.error.message }],
@@ -139694,9 +140180,9 @@ Delete a specific version of a skill.`,
139694
140180
 
139695
140181
  // src/funcs/llmSkillsGet.ts
139696
140182
  function llmSkillsGet(client, request, options) {
139697
- return new APIPromise($do286(client, request, options));
140183
+ return new APIPromise($do287(client, request, options));
139698
140184
  }
139699
- async function $do286(client, request, options) {
140185
+ async function $do287(client, request, options) {
139700
140186
  const parsed = safeParse4(request, (value) => GetSkillRequest$outboundSchema.parse(value), "Input validation failed");
139701
140187
  if (!parsed.ok) {
139702
140188
  return [parsed, { status: "invalid" }];
@@ -139780,12 +140266,12 @@ var init_llmSkillsGet = __esm(() => {
139780
140266
  });
139781
140267
 
139782
140268
  // src/mcp-server/tools/llmSkillsGet.ts
139783
- var args278, tool$llmSkillsGet;
140269
+ var args279, tool$llmSkillsGet;
139784
140270
  var init_llmSkillsGet2 = __esm(() => {
139785
140271
  init_llmSkillsGet();
139786
140272
  init_operations();
139787
140273
  init_tools();
139788
- args278 = {
140274
+ args279 = {
139789
140275
  request: GetSkillRequest$inboundSchema
139790
140276
  };
139791
140277
  tool$llmSkillsGet = {
@@ -139793,9 +140279,9 @@ var init_llmSkillsGet2 = __esm(() => {
139793
140279
  description: `Retrieve skill
139794
140280
 
139795
140281
  Returns information about a specific skill.`,
139796
- args: args278,
139797
- tool: async (client, args279, ctx) => {
139798
- const [result, apiCall] = await llmSkillsGet(client, args279.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140282
+ args: args279,
140283
+ tool: async (client, args280, ctx) => {
140284
+ const [result, apiCall] = await llmSkillsGet(client, args280.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139799
140285
  if (!result.ok) {
139800
140286
  return {
139801
140287
  content: [{ type: "text", text: result.error.message }],
@@ -139810,9 +140296,9 @@ Returns information about a specific skill.`,
139810
140296
 
139811
140297
  // src/funcs/llmSkillsGetVersion.ts
139812
140298
  function llmSkillsGetVersion(client, request, options) {
139813
- return new APIPromise($do287(client, request, options));
140299
+ return new APIPromise($do288(client, request, options));
139814
140300
  }
139815
- async function $do287(client, request, options) {
140301
+ async function $do288(client, request, options) {
139816
140302
  const parsed = safeParse4(request, (value) => GetSkillVersionRequest$outboundSchema.parse(value), "Input validation failed");
139817
140303
  if (!parsed.ok) {
139818
140304
  return [parsed, { status: "invalid" }];
@@ -139900,12 +140386,12 @@ var init_llmSkillsGetVersion = __esm(() => {
139900
140386
  });
139901
140387
 
139902
140388
  // src/mcp-server/tools/llmSkillsGetVersion.ts
139903
- var args279, tool$llmSkillsGetVersion;
140389
+ var args280, tool$llmSkillsGetVersion;
139904
140390
  var init_llmSkillsGetVersion2 = __esm(() => {
139905
140391
  init_llmSkillsGetVersion();
139906
140392
  init_operations();
139907
140393
  init_tools();
139908
- args279 = {
140394
+ args280 = {
139909
140395
  request: GetSkillVersionRequest$inboundSchema
139910
140396
  };
139911
140397
  tool$llmSkillsGetVersion = {
@@ -139913,9 +140399,9 @@ var init_llmSkillsGetVersion2 = __esm(() => {
139913
140399
  description: `Retrieve skill version
139914
140400
 
139915
140401
  Returns information about a specific skill version.`,
139916
- args: args279,
139917
- tool: async (client, args280, ctx) => {
139918
- const [result, apiCall] = await llmSkillsGetVersion(client, args280.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140402
+ args: args280,
140403
+ tool: async (client, args281, ctx) => {
140404
+ const [result, apiCall] = await llmSkillsGetVersion(client, args281.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139919
140405
  if (!result.ok) {
139920
140406
  return {
139921
140407
  content: [{ type: "text", text: result.error.message }],
@@ -139930,9 +140416,9 @@ Returns information about a specific skill version.`,
139930
140416
 
139931
140417
  // src/funcs/llmSkillsList.ts
139932
140418
  function llmSkillsList(client, request, options) {
139933
- return new APIPromise($do288(client, request, options));
140419
+ return new APIPromise($do289(client, request, options));
139934
140420
  }
139935
- async function $do288(client, request, options) {
140421
+ async function $do289(client, request, options) {
139936
140422
  const parsed = safeParse4(request, (value) => ListSkillsRequest$outboundSchema.parse(value), "Input validation failed");
139937
140423
  if (!parsed.ok) {
139938
140424
  return [parsed, { status: "invalid" }];
@@ -140016,12 +140502,12 @@ var init_llmSkillsList = __esm(() => {
140016
140502
  });
140017
140503
 
140018
140504
  // src/mcp-server/tools/llmSkillsList.ts
140019
- var args280, tool$llmSkillsList;
140505
+ var args281, tool$llmSkillsList;
140020
140506
  var init_llmSkillsList2 = __esm(() => {
140021
140507
  init_llmSkillsList();
140022
140508
  init_operations();
140023
140509
  init_tools();
140024
- args280 = {
140510
+ args281 = {
140025
140511
  request: ListSkillsRequest$inboundSchema
140026
140512
  };
140027
140513
  tool$llmSkillsList = {
@@ -140029,9 +140515,9 @@ var init_llmSkillsList2 = __esm(() => {
140029
140515
  description: `List skills
140030
140516
 
140031
140517
  Returns a paginated list of skills.`,
140032
- args: args280,
140033
- tool: async (client, args281, ctx) => {
140034
- const [result, apiCall] = await llmSkillsList(client, args281.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140518
+ args: args281,
140519
+ tool: async (client, args282, ctx) => {
140520
+ const [result, apiCall] = await llmSkillsList(client, args282.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140035
140521
  if (!result.ok) {
140036
140522
  return {
140037
140523
  content: [{ type: "text", text: result.error.message }],
@@ -140046,9 +140532,9 @@ Returns a paginated list of skills.`,
140046
140532
 
140047
140533
  // src/funcs/llmSkillsListPreconfigured.ts
140048
140534
  function llmSkillsListPreconfigured(client, request, options) {
140049
- return new APIPromise($do289(client, request, options));
140535
+ return new APIPromise($do290(client, request, options));
140050
140536
  }
140051
- async function $do289(client, request, options) {
140537
+ async function $do290(client, request, options) {
140052
140538
  const parsed = safeParse4(request, (value) => ListPreconfiguredSkillsRequest$outboundSchema.parse(value), "Input validation failed");
140053
140539
  if (!parsed.ok) {
140054
140540
  return [parsed, { status: "invalid" }];
@@ -140126,12 +140612,12 @@ var init_llmSkillsListPreconfigured = __esm(() => {
140126
140612
  });
140127
140613
 
140128
140614
  // src/mcp-server/tools/llmSkillsListPreconfigured.ts
140129
- var args281, tool$llmSkillsListPreconfigured;
140615
+ var args282, tool$llmSkillsListPreconfigured;
140130
140616
  var init_llmSkillsListPreconfigured2 = __esm(() => {
140131
140617
  init_llmSkillsListPreconfigured();
140132
140618
  init_operations();
140133
140619
  init_tools();
140134
- args281 = {
140620
+ args282 = {
140135
140621
  request: ListPreconfiguredSkillsRequest$inboundSchema
140136
140622
  };
140137
140623
  tool$llmSkillsListPreconfigured = {
@@ -140139,9 +140625,9 @@ var init_llmSkillsListPreconfigured2 = __esm(() => {
140139
140625
  description: `List preconfigured skills
140140
140626
 
140141
140627
  Returns the list of preconfigured skills that ship with the gateway. These can be referenced in shell tool definitions as { type: 'preconfigured', name: '...' }.`,
140142
- args: args281,
140143
- tool: async (client, args282, ctx) => {
140144
- const [result, apiCall] = await llmSkillsListPreconfigured(client, args282.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140628
+ args: args282,
140629
+ tool: async (client, args283, ctx) => {
140630
+ const [result, apiCall] = await llmSkillsListPreconfigured(client, args283.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140145
140631
  if (!result.ok) {
140146
140632
  return {
140147
140633
  content: [{ type: "text", text: result.error.message }],
@@ -140156,9 +140642,9 @@ Returns the list of preconfigured skills that ship with the gateway. These can b
140156
140642
 
140157
140643
  // src/funcs/llmSkillsListVersions.ts
140158
140644
  function llmSkillsListVersions(client, request, options) {
140159
- return new APIPromise($do290(client, request, options));
140645
+ return new APIPromise($do291(client, request, options));
140160
140646
  }
140161
- async function $do290(client, request, options) {
140647
+ async function $do291(client, request, options) {
140162
140648
  const parsed = safeParse4(request, (value) => ListSkillVersionsRequest$outboundSchema.parse(value), "Input validation failed");
140163
140649
  if (!parsed.ok) {
140164
140650
  return [parsed, { status: "invalid" }];
@@ -140248,12 +140734,12 @@ var init_llmSkillsListVersions = __esm(() => {
140248
140734
  });
140249
140735
 
140250
140736
  // src/mcp-server/tools/llmSkillsListVersions.ts
140251
- var args282, tool$llmSkillsListVersions;
140737
+ var args283, tool$llmSkillsListVersions;
140252
140738
  var init_llmSkillsListVersions2 = __esm(() => {
140253
140739
  init_llmSkillsListVersions();
140254
140740
  init_operations();
140255
140741
  init_tools();
140256
- args282 = {
140742
+ args283 = {
140257
140743
  request: ListSkillVersionsRequest$inboundSchema
140258
140744
  };
140259
140745
  tool$llmSkillsListVersions = {
@@ -140261,9 +140747,9 @@ var init_llmSkillsListVersions2 = __esm(() => {
140261
140747
  description: `List skill versions
140262
140748
 
140263
140749
  Returns a paginated list of versions for a skill.`,
140264
- args: args282,
140265
- tool: async (client, args283, ctx) => {
140266
- const [result, apiCall] = await llmSkillsListVersions(client, args283.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140750
+ args: args283,
140751
+ tool: async (client, args284, ctx) => {
140752
+ const [result, apiCall] = await llmSkillsListVersions(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140267
140753
  if (!result.ok) {
140268
140754
  return {
140269
140755
  content: [{ type: "text", text: result.error.message }],
@@ -140278,9 +140764,9 @@ Returns a paginated list of versions for a skill.`,
140278
140764
 
140279
140765
  // src/funcs/llmSkillsUpdate.ts
140280
140766
  function llmSkillsUpdate(client, request, options) {
140281
- return new APIPromise($do291(client, request, options));
140767
+ return new APIPromise($do292(client, request, options));
140282
140768
  }
140283
- async function $do291(client, request, options) {
140769
+ async function $do292(client, request, options) {
140284
140770
  const parsed = safeParse4(request, (value) => UpdateSkillRequest$outboundSchema.parse(value), "Input validation failed");
140285
140771
  if (!parsed.ok) {
140286
140772
  return [parsed, { status: "invalid" }];
@@ -140367,12 +140853,12 @@ var init_llmSkillsUpdate = __esm(() => {
140367
140853
  });
140368
140854
 
140369
140855
  // src/mcp-server/tools/llmSkillsUpdate.ts
140370
- var args283, tool$llmSkillsUpdate;
140856
+ var args284, tool$llmSkillsUpdate;
140371
140857
  var init_llmSkillsUpdate2 = __esm(() => {
140372
140858
  init_llmSkillsUpdate();
140373
140859
  init_operations();
140374
140860
  init_tools();
140375
- args283 = {
140861
+ args284 = {
140376
140862
  request: UpdateSkillRequest$inboundSchema
140377
140863
  };
140378
140864
  tool$llmSkillsUpdate = {
@@ -140380,9 +140866,9 @@ var init_llmSkillsUpdate2 = __esm(() => {
140380
140866
  description: `Update skill
140381
140867
 
140382
140868
  Update the default version pointer for a skill.`,
140383
- args: args283,
140384
- tool: async (client, args284, ctx) => {
140385
- const [result, apiCall] = await llmSkillsUpdate(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140869
+ args: args284,
140870
+ tool: async (client, args285, ctx) => {
140871
+ const [result, apiCall] = await llmSkillsUpdate(client, args285.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140386
140872
  if (!result.ok) {
140387
140873
  return {
140388
140874
  content: [{ type: "text", text: result.error.message }],
@@ -140397,9 +140883,9 @@ Update the default version pointer for a skill.`,
140397
140883
 
140398
140884
  // src/funcs/llmSkillsVersionContent.ts
140399
140885
  function llmSkillsVersionContent(client, request, options) {
140400
- return new APIPromise($do292(client, request, options));
140886
+ return new APIPromise($do293(client, request, options));
140401
140887
  }
140402
- async function $do292(client, request, options) {
140888
+ async function $do293(client, request, options) {
140403
140889
  const parsed = safeParse4(request, (value) => GetSkillVersionContentRequest$outboundSchema.parse(value), "Input validation failed");
140404
140890
  if (!parsed.ok) {
140405
140891
  return [parsed, { status: "invalid" }];
@@ -140489,12 +140975,12 @@ var init_llmSkillsVersionContent = __esm(() => {
140489
140975
  });
140490
140976
 
140491
140977
  // src/mcp-server/tools/llmSkillsVersionContent.ts
140492
- var args284, tool$llmSkillsVersionContent;
140978
+ var args285, tool$llmSkillsVersionContent;
140493
140979
  var init_llmSkillsVersionContent2 = __esm(() => {
140494
140980
  init_llmSkillsVersionContent();
140495
140981
  init_operations();
140496
140982
  init_tools();
140497
- args284 = {
140983
+ args285 = {
140498
140984
  request: GetSkillVersionContentRequest$inboundSchema
140499
140985
  };
140500
140986
  tool$llmSkillsVersionContent = {
@@ -140502,9 +140988,9 @@ var init_llmSkillsVersionContent2 = __esm(() => {
140502
140988
  description: `Download skill version content
140503
140989
 
140504
140990
  Download the zip bundle for a specific skill version.`,
140505
- args: args284,
140506
- tool: async (client, args285, ctx) => {
140507
- const [result, apiCall] = await llmSkillsVersionContent(client, args285.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140991
+ args: args285,
140992
+ tool: async (client, args286, ctx) => {
140993
+ const [result, apiCall] = await llmSkillsVersionContent(client, args286.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140508
140994
  if (!result.ok) {
140509
140995
  return {
140510
140996
  content: [{ type: "text", text: result.error.message }],
@@ -140519,9 +141005,9 @@ Download the zip bundle for a specific skill version.`,
140519
141005
 
140520
141006
  // src/funcs/llmSpeechDeleteTranscriptionHistory.ts
140521
141007
  function llmSpeechDeleteTranscriptionHistory(client, request, options) {
140522
- return new APIPromise($do293(client, request, options));
141008
+ return new APIPromise($do294(client, request, options));
140523
141009
  }
140524
- async function $do293(client, request, options) {
141010
+ async function $do294(client, request, options) {
140525
141011
  const parsed = safeParse4(request, (value) => DeleteSpeechToTextHistoryRequest$outboundSchema.parse(value), "Input validation failed");
140526
141012
  if (!parsed.ok) {
140527
141013
  return [parsed, { status: "invalid" }];
@@ -140605,12 +141091,12 @@ var init_llmSpeechDeleteTranscriptionHistory = __esm(() => {
140605
141091
  });
140606
141092
 
140607
141093
  // src/mcp-server/tools/llmSpeechDeleteTranscriptionHistory.ts
140608
- var args285, tool$llmSpeechDeleteTranscriptionHistory;
141094
+ var args286, tool$llmSpeechDeleteTranscriptionHistory;
140609
141095
  var init_llmSpeechDeleteTranscriptionHistory2 = __esm(() => {
140610
141096
  init_llmSpeechDeleteTranscriptionHistory();
140611
141097
  init_operations();
140612
141098
  init_tools();
140613
- args285 = {
141099
+ args286 = {
140614
141100
  request: DeleteSpeechToTextHistoryRequest$inboundSchema
140615
141101
  };
140616
141102
  tool$llmSpeechDeleteTranscriptionHistory = {
@@ -140618,9 +141104,9 @@ var init_llmSpeechDeleteTranscriptionHistory2 = __esm(() => {
140618
141104
  description: `Delete speech-to-text history item
140619
141105
 
140620
141106
  Deletes a stored transcription. The audio blob is content-addressed and may be shared, so it is left in storage.`,
140621
- args: args285,
140622
- tool: async (client, args286, ctx) => {
140623
- const [result, apiCall] = await llmSpeechDeleteTranscriptionHistory(client, args286.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141107
+ args: args286,
141108
+ tool: async (client, args287, ctx) => {
141109
+ const [result, apiCall] = await llmSpeechDeleteTranscriptionHistory(client, args287.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140624
141110
  if (!result.ok) {
140625
141111
  return {
140626
141112
  content: [{ type: "text", text: result.error.message }],
@@ -140635,9 +141121,9 @@ Deletes a stored transcription. The audio blob is content-addressed and may be s
140635
141121
 
140636
141122
  // src/funcs/llmSpeechDeleteTtsHistory.ts
140637
141123
  function llmSpeechDeleteTtsHistory(client, request, options) {
140638
- return new APIPromise($do294(client, request, options));
141124
+ return new APIPromise($do295(client, request, options));
140639
141125
  }
140640
- async function $do294(client, request, options) {
141126
+ async function $do295(client, request, options) {
140641
141127
  const parsed = safeParse4(request, (value) => DeleteTextToSpeechHistoryRequest$outboundSchema.parse(value), "Input validation failed");
140642
141128
  if (!parsed.ok) {
140643
141129
  return [parsed, { status: "invalid" }];
@@ -140721,12 +141207,12 @@ var init_llmSpeechDeleteTtsHistory = __esm(() => {
140721
141207
  });
140722
141208
 
140723
141209
  // src/mcp-server/tools/llmSpeechDeleteTtsHistory.ts
140724
- var args286, tool$llmSpeechDeleteTtsHistory;
141210
+ var args287, tool$llmSpeechDeleteTtsHistory;
140725
141211
  var init_llmSpeechDeleteTtsHistory2 = __esm(() => {
140726
141212
  init_llmSpeechDeleteTtsHistory();
140727
141213
  init_operations();
140728
141214
  init_tools();
140729
- args286 = {
141215
+ args287 = {
140730
141216
  request: DeleteTextToSpeechHistoryRequest$inboundSchema
140731
141217
  };
140732
141218
  tool$llmSpeechDeleteTtsHistory = {
@@ -140734,9 +141220,9 @@ var init_llmSpeechDeleteTtsHistory2 = __esm(() => {
140734
141220
  description: `Delete text-to-speech history item
140735
141221
 
140736
141222
  Deletes a stored text-to-speech generation. The audio blob is content-addressed and may be shared, so it is left in storage.`,
140737
- args: args286,
140738
- tool: async (client, args287, ctx) => {
140739
- const [result, apiCall] = await llmSpeechDeleteTtsHistory(client, args287.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141223
+ args: args287,
141224
+ tool: async (client, args288, ctx) => {
141225
+ const [result, apiCall] = await llmSpeechDeleteTtsHistory(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140740
141226
  if (!result.ok) {
140741
141227
  return {
140742
141228
  content: [{ type: "text", text: result.error.message }],
@@ -140751,9 +141237,9 @@ Deletes a stored text-to-speech generation. The audio blob is content-addressed
140751
141237
 
140752
141238
  // src/funcs/llmSpeechGetTranscriptionHistory.ts
140753
141239
  function llmSpeechGetTranscriptionHistory(client, request, options) {
140754
- return new APIPromise($do295(client, request, options));
141240
+ return new APIPromise($do296(client, request, options));
140755
141241
  }
140756
- async function $do295(client, request, options) {
141242
+ async function $do296(client, request, options) {
140757
141243
  const parsed = safeParse4(request, (value) => GetSpeechToTextHistoryRequest$outboundSchema.parse(value), "Input validation failed");
140758
141244
  if (!parsed.ok) {
140759
141245
  return [parsed, { status: "invalid" }];
@@ -140837,12 +141323,12 @@ var init_llmSpeechGetTranscriptionHistory = __esm(() => {
140837
141323
  });
140838
141324
 
140839
141325
  // src/mcp-server/tools/llmSpeechGetTranscriptionHistory.ts
140840
- var args287, tool$llmSpeechGetTranscriptionHistory;
141326
+ var args288, tool$llmSpeechGetTranscriptionHistory;
140841
141327
  var init_llmSpeechGetTranscriptionHistory2 = __esm(() => {
140842
141328
  init_llmSpeechGetTranscriptionHistory();
140843
141329
  init_operations();
140844
141330
  init_tools();
140845
- args287 = {
141331
+ args288 = {
140846
141332
  request: GetSpeechToTextHistoryRequest$inboundSchema
140847
141333
  };
140848
141334
  tool$llmSpeechGetTranscriptionHistory = {
@@ -140850,9 +141336,9 @@ var init_llmSpeechGetTranscriptionHistory2 = __esm(() => {
140850
141336
  description: `Retrieve speech-to-text history item
140851
141337
 
140852
141338
  Returns metadata for a stored transcription.`,
140853
- args: args287,
140854
- tool: async (client, args288, ctx) => {
140855
- const [result, apiCall] = await llmSpeechGetTranscriptionHistory(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141339
+ args: args288,
141340
+ tool: async (client, args289, ctx) => {
141341
+ const [result, apiCall] = await llmSpeechGetTranscriptionHistory(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140856
141342
  if (!result.ok) {
140857
141343
  return {
140858
141344
  content: [{ type: "text", text: result.error.message }],
@@ -140867,9 +141353,9 @@ Returns metadata for a stored transcription.`,
140867
141353
 
140868
141354
  // src/funcs/llmSpeechGetTranscriptionHistoryContent.ts
140869
141355
  function llmSpeechGetTranscriptionHistoryContent(client, request, options) {
140870
- return new APIPromise($do296(client, request, options));
141356
+ return new APIPromise($do297(client, request, options));
140871
141357
  }
140872
- async function $do296(client, request, options) {
141358
+ async function $do297(client, request, options) {
140873
141359
  const parsed = safeParse4(request, (value) => GetSpeechToTextHistoryContentRequest$outboundSchema.parse(value), "Input validation failed");
140874
141360
  if (!parsed.ok) {
140875
141361
  return [parsed, { status: "invalid" }];
@@ -140953,12 +141439,12 @@ var init_llmSpeechGetTranscriptionHistoryContent = __esm(() => {
140953
141439
  });
140954
141440
 
140955
141441
  // src/mcp-server/tools/llmSpeechGetTranscriptionHistoryContent.ts
140956
- var args288, tool$llmSpeechGetTranscriptionHistoryContent;
141442
+ var args289, tool$llmSpeechGetTranscriptionHistoryContent;
140957
141443
  var init_llmSpeechGetTranscriptionHistoryContent2 = __esm(() => {
140958
141444
  init_llmSpeechGetTranscriptionHistoryContent();
140959
141445
  init_operations();
140960
141446
  init_tools();
140961
- args288 = {
141447
+ args289 = {
140962
141448
  request: GetSpeechToTextHistoryContentRequest$inboundSchema
140963
141449
  };
140964
141450
  tool$llmSpeechGetTranscriptionHistoryContent = {
@@ -140966,9 +141452,9 @@ var init_llmSpeechGetTranscriptionHistoryContent2 = __esm(() => {
140966
141452
  description: `Retrieve speech-to-text audio
140967
141453
 
140968
141454
  Returns the stored input audio for a transcription as a binary response.`,
140969
- args: args288,
140970
- tool: async (client, args289, ctx) => {
140971
- const [result, apiCall] = await llmSpeechGetTranscriptionHistoryContent(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141455
+ args: args289,
141456
+ tool: async (client, args290, ctx) => {
141457
+ const [result, apiCall] = await llmSpeechGetTranscriptionHistoryContent(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
140972
141458
  if (!result.ok) {
140973
141459
  return {
140974
141460
  content: [{ type: "text", text: result.error.message }],
@@ -140983,9 +141469,9 @@ Returns the stored input audio for a transcription as a binary response.`,
140983
141469
 
140984
141470
  // src/funcs/llmSpeechGetTtsHistory.ts
140985
141471
  function llmSpeechGetTtsHistory(client, request, options) {
140986
- return new APIPromise($do297(client, request, options));
141472
+ return new APIPromise($do298(client, request, options));
140987
141473
  }
140988
- async function $do297(client, request, options) {
141474
+ async function $do298(client, request, options) {
140989
141475
  const parsed = safeParse4(request, (value) => GetTextToSpeechHistoryRequest$outboundSchema.parse(value), "Input validation failed");
140990
141476
  if (!parsed.ok) {
140991
141477
  return [parsed, { status: "invalid" }];
@@ -141069,12 +141555,12 @@ var init_llmSpeechGetTtsHistory = __esm(() => {
141069
141555
  });
141070
141556
 
141071
141557
  // src/mcp-server/tools/llmSpeechGetTtsHistory.ts
141072
- var args289, tool$llmSpeechGetTtsHistory;
141558
+ var args290, tool$llmSpeechGetTtsHistory;
141073
141559
  var init_llmSpeechGetTtsHistory2 = __esm(() => {
141074
141560
  init_llmSpeechGetTtsHistory();
141075
141561
  init_operations();
141076
141562
  init_tools();
141077
- args289 = {
141563
+ args290 = {
141078
141564
  request: GetTextToSpeechHistoryRequest$inboundSchema
141079
141565
  };
141080
141566
  tool$llmSpeechGetTtsHistory = {
@@ -141082,9 +141568,9 @@ var init_llmSpeechGetTtsHistory2 = __esm(() => {
141082
141568
  description: `Retrieve text-to-speech history item
141083
141569
 
141084
141570
  Returns metadata for a stored text-to-speech generation.`,
141085
- args: args289,
141086
- tool: async (client, args290, ctx) => {
141087
- const [result, apiCall] = await llmSpeechGetTtsHistory(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141571
+ args: args290,
141572
+ tool: async (client, args291, ctx) => {
141573
+ const [result, apiCall] = await llmSpeechGetTtsHistory(client, args291.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141088
141574
  if (!result.ok) {
141089
141575
  return {
141090
141576
  content: [{ type: "text", text: result.error.message }],
@@ -141099,9 +141585,9 @@ Returns metadata for a stored text-to-speech generation.`,
141099
141585
 
141100
141586
  // src/funcs/llmSpeechGetTtsHistoryContent.ts
141101
141587
  function llmSpeechGetTtsHistoryContent(client, request, options) {
141102
- return new APIPromise($do298(client, request, options));
141588
+ return new APIPromise($do299(client, request, options));
141103
141589
  }
141104
- async function $do298(client, request, options) {
141590
+ async function $do299(client, request, options) {
141105
141591
  const parsed = safeParse4(request, (value) => GetTextToSpeechHistoryContentRequest$outboundSchema.parse(value), "Input validation failed");
141106
141592
  if (!parsed.ok) {
141107
141593
  return [parsed, { status: "invalid" }];
@@ -141184,12 +141670,12 @@ var init_llmSpeechGetTtsHistoryContent = __esm(() => {
141184
141670
  });
141185
141671
 
141186
141672
  // src/mcp-server/tools/llmSpeechGetTtsHistoryContent.ts
141187
- var args290, tool$llmSpeechGetTtsHistoryContent;
141673
+ var args291, tool$llmSpeechGetTtsHistoryContent;
141188
141674
  var init_llmSpeechGetTtsHistoryContent2 = __esm(() => {
141189
141675
  init_llmSpeechGetTtsHistoryContent();
141190
141676
  init_operations();
141191
141677
  init_tools();
141192
- args290 = {
141678
+ args291 = {
141193
141679
  request: GetTextToSpeechHistoryContentRequest$inboundSchema
141194
141680
  };
141195
141681
  tool$llmSpeechGetTtsHistoryContent = {
@@ -141197,9 +141683,9 @@ var init_llmSpeechGetTtsHistoryContent2 = __esm(() => {
141197
141683
  description: `Retrieve text-to-speech audio
141198
141684
 
141199
141685
  Returns the stored audio for a text-to-speech generation as a binary response.`,
141200
- args: args290,
141201
- tool: async (client, args291, ctx) => {
141202
- const [result, apiCall] = await llmSpeechGetTtsHistoryContent(client, args291.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141686
+ args: args291,
141687
+ tool: async (client, args292, ctx) => {
141688
+ const [result, apiCall] = await llmSpeechGetTtsHistoryContent(client, args292.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141203
141689
  if (!result.ok) {
141204
141690
  return {
141205
141691
  content: [{ type: "text", text: result.error.message }],
@@ -141214,9 +141700,9 @@ Returns the stored audio for a text-to-speech generation as a binary response.`,
141214
141700
 
141215
141701
  // src/funcs/llmSpeechListTranscriptionHistory.ts
141216
141702
  function llmSpeechListTranscriptionHistory(client, request, options) {
141217
- return new APIPromise($do299(client, request, options));
141703
+ return new APIPromise($do300(client, request, options));
141218
141704
  }
141219
- async function $do299(client, request, options) {
141705
+ async function $do300(client, request, options) {
141220
141706
  const parsed = safeParse4(request, (value) => ListSpeechToTextHistoryRequest$outboundSchema.parse(value), "Input validation failed");
141221
141707
  if (!parsed.ok) {
141222
141708
  return [parsed, { status: "invalid" }];
@@ -141301,12 +141787,12 @@ var init_llmSpeechListTranscriptionHistory = __esm(() => {
141301
141787
  });
141302
141788
 
141303
141789
  // src/mcp-server/tools/llmSpeechListTranscriptionHistory.ts
141304
- var args291, tool$llmSpeechListTranscriptionHistory;
141790
+ var args292, tool$llmSpeechListTranscriptionHistory;
141305
141791
  var init_llmSpeechListTranscriptionHistory2 = __esm(() => {
141306
141792
  init_llmSpeechListTranscriptionHistory();
141307
141793
  init_operations();
141308
141794
  init_tools();
141309
- args291 = {
141795
+ args292 = {
141310
141796
  request: ListSpeechToTextHistoryRequest$inboundSchema
141311
141797
  };
141312
141798
  tool$llmSpeechListTranscriptionHistory = {
@@ -141314,9 +141800,9 @@ var init_llmSpeechListTranscriptionHistory2 = __esm(() => {
141314
141800
  description: `List speech-to-text history
141315
141801
 
141316
141802
  List stored transcriptions for the authenticated user, newest first by default.`,
141317
- args: args291,
141318
- tool: async (client, args292, ctx) => {
141319
- const [result, apiCall] = await llmSpeechListTranscriptionHistory(client, args292.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141803
+ args: args292,
141804
+ tool: async (client, args293, ctx) => {
141805
+ const [result, apiCall] = await llmSpeechListTranscriptionHistory(client, args293.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141320
141806
  if (!result.ok) {
141321
141807
  return {
141322
141808
  content: [{ type: "text", text: result.error.message }],
@@ -141331,9 +141817,9 @@ List stored transcriptions for the authenticated user, newest first by default.`
141331
141817
 
141332
141818
  // src/funcs/llmSpeechListTtsHistory.ts
141333
141819
  function llmSpeechListTtsHistory(client, request, options) {
141334
- return new APIPromise($do300(client, request, options));
141820
+ return new APIPromise($do301(client, request, options));
141335
141821
  }
141336
- async function $do300(client, request, options) {
141822
+ async function $do301(client, request, options) {
141337
141823
  const parsed = safeParse4(request, (value) => ListTextToSpeechHistoryRequest$outboundSchema.parse(value), "Input validation failed");
141338
141824
  if (!parsed.ok) {
141339
141825
  return [parsed, { status: "invalid" }];
@@ -141418,12 +141904,12 @@ var init_llmSpeechListTtsHistory = __esm(() => {
141418
141904
  });
141419
141905
 
141420
141906
  // src/mcp-server/tools/llmSpeechListTtsHistory.ts
141421
- var args292, tool$llmSpeechListTtsHistory;
141907
+ var args293, tool$llmSpeechListTtsHistory;
141422
141908
  var init_llmSpeechListTtsHistory2 = __esm(() => {
141423
141909
  init_llmSpeechListTtsHistory();
141424
141910
  init_operations();
141425
141911
  init_tools();
141426
- args292 = {
141912
+ args293 = {
141427
141913
  request: ListTextToSpeechHistoryRequest$inboundSchema
141428
141914
  };
141429
141915
  tool$llmSpeechListTtsHistory = {
@@ -141431,9 +141917,9 @@ var init_llmSpeechListTtsHistory2 = __esm(() => {
141431
141917
  description: `List text-to-speech history
141432
141918
 
141433
141919
  List stored text-to-speech generations for the authenticated user, newest first by default.`,
141434
- args: args292,
141435
- tool: async (client, args293, ctx) => {
141436
- const [result, apiCall] = await llmSpeechListTtsHistory(client, args293.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141920
+ args: args293,
141921
+ tool: async (client, args294, ctx) => {
141922
+ const [result, apiCall] = await llmSpeechListTtsHistory(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141437
141923
  if (!result.ok) {
141438
141924
  return {
141439
141925
  content: [{ type: "text", text: result.error.message }],
@@ -141448,9 +141934,9 @@ List stored text-to-speech generations for the authenticated user, newest first
141448
141934
 
141449
141935
  // src/funcs/llmSpeechLivekitToken.ts
141450
141936
  function llmSpeechLivekitToken(client, request, options) {
141451
- return new APIPromise($do301(client, request, options));
141937
+ return new APIPromise($do302(client, request, options));
141452
141938
  }
141453
- async function $do301(client, request, options) {
141939
+ async function $do302(client, request, options) {
141454
141940
  const parsed = safeParse4(request, (value) => LivekitTokenRequest$outboundSchema2.parse(value), "Input validation failed");
141455
141941
  if (!parsed.ok) {
141456
141942
  return [parsed, { status: "invalid" }];
@@ -141531,12 +142017,12 @@ var init_llmSpeechLivekitToken = __esm(() => {
141531
142017
  });
141532
142018
 
141533
142019
  // src/mcp-server/tools/llmSpeechLivekitToken.ts
141534
- var args293, tool$llmSpeechLivekitToken;
142020
+ var args294, tool$llmSpeechLivekitToken;
141535
142021
  var init_llmSpeechLivekitToken2 = __esm(() => {
141536
142022
  init_llmSpeechLivekitToken();
141537
142023
  init_operations();
141538
142024
  init_tools();
141539
- args293 = {
142025
+ args294 = {
141540
142026
  request: LivekitTokenRequest$inboundSchema2
141541
142027
  };
141542
142028
  tool$llmSpeechLivekitToken = {
@@ -141544,9 +142030,9 @@ var init_llmSpeechLivekitToken2 = __esm(() => {
141544
142030
  description: `Generate LiveKit room token
141545
142031
 
141546
142032
  Generates a LiveKit access token for joining a real-time voice room. The token includes encrypted credentials and model configuration for the voice agent.`,
141547
- args: args293,
141548
- tool: async (client, args294, ctx) => {
141549
- const [result, apiCall] = await llmSpeechLivekitToken(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142033
+ args: args294,
142034
+ tool: async (client, args295, ctx) => {
142035
+ const [result, apiCall] = await llmSpeechLivekitToken(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141550
142036
  if (!result.ok) {
141551
142037
  return {
141552
142038
  content: [{ type: "text", text: result.error.message }],
@@ -141561,9 +142047,9 @@ Generates a LiveKit access token for joining a real-time voice room. The token i
141561
142047
 
141562
142048
  // src/funcs/llmSpeechSpeak.ts
141563
142049
  function llmSpeechSpeak(client, request, options) {
141564
- return new APIPromise($do302(client, request, options));
142050
+ return new APIPromise($do303(client, request, options));
141565
142051
  }
141566
- async function $do302(client, request, options) {
142052
+ async function $do303(client, request, options) {
141567
142053
  const parsed = safeParse4(request, (value) => TextToSpeechRequest$outboundSchema2.parse(value), "Input validation failed");
141568
142054
  if (!parsed.ok) {
141569
142055
  return [parsed, { status: "invalid" }];
@@ -141650,12 +142136,12 @@ var init_llmSpeechSpeak = __esm(() => {
141650
142136
  });
141651
142137
 
141652
142138
  // src/mcp-server/tools/llmSpeechSpeak.ts
141653
- var args294, tool$llmSpeechSpeak;
142139
+ var args295, tool$llmSpeechSpeak;
141654
142140
  var init_llmSpeechSpeak2 = __esm(() => {
141655
142141
  init_llmSpeechSpeak();
141656
142142
  init_operations();
141657
142143
  init_tools();
141658
- args294 = {
142144
+ args295 = {
141659
142145
  request: TextToSpeechRequest$inboundSchema2
141660
142146
  };
141661
142147
  tool$llmSpeechSpeak = {
@@ -141670,9 +142156,9 @@ Convert text to speech with automatic language detection.
141670
142156
  - \`model\`: TTS model identifier (default: "auto") - "auto" selects the default provider; a registry-resolvable id dispatches to the matching provider
141671
142157
 
141672
142158
  **Response:** Returns audio file in WAV format with X-Language-Code header. When \`store\` is \`true\`, the generation is persisted before the response returns and the new history record id is included in the X-Tts-Id header.`,
141673
- args: args294,
141674
- tool: async (client, args295, ctx) => {
141675
- const [result, apiCall] = await llmSpeechSpeak(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142159
+ args: args295,
142160
+ tool: async (client, args296, ctx) => {
142161
+ const [result, apiCall] = await llmSpeechSpeak(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141676
142162
  if (!result.ok) {
141677
142163
  return {
141678
142164
  content: [{ type: "text", text: result.error.message }],
@@ -141687,9 +142173,9 @@ Convert text to speech with automatic language detection.
141687
142173
 
141688
142174
  // src/funcs/llmSpeechSpeakStreaming.ts
141689
142175
  function llmSpeechSpeakStreaming(client, request, options) {
141690
- return new APIPromise($do303(client, request, options));
142176
+ return new APIPromise($do304(client, request, options));
141691
142177
  }
141692
- async function $do303(client, request, options) {
142178
+ async function $do304(client, request, options) {
141693
142179
  const parsed = safeParse4(request, (value) => TextToSpeechStreamingRequest$outboundSchema2.parse(value), "Input validation failed");
141694
142180
  if (!parsed.ok) {
141695
142181
  return [parsed, { status: "invalid" }];
@@ -141780,12 +142266,12 @@ var init_llmSpeechSpeakStreaming = __esm(() => {
141780
142266
  });
141781
142267
 
141782
142268
  // src/mcp-server/tools/llmSpeechSpeakStreaming.ts
141783
- var args295, tool$llmSpeechSpeakStreaming;
142269
+ var args296, tool$llmSpeechSpeakStreaming;
141784
142270
  var init_llmSpeechSpeakStreaming2 = __esm(() => {
141785
142271
  init_llmSpeechSpeakStreaming();
141786
142272
  init_operations();
141787
142273
  init_tools();
141788
- args295 = {
142274
+ args296 = {
141789
142275
  request: TextToSpeechStreamingRequest$inboundSchema2
141790
142276
  };
141791
142277
  tool$llmSpeechSpeakStreaming = {
@@ -141816,9 +142302,9 @@ Convert text to speech with real-time streaming audio delivery.
141816
142302
  - Real-time applications requiring immediate audio playback
141817
142303
  - Interactive voice responses
141818
142304
  - Low-latency text-to-speech scenarios`,
141819
- args: args295,
141820
- tool: async (client, args296, ctx) => {
141821
- const [result, apiCall] = await llmSpeechSpeakStreaming(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142305
+ args: args296,
142306
+ tool: async (client, args297, ctx) => {
142307
+ const [result, apiCall] = await llmSpeechSpeakStreaming(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141822
142308
  if (!result.ok) {
141823
142309
  return {
141824
142310
  content: [{ type: "text", text: result.error.message }],
@@ -141833,9 +142319,9 @@ Convert text to speech with real-time streaming audio delivery.
141833
142319
 
141834
142320
  // src/funcs/llmSpeechTranscribe.ts
141835
142321
  function llmSpeechTranscribe(client, request, options) {
141836
- return new APIPromise($do304(client, request, options));
142322
+ return new APIPromise($do305(client, request, options));
141837
142323
  }
141838
- async function $do304(client, request, options) {
142324
+ async function $do305(client, request, options) {
141839
142325
  const parsed = safeParse4(request, (value) => TranscribeRequest$outboundSchema.parse(value), "Input validation failed");
141840
142326
  if (!parsed.ok) {
141841
142327
  return [parsed, { status: "invalid" }];
@@ -141936,12 +142422,12 @@ var init_llmSpeechTranscribe = __esm(() => {
141936
142422
  });
141937
142423
 
141938
142424
  // src/mcp-server/tools/llmSpeechTranscribe.ts
141939
- var args296, tool$llmSpeechTranscribe;
142425
+ var args297, tool$llmSpeechTranscribe;
141940
142426
  var init_llmSpeechTranscribe2 = __esm(() => {
141941
142427
  init_llmSpeechTranscribe();
141942
142428
  init_operations();
141943
142429
  init_tools();
141944
- args296 = {
142430
+ args297 = {
141945
142431
  request: TranscribeRequest$inboundSchema
141946
142432
  };
141947
142433
  tool$llmSpeechTranscribe = {
@@ -141976,9 +142462,9 @@ curl -X POST "http://localhost:3000/api/v1/llm/speech/transcriptions?language=en
141976
142462
  - \`include_speaker_data\` (optional): When \`true\`, include speaker diarization data and require WAV/PCM input. Otherwise transcription uses the standard compatibility path.
141977
142463
 
141978
142464
  **Response:** Returns transcribed text in JSON format.`,
141979
- args: args296,
141980
- tool: async (client, args297, ctx) => {
141981
- const [result, apiCall] = await llmSpeechTranscribe(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142465
+ args: args297,
142466
+ tool: async (client, args298, ctx) => {
142467
+ const [result, apiCall] = await llmSpeechTranscribe(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
141982
142468
  if (!result.ok) {
141983
142469
  return {
141984
142470
  content: [{ type: "text", text: result.error.message }],
@@ -141993,9 +142479,9 @@ curl -X POST "http://localhost:3000/api/v1/llm/speech/transcriptions?language=en
141993
142479
 
141994
142480
  // src/funcs/llmUsageClassify.ts
141995
142481
  function llmUsageClassify(client, request, options) {
141996
- return new APIPromise($do305(client, request, options));
142482
+ return new APIPromise($do306(client, request, options));
141997
142483
  }
141998
- async function $do305(client, request, options) {
142484
+ async function $do306(client, request, options) {
141999
142485
  const parsed = safeParse4(request, (value) => GetClassifyUsageRequest$outboundSchema.parse(value), "Input validation failed");
142000
142486
  if (!parsed.ok) {
142001
142487
  return [parsed, { status: "invalid" }];
@@ -142086,12 +142572,12 @@ var init_llmUsageClassify = __esm(() => {
142086
142572
  });
142087
142573
 
142088
142574
  // src/mcp-server/tools/llmUsageClassify.ts
142089
- var args297, tool$llmUsageClassify;
142575
+ var args298, tool$llmUsageClassify;
142090
142576
  var init_llmUsageClassify2 = __esm(() => {
142091
142577
  init_llmUsageClassify();
142092
142578
  init_operations();
142093
142579
  init_tools();
142094
- args297 = {
142580
+ args298 = {
142095
142581
  request: GetClassifyUsageRequest$inboundSchema
142096
142582
  };
142097
142583
  tool$llmUsageClassify = {
@@ -142099,9 +142585,9 @@ var init_llmUsageClassify2 = __esm(() => {
142099
142585
  description: `Get classify usage
142100
142586
 
142101
142587
  Retrieve usage metrics for classify operations.`,
142102
- args: args297,
142103
- tool: async (client, args298, ctx) => {
142104
- const [result, apiCall] = await llmUsageClassify(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142588
+ args: args298,
142589
+ tool: async (client, args299, ctx) => {
142590
+ const [result, apiCall] = await llmUsageClassify(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142105
142591
  if (!result.ok) {
142106
142592
  return {
142107
142593
  content: [{ type: "text", text: result.error.message }],
@@ -142116,9 +142602,9 @@ Retrieve usage metrics for classify operations.`,
142116
142602
 
142117
142603
  // src/funcs/llmUsageCompletions.ts
142118
142604
  function llmUsageCompletions(client, request, options) {
142119
- return new APIPromise($do306(client, request, options));
142605
+ return new APIPromise($do307(client, request, options));
142120
142606
  }
142121
- async function $do306(client, request, options) {
142607
+ async function $do307(client, request, options) {
142122
142608
  const parsed = safeParse4(request, (value) => GetCompletionsUsageRequest$outboundSchema.parse(value), "Input validation failed");
142123
142609
  if (!parsed.ok) {
142124
142610
  return [parsed, { status: "invalid" }];
@@ -142209,12 +142695,12 @@ var init_llmUsageCompletions = __esm(() => {
142209
142695
  });
142210
142696
 
142211
142697
  // src/mcp-server/tools/llmUsageCompletions.ts
142212
- var args298, tool$llmUsageCompletions;
142698
+ var args299, tool$llmUsageCompletions;
142213
142699
  var init_llmUsageCompletions2 = __esm(() => {
142214
142700
  init_llmUsageCompletions();
142215
142701
  init_operations();
142216
142702
  init_tools();
142217
- args298 = {
142703
+ args299 = {
142218
142704
  request: GetCompletionsUsageRequest$inboundSchema
142219
142705
  };
142220
142706
  tool$llmUsageCompletions = {
@@ -142222,9 +142708,9 @@ var init_llmUsageCompletions2 = __esm(() => {
142222
142708
  description: `Get completions usage
142223
142709
 
142224
142710
  Retrieve usage metrics for chat completions, aggregated from the ChatCompletion table.`,
142225
- args: args298,
142226
- tool: async (client, args299, ctx) => {
142227
- const [result, apiCall] = await llmUsageCompletions(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142711
+ args: args299,
142712
+ tool: async (client, args300, ctx) => {
142713
+ const [result, apiCall] = await llmUsageCompletions(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142228
142714
  if (!result.ok) {
142229
142715
  return {
142230
142716
  content: [{ type: "text", text: result.error.message }],
@@ -142239,9 +142725,9 @@ Retrieve usage metrics for chat completions, aggregated from the ChatCompletion
142239
142725
 
142240
142726
  // src/funcs/llmUsageConversations.ts
142241
142727
  function llmUsageConversations(client, request, options) {
142242
- return new APIPromise($do307(client, request, options));
142728
+ return new APIPromise($do308(client, request, options));
142243
142729
  }
142244
- async function $do307(client, request, options) {
142730
+ async function $do308(client, request, options) {
142245
142731
  const parsed = safeParse4(request, (value) => GetConversationsUsageRequest$outboundSchema.parse(value), "Input validation failed");
142246
142732
  if (!parsed.ok) {
142247
142733
  return [parsed, { status: "invalid" }];
@@ -142331,12 +142817,12 @@ var init_llmUsageConversations = __esm(() => {
142331
142817
  });
142332
142818
 
142333
142819
  // src/mcp-server/tools/llmUsageConversations.ts
142334
- var args299, tool$llmUsageConversations;
142820
+ var args300, tool$llmUsageConversations;
142335
142821
  var init_llmUsageConversations2 = __esm(() => {
142336
142822
  init_llmUsageConversations();
142337
142823
  init_operations();
142338
142824
  init_tools();
142339
- args299 = {
142825
+ args300 = {
142340
142826
  request: GetConversationsUsageRequest$inboundSchema
142341
142827
  };
142342
142828
  tool$llmUsageConversations = {
@@ -142344,9 +142830,9 @@ var init_llmUsageConversations2 = __esm(() => {
142344
142830
  description: `Get conversations usage
142345
142831
 
142346
142832
  Retrieve usage metrics for conversation operations.`,
142347
- args: args299,
142348
- tool: async (client, args300, ctx) => {
142349
- const [result, apiCall] = await llmUsageConversations(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142833
+ args: args300,
142834
+ tool: async (client, args301, ctx) => {
142835
+ const [result, apiCall] = await llmUsageConversations(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142350
142836
  if (!result.ok) {
142351
142837
  return {
142352
142838
  content: [{ type: "text", text: result.error.message }],
@@ -142361,9 +142847,9 @@ Retrieve usage metrics for conversation operations.`,
142361
142847
 
142362
142848
  // src/funcs/llmUsageCosts.ts
142363
142849
  function llmUsageCosts(client, request, options) {
142364
- return new APIPromise($do308(client, request, options));
142850
+ return new APIPromise($do309(client, request, options));
142365
142851
  }
142366
- async function $do308(client, request, options) {
142852
+ async function $do309(client, request, options) {
142367
142853
  const parsed = safeParse4(request, (value) => GetCostsUsageRequest$outboundSchema.parse(value), "Input validation failed");
142368
142854
  if (!parsed.ok) {
142369
142855
  return [parsed, { status: "invalid" }];
@@ -142448,12 +142934,12 @@ var init_llmUsageCosts = __esm(() => {
142448
142934
  });
142449
142935
 
142450
142936
  // src/mcp-server/tools/llmUsageCosts.ts
142451
- var args300, tool$llmUsageCosts;
142937
+ var args301, tool$llmUsageCosts;
142452
142938
  var init_llmUsageCosts2 = __esm(() => {
142453
142939
  init_llmUsageCosts();
142454
142940
  init_operations();
142455
142941
  init_tools();
142456
- args300 = {
142942
+ args301 = {
142457
142943
  request: GetCostsUsageRequest$inboundSchema
142458
142944
  };
142459
142945
  tool$llmUsageCosts = {
@@ -142461,9 +142947,9 @@ var init_llmUsageCosts2 = __esm(() => {
142461
142947
  description: `Get cost by model
142462
142948
 
142463
142949
  Aggregates spend by model over a time range, priced in the cluster currency from the model price book. Org-scoped: org admins see their org; cluster admins may pass \`org_id\`. Includes billable work with no usage row of its own (store=false responses, agent tool calls), so totals cover all LLM spend. Platform-wide, cross-service cost reporting lives in the budgeting API (/api/v1/budgeting/usage/costs).`,
142464
- args: args300,
142465
- tool: async (client, args301, ctx) => {
142466
- const [result, apiCall] = await llmUsageCosts(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142950
+ args: args301,
142951
+ tool: async (client, args302, ctx) => {
142952
+ const [result, apiCall] = await llmUsageCosts(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142467
142953
  if (!result.ok) {
142468
142954
  return {
142469
142955
  content: [{ type: "text", text: result.error.message }],
@@ -142478,9 +142964,9 @@ Aggregates spend by model over a time range, priced in the cluster currency from
142478
142964
 
142479
142965
  // src/funcs/llmUsageEmbeddings.ts
142480
142966
  function llmUsageEmbeddings(client, request, options) {
142481
- return new APIPromise($do309(client, request, options));
142967
+ return new APIPromise($do310(client, request, options));
142482
142968
  }
142483
- async function $do309(client, request, options) {
142969
+ async function $do310(client, request, options) {
142484
142970
  const parsed = safeParse4(request, (value) => GetEmbeddingsUsageRequest$outboundSchema.parse(value), "Input validation failed");
142485
142971
  if (!parsed.ok) {
142486
142972
  return [parsed, { status: "invalid" }];
@@ -142571,12 +143057,12 @@ var init_llmUsageEmbeddings = __esm(() => {
142571
143057
  });
142572
143058
 
142573
143059
  // src/mcp-server/tools/llmUsageEmbeddings.ts
142574
- var args301, tool$llmUsageEmbeddings;
143060
+ var args302, tool$llmUsageEmbeddings;
142575
143061
  var init_llmUsageEmbeddings2 = __esm(() => {
142576
143062
  init_llmUsageEmbeddings();
142577
143063
  init_operations();
142578
143064
  init_tools();
142579
- args301 = {
143065
+ args302 = {
142580
143066
  request: GetEmbeddingsUsageRequest$inboundSchema
142581
143067
  };
142582
143068
  tool$llmUsageEmbeddings = {
@@ -142584,9 +143070,9 @@ var init_llmUsageEmbeddings2 = __esm(() => {
142584
143070
  description: `Get embeddings usage
142585
143071
 
142586
143072
  Retrieve usage metrics for embedding operations.`,
142587
- args: args301,
142588
- tool: async (client, args302, ctx) => {
142589
- const [result, apiCall] = await llmUsageEmbeddings(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143073
+ args: args302,
143074
+ tool: async (client, args303, ctx) => {
143075
+ const [result, apiCall] = await llmUsageEmbeddings(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142590
143076
  if (!result.ok) {
142591
143077
  return {
142592
143078
  content: [{ type: "text", text: result.error.message }],
@@ -142601,9 +143087,9 @@ Retrieve usage metrics for embedding operations.`,
142601
143087
 
142602
143088
  // src/funcs/llmUsageExtract.ts
142603
143089
  function llmUsageExtract(client, request, options) {
142604
- return new APIPromise($do310(client, request, options));
143090
+ return new APIPromise($do311(client, request, options));
142605
143091
  }
142606
- async function $do310(client, request, options) {
143092
+ async function $do311(client, request, options) {
142607
143093
  const parsed = safeParse4(request, (value) => GetExtractUsageRequest$outboundSchema.parse(value), "Input validation failed");
142608
143094
  if (!parsed.ok) {
142609
143095
  return [parsed, { status: "invalid" }];
@@ -142694,12 +143180,12 @@ var init_llmUsageExtract = __esm(() => {
142694
143180
  });
142695
143181
 
142696
143182
  // src/mcp-server/tools/llmUsageExtract.ts
142697
- var args302, tool$llmUsageExtract;
143183
+ var args303, tool$llmUsageExtract;
142698
143184
  var init_llmUsageExtract2 = __esm(() => {
142699
143185
  init_llmUsageExtract();
142700
143186
  init_operations();
142701
143187
  init_tools();
142702
- args302 = {
143188
+ args303 = {
142703
143189
  request: GetExtractUsageRequest$inboundSchema
142704
143190
  };
142705
143191
  tool$llmUsageExtract = {
@@ -142707,9 +143193,9 @@ var init_llmUsageExtract2 = __esm(() => {
142707
143193
  description: `Get extract usage
142708
143194
 
142709
143195
  Retrieve usage metrics for extract operations.`,
142710
- args: args302,
142711
- tool: async (client, args303, ctx) => {
142712
- const [result, apiCall] = await llmUsageExtract(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143196
+ args: args303,
143197
+ tool: async (client, args304, ctx) => {
143198
+ const [result, apiCall] = await llmUsageExtract(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142713
143199
  if (!result.ok) {
142714
143200
  return {
142715
143201
  content: [{ type: "text", text: result.error.message }],
@@ -142724,9 +143210,9 @@ Retrieve usage metrics for extract operations.`,
142724
143210
 
142725
143211
  // src/funcs/llmUsageFiles.ts
142726
143212
  function llmUsageFiles(client, request, options) {
142727
- return new APIPromise($do311(client, request, options));
143213
+ return new APIPromise($do312(client, request, options));
142728
143214
  }
142729
- async function $do311(client, request, options) {
143215
+ async function $do312(client, request, options) {
142730
143216
  const parsed = safeParse4(request, (value) => GetFilesUsageRequest$outboundSchema.parse(value), "Input validation failed");
142731
143217
  if (!parsed.ok) {
142732
143218
  return [parsed, { status: "invalid" }];
@@ -142816,12 +143302,12 @@ var init_llmUsageFiles = __esm(() => {
142816
143302
  });
142817
143303
 
142818
143304
  // src/mcp-server/tools/llmUsageFiles.ts
142819
- var args303, tool$llmUsageFiles;
143305
+ var args304, tool$llmUsageFiles;
142820
143306
  var init_llmUsageFiles2 = __esm(() => {
142821
143307
  init_llmUsageFiles();
142822
143308
  init_operations();
142823
143309
  init_tools();
142824
- args303 = {
143310
+ args304 = {
142825
143311
  request: GetFilesUsageRequest$inboundSchema
142826
143312
  };
142827
143313
  tool$llmUsageFiles = {
@@ -142829,9 +143315,9 @@ var init_llmUsageFiles2 = __esm(() => {
142829
143315
  description: `Get files usage
142830
143316
 
142831
143317
  Retrieve bytes of files created per period from durable file creation events. This does not reflect current retained storage, buckets remain counted after file deletion, and grouped results collapse by requested output dimensions rather than one row per UserContext.`,
142832
- args: args303,
142833
- tool: async (client, args304, ctx) => {
142834
- const [result, apiCall] = await llmUsageFiles(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143318
+ args: args304,
143319
+ tool: async (client, args305, ctx) => {
143320
+ const [result, apiCall] = await llmUsageFiles(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142835
143321
  if (!result.ok) {
142836
143322
  return {
142837
143323
  content: [{ type: "text", text: result.error.message }],
@@ -142846,9 +143332,9 @@ Retrieve bytes of files created per period from durable file creation events. Th
142846
143332
 
142847
143333
  // src/funcs/llmUsageResponses.ts
142848
143334
  function llmUsageResponses(client, request, options) {
142849
- return new APIPromise($do312(client, request, options));
143335
+ return new APIPromise($do313(client, request, options));
142850
143336
  }
142851
- async function $do312(client, request, options) {
143337
+ async function $do313(client, request, options) {
142852
143338
  const parsed = safeParse4(request, (value) => GetResponsesUsageRequest$outboundSchema.parse(value), "Input validation failed");
142853
143339
  if (!parsed.ok) {
142854
143340
  return [parsed, { status: "invalid" }];
@@ -142940,12 +143426,12 @@ var init_llmUsageResponses = __esm(() => {
142940
143426
  });
142941
143427
 
142942
143428
  // src/mcp-server/tools/llmUsageResponses.ts
142943
- var args304, tool$llmUsageResponses;
143429
+ var args305, tool$llmUsageResponses;
142944
143430
  var init_llmUsageResponses2 = __esm(() => {
142945
143431
  init_llmUsageResponses();
142946
143432
  init_operations();
142947
143433
  init_tools();
142948
- args304 = {
143434
+ args305 = {
142949
143435
  request: GetResponsesUsageRequest$inboundSchema
142950
143436
  };
142951
143437
  tool$llmUsageResponses = {
@@ -142953,9 +143439,9 @@ var init_llmUsageResponses2 = __esm(() => {
142953
143439
  description: `Get responses usage
142954
143440
 
142955
143441
  Retrieve usage metrics for agent responses, aggregated from the Response table.`,
142956
- args: args304,
142957
- tool: async (client, args305, ctx) => {
142958
- const [result, apiCall] = await llmUsageResponses(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143442
+ args: args305,
143443
+ tool: async (client, args306, ctx) => {
143444
+ const [result, apiCall] = await llmUsageResponses(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
142959
143445
  if (!result.ok) {
142960
143446
  return {
142961
143447
  content: [{ type: "text", text: result.error.message }],
@@ -142970,9 +143456,9 @@ Retrieve usage metrics for agent responses, aggregated from the Response table.`
142970
143456
 
142971
143457
  // src/funcs/llmUsageVectorStores.ts
142972
143458
  function llmUsageVectorStores(client, request, options) {
142973
- return new APIPromise($do313(client, request, options));
143459
+ return new APIPromise($do314(client, request, options));
142974
143460
  }
142975
- async function $do313(client, request, options) {
143461
+ async function $do314(client, request, options) {
142976
143462
  const parsed = safeParse4(request, (value) => GetVectorStoresUsageRequest$outboundSchema.parse(value), "Input validation failed");
142977
143463
  if (!parsed.ok) {
142978
143464
  return [parsed, { status: "invalid" }];
@@ -143062,12 +143548,12 @@ var init_llmUsageVectorStores = __esm(() => {
143062
143548
  });
143063
143549
 
143064
143550
  // src/mcp-server/tools/llmUsageVectorStores.ts
143065
- var args305, tool$llmUsageVectorStores;
143551
+ var args306, tool$llmUsageVectorStores;
143066
143552
  var init_llmUsageVectorStores2 = __esm(() => {
143067
143553
  init_llmUsageVectorStores();
143068
143554
  init_operations();
143069
143555
  init_tools();
143070
- args305 = {
143556
+ args306 = {
143071
143557
  request: GetVectorStoresUsageRequest$inboundSchema
143072
143558
  };
143073
143559
  tool$llmUsageVectorStores = {
@@ -143075,9 +143561,9 @@ var init_llmUsageVectorStores2 = __esm(() => {
143075
143561
  description: `Get vector stores usage
143076
143562
 
143077
143563
  Retrieve usage metrics for vector storage operations.`,
143078
- args: args305,
143079
- tool: async (client, args306, ctx) => {
143080
- const [result, apiCall] = await llmUsageVectorStores(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143564
+ args: args306,
143565
+ tool: async (client, args307, ctx) => {
143566
+ const [result, apiCall] = await llmUsageVectorStores(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143081
143567
  if (!result.ok) {
143082
143568
  return {
143083
143569
  content: [{ type: "text", text: result.error.message }],
@@ -143092,9 +143578,9 @@ Retrieve usage metrics for vector storage operations.`,
143092
143578
 
143093
143579
  // src/funcs/llmVectorStoresCancelFileBatch.ts
143094
143580
  function llmVectorStoresCancelFileBatch(client, request, options) {
143095
- return new APIPromise($do314(client, request, options));
143581
+ return new APIPromise($do315(client, request, options));
143096
143582
  }
143097
- async function $do314(client, request, options) {
143583
+ async function $do315(client, request, options) {
143098
143584
  const parsed = safeParse4(request, (value) => CancelVectorStoreFileBatchRequest$outboundSchema.parse(value), "Input validation failed");
143099
143585
  if (!parsed.ok) {
143100
143586
  return [parsed, { status: "invalid" }];
@@ -143182,12 +143668,12 @@ var init_llmVectorStoresCancelFileBatch = __esm(() => {
143182
143668
  });
143183
143669
 
143184
143670
  // src/mcp-server/tools/llmVectorStoresCancelFileBatch.ts
143185
- var args306, tool$llmVectorStoresCancelFileBatch;
143671
+ var args307, tool$llmVectorStoresCancelFileBatch;
143186
143672
  var init_llmVectorStoresCancelFileBatch2 = __esm(() => {
143187
143673
  init_llmVectorStoresCancelFileBatch();
143188
143674
  init_operations();
143189
143675
  init_tools();
143190
- args306 = {
143676
+ args307 = {
143191
143677
  request: CancelVectorStoreFileBatchRequest$inboundSchema
143192
143678
  };
143193
143679
  tool$llmVectorStoresCancelFileBatch = {
@@ -143195,9 +143681,9 @@ var init_llmVectorStoresCancelFileBatch2 = __esm(() => {
143195
143681
  description: `Cancel batch file processing
143196
143682
 
143197
143683
  Cancels an in-progress file batch operation.`,
143198
- args: args306,
143199
- tool: async (client, args307, ctx) => {
143200
- const [result, apiCall] = await llmVectorStoresCancelFileBatch(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143684
+ args: args307,
143685
+ tool: async (client, args308, ctx) => {
143686
+ const [result, apiCall] = await llmVectorStoresCancelFileBatch(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143201
143687
  if (!result.ok) {
143202
143688
  return {
143203
143689
  content: [{ type: "text", text: result.error.message }],
@@ -143212,9 +143698,9 @@ Cancels an in-progress file batch operation.`,
143212
143698
 
143213
143699
  // src/funcs/llmVectorStoresCreate.ts
143214
143700
  function llmVectorStoresCreate(client, request, options) {
143215
- return new APIPromise($do315(client, request, options));
143701
+ return new APIPromise($do316(client, request, options));
143216
143702
  }
143217
- async function $do315(client, request, options) {
143703
+ async function $do316(client, request, options) {
143218
143704
  const parsed = safeParse4(request, (value) => CreateVectorStoreRequest$outboundSchema2.parse(value), "Input validation failed");
143219
143705
  if (!parsed.ok) {
143220
143706
  return [parsed, { status: "invalid" }];
@@ -143295,12 +143781,12 @@ var init_llmVectorStoresCreate = __esm(() => {
143295
143781
  });
143296
143782
 
143297
143783
  // src/mcp-server/tools/llmVectorStoresCreate.ts
143298
- var args307, tool$llmVectorStoresCreate;
143784
+ var args308, tool$llmVectorStoresCreate;
143299
143785
  var init_llmVectorStoresCreate2 = __esm(() => {
143300
143786
  init_llmVectorStoresCreate();
143301
143787
  init_operations();
143302
143788
  init_tools();
143303
- args307 = {
143789
+ args308 = {
143304
143790
  request: CreateVectorStoreRequest$inboundSchema2
143305
143791
  };
143306
143792
  tool$llmVectorStoresCreate = {
@@ -143308,9 +143794,9 @@ var init_llmVectorStoresCreate2 = __esm(() => {
143308
143794
  description: `Create a vector store
143309
143795
 
143310
143796
  Creates a new vector store for storing and searching through document embeddings.`,
143311
- args: args307,
143312
- tool: async (client, args308, ctx) => {
143313
- const [result, apiCall] = await llmVectorStoresCreate(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143797
+ args: args308,
143798
+ tool: async (client, args309, ctx) => {
143799
+ const [result, apiCall] = await llmVectorStoresCreate(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143314
143800
  if (!result.ok) {
143315
143801
  return {
143316
143802
  content: [{ type: "text", text: result.error.message }],
@@ -143325,9 +143811,9 @@ Creates a new vector store for storing and searching through document embeddings
143325
143811
 
143326
143812
  // src/funcs/llmVectorStoresCreateFile.ts
143327
143813
  function llmVectorStoresCreateFile(client, request, options) {
143328
- return new APIPromise($do316(client, request, options));
143814
+ return new APIPromise($do317(client, request, options));
143329
143815
  }
143330
- async function $do316(client, request, options) {
143816
+ async function $do317(client, request, options) {
143331
143817
  const parsed = safeParse4(request, (value) => CreateVectorStoreFileRequest$outboundSchema2.parse(value), "Input validation failed");
143332
143818
  if (!parsed.ok) {
143333
143819
  return [parsed, { status: "invalid" }];
@@ -143414,12 +143900,12 @@ var init_llmVectorStoresCreateFile = __esm(() => {
143414
143900
  });
143415
143901
 
143416
143902
  // src/mcp-server/tools/llmVectorStoresCreateFile.ts
143417
- var args308, tool$llmVectorStoresCreateFile;
143903
+ var args309, tool$llmVectorStoresCreateFile;
143418
143904
  var init_llmVectorStoresCreateFile2 = __esm(() => {
143419
143905
  init_llmVectorStoresCreateFile();
143420
143906
  init_operations();
143421
143907
  init_tools();
143422
- args308 = {
143908
+ args309 = {
143423
143909
  request: CreateVectorStoreFileRequest$inboundSchema2
143424
143910
  };
143425
143911
  tool$llmVectorStoresCreateFile = {
@@ -143427,9 +143913,9 @@ var init_llmVectorStoresCreateFile2 = __esm(() => {
143427
143913
  description: `Add a file to a vector store
143428
143914
 
143429
143915
  Adds a file to a vector store for semantic search indexing.`,
143430
- args: args308,
143431
- tool: async (client, args309, ctx) => {
143432
- const [result, apiCall] = await llmVectorStoresCreateFile(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143916
+ args: args309,
143917
+ tool: async (client, args310, ctx) => {
143918
+ const [result, apiCall] = await llmVectorStoresCreateFile(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143433
143919
  if (!result.ok) {
143434
143920
  return {
143435
143921
  content: [{ type: "text", text: result.error.message }],
@@ -143444,9 +143930,9 @@ Adds a file to a vector store for semantic search indexing.`,
143444
143930
 
143445
143931
  // src/funcs/llmVectorStoresCreateFileBatch.ts
143446
143932
  function llmVectorStoresCreateFileBatch(client, request, options) {
143447
- return new APIPromise($do317(client, request, options));
143933
+ return new APIPromise($do318(client, request, options));
143448
143934
  }
143449
- async function $do317(client, request, options) {
143935
+ async function $do318(client, request, options) {
143450
143936
  const parsed = safeParse4(request, (value) => CreateVectorStoreFileBatchRequest$outboundSchema2.parse(value), "Input validation failed");
143451
143937
  if (!parsed.ok) {
143452
143938
  return [parsed, { status: "invalid" }];
@@ -143533,12 +144019,12 @@ var init_llmVectorStoresCreateFileBatch = __esm(() => {
143533
144019
  });
143534
144020
 
143535
144021
  // src/mcp-server/tools/llmVectorStoresCreateFileBatch.ts
143536
- var args309, tool$llmVectorStoresCreateFileBatch;
144022
+ var args310, tool$llmVectorStoresCreateFileBatch;
143537
144023
  var init_llmVectorStoresCreateFileBatch2 = __esm(() => {
143538
144024
  init_llmVectorStoresCreateFileBatch();
143539
144025
  init_operations();
143540
144026
  init_tools();
143541
- args309 = {
144027
+ args310 = {
143542
144028
  request: CreateVectorStoreFileBatchRequest$inboundSchema2
143543
144029
  };
143544
144030
  tool$llmVectorStoresCreateFileBatch = {
@@ -143546,9 +144032,9 @@ var init_llmVectorStoresCreateFileBatch2 = __esm(() => {
143546
144032
  description: `Batch add multiple files to vector store
143547
144033
 
143548
144034
  Adds multiple files to a vector store in a single batch operation.`,
143549
- args: args309,
143550
- tool: async (client, args310, ctx) => {
143551
- const [result, apiCall] = await llmVectorStoresCreateFileBatch(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144035
+ args: args310,
144036
+ tool: async (client, args311, ctx) => {
144037
+ const [result, apiCall] = await llmVectorStoresCreateFileBatch(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143552
144038
  if (!result.ok) {
143553
144039
  return {
143554
144040
  content: [{ type: "text", text: result.error.message }],
@@ -143563,9 +144049,9 @@ Adds multiple files to a vector store in a single batch operation.`,
143563
144049
 
143564
144050
  // src/funcs/llmVectorStoresDelete.ts
143565
144051
  function llmVectorStoresDelete(client, request, options) {
143566
- return new APIPromise($do318(client, request, options));
144052
+ return new APIPromise($do319(client, request, options));
143567
144053
  }
143568
- async function $do318(client, request, options) {
144054
+ async function $do319(client, request, options) {
143569
144055
  const parsed = safeParse4(request, (value) => DeleteVectorStoreRequest$outboundSchema.parse(value), "Input validation failed");
143570
144056
  if (!parsed.ok) {
143571
144057
  return [parsed, { status: "invalid" }];
@@ -143649,12 +144135,12 @@ var init_llmVectorStoresDelete = __esm(() => {
143649
144135
  });
143650
144136
 
143651
144137
  // src/mcp-server/tools/llmVectorStoresDelete.ts
143652
- var args310, tool$llmVectorStoresDelete;
144138
+ var args311, tool$llmVectorStoresDelete;
143653
144139
  var init_llmVectorStoresDelete2 = __esm(() => {
143654
144140
  init_llmVectorStoresDelete();
143655
144141
  init_operations();
143656
144142
  init_tools();
143657
- args310 = {
144143
+ args311 = {
143658
144144
  request: DeleteVectorStoreRequest$inboundSchema
143659
144145
  };
143660
144146
  tool$llmVectorStoresDelete = {
@@ -143662,9 +144148,9 @@ var init_llmVectorStoresDelete2 = __esm(() => {
143662
144148
  description: `Delete a vector store
143663
144149
 
143664
144150
  Permanently deletes a vector store and its associated embeddings.`,
143665
- args: args310,
143666
- tool: async (client, args311, ctx) => {
143667
- const [result, apiCall] = await llmVectorStoresDelete(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144151
+ args: args311,
144152
+ tool: async (client, args312, ctx) => {
144153
+ const [result, apiCall] = await llmVectorStoresDelete(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143668
144154
  if (!result.ok) {
143669
144155
  return {
143670
144156
  content: [{ type: "text", text: result.error.message }],
@@ -143679,9 +144165,9 @@ Permanently deletes a vector store and its associated embeddings.`,
143679
144165
 
143680
144166
  // src/funcs/llmVectorStoresDeleteFile.ts
143681
144167
  function llmVectorStoresDeleteFile(client, request, options) {
143682
- return new APIPromise($do319(client, request, options));
144168
+ return new APIPromise($do320(client, request, options));
143683
144169
  }
143684
- async function $do319(client, request, options) {
144170
+ async function $do320(client, request, options) {
143685
144171
  const parsed = safeParse4(request, (value) => DeleteVectorStoreFileRequest$outboundSchema.parse(value), "Input validation failed");
143686
144172
  if (!parsed.ok) {
143687
144173
  return [parsed, { status: "invalid" }];
@@ -143769,12 +144255,12 @@ var init_llmVectorStoresDeleteFile = __esm(() => {
143769
144255
  });
143770
144256
 
143771
144257
  // src/mcp-server/tools/llmVectorStoresDeleteFile.ts
143772
- var args311, tool$llmVectorStoresDeleteFile;
144258
+ var args312, tool$llmVectorStoresDeleteFile;
143773
144259
  var init_llmVectorStoresDeleteFile2 = __esm(() => {
143774
144260
  init_llmVectorStoresDeleteFile();
143775
144261
  init_operations();
143776
144262
  init_tools();
143777
- args311 = {
144263
+ args312 = {
143778
144264
  request: DeleteVectorStoreFileRequest$inboundSchema
143779
144265
  };
143780
144266
  tool$llmVectorStoresDeleteFile = {
@@ -143782,9 +144268,9 @@ var init_llmVectorStoresDeleteFile2 = __esm(() => {
143782
144268
  description: `Remove file from vector store
143783
144269
 
143784
144270
  Removes a file from a vector store and deletes its associated embeddings.`,
143785
- args: args311,
143786
- tool: async (client, args312, ctx) => {
143787
- const [result, apiCall] = await llmVectorStoresDeleteFile(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144271
+ args: args312,
144272
+ tool: async (client, args313, ctx) => {
144273
+ const [result, apiCall] = await llmVectorStoresDeleteFile(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143788
144274
  if (!result.ok) {
143789
144275
  return {
143790
144276
  content: [{ type: "text", text: result.error.message }],
@@ -143799,9 +144285,9 @@ Removes a file from a vector store and deletes its associated embeddings.`,
143799
144285
 
143800
144286
  // src/funcs/llmVectorStoresGet.ts
143801
144287
  function llmVectorStoresGet(client, request, options) {
143802
- return new APIPromise($do320(client, request, options));
144288
+ return new APIPromise($do321(client, request, options));
143803
144289
  }
143804
- async function $do320(client, request, options) {
144290
+ async function $do321(client, request, options) {
143805
144291
  const parsed = safeParse4(request, (value) => GetVectorStoreRequest$outboundSchema.parse(value), "Input validation failed");
143806
144292
  if (!parsed.ok) {
143807
144293
  return [parsed, { status: "invalid" }];
@@ -143885,12 +144371,12 @@ var init_llmVectorStoresGet = __esm(() => {
143885
144371
  });
143886
144372
 
143887
144373
  // src/mcp-server/tools/llmVectorStoresGet.ts
143888
- var args312, tool$llmVectorStoresGet;
144374
+ var args313, tool$llmVectorStoresGet;
143889
144375
  var init_llmVectorStoresGet2 = __esm(() => {
143890
144376
  init_llmVectorStoresGet();
143891
144377
  init_operations();
143892
144378
  init_tools();
143893
- args312 = {
144379
+ args313 = {
143894
144380
  request: GetVectorStoreRequest$inboundSchema
143895
144381
  };
143896
144382
  tool$llmVectorStoresGet = {
@@ -143898,9 +144384,9 @@ var init_llmVectorStoresGet2 = __esm(() => {
143898
144384
  description: `Retrieve a vector store
143899
144385
 
143900
144386
  Retrieves a vector store by its ID.`,
143901
- args: args312,
143902
- tool: async (client, args313, ctx) => {
143903
- const [result, apiCall] = await llmVectorStoresGet(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144387
+ args: args313,
144388
+ tool: async (client, args314, ctx) => {
144389
+ const [result, apiCall] = await llmVectorStoresGet(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
143904
144390
  if (!result.ok) {
143905
144391
  return {
143906
144392
  content: [{ type: "text", text: result.error.message }],
@@ -143915,9 +144401,9 @@ Retrieves a vector store by its ID.`,
143915
144401
 
143916
144402
  // src/funcs/llmVectorStoresGetFile.ts
143917
144403
  function llmVectorStoresGetFile(client, request, options) {
143918
- return new APIPromise($do321(client, request, options));
144404
+ return new APIPromise($do322(client, request, options));
143919
144405
  }
143920
- async function $do321(client, request, options) {
144406
+ async function $do322(client, request, options) {
143921
144407
  const parsed = safeParse4(request, (value) => GetVectorStoreFileRequest$outboundSchema.parse(value), "Input validation failed");
143922
144408
  if (!parsed.ok) {
143923
144409
  return [parsed, { status: "invalid" }];
@@ -144005,12 +144491,12 @@ var init_llmVectorStoresGetFile = __esm(() => {
144005
144491
  });
144006
144492
 
144007
144493
  // src/mcp-server/tools/llmVectorStoresGetFile.ts
144008
- var args313, tool$llmVectorStoresGetFile;
144494
+ var args314, tool$llmVectorStoresGetFile;
144009
144495
  var init_llmVectorStoresGetFile2 = __esm(() => {
144010
144496
  init_llmVectorStoresGetFile();
144011
144497
  init_operations();
144012
144498
  init_tools();
144013
- args313 = {
144499
+ args314 = {
144014
144500
  request: GetVectorStoreFileRequest$inboundSchema
144015
144501
  };
144016
144502
  tool$llmVectorStoresGetFile = {
@@ -144018,9 +144504,9 @@ var init_llmVectorStoresGetFile2 = __esm(() => {
144018
144504
  description: `Retrieve a vector store file
144019
144505
 
144020
144506
  Retrieves detailed information about a specific file within a vector store.`,
144021
- args: args313,
144022
- tool: async (client, args314, ctx) => {
144023
- const [result, apiCall] = await llmVectorStoresGetFile(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144507
+ args: args314,
144508
+ tool: async (client, args315, ctx) => {
144509
+ const [result, apiCall] = await llmVectorStoresGetFile(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144024
144510
  if (!result.ok) {
144025
144511
  return {
144026
144512
  content: [{ type: "text", text: result.error.message }],
@@ -144035,9 +144521,9 @@ Retrieves detailed information about a specific file within a vector store.`,
144035
144521
 
144036
144522
  // src/funcs/llmVectorStoresGetFileBatch.ts
144037
144523
  function llmVectorStoresGetFileBatch(client, request, options) {
144038
- return new APIPromise($do322(client, request, options));
144524
+ return new APIPromise($do323(client, request, options));
144039
144525
  }
144040
- async function $do322(client, request, options) {
144526
+ async function $do323(client, request, options) {
144041
144527
  const parsed = safeParse4(request, (value) => GetVectorStoreFileBatchRequest$outboundSchema.parse(value), "Input validation failed");
144042
144528
  if (!parsed.ok) {
144043
144529
  return [parsed, { status: "invalid" }];
@@ -144125,12 +144611,12 @@ var init_llmVectorStoresGetFileBatch = __esm(() => {
144125
144611
  });
144126
144612
 
144127
144613
  // src/mcp-server/tools/llmVectorStoresGetFileBatch.ts
144128
- var args314, tool$llmVectorStoresGetFileBatch;
144614
+ var args315, tool$llmVectorStoresGetFileBatch;
144129
144615
  var init_llmVectorStoresGetFileBatch2 = __esm(() => {
144130
144616
  init_llmVectorStoresGetFileBatch();
144131
144617
  init_operations();
144132
144618
  init_tools();
144133
- args314 = {
144619
+ args315 = {
144134
144620
  request: GetVectorStoreFileBatchRequest$inboundSchema
144135
144621
  };
144136
144622
  tool$llmVectorStoresGetFileBatch = {
@@ -144138,9 +144624,9 @@ var init_llmVectorStoresGetFileBatch2 = __esm(() => {
144138
144624
  description: `Retrieve file batch status
144139
144625
 
144140
144626
  Retrieves the status of a specific file batch operation within a vector store.`,
144141
- args: args314,
144142
- tool: async (client, args315, ctx) => {
144143
- const [result, apiCall] = await llmVectorStoresGetFileBatch(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144627
+ args: args315,
144628
+ tool: async (client, args316, ctx) => {
144629
+ const [result, apiCall] = await llmVectorStoresGetFileBatch(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144144
144630
  if (!result.ok) {
144145
144631
  return {
144146
144632
  content: [{ type: "text", text: result.error.message }],
@@ -144155,9 +144641,9 @@ Retrieves the status of a specific file batch operation within a vector store.`,
144155
144641
 
144156
144642
  // src/funcs/llmVectorStoresGetFileContent.ts
144157
144643
  function llmVectorStoresGetFileContent(client, request, options) {
144158
- return new APIPromise($do323(client, request, options));
144644
+ return new APIPromise($do324(client, request, options));
144159
144645
  }
144160
- async function $do323(client, request, options) {
144646
+ async function $do324(client, request, options) {
144161
144647
  const parsed = safeParse4(request, (value) => GetVectorStoreFileContentRequest$outboundSchema.parse(value), "Input validation failed");
144162
144648
  if (!parsed.ok) {
144163
144649
  return [parsed, { status: "invalid" }];
@@ -144245,12 +144731,12 @@ var init_llmVectorStoresGetFileContent = __esm(() => {
144245
144731
  });
144246
144732
 
144247
144733
  // src/mcp-server/tools/llmVectorStoresGetFileContent.ts
144248
- var args315, tool$llmVectorStoresGetFileContent;
144734
+ var args316, tool$llmVectorStoresGetFileContent;
144249
144735
  var init_llmVectorStoresGetFileContent2 = __esm(() => {
144250
144736
  init_llmVectorStoresGetFileContent();
144251
144737
  init_operations();
144252
144738
  init_tools();
144253
- args315 = {
144739
+ args316 = {
144254
144740
  request: GetVectorStoreFileContentRequest$inboundSchema
144255
144741
  };
144256
144742
  tool$llmVectorStoresGetFileContent = {
@@ -144258,9 +144744,9 @@ var init_llmVectorStoresGetFileContent2 = __esm(() => {
144258
144744
  description: `Retrieve parsed file content
144259
144745
 
144260
144746
  Retrieves the complete parsed contents of a file within a vector store.`,
144261
- args: args315,
144262
- tool: async (client, args316, ctx) => {
144263
- const [result, apiCall] = await llmVectorStoresGetFileContent(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144747
+ args: args316,
144748
+ tool: async (client, args317, ctx) => {
144749
+ const [result, apiCall] = await llmVectorStoresGetFileContent(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144264
144750
  if (!result.ok) {
144265
144751
  return {
144266
144752
  content: [{ type: "text", text: result.error.message }],
@@ -144275,9 +144761,9 @@ Retrieves the complete parsed contents of a file within a vector store.`,
144275
144761
 
144276
144762
  // src/funcs/llmVectorStoresList.ts
144277
144763
  function llmVectorStoresList(client, request, options) {
144278
- return new APIPromise($do324(client, request, options));
144764
+ return new APIPromise($do325(client, request, options));
144279
144765
  }
144280
- async function $do324(client, request, options) {
144766
+ async function $do325(client, request, options) {
144281
144767
  const parsed = safeParse4(request, (value) => ListVectorStoresRequest$outboundSchema.parse(value), "Input validation failed");
144282
144768
  if (!parsed.ok) {
144283
144769
  return [parsed, { status: "invalid" }];
@@ -144362,12 +144848,12 @@ var init_llmVectorStoresList = __esm(() => {
144362
144848
  });
144363
144849
 
144364
144850
  // src/mcp-server/tools/llmVectorStoresList.ts
144365
- var args316, tool$llmVectorStoresList;
144851
+ var args317, tool$llmVectorStoresList;
144366
144852
  var init_llmVectorStoresList2 = __esm(() => {
144367
144853
  init_llmVectorStoresList();
144368
144854
  init_operations();
144369
144855
  init_tools();
144370
- args316 = {
144856
+ args317 = {
144371
144857
  request: ListVectorStoresRequest$inboundSchema
144372
144858
  };
144373
144859
  tool$llmVectorStoresList = {
@@ -144375,9 +144861,9 @@ var init_llmVectorStoresList2 = __esm(() => {
144375
144861
  description: `List vector stores
144376
144862
 
144377
144863
  Retrieves a paginated list of all vector stores for the authenticated user.`,
144378
- args: args316,
144379
- tool: async (client, args317, ctx) => {
144380
- const [result, apiCall] = await llmVectorStoresList(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144864
+ args: args317,
144865
+ tool: async (client, args318, ctx) => {
144866
+ const [result, apiCall] = await llmVectorStoresList(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144381
144867
  if (!result.ok) {
144382
144868
  return {
144383
144869
  content: [{ type: "text", text: result.error.message }],
@@ -144392,9 +144878,9 @@ Retrieves a paginated list of all vector stores for the authenticated user.`,
144392
144878
 
144393
144879
  // src/funcs/llmVectorStoresListFiles.ts
144394
144880
  function llmVectorStoresListFiles(client, request, options) {
144395
- return new APIPromise($do325(client, request, options));
144881
+ return new APIPromise($do326(client, request, options));
144396
144882
  }
144397
- async function $do325(client, request, options) {
144883
+ async function $do326(client, request, options) {
144398
144884
  const parsed = safeParse4(request, (value) => ListVectorStoreFilesRequest$outboundSchema.parse(value), "Input validation failed");
144399
144885
  if (!parsed.ok) {
144400
144886
  return [parsed, { status: "invalid" }];
@@ -144486,12 +144972,12 @@ var init_llmVectorStoresListFiles = __esm(() => {
144486
144972
  });
144487
144973
 
144488
144974
  // src/mcp-server/tools/llmVectorStoresListFiles.ts
144489
- var args317, tool$llmVectorStoresListFiles;
144975
+ var args318, tool$llmVectorStoresListFiles;
144490
144976
  var init_llmVectorStoresListFiles2 = __esm(() => {
144491
144977
  init_llmVectorStoresListFiles();
144492
144978
  init_operations();
144493
144979
  init_tools();
144494
- args317 = {
144980
+ args318 = {
144495
144981
  request: ListVectorStoreFilesRequest$inboundSchema
144496
144982
  };
144497
144983
  tool$llmVectorStoresListFiles = {
@@ -144499,9 +144985,9 @@ var init_llmVectorStoresListFiles2 = __esm(() => {
144499
144985
  description: `List files in a vector store
144500
144986
 
144501
144987
  Retrieves a paginated list of all files in a specific vector store.`,
144502
- args: args317,
144503
- tool: async (client, args318, ctx) => {
144504
- const [result, apiCall] = await llmVectorStoresListFiles(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144988
+ args: args318,
144989
+ tool: async (client, args319, ctx) => {
144990
+ const [result, apiCall] = await llmVectorStoresListFiles(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144505
144991
  if (!result.ok) {
144506
144992
  return {
144507
144993
  content: [{ type: "text", text: result.error.message }],
@@ -144516,9 +145002,9 @@ Retrieves a paginated list of all files in a specific vector store.`,
144516
145002
 
144517
145003
  // src/funcs/llmVectorStoresListFilesInBatch.ts
144518
145004
  function llmVectorStoresListFilesInBatch(client, request, options) {
144519
- return new APIPromise($do326(client, request, options));
145005
+ return new APIPromise($do327(client, request, options));
144520
145006
  }
144521
- async function $do326(client, request, options) {
145007
+ async function $do327(client, request, options) {
144522
145008
  const parsed = safeParse4(request, (value) => ListVectorStoreFilesInBatchRequest$outboundSchema.parse(value), "Input validation failed");
144523
145009
  if (!parsed.ok) {
144524
145010
  return [parsed, { status: "invalid" }];
@@ -144614,12 +145100,12 @@ var init_llmVectorStoresListFilesInBatch = __esm(() => {
144614
145100
  });
144615
145101
 
144616
145102
  // src/mcp-server/tools/llmVectorStoresListFilesInBatch.ts
144617
- var args318, tool$llmVectorStoresListFilesInBatch;
145103
+ var args319, tool$llmVectorStoresListFilesInBatch;
144618
145104
  var init_llmVectorStoresListFilesInBatch2 = __esm(() => {
144619
145105
  init_llmVectorStoresListFilesInBatch();
144620
145106
  init_operations();
144621
145107
  init_tools();
144622
- args318 = {
145108
+ args319 = {
144623
145109
  request: ListVectorStoreFilesInBatchRequest$inboundSchema
144624
145110
  };
144625
145111
  tool$llmVectorStoresListFilesInBatch = {
@@ -144627,9 +145113,9 @@ var init_llmVectorStoresListFilesInBatch2 = __esm(() => {
144627
145113
  description: `List files in a batch
144628
145114
 
144629
145115
  Retrieves a paginated list of all files within a specific batch operation.`,
144630
- args: args318,
144631
- tool: async (client, args319, ctx) => {
144632
- const [result, apiCall] = await llmVectorStoresListFilesInBatch(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145116
+ args: args319,
145117
+ tool: async (client, args320, ctx) => {
145118
+ const [result, apiCall] = await llmVectorStoresListFilesInBatch(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144633
145119
  if (!result.ok) {
144634
145120
  return {
144635
145121
  content: [{ type: "text", text: result.error.message }],
@@ -144644,9 +145130,9 @@ Retrieves a paginated list of all files within a specific batch operation.`,
144644
145130
 
144645
145131
  // src/funcs/llmVectorStoresSearch.ts
144646
145132
  function llmVectorStoresSearch(client, request, options) {
144647
- return new APIPromise($do327(client, request, options));
145133
+ return new APIPromise($do328(client, request, options));
144648
145134
  }
144649
- async function $do327(client, request, options) {
145135
+ async function $do328(client, request, options) {
144650
145136
  const parsed = safeParse4(request, (value) => SearchVectorStoreRequest$outboundSchema2.parse(value), "Input validation failed");
144651
145137
  if (!parsed.ok) {
144652
145138
  return [parsed, { status: "invalid" }];
@@ -144733,12 +145219,12 @@ var init_llmVectorStoresSearch = __esm(() => {
144733
145219
  });
144734
145220
 
144735
145221
  // src/mcp-server/tools/llmVectorStoresSearch.ts
144736
- var args319, tool$llmVectorStoresSearch;
145222
+ var args320, tool$llmVectorStoresSearch;
144737
145223
  var init_llmVectorStoresSearch2 = __esm(() => {
144738
145224
  init_llmVectorStoresSearch();
144739
145225
  init_operations();
144740
145226
  init_tools();
144741
- args319 = {
145227
+ args320 = {
144742
145228
  request: SearchVectorStoreRequest$inboundSchema2
144743
145229
  };
144744
145230
  tool$llmVectorStoresSearch = {
@@ -144746,9 +145232,9 @@ var init_llmVectorStoresSearch2 = __esm(() => {
144746
145232
  description: `Search a vector store
144747
145233
 
144748
145234
  Performs semantic search within a vector store to find the most relevant document chunks for a query.`,
144749
- args: args319,
144750
- tool: async (client, args320, ctx) => {
144751
- const [result, apiCall] = await llmVectorStoresSearch(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145235
+ args: args320,
145236
+ tool: async (client, args321, ctx) => {
145237
+ const [result, apiCall] = await llmVectorStoresSearch(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144752
145238
  if (!result.ok) {
144753
145239
  return {
144754
145240
  content: [{ type: "text", text: result.error.message }],
@@ -144763,9 +145249,9 @@ Performs semantic search within a vector store to find the most relevant documen
144763
145249
 
144764
145250
  // src/funcs/llmVectorStoresUpdate.ts
144765
145251
  function llmVectorStoresUpdate(client, request, options) {
144766
- return new APIPromise($do328(client, request, options));
145252
+ return new APIPromise($do329(client, request, options));
144767
145253
  }
144768
- async function $do328(client, request, options) {
145254
+ async function $do329(client, request, options) {
144769
145255
  const parsed = safeParse4(request, (value) => ModifyVectorStoreRequest$outboundSchema2.parse(value), "Input validation failed");
144770
145256
  if (!parsed.ok) {
144771
145257
  return [parsed, { status: "invalid" }];
@@ -144852,12 +145338,12 @@ var init_llmVectorStoresUpdate = __esm(() => {
144852
145338
  });
144853
145339
 
144854
145340
  // src/mcp-server/tools/llmVectorStoresUpdate.ts
144855
- var args320, tool$llmVectorStoresUpdate;
145341
+ var args321, tool$llmVectorStoresUpdate;
144856
145342
  var init_llmVectorStoresUpdate2 = __esm(() => {
144857
145343
  init_llmVectorStoresUpdate();
144858
145344
  init_operations();
144859
145345
  init_tools();
144860
- args320 = {
145346
+ args321 = {
144861
145347
  request: ModifyVectorStoreRequest$inboundSchema2
144862
145348
  };
144863
145349
  tool$llmVectorStoresUpdate = {
@@ -144865,9 +145351,9 @@ var init_llmVectorStoresUpdate2 = __esm(() => {
144865
145351
  description: `Modify a vector store
144866
145352
 
144867
145353
  Updates the properties of an existing vector store.`,
144868
- args: args320,
144869
- tool: async (client, args321, ctx) => {
144870
- const [result, apiCall] = await llmVectorStoresUpdate(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145354
+ args: args321,
145355
+ tool: async (client, args322, ctx) => {
145356
+ const [result, apiCall] = await llmVectorStoresUpdate(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144871
145357
  if (!result.ok) {
144872
145358
  return {
144873
145359
  content: [{ type: "text", text: result.error.message }],
@@ -144882,9 +145368,9 @@ Updates the properties of an existing vector store.`,
144882
145368
 
144883
145369
  // src/funcs/llmVectorStoresUpdateFile.ts
144884
145370
  function llmVectorStoresUpdateFile(client, request, options) {
144885
- return new APIPromise($do329(client, request, options));
145371
+ return new APIPromise($do330(client, request, options));
144886
145372
  }
144887
- async function $do329(client, request, options) {
145373
+ async function $do330(client, request, options) {
144888
145374
  const parsed = safeParse4(request, (value) => UpdateVectorStoreFileAttributesRequest$outboundSchema2.parse(value), "Input validation failed");
144889
145375
  if (!parsed.ok) {
144890
145376
  return [parsed, { status: "invalid" }];
@@ -144973,12 +145459,12 @@ var init_llmVectorStoresUpdateFile = __esm(() => {
144973
145459
  });
144974
145460
 
144975
145461
  // src/mcp-server/tools/llmVectorStoresUpdateFile.ts
144976
- var args321, tool$llmVectorStoresUpdateFile;
145462
+ var args322, tool$llmVectorStoresUpdateFile;
144977
145463
  var init_llmVectorStoresUpdateFile2 = __esm(() => {
144978
145464
  init_llmVectorStoresUpdateFile();
144979
145465
  init_operations();
144980
145466
  init_tools();
144981
- args321 = {
145467
+ args322 = {
144982
145468
  request: UpdateVectorStoreFileAttributesRequest$inboundSchema2
144983
145469
  };
144984
145470
  tool$llmVectorStoresUpdateFile = {
@@ -144986,9 +145472,9 @@ var init_llmVectorStoresUpdateFile2 = __esm(() => {
144986
145472
  description: `Update file attributes
144987
145473
 
144988
145474
  Updates the metadata attributes attached to a file within a vector store.`,
144989
- args: args321,
144990
- tool: async (client, args322, ctx) => {
144991
- const [result, apiCall] = await llmVectorStoresUpdateFile(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145475
+ args: args322,
145476
+ tool: async (client, args323, ctx) => {
145477
+ const [result, apiCall] = await llmVectorStoresUpdateFile(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
144992
145478
  if (!result.ok) {
144993
145479
  return {
144994
145480
  content: [{ type: "text", text: result.error.message }],
@@ -145003,9 +145489,9 @@ Updates the metadata attributes attached to a file within a vector store.`,
145003
145489
 
145004
145490
  // src/funcs/permissionsLlmCheck.ts
145005
145491
  function permissionsLlmCheck(client, request, options) {
145006
- return new APIPromise($do330(client, request, options));
145492
+ return new APIPromise($do331(client, request, options));
145007
145493
  }
145008
- async function $do330(client, request, options) {
145494
+ async function $do331(client, request, options) {
145009
145495
  const parsed = safeParse4(request, (value) => LlmCheckRequest$outboundSchema.parse(value), "Input validation failed");
145010
145496
  if (!parsed.ok) {
145011
145497
  return [parsed, { status: "invalid" }];
@@ -145089,12 +145575,12 @@ var init_permissionsLlmCheck = __esm(() => {
145089
145575
  });
145090
145576
 
145091
145577
  // src/mcp-server/tools/permissionsLlmCheck.ts
145092
- var args322, tool$permissionsLlmCheck;
145578
+ var args323, tool$permissionsLlmCheck;
145093
145579
  var init_permissionsLlmCheck2 = __esm(() => {
145094
145580
  init_permissionsLlmCheck();
145095
145581
  init_operations();
145096
145582
  init_tools();
145097
- args322 = {
145583
+ args323 = {
145098
145584
  request: LlmCheckRequest$inboundSchema
145099
145585
  };
145100
145586
  tool$permissionsLlmCheck = {
@@ -145102,9 +145588,9 @@ var init_permissionsLlmCheck2 = __esm(() => {
145102
145588
  description: `Check user permission
145103
145589
 
145104
145590
  Check whether the authenticated caller has a specific role on a resource.`,
145105
- args: args322,
145106
- tool: async (client, args323, ctx) => {
145107
- const [result, apiCall] = await permissionsLlmCheck(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145591
+ args: args323,
145592
+ tool: async (client, args324, ctx) => {
145593
+ const [result, apiCall] = await permissionsLlmCheck(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145108
145594
  if (!result.ok) {
145109
145595
  return {
145110
145596
  content: [{ type: "text", text: result.error.message }],
@@ -145119,9 +145605,9 @@ Check whether the authenticated caller has a specific role on a resource.`,
145119
145605
 
145120
145606
  // src/funcs/permissionsLlmGrant.ts
145121
145607
  function permissionsLlmGrant(client, request, options) {
145122
- return new APIPromise($do331(client, request, options));
145608
+ return new APIPromise($do332(client, request, options));
145123
145609
  }
145124
- async function $do331(client, request, options) {
145610
+ async function $do332(client, request, options) {
145125
145611
  const parsed = safeParse4(request, (value) => LlmGrantRequest$outboundSchema.parse(value), "Input validation failed");
145126
145612
  if (!parsed.ok) {
145127
145613
  return [parsed, { status: "invalid" }];
@@ -145202,12 +145688,12 @@ var init_permissionsLlmGrant = __esm(() => {
145202
145688
  });
145203
145689
 
145204
145690
  // src/mcp-server/tools/permissionsLlmGrant.ts
145205
- var args323, tool$permissionsLlmGrant;
145691
+ var args324, tool$permissionsLlmGrant;
145206
145692
  var init_permissionsLlmGrant2 = __esm(() => {
145207
145693
  init_permissionsLlmGrant();
145208
145694
  init_operations();
145209
145695
  init_tools();
145210
- args323 = {
145696
+ args324 = {
145211
145697
  request: LlmGrantRequest$inboundSchema
145212
145698
  };
145213
145699
  tool$permissionsLlmGrant = {
@@ -145215,9 +145701,9 @@ var init_permissionsLlmGrant2 = __esm(() => {
145215
145701
  description: `Grant permission to a user or make public
145216
145702
 
145217
145703
  Grant a role to a user for a resource, or grant public access by using "*" as userId. Only owners can grant permissions. Public access is allowed only for writer and reader roles.`,
145218
- args: args323,
145219
- tool: async (client, args324, ctx) => {
145220
- const [result, apiCall] = await permissionsLlmGrant(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145704
+ args: args324,
145705
+ tool: async (client, args325, ctx) => {
145706
+ const [result, apiCall] = await permissionsLlmGrant(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145221
145707
  if (!result.ok) {
145222
145708
  return {
145223
145709
  content: [{ type: "text", text: result.error.message }],
@@ -145231,9 +145717,9 @@ Grant a role to a user for a resource, or grant public access by using "*" as us
145231
145717
 
145232
145718
  // src/funcs/permissionsLlmRevoke.ts
145233
145719
  function permissionsLlmRevoke(client, request, options) {
145234
- return new APIPromise($do332(client, request, options));
145720
+ return new APIPromise($do333(client, request, options));
145235
145721
  }
145236
- async function $do332(client, request, options) {
145722
+ async function $do333(client, request, options) {
145237
145723
  const parsed = safeParse4(request, (value) => LlmRevokeRequest$outboundSchema.parse(value), "Input validation failed");
145238
145724
  if (!parsed.ok) {
145239
145725
  return [parsed, { status: "invalid" }];
@@ -145314,12 +145800,12 @@ var init_permissionsLlmRevoke = __esm(() => {
145314
145800
  });
145315
145801
 
145316
145802
  // src/mcp-server/tools/permissionsLlmRevoke.ts
145317
- var args324, tool$permissionsLlmRevoke;
145803
+ var args325, tool$permissionsLlmRevoke;
145318
145804
  var init_permissionsLlmRevoke2 = __esm(() => {
145319
145805
  init_permissionsLlmRevoke();
145320
145806
  init_operations();
145321
145807
  init_tools();
145322
- args324 = {
145808
+ args325 = {
145323
145809
  request: LlmRevokeRequest$inboundSchema
145324
145810
  };
145325
145811
  tool$permissionsLlmRevoke = {
@@ -145327,9 +145813,9 @@ var init_permissionsLlmRevoke2 = __esm(() => {
145327
145813
  description: `Revoke permission from a user or remove public access
145328
145814
 
145329
145815
  Revoke a role from a user for a resource, or remove public access by using "*" as userId. Only owners can revoke permissions.`,
145330
- args: args324,
145331
- tool: async (client, args325, ctx) => {
145332
- const [result, apiCall] = await permissionsLlmRevoke(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145816
+ args: args325,
145817
+ tool: async (client, args326, ctx) => {
145818
+ const [result, apiCall] = await permissionsLlmRevoke(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145333
145819
  if (!result.ok) {
145334
145820
  return {
145335
145821
  content: [{ type: "text", text: result.error.message }],
@@ -145343,9 +145829,9 @@ Revoke a role from a user for a resource, or remove public access by using "*" a
145343
145829
 
145344
145830
  // src/funcs/reposCreate.ts
145345
145831
  function reposCreate(client, request, options) {
145346
- return new APIPromise($do333(client, request, options));
145832
+ return new APIPromise($do334(client, request, options));
145347
145833
  }
145348
- async function $do333(client, request, options) {
145834
+ async function $do334(client, request, options) {
145349
145835
  const parsed = safeParse4(request, (value) => CreateRepoRequest$outboundSchema2.parse(value), "Input validation failed");
145350
145836
  if (!parsed.ok) {
145351
145837
  return [parsed, { status: "invalid" }];
@@ -145428,12 +145914,12 @@ var init_reposCreate = __esm(() => {
145428
145914
  });
145429
145915
 
145430
145916
  // src/mcp-server/tools/reposCreate.ts
145431
- var args325, tool$reposCreate;
145917
+ var args326, tool$reposCreate;
145432
145918
  var init_reposCreate2 = __esm(() => {
145433
145919
  init_reposCreate();
145434
145920
  init_operations();
145435
145921
  init_tools();
145436
- args325 = {
145922
+ args326 = {
145437
145923
  request: CreateRepoRequest$inboundSchema2
145438
145924
  };
145439
145925
  tool$reposCreate = {
@@ -145444,9 +145930,9 @@ Provisions a repository (org owner/admin only): DB insert
145444
145930
  (authoritative) → Gitea create (rolled back on failure). The repository
145445
145931
  belongs to the caller's org.
145446
145932
  `,
145447
- args: args325,
145448
- tool: async (client, args326, ctx) => {
145449
- const [result, apiCall] = await reposCreate(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145933
+ args: args326,
145934
+ tool: async (client, args327, ctx) => {
145935
+ const [result, apiCall] = await reposCreate(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145450
145936
  if (!result.ok) {
145451
145937
  return {
145452
145938
  content: [{ type: "text", text: result.error.message }],
@@ -145461,9 +145947,9 @@ belongs to the caller's org.
145461
145947
 
145462
145948
  // src/funcs/reposDelete.ts
145463
145949
  function reposDelete(client, request, options) {
145464
- return new APIPromise($do334(client, request, options));
145950
+ return new APIPromise($do335(client, request, options));
145465
145951
  }
145466
- async function $do334(client, request, options) {
145952
+ async function $do335(client, request, options) {
145467
145953
  const parsed = safeParse4(request, (value) => DeleteRepoRequest$outboundSchema.parse(value), "Input validation failed");
145468
145954
  if (!parsed.ok) {
145469
145955
  return [parsed, { status: "invalid" }];
@@ -145555,12 +146041,12 @@ var init_reposDelete = __esm(() => {
145555
146041
  });
145556
146042
 
145557
146043
  // src/mcp-server/tools/reposDelete.ts
145558
- var args326, tool$reposDelete;
146044
+ var args327, tool$reposDelete;
145559
146045
  var init_reposDelete2 = __esm(() => {
145560
146046
  init_reposDelete();
145561
146047
  init_operations();
145562
146048
  init_tools();
145563
- args326 = {
146049
+ args327 = {
145564
146050
  request: DeleteRepoRequest$inboundSchema
145565
146051
  };
145566
146052
  tool$reposDelete = {
@@ -145570,9 +146056,9 @@ var init_reposDelete2 = __esm(() => {
145570
146056
  Removes a repository; org owner/admin only. The DB delete is
145571
146057
  authoritative; the Gitea teardown is best-effort cleanup.
145572
146058
  `,
145573
- args: args326,
145574
- tool: async (client, args327, ctx) => {
145575
- const [result, apiCall] = await reposDelete(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146059
+ args: args327,
146060
+ tool: async (client, args328, ctx) => {
146061
+ const [result, apiCall] = await reposDelete(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145576
146062
  if (!result.ok) {
145577
146063
  return {
145578
146064
  content: [{ type: "text", text: result.error.message }],
@@ -145586,9 +146072,9 @@ authoritative; the Gitea teardown is best-effort cleanup.
145586
146072
 
145587
146073
  // src/funcs/reposGet.ts
145588
146074
  function reposGet(client, request, options) {
145589
- return new APIPromise($do335(client, request, options));
146075
+ return new APIPromise($do336(client, request, options));
145590
146076
  }
145591
- async function $do335(client, request, options) {
146077
+ async function $do336(client, request, options) {
145592
146078
  const parsed = safeParse4(request, (value) => GetRepoRequest$outboundSchema.parse(value), "Input validation failed");
145593
146079
  if (!parsed.ok) {
145594
146080
  return [parsed, { status: "invalid" }];
@@ -145680,12 +146166,12 @@ var init_reposGet = __esm(() => {
145680
146166
  });
145681
146167
 
145682
146168
  // src/mcp-server/tools/reposGet.ts
145683
- var args327, tool$reposGet;
146169
+ var args328, tool$reposGet;
145684
146170
  var init_reposGet2 = __esm(() => {
145685
146171
  init_reposGet();
145686
146172
  init_operations();
145687
146173
  init_tools();
145688
- args327 = {
146174
+ args328 = {
145689
146175
  request: GetRepoRequest$inboundSchema
145690
146176
  };
145691
146177
  tool$reposGet = {
@@ -145695,9 +146181,9 @@ var init_reposGet2 = __esm(() => {
145695
146181
  Reads a single repository after the org+role access check (org
145696
146182
  owner/admin of the repository's org only).
145697
146183
  `,
145698
- args: args327,
145699
- tool: async (client, args328, ctx) => {
145700
- const [result, apiCall] = await reposGet(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146184
+ args: args328,
146185
+ tool: async (client, args329, ctx) => {
146186
+ const [result, apiCall] = await reposGet(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145701
146187
  if (!result.ok) {
145702
146188
  return {
145703
146189
  content: [{ type: "text", text: result.error.message }],
@@ -145712,9 +146198,9 @@ owner/admin of the repository's org only).
145712
146198
 
145713
146199
  // src/funcs/reposList.ts
145714
146200
  function reposList(client, request, options) {
145715
- return new APIPromise($do336(client, request, options));
146201
+ return new APIPromise($do337(client, request, options));
145716
146202
  }
145717
- async function $do336(client, request, options) {
146203
+ async function $do337(client, request, options) {
145718
146204
  const parsed = safeParse4(request, (value) => ListReposRequest$outboundSchema.parse(value), "Input validation failed");
145719
146205
  if (!parsed.ok) {
145720
146206
  return [parsed, { status: "invalid" }];
@@ -145795,12 +146281,12 @@ var init_reposList = __esm(() => {
145795
146281
  });
145796
146282
 
145797
146283
  // src/mcp-server/tools/reposList.ts
145798
- var args328, tool$reposList;
146284
+ var args329, tool$reposList;
145799
146285
  var init_reposList2 = __esm(() => {
145800
146286
  init_reposList();
145801
146287
  init_operations();
145802
146288
  init_tools();
145803
- args328 = {
146289
+ args329 = {
145804
146290
  request: ListReposRequest$inboundSchema
145805
146291
  };
145806
146292
  tool$reposList = {
@@ -145810,9 +146296,9 @@ var init_reposList2 = __esm(() => {
145810
146296
  Returns every repository in the caller's org (org owner/admin only).
145811
146297
  Pure DB read.
145812
146298
  `,
145813
- args: args328,
145814
- tool: async (client, args329, ctx) => {
145815
- const [result, apiCall] = await reposList(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146299
+ args: args329,
146300
+ tool: async (client, args330, ctx) => {
146301
+ const [result, apiCall] = await reposList(client, args330.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145816
146302
  if (!result.ok) {
145817
146303
  return {
145818
146304
  content: [{ type: "text", text: result.error.message }],
@@ -145827,9 +146313,9 @@ Pure DB read.
145827
146313
 
145828
146314
  // src/funcs/reposUpdate.ts
145829
146315
  function reposUpdate(client, request, options) {
145830
- return new APIPromise($do337(client, request, options));
146316
+ return new APIPromise($do338(client, request, options));
145831
146317
  }
145832
- async function $do337(client, request, options) {
146318
+ async function $do338(client, request, options) {
145833
146319
  const parsed = safeParse4(request, (value) => PatchRepoRequest$outboundSchema2.parse(value), "Input validation failed");
145834
146320
  if (!parsed.ok) {
145835
146321
  return [parsed, { status: "invalid" }];
@@ -145922,12 +146408,12 @@ var init_reposUpdate = __esm(() => {
145922
146408
  });
145923
146409
 
145924
146410
  // src/mcp-server/tools/reposUpdate.ts
145925
- var args329, tool$reposUpdate;
146411
+ var args330, tool$reposUpdate;
145926
146412
  var init_reposUpdate2 = __esm(() => {
145927
146413
  init_reposUpdate();
145928
146414
  init_operations();
145929
146415
  init_tools();
145930
- args329 = {
146416
+ args330 = {
145931
146417
  request: PatchRepoRequest$inboundSchema2
145932
146418
  };
145933
146419
  tool$reposUpdate = {
@@ -145938,9 +146424,9 @@ Applies a label-only update (name/description); org owner/admin only.
145938
146424
  The repository id is stable, so a rename is a one-row DB update — no
145939
146425
  Gitea write. Omitted fields are left unchanged.
145940
146426
  `,
145941
- args: args329,
145942
- tool: async (client, args330, ctx) => {
145943
- const [result, apiCall] = await reposUpdate(client, args330.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146427
+ args: args330,
146428
+ tool: async (client, args331, ctx) => {
146429
+ const [result, apiCall] = await reposUpdate(client, args331.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145944
146430
  if (!result.ok) {
145945
146431
  return {
145946
146432
  content: [{ type: "text", text: result.error.message }],
@@ -145955,9 +146441,9 @@ Gitea write. Omitted fields are left unchanged.
145955
146441
 
145956
146442
  // src/funcs/sandboxCreate.ts
145957
146443
  function sandboxCreate(client, request, options) {
145958
- return new APIPromise($do338(client, request, options));
146444
+ return new APIPromise($do339(client, request, options));
145959
146445
  }
145960
- async function $do338(client, request, options) {
146446
+ async function $do339(client, request, options) {
145961
146447
  const parsed = safeParse4(request, (value) => CreateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
145962
146448
  if (!parsed.ok) {
145963
146449
  return [parsed, { status: "invalid" }];
@@ -146042,12 +146528,12 @@ var init_sandboxCreate = __esm(() => {
146042
146528
  });
146043
146529
 
146044
146530
  // src/mcp-server/tools/sandboxCreate.ts
146045
- var args330, tool$sandboxCreate;
146531
+ var args331, tool$sandboxCreate;
146046
146532
  var init_sandboxCreate2 = __esm(() => {
146047
146533
  init_sandboxCreate();
146048
146534
  init_operations();
146049
146535
  init_tools();
146050
- args330 = {
146536
+ args331 = {
146051
146537
  request: CreateSessionRequest$inboundSchema2
146052
146538
  };
146053
146539
  tool$sandboxCreate = {
@@ -146055,9 +146541,9 @@ var init_sandboxCreate2 = __esm(() => {
146055
146541
  description: `Create Session
146056
146542
 
146057
146543
  Create a sandbox session and return its public session metadata, session token, and provider. Set \`session_kind\` to \`browser\` to start a browser-backed session instead of a standard command/code sandbox. Set \`queue_if_full\` to \`true\` to queue the request instead of failing when runner capacity is temporarily unavailable. It does not queue requests for session kinds the deployment does not support. Browser sessions require a Firecracker-backed deployment; standard-only deployments reject them immediately with \`browser_sessions_not_enabled\`.`,
146058
- args: args330,
146059
- tool: async (client, args331, ctx) => {
146060
- const [result, apiCall] = await sandboxCreate(client, args331.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146544
+ args: args331,
146545
+ tool: async (client, args332, ctx) => {
146546
+ const [result, apiCall] = await sandboxCreate(client, args332.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146061
146547
  if (!result.ok) {
146062
146548
  return {
146063
146549
  content: [{ type: "text", text: result.error.message }],
@@ -146072,9 +146558,9 @@ Create a sandbox session and return its public session metadata, session token,
146072
146558
 
146073
146559
  // src/funcs/sandboxDownloadArchive.ts
146074
146560
  function sandboxDownloadArchive(client, request, options) {
146075
- return new APIPromise($do339(client, request, options));
146561
+ return new APIPromise($do340(client, request, options));
146076
146562
  }
146077
- async function $do339(client, request, options) {
146563
+ async function $do340(client, request, options) {
146078
146564
  const parsed = safeParse4(request, (value) => DownloadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
146079
146565
  if (!parsed.ok) {
146080
146566
  return [parsed, { status: "invalid" }];
@@ -146171,12 +146657,12 @@ var init_sandboxDownloadArchive = __esm(() => {
146171
146657
  });
146172
146658
 
146173
146659
  // src/mcp-server/tools/sandboxDownloadArchive.ts
146174
- var args331, tool$sandboxDownloadArchive;
146660
+ var args332, tool$sandboxDownloadArchive;
146175
146661
  var init_sandboxDownloadArchive2 = __esm(() => {
146176
146662
  init_sandboxDownloadArchive();
146177
146663
  init_operations();
146178
146664
  init_tools();
146179
- args331 = {
146665
+ args332 = {
146180
146666
  request: DownloadWorkspaceArchiveRequest$inboundSchema
146181
146667
  };
146182
146668
  tool$sandboxDownloadArchive = {
@@ -146184,9 +146670,9 @@ var init_sandboxDownloadArchive2 = __esm(() => {
146184
146670
  description: `Download Workspace Archive
146185
146671
 
146186
146672
  Download a zip archive containing the selected workspace paths.`,
146187
- args: args331,
146188
- tool: async (client, args332, ctx) => {
146189
- const [result, apiCall] = await sandboxDownloadArchive(client, args332.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146673
+ args: args332,
146674
+ tool: async (client, args333, ctx) => {
146675
+ const [result, apiCall] = await sandboxDownloadArchive(client, args333.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146190
146676
  if (!result.ok) {
146191
146677
  return {
146192
146678
  content: [{ type: "text", text: result.error.message }],
@@ -146201,9 +146687,9 @@ Download a zip archive containing the selected workspace paths.`,
146201
146687
 
146202
146688
  // src/funcs/sandboxDownloadFile.ts
146203
146689
  function sandboxDownloadFile(client, request, options) {
146204
- return new APIPromise($do340(client, request, options));
146690
+ return new APIPromise($do341(client, request, options));
146205
146691
  }
146206
- async function $do340(client, request, options) {
146692
+ async function $do341(client, request, options) {
146207
146693
  const parsed = safeParse4(request, (value) => DownloadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
146208
146694
  if (!parsed.ok) {
146209
146695
  return [parsed, { status: "invalid" }];
@@ -146299,12 +146785,12 @@ var init_sandboxDownloadFile = __esm(() => {
146299
146785
  });
146300
146786
 
146301
146787
  // src/mcp-server/tools/sandboxDownloadFile.ts
146302
- var args332, tool$sandboxDownloadFile;
146788
+ var args333, tool$sandboxDownloadFile;
146303
146789
  var init_sandboxDownloadFile2 = __esm(() => {
146304
146790
  init_sandboxDownloadFile();
146305
146791
  init_operations();
146306
146792
  init_tools();
146307
- args332 = {
146793
+ args333 = {
146308
146794
  request: DownloadWorkspaceFileRequest$inboundSchema
146309
146795
  };
146310
146796
  tool$sandboxDownloadFile = {
@@ -146312,9 +146798,9 @@ var init_sandboxDownloadFile2 = __esm(() => {
146312
146798
  description: `Download Workspace File
146313
146799
 
146314
146800
  Download raw bytes from a file in the session workspace.`,
146315
- args: args332,
146316
- tool: async (client, args333, ctx) => {
146317
- const [result, apiCall] = await sandboxDownloadFile(client, args333.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146801
+ args: args333,
146802
+ tool: async (client, args334, ctx) => {
146803
+ const [result, apiCall] = await sandboxDownloadFile(client, args334.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146318
146804
  if (!result.ok) {
146319
146805
  return {
146320
146806
  content: [{ type: "text", text: result.error.message }],
@@ -146329,9 +146815,9 @@ Download raw bytes from a file in the session workspace.`,
146329
146815
 
146330
146816
  // src/funcs/sandboxGet.ts
146331
146817
  function sandboxGet(client, request, options) {
146332
- return new APIPromise($do341(client, request, options));
146818
+ return new APIPromise($do342(client, request, options));
146333
146819
  }
146334
- async function $do341(client, request, options) {
146820
+ async function $do342(client, request, options) {
146335
146821
  const parsed = safeParse4(request, (value) => GetSessionRequest$outboundSchema.parse(value), "Input validation failed");
146336
146822
  if (!parsed.ok) {
146337
146823
  return [parsed, { status: "invalid" }];
@@ -146419,12 +146905,12 @@ var init_sandboxGet = __esm(() => {
146419
146905
  });
146420
146906
 
146421
146907
  // src/mcp-server/tools/sandboxGet.ts
146422
- var args333, tool$sandboxGet;
146908
+ var args334, tool$sandboxGet;
146423
146909
  var init_sandboxGet2 = __esm(() => {
146424
146910
  init_sandboxGet();
146425
146911
  init_operations();
146426
146912
  init_tools();
146427
- args333 = {
146913
+ args334 = {
146428
146914
  request: GetSessionRequest$inboundSchema
146429
146915
  };
146430
146916
  tool$sandboxGet = {
@@ -146432,9 +146918,9 @@ var init_sandboxGet2 = __esm(() => {
146432
146918
  description: `Get Session
146433
146919
 
146434
146920
  Return the current state, configuration, and resource allocation for a sandbox session.`,
146435
- args: args333,
146436
- tool: async (client, args334, ctx) => {
146437
- const [result, apiCall] = await sandboxGet(client, args334.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146921
+ args: args334,
146922
+ tool: async (client, args335, ctx) => {
146923
+ const [result, apiCall] = await sandboxGet(client, args335.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146438
146924
  if (!result.ok) {
146439
146925
  return {
146440
146926
  content: [{ type: "text", text: result.error.message }],
@@ -146449,9 +146935,9 @@ Return the current state, configuration, and resource allocation for a sandbox s
146449
146935
 
146450
146936
  // src/funcs/sandboxGetBrowserUrl.ts
146451
146937
  function sandboxGetBrowserUrl(client, request, options) {
146452
- return new APIPromise($do342(client, request, options));
146938
+ return new APIPromise($do343(client, request, options));
146453
146939
  }
146454
- async function $do342(client, request, options) {
146940
+ async function $do343(client, request, options) {
146455
146941
  const parsed = safeParse4(request, (value) => GetBrowserSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
146456
146942
  if (!parsed.ok) {
146457
146943
  return [parsed, { status: "invalid" }];
@@ -146543,12 +147029,12 @@ var init_sandboxGetBrowserUrl = __esm(() => {
146543
147029
  });
146544
147030
 
146545
147031
  // src/mcp-server/tools/sandboxGetBrowserUrl.ts
146546
- var args334, tool$sandboxGetBrowserUrl;
147032
+ var args335, tool$sandboxGetBrowserUrl;
146547
147033
  var init_sandboxGetBrowserUrl2 = __esm(() => {
146548
147034
  init_sandboxGetBrowserUrl();
146549
147035
  init_operations();
146550
147036
  init_tools();
146551
- args334 = {
147037
+ args335 = {
146552
147038
  request: GetBrowserSessionUrlRequest$inboundSchema
146553
147039
  };
146554
147040
  tool$sandboxGetBrowserUrl = {
@@ -146556,9 +147042,9 @@ var init_sandboxGetBrowserUrl2 = __esm(() => {
146556
147042
  description: `Get Browser Session URL
146557
147043
 
146558
147044
  Return the public gateway URL for a browser session's Chrome DevTools Protocol endpoint. Playwright can use this HTTP endpoint directly. For clients that require a WebSocket endpoint, request \`json/version\` and use its rewritten \`webSocketDebuggerUrl\`. Insert subpaths before the query string; for example, use \`/ports/9222/json/version?session_token=...\`. Send the same MKA1 API-key authorization header on the HTTP and WebSocket requests. Standard sessions do not expose a public URL; use the command, code, and workspace operations instead.`,
146559
- args: args334,
146560
- tool: async (client, args335, ctx) => {
146561
- const [result, apiCall] = await sandboxGetBrowserUrl(client, args335.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147045
+ args: args335,
147046
+ tool: async (client, args336, ctx) => {
147047
+ const [result, apiCall] = await sandboxGetBrowserUrl(client, args336.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146562
147048
  if (!result.ok) {
146563
147049
  return {
146564
147050
  content: [{ type: "text", text: result.error.message }],
@@ -146573,9 +147059,9 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
146573
147059
 
146574
147060
  // src/funcs/sandboxGetPricing.ts
146575
147061
  function sandboxGetPricing(client, options) {
146576
- return new APIPromise($do343(client, options));
147062
+ return new APIPromise($do344(client, options));
146577
147063
  }
146578
- async function $do343(client, options) {
147064
+ async function $do344(client, options) {
146579
147065
  const path = pathToFunc("/api/v1/sandbox/pricing")();
146580
147066
  const headers = new Headers(compactMap({
146581
147067
  Accept: "application/json"
@@ -146667,9 +147153,9 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
146667
147153
 
146668
147154
  // src/funcs/sandboxGetWorkspace.ts
146669
147155
  function sandboxGetWorkspace(client, request, options) {
146670
- return new APIPromise($do344(client, request, options));
147156
+ return new APIPromise($do345(client, request, options));
146671
147157
  }
146672
- async function $do344(client, request, options) {
147158
+ async function $do345(client, request, options) {
146673
147159
  const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
146674
147160
  if (!parsed.ok) {
146675
147161
  return [parsed, { status: "invalid" }];
@@ -146761,12 +147247,12 @@ var init_sandboxGetWorkspace = __esm(() => {
146761
147247
  });
146762
147248
 
146763
147249
  // src/mcp-server/tools/sandboxGetWorkspace.ts
146764
- var args335, tool$sandboxGetWorkspace;
147250
+ var args336, tool$sandboxGetWorkspace;
146765
147251
  var init_sandboxGetWorkspace2 = __esm(() => {
146766
147252
  init_sandboxGetWorkspace();
146767
147253
  init_operations();
146768
147254
  init_tools();
146769
- args335 = {
147255
+ args336 = {
146770
147256
  request: GetWorkspaceRequest$inboundSchema
146771
147257
  };
146772
147258
  tool$sandboxGetWorkspace = {
@@ -146774,9 +147260,9 @@ var init_sandboxGetWorkspace2 = __esm(() => {
146774
147260
  description: `Get Workspace Manifest
146775
147261
 
146776
147262
  List files currently stored in the session workspace, including paths, sizes, and etags.`,
146777
- args: args335,
146778
- tool: async (client, args336, ctx) => {
146779
- const [result, apiCall] = await sandboxGetWorkspace(client, args336.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147263
+ args: args336,
147264
+ tool: async (client, args337, ctx) => {
147265
+ const [result, apiCall] = await sandboxGetWorkspace(client, args337.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146780
147266
  if (!result.ok) {
146781
147267
  return {
146782
147268
  content: [{ type: "text", text: result.error.message }],
@@ -146791,9 +147277,9 @@ List files currently stored in the session workspace, including paths, sizes, an
146791
147277
 
146792
147278
  // src/funcs/sandboxList.ts
146793
147279
  function sandboxList(client, request, options) {
146794
- return new APIPromise($do345(client, request, options));
147280
+ return new APIPromise($do346(client, request, options));
146795
147281
  }
146796
- async function $do345(client, request, options) {
147282
+ async function $do346(client, request, options) {
146797
147283
  const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
146798
147284
  if (!parsed.ok) {
146799
147285
  return [parsed, { status: "invalid" }];
@@ -146876,12 +147362,12 @@ var init_sandboxList = __esm(() => {
146876
147362
  });
146877
147363
 
146878
147364
  // src/mcp-server/tools/sandboxList.ts
146879
- var args336, tool$sandboxList;
147365
+ var args337, tool$sandboxList;
146880
147366
  var init_sandboxList2 = __esm(() => {
146881
147367
  init_sandboxList();
146882
147368
  init_operations();
146883
147369
  init_tools();
146884
- args336 = {
147370
+ args337 = {
146885
147371
  request: ListSessionsRequest$inboundSchema
146886
147372
  };
146887
147373
  tool$sandboxList = {
@@ -146889,9 +147375,9 @@ var init_sandboxList2 = __esm(() => {
146889
147375
  description: `List Sessions
146890
147376
 
146891
147377
  List sandbox sessions visible to the authenticated caller.`,
146892
- args: args336,
146893
- tool: async (client, args337, ctx) => {
146894
- const [result, apiCall] = await sandboxList(client, args337.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147378
+ args: args337,
147379
+ tool: async (client, args338, ctx) => {
147380
+ const [result, apiCall] = await sandboxList(client, args338.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146895
147381
  if (!result.ok) {
146896
147382
  return {
146897
147383
  content: [{ type: "text", text: result.error.message }],
@@ -146906,9 +147392,9 @@ List sandbox sessions visible to the authenticated caller.`,
146906
147392
 
146907
147393
  // src/funcs/sandboxProxyBrowserPortRequest.ts
146908
147394
  function sandboxProxyBrowserPortRequest(client, request, options) {
146909
- return new APIPromise($do346(client, request, options));
147395
+ return new APIPromise($do347(client, request, options));
146910
147396
  }
146911
- async function $do346(client, request, options) {
147397
+ async function $do347(client, request, options) {
146912
147398
  const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
146913
147399
  if (!parsed.ok) {
146914
147400
  return [parsed, { status: "invalid" }];
@@ -147008,12 +147494,12 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
147008
147494
  });
147009
147495
 
147010
147496
  // src/mcp-server/tools/sandboxProxyBrowserPortRequest.ts
147011
- var args337, tool$sandboxProxyBrowserPortRequest;
147497
+ var args338, tool$sandboxProxyBrowserPortRequest;
147012
147498
  var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
147013
147499
  init_sandboxProxyBrowserPortRequest();
147014
147500
  init_operations();
147015
147501
  init_tools();
147016
- args337 = {
147502
+ args338 = {
147017
147503
  request: ProxyBrowserPortRequestRequest$inboundSchema
147018
147504
  };
147019
147505
  tool$sandboxProxyBrowserPortRequest = {
@@ -147021,9 +147507,9 @@ var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
147021
147507
  description: `Proxy Browser Port Request
147022
147508
 
147023
147509
  Proxy an HTTP request to an exposed browser-session port through the gateway. Use the URL returned by \`GET /sessions/{session_id}/browser-url\` as the base. Insert CDP subpaths such as \`json/version\` or \`json/list\` before its query string, preserving the \`session_token\` parameter. This low-level proxy is intended for browser sessions on port \`9222\` and still requires the normal MKA1 API-key authorization header.`,
147024
- args: args337,
147025
- tool: async (client, args338, ctx) => {
147026
- const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args338.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147510
+ args: args338,
147511
+ tool: async (client, args339, ctx) => {
147512
+ const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args339.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147027
147513
  if (!result.ok) {
147028
147514
  return {
147029
147515
  content: [{ type: "text", text: result.error.message }],
@@ -147038,9 +147524,9 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
147038
147524
 
147039
147525
  // src/funcs/sandboxRunCode.ts
147040
147526
  function sandboxRunCode(client, request, options) {
147041
- return new APIPromise($do347(client, request, options));
147527
+ return new APIPromise($do348(client, request, options));
147042
147528
  }
147043
- async function $do347(client, request, options) {
147529
+ async function $do348(client, request, options) {
147044
147530
  const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
147045
147531
  if (!parsed.ok) {
147046
147532
  return [parsed, { status: "invalid" }];
@@ -147129,12 +147615,12 @@ var init_sandboxRunCode = __esm(() => {
147129
147615
  });
147130
147616
 
147131
147617
  // src/mcp-server/tools/sandboxRunCode.ts
147132
- var args338, tool$sandboxRunCode;
147618
+ var args339, tool$sandboxRunCode;
147133
147619
  var init_sandboxRunCode2 = __esm(() => {
147134
147620
  init_sandboxRunCode();
147135
147621
  init_operations();
147136
147622
  init_tools();
147137
- args338 = {
147623
+ args339 = {
147138
147624
  request: RunCodeRequest$inboundSchema
147139
147625
  };
147140
147626
  tool$sandboxRunCode = {
@@ -147142,9 +147628,9 @@ var init_sandboxRunCode2 = __esm(() => {
147142
147628
  description: `Run Code
147143
147629
 
147144
147630
  Execute source code in the session workspace using a supported runtime and return the execution result.`,
147145
- args: args338,
147146
- tool: async (client, args339, ctx) => {
147147
- const [result, apiCall] = await sandboxRunCode(client, args339.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147631
+ args: args339,
147632
+ tool: async (client, args340, ctx) => {
147633
+ const [result, apiCall] = await sandboxRunCode(client, args340.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147148
147634
  if (!result.ok) {
147149
147635
  return {
147150
147636
  content: [{ type: "text", text: result.error.message }],
@@ -147159,9 +147645,9 @@ Execute source code in the session workspace using a supported runtime and retur
147159
147645
 
147160
147646
  // src/funcs/sandboxRunCommand.ts
147161
147647
  function sandboxRunCommand(client, request, options) {
147162
- return new APIPromise($do348(client, request, options));
147648
+ return new APIPromise($do349(client, request, options));
147163
147649
  }
147164
- async function $do348(client, request, options) {
147650
+ async function $do349(client, request, options) {
147165
147651
  const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
147166
147652
  if (!parsed.ok) {
147167
147653
  return [parsed, { status: "invalid" }];
@@ -147250,12 +147736,12 @@ var init_sandboxRunCommand = __esm(() => {
147250
147736
  });
147251
147737
 
147252
147738
  // src/mcp-server/tools/sandboxRunCommand.ts
147253
- var args339, tool$sandboxRunCommand;
147739
+ var args340, tool$sandboxRunCommand;
147254
147740
  var init_sandboxRunCommand2 = __esm(() => {
147255
147741
  init_sandboxRunCommand();
147256
147742
  init_operations();
147257
147743
  init_tools();
147258
- args339 = {
147744
+ args340 = {
147259
147745
  request: RunCommandRequest$inboundSchema
147260
147746
  };
147261
147747
  tool$sandboxRunCommand = {
@@ -147263,9 +147749,9 @@ var init_sandboxRunCommand2 = __esm(() => {
147263
147749
  description: `Run Command
147264
147750
 
147265
147751
  Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
147266
- args: args339,
147267
- tool: async (client, args340, ctx) => {
147268
- const [result, apiCall] = await sandboxRunCommand(client, args340.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147752
+ args: args340,
147753
+ tool: async (client, args341, ctx) => {
147754
+ const [result, apiCall] = await sandboxRunCommand(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147269
147755
  if (!result.ok) {
147270
147756
  return {
147271
147757
  content: [{ type: "text", text: result.error.message }],
@@ -147280,9 +147766,9 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
147280
147766
 
147281
147767
  // src/funcs/sandboxSetPricing.ts
147282
147768
  function sandboxSetPricing(client, request, options) {
147283
- return new APIPromise($do349(client, request, options));
147769
+ return new APIPromise($do350(client, request, options));
147284
147770
  }
147285
- async function $do349(client, request, options) {
147771
+ async function $do350(client, request, options) {
147286
147772
  const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
147287
147773
  if (!parsed.ok) {
147288
147774
  return [parsed, { status: "invalid" }];
@@ -147363,12 +147849,12 @@ var init_sandboxSetPricing = __esm(() => {
147363
147849
  });
147364
147850
 
147365
147851
  // src/mcp-server/tools/sandboxSetPricing.ts
147366
- var args340, tool$sandboxSetPricing;
147852
+ var args341, tool$sandboxSetPricing;
147367
147853
  var init_sandboxSetPricing2 = __esm(() => {
147368
147854
  init_sandboxSetPricing();
147369
147855
  init_components();
147370
147856
  init_tools();
147371
- args340 = {
147857
+ args341 = {
147372
147858
  request: SandboxPricingUpdate$inboundSchema
147373
147859
  };
147374
147860
  tool$sandboxSetPricing = {
@@ -147376,9 +147862,9 @@ var init_sandboxSetPricing2 = __esm(() => {
147376
147862
  description: `Set Sandbox Pricing
147377
147863
 
147378
147864
  Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from the request become unpriced and accrue no spend. Takes effect on the next meter window without a restart. Cluster admins only.`,
147379
- args: args340,
147380
- tool: async (client, args341, ctx) => {
147381
- const [result, apiCall] = await sandboxSetPricing(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147865
+ args: args341,
147866
+ tool: async (client, args342, ctx) => {
147867
+ const [result, apiCall] = await sandboxSetPricing(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147382
147868
  if (!result.ok) {
147383
147869
  return {
147384
147870
  content: [{ type: "text", text: result.error.message }],
@@ -147393,9 +147879,9 @@ Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from
147393
147879
 
147394
147880
  // src/funcs/sandboxTerminate.ts
147395
147881
  function sandboxTerminate(client, request, options) {
147396
- return new APIPromise($do350(client, request, options));
147882
+ return new APIPromise($do351(client, request, options));
147397
147883
  }
147398
- async function $do350(client, request, options) {
147884
+ async function $do351(client, request, options) {
147399
147885
  const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
147400
147886
  if (!parsed.ok) {
147401
147887
  return [parsed, { status: "invalid" }];
@@ -147486,12 +147972,12 @@ var init_sandboxTerminate = __esm(() => {
147486
147972
  });
147487
147973
 
147488
147974
  // src/mcp-server/tools/sandboxTerminate.ts
147489
- var args341, tool$sandboxTerminate;
147975
+ var args342, tool$sandboxTerminate;
147490
147976
  var init_sandboxTerminate2 = __esm(() => {
147491
147977
  init_sandboxTerminate();
147492
147978
  init_operations();
147493
147979
  init_tools();
147494
- args341 = {
147980
+ args342 = {
147495
147981
  request: TerminateSessionRequest$inboundSchema2
147496
147982
  };
147497
147983
  tool$sandboxTerminate = {
@@ -147499,9 +147985,9 @@ var init_sandboxTerminate2 = __esm(() => {
147499
147985
  description: `Terminate Session
147500
147986
 
147501
147987
  Stop a sandbox session and release the backing sandbox resources.`,
147502
- args: args341,
147503
- tool: async (client, args342, ctx) => {
147504
- const [result, apiCall] = await sandboxTerminate(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147988
+ args: args342,
147989
+ tool: async (client, args343, ctx) => {
147990
+ const [result, apiCall] = await sandboxTerminate(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147505
147991
  if (!result.ok) {
147506
147992
  return {
147507
147993
  content: [{ type: "text", text: result.error.message }],
@@ -147516,9 +148002,9 @@ Stop a sandbox session and release the backing sandbox resources.`,
147516
148002
 
147517
148003
  // src/funcs/sandboxUploadArchive.ts
147518
148004
  function sandboxUploadArchive(client, request, options) {
147519
- return new APIPromise($do351(client, request, options));
148005
+ return new APIPromise($do352(client, request, options));
147520
148006
  }
147521
- async function $do351(client, request, options) {
148007
+ async function $do352(client, request, options) {
147522
148008
  const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
147523
148009
  if (!parsed.ok) {
147524
148010
  return [parsed, { status: "invalid" }];
@@ -147611,12 +148097,12 @@ var init_sandboxUploadArchive = __esm(() => {
147611
148097
  });
147612
148098
 
147613
148099
  // src/mcp-server/tools/sandboxUploadArchive.ts
147614
- var args342, tool$sandboxUploadArchive;
148100
+ var args343, tool$sandboxUploadArchive;
147615
148101
  var init_sandboxUploadArchive2 = __esm(() => {
147616
148102
  init_sandboxUploadArchive();
147617
148103
  init_operations();
147618
148104
  init_tools();
147619
- args342 = {
148105
+ args343 = {
147620
148106
  request: UploadWorkspaceArchiveRequest$inboundSchema
147621
148107
  };
147622
148108
  tool$sandboxUploadArchive = {
@@ -147624,9 +148110,9 @@ var init_sandboxUploadArchive2 = __esm(() => {
147624
148110
  description: `Upload Workspace Archive
147625
148111
 
147626
148112
  Upload a zip archive and extract its files into the session workspace.`,
147627
- args: args342,
147628
- tool: async (client, args343, ctx) => {
147629
- const [result, apiCall] = await sandboxUploadArchive(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148113
+ args: args343,
148114
+ tool: async (client, args344, ctx) => {
148115
+ const [result, apiCall] = await sandboxUploadArchive(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147630
148116
  if (!result.ok) {
147631
148117
  return {
147632
148118
  content: [{ type: "text", text: result.error.message }],
@@ -147641,9 +148127,9 @@ Upload a zip archive and extract its files into the session workspace.`,
147641
148127
 
147642
148128
  // src/funcs/sandboxUploadFile.ts
147643
148129
  function sandboxUploadFile(client, request, options) {
147644
- return new APIPromise($do352(client, request, options));
148130
+ return new APIPromise($do353(client, request, options));
147645
148131
  }
147646
- async function $do352(client, request, options) {
148132
+ async function $do353(client, request, options) {
147647
148133
  const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
147648
148134
  if (!parsed.ok) {
147649
148135
  return [parsed, { status: "invalid" }];
@@ -147740,12 +148226,12 @@ var init_sandboxUploadFile = __esm(() => {
147740
148226
  });
147741
148227
 
147742
148228
  // src/mcp-server/tools/sandboxUploadFile.ts
147743
- var args343, tool$sandboxUploadFile;
148229
+ var args344, tool$sandboxUploadFile;
147744
148230
  var init_sandboxUploadFile2 = __esm(() => {
147745
148231
  init_sandboxUploadFile();
147746
148232
  init_operations();
147747
148233
  init_tools();
147748
- args343 = {
148234
+ args344 = {
147749
148235
  request: UploadWorkspaceFileRequest$inboundSchema
147750
148236
  };
147751
148237
  tool$sandboxUploadFile = {
@@ -147753,9 +148239,9 @@ var init_sandboxUploadFile2 = __esm(() => {
147753
148239
  description: `Upload Workspace File
147754
148240
 
147755
148241
  Upload raw bytes into the session workspace at the given path.`,
147756
- args: args343,
147757
- tool: async (client, args344, ctx) => {
147758
- const [result, apiCall] = await sandboxUploadFile(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148242
+ args: args344,
148243
+ tool: async (client, args345, ctx) => {
148244
+ const [result, apiCall] = await sandboxUploadFile(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147759
148245
  if (!result.ok) {
147760
148246
  return {
147761
148247
  content: [{ type: "text", text: result.error.message }],
@@ -147770,9 +148256,9 @@ Upload raw bytes into the session workspace at the given path.`,
147770
148256
 
147771
148257
  // src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
147772
148258
  function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
147773
- return new APIPromise($do353(client, request, options));
148259
+ return new APIPromise($do354(client, request, options));
147774
148260
  }
147775
- async function $do353(client, request, options) {
148261
+ async function $do354(client, request, options) {
147776
148262
  const parsed = safeParse4(request, (value) => ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema.parse(value), "Input validation failed");
147777
148263
  if (!parsed.ok) {
147778
148264
  return [parsed, { status: "invalid" }];
@@ -147855,20 +148341,20 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() =>
147855
148341
  });
147856
148342
 
147857
148343
  // src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
147858
- var args344, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
148344
+ var args345, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
147859
148345
  var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
147860
148346
  init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
147861
148347
  init_operations();
147862
148348
  init_tools();
147863
- args344 = {
148349
+ args345 = {
147864
148350
  request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
147865
148351
  };
147866
148352
  tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = {
147867
148353
  name: "schema-3-other-connect-api-v1-sandbox-github-oauth-connections-post",
147868
148354
  description: `Connect`,
147869
- args: args344,
147870
- tool: async (client, args345, ctx) => {
147871
- const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148355
+ args: args345,
148356
+ tool: async (client, args346, ctx) => {
148357
+ const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147872
148358
  if (!result.ok) {
147873
148359
  return {
147874
148360
  content: [{ type: "text", text: result.error.message }],
@@ -147883,9 +148369,9 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() =
147883
148369
 
147884
148370
  // src/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
147885
148371
  function schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, request, options) {
147886
- return new APIPromise($do354(client, request, options));
148372
+ return new APIPromise($do355(client, request, options));
147887
148373
  }
147888
- async function $do354(client, request, options) {
148374
+ async function $do355(client, request, options) {
147889
148375
  const parsed = safeParse4(request, (value) => CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema.parse(value), "Input validation failed");
147890
148376
  if (!parsed.ok) {
147891
148377
  return [parsed, { status: "invalid" }];
@@ -147970,20 +148456,20 @@ var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = __esm(() =>
147970
148456
  });
147971
148457
 
147972
148458
  // src/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
147973
- var args345, tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost;
148459
+ var args346, tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost;
147974
148460
  var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() => {
147975
148461
  init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost();
147976
148462
  init_operations();
147977
148463
  init_tools();
147978
- args345 = {
148464
+ args346 = {
147979
148465
  request: CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema
147980
148466
  };
147981
148467
  tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = {
147982
148468
  name: "schema-3-other-create-environment-api-v1-sandbox-environments-post",
147983
148469
  description: `Create Environment`,
147984
- args: args345,
147985
- tool: async (client, args346, ctx) => {
147986
- const [result, apiCall] = await schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148470
+ args: args346,
148471
+ tool: async (client, args347, ctx) => {
148472
+ const [result, apiCall] = await schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
147987
148473
  if (!result.ok) {
147988
148474
  return {
147989
148475
  content: [{ type: "text", text: result.error.message }],
@@ -147998,9 +148484,9 @@ var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() =
147998
148484
 
147999
148485
  // src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
148000
148486
  function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
148001
- return new APIPromise($do355(client, request, options));
148487
+ return new APIPromise($do356(client, request, options));
148002
148488
  }
148003
- async function $do355(client, request, options) {
148489
+ async function $do356(client, request, options) {
148004
148490
  const parsed = safeParse4(request, (value) => CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema.parse(value), "Input validation failed");
148005
148491
  if (!parsed.ok) {
148006
148492
  return [parsed, { status: "invalid" }];
@@ -148078,20 +148564,20 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() =
148078
148564
  });
148079
148565
 
148080
148566
  // src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
148081
- var args346, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
148567
+ var args347, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
148082
148568
  var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
148083
148569
  init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
148084
148570
  init_operations();
148085
148571
  init_tools();
148086
- args346 = {
148572
+ args347 = {
148087
148573
  request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
148088
148574
  };
148089
148575
  tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = {
148090
148576
  name: "schema-3-other-create-intent-api-v1-sandbox-github-oauth-intents-post",
148091
148577
  description: `Create Intent`,
148092
- args: args346,
148093
- tool: async (client, args347, ctx) => {
148094
- const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148578
+ args: args347,
148579
+ tool: async (client, args348, ctx) => {
148580
+ const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148095
148581
  if (!result.ok) {
148096
148582
  return {
148097
148583
  content: [{ type: "text", text: result.error.message }],
@@ -148106,9 +148592,9 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
148106
148592
 
148107
148593
  // src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
148108
148594
  function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
148109
- return new APIPromise($do356(client, request, options));
148595
+ return new APIPromise($do357(client, request, options));
148110
148596
  }
148111
- async function $do356(client, request, options) {
148597
+ async function $do357(client, request, options) {
148112
148598
  const parsed = safeParse4(request, (value) => CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema.parse(value), "Input validation failed");
148113
148599
  if (!parsed.ok) {
148114
148600
  return [parsed, { status: "invalid" }];
@@ -148199,20 +148685,20 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
148199
148685
  });
148200
148686
 
148201
148687
  // src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
148202
- var args347, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
148688
+ var args348, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
148203
148689
  var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
148204
148690
  init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
148205
148691
  init_operations();
148206
148692
  init_tools();
148207
- args347 = {
148693
+ args348 = {
148208
148694
  request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
148209
148695
  };
148210
148696
  tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = {
148211
148697
  name: "schema-3-other-create-or-update-api-v1-sandbox-sessions-session-id-github-pull-request-post",
148212
148698
  description: `Create Or Update`,
148213
- args: args347,
148214
- tool: async (client, args348, ctx) => {
148215
- const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148699
+ args: args348,
148700
+ tool: async (client, args349, ctx) => {
148701
+ const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args349.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148216
148702
  if (!result.ok) {
148217
148703
  return {
148218
148704
  content: [{ type: "text", text: result.error.message }],
@@ -148227,9 +148713,9 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
148227
148713
 
148228
148714
  // src/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
148229
148715
  function schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, request, options) {
148230
- return new APIPromise($do357(client, request, options));
148716
+ return new APIPromise($do358(client, request, options));
148231
148717
  }
148232
- async function $do357(client, request, options) {
148718
+ async function $do358(client, request, options) {
148233
148719
  const parsed = safeParse4(request, (value) => DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
148234
148720
  if (!parsed.ok) {
148235
148721
  return [parsed, { status: "invalid" }];
@@ -148317,20 +148803,20 @@ var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelet
148317
148803
  });
148318
148804
 
148319
148805
  // src/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
148320
- var args348, tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete;
148806
+ var args349, tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete;
148321
148807
  var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2 = __esm(() => {
148322
148808
  init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete();
148323
148809
  init_operations();
148324
148810
  init_tools();
148325
- args348 = {
148811
+ args349 = {
148326
148812
  request: DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema
148327
148813
  };
148328
148814
  tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = {
148329
148815
  name: "schema-3-other-delete-environment-api-v1-sandbox-environments-environment-id-delete",
148330
148816
  description: `Delete Environment`,
148331
- args: args348,
148332
- tool: async (client, args349, ctx) => {
148333
- const [result, apiCall] = await schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, args349.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148817
+ args: args349,
148818
+ tool: async (client, args350, ctx) => {
148819
+ const [result, apiCall] = await schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, args350.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148334
148820
  if (!result.ok) {
148335
148821
  return {
148336
148822
  content: [{ type: "text", text: result.error.message }],
@@ -148344,9 +148830,9 @@ var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelet
148344
148830
 
148345
148831
  // src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
148346
148832
  function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
148347
- return new APIPromise($do358(client, request, options));
148833
+ return new APIPromise($do359(client, request, options));
148348
148834
  }
148349
- async function $do358(client, request, options) {
148835
+ async function $do359(client, request, options) {
148350
148836
  const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
148351
148837
  if (!parsed.ok) {
148352
148838
  return [parsed, { status: "invalid" }];
@@ -148424,20 +148910,20 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
148424
148910
  });
148425
148911
 
148426
148912
  // src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
148427
- var args349, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
148913
+ var args350, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
148428
148914
  var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
148429
148915
  init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
148430
148916
  init_operations();
148431
148917
  init_tools();
148432
- args349 = {
148918
+ args350 = {
148433
148919
  request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
148434
148920
  };
148435
148921
  tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
148436
148922
  name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
148437
148923
  description: `Disconnect`,
148438
- args: args349,
148439
- tool: async (client, args350, ctx) => {
148440
- const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args350.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148924
+ args: args350,
148925
+ tool: async (client, args351, ctx) => {
148926
+ const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args351.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148441
148927
  if (!result.ok) {
148442
148928
  return {
148443
148929
  content: [{ type: "text", text: result.error.message }],
@@ -148451,9 +148937,9 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm
148451
148937
 
148452
148938
  // src/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
148453
148939
  function schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, request, options) {
148454
- return new APIPromise($do359(client, request, options));
148940
+ return new APIPromise($do360(client, request, options));
148455
148941
  }
148456
- async function $do359(client, request, options) {
148942
+ async function $do360(client, request, options) {
148457
148943
  const parsed = safeParse4(request, (value) => DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
148458
148944
  if (!parsed.ok) {
148459
148945
  return [parsed, { status: "invalid" }];
@@ -148548,20 +149034,20 @@ var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubReposit
148548
149034
  });
148549
149035
 
148550
149036
  // src/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
148551
- var args350, tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete;
149037
+ var args351, tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete;
148552
149038
  var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2 = __esm(() => {
148553
149039
  init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete();
148554
149040
  init_operations();
148555
149041
  init_tools();
148556
- args350 = {
149042
+ args351 = {
148557
149043
  request: DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema
148558
149044
  };
148559
149045
  tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = {
148560
149046
  name: "schema-3-other-dismiss-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-delete",
148561
149047
  description: `Dismiss Repository`,
148562
- args: args350,
148563
- tool: async (client, args351, ctx) => {
148564
- const [result, apiCall] = await schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, args351.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149048
+ args: args351,
149049
+ tool: async (client, args352, ctx) => {
149050
+ const [result, apiCall] = await schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, args352.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148565
149051
  if (!result.ok) {
148566
149052
  return {
148567
149053
  content: [{ type: "text", text: result.error.message }],
@@ -148575,9 +149061,9 @@ var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubReposit
148575
149061
 
148576
149062
  // src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
148577
149063
  function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
148578
- return new APIPromise($do360(client, request, options));
149064
+ return new APIPromise($do361(client, request, options));
148579
149065
  }
148580
- async function $do360(client, request, options) {
149066
+ async function $do361(client, request, options) {
148581
149067
  const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
148582
149068
  if (!parsed.ok) {
148583
149069
  return [parsed, { status: "invalid" }];
@@ -148663,20 +149149,20 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
148663
149149
  });
148664
149150
 
148665
149151
  // src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
148666
- var args351, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
149152
+ var args352, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
148667
149153
  var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
148668
149154
  init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
148669
149155
  init_operations();
148670
149156
  init_tools();
148671
- args351 = {
149157
+ args352 = {
148672
149158
  request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
148673
149159
  };
148674
149160
  tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
148675
149161
  name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
148676
149162
  description: `Get Connection`,
148677
- args: args351,
148678
- tool: async (client, args352, ctx) => {
148679
- const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args352.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149163
+ args: args352,
149164
+ tool: async (client, args353, ctx) => {
149165
+ const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args353.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148680
149166
  if (!result.ok) {
148681
149167
  return {
148682
149168
  content: [{ type: "text", text: result.error.message }],
@@ -148691,9 +149177,9 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
148691
149177
 
148692
149178
  // src/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
148693
149179
  function schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, request, options) {
148694
- return new APIPromise($do361(client, request, options));
149180
+ return new APIPromise($do362(client, request, options));
148695
149181
  }
148696
- async function $do361(client, request, options) {
149182
+ async function $do362(client, request, options) {
148697
149183
  const parsed = safeParse4(request, (value) => GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema.parse(value), "Input validation failed");
148698
149184
  if (!parsed.ok) {
148699
149185
  return [parsed, { status: "invalid" }];
@@ -148781,20 +149267,20 @@ var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = __
148781
149267
  });
148782
149268
 
148783
149269
  // src/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
148784
- var args352, tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet;
149270
+ var args353, tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet;
148785
149271
  var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = __esm(() => {
148786
149272
  init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet();
148787
149273
  init_operations();
148788
149274
  init_tools();
148789
- args352 = {
149275
+ args353 = {
148790
149276
  request: GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema
148791
149277
  };
148792
149278
  tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = {
148793
149279
  name: "schema-3-other-get-environment-api-v1-sandbox-environments-environment-id-get",
148794
149280
  description: `Get Environment`,
148795
- args: args352,
148796
- tool: async (client, args353, ctx) => {
148797
- const [result, apiCall] = await schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, args353.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149281
+ args: args353,
149282
+ tool: async (client, args354, ctx) => {
149283
+ const [result, apiCall] = await schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, args354.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148798
149284
  if (!result.ok) {
148799
149285
  return {
148800
149286
  content: [{ type: "text", text: result.error.message }],
@@ -148809,9 +149295,9 @@ var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = _
148809
149295
 
148810
149296
  // src/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
148811
149297
  function schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, request, options) {
148812
- return new APIPromise($do362(client, request, options));
149298
+ return new APIPromise($do363(client, request, options));
148813
149299
  }
148814
- async function $do362(client, request, options) {
149300
+ async function $do363(client, request, options) {
148815
149301
  const parsed = safeParse4(request, (value) => ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema.parse(value), "Input validation failed");
148816
149302
  if (!parsed.ok) {
148817
149303
  return [parsed, { status: "invalid" }];
@@ -148889,20 +149375,20 @@ var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = __esm(() => {
148889
149375
  });
148890
149376
 
148891
149377
  // src/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
148892
- var args353, tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet;
149378
+ var args354, tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet;
148893
149379
  var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() => {
148894
149380
  init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet();
148895
149381
  init_operations();
148896
149382
  init_tools();
148897
- args353 = {
149383
+ args354 = {
148898
149384
  request: ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema
148899
149385
  };
148900
149386
  tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = {
148901
149387
  name: "schema-3-other-list-environments-api-v1-sandbox-environments-get",
148902
149388
  description: `List Environments`,
148903
- args: args353,
148904
- tool: async (client, args354, ctx) => {
148905
- const [result, apiCall] = await schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, args354.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149389
+ args: args354,
149390
+ tool: async (client, args355, ctx) => {
149391
+ const [result, apiCall] = await schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, args355.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
148906
149392
  if (!result.ok) {
148907
149393
  return {
148908
149394
  content: [{ type: "text", text: result.error.message }],
@@ -148917,9 +149403,9 @@ var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() =>
148917
149403
 
148918
149404
  // src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
148919
149405
  function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
148920
- return new APIPromise($do363(client, request, options));
149406
+ return new APIPromise($do364(client, request, options));
148921
149407
  }
148922
- async function $do363(client, request, options) {
149408
+ async function $do364(client, request, options) {
148923
149409
  const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
148924
149410
  if (!parsed.ok) {
148925
149411
  return [parsed, { status: "invalid" }];
@@ -148997,20 +149483,20 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
148997
149483
  });
148998
149484
 
148999
149485
  // src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
149000
- var args354, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
149486
+ var args355, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
149001
149487
  var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
149002
149488
  init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
149003
149489
  init_operations();
149004
149490
  init_tools();
149005
- args354 = {
149491
+ args355 = {
149006
149492
  request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
149007
149493
  };
149008
149494
  tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
149009
149495
  name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
149010
149496
  description: `List Repositories`,
149011
- args: args354,
149012
- tool: async (client, args355, ctx) => {
149013
- const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args355.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149497
+ args: args355,
149498
+ tool: async (client, args356, ctx) => {
149499
+ const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args356.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149014
149500
  if (!result.ok) {
149015
149501
  return {
149016
149502
  content: [{ type: "text", text: result.error.message }],
@@ -149025,9 +149511,9 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
149025
149511
 
149026
149512
  // src/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
149027
149513
  function schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, request, options) {
149028
- return new APIPromise($do364(client, request, options));
149514
+ return new APIPromise($do365(client, request, options));
149029
149515
  }
149030
- async function $do364(client, request, options) {
149516
+ async function $do365(client, request, options) {
149031
149517
  const parsed = safeParse4(request, (value) => ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
149032
149518
  if (!parsed.ok) {
149033
149519
  return [parsed, { status: "invalid" }];
@@ -149115,20 +149601,20 @@ var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet
149115
149601
  });
149116
149602
 
149117
149603
  // src/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
149118
- var args355, tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet;
149604
+ var args356, tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet;
149119
149605
  var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2 = __esm(() => {
149120
149606
  init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet();
149121
149607
  init_operations();
149122
149608
  init_tools();
149123
- args355 = {
149609
+ args356 = {
149124
149610
  request: ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema
149125
149611
  };
149126
149612
  tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = {
149127
149613
  name: "schema-3-other-manifest-api-v1-sandbox-sessions-session-id-github-repositories-get",
149128
149614
  description: `Manifest`,
149129
- args: args355,
149130
- tool: async (client, args356, ctx) => {
149131
- const [result, apiCall] = await schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, args356.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149615
+ args: args356,
149616
+ tool: async (client, args357, ctx) => {
149617
+ const [result, apiCall] = await schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, args357.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149132
149618
  if (!result.ok) {
149133
149619
  return {
149134
149620
  content: [{ type: "text", text: result.error.message }],
@@ -149143,9 +149629,9 @@ var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2
149143
149629
 
149144
149630
  // src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
149145
149631
  function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
149146
- return new APIPromise($do365(client, request, options));
149632
+ return new APIPromise($do366(client, request, options));
149147
149633
  }
149148
- async function $do365(client, request, options) {
149634
+ async function $do366(client, request, options) {
149149
149635
  const parsed = safeParse4(request, (value) => PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema.parse(value), "Input validation failed");
149150
149636
  if (!parsed.ok) {
149151
149637
  return [parsed, { status: "invalid" }];
@@ -149234,20 +149720,20 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(()
149234
149720
  });
149235
149721
 
149236
149722
  // src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
149237
- var args356, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
149723
+ var args357, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
149238
149724
  var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
149239
149725
  init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
149240
149726
  init_operations();
149241
149727
  init_tools();
149242
- args356 = {
149728
+ args357 = {
149243
149729
  request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
149244
149730
  };
149245
149731
  tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = {
149246
149732
  name: "schema-3-other-push-api-v1-sandbox-sessions-session-id-github-push-post",
149247
149733
  description: `Push`,
149248
- args: args356,
149249
- tool: async (client, args357, ctx) => {
149250
- const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args357.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149734
+ args: args357,
149735
+ tool: async (client, args358, ctx) => {
149736
+ const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args358.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149251
149737
  if (!result.ok) {
149252
149738
  return {
149253
149739
  content: [{ type: "text", text: result.error.message }],
@@ -149262,9 +149748,9 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(()
149262
149748
 
149263
149749
  // src/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
149264
149750
  function schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, request, options) {
149265
- return new APIPromise($do366(client, request, options));
149751
+ return new APIPromise($do367(client, request, options));
149266
149752
  }
149267
- async function $do366(client, request, options) {
149753
+ async function $do367(client, request, options) {
149268
149754
  const parsed = safeParse4(request, (value) => PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema.parse(value), "Input validation failed");
149269
149755
  if (!parsed.ok) {
149270
149756
  return [parsed, { status: "invalid" }];
@@ -149359,20 +149845,20 @@ var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositorie
149359
149845
  });
149360
149846
 
149361
149847
  // src/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
149362
- var args357, tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut;
149848
+ var args358, tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut;
149363
149849
  var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2 = __esm(() => {
149364
149850
  init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut();
149365
149851
  init_operations();
149366
149852
  init_tools();
149367
- args357 = {
149853
+ args358 = {
149368
149854
  request: PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema
149369
149855
  };
149370
149856
  tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = {
149371
149857
  name: "schema-3-other-put-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-put",
149372
149858
  description: `Put Repository`,
149373
- args: args357,
149374
- tool: async (client, args358, ctx) => {
149375
- const [result, apiCall] = await schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, args358.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149859
+ args: args358,
149860
+ tool: async (client, args359, ctx) => {
149861
+ const [result, apiCall] = await schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, args359.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149376
149862
  if (!result.ok) {
149377
149863
  return {
149378
149864
  content: [{ type: "text", text: result.error.message }],
@@ -149387,9 +149873,9 @@ var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositorie
149387
149873
 
149388
149874
  // src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
149389
149875
  function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
149390
- return new APIPromise($do367(client, request, options));
149876
+ return new APIPromise($do368(client, request, options));
149391
149877
  }
149392
- async function $do367(client, request, options) {
149878
+ async function $do368(client, request, options) {
149393
149879
  const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
149394
149880
  if (!parsed.ok) {
149395
149881
  return [parsed, { status: "invalid" }];
@@ -149480,20 +149966,20 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
149480
149966
  });
149481
149967
 
149482
149968
  // src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
149483
- var args358, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
149969
+ var args359, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
149484
149970
  var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
149485
149971
  init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
149486
149972
  init_operations();
149487
149973
  init_tools();
149488
- args358 = {
149974
+ args359 = {
149489
149975
  request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
149490
149976
  };
149491
149977
  tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
149492
149978
  name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
149493
149979
  description: `Read Clone`,
149494
- args: args358,
149495
- tool: async (client, args359, ctx) => {
149496
- const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args359.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149980
+ args: args359,
149981
+ tool: async (client, args360, ctx) => {
149982
+ const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args360.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149497
149983
  if (!result.ok) {
149498
149984
  return {
149499
149985
  content: [{ type: "text", text: result.error.message }],
@@ -149508,9 +149994,9 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
149508
149994
 
149509
149995
  // src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
149510
149996
  function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
149511
- return new APIPromise($do368(client, request, options));
149997
+ return new APIPromise($do369(client, request, options));
149512
149998
  }
149513
- async function $do368(client, request, options) {
149999
+ async function $do369(client, request, options) {
149514
150000
  const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
149515
150001
  if (!parsed.ok) {
149516
150002
  return [parsed, { status: "invalid" }];
@@ -149588,20 +150074,20 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
149588
150074
  });
149589
150075
 
149590
150076
  // src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
149591
- var args359, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
150077
+ var args360, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
149592
150078
  var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
149593
150079
  init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
149594
150080
  init_operations();
149595
150081
  init_tools();
149596
- args359 = {
150082
+ args360 = {
149597
150083
  request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
149598
150084
  };
149599
150085
  tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
149600
150086
  name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
149601
150087
  description: `Refresh Repositories`,
149602
- args: args359,
149603
- tool: async (client, args360, ctx) => {
149604
- const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args360.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150088
+ args: args360,
150089
+ tool: async (client, args361, ctx) => {
150090
+ const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args361.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149605
150091
  if (!result.ok) {
149606
150092
  return {
149607
150093
  content: [{ type: "text", text: result.error.message }],
@@ -149616,9 +150102,9 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
149616
150102
 
149617
150103
  // src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
149618
150104
  function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
149619
- return new APIPromise($do369(client, request, options));
150105
+ return new APIPromise($do370(client, request, options));
149620
150106
  }
149621
- async function $do369(client, request, options) {
150107
+ async function $do370(client, request, options) {
149622
150108
  const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
149623
150109
  if (!parsed.ok) {
149624
150110
  return [parsed, { status: "invalid" }];
@@ -149703,20 +150189,20 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
149703
150189
  });
149704
150190
 
149705
150191
  // src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
149706
- var args360, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
150192
+ var args361, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
149707
150193
  var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
149708
150194
  init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
149709
150195
  init_operations();
149710
150196
  init_tools();
149711
- args360 = {
150197
+ args361 = {
149712
150198
  request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
149713
150199
  };
149714
150200
  tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
149715
150201
  name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
149716
150202
  description: `Resolve Reference`,
149717
- args: args360,
149718
- tool: async (client, args361, ctx) => {
149719
- const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args361.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150203
+ args: args361,
150204
+ tool: async (client, args362, ctx) => {
150205
+ const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args362.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149720
150206
  if (!result.ok) {
149721
150207
  return {
149722
150208
  content: [{ type: "text", text: result.error.message }],
@@ -149731,9 +150217,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
149731
150217
 
149732
150218
  // src/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
149733
150219
  function schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, request, options) {
149734
- return new APIPromise($do370(client, request, options));
150220
+ return new APIPromise($do371(client, request, options));
149735
150221
  }
149736
- async function $do370(client, request, options) {
150222
+ async function $do371(client, request, options) {
149737
150223
  const parsed = safeParse4(request, (value) => RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema.parse(value), "Input validation failed");
149738
150224
  if (!parsed.ok) {
149739
150225
  return [parsed, { status: "invalid" }];
@@ -149821,20 +150307,20 @@ var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironment
149821
150307
  });
149822
150308
 
149823
150309
  // src/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
149824
- var args361, tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost;
150310
+ var args362, tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost;
149825
150311
  var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2 = __esm(() => {
149826
150312
  init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost();
149827
150313
  init_operations();
149828
150314
  init_tools();
149829
- args361 = {
150315
+ args362 = {
149830
150316
  request: RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema
149831
150317
  };
149832
150318
  tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = {
149833
150319
  name: "schema-3-other-run-environment-setup-api-v1-sandbox-sessions-session-id-environment-setup-post",
149834
150320
  description: `Run Environment Setup`,
149835
- args: args361,
149836
- tool: async (client, args362, ctx) => {
149837
- const [result, apiCall] = await schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, args362.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150321
+ args: args362,
150322
+ tool: async (client, args363, ctx) => {
150323
+ const [result, apiCall] = await schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, args363.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149838
150324
  if (!result.ok) {
149839
150325
  return {
149840
150326
  content: [{ type: "text", text: result.error.message }],
@@ -149849,9 +150335,9 @@ var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironment
149849
150335
 
149850
150336
  // src/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
149851
150337
  function schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, request, options) {
149852
- return new APIPromise($do371(client, request, options));
150338
+ return new APIPromise($do372(client, request, options));
149853
150339
  }
149854
- async function $do371(client, request, options) {
150340
+ async function $do372(client, request, options) {
149855
150341
  const parsed = safeParse4(request, (value) => UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema.parse(value), "Input validation failed");
149856
150342
  if (!parsed.ok) {
149857
150343
  return [parsed, { status: "invalid" }];
@@ -149942,20 +150428,20 @@ var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut =
149942
150428
  });
149943
150429
 
149944
150430
  // src/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
149945
- var args362, tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut;
150431
+ var args363, tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut;
149946
150432
  var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2 = __esm(() => {
149947
150433
  init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut();
149948
150434
  init_operations();
149949
150435
  init_tools();
149950
- args362 = {
150436
+ args363 = {
149951
150437
  request: UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema
149952
150438
  };
149953
150439
  tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = {
149954
150440
  name: "schema-3-other-update-environment-api-v1-sandbox-environments-environment-id-put",
149955
150441
  description: `Update Environment`,
149956
- args: args362,
149957
- tool: async (client, args363, ctx) => {
149958
- const [result, apiCall] = await schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, args363.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150442
+ args: args363,
150443
+ tool: async (client, args364, ctx) => {
150444
+ const [result, apiCall] = await schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, args364.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
149959
150445
  if (!result.ok) {
149960
150446
  return {
149961
150447
  content: [{ type: "text", text: result.error.message }],
@@ -149970,9 +150456,9 @@ var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2
149970
150456
 
149971
150457
  // src/funcs/usageCosts.ts
149972
150458
  function usageCosts(client, request, options) {
149973
- return new APIPromise($do372(client, request, options));
150459
+ return new APIPromise($do373(client, request, options));
149974
150460
  }
149975
- async function $do372(client, request, options) {
150461
+ async function $do373(client, request, options) {
149976
150462
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
149977
150463
  if (!parsed.ok) {
149978
150464
  return [parsed, { status: "invalid" }];
@@ -150055,12 +150541,12 @@ var init_usageCosts = __esm(() => {
150055
150541
  });
150056
150542
 
150057
150543
  // src/mcp-server/tools/usageCosts.ts
150058
- var args363, tool$usageCosts;
150544
+ var args364, tool$usageCosts;
150059
150545
  var init_usageCosts2 = __esm(() => {
150060
150546
  init_usageCosts();
150061
150547
  init_operations();
150062
150548
  init_tools();
150063
- args363 = {
150549
+ args364 = {
150064
150550
  request: GetCostsRequest$inboundSchema
150065
150551
  };
150066
150552
  tool$usageCosts = {
@@ -150068,9 +150554,9 @@ var init_usageCosts2 = __esm(() => {
150068
150554
  description: `Aggregate cost by dimension
150069
150555
 
150070
150556
  Sums stored per-entry cost over [start_time, end_time), grouped by any of service, task_type, model, api_key_id, team_id, user_id, external_user_id, org_id. Point-in-time correct for chargeback/showback.`,
150071
- args: args363,
150072
- tool: async (client, args364, ctx) => {
150073
- const [result, apiCall] = await usageCosts(client, args364.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150557
+ args: args364,
150558
+ tool: async (client, args365, ctx) => {
150559
+ const [result, apiCall] = await usageCosts(client, args365.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150074
150560
  if (!result.ok) {
150075
150561
  return {
150076
150562
  content: [{ type: "text", text: result.error.message }],
@@ -150085,9 +150571,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
150085
150571
 
150086
150572
  // src/funcs/usageSandbox.ts
150087
150573
  function usageSandbox(client, request, options) {
150088
- return new APIPromise($do373(client, request, options));
150574
+ return new APIPromise($do374(client, request, options));
150089
150575
  }
150090
- async function $do373(client, request, options) {
150576
+ async function $do374(client, request, options) {
150091
150577
  const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
150092
150578
  if (!parsed.ok) {
150093
150579
  return [parsed, { status: "invalid" }];
@@ -150178,12 +150664,12 @@ var init_usageSandbox = __esm(() => {
150178
150664
  });
150179
150665
 
150180
150666
  // src/mcp-server/tools/usageSandbox.ts
150181
- var args364, tool$usageSandbox;
150667
+ var args365, tool$usageSandbox;
150182
150668
  var init_usageSandbox2 = __esm(() => {
150183
150669
  init_usageSandbox();
150184
150670
  init_operations();
150185
150671
  init_tools();
150186
- args364 = {
150672
+ args365 = {
150187
150673
  request: GetSandboxUsageRequest$inboundSchema
150188
150674
  };
150189
150675
  tool$usageSandbox = {
@@ -150191,9 +150677,9 @@ var init_usageSandbox2 = __esm(() => {
150191
150677
  description: `Get Sandbox Usage
150192
150678
 
150193
150679
  Aggregate sandbox usage (session lifecycle, execution, and workspace operations) over a time range, bucketed and optionally grouped. Buckets are calendar-aligned in UTC: \`start_time\` is snapped down and \`end_time\` snapped up to the nearest bucket-width boundary, so the first and last buckets may extend slightly beyond the requested range. Org-scoped: callers see their own usage, org admins their team's; cluster admins may pass \`all_orgs\` or \`org_ids\`. Cost and spend reporting lives in the budgeting API (\`/api/v1/budgeting/usage/costs\`).`,
150194
- args: args364,
150195
- tool: async (client, args365, ctx) => {
150196
- const [result, apiCall] = await usageSandbox(client, args365.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150680
+ args: args365,
150681
+ tool: async (client, args366, ctx) => {
150682
+ const [result, apiCall] = await usageSandbox(client, args366.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
150197
150683
  if (!result.ok) {
150198
150684
  return {
150199
150685
  content: [{ type: "text", text: result.error.message }],
@@ -150210,7 +150696,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
150210
150696
  function createMCPServer(deps) {
150211
150697
  const server = new McpServer({
150212
150698
  name: "SDK",
150213
- version: "0.54.22"
150699
+ version: "0.54.23"
150214
150700
  });
150215
150701
  const client = new SDKCore({
150216
150702
  bearerAuth: deps.bearerAuth,
@@ -150495,6 +150981,7 @@ function createMCPServer(deps) {
150495
150981
  tool(tool$llmPromptsListVersions);
150496
150982
  tool(tool$llmPromptsGetVersion);
150497
150983
  tool(tool$llmPromptsRollback);
150984
+ tool(tool$llmResponsesCreate);
150498
150985
  tool(tool$llmResponsesList);
150499
150986
  tool(tool$llmResponsesGet);
150500
150987
  tool(tool$llmResponsesUpdate);
@@ -150878,6 +151365,7 @@ var init_server2 = __esm(() => {
150878
151365
  init_llmPromptsUpdate2();
150879
151366
  init_llmResponsesCancel2();
150880
151367
  init_llmResponsesCompact2();
151368
+ init_llmResponsesCreate2();
150881
151369
  init_llmResponsesDelete2();
150882
151370
  init_llmResponsesGet2();
150883
151371
  init_llmResponsesList2();
@@ -152154,7 +152642,7 @@ var routes = rn({
152154
152642
  var app = Ve(routes, {
152155
152643
  name: "mcp",
152156
152644
  versionInfo: {
152157
- currentVersion: "0.54.22"
152645
+ currentVersion: "0.54.23"
152158
152646
  }
152159
152647
  });
152160
152648
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -152162,5 +152650,5 @@ export {
152162
152650
  app
152163
152651
  };
152164
152652
 
152165
- //# debugId=8ADCA6049B19E00D64756E2164756E21
152653
+ //# debugId=7E31D83C714BC24164756E2164756E21
152166
152654
  //# sourceMappingURL=mcp-server.js.map