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

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