@dexto/server 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/hono/__tests__/test-fixtures.cjs +1 -1
  2. package/dist/hono/__tests__/test-fixtures.d.ts.map +1 -1
  3. package/dist/hono/__tests__/test-fixtures.js +1 -1
  4. package/dist/hono/index.cjs +41 -5
  5. package/dist/hono/index.d.ts +451 -452
  6. package/dist/hono/index.d.ts.map +1 -1
  7. package/dist/hono/index.js +41 -5
  8. package/dist/hono/routes/a2a-jsonrpc.cjs +3 -3
  9. package/dist/hono/routes/a2a-jsonrpc.d.ts +4 -1
  10. package/dist/hono/routes/a2a-jsonrpc.d.ts.map +1 -1
  11. package/dist/hono/routes/a2a-jsonrpc.js +3 -3
  12. package/dist/hono/routes/a2a-tasks.cjs +5 -5
  13. package/dist/hono/routes/a2a-tasks.d.ts +13 -10
  14. package/dist/hono/routes/a2a-tasks.d.ts.map +1 -1
  15. package/dist/hono/routes/a2a-tasks.js +5 -5
  16. package/dist/hono/routes/agents.cjs +25 -35
  17. package/dist/hono/routes/agents.d.ts +6 -407
  18. package/dist/hono/routes/agents.d.ts.map +1 -1
  19. package/dist/hono/routes/agents.js +25 -35
  20. package/dist/hono/routes/approvals.cjs +2 -2
  21. package/dist/hono/routes/approvals.d.ts +4 -1
  22. package/dist/hono/routes/approvals.d.ts.map +1 -1
  23. package/dist/hono/routes/approvals.js +2 -2
  24. package/dist/hono/routes/discovery.cjs +67 -0
  25. package/dist/hono/routes/discovery.d.ts +44 -0
  26. package/dist/hono/routes/discovery.d.ts.map +1 -0
  27. package/dist/hono/routes/discovery.js +43 -0
  28. package/dist/hono/routes/greeting.cjs +2 -2
  29. package/dist/hono/routes/greeting.d.ts +2 -2
  30. package/dist/hono/routes/greeting.d.ts.map +1 -1
  31. package/dist/hono/routes/greeting.js +2 -2
  32. package/dist/hono/routes/health.d.ts +2 -2
  33. package/dist/hono/routes/health.d.ts.map +1 -1
  34. package/dist/hono/routes/key.cjs +110 -0
  35. package/dist/hono/routes/key.d.ts +48 -0
  36. package/dist/hono/routes/key.d.ts.map +1 -0
  37. package/dist/hono/routes/key.js +90 -0
  38. package/dist/hono/routes/llm.cjs +12 -34
  39. package/dist/hono/routes/llm.d.ts +173 -25
  40. package/dist/hono/routes/llm.d.ts.map +1 -1
  41. package/dist/hono/routes/llm.js +12 -35
  42. package/dist/hono/routes/mcp.cjs +8 -8
  43. package/dist/hono/routes/mcp.d.ts +2 -2
  44. package/dist/hono/routes/mcp.d.ts.map +1 -1
  45. package/dist/hono/routes/mcp.js +8 -8
  46. package/dist/hono/routes/memory.cjs +5 -5
  47. package/dist/hono/routes/memory.d.ts +4 -1
  48. package/dist/hono/routes/memory.d.ts.map +1 -1
  49. package/dist/hono/routes/memory.js +5 -5
  50. package/dist/hono/routes/messages.cjs +4 -4
  51. package/dist/hono/routes/messages.d.ts +12 -12
  52. package/dist/hono/routes/messages.d.ts.map +1 -1
  53. package/dist/hono/routes/messages.js +4 -4
  54. package/dist/hono/routes/models.cjs +319 -0
  55. package/dist/hono/routes/models.d.ts +107 -0
  56. package/dist/hono/routes/models.d.ts.map +1 -0
  57. package/dist/hono/routes/models.js +305 -0
  58. package/dist/hono/routes/openrouter.cjs +153 -0
  59. package/dist/hono/routes/openrouter.d.ts +54 -0
  60. package/dist/hono/routes/openrouter.d.ts.map +1 -0
  61. package/dist/hono/routes/openrouter.js +134 -0
  62. package/dist/hono/routes/prompts.cjs +5 -5
  63. package/dist/hono/routes/prompts.d.ts +4 -1
  64. package/dist/hono/routes/prompts.d.ts.map +1 -1
  65. package/dist/hono/routes/prompts.js +5 -5
  66. package/dist/hono/routes/queue.cjs +4 -4
  67. package/dist/hono/routes/queue.d.ts +4 -1
  68. package/dist/hono/routes/queue.d.ts.map +1 -1
  69. package/dist/hono/routes/queue.js +4 -4
  70. package/dist/hono/routes/resources.cjs +3 -3
  71. package/dist/hono/routes/resources.d.ts +2 -2
  72. package/dist/hono/routes/resources.d.ts.map +1 -1
  73. package/dist/hono/routes/resources.js +3 -3
  74. package/dist/hono/routes/search.cjs +2 -2
  75. package/dist/hono/routes/search.d.ts +6 -3
  76. package/dist/hono/routes/search.d.ts.map +1 -1
  77. package/dist/hono/routes/search.js +2 -2
  78. package/dist/hono/routes/sessions.cjs +9 -9
  79. package/dist/hono/routes/sessions.d.ts +3 -3
  80. package/dist/hono/routes/sessions.d.ts.map +1 -1
  81. package/dist/hono/routes/sessions.js +9 -9
  82. package/dist/hono/routes/tools.cjs +126 -0
  83. package/dist/hono/routes/tools.d.ts +42 -0
  84. package/dist/hono/routes/tools.d.ts.map +1 -0
  85. package/dist/hono/routes/tools.js +102 -0
  86. package/dist/hono/routes/webhooks.cjs +4 -4
  87. package/dist/hono/routes/webhooks.d.ts +4 -1
  88. package/dist/hono/routes/webhooks.d.ts.map +1 -1
  89. package/dist/hono/routes/webhooks.js +4 -4
  90. package/dist/hono/schemas/responses.d.ts +41 -41
  91. package/dist/hono/start-server.cjs +102 -0
  92. package/dist/hono/start-server.d.ts +61 -0
  93. package/dist/hono/start-server.d.ts.map +1 -0
  94. package/dist/hono/start-server.js +78 -0
  95. package/dist/index.cjs +2 -0
  96. package/dist/index.d.ts +1 -0
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +1 -0
  99. package/package.json +5 -4
@@ -1,13 +1,18 @@
1
1
  import { OpenAPIHono } from '@hono/zod-openapi';
2
+ import type { Context } from 'hono';
2
3
  import type { DextoAgent, AgentCard } from '@dexto/core';
3
4
  import { type AgentsRouterContext } from './routes/agents.js';
4
5
  import { type WebUIRuntimeConfig } from './routes/static.js';
5
6
  import { WebhookEventSubscriber } from '../events/webhook-subscriber.js';
6
7
  import { A2ASseEventSubscriber } from '../events/a2a-sse-subscriber.js';
7
8
  import { ApprovalCoordinator } from '../approval/approval-coordinator.js';
9
+ export type GetAgentFn = (ctx: Context) => DextoAgent | Promise<DextoAgent>;
8
10
  export type CreateDextoAppOptions = {
11
+ /**
12
+ * Prefix for API routes. Defaults to '/api'.
13
+ */
9
14
  apiPrefix?: string;
10
- getAgent: () => DextoAgent;
15
+ getAgent: GetAgentFn;
11
16
  getAgentCard: () => AgentCard;
12
17
  approvalCoordinator: ApprovalCoordinator;
13
18
  webhookSubscriber: WebhookEventSubscriber;
@@ -17,8 +22,261 @@ export type CreateDextoAppOptions = {
17
22
  webRoot?: string;
18
23
  /** Runtime configuration to inject into WebUI (analytics, etc.) */
19
24
  webUIConfig?: WebUIRuntimeConfig;
25
+ /** Disable built-in auth middleware. Use when you have your own auth layer. */
26
+ disableAuth?: boolean;
20
27
  };
21
28
  export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIHono<import("hono").Env, import("hono/types").MergeSchemaPath<{
29
+ "/models/local": {
30
+ $get: {
31
+ input: {};
32
+ output: {
33
+ models: {
34
+ id: string;
35
+ displayName: string;
36
+ filePath: string;
37
+ sizeBytes: number;
38
+ source?: "manual" | "huggingface" | undefined;
39
+ contextLength?: number | undefined;
40
+ }[];
41
+ };
42
+ outputFormat: "json";
43
+ status: 200;
44
+ };
45
+ };
46
+ } & {
47
+ "/models/ollama": {
48
+ $get: {
49
+ input: {
50
+ query: {
51
+ baseURL?: string | undefined;
52
+ };
53
+ };
54
+ output: {
55
+ models: {
56
+ name: string;
57
+ size?: number | undefined;
58
+ digest?: string | undefined;
59
+ modifiedAt?: string | undefined;
60
+ }[];
61
+ available: boolean;
62
+ error?: string | undefined;
63
+ version?: string | undefined;
64
+ };
65
+ outputFormat: "json";
66
+ status: 200;
67
+ };
68
+ };
69
+ } & {
70
+ "/models/local/validate": {
71
+ $post: {
72
+ input: {
73
+ json: {
74
+ filePath: string;
75
+ };
76
+ };
77
+ output: {
78
+ valid: boolean;
79
+ error?: string | undefined;
80
+ sizeBytes?: number | undefined;
81
+ };
82
+ outputFormat: "json";
83
+ status: 200;
84
+ };
85
+ };
86
+ } & {
87
+ "/models/local/:modelId": {
88
+ $delete: {
89
+ input: {
90
+ param: {
91
+ modelId: string;
92
+ };
93
+ } & {
94
+ json: {
95
+ deleteFile?: boolean | undefined;
96
+ };
97
+ };
98
+ output: {
99
+ success: boolean;
100
+ modelId: string;
101
+ fileDeleted: boolean;
102
+ error?: string | undefined;
103
+ };
104
+ outputFormat: "json";
105
+ status: 200;
106
+ } | {
107
+ input: {
108
+ param: {
109
+ modelId: string;
110
+ };
111
+ } & {
112
+ json: {
113
+ deleteFile?: boolean | undefined;
114
+ };
115
+ };
116
+ output: {
117
+ success: boolean;
118
+ modelId: string;
119
+ fileDeleted: boolean;
120
+ error?: string | undefined;
121
+ };
122
+ outputFormat: "json";
123
+ status: 404;
124
+ };
125
+ };
126
+ }, "/api"> & import("hono/types").MergeSchemaPath<{
127
+ "/discovery": {
128
+ $get: {
129
+ input: {};
130
+ output: {
131
+ internalTools: {
132
+ description: string;
133
+ name: string;
134
+ }[];
135
+ customTools: {
136
+ type: string;
137
+ category: "customTools" | "compaction" | "blob";
138
+ metadata?: {
139
+ [x: string]: import("hono/utils/types").JSONValue;
140
+ description?: string | undefined;
141
+ displayName?: string | undefined;
142
+ } | undefined;
143
+ }[];
144
+ compaction: {
145
+ type: string;
146
+ category: "customTools" | "compaction" | "blob";
147
+ metadata?: {
148
+ [x: string]: import("hono/utils/types").JSONValue;
149
+ description?: string | undefined;
150
+ displayName?: string | undefined;
151
+ } | undefined;
152
+ }[];
153
+ blob: {
154
+ type: string;
155
+ category: "customTools" | "compaction" | "blob";
156
+ metadata?: {
157
+ [x: string]: import("hono/utils/types").JSONValue;
158
+ description?: string | undefined;
159
+ displayName?: string | undefined;
160
+ } | undefined;
161
+ }[];
162
+ };
163
+ outputFormat: "json";
164
+ status: 200;
165
+ };
166
+ };
167
+ }, "/api"> & import("hono/types").MergeSchemaPath<{
168
+ "/tools": {
169
+ $get: {
170
+ input: {};
171
+ output: {
172
+ tools: {
173
+ description: string;
174
+ id: string;
175
+ name: string;
176
+ source: "custom" | "mcp" | "internal";
177
+ serverName?: string | undefined;
178
+ inputSchema?: {
179
+ [x: string]: import("hono/utils/types").JSONValue;
180
+ type?: "object" | undefined;
181
+ properties?: {
182
+ [x: string]: {
183
+ [x: string]: import("hono/utils/types").JSONValue;
184
+ description?: string | undefined;
185
+ default?: any;
186
+ type?: "string" | "number" | "boolean" | "object" | "integer" | "array" | undefined;
187
+ enum?: (string | number | boolean)[] | undefined;
188
+ };
189
+ } | undefined;
190
+ required?: string[] | undefined;
191
+ } | undefined;
192
+ }[];
193
+ totalCount: number;
194
+ internalCount: number;
195
+ customCount: number;
196
+ mcpCount: number;
197
+ };
198
+ outputFormat: "json";
199
+ status: 200;
200
+ };
201
+ };
202
+ }, "/api"> & import("hono/types").MergeSchemaPath<{
203
+ "/llm/key/:provider": {
204
+ $get: {
205
+ input: {
206
+ param: {
207
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
208
+ };
209
+ };
210
+ output: {
211
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
212
+ hasKey: boolean;
213
+ envVar: string;
214
+ keyValue?: string | undefined;
215
+ };
216
+ outputFormat: "json";
217
+ status: 200;
218
+ };
219
+ };
220
+ } & {
221
+ "/llm/key": {
222
+ $post: {
223
+ input: {
224
+ json: {
225
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
226
+ apiKey: string;
227
+ };
228
+ };
229
+ output: {
230
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
231
+ ok: true;
232
+ envVar: string;
233
+ };
234
+ outputFormat: "json";
235
+ status: 200;
236
+ };
237
+ };
238
+ }, "/api"> & import("hono/types").MergeSchemaPath<{
239
+ "/openrouter/validate/:modelId": {
240
+ $get: {
241
+ input: {
242
+ param: {
243
+ modelId: string;
244
+ };
245
+ };
246
+ output: {
247
+ valid: boolean;
248
+ status: "valid" | "unknown" | "invalid";
249
+ modelId: string;
250
+ error?: string | undefined;
251
+ info?: {
252
+ contextLength: number;
253
+ } | undefined;
254
+ };
255
+ outputFormat: "json";
256
+ status: 200;
257
+ };
258
+ };
259
+ } & {
260
+ "/openrouter/refresh-cache": {
261
+ $post: {
262
+ input: {};
263
+ output: {
264
+ message: string;
265
+ ok: true;
266
+ };
267
+ outputFormat: "json";
268
+ status: 200;
269
+ } | {
270
+ input: {};
271
+ output: {
272
+ message: string;
273
+ ok: false;
274
+ };
275
+ outputFormat: "json";
276
+ status: 500;
277
+ };
278
+ };
279
+ }, "/api"> & import("hono/types").MergeSchemaPath<{
22
280
  "/queue/:sessionId": {
23
281
  $get: {
24
282
  input: {
@@ -244,7 +502,6 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
244
502
  id: string;
245
503
  sourcePath: string;
246
504
  name?: string | undefined;
247
- injectPreferences?: boolean | undefined;
248
505
  };
249
506
  };
250
507
  output: {
@@ -316,410 +573,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
316
573
  input: {
317
574
  json: {
318
575
  description: string;
319
- config: {
320
- llm: {
321
- model: string;
322
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
323
- apiKey: string;
324
- maxIterations?: number | undefined;
325
- baseURL?: string | undefined;
326
- maxInputTokens?: number | undefined;
327
- maxOutputTokens?: number | undefined;
328
- temperature?: number | undefined;
329
- allowedMediaTypes?: string[] | undefined;
330
- };
331
- systemPrompt: string | {
332
- contributors?: ({
333
- type: "static";
334
- content: string;
335
- id: string;
336
- priority: number;
337
- enabled?: boolean | undefined;
338
- } | {
339
- type: "dynamic";
340
- id: string;
341
- source: "resources" | "dateTime";
342
- priority: number;
343
- enabled?: boolean | undefined;
344
- } | {
345
- type: "file";
346
- id: string;
347
- priority: number;
348
- files: string[];
349
- options?: {
350
- includeFilenames?: boolean | undefined;
351
- separator?: string | undefined;
352
- errorHandling?: "error" | "skip" | undefined;
353
- maxFileSize?: number | undefined;
354
- includeMetadata?: boolean | undefined;
355
- } | undefined;
356
- enabled?: boolean | undefined;
357
- })[] | undefined;
358
- };
359
- tools?: Record<string, {
360
- maxOutputChars?: number | undefined;
361
- maxLines?: number | undefined;
362
- maxLineLength?: number | undefined;
363
- }> | undefined;
364
- storage?: {
365
- database: {
366
- type: "in-memory";
367
- options?: Record<string, any> | undefined;
368
- maxConnections?: number | undefined;
369
- idleTimeoutMillis?: number | undefined;
370
- connectionTimeoutMillis?: number | undefined;
371
- } | {
372
- path: string;
373
- type: "sqlite";
374
- options?: Record<string, any> | undefined;
375
- maxConnections?: number | undefined;
376
- idleTimeoutMillis?: number | undefined;
377
- connectionTimeoutMillis?: number | undefined;
378
- } | {
379
- type: "postgres";
380
- password?: string | undefined;
381
- options?: Record<string, any> | undefined;
382
- url?: string | undefined;
383
- maxConnections?: number | undefined;
384
- idleTimeoutMillis?: number | undefined;
385
- connectionTimeoutMillis?: number | undefined;
386
- host?: string | undefined;
387
- port?: number | undefined;
388
- database?: string | undefined;
389
- connectionString?: string | undefined;
390
- };
391
- cache: {
392
- type: "in-memory";
393
- options?: Record<string, any> | undefined;
394
- maxConnections?: number | undefined;
395
- idleTimeoutMillis?: number | undefined;
396
- connectionTimeoutMillis?: number | undefined;
397
- } | {
398
- type: "redis";
399
- password?: string | undefined;
400
- options?: Record<string, any> | undefined;
401
- url?: string | undefined;
402
- maxConnections?: number | undefined;
403
- idleTimeoutMillis?: number | undefined;
404
- connectionTimeoutMillis?: number | undefined;
405
- host?: string | undefined;
406
- port?: number | undefined;
407
- database?: number | undefined;
408
- };
409
- blob: {
410
- type: "in-memory";
411
- maxBlobSize?: number | undefined;
412
- maxTotalSize?: number | undefined;
413
- } | {
414
- type: "local";
415
- storePath: string;
416
- maxBlobSize?: number | undefined;
417
- maxTotalSize?: number | undefined;
418
- cleanupAfterDays?: number | undefined;
419
- };
420
- } | undefined;
421
- telemetry?: {
422
- enabled?: boolean | undefined;
423
- serviceName?: string | undefined;
424
- tracerName?: string | undefined;
425
- export?: {
426
- type: "otlp";
427
- headers?: Record<string, string> | undefined;
428
- protocol?: "http" | "grpc" | undefined;
429
- endpoint?: string | undefined;
430
- } | {
431
- type: "console";
432
- } | undefined;
433
- } | undefined;
434
- logger?: {
435
- level?: "debug" | "info" | "warn" | "error" | "silly" | undefined;
436
- transports?: ({
437
- type: "console";
438
- colorize?: boolean | undefined;
439
- } | {
440
- path: string;
441
- type: "file";
442
- maxFiles?: number | undefined;
443
- maxSize?: number | undefined;
444
- } | {
445
- token: string;
446
- type: "upstash";
447
- url: string;
448
- listName?: string | undefined;
449
- maxListLength?: number | undefined;
450
- batchSize?: number | undefined;
451
- })[] | undefined;
452
- } | undefined;
453
- elicitation?: {
454
- timeout?: number | undefined;
455
- enabled?: boolean | undefined;
456
- } | undefined;
457
- prompts?: ({
458
- prompt: string;
459
- type: "inline";
460
- id: string;
461
- description?: string | undefined;
462
- title?: string | undefined;
463
- priority?: number | undefined;
464
- category?: string | undefined;
465
- showInStarters?: boolean | undefined;
466
- } | {
467
- file: string;
468
- type: "file";
469
- showInStarters?: boolean | undefined;
470
- })[] | undefined;
471
- agentId?: string | undefined;
472
- agentCard?: {
473
- description: string;
474
- name: string;
475
- url: string;
476
- version: string;
477
- provider?: {
478
- url: string;
479
- organization: string;
480
- } | undefined;
481
- metadata?: import("zod").objectInputType<{
482
- dexto: import("zod").ZodOptional<import("zod").ZodObject<{
483
- authentication: import("zod").ZodOptional<import("zod").ZodObject<{
484
- schemes: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
485
- credentials: import("zod").ZodOptional<import("zod").ZodString>;
486
- }, "strict", import("zod").ZodTypeAny, {
487
- schemes: string[];
488
- credentials?: string | undefined;
489
- }, {
490
- schemes?: string[] | undefined;
491
- credentials?: string | undefined;
492
- }>>;
493
- delegation: import("zod").ZodOptional<import("zod").ZodObject<{
494
- protocol: import("zod").ZodEnum<["dexto-v1", "http-simple", "a2a-jsonrpc", "mcp-http"]>;
495
- endpoint: import("zod").ZodString;
496
- supportsSession: import("zod").ZodBoolean;
497
- supportsStreaming: import("zod").ZodOptional<import("zod").ZodBoolean>;
498
- }, "strict", import("zod").ZodTypeAny, {
499
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
500
- endpoint: string;
501
- supportsSession: boolean;
502
- supportsStreaming?: boolean | undefined;
503
- }, {
504
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
505
- endpoint: string;
506
- supportsSession: boolean;
507
- supportsStreaming?: boolean | undefined;
508
- }>>;
509
- owner: import("zod").ZodOptional<import("zod").ZodObject<{
510
- userId: import("zod").ZodString;
511
- username: import("zod").ZodString;
512
- email: import("zod").ZodOptional<import("zod").ZodString>;
513
- }, "strict", import("zod").ZodTypeAny, {
514
- userId: string;
515
- username: string;
516
- email?: string | undefined;
517
- }, {
518
- userId: string;
519
- username: string;
520
- email?: string | undefined;
521
- }>>;
522
- }, "strict", import("zod").ZodTypeAny, {
523
- authentication?: {
524
- schemes: string[];
525
- credentials?: string | undefined;
526
- } | undefined;
527
- delegation?: {
528
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
529
- endpoint: string;
530
- supportsSession: boolean;
531
- supportsStreaming?: boolean | undefined;
532
- } | undefined;
533
- owner?: {
534
- userId: string;
535
- username: string;
536
- email?: string | undefined;
537
- } | undefined;
538
- }, {
539
- authentication?: {
540
- schemes?: string[] | undefined;
541
- credentials?: string | undefined;
542
- } | undefined;
543
- delegation?: {
544
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
545
- endpoint: string;
546
- supportsSession: boolean;
547
- supportsStreaming?: boolean | undefined;
548
- } | undefined;
549
- owner?: {
550
- userId: string;
551
- username: string;
552
- email?: string | undefined;
553
- } | undefined;
554
- }>>;
555
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
556
- capabilities?: {
557
- streaming?: boolean | undefined;
558
- pushNotifications?: boolean | undefined;
559
- stateTransitionHistory?: boolean | undefined;
560
- } | undefined;
561
- protocolVersion?: string | undefined;
562
- preferredTransport?: "JSONRPC" | "GRPC" | "HTTP+JSON" | undefined;
563
- defaultInputModes?: string[] | undefined;
564
- defaultOutputModes?: string[] | undefined;
565
- skills?: {
566
- description: string;
567
- name: string;
568
- id: string;
569
- tags: string[];
570
- examples?: string[] | undefined;
571
- inputModes?: string[] | undefined;
572
- outputModes?: string[] | undefined;
573
- }[] | undefined;
574
- iconUrl?: string | undefined;
575
- documentationUrl?: string | undefined;
576
- additionalInterfaces?: {
577
- url: string;
578
- transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
579
- }[] | undefined;
580
- securitySchemes?: Record<string, {
581
- type: "apiKey";
582
- name: string;
583
- in: "query" | "header" | "cookie";
584
- description?: string | undefined;
585
- } | {
586
- type: "http";
587
- scheme: string;
588
- description?: string | undefined;
589
- bearerFormat?: string | undefined;
590
- } | {
591
- type: "oauth2";
592
- flows: {
593
- password?: {
594
- scopes: Record<string, string>;
595
- authorizationUrl?: string | undefined;
596
- tokenUrl?: string | undefined;
597
- refreshUrl?: string | undefined;
598
- } | undefined;
599
- implicit?: {
600
- scopes: Record<string, string>;
601
- authorizationUrl?: string | undefined;
602
- tokenUrl?: string | undefined;
603
- refreshUrl?: string | undefined;
604
- } | undefined;
605
- clientCredentials?: {
606
- scopes: Record<string, string>;
607
- authorizationUrl?: string | undefined;
608
- tokenUrl?: string | undefined;
609
- refreshUrl?: string | undefined;
610
- } | undefined;
611
- authorizationCode?: {
612
- scopes: Record<string, string>;
613
- authorizationUrl?: string | undefined;
614
- tokenUrl?: string | undefined;
615
- refreshUrl?: string | undefined;
616
- } | undefined;
617
- };
618
- description?: string | undefined;
619
- } | {
620
- type: "openIdConnect";
621
- openIdConnectUrl: string;
622
- description?: string | undefined;
623
- } | {
624
- type: "mutualTLS";
625
- description?: string | undefined;
626
- }> | undefined;
627
- security?: Record<string, string[]>[] | undefined;
628
- supportsAuthenticatedExtendedCard?: boolean | undefined;
629
- signatures?: {
630
- protected: string;
631
- signature: string;
632
- }[] | undefined;
633
- } | undefined;
634
- greeting?: string | undefined;
635
- memories?: {
636
- enabled?: boolean | undefined;
637
- limit?: number | undefined;
638
- priority?: number | undefined;
639
- includeTimestamps?: boolean | undefined;
640
- includeTags?: boolean | undefined;
641
- pinnedOnly?: boolean | undefined;
642
- } | undefined;
643
- mcpServers?: Record<string, {
644
- type: "stdio";
645
- command: string;
646
- timeout?: number | undefined;
647
- enabled?: boolean | undefined;
648
- args?: string[] | undefined;
649
- env?: Record<string, string> | undefined;
650
- connectionMode?: "strict" | "lenient" | undefined;
651
- } | {
652
- type: "sse";
653
- url: string;
654
- timeout?: number | undefined;
655
- enabled?: boolean | undefined;
656
- connectionMode?: "strict" | "lenient" | undefined;
657
- headers?: Record<string, string> | undefined;
658
- } | {
659
- type: "http";
660
- url: string;
661
- timeout?: number | undefined;
662
- enabled?: boolean | undefined;
663
- connectionMode?: "strict" | "lenient" | undefined;
664
- headers?: Record<string, string> | undefined;
665
- }> | undefined;
666
- internalTools?: ("search_history" | "ask_user" | "read_file" | "glob_files" | "grep_content" | "write_file" | "edit_file" | "bash_exec" | "bash_output" | "kill_process" | "delegate_to_url")[] | undefined;
667
- sessions?: {
668
- maxSessions?: number | undefined;
669
- sessionTTL?: number | undefined;
670
- } | undefined;
671
- toolConfirmation?: {
672
- timeout?: number | undefined;
673
- mode?: "manual" | "auto-approve" | "auto-deny" | undefined;
674
- allowedToolsStorage?: "storage" | "memory" | undefined;
675
- toolPolicies?: {
676
- alwaysAllow?: string[] | undefined;
677
- alwaysDeny?: string[] | undefined;
678
- } | undefined;
679
- } | undefined;
680
- internalResources?: ({
681
- type: "filesystem";
682
- paths: string[];
683
- maxFiles?: number | undefined;
684
- maxDepth?: number | undefined;
685
- includeHidden?: boolean | undefined;
686
- includeExtensions?: string[] | undefined;
687
- } | {
688
- type: "blob";
689
- })[] | {
690
- enabled?: boolean | undefined;
691
- resources?: ({
692
- type: "filesystem";
693
- paths: string[];
694
- maxFiles?: number | undefined;
695
- maxDepth?: number | undefined;
696
- includeHidden?: boolean | undefined;
697
- includeExtensions?: string[] | undefined;
698
- } | {
699
- type: "blob";
700
- })[] | undefined;
701
- } | undefined;
702
- plugins?: {
703
- custom?: {
704
- name: string;
705
- priority: number;
706
- module: string;
707
- blocking: boolean;
708
- config?: Record<string, any> | undefined;
709
- enabled?: boolean | undefined;
710
- }[] | undefined;
711
- contentPolicy?: import("zod").objectInputType<{
712
- priority: import("zod").ZodNumber;
713
- blocking: import("zod").ZodOptional<import("zod").ZodBoolean>;
714
- enabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
715
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
716
- responseSanitizer?: import("zod").objectInputType<{
717
- priority: import("zod").ZodNumber;
718
- blocking: import("zod").ZodOptional<import("zod").ZodBoolean>;
719
- enabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
720
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
721
- } | undefined;
722
- };
576
+ config: Record<string, any>;
723
577
  id: string;
724
578
  name: string;
725
579
  tags?: string[] | undefined;
@@ -1715,7 +1569,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1715
1569
  totalTokens?: number | undefined;
1716
1570
  } | undefined;
1717
1571
  model?: string | undefined;
1718
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
1572
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
1719
1573
  toolCalls?: {
1720
1574
  function: {
1721
1575
  name: string;
@@ -1797,7 +1651,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1797
1651
  totalTokens?: number | undefined;
1798
1652
  } | undefined;
1799
1653
  model?: string | undefined;
1800
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
1654
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
1801
1655
  toolCalls?: {
1802
1656
  function: {
1803
1657
  name: string;
@@ -1930,7 +1784,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1930
1784
  totalTokens?: number | undefined;
1931
1785
  } | undefined;
1932
1786
  model?: string | undefined;
1933
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
1787
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
1934
1788
  toolCalls?: {
1935
1789
  function: {
1936
1790
  name: string;
@@ -2080,7 +1934,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2080
1934
  output: {
2081
1935
  config: {
2082
1936
  model: string;
2083
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
1937
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
2084
1938
  maxIterations?: number | undefined;
2085
1939
  baseURL?: string | undefined;
2086
1940
  maxInputTokens?: number | undefined;
@@ -2263,6 +2117,160 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2263
2117
  } | undefined;
2264
2118
  }[];
2265
2119
  } | undefined;
2120
+ openrouter?: {
2121
+ name: string;
2122
+ hasApiKey: boolean;
2123
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2124
+ primaryEnvVar: string;
2125
+ supportsBaseURL: boolean;
2126
+ models: {
2127
+ name: string;
2128
+ maxInputTokens: number;
2129
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2130
+ default?: boolean | undefined;
2131
+ displayName?: string | undefined;
2132
+ pricing?: {
2133
+ inputPerM: number;
2134
+ outputPerM: number;
2135
+ cacheReadPerM?: number | undefined;
2136
+ cacheWritePerM?: number | undefined;
2137
+ currency?: "USD" | undefined;
2138
+ unit?: "per_million_tokens" | undefined;
2139
+ } | undefined;
2140
+ }[];
2141
+ } | undefined;
2142
+ litellm?: {
2143
+ name: string;
2144
+ hasApiKey: boolean;
2145
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2146
+ primaryEnvVar: string;
2147
+ supportsBaseURL: boolean;
2148
+ models: {
2149
+ name: string;
2150
+ maxInputTokens: number;
2151
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2152
+ default?: boolean | undefined;
2153
+ displayName?: string | undefined;
2154
+ pricing?: {
2155
+ inputPerM: number;
2156
+ outputPerM: number;
2157
+ cacheReadPerM?: number | undefined;
2158
+ cacheWritePerM?: number | undefined;
2159
+ currency?: "USD" | undefined;
2160
+ unit?: "per_million_tokens" | undefined;
2161
+ } | undefined;
2162
+ }[];
2163
+ } | undefined;
2164
+ glama?: {
2165
+ name: string;
2166
+ hasApiKey: boolean;
2167
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2168
+ primaryEnvVar: string;
2169
+ supportsBaseURL: boolean;
2170
+ models: {
2171
+ name: string;
2172
+ maxInputTokens: number;
2173
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2174
+ default?: boolean | undefined;
2175
+ displayName?: string | undefined;
2176
+ pricing?: {
2177
+ inputPerM: number;
2178
+ outputPerM: number;
2179
+ cacheReadPerM?: number | undefined;
2180
+ cacheWritePerM?: number | undefined;
2181
+ currency?: "USD" | undefined;
2182
+ unit?: "per_million_tokens" | undefined;
2183
+ } | undefined;
2184
+ }[];
2185
+ } | undefined;
2186
+ vertex?: {
2187
+ name: string;
2188
+ hasApiKey: boolean;
2189
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2190
+ primaryEnvVar: string;
2191
+ supportsBaseURL: boolean;
2192
+ models: {
2193
+ name: string;
2194
+ maxInputTokens: number;
2195
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2196
+ default?: boolean | undefined;
2197
+ displayName?: string | undefined;
2198
+ pricing?: {
2199
+ inputPerM: number;
2200
+ outputPerM: number;
2201
+ cacheReadPerM?: number | undefined;
2202
+ cacheWritePerM?: number | undefined;
2203
+ currency?: "USD" | undefined;
2204
+ unit?: "per_million_tokens" | undefined;
2205
+ } | undefined;
2206
+ }[];
2207
+ } | undefined;
2208
+ bedrock?: {
2209
+ name: string;
2210
+ hasApiKey: boolean;
2211
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2212
+ primaryEnvVar: string;
2213
+ supportsBaseURL: boolean;
2214
+ models: {
2215
+ name: string;
2216
+ maxInputTokens: number;
2217
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2218
+ default?: boolean | undefined;
2219
+ displayName?: string | undefined;
2220
+ pricing?: {
2221
+ inputPerM: number;
2222
+ outputPerM: number;
2223
+ cacheReadPerM?: number | undefined;
2224
+ cacheWritePerM?: number | undefined;
2225
+ currency?: "USD" | undefined;
2226
+ unit?: "per_million_tokens" | undefined;
2227
+ } | undefined;
2228
+ }[];
2229
+ } | undefined;
2230
+ local?: {
2231
+ name: string;
2232
+ hasApiKey: boolean;
2233
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2234
+ primaryEnvVar: string;
2235
+ supportsBaseURL: boolean;
2236
+ models: {
2237
+ name: string;
2238
+ maxInputTokens: number;
2239
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2240
+ default?: boolean | undefined;
2241
+ displayName?: string | undefined;
2242
+ pricing?: {
2243
+ inputPerM: number;
2244
+ outputPerM: number;
2245
+ cacheReadPerM?: number | undefined;
2246
+ cacheWritePerM?: number | undefined;
2247
+ currency?: "USD" | undefined;
2248
+ unit?: "per_million_tokens" | undefined;
2249
+ } | undefined;
2250
+ }[];
2251
+ } | undefined;
2252
+ ollama?: {
2253
+ name: string;
2254
+ hasApiKey: boolean;
2255
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2256
+ primaryEnvVar: string;
2257
+ supportsBaseURL: boolean;
2258
+ models: {
2259
+ name: string;
2260
+ maxInputTokens: number;
2261
+ supportedFileTypes: ("image" | "audio" | "pdf")[];
2262
+ default?: boolean | undefined;
2263
+ displayName?: string | undefined;
2264
+ pricing?: {
2265
+ inputPerM: number;
2266
+ outputPerM: number;
2267
+ cacheReadPerM?: number | undefined;
2268
+ cacheWritePerM?: number | undefined;
2269
+ currency?: "USD" | undefined;
2270
+ unit?: "per_million_tokens" | undefined;
2271
+ } | undefined;
2272
+ }[];
2273
+ } | undefined;
2266
2274
  };
2267
2275
  } | {
2268
2276
  models: {
@@ -2286,31 +2294,13 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2286
2294
  status: 200;
2287
2295
  };
2288
2296
  };
2289
- } & {
2290
- "/llm/key": {
2291
- $post: {
2292
- input: {
2293
- json: {
2294
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
2295
- apiKey: string;
2296
- };
2297
- };
2298
- output: {
2299
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
2300
- ok: true;
2301
- envVar: string;
2302
- };
2303
- outputFormat: "json";
2304
- status: 200;
2305
- };
2306
- };
2307
2297
  } & {
2308
2298
  "/llm/switch": {
2309
2299
  $post: {
2310
2300
  input: {
2311
2301
  json: {
2312
2302
  model?: string | undefined;
2313
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
2303
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
2314
2304
  apiKey?: string | undefined;
2315
2305
  maxIterations?: number | undefined;
2316
2306
  baseURL?: string | undefined;
@@ -2325,7 +2315,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2325
2315
  output: {
2326
2316
  config: {
2327
2317
  model: string;
2328
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
2318
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
2329
2319
  maxIterations: number;
2330
2320
  baseURL?: string | undefined;
2331
2321
  maxInputTokens?: number | undefined;
@@ -2347,7 +2337,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2347
2337
  output: {
2348
2338
  models: {
2349
2339
  name: string;
2350
- baseURL: string;
2340
+ provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
2341
+ apiKey?: string | undefined | undefined;
2342
+ baseURL?: string | undefined | undefined;
2343
+ filePath?: string | undefined | undefined;
2351
2344
  displayName?: string | undefined | undefined;
2352
2345
  maxInputTokens?: number | undefined | undefined;
2353
2346
  maxOutputTokens?: number | undefined | undefined;
@@ -2363,7 +2356,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2363
2356
  input: {
2364
2357
  json: {
2365
2358
  name: string;
2366
- baseURL: string;
2359
+ provider?: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
2360
+ apiKey?: string | undefined;
2361
+ baseURL?: string | undefined;
2362
+ filePath?: string | undefined;
2367
2363
  displayName?: string | undefined;
2368
2364
  maxInputTokens?: number | undefined;
2369
2365
  maxOutputTokens?: number | undefined;
@@ -2372,7 +2368,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2372
2368
  output: {
2373
2369
  model: {
2374
2370
  name: string;
2375
- baseURL: string;
2371
+ provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
2372
+ apiKey?: string | undefined | undefined;
2373
+ baseURL?: string | undefined | undefined;
2374
+ filePath?: string | undefined | undefined;
2376
2375
  displayName?: string | undefined | undefined;
2377
2376
  maxInputTokens?: number | undefined | undefined;
2378
2377
  maxOutputTokens?: number | undefined | undefined;
@@ -2432,12 +2431,9 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2432
2431
  sessionId: string;
2433
2432
  };
2434
2433
  };
2435
- output: {
2436
- sessionId: string;
2437
- accepted: true;
2438
- };
2439
- outputFormat: "json";
2440
- status: 202;
2434
+ output: {};
2435
+ outputFormat: string;
2436
+ status: 400;
2441
2437
  } | {
2442
2438
  input: {
2443
2439
  json: {
@@ -2457,9 +2453,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2457
2453
  sessionId: string;
2458
2454
  };
2459
2455
  };
2460
- output: {};
2461
- outputFormat: string;
2462
- status: 400;
2456
+ output: {
2457
+ sessionId: string;
2458
+ accepted: true;
2459
+ };
2460
+ outputFormat: "json";
2461
+ status: 202;
2463
2462
  };
2464
2463
  };
2465
2464
  } & {
@@ -2516,7 +2515,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2516
2515
  totalTokens?: number | undefined;
2517
2516
  } | undefined;
2518
2517
  model?: string | undefined;
2519
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
2518
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
2520
2519
  };
2521
2520
  outputFormat: "json";
2522
2521
  status: 200;
@@ -2659,8 +2658,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2659
2658
  })[];
2660
2659
  messageId: string;
2661
2660
  metadata?: Record<string, any> | undefined;
2662
- contextId?: string | undefined;
2663
2661
  taskId?: string | undefined;
2662
+ contextId?: string | undefined;
2664
2663
  extensions?: string[] | undefined;
2665
2664
  referenceTaskIds?: string[] | undefined;
2666
2665
  };
@@ -2715,8 +2714,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2715
2714
  metadata?: {
2716
2715
  [x: string]: any;
2717
2716
  } | undefined;
2718
- contextId?: string | undefined;
2719
2717
  taskId?: string | undefined;
2718
+ contextId?: string | undefined;
2720
2719
  extensions?: string[] | undefined;
2721
2720
  referenceTaskIds?: string[] | undefined;
2722
2721
  } | undefined;
@@ -2764,8 +2763,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2764
2763
  metadata?: {
2765
2764
  [x: string]: any;
2766
2765
  } | undefined;
2767
- contextId?: string | undefined;
2768
2766
  taskId?: string | undefined;
2767
+ contextId?: string | undefined;
2769
2768
  extensions?: string[] | undefined;
2770
2769
  referenceTaskIds?: string[] | undefined;
2771
2770
  }[] | undefined;
@@ -2829,8 +2828,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2829
2828
  metadata?: {
2830
2829
  [x: string]: any;
2831
2830
  } | undefined;
2832
- contextId?: string | undefined;
2833
2831
  taskId?: string | undefined;
2832
+ contextId?: string | undefined;
2834
2833
  extensions?: string[] | undefined;
2835
2834
  referenceTaskIds?: string[] | undefined;
2836
2835
  } | undefined;
@@ -2878,8 +2877,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2878
2877
  metadata?: {
2879
2878
  [x: string]: any;
2880
2879
  } | undefined;
2881
- contextId?: string | undefined;
2882
2880
  taskId?: string | undefined;
2881
+ contextId?: string | undefined;
2883
2882
  extensions?: string[] | undefined;
2884
2883
  referenceTaskIds?: string[] | undefined;
2885
2884
  }[] | undefined;
@@ -2949,8 +2948,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2949
2948
  metadata?: {
2950
2949
  [x: string]: any;
2951
2950
  } | undefined;
2952
- contextId?: string | undefined;
2953
2951
  taskId?: string | undefined;
2952
+ contextId?: string | undefined;
2954
2953
  extensions?: string[] | undefined;
2955
2954
  referenceTaskIds?: string[] | undefined;
2956
2955
  } | undefined;
@@ -2998,8 +2997,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2998
2997
  metadata?: {
2999
2998
  [x: string]: any;
3000
2999
  } | undefined;
3001
- contextId?: string | undefined;
3002
3000
  taskId?: string | undefined;
3001
+ contextId?: string | undefined;
3003
3002
  extensions?: string[] | undefined;
3004
3003
  referenceTaskIds?: string[] | undefined;
3005
3004
  }[] | undefined;
@@ -3065,8 +3064,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
3065
3064
  metadata?: {
3066
3065
  [x: string]: any;
3067
3066
  } | undefined;
3068
- contextId?: string | undefined;
3069
3067
  taskId?: string | undefined;
3068
+ contextId?: string | undefined;
3070
3069
  extensions?: string[] | undefined;
3071
3070
  referenceTaskIds?: string[] | undefined;
3072
3071
  } | undefined;
@@ -3114,8 +3113,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
3114
3113
  metadata?: {
3115
3114
  [x: string]: any;
3116
3115
  } | undefined;
3117
- contextId?: string | undefined;
3118
3116
  taskId?: string | undefined;
3117
+ contextId?: string | undefined;
3119
3118
  extensions?: string[] | undefined;
3120
3119
  referenceTaskIds?: string[] | undefined;
3121
3120
  }[] | undefined;