@agent-vm/agent-portal-sdk 0.0.120 → 0.0.121

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.
Files changed (100) hide show
  1. package/dist/adapter-boundary/index.d.ts +2 -0
  2. package/dist/adapter-boundary/index.js +2 -0
  3. package/dist/adapter-boundary-BIagsTUH.js +29 -0
  4. package/dist/adapter-boundary-BIagsTUH.js.map +1 -0
  5. package/dist/approval-surface/index.d.ts +2 -0
  6. package/dist/approval-surface/index.js +2 -0
  7. package/dist/approval-surface-en5VAY5h.js +20 -0
  8. package/dist/approval-surface-en5VAY5h.js.map +1 -0
  9. package/dist/artifact-reference-schema-CiEjxYPd.js +13 -0
  10. package/dist/artifact-reference-schema-CiEjxYPd.js.map +1 -0
  11. package/dist/artifact-surface/index.d.ts +2 -0
  12. package/dist/artifact-surface/index.js +3 -0
  13. package/dist/artifact-surface-BstQxq6b.js +65 -0
  14. package/dist/artifact-surface-BstQxq6b.js.map +1 -0
  15. package/dist/capability-description-surface/index.d.ts +2 -0
  16. package/dist/capability-description-surface/index.js +3 -0
  17. package/dist/capability-description-surface-BdzknTKT.js +2 -0
  18. package/dist/capability-descriptor-schema-zRnfGjBc.js +86 -0
  19. package/dist/capability-descriptor-schema-zRnfGjBc.js.map +1 -0
  20. package/dist/cli/tool-portal.d.ts +1 -0
  21. package/dist/cli/tool-portal.js +207 -0
  22. package/dist/cli/tool-portal.js.map +1 -0
  23. package/dist/contracts/index.d.ts +2 -0
  24. package/dist/contracts/index.js +2 -0
  25. package/dist/contracts-RgGW0RX2.js +611 -0
  26. package/dist/contracts-RgGW0RX2.js.map +1 -0
  27. package/dist/gateway-runtime-client/index.d.ts +385 -0
  28. package/dist/gateway-runtime-client/index.d.ts.map +1 -0
  29. package/dist/gateway-runtime-client/index.js +1439 -0
  30. package/dist/gateway-runtime-client/index.js.map +1 -0
  31. package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.d.ts +1 -0
  32. package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js +125 -0
  33. package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js.map +1 -0
  34. package/dist/gateway-runtime-local-exec/index.d.ts +54 -0
  35. package/dist/gateway-runtime-local-exec/index.d.ts.map +1 -0
  36. package/dist/gateway-runtime-local-exec/index.js +2 -0
  37. package/dist/gateway-runtime-local-exec-transport-B1hy2A3Q.js +427 -0
  38. package/dist/gateway-runtime-local-exec-transport-B1hy2A3Q.js.map +1 -0
  39. package/dist/index-B5hgm1KH.d.ts +84 -0
  40. package/dist/index-B5hgm1KH.d.ts.map +1 -0
  41. package/dist/index-BWE2_BcN.d.ts +64 -0
  42. package/dist/index-BWE2_BcN.d.ts.map +1 -0
  43. package/dist/index-Bdnvj5j3.d.ts +142 -0
  44. package/dist/index-Bdnvj5j3.d.ts.map +1 -0
  45. package/dist/index-BmH68K78.d.ts +41 -0
  46. package/dist/index-BmH68K78.d.ts.map +1 -0
  47. package/dist/index-C-NPMMvc.d.ts +2396 -0
  48. package/dist/index-C-NPMMvc.d.ts.map +1 -0
  49. package/dist/index-DKBSYuxW.d.ts +239 -0
  50. package/dist/index-DKBSYuxW.d.ts.map +1 -0
  51. package/dist/index-Dj4galCJ.d.ts +17 -0
  52. package/dist/index-Dj4galCJ.d.ts.map +1 -0
  53. package/dist/index-Dxoz-ORl.d.ts +229 -0
  54. package/dist/index-Dxoz-ORl.d.ts.map +1 -0
  55. package/dist/index-v8suC0qe.d.ts +69 -0
  56. package/dist/index-v8suC0qe.d.ts.map +1 -0
  57. package/dist/index-yeFGRMdv.d.ts +152 -0
  58. package/dist/index-yeFGRMdv.d.ts.map +1 -0
  59. package/dist/index.d.ts +12 -0
  60. package/dist/index.js +16 -0
  61. package/dist/json-value-schema-M87sjwWL.d.ts +18 -0
  62. package/dist/json-value-schema-M87sjwWL.d.ts.map +1 -0
  63. package/dist/json-value-schema-hdPkabRZ.js +29 -0
  64. package/dist/json-value-schema-hdPkabRZ.js.map +1 -0
  65. package/dist/node-tool-portal-mcp-transport-Cl2VKbLY.js +156 -0
  66. package/dist/node-tool-portal-mcp-transport-Cl2VKbLY.js.map +1 -0
  67. package/dist/portable-contracts/index.d.ts +2 -0
  68. package/dist/portable-contracts/index.js +3 -0
  69. package/dist/portable-contracts-Bca33zVa.js +326 -0
  70. package/dist/portable-contracts-Bca33zVa.js.map +1 -0
  71. package/dist/portable-refinement-authoring-ZSmR-amG.js +196 -0
  72. package/dist/portable-refinement-authoring-ZSmR-amG.js.map +1 -0
  73. package/dist/portal-call-request-schema-Cp6CMGs9.js +41 -0
  74. package/dist/portal-call-request-schema-Cp6CMGs9.js.map +1 -0
  75. package/dist/portal-call-result-schema-ByxHRCEN.js +158 -0
  76. package/dist/portal-call-result-schema-ByxHRCEN.js.map +1 -0
  77. package/dist/portal-call-result-schema-wSCaz3mC.d.ts +1485 -0
  78. package/dist/portal-call-result-schema-wSCaz3mC.d.ts.map +1 -0
  79. package/dist/portal-call-surface/index.d.ts +3 -0
  80. package/dist/portal-call-surface/index.js +5 -0
  81. package/dist/portal-call-surface-DjZVquFt.js +83 -0
  82. package/dist/portal-call-surface-DjZVquFt.js.map +1 -0
  83. package/dist/portal-error-schema-CQHgoFq4.js +71 -0
  84. package/dist/portal-error-schema-CQHgoFq4.js.map +1 -0
  85. package/dist/portal-event-surface/index.d.ts +2 -0
  86. package/dist/portal-event-surface/index.js +3 -0
  87. package/dist/portal-event-surface-CdScrgoN.js +51 -0
  88. package/dist/portal-event-surface-CdScrgoN.js.map +1 -0
  89. package/dist/testing/index.d.ts +19 -0
  90. package/dist/testing/index.d.ts.map +1 -0
  91. package/dist/testing/index.js +36 -0
  92. package/dist/testing/index.js.map +1 -0
  93. package/dist/tool-portal-mcp-client/index.d.ts +2 -0
  94. package/dist/tool-portal-mcp-client/index.js +2 -0
  95. package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +17 -0
  96. package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts.map +1 -0
  97. package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.js +2 -0
  98. package/dist/tool-portal-mcp-client-DwJF-48Y.js +90 -0
  99. package/dist/tool-portal-mcp-client-DwJF-48Y.js.map +1 -0
  100. package/package.json +1 -1
@@ -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
+ text: "text";
62
+ json: "json";
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-Bdnvj5j3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-Bdnvj5j3.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"}
@@ -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"}