@dexto/server 1.6.20 → 1.6.21

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 (111) hide show
  1. package/dist/a2a/jsonrpc/methods.cjs +1 -1
  2. package/dist/a2a/jsonrpc/methods.d.ts +14 -4
  3. package/dist/a2a/jsonrpc/methods.d.ts.map +1 -1
  4. package/dist/a2a/jsonrpc/methods.js +1 -1
  5. package/dist/hono/index.cjs +39 -8
  6. package/dist/hono/index.d.ts +43 -4531
  7. package/dist/hono/index.d.ts.map +1 -1
  8. package/dist/hono/index.js +42 -9
  9. package/dist/hono/routes/a2a-jsonrpc.d.ts.map +1 -1
  10. package/dist/hono/routes/a2a-tasks.cjs +158 -32
  11. package/dist/hono/routes/a2a-tasks.d.ts +1 -502
  12. package/dist/hono/routes/a2a-tasks.d.ts.map +1 -1
  13. package/dist/hono/routes/a2a-tasks.js +162 -32
  14. package/dist/hono/routes/a2a.d.ts.map +1 -1
  15. package/dist/hono/routes/agents.cjs +410 -329
  16. package/dist/hono/routes/agents.d.ts +16043 -68
  17. package/dist/hono/routes/agents.d.ts.map +1 -1
  18. package/dist/hono/routes/agents.js +418 -330
  19. package/dist/hono/routes/approvals.cjs +102 -88
  20. package/dist/hono/routes/approvals.d.ts +2089 -142
  21. package/dist/hono/routes/approvals.d.ts.map +1 -1
  22. package/dist/hono/routes/approvals.js +108 -89
  23. package/dist/hono/routes/dexto-auth.cjs +40 -33
  24. package/dist/hono/routes/dexto-auth.d.ts +401 -2
  25. package/dist/hono/routes/dexto-auth.d.ts.map +1 -1
  26. package/dist/hono/routes/dexto-auth.js +40 -33
  27. package/dist/hono/routes/discovery.cjs +16 -14
  28. package/dist/hono/routes/discovery.d.ts +586 -1
  29. package/dist/hono/routes/discovery.d.ts.map +1 -1
  30. package/dist/hono/routes/discovery.js +16 -14
  31. package/dist/hono/routes/greeting.cjs +26 -22
  32. package/dist/hono/routes/greeting.d.ts +787 -3
  33. package/dist/hono/routes/greeting.d.ts.map +1 -1
  34. package/dist/hono/routes/greeting.js +26 -22
  35. package/dist/hono/routes/health.d.ts +1 -1
  36. package/dist/hono/routes/key.cjs +60 -52
  37. package/dist/hono/routes/key.d.ts +1597 -1
  38. package/dist/hono/routes/key.d.ts.map +1 -1
  39. package/dist/hono/routes/key.js +60 -52
  40. package/dist/hono/routes/llm.cjs +381 -348
  41. package/dist/hono/routes/llm.d.ts +12136 -86
  42. package/dist/hono/routes/llm.d.ts.map +1 -1
  43. package/dist/hono/routes/llm.js +385 -348
  44. package/dist/hono/routes/mcp.cjs +257 -226
  45. package/dist/hono/routes/mcp.d.ts +6605 -309
  46. package/dist/hono/routes/mcp.d.ts.map +1 -1
  47. package/dist/hono/routes/mcp.js +263 -225
  48. package/dist/hono/routes/memory.cjs +102 -89
  49. package/dist/hono/routes/memory.d.ts +5368 -4
  50. package/dist/hono/routes/memory.d.ts.map +1 -1
  51. package/dist/hono/routes/memory.js +108 -90
  52. package/dist/hono/routes/messages.cjs +147 -139
  53. package/dist/hono/routes/messages.d.ts +3900 -11
  54. package/dist/hono/routes/messages.d.ts.map +1 -1
  55. package/dist/hono/routes/messages.js +150 -139
  56. package/dist/hono/routes/models.cjs +106 -64
  57. package/dist/hono/routes/models.d.ts +2874 -1
  58. package/dist/hono/routes/models.d.ts.map +1 -1
  59. package/dist/hono/routes/models.js +108 -64
  60. package/dist/hono/routes/openrouter.cjs +79 -65
  61. package/dist/hono/routes/openrouter.d.ts +854 -1
  62. package/dist/hono/routes/openrouter.d.ts.map +1 -1
  63. package/dist/hono/routes/openrouter.js +79 -65
  64. package/dist/hono/routes/prompts.cjs +136 -109
  65. package/dist/hono/routes/prompts.d.ts +2818 -10
  66. package/dist/hono/routes/prompts.d.ts.map +1 -1
  67. package/dist/hono/routes/prompts.js +138 -109
  68. package/dist/hono/routes/queue.cjs +133 -120
  69. package/dist/hono/routes/queue.d.ts +5144 -9
  70. package/dist/hono/routes/queue.d.ts.map +1 -1
  71. package/dist/hono/routes/queue.js +136 -120
  72. package/dist/hono/routes/resources.cjs +65 -46
  73. package/dist/hono/routes/resources.d.ts +1982 -4
  74. package/dist/hono/routes/resources.d.ts.map +1 -1
  75. package/dist/hono/routes/resources.js +72 -47
  76. package/dist/hono/routes/schedules.cjs +233 -226
  77. package/dist/hono/routes/schedules.d.ts +4198 -22
  78. package/dist/hono/routes/schedules.d.ts.map +1 -1
  79. package/dist/hono/routes/schedules.js +233 -226
  80. package/dist/hono/routes/search.cjs +34 -30
  81. package/dist/hono/routes/search.d.ts +2835 -12
  82. package/dist/hono/routes/search.d.ts.map +1 -1
  83. package/dist/hono/routes/search.js +40 -31
  84. package/dist/hono/routes/sessions.cjs +403 -396
  85. package/dist/hono/routes/sessions.d.ts +16582 -27
  86. package/dist/hono/routes/sessions.d.ts.map +1 -1
  87. package/dist/hono/routes/sessions.js +407 -397
  88. package/dist/hono/routes/static.d.ts.map +1 -1
  89. package/dist/hono/routes/system-prompt.cjs +57 -61
  90. package/dist/hono/routes/system-prompt.d.ts +1228 -2
  91. package/dist/hono/routes/system-prompt.d.ts.map +1 -1
  92. package/dist/hono/routes/system-prompt.js +58 -62
  93. package/dist/hono/routes/tools.cjs +29 -34
  94. package/dist/hono/routes/tools.d.ts +1755 -6
  95. package/dist/hono/routes/tools.d.ts.map +1 -1
  96. package/dist/hono/routes/tools.js +33 -33
  97. package/dist/hono/routes/webhooks.cjs +115 -123
  98. package/dist/hono/routes/webhooks.d.ts +2501 -11
  99. package/dist/hono/routes/webhooks.d.ts.map +1 -1
  100. package/dist/hono/routes/webhooks.js +120 -124
  101. package/dist/hono/routes/workspaces.cjs +84 -79
  102. package/dist/hono/routes/workspaces.d.ts +2093 -2
  103. package/dist/hono/routes/workspaces.d.ts.map +1 -1
  104. package/dist/hono/routes/workspaces.js +89 -80
  105. package/dist/hono/schemas/responses.cjs +406 -259
  106. package/dist/hono/schemas/responses.d.ts +1246 -123
  107. package/dist/hono/schemas/responses.d.ts.map +1 -1
  108. package/dist/hono/schemas/responses.js +144 -10
  109. package/dist/hono/types.d.ts +11 -0
  110. package/dist/hono/types.d.ts.map +1 -1
  111. package/package.json +7 -7
@@ -26,8 +26,101 @@
26
26
  *
27
27
  * See routes/sessions.ts, routes/search.ts for examples with TODO comments.
28
28
  */
29
- import { z } from 'zod';
29
+ import { z } from '@hono/zod-openapi';
30
30
  import { type ContentPart as CoreContentPart } from '@dexto/core';
31
+ type JsonValue = string | number | boolean | null | JsonValue[] | {
32
+ [key: string]: JsonValue;
33
+ };
34
+ export declare const JsonValueSchema: z.ZodType<JsonValue>;
35
+ export declare const JsonObjectSchema: z.ZodType<{
36
+ [key: string]: JsonValue;
37
+ }>;
38
+ export declare const JsonSchemaPropertySchema: z.ZodObject<{
39
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
40
+ description: z.ZodOptional<z.ZodString>;
41
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
42
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
43
+ format: z.ZodOptional<z.ZodString>;
44
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
46
+ description: z.ZodOptional<z.ZodString>;
47
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
48
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
49
+ format: z.ZodOptional<z.ZodString>;
50
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
51
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
52
+ description: z.ZodOptional<z.ZodString>;
53
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
54
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
55
+ format: z.ZodOptional<z.ZodString>;
56
+ }, z.ZodTypeAny, "passthrough">>;
57
+ export declare const ToolInputSchema: z.ZodObject<{
58
+ type: z.ZodOptional<z.ZodLiteral<"object">>;
59
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
60
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
61
+ description: z.ZodOptional<z.ZodString>;
62
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
63
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
64
+ format: z.ZodOptional<z.ZodString>;
65
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
66
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
67
+ description: z.ZodOptional<z.ZodString>;
68
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
69
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
70
+ format: z.ZodOptional<z.ZodString>;
71
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
72
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
73
+ description: z.ZodOptional<z.ZodString>;
74
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
75
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
76
+ format: z.ZodOptional<z.ZodString>;
77
+ }, z.ZodTypeAny, "passthrough">>>>;
78
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
79
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
80
+ type: z.ZodOptional<z.ZodLiteral<"object">>;
81
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
82
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
83
+ description: z.ZodOptional<z.ZodString>;
84
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
85
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
86
+ format: z.ZodOptional<z.ZodString>;
87
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
88
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
89
+ description: z.ZodOptional<z.ZodString>;
90
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
91
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
92
+ format: z.ZodOptional<z.ZodString>;
93
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
95
+ description: z.ZodOptional<z.ZodString>;
96
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
97
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
98
+ format: z.ZodOptional<z.ZodString>;
99
+ }, z.ZodTypeAny, "passthrough">>>>;
100
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
101
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102
+ type: z.ZodOptional<z.ZodLiteral<"object">>;
103
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
104
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
105
+ description: z.ZodOptional<z.ZodString>;
106
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
107
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
108
+ format: z.ZodOptional<z.ZodString>;
109
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
110
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
111
+ description: z.ZodOptional<z.ZodString>;
112
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
113
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
114
+ format: z.ZodOptional<z.ZodString>;
115
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
117
+ description: z.ZodOptional<z.ZodString>;
118
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
119
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
120
+ format: z.ZodOptional<z.ZodString>;
121
+ }, z.ZodTypeAny, "passthrough">>>>;
122
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ }, z.ZodTypeAny, "passthrough">>;
31
124
  export declare const IssueSchema: z.ZodObject<{
32
125
  code: z.ZodString;
33
126
  message: z.ZodString;
@@ -35,7 +128,7 @@ export declare const IssueSchema: z.ZodObject<{
35
128
  type: z.ZodString;
36
129
  severity: z.ZodEnum<["error", "warning"]>;
37
130
  path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
38
- context: z.ZodOptional<z.ZodUnknown>;
131
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
39
132
  }, "strict", z.ZodTypeAny, {
40
133
  type: string;
41
134
  code: string;
@@ -43,7 +136,7 @@ export declare const IssueSchema: z.ZodObject<{
43
136
  scope: string;
44
137
  severity: "error" | "warning";
45
138
  path?: (string | number)[] | undefined;
46
- context?: unknown;
139
+ context?: JsonValue | undefined;
47
140
  }, {
48
141
  type: string;
49
142
  code: string;
@@ -51,7 +144,7 @@ export declare const IssueSchema: z.ZodObject<{
51
144
  scope: string;
52
145
  severity: "error" | "warning";
53
146
  path?: (string | number)[] | undefined;
54
- context?: unknown;
147
+ context?: JsonValue | undefined;
55
148
  }>;
56
149
  export declare const ApiErrorResponseSchema: z.ZodObject<{
57
150
  name: z.ZodOptional<z.ZodString>;
@@ -64,7 +157,7 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
64
157
  method: z.ZodString;
65
158
  traceId: z.ZodOptional<z.ZodString>;
66
159
  recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
67
- context: z.ZodOptional<z.ZodUnknown>;
160
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
68
161
  issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
69
162
  code: z.ZodString;
70
163
  message: z.ZodString;
@@ -72,7 +165,7 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
72
165
  type: z.ZodString;
73
166
  severity: z.ZodEnum<["error", "warning"]>;
74
167
  path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
75
- context: z.ZodOptional<z.ZodUnknown>;
168
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
76
169
  }, "strict", z.ZodTypeAny, {
77
170
  type: string;
78
171
  code: string;
@@ -80,7 +173,7 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
80
173
  scope: string;
81
174
  severity: "error" | "warning";
82
175
  path?: (string | number)[] | undefined;
83
- context?: unknown;
176
+ context?: JsonValue | undefined;
84
177
  }, {
85
178
  type: string;
86
179
  code: string;
@@ -88,7 +181,7 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
88
181
  scope: string;
89
182
  severity: "error" | "warning";
90
183
  path?: (string | number)[] | undefined;
91
- context?: unknown;
184
+ context?: JsonValue | undefined;
92
185
  }>, "many">>;
93
186
  errorCount: z.ZodOptional<z.ZodNumber>;
94
187
  warningCount: z.ZodOptional<z.ZodNumber>;
@@ -97,6 +190,7 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
97
190
  method: string;
98
191
  message: string;
99
192
  endpoint: string;
193
+ stack?: string | undefined;
100
194
  type?: string | undefined;
101
195
  issues?: {
102
196
  type: string;
@@ -105,22 +199,22 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
105
199
  scope: string;
106
200
  severity: "error" | "warning";
107
201
  path?: (string | number)[] | undefined;
108
- context?: unknown;
202
+ context?: JsonValue | undefined;
109
203
  }[] | undefined;
110
204
  code?: string | undefined;
205
+ name?: string | undefined;
111
206
  scope?: string | undefined;
112
207
  severity?: "error" | "warning" | undefined;
113
- name?: string | undefined;
114
- context?: unknown;
208
+ context?: JsonValue | undefined;
115
209
  traceId?: string | undefined;
116
210
  recovery?: string | string[] | undefined;
117
211
  errorCount?: number | undefined;
118
212
  warningCount?: number | undefined;
119
- stack?: string | undefined;
120
213
  }, {
121
214
  method: string;
122
215
  message: string;
123
216
  endpoint: string;
217
+ stack?: string | undefined;
124
218
  type?: string | undefined;
125
219
  issues?: {
126
220
  type: string;
@@ -129,19 +223,882 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
129
223
  scope: string;
130
224
  severity: "error" | "warning";
131
225
  path?: (string | number)[] | undefined;
132
- context?: unknown;
226
+ context?: JsonValue | undefined;
133
227
  }[] | undefined;
134
228
  code?: string | undefined;
229
+ name?: string | undefined;
135
230
  scope?: string | undefined;
136
231
  severity?: "error" | "warning" | undefined;
137
- name?: string | undefined;
138
- context?: unknown;
232
+ context?: JsonValue | undefined;
139
233
  traceId?: string | undefined;
140
234
  recovery?: string | string[] | undefined;
141
235
  errorCount?: number | undefined;
142
236
  warningCount?: number | undefined;
143
- stack?: string | undefined;
144
237
  }>;
238
+ export declare const BadRequestErrorResponse: {
239
+ readonly description: "Validation or request error";
240
+ readonly content: {
241
+ readonly 'application/json': {
242
+ readonly schema: z.ZodObject<{
243
+ name: z.ZodOptional<z.ZodString>;
244
+ message: z.ZodString;
245
+ code: z.ZodOptional<z.ZodString>;
246
+ scope: z.ZodOptional<z.ZodString>;
247
+ type: z.ZodOptional<z.ZodString>;
248
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
249
+ endpoint: z.ZodString;
250
+ method: z.ZodString;
251
+ traceId: z.ZodOptional<z.ZodString>;
252
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
253
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
254
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
+ code: z.ZodString;
256
+ message: z.ZodString;
257
+ scope: z.ZodString;
258
+ type: z.ZodString;
259
+ severity: z.ZodEnum<["error", "warning"]>;
260
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
261
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
262
+ }, "strict", z.ZodTypeAny, {
263
+ type: string;
264
+ code: string;
265
+ message: string;
266
+ scope: string;
267
+ severity: "error" | "warning";
268
+ path?: (string | number)[] | undefined;
269
+ context?: JsonValue | undefined;
270
+ }, {
271
+ type: string;
272
+ code: string;
273
+ message: string;
274
+ scope: string;
275
+ severity: "error" | "warning";
276
+ path?: (string | number)[] | undefined;
277
+ context?: JsonValue | undefined;
278
+ }>, "many">>;
279
+ errorCount: z.ZodOptional<z.ZodNumber>;
280
+ warningCount: z.ZodOptional<z.ZodNumber>;
281
+ stack: z.ZodOptional<z.ZodString>;
282
+ }, "strict", z.ZodTypeAny, {
283
+ method: string;
284
+ message: string;
285
+ endpoint: string;
286
+ stack?: string | undefined;
287
+ type?: string | undefined;
288
+ issues?: {
289
+ type: string;
290
+ code: string;
291
+ message: string;
292
+ scope: string;
293
+ severity: "error" | "warning";
294
+ path?: (string | number)[] | undefined;
295
+ context?: JsonValue | undefined;
296
+ }[] | undefined;
297
+ code?: string | undefined;
298
+ name?: string | undefined;
299
+ scope?: string | undefined;
300
+ severity?: "error" | "warning" | undefined;
301
+ context?: JsonValue | undefined;
302
+ traceId?: string | undefined;
303
+ recovery?: string | string[] | undefined;
304
+ errorCount?: number | undefined;
305
+ warningCount?: number | undefined;
306
+ }, {
307
+ method: string;
308
+ message: string;
309
+ endpoint: string;
310
+ stack?: string | undefined;
311
+ type?: string | undefined;
312
+ issues?: {
313
+ type: string;
314
+ code: string;
315
+ message: string;
316
+ scope: string;
317
+ severity: "error" | "warning";
318
+ path?: (string | number)[] | undefined;
319
+ context?: JsonValue | undefined;
320
+ }[] | undefined;
321
+ code?: string | undefined;
322
+ name?: string | undefined;
323
+ scope?: string | undefined;
324
+ severity?: "error" | "warning" | undefined;
325
+ context?: JsonValue | undefined;
326
+ traceId?: string | undefined;
327
+ recovery?: string | string[] | undefined;
328
+ errorCount?: number | undefined;
329
+ warningCount?: number | undefined;
330
+ }>;
331
+ };
332
+ };
333
+ };
334
+ export declare const PaymentRequiredErrorResponse: {
335
+ readonly description: "Payment required";
336
+ readonly content: {
337
+ readonly 'application/json': {
338
+ readonly schema: z.ZodObject<{
339
+ name: z.ZodOptional<z.ZodString>;
340
+ message: z.ZodString;
341
+ code: z.ZodOptional<z.ZodString>;
342
+ scope: z.ZodOptional<z.ZodString>;
343
+ type: z.ZodOptional<z.ZodString>;
344
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
345
+ endpoint: z.ZodString;
346
+ method: z.ZodString;
347
+ traceId: z.ZodOptional<z.ZodString>;
348
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
349
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
350
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
351
+ code: z.ZodString;
352
+ message: z.ZodString;
353
+ scope: z.ZodString;
354
+ type: z.ZodString;
355
+ severity: z.ZodEnum<["error", "warning"]>;
356
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
357
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
358
+ }, "strict", z.ZodTypeAny, {
359
+ type: string;
360
+ code: string;
361
+ message: string;
362
+ scope: string;
363
+ severity: "error" | "warning";
364
+ path?: (string | number)[] | undefined;
365
+ context?: JsonValue | undefined;
366
+ }, {
367
+ type: string;
368
+ code: string;
369
+ message: string;
370
+ scope: string;
371
+ severity: "error" | "warning";
372
+ path?: (string | number)[] | undefined;
373
+ context?: JsonValue | undefined;
374
+ }>, "many">>;
375
+ errorCount: z.ZodOptional<z.ZodNumber>;
376
+ warningCount: z.ZodOptional<z.ZodNumber>;
377
+ stack: z.ZodOptional<z.ZodString>;
378
+ }, "strict", z.ZodTypeAny, {
379
+ method: string;
380
+ message: string;
381
+ endpoint: string;
382
+ stack?: string | undefined;
383
+ type?: string | undefined;
384
+ issues?: {
385
+ type: string;
386
+ code: string;
387
+ message: string;
388
+ scope: string;
389
+ severity: "error" | "warning";
390
+ path?: (string | number)[] | undefined;
391
+ context?: JsonValue | undefined;
392
+ }[] | undefined;
393
+ code?: string | undefined;
394
+ name?: string | undefined;
395
+ scope?: string | undefined;
396
+ severity?: "error" | "warning" | undefined;
397
+ context?: JsonValue | undefined;
398
+ traceId?: string | undefined;
399
+ recovery?: string | string[] | undefined;
400
+ errorCount?: number | undefined;
401
+ warningCount?: number | undefined;
402
+ }, {
403
+ method: string;
404
+ message: string;
405
+ endpoint: string;
406
+ stack?: string | undefined;
407
+ type?: string | undefined;
408
+ issues?: {
409
+ type: string;
410
+ code: string;
411
+ message: string;
412
+ scope: string;
413
+ severity: "error" | "warning";
414
+ path?: (string | number)[] | undefined;
415
+ context?: JsonValue | undefined;
416
+ }[] | undefined;
417
+ code?: string | undefined;
418
+ name?: string | undefined;
419
+ scope?: string | undefined;
420
+ severity?: "error" | "warning" | undefined;
421
+ context?: JsonValue | undefined;
422
+ traceId?: string | undefined;
423
+ recovery?: string | string[] | undefined;
424
+ errorCount?: number | undefined;
425
+ warningCount?: number | undefined;
426
+ }>;
427
+ };
428
+ };
429
+ };
430
+ export declare const ForbiddenErrorResponse: {
431
+ readonly description: "Forbidden";
432
+ readonly content: {
433
+ readonly 'application/json': {
434
+ readonly schema: z.ZodObject<{
435
+ name: z.ZodOptional<z.ZodString>;
436
+ message: z.ZodString;
437
+ code: z.ZodOptional<z.ZodString>;
438
+ scope: z.ZodOptional<z.ZodString>;
439
+ type: z.ZodOptional<z.ZodString>;
440
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
441
+ endpoint: z.ZodString;
442
+ method: z.ZodString;
443
+ traceId: z.ZodOptional<z.ZodString>;
444
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
445
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
446
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
447
+ code: z.ZodString;
448
+ message: z.ZodString;
449
+ scope: z.ZodString;
450
+ type: z.ZodString;
451
+ severity: z.ZodEnum<["error", "warning"]>;
452
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
453
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
454
+ }, "strict", z.ZodTypeAny, {
455
+ type: string;
456
+ code: string;
457
+ message: string;
458
+ scope: string;
459
+ severity: "error" | "warning";
460
+ path?: (string | number)[] | undefined;
461
+ context?: JsonValue | undefined;
462
+ }, {
463
+ type: string;
464
+ code: string;
465
+ message: string;
466
+ scope: string;
467
+ severity: "error" | "warning";
468
+ path?: (string | number)[] | undefined;
469
+ context?: JsonValue | undefined;
470
+ }>, "many">>;
471
+ errorCount: z.ZodOptional<z.ZodNumber>;
472
+ warningCount: z.ZodOptional<z.ZodNumber>;
473
+ stack: z.ZodOptional<z.ZodString>;
474
+ }, "strict", z.ZodTypeAny, {
475
+ method: string;
476
+ message: string;
477
+ endpoint: string;
478
+ stack?: string | undefined;
479
+ type?: string | undefined;
480
+ issues?: {
481
+ type: string;
482
+ code: string;
483
+ message: string;
484
+ scope: string;
485
+ severity: "error" | "warning";
486
+ path?: (string | number)[] | undefined;
487
+ context?: JsonValue | undefined;
488
+ }[] | undefined;
489
+ code?: string | undefined;
490
+ name?: string | undefined;
491
+ scope?: string | undefined;
492
+ severity?: "error" | "warning" | undefined;
493
+ context?: JsonValue | undefined;
494
+ traceId?: string | undefined;
495
+ recovery?: string | string[] | undefined;
496
+ errorCount?: number | undefined;
497
+ warningCount?: number | undefined;
498
+ }, {
499
+ method: string;
500
+ message: string;
501
+ endpoint: string;
502
+ stack?: string | undefined;
503
+ type?: string | undefined;
504
+ issues?: {
505
+ type: string;
506
+ code: string;
507
+ message: string;
508
+ scope: string;
509
+ severity: "error" | "warning";
510
+ path?: (string | number)[] | undefined;
511
+ context?: JsonValue | undefined;
512
+ }[] | undefined;
513
+ code?: string | undefined;
514
+ name?: string | undefined;
515
+ scope?: string | undefined;
516
+ severity?: "error" | "warning" | undefined;
517
+ context?: JsonValue | undefined;
518
+ traceId?: string | undefined;
519
+ recovery?: string | string[] | undefined;
520
+ errorCount?: number | undefined;
521
+ warningCount?: number | undefined;
522
+ }>;
523
+ };
524
+ };
525
+ };
526
+ export declare const NotFoundErrorResponse: {
527
+ readonly description: "Resource not found";
528
+ readonly content: {
529
+ readonly 'application/json': {
530
+ readonly schema: z.ZodObject<{
531
+ name: z.ZodOptional<z.ZodString>;
532
+ message: z.ZodString;
533
+ code: z.ZodOptional<z.ZodString>;
534
+ scope: z.ZodOptional<z.ZodString>;
535
+ type: z.ZodOptional<z.ZodString>;
536
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
537
+ endpoint: z.ZodString;
538
+ method: z.ZodString;
539
+ traceId: z.ZodOptional<z.ZodString>;
540
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
541
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
542
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
543
+ code: z.ZodString;
544
+ message: z.ZodString;
545
+ scope: z.ZodString;
546
+ type: z.ZodString;
547
+ severity: z.ZodEnum<["error", "warning"]>;
548
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
549
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
550
+ }, "strict", z.ZodTypeAny, {
551
+ type: string;
552
+ code: string;
553
+ message: string;
554
+ scope: string;
555
+ severity: "error" | "warning";
556
+ path?: (string | number)[] | undefined;
557
+ context?: JsonValue | undefined;
558
+ }, {
559
+ type: string;
560
+ code: string;
561
+ message: string;
562
+ scope: string;
563
+ severity: "error" | "warning";
564
+ path?: (string | number)[] | undefined;
565
+ context?: JsonValue | undefined;
566
+ }>, "many">>;
567
+ errorCount: z.ZodOptional<z.ZodNumber>;
568
+ warningCount: z.ZodOptional<z.ZodNumber>;
569
+ stack: z.ZodOptional<z.ZodString>;
570
+ }, "strict", z.ZodTypeAny, {
571
+ method: string;
572
+ message: string;
573
+ endpoint: string;
574
+ stack?: string | undefined;
575
+ type?: string | undefined;
576
+ issues?: {
577
+ type: string;
578
+ code: string;
579
+ message: string;
580
+ scope: string;
581
+ severity: "error" | "warning";
582
+ path?: (string | number)[] | undefined;
583
+ context?: JsonValue | undefined;
584
+ }[] | undefined;
585
+ code?: string | undefined;
586
+ name?: string | undefined;
587
+ scope?: string | undefined;
588
+ severity?: "error" | "warning" | undefined;
589
+ context?: JsonValue | undefined;
590
+ traceId?: string | undefined;
591
+ recovery?: string | string[] | undefined;
592
+ errorCount?: number | undefined;
593
+ warningCount?: number | undefined;
594
+ }, {
595
+ method: string;
596
+ message: string;
597
+ endpoint: string;
598
+ stack?: string | undefined;
599
+ type?: string | undefined;
600
+ issues?: {
601
+ type: string;
602
+ code: string;
603
+ message: string;
604
+ scope: string;
605
+ severity: "error" | "warning";
606
+ path?: (string | number)[] | undefined;
607
+ context?: JsonValue | undefined;
608
+ }[] | undefined;
609
+ code?: string | undefined;
610
+ name?: string | undefined;
611
+ scope?: string | undefined;
612
+ severity?: "error" | "warning" | undefined;
613
+ context?: JsonValue | undefined;
614
+ traceId?: string | undefined;
615
+ recovery?: string | string[] | undefined;
616
+ errorCount?: number | undefined;
617
+ warningCount?: number | undefined;
618
+ }>;
619
+ };
620
+ };
621
+ };
622
+ export declare const TimeoutErrorResponse: {
623
+ readonly description: "Request timed out";
624
+ readonly content: {
625
+ readonly 'application/json': {
626
+ readonly schema: z.ZodObject<{
627
+ name: z.ZodOptional<z.ZodString>;
628
+ message: z.ZodString;
629
+ code: z.ZodOptional<z.ZodString>;
630
+ scope: z.ZodOptional<z.ZodString>;
631
+ type: z.ZodOptional<z.ZodString>;
632
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
633
+ endpoint: z.ZodString;
634
+ method: z.ZodString;
635
+ traceId: z.ZodOptional<z.ZodString>;
636
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
637
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
638
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
639
+ code: z.ZodString;
640
+ message: z.ZodString;
641
+ scope: z.ZodString;
642
+ type: z.ZodString;
643
+ severity: z.ZodEnum<["error", "warning"]>;
644
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
645
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
646
+ }, "strict", z.ZodTypeAny, {
647
+ type: string;
648
+ code: string;
649
+ message: string;
650
+ scope: string;
651
+ severity: "error" | "warning";
652
+ path?: (string | number)[] | undefined;
653
+ context?: JsonValue | undefined;
654
+ }, {
655
+ type: string;
656
+ code: string;
657
+ message: string;
658
+ scope: string;
659
+ severity: "error" | "warning";
660
+ path?: (string | number)[] | undefined;
661
+ context?: JsonValue | undefined;
662
+ }>, "many">>;
663
+ errorCount: z.ZodOptional<z.ZodNumber>;
664
+ warningCount: z.ZodOptional<z.ZodNumber>;
665
+ stack: z.ZodOptional<z.ZodString>;
666
+ }, "strict", z.ZodTypeAny, {
667
+ method: string;
668
+ message: string;
669
+ endpoint: string;
670
+ stack?: string | undefined;
671
+ type?: string | undefined;
672
+ issues?: {
673
+ type: string;
674
+ code: string;
675
+ message: string;
676
+ scope: string;
677
+ severity: "error" | "warning";
678
+ path?: (string | number)[] | undefined;
679
+ context?: JsonValue | undefined;
680
+ }[] | undefined;
681
+ code?: string | undefined;
682
+ name?: string | undefined;
683
+ scope?: string | undefined;
684
+ severity?: "error" | "warning" | undefined;
685
+ context?: JsonValue | undefined;
686
+ traceId?: string | undefined;
687
+ recovery?: string | string[] | undefined;
688
+ errorCount?: number | undefined;
689
+ warningCount?: number | undefined;
690
+ }, {
691
+ method: string;
692
+ message: string;
693
+ endpoint: string;
694
+ stack?: string | undefined;
695
+ type?: string | undefined;
696
+ issues?: {
697
+ type: string;
698
+ code: string;
699
+ message: string;
700
+ scope: string;
701
+ severity: "error" | "warning";
702
+ path?: (string | number)[] | undefined;
703
+ context?: JsonValue | undefined;
704
+ }[] | undefined;
705
+ code?: string | undefined;
706
+ name?: string | undefined;
707
+ scope?: string | undefined;
708
+ severity?: "error" | "warning" | undefined;
709
+ context?: JsonValue | undefined;
710
+ traceId?: string | undefined;
711
+ recovery?: string | string[] | undefined;
712
+ errorCount?: number | undefined;
713
+ warningCount?: number | undefined;
714
+ }>;
715
+ };
716
+ };
717
+ };
718
+ export declare const ConflictErrorResponse: {
719
+ readonly description: "Conflict";
720
+ readonly content: {
721
+ readonly 'application/json': {
722
+ readonly schema: z.ZodObject<{
723
+ name: z.ZodOptional<z.ZodString>;
724
+ message: z.ZodString;
725
+ code: z.ZodOptional<z.ZodString>;
726
+ scope: z.ZodOptional<z.ZodString>;
727
+ type: z.ZodOptional<z.ZodString>;
728
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
729
+ endpoint: z.ZodString;
730
+ method: z.ZodString;
731
+ traceId: z.ZodOptional<z.ZodString>;
732
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
733
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
734
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
735
+ code: z.ZodString;
736
+ message: z.ZodString;
737
+ scope: z.ZodString;
738
+ type: z.ZodString;
739
+ severity: z.ZodEnum<["error", "warning"]>;
740
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
741
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
742
+ }, "strict", z.ZodTypeAny, {
743
+ type: string;
744
+ code: string;
745
+ message: string;
746
+ scope: string;
747
+ severity: "error" | "warning";
748
+ path?: (string | number)[] | undefined;
749
+ context?: JsonValue | undefined;
750
+ }, {
751
+ type: string;
752
+ code: string;
753
+ message: string;
754
+ scope: string;
755
+ severity: "error" | "warning";
756
+ path?: (string | number)[] | undefined;
757
+ context?: JsonValue | undefined;
758
+ }>, "many">>;
759
+ errorCount: z.ZodOptional<z.ZodNumber>;
760
+ warningCount: z.ZodOptional<z.ZodNumber>;
761
+ stack: z.ZodOptional<z.ZodString>;
762
+ }, "strict", z.ZodTypeAny, {
763
+ method: string;
764
+ message: string;
765
+ endpoint: string;
766
+ stack?: string | undefined;
767
+ type?: string | undefined;
768
+ issues?: {
769
+ type: string;
770
+ code: string;
771
+ message: string;
772
+ scope: string;
773
+ severity: "error" | "warning";
774
+ path?: (string | number)[] | undefined;
775
+ context?: JsonValue | undefined;
776
+ }[] | undefined;
777
+ code?: string | undefined;
778
+ name?: string | undefined;
779
+ scope?: string | undefined;
780
+ severity?: "error" | "warning" | undefined;
781
+ context?: JsonValue | undefined;
782
+ traceId?: string | undefined;
783
+ recovery?: string | string[] | undefined;
784
+ errorCount?: number | undefined;
785
+ warningCount?: number | undefined;
786
+ }, {
787
+ method: string;
788
+ message: string;
789
+ endpoint: string;
790
+ stack?: string | undefined;
791
+ type?: string | undefined;
792
+ issues?: {
793
+ type: string;
794
+ code: string;
795
+ message: string;
796
+ scope: string;
797
+ severity: "error" | "warning";
798
+ path?: (string | number)[] | undefined;
799
+ context?: JsonValue | undefined;
800
+ }[] | undefined;
801
+ code?: string | undefined;
802
+ name?: string | undefined;
803
+ scope?: string | undefined;
804
+ severity?: "error" | "warning" | undefined;
805
+ context?: JsonValue | undefined;
806
+ traceId?: string | undefined;
807
+ recovery?: string | string[] | undefined;
808
+ errorCount?: number | undefined;
809
+ warningCount?: number | undefined;
810
+ }>;
811
+ };
812
+ };
813
+ };
814
+ export declare const RateLimitErrorResponse: {
815
+ readonly description: "Rate limited";
816
+ readonly content: {
817
+ readonly 'application/json': {
818
+ readonly schema: z.ZodObject<{
819
+ name: z.ZodOptional<z.ZodString>;
820
+ message: z.ZodString;
821
+ code: z.ZodOptional<z.ZodString>;
822
+ scope: z.ZodOptional<z.ZodString>;
823
+ type: z.ZodOptional<z.ZodString>;
824
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
825
+ endpoint: z.ZodString;
826
+ method: z.ZodString;
827
+ traceId: z.ZodOptional<z.ZodString>;
828
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
829
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
830
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
831
+ code: z.ZodString;
832
+ message: z.ZodString;
833
+ scope: z.ZodString;
834
+ type: z.ZodString;
835
+ severity: z.ZodEnum<["error", "warning"]>;
836
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
837
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
838
+ }, "strict", z.ZodTypeAny, {
839
+ type: string;
840
+ code: string;
841
+ message: string;
842
+ scope: string;
843
+ severity: "error" | "warning";
844
+ path?: (string | number)[] | undefined;
845
+ context?: JsonValue | undefined;
846
+ }, {
847
+ type: string;
848
+ code: string;
849
+ message: string;
850
+ scope: string;
851
+ severity: "error" | "warning";
852
+ path?: (string | number)[] | undefined;
853
+ context?: JsonValue | undefined;
854
+ }>, "many">>;
855
+ errorCount: z.ZodOptional<z.ZodNumber>;
856
+ warningCount: z.ZodOptional<z.ZodNumber>;
857
+ stack: z.ZodOptional<z.ZodString>;
858
+ }, "strict", z.ZodTypeAny, {
859
+ method: string;
860
+ message: string;
861
+ endpoint: string;
862
+ stack?: string | undefined;
863
+ type?: string | undefined;
864
+ issues?: {
865
+ type: string;
866
+ code: string;
867
+ message: string;
868
+ scope: string;
869
+ severity: "error" | "warning";
870
+ path?: (string | number)[] | undefined;
871
+ context?: JsonValue | undefined;
872
+ }[] | undefined;
873
+ code?: string | undefined;
874
+ name?: string | undefined;
875
+ scope?: string | undefined;
876
+ severity?: "error" | "warning" | undefined;
877
+ context?: JsonValue | undefined;
878
+ traceId?: string | undefined;
879
+ recovery?: string | string[] | undefined;
880
+ errorCount?: number | undefined;
881
+ warningCount?: number | undefined;
882
+ }, {
883
+ method: string;
884
+ message: string;
885
+ endpoint: string;
886
+ stack?: string | undefined;
887
+ type?: string | undefined;
888
+ issues?: {
889
+ type: string;
890
+ code: string;
891
+ message: string;
892
+ scope: string;
893
+ severity: "error" | "warning";
894
+ path?: (string | number)[] | undefined;
895
+ context?: JsonValue | undefined;
896
+ }[] | undefined;
897
+ code?: string | undefined;
898
+ name?: string | undefined;
899
+ scope?: string | undefined;
900
+ severity?: "error" | "warning" | undefined;
901
+ context?: JsonValue | undefined;
902
+ traceId?: string | undefined;
903
+ recovery?: string | string[] | undefined;
904
+ errorCount?: number | undefined;
905
+ warningCount?: number | undefined;
906
+ }>;
907
+ };
908
+ };
909
+ };
910
+ export declare const InternalErrorResponse: {
911
+ readonly description: "Internal server error";
912
+ readonly content: {
913
+ readonly 'application/json': {
914
+ readonly schema: z.ZodObject<{
915
+ name: z.ZodOptional<z.ZodString>;
916
+ message: z.ZodString;
917
+ code: z.ZodOptional<z.ZodString>;
918
+ scope: z.ZodOptional<z.ZodString>;
919
+ type: z.ZodOptional<z.ZodString>;
920
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
921
+ endpoint: z.ZodString;
922
+ method: z.ZodString;
923
+ traceId: z.ZodOptional<z.ZodString>;
924
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
925
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
926
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
927
+ code: z.ZodString;
928
+ message: z.ZodString;
929
+ scope: z.ZodString;
930
+ type: z.ZodString;
931
+ severity: z.ZodEnum<["error", "warning"]>;
932
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
933
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
934
+ }, "strict", z.ZodTypeAny, {
935
+ type: string;
936
+ code: string;
937
+ message: string;
938
+ scope: string;
939
+ severity: "error" | "warning";
940
+ path?: (string | number)[] | undefined;
941
+ context?: JsonValue | undefined;
942
+ }, {
943
+ type: string;
944
+ code: string;
945
+ message: string;
946
+ scope: string;
947
+ severity: "error" | "warning";
948
+ path?: (string | number)[] | undefined;
949
+ context?: JsonValue | undefined;
950
+ }>, "many">>;
951
+ errorCount: z.ZodOptional<z.ZodNumber>;
952
+ warningCount: z.ZodOptional<z.ZodNumber>;
953
+ stack: z.ZodOptional<z.ZodString>;
954
+ }, "strict", z.ZodTypeAny, {
955
+ method: string;
956
+ message: string;
957
+ endpoint: string;
958
+ stack?: string | undefined;
959
+ type?: string | undefined;
960
+ issues?: {
961
+ type: string;
962
+ code: string;
963
+ message: string;
964
+ scope: string;
965
+ severity: "error" | "warning";
966
+ path?: (string | number)[] | undefined;
967
+ context?: JsonValue | undefined;
968
+ }[] | undefined;
969
+ code?: string | undefined;
970
+ name?: string | undefined;
971
+ scope?: string | undefined;
972
+ severity?: "error" | "warning" | undefined;
973
+ context?: JsonValue | undefined;
974
+ traceId?: string | undefined;
975
+ recovery?: string | string[] | undefined;
976
+ errorCount?: number | undefined;
977
+ warningCount?: number | undefined;
978
+ }, {
979
+ method: string;
980
+ message: string;
981
+ endpoint: string;
982
+ stack?: string | undefined;
983
+ type?: string | undefined;
984
+ issues?: {
985
+ type: string;
986
+ code: string;
987
+ message: string;
988
+ scope: string;
989
+ severity: "error" | "warning";
990
+ path?: (string | number)[] | undefined;
991
+ context?: JsonValue | undefined;
992
+ }[] | undefined;
993
+ code?: string | undefined;
994
+ name?: string | undefined;
995
+ scope?: string | undefined;
996
+ severity?: "error" | "warning" | undefined;
997
+ context?: JsonValue | undefined;
998
+ traceId?: string | undefined;
999
+ recovery?: string | string[] | undefined;
1000
+ errorCount?: number | undefined;
1001
+ warningCount?: number | undefined;
1002
+ }>;
1003
+ };
1004
+ };
1005
+ };
1006
+ export declare const UpstreamErrorResponse: {
1007
+ readonly description: "Upstream service failure";
1008
+ readonly content: {
1009
+ readonly 'application/json': {
1010
+ readonly schema: z.ZodObject<{
1011
+ name: z.ZodOptional<z.ZodString>;
1012
+ message: z.ZodString;
1013
+ code: z.ZodOptional<z.ZodString>;
1014
+ scope: z.ZodOptional<z.ZodString>;
1015
+ type: z.ZodOptional<z.ZodString>;
1016
+ severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
1017
+ endpoint: z.ZodString;
1018
+ method: z.ZodString;
1019
+ traceId: z.ZodOptional<z.ZodString>;
1020
+ recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1021
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1022
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1023
+ code: z.ZodString;
1024
+ message: z.ZodString;
1025
+ scope: z.ZodString;
1026
+ type: z.ZodString;
1027
+ severity: z.ZodEnum<["error", "warning"]>;
1028
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
1029
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
1030
+ }, "strict", z.ZodTypeAny, {
1031
+ type: string;
1032
+ code: string;
1033
+ message: string;
1034
+ scope: string;
1035
+ severity: "error" | "warning";
1036
+ path?: (string | number)[] | undefined;
1037
+ context?: JsonValue | undefined;
1038
+ }, {
1039
+ type: string;
1040
+ code: string;
1041
+ message: string;
1042
+ scope: string;
1043
+ severity: "error" | "warning";
1044
+ path?: (string | number)[] | undefined;
1045
+ context?: JsonValue | undefined;
1046
+ }>, "many">>;
1047
+ errorCount: z.ZodOptional<z.ZodNumber>;
1048
+ warningCount: z.ZodOptional<z.ZodNumber>;
1049
+ stack: z.ZodOptional<z.ZodString>;
1050
+ }, "strict", z.ZodTypeAny, {
1051
+ method: string;
1052
+ message: string;
1053
+ endpoint: string;
1054
+ stack?: string | undefined;
1055
+ type?: string | undefined;
1056
+ issues?: {
1057
+ type: string;
1058
+ code: string;
1059
+ message: string;
1060
+ scope: string;
1061
+ severity: "error" | "warning";
1062
+ path?: (string | number)[] | undefined;
1063
+ context?: JsonValue | undefined;
1064
+ }[] | undefined;
1065
+ code?: string | undefined;
1066
+ name?: string | undefined;
1067
+ scope?: string | undefined;
1068
+ severity?: "error" | "warning" | undefined;
1069
+ context?: JsonValue | undefined;
1070
+ traceId?: string | undefined;
1071
+ recovery?: string | string[] | undefined;
1072
+ errorCount?: number | undefined;
1073
+ warningCount?: number | undefined;
1074
+ }, {
1075
+ method: string;
1076
+ message: string;
1077
+ endpoint: string;
1078
+ stack?: string | undefined;
1079
+ type?: string | undefined;
1080
+ issues?: {
1081
+ type: string;
1082
+ code: string;
1083
+ message: string;
1084
+ scope: string;
1085
+ severity: "error" | "warning";
1086
+ path?: (string | number)[] | undefined;
1087
+ context?: JsonValue | undefined;
1088
+ }[] | undefined;
1089
+ code?: string | undefined;
1090
+ name?: string | undefined;
1091
+ scope?: string | undefined;
1092
+ severity?: "error" | "warning" | undefined;
1093
+ context?: JsonValue | undefined;
1094
+ traceId?: string | undefined;
1095
+ recovery?: string | string[] | undefined;
1096
+ errorCount?: number | undefined;
1097
+ warningCount?: number | undefined;
1098
+ }>;
1099
+ };
1100
+ };
1101
+ };
145
1102
  export { MemorySchema } from '@dexto/core';
146
1103
  export { LLMConfigBaseSchema, type ValidatedLLMConfig } from '@dexto/core';
147
1104
  export declare const TextPartSchema: z.ZodObject<{
@@ -647,7 +1604,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
647
1604
  } | undefined;
648
1605
  })[] | null;
649
1606
  role: "system" | "user" | "assistant" | "tool";
650
- usageScopeId?: string | undefined;
1607
+ success?: boolean | undefined;
651
1608
  name?: string | undefined;
652
1609
  id?: string | undefined;
653
1610
  timestamp?: number | undefined;
@@ -662,6 +1619,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
662
1619
  } | undefined;
663
1620
  estimatedCost?: number | undefined;
664
1621
  pricingStatus?: "estimated" | "unpriced" | undefined;
1622
+ usageScopeId?: string | undefined;
665
1623
  model?: string | undefined;
666
1624
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
667
1625
  toolCalls?: {
@@ -673,7 +1631,6 @@ export declare const InternalMessageSchema: z.ZodObject<{
673
1631
  id: string;
674
1632
  }[] | undefined;
675
1633
  toolCallId?: string | undefined;
676
- success?: boolean | undefined;
677
1634
  }, {
678
1635
  content: string | ({
679
1636
  type: "text";
@@ -702,7 +1659,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
702
1659
  } | undefined;
703
1660
  })[] | null;
704
1661
  role: "system" | "user" | "assistant" | "tool";
705
- usageScopeId?: string | undefined;
1662
+ success?: boolean | undefined;
706
1663
  name?: string | undefined;
707
1664
  id?: string | undefined;
708
1665
  timestamp?: number | undefined;
@@ -717,6 +1674,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
717
1674
  } | undefined;
718
1675
  estimatedCost?: number | undefined;
719
1676
  pricingStatus?: "estimated" | "unpriced" | undefined;
1677
+ usageScopeId?: string | undefined;
720
1678
  model?: string | undefined;
721
1679
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
722
1680
  toolCalls?: {
@@ -728,7 +1686,6 @@ export declare const InternalMessageSchema: z.ZodObject<{
728
1686
  id: string;
729
1687
  }[] | undefined;
730
1688
  toolCallId?: string | undefined;
731
- success?: boolean | undefined;
732
1689
  }>;
733
1690
  export type TextPart = z.output<typeof TextPartSchema>;
734
1691
  export type ImagePart = z.output<typeof ImagePartSchema>;
@@ -1393,13 +2350,21 @@ export declare const WorkspaceSchema: z.ZodObject<{
1393
2350
  export type Workspace = z.output<typeof WorkspaceSchema>;
1394
2351
  export declare const ScheduleTaskSchema: z.ZodObject<{
1395
2352
  instruction: z.ZodString;
1396
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2353
+ metadata: z.ZodOptional<z.ZodType<{
2354
+ [key: string]: JsonValue;
2355
+ }, z.ZodTypeDef, {
2356
+ [key: string]: JsonValue;
2357
+ }>>;
1397
2358
  }, "strict", z.ZodTypeAny, {
1398
2359
  instruction: string;
1399
- metadata?: Record<string, unknown> | undefined;
2360
+ metadata?: {
2361
+ [key: string]: JsonValue;
2362
+ } | undefined;
1400
2363
  }, {
1401
2364
  instruction: string;
1402
- metadata?: Record<string, unknown> | undefined;
2365
+ metadata?: {
2366
+ [key: string]: JsonValue;
2367
+ } | undefined;
1403
2368
  }>;
1404
2369
  export declare const ScheduleSchema: z.ZodObject<{
1405
2370
  id: z.ZodString;
@@ -1409,13 +2374,21 @@ export declare const ScheduleSchema: z.ZodObject<{
1409
2374
  enabled: z.ZodBoolean;
1410
2375
  task: z.ZodObject<{
1411
2376
  instruction: z.ZodString;
1412
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2377
+ metadata: z.ZodOptional<z.ZodType<{
2378
+ [key: string]: JsonValue;
2379
+ }, z.ZodTypeDef, {
2380
+ [key: string]: JsonValue;
2381
+ }>>;
1413
2382
  }, "strict", z.ZodTypeAny, {
1414
2383
  instruction: string;
1415
- metadata?: Record<string, unknown> | undefined;
2384
+ metadata?: {
2385
+ [key: string]: JsonValue;
2386
+ } | undefined;
1416
2387
  }, {
1417
2388
  instruction: string;
1418
- metadata?: Record<string, unknown> | undefined;
2389
+ metadata?: {
2390
+ [key: string]: JsonValue;
2391
+ } | undefined;
1419
2392
  }>;
1420
2393
  sessionMode: z.ZodEnum<["ephemeral", "dedicated", "inherit", "fixed"]>;
1421
2394
  sessionId: z.ZodOptional<z.ZodString>;
@@ -1437,7 +2410,9 @@ export declare const ScheduleSchema: z.ZodObject<{
1437
2410
  enabled: boolean;
1438
2411
  task: {
1439
2412
  instruction: string;
1440
- metadata?: Record<string, unknown> | undefined;
2413
+ metadata?: {
2414
+ [key: string]: JsonValue;
2415
+ } | undefined;
1441
2416
  };
1442
2417
  sessionMode: "fixed" | "ephemeral" | "dedicated" | "inherit";
1443
2418
  updatedAt: number;
@@ -1458,7 +2433,9 @@ export declare const ScheduleSchema: z.ZodObject<{
1458
2433
  enabled: boolean;
1459
2434
  task: {
1460
2435
  instruction: string;
1461
- metadata?: Record<string, unknown> | undefined;
2436
+ metadata?: {
2437
+ [key: string]: JsonValue;
2438
+ } | undefined;
1462
2439
  };
1463
2440
  sessionMode: "fixed" | "ephemeral" | "dedicated" | "inherit";
1464
2441
  updatedAt: number;
@@ -1482,7 +2459,7 @@ export declare const ExecutionLogSchema: z.ZodObject<{
1482
2459
  error: z.ZodOptional<z.ZodString>;
1483
2460
  result: z.ZodOptional<z.ZodString>;
1484
2461
  }, "strict", z.ZodTypeAny, {
1485
- status: "success" | "pending" | "failed" | "timeout";
2462
+ status: "timeout" | "failed" | "success" | "pending";
1486
2463
  id: string;
1487
2464
  scheduleId: string;
1488
2465
  triggeredAt: number;
@@ -1491,7 +2468,7 @@ export declare const ExecutionLogSchema: z.ZodObject<{
1491
2468
  duration?: number | undefined;
1492
2469
  result?: string | undefined;
1493
2470
  }, {
1494
- status: "success" | "pending" | "failed" | "timeout";
2471
+ status: "timeout" | "failed" | "success" | "pending";
1495
2472
  id: string;
1496
2473
  scheduleId: string;
1497
2474
  triggeredAt: number;
@@ -1688,7 +2665,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1688
2665
  } | undefined;
1689
2666
  })[] | null;
1690
2667
  role: "system" | "user" | "assistant" | "tool";
1691
- usageScopeId?: string | undefined;
2668
+ success?: boolean | undefined;
1692
2669
  name?: string | undefined;
1693
2670
  id?: string | undefined;
1694
2671
  timestamp?: number | undefined;
@@ -1703,6 +2680,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1703
2680
  } | undefined;
1704
2681
  estimatedCost?: number | undefined;
1705
2682
  pricingStatus?: "estimated" | "unpriced" | undefined;
2683
+ usageScopeId?: string | undefined;
1706
2684
  model?: string | undefined;
1707
2685
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1708
2686
  toolCalls?: {
@@ -1714,7 +2692,6 @@ export declare const SearchResultSchema: z.ZodObject<{
1714
2692
  id: string;
1715
2693
  }[] | undefined;
1716
2694
  toolCallId?: string | undefined;
1717
- success?: boolean | undefined;
1718
2695
  }, {
1719
2696
  content: string | ({
1720
2697
  type: "text";
@@ -1743,7 +2720,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1743
2720
  } | undefined;
1744
2721
  })[] | null;
1745
2722
  role: "system" | "user" | "assistant" | "tool";
1746
- usageScopeId?: string | undefined;
2723
+ success?: boolean | undefined;
1747
2724
  name?: string | undefined;
1748
2725
  id?: string | undefined;
1749
2726
  timestamp?: number | undefined;
@@ -1758,6 +2735,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1758
2735
  } | undefined;
1759
2736
  estimatedCost?: number | undefined;
1760
2737
  pricingStatus?: "estimated" | "unpriced" | undefined;
2738
+ usageScopeId?: string | undefined;
1761
2739
  model?: string | undefined;
1762
2740
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1763
2741
  toolCalls?: {
@@ -1769,7 +2747,6 @@ export declare const SearchResultSchema: z.ZodObject<{
1769
2747
  id: string;
1770
2748
  }[] | undefined;
1771
2749
  toolCallId?: string | undefined;
1772
- success?: boolean | undefined;
1773
2750
  }>;
1774
2751
  matchedText: z.ZodString;
1775
2752
  context: z.ZodString;
@@ -1803,7 +2780,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1803
2780
  } | undefined;
1804
2781
  })[] | null;
1805
2782
  role: "system" | "user" | "assistant" | "tool";
1806
- usageScopeId?: string | undefined;
2783
+ success?: boolean | undefined;
1807
2784
  name?: string | undefined;
1808
2785
  id?: string | undefined;
1809
2786
  timestamp?: number | undefined;
@@ -1818,6 +2795,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1818
2795
  } | undefined;
1819
2796
  estimatedCost?: number | undefined;
1820
2797
  pricingStatus?: "estimated" | "unpriced" | undefined;
2798
+ usageScopeId?: string | undefined;
1821
2799
  model?: string | undefined;
1822
2800
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1823
2801
  toolCalls?: {
@@ -1829,10 +2807,9 @@ export declare const SearchResultSchema: z.ZodObject<{
1829
2807
  id: string;
1830
2808
  }[] | undefined;
1831
2809
  toolCallId?: string | undefined;
1832
- success?: boolean | undefined;
1833
2810
  };
1834
- sessionId: string;
1835
2811
  context: string;
2812
+ sessionId: string;
1836
2813
  matchedText: string;
1837
2814
  messageIndex: number;
1838
2815
  }, {
@@ -1864,7 +2841,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1864
2841
  } | undefined;
1865
2842
  })[] | null;
1866
2843
  role: "system" | "user" | "assistant" | "tool";
1867
- usageScopeId?: string | undefined;
2844
+ success?: boolean | undefined;
1868
2845
  name?: string | undefined;
1869
2846
  id?: string | undefined;
1870
2847
  timestamp?: number | undefined;
@@ -1879,6 +2856,7 @@ export declare const SearchResultSchema: z.ZodObject<{
1879
2856
  } | undefined;
1880
2857
  estimatedCost?: number | undefined;
1881
2858
  pricingStatus?: "estimated" | "unpriced" | undefined;
2859
+ usageScopeId?: string | undefined;
1882
2860
  model?: string | undefined;
1883
2861
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1884
2862
  toolCalls?: {
@@ -1890,10 +2868,9 @@ export declare const SearchResultSchema: z.ZodObject<{
1890
2868
  id: string;
1891
2869
  }[] | undefined;
1892
2870
  toolCallId?: string | undefined;
1893
- success?: boolean | undefined;
1894
2871
  };
1895
- sessionId: string;
1896
2872
  context: string;
2873
+ sessionId: string;
1897
2874
  matchedText: string;
1898
2875
  messageIndex: number;
1899
2876
  }>;
@@ -2088,7 +3065,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2088
3065
  } | undefined;
2089
3066
  })[] | null;
2090
3067
  role: "system" | "user" | "assistant" | "tool";
2091
- usageScopeId?: string | undefined;
3068
+ success?: boolean | undefined;
2092
3069
  name?: string | undefined;
2093
3070
  id?: string | undefined;
2094
3071
  timestamp?: number | undefined;
@@ -2103,6 +3080,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2103
3080
  } | undefined;
2104
3081
  estimatedCost?: number | undefined;
2105
3082
  pricingStatus?: "estimated" | "unpriced" | undefined;
3083
+ usageScopeId?: string | undefined;
2106
3084
  model?: string | undefined;
2107
3085
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2108
3086
  toolCalls?: {
@@ -2114,7 +3092,6 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2114
3092
  id: string;
2115
3093
  }[] | undefined;
2116
3094
  toolCallId?: string | undefined;
2117
- success?: boolean | undefined;
2118
3095
  }, {
2119
3096
  content: string | ({
2120
3097
  type: "text";
@@ -2143,7 +3120,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2143
3120
  } | undefined;
2144
3121
  })[] | null;
2145
3122
  role: "system" | "user" | "assistant" | "tool";
2146
- usageScopeId?: string | undefined;
3123
+ success?: boolean | undefined;
2147
3124
  name?: string | undefined;
2148
3125
  id?: string | undefined;
2149
3126
  timestamp?: number | undefined;
@@ -2158,6 +3135,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2158
3135
  } | undefined;
2159
3136
  estimatedCost?: number | undefined;
2160
3137
  pricingStatus?: "estimated" | "unpriced" | undefined;
3138
+ usageScopeId?: string | undefined;
2161
3139
  model?: string | undefined;
2162
3140
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2163
3141
  toolCalls?: {
@@ -2169,7 +3147,6 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2169
3147
  id: string;
2170
3148
  }[] | undefined;
2171
3149
  toolCallId?: string | undefined;
2172
- success?: boolean | undefined;
2173
3150
  }>;
2174
3151
  matchedText: z.ZodString;
2175
3152
  context: z.ZodString;
@@ -2203,7 +3180,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2203
3180
  } | undefined;
2204
3181
  })[] | null;
2205
3182
  role: "system" | "user" | "assistant" | "tool";
2206
- usageScopeId?: string | undefined;
3183
+ success?: boolean | undefined;
2207
3184
  name?: string | undefined;
2208
3185
  id?: string | undefined;
2209
3186
  timestamp?: number | undefined;
@@ -2218,6 +3195,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2218
3195
  } | undefined;
2219
3196
  estimatedCost?: number | undefined;
2220
3197
  pricingStatus?: "estimated" | "unpriced" | undefined;
3198
+ usageScopeId?: string | undefined;
2221
3199
  model?: string | undefined;
2222
3200
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2223
3201
  toolCalls?: {
@@ -2229,10 +3207,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2229
3207
  id: string;
2230
3208
  }[] | undefined;
2231
3209
  toolCallId?: string | undefined;
2232
- success?: boolean | undefined;
2233
3210
  };
2234
- sessionId: string;
2235
3211
  context: string;
3212
+ sessionId: string;
2236
3213
  matchedText: string;
2237
3214
  messageIndex: number;
2238
3215
  }, {
@@ -2264,7 +3241,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2264
3241
  } | undefined;
2265
3242
  })[] | null;
2266
3243
  role: "system" | "user" | "assistant" | "tool";
2267
- usageScopeId?: string | undefined;
3244
+ success?: boolean | undefined;
2268
3245
  name?: string | undefined;
2269
3246
  id?: string | undefined;
2270
3247
  timestamp?: number | undefined;
@@ -2279,6 +3256,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2279
3256
  } | undefined;
2280
3257
  estimatedCost?: number | undefined;
2281
3258
  pricingStatus?: "estimated" | "unpriced" | undefined;
3259
+ usageScopeId?: string | undefined;
2282
3260
  model?: string | undefined;
2283
3261
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2284
3262
  toolCalls?: {
@@ -2290,10 +3268,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2290
3268
  id: string;
2291
3269
  }[] | undefined;
2292
3270
  toolCallId?: string | undefined;
2293
- success?: boolean | undefined;
2294
3271
  };
2295
- sessionId: string;
2296
3272
  context: string;
3273
+ sessionId: string;
2297
3274
  matchedText: string;
2298
3275
  messageIndex: number;
2299
3276
  }>;
@@ -2311,12 +3288,12 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2311
3288
  lastActivity: number;
2312
3289
  }>;
2313
3290
  }, "strict", z.ZodTypeAny, {
2314
- sessionId: string;
2315
3291
  metadata: {
2316
3292
  messageCount: number;
2317
3293
  createdAt: number;
2318
3294
  lastActivity: number;
2319
3295
  };
3296
+ sessionId: string;
2320
3297
  matchCount: number;
2321
3298
  firstMatch: {
2322
3299
  message: {
@@ -2347,7 +3324,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2347
3324
  } | undefined;
2348
3325
  })[] | null;
2349
3326
  role: "system" | "user" | "assistant" | "tool";
2350
- usageScopeId?: string | undefined;
3327
+ success?: boolean | undefined;
2351
3328
  name?: string | undefined;
2352
3329
  id?: string | undefined;
2353
3330
  timestamp?: number | undefined;
@@ -2362,6 +3339,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2362
3339
  } | undefined;
2363
3340
  estimatedCost?: number | undefined;
2364
3341
  pricingStatus?: "estimated" | "unpriced" | undefined;
3342
+ usageScopeId?: string | undefined;
2365
3343
  model?: string | undefined;
2366
3344
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2367
3345
  toolCalls?: {
@@ -2373,20 +3351,19 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2373
3351
  id: string;
2374
3352
  }[] | undefined;
2375
3353
  toolCallId?: string | undefined;
2376
- success?: boolean | undefined;
2377
3354
  };
2378
- sessionId: string;
2379
3355
  context: string;
3356
+ sessionId: string;
2380
3357
  matchedText: string;
2381
3358
  messageIndex: number;
2382
3359
  };
2383
3360
  }, {
2384
- sessionId: string;
2385
3361
  metadata: {
2386
3362
  messageCount: number;
2387
3363
  createdAt: number;
2388
3364
  lastActivity: number;
2389
3365
  };
3366
+ sessionId: string;
2390
3367
  matchCount: number;
2391
3368
  firstMatch: {
2392
3369
  message: {
@@ -2417,7 +3394,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2417
3394
  } | undefined;
2418
3395
  })[] | null;
2419
3396
  role: "system" | "user" | "assistant" | "tool";
2420
- usageScopeId?: string | undefined;
3397
+ success?: boolean | undefined;
2421
3398
  name?: string | undefined;
2422
3399
  id?: string | undefined;
2423
3400
  timestamp?: number | undefined;
@@ -2432,6 +3409,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2432
3409
  } | undefined;
2433
3410
  estimatedCost?: number | undefined;
2434
3411
  pricingStatus?: "estimated" | "unpriced" | undefined;
3412
+ usageScopeId?: string | undefined;
2435
3413
  model?: string | undefined;
2436
3414
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2437
3415
  toolCalls?: {
@@ -2443,10 +3421,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
2443
3421
  id: string;
2444
3422
  }[] | undefined;
2445
3423
  toolCallId?: string | undefined;
2446
- success?: boolean | undefined;
2447
3424
  };
2448
- sessionId: string;
2449
3425
  context: string;
3426
+ sessionId: string;
2450
3427
  matchedText: string;
2451
3428
  messageIndex: number;
2452
3429
  };
@@ -2640,7 +3617,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2640
3617
  } | undefined;
2641
3618
  })[] | null;
2642
3619
  role: "system" | "user" | "assistant" | "tool";
2643
- usageScopeId?: string | undefined;
3620
+ success?: boolean | undefined;
2644
3621
  name?: string | undefined;
2645
3622
  id?: string | undefined;
2646
3623
  timestamp?: number | undefined;
@@ -2655,6 +3632,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2655
3632
  } | undefined;
2656
3633
  estimatedCost?: number | undefined;
2657
3634
  pricingStatus?: "estimated" | "unpriced" | undefined;
3635
+ usageScopeId?: string | undefined;
2658
3636
  model?: string | undefined;
2659
3637
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2660
3638
  toolCalls?: {
@@ -2666,7 +3644,6 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2666
3644
  id: string;
2667
3645
  }[] | undefined;
2668
3646
  toolCallId?: string | undefined;
2669
- success?: boolean | undefined;
2670
3647
  }, {
2671
3648
  content: string | ({
2672
3649
  type: "text";
@@ -2695,7 +3672,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2695
3672
  } | undefined;
2696
3673
  })[] | null;
2697
3674
  role: "system" | "user" | "assistant" | "tool";
2698
- usageScopeId?: string | undefined;
3675
+ success?: boolean | undefined;
2699
3676
  name?: string | undefined;
2700
3677
  id?: string | undefined;
2701
3678
  timestamp?: number | undefined;
@@ -2710,6 +3687,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2710
3687
  } | undefined;
2711
3688
  estimatedCost?: number | undefined;
2712
3689
  pricingStatus?: "estimated" | "unpriced" | undefined;
3690
+ usageScopeId?: string | undefined;
2713
3691
  model?: string | undefined;
2714
3692
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2715
3693
  toolCalls?: {
@@ -2721,7 +3699,6 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2721
3699
  id: string;
2722
3700
  }[] | undefined;
2723
3701
  toolCallId?: string | undefined;
2724
- success?: boolean | undefined;
2725
3702
  }>;
2726
3703
  matchedText: z.ZodString;
2727
3704
  context: z.ZodString;
@@ -2755,7 +3732,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2755
3732
  } | undefined;
2756
3733
  })[] | null;
2757
3734
  role: "system" | "user" | "assistant" | "tool";
2758
- usageScopeId?: string | undefined;
3735
+ success?: boolean | undefined;
2759
3736
  name?: string | undefined;
2760
3737
  id?: string | undefined;
2761
3738
  timestamp?: number | undefined;
@@ -2770,6 +3747,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2770
3747
  } | undefined;
2771
3748
  estimatedCost?: number | undefined;
2772
3749
  pricingStatus?: "estimated" | "unpriced" | undefined;
3750
+ usageScopeId?: string | undefined;
2773
3751
  model?: string | undefined;
2774
3752
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2775
3753
  toolCalls?: {
@@ -2781,10 +3759,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2781
3759
  id: string;
2782
3760
  }[] | undefined;
2783
3761
  toolCallId?: string | undefined;
2784
- success?: boolean | undefined;
2785
3762
  };
2786
- sessionId: string;
2787
3763
  context: string;
3764
+ sessionId: string;
2788
3765
  matchedText: string;
2789
3766
  messageIndex: number;
2790
3767
  }, {
@@ -2816,7 +3793,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2816
3793
  } | undefined;
2817
3794
  })[] | null;
2818
3795
  role: "system" | "user" | "assistant" | "tool";
2819
- usageScopeId?: string | undefined;
3796
+ success?: boolean | undefined;
2820
3797
  name?: string | undefined;
2821
3798
  id?: string | undefined;
2822
3799
  timestamp?: number | undefined;
@@ -2831,6 +3808,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2831
3808
  } | undefined;
2832
3809
  estimatedCost?: number | undefined;
2833
3810
  pricingStatus?: "estimated" | "unpriced" | undefined;
3811
+ usageScopeId?: string | undefined;
2834
3812
  model?: string | undefined;
2835
3813
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2836
3814
  toolCalls?: {
@@ -2842,10 +3820,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2842
3820
  id: string;
2843
3821
  }[] | undefined;
2844
3822
  toolCallId?: string | undefined;
2845
- success?: boolean | undefined;
2846
3823
  };
2847
- sessionId: string;
2848
3824
  context: string;
3825
+ sessionId: string;
2849
3826
  matchedText: string;
2850
3827
  messageIndex: number;
2851
3828
  }>, "many">;
@@ -2883,7 +3860,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2883
3860
  } | undefined;
2884
3861
  })[] | null;
2885
3862
  role: "system" | "user" | "assistant" | "tool";
2886
- usageScopeId?: string | undefined;
3863
+ success?: boolean | undefined;
2887
3864
  name?: string | undefined;
2888
3865
  id?: string | undefined;
2889
3866
  timestamp?: number | undefined;
@@ -2898,6 +3875,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2898
3875
  } | undefined;
2899
3876
  estimatedCost?: number | undefined;
2900
3877
  pricingStatus?: "estimated" | "unpriced" | undefined;
3878
+ usageScopeId?: string | undefined;
2901
3879
  model?: string | undefined;
2902
3880
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2903
3881
  toolCalls?: {
@@ -2909,10 +3887,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2909
3887
  id: string;
2910
3888
  }[] | undefined;
2911
3889
  toolCallId?: string | undefined;
2912
- success?: boolean | undefined;
2913
3890
  };
2914
- sessionId: string;
2915
3891
  context: string;
3892
+ sessionId: string;
2916
3893
  matchedText: string;
2917
3894
  messageIndex: number;
2918
3895
  }[];
@@ -2949,7 +3926,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2949
3926
  } | undefined;
2950
3927
  })[] | null;
2951
3928
  role: "system" | "user" | "assistant" | "tool";
2952
- usageScopeId?: string | undefined;
3929
+ success?: boolean | undefined;
2953
3930
  name?: string | undefined;
2954
3931
  id?: string | undefined;
2955
3932
  timestamp?: number | undefined;
@@ -2964,6 +3941,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2964
3941
  } | undefined;
2965
3942
  estimatedCost?: number | undefined;
2966
3943
  pricingStatus?: "estimated" | "unpriced" | undefined;
3944
+ usageScopeId?: string | undefined;
2967
3945
  model?: string | undefined;
2968
3946
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2969
3947
  toolCalls?: {
@@ -2975,10 +3953,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
2975
3953
  id: string;
2976
3954
  }[] | undefined;
2977
3955
  toolCallId?: string | undefined;
2978
- success?: boolean | undefined;
2979
3956
  };
2980
- sessionId: string;
2981
3957
  context: string;
3958
+ sessionId: string;
2982
3959
  matchedText: string;
2983
3960
  messageIndex: number;
2984
3961
  }[];
@@ -3177,7 +4154,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3177
4154
  } | undefined;
3178
4155
  })[] | null;
3179
4156
  role: "system" | "user" | "assistant" | "tool";
3180
- usageScopeId?: string | undefined;
4157
+ success?: boolean | undefined;
3181
4158
  name?: string | undefined;
3182
4159
  id?: string | undefined;
3183
4160
  timestamp?: number | undefined;
@@ -3192,6 +4169,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3192
4169
  } | undefined;
3193
4170
  estimatedCost?: number | undefined;
3194
4171
  pricingStatus?: "estimated" | "unpriced" | undefined;
4172
+ usageScopeId?: string | undefined;
3195
4173
  model?: string | undefined;
3196
4174
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3197
4175
  toolCalls?: {
@@ -3203,7 +4181,6 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3203
4181
  id: string;
3204
4182
  }[] | undefined;
3205
4183
  toolCallId?: string | undefined;
3206
- success?: boolean | undefined;
3207
4184
  }, {
3208
4185
  content: string | ({
3209
4186
  type: "text";
@@ -3232,7 +4209,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3232
4209
  } | undefined;
3233
4210
  })[] | null;
3234
4211
  role: "system" | "user" | "assistant" | "tool";
3235
- usageScopeId?: string | undefined;
4212
+ success?: boolean | undefined;
3236
4213
  name?: string | undefined;
3237
4214
  id?: string | undefined;
3238
4215
  timestamp?: number | undefined;
@@ -3247,6 +4224,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3247
4224
  } | undefined;
3248
4225
  estimatedCost?: number | undefined;
3249
4226
  pricingStatus?: "estimated" | "unpriced" | undefined;
4227
+ usageScopeId?: string | undefined;
3250
4228
  model?: string | undefined;
3251
4229
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3252
4230
  toolCalls?: {
@@ -3258,7 +4236,6 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3258
4236
  id: string;
3259
4237
  }[] | undefined;
3260
4238
  toolCallId?: string | undefined;
3261
- success?: boolean | undefined;
3262
4239
  }>;
3263
4240
  matchedText: z.ZodString;
3264
4241
  context: z.ZodString;
@@ -3292,7 +4269,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3292
4269
  } | undefined;
3293
4270
  })[] | null;
3294
4271
  role: "system" | "user" | "assistant" | "tool";
3295
- usageScopeId?: string | undefined;
4272
+ success?: boolean | undefined;
3296
4273
  name?: string | undefined;
3297
4274
  id?: string | undefined;
3298
4275
  timestamp?: number | undefined;
@@ -3307,6 +4284,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3307
4284
  } | undefined;
3308
4285
  estimatedCost?: number | undefined;
3309
4286
  pricingStatus?: "estimated" | "unpriced" | undefined;
4287
+ usageScopeId?: string | undefined;
3310
4288
  model?: string | undefined;
3311
4289
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3312
4290
  toolCalls?: {
@@ -3318,10 +4296,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3318
4296
  id: string;
3319
4297
  }[] | undefined;
3320
4298
  toolCallId?: string | undefined;
3321
- success?: boolean | undefined;
3322
4299
  };
3323
- sessionId: string;
3324
4300
  context: string;
4301
+ sessionId: string;
3325
4302
  matchedText: string;
3326
4303
  messageIndex: number;
3327
4304
  }, {
@@ -3353,7 +4330,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3353
4330
  } | undefined;
3354
4331
  })[] | null;
3355
4332
  role: "system" | "user" | "assistant" | "tool";
3356
- usageScopeId?: string | undefined;
4333
+ success?: boolean | undefined;
3357
4334
  name?: string | undefined;
3358
4335
  id?: string | undefined;
3359
4336
  timestamp?: number | undefined;
@@ -3368,6 +4345,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3368
4345
  } | undefined;
3369
4346
  estimatedCost?: number | undefined;
3370
4347
  pricingStatus?: "estimated" | "unpriced" | undefined;
4348
+ usageScopeId?: string | undefined;
3371
4349
  model?: string | undefined;
3372
4350
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3373
4351
  toolCalls?: {
@@ -3379,10 +4357,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3379
4357
  id: string;
3380
4358
  }[] | undefined;
3381
4359
  toolCallId?: string | undefined;
3382
- success?: boolean | undefined;
3383
4360
  };
3384
- sessionId: string;
3385
4361
  context: string;
4362
+ sessionId: string;
3386
4363
  matchedText: string;
3387
4364
  messageIndex: number;
3388
4365
  }>;
@@ -3400,12 +4377,12 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3400
4377
  lastActivity: number;
3401
4378
  }>;
3402
4379
  }, "strict", z.ZodTypeAny, {
3403
- sessionId: string;
3404
4380
  metadata: {
3405
4381
  messageCount: number;
3406
4382
  createdAt: number;
3407
4383
  lastActivity: number;
3408
4384
  };
4385
+ sessionId: string;
3409
4386
  matchCount: number;
3410
4387
  firstMatch: {
3411
4388
  message: {
@@ -3436,7 +4413,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3436
4413
  } | undefined;
3437
4414
  })[] | null;
3438
4415
  role: "system" | "user" | "assistant" | "tool";
3439
- usageScopeId?: string | undefined;
4416
+ success?: boolean | undefined;
3440
4417
  name?: string | undefined;
3441
4418
  id?: string | undefined;
3442
4419
  timestamp?: number | undefined;
@@ -3451,6 +4428,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3451
4428
  } | undefined;
3452
4429
  estimatedCost?: number | undefined;
3453
4430
  pricingStatus?: "estimated" | "unpriced" | undefined;
4431
+ usageScopeId?: string | undefined;
3454
4432
  model?: string | undefined;
3455
4433
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3456
4434
  toolCalls?: {
@@ -3462,20 +4440,19 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3462
4440
  id: string;
3463
4441
  }[] | undefined;
3464
4442
  toolCallId?: string | undefined;
3465
- success?: boolean | undefined;
3466
4443
  };
3467
- sessionId: string;
3468
4444
  context: string;
4445
+ sessionId: string;
3469
4446
  matchedText: string;
3470
4447
  messageIndex: number;
3471
4448
  };
3472
4449
  }, {
3473
- sessionId: string;
3474
4450
  metadata: {
3475
4451
  messageCount: number;
3476
4452
  createdAt: number;
3477
4453
  lastActivity: number;
3478
4454
  };
4455
+ sessionId: string;
3479
4456
  matchCount: number;
3480
4457
  firstMatch: {
3481
4458
  message: {
@@ -3506,7 +4483,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3506
4483
  } | undefined;
3507
4484
  })[] | null;
3508
4485
  role: "system" | "user" | "assistant" | "tool";
3509
- usageScopeId?: string | undefined;
4486
+ success?: boolean | undefined;
3510
4487
  name?: string | undefined;
3511
4488
  id?: string | undefined;
3512
4489
  timestamp?: number | undefined;
@@ -3521,6 +4498,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3521
4498
  } | undefined;
3522
4499
  estimatedCost?: number | undefined;
3523
4500
  pricingStatus?: "estimated" | "unpriced" | undefined;
4501
+ usageScopeId?: string | undefined;
3524
4502
  model?: string | undefined;
3525
4503
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3526
4504
  toolCalls?: {
@@ -3532,10 +4510,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3532
4510
  id: string;
3533
4511
  }[] | undefined;
3534
4512
  toolCallId?: string | undefined;
3535
- success?: boolean | undefined;
3536
4513
  };
3537
- sessionId: string;
3538
4514
  context: string;
4515
+ sessionId: string;
3539
4516
  matchedText: string;
3540
4517
  messageIndex: number;
3541
4518
  };
@@ -3546,12 +4523,12 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3546
4523
  }, "strict", z.ZodTypeAny, {
3547
4524
  query: string;
3548
4525
  results: {
3549
- sessionId: string;
3550
4526
  metadata: {
3551
4527
  messageCount: number;
3552
4528
  createdAt: number;
3553
4529
  lastActivity: number;
3554
4530
  };
4531
+ sessionId: string;
3555
4532
  matchCount: number;
3556
4533
  firstMatch: {
3557
4534
  message: {
@@ -3582,7 +4559,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3582
4559
  } | undefined;
3583
4560
  })[] | null;
3584
4561
  role: "system" | "user" | "assistant" | "tool";
3585
- usageScopeId?: string | undefined;
4562
+ success?: boolean | undefined;
3586
4563
  name?: string | undefined;
3587
4564
  id?: string | undefined;
3588
4565
  timestamp?: number | undefined;
@@ -3597,6 +4574,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3597
4574
  } | undefined;
3598
4575
  estimatedCost?: number | undefined;
3599
4576
  pricingStatus?: "estimated" | "unpriced" | undefined;
4577
+ usageScopeId?: string | undefined;
3600
4578
  model?: string | undefined;
3601
4579
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3602
4580
  toolCalls?: {
@@ -3608,10 +4586,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3608
4586
  id: string;
3609
4587
  }[] | undefined;
3610
4588
  toolCallId?: string | undefined;
3611
- success?: boolean | undefined;
3612
4589
  };
3613
- sessionId: string;
3614
4590
  context: string;
4591
+ sessionId: string;
3615
4592
  matchedText: string;
3616
4593
  messageIndex: number;
3617
4594
  };
@@ -3621,12 +4598,12 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3621
4598
  }, {
3622
4599
  query: string;
3623
4600
  results: {
3624
- sessionId: string;
3625
4601
  metadata: {
3626
4602
  messageCount: number;
3627
4603
  createdAt: number;
3628
4604
  lastActivity: number;
3629
4605
  };
4606
+ sessionId: string;
3630
4607
  matchCount: number;
3631
4608
  firstMatch: {
3632
4609
  message: {
@@ -3657,7 +4634,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3657
4634
  } | undefined;
3658
4635
  })[] | null;
3659
4636
  role: "system" | "user" | "assistant" | "tool";
3660
- usageScopeId?: string | undefined;
4637
+ success?: boolean | undefined;
3661
4638
  name?: string | undefined;
3662
4639
  id?: string | undefined;
3663
4640
  timestamp?: number | undefined;
@@ -3672,6 +4649,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3672
4649
  } | undefined;
3673
4650
  estimatedCost?: number | undefined;
3674
4651
  pricingStatus?: "estimated" | "unpriced" | undefined;
4652
+ usageScopeId?: string | undefined;
3675
4653
  model?: string | undefined;
3676
4654
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
3677
4655
  toolCalls?: {
@@ -3683,10 +4661,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
3683
4661
  id: string;
3684
4662
  }[] | undefined;
3685
4663
  toolCallId?: string | undefined;
3686
- success?: boolean | undefined;
3687
4664
  };
3688
- sessionId: string;
3689
4665
  context: string;
4666
+ sessionId: string;
3690
4667
  matchedText: string;
3691
4668
  messageIndex: number;
3692
4669
  };
@@ -3947,15 +4924,15 @@ export declare const AgentRegistryEntrySchema: z.ZodObject<{
3947
4924
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3948
4925
  type: z.ZodEnum<["builtin", "custom"]>;
3949
4926
  }, "strict", z.ZodTypeAny, {
4927
+ type: "builtin" | "custom";
3950
4928
  description: string;
3951
- type: "custom" | "builtin";
3952
4929
  name: string;
3953
4930
  id: string;
3954
4931
  tags?: string[] | undefined;
3955
4932
  author?: string | undefined;
3956
4933
  }, {
4934
+ type: "builtin" | "custom";
3957
4935
  description: string;
3958
- type: "custom" | "builtin";
3959
4936
  name: string;
3960
4937
  id: string;
3961
4938
  tags?: string[] | undefined;
@@ -3971,14 +4948,14 @@ export declare const ResourceSchema: z.ZodObject<{
3971
4948
  serverName: z.ZodOptional<z.ZodString>;
3972
4949
  size: z.ZodOptional<z.ZodNumber>;
3973
4950
  lastModified: z.ZodOptional<z.ZodString>;
3974
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4951
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
3975
4952
  }, "strict", z.ZodTypeAny, {
3976
4953
  uri: string;
3977
4954
  source: "mcp" | "internal";
3978
4955
  description?: string | undefined;
3979
4956
  name?: string | undefined;
3980
4957
  mimeType?: string | undefined;
3981
- metadata?: Record<string, unknown> | undefined;
4958
+ metadata?: Record<string, JsonValue> | undefined;
3982
4959
  serverName?: string | undefined;
3983
4960
  size?: number | undefined;
3984
4961
  lastModified?: string | undefined;
@@ -3988,7 +4965,7 @@ export declare const ResourceSchema: z.ZodObject<{
3988
4965
  description?: string | undefined;
3989
4966
  name?: string | undefined;
3990
4967
  mimeType?: string | undefined;
3991
- metadata?: Record<string, unknown> | undefined;
4968
+ metadata?: Record<string, JsonValue> | undefined;
3992
4969
  serverName?: string | undefined;
3993
4970
  size?: number | undefined;
3994
4971
  lastModified?: string | undefined;
@@ -3997,15 +4974,105 @@ export type Resource = z.output<typeof ResourceSchema>;
3997
4974
  export declare const ToolSchema: z.ZodObject<{
3998
4975
  name: z.ZodString;
3999
4976
  description: z.ZodString;
4000
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4977
+ inputSchema: z.ZodObject<{
4978
+ type: z.ZodOptional<z.ZodLiteral<"object">>;
4979
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4980
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
4981
+ description: z.ZodOptional<z.ZodString>;
4982
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
4983
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4984
+ format: z.ZodOptional<z.ZodString>;
4985
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4986
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
4987
+ description: z.ZodOptional<z.ZodString>;
4988
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
4989
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4990
+ format: z.ZodOptional<z.ZodString>;
4991
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4992
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
4993
+ description: z.ZodOptional<z.ZodString>;
4994
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
4995
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4996
+ format: z.ZodOptional<z.ZodString>;
4997
+ }, z.ZodTypeAny, "passthrough">>>>;
4998
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4999
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5000
+ type: z.ZodOptional<z.ZodLiteral<"object">>;
5001
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5002
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5003
+ description: z.ZodOptional<z.ZodString>;
5004
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5005
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5006
+ format: z.ZodOptional<z.ZodString>;
5007
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5008
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5009
+ description: z.ZodOptional<z.ZodString>;
5010
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5011
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5012
+ format: z.ZodOptional<z.ZodString>;
5013
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5014
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5015
+ description: z.ZodOptional<z.ZodString>;
5016
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5017
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5018
+ format: z.ZodOptional<z.ZodString>;
5019
+ }, z.ZodTypeAny, "passthrough">>>>;
5020
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5021
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5022
+ type: z.ZodOptional<z.ZodLiteral<"object">>;
5023
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5024
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5025
+ description: z.ZodOptional<z.ZodString>;
5026
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5027
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5028
+ format: z.ZodOptional<z.ZodString>;
5029
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5030
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5031
+ description: z.ZodOptional<z.ZodString>;
5032
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5033
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5034
+ format: z.ZodOptional<z.ZodString>;
5035
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5036
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5037
+ description: z.ZodOptional<z.ZodString>;
5038
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5039
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5040
+ format: z.ZodOptional<z.ZodString>;
5041
+ }, z.ZodTypeAny, "passthrough">>>>;
5042
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5043
+ }, z.ZodTypeAny, "passthrough">>;
4001
5044
  }, "strict", z.ZodTypeAny, {
4002
5045
  description: string;
4003
5046
  name: string;
4004
- inputSchema: Record<string, unknown>;
5047
+ inputSchema: {
5048
+ type?: "object" | undefined;
5049
+ properties?: Record<string, z.objectOutputType<{
5050
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5051
+ description: z.ZodOptional<z.ZodString>;
5052
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5053
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5054
+ format: z.ZodOptional<z.ZodString>;
5055
+ }, z.ZodTypeAny, "passthrough">> | undefined;
5056
+ required?: string[] | undefined;
5057
+ } & {
5058
+ [k: string]: unknown;
5059
+ };
4005
5060
  }, {
4006
5061
  description: string;
4007
5062
  name: string;
4008
- inputSchema: Record<string, unknown>;
5063
+ inputSchema: {
5064
+ type?: "object" | undefined;
5065
+ properties?: Record<string, z.objectInputType<{
5066
+ type: z.ZodOptional<z.ZodEnum<["string", "number", "integer", "boolean", "object", "array"]>>;
5067
+ description: z.ZodOptional<z.ZodString>;
5068
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
5069
+ default: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
5070
+ format: z.ZodOptional<z.ZodString>;
5071
+ }, z.ZodTypeAny, "passthrough">> | undefined;
5072
+ required?: string[] | undefined;
5073
+ } & {
5074
+ [k: string]: unknown;
5075
+ };
4009
5076
  }>;
4010
5077
  export type Tool = z.output<typeof ToolSchema>;
4011
5078
  export declare const PromptArgumentSchema: z.ZodObject<{
@@ -4039,24 +5106,45 @@ export declare const PromptDefinitionSchema: z.ZodObject<{
4039
5106
  description?: string | undefined;
4040
5107
  required?: boolean | undefined;
4041
5108
  }>, "many">>;
5109
+ disableModelInvocation: z.ZodOptional<z.ZodBoolean>;
5110
+ userInvocable: z.ZodOptional<z.ZodBoolean>;
5111
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5112
+ toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5113
+ model: z.ZodOptional<z.ZodString>;
5114
+ context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
5115
+ agent: z.ZodOptional<z.ZodString>;
4042
5116
  }, "strict", z.ZodTypeAny, {
4043
5117
  name: string;
4044
5118
  description?: string | undefined;
4045
5119
  title?: string | undefined;
5120
+ context?: "inline" | "fork" | undefined;
4046
5121
  arguments?: {
4047
5122
  name: string;
4048
5123
  description?: string | undefined;
4049
5124
  required?: boolean | undefined;
4050
5125
  }[] | undefined;
5126
+ model?: string | undefined;
5127
+ disableModelInvocation?: boolean | undefined;
5128
+ userInvocable?: boolean | undefined;
5129
+ allowedTools?: string[] | undefined;
5130
+ toolkits?: string[] | undefined;
5131
+ agent?: string | undefined;
4051
5132
  }, {
4052
5133
  name: string;
4053
5134
  description?: string | undefined;
4054
5135
  title?: string | undefined;
5136
+ context?: "inline" | "fork" | undefined;
4055
5137
  arguments?: {
4056
5138
  name: string;
4057
5139
  description?: string | undefined;
4058
5140
  required?: boolean | undefined;
4059
5141
  }[] | undefined;
5142
+ model?: string | undefined;
5143
+ disableModelInvocation?: boolean | undefined;
5144
+ userInvocable?: boolean | undefined;
5145
+ allowedTools?: string[] | undefined;
5146
+ toolkits?: string[] | undefined;
5147
+ agent?: string | undefined;
4060
5148
  }>;
4061
5149
  export type PromptDefinition = z.output<typeof PromptDefinitionSchema>;
4062
5150
  export declare const PromptInfoSchema: z.ZodObject<{
@@ -4076,30 +5164,65 @@ export declare const PromptInfoSchema: z.ZodObject<{
4076
5164
  description?: string | undefined;
4077
5165
  required?: boolean | undefined;
4078
5166
  }>, "many">>;
5167
+ disableModelInvocation: z.ZodOptional<z.ZodBoolean>;
5168
+ userInvocable: z.ZodOptional<z.ZodBoolean>;
5169
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5170
+ toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5171
+ model: z.ZodOptional<z.ZodString>;
5172
+ context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
5173
+ agent: z.ZodOptional<z.ZodString>;
4079
5174
  source: z.ZodEnum<["mcp", "config", "custom"]>;
4080
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5175
+ displayName: z.ZodOptional<z.ZodString>;
5176
+ commandName: z.ZodOptional<z.ZodString>;
5177
+ metadata: z.ZodOptional<z.ZodType<{
5178
+ [key: string]: JsonValue;
5179
+ }, z.ZodTypeDef, {
5180
+ [key: string]: JsonValue;
5181
+ }>>;
4081
5182
  }, "strict", z.ZodTypeAny, {
4082
5183
  name: string;
4083
- source: "config" | "custom" | "mcp";
5184
+ source: "mcp" | "custom" | "config";
4084
5185
  description?: string | undefined;
4085
5186
  title?: string | undefined;
4086
- metadata?: Record<string, unknown> | undefined;
5187
+ context?: "inline" | "fork" | undefined;
5188
+ metadata?: {
5189
+ [key: string]: JsonValue;
5190
+ } | undefined;
4087
5191
  arguments?: {
4088
5192
  name: string;
4089
5193
  description?: string | undefined;
4090
5194
  required?: boolean | undefined;
4091
5195
  }[] | undefined;
5196
+ model?: string | undefined;
5197
+ displayName?: string | undefined;
5198
+ disableModelInvocation?: boolean | undefined;
5199
+ userInvocable?: boolean | undefined;
5200
+ allowedTools?: string[] | undefined;
5201
+ toolkits?: string[] | undefined;
5202
+ agent?: string | undefined;
5203
+ commandName?: string | undefined;
4092
5204
  }, {
4093
5205
  name: string;
4094
- source: "config" | "custom" | "mcp";
5206
+ source: "mcp" | "custom" | "config";
4095
5207
  description?: string | undefined;
4096
5208
  title?: string | undefined;
4097
- metadata?: Record<string, unknown> | undefined;
5209
+ context?: "inline" | "fork" | undefined;
5210
+ metadata?: {
5211
+ [key: string]: JsonValue;
5212
+ } | undefined;
4098
5213
  arguments?: {
4099
5214
  name: string;
4100
5215
  description?: string | undefined;
4101
5216
  required?: boolean | undefined;
4102
5217
  }[] | undefined;
5218
+ model?: string | undefined;
5219
+ displayName?: string | undefined;
5220
+ disableModelInvocation?: boolean | undefined;
5221
+ userInvocable?: boolean | undefined;
5222
+ allowedTools?: string[] | undefined;
5223
+ toolkits?: string[] | undefined;
5224
+ agent?: string | undefined;
5225
+ commandName?: string | undefined;
4103
5226
  }>;
4104
5227
  export type PromptInfo = z.output<typeof PromptInfoSchema>;
4105
5228
  export declare const PromptSchema: z.ZodObject<{
@@ -4137,28 +5260,28 @@ export declare const ErrorResponseSchema: z.ZodObject<{
4137
5260
  error: z.ZodObject<{
4138
5261
  message: z.ZodString;
4139
5262
  code: z.ZodOptional<z.ZodString>;
4140
- details: z.ZodOptional<z.ZodUnknown>;
5263
+ details: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4141
5264
  }, "strict", z.ZodTypeAny, {
4142
5265
  message: string;
4143
5266
  code?: string | undefined;
4144
- details?: unknown;
5267
+ details?: JsonValue | undefined;
4145
5268
  }, {
4146
5269
  message: string;
4147
5270
  code?: string | undefined;
4148
- details?: unknown;
5271
+ details?: JsonValue | undefined;
4149
5272
  }>;
4150
5273
  }, "strict", z.ZodTypeAny, {
4151
5274
  error: {
4152
5275
  message: string;
4153
5276
  code?: string | undefined;
4154
- details?: unknown;
5277
+ details?: JsonValue | undefined;
4155
5278
  };
4156
5279
  ok: false;
4157
5280
  }, {
4158
5281
  error: {
4159
5282
  message: string;
4160
5283
  code?: string | undefined;
4161
- details?: unknown;
5284
+ details?: JsonValue | undefined;
4162
5285
  };
4163
5286
  ok: false;
4164
5287
  }>;
@@ -4168,30 +5291,30 @@ export declare const StandardErrorEnvelopeSchema: z.ZodObject<{
4168
5291
  message: z.ZodString;
4169
5292
  scope: z.ZodString;
4170
5293
  type: z.ZodString;
4171
- context: z.ZodOptional<z.ZodUnknown>;
5294
+ context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
4172
5295
  recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
4173
5296
  traceId: z.ZodString;
4174
5297
  endpoint: z.ZodString;
4175
5298
  method: z.ZodString;
4176
5299
  }, "strict", z.ZodTypeAny, {
4177
- method: string;
4178
5300
  type: string;
5301
+ method: string;
4179
5302
  code: string;
4180
5303
  message: string;
4181
5304
  scope: string;
4182
5305
  endpoint: string;
4183
5306
  traceId: string;
4184
- context?: unknown;
5307
+ context?: JsonValue | undefined;
4185
5308
  recovery?: string | string[] | undefined;
4186
5309
  }, {
4187
- method: string;
4188
5310
  type: string;
5311
+ method: string;
4189
5312
  code: string;
4190
5313
  message: string;
4191
5314
  scope: string;
4192
5315
  endpoint: string;
4193
5316
  traceId: string;
4194
- context?: unknown;
5317
+ context?: JsonValue | undefined;
4195
5318
  recovery?: string | string[] | undefined;
4196
5319
  }>;
4197
5320
  export type StandardErrorEnvelope = z.output<typeof StandardErrorEnvelopeSchema>;