@agent-vm/agent-portal-sdk 0.0.114 → 0.0.116
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/artifacts/artifact-read-result-authority-field-rejected.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/artifacts/artifact-read-result-default-truncated.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/artifacts/artifact-reference-path-rejected.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/artifacts/artifact-reference-valid.fixture.json +24 -0
- package/contract-fixtures/portable-contracts/bounds/artifact-read-maximum-bytes.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/bounds/artifact-read-over-maximum-bytes.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/bounds/json-object-over-maximum-entries.fixture.json +1013 -0
- package/contract-fixtures/portable-contracts/bounds/list-request-maximum-limit.fixture.json +30 -0
- package/contract-fixtures/portable-contracts/bounds/list-request-over-maximum-limit.fixture.json +22 -0
- package/contract-fixtures/portable-contracts/bounds/progress-maximum-percent.fixture.json +22 -0
- package/contract-fixtures/portable-contracts/bounds/progress-minimum-percent.fixture.json +22 -0
- package/contract-fixtures/portable-contracts/bounds/progress-over-maximum-percent.fixture.json +16 -0
- package/contract-fixtures/portable-contracts/bounds/unsafe-integer.fixture.json +11 -0
- package/contract-fixtures/portable-contracts/canonical-json/nested-key-order-and-negative-zero.fixture.json +24 -0
- package/contract-fixtures/portable-contracts/coverage/gateway-trusted-invocation-context.fixture.json +53 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-close-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-close-result.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-open-request.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-open-result.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-status-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-status-result.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-cancel-request.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-cancel-result.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-start-request.fixture.json +51 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-start-result.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-wait-request.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-wait-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-list-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-list-result.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-mkdir-request.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-mkdir-result.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-read-request.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-read-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-remove-request.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-remove-result.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-rename-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-rename-result.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-stat-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-stat-result.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-write-request.fixture.json +43 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-write-result.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-operation-identity.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-cancel-request.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-cancel-result.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-logs-request.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-logs-result.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-start-request.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-start-result.fixture.json +39 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-status-request.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-status-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-wait-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-wait-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-retained-result-lookup-request.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-close-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-close-result.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-read-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-read-result.fixture.json +47 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-write-request.fixture.json +45 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-write-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-attach-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-attach-result.fixture.json +53 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-resize-request.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-resize-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/defaults/describe-request-defaults.fixture.json +44 -0
- package/contract-fixtures/portable-contracts/defaults/list-request-default-limit.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/defaults/search-request-defaults.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/discovery/describe-result.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/discovery/list-result.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/discovery/search-result.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/gateway/attachment-duplicate-agent.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/gateway/attachment-valid.fixture.json +32 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-hermes-valid.fixture.json +28 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-old-authority-rejected.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-openclaw-valid.fixture.json +28 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-self-root-rejected.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-work-root-rejected.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/operations/cancellation-pending.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/operations/retained-ambiguous.fixture.json +28 -0
- package/contract-fixtures/portable-contracts/outcomes/ambiguous.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/call-result-aggregate-status-invalid.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/outcomes/call-result-aggregate-status-valid.fixture.json +54 -0
- package/contract-fixtures/portable-contracts/outcomes/cancelled-proven.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/completed-failed.fixture.json +42 -0
- package/contract-fixtures/portable-contracts/outcomes/completed-succeeded.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-ambiguous-retry-class.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-error-completed-succeeded.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-error-result-with-value.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-not-dispatched-certainty.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-ok-completed-failed.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-ok-result-with-error.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-replaced-missing-prior-side-effects.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/outcomes/missing-operation-identity-outcome.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/outcomes/not-dispatched.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/replaced-proven.fixture.json +42 -0
- package/contract-fixtures/portable-contracts/outcomes/timed-out-proven.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/requests/call-request-canonical.fixture.json +42 -0
- package/contract-fixtures/portable-contracts/requests/call-request-duplicate-id.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/requests/call-request-reserved-id.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/requests/call-request-unknown-field.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/sandbox/exec-start-duplicate-environment-name.fixture.json +32 -0
- package/contract-fixtures/portable-contracts/sandbox/fs-stat-parent-path.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/sandbox/stream-write-byte-length.fixture.json +21 -0
- package/dist/adapter-boundary/index.d.ts +2 -41
- package/dist/adapter-boundary/index.js +1 -28
- package/dist/adapter-boundary-BIagsTUH.js +29 -0
- package/dist/adapter-boundary-BIagsTUH.js.map +1 -0
- package/dist/approval-surface/index.d.ts +2 -48
- package/dist/approval-surface/index.js +2 -22
- package/dist/approval-surface-en5VAY5h.js +20 -0
- package/dist/approval-surface-en5VAY5h.js.map +1 -0
- package/dist/{artifact-reference-schema-XiJ280uV.js → artifact-reference-schema-CiEjxYPd.js} +4 -3
- package/dist/artifact-reference-schema-CiEjxYPd.js.map +1 -0
- package/dist/artifact-surface/index.d.ts +2 -49
- package/dist/artifact-surface/index.js +3 -27
- package/dist/artifact-surface-BstQxq6b.js +65 -0
- package/dist/artifact-surface-BstQxq6b.js.map +1 -0
- package/dist/capability-description-surface/index.d.ts +2 -142
- package/dist/capability-description-surface/index.js +2 -1
- package/dist/capability-description-surface-BdzknTKT.js +2 -0
- package/dist/{capability-descriptor-schema-wgtHF0Ic.js → capability-descriptor-schema-zRnfGjBc.js} +2 -2
- package/dist/{capability-descriptor-schema-wgtHF0Ic.js.map → capability-descriptor-schema-zRnfGjBc.js.map} +1 -1
- package/dist/cli/tool-portal.d.ts +1 -0
- package/dist/cli/tool-portal.js +207 -0
- package/dist/cli/tool-portal.js.map +1 -0
- package/dist/contracts/index.d.ts +2 -0
- package/dist/contracts/index.js +2 -0
- package/dist/contracts-RgGW0RX2.js +611 -0
- package/dist/contracts-RgGW0RX2.js.map +1 -0
- package/dist/gateway-runtime-client/index.d.ts +385 -0
- package/dist/gateway-runtime-client/index.d.ts.map +1 -0
- package/dist/gateway-runtime-client/index.js +1439 -0
- package/dist/gateway-runtime-client/index.js.map +1 -0
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.d.ts +1 -0
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js +125 -0
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js.map +1 -0
- package/dist/gateway-runtime-local-exec/index.d.ts +54 -0
- package/dist/gateway-runtime-local-exec/index.d.ts.map +1 -0
- package/dist/gateway-runtime-local-exec/index.js +2 -0
- package/dist/gateway-runtime-local-exec-transport-B1hy2A3Q.js +427 -0
- package/dist/gateway-runtime-local-exec-transport-B1hy2A3Q.js.map +1 -0
- package/dist/index-B5hgm1KH.d.ts +84 -0
- package/dist/index-B5hgm1KH.d.ts.map +1 -0
- package/dist/index-BWE2_BcN.d.ts +64 -0
- package/dist/index-BWE2_BcN.d.ts.map +1 -0
- package/dist/index-BmH68K78.d.ts +41 -0
- package/dist/index-BmH68K78.d.ts.map +1 -0
- package/dist/index-ByAhyVbI.d.ts +142 -0
- package/dist/index-ByAhyVbI.d.ts.map +1 -0
- package/dist/index-C-NPMMvc.d.ts +2396 -0
- package/dist/index-C-NPMMvc.d.ts.map +1 -0
- package/dist/index-DKBSYuxW.d.ts +239 -0
- package/dist/index-DKBSYuxW.d.ts.map +1 -0
- package/dist/{index-DJiaGYF_.d.ts → index-Dj4galCJ.d.ts} +1 -1
- package/dist/{index-DJiaGYF_.d.ts.map → index-Dj4galCJ.d.ts.map} +1 -1
- package/dist/index-Dxoz-ORl.d.ts +229 -0
- package/dist/index-Dxoz-ORl.d.ts.map +1 -0
- package/dist/index-v8suC0qe.d.ts +69 -0
- package/dist/index-v8suC0qe.d.ts.map +1 -0
- package/dist/index-yeFGRMdv.d.ts +152 -0
- package/dist/index-yeFGRMdv.d.ts.map +1 -0
- package/dist/index.d.ts +12 -10
- package/dist/index.js +16 -12
- package/dist/{json-value-schema-Bj42URkc.d.ts → json-value-schema-M87sjwWL.d.ts} +1 -1
- package/dist/{json-value-schema-Bj42URkc.d.ts.map → json-value-schema-M87sjwWL.d.ts.map} +1 -1
- package/dist/{json-value-schema-D-3hfAyL.js → json-value-schema-hdPkabRZ.js} +12 -2
- package/dist/json-value-schema-hdPkabRZ.js.map +1 -0
- package/dist/node-tool-portal-mcp-transport-Cl2VKbLY.js +156 -0
- package/dist/node-tool-portal-mcp-transport-Cl2VKbLY.js.map +1 -0
- package/dist/portable-contracts/index.d.ts +2 -0
- package/dist/portable-contracts/index.js +3 -0
- package/dist/portable-contracts-Bca33zVa.js +326 -0
- package/dist/portable-contracts-Bca33zVa.js.map +1 -0
- package/dist/portable-refinement-authoring-ZSmR-amG.js +196 -0
- package/dist/portable-refinement-authoring-ZSmR-amG.js.map +1 -0
- package/dist/portal-call-request-schema-Cp6CMGs9.js +41 -0
- package/dist/portal-call-request-schema-Cp6CMGs9.js.map +1 -0
- package/dist/portal-call-result-schema-ByxHRCEN.js +158 -0
- package/dist/portal-call-result-schema-ByxHRCEN.js.map +1 -0
- package/dist/{portal-call-result-schema-BGEEv_aO.d.ts → portal-call-result-schema-wSCaz3mC.d.ts} +413 -199
- package/dist/portal-call-result-schema-wSCaz3mC.d.ts.map +1 -0
- package/dist/portal-call-surface/index.d.ts +3 -153
- package/dist/portal-call-surface/index.js +5 -69
- package/dist/portal-call-surface-DjZVquFt.js +83 -0
- package/dist/portal-call-surface-DjZVquFt.js.map +1 -0
- package/dist/{portal-error-schema-D58onG2t.js → portal-error-schema-CQHgoFq4.js} +12 -2
- package/dist/portal-error-schema-CQHgoFq4.js.map +1 -0
- package/dist/portal-event-surface/index.d.ts +2 -229
- package/dist/portal-event-surface/index.js +2 -50
- package/dist/portal-event-surface-CdScrgoN.js +51 -0
- package/dist/portal-event-surface-CdScrgoN.js.map +1 -0
- package/dist/testing/index.d.ts +2 -3
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +10 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/tool-portal-mcp-client/index.d.ts +2 -0
- package/dist/tool-portal-mcp-client/index.js +2 -0
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +17 -0
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts.map +1 -0
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.js +2 -0
- package/dist/tool-portal-mcp-client-DwJF-48Y.js +90 -0
- package/dist/tool-portal-mcp-client-DwJF-48Y.js.map +1 -0
- package/package.json +32 -2
- package/portable-contract-schema-manifest.json +7960 -0
- package/dist/adapter-boundary/index.d.ts.map +0 -1
- package/dist/adapter-boundary/index.js.map +0 -1
- package/dist/approval-surface/index.d.ts.map +0 -1
- package/dist/approval-surface/index.js.map +0 -1
- package/dist/artifact-reference-schema-XiJ280uV.js.map +0 -1
- package/dist/artifact-surface/index.d.ts.map +0 -1
- package/dist/artifact-surface/index.js.map +0 -1
- package/dist/capability-description-surface/index.d.ts.map +0 -1
- package/dist/json-value-schema-D-3hfAyL.js.map +0 -1
- package/dist/portal-call-result-schema-BGEEv_aO.d.ts.map +0 -1
- package/dist/portal-call-result-schema-BIqFTFK8.js +0 -102
- package/dist/portal-call-result-schema-BIqFTFK8.js.map +0 -1
- package/dist/portal-call-surface/index.d.ts.map +0 -1
- package/dist/portal-call-surface/index.js.map +0 -1
- package/dist/portal-error-schema-D58onG2t.js.map +0 -1
- package/dist/portal-event-surface/index.d.ts.map +0 -1
- package/dist/portal-event-surface/index.js.map +0 -1
package/dist/{portal-call-result-schema-BGEEv_aO.d.ts → portal-call-result-schema-wSCaz3mC.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-M87sjwWL.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/portal-call-surface/models/portal-call-request-schema.d.ts
|
|
@@ -25,23 +25,69 @@ declare const TruncationMetadataSchema: z.ZodObject<{
|
|
|
25
25
|
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
26
26
|
truncated: z.ZodBoolean;
|
|
27
27
|
}, z.core.$strict>;
|
|
28
|
+
declare const PortalApprovalChallengeSchema: z.ZodObject<{
|
|
29
|
+
challengeId: z.ZodString;
|
|
30
|
+
expiresAt: z.ZodString;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
declare const PortalApprovalRequiredCallItemResultSchema: z.ZodObject<{
|
|
33
|
+
approvalChallenge: z.ZodObject<{
|
|
34
|
+
challengeId: z.ZodString;
|
|
35
|
+
expiresAt: z.ZodString;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
error: z.ZodObject<{
|
|
38
|
+
message: z.ZodString;
|
|
39
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
code: z.ZodEnum<{
|
|
42
|
+
approval_required: "approval_required";
|
|
43
|
+
capability_denied: "capability_denied";
|
|
44
|
+
validation_failed: "validation_failed";
|
|
45
|
+
provider_unavailable: "provider_unavailable";
|
|
46
|
+
execution_failed: "execution_failed";
|
|
47
|
+
cancelled: "cancelled";
|
|
48
|
+
timeout: "timeout";
|
|
49
|
+
output_truncated: "output_truncated";
|
|
50
|
+
artifact_unavailable: "artifact_unavailable";
|
|
51
|
+
}>;
|
|
52
|
+
level: z.ZodEnum<{
|
|
53
|
+
error: "error";
|
|
54
|
+
debug: "debug";
|
|
55
|
+
info: "info";
|
|
56
|
+
warn: "warn";
|
|
57
|
+
}>;
|
|
58
|
+
safeMessage: z.ZodString;
|
|
59
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
code: z.ZodLiteral<"approval_required">;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
operationId: z.ZodString;
|
|
65
|
+
outcome: z.ZodObject<{
|
|
66
|
+
certainty: z.ZodLiteral<"proven">;
|
|
67
|
+
kind: z.ZodLiteral<"not-dispatched">;
|
|
68
|
+
retryClass: z.ZodLiteral<"safe-before-dispatch">;
|
|
69
|
+
}, z.core.$strict>;
|
|
70
|
+
owningGeneration: z.ZodString;
|
|
71
|
+
status: z.ZodLiteral<"approval_required">;
|
|
72
|
+
}, z.core.$strict>;
|
|
28
73
|
declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29
74
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
|
-
byteLength: z.
|
|
31
|
-
expiresAt: z.
|
|
75
|
+
byteLength: z.ZodNumber;
|
|
76
|
+
expiresAt: z.ZodString;
|
|
77
|
+
fingerprint: z.ZodString;
|
|
32
78
|
id: z.ZodString;
|
|
33
79
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
34
80
|
}, z.core.$strict>>>;
|
|
35
81
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
82
|
code: z.ZodEnum<{
|
|
37
|
-
provider_unavailable: "provider_unavailable";
|
|
38
|
-
capability_denied: "capability_denied";
|
|
39
83
|
approval_required: "approval_required";
|
|
84
|
+
capability_denied: "capability_denied";
|
|
40
85
|
validation_failed: "validation_failed";
|
|
86
|
+
provider_unavailable: "provider_unavailable";
|
|
41
87
|
execution_failed: "execution_failed";
|
|
42
|
-
output_truncated: "output_truncated";
|
|
43
|
-
timeout: "timeout";
|
|
44
88
|
cancelled: "cancelled";
|
|
89
|
+
timeout: "timeout";
|
|
90
|
+
output_truncated: "output_truncated";
|
|
45
91
|
artifact_unavailable: "artifact_unavailable";
|
|
46
92
|
}>;
|
|
47
93
|
level: z.ZodEnum<{
|
|
@@ -54,6 +100,14 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
54
100
|
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
55
101
|
}, z.core.$strict>>>;
|
|
56
102
|
id: z.ZodString;
|
|
103
|
+
operationId: z.ZodString;
|
|
104
|
+
outcome: z.ZodObject<{
|
|
105
|
+
certainty: z.ZodLiteral<"proven">;
|
|
106
|
+
completion: z.ZodLiteral<"succeeded">;
|
|
107
|
+
kind: z.ZodLiteral<"completed">;
|
|
108
|
+
retryClass: z.ZodLiteral<"forbidden">;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
owningGeneration: z.ZodString;
|
|
57
111
|
status: z.ZodLiteral<"ok">;
|
|
58
112
|
truncation: z.ZodOptional<z.ZodObject<{
|
|
59
113
|
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -63,14 +117,14 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
63
117
|
}, z.core.$strict>, z.ZodObject<{
|
|
64
118
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
119
|
code: z.ZodEnum<{
|
|
66
|
-
provider_unavailable: "provider_unavailable";
|
|
67
|
-
capability_denied: "capability_denied";
|
|
68
120
|
approval_required: "approval_required";
|
|
121
|
+
capability_denied: "capability_denied";
|
|
69
122
|
validation_failed: "validation_failed";
|
|
123
|
+
provider_unavailable: "provider_unavailable";
|
|
70
124
|
execution_failed: "execution_failed";
|
|
71
|
-
output_truncated: "output_truncated";
|
|
72
|
-
timeout: "timeout";
|
|
73
125
|
cancelled: "cancelled";
|
|
126
|
+
timeout: "timeout";
|
|
127
|
+
output_truncated: "output_truncated";
|
|
74
128
|
artifact_unavailable: "artifact_unavailable";
|
|
75
129
|
}>;
|
|
76
130
|
level: z.ZodEnum<{
|
|
@@ -84,29 +138,29 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
84
138
|
}, z.core.$strict>>>;
|
|
85
139
|
error: z.ZodObject<{
|
|
86
140
|
code: z.ZodEnum<{
|
|
87
|
-
|
|
88
|
-
|
|
141
|
+
invalid_request: "invalid_request";
|
|
142
|
+
not_found: "not_found";
|
|
143
|
+
not_authorized: "not_authorized";
|
|
89
144
|
approval_required: "approval_required";
|
|
145
|
+
capability_denied: "capability_denied";
|
|
90
146
|
validation_failed: "validation_failed";
|
|
147
|
+
provider_unavailable: "provider_unavailable";
|
|
91
148
|
execution_failed: "execution_failed";
|
|
92
|
-
timeout: "timeout";
|
|
93
149
|
cancelled: "cancelled";
|
|
94
|
-
|
|
95
|
-
not_found: "not_found";
|
|
96
|
-
not_authorized: "not_authorized";
|
|
150
|
+
timeout: "timeout";
|
|
97
151
|
}>;
|
|
98
152
|
message: z.ZodString;
|
|
99
153
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
100
154
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
101
155
|
code: z.ZodEnum<{
|
|
102
|
-
provider_unavailable: "provider_unavailable";
|
|
103
|
-
capability_denied: "capability_denied";
|
|
104
156
|
approval_required: "approval_required";
|
|
157
|
+
capability_denied: "capability_denied";
|
|
105
158
|
validation_failed: "validation_failed";
|
|
159
|
+
provider_unavailable: "provider_unavailable";
|
|
106
160
|
execution_failed: "execution_failed";
|
|
107
|
-
output_truncated: "output_truncated";
|
|
108
|
-
timeout: "timeout";
|
|
109
161
|
cancelled: "cancelled";
|
|
162
|
+
timeout: "timeout";
|
|
163
|
+
output_truncated: "output_truncated";
|
|
110
164
|
artifact_unavailable: "artifact_unavailable";
|
|
111
165
|
}>;
|
|
112
166
|
level: z.ZodEnum<{
|
|
@@ -120,7 +174,79 @@ declare const PortalCallItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
120
174
|
}, z.core.$strict>>;
|
|
121
175
|
}, z.core.$strict>;
|
|
122
176
|
id: z.ZodString;
|
|
177
|
+
operationId: z.ZodString;
|
|
178
|
+
outcome: z.ZodUnion<readonly [z.ZodObject<{
|
|
179
|
+
certainty: z.ZodLiteral<"proven">;
|
|
180
|
+
kind: z.ZodLiteral<"not-dispatched">;
|
|
181
|
+
retryClass: z.ZodLiteral<"safe-before-dispatch">;
|
|
182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
+
certainty: z.ZodLiteral<"proven">;
|
|
184
|
+
completion: z.ZodLiteral<"failed">;
|
|
185
|
+
kind: z.ZodLiteral<"completed">;
|
|
186
|
+
retryClass: z.ZodEnum<{
|
|
187
|
+
forbidden: "forbidden";
|
|
188
|
+
"policy-gated": "policy-gated";
|
|
189
|
+
}>;
|
|
190
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
191
|
+
certainty: z.ZodLiteral<"proven-terminated">;
|
|
192
|
+
kind: z.ZodLiteral<"cancelled-proven">;
|
|
193
|
+
retryClass: z.ZodLiteral<"manual-only">;
|
|
194
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
195
|
+
certainty: z.ZodLiteral<"proven-terminated">;
|
|
196
|
+
kind: z.ZodLiteral<"timed-out-proven">;
|
|
197
|
+
retryClass: z.ZodLiteral<"manual-only">;
|
|
198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
199
|
+
certainty: z.ZodLiteral<"proven-terminated">;
|
|
200
|
+
kind: z.ZodLiteral<"replaced-proven">;
|
|
201
|
+
priorSideEffects: z.ZodLiteral<"possible">;
|
|
202
|
+
retryClass: z.ZodLiteral<"manual-only">;
|
|
203
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
204
|
+
certainty: z.ZodLiteral<"side-effects-and-termination-unknown">;
|
|
205
|
+
kind: z.ZodLiteral<"ambiguous">;
|
|
206
|
+
retryClass: z.ZodLiteral<"forbidden">;
|
|
207
|
+
}, z.core.$strict>]>;
|
|
208
|
+
owningGeneration: z.ZodString;
|
|
123
209
|
status: z.ZodLiteral<"error">;
|
|
210
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
211
|
+
approvalChallenge: z.ZodObject<{
|
|
212
|
+
challengeId: z.ZodString;
|
|
213
|
+
expiresAt: z.ZodString;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
error: z.ZodObject<{
|
|
216
|
+
message: z.ZodString;
|
|
217
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
code: z.ZodEnum<{
|
|
220
|
+
approval_required: "approval_required";
|
|
221
|
+
capability_denied: "capability_denied";
|
|
222
|
+
validation_failed: "validation_failed";
|
|
223
|
+
provider_unavailable: "provider_unavailable";
|
|
224
|
+
execution_failed: "execution_failed";
|
|
225
|
+
cancelled: "cancelled";
|
|
226
|
+
timeout: "timeout";
|
|
227
|
+
output_truncated: "output_truncated";
|
|
228
|
+
artifact_unavailable: "artifact_unavailable";
|
|
229
|
+
}>;
|
|
230
|
+
level: z.ZodEnum<{
|
|
231
|
+
error: "error";
|
|
232
|
+
debug: "debug";
|
|
233
|
+
info: "info";
|
|
234
|
+
warn: "warn";
|
|
235
|
+
}>;
|
|
236
|
+
safeMessage: z.ZodString;
|
|
237
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
238
|
+
}, z.core.$strict>>;
|
|
239
|
+
code: z.ZodLiteral<"approval_required">;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
operationId: z.ZodString;
|
|
243
|
+
outcome: z.ZodObject<{
|
|
244
|
+
certainty: z.ZodLiteral<"proven">;
|
|
245
|
+
kind: z.ZodLiteral<"not-dispatched">;
|
|
246
|
+
retryClass: z.ZodLiteral<"safe-before-dispatch">;
|
|
247
|
+
}, z.core.$strict>;
|
|
248
|
+
owningGeneration: z.ZodString;
|
|
249
|
+
status: z.ZodLiteral<"approval_required">;
|
|
124
250
|
}, z.core.$strict>], "status">;
|
|
125
251
|
declare const PortalListItemValueSchema: z.ZodObject<{
|
|
126
252
|
namespaces: z.ZodArray<z.ZodString>;
|
|
@@ -214,21 +340,22 @@ declare const PortalDescribeItemValueSchema: z.ZodObject<{
|
|
|
214
340
|
}, z.core.$strict>;
|
|
215
341
|
declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
216
342
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
217
|
-
byteLength: z.
|
|
218
|
-
expiresAt: z.
|
|
343
|
+
byteLength: z.ZodNumber;
|
|
344
|
+
expiresAt: z.ZodString;
|
|
345
|
+
fingerprint: z.ZodString;
|
|
219
346
|
id: z.ZodString;
|
|
220
347
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
221
348
|
}, z.core.$strict>>>;
|
|
222
349
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
350
|
code: z.ZodEnum<{
|
|
224
|
-
provider_unavailable: "provider_unavailable";
|
|
225
|
-
capability_denied: "capability_denied";
|
|
226
351
|
approval_required: "approval_required";
|
|
352
|
+
capability_denied: "capability_denied";
|
|
227
353
|
validation_failed: "validation_failed";
|
|
354
|
+
provider_unavailable: "provider_unavailable";
|
|
228
355
|
execution_failed: "execution_failed";
|
|
229
|
-
output_truncated: "output_truncated";
|
|
230
|
-
timeout: "timeout";
|
|
231
356
|
cancelled: "cancelled";
|
|
357
|
+
timeout: "timeout";
|
|
358
|
+
output_truncated: "output_truncated";
|
|
232
359
|
artifact_unavailable: "artifact_unavailable";
|
|
233
360
|
}>;
|
|
234
361
|
level: z.ZodEnum<{
|
|
@@ -283,14 +410,14 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
283
410
|
}, z.core.$strict>, z.ZodObject<{
|
|
284
411
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
285
412
|
code: z.ZodEnum<{
|
|
286
|
-
provider_unavailable: "provider_unavailable";
|
|
287
|
-
capability_denied: "capability_denied";
|
|
288
413
|
approval_required: "approval_required";
|
|
414
|
+
capability_denied: "capability_denied";
|
|
289
415
|
validation_failed: "validation_failed";
|
|
416
|
+
provider_unavailable: "provider_unavailable";
|
|
290
417
|
execution_failed: "execution_failed";
|
|
291
|
-
output_truncated: "output_truncated";
|
|
292
|
-
timeout: "timeout";
|
|
293
418
|
cancelled: "cancelled";
|
|
419
|
+
timeout: "timeout";
|
|
420
|
+
output_truncated: "output_truncated";
|
|
294
421
|
artifact_unavailable: "artifact_unavailable";
|
|
295
422
|
}>;
|
|
296
423
|
level: z.ZodEnum<{
|
|
@@ -304,29 +431,29 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
304
431
|
}, z.core.$strict>>>;
|
|
305
432
|
error: z.ZodObject<{
|
|
306
433
|
code: z.ZodEnum<{
|
|
307
|
-
|
|
308
|
-
|
|
434
|
+
invalid_request: "invalid_request";
|
|
435
|
+
not_found: "not_found";
|
|
436
|
+
not_authorized: "not_authorized";
|
|
309
437
|
approval_required: "approval_required";
|
|
438
|
+
capability_denied: "capability_denied";
|
|
310
439
|
validation_failed: "validation_failed";
|
|
440
|
+
provider_unavailable: "provider_unavailable";
|
|
311
441
|
execution_failed: "execution_failed";
|
|
312
|
-
timeout: "timeout";
|
|
313
442
|
cancelled: "cancelled";
|
|
314
|
-
|
|
315
|
-
not_found: "not_found";
|
|
316
|
-
not_authorized: "not_authorized";
|
|
443
|
+
timeout: "timeout";
|
|
317
444
|
}>;
|
|
318
445
|
message: z.ZodString;
|
|
319
446
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
320
447
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
321
448
|
code: z.ZodEnum<{
|
|
322
|
-
provider_unavailable: "provider_unavailable";
|
|
323
|
-
capability_denied: "capability_denied";
|
|
324
449
|
approval_required: "approval_required";
|
|
450
|
+
capability_denied: "capability_denied";
|
|
325
451
|
validation_failed: "validation_failed";
|
|
452
|
+
provider_unavailable: "provider_unavailable";
|
|
326
453
|
execution_failed: "execution_failed";
|
|
327
|
-
output_truncated: "output_truncated";
|
|
328
|
-
timeout: "timeout";
|
|
329
454
|
cancelled: "cancelled";
|
|
455
|
+
timeout: "timeout";
|
|
456
|
+
output_truncated: "output_truncated";
|
|
330
457
|
artifact_unavailable: "artifact_unavailable";
|
|
331
458
|
}>;
|
|
332
459
|
level: z.ZodEnum<{
|
|
@@ -344,21 +471,22 @@ declare const PortalListItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
344
471
|
}, z.core.$strict>], "status">;
|
|
345
472
|
declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
346
473
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
347
|
-
byteLength: z.
|
|
348
|
-
expiresAt: z.
|
|
474
|
+
byteLength: z.ZodNumber;
|
|
475
|
+
expiresAt: z.ZodString;
|
|
476
|
+
fingerprint: z.ZodString;
|
|
349
477
|
id: z.ZodString;
|
|
350
478
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
351
479
|
}, z.core.$strict>>>;
|
|
352
480
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
353
481
|
code: z.ZodEnum<{
|
|
354
|
-
provider_unavailable: "provider_unavailable";
|
|
355
|
-
capability_denied: "capability_denied";
|
|
356
482
|
approval_required: "approval_required";
|
|
483
|
+
capability_denied: "capability_denied";
|
|
357
484
|
validation_failed: "validation_failed";
|
|
485
|
+
provider_unavailable: "provider_unavailable";
|
|
358
486
|
execution_failed: "execution_failed";
|
|
359
|
-
output_truncated: "output_truncated";
|
|
360
|
-
timeout: "timeout";
|
|
361
487
|
cancelled: "cancelled";
|
|
488
|
+
timeout: "timeout";
|
|
489
|
+
output_truncated: "output_truncated";
|
|
362
490
|
artifact_unavailable: "artifact_unavailable";
|
|
363
491
|
}>;
|
|
364
492
|
level: z.ZodEnum<{
|
|
@@ -415,14 +543,14 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
415
543
|
}, z.core.$strict>, z.ZodObject<{
|
|
416
544
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
417
545
|
code: z.ZodEnum<{
|
|
418
|
-
provider_unavailable: "provider_unavailable";
|
|
419
|
-
capability_denied: "capability_denied";
|
|
420
546
|
approval_required: "approval_required";
|
|
547
|
+
capability_denied: "capability_denied";
|
|
421
548
|
validation_failed: "validation_failed";
|
|
549
|
+
provider_unavailable: "provider_unavailable";
|
|
422
550
|
execution_failed: "execution_failed";
|
|
423
|
-
output_truncated: "output_truncated";
|
|
424
|
-
timeout: "timeout";
|
|
425
551
|
cancelled: "cancelled";
|
|
552
|
+
timeout: "timeout";
|
|
553
|
+
output_truncated: "output_truncated";
|
|
426
554
|
artifact_unavailable: "artifact_unavailable";
|
|
427
555
|
}>;
|
|
428
556
|
level: z.ZodEnum<{
|
|
@@ -436,29 +564,29 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
436
564
|
}, z.core.$strict>>>;
|
|
437
565
|
error: z.ZodObject<{
|
|
438
566
|
code: z.ZodEnum<{
|
|
439
|
-
|
|
440
|
-
|
|
567
|
+
invalid_request: "invalid_request";
|
|
568
|
+
not_found: "not_found";
|
|
569
|
+
not_authorized: "not_authorized";
|
|
441
570
|
approval_required: "approval_required";
|
|
571
|
+
capability_denied: "capability_denied";
|
|
442
572
|
validation_failed: "validation_failed";
|
|
573
|
+
provider_unavailable: "provider_unavailable";
|
|
443
574
|
execution_failed: "execution_failed";
|
|
444
|
-
timeout: "timeout";
|
|
445
575
|
cancelled: "cancelled";
|
|
446
|
-
|
|
447
|
-
not_found: "not_found";
|
|
448
|
-
not_authorized: "not_authorized";
|
|
576
|
+
timeout: "timeout";
|
|
449
577
|
}>;
|
|
450
578
|
message: z.ZodString;
|
|
451
579
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
452
580
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
453
581
|
code: z.ZodEnum<{
|
|
454
|
-
provider_unavailable: "provider_unavailable";
|
|
455
|
-
capability_denied: "capability_denied";
|
|
456
582
|
approval_required: "approval_required";
|
|
583
|
+
capability_denied: "capability_denied";
|
|
457
584
|
validation_failed: "validation_failed";
|
|
585
|
+
provider_unavailable: "provider_unavailable";
|
|
458
586
|
execution_failed: "execution_failed";
|
|
459
|
-
output_truncated: "output_truncated";
|
|
460
|
-
timeout: "timeout";
|
|
461
587
|
cancelled: "cancelled";
|
|
588
|
+
timeout: "timeout";
|
|
589
|
+
output_truncated: "output_truncated";
|
|
462
590
|
artifact_unavailable: "artifact_unavailable";
|
|
463
591
|
}>;
|
|
464
592
|
level: z.ZodEnum<{
|
|
@@ -476,21 +604,22 @@ declare const PortalSearchItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
476
604
|
}, z.core.$strict>], "status">;
|
|
477
605
|
declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
478
606
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
479
|
-
byteLength: z.
|
|
480
|
-
expiresAt: z.
|
|
607
|
+
byteLength: z.ZodNumber;
|
|
608
|
+
expiresAt: z.ZodString;
|
|
609
|
+
fingerprint: z.ZodString;
|
|
481
610
|
id: z.ZodString;
|
|
482
611
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
483
612
|
}, z.core.$strict>>>;
|
|
484
613
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
614
|
code: z.ZodEnum<{
|
|
486
|
-
provider_unavailable: "provider_unavailable";
|
|
487
|
-
capability_denied: "capability_denied";
|
|
488
615
|
approval_required: "approval_required";
|
|
616
|
+
capability_denied: "capability_denied";
|
|
489
617
|
validation_failed: "validation_failed";
|
|
618
|
+
provider_unavailable: "provider_unavailable";
|
|
490
619
|
execution_failed: "execution_failed";
|
|
491
|
-
output_truncated: "output_truncated";
|
|
492
|
-
timeout: "timeout";
|
|
493
620
|
cancelled: "cancelled";
|
|
621
|
+
timeout: "timeout";
|
|
622
|
+
output_truncated: "output_truncated";
|
|
494
623
|
artifact_unavailable: "artifact_unavailable";
|
|
495
624
|
}>;
|
|
496
625
|
level: z.ZodEnum<{
|
|
@@ -531,14 +660,14 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
531
660
|
}, z.core.$strict>, z.ZodObject<{
|
|
532
661
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
533
662
|
code: z.ZodEnum<{
|
|
534
|
-
provider_unavailable: "provider_unavailable";
|
|
535
|
-
capability_denied: "capability_denied";
|
|
536
663
|
approval_required: "approval_required";
|
|
664
|
+
capability_denied: "capability_denied";
|
|
537
665
|
validation_failed: "validation_failed";
|
|
666
|
+
provider_unavailable: "provider_unavailable";
|
|
538
667
|
execution_failed: "execution_failed";
|
|
539
|
-
output_truncated: "output_truncated";
|
|
540
|
-
timeout: "timeout";
|
|
541
668
|
cancelled: "cancelled";
|
|
669
|
+
timeout: "timeout";
|
|
670
|
+
output_truncated: "output_truncated";
|
|
542
671
|
artifact_unavailable: "artifact_unavailable";
|
|
543
672
|
}>;
|
|
544
673
|
level: z.ZodEnum<{
|
|
@@ -552,29 +681,29 @@ declare const PortalDescribeItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
552
681
|
}, z.core.$strict>>>;
|
|
553
682
|
error: z.ZodObject<{
|
|
554
683
|
code: z.ZodEnum<{
|
|
555
|
-
|
|
556
|
-
|
|
684
|
+
invalid_request: "invalid_request";
|
|
685
|
+
not_found: "not_found";
|
|
686
|
+
not_authorized: "not_authorized";
|
|
557
687
|
approval_required: "approval_required";
|
|
688
|
+
capability_denied: "capability_denied";
|
|
558
689
|
validation_failed: "validation_failed";
|
|
690
|
+
provider_unavailable: "provider_unavailable";
|
|
559
691
|
execution_failed: "execution_failed";
|
|
560
|
-
timeout: "timeout";
|
|
561
692
|
cancelled: "cancelled";
|
|
562
|
-
|
|
563
|
-
not_found: "not_found";
|
|
564
|
-
not_authorized: "not_authorized";
|
|
693
|
+
timeout: "timeout";
|
|
565
694
|
}>;
|
|
566
695
|
message: z.ZodString;
|
|
567
696
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
568
697
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
569
698
|
code: z.ZodEnum<{
|
|
570
|
-
provider_unavailable: "provider_unavailable";
|
|
571
|
-
capability_denied: "capability_denied";
|
|
572
699
|
approval_required: "approval_required";
|
|
700
|
+
capability_denied: "capability_denied";
|
|
573
701
|
validation_failed: "validation_failed";
|
|
702
|
+
provider_unavailable: "provider_unavailable";
|
|
574
703
|
execution_failed: "execution_failed";
|
|
575
|
-
output_truncated: "output_truncated";
|
|
576
|
-
timeout: "timeout";
|
|
577
704
|
cancelled: "cancelled";
|
|
705
|
+
timeout: "timeout";
|
|
706
|
+
output_truncated: "output_truncated";
|
|
578
707
|
artifact_unavailable: "artifact_unavailable";
|
|
579
708
|
}>;
|
|
580
709
|
level: z.ZodEnum<{
|
|
@@ -594,14 +723,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
594
723
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
595
724
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
596
725
|
code: z.ZodEnum<{
|
|
597
|
-
provider_unavailable: "provider_unavailable";
|
|
598
|
-
capability_denied: "capability_denied";
|
|
599
726
|
approval_required: "approval_required";
|
|
727
|
+
capability_denied: "capability_denied";
|
|
600
728
|
validation_failed: "validation_failed";
|
|
729
|
+
provider_unavailable: "provider_unavailable";
|
|
601
730
|
execution_failed: "execution_failed";
|
|
602
|
-
output_truncated: "output_truncated";
|
|
603
|
-
timeout: "timeout";
|
|
604
731
|
cancelled: "cancelled";
|
|
732
|
+
timeout: "timeout";
|
|
733
|
+
output_truncated: "output_truncated";
|
|
605
734
|
artifact_unavailable: "artifact_unavailable";
|
|
606
735
|
}>;
|
|
607
736
|
level: z.ZodEnum<{
|
|
@@ -615,21 +744,22 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
615
744
|
}, z.core.$strict>>>;
|
|
616
745
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
617
746
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
618
|
-
byteLength: z.
|
|
619
|
-
expiresAt: z.
|
|
747
|
+
byteLength: z.ZodNumber;
|
|
748
|
+
expiresAt: z.ZodString;
|
|
749
|
+
fingerprint: z.ZodString;
|
|
620
750
|
id: z.ZodString;
|
|
621
751
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
622
752
|
}, z.core.$strict>>>;
|
|
623
753
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
624
754
|
code: z.ZodEnum<{
|
|
625
|
-
provider_unavailable: "provider_unavailable";
|
|
626
|
-
capability_denied: "capability_denied";
|
|
627
755
|
approval_required: "approval_required";
|
|
756
|
+
capability_denied: "capability_denied";
|
|
628
757
|
validation_failed: "validation_failed";
|
|
758
|
+
provider_unavailable: "provider_unavailable";
|
|
629
759
|
execution_failed: "execution_failed";
|
|
630
|
-
output_truncated: "output_truncated";
|
|
631
|
-
timeout: "timeout";
|
|
632
760
|
cancelled: "cancelled";
|
|
761
|
+
timeout: "timeout";
|
|
762
|
+
output_truncated: "output_truncated";
|
|
633
763
|
artifact_unavailable: "artifact_unavailable";
|
|
634
764
|
}>;
|
|
635
765
|
level: z.ZodEnum<{
|
|
@@ -642,6 +772,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
642
772
|
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
643
773
|
}, z.core.$strict>>>;
|
|
644
774
|
id: z.ZodString;
|
|
775
|
+
operationId: z.ZodString;
|
|
776
|
+
outcome: z.ZodObject<{
|
|
777
|
+
certainty: z.ZodLiteral<"proven">;
|
|
778
|
+
completion: z.ZodLiteral<"succeeded">;
|
|
779
|
+
kind: z.ZodLiteral<"completed">;
|
|
780
|
+
retryClass: z.ZodLiteral<"forbidden">;
|
|
781
|
+
}, z.core.$strict>;
|
|
782
|
+
owningGeneration: z.ZodString;
|
|
645
783
|
status: z.ZodLiteral<"ok">;
|
|
646
784
|
truncation: z.ZodOptional<z.ZodObject<{
|
|
647
785
|
omittedBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -651,14 +789,14 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
651
789
|
}, z.core.$strict>, z.ZodObject<{
|
|
652
790
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
653
791
|
code: z.ZodEnum<{
|
|
654
|
-
provider_unavailable: "provider_unavailable";
|
|
655
|
-
capability_denied: "capability_denied";
|
|
656
792
|
approval_required: "approval_required";
|
|
793
|
+
capability_denied: "capability_denied";
|
|
657
794
|
validation_failed: "validation_failed";
|
|
795
|
+
provider_unavailable: "provider_unavailable";
|
|
658
796
|
execution_failed: "execution_failed";
|
|
659
|
-
output_truncated: "output_truncated";
|
|
660
|
-
timeout: "timeout";
|
|
661
797
|
cancelled: "cancelled";
|
|
798
|
+
timeout: "timeout";
|
|
799
|
+
output_truncated: "output_truncated";
|
|
662
800
|
artifact_unavailable: "artifact_unavailable";
|
|
663
801
|
}>;
|
|
664
802
|
level: z.ZodEnum<{
|
|
@@ -672,29 +810,29 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
672
810
|
}, z.core.$strict>>>;
|
|
673
811
|
error: z.ZodObject<{
|
|
674
812
|
code: z.ZodEnum<{
|
|
675
|
-
|
|
676
|
-
|
|
813
|
+
invalid_request: "invalid_request";
|
|
814
|
+
not_found: "not_found";
|
|
815
|
+
not_authorized: "not_authorized";
|
|
677
816
|
approval_required: "approval_required";
|
|
817
|
+
capability_denied: "capability_denied";
|
|
678
818
|
validation_failed: "validation_failed";
|
|
819
|
+
provider_unavailable: "provider_unavailable";
|
|
679
820
|
execution_failed: "execution_failed";
|
|
680
|
-
timeout: "timeout";
|
|
681
821
|
cancelled: "cancelled";
|
|
682
|
-
|
|
683
|
-
not_found: "not_found";
|
|
684
|
-
not_authorized: "not_authorized";
|
|
822
|
+
timeout: "timeout";
|
|
685
823
|
}>;
|
|
686
824
|
message: z.ZodString;
|
|
687
825
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
688
826
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
689
827
|
code: z.ZodEnum<{
|
|
690
|
-
provider_unavailable: "provider_unavailable";
|
|
691
|
-
capability_denied: "capability_denied";
|
|
692
828
|
approval_required: "approval_required";
|
|
829
|
+
capability_denied: "capability_denied";
|
|
693
830
|
validation_failed: "validation_failed";
|
|
831
|
+
provider_unavailable: "provider_unavailable";
|
|
694
832
|
execution_failed: "execution_failed";
|
|
695
|
-
output_truncated: "output_truncated";
|
|
696
|
-
timeout: "timeout";
|
|
697
833
|
cancelled: "cancelled";
|
|
834
|
+
timeout: "timeout";
|
|
835
|
+
output_truncated: "output_truncated";
|
|
698
836
|
artifact_unavailable: "artifact_unavailable";
|
|
699
837
|
}>;
|
|
700
838
|
level: z.ZodEnum<{
|
|
@@ -708,7 +846,79 @@ declare const PortalCallResultSchema: z.ZodObject<{
|
|
|
708
846
|
}, z.core.$strict>>;
|
|
709
847
|
}, z.core.$strict>;
|
|
710
848
|
id: z.ZodString;
|
|
849
|
+
operationId: z.ZodString;
|
|
850
|
+
outcome: z.ZodUnion<readonly [z.ZodObject<{
|
|
851
|
+
certainty: z.ZodLiteral<"proven">;
|
|
852
|
+
kind: z.ZodLiteral<"not-dispatched">;
|
|
853
|
+
retryClass: z.ZodLiteral<"safe-before-dispatch">;
|
|
854
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
855
|
+
certainty: z.ZodLiteral<"proven">;
|
|
856
|
+
completion: z.ZodLiteral<"failed">;
|
|
857
|
+
kind: z.ZodLiteral<"completed">;
|
|
858
|
+
retryClass: z.ZodEnum<{
|
|
859
|
+
forbidden: "forbidden";
|
|
860
|
+
"policy-gated": "policy-gated";
|
|
861
|
+
}>;
|
|
862
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
863
|
+
certainty: z.ZodLiteral<"proven-terminated">;
|
|
864
|
+
kind: z.ZodLiteral<"cancelled-proven">;
|
|
865
|
+
retryClass: z.ZodLiteral<"manual-only">;
|
|
866
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
867
|
+
certainty: z.ZodLiteral<"proven-terminated">;
|
|
868
|
+
kind: z.ZodLiteral<"timed-out-proven">;
|
|
869
|
+
retryClass: z.ZodLiteral<"manual-only">;
|
|
870
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
871
|
+
certainty: z.ZodLiteral<"proven-terminated">;
|
|
872
|
+
kind: z.ZodLiteral<"replaced-proven">;
|
|
873
|
+
priorSideEffects: z.ZodLiteral<"possible">;
|
|
874
|
+
retryClass: z.ZodLiteral<"manual-only">;
|
|
875
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
876
|
+
certainty: z.ZodLiteral<"side-effects-and-termination-unknown">;
|
|
877
|
+
kind: z.ZodLiteral<"ambiguous">;
|
|
878
|
+
retryClass: z.ZodLiteral<"forbidden">;
|
|
879
|
+
}, z.core.$strict>]>;
|
|
880
|
+
owningGeneration: z.ZodString;
|
|
711
881
|
status: z.ZodLiteral<"error">;
|
|
882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
883
|
+
approvalChallenge: z.ZodObject<{
|
|
884
|
+
challengeId: z.ZodString;
|
|
885
|
+
expiresAt: z.ZodString;
|
|
886
|
+
}, z.core.$strict>;
|
|
887
|
+
error: z.ZodObject<{
|
|
888
|
+
message: z.ZodString;
|
|
889
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
890
|
+
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
891
|
+
code: z.ZodEnum<{
|
|
892
|
+
approval_required: "approval_required";
|
|
893
|
+
capability_denied: "capability_denied";
|
|
894
|
+
validation_failed: "validation_failed";
|
|
895
|
+
provider_unavailable: "provider_unavailable";
|
|
896
|
+
execution_failed: "execution_failed";
|
|
897
|
+
cancelled: "cancelled";
|
|
898
|
+
timeout: "timeout";
|
|
899
|
+
output_truncated: "output_truncated";
|
|
900
|
+
artifact_unavailable: "artifact_unavailable";
|
|
901
|
+
}>;
|
|
902
|
+
level: z.ZodEnum<{
|
|
903
|
+
error: "error";
|
|
904
|
+
debug: "debug";
|
|
905
|
+
info: "info";
|
|
906
|
+
warn: "warn";
|
|
907
|
+
}>;
|
|
908
|
+
safeMessage: z.ZodString;
|
|
909
|
+
safeParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
910
|
+
}, z.core.$strict>>;
|
|
911
|
+
code: z.ZodLiteral<"approval_required">;
|
|
912
|
+
}, z.core.$strict>;
|
|
913
|
+
id: z.ZodString;
|
|
914
|
+
operationId: z.ZodString;
|
|
915
|
+
outcome: z.ZodObject<{
|
|
916
|
+
certainty: z.ZodLiteral<"proven">;
|
|
917
|
+
kind: z.ZodLiteral<"not-dispatched">;
|
|
918
|
+
retryClass: z.ZodLiteral<"safe-before-dispatch">;
|
|
919
|
+
}, z.core.$strict>;
|
|
920
|
+
owningGeneration: z.ZodString;
|
|
921
|
+
status: z.ZodLiteral<"approval_required">;
|
|
712
922
|
}, z.core.$strict>], "status">>;
|
|
713
923
|
ok: z.ZodBoolean;
|
|
714
924
|
}, z.core.$strict>;
|
|
@@ -717,14 +927,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
717
927
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
718
928
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
719
929
|
code: z.ZodEnum<{
|
|
720
|
-
provider_unavailable: "provider_unavailable";
|
|
721
|
-
capability_denied: "capability_denied";
|
|
722
930
|
approval_required: "approval_required";
|
|
931
|
+
capability_denied: "capability_denied";
|
|
723
932
|
validation_failed: "validation_failed";
|
|
933
|
+
provider_unavailable: "provider_unavailable";
|
|
724
934
|
execution_failed: "execution_failed";
|
|
725
|
-
output_truncated: "output_truncated";
|
|
726
|
-
timeout: "timeout";
|
|
727
935
|
cancelled: "cancelled";
|
|
936
|
+
timeout: "timeout";
|
|
937
|
+
output_truncated: "output_truncated";
|
|
728
938
|
artifact_unavailable: "artifact_unavailable";
|
|
729
939
|
}>;
|
|
730
940
|
level: z.ZodEnum<{
|
|
@@ -738,21 +948,22 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
738
948
|
}, z.core.$strict>>>;
|
|
739
949
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
740
950
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
741
|
-
byteLength: z.
|
|
742
|
-
expiresAt: z.
|
|
951
|
+
byteLength: z.ZodNumber;
|
|
952
|
+
expiresAt: z.ZodString;
|
|
953
|
+
fingerprint: z.ZodString;
|
|
743
954
|
id: z.ZodString;
|
|
744
955
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
745
956
|
}, z.core.$strict>>>;
|
|
746
957
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
747
958
|
code: z.ZodEnum<{
|
|
748
|
-
provider_unavailable: "provider_unavailable";
|
|
749
|
-
capability_denied: "capability_denied";
|
|
750
959
|
approval_required: "approval_required";
|
|
960
|
+
capability_denied: "capability_denied";
|
|
751
961
|
validation_failed: "validation_failed";
|
|
962
|
+
provider_unavailable: "provider_unavailable";
|
|
752
963
|
execution_failed: "execution_failed";
|
|
753
|
-
output_truncated: "output_truncated";
|
|
754
|
-
timeout: "timeout";
|
|
755
964
|
cancelled: "cancelled";
|
|
965
|
+
timeout: "timeout";
|
|
966
|
+
output_truncated: "output_truncated";
|
|
756
967
|
artifact_unavailable: "artifact_unavailable";
|
|
757
968
|
}>;
|
|
758
969
|
level: z.ZodEnum<{
|
|
@@ -807,14 +1018,14 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
807
1018
|
}, z.core.$strict>, z.ZodObject<{
|
|
808
1019
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
809
1020
|
code: z.ZodEnum<{
|
|
810
|
-
provider_unavailable: "provider_unavailable";
|
|
811
|
-
capability_denied: "capability_denied";
|
|
812
1021
|
approval_required: "approval_required";
|
|
1022
|
+
capability_denied: "capability_denied";
|
|
813
1023
|
validation_failed: "validation_failed";
|
|
1024
|
+
provider_unavailable: "provider_unavailable";
|
|
814
1025
|
execution_failed: "execution_failed";
|
|
815
|
-
output_truncated: "output_truncated";
|
|
816
|
-
timeout: "timeout";
|
|
817
1026
|
cancelled: "cancelled";
|
|
1027
|
+
timeout: "timeout";
|
|
1028
|
+
output_truncated: "output_truncated";
|
|
818
1029
|
artifact_unavailable: "artifact_unavailable";
|
|
819
1030
|
}>;
|
|
820
1031
|
level: z.ZodEnum<{
|
|
@@ -828,29 +1039,29 @@ declare const PortalListResultSchema: z.ZodObject<{
|
|
|
828
1039
|
}, z.core.$strict>>>;
|
|
829
1040
|
error: z.ZodObject<{
|
|
830
1041
|
code: z.ZodEnum<{
|
|
831
|
-
|
|
832
|
-
|
|
1042
|
+
invalid_request: "invalid_request";
|
|
1043
|
+
not_found: "not_found";
|
|
1044
|
+
not_authorized: "not_authorized";
|
|
833
1045
|
approval_required: "approval_required";
|
|
1046
|
+
capability_denied: "capability_denied";
|
|
834
1047
|
validation_failed: "validation_failed";
|
|
1048
|
+
provider_unavailable: "provider_unavailable";
|
|
835
1049
|
execution_failed: "execution_failed";
|
|
836
|
-
timeout: "timeout";
|
|
837
1050
|
cancelled: "cancelled";
|
|
838
|
-
|
|
839
|
-
not_found: "not_found";
|
|
840
|
-
not_authorized: "not_authorized";
|
|
1051
|
+
timeout: "timeout";
|
|
841
1052
|
}>;
|
|
842
1053
|
message: z.ZodString;
|
|
843
1054
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
844
1055
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
845
1056
|
code: z.ZodEnum<{
|
|
846
|
-
provider_unavailable: "provider_unavailable";
|
|
847
|
-
capability_denied: "capability_denied";
|
|
848
1057
|
approval_required: "approval_required";
|
|
1058
|
+
capability_denied: "capability_denied";
|
|
849
1059
|
validation_failed: "validation_failed";
|
|
1060
|
+
provider_unavailable: "provider_unavailable";
|
|
850
1061
|
execution_failed: "execution_failed";
|
|
851
|
-
output_truncated: "output_truncated";
|
|
852
|
-
timeout: "timeout";
|
|
853
1062
|
cancelled: "cancelled";
|
|
1063
|
+
timeout: "timeout";
|
|
1064
|
+
output_truncated: "output_truncated";
|
|
854
1065
|
artifact_unavailable: "artifact_unavailable";
|
|
855
1066
|
}>;
|
|
856
1067
|
level: z.ZodEnum<{
|
|
@@ -873,14 +1084,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
873
1084
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
874
1085
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
875
1086
|
code: z.ZodEnum<{
|
|
876
|
-
provider_unavailable: "provider_unavailable";
|
|
877
|
-
capability_denied: "capability_denied";
|
|
878
1087
|
approval_required: "approval_required";
|
|
1088
|
+
capability_denied: "capability_denied";
|
|
879
1089
|
validation_failed: "validation_failed";
|
|
1090
|
+
provider_unavailable: "provider_unavailable";
|
|
880
1091
|
execution_failed: "execution_failed";
|
|
881
|
-
output_truncated: "output_truncated";
|
|
882
|
-
timeout: "timeout";
|
|
883
1092
|
cancelled: "cancelled";
|
|
1093
|
+
timeout: "timeout";
|
|
1094
|
+
output_truncated: "output_truncated";
|
|
884
1095
|
artifact_unavailable: "artifact_unavailable";
|
|
885
1096
|
}>;
|
|
886
1097
|
level: z.ZodEnum<{
|
|
@@ -894,21 +1105,22 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
894
1105
|
}, z.core.$strict>>>;
|
|
895
1106
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
896
1107
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
897
|
-
byteLength: z.
|
|
898
|
-
expiresAt: z.
|
|
1108
|
+
byteLength: z.ZodNumber;
|
|
1109
|
+
expiresAt: z.ZodString;
|
|
1110
|
+
fingerprint: z.ZodString;
|
|
899
1111
|
id: z.ZodString;
|
|
900
1112
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
901
1113
|
}, z.core.$strict>>>;
|
|
902
1114
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
903
1115
|
code: z.ZodEnum<{
|
|
904
|
-
provider_unavailable: "provider_unavailable";
|
|
905
|
-
capability_denied: "capability_denied";
|
|
906
1116
|
approval_required: "approval_required";
|
|
1117
|
+
capability_denied: "capability_denied";
|
|
907
1118
|
validation_failed: "validation_failed";
|
|
1119
|
+
provider_unavailable: "provider_unavailable";
|
|
908
1120
|
execution_failed: "execution_failed";
|
|
909
|
-
output_truncated: "output_truncated";
|
|
910
|
-
timeout: "timeout";
|
|
911
1121
|
cancelled: "cancelled";
|
|
1122
|
+
timeout: "timeout";
|
|
1123
|
+
output_truncated: "output_truncated";
|
|
912
1124
|
artifact_unavailable: "artifact_unavailable";
|
|
913
1125
|
}>;
|
|
914
1126
|
level: z.ZodEnum<{
|
|
@@ -965,14 +1177,14 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
965
1177
|
}, z.core.$strict>, z.ZodObject<{
|
|
966
1178
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
1179
|
code: z.ZodEnum<{
|
|
968
|
-
provider_unavailable: "provider_unavailable";
|
|
969
|
-
capability_denied: "capability_denied";
|
|
970
1180
|
approval_required: "approval_required";
|
|
1181
|
+
capability_denied: "capability_denied";
|
|
971
1182
|
validation_failed: "validation_failed";
|
|
1183
|
+
provider_unavailable: "provider_unavailable";
|
|
972
1184
|
execution_failed: "execution_failed";
|
|
973
|
-
output_truncated: "output_truncated";
|
|
974
|
-
timeout: "timeout";
|
|
975
1185
|
cancelled: "cancelled";
|
|
1186
|
+
timeout: "timeout";
|
|
1187
|
+
output_truncated: "output_truncated";
|
|
976
1188
|
artifact_unavailable: "artifact_unavailable";
|
|
977
1189
|
}>;
|
|
978
1190
|
level: z.ZodEnum<{
|
|
@@ -986,29 +1198,29 @@ declare const PortalSearchResultSchema: z.ZodObject<{
|
|
|
986
1198
|
}, z.core.$strict>>>;
|
|
987
1199
|
error: z.ZodObject<{
|
|
988
1200
|
code: z.ZodEnum<{
|
|
989
|
-
|
|
990
|
-
|
|
1201
|
+
invalid_request: "invalid_request";
|
|
1202
|
+
not_found: "not_found";
|
|
1203
|
+
not_authorized: "not_authorized";
|
|
991
1204
|
approval_required: "approval_required";
|
|
1205
|
+
capability_denied: "capability_denied";
|
|
992
1206
|
validation_failed: "validation_failed";
|
|
1207
|
+
provider_unavailable: "provider_unavailable";
|
|
993
1208
|
execution_failed: "execution_failed";
|
|
994
|
-
timeout: "timeout";
|
|
995
1209
|
cancelled: "cancelled";
|
|
996
|
-
|
|
997
|
-
not_found: "not_found";
|
|
998
|
-
not_authorized: "not_authorized";
|
|
1210
|
+
timeout: "timeout";
|
|
999
1211
|
}>;
|
|
1000
1212
|
message: z.ZodString;
|
|
1001
1213
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1002
1214
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1003
1215
|
code: z.ZodEnum<{
|
|
1004
|
-
provider_unavailable: "provider_unavailable";
|
|
1005
|
-
capability_denied: "capability_denied";
|
|
1006
1216
|
approval_required: "approval_required";
|
|
1217
|
+
capability_denied: "capability_denied";
|
|
1007
1218
|
validation_failed: "validation_failed";
|
|
1219
|
+
provider_unavailable: "provider_unavailable";
|
|
1008
1220
|
execution_failed: "execution_failed";
|
|
1009
|
-
output_truncated: "output_truncated";
|
|
1010
|
-
timeout: "timeout";
|
|
1011
1221
|
cancelled: "cancelled";
|
|
1222
|
+
timeout: "timeout";
|
|
1223
|
+
output_truncated: "output_truncated";
|
|
1012
1224
|
artifact_unavailable: "artifact_unavailable";
|
|
1013
1225
|
}>;
|
|
1014
1226
|
level: z.ZodEnum<{
|
|
@@ -1031,14 +1243,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1031
1243
|
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
1032
1244
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1033
1245
|
code: z.ZodEnum<{
|
|
1034
|
-
provider_unavailable: "provider_unavailable";
|
|
1035
|
-
capability_denied: "capability_denied";
|
|
1036
1246
|
approval_required: "approval_required";
|
|
1247
|
+
capability_denied: "capability_denied";
|
|
1037
1248
|
validation_failed: "validation_failed";
|
|
1249
|
+
provider_unavailable: "provider_unavailable";
|
|
1038
1250
|
execution_failed: "execution_failed";
|
|
1039
|
-
output_truncated: "output_truncated";
|
|
1040
|
-
timeout: "timeout";
|
|
1041
1251
|
cancelled: "cancelled";
|
|
1252
|
+
timeout: "timeout";
|
|
1253
|
+
output_truncated: "output_truncated";
|
|
1042
1254
|
artifact_unavailable: "artifact_unavailable";
|
|
1043
1255
|
}>;
|
|
1044
1256
|
level: z.ZodEnum<{
|
|
@@ -1052,21 +1264,22 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1052
1264
|
}, z.core.$strict>>>;
|
|
1053
1265
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1054
1266
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1055
|
-
byteLength: z.
|
|
1056
|
-
expiresAt: z.
|
|
1267
|
+
byteLength: z.ZodNumber;
|
|
1268
|
+
expiresAt: z.ZodString;
|
|
1269
|
+
fingerprint: z.ZodString;
|
|
1057
1270
|
id: z.ZodString;
|
|
1058
1271
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
1059
1272
|
}, z.core.$strict>>>;
|
|
1060
1273
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1061
1274
|
code: z.ZodEnum<{
|
|
1062
|
-
provider_unavailable: "provider_unavailable";
|
|
1063
|
-
capability_denied: "capability_denied";
|
|
1064
1275
|
approval_required: "approval_required";
|
|
1276
|
+
capability_denied: "capability_denied";
|
|
1065
1277
|
validation_failed: "validation_failed";
|
|
1278
|
+
provider_unavailable: "provider_unavailable";
|
|
1066
1279
|
execution_failed: "execution_failed";
|
|
1067
|
-
output_truncated: "output_truncated";
|
|
1068
|
-
timeout: "timeout";
|
|
1069
1280
|
cancelled: "cancelled";
|
|
1281
|
+
timeout: "timeout";
|
|
1282
|
+
output_truncated: "output_truncated";
|
|
1070
1283
|
artifact_unavailable: "artifact_unavailable";
|
|
1071
1284
|
}>;
|
|
1072
1285
|
level: z.ZodEnum<{
|
|
@@ -1107,14 +1320,14 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1107
1320
|
}, z.core.$strict>, z.ZodObject<{
|
|
1108
1321
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1109
1322
|
code: z.ZodEnum<{
|
|
1110
|
-
provider_unavailable: "provider_unavailable";
|
|
1111
|
-
capability_denied: "capability_denied";
|
|
1112
1323
|
approval_required: "approval_required";
|
|
1324
|
+
capability_denied: "capability_denied";
|
|
1113
1325
|
validation_failed: "validation_failed";
|
|
1326
|
+
provider_unavailable: "provider_unavailable";
|
|
1114
1327
|
execution_failed: "execution_failed";
|
|
1115
|
-
output_truncated: "output_truncated";
|
|
1116
|
-
timeout: "timeout";
|
|
1117
1328
|
cancelled: "cancelled";
|
|
1329
|
+
timeout: "timeout";
|
|
1330
|
+
output_truncated: "output_truncated";
|
|
1118
1331
|
artifact_unavailable: "artifact_unavailable";
|
|
1119
1332
|
}>;
|
|
1120
1333
|
level: z.ZodEnum<{
|
|
@@ -1128,29 +1341,29 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1128
1341
|
}, z.core.$strict>>>;
|
|
1129
1342
|
error: z.ZodObject<{
|
|
1130
1343
|
code: z.ZodEnum<{
|
|
1131
|
-
|
|
1132
|
-
|
|
1344
|
+
invalid_request: "invalid_request";
|
|
1345
|
+
not_found: "not_found";
|
|
1346
|
+
not_authorized: "not_authorized";
|
|
1133
1347
|
approval_required: "approval_required";
|
|
1348
|
+
capability_denied: "capability_denied";
|
|
1134
1349
|
validation_failed: "validation_failed";
|
|
1350
|
+
provider_unavailable: "provider_unavailable";
|
|
1135
1351
|
execution_failed: "execution_failed";
|
|
1136
|
-
timeout: "timeout";
|
|
1137
1352
|
cancelled: "cancelled";
|
|
1138
|
-
|
|
1139
|
-
not_found: "not_found";
|
|
1140
|
-
not_authorized: "not_authorized";
|
|
1353
|
+
timeout: "timeout";
|
|
1141
1354
|
}>;
|
|
1142
1355
|
message: z.ZodString;
|
|
1143
1356
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1144
1357
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1145
1358
|
code: z.ZodEnum<{
|
|
1146
|
-
provider_unavailable: "provider_unavailable";
|
|
1147
|
-
capability_denied: "capability_denied";
|
|
1148
1359
|
approval_required: "approval_required";
|
|
1360
|
+
capability_denied: "capability_denied";
|
|
1149
1361
|
validation_failed: "validation_failed";
|
|
1362
|
+
provider_unavailable: "provider_unavailable";
|
|
1150
1363
|
execution_failed: "execution_failed";
|
|
1151
|
-
output_truncated: "output_truncated";
|
|
1152
|
-
timeout: "timeout";
|
|
1153
1364
|
cancelled: "cancelled";
|
|
1365
|
+
timeout: "timeout";
|
|
1366
|
+
output_truncated: "output_truncated";
|
|
1154
1367
|
artifact_unavailable: "artifact_unavailable";
|
|
1155
1368
|
}>;
|
|
1156
1369
|
level: z.ZodEnum<{
|
|
@@ -1171,21 +1384,22 @@ declare const PortalDescribeResultSchema: z.ZodObject<{
|
|
|
1171
1384
|
type PortalDescribeResult = z.infer<typeof PortalDescribeResultSchema>;
|
|
1172
1385
|
declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1173
1386
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1174
|
-
byteLength: z.
|
|
1175
|
-
expiresAt: z.
|
|
1387
|
+
byteLength: z.ZodNumber;
|
|
1388
|
+
expiresAt: z.ZodString;
|
|
1389
|
+
fingerprint: z.ZodString;
|
|
1176
1390
|
id: z.ZodString;
|
|
1177
1391
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
1178
1392
|
}, z.core.$strict>>>;
|
|
1179
1393
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1180
1394
|
code: z.ZodEnum<{
|
|
1181
|
-
provider_unavailable: "provider_unavailable";
|
|
1182
|
-
capability_denied: "capability_denied";
|
|
1183
1395
|
approval_required: "approval_required";
|
|
1396
|
+
capability_denied: "capability_denied";
|
|
1184
1397
|
validation_failed: "validation_failed";
|
|
1398
|
+
provider_unavailable: "provider_unavailable";
|
|
1185
1399
|
execution_failed: "execution_failed";
|
|
1186
|
-
output_truncated: "output_truncated";
|
|
1187
|
-
timeout: "timeout";
|
|
1188
1400
|
cancelled: "cancelled";
|
|
1401
|
+
timeout: "timeout";
|
|
1402
|
+
output_truncated: "output_truncated";
|
|
1189
1403
|
artifact_unavailable: "artifact_unavailable";
|
|
1190
1404
|
}>;
|
|
1191
1405
|
level: z.ZodEnum<{
|
|
@@ -1207,14 +1421,14 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1207
1421
|
}, z.core.$strict>, z.ZodObject<{
|
|
1208
1422
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1209
1423
|
code: z.ZodEnum<{
|
|
1210
|
-
provider_unavailable: "provider_unavailable";
|
|
1211
|
-
capability_denied: "capability_denied";
|
|
1212
1424
|
approval_required: "approval_required";
|
|
1425
|
+
capability_denied: "capability_denied";
|
|
1213
1426
|
validation_failed: "validation_failed";
|
|
1427
|
+
provider_unavailable: "provider_unavailable";
|
|
1214
1428
|
execution_failed: "execution_failed";
|
|
1215
|
-
output_truncated: "output_truncated";
|
|
1216
|
-
timeout: "timeout";
|
|
1217
1429
|
cancelled: "cancelled";
|
|
1430
|
+
timeout: "timeout";
|
|
1431
|
+
output_truncated: "output_truncated";
|
|
1218
1432
|
artifact_unavailable: "artifact_unavailable";
|
|
1219
1433
|
}>;
|
|
1220
1434
|
level: z.ZodEnum<{
|
|
@@ -1228,29 +1442,29 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1228
1442
|
}, z.core.$strict>>>;
|
|
1229
1443
|
error: z.ZodObject<{
|
|
1230
1444
|
code: z.ZodEnum<{
|
|
1231
|
-
|
|
1232
|
-
|
|
1445
|
+
invalid_request: "invalid_request";
|
|
1446
|
+
not_found: "not_found";
|
|
1447
|
+
not_authorized: "not_authorized";
|
|
1233
1448
|
approval_required: "approval_required";
|
|
1449
|
+
capability_denied: "capability_denied";
|
|
1234
1450
|
validation_failed: "validation_failed";
|
|
1451
|
+
provider_unavailable: "provider_unavailable";
|
|
1235
1452
|
execution_failed: "execution_failed";
|
|
1236
|
-
timeout: "timeout";
|
|
1237
1453
|
cancelled: "cancelled";
|
|
1238
|
-
|
|
1239
|
-
not_found: "not_found";
|
|
1240
|
-
not_authorized: "not_authorized";
|
|
1454
|
+
timeout: "timeout";
|
|
1241
1455
|
}>;
|
|
1242
1456
|
message: z.ZodString;
|
|
1243
1457
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1244
1458
|
safeDiagnostic: z.ZodOptional<z.ZodObject<{
|
|
1245
1459
|
code: z.ZodEnum<{
|
|
1246
|
-
provider_unavailable: "provider_unavailable";
|
|
1247
|
-
capability_denied: "capability_denied";
|
|
1248
1460
|
approval_required: "approval_required";
|
|
1461
|
+
capability_denied: "capability_denied";
|
|
1249
1462
|
validation_failed: "validation_failed";
|
|
1463
|
+
provider_unavailable: "provider_unavailable";
|
|
1250
1464
|
execution_failed: "execution_failed";
|
|
1251
|
-
output_truncated: "output_truncated";
|
|
1252
|
-
timeout: "timeout";
|
|
1253
1465
|
cancelled: "cancelled";
|
|
1466
|
+
timeout: "timeout";
|
|
1467
|
+
output_truncated: "output_truncated";
|
|
1254
1468
|
artifact_unavailable: "artifact_unavailable";
|
|
1255
1469
|
}>;
|
|
1256
1470
|
level: z.ZodEnum<{
|
|
@@ -1267,5 +1481,5 @@ declare const PortalGenericItemResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1267
1481
|
status: z.ZodLiteral<"error">;
|
|
1268
1482
|
}, z.core.$strict>], "status">;
|
|
1269
1483
|
//#endregion
|
|
1270
|
-
export {
|
|
1271
|
-
//# sourceMappingURL=portal-call-result-schema-
|
|
1484
|
+
export { PortalCallRequestSchema as C, PortalCallRequest as S, PortalSearchResult as _, PortalCallResultSchema as a, PortalBatchMaxItems as b, PortalDescribeResult as c, PortalListItemResultSchema as d, PortalListItemValueSchema as f, PortalSearchItemValueSchema as g, PortalSearchItemResultSchema as h, PortalCallResult as i, PortalDescribeResultSchema as l, PortalListResultSchema as m, PortalApprovalRequiredCallItemResultSchema as n, PortalDescribeItemResultSchema as o, PortalListResult as p, PortalCallItemResultSchema as r, PortalDescribeItemValueSchema as s, PortalApprovalChallengeSchema as t, PortalGenericItemResultSchema as u, PortalSearchResultSchema as v, PortalCallItemRequestSchema as x, TruncationMetadataSchema as y };
|
|
1485
|
+
//# sourceMappingURL=portal-call-result-schema-wSCaz3mC.d.ts.map
|