@makaio/framework 1.0.0-dev-1790165411632 → 1.0.0-dev-1790248497521
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/dist/.makaio-build.json +2 -2
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/artifact-DF2UJsjP.mjs +1 -0
- package/dist/bridge/pty-bridge.cjs +222 -0
- package/dist/bus/index.d.mts +20 -20
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-DgpPEPoM.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/index.d.mts +162 -162
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/reaction/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/framework-packages-mquh5_Yw.mjs +1 -0
- package/dist/{index-C9Dz8UoK2.d.mts → index-2YW8DTb62.d.mts} +6 -6
- package/dist/{index-B7KgjUmJ2.d.mts → index-6UlianLY2.d.mts} +4 -4
- package/dist/{index-BRF5X-EZ.d.mts → index-BRXETFym.d.mts} +9 -1
- package/dist/{index-BDTcg6tu.d.mts → index-BV3nQpdO.d.mts} +100 -100
- package/dist/{index-B1uHTa1l.d.mts → index-BZQ3OviE.d.mts} +1 -1
- package/dist/{index-z_wA9LhQ.d.mts → index-Bon00c4i.d.mts} +38 -1
- package/dist/{index-DyzmUD1S.d.mts → index-BrMihjbI.d.mts} +19 -19
- package/dist/{index-BVG-RaIu.d.mts → index-C4VB63lu.d.mts} +76 -76
- package/dist/{index-DRSeELQh.d.mts → index-CEX9qfLa.d.mts} +1 -1
- package/dist/{index-QYdQSOnc2.d.mts → index-CydQ1dLS2.d.mts} +6 -6
- package/dist/{index-CI5ss_XH.d.mts → index-D5Lw1UsO.d.mts} +339 -339
- package/dist/{index-BUxs65tf.d.mts → index-DDCixELI.d.mts} +1 -1
- package/dist/{index-8hJCLlAE.d.mts → index-DJLRXASA.d.mts} +11 -11
- package/dist/{index-CmTVBNCe.d.mts → index-Dcwee5Cl.d.mts} +372 -296
- package/dist/{index-CDuEmakt2.d.mts → index-LCumcYK12.d.mts} +378 -378
- package/dist/{index-qtH2O8j_.d.mts → index-QgSmUedN.d.mts} +6 -6
- package/dist/{index-BnNNfBck.d.mts → index-rkN_9bde.d.mts} +12 -12
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
- package/dist/{namespace-Bz0ZDWhE.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
- package/dist/{namespace-BhpzgnH3.d.mts → namespace-C5tKjqgb.d.mts} +1 -1
- package/dist/{namespace-CNX4llM5.d.mts → namespace-D8oTiLLo.d.mts} +12 -12
- package/dist/{namespace-B0__88KU.d.mts → namespace-HLrZerLd.d.mts} +154 -154
- package/dist/{namespace-BaUgxONS.d.mts → namespace-KomML5ti.d.mts} +2 -2
- package/dist/{package-jjugnMVh.d.mts → package-BswWlFSn.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/reaction-DVa5lwm5.mjs +1 -0
- package/dist/{schemas-DFamD1UF.d.mts → schemas-BOT1HUv6.d.mts} +154 -154
- package/dist/{schemas-KyQQPGjX.d.mts → schemas-CrOeGZHg.d.mts} +11 -11
- package/dist/{schemas-D9pXu76T.d.mts → schemas-__oTCzF6.d.mts} +8 -8
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +137 -100
- package/dist/services/index.mjs +1 -1
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +3 -3
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +8 -8
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{session-lineage-CmP7L5g2.d.mts → session-lineage-BQ9NWlt6.d.mts} +1 -1
- package/dist/{tools-ByDy0ueE.mjs → tools-K3DWA4Jr.mjs} +1 -1
- package/dist/{transition-CAtcgdUp.d.mts → transition-CSN6QoMp.d.mts} +1 -1
- package/dist/{types-BbqmHOM-.d.mts → types-BP_P1izV.d.mts} +350 -350
- package/dist/{view-builder-6YQFmKD6.d.mts → view-builder-2cR7vI7R.d.mts} +1 -1
- package/dist/{worker-B72n8bse.mjs → worker-YKEWHrx5.mjs} +1 -1
- package/dist/{workflow-D-X3rPsl.mjs → workflow-01evBylF.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +33 -33
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/{workflow-transitions-UOXY-VZa.mjs → workflow-transitions-C2BLDE5N.mjs} +1 -1
- package/package.json +1 -1
- package/dist/artifact-CKz9YQPu.mjs +0 -1
- package/dist/bus-D4DBDaoS.mjs +0 -9
- package/dist/framework-packages-C2tvdFmP.mjs +0 -1
- package/dist/reaction-C8WbJqLk.mjs +0 -1
- package/dist/{schemas-CuOZoC08.d.mts → schemas-CU2NE5Lg.d.mts} +8 -8
|
@@ -38,25 +38,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
38
38
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
39
39
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
40
40
|
sessionId: _$zod.ZodString;
|
|
41
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
42
|
-
fullName: _$zod.ZodString;
|
|
43
|
-
originalName: _$zod.ZodString;
|
|
44
|
-
serverName: _$zod.ZodString;
|
|
45
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
46
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
47
|
-
exposureMode: _$zod.ZodEnum<{
|
|
48
|
-
discovery: "discovery";
|
|
49
|
-
direct: "direct";
|
|
50
|
-
hidden: "hidden";
|
|
51
|
-
}>;
|
|
52
|
-
enabled: _$zod.ZodBoolean;
|
|
53
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
54
|
-
discovery: "discovery";
|
|
55
|
-
toolset: "toolset";
|
|
56
|
-
}>>;
|
|
57
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
58
|
-
exposed: _$zod.ZodBoolean;
|
|
59
|
-
}, _$zod_v4_core0.$strip>>;
|
|
60
41
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
61
42
|
name: _$zod.ZodString;
|
|
62
43
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -93,9 +74,28 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
93
74
|
type: _$zod.ZodLiteral<"http">;
|
|
94
75
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
95
76
|
exposureMode: _$zod.ZodEnum<{
|
|
77
|
+
direct: "direct";
|
|
96
78
|
discovery: "discovery";
|
|
79
|
+
}>;
|
|
80
|
+
}, _$zod_v4_core0.$strip>>;
|
|
81
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
82
|
+
fullName: _$zod.ZodString;
|
|
83
|
+
originalName: _$zod.ZodString;
|
|
84
|
+
serverName: _$zod.ZodString;
|
|
85
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
86
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
87
|
+
exposureMode: _$zod.ZodEnum<{
|
|
97
88
|
direct: "direct";
|
|
89
|
+
discovery: "discovery";
|
|
90
|
+
hidden: "hidden";
|
|
98
91
|
}>;
|
|
92
|
+
enabled: _$zod.ZodBoolean;
|
|
93
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
94
|
+
discovery: "discovery";
|
|
95
|
+
toolset: "toolset";
|
|
96
|
+
}>>;
|
|
97
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
98
|
+
exposed: _$zod.ZodBoolean;
|
|
99
99
|
}, _$zod_v4_core0.$strip>>;
|
|
100
100
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
101
101
|
fullName: _$zod.ZodString;
|
|
@@ -104,8 +104,8 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
104
104
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
105
105
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
106
106
|
exposureMode: _$zod.ZodEnum<{
|
|
107
|
-
discovery: "discovery";
|
|
108
107
|
direct: "direct";
|
|
108
|
+
discovery: "discovery";
|
|
109
109
|
hidden: "hidden";
|
|
110
110
|
}>;
|
|
111
111
|
enabled: _$zod.ZodBoolean;
|
|
@@ -135,18 +135,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
135
135
|
env?: Record<string, string> | undefined;
|
|
136
136
|
mcpSessionContext?: {
|
|
137
137
|
sessionId: string;
|
|
138
|
-
directTools: {
|
|
139
|
-
fullName: string;
|
|
140
|
-
originalName: string;
|
|
141
|
-
serverName: string;
|
|
142
|
-
inputSchema: Record<string, unknown>;
|
|
143
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
144
|
-
enabled: boolean;
|
|
145
|
-
exposed: boolean;
|
|
146
|
-
description?: string | undefined;
|
|
147
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
148
|
-
enabledAt?: number | undefined;
|
|
149
|
-
}[];
|
|
150
138
|
servers: {
|
|
151
139
|
name: string;
|
|
152
140
|
transport: {
|
|
@@ -174,14 +162,26 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
174
162
|
}[] | undefined;
|
|
175
163
|
alwaysLoad?: boolean | undefined;
|
|
176
164
|
};
|
|
177
|
-
exposureMode: "
|
|
165
|
+
exposureMode: "direct" | "discovery";
|
|
166
|
+
}[];
|
|
167
|
+
directTools: {
|
|
168
|
+
fullName: string;
|
|
169
|
+
originalName: string;
|
|
170
|
+
serverName: string;
|
|
171
|
+
inputSchema: Record<string, unknown>;
|
|
172
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
173
|
+
enabled: boolean;
|
|
174
|
+
exposed: boolean;
|
|
175
|
+
description?: string | undefined;
|
|
176
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
177
|
+
enabledAt?: number | undefined;
|
|
178
178
|
}[];
|
|
179
179
|
discoverableTools: {
|
|
180
180
|
fullName: string;
|
|
181
181
|
originalName: string;
|
|
182
182
|
serverName: string;
|
|
183
183
|
inputSchema: Record<string, unknown>;
|
|
184
|
-
exposureMode: "
|
|
184
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
185
185
|
enabled: boolean;
|
|
186
186
|
exposed: boolean;
|
|
187
187
|
description?: string | undefined;
|
|
@@ -210,18 +210,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
210
210
|
env?: Record<string, string> | undefined;
|
|
211
211
|
mcpSessionContext?: {
|
|
212
212
|
sessionId: string;
|
|
213
|
-
directTools: {
|
|
214
|
-
fullName: string;
|
|
215
|
-
originalName: string;
|
|
216
|
-
serverName: string;
|
|
217
|
-
inputSchema: Record<string, unknown>;
|
|
218
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
219
|
-
enabled: boolean;
|
|
220
|
-
exposed: boolean;
|
|
221
|
-
description?: string | undefined;
|
|
222
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
223
|
-
enabledAt?: number | undefined;
|
|
224
|
-
}[];
|
|
225
213
|
servers: {
|
|
226
214
|
name: string;
|
|
227
215
|
transport: {
|
|
@@ -249,14 +237,26 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
249
237
|
}[] | undefined;
|
|
250
238
|
alwaysLoad?: boolean | undefined;
|
|
251
239
|
};
|
|
252
|
-
exposureMode: "
|
|
240
|
+
exposureMode: "direct" | "discovery";
|
|
241
|
+
}[];
|
|
242
|
+
directTools: {
|
|
243
|
+
fullName: string;
|
|
244
|
+
originalName: string;
|
|
245
|
+
serverName: string;
|
|
246
|
+
inputSchema: Record<string, unknown>;
|
|
247
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
248
|
+
enabled: boolean;
|
|
249
|
+
exposed: boolean;
|
|
250
|
+
description?: string | undefined;
|
|
251
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
252
|
+
enabledAt?: number | undefined;
|
|
253
253
|
}[];
|
|
254
254
|
discoverableTools: {
|
|
255
255
|
fullName: string;
|
|
256
256
|
originalName: string;
|
|
257
257
|
serverName: string;
|
|
258
258
|
inputSchema: Record<string, unknown>;
|
|
259
|
-
exposureMode: "
|
|
259
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
260
260
|
enabled: boolean;
|
|
261
261
|
exposed: boolean;
|
|
262
262
|
description?: string | undefined;
|
|
@@ -282,18 +282,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
282
282
|
env?: Record<string, string> | undefined;
|
|
283
283
|
mcpSessionContext?: {
|
|
284
284
|
sessionId: string;
|
|
285
|
-
directTools: {
|
|
286
|
-
fullName: string;
|
|
287
|
-
originalName: string;
|
|
288
|
-
serverName: string;
|
|
289
|
-
inputSchema: Record<string, unknown>;
|
|
290
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
291
|
-
enabled: boolean;
|
|
292
|
-
exposed: boolean;
|
|
293
|
-
description?: string | undefined;
|
|
294
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
295
|
-
enabledAt?: number | undefined;
|
|
296
|
-
}[];
|
|
297
285
|
servers: {
|
|
298
286
|
name: string;
|
|
299
287
|
transport: {
|
|
@@ -321,14 +309,26 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
321
309
|
}[] | undefined;
|
|
322
310
|
alwaysLoad?: boolean | undefined;
|
|
323
311
|
};
|
|
324
|
-
exposureMode: "
|
|
312
|
+
exposureMode: "direct" | "discovery";
|
|
313
|
+
}[];
|
|
314
|
+
directTools: {
|
|
315
|
+
fullName: string;
|
|
316
|
+
originalName: string;
|
|
317
|
+
serverName: string;
|
|
318
|
+
inputSchema: Record<string, unknown>;
|
|
319
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
320
|
+
enabled: boolean;
|
|
321
|
+
exposed: boolean;
|
|
322
|
+
description?: string | undefined;
|
|
323
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
324
|
+
enabledAt?: number | undefined;
|
|
325
325
|
}[];
|
|
326
326
|
discoverableTools: {
|
|
327
327
|
fullName: string;
|
|
328
328
|
originalName: string;
|
|
329
329
|
serverName: string;
|
|
330
330
|
inputSchema: Record<string, unknown>;
|
|
331
|
-
exposureMode: "
|
|
331
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
332
332
|
enabled: boolean;
|
|
333
333
|
exposed: boolean;
|
|
334
334
|
description?: string | undefined;
|
|
@@ -357,18 +357,6 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
357
357
|
env?: Record<string, string> | undefined;
|
|
358
358
|
mcpSessionContext?: {
|
|
359
359
|
sessionId: string;
|
|
360
|
-
directTools: {
|
|
361
|
-
fullName: string;
|
|
362
|
-
originalName: string;
|
|
363
|
-
serverName: string;
|
|
364
|
-
inputSchema: Record<string, unknown>;
|
|
365
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
366
|
-
enabled: boolean;
|
|
367
|
-
exposed: boolean;
|
|
368
|
-
description?: string | undefined;
|
|
369
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
370
|
-
enabledAt?: number | undefined;
|
|
371
|
-
}[];
|
|
372
360
|
servers: {
|
|
373
361
|
name: string;
|
|
374
362
|
transport: {
|
|
@@ -396,14 +384,26 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
396
384
|
}[] | undefined;
|
|
397
385
|
alwaysLoad?: boolean | undefined;
|
|
398
386
|
};
|
|
399
|
-
exposureMode: "
|
|
387
|
+
exposureMode: "direct" | "discovery";
|
|
388
|
+
}[];
|
|
389
|
+
directTools: {
|
|
390
|
+
fullName: string;
|
|
391
|
+
originalName: string;
|
|
392
|
+
serverName: string;
|
|
393
|
+
inputSchema: Record<string, unknown>;
|
|
394
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
395
|
+
enabled: boolean;
|
|
396
|
+
exposed: boolean;
|
|
397
|
+
description?: string | undefined;
|
|
398
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
399
|
+
enabledAt?: number | undefined;
|
|
400
400
|
}[];
|
|
401
401
|
discoverableTools: {
|
|
402
402
|
fullName: string;
|
|
403
403
|
originalName: string;
|
|
404
404
|
serverName: string;
|
|
405
405
|
inputSchema: Record<string, unknown>;
|
|
406
|
-
exposureMode: "
|
|
406
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
407
407
|
enabled: boolean;
|
|
408
408
|
exposed: boolean;
|
|
409
409
|
description?: string | undefined;
|
|
@@ -434,9 +434,9 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
434
434
|
status: _$zod.ZodEnum<{
|
|
435
435
|
completed: "completed";
|
|
436
436
|
cancelled: "cancelled";
|
|
437
|
+
failed: "failed";
|
|
437
438
|
running: "running";
|
|
438
439
|
waiting_input: "waiting_input";
|
|
439
|
-
failed: "failed";
|
|
440
440
|
}>;
|
|
441
441
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
442
442
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -497,25 +497,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
497
497
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
498
498
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
499
499
|
sessionId: _$zod.ZodString;
|
|
500
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
501
|
-
fullName: _$zod.ZodString;
|
|
502
|
-
originalName: _$zod.ZodString;
|
|
503
|
-
serverName: _$zod.ZodString;
|
|
504
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
505
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
506
|
-
exposureMode: _$zod.ZodEnum<{
|
|
507
|
-
discovery: "discovery";
|
|
508
|
-
direct: "direct";
|
|
509
|
-
hidden: "hidden";
|
|
510
|
-
}>;
|
|
511
|
-
enabled: _$zod.ZodBoolean;
|
|
512
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
513
|
-
discovery: "discovery";
|
|
514
|
-
toolset: "toolset";
|
|
515
|
-
}>>;
|
|
516
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
517
|
-
exposed: _$zod.ZodBoolean;
|
|
518
|
-
}, _$zod_v4_core0.$strip>>;
|
|
519
500
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
520
501
|
name: _$zod.ZodString;
|
|
521
502
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -552,9 +533,28 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
552
533
|
type: _$zod.ZodLiteral<"http">;
|
|
553
534
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
554
535
|
exposureMode: _$zod.ZodEnum<{
|
|
536
|
+
direct: "direct";
|
|
555
537
|
discovery: "discovery";
|
|
538
|
+
}>;
|
|
539
|
+
}, _$zod_v4_core0.$strip>>;
|
|
540
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
541
|
+
fullName: _$zod.ZodString;
|
|
542
|
+
originalName: _$zod.ZodString;
|
|
543
|
+
serverName: _$zod.ZodString;
|
|
544
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
545
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
546
|
+
exposureMode: _$zod.ZodEnum<{
|
|
556
547
|
direct: "direct";
|
|
548
|
+
discovery: "discovery";
|
|
549
|
+
hidden: "hidden";
|
|
557
550
|
}>;
|
|
551
|
+
enabled: _$zod.ZodBoolean;
|
|
552
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
553
|
+
discovery: "discovery";
|
|
554
|
+
toolset: "toolset";
|
|
555
|
+
}>>;
|
|
556
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
557
|
+
exposed: _$zod.ZodBoolean;
|
|
558
558
|
}, _$zod_v4_core0.$strip>>;
|
|
559
559
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
560
560
|
fullName: _$zod.ZodString;
|
|
@@ -563,8 +563,8 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
563
563
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
564
564
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
565
565
|
exposureMode: _$zod.ZodEnum<{
|
|
566
|
-
discovery: "discovery";
|
|
567
566
|
direct: "direct";
|
|
567
|
+
discovery: "discovery";
|
|
568
568
|
hidden: "hidden";
|
|
569
569
|
}>;
|
|
570
570
|
enabled: _$zod.ZodBoolean;
|
|
@@ -594,18 +594,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
594
594
|
env?: Record<string, string> | undefined;
|
|
595
595
|
mcpSessionContext?: {
|
|
596
596
|
sessionId: string;
|
|
597
|
-
directTools: {
|
|
598
|
-
fullName: string;
|
|
599
|
-
originalName: string;
|
|
600
|
-
serverName: string;
|
|
601
|
-
inputSchema: Record<string, unknown>;
|
|
602
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
603
|
-
enabled: boolean;
|
|
604
|
-
exposed: boolean;
|
|
605
|
-
description?: string | undefined;
|
|
606
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
607
|
-
enabledAt?: number | undefined;
|
|
608
|
-
}[];
|
|
609
597
|
servers: {
|
|
610
598
|
name: string;
|
|
611
599
|
transport: {
|
|
@@ -633,14 +621,26 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
633
621
|
}[] | undefined;
|
|
634
622
|
alwaysLoad?: boolean | undefined;
|
|
635
623
|
};
|
|
636
|
-
exposureMode: "
|
|
624
|
+
exposureMode: "direct" | "discovery";
|
|
625
|
+
}[];
|
|
626
|
+
directTools: {
|
|
627
|
+
fullName: string;
|
|
628
|
+
originalName: string;
|
|
629
|
+
serverName: string;
|
|
630
|
+
inputSchema: Record<string, unknown>;
|
|
631
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
632
|
+
enabled: boolean;
|
|
633
|
+
exposed: boolean;
|
|
634
|
+
description?: string | undefined;
|
|
635
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
636
|
+
enabledAt?: number | undefined;
|
|
637
637
|
}[];
|
|
638
638
|
discoverableTools: {
|
|
639
639
|
fullName: string;
|
|
640
640
|
originalName: string;
|
|
641
641
|
serverName: string;
|
|
642
642
|
inputSchema: Record<string, unknown>;
|
|
643
|
-
exposureMode: "
|
|
643
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
644
644
|
enabled: boolean;
|
|
645
645
|
exposed: boolean;
|
|
646
646
|
description?: string | undefined;
|
|
@@ -669,18 +669,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
669
669
|
env?: Record<string, string> | undefined;
|
|
670
670
|
mcpSessionContext?: {
|
|
671
671
|
sessionId: string;
|
|
672
|
-
directTools: {
|
|
673
|
-
fullName: string;
|
|
674
|
-
originalName: string;
|
|
675
|
-
serverName: string;
|
|
676
|
-
inputSchema: Record<string, unknown>;
|
|
677
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
678
|
-
enabled: boolean;
|
|
679
|
-
exposed: boolean;
|
|
680
|
-
description?: string | undefined;
|
|
681
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
682
|
-
enabledAt?: number | undefined;
|
|
683
|
-
}[];
|
|
684
672
|
servers: {
|
|
685
673
|
name: string;
|
|
686
674
|
transport: {
|
|
@@ -708,14 +696,26 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
708
696
|
}[] | undefined;
|
|
709
697
|
alwaysLoad?: boolean | undefined;
|
|
710
698
|
};
|
|
711
|
-
exposureMode: "
|
|
699
|
+
exposureMode: "direct" | "discovery";
|
|
700
|
+
}[];
|
|
701
|
+
directTools: {
|
|
702
|
+
fullName: string;
|
|
703
|
+
originalName: string;
|
|
704
|
+
serverName: string;
|
|
705
|
+
inputSchema: Record<string, unknown>;
|
|
706
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
707
|
+
enabled: boolean;
|
|
708
|
+
exposed: boolean;
|
|
709
|
+
description?: string | undefined;
|
|
710
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
711
|
+
enabledAt?: number | undefined;
|
|
712
712
|
}[];
|
|
713
713
|
discoverableTools: {
|
|
714
714
|
fullName: string;
|
|
715
715
|
originalName: string;
|
|
716
716
|
serverName: string;
|
|
717
717
|
inputSchema: Record<string, unknown>;
|
|
718
|
-
exposureMode: "
|
|
718
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
719
719
|
enabled: boolean;
|
|
720
720
|
exposed: boolean;
|
|
721
721
|
description?: string | undefined;
|
|
@@ -741,18 +741,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
741
741
|
env?: Record<string, string> | undefined;
|
|
742
742
|
mcpSessionContext?: {
|
|
743
743
|
sessionId: string;
|
|
744
|
-
directTools: {
|
|
745
|
-
fullName: string;
|
|
746
|
-
originalName: string;
|
|
747
|
-
serverName: string;
|
|
748
|
-
inputSchema: Record<string, unknown>;
|
|
749
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
750
|
-
enabled: boolean;
|
|
751
|
-
exposed: boolean;
|
|
752
|
-
description?: string | undefined;
|
|
753
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
754
|
-
enabledAt?: number | undefined;
|
|
755
|
-
}[];
|
|
756
744
|
servers: {
|
|
757
745
|
name: string;
|
|
758
746
|
transport: {
|
|
@@ -780,14 +768,26 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
780
768
|
}[] | undefined;
|
|
781
769
|
alwaysLoad?: boolean | undefined;
|
|
782
770
|
};
|
|
783
|
-
exposureMode: "
|
|
771
|
+
exposureMode: "direct" | "discovery";
|
|
772
|
+
}[];
|
|
773
|
+
directTools: {
|
|
774
|
+
fullName: string;
|
|
775
|
+
originalName: string;
|
|
776
|
+
serverName: string;
|
|
777
|
+
inputSchema: Record<string, unknown>;
|
|
778
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
779
|
+
enabled: boolean;
|
|
780
|
+
exposed: boolean;
|
|
781
|
+
description?: string | undefined;
|
|
782
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
783
|
+
enabledAt?: number | undefined;
|
|
784
784
|
}[];
|
|
785
785
|
discoverableTools: {
|
|
786
786
|
fullName: string;
|
|
787
787
|
originalName: string;
|
|
788
788
|
serverName: string;
|
|
789
789
|
inputSchema: Record<string, unknown>;
|
|
790
|
-
exposureMode: "
|
|
790
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
791
791
|
enabled: boolean;
|
|
792
792
|
exposed: boolean;
|
|
793
793
|
description?: string | undefined;
|
|
@@ -816,18 +816,6 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
816
816
|
env?: Record<string, string> | undefined;
|
|
817
817
|
mcpSessionContext?: {
|
|
818
818
|
sessionId: string;
|
|
819
|
-
directTools: {
|
|
820
|
-
fullName: string;
|
|
821
|
-
originalName: string;
|
|
822
|
-
serverName: string;
|
|
823
|
-
inputSchema: Record<string, unknown>;
|
|
824
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
825
|
-
enabled: boolean;
|
|
826
|
-
exposed: boolean;
|
|
827
|
-
description?: string | undefined;
|
|
828
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
829
|
-
enabledAt?: number | undefined;
|
|
830
|
-
}[];
|
|
831
819
|
servers: {
|
|
832
820
|
name: string;
|
|
833
821
|
transport: {
|
|
@@ -855,14 +843,26 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
855
843
|
}[] | undefined;
|
|
856
844
|
alwaysLoad?: boolean | undefined;
|
|
857
845
|
};
|
|
858
|
-
exposureMode: "
|
|
846
|
+
exposureMode: "direct" | "discovery";
|
|
847
|
+
}[];
|
|
848
|
+
directTools: {
|
|
849
|
+
fullName: string;
|
|
850
|
+
originalName: string;
|
|
851
|
+
serverName: string;
|
|
852
|
+
inputSchema: Record<string, unknown>;
|
|
853
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
854
|
+
enabled: boolean;
|
|
855
|
+
exposed: boolean;
|
|
856
|
+
description?: string | undefined;
|
|
857
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
858
|
+
enabledAt?: number | undefined;
|
|
859
859
|
}[];
|
|
860
860
|
discoverableTools: {
|
|
861
861
|
fullName: string;
|
|
862
862
|
originalName: string;
|
|
863
863
|
serverName: string;
|
|
864
864
|
inputSchema: Record<string, unknown>;
|
|
865
|
-
exposureMode: "
|
|
865
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
866
866
|
enabled: boolean;
|
|
867
867
|
exposed: boolean;
|
|
868
868
|
description?: string | undefined;
|
|
@@ -893,9 +893,9 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
893
893
|
status: _$zod.ZodEnum<{
|
|
894
894
|
completed: "completed";
|
|
895
895
|
cancelled: "cancelled";
|
|
896
|
+
failed: "failed";
|
|
896
897
|
running: "running";
|
|
897
898
|
waiting_input: "waiting_input";
|
|
898
|
-
failed: "failed";
|
|
899
899
|
}>;
|
|
900
900
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
901
901
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -37,9 +37,9 @@ declare const SubagentTemplateKernelNamespace: _$_makaio_core0.BusNamespaceDefin
|
|
|
37
37
|
status: _$zod.ZodEnum<{
|
|
38
38
|
completed: "completed";
|
|
39
39
|
cancelled: "cancelled";
|
|
40
|
+
failed: "failed";
|
|
40
41
|
running: "running";
|
|
41
42
|
waiting_input: "waiting_input";
|
|
42
|
-
failed: "failed";
|
|
43
43
|
}>;
|
|
44
44
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
45
45
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -101,9 +101,9 @@ declare const SubagentTemplateSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
101
101
|
status: _$zod.ZodEnum<{
|
|
102
102
|
completed: "completed";
|
|
103
103
|
cancelled: "cancelled";
|
|
104
|
+
failed: "failed";
|
|
104
105
|
running: "running";
|
|
105
106
|
waiting_input: "waiting_input";
|
|
106
|
-
failed: "failed";
|
|
107
107
|
}>;
|
|
108
108
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
109
109
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -865,9 +865,9 @@ declare const WorkflowAttemptOutcomeSchema: z.ZodUnion<readonly [z.ZodDiscrimina
|
|
|
865
865
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
866
866
|
level: z.ZodEnum<{
|
|
867
867
|
inferred: "inferred";
|
|
868
|
+
confirmed: "confirmed";
|
|
868
869
|
assumed: "assumed";
|
|
869
870
|
stated: "stated";
|
|
870
|
-
confirmed: "confirmed";
|
|
871
871
|
verified: "verified";
|
|
872
872
|
}>;
|
|
873
873
|
basis: z.ZodArray<z.ZodObject<{
|
package/dist/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./json-value-DM-EjTC1.mjs";import{t}from"./zod-json-schema-ZUmGtQhT.mjs";import{z as n}from"zod";const r=n.object({kind:n.string().min(1),description:n.string().min(1),parameterSchema:e}),i=n.discriminatedUnion(`success`,[n.object({success:n.literal(!0)}),n.object({success:n.literal(!1),error:n.object({code:n.enum([`unknown-reaction`,`invalid-parameters`,`cancelled`,`handler-failed`]),message:n.string()})})]);function a(e){return e}function o(e){let{kind:n,description:i,parameterSchema:a,handler:o}=e,s=r.parse({kind:n,description:i,parameterSchema:t(a,`input`)});return{kind:n,description:i,parameterSchema:a,handler:o,toDescriptor:()=>structuredClone(s)}}export{i,a as n,r,o as t};
|