@makaio/framework 1.0.0-dev-1783615060726 → 1.0.0-dev-1783687982716
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/adapter-CA8rPIUz.mjs +1 -0
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +38 -3
- package/dist/adapters/index.mjs +4 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/client-DaR4mzqn.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/config/index.d.mts +12 -12
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +120 -68
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/provider/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +3 -3
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{definition-DePb3ke-.d.mts → definition-s9PIua2B.d.mts} +1 -1
- package/dist/drizzle/0024_external_settlement_fingerprint.sql +1 -0
- package/dist/drizzle/0025_external_registration_frame.sql +1 -0
- package/dist/drizzle/meta/_journal.json +14 -0
- package/dist/{index-BSprsrul.d.mts → index-B4ZddkPI.d.mts} +171 -132
- package/dist/{index-DWu3qrwe.d.mts → index-B9d_8_V2.d.mts} +8 -8
- package/dist/{index-Qd1Qom8M.d.mts → index-BUrNl0QJ.d.mts} +36 -36
- package/dist/{index-2fK9iSHI.d.mts → index-BWIkf5oJ.d.mts} +6 -6
- package/dist/{index-Cx1Bm6WD.d.mts → index-Bc82MC0z.d.mts} +4 -4
- package/dist/{index-S7lj2TLp.d.mts → index-CAhKyxfm.d.mts} +481 -101
- package/dist/{index-DZPNuWMc.d.mts → index-CmHdpW0E.d.mts} +11 -11
- package/dist/{index-C9FCWOhp.d.mts → index-D4gn93gL.d.mts} +4 -4
- package/dist/{index-DLNRgZPo2.d.mts → index-D94cDExW2.d.mts} +15 -15
- package/dist/{index-D8wmMJLi.d.mts → index-DLDQDXhD.d.mts} +3 -3
- package/dist/{index-DKaEpPFS.d.mts → index-DNfNwGu6.d.mts} +9 -9
- package/dist/{index-BMbmoarE.d.mts → index-DTBQOCar.d.mts} +16 -16
- package/dist/{index-DZ14azod.d.mts → index-DTkGyKKA.d.mts} +174 -15
- package/dist/{index-DEzdNQum.d.mts → index-Di84JjS0.d.mts} +2 -2
- package/dist/{index-DoEF9LAc.d.mts → index-DsLpP5ek.d.mts} +1 -1
- package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
- package/dist/{index-CqCe7Phc.d.mts → index-mU2lnU7O.d.mts} +6 -6
- package/dist/{index-BbQpQ1N3.d.mts → index-oePgeOph.d.mts} +87 -3
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/loop-gate-handlers-o2B5FPdF.mjs +1 -0
- package/dist/{namespace-j7vFsmYL.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
- package/dist/{namespace-D8P8Sxce2.d.mts → namespace-6sIu5nBI2.d.mts} +2 -2
- package/dist/{namespace-CZK2ff3B.d.mts → namespace-B9V9R3AY.d.mts} +22 -22
- package/dist/{namespace-Ceg3zkt2.d.mts → namespace-BGIeqwfU.d.mts} +20 -20
- package/dist/{namespace-CfvtDD_U.d.mts → namespace-BLER-Qom.d.mts} +2 -2
- package/dist/{namespace-Dc94fHZW.d.mts → namespace-Dm454cNM.d.mts} +36 -36
- package/dist/{namespace-DuUCiVmK.d.mts → namespace-d_0I6P7N.d.mts} +58 -58
- package/dist/package-Co_GO3UD.mjs +7 -0
- package/dist/{package-B6mEMD8r.d.mts → package-DmVZxufT.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/{schema-B9goOieO.d.mts → schema-B5vHi7Uu.d.mts} +1 -1
- package/dist/{schemas-CoFCV42v.d.mts → schemas-B_t6oOK-.d.mts} +2 -2
- package/dist/{schemas-D512XweP.d.mts → schemas-CJ2JvA7d.d.mts} +3 -3
- package/dist/{schemas-Br-rSxPE2.d.mts → schemas-CNUk34qC2.d.mts} +19 -19
- package/dist/schemas-CVo8qAK-.mjs +1 -0
- package/dist/{schemas-lnE9YoG7.d.mts → schemas-CscdPqCt.d.mts} +3 -3
- 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 +14 -14
- package/dist/services/execution-target/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +65 -65
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +19 -19
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- 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/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/session-DBfQkgdy.mjs +1 -0
- package/dist/{session-lineage-NBFNVkUE.d.mts → session-lineage-C1M7-O3C.d.mts} +1 -1
- package/dist/{transition-CmI3q3FA.d.mts → transition-OzGXyy3p.d.mts} +1 -1
- package/dist/{types-VwMx5_lS.d.mts → types-1a2D10yb.d.mts} +13 -2
- package/dist/{types-BNW5n6qm.d.mts → types-BMS6yfLS.d.mts} +1 -1
- package/dist/{types-Dhou-Itn.d.mts → types-BSilhlYE.d.mts} +64 -50
- package/dist/workflow-C3dgVwTY.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +323 -55
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/package.json +1 -1
- package/dist/adapter-Lx6K7yQS.mjs +0 -1
- package/dist/client-l1Rq5p6X.mjs +0 -1
- package/dist/loop-gate-handlers-Bjmat-K3.mjs +0 -1
- package/dist/package-BQn_RTo7.mjs +0 -1
- package/dist/schemas-CkOigLAT.mjs +0 -1
- package/dist/session-D5rVMqmE.mjs +0 -1
- package/dist/workflow-C1z7I5CI.mjs +0 -1
|
@@ -425,9 +425,9 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
|
|
|
425
425
|
status: z.ZodEnum<{
|
|
426
426
|
completed: "completed";
|
|
427
427
|
cancelled: "cancelled";
|
|
428
|
-
failed: "failed";
|
|
429
428
|
running: "running";
|
|
430
429
|
waiting_input: "waiting_input";
|
|
430
|
+
failed: "failed";
|
|
431
431
|
}>;
|
|
432
432
|
result: z.ZodOptional<z.ZodString>;
|
|
433
433
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -888,9 +888,9 @@ declare const AgentRuntimeSchemas: {
|
|
|
888
888
|
status: z.ZodEnum<{
|
|
889
889
|
completed: "completed";
|
|
890
890
|
cancelled: "cancelled";
|
|
891
|
-
failed: "failed";
|
|
892
891
|
running: "running";
|
|
893
892
|
waiting_input: "waiting_input";
|
|
893
|
+
failed: "failed";
|
|
894
894
|
}>;
|
|
895
895
|
result: z.ZodOptional<z.ZodString>;
|
|
896
896
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -64,8 +64,8 @@ declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
|
|
|
64
64
|
template: z.ZodString;
|
|
65
65
|
}, z.core.$strip>], "kind">;
|
|
66
66
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
67
|
-
artifact: "artifact";
|
|
68
67
|
workpiece: "workpiece";
|
|
68
|
+
artifact: "artifact";
|
|
69
69
|
surface: "surface";
|
|
70
70
|
}>>;
|
|
71
71
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -108,8 +108,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
|
108
108
|
comment: "comment";
|
|
109
109
|
}>;
|
|
110
110
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
artifact: "artifact";
|
|
112
111
|
workpiece: "workpiece";
|
|
112
|
+
artifact: "artifact";
|
|
113
113
|
}>>;
|
|
114
114
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
115
115
|
created: "created";
|
|
@@ -141,8 +141,8 @@ declare const ArtifactMaterializationRefSchema: z.ZodObject<{
|
|
|
141
141
|
externalId: z.ZodString;
|
|
142
142
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
143
143
|
surfaceRole: z.ZodEnum<{
|
|
144
|
-
artifact: "artifact";
|
|
145
144
|
workpiece: "workpiece";
|
|
145
|
+
artifact: "artifact";
|
|
146
146
|
}>;
|
|
147
147
|
lastSyncedRevision: z.ZodOptional<z.ZodString>;
|
|
148
148
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -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
|
-
fresh: "fresh";
|
|
19
18
|
fork: "fork";
|
|
19
|
+
fresh: "fresh";
|
|
20
20
|
}>>;
|
|
21
21
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -44,18 +44,18 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
|
|
|
44
44
|
*/
|
|
45
45
|
declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
46
46
|
name: z.ZodString;
|
|
47
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
47
|
adapterName: z.ZodString;
|
|
49
48
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
50
49
|
model: z.ZodOptional<z.ZodString>;
|
|
51
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
52
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
|
-
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
-
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
50
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
fresh: "fresh";
|
|
57
51
|
fork: "fork";
|
|
52
|
+
fresh: "fresh";
|
|
58
53
|
}>>;
|
|
54
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
57
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
|
|
61
61
|
/**
|
|
@@ -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
|
-
fresh: "fresh";
|
|
73
72
|
fork: "fork";
|
|
73
|
+
fresh: "fresh";
|
|
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
|
-
fresh: "fresh";
|
|
118
117
|
fork: "fork";
|
|
118
|
+
fresh: "fresh";
|
|
119
119
|
}>>;
|
|
120
120
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
121
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -129,18 +129,18 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
129
129
|
create: {
|
|
130
130
|
request: z.ZodObject<{
|
|
131
131
|
name: z.ZodString;
|
|
132
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
133
132
|
adapterName: z.ZodString;
|
|
134
133
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
135
134
|
model: z.ZodOptional<z.ZodString>;
|
|
136
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
137
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
|
-
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
|
-
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
135
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
141
|
-
fresh: "fresh";
|
|
142
136
|
fork: "fork";
|
|
137
|
+
fresh: "fresh";
|
|
143
138
|
}>>;
|
|
139
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
142
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
143
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
response: z.ZodObject<{
|
|
146
146
|
id: z.ZodString;
|
|
@@ -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
|
-
fresh: "fresh";
|
|
159
158
|
fork: "fork";
|
|
159
|
+
fresh: "fresh";
|
|
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";
|
|
195
194
|
running: "running";
|
|
196
195
|
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";
|
|
226
225
|
running: "running";
|
|
227
226
|
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";
|
|
278
277
|
running: "running";
|
|
279
278
|
waiting_input: "waiting_input";
|
|
279
|
+
failed: "failed";
|
|
280
280
|
}>;
|
|
281
281
|
result: z.ZodOptional<z.ZodString>;
|
|
282
282
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"./json-value-DmU8ibo_.mjs";import{a as n,s as ee}from"./visibility-Cb62p9bv.mjs";import"./credential-ref-YWQQENEo.mjs";import{c as te,f as r,i as ne,o as i,p as a,r as re,s as ie}from"./shared-BVW-3Dhy.mjs";import{a as ae,f as oe,i as se,n as ce,r as o,t as le,u as ue}from"./compression-C5JAWdgZ.mjs";import{t as s}from"./provider-context-CqMgPOWF.mjs";import{t as de}from"./schemas-XeIBqwvE.mjs";import{r as fe}from"./profile-BMBXUqqh.mjs";import{i as c}from"./account-identity-C7Kx_ieU.mjs";import{SessionLineageSchema as pe}from"./contracts/adapter/schemas/session-lineage.mjs";import{z as l}from"zod";import{localSubject as me,observability as u}from"@makaio/framework/core";const d=l.object({adapterId:l.string(),adapterName:l.string()}),he=l.object({cwd:l.string().optional(),allowedTools:l.array(l.string()).optional(),disallowedTools:l.array(l.string()).optional(),allowedDirectories:l.array(l.string()).optional(),systemPrompt:r.optional()}),ge={request:l.object({adapterName:l.string().optional(),adapterId:l.string().optional()}).refine(e=>e.adapterName||e.adapterId,{message:`Either adapterName or adapterId must be provided`}),response:l.object({capabilities:l.array(l.string()),nativeTools:l.array(l.string())})},f=l.enum([`lead`,`member`]),p=l.enum([`fork`,`branch`,`subagent`,`compress`,`rewrite`,`coordinator`,`aside`]),m=l.enum([`parent-history`,`none`]),h=l.enum([`discovered`,`imported`,`tracking`]),g=l.object({sessionId:l.string(),title:l.string().nullable(),forkPointMessageId:l.string().nullable(),branchKind:p.nullable(),messageCount:l.number(),hasChildren:l.boolean(),spawningToolCallId:l.string().optional()}),_=l.object({fromMessageId:l.string(),toMessageId:l.string(),policy:l.enum([`verbatim`,`summarize`,`exclude`]),stripReasoning:l.boolean().optional(),stripToolOutputs:l.boolean().optional(),overrides:l.record(l.string(),l.literal(`exclude`)).optional(),summaryText:l.string().optional()}),v=l.object({removedMessageIds:l.array(l.string()).optional(),appliedPipeline:l.array(l.object({actionId:l.string(),options:l.record(l.string(),l.unknown()).optional()})).optional(),segments:l.array(_).optional()}),_e=l.object({parentSessionId:l.string(),childSessionId:l.string(),summary:l.string().optional(),source:l.enum([`extension`,`user`,`system`]).optional(),extensionId:l.string().optional()}),ve=l.object({success:l.boolean(),handoff:l.string().optional()}),ye=l.object({parentSessionId:l.string(),childSessionId:l.string(),source:l.enum([`extension`,`user`,`system`]).optional(),extensionId:l.string().optional()}),be=l.object({success:l.boolean()}),xe=l.object({sessionId:l.string()}),Se=l.object({children:l.array(g)}),Ce=l.object({parentSessionId:l.string(),childSessionId:l.string(),reason:l.string()}),we=l.object({parentSessionId:l.string(),childSessionId:l.string(),forkPoint:l.string().optional()}),Te=l.object({parentSessionId:l.string(),childSessionId:l.string()}),Ee=l.object({parentSessionId:l.string(),childSessionId:l.string(),handoff:l.string()}),De=l.object({sessionId:l.string(),parentSessionId:l.string().optional()}),Oe=l.object({parentSessionId:l.string(),childSessionId:l.string(),result:l.unknown()}),ke=l.object({sessionId:l.string(),reason:l.string(),source:l.enum([`extension`,`user`,`system`]).optional(),extensionId:l.string().optional()}),Ae=l.object({sessionId:l.string(),pipeline:l.array(l.object({actionId:l.string(),options:l.record(l.string(),l.unknown()).optional()}))}),je=l.object({eventId:l.string(),contextJson:l.record(l.string(),l.unknown()),tokensBefore:l.number(),tokensAfter:l.number().optional()}),Me=l.object({sessionId:l.string(),childSessionId:l.string(),parentSessionId:l.string(),kind:p,forkPointMessageId:l.string().optional(),transforms:v.optional()}),Ne=l.object({sessionId:l.string(),childSessionId:l.string(),parentSessionId:l.string(),resultJson:l.string().optional(),resultMessageId:l.string().optional()}),Pe=l.object({sessionId:l.string(),summaryJson:l.string(),tokensBefore:l.number().optional(),tokensAfter:l.number().optional(),compressedMessageIds:l.array(l.string()).optional()}),y=l.object({sessionId:l.string(),parentSessionId:l.string().nullable(),branchKind:p.nullable(),createdAt:l.number(),originWindowId:l.string().optional()}),b=l.object({sessionId:l.string(),changedProperties:l.array(l.string())}),Fe={merge:{request:_e,response:ve},abandon:{request:ye,response:be},getChildren:{request:xe,response:Se},forking:Ce,forked:we,merging:Te,merged:Ee,abandoned:De,childCompleted:Oe,compressionRequested:ke,"branch.created":Me,"branch.merged":Ne,squash:Pe,created:y,updated:b,compress:{request:Ae,response:je}},x=l.enum([`adapter-unsupported`,`adapter-mismatch`,`no-adapter-session`,`missing-machine-id`,`machine-mismatch`,`cwd-mismatch`,`transforms-present`,`compression-present`,`connector-swap`,`mid-history-unsupported`,`hybrid-imported-orchestrated`,`native-attempt-failed`,`agent-already-started`,`fork-point-unresolvable`]),S=l.discriminatedUnion(`kind`,[l.object({kind:l.literal(`native`)}),l.object({kind:l.literal(`degrade`),reason:x}),l.object({kind:l.literal(`foreign`),machineId:l.string()})]),Ie=l.object({sourceSessionId:l.string(),sourceAdapterSessionId:l.string(),forkPointMessageId:l.string().optional(),targetWorkingDirectory:l.string().optional()}),C=l.string().regex(/^[\u0020-\u007e]*$/u,`Correlation identifiers must contain only printable ASCII characters`).trim().min(1).max(512),Le=l.object({sessionId:C.optional(),turnId:C.optional(),messageId:C.optional(),executionId:C.optional(),frameId:C.optional()}).strict(),Re=[`auto`,`systemPrompt`,`fullPrefix`],w=l.object({messageHistory:l.array(te).optional(),hasNewTransforms:l.boolean().optional(),hasCompression:l.boolean().optional(),extractedContext:l.unknown().optional(),isFirstTurn:l.boolean().optional(),hasConnectorSwap:l.boolean().optional(),cacheStrategy:l.enum(Re).optional(),turnContext:l.record(l.string(),e).optional(),requestCorrelation:Le.optional(),nativeLocality:S.optional(),nativeFork:Ie.optional()}),T=ne,E=l.enum([`user`,`assistant`]),D=l.enum([`voice`,`text`,`compact`]),O=l.object({messageId:l.string(),turnId:l.string().nullable(),sessionId:l.string(),role:E,contentText:l.string(),blocks:l.array(T),agentId:l.string().optional(),adapterSessionId:l.string().optional(),adapterMessageId:l.string().optional(),timestamp:l.number(),editOf:l.string().optional(),origin:D.optional()}),k=l.enum([`active`,`completed`,`error`]),A=l.object({inputTokens:l.number(),outputTokens:l.number(),cost:l.number().optional()}),j=l.object({total:A,byAgent:l.record(l.string(),A).optional()}),M=l.object({source:l.enum([`user`,`extension`,`system`]),sourceId:l.string().optional()}),N=l.object({turnId:l.string(),sessionId:l.string(),turnNumber:l.number().int().min(1),startedAt:l.number(),completedAt:l.number().optional(),status:k,error:l.string().optional(),usage:j.optional(),initiator:M.optional()}),P=l.enum([`sent`,`acknowledged`,`completed`]),ze=l.object({messageId:l.string(),agentId:l.string(),status:P,timestamp:l.number(),error:l.string().optional()}),F=l.enum([`idle`,`active`,`dead`,`disposed`]),I=l.object({agentId:l.string(),adapterId:l.string(),adapterName:l.string(),sessionId:l.string(),adapterSessionId:l.string().optional(),model:l.string().optional(),cwd:l.string().optional(),allowedDirectories:l.array(l.string()).optional(),providerConfigId:l.string().optional(),personaId:l.string().optional(),profileId:l.string().optional(),harnessId:l.string().optional(),clientId:l.string().optional(),compressionMode:le.optional(),role:f,status:F,createdAt:l.number(),lastActivityAt:l.number()}),L=l.record(l.string(),e),R=l.object({sessionId:l.string(),createdAt:l.number(),lastActivityAt:l.number(),agents:l.array(I),status:l.enum([`active`,`closed`,`archived`,`discovered`]),leadAgentId:l.string().optional(),parentSessionId:l.string().optional(),contextInheritance:m.optional(),rootSessionId:l.string().optional(),forkPointMessageId:l.string().optional(),branchKind:p.optional(),adapterName:l.string().optional(),adapterSessionId:l.string().optional(),adapterId:l.string().optional(),clientId:l.string().optional(),clientAccountId:l.string().optional(),lastClientIdentityObservation:c.optional(),isOrchestrated:l.boolean().optional(),title:l.string().optional(),summary:l.string().optional(),summaryUpdatedAt:l.number().optional(),isImported:l.boolean().optional(),forkTransforms:v.optional(),targetWorkingDirectory:l.string().optional(),executionTargetId:l.string().optional(),spawningToolCallId:l.string().optional(),approvalPolicyOverride:de.nullable().optional(),metadata:L.optional(),source:l.string().optional(),parentExternalSessionId:l.string().optional(),logFilePath:l.string().optional(),discoveredAt:l.number().optional(),importStatus:h.optional(),isSidechain:l.boolean().optional(),machineId:l.string().nullable().optional()}),z=l.object({messageCount:l.number(),firstUserMessage:l.string().nullable()}),B=R.extend({preview:z.optional()}),V=l.enum([`live`,`backfill`]),H=l.object({sessionId:l.string(),turnId:l.string(),turnNumber:l.number().int().min(1)}),U=H.extend({messageId:l.string()}),W=H.extend({success:l.boolean(),error:l.string().optional(),usage:j.optional(),initiator:M.optional(),ingestionMarker:V.optional()}),Be=se.safeExtend({kind:l.string().regex(/^(?!(?:adapter|canonical-model)$).+$/)}),Ve=l.union([o,ce,Be]),He=o.extend({providerContext:s.optional()}),Ue=l.object({sessionId:l.string(),agent:He,initialMessage:i.optional(),role:l.enum([`lead`,`member`]).optional()}),We=l.object({agentId:l.string(),adapterSessionId:l.string().optional(),role:l.enum([`lead`,`member`]),messageId:l.string().optional(),turnId:l.string().optional()}),G={sendMessage:{request:l.object({sessionId:l.string(),message:i,agent:Ve.optional(),agentIds:l.union([l.array(l.string()),l.literal(`all`)]).optional(),deliveryMode:l.enum([`enqueue`]).optional(),turnId:l.string().optional(),sessionContext:w.optional(),responseSchema:a.optional(),source:l.enum([`extension`,`user`,`system`]).optional(),extensionId:l.string().optional(),originWindowId:l.string().optional(),skipConnectorSwapWarning:l.boolean().optional(),origin:D.optional()}),response:l.object({messageId:l.string(),turnId:l.string(),sessionId:l.string()})},"agent.attach":{request:l.object({sessionId:l.string(),agent:ae,initialMessage:i.optional(),role:l.enum([`lead`,`member`]).optional()}),response:l.object({agentId:l.string(),adapterSessionId:l.string().optional(),role:l.enum([`lead`,`member`]),messageId:l.string().optional(),turnId:l.string().optional()})},"agent.attachResolved":me({request:Ue,response:We}),"turn.started":H.extend({messageId:l.string(),agentIds:l.array(l.string()),initiator:M.optional(),ingestionMarker:V.optional()}),"turn.completed":W,"turn.await":{request:l.object({sessionId:l.string(),turnId:l.string(),timeoutMs:l.number().int().positive()}),response:l.object({completion:W})},"user_message.sent":U.extend({content:i,agentIds:l.array(l.string()),source:l.enum([`extension`,`user`,`system`]).optional(),origin:D.optional()}),"user_message.acknowledged":U.extend({agentId:l.string()}),"user_message.completed":U.extend({agentId:l.string(),outcome:ie,supersededBy:l.string().optional(),mergedInto:l.string().optional(),error:l.string().optional()}),fork:{request:l.object({sourceSessionId:l.string(),fromMessageId:l.string().optional(),name:l.string().optional(),branchKind:l.enum([`fork`,`branch`,`aside`]).optional(),transforms:v.optional(),targetWorkingDirectory:l.string().optional(),metadata:L.optional(),existingSessionId:l.string().optional()}),response:l.object({sessionId:l.string()})}},Ge=l.discriminatedUnion(`success`,[l.object({agentId:l.string(),adapterId:l.string(),success:l.literal(!0)}),l.object({agentId:l.string(),adapterId:l.string(),success:l.literal(!1),error:l.string()})]),K=l.object({sessionId:l.string().optional(),parentSessionId:l.string().optional(),contextInheritance:m.optional(),forkPointMessageId:l.string().optional(),branchKind:p.optional(),forkTransforms:v.optional(),title:l.string().optional(),targetWorkingDirectory:l.string().optional(),executionTargetId:l.string().optional(),metadata:L.optional(),spawningToolCallId:l.string().optional(),originWindowId:l.string().optional(),machineId:l.string().nullable().optional()});function Ke(e,t){e.spawningToolCallId&&e.branchKind!==`subagent`&&t.addIssue({code:l.ZodIssueCode.custom,path:[`spawningToolCallId`],message:`spawningToolCallId is only valid for subagent sessions`})}const qe={list:{request:u.schema(l.object({status:l.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),limit:l.number().int().min(1).optional(),offset:u.hidden(l.number().int().min(0).optional()),includePreview:l.boolean().optional(),executionTargetId:l.string().optional()}),{traceAll:!0}),response:l.object({sessions:l.array(B),total:l.number()})},search:{request:l.object({query:l.string(),limit:l.number().int().min(1).optional(),status:l.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),isImported:l.boolean().optional()}),response:l.object({sessions:l.array(B),total:l.number()})},get:{request:l.object({sessionId:l.string()}),response:l.object({session:R.nullable()})},create:{request:K.superRefine(Ke),response:l.object({sessionId:l.string()})},close:{request:l.object({sessionId:l.string()}),response:l.object({success:l.boolean()})},resume:{request:l.object({sessionId:l.string()}),response:l.object({success:l.boolean()})},restartAgents:{request:l.object({sessionId:l.string(),machineId:l.string().optional()}),response:l.object({sessionId:l.string(),results:l.array(Ge)})},archive:{request:l.object({sessionId:l.string()}),response:l.object({success:l.boolean()})},purge:{request:l.object({sessionId:l.string()}),response:l.object({success:l.boolean(),eventsDeleted:l.number().optional(),error:l.string().optional()})},update:{request:l.object({sessionId:l.string(),executionTargetId:l.string().nullable().optional(),approvalPolicyOverride:de.nullable().optional(),title:l.string().optional(),metadata:L.nullable().optional()}),response:l.object({success:l.boolean()})},getByAdapterSessionId:{request:l.object({adapterSessionId:l.string()}),response:l.object({session:R.nullable()})},getStatusCounts:{request:l.object({}),response:l.object({all:l.number(),active:l.number(),closed:l.number(),archived:l.number(),discovered:l.number()})}},q=l.object({sessionId:l.string(),eventId:l.string(),timestamp:l.number()}),Je=l.discriminatedUnion(`type`,[q.extend({type:l.literal(`agent.added`),payload:l.object({sessionId:l.string(),adapterSessionId:l.string().optional(),agentId:l.string(),adapterId:l.string(),adapterName:l.string(),role:l.enum([`lead`,`member`]).optional(),model:l.string().optional(),cwd:l.string().optional()})}),q.extend({type:l.literal(`user_message.sent`),payload:G[`user_message.sent`]}),q.extend({type:l.literal(`user_message.acknowledged`),payload:G[`user_message.acknowledged`]}),q.extend({type:l.literal(`user_message.completed`),payload:G[`user_message.completed`]}),q.extend({type:l.literal(`turn.started`),payload:G[`turn.started`]}),q.extend({type:l.literal(`turn.completed`),payload:G[`turn.completed`]}),q.extend({type:l.literal(`message`),payload:l.object({messageId:l.string(),turnId:l.string().nullable(),role:l.enum([`user`,`assistant`])})}),q.extend({type:l.literal(`branch.created`),payload:l.object({childSessionId:l.string(),parentSessionId:l.string(),kind:p,forkPointMessageId:l.string().optional()})}),q.extend({type:l.literal(`branch.merged`),payload:l.object({childSessionId:l.string(),parentSessionId:l.string(),resultJson:l.string().optional(),resultMessageId:l.string().optional()})}),q.extend({type:l.literal(`squash`),payload:l.object({summaryJson:l.string(),tokensBefore:l.number().optional(),tokensAfter:l.number().optional(),compressedMessageIds:l.array(l.string()).optional()})}),q.extend({type:l.literal(`locality.degraded`),payload:l.discriminatedUnion(`verdictKind`,[l.object({intent:l.enum([`resume`,`fork`]),verdictKind:l.literal(`degrade`),reason:x,agentId:l.string().optional(),adapterId:l.string().optional(),turnId:l.string().optional()}),l.object({intent:l.enum([`resume`,`fork`]),verdictKind:l.literal(`foreign`),foreignMachineId:l.string(),agentId:l.string().optional(),adapterId:l.string().optional(),turnId:l.string().optional()})])})]),J=[`message`,`agent.added`,`turn.started`,`turn.completed`,`user_message.sent`,`user_message.acknowledged`,`user_message.completed`,`branch.created`,`branch.merged`,`squash`,`locality.degraded`],Ye=J,Xe=q.extend({type:l.string().refine(e=>!J.includes(e),{message:`Plugin session event type must not shadow a core event type.`}),payload:l.record(l.string(),l.unknown())}),Y=l.union([Je,Xe]),Ze=l.string(),Qe=l.object({sessionId:l.string().min(1),clientId:l.string().min(1),previousClientAccountId:l.string().min(1).nullable(),clientAccountId:l.string().min(1),source:l.string().min(1),observedAt:l.number().int().finite().nonnegative(),lastClientIdentityObservation:c}),$e=l.object({sessionId:l.string(),importStatus:h}),et={"agent.added":l.object({sessionId:l.string(),adapterSessionId:l.string().optional(),agentId:l.string(),adapterId:l.string(),adapterName:l.string(),role:f.optional(),model:l.string().optional(),cwd:l.string().optional()}),"agent.removed":l.object({sessionId:l.string(),agentId:l.string()}),closed:l.object({sessionId:l.string(),reason:l.string().optional()}),resumed:l.object({sessionId:l.string()}),archived:l.object({sessionId:l.string()}),purged:l.object({sessionId:l.string()}),compressed:l.object({sessionId:l.string(),eventId:l.string()}),"clientAccount.changed":Qe,"connectorSwap.editRequested":l.object({sessionId:l.string(),agentId:l.string(),previousCwd:l.string().optional(),newCwd:l.string().optional(),previousModel:l.string().optional(),newModel:l.string().optional()}),"locality.degraded":l.intersection(l.object({sessionId:l.string(),eventId:l.string(),timestamp:l.number()}),l.discriminatedUnion(`verdictKind`,[l.object({intent:l.enum([`resume`,`fork`]),verdictKind:l.literal(`degrade`),reason:x,agentId:l.string().optional(),adapterId:l.string().optional(),turnId:l.string().optional()}),l.object({intent:l.enum([`resume`,`fork`]),verdictKind:l.literal(`foreign`),foreignMachineId:l.string(),agentId:l.string().optional(),adapterId:l.string().optional(),turnId:l.string().optional()})])),getContextWindowState:{request:l.object({sessionId:l.string()}),response:l.object({state:l.object({currentTokens:l.number(),maxTokens:l.number(),percentage:l.number(),level:l.enum([`ok`,`warn`,`critical`]),lastUpdatedAt:l.number()}).nullable()})},importStatusChanged:$e,"import.completed":l.object({sessionId:l.string(),adapterSessionId:l.string(),source:l.string()}),event:Y},X=l.object({includeEvents:l.boolean().default(!1),includeToolOutputs:l.boolean().default(!1),includeAncestors:l.boolean().default(!0),includeChildren:l.boolean().default(!1)}),tt=`1.0`,Z=l.object({version:l.literal(`1.0`),exportedAt:l.number(),options:X,sessions:l.array(R),agents:l.array(I),messages:l.array(O),turns:l.array(N),events:l.array(Y).optional()});function nt(e){return Z.parse(e)}function rt(e){let t=Z.safeParse(e);return t.success?{success:!0,data:t.data}:{success:!1,error:t.error}}const it={"snapshot.export":{request:l.object({sessionId:l.string(),options:X.optional()}),response:l.object({snapshot:Z})},"snapshot.import":{request:l.object({snapshot:Z,onConflict:l.enum([`fail`,`skip`,`overwrite`]).default(`fail`)}),response:l.object({imported:l.array(l.string()),skipped:l.array(l.string()),errors:l.array(l.object({sessionId:l.string(),error:l.string()}))})},"snapshot.validate":{request:l.object({snapshot:l.unknown()}),response:l.object({valid:l.boolean(),errors:l.array(l.string())})}},at={resolveAgentConfig:{request:l.object({selection:ae,projectId:l.string().optional()}),response:l.object({adapterName:l.string(),model:l.string().optional(),providerConfigId:l.string().optional(),reasoningEffort:n.optional(),supportedReasoningLevels:ee.optional(),systemPrompt:r.optional(),allowedTools:l.array(l.string()).optional(),disallowedTools:l.array(l.string()).optional(),allowedDirectories:l.array(l.string()).optional()})}},ot={resolveSystemPrompt:{request:l.object({sessionId:l.string(),personaId:l.string().optional(),profileId:l.string().optional()}),response:l.object({systemPrompt:l.string(),personaName:l.string().optional(),profileName:l.string().optional()})}},st={enrichContext:{request:l.object({sessionId:l.string()}),response:l.record(l.string(),l.unknown())}},ct={...qe,...et,...it,...Fe,...G,...at,...ot,...st},Q=l.object({adapterId:l.string(),harnessId:l.string().optional(),clientId:l.string().optional(),clientProfileName:fe.optional(),initialMessage:i.optional(),responseSchema:a.optional(),model:l.string().optional(),reasoningEffort:n.optional(),adapterConfig:t.optional(),env:l.record(l.string(),l.string()).optional(),role:f,sessionContext:w.optional(),mcpSessionContext:l.union([oe,ue]).optional(),providerContext:s.optional(),ephemeral:l.boolean().optional()}).merge(he),lt={request:l.union([Q.extend({mode:l.literal(`fork`),sessionId:l.string(),sourceSessionId:l.string(),sourceAdapterSessionId:l.string(),forkPointMessageId:l.string().optional(),targetWorkingDirectory:l.string().optional()}),Q.extend({mode:l.literal(`resume`),sessionId:l.string(),adapterSessionId:l.string()}),Q.extend({mode:l.literal(`create`).optional(),sessionId:l.string().optional()})]).superRefine((e,t)=>{let n=e.mode??`create`;e.ephemeral&&n!==`create`&&t.addIssue({code:l.ZodIssueCode.custom,path:[`ephemeral`],message:`ephemeral is only supported for create mode`}),e.ephemeral&&e.initialMessage===void 0&&t.addIssue({code:l.ZodIssueCode.custom,path:[`initialMessage`],message:`ephemeral startAgent requires initialMessage`})}),response:l.discriminatedUnion(`success`,[l.object({success:l.literal(!0),agentId:l.string(),adapterId:l.string(),adapterSessionId:l.string().optional(),sessionId:l.string(),messageId:l.string().optional()}),l.object({success:l.literal(!1),message:l.string()})])},ut={request:l.object({adapterId:l.string(),prompt:l.string(),model:l.string().optional(),systemPrompt:l.string().optional(),responseSchema:a.optional(),providerContext:s.optional()}),response:l.object({text:l.string(),usage:l.object({inputTokens:l.number(),outputTokens:l.number()}).optional()})},dt={request:l.object({adapterId:l.string()}),response:l.object({agents:l.array(l.object({agentId:l.string(),sessionId:l.string(),adapterSessionId:l.string().optional()}))})},ft={request:l.object({adapterId:l.string(),agentId:l.string()}),response:l.object({agent:l.object({agentId:l.string(),sessionId:l.string(),adapterSessionId:l.string().optional()}).nullable()})},pt={request:l.object({adapterId:l.string(),agentId:l.string()}),response:l.object({success:l.boolean()})},mt={request:l.object({adapterId:l.string(),agentId:l.string(),cwd:l.string().optional(),model:l.string().optional(),adapterSessionId:l.string().optional(),resumeAdapterSessionId:l.string().optional()}),response:l.object({})},ht={request:l.object({adapterName:l.string()}),response:l.object({found:l.boolean(),adapterName:l.string(),jsonSchema:l.record(l.string(),l.unknown()).nullable()})},gt=d.extend({agentId:l.string(),sessionId:l.string(),adapterSessionId:l.string().optional()}),_t=d.extend({adapterSessionId:l.string().optional(),sessionId:l.string(),model:l.string()}),vt=d.extend({sessionId:l.string(),adapterSessionId:l.string().optional(),totalInputTokens:l.number(),totalOutputTokens:l.number(),totalCalls:l.number()}),yt=d.extend({agentId:l.string(),sessionId:l.string(),adapterSessionId:l.string(),reason:l.string().optional()}),bt=d.extend({message:l.string(),timestamp:l.number(),level:l.enum([`debug`,`info`,`warn`,`error`]).optional()}),xt=d.extend({error:l.string(),sessionId:l.string().optional(),errorCategory:re.optional()}),St=d.extend({capabilities:l.array(l.string()),nativeTools:l.array(l.string()).optional()}),Ct=d.extend({provider:l.string(),quotaType:l.string(),limit:l.number(),used:l.number(),overage:l.number(),resetDate:l.string()}),wt=l.object({agentId:u.attribute(l.string(),`makaio.agent.id`),adapterId:u.attribute(l.string(),`makaio.adapter.id`),adapterName:u.attribute(l.string(),`makaio.adapter.name`),sessionId:u.attribute(l.string(),`makaio.session.id`).optional(),adapterSessionId:u.attribute(l.string(),`makaio.adapter.session_id`).optional(),messageId:u.attribute(l.string(),`makaio.message.id`).optional(),turnId:u.attribute(l.string(),`makaio.turn.id`).optional(),clientId:u.attribute(l.string(),`makaio.client.id`).optional(),providerConfigId:u.attribute(l.string(),`makaio.provider.config_id`).optional(),occurredAt:u.attribute(l.number(),`event.occurred_at`).optional()}),Tt=l.object({model:l.string().nullable(),cwd:l.string().nullable()}),Et=[`fresh`,`resume`,`fork`,`rotation`],$=l.enum(Et),Dt=wt.merge(Tt).extend({startMode:$}),Ot=d.merge(Tt).extend({adapterSessionId:l.string(),title:l.string().optional(),logFilePath:l.string().nullable().optional(),startedAt:l.number().finite().optional(),machineId:l.string().nullable().optional()}).and(pe);export{A as $,Qe as A,B,ot as C,X as D,Z as E,K as F,T as G,I as H,V as I,O as J,D as K,R as L,Y as M,Ye as N,rt as O,Ze as P,j as Q,z as R,st as S,tt as T,ze as U,F as V,P as W,N as X,M as Y,k as Z,ft as _,wt as a,S as at,lt as b,xt as c,y as ct,vt as d,f as dt,Re as et,_t as f,p as ft,pt as g,he as gt,mt as h,ge as ht,Dt as i,x as it,$e as j,nt as k,bt as l,b as lt,ht as m,m as mt,Et as n,Le as nt,Ct as o,v as ot,gt as p,h as pt,E as q,$ as r,Ie as rt,St as s,_ as st,Ot as t,w as tt,yt as u,g as ut,dt as v,at as w,ct as x,ut as y,L as z};
|
|
@@ -26,8 +26,8 @@ declare const TrayMenuEntrySchema: z.ZodObject<{
|
|
|
26
26
|
/** A group entry inherits its owning package and section from the group. */
|
|
27
27
|
declare const TrayMenuGroupEntrySchema: z.ZodObject<{
|
|
28
28
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
30
29
|
label: z.ZodString;
|
|
30
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
31
31
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
32
32
|
entryId: z.ZodString;
|
|
33
33
|
}, z.core.$strip>;
|
|
@@ -37,8 +37,8 @@ declare const TrayMenuGroupSchema: z.ZodObject<{
|
|
|
37
37
|
groupId: z.ZodString;
|
|
38
38
|
entries: z.ZodArray<z.ZodObject<{
|
|
39
39
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
41
40
|
label: z.ZodString;
|
|
41
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
42
42
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
43
43
|
entryId: z.ZodString;
|
|
44
44
|
}, z.core.$strip>>;
|
|
@@ -109,8 +109,8 @@ declare const TrayMenuSchemas: {
|
|
|
109
109
|
groupId: z.ZodString;
|
|
110
110
|
entries: z.ZodArray<z.ZodObject<{
|
|
111
111
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
112
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
113
112
|
label: z.ZodString;
|
|
113
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
114
114
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
115
115
|
entryId: z.ZodString;
|
|
116
116
|
}, z.core.$strip>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-
|
|
2
|
-
import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-
|
|
1
|
+
import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-BUrNl0QJ.mjs";
|
|
2
|
+
import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-d_0I6P7N.mjs";
|
|
3
3
|
export { AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigCredentialRefs, CanonicalProviderConfigCredentialRefsPayload, CanonicalProviderConfigCredentialRefsSchema, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-
|
|
1
|
+
import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-d_0I6P7N.mjs";
|
|
2
2
|
export { AdapterSubsystemNamespace, AdapterSubsystemSubjects };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-
|
|
2
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-
|
|
1
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-B_t6oOK-.mjs";
|
|
2
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BLER-Qom.mjs";
|
|
3
3
|
export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-
|
|
1
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BLER-Qom.mjs";
|
|
2
2
|
export { AgentRuntimeNamespace, AgentRuntimeSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-
|
|
1
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-B_t6oOK-.mjs";
|
|
2
2
|
export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
|
|
@@ -66,8 +66,8 @@ declare const ContextRuleActionSchema: z.ZodType<ContextRuleAction, ContextRuleA
|
|
|
66
66
|
* Persisted context-rule scope levels.
|
|
67
67
|
*/
|
|
68
68
|
declare const ContextRuleScopeSchema: z.ZodEnum<{
|
|
69
|
-
session: "session";
|
|
70
69
|
global: "global";
|
|
70
|
+
session: "session";
|
|
71
71
|
project: "project";
|
|
72
72
|
}>;
|
|
73
73
|
/**
|
|
@@ -101,8 +101,8 @@ declare const ContextRuleListQuerySchema: z.ZodObject<{
|
|
|
101
101
|
*/
|
|
102
102
|
declare const ContextRuleScopeIdentitySchema: z.ZodObject<{
|
|
103
103
|
scope: z.ZodEnum<{
|
|
104
|
-
session: "session";
|
|
105
104
|
global: "global";
|
|
105
|
+
session: "session";
|
|
106
106
|
project: "project";
|
|
107
107
|
}>;
|
|
108
108
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -160,14 +160,14 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
|
|
|
160
160
|
declare const ContextRuleChangedEventSchema: z.ZodObject<{
|
|
161
161
|
ruleId: z.ZodString;
|
|
162
162
|
changeType: z.ZodEnum<{
|
|
163
|
-
updated: "updated";
|
|
164
|
-
created: "created";
|
|
165
163
|
deleted: "deleted";
|
|
164
|
+
created: "created";
|
|
165
|
+
updated: "updated";
|
|
166
166
|
}>;
|
|
167
167
|
previous: z.ZodNullable<z.ZodObject<{
|
|
168
168
|
scope: z.ZodEnum<{
|
|
169
|
-
session: "session";
|
|
170
169
|
global: "global";
|
|
170
|
+
session: "session";
|
|
171
171
|
project: "project";
|
|
172
172
|
}>;
|
|
173
173
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -175,8 +175,8 @@ declare const ContextRuleChangedEventSchema: z.ZodObject<{
|
|
|
175
175
|
}, z.core.$strict>>;
|
|
176
176
|
current: z.ZodNullable<z.ZodObject<{
|
|
177
177
|
scope: z.ZodEnum<{
|
|
178
|
-
session: "session";
|
|
179
178
|
global: "global";
|
|
179
|
+
session: "session";
|
|
180
180
|
project: "project";
|
|
181
181
|
}>;
|
|
182
182
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -313,14 +313,14 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
|
|
|
313
313
|
changed: _$zod.ZodObject<{
|
|
314
314
|
ruleId: _$zod.ZodString;
|
|
315
315
|
changeType: _$zod.ZodEnum<{
|
|
316
|
-
updated: "updated";
|
|
317
|
-
created: "created";
|
|
318
316
|
deleted: "deleted";
|
|
317
|
+
created: "created";
|
|
318
|
+
updated: "updated";
|
|
319
319
|
}>;
|
|
320
320
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
321
321
|
scope: _$zod.ZodEnum<{
|
|
322
|
-
session: "session";
|
|
323
322
|
global: "global";
|
|
323
|
+
session: "session";
|
|
324
324
|
project: "project";
|
|
325
325
|
}>;
|
|
326
326
|
projectId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -328,8 +328,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
|
|
|
328
328
|
}, _$zod_v4_core0.$strict>>;
|
|
329
329
|
current: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
330
330
|
scope: _$zod.ZodEnum<{
|
|
331
|
-
session: "session";
|
|
332
331
|
global: "global";
|
|
332
|
+
session: "session";
|
|
333
333
|
project: "project";
|
|
334
334
|
}>;
|
|
335
335
|
projectId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -383,14 +383,14 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
|
|
|
383
383
|
changed: _$zod.ZodObject<{
|
|
384
384
|
ruleId: _$zod.ZodString;
|
|
385
385
|
changeType: _$zod.ZodEnum<{
|
|
386
|
-
updated: "updated";
|
|
387
|
-
created: "created";
|
|
388
386
|
deleted: "deleted";
|
|
387
|
+
created: "created";
|
|
388
|
+
updated: "updated";
|
|
389
389
|
}>;
|
|
390
390
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
391
391
|
scope: _$zod.ZodEnum<{
|
|
392
|
-
session: "session";
|
|
393
392
|
global: "global";
|
|
393
|
+
session: "session";
|
|
394
394
|
project: "project";
|
|
395
395
|
}>;
|
|
396
396
|
projectId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -398,8 +398,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
|
|
|
398
398
|
}, _$zod_v4_core0.$strict>>;
|
|
399
399
|
current: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
400
400
|
scope: _$zod.ZodEnum<{
|
|
401
|
-
session: "session";
|
|
402
401
|
global: "global";
|
|
402
|
+
session: "session";
|
|
403
403
|
project: "project";
|
|
404
404
|
}>;
|
|
405
405
|
projectId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-D4zaFE2p.mjs";
|
|
2
2
|
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-65uwTpbg.mjs";
|
|
3
|
-
import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, a as ContainerBootstrapConfig, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, o as ContainerBootstrapConfigSchema, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../../index-
|
|
3
|
+
import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, a as ContainerBootstrapConfig, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, o as ContainerBootstrapConfigSchema, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../../index-mU2lnU7O.mjs";
|
|
4
4
|
export { ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
|
|
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
|
|
|
10
10
|
changed: _$zod.ZodObject<{
|
|
11
11
|
path: _$zod.ZodString;
|
|
12
12
|
kind: _$zod.ZodEnum<{
|
|
13
|
-
change: "change";
|
|
14
|
-
delete: "delete";
|
|
15
13
|
create: "create";
|
|
14
|
+
delete: "delete";
|
|
15
|
+
change: "change";
|
|
16
16
|
}>;
|
|
17
17
|
}, _$zod_v4_core0.$strip>;
|
|
18
18
|
batch: _$zod.ZodObject<{
|
|
19
19
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
20
20
|
path: _$zod.ZodString;
|
|
21
21
|
kind: _$zod.ZodEnum<{
|
|
22
|
-
change: "change";
|
|
23
|
-
delete: "delete";
|
|
24
22
|
create: "create";
|
|
23
|
+
delete: "delete";
|
|
24
|
+
change: "change";
|
|
25
25
|
}>;
|
|
26
26
|
}, _$zod_v4_core0.$strip>>;
|
|
27
27
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
|
|
|
153
153
|
changed: _$zod.ZodObject<{
|
|
154
154
|
path: _$zod.ZodString;
|
|
155
155
|
kind: _$zod.ZodEnum<{
|
|
156
|
-
change: "change";
|
|
157
|
-
delete: "delete";
|
|
158
156
|
create: "create";
|
|
157
|
+
delete: "delete";
|
|
158
|
+
change: "change";
|
|
159
159
|
}>;
|
|
160
160
|
}, _$zod_v4_core0.$strip>;
|
|
161
161
|
batch: _$zod.ZodObject<{
|
|
162
162
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
163
163
|
path: _$zod.ZodString;
|
|
164
164
|
kind: _$zod.ZodEnum<{
|
|
165
|
-
change: "change";
|
|
166
|
-
delete: "delete";
|
|
167
165
|
create: "create";
|
|
166
|
+
delete: "delete";
|
|
167
|
+
change: "change";
|
|
168
168
|
}>;
|
|
169
169
|
}, _$zod_v4_core0.$strip>>;
|
|
170
170
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
294
294
|
changed: _$zod.ZodObject<{
|
|
295
295
|
path: _$zod.ZodString;
|
|
296
296
|
kind: _$zod.ZodEnum<{
|
|
297
|
-
change: "change";
|
|
298
|
-
delete: "delete";
|
|
299
297
|
create: "create";
|
|
298
|
+
delete: "delete";
|
|
299
|
+
change: "change";
|
|
300
300
|
}>;
|
|
301
301
|
}, _$zod_v4_core0.$strip>;
|
|
302
302
|
batch: _$zod.ZodObject<{
|
|
303
303
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
304
304
|
path: _$zod.ZodString;
|
|
305
305
|
kind: _$zod.ZodEnum<{
|
|
306
|
-
change: "change";
|
|
307
|
-
delete: "delete";
|
|
308
306
|
create: "create";
|
|
307
|
+
delete: "delete";
|
|
308
|
+
change: "change";
|
|
309
309
|
}>;
|
|
310
310
|
}, _$zod_v4_core0.$strip>>;
|
|
311
311
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5,9 +5,9 @@ import { z } from "zod";
|
|
|
5
5
|
* File change kind.
|
|
6
6
|
*/
|
|
7
7
|
declare const FsChangeKindSchema: z.ZodEnum<{
|
|
8
|
-
change: "change";
|
|
9
|
-
delete: "delete";
|
|
10
8
|
create: "create";
|
|
9
|
+
delete: "delete";
|
|
10
|
+
change: "change";
|
|
11
11
|
}>;
|
|
12
12
|
type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
13
13
|
/**
|
|
@@ -16,9 +16,9 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
|
16
16
|
declare const FsChangedSchema: z.ZodObject<{
|
|
17
17
|
path: z.ZodString;
|
|
18
18
|
kind: z.ZodEnum<{
|
|
19
|
-
change: "change";
|
|
20
|
-
delete: "delete";
|
|
21
19
|
create: "create";
|
|
20
|
+
delete: "delete";
|
|
21
|
+
change: "change";
|
|
22
22
|
}>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
type FsChanged = z.infer<typeof FsChangedSchema>;
|
|
@@ -29,9 +29,9 @@ declare const FsBatchSchema: z.ZodObject<{
|
|
|
29
29
|
changes: z.ZodArray<z.ZodObject<{
|
|
30
30
|
path: z.ZodString;
|
|
31
31
|
kind: z.ZodEnum<{
|
|
32
|
-
change: "change";
|
|
33
|
-
delete: "delete";
|
|
34
32
|
create: "create";
|
|
33
|
+
delete: "delete";
|
|
34
|
+
change: "change";
|
|
35
35
|
}>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
@@ -15,6 +15,7 @@ declare const HarnessInputSchema: z.ZodObject<{
|
|
|
15
15
|
name: z.ZodString;
|
|
16
16
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
17
17
|
clientId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18
19
|
toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
19
20
|
"file.read": "file.read";
|
|
20
21
|
"file.write": "file.write";
|
|
@@ -36,7 +37,6 @@ declare const HarnessInputSchema: z.ZodObject<{
|
|
|
36
37
|
"always-ask": "always-ask";
|
|
37
38
|
"full-access": "full-access";
|
|
38
39
|
}>>>;
|
|
39
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
40
|
approvalPolicy: z.ZodEnum<{
|
|
41
41
|
reject: "reject";
|
|
42
42
|
"always-ask": "always-ask";
|
|
@@ -132,6 +132,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
|
|
|
132
132
|
name: z.ZodString;
|
|
133
133
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
134
134
|
clientId: z.ZodOptional<z.ZodString>;
|
|
135
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
135
136
|
toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
136
137
|
"file.read": "file.read";
|
|
137
138
|
"file.write": "file.write";
|
|
@@ -153,7 +154,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
|
|
|
153
154
|
"always-ask": "always-ask";
|
|
154
155
|
"full-access": "full-access";
|
|
155
156
|
}>>>;
|
|
156
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
157
157
|
approvalPolicy: z.ZodEnum<{
|
|
158
158
|
reject: "reject";
|
|
159
159
|
"always-ask": "always-ask";
|
|
@@ -739,6 +739,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
739
739
|
name: z.ZodString;
|
|
740
740
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
741
741
|
clientId: z.ZodOptional<z.ZodString>;
|
|
742
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
742
743
|
toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
743
744
|
"file.read": "file.read";
|
|
744
745
|
"file.write": "file.write";
|
|
@@ -760,7 +761,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
760
761
|
"always-ask": "always-ask";
|
|
761
762
|
"full-access": "full-access";
|
|
762
763
|
}>>>;
|
|
763
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
764
764
|
approvalPolicy: z.ZodEnum<{
|
|
765
765
|
reject: "reject";
|
|
766
766
|
"always-ask": "always-ask";
|