@dexto/server 1.6.19 → 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.
- package/dist/a2a/jsonrpc/methods.cjs +1 -1
- package/dist/a2a/jsonrpc/methods.d.ts +14 -4
- package/dist/a2a/jsonrpc/methods.d.ts.map +1 -1
- package/dist/a2a/jsonrpc/methods.js +1 -1
- package/dist/hono/index.cjs +39 -8
- package/dist/hono/index.d.ts +43 -4503
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/index.js +42 -9
- package/dist/hono/routes/a2a-jsonrpc.d.ts.map +1 -1
- package/dist/hono/routes/a2a-tasks.cjs +173 -34
- package/dist/hono/routes/a2a-tasks.d.ts +1 -498
- package/dist/hono/routes/a2a-tasks.d.ts.map +1 -1
- package/dist/hono/routes/a2a-tasks.js +177 -34
- package/dist/hono/routes/a2a.d.ts.map +1 -1
- package/dist/hono/routes/agents.cjs +410 -329
- package/dist/hono/routes/agents.d.ts +16048 -73
- package/dist/hono/routes/agents.d.ts.map +1 -1
- package/dist/hono/routes/agents.js +418 -330
- package/dist/hono/routes/approvals.cjs +103 -78
- package/dist/hono/routes/approvals.d.ts +2090 -112
- package/dist/hono/routes/approvals.d.ts.map +1 -1
- package/dist/hono/routes/approvals.js +108 -78
- package/dist/hono/routes/dexto-auth.cjs +40 -33
- package/dist/hono/routes/dexto-auth.d.ts +401 -2
- package/dist/hono/routes/dexto-auth.d.ts.map +1 -1
- package/dist/hono/routes/dexto-auth.js +40 -33
- package/dist/hono/routes/discovery.cjs +16 -14
- package/dist/hono/routes/discovery.d.ts +586 -1
- package/dist/hono/routes/discovery.d.ts.map +1 -1
- package/dist/hono/routes/discovery.js +16 -14
- package/dist/hono/routes/greeting.cjs +26 -22
- package/dist/hono/routes/greeting.d.ts +787 -3
- package/dist/hono/routes/greeting.d.ts.map +1 -1
- package/dist/hono/routes/greeting.js +26 -22
- package/dist/hono/routes/health.d.ts +1 -1
- package/dist/hono/routes/key.cjs +60 -52
- package/dist/hono/routes/key.d.ts +1597 -1
- package/dist/hono/routes/key.d.ts.map +1 -1
- package/dist/hono/routes/key.js +60 -52
- package/dist/hono/routes/llm.cjs +381 -348
- package/dist/hono/routes/llm.d.ts +12137 -87
- package/dist/hono/routes/llm.d.ts.map +1 -1
- package/dist/hono/routes/llm.js +385 -348
- package/dist/hono/routes/mcp.cjs +273 -212
- package/dist/hono/routes/mcp.d.ts +6605 -316
- package/dist/hono/routes/mcp.d.ts.map +1 -1
- package/dist/hono/routes/mcp.js +287 -213
- package/dist/hono/routes/memory.cjs +102 -89
- package/dist/hono/routes/memory.d.ts +5368 -4
- package/dist/hono/routes/memory.d.ts.map +1 -1
- package/dist/hono/routes/memory.js +108 -90
- package/dist/hono/routes/messages.cjs +171 -164
- package/dist/hono/routes/messages.d.ts +3899 -10
- package/dist/hono/routes/messages.d.ts.map +1 -1
- package/dist/hono/routes/messages.js +181 -165
- package/dist/hono/routes/models.cjs +106 -64
- package/dist/hono/routes/models.d.ts +2874 -1
- package/dist/hono/routes/models.d.ts.map +1 -1
- package/dist/hono/routes/models.js +108 -64
- package/dist/hono/routes/openrouter.cjs +79 -65
- package/dist/hono/routes/openrouter.d.ts +854 -1
- package/dist/hono/routes/openrouter.d.ts.map +1 -1
- package/dist/hono/routes/openrouter.js +79 -65
- package/dist/hono/routes/prompts.cjs +137 -104
- package/dist/hono/routes/prompts.d.ts +2820 -12
- package/dist/hono/routes/prompts.d.ts.map +1 -1
- package/dist/hono/routes/prompts.js +144 -105
- package/dist/hono/routes/queue.cjs +158 -132
- package/dist/hono/routes/queue.d.ts +5148 -13
- package/dist/hono/routes/queue.d.ts.map +1 -1
- package/dist/hono/routes/queue.js +168 -133
- package/dist/hono/routes/resources.cjs +65 -46
- package/dist/hono/routes/resources.d.ts +1983 -5
- package/dist/hono/routes/resources.d.ts.map +1 -1
- package/dist/hono/routes/resources.js +72 -47
- package/dist/hono/routes/schedules.cjs +233 -226
- package/dist/hono/routes/schedules.d.ts +4202 -26
- package/dist/hono/routes/schedules.d.ts.map +1 -1
- package/dist/hono/routes/schedules.js +233 -226
- package/dist/hono/routes/search.cjs +34 -30
- package/dist/hono/routes/search.d.ts +2837 -14
- package/dist/hono/routes/search.d.ts.map +1 -1
- package/dist/hono/routes/search.js +40 -31
- package/dist/hono/routes/sessions.cjs +404 -392
- package/dist/hono/routes/sessions.d.ts +16585 -30
- package/dist/hono/routes/sessions.d.ts.map +1 -1
- package/dist/hono/routes/sessions.js +408 -393
- package/dist/hono/routes/static.d.ts.map +1 -1
- package/dist/hono/routes/system-prompt.cjs +57 -61
- package/dist/hono/routes/system-prompt.d.ts +1228 -2
- package/dist/hono/routes/system-prompt.d.ts.map +1 -1
- package/dist/hono/routes/system-prompt.js +58 -62
- package/dist/hono/routes/tools.cjs +29 -34
- package/dist/hono/routes/tools.d.ts +1756 -7
- package/dist/hono/routes/tools.d.ts.map +1 -1
- package/dist/hono/routes/tools.js +33 -33
- package/dist/hono/routes/webhooks.cjs +159 -132
- package/dist/hono/routes/webhooks.d.ts +2504 -14
- package/dist/hono/routes/webhooks.d.ts.map +1 -1
- package/dist/hono/routes/webhooks.js +163 -132
- package/dist/hono/routes/workspaces.cjs +84 -79
- package/dist/hono/routes/workspaces.d.ts +2093 -2
- package/dist/hono/routes/workspaces.d.ts.map +1 -1
- package/dist/hono/routes/workspaces.js +89 -80
- package/dist/hono/schemas/responses.cjs +492 -235
- package/dist/hono/schemas/responses.d.ts +1461 -146
- package/dist/hono/schemas/responses.d.ts.map +1 -1
- package/dist/hono/schemas/responses.js +247 -9
- package/dist/hono/types.d.ts +11 -0
- package/dist/hono/types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -26,7 +26,1079 @@
|
|
|
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
|
+
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">>;
|
|
124
|
+
export declare const IssueSchema: z.ZodObject<{
|
|
125
|
+
code: z.ZodString;
|
|
126
|
+
message: z.ZodString;
|
|
127
|
+
scope: z.ZodString;
|
|
128
|
+
type: z.ZodString;
|
|
129
|
+
severity: z.ZodEnum<["error", "warning"]>;
|
|
130
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
131
|
+
context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
|
|
132
|
+
}, "strict", z.ZodTypeAny, {
|
|
133
|
+
type: string;
|
|
134
|
+
code: string;
|
|
135
|
+
message: string;
|
|
136
|
+
scope: string;
|
|
137
|
+
severity: "error" | "warning";
|
|
138
|
+
path?: (string | number)[] | undefined;
|
|
139
|
+
context?: JsonValue | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
type: string;
|
|
142
|
+
code: string;
|
|
143
|
+
message: string;
|
|
144
|
+
scope: string;
|
|
145
|
+
severity: "error" | "warning";
|
|
146
|
+
path?: (string | number)[] | undefined;
|
|
147
|
+
context?: JsonValue | undefined;
|
|
148
|
+
}>;
|
|
149
|
+
export declare const ApiErrorResponseSchema: z.ZodObject<{
|
|
150
|
+
name: z.ZodOptional<z.ZodString>;
|
|
151
|
+
message: z.ZodString;
|
|
152
|
+
code: z.ZodOptional<z.ZodString>;
|
|
153
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
154
|
+
type: z.ZodOptional<z.ZodString>;
|
|
155
|
+
severity: z.ZodOptional<z.ZodEnum<["error", "warning"]>>;
|
|
156
|
+
endpoint: z.ZodString;
|
|
157
|
+
method: z.ZodString;
|
|
158
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
160
|
+
context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
|
|
161
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
162
|
+
code: z.ZodString;
|
|
163
|
+
message: z.ZodString;
|
|
164
|
+
scope: z.ZodString;
|
|
165
|
+
type: z.ZodString;
|
|
166
|
+
severity: z.ZodEnum<["error", "warning"]>;
|
|
167
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
168
|
+
context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
|
|
169
|
+
}, "strict", z.ZodTypeAny, {
|
|
170
|
+
type: string;
|
|
171
|
+
code: string;
|
|
172
|
+
message: string;
|
|
173
|
+
scope: string;
|
|
174
|
+
severity: "error" | "warning";
|
|
175
|
+
path?: (string | number)[] | undefined;
|
|
176
|
+
context?: JsonValue | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
type: string;
|
|
179
|
+
code: string;
|
|
180
|
+
message: string;
|
|
181
|
+
scope: string;
|
|
182
|
+
severity: "error" | "warning";
|
|
183
|
+
path?: (string | number)[] | undefined;
|
|
184
|
+
context?: JsonValue | undefined;
|
|
185
|
+
}>, "many">>;
|
|
186
|
+
errorCount: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
warningCount: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, "strict", z.ZodTypeAny, {
|
|
190
|
+
method: string;
|
|
191
|
+
message: string;
|
|
192
|
+
endpoint: string;
|
|
193
|
+
stack?: string | undefined;
|
|
194
|
+
type?: string | undefined;
|
|
195
|
+
issues?: {
|
|
196
|
+
type: string;
|
|
197
|
+
code: string;
|
|
198
|
+
message: string;
|
|
199
|
+
scope: string;
|
|
200
|
+
severity: "error" | "warning";
|
|
201
|
+
path?: (string | number)[] | undefined;
|
|
202
|
+
context?: JsonValue | undefined;
|
|
203
|
+
}[] | undefined;
|
|
204
|
+
code?: string | undefined;
|
|
205
|
+
name?: string | undefined;
|
|
206
|
+
scope?: string | undefined;
|
|
207
|
+
severity?: "error" | "warning" | undefined;
|
|
208
|
+
context?: JsonValue | undefined;
|
|
209
|
+
traceId?: string | undefined;
|
|
210
|
+
recovery?: string | string[] | undefined;
|
|
211
|
+
errorCount?: number | undefined;
|
|
212
|
+
warningCount?: number | undefined;
|
|
213
|
+
}, {
|
|
214
|
+
method: string;
|
|
215
|
+
message: string;
|
|
216
|
+
endpoint: string;
|
|
217
|
+
stack?: string | undefined;
|
|
218
|
+
type?: string | undefined;
|
|
219
|
+
issues?: {
|
|
220
|
+
type: string;
|
|
221
|
+
code: string;
|
|
222
|
+
message: string;
|
|
223
|
+
scope: string;
|
|
224
|
+
severity: "error" | "warning";
|
|
225
|
+
path?: (string | number)[] | undefined;
|
|
226
|
+
context?: JsonValue | undefined;
|
|
227
|
+
}[] | undefined;
|
|
228
|
+
code?: string | undefined;
|
|
229
|
+
name?: string | undefined;
|
|
230
|
+
scope?: string | undefined;
|
|
231
|
+
severity?: "error" | "warning" | undefined;
|
|
232
|
+
context?: JsonValue | undefined;
|
|
233
|
+
traceId?: string | undefined;
|
|
234
|
+
recovery?: string | string[] | undefined;
|
|
235
|
+
errorCount?: number | undefined;
|
|
236
|
+
warningCount?: number | undefined;
|
|
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
|
+
};
|
|
30
1102
|
export { MemorySchema } from '@dexto/core';
|
|
31
1103
|
export { LLMConfigBaseSchema, type ValidatedLLMConfig } from '@dexto/core';
|
|
32
1104
|
export declare const TextPartSchema: z.ZodObject<{
|
|
@@ -220,6 +1292,82 @@ export declare const ContentPartSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
220
1292
|
} | undefined;
|
|
221
1293
|
} | undefined;
|
|
222
1294
|
}>]>;
|
|
1295
|
+
export declare const RequestContentPartSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1296
|
+
type: z.ZodLiteral<"text">;
|
|
1297
|
+
text: z.ZodString;
|
|
1298
|
+
}, "strict", z.ZodTypeAny, {
|
|
1299
|
+
type: "text";
|
|
1300
|
+
text: string;
|
|
1301
|
+
}, {
|
|
1302
|
+
type: "text";
|
|
1303
|
+
text: string;
|
|
1304
|
+
}>, z.ZodObject<{
|
|
1305
|
+
type: z.ZodLiteral<"image">;
|
|
1306
|
+
image: z.ZodString;
|
|
1307
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
}, "strict", z.ZodTypeAny, {
|
|
1309
|
+
type: "image";
|
|
1310
|
+
image: string;
|
|
1311
|
+
mimeType?: string | undefined;
|
|
1312
|
+
}, {
|
|
1313
|
+
type: "image";
|
|
1314
|
+
image: string;
|
|
1315
|
+
mimeType?: string | undefined;
|
|
1316
|
+
}>, z.ZodObject<{
|
|
1317
|
+
type: z.ZodLiteral<"file">;
|
|
1318
|
+
data: z.ZodString;
|
|
1319
|
+
mimeType: z.ZodString;
|
|
1320
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
}, "strict", z.ZodTypeAny, {
|
|
1322
|
+
type: "file";
|
|
1323
|
+
mimeType: string;
|
|
1324
|
+
data: string;
|
|
1325
|
+
filename?: string | undefined;
|
|
1326
|
+
}, {
|
|
1327
|
+
type: "file";
|
|
1328
|
+
mimeType: string;
|
|
1329
|
+
data: string;
|
|
1330
|
+
filename?: string | undefined;
|
|
1331
|
+
}>]>;
|
|
1332
|
+
export declare const RequestContentSchema: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1333
|
+
type: z.ZodLiteral<"text">;
|
|
1334
|
+
text: z.ZodString;
|
|
1335
|
+
}, "strict", z.ZodTypeAny, {
|
|
1336
|
+
type: "text";
|
|
1337
|
+
text: string;
|
|
1338
|
+
}, {
|
|
1339
|
+
type: "text";
|
|
1340
|
+
text: string;
|
|
1341
|
+
}>, z.ZodObject<{
|
|
1342
|
+
type: z.ZodLiteral<"image">;
|
|
1343
|
+
image: z.ZodString;
|
|
1344
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
}, "strict", z.ZodTypeAny, {
|
|
1346
|
+
type: "image";
|
|
1347
|
+
image: string;
|
|
1348
|
+
mimeType?: string | undefined;
|
|
1349
|
+
}, {
|
|
1350
|
+
type: "image";
|
|
1351
|
+
image: string;
|
|
1352
|
+
mimeType?: string | undefined;
|
|
1353
|
+
}>, z.ZodObject<{
|
|
1354
|
+
type: z.ZodLiteral<"file">;
|
|
1355
|
+
data: z.ZodString;
|
|
1356
|
+
mimeType: z.ZodString;
|
|
1357
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
}, "strict", z.ZodTypeAny, {
|
|
1359
|
+
type: "file";
|
|
1360
|
+
mimeType: string;
|
|
1361
|
+
data: string;
|
|
1362
|
+
filename?: string | undefined;
|
|
1363
|
+
}, {
|
|
1364
|
+
type: "file";
|
|
1365
|
+
mimeType: string;
|
|
1366
|
+
data: string;
|
|
1367
|
+
filename?: string | undefined;
|
|
1368
|
+
}>]>, "many">]>;
|
|
1369
|
+
export declare function toContentInput(rawContent: z.output<typeof RequestContentSchema>): CoreContentPart[];
|
|
1370
|
+
export declare function toApiContentPart(part: CoreContentPart): z.output<typeof ContentPartSchema>;
|
|
223
1371
|
export declare const ToolCallSchema: z.ZodObject<{
|
|
224
1372
|
id: z.ZodString;
|
|
225
1373
|
type: z.ZodLiteral<"function">;
|
|
@@ -456,9 +1604,9 @@ export declare const InternalMessageSchema: z.ZodObject<{
|
|
|
456
1604
|
} | undefined;
|
|
457
1605
|
})[] | null;
|
|
458
1606
|
role: "system" | "user" | "assistant" | "tool";
|
|
459
|
-
|
|
460
|
-
id?: string | undefined;
|
|
1607
|
+
success?: boolean | undefined;
|
|
461
1608
|
name?: string | undefined;
|
|
1609
|
+
id?: string | undefined;
|
|
462
1610
|
timestamp?: number | undefined;
|
|
463
1611
|
reasoning?: string | undefined;
|
|
464
1612
|
tokenUsage?: {
|
|
@@ -471,6 +1619,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
|
|
|
471
1619
|
} | undefined;
|
|
472
1620
|
estimatedCost?: number | undefined;
|
|
473
1621
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
1622
|
+
usageScopeId?: string | undefined;
|
|
474
1623
|
model?: string | undefined;
|
|
475
1624
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
476
1625
|
toolCalls?: {
|
|
@@ -482,7 +1631,6 @@ export declare const InternalMessageSchema: z.ZodObject<{
|
|
|
482
1631
|
id: string;
|
|
483
1632
|
}[] | undefined;
|
|
484
1633
|
toolCallId?: string | undefined;
|
|
485
|
-
success?: boolean | undefined;
|
|
486
1634
|
}, {
|
|
487
1635
|
content: string | ({
|
|
488
1636
|
type: "text";
|
|
@@ -511,9 +1659,9 @@ export declare const InternalMessageSchema: z.ZodObject<{
|
|
|
511
1659
|
} | undefined;
|
|
512
1660
|
})[] | null;
|
|
513
1661
|
role: "system" | "user" | "assistant" | "tool";
|
|
514
|
-
|
|
515
|
-
id?: string | undefined;
|
|
1662
|
+
success?: boolean | undefined;
|
|
516
1663
|
name?: string | undefined;
|
|
1664
|
+
id?: string | undefined;
|
|
517
1665
|
timestamp?: number | undefined;
|
|
518
1666
|
reasoning?: string | undefined;
|
|
519
1667
|
tokenUsage?: {
|
|
@@ -526,6 +1674,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
|
|
|
526
1674
|
} | undefined;
|
|
527
1675
|
estimatedCost?: number | undefined;
|
|
528
1676
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
1677
|
+
usageScopeId?: string | undefined;
|
|
529
1678
|
model?: string | undefined;
|
|
530
1679
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
531
1680
|
toolCalls?: {
|
|
@@ -537,12 +1686,12 @@ export declare const InternalMessageSchema: z.ZodObject<{
|
|
|
537
1686
|
id: string;
|
|
538
1687
|
}[] | undefined;
|
|
539
1688
|
toolCallId?: string | undefined;
|
|
540
|
-
success?: boolean | undefined;
|
|
541
1689
|
}>;
|
|
542
1690
|
export type TextPart = z.output<typeof TextPartSchema>;
|
|
543
1691
|
export type ImagePart = z.output<typeof ImagePartSchema>;
|
|
544
1692
|
export type FilePart = z.output<typeof FilePartSchema>;
|
|
545
1693
|
export type ContentPart = z.output<typeof ContentPartSchema>;
|
|
1694
|
+
export type RequestContentPart = z.output<typeof RequestContentPartSchema>;
|
|
546
1695
|
export type ToolCall = z.output<typeof ToolCallSchema>;
|
|
547
1696
|
export type TokenUsage = z.output<typeof TokenUsageSchema>;
|
|
548
1697
|
export type InternalMessage = z.output<typeof InternalMessageSchema>;
|
|
@@ -1201,13 +2350,21 @@ export declare const WorkspaceSchema: z.ZodObject<{
|
|
|
1201
2350
|
export type Workspace = z.output<typeof WorkspaceSchema>;
|
|
1202
2351
|
export declare const ScheduleTaskSchema: z.ZodObject<{
|
|
1203
2352
|
instruction: z.ZodString;
|
|
1204
|
-
metadata: z.ZodOptional<z.
|
|
2353
|
+
metadata: z.ZodOptional<z.ZodType<{
|
|
2354
|
+
[key: string]: JsonValue;
|
|
2355
|
+
}, z.ZodTypeDef, {
|
|
2356
|
+
[key: string]: JsonValue;
|
|
2357
|
+
}>>;
|
|
1205
2358
|
}, "strict", z.ZodTypeAny, {
|
|
1206
2359
|
instruction: string;
|
|
1207
|
-
metadata?:
|
|
2360
|
+
metadata?: {
|
|
2361
|
+
[key: string]: JsonValue;
|
|
2362
|
+
} | undefined;
|
|
1208
2363
|
}, {
|
|
1209
2364
|
instruction: string;
|
|
1210
|
-
metadata?:
|
|
2365
|
+
metadata?: {
|
|
2366
|
+
[key: string]: JsonValue;
|
|
2367
|
+
} | undefined;
|
|
1211
2368
|
}>;
|
|
1212
2369
|
export declare const ScheduleSchema: z.ZodObject<{
|
|
1213
2370
|
id: z.ZodString;
|
|
@@ -1217,13 +2374,21 @@ export declare const ScheduleSchema: z.ZodObject<{
|
|
|
1217
2374
|
enabled: z.ZodBoolean;
|
|
1218
2375
|
task: z.ZodObject<{
|
|
1219
2376
|
instruction: z.ZodString;
|
|
1220
|
-
metadata: z.ZodOptional<z.
|
|
2377
|
+
metadata: z.ZodOptional<z.ZodType<{
|
|
2378
|
+
[key: string]: JsonValue;
|
|
2379
|
+
}, z.ZodTypeDef, {
|
|
2380
|
+
[key: string]: JsonValue;
|
|
2381
|
+
}>>;
|
|
1221
2382
|
}, "strict", z.ZodTypeAny, {
|
|
1222
2383
|
instruction: string;
|
|
1223
|
-
metadata?:
|
|
2384
|
+
metadata?: {
|
|
2385
|
+
[key: string]: JsonValue;
|
|
2386
|
+
} | undefined;
|
|
1224
2387
|
}, {
|
|
1225
2388
|
instruction: string;
|
|
1226
|
-
metadata?:
|
|
2389
|
+
metadata?: {
|
|
2390
|
+
[key: string]: JsonValue;
|
|
2391
|
+
} | undefined;
|
|
1227
2392
|
}>;
|
|
1228
2393
|
sessionMode: z.ZodEnum<["ephemeral", "dedicated", "inherit", "fixed"]>;
|
|
1229
2394
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1237,15 +2402,17 @@ export declare const ScheduleSchema: z.ZodObject<{
|
|
|
1237
2402
|
failureCount: z.ZodNumber;
|
|
1238
2403
|
lastError: z.ZodOptional<z.ZodString>;
|
|
1239
2404
|
}, "strict", z.ZodTypeAny, {
|
|
1240
|
-
id: string;
|
|
1241
2405
|
name: string;
|
|
2406
|
+
id: string;
|
|
1242
2407
|
createdAt: number;
|
|
1243
2408
|
cronExpression: string;
|
|
1244
2409
|
timezone: string;
|
|
1245
2410
|
enabled: boolean;
|
|
1246
2411
|
task: {
|
|
1247
2412
|
instruction: string;
|
|
1248
|
-
metadata?:
|
|
2413
|
+
metadata?: {
|
|
2414
|
+
[key: string]: JsonValue;
|
|
2415
|
+
} | undefined;
|
|
1249
2416
|
};
|
|
1250
2417
|
sessionMode: "fixed" | "ephemeral" | "dedicated" | "inherit";
|
|
1251
2418
|
updatedAt: number;
|
|
@@ -1258,15 +2425,17 @@ export declare const ScheduleSchema: z.ZodObject<{
|
|
|
1258
2425
|
nextRunAt?: number | undefined;
|
|
1259
2426
|
lastError?: string | undefined;
|
|
1260
2427
|
}, {
|
|
1261
|
-
id: string;
|
|
1262
2428
|
name: string;
|
|
2429
|
+
id: string;
|
|
1263
2430
|
createdAt: number;
|
|
1264
2431
|
cronExpression: string;
|
|
1265
2432
|
timezone: string;
|
|
1266
2433
|
enabled: boolean;
|
|
1267
2434
|
task: {
|
|
1268
2435
|
instruction: string;
|
|
1269
|
-
metadata?:
|
|
2436
|
+
metadata?: {
|
|
2437
|
+
[key: string]: JsonValue;
|
|
2438
|
+
} | undefined;
|
|
1270
2439
|
};
|
|
1271
2440
|
sessionMode: "fixed" | "ephemeral" | "dedicated" | "inherit";
|
|
1272
2441
|
updatedAt: number;
|
|
@@ -1290,22 +2459,22 @@ export declare const ExecutionLogSchema: z.ZodObject<{
|
|
|
1290
2459
|
error: z.ZodOptional<z.ZodString>;
|
|
1291
2460
|
result: z.ZodOptional<z.ZodString>;
|
|
1292
2461
|
}, "strict", z.ZodTypeAny, {
|
|
1293
|
-
status: "
|
|
2462
|
+
status: "timeout" | "failed" | "success" | "pending";
|
|
1294
2463
|
id: string;
|
|
1295
2464
|
scheduleId: string;
|
|
1296
2465
|
triggeredAt: number;
|
|
2466
|
+
error?: string | undefined;
|
|
1297
2467
|
completedAt?: number | undefined;
|
|
1298
2468
|
duration?: number | undefined;
|
|
1299
|
-
error?: string | undefined;
|
|
1300
2469
|
result?: string | undefined;
|
|
1301
2470
|
}, {
|
|
1302
|
-
status: "
|
|
2471
|
+
status: "timeout" | "failed" | "success" | "pending";
|
|
1303
2472
|
id: string;
|
|
1304
2473
|
scheduleId: string;
|
|
1305
2474
|
triggeredAt: number;
|
|
2475
|
+
error?: string | undefined;
|
|
1306
2476
|
completedAt?: number | undefined;
|
|
1307
2477
|
duration?: number | undefined;
|
|
1308
|
-
error?: string | undefined;
|
|
1309
2478
|
result?: string | undefined;
|
|
1310
2479
|
}>;
|
|
1311
2480
|
export type ExecutionLog = z.output<typeof ExecutionLogSchema>;
|
|
@@ -1496,9 +2665,9 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1496
2665
|
} | undefined;
|
|
1497
2666
|
})[] | null;
|
|
1498
2667
|
role: "system" | "user" | "assistant" | "tool";
|
|
1499
|
-
|
|
1500
|
-
id?: string | undefined;
|
|
2668
|
+
success?: boolean | undefined;
|
|
1501
2669
|
name?: string | undefined;
|
|
2670
|
+
id?: string | undefined;
|
|
1502
2671
|
timestamp?: number | undefined;
|
|
1503
2672
|
reasoning?: string | undefined;
|
|
1504
2673
|
tokenUsage?: {
|
|
@@ -1511,6 +2680,7 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1511
2680
|
} | undefined;
|
|
1512
2681
|
estimatedCost?: number | undefined;
|
|
1513
2682
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
2683
|
+
usageScopeId?: string | undefined;
|
|
1514
2684
|
model?: string | undefined;
|
|
1515
2685
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
1516
2686
|
toolCalls?: {
|
|
@@ -1522,7 +2692,6 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1522
2692
|
id: string;
|
|
1523
2693
|
}[] | undefined;
|
|
1524
2694
|
toolCallId?: string | undefined;
|
|
1525
|
-
success?: boolean | undefined;
|
|
1526
2695
|
}, {
|
|
1527
2696
|
content: string | ({
|
|
1528
2697
|
type: "text";
|
|
@@ -1551,9 +2720,9 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1551
2720
|
} | undefined;
|
|
1552
2721
|
})[] | null;
|
|
1553
2722
|
role: "system" | "user" | "assistant" | "tool";
|
|
1554
|
-
|
|
1555
|
-
id?: string | undefined;
|
|
2723
|
+
success?: boolean | undefined;
|
|
1556
2724
|
name?: string | undefined;
|
|
2725
|
+
id?: string | undefined;
|
|
1557
2726
|
timestamp?: number | undefined;
|
|
1558
2727
|
reasoning?: string | undefined;
|
|
1559
2728
|
tokenUsage?: {
|
|
@@ -1566,6 +2735,7 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1566
2735
|
} | undefined;
|
|
1567
2736
|
estimatedCost?: number | undefined;
|
|
1568
2737
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
2738
|
+
usageScopeId?: string | undefined;
|
|
1569
2739
|
model?: string | undefined;
|
|
1570
2740
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
1571
2741
|
toolCalls?: {
|
|
@@ -1577,7 +2747,6 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1577
2747
|
id: string;
|
|
1578
2748
|
}[] | undefined;
|
|
1579
2749
|
toolCallId?: string | undefined;
|
|
1580
|
-
success?: boolean | undefined;
|
|
1581
2750
|
}>;
|
|
1582
2751
|
matchedText: z.ZodString;
|
|
1583
2752
|
context: z.ZodString;
|
|
@@ -1611,9 +2780,9 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1611
2780
|
} | undefined;
|
|
1612
2781
|
})[] | null;
|
|
1613
2782
|
role: "system" | "user" | "assistant" | "tool";
|
|
1614
|
-
|
|
1615
|
-
id?: string | undefined;
|
|
2783
|
+
success?: boolean | undefined;
|
|
1616
2784
|
name?: string | undefined;
|
|
2785
|
+
id?: string | undefined;
|
|
1617
2786
|
timestamp?: number | undefined;
|
|
1618
2787
|
reasoning?: string | undefined;
|
|
1619
2788
|
tokenUsage?: {
|
|
@@ -1626,6 +2795,7 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1626
2795
|
} | undefined;
|
|
1627
2796
|
estimatedCost?: number | undefined;
|
|
1628
2797
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
2798
|
+
usageScopeId?: string | undefined;
|
|
1629
2799
|
model?: string | undefined;
|
|
1630
2800
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
1631
2801
|
toolCalls?: {
|
|
@@ -1637,11 +2807,10 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1637
2807
|
id: string;
|
|
1638
2808
|
}[] | undefined;
|
|
1639
2809
|
toolCallId?: string | undefined;
|
|
1640
|
-
success?: boolean | undefined;
|
|
1641
2810
|
};
|
|
2811
|
+
context: string;
|
|
1642
2812
|
sessionId: string;
|
|
1643
2813
|
matchedText: string;
|
|
1644
|
-
context: string;
|
|
1645
2814
|
messageIndex: number;
|
|
1646
2815
|
}, {
|
|
1647
2816
|
message: {
|
|
@@ -1672,9 +2841,9 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1672
2841
|
} | undefined;
|
|
1673
2842
|
})[] | null;
|
|
1674
2843
|
role: "system" | "user" | "assistant" | "tool";
|
|
1675
|
-
|
|
1676
|
-
id?: string | undefined;
|
|
2844
|
+
success?: boolean | undefined;
|
|
1677
2845
|
name?: string | undefined;
|
|
2846
|
+
id?: string | undefined;
|
|
1678
2847
|
timestamp?: number | undefined;
|
|
1679
2848
|
reasoning?: string | undefined;
|
|
1680
2849
|
tokenUsage?: {
|
|
@@ -1687,6 +2856,7 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1687
2856
|
} | undefined;
|
|
1688
2857
|
estimatedCost?: number | undefined;
|
|
1689
2858
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
2859
|
+
usageScopeId?: string | undefined;
|
|
1690
2860
|
model?: string | undefined;
|
|
1691
2861
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
1692
2862
|
toolCalls?: {
|
|
@@ -1698,11 +2868,10 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
1698
2868
|
id: string;
|
|
1699
2869
|
}[] | undefined;
|
|
1700
2870
|
toolCallId?: string | undefined;
|
|
1701
|
-
success?: boolean | undefined;
|
|
1702
2871
|
};
|
|
2872
|
+
context: string;
|
|
1703
2873
|
sessionId: string;
|
|
1704
2874
|
matchedText: string;
|
|
1705
|
-
context: string;
|
|
1706
2875
|
messageIndex: number;
|
|
1707
2876
|
}>;
|
|
1708
2877
|
export type SearchResult = z.output<typeof SearchResultSchema>;
|
|
@@ -1896,9 +3065,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
1896
3065
|
} | undefined;
|
|
1897
3066
|
})[] | null;
|
|
1898
3067
|
role: "system" | "user" | "assistant" | "tool";
|
|
1899
|
-
|
|
1900
|
-
id?: string | undefined;
|
|
3068
|
+
success?: boolean | undefined;
|
|
1901
3069
|
name?: string | undefined;
|
|
3070
|
+
id?: string | undefined;
|
|
1902
3071
|
timestamp?: number | undefined;
|
|
1903
3072
|
reasoning?: string | undefined;
|
|
1904
3073
|
tokenUsage?: {
|
|
@@ -1911,6 +3080,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
1911
3080
|
} | undefined;
|
|
1912
3081
|
estimatedCost?: number | undefined;
|
|
1913
3082
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3083
|
+
usageScopeId?: string | undefined;
|
|
1914
3084
|
model?: string | undefined;
|
|
1915
3085
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
1916
3086
|
toolCalls?: {
|
|
@@ -1922,7 +3092,6 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
1922
3092
|
id: string;
|
|
1923
3093
|
}[] | undefined;
|
|
1924
3094
|
toolCallId?: string | undefined;
|
|
1925
|
-
success?: boolean | undefined;
|
|
1926
3095
|
}, {
|
|
1927
3096
|
content: string | ({
|
|
1928
3097
|
type: "text";
|
|
@@ -1951,9 +3120,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
1951
3120
|
} | undefined;
|
|
1952
3121
|
})[] | null;
|
|
1953
3122
|
role: "system" | "user" | "assistant" | "tool";
|
|
1954
|
-
|
|
1955
|
-
id?: string | undefined;
|
|
3123
|
+
success?: boolean | undefined;
|
|
1956
3124
|
name?: string | undefined;
|
|
3125
|
+
id?: string | undefined;
|
|
1957
3126
|
timestamp?: number | undefined;
|
|
1958
3127
|
reasoning?: string | undefined;
|
|
1959
3128
|
tokenUsage?: {
|
|
@@ -1966,6 +3135,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
1966
3135
|
} | undefined;
|
|
1967
3136
|
estimatedCost?: number | undefined;
|
|
1968
3137
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3138
|
+
usageScopeId?: string | undefined;
|
|
1969
3139
|
model?: string | undefined;
|
|
1970
3140
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
1971
3141
|
toolCalls?: {
|
|
@@ -1977,7 +3147,6 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
1977
3147
|
id: string;
|
|
1978
3148
|
}[] | undefined;
|
|
1979
3149
|
toolCallId?: string | undefined;
|
|
1980
|
-
success?: boolean | undefined;
|
|
1981
3150
|
}>;
|
|
1982
3151
|
matchedText: z.ZodString;
|
|
1983
3152
|
context: z.ZodString;
|
|
@@ -2011,9 +3180,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2011
3180
|
} | undefined;
|
|
2012
3181
|
})[] | null;
|
|
2013
3182
|
role: "system" | "user" | "assistant" | "tool";
|
|
2014
|
-
|
|
2015
|
-
id?: string | undefined;
|
|
3183
|
+
success?: boolean | undefined;
|
|
2016
3184
|
name?: string | undefined;
|
|
3185
|
+
id?: string | undefined;
|
|
2017
3186
|
timestamp?: number | undefined;
|
|
2018
3187
|
reasoning?: string | undefined;
|
|
2019
3188
|
tokenUsage?: {
|
|
@@ -2026,6 +3195,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2026
3195
|
} | undefined;
|
|
2027
3196
|
estimatedCost?: number | undefined;
|
|
2028
3197
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3198
|
+
usageScopeId?: string | undefined;
|
|
2029
3199
|
model?: string | undefined;
|
|
2030
3200
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2031
3201
|
toolCalls?: {
|
|
@@ -2037,11 +3207,10 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2037
3207
|
id: string;
|
|
2038
3208
|
}[] | undefined;
|
|
2039
3209
|
toolCallId?: string | undefined;
|
|
2040
|
-
success?: boolean | undefined;
|
|
2041
3210
|
};
|
|
3211
|
+
context: string;
|
|
2042
3212
|
sessionId: string;
|
|
2043
3213
|
matchedText: string;
|
|
2044
|
-
context: string;
|
|
2045
3214
|
messageIndex: number;
|
|
2046
3215
|
}, {
|
|
2047
3216
|
message: {
|
|
@@ -2072,9 +3241,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2072
3241
|
} | undefined;
|
|
2073
3242
|
})[] | null;
|
|
2074
3243
|
role: "system" | "user" | "assistant" | "tool";
|
|
2075
|
-
|
|
2076
|
-
id?: string | undefined;
|
|
3244
|
+
success?: boolean | undefined;
|
|
2077
3245
|
name?: string | undefined;
|
|
3246
|
+
id?: string | undefined;
|
|
2078
3247
|
timestamp?: number | undefined;
|
|
2079
3248
|
reasoning?: string | undefined;
|
|
2080
3249
|
tokenUsage?: {
|
|
@@ -2087,6 +3256,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2087
3256
|
} | undefined;
|
|
2088
3257
|
estimatedCost?: number | undefined;
|
|
2089
3258
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3259
|
+
usageScopeId?: string | undefined;
|
|
2090
3260
|
model?: string | undefined;
|
|
2091
3261
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2092
3262
|
toolCalls?: {
|
|
@@ -2098,11 +3268,10 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2098
3268
|
id: string;
|
|
2099
3269
|
}[] | undefined;
|
|
2100
3270
|
toolCallId?: string | undefined;
|
|
2101
|
-
success?: boolean | undefined;
|
|
2102
3271
|
};
|
|
3272
|
+
context: string;
|
|
2103
3273
|
sessionId: string;
|
|
2104
3274
|
matchedText: string;
|
|
2105
|
-
context: string;
|
|
2106
3275
|
messageIndex: number;
|
|
2107
3276
|
}>;
|
|
2108
3277
|
metadata: z.ZodObject<{
|
|
@@ -2119,12 +3288,12 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2119
3288
|
lastActivity: number;
|
|
2120
3289
|
}>;
|
|
2121
3290
|
}, "strict", z.ZodTypeAny, {
|
|
2122
|
-
sessionId: string;
|
|
2123
3291
|
metadata: {
|
|
2124
3292
|
messageCount: number;
|
|
2125
3293
|
createdAt: number;
|
|
2126
3294
|
lastActivity: number;
|
|
2127
3295
|
};
|
|
3296
|
+
sessionId: string;
|
|
2128
3297
|
matchCount: number;
|
|
2129
3298
|
firstMatch: {
|
|
2130
3299
|
message: {
|
|
@@ -2155,9 +3324,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2155
3324
|
} | undefined;
|
|
2156
3325
|
})[] | null;
|
|
2157
3326
|
role: "system" | "user" | "assistant" | "tool";
|
|
2158
|
-
|
|
2159
|
-
id?: string | undefined;
|
|
3327
|
+
success?: boolean | undefined;
|
|
2160
3328
|
name?: string | undefined;
|
|
3329
|
+
id?: string | undefined;
|
|
2161
3330
|
timestamp?: number | undefined;
|
|
2162
3331
|
reasoning?: string | undefined;
|
|
2163
3332
|
tokenUsage?: {
|
|
@@ -2170,6 +3339,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2170
3339
|
} | undefined;
|
|
2171
3340
|
estimatedCost?: number | undefined;
|
|
2172
3341
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3342
|
+
usageScopeId?: string | undefined;
|
|
2173
3343
|
model?: string | undefined;
|
|
2174
3344
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2175
3345
|
toolCalls?: {
|
|
@@ -2181,20 +3351,19 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2181
3351
|
id: string;
|
|
2182
3352
|
}[] | undefined;
|
|
2183
3353
|
toolCallId?: string | undefined;
|
|
2184
|
-
success?: boolean | undefined;
|
|
2185
3354
|
};
|
|
3355
|
+
context: string;
|
|
2186
3356
|
sessionId: string;
|
|
2187
3357
|
matchedText: string;
|
|
2188
|
-
context: string;
|
|
2189
3358
|
messageIndex: number;
|
|
2190
3359
|
};
|
|
2191
3360
|
}, {
|
|
2192
|
-
sessionId: string;
|
|
2193
3361
|
metadata: {
|
|
2194
3362
|
messageCount: number;
|
|
2195
3363
|
createdAt: number;
|
|
2196
3364
|
lastActivity: number;
|
|
2197
3365
|
};
|
|
3366
|
+
sessionId: string;
|
|
2198
3367
|
matchCount: number;
|
|
2199
3368
|
firstMatch: {
|
|
2200
3369
|
message: {
|
|
@@ -2225,9 +3394,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2225
3394
|
} | undefined;
|
|
2226
3395
|
})[] | null;
|
|
2227
3396
|
role: "system" | "user" | "assistant" | "tool";
|
|
2228
|
-
|
|
2229
|
-
id?: string | undefined;
|
|
3397
|
+
success?: boolean | undefined;
|
|
2230
3398
|
name?: string | undefined;
|
|
3399
|
+
id?: string | undefined;
|
|
2231
3400
|
timestamp?: number | undefined;
|
|
2232
3401
|
reasoning?: string | undefined;
|
|
2233
3402
|
tokenUsage?: {
|
|
@@ -2240,6 +3409,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2240
3409
|
} | undefined;
|
|
2241
3410
|
estimatedCost?: number | undefined;
|
|
2242
3411
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3412
|
+
usageScopeId?: string | undefined;
|
|
2243
3413
|
model?: string | undefined;
|
|
2244
3414
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2245
3415
|
toolCalls?: {
|
|
@@ -2251,11 +3421,10 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
|
|
|
2251
3421
|
id: string;
|
|
2252
3422
|
}[] | undefined;
|
|
2253
3423
|
toolCallId?: string | undefined;
|
|
2254
|
-
success?: boolean | undefined;
|
|
2255
3424
|
};
|
|
3425
|
+
context: string;
|
|
2256
3426
|
sessionId: string;
|
|
2257
3427
|
matchedText: string;
|
|
2258
|
-
context: string;
|
|
2259
3428
|
messageIndex: number;
|
|
2260
3429
|
};
|
|
2261
3430
|
}>;
|
|
@@ -2448,9 +3617,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2448
3617
|
} | undefined;
|
|
2449
3618
|
})[] | null;
|
|
2450
3619
|
role: "system" | "user" | "assistant" | "tool";
|
|
2451
|
-
|
|
2452
|
-
id?: string | undefined;
|
|
3620
|
+
success?: boolean | undefined;
|
|
2453
3621
|
name?: string | undefined;
|
|
3622
|
+
id?: string | undefined;
|
|
2454
3623
|
timestamp?: number | undefined;
|
|
2455
3624
|
reasoning?: string | undefined;
|
|
2456
3625
|
tokenUsage?: {
|
|
@@ -2463,6 +3632,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2463
3632
|
} | undefined;
|
|
2464
3633
|
estimatedCost?: number | undefined;
|
|
2465
3634
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3635
|
+
usageScopeId?: string | undefined;
|
|
2466
3636
|
model?: string | undefined;
|
|
2467
3637
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2468
3638
|
toolCalls?: {
|
|
@@ -2474,7 +3644,6 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2474
3644
|
id: string;
|
|
2475
3645
|
}[] | undefined;
|
|
2476
3646
|
toolCallId?: string | undefined;
|
|
2477
|
-
success?: boolean | undefined;
|
|
2478
3647
|
}, {
|
|
2479
3648
|
content: string | ({
|
|
2480
3649
|
type: "text";
|
|
@@ -2503,9 +3672,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2503
3672
|
} | undefined;
|
|
2504
3673
|
})[] | null;
|
|
2505
3674
|
role: "system" | "user" | "assistant" | "tool";
|
|
2506
|
-
|
|
2507
|
-
id?: string | undefined;
|
|
3675
|
+
success?: boolean | undefined;
|
|
2508
3676
|
name?: string | undefined;
|
|
3677
|
+
id?: string | undefined;
|
|
2509
3678
|
timestamp?: number | undefined;
|
|
2510
3679
|
reasoning?: string | undefined;
|
|
2511
3680
|
tokenUsage?: {
|
|
@@ -2518,6 +3687,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2518
3687
|
} | undefined;
|
|
2519
3688
|
estimatedCost?: number | undefined;
|
|
2520
3689
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3690
|
+
usageScopeId?: string | undefined;
|
|
2521
3691
|
model?: string | undefined;
|
|
2522
3692
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2523
3693
|
toolCalls?: {
|
|
@@ -2529,7 +3699,6 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2529
3699
|
id: string;
|
|
2530
3700
|
}[] | undefined;
|
|
2531
3701
|
toolCallId?: string | undefined;
|
|
2532
|
-
success?: boolean | undefined;
|
|
2533
3702
|
}>;
|
|
2534
3703
|
matchedText: z.ZodString;
|
|
2535
3704
|
context: z.ZodString;
|
|
@@ -2563,9 +3732,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2563
3732
|
} | undefined;
|
|
2564
3733
|
})[] | null;
|
|
2565
3734
|
role: "system" | "user" | "assistant" | "tool";
|
|
2566
|
-
|
|
2567
|
-
id?: string | undefined;
|
|
3735
|
+
success?: boolean | undefined;
|
|
2568
3736
|
name?: string | undefined;
|
|
3737
|
+
id?: string | undefined;
|
|
2569
3738
|
timestamp?: number | undefined;
|
|
2570
3739
|
reasoning?: string | undefined;
|
|
2571
3740
|
tokenUsage?: {
|
|
@@ -2578,6 +3747,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2578
3747
|
} | undefined;
|
|
2579
3748
|
estimatedCost?: number | undefined;
|
|
2580
3749
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3750
|
+
usageScopeId?: string | undefined;
|
|
2581
3751
|
model?: string | undefined;
|
|
2582
3752
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2583
3753
|
toolCalls?: {
|
|
@@ -2589,11 +3759,10 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2589
3759
|
id: string;
|
|
2590
3760
|
}[] | undefined;
|
|
2591
3761
|
toolCallId?: string | undefined;
|
|
2592
|
-
success?: boolean | undefined;
|
|
2593
3762
|
};
|
|
3763
|
+
context: string;
|
|
2594
3764
|
sessionId: string;
|
|
2595
3765
|
matchedText: string;
|
|
2596
|
-
context: string;
|
|
2597
3766
|
messageIndex: number;
|
|
2598
3767
|
}, {
|
|
2599
3768
|
message: {
|
|
@@ -2624,9 +3793,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2624
3793
|
} | undefined;
|
|
2625
3794
|
})[] | null;
|
|
2626
3795
|
role: "system" | "user" | "assistant" | "tool";
|
|
2627
|
-
|
|
2628
|
-
id?: string | undefined;
|
|
3796
|
+
success?: boolean | undefined;
|
|
2629
3797
|
name?: string | undefined;
|
|
3798
|
+
id?: string | undefined;
|
|
2630
3799
|
timestamp?: number | undefined;
|
|
2631
3800
|
reasoning?: string | undefined;
|
|
2632
3801
|
tokenUsage?: {
|
|
@@ -2639,6 +3808,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2639
3808
|
} | undefined;
|
|
2640
3809
|
estimatedCost?: number | undefined;
|
|
2641
3810
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3811
|
+
usageScopeId?: string | undefined;
|
|
2642
3812
|
model?: string | undefined;
|
|
2643
3813
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2644
3814
|
toolCalls?: {
|
|
@@ -2650,11 +3820,10 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2650
3820
|
id: string;
|
|
2651
3821
|
}[] | undefined;
|
|
2652
3822
|
toolCallId?: string | undefined;
|
|
2653
|
-
success?: boolean | undefined;
|
|
2654
3823
|
};
|
|
3824
|
+
context: string;
|
|
2655
3825
|
sessionId: string;
|
|
2656
3826
|
matchedText: string;
|
|
2657
|
-
context: string;
|
|
2658
3827
|
messageIndex: number;
|
|
2659
3828
|
}>, "many">;
|
|
2660
3829
|
total: z.ZodNumber;
|
|
@@ -2691,9 +3860,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2691
3860
|
} | undefined;
|
|
2692
3861
|
})[] | null;
|
|
2693
3862
|
role: "system" | "user" | "assistant" | "tool";
|
|
2694
|
-
|
|
2695
|
-
id?: string | undefined;
|
|
3863
|
+
success?: boolean | undefined;
|
|
2696
3864
|
name?: string | undefined;
|
|
3865
|
+
id?: string | undefined;
|
|
2697
3866
|
timestamp?: number | undefined;
|
|
2698
3867
|
reasoning?: string | undefined;
|
|
2699
3868
|
tokenUsage?: {
|
|
@@ -2706,6 +3875,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2706
3875
|
} | undefined;
|
|
2707
3876
|
estimatedCost?: number | undefined;
|
|
2708
3877
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3878
|
+
usageScopeId?: string | undefined;
|
|
2709
3879
|
model?: string | undefined;
|
|
2710
3880
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2711
3881
|
toolCalls?: {
|
|
@@ -2717,11 +3887,10 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2717
3887
|
id: string;
|
|
2718
3888
|
}[] | undefined;
|
|
2719
3889
|
toolCallId?: string | undefined;
|
|
2720
|
-
success?: boolean | undefined;
|
|
2721
3890
|
};
|
|
3891
|
+
context: string;
|
|
2722
3892
|
sessionId: string;
|
|
2723
3893
|
matchedText: string;
|
|
2724
|
-
context: string;
|
|
2725
3894
|
messageIndex: number;
|
|
2726
3895
|
}[];
|
|
2727
3896
|
total: number;
|
|
@@ -2757,9 +3926,9 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2757
3926
|
} | undefined;
|
|
2758
3927
|
})[] | null;
|
|
2759
3928
|
role: "system" | "user" | "assistant" | "tool";
|
|
2760
|
-
|
|
2761
|
-
id?: string | undefined;
|
|
3929
|
+
success?: boolean | undefined;
|
|
2762
3930
|
name?: string | undefined;
|
|
3931
|
+
id?: string | undefined;
|
|
2763
3932
|
timestamp?: number | undefined;
|
|
2764
3933
|
reasoning?: string | undefined;
|
|
2765
3934
|
tokenUsage?: {
|
|
@@ -2772,6 +3941,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2772
3941
|
} | undefined;
|
|
2773
3942
|
estimatedCost?: number | undefined;
|
|
2774
3943
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
3944
|
+
usageScopeId?: string | undefined;
|
|
2775
3945
|
model?: string | undefined;
|
|
2776
3946
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
2777
3947
|
toolCalls?: {
|
|
@@ -2783,11 +3953,10 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
|
|
|
2783
3953
|
id: string;
|
|
2784
3954
|
}[] | undefined;
|
|
2785
3955
|
toolCallId?: string | undefined;
|
|
2786
|
-
success?: boolean | undefined;
|
|
2787
3956
|
};
|
|
3957
|
+
context: string;
|
|
2788
3958
|
sessionId: string;
|
|
2789
3959
|
matchedText: string;
|
|
2790
|
-
context: string;
|
|
2791
3960
|
messageIndex: number;
|
|
2792
3961
|
}[];
|
|
2793
3962
|
total: number;
|
|
@@ -2985,9 +4154,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
2985
4154
|
} | undefined;
|
|
2986
4155
|
})[] | null;
|
|
2987
4156
|
role: "system" | "user" | "assistant" | "tool";
|
|
2988
|
-
|
|
2989
|
-
id?: string | undefined;
|
|
4157
|
+
success?: boolean | undefined;
|
|
2990
4158
|
name?: string | undefined;
|
|
4159
|
+
id?: string | undefined;
|
|
2991
4160
|
timestamp?: number | undefined;
|
|
2992
4161
|
reasoning?: string | undefined;
|
|
2993
4162
|
tokenUsage?: {
|
|
@@ -3000,6 +4169,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3000
4169
|
} | undefined;
|
|
3001
4170
|
estimatedCost?: number | undefined;
|
|
3002
4171
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4172
|
+
usageScopeId?: string | undefined;
|
|
3003
4173
|
model?: string | undefined;
|
|
3004
4174
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3005
4175
|
toolCalls?: {
|
|
@@ -3011,7 +4181,6 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3011
4181
|
id: string;
|
|
3012
4182
|
}[] | undefined;
|
|
3013
4183
|
toolCallId?: string | undefined;
|
|
3014
|
-
success?: boolean | undefined;
|
|
3015
4184
|
}, {
|
|
3016
4185
|
content: string | ({
|
|
3017
4186
|
type: "text";
|
|
@@ -3040,9 +4209,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3040
4209
|
} | undefined;
|
|
3041
4210
|
})[] | null;
|
|
3042
4211
|
role: "system" | "user" | "assistant" | "tool";
|
|
3043
|
-
|
|
3044
|
-
id?: string | undefined;
|
|
4212
|
+
success?: boolean | undefined;
|
|
3045
4213
|
name?: string | undefined;
|
|
4214
|
+
id?: string | undefined;
|
|
3046
4215
|
timestamp?: number | undefined;
|
|
3047
4216
|
reasoning?: string | undefined;
|
|
3048
4217
|
tokenUsage?: {
|
|
@@ -3055,6 +4224,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3055
4224
|
} | undefined;
|
|
3056
4225
|
estimatedCost?: number | undefined;
|
|
3057
4226
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4227
|
+
usageScopeId?: string | undefined;
|
|
3058
4228
|
model?: string | undefined;
|
|
3059
4229
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3060
4230
|
toolCalls?: {
|
|
@@ -3066,7 +4236,6 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3066
4236
|
id: string;
|
|
3067
4237
|
}[] | undefined;
|
|
3068
4238
|
toolCallId?: string | undefined;
|
|
3069
|
-
success?: boolean | undefined;
|
|
3070
4239
|
}>;
|
|
3071
4240
|
matchedText: z.ZodString;
|
|
3072
4241
|
context: z.ZodString;
|
|
@@ -3100,9 +4269,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3100
4269
|
} | undefined;
|
|
3101
4270
|
})[] | null;
|
|
3102
4271
|
role: "system" | "user" | "assistant" | "tool";
|
|
3103
|
-
|
|
3104
|
-
id?: string | undefined;
|
|
4272
|
+
success?: boolean | undefined;
|
|
3105
4273
|
name?: string | undefined;
|
|
4274
|
+
id?: string | undefined;
|
|
3106
4275
|
timestamp?: number | undefined;
|
|
3107
4276
|
reasoning?: string | undefined;
|
|
3108
4277
|
tokenUsage?: {
|
|
@@ -3115,6 +4284,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3115
4284
|
} | undefined;
|
|
3116
4285
|
estimatedCost?: number | undefined;
|
|
3117
4286
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4287
|
+
usageScopeId?: string | undefined;
|
|
3118
4288
|
model?: string | undefined;
|
|
3119
4289
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3120
4290
|
toolCalls?: {
|
|
@@ -3126,11 +4296,10 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3126
4296
|
id: string;
|
|
3127
4297
|
}[] | undefined;
|
|
3128
4298
|
toolCallId?: string | undefined;
|
|
3129
|
-
success?: boolean | undefined;
|
|
3130
4299
|
};
|
|
4300
|
+
context: string;
|
|
3131
4301
|
sessionId: string;
|
|
3132
4302
|
matchedText: string;
|
|
3133
|
-
context: string;
|
|
3134
4303
|
messageIndex: number;
|
|
3135
4304
|
}, {
|
|
3136
4305
|
message: {
|
|
@@ -3161,9 +4330,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3161
4330
|
} | undefined;
|
|
3162
4331
|
})[] | null;
|
|
3163
4332
|
role: "system" | "user" | "assistant" | "tool";
|
|
3164
|
-
|
|
3165
|
-
id?: string | undefined;
|
|
4333
|
+
success?: boolean | undefined;
|
|
3166
4334
|
name?: string | undefined;
|
|
4335
|
+
id?: string | undefined;
|
|
3167
4336
|
timestamp?: number | undefined;
|
|
3168
4337
|
reasoning?: string | undefined;
|
|
3169
4338
|
tokenUsage?: {
|
|
@@ -3176,6 +4345,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3176
4345
|
} | undefined;
|
|
3177
4346
|
estimatedCost?: number | undefined;
|
|
3178
4347
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4348
|
+
usageScopeId?: string | undefined;
|
|
3179
4349
|
model?: string | undefined;
|
|
3180
4350
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3181
4351
|
toolCalls?: {
|
|
@@ -3187,11 +4357,10 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3187
4357
|
id: string;
|
|
3188
4358
|
}[] | undefined;
|
|
3189
4359
|
toolCallId?: string | undefined;
|
|
3190
|
-
success?: boolean | undefined;
|
|
3191
4360
|
};
|
|
4361
|
+
context: string;
|
|
3192
4362
|
sessionId: string;
|
|
3193
4363
|
matchedText: string;
|
|
3194
|
-
context: string;
|
|
3195
4364
|
messageIndex: number;
|
|
3196
4365
|
}>;
|
|
3197
4366
|
metadata: z.ZodObject<{
|
|
@@ -3208,12 +4377,12 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3208
4377
|
lastActivity: number;
|
|
3209
4378
|
}>;
|
|
3210
4379
|
}, "strict", z.ZodTypeAny, {
|
|
3211
|
-
sessionId: string;
|
|
3212
4380
|
metadata: {
|
|
3213
4381
|
messageCount: number;
|
|
3214
4382
|
createdAt: number;
|
|
3215
4383
|
lastActivity: number;
|
|
3216
4384
|
};
|
|
4385
|
+
sessionId: string;
|
|
3217
4386
|
matchCount: number;
|
|
3218
4387
|
firstMatch: {
|
|
3219
4388
|
message: {
|
|
@@ -3244,9 +4413,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3244
4413
|
} | undefined;
|
|
3245
4414
|
})[] | null;
|
|
3246
4415
|
role: "system" | "user" | "assistant" | "tool";
|
|
3247
|
-
|
|
3248
|
-
id?: string | undefined;
|
|
4416
|
+
success?: boolean | undefined;
|
|
3249
4417
|
name?: string | undefined;
|
|
4418
|
+
id?: string | undefined;
|
|
3250
4419
|
timestamp?: number | undefined;
|
|
3251
4420
|
reasoning?: string | undefined;
|
|
3252
4421
|
tokenUsage?: {
|
|
@@ -3259,6 +4428,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3259
4428
|
} | undefined;
|
|
3260
4429
|
estimatedCost?: number | undefined;
|
|
3261
4430
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4431
|
+
usageScopeId?: string | undefined;
|
|
3262
4432
|
model?: string | undefined;
|
|
3263
4433
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3264
4434
|
toolCalls?: {
|
|
@@ -3270,20 +4440,19 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3270
4440
|
id: string;
|
|
3271
4441
|
}[] | undefined;
|
|
3272
4442
|
toolCallId?: string | undefined;
|
|
3273
|
-
success?: boolean | undefined;
|
|
3274
4443
|
};
|
|
4444
|
+
context: string;
|
|
3275
4445
|
sessionId: string;
|
|
3276
4446
|
matchedText: string;
|
|
3277
|
-
context: string;
|
|
3278
4447
|
messageIndex: number;
|
|
3279
4448
|
};
|
|
3280
4449
|
}, {
|
|
3281
|
-
sessionId: string;
|
|
3282
4450
|
metadata: {
|
|
3283
4451
|
messageCount: number;
|
|
3284
4452
|
createdAt: number;
|
|
3285
4453
|
lastActivity: number;
|
|
3286
4454
|
};
|
|
4455
|
+
sessionId: string;
|
|
3287
4456
|
matchCount: number;
|
|
3288
4457
|
firstMatch: {
|
|
3289
4458
|
message: {
|
|
@@ -3314,9 +4483,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3314
4483
|
} | undefined;
|
|
3315
4484
|
})[] | null;
|
|
3316
4485
|
role: "system" | "user" | "assistant" | "tool";
|
|
3317
|
-
|
|
3318
|
-
id?: string | undefined;
|
|
4486
|
+
success?: boolean | undefined;
|
|
3319
4487
|
name?: string | undefined;
|
|
4488
|
+
id?: string | undefined;
|
|
3320
4489
|
timestamp?: number | undefined;
|
|
3321
4490
|
reasoning?: string | undefined;
|
|
3322
4491
|
tokenUsage?: {
|
|
@@ -3329,6 +4498,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3329
4498
|
} | undefined;
|
|
3330
4499
|
estimatedCost?: number | undefined;
|
|
3331
4500
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4501
|
+
usageScopeId?: string | undefined;
|
|
3332
4502
|
model?: string | undefined;
|
|
3333
4503
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3334
4504
|
toolCalls?: {
|
|
@@ -3340,11 +4510,10 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3340
4510
|
id: string;
|
|
3341
4511
|
}[] | undefined;
|
|
3342
4512
|
toolCallId?: string | undefined;
|
|
3343
|
-
success?: boolean | undefined;
|
|
3344
4513
|
};
|
|
4514
|
+
context: string;
|
|
3345
4515
|
sessionId: string;
|
|
3346
4516
|
matchedText: string;
|
|
3347
|
-
context: string;
|
|
3348
4517
|
messageIndex: number;
|
|
3349
4518
|
};
|
|
3350
4519
|
}>, "many">;
|
|
@@ -3354,12 +4523,12 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3354
4523
|
}, "strict", z.ZodTypeAny, {
|
|
3355
4524
|
query: string;
|
|
3356
4525
|
results: {
|
|
3357
|
-
sessionId: string;
|
|
3358
4526
|
metadata: {
|
|
3359
4527
|
messageCount: number;
|
|
3360
4528
|
createdAt: number;
|
|
3361
4529
|
lastActivity: number;
|
|
3362
4530
|
};
|
|
4531
|
+
sessionId: string;
|
|
3363
4532
|
matchCount: number;
|
|
3364
4533
|
firstMatch: {
|
|
3365
4534
|
message: {
|
|
@@ -3390,9 +4559,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3390
4559
|
} | undefined;
|
|
3391
4560
|
})[] | null;
|
|
3392
4561
|
role: "system" | "user" | "assistant" | "tool";
|
|
3393
|
-
|
|
3394
|
-
id?: string | undefined;
|
|
4562
|
+
success?: boolean | undefined;
|
|
3395
4563
|
name?: string | undefined;
|
|
4564
|
+
id?: string | undefined;
|
|
3396
4565
|
timestamp?: number | undefined;
|
|
3397
4566
|
reasoning?: string | undefined;
|
|
3398
4567
|
tokenUsage?: {
|
|
@@ -3405,6 +4574,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3405
4574
|
} | undefined;
|
|
3406
4575
|
estimatedCost?: number | undefined;
|
|
3407
4576
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4577
|
+
usageScopeId?: string | undefined;
|
|
3408
4578
|
model?: string | undefined;
|
|
3409
4579
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3410
4580
|
toolCalls?: {
|
|
@@ -3416,11 +4586,10 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3416
4586
|
id: string;
|
|
3417
4587
|
}[] | undefined;
|
|
3418
4588
|
toolCallId?: string | undefined;
|
|
3419
|
-
success?: boolean | undefined;
|
|
3420
4589
|
};
|
|
4590
|
+
context: string;
|
|
3421
4591
|
sessionId: string;
|
|
3422
4592
|
matchedText: string;
|
|
3423
|
-
context: string;
|
|
3424
4593
|
messageIndex: number;
|
|
3425
4594
|
};
|
|
3426
4595
|
}[];
|
|
@@ -3429,12 +4598,12 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3429
4598
|
}, {
|
|
3430
4599
|
query: string;
|
|
3431
4600
|
results: {
|
|
3432
|
-
sessionId: string;
|
|
3433
4601
|
metadata: {
|
|
3434
4602
|
messageCount: number;
|
|
3435
4603
|
createdAt: number;
|
|
3436
4604
|
lastActivity: number;
|
|
3437
4605
|
};
|
|
4606
|
+
sessionId: string;
|
|
3438
4607
|
matchCount: number;
|
|
3439
4608
|
firstMatch: {
|
|
3440
4609
|
message: {
|
|
@@ -3465,9 +4634,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3465
4634
|
} | undefined;
|
|
3466
4635
|
})[] | null;
|
|
3467
4636
|
role: "system" | "user" | "assistant" | "tool";
|
|
3468
|
-
|
|
3469
|
-
id?: string | undefined;
|
|
4637
|
+
success?: boolean | undefined;
|
|
3470
4638
|
name?: string | undefined;
|
|
4639
|
+
id?: string | undefined;
|
|
3471
4640
|
timestamp?: number | undefined;
|
|
3472
4641
|
reasoning?: string | undefined;
|
|
3473
4642
|
tokenUsage?: {
|
|
@@ -3480,6 +4649,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3480
4649
|
} | undefined;
|
|
3481
4650
|
estimatedCost?: number | undefined;
|
|
3482
4651
|
pricingStatus?: "estimated" | "unpriced" | undefined;
|
|
4652
|
+
usageScopeId?: string | undefined;
|
|
3483
4653
|
model?: string | undefined;
|
|
3484
4654
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3485
4655
|
toolCalls?: {
|
|
@@ -3491,11 +4661,10 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
|
|
|
3491
4661
|
id: string;
|
|
3492
4662
|
}[] | undefined;
|
|
3493
4663
|
toolCallId?: string | undefined;
|
|
3494
|
-
success?: boolean | undefined;
|
|
3495
4664
|
};
|
|
4665
|
+
context: string;
|
|
3496
4666
|
sessionId: string;
|
|
3497
4667
|
matchedText: string;
|
|
3498
|
-
context: string;
|
|
3499
4668
|
messageIndex: number;
|
|
3500
4669
|
};
|
|
3501
4670
|
}[];
|
|
@@ -3755,17 +4924,17 @@ export declare const AgentRegistryEntrySchema: z.ZodObject<{
|
|
|
3755
4924
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3756
4925
|
type: z.ZodEnum<["builtin", "custom"]>;
|
|
3757
4926
|
}, "strict", z.ZodTypeAny, {
|
|
4927
|
+
type: "builtin" | "custom";
|
|
3758
4928
|
description: string;
|
|
3759
|
-
type: "custom" | "builtin";
|
|
3760
|
-
id: string;
|
|
3761
4929
|
name: string;
|
|
4930
|
+
id: string;
|
|
3762
4931
|
tags?: string[] | undefined;
|
|
3763
4932
|
author?: string | undefined;
|
|
3764
4933
|
}, {
|
|
4934
|
+
type: "builtin" | "custom";
|
|
3765
4935
|
description: string;
|
|
3766
|
-
type: "custom" | "builtin";
|
|
3767
|
-
id: string;
|
|
3768
4936
|
name: string;
|
|
4937
|
+
id: string;
|
|
3769
4938
|
tags?: string[] | undefined;
|
|
3770
4939
|
author?: string | undefined;
|
|
3771
4940
|
}>;
|
|
@@ -3779,14 +4948,14 @@ export declare const ResourceSchema: z.ZodObject<{
|
|
|
3779
4948
|
serverName: z.ZodOptional<z.ZodString>;
|
|
3780
4949
|
size: z.ZodOptional<z.ZodNumber>;
|
|
3781
4950
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
3782
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
4951
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
|
|
3783
4952
|
}, "strict", z.ZodTypeAny, {
|
|
3784
4953
|
uri: string;
|
|
3785
4954
|
source: "mcp" | "internal";
|
|
3786
4955
|
description?: string | undefined;
|
|
3787
|
-
mimeType?: string | undefined;
|
|
3788
|
-
metadata?: Record<string, unknown> | undefined;
|
|
3789
4956
|
name?: string | undefined;
|
|
4957
|
+
mimeType?: string | undefined;
|
|
4958
|
+
metadata?: Record<string, JsonValue> | undefined;
|
|
3790
4959
|
serverName?: string | undefined;
|
|
3791
4960
|
size?: number | undefined;
|
|
3792
4961
|
lastModified?: string | undefined;
|
|
@@ -3794,9 +4963,9 @@ export declare const ResourceSchema: z.ZodObject<{
|
|
|
3794
4963
|
uri: string;
|
|
3795
4964
|
source: "mcp" | "internal";
|
|
3796
4965
|
description?: string | undefined;
|
|
3797
|
-
mimeType?: string | undefined;
|
|
3798
|
-
metadata?: Record<string, unknown> | undefined;
|
|
3799
4966
|
name?: string | undefined;
|
|
4967
|
+
mimeType?: string | undefined;
|
|
4968
|
+
metadata?: Record<string, JsonValue> | undefined;
|
|
3800
4969
|
serverName?: string | undefined;
|
|
3801
4970
|
size?: number | undefined;
|
|
3802
4971
|
lastModified?: string | undefined;
|
|
@@ -3805,15 +4974,105 @@ export type Resource = z.output<typeof ResourceSchema>;
|
|
|
3805
4974
|
export declare const ToolSchema: z.ZodObject<{
|
|
3806
4975
|
name: z.ZodString;
|
|
3807
4976
|
description: z.ZodString;
|
|
3808
|
-
inputSchema: z.
|
|
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">>;
|
|
3809
5044
|
}, "strict", z.ZodTypeAny, {
|
|
3810
5045
|
description: string;
|
|
3811
5046
|
name: string;
|
|
3812
|
-
inputSchema:
|
|
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
|
+
};
|
|
3813
5060
|
}, {
|
|
3814
5061
|
description: string;
|
|
3815
5062
|
name: string;
|
|
3816
|
-
inputSchema:
|
|
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
|
+
};
|
|
3817
5076
|
}>;
|
|
3818
5077
|
export type Tool = z.output<typeof ToolSchema>;
|
|
3819
5078
|
export declare const PromptArgumentSchema: z.ZodObject<{
|
|
@@ -3847,24 +5106,45 @@ export declare const PromptDefinitionSchema: z.ZodObject<{
|
|
|
3847
5106
|
description?: string | undefined;
|
|
3848
5107
|
required?: boolean | undefined;
|
|
3849
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>;
|
|
3850
5116
|
}, "strict", z.ZodTypeAny, {
|
|
3851
5117
|
name: string;
|
|
3852
5118
|
description?: string | undefined;
|
|
3853
5119
|
title?: string | undefined;
|
|
5120
|
+
context?: "inline" | "fork" | undefined;
|
|
3854
5121
|
arguments?: {
|
|
3855
5122
|
name: string;
|
|
3856
5123
|
description?: string | undefined;
|
|
3857
5124
|
required?: boolean | undefined;
|
|
3858
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;
|
|
3859
5132
|
}, {
|
|
3860
5133
|
name: string;
|
|
3861
5134
|
description?: string | undefined;
|
|
3862
5135
|
title?: string | undefined;
|
|
5136
|
+
context?: "inline" | "fork" | undefined;
|
|
3863
5137
|
arguments?: {
|
|
3864
5138
|
name: string;
|
|
3865
5139
|
description?: string | undefined;
|
|
3866
5140
|
required?: boolean | undefined;
|
|
3867
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;
|
|
3868
5148
|
}>;
|
|
3869
5149
|
export type PromptDefinition = z.output<typeof PromptDefinitionSchema>;
|
|
3870
5150
|
export declare const PromptInfoSchema: z.ZodObject<{
|
|
@@ -3884,30 +5164,65 @@ export declare const PromptInfoSchema: z.ZodObject<{
|
|
|
3884
5164
|
description?: string | undefined;
|
|
3885
5165
|
required?: boolean | undefined;
|
|
3886
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>;
|
|
3887
5174
|
source: z.ZodEnum<["mcp", "config", "custom"]>;
|
|
3888
|
-
|
|
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
|
+
}>>;
|
|
3889
5182
|
}, "strict", z.ZodTypeAny, {
|
|
3890
5183
|
name: string;
|
|
3891
|
-
source: "
|
|
5184
|
+
source: "mcp" | "custom" | "config";
|
|
3892
5185
|
description?: string | undefined;
|
|
3893
5186
|
title?: string | undefined;
|
|
3894
|
-
|
|
5187
|
+
context?: "inline" | "fork" | undefined;
|
|
5188
|
+
metadata?: {
|
|
5189
|
+
[key: string]: JsonValue;
|
|
5190
|
+
} | undefined;
|
|
3895
5191
|
arguments?: {
|
|
3896
5192
|
name: string;
|
|
3897
5193
|
description?: string | undefined;
|
|
3898
5194
|
required?: boolean | undefined;
|
|
3899
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;
|
|
3900
5204
|
}, {
|
|
3901
5205
|
name: string;
|
|
3902
|
-
source: "
|
|
5206
|
+
source: "mcp" | "custom" | "config";
|
|
3903
5207
|
description?: string | undefined;
|
|
3904
5208
|
title?: string | undefined;
|
|
3905
|
-
|
|
5209
|
+
context?: "inline" | "fork" | undefined;
|
|
5210
|
+
metadata?: {
|
|
5211
|
+
[key: string]: JsonValue;
|
|
5212
|
+
} | undefined;
|
|
3906
5213
|
arguments?: {
|
|
3907
5214
|
name: string;
|
|
3908
5215
|
description?: string | undefined;
|
|
3909
5216
|
required?: boolean | undefined;
|
|
3910
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;
|
|
3911
5226
|
}>;
|
|
3912
5227
|
export type PromptInfo = z.output<typeof PromptInfoSchema>;
|
|
3913
5228
|
export declare const PromptSchema: z.ZodObject<{
|
|
@@ -3918,14 +5233,14 @@ export declare const PromptSchema: z.ZodObject<{
|
|
|
3918
5233
|
variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3919
5234
|
}, "strict", z.ZodTypeAny, {
|
|
3920
5235
|
content: string;
|
|
3921
|
-
id: string;
|
|
3922
5236
|
name: string;
|
|
5237
|
+
id: string;
|
|
3923
5238
|
description?: string | undefined;
|
|
3924
5239
|
variables?: string[] | undefined;
|
|
3925
5240
|
}, {
|
|
3926
5241
|
content: string;
|
|
3927
|
-
id: string;
|
|
3928
5242
|
name: string;
|
|
5243
|
+
id: string;
|
|
3929
5244
|
description?: string | undefined;
|
|
3930
5245
|
variables?: string[] | undefined;
|
|
3931
5246
|
}>;
|
|
@@ -3945,28 +5260,28 @@ export declare const ErrorResponseSchema: z.ZodObject<{
|
|
|
3945
5260
|
error: z.ZodObject<{
|
|
3946
5261
|
message: z.ZodString;
|
|
3947
5262
|
code: z.ZodOptional<z.ZodString>;
|
|
3948
|
-
details: z.ZodOptional<z.
|
|
5263
|
+
details: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
|
|
3949
5264
|
}, "strict", z.ZodTypeAny, {
|
|
3950
5265
|
message: string;
|
|
3951
5266
|
code?: string | undefined;
|
|
3952
|
-
details?:
|
|
5267
|
+
details?: JsonValue | undefined;
|
|
3953
5268
|
}, {
|
|
3954
5269
|
message: string;
|
|
3955
5270
|
code?: string | undefined;
|
|
3956
|
-
details?:
|
|
5271
|
+
details?: JsonValue | undefined;
|
|
3957
5272
|
}>;
|
|
3958
5273
|
}, "strict", z.ZodTypeAny, {
|
|
3959
5274
|
error: {
|
|
3960
5275
|
message: string;
|
|
3961
5276
|
code?: string | undefined;
|
|
3962
|
-
details?:
|
|
5277
|
+
details?: JsonValue | undefined;
|
|
3963
5278
|
};
|
|
3964
5279
|
ok: false;
|
|
3965
5280
|
}, {
|
|
3966
5281
|
error: {
|
|
3967
5282
|
message: string;
|
|
3968
5283
|
code?: string | undefined;
|
|
3969
|
-
details?:
|
|
5284
|
+
details?: JsonValue | undefined;
|
|
3970
5285
|
};
|
|
3971
5286
|
ok: false;
|
|
3972
5287
|
}>;
|
|
@@ -3976,30 +5291,30 @@ export declare const StandardErrorEnvelopeSchema: z.ZodObject<{
|
|
|
3976
5291
|
message: z.ZodString;
|
|
3977
5292
|
scope: z.ZodString;
|
|
3978
5293
|
type: z.ZodString;
|
|
3979
|
-
context: z.ZodOptional<z.
|
|
5294
|
+
context: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
|
|
3980
5295
|
recovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3981
5296
|
traceId: z.ZodString;
|
|
3982
5297
|
endpoint: z.ZodString;
|
|
3983
5298
|
method: z.ZodString;
|
|
3984
5299
|
}, "strict", z.ZodTypeAny, {
|
|
3985
|
-
method: string;
|
|
3986
5300
|
type: string;
|
|
5301
|
+
method: string;
|
|
3987
5302
|
code: string;
|
|
3988
5303
|
message: string;
|
|
3989
5304
|
scope: string;
|
|
3990
|
-
traceId: string;
|
|
3991
5305
|
endpoint: string;
|
|
3992
|
-
|
|
5306
|
+
traceId: string;
|
|
5307
|
+
context?: JsonValue | undefined;
|
|
3993
5308
|
recovery?: string | string[] | undefined;
|
|
3994
5309
|
}, {
|
|
3995
|
-
method: string;
|
|
3996
5310
|
type: string;
|
|
5311
|
+
method: string;
|
|
3997
5312
|
code: string;
|
|
3998
5313
|
message: string;
|
|
3999
5314
|
scope: string;
|
|
4000
|
-
traceId: string;
|
|
4001
5315
|
endpoint: string;
|
|
4002
|
-
|
|
5316
|
+
traceId: string;
|
|
5317
|
+
context?: JsonValue | undefined;
|
|
4003
5318
|
recovery?: string | string[] | undefined;
|
|
4004
5319
|
}>;
|
|
4005
5320
|
export type StandardErrorEnvelope = z.output<typeof StandardErrorEnvelopeSchema>;
|