@tealbrick/avm 0.1.0

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.
@@ -0,0 +1,626 @@
1
+ declare const _default: import("eve/extension").ExtensionHandle<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
2
+ target: import("zod").ZodString;
3
+ mode: import("zod").ZodDefault<import("zod").ZodEnum<{
4
+ operator: "operator";
5
+ paired: "paired";
6
+ }>>;
7
+ sudo: import("zod").ZodDefault<import("zod").ZodBoolean>;
8
+ identityFile: import("zod").ZodOptional<import("zod").ZodString>;
9
+ identityTokenFile: import("zod").ZodOptional<import("zod").ZodString>;
10
+ timeoutMs: import("zod").ZodDefault<import("zod").ZodNumber>;
11
+ policy: import("zod").ZodDefault<import("zod").ZodObject<{
12
+ lifecycle: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
13
+ worker: import("zod").ZodString;
14
+ operations: import("zod").ZodArray<import("zod").ZodEnum<{
15
+ start: "start";
16
+ stop: "stop";
17
+ promote: "promote";
18
+ destroy: "destroy";
19
+ }>>;
20
+ }, import("zod/v4/core").$strict>>>;
21
+ spawns: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
22
+ worker: import("zod").ZodString;
23
+ profile: import("zod").ZodEnum<{
24
+ light: "light";
25
+ small: "small";
26
+ standard: "standard";
27
+ browser: "browser";
28
+ }>;
29
+ mode: import("zod").ZodEnum<{
30
+ ephemeral: "ephemeral";
31
+ durable: "durable";
32
+ }>;
33
+ harnesses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
34
+ bundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
35
+ capabilities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
36
+ mcps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
37
+ plugins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
38
+ auth: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
39
+ }, import("zod/v4/core").$strict>>>;
40
+ commands: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
41
+ worker: import("zod").ZodString;
42
+ command: import("zod").ZodString;
43
+ argv: import("zod").ZodArray<import("zod").ZodString>;
44
+ }, import("zod/v4/core").$strict>>>;
45
+ administration: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
46
+ name: import("zod").ZodString;
47
+ request: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
48
+ weight: import("zod").ZodOptional<import("zod").ZodNumber>;
49
+ concurrentHeavyWork: import("zod").ZodOptional<import("zod").ZodNumber>;
50
+ queuePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
51
+ fair: "fair";
52
+ fifo: "fifo";
53
+ reject: "reject";
54
+ }>>;
55
+ operation: import("zod").ZodLiteral<"tenantSync">;
56
+ workspace: import("zod").ZodString;
57
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
58
+ principalId: import("zod").ZodOptional<import("zod").ZodString>;
59
+ issuer: import("zod").ZodOptional<import("zod").ZodURL>;
60
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
61
+ role: import("zod").ZodDefault<import("zod").ZodEnum<{
62
+ member: "member";
63
+ admin: "admin";
64
+ operator: "operator";
65
+ }>>;
66
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
67
+ operation: import("zod").ZodLiteral<"ingressPut">;
68
+ provider: import("zod").ZodString;
69
+ externalIdentity: import("zod").ZodString;
70
+ worker: import("zod").ZodString;
71
+ channelScope: import("zod").ZodOptional<import("zod").ZodString>;
72
+ metadataFile: import("zod").ZodOptional<import("zod").ZodString>;
73
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
74
+ operation: import("zod").ZodLiteral<"ingressRevoke">;
75
+ identityId: import("zod").ZodString;
76
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
77
+ operation: import("zod").ZodLiteral<"ingressWake">;
78
+ provider: import("zod").ZodString;
79
+ externalIdentity: import("zod").ZodString;
80
+ eventId: import("zod").ZodString;
81
+ channelScope: import("zod").ZodOptional<import("zod").ZodString>;
82
+ payloadFile: import("zod").ZodOptional<import("zod").ZodString>;
83
+ correlationId: import("zod").ZodOptional<import("zod").ZodString>;
84
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
85
+ operation: import("zod").ZodLiteral<"ingressComplete">;
86
+ wakeId: import("zod").ZodString;
87
+ error: import("zod").ZodOptional<import("zod").ZodString>;
88
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
89
+ operation: import("zod").ZodLiteral<"resize">;
90
+ worker: import("zod").ZodString;
91
+ memoryTargetMiB: import("zod").ZodNumber;
92
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
93
+ weight: import("zod").ZodOptional<import("zod").ZodNumber>;
94
+ concurrentHeavyWork: import("zod").ZodOptional<import("zod").ZodNumber>;
95
+ queuePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
96
+ fair: "fair";
97
+ fifo: "fifo";
98
+ reject: "reject";
99
+ }>>;
100
+ operation: import("zod").ZodLiteral<"workspacePut">;
101
+ workspace: import("zod").ZodString;
102
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
103
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
104
+ operation: import("zod").ZodLiteral<"workspaceDisable">;
105
+ workspace: import("zod").ZodString;
106
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
107
+ operation: import("zod").ZodLiteral<"userPut">;
108
+ user: import("zod").ZodString;
109
+ workspace: import("zod").ZodString;
110
+ role: import("zod").ZodEnum<{
111
+ member: "member";
112
+ admin: "admin";
113
+ operator: "operator";
114
+ }>;
115
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
116
+ operation: import("zod").ZodLiteral<"ownerSet">;
117
+ worker: import("zod").ZodString;
118
+ workspace: import("zod").ZodString;
119
+ user: import("zod").ZodOptional<import("zod").ZodString>;
120
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
121
+ operation: import("zod").ZodLiteral<"shareGrant">;
122
+ worker: import("zod").ZodString;
123
+ grantee: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
124
+ kind: import("zod").ZodLiteral<"workspace">;
125
+ id: import("zod").ZodString;
126
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
127
+ kind: import("zod").ZodLiteral<"user">;
128
+ id: import("zod").ZodString;
129
+ }, import("zod/v4/core").$strict>], "kind">;
130
+ allow: import("zod").ZodArray<import("zod").ZodEnum<{
131
+ status: "status";
132
+ exec: "exec";
133
+ start: "start";
134
+ stop: "stop";
135
+ ssh: "ssh";
136
+ logs: "logs";
137
+ events: "events";
138
+ runs: "runs";
139
+ assignments: "assignments";
140
+ schedule: "schedule";
141
+ capabilities: "capabilities";
142
+ auth: "auth";
143
+ leases: "leases";
144
+ resident: "resident";
145
+ wake: "wake";
146
+ cool: "cool";
147
+ list: "list";
148
+ inventory: "inventory";
149
+ monitor: "monitor";
150
+ roles: "roles";
151
+ ingress: "ingress";
152
+ }>>;
153
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
154
+ operation: import("zod").ZodLiteral<"shareRevoke">;
155
+ worker: import("zod").ZodString;
156
+ shareId: import("zod").ZodString;
157
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
158
+ operation: import("zod").ZodLiteral<"residentSet">;
159
+ worker: import("zod").ZodString;
160
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
161
+ operation: import("zod").ZodLiteral<"wake">;
162
+ worker: import("zod").ZodString;
163
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
164
+ source: import("zod").ZodDefault<import("zod").ZodEnum<{
165
+ schedule: "schedule";
166
+ cli: "cli";
167
+ "control-plane": "control-plane";
168
+ delegation: "delegation";
169
+ }>>;
170
+ externalEventId: import("zod").ZodOptional<import("zod").ZodString>;
171
+ idempotencyKey: import("zod").ZodString;
172
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
173
+ operation: import("zod").ZodLiteral<"cool">;
174
+ worker: import("zod").ZodString;
175
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
176
+ operation: import("zod").ZodLiteral<"poolPolicySet">;
177
+ cpuPercent: import("zod").ZodOptional<import("zod").ZodNumber>;
178
+ memoryMaxBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
179
+ memoryHighBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
180
+ hostMemoryReserveBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
181
+ launchReserveBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
182
+ }, import("zod/v4/core").$strict>], "operation">;
183
+ }, import("zod/v4/core").$strict>>>;
184
+ }, import("zod/v4/core").$strict>>;
185
+ }, import("zod/v4/core").$strict>, import("zod").ZodPipe<import("zod").ZodObject<{
186
+ selectedProfile: import("zod").ZodString;
187
+ profiles: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
188
+ target: import("zod").ZodString;
189
+ mode: import("zod").ZodDefault<import("zod").ZodEnum<{
190
+ operator: "operator";
191
+ paired: "paired";
192
+ }>>;
193
+ sudo: import("zod").ZodDefault<import("zod").ZodBoolean>;
194
+ identityFile: import("zod").ZodOptional<import("zod").ZodString>;
195
+ identityTokenFile: import("zod").ZodOptional<import("zod").ZodString>;
196
+ timeoutMs: import("zod").ZodDefault<import("zod").ZodNumber>;
197
+ policy: import("zod").ZodDefault<import("zod").ZodObject<{
198
+ lifecycle: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
199
+ worker: import("zod").ZodString;
200
+ operations: import("zod").ZodArray<import("zod").ZodEnum<{
201
+ start: "start";
202
+ stop: "stop";
203
+ promote: "promote";
204
+ destroy: "destroy";
205
+ }>>;
206
+ }, import("zod/v4/core").$strict>>>;
207
+ spawns: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
208
+ worker: import("zod").ZodString;
209
+ profile: import("zod").ZodEnum<{
210
+ light: "light";
211
+ small: "small";
212
+ standard: "standard";
213
+ browser: "browser";
214
+ }>;
215
+ mode: import("zod").ZodEnum<{
216
+ ephemeral: "ephemeral";
217
+ durable: "durable";
218
+ }>;
219
+ harnesses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
220
+ bundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
221
+ capabilities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
222
+ mcps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
223
+ plugins: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
224
+ auth: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
225
+ }, import("zod/v4/core").$strict>>>;
226
+ commands: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
227
+ worker: import("zod").ZodString;
228
+ command: import("zod").ZodString;
229
+ argv: import("zod").ZodArray<import("zod").ZodString>;
230
+ }, import("zod/v4/core").$strict>>>;
231
+ administration: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
232
+ name: import("zod").ZodString;
233
+ request: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
234
+ weight: import("zod").ZodOptional<import("zod").ZodNumber>;
235
+ concurrentHeavyWork: import("zod").ZodOptional<import("zod").ZodNumber>;
236
+ queuePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
237
+ fair: "fair";
238
+ fifo: "fifo";
239
+ reject: "reject";
240
+ }>>;
241
+ operation: import("zod").ZodLiteral<"tenantSync">;
242
+ workspace: import("zod").ZodString;
243
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
244
+ principalId: import("zod").ZodOptional<import("zod").ZodString>;
245
+ issuer: import("zod").ZodOptional<import("zod").ZodURL>;
246
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
247
+ role: import("zod").ZodDefault<import("zod").ZodEnum<{
248
+ member: "member";
249
+ admin: "admin";
250
+ operator: "operator";
251
+ }>>;
252
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
253
+ operation: import("zod").ZodLiteral<"ingressPut">;
254
+ provider: import("zod").ZodString;
255
+ externalIdentity: import("zod").ZodString;
256
+ worker: import("zod").ZodString;
257
+ channelScope: import("zod").ZodOptional<import("zod").ZodString>;
258
+ metadataFile: import("zod").ZodOptional<import("zod").ZodString>;
259
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
260
+ operation: import("zod").ZodLiteral<"ingressRevoke">;
261
+ identityId: import("zod").ZodString;
262
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
263
+ operation: import("zod").ZodLiteral<"ingressWake">;
264
+ provider: import("zod").ZodString;
265
+ externalIdentity: import("zod").ZodString;
266
+ eventId: import("zod").ZodString;
267
+ channelScope: import("zod").ZodOptional<import("zod").ZodString>;
268
+ payloadFile: import("zod").ZodOptional<import("zod").ZodString>;
269
+ correlationId: import("zod").ZodOptional<import("zod").ZodString>;
270
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
271
+ operation: import("zod").ZodLiteral<"ingressComplete">;
272
+ wakeId: import("zod").ZodString;
273
+ error: import("zod").ZodOptional<import("zod").ZodString>;
274
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
275
+ operation: import("zod").ZodLiteral<"resize">;
276
+ worker: import("zod").ZodString;
277
+ memoryTargetMiB: import("zod").ZodNumber;
278
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
279
+ weight: import("zod").ZodOptional<import("zod").ZodNumber>;
280
+ concurrentHeavyWork: import("zod").ZodOptional<import("zod").ZodNumber>;
281
+ queuePolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
282
+ fair: "fair";
283
+ fifo: "fifo";
284
+ reject: "reject";
285
+ }>>;
286
+ operation: import("zod").ZodLiteral<"workspacePut">;
287
+ workspace: import("zod").ZodString;
288
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
289
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
290
+ operation: import("zod").ZodLiteral<"workspaceDisable">;
291
+ workspace: import("zod").ZodString;
292
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
293
+ operation: import("zod").ZodLiteral<"userPut">;
294
+ user: import("zod").ZodString;
295
+ workspace: import("zod").ZodString;
296
+ role: import("zod").ZodEnum<{
297
+ member: "member";
298
+ admin: "admin";
299
+ operator: "operator";
300
+ }>;
301
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
302
+ operation: import("zod").ZodLiteral<"ownerSet">;
303
+ worker: import("zod").ZodString;
304
+ workspace: import("zod").ZodString;
305
+ user: import("zod").ZodOptional<import("zod").ZodString>;
306
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
307
+ operation: import("zod").ZodLiteral<"shareGrant">;
308
+ worker: import("zod").ZodString;
309
+ grantee: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
310
+ kind: import("zod").ZodLiteral<"workspace">;
311
+ id: import("zod").ZodString;
312
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
313
+ kind: import("zod").ZodLiteral<"user">;
314
+ id: import("zod").ZodString;
315
+ }, import("zod/v4/core").$strict>], "kind">;
316
+ allow: import("zod").ZodArray<import("zod").ZodEnum<{
317
+ status: "status";
318
+ exec: "exec";
319
+ start: "start";
320
+ stop: "stop";
321
+ ssh: "ssh";
322
+ logs: "logs";
323
+ events: "events";
324
+ runs: "runs";
325
+ assignments: "assignments";
326
+ schedule: "schedule";
327
+ capabilities: "capabilities";
328
+ auth: "auth";
329
+ leases: "leases";
330
+ resident: "resident";
331
+ wake: "wake";
332
+ cool: "cool";
333
+ list: "list";
334
+ inventory: "inventory";
335
+ monitor: "monitor";
336
+ roles: "roles";
337
+ ingress: "ingress";
338
+ }>>;
339
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
340
+ operation: import("zod").ZodLiteral<"shareRevoke">;
341
+ worker: import("zod").ZodString;
342
+ shareId: import("zod").ZodString;
343
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
344
+ operation: import("zod").ZodLiteral<"residentSet">;
345
+ worker: import("zod").ZodString;
346
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
347
+ operation: import("zod").ZodLiteral<"wake">;
348
+ worker: import("zod").ZodString;
349
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
350
+ source: import("zod").ZodDefault<import("zod").ZodEnum<{
351
+ schedule: "schedule";
352
+ cli: "cli";
353
+ "control-plane": "control-plane";
354
+ delegation: "delegation";
355
+ }>>;
356
+ externalEventId: import("zod").ZodOptional<import("zod").ZodString>;
357
+ idempotencyKey: import("zod").ZodString;
358
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
359
+ operation: import("zod").ZodLiteral<"cool">;
360
+ worker: import("zod").ZodString;
361
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
362
+ operation: import("zod").ZodLiteral<"poolPolicySet">;
363
+ cpuPercent: import("zod").ZodOptional<import("zod").ZodNumber>;
364
+ memoryMaxBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
365
+ memoryHighBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
366
+ hostMemoryReserveBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
367
+ launchReserveBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
368
+ }, import("zod/v4/core").$strict>], "operation">;
369
+ }, import("zod/v4/core").$strict>>>;
370
+ }, import("zod/v4/core").$strict>>;
371
+ }, import("zod/v4/core").$strict>>;
372
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<{
373
+ target: string;
374
+ mode: "operator" | "paired";
375
+ sudo: boolean;
376
+ timeoutMs: number;
377
+ policy: {
378
+ lifecycle: {
379
+ worker: string;
380
+ operations: ("start" | "stop" | "promote" | "destroy")[];
381
+ }[];
382
+ spawns: {
383
+ worker: string;
384
+ profile: "light" | "small" | "standard" | "browser";
385
+ mode: "ephemeral" | "durable";
386
+ harnesses?: string[] | undefined;
387
+ bundles?: string[] | undefined;
388
+ capabilities?: string[] | undefined;
389
+ mcps?: string[] | undefined;
390
+ plugins?: string[] | undefined;
391
+ auth?: string[] | undefined;
392
+ }[];
393
+ commands: {
394
+ worker: string;
395
+ command: string;
396
+ argv: string[];
397
+ }[];
398
+ administration: {
399
+ name: string;
400
+ request: {
401
+ operation: "tenantSync";
402
+ workspace: string;
403
+ role: "member" | "admin" | "operator";
404
+ weight?: number | undefined;
405
+ concurrentHeavyWork?: number | undefined;
406
+ queuePolicy?: "fair" | "fifo" | "reject" | undefined;
407
+ displayName?: string | undefined;
408
+ principalId?: string | undefined;
409
+ issuer?: string | undefined;
410
+ subject?: string | undefined;
411
+ } | {
412
+ operation: "ingressPut";
413
+ provider: string;
414
+ externalIdentity: string;
415
+ worker: string;
416
+ channelScope?: string | undefined;
417
+ metadataFile?: string | undefined;
418
+ } | {
419
+ operation: "ingressRevoke";
420
+ identityId: string;
421
+ } | {
422
+ operation: "ingressWake";
423
+ provider: string;
424
+ externalIdentity: string;
425
+ eventId: string;
426
+ channelScope?: string | undefined;
427
+ payloadFile?: string | undefined;
428
+ correlationId?: string | undefined;
429
+ } | {
430
+ operation: "ingressComplete";
431
+ wakeId: string;
432
+ error?: string | undefined;
433
+ } | {
434
+ operation: "resize";
435
+ worker: string;
436
+ memoryTargetMiB: number;
437
+ } | {
438
+ operation: "workspacePut";
439
+ workspace: string;
440
+ weight?: number | undefined;
441
+ concurrentHeavyWork?: number | undefined;
442
+ queuePolicy?: "fair" | "fifo" | "reject" | undefined;
443
+ displayName?: string | undefined;
444
+ } | {
445
+ operation: "workspaceDisable";
446
+ workspace: string;
447
+ } | {
448
+ operation: "userPut";
449
+ user: string;
450
+ workspace: string;
451
+ role: "member" | "admin" | "operator";
452
+ } | {
453
+ operation: "ownerSet";
454
+ worker: string;
455
+ workspace: string;
456
+ user?: string | undefined;
457
+ } | {
458
+ operation: "shareGrant";
459
+ worker: string;
460
+ grantee: {
461
+ kind: "workspace";
462
+ id: string;
463
+ } | {
464
+ kind: "user";
465
+ id: string;
466
+ };
467
+ allow: ("status" | "exec" | "start" | "stop" | "ssh" | "logs" | "events" | "runs" | "assignments" | "schedule" | "capabilities" | "auth" | "leases" | "resident" | "wake" | "cool" | "list" | "inventory" | "monitor" | "roles" | "ingress")[];
468
+ } | {
469
+ operation: "shareRevoke";
470
+ worker: string;
471
+ shareId: string;
472
+ } | {
473
+ operation: "residentSet";
474
+ worker: string;
475
+ } | {
476
+ operation: "wake";
477
+ worker: string;
478
+ source: "schedule" | "cli" | "control-plane" | "delegation";
479
+ idempotencyKey: string;
480
+ reason?: string | undefined;
481
+ externalEventId?: string | undefined;
482
+ } | {
483
+ operation: "cool";
484
+ worker: string;
485
+ } | {
486
+ operation: "poolPolicySet";
487
+ cpuPercent?: number | undefined;
488
+ memoryMaxBytes?: number | undefined;
489
+ memoryHighBytes?: number | undefined;
490
+ hostMemoryReserveBytes?: number | undefined;
491
+ launchReserveBytes?: number | undefined;
492
+ };
493
+ }[];
494
+ };
495
+ identityFile?: string | undefined;
496
+ identityTokenFile?: string | undefined;
497
+ }, {
498
+ selectedProfile: string;
499
+ profiles: Record<string, {
500
+ target: string;
501
+ mode: "operator" | "paired";
502
+ sudo: boolean;
503
+ timeoutMs: number;
504
+ policy: {
505
+ lifecycle: {
506
+ worker: string;
507
+ operations: ("start" | "stop" | "promote" | "destroy")[];
508
+ }[];
509
+ spawns: {
510
+ worker: string;
511
+ profile: "light" | "small" | "standard" | "browser";
512
+ mode: "ephemeral" | "durable";
513
+ harnesses?: string[] | undefined;
514
+ bundles?: string[] | undefined;
515
+ capabilities?: string[] | undefined;
516
+ mcps?: string[] | undefined;
517
+ plugins?: string[] | undefined;
518
+ auth?: string[] | undefined;
519
+ }[];
520
+ commands: {
521
+ worker: string;
522
+ command: string;
523
+ argv: string[];
524
+ }[];
525
+ administration: {
526
+ name: string;
527
+ request: {
528
+ operation: "tenantSync";
529
+ workspace: string;
530
+ role: "member" | "admin" | "operator";
531
+ weight?: number | undefined;
532
+ concurrentHeavyWork?: number | undefined;
533
+ queuePolicy?: "fair" | "fifo" | "reject" | undefined;
534
+ displayName?: string | undefined;
535
+ principalId?: string | undefined;
536
+ issuer?: string | undefined;
537
+ subject?: string | undefined;
538
+ } | {
539
+ operation: "ingressPut";
540
+ provider: string;
541
+ externalIdentity: string;
542
+ worker: string;
543
+ channelScope?: string | undefined;
544
+ metadataFile?: string | undefined;
545
+ } | {
546
+ operation: "ingressRevoke";
547
+ identityId: string;
548
+ } | {
549
+ operation: "ingressWake";
550
+ provider: string;
551
+ externalIdentity: string;
552
+ eventId: string;
553
+ channelScope?: string | undefined;
554
+ payloadFile?: string | undefined;
555
+ correlationId?: string | undefined;
556
+ } | {
557
+ operation: "ingressComplete";
558
+ wakeId: string;
559
+ error?: string | undefined;
560
+ } | {
561
+ operation: "resize";
562
+ worker: string;
563
+ memoryTargetMiB: number;
564
+ } | {
565
+ operation: "workspacePut";
566
+ workspace: string;
567
+ weight?: number | undefined;
568
+ concurrentHeavyWork?: number | undefined;
569
+ queuePolicy?: "fair" | "fifo" | "reject" | undefined;
570
+ displayName?: string | undefined;
571
+ } | {
572
+ operation: "workspaceDisable";
573
+ workspace: string;
574
+ } | {
575
+ operation: "userPut";
576
+ user: string;
577
+ workspace: string;
578
+ role: "member" | "admin" | "operator";
579
+ } | {
580
+ operation: "ownerSet";
581
+ worker: string;
582
+ workspace: string;
583
+ user?: string | undefined;
584
+ } | {
585
+ operation: "shareGrant";
586
+ worker: string;
587
+ grantee: {
588
+ kind: "workspace";
589
+ id: string;
590
+ } | {
591
+ kind: "user";
592
+ id: string;
593
+ };
594
+ allow: ("status" | "exec" | "start" | "stop" | "ssh" | "logs" | "events" | "runs" | "assignments" | "schedule" | "capabilities" | "auth" | "leases" | "resident" | "wake" | "cool" | "list" | "inventory" | "monitor" | "roles" | "ingress")[];
595
+ } | {
596
+ operation: "shareRevoke";
597
+ worker: string;
598
+ shareId: string;
599
+ } | {
600
+ operation: "residentSet";
601
+ worker: string;
602
+ } | {
603
+ operation: "wake";
604
+ worker: string;
605
+ source: "schedule" | "cli" | "control-plane" | "delegation";
606
+ idempotencyKey: string;
607
+ reason?: string | undefined;
608
+ externalEventId?: string | undefined;
609
+ } | {
610
+ operation: "cool";
611
+ worker: string;
612
+ } | {
613
+ operation: "poolPolicySet";
614
+ cpuPercent?: number | undefined;
615
+ memoryMaxBytes?: number | undefined;
616
+ memoryHighBytes?: number | undefined;
617
+ hostMemoryReserveBytes?: number | undefined;
618
+ launchReserveBytes?: number | undefined;
619
+ };
620
+ }[];
621
+ };
622
+ identityFile?: string | undefined;
623
+ identityTokenFile?: string | undefined;
624
+ }>;
625
+ }>>]>>;
626
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import { t as extension_default } from "../_chunks/extension-CS1otfhf.mjs";
8
+ export { extension_default as default };
@@ -0,0 +1,24 @@
1
+ declare const _default: import("eve/tools").DynamicSentinel<(import("eve/tools").ToolDefinition<{
2
+ operation: "configured";
3
+ action: string;
4
+ } | {
5
+ operation: "start" | "stop" | "promote" | "destroy" | "spawn";
6
+ worker: string;
7
+ } | {
8
+ operation: "exec";
9
+ worker: string;
10
+ command: string;
11
+ }, import("../../src/index.js").Json> & {
12
+ execute(input: {
13
+ operation: "configured";
14
+ action: string;
15
+ } | {
16
+ operation: "start" | "stop" | "promote" | "destroy" | "spawn";
17
+ worker: string;
18
+ } | {
19
+ operation: "exec";
20
+ worker: string;
21
+ command: string;
22
+ }, ctx: import("eve/tools").ToolContext): Promise<import("../../src/index.js").Json>;
23
+ }) | null>;
24
+ export default _default;