@mastra/server 1.75.0-alpha.4 → 1.75.0-alpha.5
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/{agent-versions-RvvNdlZk.cjs → agent-versions-CivkX9fT.cjs} +2 -2
- package/dist/{agent-versions-RvvNdlZk.cjs.map → agent-versions-CivkX9fT.cjs.map} +1 -1
- package/dist/{agent-versions-CTAEDQuT.js → agent-versions-oCebJ7rc.js} +2 -2
- package/dist/{agent-versions-CTAEDQuT.js.map → agent-versions-oCebJ7rc.js.map} +1 -1
- package/dist/{api-schema-manifest-BmNlBOvP.cjs → api-schema-manifest-BKsEMyEs.cjs} +2 -2
- package/dist/{api-schema-manifest-BmNlBOvP.cjs.map → api-schema-manifest-BKsEMyEs.cjs.map} +1 -1
- package/dist/{api-schema-manifest-Bsnp8kpD.js → api-schema-manifest-KsETdHDS.js} +2 -2
- package/dist/{api-schema-manifest-Bsnp8kpD.js.map → api-schema-manifest-KsETdHDS.js.map} +1 -1
- package/dist/{channels-DJkXEpTr.cjs → channels-DUdpygCQ.cjs} +39 -1
- package/dist/channels-DUdpygCQ.cjs.map +1 -0
- package/dist/{channels-DzaCNtXe.js → channels-T1KaEfZX.js} +34 -2
- package/dist/channels-T1KaEfZX.js.map +1 -0
- package/dist/{dist-DgDFoIF5.cjs → dist-DRLe8Sd-.cjs} +24 -3
- package/dist/dist-DRLe8Sd-.cjs.map +1 -0
- package/dist/{dist-BFUX7iPi.js → dist-DWXEVDmb.js} +24 -3
- package/dist/dist-DWXEVDmb.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/{routes--Al6ya95.js → routes-B_ehFjzs.js} +3 -2
- package/dist/routes-B_ehFjzs.js.map +1 -0
- package/dist/{routes-CeYKJ-Re.cjs → routes-Op7uJGai.cjs} +3 -2
- package/dist/routes-Op7uJGai.cjs.map +1 -0
- package/dist/{scorer-versions-BfGNw7Wp.cjs → scorer-versions-B8q9-oF2.cjs} +2 -2
- package/dist/{scorer-versions-BfGNw7Wp.cjs.map → scorer-versions-B8q9-oF2.cjs.map} +1 -1
- package/dist/{scorer-versions-gXsdWw0V.js → scorer-versions-DGLHODqM.js} +2 -2
- package/dist/{scorer-versions-gXsdWw0V.js.map → scorer-versions-DGLHODqM.js.map} +1 -1
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agent-versions.cjs +1 -1
- package/dist/server/handlers/agent-versions.d.ts +368 -0
- package/dist/server/handlers/agent-versions.d.ts.map +1 -1
- package/dist/server/handlers/agent-versions.js +1 -1
- package/dist/server/handlers/agents.cjs +1 -1
- package/dist/server/handlers/agents.d.ts +92 -0
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/channels.cjs +2 -1
- package/dist/server/handlers/channels.d.ts +53 -0
- package/dist/server/handlers/channels.d.ts.map +1 -1
- package/dist/server/handlers/channels.js +2 -2
- package/dist/server/handlers/scorer-versions.cjs +1 -1
- package/dist/server/handlers/scorer-versions.js +1 -1
- package/dist/server/handlers/stored-agent-favorites.cjs +1 -1
- package/dist/server/handlers/stored-agent-favorites.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +1 -1
- package/dist/server/handlers/stored-agents.d.ts +460 -0
- package/dist/server/handlers/stored-agents.d.ts.map +1 -1
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/stored-scorers.cjs +1 -1
- package/dist/server/handlers/stored-scorers.js +1 -1
- package/dist/server/handlers/system.cjs +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tool-providers.cjs +2 -1
- package/dist/server/handlers/tool-providers.cjs.map +1 -1
- package/dist/server/handlers/tool-providers.d.ts.map +1 -1
- package/dist/server/handlers/tool-providers.js +2 -1
- package/dist/server/handlers/tool-providers.js.map +1 -1
- package/dist/server/schemas/agent-versions.d.ts +350 -0
- package/dist/server/schemas/agent-versions.d.ts.map +1 -1
- package/dist/server/schemas/channels.d.ts +11 -0
- package/dist/server/schemas/channels.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +4 -4
- package/dist/server/schemas/index.js +4 -4
- package/dist/server/schemas/stored-agents.d.ts +989 -149
- package/dist/server/schemas/stored-agents.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +1 -1
- package/dist/server/server-adapter/index.js +1 -1
- package/dist/server/server-adapter/routes/channels.d.ts +43 -0
- package/dist/server/server-adapter/routes/channels.d.ts.map +1 -1
- package/dist/{stored-agents-ts0bWw8l.js → stored-agents-BzIvRgtz.js} +3 -2
- package/dist/stored-agents-BzIvRgtz.js.map +1 -0
- package/dist/{stored-agents-Dmsel7ey.cjs → stored-agents-DpY3ssfx.cjs} +3 -2
- package/dist/stored-agents-DpY3ssfx.cjs.map +1 -0
- package/dist/{stored-scorers-DySg7-qS.js → stored-scorers-CAt8hFj2.js} +2 -2
- package/dist/{stored-scorers-DySg7-qS.js.map → stored-scorers-CAt8hFj2.js.map} +1 -1
- package/dist/{stored-scorers-DoW6lYh8.cjs → stored-scorers-DyeqU2Rj.cjs} +2 -2
- package/dist/{stored-scorers-DoW6lYh8.cjs.map → stored-scorers-DyeqU2Rj.cjs.map} +1 -1
- package/package.json +6 -6
- package/dist/channels-DJkXEpTr.cjs.map +0 -1
- package/dist/channels-DzaCNtXe.js.map +0 -1
- package/dist/dist-BFUX7iPi.js.map +0 -1
- package/dist/dist-DgDFoIF5.cjs.map +0 -1
- package/dist/routes--Al6ya95.js.map +0 -1
- package/dist/routes-CeYKJ-Re.cjs.map +0 -1
- package/dist/stored-agents-Dmsel7ey.cjs.map +0 -1
- package/dist/stored-agents-ts0bWw8l.js.map +0 -1
|
@@ -229,6 +229,76 @@ export declare const instructionsSchema: z.ZodUnion<readonly [z.ZodString, z.Zod
|
|
|
229
229
|
}, z.core.$strip>, z.ZodObject<{
|
|
230
230
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
231
231
|
id: z.ZodString;
|
|
232
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
operator: z.ZodEnum<{
|
|
234
|
+
AND: "AND";
|
|
235
|
+
OR: "OR";
|
|
236
|
+
}>;
|
|
237
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
238
|
+
field: z.ZodString;
|
|
239
|
+
operator: z.ZodEnum<{
|
|
240
|
+
contains: "contains";
|
|
241
|
+
equals: "equals";
|
|
242
|
+
exists: "exists";
|
|
243
|
+
greater_than: "greater_than";
|
|
244
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
245
|
+
in: "in";
|
|
246
|
+
less_than: "less_than";
|
|
247
|
+
less_than_or_equal: "less_than_or_equal";
|
|
248
|
+
not_contains: "not_contains";
|
|
249
|
+
not_equals: "not_equals";
|
|
250
|
+
not_exists: "not_exists";
|
|
251
|
+
not_in: "not_in";
|
|
252
|
+
}>;
|
|
253
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
operator: z.ZodEnum<{
|
|
256
|
+
AND: "AND";
|
|
257
|
+
OR: "OR";
|
|
258
|
+
}>;
|
|
259
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
260
|
+
field: z.ZodString;
|
|
261
|
+
operator: z.ZodEnum<{
|
|
262
|
+
contains: "contains";
|
|
263
|
+
equals: "equals";
|
|
264
|
+
exists: "exists";
|
|
265
|
+
greater_than: "greater_than";
|
|
266
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
267
|
+
in: "in";
|
|
268
|
+
less_than: "less_than";
|
|
269
|
+
less_than_or_equal: "less_than_or_equal";
|
|
270
|
+
not_contains: "not_contains";
|
|
271
|
+
not_equals: "not_equals";
|
|
272
|
+
not_exists: "not_exists";
|
|
273
|
+
not_in: "not_in";
|
|
274
|
+
}>;
|
|
275
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
|
+
operator: z.ZodEnum<{
|
|
278
|
+
AND: "AND";
|
|
279
|
+
OR: "OR";
|
|
280
|
+
}>;
|
|
281
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
282
|
+
field: z.ZodString;
|
|
283
|
+
operator: z.ZodEnum<{
|
|
284
|
+
contains: "contains";
|
|
285
|
+
equals: "equals";
|
|
286
|
+
exists: "exists";
|
|
287
|
+
greater_than: "greater_than";
|
|
288
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
289
|
+
in: "in";
|
|
290
|
+
less_than: "less_than";
|
|
291
|
+
less_than_or_equal: "less_than_or_equal";
|
|
292
|
+
not_contains: "not_contains";
|
|
293
|
+
not_equals: "not_equals";
|
|
294
|
+
not_exists: "not_exists";
|
|
295
|
+
not_in: "not_in";
|
|
296
|
+
}>;
|
|
297
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
298
|
+
}, z.core.$strip>>;
|
|
299
|
+
}, z.core.$strip>]>>;
|
|
300
|
+
}, z.core.$strip>]>>;
|
|
301
|
+
}, z.core.$strip>>;
|
|
232
302
|
}, z.core.$strip>, z.ZodObject<{
|
|
233
303
|
type: z.ZodLiteral<"prompt_block">;
|
|
234
304
|
content: z.ZodString;
|
|
@@ -1178,6 +1248,76 @@ declare const snapshotConfigSchema: z.ZodObject<{
|
|
|
1178
1248
|
}, z.core.$strip>, z.ZodObject<{
|
|
1179
1249
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
1180
1250
|
id: z.ZodString;
|
|
1251
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
1252
|
+
operator: z.ZodEnum<{
|
|
1253
|
+
AND: "AND";
|
|
1254
|
+
OR: "OR";
|
|
1255
|
+
}>;
|
|
1256
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1257
|
+
field: z.ZodString;
|
|
1258
|
+
operator: z.ZodEnum<{
|
|
1259
|
+
contains: "contains";
|
|
1260
|
+
equals: "equals";
|
|
1261
|
+
exists: "exists";
|
|
1262
|
+
greater_than: "greater_than";
|
|
1263
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
1264
|
+
in: "in";
|
|
1265
|
+
less_than: "less_than";
|
|
1266
|
+
less_than_or_equal: "less_than_or_equal";
|
|
1267
|
+
not_contains: "not_contains";
|
|
1268
|
+
not_equals: "not_equals";
|
|
1269
|
+
not_exists: "not_exists";
|
|
1270
|
+
not_in: "not_in";
|
|
1271
|
+
}>;
|
|
1272
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1274
|
+
operator: z.ZodEnum<{
|
|
1275
|
+
AND: "AND";
|
|
1276
|
+
OR: "OR";
|
|
1277
|
+
}>;
|
|
1278
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1279
|
+
field: z.ZodString;
|
|
1280
|
+
operator: z.ZodEnum<{
|
|
1281
|
+
contains: "contains";
|
|
1282
|
+
equals: "equals";
|
|
1283
|
+
exists: "exists";
|
|
1284
|
+
greater_than: "greater_than";
|
|
1285
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
1286
|
+
in: "in";
|
|
1287
|
+
less_than: "less_than";
|
|
1288
|
+
less_than_or_equal: "less_than_or_equal";
|
|
1289
|
+
not_contains: "not_contains";
|
|
1290
|
+
not_equals: "not_equals";
|
|
1291
|
+
not_exists: "not_exists";
|
|
1292
|
+
not_in: "not_in";
|
|
1293
|
+
}>;
|
|
1294
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1295
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1296
|
+
operator: z.ZodEnum<{
|
|
1297
|
+
AND: "AND";
|
|
1298
|
+
OR: "OR";
|
|
1299
|
+
}>;
|
|
1300
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
1301
|
+
field: z.ZodString;
|
|
1302
|
+
operator: z.ZodEnum<{
|
|
1303
|
+
contains: "contains";
|
|
1304
|
+
equals: "equals";
|
|
1305
|
+
exists: "exists";
|
|
1306
|
+
greater_than: "greater_than";
|
|
1307
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
1308
|
+
in: "in";
|
|
1309
|
+
less_than: "less_than";
|
|
1310
|
+
less_than_or_equal: "less_than_or_equal";
|
|
1311
|
+
not_contains: "not_contains";
|
|
1312
|
+
not_equals: "not_equals";
|
|
1313
|
+
not_exists: "not_exists";
|
|
1314
|
+
not_in: "not_in";
|
|
1315
|
+
}>;
|
|
1316
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1317
|
+
}, z.core.$strip>>;
|
|
1318
|
+
}, z.core.$strip>]>>;
|
|
1319
|
+
}, z.core.$strip>]>>;
|
|
1320
|
+
}, z.core.$strip>>;
|
|
1181
1321
|
}, z.core.$strip>, z.ZodObject<{
|
|
1182
1322
|
type: z.ZodLiteral<"prompt_block">;
|
|
1183
1323
|
content: z.ZodString;
|
|
@@ -5139,6 +5279,76 @@ export declare const createStoredAgentBodySchema: z.ZodObject<{
|
|
|
5139
5279
|
}, z.core.$strip>, z.ZodObject<{
|
|
5140
5280
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
5141
5281
|
id: z.ZodString;
|
|
5282
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
5283
|
+
operator: z.ZodEnum<{
|
|
5284
|
+
AND: "AND";
|
|
5285
|
+
OR: "OR";
|
|
5286
|
+
}>;
|
|
5287
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5288
|
+
field: z.ZodString;
|
|
5289
|
+
operator: z.ZodEnum<{
|
|
5290
|
+
contains: "contains";
|
|
5291
|
+
equals: "equals";
|
|
5292
|
+
exists: "exists";
|
|
5293
|
+
greater_than: "greater_than";
|
|
5294
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
5295
|
+
in: "in";
|
|
5296
|
+
less_than: "less_than";
|
|
5297
|
+
less_than_or_equal: "less_than_or_equal";
|
|
5298
|
+
not_contains: "not_contains";
|
|
5299
|
+
not_equals: "not_equals";
|
|
5300
|
+
not_exists: "not_exists";
|
|
5301
|
+
not_in: "not_in";
|
|
5302
|
+
}>;
|
|
5303
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5305
|
+
operator: z.ZodEnum<{
|
|
5306
|
+
AND: "AND";
|
|
5307
|
+
OR: "OR";
|
|
5308
|
+
}>;
|
|
5309
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5310
|
+
field: z.ZodString;
|
|
5311
|
+
operator: z.ZodEnum<{
|
|
5312
|
+
contains: "contains";
|
|
5313
|
+
equals: "equals";
|
|
5314
|
+
exists: "exists";
|
|
5315
|
+
greater_than: "greater_than";
|
|
5316
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
5317
|
+
in: "in";
|
|
5318
|
+
less_than: "less_than";
|
|
5319
|
+
less_than_or_equal: "less_than_or_equal";
|
|
5320
|
+
not_contains: "not_contains";
|
|
5321
|
+
not_equals: "not_equals";
|
|
5322
|
+
not_exists: "not_exists";
|
|
5323
|
+
not_in: "not_in";
|
|
5324
|
+
}>;
|
|
5325
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5327
|
+
operator: z.ZodEnum<{
|
|
5328
|
+
AND: "AND";
|
|
5329
|
+
OR: "OR";
|
|
5330
|
+
}>;
|
|
5331
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
5332
|
+
field: z.ZodString;
|
|
5333
|
+
operator: z.ZodEnum<{
|
|
5334
|
+
contains: "contains";
|
|
5335
|
+
equals: "equals";
|
|
5336
|
+
exists: "exists";
|
|
5337
|
+
greater_than: "greater_than";
|
|
5338
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
5339
|
+
in: "in";
|
|
5340
|
+
less_than: "less_than";
|
|
5341
|
+
less_than_or_equal: "less_than_or_equal";
|
|
5342
|
+
not_contains: "not_contains";
|
|
5343
|
+
not_equals: "not_equals";
|
|
5344
|
+
not_exists: "not_exists";
|
|
5345
|
+
not_in: "not_in";
|
|
5346
|
+
}>;
|
|
5347
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
5348
|
+
}, z.core.$strip>>;
|
|
5349
|
+
}, z.core.$strip>]>>;
|
|
5350
|
+
}, z.core.$strip>]>>;
|
|
5351
|
+
}, z.core.$strip>>;
|
|
5142
5352
|
}, z.core.$strip>, z.ZodObject<{
|
|
5143
5353
|
type: z.ZodLiteral<"prompt_block">;
|
|
5144
5354
|
content: z.ZodString;
|
|
@@ -9107,9 +9317,6 @@ export declare const updateStoredAgentBodySchema: z.ZodObject<{
|
|
|
9107
9317
|
}, z.core.$strip>, z.ZodObject<{
|
|
9108
9318
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
9109
9319
|
id: z.ZodString;
|
|
9110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9111
|
-
type: z.ZodLiteral<"prompt_block">;
|
|
9112
|
-
content: z.ZodString;
|
|
9113
9320
|
rules: z.ZodOptional<z.ZodObject<{
|
|
9114
9321
|
operator: z.ZodEnum<{
|
|
9115
9322
|
AND: "AND";
|
|
@@ -9180,15 +9387,9 @@ export declare const updateStoredAgentBodySchema: z.ZodObject<{
|
|
|
9180
9387
|
}, z.core.$strip>]>>;
|
|
9181
9388
|
}, z.core.$strip>]>>;
|
|
9182
9389
|
}, z.core.$strip>>;
|
|
9183
|
-
}, z.core.$strip
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
name: z.ZodString;
|
|
9187
|
-
}, z.core.$loose>, z.ZodArray<z.ZodObject<{
|
|
9188
|
-
value: z.ZodObject<{
|
|
9189
|
-
provider: z.ZodString;
|
|
9190
|
-
name: z.ZodString;
|
|
9191
|
-
}, z.core.$loose>;
|
|
9390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9391
|
+
type: z.ZodLiteral<"prompt_block">;
|
|
9392
|
+
content: z.ZodString;
|
|
9192
9393
|
rules: z.ZodOptional<z.ZodObject<{
|
|
9193
9394
|
operator: z.ZodEnum<{
|
|
9194
9395
|
AND: "AND";
|
|
@@ -9259,9 +9460,15 @@ export declare const updateStoredAgentBodySchema: z.ZodObject<{
|
|
|
9259
9460
|
}, z.core.$strip>]>>;
|
|
9260
9461
|
}, z.core.$strip>]>>;
|
|
9261
9462
|
}, z.core.$strip>>;
|
|
9262
|
-
}, z.core.$strip>>]>>;
|
|
9263
|
-
|
|
9264
|
-
|
|
9463
|
+
}, z.core.$strip>], "type">>]>>;
|
|
9464
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9465
|
+
provider: z.ZodString;
|
|
9466
|
+
name: z.ZodString;
|
|
9467
|
+
}, z.core.$loose>, z.ZodArray<z.ZodObject<{
|
|
9468
|
+
value: z.ZodObject<{
|
|
9469
|
+
provider: z.ZodString;
|
|
9470
|
+
name: z.ZodString;
|
|
9471
|
+
}, z.core.$loose>;
|
|
9265
9472
|
rules: z.ZodOptional<z.ZodObject<{
|
|
9266
9473
|
operator: z.ZodEnum<{
|
|
9267
9474
|
AND: "AND";
|
|
@@ -9332,10 +9539,83 @@ export declare const updateStoredAgentBodySchema: z.ZodObject<{
|
|
|
9332
9539
|
}, z.core.$strip>]>>;
|
|
9333
9540
|
}, z.core.$strip>]>>;
|
|
9334
9541
|
}, z.core.$strip>>;
|
|
9335
|
-
}, z.core.$strip
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9542
|
+
}, z.core.$strip>>]>>;
|
|
9543
|
+
tools: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9544
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9545
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
9546
|
+
operator: z.ZodEnum<{
|
|
9547
|
+
AND: "AND";
|
|
9548
|
+
OR: "OR";
|
|
9549
|
+
}>;
|
|
9550
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9551
|
+
field: z.ZodString;
|
|
9552
|
+
operator: z.ZodEnum<{
|
|
9553
|
+
contains: "contains";
|
|
9554
|
+
equals: "equals";
|
|
9555
|
+
exists: "exists";
|
|
9556
|
+
greater_than: "greater_than";
|
|
9557
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
9558
|
+
in: "in";
|
|
9559
|
+
less_than: "less_than";
|
|
9560
|
+
less_than_or_equal: "less_than_or_equal";
|
|
9561
|
+
not_contains: "not_contains";
|
|
9562
|
+
not_equals: "not_equals";
|
|
9563
|
+
not_exists: "not_exists";
|
|
9564
|
+
not_in: "not_in";
|
|
9565
|
+
}>;
|
|
9566
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
9567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9568
|
+
operator: z.ZodEnum<{
|
|
9569
|
+
AND: "AND";
|
|
9570
|
+
OR: "OR";
|
|
9571
|
+
}>;
|
|
9572
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9573
|
+
field: z.ZodString;
|
|
9574
|
+
operator: z.ZodEnum<{
|
|
9575
|
+
contains: "contains";
|
|
9576
|
+
equals: "equals";
|
|
9577
|
+
exists: "exists";
|
|
9578
|
+
greater_than: "greater_than";
|
|
9579
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
9580
|
+
in: "in";
|
|
9581
|
+
less_than: "less_than";
|
|
9582
|
+
less_than_or_equal: "less_than_or_equal";
|
|
9583
|
+
not_contains: "not_contains";
|
|
9584
|
+
not_equals: "not_equals";
|
|
9585
|
+
not_exists: "not_exists";
|
|
9586
|
+
not_in: "not_in";
|
|
9587
|
+
}>;
|
|
9588
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
9589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9590
|
+
operator: z.ZodEnum<{
|
|
9591
|
+
AND: "AND";
|
|
9592
|
+
OR: "OR";
|
|
9593
|
+
}>;
|
|
9594
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
9595
|
+
field: z.ZodString;
|
|
9596
|
+
operator: z.ZodEnum<{
|
|
9597
|
+
contains: "contains";
|
|
9598
|
+
equals: "equals";
|
|
9599
|
+
exists: "exists";
|
|
9600
|
+
greater_than: "greater_than";
|
|
9601
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
9602
|
+
in: "in";
|
|
9603
|
+
less_than: "less_than";
|
|
9604
|
+
less_than_or_equal: "less_than_or_equal";
|
|
9605
|
+
not_contains: "not_contains";
|
|
9606
|
+
not_equals: "not_equals";
|
|
9607
|
+
not_exists: "not_exists";
|
|
9608
|
+
not_in: "not_in";
|
|
9609
|
+
}>;
|
|
9610
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
9611
|
+
}, z.core.$strip>>;
|
|
9612
|
+
}, z.core.$strip>]>>;
|
|
9613
|
+
}, z.core.$strip>]>>;
|
|
9614
|
+
}, z.core.$strip>>;
|
|
9615
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
9616
|
+
value: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9617
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9618
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
9339
9619
|
operator: z.ZodEnum<{
|
|
9340
9620
|
AND: "AND";
|
|
9341
9621
|
OR: "OR";
|
|
@@ -13071,6 +13351,76 @@ export declare const exportStoredAgentBodySchema: z.ZodObject<{
|
|
|
13071
13351
|
}, z.core.$strip>, z.ZodObject<{
|
|
13072
13352
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
13073
13353
|
id: z.ZodString;
|
|
13354
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
13355
|
+
operator: z.ZodEnum<{
|
|
13356
|
+
AND: "AND";
|
|
13357
|
+
OR: "OR";
|
|
13358
|
+
}>;
|
|
13359
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
13360
|
+
field: z.ZodString;
|
|
13361
|
+
operator: z.ZodEnum<{
|
|
13362
|
+
contains: "contains";
|
|
13363
|
+
equals: "equals";
|
|
13364
|
+
exists: "exists";
|
|
13365
|
+
greater_than: "greater_than";
|
|
13366
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
13367
|
+
in: "in";
|
|
13368
|
+
less_than: "less_than";
|
|
13369
|
+
less_than_or_equal: "less_than_or_equal";
|
|
13370
|
+
not_contains: "not_contains";
|
|
13371
|
+
not_equals: "not_equals";
|
|
13372
|
+
not_exists: "not_exists";
|
|
13373
|
+
not_in: "not_in";
|
|
13374
|
+
}>;
|
|
13375
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
13376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13377
|
+
operator: z.ZodEnum<{
|
|
13378
|
+
AND: "AND";
|
|
13379
|
+
OR: "OR";
|
|
13380
|
+
}>;
|
|
13381
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
13382
|
+
field: z.ZodString;
|
|
13383
|
+
operator: z.ZodEnum<{
|
|
13384
|
+
contains: "contains";
|
|
13385
|
+
equals: "equals";
|
|
13386
|
+
exists: "exists";
|
|
13387
|
+
greater_than: "greater_than";
|
|
13388
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
13389
|
+
in: "in";
|
|
13390
|
+
less_than: "less_than";
|
|
13391
|
+
less_than_or_equal: "less_than_or_equal";
|
|
13392
|
+
not_contains: "not_contains";
|
|
13393
|
+
not_equals: "not_equals";
|
|
13394
|
+
not_exists: "not_exists";
|
|
13395
|
+
not_in: "not_in";
|
|
13396
|
+
}>;
|
|
13397
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
13398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13399
|
+
operator: z.ZodEnum<{
|
|
13400
|
+
AND: "AND";
|
|
13401
|
+
OR: "OR";
|
|
13402
|
+
}>;
|
|
13403
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
13404
|
+
field: z.ZodString;
|
|
13405
|
+
operator: z.ZodEnum<{
|
|
13406
|
+
contains: "contains";
|
|
13407
|
+
equals: "equals";
|
|
13408
|
+
exists: "exists";
|
|
13409
|
+
greater_than: "greater_than";
|
|
13410
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
13411
|
+
in: "in";
|
|
13412
|
+
less_than: "less_than";
|
|
13413
|
+
less_than_or_equal: "less_than_or_equal";
|
|
13414
|
+
not_contains: "not_contains";
|
|
13415
|
+
not_equals: "not_equals";
|
|
13416
|
+
not_exists: "not_exists";
|
|
13417
|
+
not_in: "not_in";
|
|
13418
|
+
}>;
|
|
13419
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
13420
|
+
}, z.core.$strip>>;
|
|
13421
|
+
}, z.core.$strip>]>>;
|
|
13422
|
+
}, z.core.$strip>]>>;
|
|
13423
|
+
}, z.core.$strip>>;
|
|
13074
13424
|
}, z.core.$strip>, z.ZodObject<{
|
|
13075
13425
|
type: z.ZodLiteral<"prompt_block">;
|
|
13076
13426
|
content: z.ZodString;
|
|
@@ -17027,6 +17377,76 @@ export declare const openStoredAgentChangeRequestBodySchema: z.ZodObject<{
|
|
|
17027
17377
|
}, z.core.$strip>, z.ZodObject<{
|
|
17028
17378
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
17029
17379
|
id: z.ZodString;
|
|
17380
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
17381
|
+
operator: z.ZodEnum<{
|
|
17382
|
+
AND: "AND";
|
|
17383
|
+
OR: "OR";
|
|
17384
|
+
}>;
|
|
17385
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
17386
|
+
field: z.ZodString;
|
|
17387
|
+
operator: z.ZodEnum<{
|
|
17388
|
+
contains: "contains";
|
|
17389
|
+
equals: "equals";
|
|
17390
|
+
exists: "exists";
|
|
17391
|
+
greater_than: "greater_than";
|
|
17392
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
17393
|
+
in: "in";
|
|
17394
|
+
less_than: "less_than";
|
|
17395
|
+
less_than_or_equal: "less_than_or_equal";
|
|
17396
|
+
not_contains: "not_contains";
|
|
17397
|
+
not_equals: "not_equals";
|
|
17398
|
+
not_exists: "not_exists";
|
|
17399
|
+
not_in: "not_in";
|
|
17400
|
+
}>;
|
|
17401
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
17402
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17403
|
+
operator: z.ZodEnum<{
|
|
17404
|
+
AND: "AND";
|
|
17405
|
+
OR: "OR";
|
|
17406
|
+
}>;
|
|
17407
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
17408
|
+
field: z.ZodString;
|
|
17409
|
+
operator: z.ZodEnum<{
|
|
17410
|
+
contains: "contains";
|
|
17411
|
+
equals: "equals";
|
|
17412
|
+
exists: "exists";
|
|
17413
|
+
greater_than: "greater_than";
|
|
17414
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
17415
|
+
in: "in";
|
|
17416
|
+
less_than: "less_than";
|
|
17417
|
+
less_than_or_equal: "less_than_or_equal";
|
|
17418
|
+
not_contains: "not_contains";
|
|
17419
|
+
not_equals: "not_equals";
|
|
17420
|
+
not_exists: "not_exists";
|
|
17421
|
+
not_in: "not_in";
|
|
17422
|
+
}>;
|
|
17423
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
17424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17425
|
+
operator: z.ZodEnum<{
|
|
17426
|
+
AND: "AND";
|
|
17427
|
+
OR: "OR";
|
|
17428
|
+
}>;
|
|
17429
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
17430
|
+
field: z.ZodString;
|
|
17431
|
+
operator: z.ZodEnum<{
|
|
17432
|
+
contains: "contains";
|
|
17433
|
+
equals: "equals";
|
|
17434
|
+
exists: "exists";
|
|
17435
|
+
greater_than: "greater_than";
|
|
17436
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
17437
|
+
in: "in";
|
|
17438
|
+
less_than: "less_than";
|
|
17439
|
+
less_than_or_equal: "less_than_or_equal";
|
|
17440
|
+
not_contains: "not_contains";
|
|
17441
|
+
not_equals: "not_equals";
|
|
17442
|
+
not_exists: "not_exists";
|
|
17443
|
+
not_in: "not_in";
|
|
17444
|
+
}>;
|
|
17445
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
17446
|
+
}, z.core.$strip>>;
|
|
17447
|
+
}, z.core.$strip>]>>;
|
|
17448
|
+
}, z.core.$strip>]>>;
|
|
17449
|
+
}, z.core.$strip>>;
|
|
17030
17450
|
}, z.core.$strip>, z.ZodObject<{
|
|
17031
17451
|
type: z.ZodLiteral<"prompt_block">;
|
|
17032
17452
|
content: z.ZodString;
|
|
@@ -21021,6 +21441,76 @@ export declare const storedAgentSchema: z.ZodObject<{
|
|
|
21021
21441
|
}, z.core.$strip>, z.ZodObject<{
|
|
21022
21442
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
21023
21443
|
id: z.ZodString;
|
|
21444
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
21445
|
+
operator: z.ZodEnum<{
|
|
21446
|
+
AND: "AND";
|
|
21447
|
+
OR: "OR";
|
|
21448
|
+
}>;
|
|
21449
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
21450
|
+
field: z.ZodString;
|
|
21451
|
+
operator: z.ZodEnum<{
|
|
21452
|
+
contains: "contains";
|
|
21453
|
+
equals: "equals";
|
|
21454
|
+
exists: "exists";
|
|
21455
|
+
greater_than: "greater_than";
|
|
21456
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
21457
|
+
in: "in";
|
|
21458
|
+
less_than: "less_than";
|
|
21459
|
+
less_than_or_equal: "less_than_or_equal";
|
|
21460
|
+
not_contains: "not_contains";
|
|
21461
|
+
not_equals: "not_equals";
|
|
21462
|
+
not_exists: "not_exists";
|
|
21463
|
+
not_in: "not_in";
|
|
21464
|
+
}>;
|
|
21465
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
21466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21467
|
+
operator: z.ZodEnum<{
|
|
21468
|
+
AND: "AND";
|
|
21469
|
+
OR: "OR";
|
|
21470
|
+
}>;
|
|
21471
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
21472
|
+
field: z.ZodString;
|
|
21473
|
+
operator: z.ZodEnum<{
|
|
21474
|
+
contains: "contains";
|
|
21475
|
+
equals: "equals";
|
|
21476
|
+
exists: "exists";
|
|
21477
|
+
greater_than: "greater_than";
|
|
21478
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
21479
|
+
in: "in";
|
|
21480
|
+
less_than: "less_than";
|
|
21481
|
+
less_than_or_equal: "less_than_or_equal";
|
|
21482
|
+
not_contains: "not_contains";
|
|
21483
|
+
not_equals: "not_equals";
|
|
21484
|
+
not_exists: "not_exists";
|
|
21485
|
+
not_in: "not_in";
|
|
21486
|
+
}>;
|
|
21487
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
21488
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21489
|
+
operator: z.ZodEnum<{
|
|
21490
|
+
AND: "AND";
|
|
21491
|
+
OR: "OR";
|
|
21492
|
+
}>;
|
|
21493
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
21494
|
+
field: z.ZodString;
|
|
21495
|
+
operator: z.ZodEnum<{
|
|
21496
|
+
contains: "contains";
|
|
21497
|
+
equals: "equals";
|
|
21498
|
+
exists: "exists";
|
|
21499
|
+
greater_than: "greater_than";
|
|
21500
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
21501
|
+
in: "in";
|
|
21502
|
+
less_than: "less_than";
|
|
21503
|
+
less_than_or_equal: "less_than_or_equal";
|
|
21504
|
+
not_contains: "not_contains";
|
|
21505
|
+
not_equals: "not_equals";
|
|
21506
|
+
not_exists: "not_exists";
|
|
21507
|
+
not_in: "not_in";
|
|
21508
|
+
}>;
|
|
21509
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
21510
|
+
}, z.core.$strip>>;
|
|
21511
|
+
}, z.core.$strip>]>>;
|
|
21512
|
+
}, z.core.$strip>]>>;
|
|
21513
|
+
}, z.core.$strip>>;
|
|
21024
21514
|
}, z.core.$strip>, z.ZodObject<{
|
|
21025
21515
|
type: z.ZodLiteral<"prompt_block">;
|
|
21026
21516
|
content: z.ZodString;
|
|
@@ -24940,7 +25430,98 @@ export declare const storedAgentSchema: z.ZodObject<{
|
|
|
24940
25430
|
AND: "AND";
|
|
24941
25431
|
OR: "OR";
|
|
24942
25432
|
}>;
|
|
24943
|
-
conditions: z.ZodArray<z.ZodObject<{
|
|
25433
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
25434
|
+
field: z.ZodString;
|
|
25435
|
+
operator: z.ZodEnum<{
|
|
25436
|
+
contains: "contains";
|
|
25437
|
+
equals: "equals";
|
|
25438
|
+
exists: "exists";
|
|
25439
|
+
greater_than: "greater_than";
|
|
25440
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
25441
|
+
in: "in";
|
|
25442
|
+
less_than: "less_than";
|
|
25443
|
+
less_than_or_equal: "less_than_or_equal";
|
|
25444
|
+
not_contains: "not_contains";
|
|
25445
|
+
not_equals: "not_equals";
|
|
25446
|
+
not_exists: "not_exists";
|
|
25447
|
+
not_in: "not_in";
|
|
25448
|
+
}>;
|
|
25449
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
25450
|
+
}, z.core.$strip>>;
|
|
25451
|
+
}, z.core.$strip>]>>;
|
|
25452
|
+
}, z.core.$strip>]>>;
|
|
25453
|
+
}, z.core.$strip>>;
|
|
25454
|
+
}, z.core.$strip>>]>, z.ZodBoolean, z.ZodNull]>>;
|
|
25455
|
+
requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25456
|
+
durable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
25457
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
25458
|
+
cleanupTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
25459
|
+
}, z.core.$strip>]>>;
|
|
25460
|
+
}, z.core.$strip>;
|
|
25461
|
+
/**
|
|
25462
|
+
* Response for GET /stored/agents
|
|
25463
|
+
*/
|
|
25464
|
+
export declare const listStoredAgentsResponseSchema: z.ZodObject<{
|
|
25465
|
+
total: z.ZodNumber;
|
|
25466
|
+
page: z.ZodNumber;
|
|
25467
|
+
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
25468
|
+
hasMore: z.ZodBoolean;
|
|
25469
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
25470
|
+
id: z.ZodString;
|
|
25471
|
+
status: z.ZodString;
|
|
25472
|
+
activeVersionId: z.ZodOptional<z.ZodString>;
|
|
25473
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
25474
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
25475
|
+
id: z.ZodString;
|
|
25476
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25477
|
+
email: z.ZodOptional<z.ZodString>;
|
|
25478
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
25479
|
+
}, z.core.$strip>>;
|
|
25480
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25481
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
25482
|
+
private: "private";
|
|
25483
|
+
public: "public";
|
|
25484
|
+
}>>;
|
|
25485
|
+
favoriteCount: z.ZodOptional<z.ZodNumber>;
|
|
25486
|
+
isFavorited: z.ZodOptional<z.ZodBoolean>;
|
|
25487
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
25488
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
25489
|
+
name: z.ZodString;
|
|
25490
|
+
description: z.ZodOptional<z.ZodString>;
|
|
25491
|
+
instructions: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25492
|
+
type: z.ZodLiteral<"text">;
|
|
25493
|
+
content: z.ZodString;
|
|
25494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25495
|
+
type: z.ZodLiteral<"prompt_block_ref">;
|
|
25496
|
+
id: z.ZodString;
|
|
25497
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
25498
|
+
operator: z.ZodEnum<{
|
|
25499
|
+
AND: "AND";
|
|
25500
|
+
OR: "OR";
|
|
25501
|
+
}>;
|
|
25502
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
25503
|
+
field: z.ZodString;
|
|
25504
|
+
operator: z.ZodEnum<{
|
|
25505
|
+
contains: "contains";
|
|
25506
|
+
equals: "equals";
|
|
25507
|
+
exists: "exists";
|
|
25508
|
+
greater_than: "greater_than";
|
|
25509
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
25510
|
+
in: "in";
|
|
25511
|
+
less_than: "less_than";
|
|
25512
|
+
less_than_or_equal: "less_than_or_equal";
|
|
25513
|
+
not_contains: "not_contains";
|
|
25514
|
+
not_equals: "not_equals";
|
|
25515
|
+
not_exists: "not_exists";
|
|
25516
|
+
not_in: "not_in";
|
|
25517
|
+
}>;
|
|
25518
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
25519
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25520
|
+
operator: z.ZodEnum<{
|
|
25521
|
+
AND: "AND";
|
|
25522
|
+
OR: "OR";
|
|
25523
|
+
}>;
|
|
25524
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
24944
25525
|
field: z.ZodString;
|
|
24945
25526
|
operator: z.ZodEnum<{
|
|
24946
25527
|
contains: "contains";
|
|
@@ -24957,53 +25538,32 @@ export declare const storedAgentSchema: z.ZodObject<{
|
|
|
24957
25538
|
not_in: "not_in";
|
|
24958
25539
|
}>;
|
|
24959
25540
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
24960
|
-
}, z.core.$strip
|
|
25541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25542
|
+
operator: z.ZodEnum<{
|
|
25543
|
+
AND: "AND";
|
|
25544
|
+
OR: "OR";
|
|
25545
|
+
}>;
|
|
25546
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
25547
|
+
field: z.ZodString;
|
|
25548
|
+
operator: z.ZodEnum<{
|
|
25549
|
+
contains: "contains";
|
|
25550
|
+
equals: "equals";
|
|
25551
|
+
exists: "exists";
|
|
25552
|
+
greater_than: "greater_than";
|
|
25553
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
25554
|
+
in: "in";
|
|
25555
|
+
less_than: "less_than";
|
|
25556
|
+
less_than_or_equal: "less_than_or_equal";
|
|
25557
|
+
not_contains: "not_contains";
|
|
25558
|
+
not_equals: "not_equals";
|
|
25559
|
+
not_exists: "not_exists";
|
|
25560
|
+
not_in: "not_in";
|
|
25561
|
+
}>;
|
|
25562
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
25563
|
+
}, z.core.$strip>>;
|
|
25564
|
+
}, z.core.$strip>]>>;
|
|
24961
25565
|
}, z.core.$strip>]>>;
|
|
24962
|
-
}, z.core.$strip
|
|
24963
|
-
}, z.core.$strip>>;
|
|
24964
|
-
}, z.core.$strip>>]>, z.ZodBoolean, z.ZodNull]>>;
|
|
24965
|
-
requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24966
|
-
durable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
24967
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
24968
|
-
cleanupTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
24969
|
-
}, z.core.$strip>]>>;
|
|
24970
|
-
}, z.core.$strip>;
|
|
24971
|
-
/**
|
|
24972
|
-
* Response for GET /stored/agents
|
|
24973
|
-
*/
|
|
24974
|
-
export declare const listStoredAgentsResponseSchema: z.ZodObject<{
|
|
24975
|
-
total: z.ZodNumber;
|
|
24976
|
-
page: z.ZodNumber;
|
|
24977
|
-
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
24978
|
-
hasMore: z.ZodBoolean;
|
|
24979
|
-
agents: z.ZodArray<z.ZodObject<{
|
|
24980
|
-
id: z.ZodString;
|
|
24981
|
-
status: z.ZodString;
|
|
24982
|
-
activeVersionId: z.ZodOptional<z.ZodString>;
|
|
24983
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
24984
|
-
author: z.ZodOptional<z.ZodObject<{
|
|
24985
|
-
id: z.ZodString;
|
|
24986
|
-
name: z.ZodOptional<z.ZodString>;
|
|
24987
|
-
email: z.ZodOptional<z.ZodString>;
|
|
24988
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
24989
|
-
}, z.core.$strip>>;
|
|
24990
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24991
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
24992
|
-
private: "private";
|
|
24993
|
-
public: "public";
|
|
24994
|
-
}>>;
|
|
24995
|
-
favoriteCount: z.ZodOptional<z.ZodNumber>;
|
|
24996
|
-
isFavorited: z.ZodOptional<z.ZodBoolean>;
|
|
24997
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
24998
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
24999
|
-
name: z.ZodString;
|
|
25000
|
-
description: z.ZodOptional<z.ZodString>;
|
|
25001
|
-
instructions: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25002
|
-
type: z.ZodLiteral<"text">;
|
|
25003
|
-
content: z.ZodString;
|
|
25004
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25005
|
-
type: z.ZodLiteral<"prompt_block_ref">;
|
|
25006
|
-
id: z.ZodString;
|
|
25566
|
+
}, z.core.$strip>>;
|
|
25007
25567
|
}, z.core.$strip>, z.ZodObject<{
|
|
25008
25568
|
type: z.ZodLiteral<"prompt_block">;
|
|
25009
25569
|
content: z.ZodString;
|
|
@@ -28983,6 +29543,76 @@ export declare const getStoredAgentResponseSchema: z.ZodObject<{
|
|
|
28983
29543
|
}, z.core.$strip>, z.ZodObject<{
|
|
28984
29544
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
28985
29545
|
id: z.ZodString;
|
|
29546
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
29547
|
+
operator: z.ZodEnum<{
|
|
29548
|
+
AND: "AND";
|
|
29549
|
+
OR: "OR";
|
|
29550
|
+
}>;
|
|
29551
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
29552
|
+
field: z.ZodString;
|
|
29553
|
+
operator: z.ZodEnum<{
|
|
29554
|
+
contains: "contains";
|
|
29555
|
+
equals: "equals";
|
|
29556
|
+
exists: "exists";
|
|
29557
|
+
greater_than: "greater_than";
|
|
29558
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
29559
|
+
in: "in";
|
|
29560
|
+
less_than: "less_than";
|
|
29561
|
+
less_than_or_equal: "less_than_or_equal";
|
|
29562
|
+
not_contains: "not_contains";
|
|
29563
|
+
not_equals: "not_equals";
|
|
29564
|
+
not_exists: "not_exists";
|
|
29565
|
+
not_in: "not_in";
|
|
29566
|
+
}>;
|
|
29567
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
29568
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29569
|
+
operator: z.ZodEnum<{
|
|
29570
|
+
AND: "AND";
|
|
29571
|
+
OR: "OR";
|
|
29572
|
+
}>;
|
|
29573
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
29574
|
+
field: z.ZodString;
|
|
29575
|
+
operator: z.ZodEnum<{
|
|
29576
|
+
contains: "contains";
|
|
29577
|
+
equals: "equals";
|
|
29578
|
+
exists: "exists";
|
|
29579
|
+
greater_than: "greater_than";
|
|
29580
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
29581
|
+
in: "in";
|
|
29582
|
+
less_than: "less_than";
|
|
29583
|
+
less_than_or_equal: "less_than_or_equal";
|
|
29584
|
+
not_contains: "not_contains";
|
|
29585
|
+
not_equals: "not_equals";
|
|
29586
|
+
not_exists: "not_exists";
|
|
29587
|
+
not_in: "not_in";
|
|
29588
|
+
}>;
|
|
29589
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
29590
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29591
|
+
operator: z.ZodEnum<{
|
|
29592
|
+
AND: "AND";
|
|
29593
|
+
OR: "OR";
|
|
29594
|
+
}>;
|
|
29595
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
29596
|
+
field: z.ZodString;
|
|
29597
|
+
operator: z.ZodEnum<{
|
|
29598
|
+
contains: "contains";
|
|
29599
|
+
equals: "equals";
|
|
29600
|
+
exists: "exists";
|
|
29601
|
+
greater_than: "greater_than";
|
|
29602
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
29603
|
+
in: "in";
|
|
29604
|
+
less_than: "less_than";
|
|
29605
|
+
less_than_or_equal: "less_than_or_equal";
|
|
29606
|
+
not_contains: "not_contains";
|
|
29607
|
+
not_equals: "not_equals";
|
|
29608
|
+
not_exists: "not_exists";
|
|
29609
|
+
not_in: "not_in";
|
|
29610
|
+
}>;
|
|
29611
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
29612
|
+
}, z.core.$strip>>;
|
|
29613
|
+
}, z.core.$strip>]>>;
|
|
29614
|
+
}, z.core.$strip>]>>;
|
|
29615
|
+
}, z.core.$strip>>;
|
|
28986
29616
|
}, z.core.$strip>, z.ZodObject<{
|
|
28987
29617
|
type: z.ZodLiteral<"prompt_block">;
|
|
28988
29618
|
content: z.ZodString;
|
|
@@ -32808,51 +33438,159 @@ export declare const getStoredAgentResponseSchema: z.ZodObject<{
|
|
|
32808
33438
|
}, z.core.$strip>]>>;
|
|
32809
33439
|
}, z.core.$strip>]>>;
|
|
32810
33440
|
}, z.core.$strip>>;
|
|
32811
|
-
}, z.core.$strip>>]>>;
|
|
32812
|
-
browser: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
32813
|
-
type: z.ZodLiteral<"inline">;
|
|
32814
|
-
config: z.ZodObject<{
|
|
32815
|
-
provider: z.ZodString;
|
|
32816
|
-
headless: z.ZodOptional<z.ZodBoolean>;
|
|
32817
|
-
viewport: z.ZodOptional<z.ZodObject<{
|
|
32818
|
-
width: z.ZodNumber;
|
|
32819
|
-
height: z.ZodNumber;
|
|
32820
|
-
}, z.core.$strip>>;
|
|
32821
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
32822
|
-
screencast: z.ZodOptional<z.ZodObject<{
|
|
32823
|
-
format: z.ZodOptional<z.ZodEnum<{
|
|
32824
|
-
jpeg: "jpeg";
|
|
32825
|
-
png: "png";
|
|
32826
|
-
}>>;
|
|
32827
|
-
quality: z.ZodOptional<z.ZodNumber>;
|
|
32828
|
-
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
32829
|
-
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
32830
|
-
everyNthFrame: z.ZodOptional<z.ZodNumber>;
|
|
32831
|
-
}, z.core.$strip>>;
|
|
32832
|
-
}, z.core.$strip>;
|
|
32833
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
32834
|
-
value: z.ZodObject<{
|
|
32835
|
-
type: z.ZodLiteral<"inline">;
|
|
32836
|
-
config: z.ZodObject<{
|
|
32837
|
-
provider: z.ZodString;
|
|
32838
|
-
headless: z.ZodOptional<z.ZodBoolean>;
|
|
32839
|
-
viewport: z.ZodOptional<z.ZodObject<{
|
|
32840
|
-
width: z.ZodNumber;
|
|
32841
|
-
height: z.ZodNumber;
|
|
32842
|
-
}, z.core.$strip>>;
|
|
32843
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
32844
|
-
screencast: z.ZodOptional<z.ZodObject<{
|
|
32845
|
-
format: z.ZodOptional<z.ZodEnum<{
|
|
32846
|
-
jpeg: "jpeg";
|
|
32847
|
-
png: "png";
|
|
32848
|
-
}>>;
|
|
32849
|
-
quality: z.ZodOptional<z.ZodNumber>;
|
|
32850
|
-
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
32851
|
-
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
32852
|
-
everyNthFrame: z.ZodOptional<z.ZodNumber>;
|
|
32853
|
-
}, z.core.$strip>>;
|
|
32854
|
-
}, z.core.$strip>;
|
|
32855
|
-
}, z.core.$strip>;
|
|
33441
|
+
}, z.core.$strip>>]>>;
|
|
33442
|
+
browser: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
33443
|
+
type: z.ZodLiteral<"inline">;
|
|
33444
|
+
config: z.ZodObject<{
|
|
33445
|
+
provider: z.ZodString;
|
|
33446
|
+
headless: z.ZodOptional<z.ZodBoolean>;
|
|
33447
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
33448
|
+
width: z.ZodNumber;
|
|
33449
|
+
height: z.ZodNumber;
|
|
33450
|
+
}, z.core.$strip>>;
|
|
33451
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
33452
|
+
screencast: z.ZodOptional<z.ZodObject<{
|
|
33453
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
33454
|
+
jpeg: "jpeg";
|
|
33455
|
+
png: "png";
|
|
33456
|
+
}>>;
|
|
33457
|
+
quality: z.ZodOptional<z.ZodNumber>;
|
|
33458
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
33459
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
33460
|
+
everyNthFrame: z.ZodOptional<z.ZodNumber>;
|
|
33461
|
+
}, z.core.$strip>>;
|
|
33462
|
+
}, z.core.$strip>;
|
|
33463
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
33464
|
+
value: z.ZodObject<{
|
|
33465
|
+
type: z.ZodLiteral<"inline">;
|
|
33466
|
+
config: z.ZodObject<{
|
|
33467
|
+
provider: z.ZodString;
|
|
33468
|
+
headless: z.ZodOptional<z.ZodBoolean>;
|
|
33469
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
33470
|
+
width: z.ZodNumber;
|
|
33471
|
+
height: z.ZodNumber;
|
|
33472
|
+
}, z.core.$strip>>;
|
|
33473
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
33474
|
+
screencast: z.ZodOptional<z.ZodObject<{
|
|
33475
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
33476
|
+
jpeg: "jpeg";
|
|
33477
|
+
png: "png";
|
|
33478
|
+
}>>;
|
|
33479
|
+
quality: z.ZodOptional<z.ZodNumber>;
|
|
33480
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
33481
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
33482
|
+
everyNthFrame: z.ZodOptional<z.ZodNumber>;
|
|
33483
|
+
}, z.core.$strip>>;
|
|
33484
|
+
}, z.core.$strip>;
|
|
33485
|
+
}, z.core.$strip>;
|
|
33486
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
33487
|
+
operator: z.ZodEnum<{
|
|
33488
|
+
AND: "AND";
|
|
33489
|
+
OR: "OR";
|
|
33490
|
+
}>;
|
|
33491
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
33492
|
+
field: z.ZodString;
|
|
33493
|
+
operator: z.ZodEnum<{
|
|
33494
|
+
contains: "contains";
|
|
33495
|
+
equals: "equals";
|
|
33496
|
+
exists: "exists";
|
|
33497
|
+
greater_than: "greater_than";
|
|
33498
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
33499
|
+
in: "in";
|
|
33500
|
+
less_than: "less_than";
|
|
33501
|
+
less_than_or_equal: "less_than_or_equal";
|
|
33502
|
+
not_contains: "not_contains";
|
|
33503
|
+
not_equals: "not_equals";
|
|
33504
|
+
not_exists: "not_exists";
|
|
33505
|
+
not_in: "not_in";
|
|
33506
|
+
}>;
|
|
33507
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
33508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33509
|
+
operator: z.ZodEnum<{
|
|
33510
|
+
AND: "AND";
|
|
33511
|
+
OR: "OR";
|
|
33512
|
+
}>;
|
|
33513
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
33514
|
+
field: z.ZodString;
|
|
33515
|
+
operator: z.ZodEnum<{
|
|
33516
|
+
contains: "contains";
|
|
33517
|
+
equals: "equals";
|
|
33518
|
+
exists: "exists";
|
|
33519
|
+
greater_than: "greater_than";
|
|
33520
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
33521
|
+
in: "in";
|
|
33522
|
+
less_than: "less_than";
|
|
33523
|
+
less_than_or_equal: "less_than_or_equal";
|
|
33524
|
+
not_contains: "not_contains";
|
|
33525
|
+
not_equals: "not_equals";
|
|
33526
|
+
not_exists: "not_exists";
|
|
33527
|
+
not_in: "not_in";
|
|
33528
|
+
}>;
|
|
33529
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
33530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33531
|
+
operator: z.ZodEnum<{
|
|
33532
|
+
AND: "AND";
|
|
33533
|
+
OR: "OR";
|
|
33534
|
+
}>;
|
|
33535
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
33536
|
+
field: z.ZodString;
|
|
33537
|
+
operator: z.ZodEnum<{
|
|
33538
|
+
contains: "contains";
|
|
33539
|
+
equals: "equals";
|
|
33540
|
+
exists: "exists";
|
|
33541
|
+
greater_than: "greater_than";
|
|
33542
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
33543
|
+
in: "in";
|
|
33544
|
+
less_than: "less_than";
|
|
33545
|
+
less_than_or_equal: "less_than_or_equal";
|
|
33546
|
+
not_contains: "not_contains";
|
|
33547
|
+
not_equals: "not_equals";
|
|
33548
|
+
not_exists: "not_exists";
|
|
33549
|
+
not_in: "not_in";
|
|
33550
|
+
}>;
|
|
33551
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
33552
|
+
}, z.core.$strip>>;
|
|
33553
|
+
}, z.core.$strip>]>>;
|
|
33554
|
+
}, z.core.$strip>]>>;
|
|
33555
|
+
}, z.core.$strip>>;
|
|
33556
|
+
}, z.core.$strip>>]>, z.ZodBoolean, z.ZodNull]>>;
|
|
33557
|
+
requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
33558
|
+
durable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
33559
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
33560
|
+
cleanupTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
33561
|
+
}, z.core.$strip>]>>;
|
|
33562
|
+
}, z.core.$strip>;
|
|
33563
|
+
/**
|
|
33564
|
+
* Response for POST /stored/agents
|
|
33565
|
+
*/
|
|
33566
|
+
export declare const createStoredAgentResponseSchema: z.ZodObject<{
|
|
33567
|
+
id: z.ZodString;
|
|
33568
|
+
status: z.ZodString;
|
|
33569
|
+
activeVersionId: z.ZodOptional<z.ZodString>;
|
|
33570
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
33571
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
33572
|
+
id: z.ZodString;
|
|
33573
|
+
name: z.ZodOptional<z.ZodString>;
|
|
33574
|
+
email: z.ZodOptional<z.ZodString>;
|
|
33575
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
33576
|
+
}, z.core.$strip>>;
|
|
33577
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
33578
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
33579
|
+
private: "private";
|
|
33580
|
+
public: "public";
|
|
33581
|
+
}>>;
|
|
33582
|
+
favoriteCount: z.ZodOptional<z.ZodNumber>;
|
|
33583
|
+
isFavorited: z.ZodOptional<z.ZodBoolean>;
|
|
33584
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
33585
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
33586
|
+
name: z.ZodString;
|
|
33587
|
+
description: z.ZodOptional<z.ZodString>;
|
|
33588
|
+
instructions: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33589
|
+
type: z.ZodLiteral<"text">;
|
|
33590
|
+
content: z.ZodString;
|
|
33591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33592
|
+
type: z.ZodLiteral<"prompt_block_ref">;
|
|
33593
|
+
id: z.ZodString;
|
|
32856
33594
|
rules: z.ZodOptional<z.ZodObject<{
|
|
32857
33595
|
operator: z.ZodEnum<{
|
|
32858
33596
|
AND: "AND";
|
|
@@ -32923,44 +33661,6 @@ export declare const getStoredAgentResponseSchema: z.ZodObject<{
|
|
|
32923
33661
|
}, z.core.$strip>]>>;
|
|
32924
33662
|
}, z.core.$strip>]>>;
|
|
32925
33663
|
}, z.core.$strip>>;
|
|
32926
|
-
}, z.core.$strip>>]>, z.ZodBoolean, z.ZodNull]>>;
|
|
32927
|
-
requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32928
|
-
durable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
32929
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
32930
|
-
cleanupTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
32931
|
-
}, z.core.$strip>]>>;
|
|
32932
|
-
}, z.core.$strip>;
|
|
32933
|
-
/**
|
|
32934
|
-
* Response for POST /stored/agents
|
|
32935
|
-
*/
|
|
32936
|
-
export declare const createStoredAgentResponseSchema: z.ZodObject<{
|
|
32937
|
-
id: z.ZodString;
|
|
32938
|
-
status: z.ZodString;
|
|
32939
|
-
activeVersionId: z.ZodOptional<z.ZodString>;
|
|
32940
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
32941
|
-
author: z.ZodOptional<z.ZodObject<{
|
|
32942
|
-
id: z.ZodString;
|
|
32943
|
-
name: z.ZodOptional<z.ZodString>;
|
|
32944
|
-
email: z.ZodOptional<z.ZodString>;
|
|
32945
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
32946
|
-
}, z.core.$strip>>;
|
|
32947
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32948
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
32949
|
-
private: "private";
|
|
32950
|
-
public: "public";
|
|
32951
|
-
}>>;
|
|
32952
|
-
favoriteCount: z.ZodOptional<z.ZodNumber>;
|
|
32953
|
-
isFavorited: z.ZodOptional<z.ZodBoolean>;
|
|
32954
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
32955
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
32956
|
-
name: z.ZodString;
|
|
32957
|
-
description: z.ZodOptional<z.ZodString>;
|
|
32958
|
-
instructions: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32959
|
-
type: z.ZodLiteral<"text">;
|
|
32960
|
-
content: z.ZodString;
|
|
32961
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32962
|
-
type: z.ZodLiteral<"prompt_block_ref">;
|
|
32963
|
-
id: z.ZodString;
|
|
32964
33664
|
}, z.core.$strip>, z.ZodObject<{
|
|
32965
33665
|
type: z.ZodLiteral<"prompt_block">;
|
|
32966
33666
|
content: z.ZodString;
|
|
@@ -36957,6 +37657,76 @@ export declare const updateStoredAgentResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
36957
37657
|
}, z.core.$strip>, z.ZodObject<{
|
|
36958
37658
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
36959
37659
|
id: z.ZodString;
|
|
37660
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
37661
|
+
operator: z.ZodEnum<{
|
|
37662
|
+
AND: "AND";
|
|
37663
|
+
OR: "OR";
|
|
37664
|
+
}>;
|
|
37665
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
37666
|
+
field: z.ZodString;
|
|
37667
|
+
operator: z.ZodEnum<{
|
|
37668
|
+
contains: "contains";
|
|
37669
|
+
equals: "equals";
|
|
37670
|
+
exists: "exists";
|
|
37671
|
+
greater_than: "greater_than";
|
|
37672
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
37673
|
+
in: "in";
|
|
37674
|
+
less_than: "less_than";
|
|
37675
|
+
less_than_or_equal: "less_than_or_equal";
|
|
37676
|
+
not_contains: "not_contains";
|
|
37677
|
+
not_equals: "not_equals";
|
|
37678
|
+
not_exists: "not_exists";
|
|
37679
|
+
not_in: "not_in";
|
|
37680
|
+
}>;
|
|
37681
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
37682
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37683
|
+
operator: z.ZodEnum<{
|
|
37684
|
+
AND: "AND";
|
|
37685
|
+
OR: "OR";
|
|
37686
|
+
}>;
|
|
37687
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
37688
|
+
field: z.ZodString;
|
|
37689
|
+
operator: z.ZodEnum<{
|
|
37690
|
+
contains: "contains";
|
|
37691
|
+
equals: "equals";
|
|
37692
|
+
exists: "exists";
|
|
37693
|
+
greater_than: "greater_than";
|
|
37694
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
37695
|
+
in: "in";
|
|
37696
|
+
less_than: "less_than";
|
|
37697
|
+
less_than_or_equal: "less_than_or_equal";
|
|
37698
|
+
not_contains: "not_contains";
|
|
37699
|
+
not_equals: "not_equals";
|
|
37700
|
+
not_exists: "not_exists";
|
|
37701
|
+
not_in: "not_in";
|
|
37702
|
+
}>;
|
|
37703
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
37704
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37705
|
+
operator: z.ZodEnum<{
|
|
37706
|
+
AND: "AND";
|
|
37707
|
+
OR: "OR";
|
|
37708
|
+
}>;
|
|
37709
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
37710
|
+
field: z.ZodString;
|
|
37711
|
+
operator: z.ZodEnum<{
|
|
37712
|
+
contains: "contains";
|
|
37713
|
+
equals: "equals";
|
|
37714
|
+
exists: "exists";
|
|
37715
|
+
greater_than: "greater_than";
|
|
37716
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
37717
|
+
in: "in";
|
|
37718
|
+
less_than: "less_than";
|
|
37719
|
+
less_than_or_equal: "less_than_or_equal";
|
|
37720
|
+
not_contains: "not_contains";
|
|
37721
|
+
not_equals: "not_equals";
|
|
37722
|
+
not_exists: "not_exists";
|
|
37723
|
+
not_in: "not_in";
|
|
37724
|
+
}>;
|
|
37725
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
37726
|
+
}, z.core.$strip>>;
|
|
37727
|
+
}, z.core.$strip>]>>;
|
|
37728
|
+
}, z.core.$strip>]>>;
|
|
37729
|
+
}, z.core.$strip>>;
|
|
36960
37730
|
}, z.core.$strip>, z.ZodObject<{
|
|
36961
37731
|
type: z.ZodLiteral<"prompt_block">;
|
|
36962
37732
|
content: z.ZodString;
|
|
@@ -40949,6 +41719,76 @@ export declare const previewInstructionsBodySchema: z.ZodObject<{
|
|
|
40949
41719
|
}, z.core.$strip>, z.ZodObject<{
|
|
40950
41720
|
type: z.ZodLiteral<"prompt_block_ref">;
|
|
40951
41721
|
id: z.ZodString;
|
|
41722
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
41723
|
+
operator: z.ZodEnum<{
|
|
41724
|
+
AND: "AND";
|
|
41725
|
+
OR: "OR";
|
|
41726
|
+
}>;
|
|
41727
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
41728
|
+
field: z.ZodString;
|
|
41729
|
+
operator: z.ZodEnum<{
|
|
41730
|
+
contains: "contains";
|
|
41731
|
+
equals: "equals";
|
|
41732
|
+
exists: "exists";
|
|
41733
|
+
greater_than: "greater_than";
|
|
41734
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
41735
|
+
in: "in";
|
|
41736
|
+
less_than: "less_than";
|
|
41737
|
+
less_than_or_equal: "less_than_or_equal";
|
|
41738
|
+
not_contains: "not_contains";
|
|
41739
|
+
not_equals: "not_equals";
|
|
41740
|
+
not_exists: "not_exists";
|
|
41741
|
+
not_in: "not_in";
|
|
41742
|
+
}>;
|
|
41743
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
41744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41745
|
+
operator: z.ZodEnum<{
|
|
41746
|
+
AND: "AND";
|
|
41747
|
+
OR: "OR";
|
|
41748
|
+
}>;
|
|
41749
|
+
conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
41750
|
+
field: z.ZodString;
|
|
41751
|
+
operator: z.ZodEnum<{
|
|
41752
|
+
contains: "contains";
|
|
41753
|
+
equals: "equals";
|
|
41754
|
+
exists: "exists";
|
|
41755
|
+
greater_than: "greater_than";
|
|
41756
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
41757
|
+
in: "in";
|
|
41758
|
+
less_than: "less_than";
|
|
41759
|
+
less_than_or_equal: "less_than_or_equal";
|
|
41760
|
+
not_contains: "not_contains";
|
|
41761
|
+
not_equals: "not_equals";
|
|
41762
|
+
not_exists: "not_exists";
|
|
41763
|
+
not_in: "not_in";
|
|
41764
|
+
}>;
|
|
41765
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
41766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41767
|
+
operator: z.ZodEnum<{
|
|
41768
|
+
AND: "AND";
|
|
41769
|
+
OR: "OR";
|
|
41770
|
+
}>;
|
|
41771
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
41772
|
+
field: z.ZodString;
|
|
41773
|
+
operator: z.ZodEnum<{
|
|
41774
|
+
contains: "contains";
|
|
41775
|
+
equals: "equals";
|
|
41776
|
+
exists: "exists";
|
|
41777
|
+
greater_than: "greater_than";
|
|
41778
|
+
greater_than_or_equal: "greater_than_or_equal";
|
|
41779
|
+
in: "in";
|
|
41780
|
+
less_than: "less_than";
|
|
41781
|
+
less_than_or_equal: "less_than_or_equal";
|
|
41782
|
+
not_contains: "not_contains";
|
|
41783
|
+
not_equals: "not_equals";
|
|
41784
|
+
not_exists: "not_exists";
|
|
41785
|
+
not_in: "not_in";
|
|
41786
|
+
}>;
|
|
41787
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
41788
|
+
}, z.core.$strip>>;
|
|
41789
|
+
}, z.core.$strip>]>>;
|
|
41790
|
+
}, z.core.$strip>]>>;
|
|
41791
|
+
}, z.core.$strip>>;
|
|
40952
41792
|
}, z.core.$strip>, z.ZodObject<{
|
|
40953
41793
|
type: z.ZodLiteral<"prompt_block">;
|
|
40954
41794
|
content: z.ZodString;
|