@seat-mesh/core 0.1.18 → 0.1.23
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/chatroom/agent-id.d.ts +6 -0
- package/dist/chatroom/agent-id.d.ts.map +1 -1
- package/dist/chatroom/agent-id.js +23 -4
- package/dist/chatroom/agent-id.js.map +1 -1
- package/dist/chatroom/checkback-hint.d.ts +12 -2
- package/dist/chatroom/checkback-hint.d.ts.map +1 -1
- package/dist/chatroom/checkback-hint.js +65 -31
- package/dist/chatroom/checkback-hint.js.map +1 -1
- package/dist/chatroom/checkback-hint.test.js +18 -1
- package/dist/chatroom/checkback-hint.test.js.map +1 -1
- package/dist/chatroom/comms-checkback.d.ts +3 -0
- package/dist/chatroom/comms-checkback.d.ts.map +1 -1
- package/dist/chatroom/comms-checkback.js +19 -1
- package/dist/chatroom/comms-checkback.js.map +1 -1
- package/dist/chatroom/inbox-client.d.ts +2 -0
- package/dist/chatroom/inbox-client.d.ts.map +1 -1
- package/dist/chatroom/inbox-client.js +45 -0
- package/dist/chatroom/inbox-client.js.map +1 -1
- package/dist/chatroom/read-state.d.ts +2 -0
- package/dist/chatroom/read-state.d.ts.map +1 -1
- package/dist/chatroom/read-state.js +10 -0
- package/dist/chatroom/read-state.js.map +1 -1
- package/dist/chatroom/room.d.ts +2 -0
- package/dist/chatroom/room.d.ts.map +1 -1
- package/dist/chatroom/room.js +30 -2
- package/dist/chatroom/room.js.map +1 -1
- package/dist/chatroom/room.test.js +33 -8
- package/dist/chatroom/room.test.js.map +1 -1
- package/dist/comms/envelope.d.ts +2 -2
- package/dist/contracts/agent-apply.d.ts +176 -0
- package/dist/contracts/agent-apply.d.ts.map +1 -0
- package/dist/contracts/agent-apply.js +296 -0
- package/dist/contracts/agent-apply.js.map +1 -0
- package/dist/contracts/agent-apply.test.d.ts +2 -0
- package/dist/contracts/agent-apply.test.d.ts.map +1 -0
- package/dist/contracts/agent-apply.test.js +103 -0
- package/dist/contracts/agent-apply.test.js.map +1 -0
- package/dist/contracts/balance-contract.test.d.ts +2 -0
- package/dist/contracts/balance-contract.test.d.ts.map +1 -0
- package/dist/contracts/balance-contract.test.js +38 -0
- package/dist/contracts/balance-contract.test.js.map +1 -0
- package/dist/contracts/balance.d.ts +36 -0
- package/dist/contracts/balance.d.ts.map +1 -0
- package/dist/contracts/balance.js +37 -0
- package/dist/contracts/balance.js.map +1 -0
- package/dist/contracts/index.d.ts +2 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +2 -0
- package/dist/contracts/index.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/layout/stack.d.ts +1 -1
- package/dist/layout/stack.d.ts.map +1 -1
- package/dist/layout/stack.js +3 -2
- package/dist/layout/stack.js.map +1 -1
- package/dist/messages/cli-hints.d.ts +13 -0
- package/dist/messages/cli-hints.d.ts.map +1 -0
- package/dist/messages/cli-hints.js +22 -0
- package/dist/messages/cli-hints.js.map +1 -0
- package/dist/messages/mesh-copy.d.ts +88 -0
- package/dist/messages/mesh-copy.d.ts.map +1 -0
- package/dist/messages/mesh-copy.js +154 -0
- package/dist/messages/mesh-copy.js.map +1 -0
- package/dist/messages/mesh-copy.test.d.ts +2 -0
- package/dist/messages/mesh-copy.test.d.ts.map +1 -0
- package/dist/messages/mesh-copy.test.js +47 -0
- package/dist/messages/mesh-copy.test.js.map +1 -0
- package/dist/messages/mesh-inbox-intent.d.ts +12 -0
- package/dist/messages/mesh-inbox-intent.d.ts.map +1 -0
- package/dist/messages/mesh-inbox-intent.js +61 -0
- package/dist/messages/mesh-inbox-intent.js.map +1 -0
- package/dist/messages/mesh-inbox-intent.test.d.ts +2 -0
- package/dist/messages/mesh-inbox-intent.test.d.ts.map +1 -0
- package/dist/messages/mesh-inbox-intent.test.js +18 -0
- package/dist/messages/mesh-inbox-intent.test.js.map +1 -0
- package/dist/paths-manifest.test.js +1 -0
- package/dist/paths-manifest.test.js.map +1 -1
- package/dist/profile-edit.d.ts +26 -0
- package/dist/profile-edit.d.ts.map +1 -0
- package/dist/profile-edit.js +87 -0
- package/dist/profile-edit.js.map +1 -0
- package/dist/profile-edit.test.d.ts +2 -0
- package/dist/profile-edit.test.d.ts.map +1 -0
- package/dist/profile-edit.test.js +111 -0
- package/dist/profile-edit.test.js.map +1 -0
- package/dist/profile.d.ts +0 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +6 -4
- package/dist/profile.js.map +1 -1
- package/dist/providers/types.d.ts +8 -0
- package/dist/providers/types.d.ts.map +1 -1
- package/dist/role-index.d.ts +25 -2
- package/dist/role-index.d.ts.map +1 -1
- package/dist/role-index.js +98 -16
- package/dist/role-index.js.map +1 -1
- package/dist/role-index.test.js +42 -1
- package/dist/role-index.test.js.map +1 -1
- package/dist/schema/agents.d.ts +886 -141
- package/dist/schema/agents.d.ts.map +1 -1
- package/dist/schema/agents.js +34 -7
- package/dist/schema/agents.js.map +1 -1
- package/dist/schema/layout-manager2.test.js +1 -1
- package/dist/schema/layout-manager2.test.js.map +1 -1
- package/dist/schema/layout.d.ts +63 -62
- package/dist/schema/layout.d.ts.map +1 -1
- package/dist/schema/layout.js +33 -13
- package/dist/schema/layout.js.map +1 -1
- package/dist/schema/profile.d.ts +105 -132
- package/dist/schema/profile.d.ts.map +1 -1
- package/dist/schema/profile.js +8 -7
- package/dist/schema/profile.js.map +1 -1
- package/dist/schema/seat-kind.d.ts +43 -0
- package/dist/schema/seat-kind.d.ts.map +1 -0
- package/dist/schema/seat-kind.js +102 -0
- package/dist/schema/seat-kind.js.map +1 -0
- package/dist/schema/seat-kind.test.d.ts +2 -0
- package/dist/schema/seat-kind.test.d.ts.map +1 -0
- package/dist/schema/seat-kind.test.js +62 -0
- package/dist/schema/seat-kind.test.js.map +1 -0
- package/dist/ux/defaults.d.ts.map +1 -1
- package/dist/ux/defaults.js +6 -7
- package/dist/ux/defaults.js.map +1 -1
- package/dist/ux/evaluate.d.ts.map +1 -1
- package/dist/ux/evaluate.js +6 -3
- package/dist/ux/evaluate.js.map +1 -1
- package/package.json +1 -1
package/dist/schema/agents.d.ts
CHANGED
|
@@ -9,11 +9,8 @@ import { z } from "zod";
|
|
|
9
9
|
* Field convention: camelCase (not snake_case). The legacy harness
|
|
10
10
|
* format uses `resume_id`; mesh-agents.json normalises to `resumeId`.
|
|
11
11
|
*
|
|
12
|
-
* Slot mapping (
|
|
13
|
-
*
|
|
14
|
-
* secretary - base column 1
|
|
15
|
-
* workers - window "workers", 3x2 grid, slots 1-6
|
|
16
|
-
* minis - window "minis", 4x2 grid, minis 1-8
|
|
12
|
+
* Slot mapping: primary manager + primary secretary + coords (every other
|
|
13
|
+
* base column id from the profile) + workers + minis.
|
|
17
14
|
*/
|
|
18
15
|
export declare const CliTypeSchema: z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>;
|
|
19
16
|
export type CliType = z.infer<typeof CliTypeSchema>;
|
|
@@ -32,7 +29,7 @@ export declare const WorkerSlotSchema: z.ZodObject<{
|
|
|
32
29
|
/** 1-based slot number for lookup. */
|
|
33
30
|
slot: z.ZodNumber;
|
|
34
31
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
type: "empty" | "
|
|
32
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
36
33
|
slot: number;
|
|
37
34
|
name?: string | undefined;
|
|
38
35
|
ports?: string | undefined;
|
|
@@ -41,7 +38,7 @@ export declare const WorkerSlotSchema: z.ZodObject<{
|
|
|
41
38
|
paneIndex?: number | undefined;
|
|
42
39
|
}, {
|
|
43
40
|
slot: number;
|
|
44
|
-
type?: "empty" | "
|
|
41
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
45
42
|
name?: string | undefined;
|
|
46
43
|
ports?: string | undefined;
|
|
47
44
|
resumeId?: string | null | undefined;
|
|
@@ -55,12 +52,12 @@ export declare const ManagerSlotSchema: z.ZodObject<{
|
|
|
55
52
|
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
53
|
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
54
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
type: "empty" | "
|
|
55
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
59
56
|
name?: string | undefined;
|
|
60
57
|
resumeId?: string | null | undefined;
|
|
61
58
|
resumeCmd?: string | null | undefined;
|
|
62
59
|
}, {
|
|
63
|
-
type?: "empty" | "
|
|
60
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
64
61
|
name?: string | undefined;
|
|
65
62
|
resumeId?: string | null | undefined;
|
|
66
63
|
resumeCmd?: string | null | undefined;
|
|
@@ -74,14 +71,14 @@ export declare const SecretarySlotSchema: z.ZodObject<{
|
|
|
74
71
|
ports: z.ZodOptional<z.ZodString>;
|
|
75
72
|
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
76
73
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
type: "empty" | "
|
|
74
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
78
75
|
wanted: boolean;
|
|
79
76
|
ports?: string | undefined;
|
|
80
77
|
resumeId?: string | null | undefined;
|
|
81
78
|
resumeCmd?: string | null | undefined;
|
|
82
79
|
paneIndex?: number | undefined;
|
|
83
80
|
}, {
|
|
84
|
-
type?: "empty" | "
|
|
81
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
85
82
|
ports?: string | undefined;
|
|
86
83
|
resumeId?: string | null | undefined;
|
|
87
84
|
resumeCmd?: string | null | undefined;
|
|
@@ -103,8 +100,8 @@ export declare const MiniSlotSchema: z.ZodObject<{
|
|
|
103
100
|
/** Pane index within the minis tmux window (0-based). */
|
|
104
101
|
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
105
102
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
type: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
107
103
|
mini: number;
|
|
104
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
108
105
|
name?: string | undefined;
|
|
109
106
|
resumeId?: string | null | undefined;
|
|
110
107
|
resumeCmd?: string | null | undefined;
|
|
@@ -113,7 +110,7 @@ export declare const MiniSlotSchema: z.ZodObject<{
|
|
|
113
110
|
task?: string | undefined;
|
|
114
111
|
}, {
|
|
115
112
|
mini: number;
|
|
116
|
-
type?: "empty" | "
|
|
113
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
117
114
|
name?: string | undefined;
|
|
118
115
|
resumeId?: string | null | undefined;
|
|
119
116
|
resumeCmd?: string | null | undefined;
|
|
@@ -149,8 +146,8 @@ export declare const ConventionsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
149
146
|
attach?: boolean | undefined;
|
|
150
147
|
}>>;
|
|
151
148
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
secretaryDefaultCli: "empty" | "
|
|
153
|
-
miniDefaultCli: "empty" | "
|
|
149
|
+
secretaryDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
150
|
+
miniDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
154
151
|
launchSkipsEmpty: boolean;
|
|
155
152
|
coordSync?: {
|
|
156
153
|
reload?: boolean | undefined;
|
|
@@ -161,8 +158,8 @@ export declare const ConventionsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
161
158
|
reload?: boolean | undefined;
|
|
162
159
|
attach?: boolean | undefined;
|
|
163
160
|
} | undefined;
|
|
164
|
-
secretaryDefaultCli?: "empty" | "
|
|
165
|
-
miniDefaultCli?: "empty" | "
|
|
161
|
+
secretaryDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
162
|
+
miniDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
166
163
|
launchSkipsEmpty?: boolean | undefined;
|
|
167
164
|
}>>;
|
|
168
165
|
/** Persisted minis window layout (overrides profile yaml when present). */
|
|
@@ -171,12 +168,12 @@ export declare const SavedMinisLayoutSchema: z.ZodObject<{
|
|
|
171
168
|
max: z.ZodNumber;
|
|
172
169
|
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
173
170
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
grid: string;
|
|
175
171
|
max: number;
|
|
172
|
+
grid: string;
|
|
176
173
|
leads: number[];
|
|
177
174
|
}, {
|
|
178
|
-
grid: string;
|
|
179
175
|
max: number;
|
|
176
|
+
grid: string;
|
|
180
177
|
leads: number[];
|
|
181
178
|
}>;
|
|
182
179
|
export type SavedMinisLayout = z.infer<typeof SavedMinisLayoutSchema>;
|
|
@@ -207,13 +204,13 @@ export declare const SavedMinisLayoutSchemaWithEnabled: z.ZodObject<{
|
|
|
207
204
|
} & {
|
|
208
205
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
209
206
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
grid: string;
|
|
211
207
|
max: number;
|
|
208
|
+
grid: string;
|
|
212
209
|
leads: number[];
|
|
213
210
|
enabled?: boolean | undefined;
|
|
214
211
|
}, {
|
|
215
|
-
grid: string;
|
|
216
212
|
max: number;
|
|
213
|
+
grid: string;
|
|
217
214
|
leads: number[];
|
|
218
215
|
enabled?: boolean | undefined;
|
|
219
216
|
}>;
|
|
@@ -249,13 +246,13 @@ export declare const SavedLayoutSchema: z.ZodObject<{
|
|
|
249
246
|
} & {
|
|
250
247
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
251
248
|
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
grid: string;
|
|
253
249
|
max: number;
|
|
250
|
+
grid: string;
|
|
254
251
|
leads: number[];
|
|
255
252
|
enabled?: boolean | undefined;
|
|
256
253
|
}, {
|
|
257
|
-
grid: string;
|
|
258
254
|
max: number;
|
|
255
|
+
grid: string;
|
|
259
256
|
leads: number[];
|
|
260
257
|
enabled?: boolean | undefined;
|
|
261
258
|
}>>;
|
|
@@ -288,13 +285,13 @@ export declare const SavedLayoutSchema: z.ZodObject<{
|
|
|
288
285
|
} & {
|
|
289
286
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
290
287
|
}, "strip", z.ZodTypeAny, {
|
|
291
|
-
grid: string;
|
|
292
288
|
max: number;
|
|
289
|
+
grid: string;
|
|
293
290
|
leads: number[];
|
|
294
291
|
enabled?: boolean | undefined;
|
|
295
292
|
}, {
|
|
296
|
-
grid: string;
|
|
297
293
|
max: number;
|
|
294
|
+
grid: string;
|
|
298
295
|
leads: number[];
|
|
299
296
|
enabled?: boolean | undefined;
|
|
300
297
|
}>>;
|
|
@@ -327,20 +324,20 @@ export declare const SavedLayoutSchema: z.ZodObject<{
|
|
|
327
324
|
} & {
|
|
328
325
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
329
326
|
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
grid: string;
|
|
331
327
|
max: number;
|
|
328
|
+
grid: string;
|
|
332
329
|
leads: number[];
|
|
333
330
|
enabled?: boolean | undefined;
|
|
334
331
|
}, {
|
|
335
|
-
grid: string;
|
|
336
332
|
max: number;
|
|
333
|
+
grid: string;
|
|
337
334
|
leads: number[];
|
|
338
335
|
enabled?: boolean | undefined;
|
|
339
336
|
}>>;
|
|
340
337
|
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
341
338
|
}, z.ZodTypeAny, "passthrough">>;
|
|
342
339
|
export type SavedLayout = z.infer<typeof SavedLayoutSchema>;
|
|
343
|
-
export declare const MeshAgentsSchema: z.ZodObject<{
|
|
340
|
+
export declare const MeshAgentsSchema: z.ZodEffects<z.ZodObject<{
|
|
344
341
|
/** Schema version for future migrations. */
|
|
345
342
|
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
346
343
|
/** Tmux session name ("mesh"). */
|
|
@@ -353,32 +350,33 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
353
350
|
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
351
|
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
355
352
|
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
type: "empty" | "
|
|
353
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
357
354
|
name?: string | undefined;
|
|
358
355
|
resumeId?: string | null | undefined;
|
|
359
356
|
resumeCmd?: string | null | undefined;
|
|
360
357
|
}, {
|
|
361
|
-
type?: "empty" | "
|
|
358
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
362
359
|
name?: string | undefined;
|
|
363
360
|
resumeId?: string | null | undefined;
|
|
364
361
|
resumeCmd?: string | null | undefined;
|
|
365
362
|
}>>;
|
|
366
|
-
|
|
363
|
+
/** Every extra base column id (not primary manager / secretary). */
|
|
364
|
+
coords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
367
365
|
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
368
366
|
name: z.ZodOptional<z.ZodString>;
|
|
369
367
|
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
368
|
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
369
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
type: "empty" | "
|
|
370
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
373
371
|
name?: string | undefined;
|
|
374
372
|
resumeId?: string | null | undefined;
|
|
375
373
|
resumeCmd?: string | null | undefined;
|
|
376
374
|
}, {
|
|
377
|
-
type?: "empty" | "
|
|
375
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
378
376
|
name?: string | undefined;
|
|
379
377
|
resumeId?: string | null | undefined;
|
|
380
378
|
resumeCmd?: string | null | undefined;
|
|
381
|
-
}
|
|
379
|
+
}>>>;
|
|
382
380
|
secretary: z.ZodOptional<z.ZodObject<{
|
|
383
381
|
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
384
382
|
wanted: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -387,14 +385,14 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
387
385
|
ports: z.ZodOptional<z.ZodString>;
|
|
388
386
|
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
389
387
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
type: "empty" | "
|
|
388
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
391
389
|
wanted: boolean;
|
|
392
390
|
ports?: string | undefined;
|
|
393
391
|
resumeId?: string | null | undefined;
|
|
394
392
|
resumeCmd?: string | null | undefined;
|
|
395
393
|
paneIndex?: number | undefined;
|
|
396
394
|
}, {
|
|
397
|
-
type?: "empty" | "
|
|
395
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
398
396
|
ports?: string | undefined;
|
|
399
397
|
resumeId?: string | null | undefined;
|
|
400
398
|
resumeCmd?: string | null | undefined;
|
|
@@ -416,7 +414,7 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
416
414
|
/** 1-based slot number for lookup. */
|
|
417
415
|
slot: z.ZodNumber;
|
|
418
416
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
-
type: "empty" | "
|
|
417
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
420
418
|
slot: number;
|
|
421
419
|
name?: string | undefined;
|
|
422
420
|
ports?: string | undefined;
|
|
@@ -425,7 +423,7 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
425
423
|
paneIndex?: number | undefined;
|
|
426
424
|
}, {
|
|
427
425
|
slot: number;
|
|
428
|
-
type?: "empty" | "
|
|
426
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
429
427
|
name?: string | undefined;
|
|
430
428
|
ports?: string | undefined;
|
|
431
429
|
resumeId?: string | null | undefined;
|
|
@@ -446,8 +444,8 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
446
444
|
/** Pane index within the minis tmux window (0-based). */
|
|
447
445
|
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
448
446
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
type: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
450
447
|
mini: number;
|
|
448
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
451
449
|
name?: string | undefined;
|
|
452
450
|
resumeId?: string | null | undefined;
|
|
453
451
|
resumeCmd?: string | null | undefined;
|
|
@@ -456,7 +454,7 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
456
454
|
task?: string | undefined;
|
|
457
455
|
}, {
|
|
458
456
|
mini: number;
|
|
459
|
-
type?: "empty" | "
|
|
457
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
460
458
|
name?: string | undefined;
|
|
461
459
|
resumeId?: string | null | undefined;
|
|
462
460
|
resumeCmd?: string | null | undefined;
|
|
@@ -493,13 +491,13 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
493
491
|
} & {
|
|
494
492
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
495
493
|
}, "strip", z.ZodTypeAny, {
|
|
496
|
-
grid: string;
|
|
497
494
|
max: number;
|
|
495
|
+
grid: string;
|
|
498
496
|
leads: number[];
|
|
499
497
|
enabled?: boolean | undefined;
|
|
500
498
|
}, {
|
|
501
|
-
grid: string;
|
|
502
499
|
max: number;
|
|
500
|
+
grid: string;
|
|
503
501
|
leads: number[];
|
|
504
502
|
enabled?: boolean | undefined;
|
|
505
503
|
}>>;
|
|
@@ -532,13 +530,13 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
532
530
|
} & {
|
|
533
531
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
534
532
|
}, "strip", z.ZodTypeAny, {
|
|
535
|
-
grid: string;
|
|
536
533
|
max: number;
|
|
534
|
+
grid: string;
|
|
537
535
|
leads: number[];
|
|
538
536
|
enabled?: boolean | undefined;
|
|
539
537
|
}, {
|
|
540
|
-
grid: string;
|
|
541
538
|
max: number;
|
|
539
|
+
grid: string;
|
|
542
540
|
leads: number[];
|
|
543
541
|
enabled?: boolean | undefined;
|
|
544
542
|
}>>;
|
|
@@ -571,13 +569,13 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
571
569
|
} & {
|
|
572
570
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
573
571
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
grid: string;
|
|
575
572
|
max: number;
|
|
573
|
+
grid: string;
|
|
576
574
|
leads: number[];
|
|
577
575
|
enabled?: boolean | undefined;
|
|
578
576
|
}, {
|
|
579
|
-
grid: string;
|
|
580
577
|
max: number;
|
|
578
|
+
grid: string;
|
|
581
579
|
leads: number[];
|
|
582
580
|
enabled?: boolean | undefined;
|
|
583
581
|
}>>;
|
|
@@ -600,8 +598,8 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
600
598
|
attach?: boolean | undefined;
|
|
601
599
|
}>>;
|
|
602
600
|
}, "strip", z.ZodTypeAny, {
|
|
603
|
-
secretaryDefaultCli: "empty" | "
|
|
604
|
-
miniDefaultCli: "empty" | "
|
|
601
|
+
secretaryDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
602
|
+
miniDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
605
603
|
launchSkipsEmpty: boolean;
|
|
606
604
|
coordSync?: {
|
|
607
605
|
reload?: boolean | undefined;
|
|
@@ -612,59 +610,139 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
612
610
|
reload?: boolean | undefined;
|
|
613
611
|
attach?: boolean | undefined;
|
|
614
612
|
} | undefined;
|
|
615
|
-
secretaryDefaultCli?: "empty" | "
|
|
616
|
-
miniDefaultCli?: "empty" | "
|
|
613
|
+
secretaryDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
614
|
+
miniDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
617
615
|
launchSkipsEmpty?: boolean | undefined;
|
|
618
616
|
}>>;
|
|
619
617
|
/** ISO-8601 timestamp of last mutation. */
|
|
620
618
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
621
|
-
}, "
|
|
622
|
-
|
|
623
|
-
|
|
619
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
620
|
+
/** Schema version for future migrations. */
|
|
621
|
+
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
622
|
+
/** Tmux session name ("mesh"). */
|
|
623
|
+
session: z.ZodString;
|
|
624
|
+
/** Workspace root. */
|
|
625
|
+
workdir: z.ZodString;
|
|
626
|
+
manager: z.ZodOptional<z.ZodObject<{
|
|
627
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
628
|
+
name: z.ZodOptional<z.ZodString>;
|
|
629
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
630
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
|
+
}, "strip", z.ZodTypeAny, {
|
|
632
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
633
|
+
name?: string | undefined;
|
|
634
|
+
resumeId?: string | null | undefined;
|
|
635
|
+
resumeCmd?: string | null | undefined;
|
|
636
|
+
}, {
|
|
637
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
638
|
+
name?: string | undefined;
|
|
639
|
+
resumeId?: string | null | undefined;
|
|
640
|
+
resumeCmd?: string | null | undefined;
|
|
641
|
+
}>>;
|
|
642
|
+
/** Every extra base column id (not primary manager / secretary). */
|
|
643
|
+
coords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
644
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
645
|
+
name: z.ZodOptional<z.ZodString>;
|
|
646
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
647
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
648
|
+
}, "strip", z.ZodTypeAny, {
|
|
649
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
650
|
+
name?: string | undefined;
|
|
651
|
+
resumeId?: string | null | undefined;
|
|
652
|
+
resumeCmd?: string | null | undefined;
|
|
653
|
+
}, {
|
|
654
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
655
|
+
name?: string | undefined;
|
|
656
|
+
resumeId?: string | null | undefined;
|
|
657
|
+
resumeCmd?: string | null | undefined;
|
|
658
|
+
}>>>;
|
|
659
|
+
secretary: z.ZodOptional<z.ZodObject<{
|
|
660
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
661
|
+
wanted: z.ZodDefault<z.ZodBoolean>;
|
|
662
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
663
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
664
|
+
ports: z.ZodOptional<z.ZodString>;
|
|
665
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
666
|
+
}, "strip", z.ZodTypeAny, {
|
|
667
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
668
|
+
wanted: boolean;
|
|
669
|
+
ports?: string | undefined;
|
|
670
|
+
resumeId?: string | null | undefined;
|
|
671
|
+
resumeCmd?: string | null | undefined;
|
|
672
|
+
paneIndex?: number | undefined;
|
|
673
|
+
}, {
|
|
674
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
675
|
+
ports?: string | undefined;
|
|
676
|
+
resumeId?: string | null | undefined;
|
|
677
|
+
resumeCmd?: string | null | undefined;
|
|
678
|
+
paneIndex?: number | undefined;
|
|
679
|
+
wanted?: boolean | undefined;
|
|
680
|
+
}>>;
|
|
681
|
+
workers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
682
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
683
|
+
/** Human-readable label shown in borders/title. */
|
|
684
|
+
name: z.ZodOptional<z.ZodString>;
|
|
685
|
+
/** Workspace resume id (Cursor session / Claude session etc). */
|
|
686
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
|
+
/** Full resume command as pasted by launch (overrides buildAgentLaunchCmd). */
|
|
688
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
|
+
/** Port pair e.g. "3030/3031". */
|
|
690
|
+
ports: z.ZodOptional<z.ZodString>;
|
|
691
|
+
/** Pane index within the workers tmux window (0-based). */
|
|
692
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
693
|
+
/** 1-based slot number for lookup. */
|
|
694
|
+
slot: z.ZodNumber;
|
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
|
696
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
624
697
|
slot: number;
|
|
625
698
|
name?: string | undefined;
|
|
626
699
|
ports?: string | undefined;
|
|
627
700
|
resumeId?: string | null | undefined;
|
|
628
701
|
resumeCmd?: string | null | undefined;
|
|
629
702
|
paneIndex?: number | undefined;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
type
|
|
703
|
+
}, {
|
|
704
|
+
slot: number;
|
|
705
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
706
|
+
name?: string | undefined;
|
|
707
|
+
ports?: string | undefined;
|
|
708
|
+
resumeId?: string | null | undefined;
|
|
709
|
+
resumeCmd?: string | null | undefined;
|
|
710
|
+
paneIndex?: number | undefined;
|
|
711
|
+
}>, "many">>;
|
|
712
|
+
minis: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
713
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
714
|
+
name: z.ZodOptional<z.ZodString>;
|
|
715
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
716
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
717
|
+
/** 1-based mini number (1-8). */
|
|
718
|
+
mini: z.ZodNumber;
|
|
719
|
+
/** "helper", "tester", etc -- passed via spawn --role. */
|
|
720
|
+
role: z.ZodOptional<z.ZodString>;
|
|
721
|
+
/** Task description assigned at spawn. */
|
|
722
|
+
task: z.ZodOptional<z.ZodString>;
|
|
723
|
+
/** Pane index within the minis tmux window (0-based). */
|
|
724
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
725
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
726
|
mini: number;
|
|
727
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
634
728
|
name?: string | undefined;
|
|
635
729
|
resumeId?: string | null | undefined;
|
|
636
730
|
resumeCmd?: string | null | undefined;
|
|
637
731
|
paneIndex?: number | undefined;
|
|
638
732
|
role?: string | undefined;
|
|
639
733
|
task?: string | undefined;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
workdir: string;
|
|
644
|
-
conventions: {
|
|
645
|
-
secretaryDefaultCli: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
646
|
-
miniDefaultCli: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
647
|
-
launchSkipsEmpty: boolean;
|
|
648
|
-
coordSync?: {
|
|
649
|
-
reload?: boolean | undefined;
|
|
650
|
-
attach?: boolean | undefined;
|
|
651
|
-
} | undefined;
|
|
652
|
-
};
|
|
653
|
-
manager?: {
|
|
654
|
-
type: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
734
|
+
}, {
|
|
735
|
+
mini: number;
|
|
736
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
655
737
|
name?: string | undefined;
|
|
656
738
|
resumeId?: string | null | undefined;
|
|
657
739
|
resumeCmd?: string | null | undefined;
|
|
658
|
-
} | undefined;
|
|
659
|
-
secretary?: {
|
|
660
|
-
type: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
661
|
-
wanted: boolean;
|
|
662
|
-
ports?: string | undefined;
|
|
663
|
-
resumeId?: string | null | undefined;
|
|
664
|
-
resumeCmd?: string | null | undefined;
|
|
665
740
|
paneIndex?: number | undefined;
|
|
666
|
-
|
|
667
|
-
|
|
741
|
+
role?: string | undefined;
|
|
742
|
+
task?: string | undefined;
|
|
743
|
+
}>, "many">>;
|
|
744
|
+
/** Saved layout overrides (e.g. minis grid/leads); profile yaml is fallback only. */
|
|
745
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
668
746
|
nvim: z.ZodOptional<z.ZodObject<{
|
|
669
747
|
enabled: z.ZodBoolean;
|
|
670
748
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -692,62 +770,18 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
692
770
|
} & {
|
|
693
771
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
694
772
|
}, "strip", z.ZodTypeAny, {
|
|
695
|
-
grid: string;
|
|
696
773
|
max: number;
|
|
774
|
+
grid: string;
|
|
697
775
|
leads: number[];
|
|
698
776
|
enabled?: boolean | undefined;
|
|
699
777
|
}, {
|
|
700
|
-
grid: string;
|
|
701
778
|
max: number;
|
|
779
|
+
grid: string;
|
|
702
780
|
leads: number[];
|
|
703
781
|
enabled?: boolean | undefined;
|
|
704
782
|
}>>;
|
|
705
783
|
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
706
|
-
}, z.ZodTypeAny,
|
|
707
|
-
manager2?: {
|
|
708
|
-
type: "empty" | "kiro" | "claude" | "opencode" | "agent";
|
|
709
|
-
name?: string | undefined;
|
|
710
|
-
resumeId?: string | null | undefined;
|
|
711
|
-
resumeCmd?: string | null | undefined;
|
|
712
|
-
} | undefined;
|
|
713
|
-
updatedAt?: string | undefined;
|
|
714
|
-
}, {
|
|
715
|
-
session: string;
|
|
716
|
-
workdir: string;
|
|
717
|
-
manager?: {
|
|
718
|
-
type?: "empty" | "kiro" | "claude" | "opencode" | "agent" | undefined;
|
|
719
|
-
name?: string | undefined;
|
|
720
|
-
resumeId?: string | null | undefined;
|
|
721
|
-
resumeCmd?: string | null | undefined;
|
|
722
|
-
} | undefined;
|
|
723
|
-
secretary?: {
|
|
724
|
-
type?: "empty" | "kiro" | "claude" | "opencode" | "agent" | undefined;
|
|
725
|
-
ports?: string | undefined;
|
|
726
|
-
resumeId?: string | null | undefined;
|
|
727
|
-
resumeCmd?: string | null | undefined;
|
|
728
|
-
paneIndex?: number | undefined;
|
|
729
|
-
wanted?: boolean | undefined;
|
|
730
|
-
} | undefined;
|
|
731
|
-
workers?: {
|
|
732
|
-
slot: number;
|
|
733
|
-
type?: "empty" | "kiro" | "claude" | "opencode" | "agent" | undefined;
|
|
734
|
-
name?: string | undefined;
|
|
735
|
-
ports?: string | undefined;
|
|
736
|
-
resumeId?: string | null | undefined;
|
|
737
|
-
resumeCmd?: string | null | undefined;
|
|
738
|
-
paneIndex?: number | undefined;
|
|
739
|
-
}[] | undefined;
|
|
740
|
-
minis?: {
|
|
741
|
-
mini: number;
|
|
742
|
-
type?: "empty" | "kiro" | "claude" | "opencode" | "agent" | undefined;
|
|
743
|
-
name?: string | undefined;
|
|
744
|
-
resumeId?: string | null | undefined;
|
|
745
|
-
resumeCmd?: string | null | undefined;
|
|
746
|
-
paneIndex?: number | undefined;
|
|
747
|
-
role?: string | undefined;
|
|
748
|
-
task?: string | undefined;
|
|
749
|
-
}[] | undefined;
|
|
750
|
-
layout?: z.objectInputType<{
|
|
784
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
751
785
|
nvim: z.ZodOptional<z.ZodObject<{
|
|
752
786
|
enabled: z.ZodBoolean;
|
|
753
787
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -775,35 +809,746 @@ export declare const MeshAgentsSchema: z.ZodObject<{
|
|
|
775
809
|
} & {
|
|
776
810
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
777
811
|
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
max: number;
|
|
778
813
|
grid: string;
|
|
814
|
+
leads: number[];
|
|
815
|
+
enabled?: boolean | undefined;
|
|
816
|
+
}, {
|
|
779
817
|
max: number;
|
|
818
|
+
grid: string;
|
|
780
819
|
leads: number[];
|
|
781
820
|
enabled?: boolean | undefined;
|
|
821
|
+
}>>;
|
|
822
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
823
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
824
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
825
|
+
enabled: z.ZodBoolean;
|
|
826
|
+
}, "strip", z.ZodTypeAny, {
|
|
827
|
+
enabled: boolean;
|
|
828
|
+
}, {
|
|
829
|
+
enabled: boolean;
|
|
830
|
+
}>>;
|
|
831
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
832
|
+
enabled: z.ZodBoolean;
|
|
833
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
834
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
835
|
+
}, "strip", z.ZodTypeAny, {
|
|
836
|
+
enabled: boolean;
|
|
837
|
+
grid: "3x2";
|
|
838
|
+
slots?: number | undefined;
|
|
782
839
|
}, {
|
|
840
|
+
enabled: boolean;
|
|
841
|
+
grid?: "3x2" | undefined;
|
|
842
|
+
slots?: number | undefined;
|
|
843
|
+
}>>;
|
|
844
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
845
|
+
grid: z.ZodString;
|
|
846
|
+
max: z.ZodNumber;
|
|
847
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
848
|
+
} & {
|
|
849
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
850
|
+
}, "strip", z.ZodTypeAny, {
|
|
851
|
+
max: number;
|
|
783
852
|
grid: string;
|
|
853
|
+
leads: number[];
|
|
854
|
+
enabled?: boolean | undefined;
|
|
855
|
+
}, {
|
|
784
856
|
max: number;
|
|
857
|
+
grid: string;
|
|
785
858
|
leads: number[];
|
|
786
859
|
enabled?: boolean | undefined;
|
|
787
860
|
}>>;
|
|
788
861
|
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
789
|
-
}, z.ZodTypeAny, "passthrough"
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
862
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
863
|
+
conventions: z.ZodDefault<z.ZodObject<{
|
|
864
|
+
secretaryDefaultCli: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
865
|
+
miniDefaultCli: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
866
|
+
/** Skip empty seats when launching. */
|
|
867
|
+
launchSkipsEmpty: z.ZodDefault<z.ZodBoolean>;
|
|
868
|
+
/** Overrides profile layout.base.coordSync when set in mesh-agents.json. */
|
|
869
|
+
coordSync: z.ZodOptional<z.ZodObject<{
|
|
870
|
+
reload: z.ZodOptional<z.ZodBoolean>;
|
|
871
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
|
+
reload?: boolean | undefined;
|
|
874
|
+
attach?: boolean | undefined;
|
|
875
|
+
}, {
|
|
876
|
+
reload?: boolean | undefined;
|
|
877
|
+
attach?: boolean | undefined;
|
|
878
|
+
}>>;
|
|
879
|
+
}, "strip", z.ZodTypeAny, {
|
|
880
|
+
secretaryDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
881
|
+
miniDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
882
|
+
launchSkipsEmpty: boolean;
|
|
798
883
|
coordSync?: {
|
|
799
884
|
reload?: boolean | undefined;
|
|
800
885
|
attach?: boolean | undefined;
|
|
801
886
|
} | undefined;
|
|
802
|
-
|
|
803
|
-
|
|
887
|
+
}, {
|
|
888
|
+
coordSync?: {
|
|
889
|
+
reload?: boolean | undefined;
|
|
890
|
+
attach?: boolean | undefined;
|
|
891
|
+
} | undefined;
|
|
892
|
+
secretaryDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
893
|
+
miniDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
894
|
+
launchSkipsEmpty?: boolean | undefined;
|
|
895
|
+
}>>;
|
|
896
|
+
/** ISO-8601 timestamp of last mutation. */
|
|
897
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
898
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
899
|
+
/** Schema version for future migrations. */
|
|
900
|
+
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
901
|
+
/** Tmux session name ("mesh"). */
|
|
902
|
+
session: z.ZodString;
|
|
903
|
+
/** Workspace root. */
|
|
904
|
+
workdir: z.ZodString;
|
|
905
|
+
manager: z.ZodOptional<z.ZodObject<{
|
|
906
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
907
|
+
name: z.ZodOptional<z.ZodString>;
|
|
908
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
909
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
910
|
+
}, "strip", z.ZodTypeAny, {
|
|
911
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
912
|
+
name?: string | undefined;
|
|
913
|
+
resumeId?: string | null | undefined;
|
|
914
|
+
resumeCmd?: string | null | undefined;
|
|
915
|
+
}, {
|
|
916
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
917
|
+
name?: string | undefined;
|
|
918
|
+
resumeId?: string | null | undefined;
|
|
919
|
+
resumeCmd?: string | null | undefined;
|
|
920
|
+
}>>;
|
|
921
|
+
/** Every extra base column id (not primary manager / secretary). */
|
|
922
|
+
coords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
923
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
924
|
+
name: z.ZodOptional<z.ZodString>;
|
|
925
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
926
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
929
|
+
name?: string | undefined;
|
|
930
|
+
resumeId?: string | null | undefined;
|
|
931
|
+
resumeCmd?: string | null | undefined;
|
|
932
|
+
}, {
|
|
933
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
934
|
+
name?: string | undefined;
|
|
935
|
+
resumeId?: string | null | undefined;
|
|
936
|
+
resumeCmd?: string | null | undefined;
|
|
937
|
+
}>>>;
|
|
938
|
+
secretary: z.ZodOptional<z.ZodObject<{
|
|
939
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
940
|
+
wanted: z.ZodDefault<z.ZodBoolean>;
|
|
941
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
942
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
943
|
+
ports: z.ZodOptional<z.ZodString>;
|
|
944
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
945
|
+
}, "strip", z.ZodTypeAny, {
|
|
946
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
947
|
+
wanted: boolean;
|
|
948
|
+
ports?: string | undefined;
|
|
949
|
+
resumeId?: string | null | undefined;
|
|
950
|
+
resumeCmd?: string | null | undefined;
|
|
951
|
+
paneIndex?: number | undefined;
|
|
952
|
+
}, {
|
|
953
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
954
|
+
ports?: string | undefined;
|
|
955
|
+
resumeId?: string | null | undefined;
|
|
956
|
+
resumeCmd?: string | null | undefined;
|
|
957
|
+
paneIndex?: number | undefined;
|
|
958
|
+
wanted?: boolean | undefined;
|
|
959
|
+
}>>;
|
|
960
|
+
workers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
961
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
962
|
+
/** Human-readable label shown in borders/title. */
|
|
963
|
+
name: z.ZodOptional<z.ZodString>;
|
|
964
|
+
/** Workspace resume id (Cursor session / Claude session etc). */
|
|
965
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
966
|
+
/** Full resume command as pasted by launch (overrides buildAgentLaunchCmd). */
|
|
967
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
968
|
+
/** Port pair e.g. "3030/3031". */
|
|
969
|
+
ports: z.ZodOptional<z.ZodString>;
|
|
970
|
+
/** Pane index within the workers tmux window (0-based). */
|
|
971
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
972
|
+
/** 1-based slot number for lookup. */
|
|
973
|
+
slot: z.ZodNumber;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
976
|
+
slot: number;
|
|
977
|
+
name?: string | undefined;
|
|
978
|
+
ports?: string | undefined;
|
|
979
|
+
resumeId?: string | null | undefined;
|
|
980
|
+
resumeCmd?: string | null | undefined;
|
|
981
|
+
paneIndex?: number | undefined;
|
|
982
|
+
}, {
|
|
983
|
+
slot: number;
|
|
984
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
985
|
+
name?: string | undefined;
|
|
986
|
+
ports?: string | undefined;
|
|
987
|
+
resumeId?: string | null | undefined;
|
|
988
|
+
resumeCmd?: string | null | undefined;
|
|
989
|
+
paneIndex?: number | undefined;
|
|
990
|
+
}>, "many">>;
|
|
991
|
+
minis: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
992
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
993
|
+
name: z.ZodOptional<z.ZodString>;
|
|
994
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
995
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
996
|
+
/** 1-based mini number (1-8). */
|
|
997
|
+
mini: z.ZodNumber;
|
|
998
|
+
/** "helper", "tester", etc -- passed via spawn --role. */
|
|
999
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
/** Task description assigned at spawn. */
|
|
1001
|
+
task: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
/** Pane index within the minis tmux window (0-based). */
|
|
1003
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
1004
|
+
}, "strip", z.ZodTypeAny, {
|
|
1005
|
+
mini: number;
|
|
1006
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1007
|
+
name?: string | undefined;
|
|
1008
|
+
resumeId?: string | null | undefined;
|
|
1009
|
+
resumeCmd?: string | null | undefined;
|
|
1010
|
+
paneIndex?: number | undefined;
|
|
1011
|
+
role?: string | undefined;
|
|
1012
|
+
task?: string | undefined;
|
|
1013
|
+
}, {
|
|
1014
|
+
mini: number;
|
|
1015
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1016
|
+
name?: string | undefined;
|
|
1017
|
+
resumeId?: string | null | undefined;
|
|
1018
|
+
resumeCmd?: string | null | undefined;
|
|
1019
|
+
paneIndex?: number | undefined;
|
|
1020
|
+
role?: string | undefined;
|
|
1021
|
+
task?: string | undefined;
|
|
1022
|
+
}>, "many">>;
|
|
1023
|
+
/** Saved layout overrides (e.g. minis grid/leads); profile yaml is fallback only. */
|
|
1024
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1025
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1026
|
+
enabled: z.ZodBoolean;
|
|
1027
|
+
}, "strip", z.ZodTypeAny, {
|
|
1028
|
+
enabled: boolean;
|
|
1029
|
+
}, {
|
|
1030
|
+
enabled: boolean;
|
|
1031
|
+
}>>;
|
|
1032
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1033
|
+
enabled: z.ZodBoolean;
|
|
1034
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1035
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1036
|
+
}, "strip", z.ZodTypeAny, {
|
|
1037
|
+
enabled: boolean;
|
|
1038
|
+
grid: "3x2";
|
|
1039
|
+
slots?: number | undefined;
|
|
1040
|
+
}, {
|
|
1041
|
+
enabled: boolean;
|
|
1042
|
+
grid?: "3x2" | undefined;
|
|
1043
|
+
slots?: number | undefined;
|
|
1044
|
+
}>>;
|
|
1045
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1046
|
+
grid: z.ZodString;
|
|
1047
|
+
max: z.ZodNumber;
|
|
1048
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1049
|
+
} & {
|
|
1050
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
max: number;
|
|
1053
|
+
grid: string;
|
|
1054
|
+
leads: number[];
|
|
1055
|
+
enabled?: boolean | undefined;
|
|
1056
|
+
}, {
|
|
1057
|
+
max: number;
|
|
1058
|
+
grid: string;
|
|
1059
|
+
leads: number[];
|
|
1060
|
+
enabled?: boolean | undefined;
|
|
1061
|
+
}>>;
|
|
1062
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1063
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1064
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1065
|
+
enabled: z.ZodBoolean;
|
|
1066
|
+
}, "strip", z.ZodTypeAny, {
|
|
1067
|
+
enabled: boolean;
|
|
1068
|
+
}, {
|
|
1069
|
+
enabled: boolean;
|
|
1070
|
+
}>>;
|
|
1071
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1072
|
+
enabled: z.ZodBoolean;
|
|
1073
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1074
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
+
}, "strip", z.ZodTypeAny, {
|
|
1076
|
+
enabled: boolean;
|
|
1077
|
+
grid: "3x2";
|
|
1078
|
+
slots?: number | undefined;
|
|
1079
|
+
}, {
|
|
1080
|
+
enabled: boolean;
|
|
1081
|
+
grid?: "3x2" | undefined;
|
|
1082
|
+
slots?: number | undefined;
|
|
1083
|
+
}>>;
|
|
1084
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1085
|
+
grid: z.ZodString;
|
|
1086
|
+
max: z.ZodNumber;
|
|
1087
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1088
|
+
} & {
|
|
1089
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1090
|
+
}, "strip", z.ZodTypeAny, {
|
|
1091
|
+
max: number;
|
|
1092
|
+
grid: string;
|
|
1093
|
+
leads: number[];
|
|
1094
|
+
enabled?: boolean | undefined;
|
|
1095
|
+
}, {
|
|
1096
|
+
max: number;
|
|
1097
|
+
grid: string;
|
|
1098
|
+
leads: number[];
|
|
1099
|
+
enabled?: boolean | undefined;
|
|
1100
|
+
}>>;
|
|
1101
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1102
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1103
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1104
|
+
enabled: z.ZodBoolean;
|
|
1105
|
+
}, "strip", z.ZodTypeAny, {
|
|
1106
|
+
enabled: boolean;
|
|
1107
|
+
}, {
|
|
1108
|
+
enabled: boolean;
|
|
1109
|
+
}>>;
|
|
1110
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1111
|
+
enabled: z.ZodBoolean;
|
|
1112
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1113
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1114
|
+
}, "strip", z.ZodTypeAny, {
|
|
1115
|
+
enabled: boolean;
|
|
1116
|
+
grid: "3x2";
|
|
1117
|
+
slots?: number | undefined;
|
|
1118
|
+
}, {
|
|
1119
|
+
enabled: boolean;
|
|
1120
|
+
grid?: "3x2" | undefined;
|
|
1121
|
+
slots?: number | undefined;
|
|
1122
|
+
}>>;
|
|
1123
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1124
|
+
grid: z.ZodString;
|
|
1125
|
+
max: z.ZodNumber;
|
|
1126
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1127
|
+
} & {
|
|
1128
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1129
|
+
}, "strip", z.ZodTypeAny, {
|
|
1130
|
+
max: number;
|
|
1131
|
+
grid: string;
|
|
1132
|
+
leads: number[];
|
|
1133
|
+
enabled?: boolean | undefined;
|
|
1134
|
+
}, {
|
|
1135
|
+
max: number;
|
|
1136
|
+
grid: string;
|
|
1137
|
+
leads: number[];
|
|
1138
|
+
enabled?: boolean | undefined;
|
|
1139
|
+
}>>;
|
|
1140
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1141
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1142
|
+
conventions: z.ZodDefault<z.ZodObject<{
|
|
1143
|
+
secretaryDefaultCli: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1144
|
+
miniDefaultCli: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1145
|
+
/** Skip empty seats when launching. */
|
|
1146
|
+
launchSkipsEmpty: z.ZodDefault<z.ZodBoolean>;
|
|
1147
|
+
/** Overrides profile layout.base.coordSync when set in mesh-agents.json. */
|
|
1148
|
+
coordSync: z.ZodOptional<z.ZodObject<{
|
|
1149
|
+
reload: z.ZodOptional<z.ZodBoolean>;
|
|
1150
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
reload?: boolean | undefined;
|
|
1153
|
+
attach?: boolean | undefined;
|
|
1154
|
+
}, {
|
|
1155
|
+
reload?: boolean | undefined;
|
|
1156
|
+
attach?: boolean | undefined;
|
|
1157
|
+
}>>;
|
|
1158
|
+
}, "strip", z.ZodTypeAny, {
|
|
1159
|
+
secretaryDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1160
|
+
miniDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1161
|
+
launchSkipsEmpty: boolean;
|
|
1162
|
+
coordSync?: {
|
|
1163
|
+
reload?: boolean | undefined;
|
|
1164
|
+
attach?: boolean | undefined;
|
|
1165
|
+
} | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
coordSync?: {
|
|
1168
|
+
reload?: boolean | undefined;
|
|
1169
|
+
attach?: boolean | undefined;
|
|
1170
|
+
} | undefined;
|
|
1171
|
+
secretaryDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1172
|
+
miniDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1173
|
+
launchSkipsEmpty?: boolean | undefined;
|
|
1174
|
+
}>>;
|
|
1175
|
+
/** ISO-8601 timestamp of last mutation. */
|
|
1176
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
1178
|
+
coords: {
|
|
1179
|
+
[x: string]: {
|
|
1180
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1181
|
+
name?: string | undefined;
|
|
1182
|
+
resumeId?: string | null | undefined;
|
|
1183
|
+
resumeCmd?: string | null | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
workers: {
|
|
1187
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1188
|
+
slot: number;
|
|
1189
|
+
name?: string | undefined;
|
|
1190
|
+
ports?: string | undefined;
|
|
1191
|
+
resumeId?: string | null | undefined;
|
|
1192
|
+
resumeCmd?: string | null | undefined;
|
|
1193
|
+
paneIndex?: number | undefined;
|
|
1194
|
+
}[];
|
|
1195
|
+
minis: {
|
|
1196
|
+
mini: number;
|
|
1197
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1198
|
+
name?: string | undefined;
|
|
1199
|
+
resumeId?: string | null | undefined;
|
|
1200
|
+
resumeCmd?: string | null | undefined;
|
|
1201
|
+
paneIndex?: number | undefined;
|
|
1202
|
+
role?: string | undefined;
|
|
1203
|
+
task?: string | undefined;
|
|
1204
|
+
}[];
|
|
1205
|
+
session: string;
|
|
1206
|
+
schemaVersion: 1;
|
|
1207
|
+
workdir: string;
|
|
1208
|
+
conventions: {
|
|
1209
|
+
secretaryDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1210
|
+
miniDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1211
|
+
launchSkipsEmpty: boolean;
|
|
1212
|
+
coordSync?: {
|
|
1213
|
+
reload?: boolean | undefined;
|
|
1214
|
+
attach?: boolean | undefined;
|
|
1215
|
+
} | undefined;
|
|
1216
|
+
};
|
|
1217
|
+
manager?: {
|
|
1218
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1219
|
+
name?: string | undefined;
|
|
1220
|
+
resumeId?: string | null | undefined;
|
|
1221
|
+
resumeCmd?: string | null | undefined;
|
|
1222
|
+
} | undefined;
|
|
1223
|
+
secretary?: {
|
|
1224
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1225
|
+
wanted: boolean;
|
|
1226
|
+
ports?: string | undefined;
|
|
1227
|
+
resumeId?: string | null | undefined;
|
|
1228
|
+
resumeCmd?: string | null | undefined;
|
|
1229
|
+
paneIndex?: number | undefined;
|
|
1230
|
+
} | undefined;
|
|
1231
|
+
layout?: z.objectOutputType<{
|
|
1232
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1233
|
+
enabled: z.ZodBoolean;
|
|
1234
|
+
}, "strip", z.ZodTypeAny, {
|
|
1235
|
+
enabled: boolean;
|
|
1236
|
+
}, {
|
|
1237
|
+
enabled: boolean;
|
|
1238
|
+
}>>;
|
|
1239
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
enabled: z.ZodBoolean;
|
|
1241
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1242
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1243
|
+
}, "strip", z.ZodTypeAny, {
|
|
1244
|
+
enabled: boolean;
|
|
1245
|
+
grid: "3x2";
|
|
1246
|
+
slots?: number | undefined;
|
|
1247
|
+
}, {
|
|
1248
|
+
enabled: boolean;
|
|
1249
|
+
grid?: "3x2" | undefined;
|
|
1250
|
+
slots?: number | undefined;
|
|
1251
|
+
}>>;
|
|
1252
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1253
|
+
grid: z.ZodString;
|
|
1254
|
+
max: z.ZodNumber;
|
|
1255
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1256
|
+
} & {
|
|
1257
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1258
|
+
}, "strip", z.ZodTypeAny, {
|
|
1259
|
+
max: number;
|
|
1260
|
+
grid: string;
|
|
1261
|
+
leads: number[];
|
|
1262
|
+
enabled?: boolean | undefined;
|
|
1263
|
+
}, {
|
|
1264
|
+
max: number;
|
|
1265
|
+
grid: string;
|
|
1266
|
+
leads: number[];
|
|
1267
|
+
enabled?: boolean | undefined;
|
|
1268
|
+
}>>;
|
|
1269
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1270
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1271
|
+
updatedAt?: string | undefined;
|
|
1272
|
+
}, z.objectInputType<{
|
|
1273
|
+
/** Schema version for future migrations. */
|
|
1274
|
+
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
1275
|
+
/** Tmux session name ("mesh"). */
|
|
1276
|
+
session: z.ZodString;
|
|
1277
|
+
/** Workspace root. */
|
|
1278
|
+
workdir: z.ZodString;
|
|
1279
|
+
manager: z.ZodOptional<z.ZodObject<{
|
|
1280
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1281
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1283
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1284
|
+
}, "strip", z.ZodTypeAny, {
|
|
1285
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1286
|
+
name?: string | undefined;
|
|
1287
|
+
resumeId?: string | null | undefined;
|
|
1288
|
+
resumeCmd?: string | null | undefined;
|
|
1289
|
+
}, {
|
|
1290
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1291
|
+
name?: string | undefined;
|
|
1292
|
+
resumeId?: string | null | undefined;
|
|
1293
|
+
resumeCmd?: string | null | undefined;
|
|
1294
|
+
}>>;
|
|
1295
|
+
/** Every extra base column id (not primary manager / secretary). */
|
|
1296
|
+
coords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1297
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1298
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1299
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1300
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1301
|
+
}, "strip", z.ZodTypeAny, {
|
|
1302
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1303
|
+
name?: string | undefined;
|
|
1304
|
+
resumeId?: string | null | undefined;
|
|
1305
|
+
resumeCmd?: string | null | undefined;
|
|
1306
|
+
}, {
|
|
1307
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1308
|
+
name?: string | undefined;
|
|
1309
|
+
resumeId?: string | null | undefined;
|
|
1310
|
+
resumeCmd?: string | null | undefined;
|
|
1311
|
+
}>>>;
|
|
1312
|
+
secretary: z.ZodOptional<z.ZodObject<{
|
|
1313
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1314
|
+
wanted: z.ZodDefault<z.ZodBoolean>;
|
|
1315
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1316
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1317
|
+
ports: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
1319
|
+
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1321
|
+
wanted: boolean;
|
|
1322
|
+
ports?: string | undefined;
|
|
1323
|
+
resumeId?: string | null | undefined;
|
|
1324
|
+
resumeCmd?: string | null | undefined;
|
|
1325
|
+
paneIndex?: number | undefined;
|
|
1326
|
+
}, {
|
|
1327
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1328
|
+
ports?: string | undefined;
|
|
1329
|
+
resumeId?: string | null | undefined;
|
|
1330
|
+
resumeCmd?: string | null | undefined;
|
|
1331
|
+
paneIndex?: number | undefined;
|
|
1332
|
+
wanted?: boolean | undefined;
|
|
1333
|
+
}>>;
|
|
1334
|
+
workers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1335
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1336
|
+
/** Human-readable label shown in borders/title. */
|
|
1337
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
/** Workspace resume id (Cursor session / Claude session etc). */
|
|
1339
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1340
|
+
/** Full resume command as pasted by launch (overrides buildAgentLaunchCmd). */
|
|
1341
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1342
|
+
/** Port pair e.g. "3030/3031". */
|
|
1343
|
+
ports: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
/** Pane index within the workers tmux window (0-based). */
|
|
1345
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
1346
|
+
/** 1-based slot number for lookup. */
|
|
1347
|
+
slot: z.ZodNumber;
|
|
1348
|
+
}, "strip", z.ZodTypeAny, {
|
|
1349
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1350
|
+
slot: number;
|
|
1351
|
+
name?: string | undefined;
|
|
1352
|
+
ports?: string | undefined;
|
|
1353
|
+
resumeId?: string | null | undefined;
|
|
1354
|
+
resumeCmd?: string | null | undefined;
|
|
1355
|
+
paneIndex?: number | undefined;
|
|
1356
|
+
}, {
|
|
1357
|
+
slot: number;
|
|
1358
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1359
|
+
name?: string | undefined;
|
|
1360
|
+
ports?: string | undefined;
|
|
1361
|
+
resumeId?: string | null | undefined;
|
|
1362
|
+
resumeCmd?: string | null | undefined;
|
|
1363
|
+
paneIndex?: number | undefined;
|
|
1364
|
+
}>, "many">>;
|
|
1365
|
+
minis: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1366
|
+
type: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1367
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
resumeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
|
+
resumeCmd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1370
|
+
/** 1-based mini number (1-8). */
|
|
1371
|
+
mini: z.ZodNumber;
|
|
1372
|
+
/** "helper", "tester", etc -- passed via spawn --role. */
|
|
1373
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
/** Task description assigned at spawn. */
|
|
1375
|
+
task: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
/** Pane index within the minis tmux window (0-based). */
|
|
1377
|
+
paneIndex: z.ZodOptional<z.ZodNumber>;
|
|
1378
|
+
}, "strip", z.ZodTypeAny, {
|
|
1379
|
+
mini: number;
|
|
1380
|
+
type: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1381
|
+
name?: string | undefined;
|
|
1382
|
+
resumeId?: string | null | undefined;
|
|
1383
|
+
resumeCmd?: string | null | undefined;
|
|
1384
|
+
paneIndex?: number | undefined;
|
|
1385
|
+
role?: string | undefined;
|
|
1386
|
+
task?: string | undefined;
|
|
1387
|
+
}, {
|
|
1388
|
+
mini: number;
|
|
1389
|
+
type?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1390
|
+
name?: string | undefined;
|
|
1391
|
+
resumeId?: string | null | undefined;
|
|
1392
|
+
resumeCmd?: string | null | undefined;
|
|
1393
|
+
paneIndex?: number | undefined;
|
|
1394
|
+
role?: string | undefined;
|
|
1395
|
+
task?: string | undefined;
|
|
1396
|
+
}>, "many">>;
|
|
1397
|
+
/** Saved layout overrides (e.g. minis grid/leads); profile yaml is fallback only. */
|
|
1398
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1399
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1400
|
+
enabled: z.ZodBoolean;
|
|
1401
|
+
}, "strip", z.ZodTypeAny, {
|
|
1402
|
+
enabled: boolean;
|
|
1403
|
+
}, {
|
|
1404
|
+
enabled: boolean;
|
|
1405
|
+
}>>;
|
|
1406
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1407
|
+
enabled: z.ZodBoolean;
|
|
1408
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1409
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1411
|
+
enabled: boolean;
|
|
1412
|
+
grid: "3x2";
|
|
1413
|
+
slots?: number | undefined;
|
|
1414
|
+
}, {
|
|
1415
|
+
enabled: boolean;
|
|
1416
|
+
grid?: "3x2" | undefined;
|
|
1417
|
+
slots?: number | undefined;
|
|
1418
|
+
}>>;
|
|
1419
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1420
|
+
grid: z.ZodString;
|
|
1421
|
+
max: z.ZodNumber;
|
|
1422
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1423
|
+
} & {
|
|
1424
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1425
|
+
}, "strip", z.ZodTypeAny, {
|
|
1426
|
+
max: number;
|
|
1427
|
+
grid: string;
|
|
1428
|
+
leads: number[];
|
|
1429
|
+
enabled?: boolean | undefined;
|
|
1430
|
+
}, {
|
|
1431
|
+
max: number;
|
|
1432
|
+
grid: string;
|
|
1433
|
+
leads: number[];
|
|
1434
|
+
enabled?: boolean | undefined;
|
|
1435
|
+
}>>;
|
|
1436
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1437
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1438
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1439
|
+
enabled: z.ZodBoolean;
|
|
1440
|
+
}, "strip", z.ZodTypeAny, {
|
|
1441
|
+
enabled: boolean;
|
|
1442
|
+
}, {
|
|
1443
|
+
enabled: boolean;
|
|
1444
|
+
}>>;
|
|
1445
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1446
|
+
enabled: z.ZodBoolean;
|
|
1447
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1448
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1449
|
+
}, "strip", z.ZodTypeAny, {
|
|
1450
|
+
enabled: boolean;
|
|
1451
|
+
grid: "3x2";
|
|
1452
|
+
slots?: number | undefined;
|
|
1453
|
+
}, {
|
|
1454
|
+
enabled: boolean;
|
|
1455
|
+
grid?: "3x2" | undefined;
|
|
1456
|
+
slots?: number | undefined;
|
|
1457
|
+
}>>;
|
|
1458
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1459
|
+
grid: z.ZodString;
|
|
1460
|
+
max: z.ZodNumber;
|
|
1461
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1462
|
+
} & {
|
|
1463
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1464
|
+
}, "strip", z.ZodTypeAny, {
|
|
1465
|
+
max: number;
|
|
1466
|
+
grid: string;
|
|
1467
|
+
leads: number[];
|
|
1468
|
+
enabled?: boolean | undefined;
|
|
1469
|
+
}, {
|
|
1470
|
+
max: number;
|
|
1471
|
+
grid: string;
|
|
1472
|
+
leads: number[];
|
|
1473
|
+
enabled?: boolean | undefined;
|
|
1474
|
+
}>>;
|
|
1475
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1476
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1477
|
+
nvim: z.ZodOptional<z.ZodObject<{
|
|
1478
|
+
enabled: z.ZodBoolean;
|
|
1479
|
+
}, "strip", z.ZodTypeAny, {
|
|
1480
|
+
enabled: boolean;
|
|
1481
|
+
}, {
|
|
1482
|
+
enabled: boolean;
|
|
1483
|
+
}>>;
|
|
1484
|
+
workers: z.ZodOptional<z.ZodObject<{
|
|
1485
|
+
enabled: z.ZodBoolean;
|
|
1486
|
+
grid: z.ZodDefault<z.ZodLiteral<"3x2">>;
|
|
1487
|
+
slots: z.ZodOptional<z.ZodNumber>;
|
|
1488
|
+
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
enabled: boolean;
|
|
1490
|
+
grid: "3x2";
|
|
1491
|
+
slots?: number | undefined;
|
|
1492
|
+
}, {
|
|
1493
|
+
enabled: boolean;
|
|
1494
|
+
grid?: "3x2" | undefined;
|
|
1495
|
+
slots?: number | undefined;
|
|
1496
|
+
}>>;
|
|
1497
|
+
minis: z.ZodOptional<z.ZodObject<{
|
|
1498
|
+
grid: z.ZodString;
|
|
1499
|
+
max: z.ZodNumber;
|
|
1500
|
+
leads: z.ZodArray<z.ZodNumber, "many">;
|
|
1501
|
+
} & {
|
|
1502
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1503
|
+
}, "strip", z.ZodTypeAny, {
|
|
1504
|
+
max: number;
|
|
1505
|
+
grid: string;
|
|
1506
|
+
leads: number[];
|
|
1507
|
+
enabled?: boolean | undefined;
|
|
1508
|
+
}, {
|
|
1509
|
+
max: number;
|
|
1510
|
+
grid: string;
|
|
1511
|
+
leads: number[];
|
|
1512
|
+
enabled?: boolean | undefined;
|
|
1513
|
+
}>>;
|
|
1514
|
+
base: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1515
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1516
|
+
conventions: z.ZodDefault<z.ZodObject<{
|
|
1517
|
+
secretaryDefaultCli: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1518
|
+
miniDefaultCli: z.ZodDefault<z.ZodEnum<["agent", "claude", "kiro", "opencode", "empty"]>>;
|
|
1519
|
+
/** Skip empty seats when launching. */
|
|
1520
|
+
launchSkipsEmpty: z.ZodDefault<z.ZodBoolean>;
|
|
1521
|
+
/** Overrides profile layout.base.coordSync when set in mesh-agents.json. */
|
|
1522
|
+
coordSync: z.ZodOptional<z.ZodObject<{
|
|
1523
|
+
reload: z.ZodOptional<z.ZodBoolean>;
|
|
1524
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
1525
|
+
}, "strip", z.ZodTypeAny, {
|
|
1526
|
+
reload?: boolean | undefined;
|
|
1527
|
+
attach?: boolean | undefined;
|
|
1528
|
+
}, {
|
|
1529
|
+
reload?: boolean | undefined;
|
|
1530
|
+
attach?: boolean | undefined;
|
|
1531
|
+
}>>;
|
|
1532
|
+
}, "strip", z.ZodTypeAny, {
|
|
1533
|
+
secretaryDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1534
|
+
miniDefaultCli: "empty" | "opencode" | "agent" | "kiro" | "claude";
|
|
1535
|
+
launchSkipsEmpty: boolean;
|
|
1536
|
+
coordSync?: {
|
|
1537
|
+
reload?: boolean | undefined;
|
|
1538
|
+
attach?: boolean | undefined;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
}, {
|
|
1541
|
+
coordSync?: {
|
|
1542
|
+
reload?: boolean | undefined;
|
|
1543
|
+
attach?: boolean | undefined;
|
|
1544
|
+
} | undefined;
|
|
1545
|
+
secretaryDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
1546
|
+
miniDefaultCli?: "empty" | "opencode" | "agent" | "kiro" | "claude" | undefined;
|
|
804
1547
|
launchSkipsEmpty?: boolean | undefined;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
|
|
1548
|
+
}>>;
|
|
1549
|
+
/** ISO-8601 timestamp of last mutation. */
|
|
1550
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1551
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
808
1552
|
export type MeshAgents = z.infer<typeof MeshAgentsSchema>;
|
|
1553
|
+
export declare function extraColumnSlot(mesh: MeshAgents, id: string): z.infer<typeof ManagerSlotSchema> | undefined;
|
|
809
1554
|
//# sourceMappingURL=agents.d.ts.map
|