@agent-vm/agent-portal-sdk 0.0.141 → 0.0.143
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/contract-fixtures/portable-contracts/approval/decision-request-approved.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/approval/decision-result-recorded.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/approval/presentation-outcome-approved.fixture.json +16 -0
- package/contract-fixtures/portable-contracts/approval/presentation-request.fixture.json +32 -0
- package/contract-fixtures/portable-contracts/discovery/describe-result.fixture.json +7 -3
- package/contract-fixtures/portable-contracts/discovery/list-result.fixture.json +15 -3
- package/contract-fixtures/portable-contracts/discovery/search-result.fixture.json +7 -3
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-hermes-valid.fixture.json +7 -4
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-long-namespace-name.fixture.json +13 -6
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-code-point-order.fixture.json +7 -4
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-code-point-reverse.fixture.json +6 -3
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-duplicate.fixture.json +6 -3
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-unsorted.fixture.json +6 -3
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-old-authority-rejected.fixture.json +5 -2
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-openclaw-valid.fixture.json +7 -4
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-self-root-rejected.fixture.json +5 -2
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-work-root-rejected.fixture.json +5 -2
- package/dist/adapter-boundary/index.d.ts +1 -1
- package/dist/approval-surface/index.d.ts +2 -2
- package/dist/approval-surface/index.js +2 -2
- package/dist/approval-surface-Cqk_hAtN.js +132 -0
- package/dist/approval-surface-Cqk_hAtN.js.map +1 -0
- package/dist/artifact-surface/index.d.ts +1 -1
- package/dist/artifact-surface/index.js +1 -1
- package/dist/{artifact-surface-BIDasG5x.js → artifact-surface-CHEu4tDd.js} +2 -2
- package/dist/{artifact-surface-BIDasG5x.js.map → artifact-surface-CHEu4tDd.js.map} +1 -1
- package/dist/capability-description-surface/index.d.ts +1 -1
- package/dist/capability-description-surface/index.js +2 -2
- package/dist/capability-description-surface-CplIb93y.js +2 -0
- package/dist/{capability-descriptor-schema-DmzUtpji.js → capability-descriptor-schema-v9tj7yKr.js} +2 -2
- package/dist/{capability-descriptor-schema-DmzUtpji.js.map → capability-descriptor-schema-v9tj7yKr.js.map} +1 -1
- package/dist/cli/tool-portal.js +6 -6
- package/dist/contracts/index.d.ts +1 -1
- package/dist/contracts/index.js +1 -1
- package/dist/{contracts-3pjrcMjD.js → contracts-mBPxCxoG.js} +15 -14
- package/dist/{contracts-3pjrcMjD.js.map → contracts-mBPxCxoG.js.map} +1 -1
- package/dist/gateway-runtime-client/index.d.ts +11 -4
- package/dist/gateway-runtime-client/index.d.ts.map +1 -1
- package/dist/gateway-runtime-client/index.js +22 -5
- package/dist/gateway-runtime-client/index.js.map +1 -1
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js +1 -1
- package/dist/gateway-runtime-local-exec/index.js +1 -1
- package/dist/{gateway-runtime-local-exec-transport-DjxMXdT9.js → gateway-runtime-local-exec-transport-CO2bQ3wz.js} +1 -1
- package/dist/{gateway-runtime-local-exec-transport-DjxMXdT9.js.map → gateway-runtime-local-exec-transport-CO2bQ3wz.js.map} +1 -1
- package/dist/{index-D8uVfMBv.d.ts → index-BIvLq827.d.ts} +2 -2
- package/dist/{index-D8uVfMBv.d.ts.map → index-BIvLq827.d.ts.map} +1 -1
- package/dist/{index-BgKPbuap.d.ts → index-Badq9e6i.d.ts} +1 -1
- package/dist/{index-BgKPbuap.d.ts.map → index-Badq9e6i.d.ts.map} +1 -1
- package/dist/{index-DqMFYBbN.d.ts → index-C-QFWaH5.d.ts} +39 -6
- package/dist/index-C-QFWaH5.d.ts.map +1 -0
- package/dist/{index-B_xYdo3v.d.ts → index-DDLN0DE_.d.ts} +2 -2
- package/dist/{index-B_xYdo3v.d.ts.map → index-DDLN0DE_.d.ts.map} +1 -1
- package/dist/{index-B_FqoejO.d.ts → index-DTTEu7ZT.d.ts} +1 -1
- package/dist/{index-B_FqoejO.d.ts.map → index-DTTEu7ZT.d.ts.map} +1 -1
- package/dist/{index-BQ12JshX.d.ts → index-DZJH4Rau.d.ts} +1 -1
- package/dist/{index-BQ12JshX.d.ts.map → index-DZJH4Rau.d.ts.map} +1 -1
- package/dist/index-D_69tlLY.d.ts +29 -0
- package/dist/index-D_69tlLY.d.ts.map +1 -0
- package/dist/{index-yuB9HEo-.d.ts → index-S5RZg56U.d.ts} +4 -4
- package/dist/{index-yuB9HEo-.d.ts.map → index-S5RZg56U.d.ts.map} +1 -1
- package/dist/index-ex2lEawY.d.ts +124 -0
- package/dist/index-ex2lEawY.d.ts.map +1 -0
- package/dist/{index-C5NhyO2R.d.ts → index-tmZkznV6.d.ts} +5 -2
- package/dist/{index-C5NhyO2R.d.ts.map → index-tmZkznV6.d.ts.map} +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +16 -15
- package/dist/{json-value-schema-BGfMDOGA.js → json-value-schema-Br5M7d7X.js} +2 -2
- package/dist/{json-value-schema-BGfMDOGA.js.map → json-value-schema-Br5M7d7X.js.map} +1 -1
- package/dist/{json-value-schema-C-87ATB3.d.ts → json-value-schema-CwDmttWU.d.ts} +1 -1
- package/dist/{json-value-schema-C-87ATB3.d.ts.map → json-value-schema-CwDmttWU.d.ts.map} +1 -1
- package/dist/namespace-discovery-schema-DwbJHVLu.js +21 -0
- package/dist/namespace-discovery-schema-DwbJHVLu.js.map +1 -0
- package/dist/{node-tool-portal-mcp-transport-CnB8MCW2.js → node-tool-portal-mcp-transport-xFo0i37Q.js} +1 -1
- package/dist/{node-tool-portal-mcp-transport-CnB8MCW2.js.map → node-tool-portal-mcp-transport-xFo0i37Q.js.map} +1 -1
- package/dist/portable-contracts/index.d.ts +1 -1
- package/dist/portable-contracts/index.js +2 -2
- package/dist/{portable-contracts-C5rtqe-H.js → portable-contracts-CKeFnjAA.js} +28 -11
- package/dist/portable-contracts-CKeFnjAA.js.map +1 -0
- package/dist/{portable-refinement-authoring-CvlKRs_Z.js → portable-refinement-authoring-C1Q92x2G.js} +29 -6
- package/dist/portable-refinement-authoring-C1Q92x2G.js.map +1 -0
- package/dist/{portal-call-request-schema-DYxcWijW.js → portal-call-request-schema-Cl0kTLaX.js} +4 -4
- package/dist/{portal-call-request-schema-DYxcWijW.js.map → portal-call-request-schema-Cl0kTLaX.js.map} +1 -1
- package/dist/{portal-call-result-schema-CVWMGu2y.js → portal-call-result-schema-B25_rzZZ.js} +20 -10
- package/dist/portal-call-result-schema-B25_rzZZ.js.map +1 -0
- package/dist/{portal-call-result-schema-DalyNrfW.d.ts → portal-call-result-schema-DIg2ERl4.d.ts} +1025 -59
- package/dist/portal-call-result-schema-DIg2ERl4.d.ts.map +1 -0
- package/dist/portal-call-surface/index.d.ts +3 -3
- package/dist/portal-call-surface/index.js +5 -5
- package/dist/{portal-call-surface-B_oQxm5X.js → portal-call-surface-qykVz_8k.js} +6 -6
- package/dist/{portal-call-surface-B_oQxm5X.js.map → portal-call-surface-qykVz_8k.js.map} +1 -1
- package/dist/{portal-error-schema-BCALC7xt.js → portal-error-schema-TSNrpQSy.js} +1 -1
- package/dist/{portal-error-schema-BCALC7xt.js.map → portal-error-schema-TSNrpQSy.js.map} +1 -1
- package/dist/portal-event-surface/index.d.ts +1 -1
- package/dist/portal-event-surface/index.js +2 -2
- package/dist/{portal-event-surface-DSWv7Kgi.js → portal-event-surface-Bp3rXsBz.js} +3 -3
- package/dist/{portal-event-surface-DSWv7Kgi.js.map → portal-event-surface-Bp3rXsBz.js.map} +1 -1
- package/dist/{request-id-schema-DGLLX-tp.js → request-id-schema-Hq_6lSFV.js} +2 -2
- package/dist/{request-id-schema-DGLLX-tp.js.map → request-id-schema-Hq_6lSFV.js.map} +1 -1
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.js +2 -2
- package/dist/tool-portal-mcp-client/index.d.ts +1 -1
- package/dist/tool-portal-mcp-client/index.js +1 -1
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +1 -1
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.js +1 -1
- package/dist/{tool-portal-mcp-client-nMGxqQ-A.js → tool-portal-mcp-client-DZoloMod.js} +5 -5
- package/dist/{tool-portal-mcp-client-nMGxqQ-A.js.map → tool-portal-mcp-client-DZoloMod.js.map} +1 -1
- package/package.json +1 -1
- package/portable-contract-schema-manifest.json +275 -9
- package/dist/approval-surface-z5JUqa0K.js +0 -20
- package/dist/approval-surface-z5JUqa0K.js.map +0 -1
- package/dist/capability-description-surface-CyPgad9d.js +0 -2
- package/dist/index-BqWw914Z.d.ts +0 -64
- package/dist/index-BqWw914Z.d.ts.map +0 -1
- package/dist/index-DqMFYBbN.d.ts.map +0 -1
- package/dist/index-dKXgrOwm.d.ts +0 -17
- package/dist/index-dKXgrOwm.d.ts.map +0 -1
- package/dist/portable-contracts-C5rtqe-H.js.map +0 -1
- package/dist/portable-refinement-authoring-CvlKRs_Z.js.map +0 -1
- package/dist/portal-call-result-schema-CVWMGu2y.js.map +0 -1
- package/dist/portal-call-result-schema-DalyNrfW.d.ts.map +0 -1
package/dist/{portal-call-result-schema-DalyNrfW.d.ts → portal-call-result-schema-DIg2ERl4.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as JsonValue, r as JsonObject } from "./json-value-schema-
|
|
1
|
+
import { l as JsonValue, r as JsonObject } from "./json-value-schema-CwDmttWU.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/portal-call-surface/models/portal-call-request-schema.d.ts
|
|
@@ -248,6 +248,96 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
248
248
|
owningGeneration: z.ZodString;
|
|
249
249
|
status: z.ZodLiteral<"approval_required">;
|
|
250
250
|
}, z.core.$strict>], "status">;
|
|
251
|
+
declare const PortalBackendListItemValueSchema: z.ZodObject<{
|
|
252
|
+
namespaces: z.ZodArray<z.ZodString>;
|
|
253
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
254
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
255
|
+
description: z.ZodOptional<z.ZodString>;
|
|
256
|
+
input: z.ZodObject<{
|
|
257
|
+
optional: z.ZodArray<z.ZodString>;
|
|
258
|
+
propertyCount: z.ZodNumber;
|
|
259
|
+
required: z.ZodArray<z.ZodString>;
|
|
260
|
+
type: z.ZodString;
|
|
261
|
+
}, z.core.$strict>;
|
|
262
|
+
namespace: z.ZodString;
|
|
263
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
optional: z.ZodArray<z.ZodString>;
|
|
265
|
+
propertyCount: z.ZodNumber;
|
|
266
|
+
required: z.ZodArray<z.ZodString>;
|
|
267
|
+
type: z.ZodString;
|
|
268
|
+
}, z.core.$strict>>;
|
|
269
|
+
safety: z.ZodObject<{
|
|
270
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
}, z.core.$strict>;
|
|
273
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
message: z.ZodString;
|
|
275
|
+
next: z.ZodEnum<{
|
|
276
|
+
call_ready: "call_ready";
|
|
277
|
+
describe_before_call: "describe_before_call";
|
|
278
|
+
}>;
|
|
279
|
+
}, z.core.$strict>>;
|
|
280
|
+
title: z.ZodOptional<z.ZodString>;
|
|
281
|
+
name: z.ZodString;
|
|
282
|
+
toolRef: z.ZodString;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
}, z.core.$strict>;
|
|
285
|
+
declare const PortalBackendSearchItemValueSchema: z.ZodObject<{
|
|
286
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
287
|
+
description: z.ZodOptional<z.ZodString>;
|
|
288
|
+
input: z.ZodObject<{
|
|
289
|
+
optional: z.ZodArray<z.ZodString>;
|
|
290
|
+
propertyCount: z.ZodNumber;
|
|
291
|
+
required: z.ZodArray<z.ZodString>;
|
|
292
|
+
type: z.ZodString;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
namespace: z.ZodString;
|
|
295
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
296
|
+
optional: z.ZodArray<z.ZodString>;
|
|
297
|
+
propertyCount: z.ZodNumber;
|
|
298
|
+
required: z.ZodArray<z.ZodString>;
|
|
299
|
+
type: z.ZodString;
|
|
300
|
+
}, z.core.$strict>>;
|
|
301
|
+
safety: z.ZodObject<{
|
|
302
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
304
|
+
}, z.core.$strict>;
|
|
305
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
306
|
+
message: z.ZodString;
|
|
307
|
+
next: z.ZodEnum<{
|
|
308
|
+
call_ready: "call_ready";
|
|
309
|
+
describe_before_call: "describe_before_call";
|
|
310
|
+
}>;
|
|
311
|
+
}, z.core.$strict>>;
|
|
312
|
+
title: z.ZodOptional<z.ZodString>;
|
|
313
|
+
name: z.ZodString;
|
|
314
|
+
toolRef: z.ZodString;
|
|
315
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
316
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
317
|
+
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
318
|
+
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
319
|
+
}, z.core.$strict>>;
|
|
320
|
+
}, z.core.$strict>;
|
|
321
|
+
declare const PortalBackendDescribeItemValueSchema: z.ZodObject<{
|
|
322
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
323
|
+
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
324
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
325
|
+
namespace: z.ZodString;
|
|
326
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
327
|
+
related: z.ZodDefault<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
328
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
message: z.ZodString;
|
|
330
|
+
next: z.ZodEnum<{
|
|
331
|
+
call_ready: "call_ready";
|
|
332
|
+
describe_before_call: "describe_before_call";
|
|
333
|
+
}>;
|
|
334
|
+
}, z.core.$strict>>;
|
|
335
|
+
name: z.ZodString;
|
|
336
|
+
toolRef: z.ZodString;
|
|
337
|
+
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
338
|
+
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
339
|
+
}, z.core.$strict>>;
|
|
340
|
+
}, z.core.$strict>;
|
|
251
341
|
declare const PortalListItemValueSchema: z.ZodObject<{
|
|
252
342
|
namespaces: z.ZodArray<z.ZodString>;
|
|
253
343
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
@@ -276,68 +366,920 @@ declare const PortalListItemValueSchema: z.ZodObject<{
|
|
|
276
366
|
call_ready: "call_ready";
|
|
277
367
|
describe_before_call: "describe_before_call";
|
|
278
368
|
}>;
|
|
279
|
-
}, z.core.$strict>>;
|
|
280
|
-
title: z.ZodOptional<z.ZodString>;
|
|
281
|
-
name: z.ZodString;
|
|
282
|
-
toolRef: z.ZodString;
|
|
283
|
-
}, z.core.$strict>>;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
369
|
+
}, z.core.$strict>>;
|
|
370
|
+
title: z.ZodOptional<z.ZodString>;
|
|
371
|
+
name: z.ZodString;
|
|
372
|
+
toolRef: z.ZodString;
|
|
373
|
+
}, z.core.$strict>>;
|
|
374
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
375
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
376
|
+
namespace: z.ZodString;
|
|
377
|
+
}, z.core.$strict>>;
|
|
378
|
+
}, z.core.$strict>;
|
|
379
|
+
declare const PortalSearchItemValueSchema: z.ZodObject<{
|
|
380
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
381
|
+
description: z.ZodOptional<z.ZodString>;
|
|
382
|
+
input: z.ZodObject<{
|
|
383
|
+
optional: z.ZodArray<z.ZodString>;
|
|
384
|
+
propertyCount: z.ZodNumber;
|
|
385
|
+
required: z.ZodArray<z.ZodString>;
|
|
386
|
+
type: z.ZodString;
|
|
387
|
+
}, z.core.$strict>;
|
|
388
|
+
namespace: z.ZodString;
|
|
389
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
optional: z.ZodArray<z.ZodString>;
|
|
391
|
+
propertyCount: z.ZodNumber;
|
|
392
|
+
required: z.ZodArray<z.ZodString>;
|
|
393
|
+
type: z.ZodString;
|
|
394
|
+
}, z.core.$strict>>;
|
|
395
|
+
safety: z.ZodObject<{
|
|
396
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
397
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
}, z.core.$strict>;
|
|
399
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
message: z.ZodString;
|
|
401
|
+
next: z.ZodEnum<{
|
|
402
|
+
call_ready: "call_ready";
|
|
403
|
+
describe_before_call: "describe_before_call";
|
|
404
|
+
}>;
|
|
405
|
+
}, z.core.$strict>>;
|
|
406
|
+
title: z.ZodOptional<z.ZodString>;
|
|
407
|
+
name: z.ZodString;
|
|
408
|
+
toolRef: z.ZodString;
|
|
409
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
410
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
411
|
+
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
412
|
+
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
413
|
+
}, z.core.$strict>>;
|
|
414
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
415
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
416
|
+
namespace: z.ZodString;
|
|
417
|
+
}, z.core.$strict>>;
|
|
418
|
+
}, z.core.$strict>;
|
|
419
|
+
declare const PortalDescribeItemValueSchema: z.ZodObject<{
|
|
420
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
421
|
+
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
422
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
423
|
+
namespace: z.ZodString;
|
|
424
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
425
|
+
related: z.ZodDefault<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
426
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
message: z.ZodString;
|
|
428
|
+
next: z.ZodEnum<{
|
|
429
|
+
call_ready: "call_ready";
|
|
430
|
+
describe_before_call: "describe_before_call";
|
|
431
|
+
}>;
|
|
432
|
+
}, z.core.$strict>>;
|
|
433
|
+
name: z.ZodString;
|
|
434
|
+
toolRef: z.ZodString;
|
|
435
|
+
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
436
|
+
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
439
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
440
|
+
namespace: z.ZodString;
|
|
441
|
+
}, z.core.$strict>>;
|
|
442
|
+
}, z.core.$strict>;
|
|
443
|
+
declare const PortalBackendListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
444
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
445
|
+
byteLength: z.ZodNumber;
|
|
446
|
+
expiresAt: z.ZodString;
|
|
447
|
+
fingerprint: z.ZodString;
|
|
448
|
+
id: z.ZodString;
|
|
449
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, z.core.$strict>>>;
|
|
451
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
|
+
code: z.ZodEnum<{
|
|
453
|
+
approval_required: "approval_required";
|
|
454
|
+
capability_denied: "capability_denied";
|
|
455
|
+
validation_failed: "validation_failed";
|
|
456
|
+
provider_unavailable: "provider_unavailable";
|
|
457
|
+
execution_failed: "execution_failed";
|
|
458
|
+
cancelled: "cancelled";
|
|
459
|
+
timeout: "timeout";
|
|
460
|
+
output_truncated: "output_truncated";
|
|
461
|
+
artifact_unavailable: "artifact_unavailable";
|
|
462
|
+
}>;
|
|
463
|
+
level: z.ZodEnum<{
|
|
464
|
+
error: "error";
|
|
465
|
+
debug: "debug";
|
|
466
|
+
info: "info";
|
|
467
|
+
warn: "warn";
|
|
468
|
+
}>;
|
|
469
|
+
safeMessage: z.ZodString;
|
|
470
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
471
|
+
}, z.core.$strict>>>;
|
|
472
|
+
id: z.ZodString;
|
|
473
|
+
status: z.ZodLiteral<"ok">;
|
|
474
|
+
truncation: z.ZodOptional<z.ZodObject<{
|
|
475
|
+
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
truncated: z.ZodBoolean;
|
|
477
|
+
}, z.core.$strict>>;
|
|
478
|
+
value: z.ZodObject<{
|
|
479
|
+
namespaces: z.ZodArray<z.ZodString>;
|
|
480
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
481
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
482
|
+
description: z.ZodOptional<z.ZodString>;
|
|
483
|
+
input: z.ZodObject<{
|
|
484
|
+
optional: z.ZodArray<z.ZodString>;
|
|
485
|
+
propertyCount: z.ZodNumber;
|
|
486
|
+
required: z.ZodArray<z.ZodString>;
|
|
487
|
+
type: z.ZodString;
|
|
488
|
+
}, z.core.$strict>;
|
|
489
|
+
namespace: z.ZodString;
|
|
490
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
491
|
+
optional: z.ZodArray<z.ZodString>;
|
|
492
|
+
propertyCount: z.ZodNumber;
|
|
493
|
+
required: z.ZodArray<z.ZodString>;
|
|
494
|
+
type: z.ZodString;
|
|
495
|
+
}, z.core.$strict>>;
|
|
496
|
+
safety: z.ZodObject<{
|
|
497
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
499
|
+
}, z.core.$strict>;
|
|
500
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
501
|
+
message: z.ZodString;
|
|
502
|
+
next: z.ZodEnum<{
|
|
503
|
+
call_ready: "call_ready";
|
|
504
|
+
describe_before_call: "describe_before_call";
|
|
505
|
+
}>;
|
|
506
|
+
}, z.core.$strict>>;
|
|
507
|
+
title: z.ZodOptional<z.ZodString>;
|
|
508
|
+
name: z.ZodString;
|
|
509
|
+
toolRef: z.ZodString;
|
|
510
|
+
}, z.core.$strict>>;
|
|
511
|
+
}, z.core.$strict>;
|
|
512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
513
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
514
|
+
code: z.ZodEnum<{
|
|
515
|
+
approval_required: "approval_required";
|
|
516
|
+
capability_denied: "capability_denied";
|
|
517
|
+
validation_failed: "validation_failed";
|
|
518
|
+
provider_unavailable: "provider_unavailable";
|
|
519
|
+
execution_failed: "execution_failed";
|
|
520
|
+
cancelled: "cancelled";
|
|
521
|
+
timeout: "timeout";
|
|
522
|
+
output_truncated: "output_truncated";
|
|
523
|
+
artifact_unavailable: "artifact_unavailable";
|
|
524
|
+
}>;
|
|
525
|
+
level: z.ZodEnum<{
|
|
526
|
+
error: "error";
|
|
527
|
+
debug: "debug";
|
|
528
|
+
info: "info";
|
|
529
|
+
warn: "warn";
|
|
530
|
+
}>;
|
|
531
|
+
safeMessage: z.ZodString;
|
|
532
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
533
|
+
}, z.core.$strict>>>;
|
|
534
|
+
error: z.ZodObject<{
|
|
535
|
+
code: z.ZodEnum<{
|
|
536
|
+
invalid_request: "invalid_request";
|
|
537
|
+
not_found: "not_found";
|
|
538
|
+
not_authorized: "not_authorized";
|
|
539
|
+
approval_required: "approval_required";
|
|
540
|
+
capability_denied: "capability_denied";
|
|
541
|
+
validation_failed: "validation_failed";
|
|
542
|
+
provider_unavailable: "provider_unavailable";
|
|
543
|
+
execution_failed: "execution_failed";
|
|
544
|
+
cancelled: "cancelled";
|
|
545
|
+
timeout: "timeout";
|
|
546
|
+
}>;
|
|
547
|
+
message: z.ZodString;
|
|
548
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
549
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
550
|
+
code: z.ZodEnum<{
|
|
551
|
+
approval_required: "approval_required";
|
|
552
|
+
capability_denied: "capability_denied";
|
|
553
|
+
validation_failed: "validation_failed";
|
|
554
|
+
provider_unavailable: "provider_unavailable";
|
|
555
|
+
execution_failed: "execution_failed";
|
|
556
|
+
cancelled: "cancelled";
|
|
557
|
+
timeout: "timeout";
|
|
558
|
+
output_truncated: "output_truncated";
|
|
559
|
+
artifact_unavailable: "artifact_unavailable";
|
|
560
|
+
}>;
|
|
561
|
+
level: z.ZodEnum<{
|
|
562
|
+
error: "error";
|
|
563
|
+
debug: "debug";
|
|
564
|
+
info: "info";
|
|
565
|
+
warn: "warn";
|
|
566
|
+
}>;
|
|
567
|
+
safeMessage: z.ZodString;
|
|
568
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
569
|
+
}, z.core.$strict>>;
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
id: z.ZodString;
|
|
572
|
+
status: z.ZodLiteral<"error">;
|
|
573
|
+
}, z.core.$strict>], "status">;
|
|
574
|
+
declare const PortalBackendSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
575
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
576
|
+
byteLength: z.ZodNumber;
|
|
577
|
+
expiresAt: z.ZodString;
|
|
578
|
+
fingerprint: z.ZodString;
|
|
579
|
+
id: z.ZodString;
|
|
580
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
581
|
+
}, z.core.$strict>>>;
|
|
582
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
583
|
+
code: z.ZodEnum<{
|
|
584
|
+
approval_required: "approval_required";
|
|
585
|
+
capability_denied: "capability_denied";
|
|
586
|
+
validation_failed: "validation_failed";
|
|
587
|
+
provider_unavailable: "provider_unavailable";
|
|
588
|
+
execution_failed: "execution_failed";
|
|
589
|
+
cancelled: "cancelled";
|
|
590
|
+
timeout: "timeout";
|
|
591
|
+
output_truncated: "output_truncated";
|
|
592
|
+
artifact_unavailable: "artifact_unavailable";
|
|
593
|
+
}>;
|
|
594
|
+
level: z.ZodEnum<{
|
|
595
|
+
error: "error";
|
|
596
|
+
debug: "debug";
|
|
597
|
+
info: "info";
|
|
598
|
+
warn: "warn";
|
|
599
|
+
}>;
|
|
600
|
+
safeMessage: z.ZodString;
|
|
601
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
602
|
+
}, z.core.$strict>>>;
|
|
603
|
+
id: z.ZodString;
|
|
604
|
+
status: z.ZodLiteral<"ok">;
|
|
605
|
+
truncation: z.ZodOptional<z.ZodObject<{
|
|
606
|
+
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
607
|
+
truncated: z.ZodBoolean;
|
|
608
|
+
}, z.core.$strict>>;
|
|
609
|
+
value: z.ZodObject<{
|
|
610
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
611
|
+
description: z.ZodOptional<z.ZodString>;
|
|
612
|
+
input: z.ZodObject<{
|
|
613
|
+
optional: z.ZodArray<z.ZodString>;
|
|
614
|
+
propertyCount: z.ZodNumber;
|
|
615
|
+
required: z.ZodArray<z.ZodString>;
|
|
616
|
+
type: z.ZodString;
|
|
617
|
+
}, z.core.$strict>;
|
|
618
|
+
namespace: z.ZodString;
|
|
619
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
620
|
+
optional: z.ZodArray<z.ZodString>;
|
|
621
|
+
propertyCount: z.ZodNumber;
|
|
622
|
+
required: z.ZodArray<z.ZodString>;
|
|
623
|
+
type: z.ZodString;
|
|
624
|
+
}, z.core.$strict>>;
|
|
625
|
+
safety: z.ZodObject<{
|
|
626
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
628
|
+
}, z.core.$strict>;
|
|
629
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
message: z.ZodString;
|
|
631
|
+
next: z.ZodEnum<{
|
|
632
|
+
call_ready: "call_ready";
|
|
633
|
+
describe_before_call: "describe_before_call";
|
|
634
|
+
}>;
|
|
635
|
+
}, z.core.$strict>>;
|
|
636
|
+
title: z.ZodOptional<z.ZodString>;
|
|
637
|
+
name: z.ZodString;
|
|
638
|
+
toolRef: z.ZodString;
|
|
639
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
640
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
641
|
+
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
642
|
+
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
643
|
+
}, z.core.$strict>>;
|
|
644
|
+
}, z.core.$strict>;
|
|
645
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
646
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
code: z.ZodEnum<{
|
|
648
|
+
approval_required: "approval_required";
|
|
649
|
+
capability_denied: "capability_denied";
|
|
650
|
+
validation_failed: "validation_failed";
|
|
651
|
+
provider_unavailable: "provider_unavailable";
|
|
652
|
+
execution_failed: "execution_failed";
|
|
653
|
+
cancelled: "cancelled";
|
|
654
|
+
timeout: "timeout";
|
|
655
|
+
output_truncated: "output_truncated";
|
|
656
|
+
artifact_unavailable: "artifact_unavailable";
|
|
657
|
+
}>;
|
|
658
|
+
level: z.ZodEnum<{
|
|
659
|
+
error: "error";
|
|
660
|
+
debug: "debug";
|
|
661
|
+
info: "info";
|
|
662
|
+
warn: "warn";
|
|
663
|
+
}>;
|
|
664
|
+
safeMessage: z.ZodString;
|
|
665
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
666
|
+
}, z.core.$strict>>>;
|
|
667
|
+
error: z.ZodObject<{
|
|
668
|
+
code: z.ZodEnum<{
|
|
669
|
+
invalid_request: "invalid_request";
|
|
670
|
+
not_found: "not_found";
|
|
671
|
+
not_authorized: "not_authorized";
|
|
672
|
+
approval_required: "approval_required";
|
|
673
|
+
capability_denied: "capability_denied";
|
|
674
|
+
validation_failed: "validation_failed";
|
|
675
|
+
provider_unavailable: "provider_unavailable";
|
|
676
|
+
execution_failed: "execution_failed";
|
|
677
|
+
cancelled: "cancelled";
|
|
678
|
+
timeout: "timeout";
|
|
679
|
+
}>;
|
|
680
|
+
message: z.ZodString;
|
|
681
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
682
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
code: z.ZodEnum<{
|
|
684
|
+
approval_required: "approval_required";
|
|
685
|
+
capability_denied: "capability_denied";
|
|
686
|
+
validation_failed: "validation_failed";
|
|
687
|
+
provider_unavailable: "provider_unavailable";
|
|
688
|
+
execution_failed: "execution_failed";
|
|
689
|
+
cancelled: "cancelled";
|
|
690
|
+
timeout: "timeout";
|
|
691
|
+
output_truncated: "output_truncated";
|
|
692
|
+
artifact_unavailable: "artifact_unavailable";
|
|
693
|
+
}>;
|
|
694
|
+
level: z.ZodEnum<{
|
|
695
|
+
error: "error";
|
|
696
|
+
debug: "debug";
|
|
697
|
+
info: "info";
|
|
698
|
+
warn: "warn";
|
|
699
|
+
}>;
|
|
700
|
+
safeMessage: z.ZodString;
|
|
701
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
702
|
+
}, z.core.$strict>>;
|
|
703
|
+
}, z.core.$strict>;
|
|
704
|
+
id: z.ZodString;
|
|
705
|
+
status: z.ZodLiteral<"error">;
|
|
706
|
+
}, z.core.$strict>], "status">;
|
|
707
|
+
declare const PortalBackendDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
709
|
+
byteLength: z.ZodNumber;
|
|
710
|
+
expiresAt: z.ZodString;
|
|
711
|
+
fingerprint: z.ZodString;
|
|
712
|
+
id: z.ZodString;
|
|
713
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strict>>>;
|
|
715
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
|
+
code: z.ZodEnum<{
|
|
717
|
+
approval_required: "approval_required";
|
|
718
|
+
capability_denied: "capability_denied";
|
|
719
|
+
validation_failed: "validation_failed";
|
|
720
|
+
provider_unavailable: "provider_unavailable";
|
|
721
|
+
execution_failed: "execution_failed";
|
|
722
|
+
cancelled: "cancelled";
|
|
723
|
+
timeout: "timeout";
|
|
724
|
+
output_truncated: "output_truncated";
|
|
725
|
+
artifact_unavailable: "artifact_unavailable";
|
|
726
|
+
}>;
|
|
727
|
+
level: z.ZodEnum<{
|
|
728
|
+
error: "error";
|
|
729
|
+
debug: "debug";
|
|
730
|
+
info: "info";
|
|
731
|
+
warn: "warn";
|
|
732
|
+
}>;
|
|
733
|
+
safeMessage: z.ZodString;
|
|
734
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
735
|
+
}, z.core.$strict>>>;
|
|
736
|
+
id: z.ZodString;
|
|
737
|
+
status: z.ZodLiteral<"ok">;
|
|
738
|
+
truncation: z.ZodOptional<z.ZodObject<{
|
|
739
|
+
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
740
|
+
truncated: z.ZodBoolean;
|
|
741
|
+
}, z.core.$strict>>;
|
|
742
|
+
value: z.ZodObject<{
|
|
743
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
744
|
+
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
745
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
746
|
+
namespace: z.ZodString;
|
|
747
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
748
|
+
related: z.ZodDefault<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
749
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
750
|
+
message: z.ZodString;
|
|
751
|
+
next: z.ZodEnum<{
|
|
752
|
+
call_ready: "call_ready";
|
|
753
|
+
describe_before_call: "describe_before_call";
|
|
754
|
+
}>;
|
|
755
|
+
}, z.core.$strict>>;
|
|
756
|
+
name: z.ZodString;
|
|
757
|
+
toolRef: z.ZodString;
|
|
758
|
+
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
759
|
+
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
760
|
+
}, z.core.$strict>>;
|
|
761
|
+
}, z.core.$strict>;
|
|
762
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
763
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
764
|
+
code: z.ZodEnum<{
|
|
765
|
+
approval_required: "approval_required";
|
|
766
|
+
capability_denied: "capability_denied";
|
|
767
|
+
validation_failed: "validation_failed";
|
|
768
|
+
provider_unavailable: "provider_unavailable";
|
|
769
|
+
execution_failed: "execution_failed";
|
|
770
|
+
cancelled: "cancelled";
|
|
771
|
+
timeout: "timeout";
|
|
772
|
+
output_truncated: "output_truncated";
|
|
773
|
+
artifact_unavailable: "artifact_unavailable";
|
|
774
|
+
}>;
|
|
775
|
+
level: z.ZodEnum<{
|
|
776
|
+
error: "error";
|
|
777
|
+
debug: "debug";
|
|
778
|
+
info: "info";
|
|
779
|
+
warn: "warn";
|
|
780
|
+
}>;
|
|
781
|
+
safeMessage: z.ZodString;
|
|
782
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
783
|
+
}, z.core.$strict>>>;
|
|
784
|
+
error: z.ZodObject<{
|
|
785
|
+
code: z.ZodEnum<{
|
|
786
|
+
invalid_request: "invalid_request";
|
|
787
|
+
not_found: "not_found";
|
|
788
|
+
not_authorized: "not_authorized";
|
|
789
|
+
approval_required: "approval_required";
|
|
790
|
+
capability_denied: "capability_denied";
|
|
791
|
+
validation_failed: "validation_failed";
|
|
792
|
+
provider_unavailable: "provider_unavailable";
|
|
793
|
+
execution_failed: "execution_failed";
|
|
794
|
+
cancelled: "cancelled";
|
|
795
|
+
timeout: "timeout";
|
|
796
|
+
}>;
|
|
797
|
+
message: z.ZodString;
|
|
798
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
799
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
code: z.ZodEnum<{
|
|
801
|
+
approval_required: "approval_required";
|
|
802
|
+
capability_denied: "capability_denied";
|
|
803
|
+
validation_failed: "validation_failed";
|
|
804
|
+
provider_unavailable: "provider_unavailable";
|
|
805
|
+
execution_failed: "execution_failed";
|
|
806
|
+
cancelled: "cancelled";
|
|
807
|
+
timeout: "timeout";
|
|
808
|
+
output_truncated: "output_truncated";
|
|
809
|
+
artifact_unavailable: "artifact_unavailable";
|
|
810
|
+
}>;
|
|
811
|
+
level: z.ZodEnum<{
|
|
812
|
+
error: "error";
|
|
813
|
+
debug: "debug";
|
|
814
|
+
info: "info";
|
|
815
|
+
warn: "warn";
|
|
816
|
+
}>;
|
|
817
|
+
safeMessage: z.ZodString;
|
|
818
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
819
|
+
}, z.core.$strict>>;
|
|
820
|
+
}, z.core.$strict>;
|
|
821
|
+
id: z.ZodString;
|
|
822
|
+
status: z.ZodLiteral<"error">;
|
|
823
|
+
}, z.core.$strict>], "status">;
|
|
824
|
+
declare const PortalBackendListResultSchema: z.ZodObject<{
|
|
825
|
+
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
826
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
|
+
code: z.ZodEnum<{
|
|
828
|
+
approval_required: "approval_required";
|
|
829
|
+
capability_denied: "capability_denied";
|
|
830
|
+
validation_failed: "validation_failed";
|
|
831
|
+
provider_unavailable: "provider_unavailable";
|
|
832
|
+
execution_failed: "execution_failed";
|
|
833
|
+
cancelled: "cancelled";
|
|
834
|
+
timeout: "timeout";
|
|
835
|
+
output_truncated: "output_truncated";
|
|
836
|
+
artifact_unavailable: "artifact_unavailable";
|
|
837
|
+
}>;
|
|
838
|
+
level: z.ZodEnum<{
|
|
839
|
+
error: "error";
|
|
840
|
+
debug: "debug";
|
|
841
|
+
info: "info";
|
|
842
|
+
warn: "warn";
|
|
843
|
+
}>;
|
|
844
|
+
safeMessage: z.ZodString;
|
|
845
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
846
|
+
}, z.core.$strict>>>;
|
|
847
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
848
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
|
+
byteLength: z.ZodNumber;
|
|
850
|
+
expiresAt: z.ZodString;
|
|
851
|
+
fingerprint: z.ZodString;
|
|
852
|
+
id: z.ZodString;
|
|
853
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
854
|
+
}, z.core.$strict>>>;
|
|
855
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
856
|
+
code: z.ZodEnum<{
|
|
857
|
+
approval_required: "approval_required";
|
|
858
|
+
capability_denied: "capability_denied";
|
|
859
|
+
validation_failed: "validation_failed";
|
|
860
|
+
provider_unavailable: "provider_unavailable";
|
|
861
|
+
execution_failed: "execution_failed";
|
|
862
|
+
cancelled: "cancelled";
|
|
863
|
+
timeout: "timeout";
|
|
864
|
+
output_truncated: "output_truncated";
|
|
865
|
+
artifact_unavailable: "artifact_unavailable";
|
|
866
|
+
}>;
|
|
867
|
+
level: z.ZodEnum<{
|
|
868
|
+
error: "error";
|
|
869
|
+
debug: "debug";
|
|
870
|
+
info: "info";
|
|
871
|
+
warn: "warn";
|
|
872
|
+
}>;
|
|
873
|
+
safeMessage: z.ZodString;
|
|
874
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
875
|
+
}, z.core.$strict>>>;
|
|
876
|
+
id: z.ZodString;
|
|
877
|
+
status: z.ZodLiteral<"ok">;
|
|
878
|
+
truncation: z.ZodOptional<z.ZodObject<{
|
|
879
|
+
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
880
|
+
truncated: z.ZodBoolean;
|
|
881
|
+
}, z.core.$strict>>;
|
|
882
|
+
value: z.ZodObject<{
|
|
883
|
+
namespaces: z.ZodArray<z.ZodString>;
|
|
884
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
885
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
886
|
+
description: z.ZodOptional<z.ZodString>;
|
|
887
|
+
input: z.ZodObject<{
|
|
888
|
+
optional: z.ZodArray<z.ZodString>;
|
|
889
|
+
propertyCount: z.ZodNumber;
|
|
890
|
+
required: z.ZodArray<z.ZodString>;
|
|
891
|
+
type: z.ZodString;
|
|
892
|
+
}, z.core.$strict>;
|
|
893
|
+
namespace: z.ZodString;
|
|
894
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
895
|
+
optional: z.ZodArray<z.ZodString>;
|
|
896
|
+
propertyCount: z.ZodNumber;
|
|
897
|
+
required: z.ZodArray<z.ZodString>;
|
|
898
|
+
type: z.ZodString;
|
|
899
|
+
}, z.core.$strict>>;
|
|
900
|
+
safety: z.ZodObject<{
|
|
901
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
+
}, z.core.$strict>;
|
|
904
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
905
|
+
message: z.ZodString;
|
|
906
|
+
next: z.ZodEnum<{
|
|
907
|
+
call_ready: "call_ready";
|
|
908
|
+
describe_before_call: "describe_before_call";
|
|
909
|
+
}>;
|
|
910
|
+
}, z.core.$strict>>;
|
|
911
|
+
title: z.ZodOptional<z.ZodString>;
|
|
912
|
+
name: z.ZodString;
|
|
913
|
+
toolRef: z.ZodString;
|
|
914
|
+
}, z.core.$strict>>;
|
|
915
|
+
}, z.core.$strict>;
|
|
916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
917
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
918
|
+
code: z.ZodEnum<{
|
|
919
|
+
approval_required: "approval_required";
|
|
920
|
+
capability_denied: "capability_denied";
|
|
921
|
+
validation_failed: "validation_failed";
|
|
922
|
+
provider_unavailable: "provider_unavailable";
|
|
923
|
+
execution_failed: "execution_failed";
|
|
924
|
+
cancelled: "cancelled";
|
|
925
|
+
timeout: "timeout";
|
|
926
|
+
output_truncated: "output_truncated";
|
|
927
|
+
artifact_unavailable: "artifact_unavailable";
|
|
928
|
+
}>;
|
|
929
|
+
level: z.ZodEnum<{
|
|
930
|
+
error: "error";
|
|
931
|
+
debug: "debug";
|
|
932
|
+
info: "info";
|
|
933
|
+
warn: "warn";
|
|
934
|
+
}>;
|
|
935
|
+
safeMessage: z.ZodString;
|
|
936
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
937
|
+
}, z.core.$strict>>>;
|
|
938
|
+
error: z.ZodObject<{
|
|
939
|
+
code: z.ZodEnum<{
|
|
940
|
+
invalid_request: "invalid_request";
|
|
941
|
+
not_found: "not_found";
|
|
942
|
+
not_authorized: "not_authorized";
|
|
943
|
+
approval_required: "approval_required";
|
|
944
|
+
capability_denied: "capability_denied";
|
|
945
|
+
validation_failed: "validation_failed";
|
|
946
|
+
provider_unavailable: "provider_unavailable";
|
|
947
|
+
execution_failed: "execution_failed";
|
|
948
|
+
cancelled: "cancelled";
|
|
949
|
+
timeout: "timeout";
|
|
950
|
+
}>;
|
|
951
|
+
message: z.ZodString;
|
|
952
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
953
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
954
|
+
code: z.ZodEnum<{
|
|
955
|
+
approval_required: "approval_required";
|
|
956
|
+
capability_denied: "capability_denied";
|
|
957
|
+
validation_failed: "validation_failed";
|
|
958
|
+
provider_unavailable: "provider_unavailable";
|
|
959
|
+
execution_failed: "execution_failed";
|
|
960
|
+
cancelled: "cancelled";
|
|
961
|
+
timeout: "timeout";
|
|
962
|
+
output_truncated: "output_truncated";
|
|
963
|
+
artifact_unavailable: "artifact_unavailable";
|
|
964
|
+
}>;
|
|
965
|
+
level: z.ZodEnum<{
|
|
966
|
+
error: "error";
|
|
967
|
+
debug: "debug";
|
|
968
|
+
info: "info";
|
|
969
|
+
warn: "warn";
|
|
970
|
+
}>;
|
|
971
|
+
safeMessage: z.ZodString;
|
|
972
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
973
|
+
}, z.core.$strict>>;
|
|
974
|
+
}, z.core.$strict>;
|
|
975
|
+
id: z.ZodString;
|
|
976
|
+
status: z.ZodLiteral<"error">;
|
|
977
|
+
}, z.core.$strict>], "status">>;
|
|
978
|
+
ok: z.ZodBoolean;
|
|
979
|
+
}, z.core.$strict>;
|
|
980
|
+
type PortalBackendListResult = z.infer<typeof PortalBackendListResultSchema>;
|
|
981
|
+
declare const PortalBackendSearchResultSchema: z.ZodObject<{
|
|
982
|
+
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
983
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
984
|
+
code: z.ZodEnum<{
|
|
985
|
+
approval_required: "approval_required";
|
|
986
|
+
capability_denied: "capability_denied";
|
|
987
|
+
validation_failed: "validation_failed";
|
|
988
|
+
provider_unavailable: "provider_unavailable";
|
|
989
|
+
execution_failed: "execution_failed";
|
|
990
|
+
cancelled: "cancelled";
|
|
991
|
+
timeout: "timeout";
|
|
992
|
+
output_truncated: "output_truncated";
|
|
993
|
+
artifact_unavailable: "artifact_unavailable";
|
|
994
|
+
}>;
|
|
995
|
+
level: z.ZodEnum<{
|
|
996
|
+
error: "error";
|
|
997
|
+
debug: "debug";
|
|
998
|
+
info: "info";
|
|
999
|
+
warn: "warn";
|
|
1000
|
+
}>;
|
|
1001
|
+
safeMessage: z.ZodString;
|
|
1002
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1003
|
+
}, z.core.$strict>>>;
|
|
1004
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1005
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1006
|
+
byteLength: z.ZodNumber;
|
|
1007
|
+
expiresAt: z.ZodString;
|
|
1008
|
+
fingerprint: z.ZodString;
|
|
1009
|
+
id: z.ZodString;
|
|
1010
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
}, z.core.$strict>>>;
|
|
1012
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1013
|
+
code: z.ZodEnum<{
|
|
1014
|
+
approval_required: "approval_required";
|
|
1015
|
+
capability_denied: "capability_denied";
|
|
1016
|
+
validation_failed: "validation_failed";
|
|
1017
|
+
provider_unavailable: "provider_unavailable";
|
|
1018
|
+
execution_failed: "execution_failed";
|
|
1019
|
+
cancelled: "cancelled";
|
|
1020
|
+
timeout: "timeout";
|
|
1021
|
+
output_truncated: "output_truncated";
|
|
1022
|
+
artifact_unavailable: "artifact_unavailable";
|
|
1023
|
+
}>;
|
|
1024
|
+
level: z.ZodEnum<{
|
|
1025
|
+
error: "error";
|
|
1026
|
+
debug: "debug";
|
|
1027
|
+
info: "info";
|
|
1028
|
+
warn: "warn";
|
|
1029
|
+
}>;
|
|
1030
|
+
safeMessage: z.ZodString;
|
|
1031
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1032
|
+
}, z.core.$strict>>>;
|
|
1033
|
+
id: z.ZodString;
|
|
1034
|
+
status: z.ZodLiteral<"ok">;
|
|
1035
|
+
truncation: z.ZodOptional<z.ZodObject<{
|
|
1036
|
+
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
+
truncated: z.ZodBoolean;
|
|
1038
|
+
}, z.core.$strict>>;
|
|
1039
|
+
value: z.ZodObject<{
|
|
1040
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
1041
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
input: z.ZodObject<{
|
|
1043
|
+
optional: z.ZodArray<z.ZodString>;
|
|
1044
|
+
propertyCount: z.ZodNumber;
|
|
1045
|
+
required: z.ZodArray<z.ZodString>;
|
|
1046
|
+
type: z.ZodString;
|
|
1047
|
+
}, z.core.$strict>;
|
|
1048
|
+
namespace: z.ZodString;
|
|
1049
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1050
|
+
optional: z.ZodArray<z.ZodString>;
|
|
1051
|
+
propertyCount: z.ZodNumber;
|
|
1052
|
+
required: z.ZodArray<z.ZodString>;
|
|
1053
|
+
type: z.ZodString;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
1055
|
+
safety: z.ZodObject<{
|
|
1056
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
1057
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
1058
|
+
}, z.core.$strict>;
|
|
1059
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
1060
|
+
message: z.ZodString;
|
|
1061
|
+
next: z.ZodEnum<{
|
|
1062
|
+
call_ready: "call_ready";
|
|
1063
|
+
describe_before_call: "describe_before_call";
|
|
1064
|
+
}>;
|
|
1065
|
+
}, z.core.$strict>>;
|
|
1066
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
name: z.ZodString;
|
|
1068
|
+
toolRef: z.ZodString;
|
|
1069
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1070
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1071
|
+
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1072
|
+
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1073
|
+
}, z.core.$strict>>;
|
|
1074
|
+
}, z.core.$strict>;
|
|
1075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1076
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
|
+
code: z.ZodEnum<{
|
|
1078
|
+
approval_required: "approval_required";
|
|
1079
|
+
capability_denied: "capability_denied";
|
|
1080
|
+
validation_failed: "validation_failed";
|
|
1081
|
+
provider_unavailable: "provider_unavailable";
|
|
1082
|
+
execution_failed: "execution_failed";
|
|
1083
|
+
cancelled: "cancelled";
|
|
1084
|
+
timeout: "timeout";
|
|
1085
|
+
output_truncated: "output_truncated";
|
|
1086
|
+
artifact_unavailable: "artifact_unavailable";
|
|
1087
|
+
}>;
|
|
1088
|
+
level: z.ZodEnum<{
|
|
1089
|
+
error: "error";
|
|
1090
|
+
debug: "debug";
|
|
1091
|
+
info: "info";
|
|
1092
|
+
warn: "warn";
|
|
1093
|
+
}>;
|
|
1094
|
+
safeMessage: z.ZodString;
|
|
1095
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1096
|
+
}, z.core.$strict>>>;
|
|
1097
|
+
error: z.ZodObject<{
|
|
1098
|
+
code: z.ZodEnum<{
|
|
1099
|
+
invalid_request: "invalid_request";
|
|
1100
|
+
not_found: "not_found";
|
|
1101
|
+
not_authorized: "not_authorized";
|
|
1102
|
+
approval_required: "approval_required";
|
|
1103
|
+
capability_denied: "capability_denied";
|
|
1104
|
+
validation_failed: "validation_failed";
|
|
1105
|
+
provider_unavailable: "provider_unavailable";
|
|
1106
|
+
execution_failed: "execution_failed";
|
|
1107
|
+
cancelled: "cancelled";
|
|
1108
|
+
timeout: "timeout";
|
|
1109
|
+
}>;
|
|
1110
|
+
message: z.ZodString;
|
|
1111
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1112
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1113
|
+
code: z.ZodEnum<{
|
|
1114
|
+
approval_required: "approval_required";
|
|
1115
|
+
capability_denied: "capability_denied";
|
|
1116
|
+
validation_failed: "validation_failed";
|
|
1117
|
+
provider_unavailable: "provider_unavailable";
|
|
1118
|
+
execution_failed: "execution_failed";
|
|
1119
|
+
cancelled: "cancelled";
|
|
1120
|
+
timeout: "timeout";
|
|
1121
|
+
output_truncated: "output_truncated";
|
|
1122
|
+
artifact_unavailable: "artifact_unavailable";
|
|
1123
|
+
}>;
|
|
1124
|
+
level: z.ZodEnum<{
|
|
1125
|
+
error: "error";
|
|
1126
|
+
debug: "debug";
|
|
1127
|
+
info: "info";
|
|
1128
|
+
warn: "warn";
|
|
1129
|
+
}>;
|
|
1130
|
+
safeMessage: z.ZodString;
|
|
1131
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1132
|
+
}, z.core.$strict>>;
|
|
293
1133
|
}, z.core.$strict>;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
1134
|
+
id: z.ZodString;
|
|
1135
|
+
status: z.ZodLiteral<"error">;
|
|
1136
|
+
}, z.core.$strict>], "status">>;
|
|
1137
|
+
ok: z.ZodBoolean;
|
|
1138
|
+
}, z.core.$strict>;
|
|
1139
|
+
type PortalBackendSearchResult = z.infer<typeof PortalBackendSearchResultSchema>;
|
|
1140
|
+
declare const PortalBackendDescribeResultSchema: z.ZodObject<{
|
|
1141
|
+
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1143
|
+
code: z.ZodEnum<{
|
|
1144
|
+
approval_required: "approval_required";
|
|
1145
|
+
capability_denied: "capability_denied";
|
|
1146
|
+
validation_failed: "validation_failed";
|
|
1147
|
+
provider_unavailable: "provider_unavailable";
|
|
1148
|
+
execution_failed: "execution_failed";
|
|
1149
|
+
cancelled: "cancelled";
|
|
1150
|
+
timeout: "timeout";
|
|
1151
|
+
output_truncated: "output_truncated";
|
|
1152
|
+
artifact_unavailable: "artifact_unavailable";
|
|
1153
|
+
}>;
|
|
1154
|
+
level: z.ZodEnum<{
|
|
1155
|
+
error: "error";
|
|
1156
|
+
debug: "debug";
|
|
1157
|
+
info: "info";
|
|
1158
|
+
warn: "warn";
|
|
1159
|
+
}>;
|
|
1160
|
+
safeMessage: z.ZodString;
|
|
1161
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1162
|
+
}, z.core.$strict>>>;
|
|
1163
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1164
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1165
|
+
byteLength: z.ZodNumber;
|
|
1166
|
+
expiresAt: z.ZodString;
|
|
1167
|
+
fingerprint: z.ZodString;
|
|
1168
|
+
id: z.ZodString;
|
|
1169
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
}, z.core.$strict>>>;
|
|
1171
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1172
|
+
code: z.ZodEnum<{
|
|
1173
|
+
approval_required: "approval_required";
|
|
1174
|
+
capability_denied: "capability_denied";
|
|
1175
|
+
validation_failed: "validation_failed";
|
|
1176
|
+
provider_unavailable: "provider_unavailable";
|
|
1177
|
+
execution_failed: "execution_failed";
|
|
1178
|
+
cancelled: "cancelled";
|
|
1179
|
+
timeout: "timeout";
|
|
1180
|
+
output_truncated: "output_truncated";
|
|
1181
|
+
artifact_unavailable: "artifact_unavailable";
|
|
1182
|
+
}>;
|
|
1183
|
+
level: z.ZodEnum<{
|
|
1184
|
+
error: "error";
|
|
1185
|
+
debug: "debug";
|
|
1186
|
+
info: "info";
|
|
1187
|
+
warn: "warn";
|
|
1188
|
+
}>;
|
|
1189
|
+
safeMessage: z.ZodString;
|
|
1190
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1191
|
+
}, z.core.$strict>>>;
|
|
1192
|
+
id: z.ZodString;
|
|
1193
|
+
status: z.ZodLiteral<"ok">;
|
|
1194
|
+
truncation: z.ZodOptional<z.ZodObject<{
|
|
1195
|
+
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
+
truncated: z.ZodBoolean;
|
|
300
1197
|
}, z.core.$strict>>;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
1198
|
+
value: z.ZodObject<{
|
|
1199
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
1200
|
+
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1201
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1202
|
+
namespace: z.ZodString;
|
|
1203
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1204
|
+
related: z.ZodDefault<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1205
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
1206
|
+
message: z.ZodString;
|
|
1207
|
+
next: z.ZodEnum<{
|
|
1208
|
+
call_ready: "call_ready";
|
|
1209
|
+
describe_before_call: "describe_before_call";
|
|
1210
|
+
}>;
|
|
1211
|
+
}, z.core.$strict>>;
|
|
1212
|
+
name: z.ZodString;
|
|
1213
|
+
toolRef: z.ZodString;
|
|
1214
|
+
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1216
|
+
}, z.core.$strict>>;
|
|
304
1217
|
}, z.core.$strict>;
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
1218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1219
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1220
|
+
code: z.ZodEnum<{
|
|
1221
|
+
approval_required: "approval_required";
|
|
1222
|
+
capability_denied: "capability_denied";
|
|
1223
|
+
validation_failed: "validation_failed";
|
|
1224
|
+
provider_unavailable: "provider_unavailable";
|
|
1225
|
+
execution_failed: "execution_failed";
|
|
1226
|
+
cancelled: "cancelled";
|
|
1227
|
+
timeout: "timeout";
|
|
1228
|
+
output_truncated: "output_truncated";
|
|
1229
|
+
artifact_unavailable: "artifact_unavailable";
|
|
310
1230
|
}>;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
317
|
-
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
318
|
-
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
319
|
-
}, z.core.$strict>>;
|
|
320
|
-
}, z.core.$strict>;
|
|
321
|
-
declare const PortalDescribeItemValueSchema: z.ZodObject<{
|
|
322
|
-
tools: z.ZodArray<z.ZodObject<{
|
|
323
|
-
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
324
|
-
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
325
|
-
namespace: z.ZodString;
|
|
326
|
-
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
327
|
-
related: z.ZodDefault<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
328
|
-
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
329
|
-
message: z.ZodString;
|
|
330
|
-
next: z.ZodEnum<{
|
|
331
|
-
call_ready: "call_ready";
|
|
332
|
-
describe_before_call: "describe_before_call";
|
|
1231
|
+
level: z.ZodEnum<{
|
|
1232
|
+
error: "error";
|
|
1233
|
+
debug: "debug";
|
|
1234
|
+
info: "info";
|
|
1235
|
+
warn: "warn";
|
|
333
1236
|
}>;
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
1237
|
+
safeMessage: z.ZodString;
|
|
1238
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1239
|
+
}, z.core.$strict>>>;
|
|
1240
|
+
error: z.ZodObject<{
|
|
1241
|
+
code: z.ZodEnum<{
|
|
1242
|
+
invalid_request: "invalid_request";
|
|
1243
|
+
not_found: "not_found";
|
|
1244
|
+
not_authorized: "not_authorized";
|
|
1245
|
+
approval_required: "approval_required";
|
|
1246
|
+
capability_denied: "capability_denied";
|
|
1247
|
+
validation_failed: "validation_failed";
|
|
1248
|
+
provider_unavailable: "provider_unavailable";
|
|
1249
|
+
execution_failed: "execution_failed";
|
|
1250
|
+
cancelled: "cancelled";
|
|
1251
|
+
timeout: "timeout";
|
|
1252
|
+
}>;
|
|
1253
|
+
message: z.ZodString;
|
|
1254
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1255
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1256
|
+
code: z.ZodEnum<{
|
|
1257
|
+
approval_required: "approval_required";
|
|
1258
|
+
capability_denied: "capability_denied";
|
|
1259
|
+
validation_failed: "validation_failed";
|
|
1260
|
+
provider_unavailable: "provider_unavailable";
|
|
1261
|
+
execution_failed: "execution_failed";
|
|
1262
|
+
cancelled: "cancelled";
|
|
1263
|
+
timeout: "timeout";
|
|
1264
|
+
output_truncated: "output_truncated";
|
|
1265
|
+
artifact_unavailable: "artifact_unavailable";
|
|
1266
|
+
}>;
|
|
1267
|
+
level: z.ZodEnum<{
|
|
1268
|
+
error: "error";
|
|
1269
|
+
debug: "debug";
|
|
1270
|
+
info: "info";
|
|
1271
|
+
warn: "warn";
|
|
1272
|
+
}>;
|
|
1273
|
+
safeMessage: z.ZodString;
|
|
1274
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1275
|
+
}, z.core.$strict>>;
|
|
1276
|
+
}, z.core.$strict>;
|
|
1277
|
+
id: z.ZodString;
|
|
1278
|
+
status: z.ZodLiteral<"error">;
|
|
1279
|
+
}, z.core.$strict>], "status">>;
|
|
1280
|
+
ok: z.ZodBoolean;
|
|
340
1281
|
}, z.core.$strict>;
|
|
1282
|
+
type PortalBackendDescribeResult = z.infer<typeof PortalBackendDescribeResultSchema>;
|
|
341
1283
|
declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
342
1284
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
343
1285
|
byteLength: z.ZodNumber;
|
|
@@ -406,6 +1348,10 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
406
1348
|
name: z.ZodString;
|
|
407
1349
|
toolRef: z.ZodString;
|
|
408
1350
|
}, z.core.$strict>>;
|
|
1351
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
1352
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
namespace: z.ZodString;
|
|
1354
|
+
}, z.core.$strict>>;
|
|
409
1355
|
}, z.core.$strict>;
|
|
410
1356
|
}, z.core.$strict>, z.ZodObject<{
|
|
411
1357
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -539,6 +1485,10 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
539
1485
|
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
540
1486
|
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
541
1487
|
}, z.core.$strict>>;
|
|
1488
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
1489
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
namespace: z.ZodString;
|
|
1491
|
+
}, z.core.$strict>>;
|
|
542
1492
|
}, z.core.$strict>;
|
|
543
1493
|
}, z.core.$strict>, z.ZodObject<{
|
|
544
1494
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -656,6 +1606,10 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
656
1606
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
657
1607
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
658
1608
|
}, z.core.$strict>>;
|
|
1609
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
1610
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
namespace: z.ZodString;
|
|
1612
|
+
}, z.core.$strict>>;
|
|
659
1613
|
}, z.core.$strict>;
|
|
660
1614
|
}, z.core.$strict>, z.ZodObject<{
|
|
661
1615
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1014,6 +1968,10 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
1014
1968
|
name: z.ZodString;
|
|
1015
1969
|
toolRef: z.ZodString;
|
|
1016
1970
|
}, z.core.$strict>>;
|
|
1971
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
1972
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
namespace: z.ZodString;
|
|
1974
|
+
}, z.core.$strict>>;
|
|
1017
1975
|
}, z.core.$strict>;
|
|
1018
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1019
1977
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1173,6 +2131,10 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
1173
2131
|
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1174
2132
|
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1175
2133
|
}, z.core.$strict>>;
|
|
2134
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
2135
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
namespace: z.ZodString;
|
|
2137
|
+
}, z.core.$strict>>;
|
|
1176
2138
|
}, z.core.$strict>;
|
|
1177
2139
|
}, z.core.$strict>, z.ZodObject<{
|
|
1178
2140
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1316,6 +2278,10 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1316
2278
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
1317
2279
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1318
2280
|
}, z.core.$strict>>;
|
|
2281
|
+
namespaceDiscovery: z.ZodArray<z.ZodObject<{
|
|
2282
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2283
|
+
namespace: z.ZodString;
|
|
2284
|
+
}, z.core.$strict>>;
|
|
1319
2285
|
}, z.core.$strict>;
|
|
1320
2286
|
}, z.core.$strict>, z.ZodObject<{
|
|
1321
2287
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1481,5 +2447,5 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1481
2447
|
status: z.ZodLiteral<"error">;
|
|
1482
2448
|
}, z.core.$strict>], "status">;
|
|
1483
2449
|
//#endregion
|
|
1484
|
-
export {
|
|
1485
|
-
//# sourceMappingURL=portal-call-result-schema-
|
|
2450
|
+
export { PortalSearchResultSchema as A, PortalListItemResultSchema as C, PortalSearchItemResultSchema as D, PortalListResultSchema as E, PortalCallRequestSchema as F, PortalBatchMaxItems as M, PortalCallItemRequestSchema as N, PortalSearchItemValueSchema as O, PortalCallRequest as P, PortalGenericItemResultSchema as S, PortalListResult as T, PortalCallResultSchema as _, PortalBackendDescribeResult as a, PortalDescribeResult as b, PortalBackendListItemValueSchema as c, PortalBackendSearchItemResultSchema as d, PortalBackendSearchItemValueSchema as f, PortalCallResult as g, PortalCallItemResultSchema as h, PortalBackendDescribeItemValueSchema as i, TruncationMetadataSchema as j, PortalSearchResult as k, PortalBackendListResult as l, PortalBackendSearchResultSchema as m, PortalApprovalRequiredCallItemResultSchema as n, PortalBackendDescribeResultSchema as o, PortalBackendSearchResult as p, PortalBackendDescribeItemResultSchema as r, PortalBackendListItemResultSchema as s, PortalApprovalChallengeSchema as t, PortalBackendListResultSchema as u, PortalDescribeItemResultSchema as v, PortalListItemValueSchema as w, PortalDescribeResultSchema as x, PortalDescribeItemValueSchema as y };
|
|
2451
|
+
//# sourceMappingURL=portal-call-result-schema-DIg2ERl4.d.ts.map
|