@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
|
@@ -37,25 +37,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
37
37
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
38
38
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
sessionId: z.ZodString;
|
|
40
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
41
|
-
fullName: z.ZodString;
|
|
42
|
-
originalName: z.ZodString;
|
|
43
|
-
serverName: z.ZodString;
|
|
44
|
-
description: z.ZodOptional<z.ZodString>;
|
|
45
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
46
|
-
exposureMode: z.ZodEnum<{
|
|
47
|
-
discovery: "discovery";
|
|
48
|
-
direct: "direct";
|
|
49
|
-
hidden: "hidden";
|
|
50
|
-
}>;
|
|
51
|
-
enabled: z.ZodBoolean;
|
|
52
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
53
|
-
discovery: "discovery";
|
|
54
|
-
toolset: "toolset";
|
|
55
|
-
}>>;
|
|
56
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
exposed: z.ZodBoolean;
|
|
58
|
-
}, z.core.$strip>>;
|
|
59
40
|
servers: z.ZodArray<z.ZodObject<{
|
|
60
41
|
name: z.ZodString;
|
|
61
42
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -92,9 +73,28 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
92
73
|
type: z.ZodLiteral<"http">;
|
|
93
74
|
}, z.core.$strip>], "type">;
|
|
94
75
|
exposureMode: z.ZodEnum<{
|
|
76
|
+
direct: "direct";
|
|
95
77
|
discovery: "discovery";
|
|
78
|
+
}>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
81
|
+
fullName: z.ZodString;
|
|
82
|
+
originalName: z.ZodString;
|
|
83
|
+
serverName: z.ZodString;
|
|
84
|
+
description: z.ZodOptional<z.ZodString>;
|
|
85
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
86
|
+
exposureMode: z.ZodEnum<{
|
|
96
87
|
direct: "direct";
|
|
88
|
+
discovery: "discovery";
|
|
89
|
+
hidden: "hidden";
|
|
97
90
|
}>;
|
|
91
|
+
enabled: z.ZodBoolean;
|
|
92
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
discovery: "discovery";
|
|
94
|
+
toolset: "toolset";
|
|
95
|
+
}>>;
|
|
96
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
exposed: z.ZodBoolean;
|
|
98
98
|
}, z.core.$strip>>;
|
|
99
99
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
100
100
|
fullName: z.ZodString;
|
|
@@ -103,8 +103,8 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
103
103
|
description: z.ZodOptional<z.ZodString>;
|
|
104
104
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
105
105
|
exposureMode: z.ZodEnum<{
|
|
106
|
-
discovery: "discovery";
|
|
107
106
|
direct: "direct";
|
|
107
|
+
discovery: "discovery";
|
|
108
108
|
hidden: "hidden";
|
|
109
109
|
}>;
|
|
110
110
|
enabled: z.ZodBoolean;
|
|
@@ -134,18 +134,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
134
134
|
env?: Record<string, string> | undefined;
|
|
135
135
|
mcpSessionContext?: {
|
|
136
136
|
sessionId: string;
|
|
137
|
-
directTools: {
|
|
138
|
-
fullName: string;
|
|
139
|
-
originalName: string;
|
|
140
|
-
serverName: string;
|
|
141
|
-
inputSchema: Record<string, unknown>;
|
|
142
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
143
|
-
enabled: boolean;
|
|
144
|
-
exposed: boolean;
|
|
145
|
-
description?: string | undefined;
|
|
146
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
147
|
-
enabledAt?: number | undefined;
|
|
148
|
-
}[];
|
|
149
137
|
servers: {
|
|
150
138
|
name: string;
|
|
151
139
|
transport: {
|
|
@@ -173,14 +161,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
173
161
|
}[] | undefined;
|
|
174
162
|
alwaysLoad?: boolean | undefined;
|
|
175
163
|
};
|
|
176
|
-
exposureMode: "
|
|
164
|
+
exposureMode: "direct" | "discovery";
|
|
165
|
+
}[];
|
|
166
|
+
directTools: {
|
|
167
|
+
fullName: string;
|
|
168
|
+
originalName: string;
|
|
169
|
+
serverName: string;
|
|
170
|
+
inputSchema: Record<string, unknown>;
|
|
171
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
172
|
+
enabled: boolean;
|
|
173
|
+
exposed: boolean;
|
|
174
|
+
description?: string | undefined;
|
|
175
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
176
|
+
enabledAt?: number | undefined;
|
|
177
177
|
}[];
|
|
178
178
|
discoverableTools: {
|
|
179
179
|
fullName: string;
|
|
180
180
|
originalName: string;
|
|
181
181
|
serverName: string;
|
|
182
182
|
inputSchema: Record<string, unknown>;
|
|
183
|
-
exposureMode: "
|
|
183
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
184
184
|
enabled: boolean;
|
|
185
185
|
exposed: boolean;
|
|
186
186
|
description?: string | undefined;
|
|
@@ -209,18 +209,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
209
209
|
env?: Record<string, string> | undefined;
|
|
210
210
|
mcpSessionContext?: {
|
|
211
211
|
sessionId: string;
|
|
212
|
-
directTools: {
|
|
213
|
-
fullName: string;
|
|
214
|
-
originalName: string;
|
|
215
|
-
serverName: string;
|
|
216
|
-
inputSchema: Record<string, unknown>;
|
|
217
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
218
|
-
enabled: boolean;
|
|
219
|
-
exposed: boolean;
|
|
220
|
-
description?: string | undefined;
|
|
221
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
222
|
-
enabledAt?: number | undefined;
|
|
223
|
-
}[];
|
|
224
212
|
servers: {
|
|
225
213
|
name: string;
|
|
226
214
|
transport: {
|
|
@@ -248,14 +236,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
248
236
|
}[] | undefined;
|
|
249
237
|
alwaysLoad?: boolean | undefined;
|
|
250
238
|
};
|
|
251
|
-
exposureMode: "
|
|
239
|
+
exposureMode: "direct" | "discovery";
|
|
240
|
+
}[];
|
|
241
|
+
directTools: {
|
|
242
|
+
fullName: string;
|
|
243
|
+
originalName: string;
|
|
244
|
+
serverName: string;
|
|
245
|
+
inputSchema: Record<string, unknown>;
|
|
246
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
247
|
+
enabled: boolean;
|
|
248
|
+
exposed: boolean;
|
|
249
|
+
description?: string | undefined;
|
|
250
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
251
|
+
enabledAt?: number | undefined;
|
|
252
252
|
}[];
|
|
253
253
|
discoverableTools: {
|
|
254
254
|
fullName: string;
|
|
255
255
|
originalName: string;
|
|
256
256
|
serverName: string;
|
|
257
257
|
inputSchema: Record<string, unknown>;
|
|
258
|
-
exposureMode: "
|
|
258
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
259
259
|
enabled: boolean;
|
|
260
260
|
exposed: boolean;
|
|
261
261
|
description?: string | undefined;
|
|
@@ -281,18 +281,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
281
281
|
env?: Record<string, string> | undefined;
|
|
282
282
|
mcpSessionContext?: {
|
|
283
283
|
sessionId: string;
|
|
284
|
-
directTools: {
|
|
285
|
-
fullName: string;
|
|
286
|
-
originalName: string;
|
|
287
|
-
serverName: string;
|
|
288
|
-
inputSchema: Record<string, unknown>;
|
|
289
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
290
|
-
enabled: boolean;
|
|
291
|
-
exposed: boolean;
|
|
292
|
-
description?: string | undefined;
|
|
293
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
294
|
-
enabledAt?: number | undefined;
|
|
295
|
-
}[];
|
|
296
284
|
servers: {
|
|
297
285
|
name: string;
|
|
298
286
|
transport: {
|
|
@@ -320,14 +308,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
320
308
|
}[] | undefined;
|
|
321
309
|
alwaysLoad?: boolean | undefined;
|
|
322
310
|
};
|
|
323
|
-
exposureMode: "
|
|
311
|
+
exposureMode: "direct" | "discovery";
|
|
312
|
+
}[];
|
|
313
|
+
directTools: {
|
|
314
|
+
fullName: string;
|
|
315
|
+
originalName: string;
|
|
316
|
+
serverName: string;
|
|
317
|
+
inputSchema: Record<string, unknown>;
|
|
318
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
319
|
+
enabled: boolean;
|
|
320
|
+
exposed: boolean;
|
|
321
|
+
description?: string | undefined;
|
|
322
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
323
|
+
enabledAt?: number | undefined;
|
|
324
324
|
}[];
|
|
325
325
|
discoverableTools: {
|
|
326
326
|
fullName: string;
|
|
327
327
|
originalName: string;
|
|
328
328
|
serverName: string;
|
|
329
329
|
inputSchema: Record<string, unknown>;
|
|
330
|
-
exposureMode: "
|
|
330
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
331
331
|
enabled: boolean;
|
|
332
332
|
exposed: boolean;
|
|
333
333
|
description?: string | undefined;
|
|
@@ -356,18 +356,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
356
356
|
env?: Record<string, string> | undefined;
|
|
357
357
|
mcpSessionContext?: {
|
|
358
358
|
sessionId: string;
|
|
359
|
-
directTools: {
|
|
360
|
-
fullName: string;
|
|
361
|
-
originalName: string;
|
|
362
|
-
serverName: string;
|
|
363
|
-
inputSchema: Record<string, unknown>;
|
|
364
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
365
|
-
enabled: boolean;
|
|
366
|
-
exposed: boolean;
|
|
367
|
-
description?: string | undefined;
|
|
368
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
369
|
-
enabledAt?: number | undefined;
|
|
370
|
-
}[];
|
|
371
359
|
servers: {
|
|
372
360
|
name: string;
|
|
373
361
|
transport: {
|
|
@@ -395,14 +383,26 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
|
|
|
395
383
|
}[] | undefined;
|
|
396
384
|
alwaysLoad?: boolean | undefined;
|
|
397
385
|
};
|
|
398
|
-
exposureMode: "
|
|
386
|
+
exposureMode: "direct" | "discovery";
|
|
387
|
+
}[];
|
|
388
|
+
directTools: {
|
|
389
|
+
fullName: string;
|
|
390
|
+
originalName: string;
|
|
391
|
+
serverName: string;
|
|
392
|
+
inputSchema: Record<string, unknown>;
|
|
393
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
394
|
+
enabled: boolean;
|
|
395
|
+
exposed: boolean;
|
|
396
|
+
description?: string | undefined;
|
|
397
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
398
|
+
enabledAt?: number | undefined;
|
|
399
399
|
}[];
|
|
400
400
|
discoverableTools: {
|
|
401
401
|
fullName: string;
|
|
402
402
|
originalName: string;
|
|
403
403
|
serverName: string;
|
|
404
404
|
inputSchema: Record<string, unknown>;
|
|
405
|
-
exposureMode: "
|
|
405
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
406
406
|
enabled: boolean;
|
|
407
407
|
exposed: boolean;
|
|
408
408
|
description?: string | undefined;
|
|
@@ -427,9 +427,9 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
|
|
|
427
427
|
status: z.ZodEnum<{
|
|
428
428
|
completed: "completed";
|
|
429
429
|
cancelled: "cancelled";
|
|
430
|
+
failed: "failed";
|
|
430
431
|
running: "running";
|
|
431
432
|
waiting_input: "waiting_input";
|
|
432
|
-
failed: "failed";
|
|
433
433
|
}>;
|
|
434
434
|
result: z.ZodOptional<z.ZodString>;
|
|
435
435
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -490,25 +490,6 @@ declare const AgentRuntimeSchemas: {
|
|
|
490
490
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
491
491
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
492
492
|
sessionId: z.ZodString;
|
|
493
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
494
|
-
fullName: z.ZodString;
|
|
495
|
-
originalName: z.ZodString;
|
|
496
|
-
serverName: z.ZodString;
|
|
497
|
-
description: z.ZodOptional<z.ZodString>;
|
|
498
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
499
|
-
exposureMode: z.ZodEnum<{
|
|
500
|
-
discovery: "discovery";
|
|
501
|
-
direct: "direct";
|
|
502
|
-
hidden: "hidden";
|
|
503
|
-
}>;
|
|
504
|
-
enabled: z.ZodBoolean;
|
|
505
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
506
|
-
discovery: "discovery";
|
|
507
|
-
toolset: "toolset";
|
|
508
|
-
}>>;
|
|
509
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
510
|
-
exposed: z.ZodBoolean;
|
|
511
|
-
}, z.core.$strip>>;
|
|
512
493
|
servers: z.ZodArray<z.ZodObject<{
|
|
513
494
|
name: z.ZodString;
|
|
514
495
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -545,9 +526,28 @@ declare const AgentRuntimeSchemas: {
|
|
|
545
526
|
type: z.ZodLiteral<"http">;
|
|
546
527
|
}, z.core.$strip>], "type">;
|
|
547
528
|
exposureMode: z.ZodEnum<{
|
|
529
|
+
direct: "direct";
|
|
548
530
|
discovery: "discovery";
|
|
531
|
+
}>;
|
|
532
|
+
}, z.core.$strip>>;
|
|
533
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
534
|
+
fullName: z.ZodString;
|
|
535
|
+
originalName: z.ZodString;
|
|
536
|
+
serverName: z.ZodString;
|
|
537
|
+
description: z.ZodOptional<z.ZodString>;
|
|
538
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
539
|
+
exposureMode: z.ZodEnum<{
|
|
549
540
|
direct: "direct";
|
|
541
|
+
discovery: "discovery";
|
|
542
|
+
hidden: "hidden";
|
|
550
543
|
}>;
|
|
544
|
+
enabled: z.ZodBoolean;
|
|
545
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
546
|
+
discovery: "discovery";
|
|
547
|
+
toolset: "toolset";
|
|
548
|
+
}>>;
|
|
549
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
550
|
+
exposed: z.ZodBoolean;
|
|
551
551
|
}, z.core.$strip>>;
|
|
552
552
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
553
553
|
fullName: z.ZodString;
|
|
@@ -556,8 +556,8 @@ declare const AgentRuntimeSchemas: {
|
|
|
556
556
|
description: z.ZodOptional<z.ZodString>;
|
|
557
557
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
558
558
|
exposureMode: z.ZodEnum<{
|
|
559
|
-
discovery: "discovery";
|
|
560
559
|
direct: "direct";
|
|
560
|
+
discovery: "discovery";
|
|
561
561
|
hidden: "hidden";
|
|
562
562
|
}>;
|
|
563
563
|
enabled: z.ZodBoolean;
|
|
@@ -587,18 +587,6 @@ declare const AgentRuntimeSchemas: {
|
|
|
587
587
|
env?: Record<string, string> | undefined;
|
|
588
588
|
mcpSessionContext?: {
|
|
589
589
|
sessionId: string;
|
|
590
|
-
directTools: {
|
|
591
|
-
fullName: string;
|
|
592
|
-
originalName: string;
|
|
593
|
-
serverName: string;
|
|
594
|
-
inputSchema: Record<string, unknown>;
|
|
595
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
596
|
-
enabled: boolean;
|
|
597
|
-
exposed: boolean;
|
|
598
|
-
description?: string | undefined;
|
|
599
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
600
|
-
enabledAt?: number | undefined;
|
|
601
|
-
}[];
|
|
602
590
|
servers: {
|
|
603
591
|
name: string;
|
|
604
592
|
transport: {
|
|
@@ -626,14 +614,26 @@ declare const AgentRuntimeSchemas: {
|
|
|
626
614
|
}[] | undefined;
|
|
627
615
|
alwaysLoad?: boolean | undefined;
|
|
628
616
|
};
|
|
629
|
-
exposureMode: "
|
|
617
|
+
exposureMode: "direct" | "discovery";
|
|
618
|
+
}[];
|
|
619
|
+
directTools: {
|
|
620
|
+
fullName: string;
|
|
621
|
+
originalName: string;
|
|
622
|
+
serverName: string;
|
|
623
|
+
inputSchema: Record<string, unknown>;
|
|
624
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
625
|
+
enabled: boolean;
|
|
626
|
+
exposed: boolean;
|
|
627
|
+
description?: string | undefined;
|
|
628
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
629
|
+
enabledAt?: number | undefined;
|
|
630
630
|
}[];
|
|
631
631
|
discoverableTools: {
|
|
632
632
|
fullName: string;
|
|
633
633
|
originalName: string;
|
|
634
634
|
serverName: string;
|
|
635
635
|
inputSchema: Record<string, unknown>;
|
|
636
|
-
exposureMode: "
|
|
636
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
637
637
|
enabled: boolean;
|
|
638
638
|
exposed: boolean;
|
|
639
639
|
description?: string | undefined;
|
|
@@ -662,18 +662,6 @@ declare const AgentRuntimeSchemas: {
|
|
|
662
662
|
env?: Record<string, string> | undefined;
|
|
663
663
|
mcpSessionContext?: {
|
|
664
664
|
sessionId: string;
|
|
665
|
-
directTools: {
|
|
666
|
-
fullName: string;
|
|
667
|
-
originalName: string;
|
|
668
|
-
serverName: string;
|
|
669
|
-
inputSchema: Record<string, unknown>;
|
|
670
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
671
|
-
enabled: boolean;
|
|
672
|
-
exposed: boolean;
|
|
673
|
-
description?: string | undefined;
|
|
674
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
675
|
-
enabledAt?: number | undefined;
|
|
676
|
-
}[];
|
|
677
665
|
servers: {
|
|
678
666
|
name: string;
|
|
679
667
|
transport: {
|
|
@@ -701,14 +689,26 @@ declare const AgentRuntimeSchemas: {
|
|
|
701
689
|
}[] | undefined;
|
|
702
690
|
alwaysLoad?: boolean | undefined;
|
|
703
691
|
};
|
|
704
|
-
exposureMode: "
|
|
692
|
+
exposureMode: "direct" | "discovery";
|
|
693
|
+
}[];
|
|
694
|
+
directTools: {
|
|
695
|
+
fullName: string;
|
|
696
|
+
originalName: string;
|
|
697
|
+
serverName: string;
|
|
698
|
+
inputSchema: Record<string, unknown>;
|
|
699
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
700
|
+
enabled: boolean;
|
|
701
|
+
exposed: boolean;
|
|
702
|
+
description?: string | undefined;
|
|
703
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
704
|
+
enabledAt?: number | undefined;
|
|
705
705
|
}[];
|
|
706
706
|
discoverableTools: {
|
|
707
707
|
fullName: string;
|
|
708
708
|
originalName: string;
|
|
709
709
|
serverName: string;
|
|
710
710
|
inputSchema: Record<string, unknown>;
|
|
711
|
-
exposureMode: "
|
|
711
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
712
712
|
enabled: boolean;
|
|
713
713
|
exposed: boolean;
|
|
714
714
|
description?: string | undefined;
|
|
@@ -734,18 +734,6 @@ declare const AgentRuntimeSchemas: {
|
|
|
734
734
|
env?: Record<string, string> | undefined;
|
|
735
735
|
mcpSessionContext?: {
|
|
736
736
|
sessionId: string;
|
|
737
|
-
directTools: {
|
|
738
|
-
fullName: string;
|
|
739
|
-
originalName: string;
|
|
740
|
-
serverName: string;
|
|
741
|
-
inputSchema: Record<string, unknown>;
|
|
742
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
743
|
-
enabled: boolean;
|
|
744
|
-
exposed: boolean;
|
|
745
|
-
description?: string | undefined;
|
|
746
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
747
|
-
enabledAt?: number | undefined;
|
|
748
|
-
}[];
|
|
749
737
|
servers: {
|
|
750
738
|
name: string;
|
|
751
739
|
transport: {
|
|
@@ -773,14 +761,26 @@ declare const AgentRuntimeSchemas: {
|
|
|
773
761
|
}[] | undefined;
|
|
774
762
|
alwaysLoad?: boolean | undefined;
|
|
775
763
|
};
|
|
776
|
-
exposureMode: "
|
|
764
|
+
exposureMode: "direct" | "discovery";
|
|
765
|
+
}[];
|
|
766
|
+
directTools: {
|
|
767
|
+
fullName: string;
|
|
768
|
+
originalName: string;
|
|
769
|
+
serverName: string;
|
|
770
|
+
inputSchema: Record<string, unknown>;
|
|
771
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
772
|
+
enabled: boolean;
|
|
773
|
+
exposed: boolean;
|
|
774
|
+
description?: string | undefined;
|
|
775
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
776
|
+
enabledAt?: number | undefined;
|
|
777
777
|
}[];
|
|
778
778
|
discoverableTools: {
|
|
779
779
|
fullName: string;
|
|
780
780
|
originalName: string;
|
|
781
781
|
serverName: string;
|
|
782
782
|
inputSchema: Record<string, unknown>;
|
|
783
|
-
exposureMode: "
|
|
783
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
784
784
|
enabled: boolean;
|
|
785
785
|
exposed: boolean;
|
|
786
786
|
description?: string | undefined;
|
|
@@ -809,18 +809,6 @@ declare const AgentRuntimeSchemas: {
|
|
|
809
809
|
env?: Record<string, string> | undefined;
|
|
810
810
|
mcpSessionContext?: {
|
|
811
811
|
sessionId: string;
|
|
812
|
-
directTools: {
|
|
813
|
-
fullName: string;
|
|
814
|
-
originalName: string;
|
|
815
|
-
serverName: string;
|
|
816
|
-
inputSchema: Record<string, unknown>;
|
|
817
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
818
|
-
enabled: boolean;
|
|
819
|
-
exposed: boolean;
|
|
820
|
-
description?: string | undefined;
|
|
821
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
822
|
-
enabledAt?: number | undefined;
|
|
823
|
-
}[];
|
|
824
812
|
servers: {
|
|
825
813
|
name: string;
|
|
826
814
|
transport: {
|
|
@@ -848,14 +836,26 @@ declare const AgentRuntimeSchemas: {
|
|
|
848
836
|
}[] | undefined;
|
|
849
837
|
alwaysLoad?: boolean | undefined;
|
|
850
838
|
};
|
|
851
|
-
exposureMode: "
|
|
839
|
+
exposureMode: "direct" | "discovery";
|
|
840
|
+
}[];
|
|
841
|
+
directTools: {
|
|
842
|
+
fullName: string;
|
|
843
|
+
originalName: string;
|
|
844
|
+
serverName: string;
|
|
845
|
+
inputSchema: Record<string, unknown>;
|
|
846
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
847
|
+
enabled: boolean;
|
|
848
|
+
exposed: boolean;
|
|
849
|
+
description?: string | undefined;
|
|
850
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
851
|
+
enabledAt?: number | undefined;
|
|
852
852
|
}[];
|
|
853
853
|
discoverableTools: {
|
|
854
854
|
fullName: string;
|
|
855
855
|
originalName: string;
|
|
856
856
|
serverName: string;
|
|
857
857
|
inputSchema: Record<string, unknown>;
|
|
858
|
-
exposureMode: "
|
|
858
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
859
859
|
enabled: boolean;
|
|
860
860
|
exposed: boolean;
|
|
861
861
|
description?: string | undefined;
|
|
@@ -892,9 +892,9 @@ declare const AgentRuntimeSchemas: {
|
|
|
892
892
|
status: z.ZodEnum<{
|
|
893
893
|
completed: "completed";
|
|
894
894
|
cancelled: "cancelled";
|
|
895
|
+
failed: "failed";
|
|
895
896
|
running: "running";
|
|
896
897
|
waiting_input: "waiting_input";
|
|
897
|
-
failed: "failed";
|
|
898
898
|
}>;
|
|
899
899
|
result: z.ZodOptional<z.ZodString>;
|
|
900
900
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
|
|
|
15
15
|
model: z.ZodOptional<z.ZodString>;
|
|
16
16
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
17
17
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
18
|
-
fork: "fork";
|
|
19
18
|
fresh: "fresh";
|
|
19
|
+
fork: "fork";
|
|
20
20
|
}>>;
|
|
21
21
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -45,16 +45,16 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
|
|
|
45
45
|
declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
-
adapterName: z.ZodString;
|
|
49
48
|
model: z.ZodOptional<z.ZodString>;
|
|
50
49
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
51
50
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
52
51
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
52
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
53
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
adapterName: z.ZodString;
|
|
55
55
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
fork: "fork";
|
|
57
56
|
fresh: "fresh";
|
|
57
|
+
fork: "fork";
|
|
58
58
|
}>>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
|
|
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
|
|
|
69
69
|
model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
70
70
|
systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
71
71
|
contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
72
|
-
fork: "fork";
|
|
73
72
|
fresh: "fresh";
|
|
73
|
+
fork: "fork";
|
|
74
74
|
}>>>;
|
|
75
75
|
allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
76
76
|
disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
114
114
|
model: z.ZodOptional<z.ZodString>;
|
|
115
115
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
116
116
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
117
|
-
fork: "fork";
|
|
118
117
|
fresh: "fresh";
|
|
118
|
+
fork: "fork";
|
|
119
119
|
}>>;
|
|
120
120
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
121
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -130,16 +130,16 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
130
130
|
request: z.ZodObject<{
|
|
131
131
|
name: z.ZodString;
|
|
132
132
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
133
|
-
adapterName: z.ZodString;
|
|
134
133
|
model: z.ZodOptional<z.ZodString>;
|
|
135
134
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
136
135
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
137
136
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
137
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
138
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
|
+
adapterName: z.ZodString;
|
|
140
140
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
141
|
-
fork: "fork";
|
|
142
141
|
fresh: "fresh";
|
|
142
|
+
fork: "fork";
|
|
143
143
|
}>>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
response: z.ZodObject<{
|
|
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
155
155
|
model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
156
156
|
systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
157
157
|
contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
158
|
-
fork: "fork";
|
|
159
158
|
fresh: "fresh";
|
|
159
|
+
fork: "fork";
|
|
160
160
|
}>>>;
|
|
161
161
|
allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
162
162
|
disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -191,9 +191,9 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
|
|
|
191
191
|
status: z.ZodEnum<{
|
|
192
192
|
completed: "completed";
|
|
193
193
|
cancelled: "cancelled";
|
|
194
|
+
failed: "failed";
|
|
194
195
|
running: "running";
|
|
195
196
|
waiting_input: "waiting_input";
|
|
196
|
-
failed: "failed";
|
|
197
197
|
}>;
|
|
198
198
|
createdAt: z.ZodString;
|
|
199
199
|
}, z.core.$strip>;
|
|
@@ -222,9 +222,9 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
|
|
|
222
222
|
status: z.ZodEnum<{
|
|
223
223
|
completed: "completed";
|
|
224
224
|
cancelled: "cancelled";
|
|
225
|
+
failed: "failed";
|
|
225
226
|
running: "running";
|
|
226
227
|
waiting_input: "waiting_input";
|
|
227
|
-
failed: "failed";
|
|
228
228
|
}>;
|
|
229
229
|
result: z.ZodOptional<z.ZodString>;
|
|
230
230
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -274,9 +274,9 @@ declare const SubagentTemplateKernelSchemas: {
|
|
|
274
274
|
status: z.ZodEnum<{
|
|
275
275
|
completed: "completed";
|
|
276
276
|
cancelled: "cancelled";
|
|
277
|
+
failed: "failed";
|
|
277
278
|
running: "running";
|
|
278
279
|
waiting_input: "waiting_input";
|
|
279
|
-
failed: "failed";
|
|
280
280
|
}>;
|
|
281
281
|
result: z.ZodOptional<z.ZodString>;
|
|
282
282
|
error: z.ZodOptional<z.ZodString>;
|