@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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/adapter-boundary/models/portal-adapter-envelope-schema.d.ts
|
|
4
|
+
declare const TrustedAgentScopeSchema: z.ZodObject<{
|
|
5
|
+
agentId: z.ZodString;
|
|
6
|
+
profileId: z.ZodString;
|
|
7
|
+
source: z.ZodEnum<{
|
|
8
|
+
"mcp-portal": "mcp-portal";
|
|
9
|
+
"tool-portal": "tool-portal";
|
|
10
|
+
"openclaw-plugin": "openclaw-plugin";
|
|
11
|
+
controller: "controller";
|
|
12
|
+
}>;
|
|
13
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
type TrustedAgentScope = z.infer<typeof TrustedAgentScopeSchema>;
|
|
16
|
+
declare const PortalAdapterEnvelopeSchema: z.ZodObject<{
|
|
17
|
+
adapter: z.ZodEnum<{
|
|
18
|
+
"tool-portal": "tool-portal";
|
|
19
|
+
"openclaw-plugin": "openclaw-plugin";
|
|
20
|
+
"mcp-provider": "mcp-provider";
|
|
21
|
+
cli: "cli";
|
|
22
|
+
sdk: "sdk";
|
|
23
|
+
"http-api": "http-api";
|
|
24
|
+
}>;
|
|
25
|
+
auditCorrelationId: z.ZodOptional<z.ZodString>;
|
|
26
|
+
trustedScope: z.ZodObject<{
|
|
27
|
+
agentId: z.ZodString;
|
|
28
|
+
profileId: z.ZodString;
|
|
29
|
+
source: z.ZodEnum<{
|
|
30
|
+
"mcp-portal": "mcp-portal";
|
|
31
|
+
"tool-portal": "tool-portal";
|
|
32
|
+
"openclaw-plugin": "openclaw-plugin";
|
|
33
|
+
controller: "controller";
|
|
34
|
+
}>;
|
|
35
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
type PortalAdapterEnvelope = z.infer<typeof PortalAdapterEnvelopeSchema>;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { TrustedAgentScopeSchema as i, PortalAdapterEnvelopeSchema as n, TrustedAgentScope as r, PortalAdapterEnvelope as t };
|
|
41
|
+
//# sourceMappingURL=index-BmH68K78.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BmH68K78.d.ts","names":[],"sources":["../src/adapter-boundary/models/portal-adapter-envelope-schema.ts"],"mappings":";;;cAEa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;KASxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;KAQ5B,qBAAA,GAAwB,CAAA,CAAE,KAAA,QAAa,2BAAA"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { l as JsonValue } from "./json-value-schema-M87sjwWL.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region src/capability-description-surface/models/capability-descriptor-schema.d.ts
|
|
5
|
+
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
6
|
+
declare const ToolSchemaSummarySchema: z.ZodObject<{
|
|
7
|
+
optional: z.ZodArray<z.ZodString>;
|
|
8
|
+
propertyCount: z.ZodNumber;
|
|
9
|
+
required: z.ZodArray<z.ZodString>;
|
|
10
|
+
type: z.ZodString;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
type ToolSchemaSummary = z.infer<typeof ToolSchemaSummarySchema>;
|
|
13
|
+
declare const ToolSafetySummarySchema: z.ZodObject<{
|
|
14
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
type ToolSafetySummary = z.infer<typeof ToolSafetySummarySchema>;
|
|
18
|
+
declare const ToolSchemaHintSchema: z.ZodObject<{
|
|
19
|
+
message: z.ZodString;
|
|
20
|
+
next: z.ZodEnum<{
|
|
21
|
+
call_ready: "call_ready";
|
|
22
|
+
describe_before_call: "describe_before_call";
|
|
23
|
+
}>;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
type ToolSchemaHint = z.infer<typeof ToolSchemaHintSchema>;
|
|
26
|
+
declare const CapabilitySummarySchema: z.ZodObject<{
|
|
27
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28
|
+
input: z.ZodObject<{
|
|
29
|
+
optional: z.ZodArray<z.ZodString>;
|
|
30
|
+
propertyCount: z.ZodNumber;
|
|
31
|
+
required: z.ZodArray<z.ZodString>;
|
|
32
|
+
type: z.ZodString;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
namespace: z.ZodString;
|
|
35
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
optional: z.ZodArray<z.ZodString>;
|
|
37
|
+
propertyCount: z.ZodNumber;
|
|
38
|
+
required: z.ZodArray<z.ZodString>;
|
|
39
|
+
type: z.ZodString;
|
|
40
|
+
}, z.core.$strict>>;
|
|
41
|
+
safety: z.ZodObject<{
|
|
42
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
message: z.ZodString;
|
|
47
|
+
next: z.ZodEnum<{
|
|
48
|
+
call_ready: "call_ready";
|
|
49
|
+
describe_before_call: "describe_before_call";
|
|
50
|
+
}>;
|
|
51
|
+
}, z.core.$strict>>;
|
|
52
|
+
title: z.ZodOptional<z.ZodString>;
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
toolRef: z.ZodString;
|
|
55
|
+
}, z.core.$strict>;
|
|
56
|
+
type CapabilitySummary = z.infer<typeof CapabilitySummarySchema>;
|
|
57
|
+
declare const ResultExpectationSchema: z.ZodObject<{
|
|
58
|
+
canReturnArtifacts: z.ZodDefault<z.ZodBoolean>;
|
|
59
|
+
canStream: z.ZodDefault<z.ZodBoolean>;
|
|
60
|
+
kind: z.ZodEnum<{
|
|
61
|
+
json: "json";
|
|
62
|
+
text: "text";
|
|
63
|
+
binary_artifact: "binary_artifact";
|
|
64
|
+
mixed: "mixed";
|
|
65
|
+
}>;
|
|
66
|
+
outputJsonSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
67
|
+
truncation: z.ZodDefault<z.ZodEnum<{
|
|
68
|
+
possible: "possible";
|
|
69
|
+
expected: "expected";
|
|
70
|
+
none: "none";
|
|
71
|
+
}>>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
type ResultExpectation = z.infer<typeof ResultExpectationSchema>;
|
|
74
|
+
declare const SafeCallingHintSchema: z.ZodObject<{
|
|
75
|
+
code: z.ZodEnum<{
|
|
76
|
+
describe_before_call: "describe_before_call";
|
|
77
|
+
approval_may_be_required: "approval_may_be_required";
|
|
78
|
+
read_only: "read_only";
|
|
79
|
+
write_or_external_effect: "write_or_external_effect";
|
|
80
|
+
large_output_possible: "large_output_possible";
|
|
81
|
+
artifact_output_possible: "artifact_output_possible";
|
|
82
|
+
}>;
|
|
83
|
+
message: z.ZodString;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
type SafeCallingHint = z.infer<typeof SafeCallingHintSchema>;
|
|
86
|
+
declare const CapabilitySearchMatchSchema: z.ZodObject<{
|
|
87
|
+
description: z.ZodOptional<z.ZodString>;
|
|
88
|
+
input: z.ZodObject<{
|
|
89
|
+
optional: z.ZodArray<z.ZodString>;
|
|
90
|
+
propertyCount: z.ZodNumber;
|
|
91
|
+
required: z.ZodArray<z.ZodString>;
|
|
92
|
+
type: z.ZodString;
|
|
93
|
+
}, z.core.$strict>;
|
|
94
|
+
namespace: z.ZodString;
|
|
95
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
optional: z.ZodArray<z.ZodString>;
|
|
97
|
+
propertyCount: z.ZodNumber;
|
|
98
|
+
required: z.ZodArray<z.ZodString>;
|
|
99
|
+
type: z.ZodString;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
safety: z.ZodObject<{
|
|
102
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
message: z.ZodString;
|
|
107
|
+
next: z.ZodEnum<{
|
|
108
|
+
call_ready: "call_ready";
|
|
109
|
+
describe_before_call: "describe_before_call";
|
|
110
|
+
}>;
|
|
111
|
+
}, z.core.$strict>>;
|
|
112
|
+
title: z.ZodOptional<z.ZodString>;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
toolRef: z.ZodString;
|
|
115
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
116
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
117
|
+
relationshipHints: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
118
|
+
schemaFieldMatches: z.ZodOptional<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
type CapabilitySearchMatch = z.infer<typeof CapabilitySearchMatchSchema>;
|
|
121
|
+
declare const CapabilityDescriptorSchema: z.ZodObject<{
|
|
122
|
+
annotations: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
123
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
124
|
+
namespace: z.ZodString;
|
|
125
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
126
|
+
related: z.ZodDefault<z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
127
|
+
schemaHint: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
message: z.ZodString;
|
|
129
|
+
next: z.ZodEnum<{
|
|
130
|
+
call_ready: "call_ready";
|
|
131
|
+
describe_before_call: "describe_before_call";
|
|
132
|
+
}>;
|
|
133
|
+
}, z.core.$strict>>;
|
|
134
|
+
name: z.ZodString;
|
|
135
|
+
toolRef: z.ZodString;
|
|
136
|
+
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
137
|
+
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
type CapabilityDescriptor = z.infer<typeof CapabilityDescriptorSchema>;
|
|
140
|
+
//#endregion
|
|
141
|
+
export { ToolSchemaSummarySchema as _, CapabilitySummary as a, ResultExpectation as c, SafeCallingHintSchema as d, ToolSafetySummary as f, ToolSchemaSummary as g, ToolSchemaHintSchema as h, CapabilitySearchMatchSchema as i, ResultExpectationSchema as l, ToolSchemaHint as m, CapabilityDescriptorSchema as n, CapabilitySummarySchema as o, ToolSafetySummarySchema as p, CapabilitySearchMatch as r, JsonSchemaDocumentSchema as s, CapabilityDescriptor as t, SafeCallingHint as u };
|
|
142
|
+
//# sourceMappingURL=index-ByAhyVbI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-ByAhyVbI.d.ts","names":[],"sources":["../src/capability-description-surface/models/capability-descriptor-schema.ts"],"mappings":";;;;cAQa,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,OAAA,CAAA,SAAA,WAAA,CAAA,CAAA,IAAA,CAAA,iBAAA,CAAA,SAAA;AAAA,cAExB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;KASxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;KAOxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;KAOrB,cAAA,GAAiB,CAAA,CAAE,KAAA,QAAa,oBAAA;AAAA,cAE/B,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAcxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;KAUxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;KActB,eAAA,GAAkB,CAAA,CAAE,KAAA,QAAa,qBAAA;AAAA,cAEhC,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAO5B,qBAAA,GAAwB,CAAA,CAAE,KAAA,QAAa,2BAAA;AAAA,cAEtC,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;KAe3B,oBAAA,GAAuB,CAAA,CAAE,KAAA,QAAa,0BAAA"}
|