@halcyonlabs/app 0.47.0-halcyon.328 → 0.47.0-halcyon.329
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/index.d.ts +87 -87
- package/package.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/assets/orbit/revision +1 -1
- package/server/dist/builtin-plugins/orbit/skills/github-change/pre-push.d.mts +1 -1
- package/server/dist/builtin-plugins/orbit/skills/github-change/pre-push.mjs +32 -31
package/dist/index.d.ts
CHANGED
|
@@ -524,8 +524,8 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
524
524
|
retireAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
525
525
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
526
526
|
status: z$1.ZodEnum<{
|
|
527
|
-
running: "running";
|
|
528
527
|
failed: "failed";
|
|
528
|
+
running: "running";
|
|
529
529
|
removed: "removed";
|
|
530
530
|
}>;
|
|
531
531
|
attempt: z$1.ZodNumber;
|
|
@@ -620,16 +620,16 @@ declare const hostSchema: z$1.ZodObject<{
|
|
|
620
620
|
pendingLog: z$1.ZodString;
|
|
621
621
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
622
622
|
status: z$1.ZodEnum<{
|
|
623
|
-
running: "running";
|
|
624
623
|
failed: "failed";
|
|
624
|
+
running: "running";
|
|
625
625
|
removed: "removed";
|
|
626
626
|
}>;
|
|
627
627
|
attempt: z$1.ZodNumber;
|
|
628
628
|
}, z$1.core.$strip>>;
|
|
629
629
|
}, z$1.core.$strip>;
|
|
630
630
|
maxPermissionMode: z$1.ZodEnum<{
|
|
631
|
-
full: "full";
|
|
632
631
|
auto: "auto";
|
|
632
|
+
full: "full";
|
|
633
633
|
"accept-edits": "accept-edits";
|
|
634
634
|
}>;
|
|
635
635
|
delivery: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -732,8 +732,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
732
732
|
providerThreadId: z$1.ZodString;
|
|
733
733
|
objective: z$1.ZodString;
|
|
734
734
|
status: z$1.ZodEnum<{
|
|
735
|
-
paused: "paused";
|
|
736
735
|
active: "active";
|
|
736
|
+
paused: "paused";
|
|
737
737
|
budgetLimited: "budgetLimited";
|
|
738
738
|
complete: "complete";
|
|
739
739
|
}>;
|
|
@@ -1304,9 +1304,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1304
1304
|
step: z$1.ZodString;
|
|
1305
1305
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1306
1306
|
pending: "pending";
|
|
1307
|
+
active: "active";
|
|
1307
1308
|
completed: "completed";
|
|
1308
1309
|
failed: "failed";
|
|
1309
|
-
active: "active";
|
|
1310
1310
|
}>>;
|
|
1311
1311
|
}, z$1.core.$strip>>;
|
|
1312
1312
|
explanation: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1385,10 +1385,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1385
1385
|
}>;
|
|
1386
1386
|
taskStatus: z$1.ZodEnum<{
|
|
1387
1387
|
pending: "pending";
|
|
1388
|
-
running: "running";
|
|
1389
|
-
paused: "paused";
|
|
1390
1388
|
completed: "completed";
|
|
1391
1389
|
failed: "failed";
|
|
1390
|
+
paused: "paused";
|
|
1391
|
+
running: "running";
|
|
1392
1392
|
killed: "killed";
|
|
1393
1393
|
stopped: "stopped";
|
|
1394
1394
|
}>;
|
|
@@ -1405,8 +1405,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1405
1405
|
index: z$1.ZodNumber;
|
|
1406
1406
|
label: z$1.ZodString;
|
|
1407
1407
|
state: z$1.ZodEnum<{
|
|
1408
|
-
running: "running";
|
|
1409
1408
|
failed: "failed";
|
|
1409
|
+
running: "running";
|
|
1410
1410
|
queued: "queued";
|
|
1411
1411
|
done: "done";
|
|
1412
1412
|
skipped: "skipped";
|
|
@@ -2076,9 +2076,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2076
2076
|
step: z$1.ZodString;
|
|
2077
2077
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2078
2078
|
pending: "pending";
|
|
2079
|
+
active: "active";
|
|
2079
2080
|
completed: "completed";
|
|
2080
2081
|
failed: "failed";
|
|
2081
|
-
active: "active";
|
|
2082
2082
|
}>>;
|
|
2083
2083
|
}, z$1.core.$strip>>;
|
|
2084
2084
|
explanation: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2157,10 +2157,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2157
2157
|
}>;
|
|
2158
2158
|
taskStatus: z$1.ZodEnum<{
|
|
2159
2159
|
pending: "pending";
|
|
2160
|
-
running: "running";
|
|
2161
|
-
paused: "paused";
|
|
2162
2160
|
completed: "completed";
|
|
2163
2161
|
failed: "failed";
|
|
2162
|
+
paused: "paused";
|
|
2163
|
+
running: "running";
|
|
2164
2164
|
killed: "killed";
|
|
2165
2165
|
stopped: "stopped";
|
|
2166
2166
|
}>;
|
|
@@ -2177,8 +2177,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2177
2177
|
index: z$1.ZodNumber;
|
|
2178
2178
|
label: z$1.ZodString;
|
|
2179
2179
|
state: z$1.ZodEnum<{
|
|
2180
|
-
running: "running";
|
|
2181
2180
|
failed: "failed";
|
|
2181
|
+
running: "running";
|
|
2182
2182
|
queued: "queued";
|
|
2183
2183
|
done: "done";
|
|
2184
2184
|
skipped: "skipped";
|
|
@@ -2389,10 +2389,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2389
2389
|
}>;
|
|
2390
2390
|
taskStatus: z$1.ZodEnum<{
|
|
2391
2391
|
pending: "pending";
|
|
2392
|
-
running: "running";
|
|
2393
|
-
paused: "paused";
|
|
2394
2392
|
completed: "completed";
|
|
2395
2393
|
failed: "failed";
|
|
2394
|
+
paused: "paused";
|
|
2395
|
+
running: "running";
|
|
2396
2396
|
killed: "killed";
|
|
2397
2397
|
stopped: "stopped";
|
|
2398
2398
|
}>;
|
|
@@ -2409,8 +2409,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2409
2409
|
index: z$1.ZodNumber;
|
|
2410
2410
|
label: z$1.ZodString;
|
|
2411
2411
|
state: z$1.ZodEnum<{
|
|
2412
|
-
running: "running";
|
|
2413
2412
|
failed: "failed";
|
|
2413
|
+
running: "running";
|
|
2414
2414
|
queued: "queued";
|
|
2415
2415
|
done: "done";
|
|
2416
2416
|
skipped: "skipped";
|
|
@@ -2488,10 +2488,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2488
2488
|
}>;
|
|
2489
2489
|
taskStatus: z$1.ZodEnum<{
|
|
2490
2490
|
pending: "pending";
|
|
2491
|
-
running: "running";
|
|
2492
|
-
paused: "paused";
|
|
2493
2491
|
completed: "completed";
|
|
2494
2492
|
failed: "failed";
|
|
2493
|
+
paused: "paused";
|
|
2494
|
+
running: "running";
|
|
2495
2495
|
killed: "killed";
|
|
2496
2496
|
stopped: "stopped";
|
|
2497
2497
|
}>;
|
|
@@ -2508,8 +2508,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2508
2508
|
index: z$1.ZodNumber;
|
|
2509
2509
|
label: z$1.ZodString;
|
|
2510
2510
|
state: z$1.ZodEnum<{
|
|
2511
|
-
running: "running";
|
|
2512
2511
|
failed: "failed";
|
|
2512
|
+
running: "running";
|
|
2513
2513
|
queued: "queued";
|
|
2514
2514
|
done: "done";
|
|
2515
2515
|
skipped: "skipped";
|
|
@@ -2704,9 +2704,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2704
2704
|
step: z$1.ZodString;
|
|
2705
2705
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2706
2706
|
pending: "pending";
|
|
2707
|
+
active: "active";
|
|
2707
2708
|
completed: "completed";
|
|
2708
2709
|
failed: "failed";
|
|
2709
|
-
active: "active";
|
|
2710
2710
|
}>>;
|
|
2711
2711
|
}, z$1.core.$strip>>;
|
|
2712
2712
|
explanation: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2715,8 +2715,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2715
2715
|
threadId: z$1.ZodString;
|
|
2716
2716
|
providerThreadId: z$1.ZodString;
|
|
2717
2717
|
state: z$1.ZodEnum<{
|
|
2718
|
-
running: "running";
|
|
2719
2718
|
idle: "idle";
|
|
2719
|
+
running: "running";
|
|
2720
2720
|
}>;
|
|
2721
2721
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2722
2722
|
type: z$1.ZodLiteral<"turn/diff/updated">;
|
|
@@ -3008,8 +3008,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3008
3008
|
}>;
|
|
3009
3009
|
name: z$1.ZodString;
|
|
3010
3010
|
source: z$1.ZodEnum<{
|
|
3011
|
-
command: "command";
|
|
3012
3011
|
skill: "skill";
|
|
3012
|
+
command: "command";
|
|
3013
3013
|
}>;
|
|
3014
3014
|
origin: z$1.ZodEnum<{
|
|
3015
3015
|
user: "user";
|
|
@@ -3098,8 +3098,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3098
3098
|
}>;
|
|
3099
3099
|
name: z$1.ZodString;
|
|
3100
3100
|
source: z$1.ZodEnum<{
|
|
3101
|
-
command: "command";
|
|
3102
3101
|
skill: "skill";
|
|
3102
|
+
command: "command";
|
|
3103
3103
|
}>;
|
|
3104
3104
|
origin: z$1.ZodEnum<{
|
|
3105
3105
|
user: "user";
|
|
@@ -3176,8 +3176,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3176
3176
|
}>;
|
|
3177
3177
|
permissionMode: z$1.ZodEnum<{
|
|
3178
3178
|
readonly: "readonly";
|
|
3179
|
-
full: "full";
|
|
3180
3179
|
auto: "auto";
|
|
3180
|
+
full: "full";
|
|
3181
3181
|
"accept-edits": "accept-edits";
|
|
3182
3182
|
"workspace-write": "workspace-write";
|
|
3183
3183
|
}>;
|
|
@@ -3578,9 +3578,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3578
3578
|
threadId: z$1.ZodString;
|
|
3579
3579
|
provisioningId: z$1.ZodString;
|
|
3580
3580
|
status: z$1.ZodEnum<{
|
|
3581
|
+
active: "active";
|
|
3581
3582
|
completed: "completed";
|
|
3582
3583
|
failed: "failed";
|
|
3583
|
-
active: "active";
|
|
3584
3584
|
cancelled: "cancelled";
|
|
3585
3585
|
}>;
|
|
3586
3586
|
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -3975,8 +3975,8 @@ type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
|
|
|
3975
3975
|
declare const serviceTierSchema: z$1.ZodString;
|
|
3976
3976
|
type ServiceTier = z$1.infer<typeof serviceTierSchema>;
|
|
3977
3977
|
declare const permissionModeSchema: z$1.ZodEnum<{
|
|
3978
|
-
full: "full";
|
|
3979
3978
|
auto: "auto";
|
|
3979
|
+
full: "full";
|
|
3980
3980
|
"accept-edits": "accept-edits";
|
|
3981
3981
|
}>;
|
|
3982
3982
|
type PermissionMode = z$1.infer<typeof permissionModeSchema>;
|
|
@@ -4016,8 +4016,8 @@ declare const promptTextMentionSchema: z$1.ZodObject<{
|
|
|
4016
4016
|
}>;
|
|
4017
4017
|
name: z$1.ZodString;
|
|
4018
4018
|
source: z$1.ZodEnum<{
|
|
4019
|
-
command: "command";
|
|
4020
4019
|
skill: "skill";
|
|
4020
|
+
command: "command";
|
|
4021
4021
|
}>;
|
|
4022
4022
|
origin: z$1.ZodEnum<{
|
|
4023
4023
|
user: "user";
|
|
@@ -4081,8 +4081,8 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
4081
4081
|
}>;
|
|
4082
4082
|
name: z$1.ZodString;
|
|
4083
4083
|
source: z$1.ZodEnum<{
|
|
4084
|
-
command: "command";
|
|
4085
4084
|
skill: "skill";
|
|
4085
|
+
command: "command";
|
|
4086
4086
|
}>;
|
|
4087
4087
|
origin: z$1.ZodEnum<{
|
|
4088
4088
|
user: "user";
|
|
@@ -4145,8 +4145,8 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
|
|
|
4145
4145
|
serviceTier: z$1.ZodString;
|
|
4146
4146
|
reasoningLevel: z$1.ZodString;
|
|
4147
4147
|
permissionMode: z$1.ZodEnum<{
|
|
4148
|
-
full: "full";
|
|
4149
4148
|
auto: "auto";
|
|
4149
|
+
full: "full";
|
|
4150
4150
|
"accept-edits": "accept-edits";
|
|
4151
4151
|
}>;
|
|
4152
4152
|
source: z$1.ZodEnum<{
|
|
@@ -4162,8 +4162,8 @@ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
|
|
|
4162
4162
|
serviceTier: z$1.ZodString;
|
|
4163
4163
|
reasoningLevel: z$1.ZodString;
|
|
4164
4164
|
permissionMode: z$1.ZodEnum<{
|
|
4165
|
-
full: "full";
|
|
4166
4165
|
auto: "auto";
|
|
4166
|
+
full: "full";
|
|
4167
4167
|
"accept-edits": "accept-edits";
|
|
4168
4168
|
}>;
|
|
4169
4169
|
}, z$1.core.$strip>;
|
|
@@ -4203,8 +4203,8 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
4203
4203
|
supportsFork: z$1.ZodBoolean;
|
|
4204
4204
|
supportsSessionRewind: z$1.ZodBoolean;
|
|
4205
4205
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
4206
|
-
full: "full";
|
|
4207
4206
|
auto: "auto";
|
|
4207
|
+
full: "full";
|
|
4208
4208
|
"accept-edits": "accept-edits";
|
|
4209
4209
|
}>>;
|
|
4210
4210
|
modelCatalogScope: z$1.ZodEnum<{
|
|
@@ -4329,8 +4329,8 @@ declare const threadTimelinePendingTodosSchema: z$1.ZodObject<{
|
|
|
4329
4329
|
type ThreadTimelinePendingTodos = z$1.infer<typeof threadTimelinePendingTodosSchema>;
|
|
4330
4330
|
|
|
4331
4331
|
declare const threadParentNotificationsSchema: z$1.ZodEnum<{
|
|
4332
|
-
auto: "auto";
|
|
4333
4332
|
off: "off";
|
|
4333
|
+
auto: "auto";
|
|
4334
4334
|
stuck: "stuck";
|
|
4335
4335
|
}>;
|
|
4336
4336
|
type ThreadParentNotifications = z$1.infer<typeof threadParentNotificationsSchema>;
|
|
@@ -4393,8 +4393,8 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4393
4393
|
}>;
|
|
4394
4394
|
name: z$1.ZodString;
|
|
4395
4395
|
source: z$1.ZodEnum<{
|
|
4396
|
-
command: "command";
|
|
4397
4396
|
skill: "skill";
|
|
4397
|
+
command: "command";
|
|
4398
4398
|
}>;
|
|
4399
4399
|
origin: z$1.ZodEnum<{
|
|
4400
4400
|
user: "user";
|
|
@@ -4444,8 +4444,8 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4444
4444
|
model: z$1.ZodString;
|
|
4445
4445
|
reasoningLevel: z$1.ZodString;
|
|
4446
4446
|
permissionMode: z$1.ZodEnum<{
|
|
4447
|
-
full: "full";
|
|
4448
4447
|
auto: "auto";
|
|
4448
|
+
full: "full";
|
|
4449
4449
|
"accept-edits": "accept-edits";
|
|
4450
4450
|
}>;
|
|
4451
4451
|
serviceTier: z$1.ZodString;
|
|
@@ -6009,8 +6009,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6009
6009
|
providerInstallation: z$1.ZodBoolean;
|
|
6010
6010
|
supportsServiceTier: z$1.ZodBoolean;
|
|
6011
6011
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6012
|
-
auto: "auto";
|
|
6013
6012
|
"accept-edits": "accept-edits";
|
|
6013
|
+
auto: "auto";
|
|
6014
6014
|
full: "full";
|
|
6015
6015
|
}>>;
|
|
6016
6016
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -6036,16 +6036,16 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6036
6036
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6037
6037
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6038
6038
|
permissionEscalation: z$1.ZodEnum<{
|
|
6039
|
-
deny: "deny";
|
|
6040
6039
|
ask: "ask";
|
|
6040
|
+
deny: "deny";
|
|
6041
6041
|
}>;
|
|
6042
6042
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6043
6043
|
permissionMode: z$1.ZodLiteral<"auto">;
|
|
6044
6044
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6045
6045
|
approvalReviewer: z$1.ZodLiteral<"automatic">;
|
|
6046
6046
|
permissionEscalation: z$1.ZodEnum<{
|
|
6047
|
-
deny: "deny";
|
|
6048
6047
|
ask: "ask";
|
|
6048
|
+
deny: "deny";
|
|
6049
6049
|
}>;
|
|
6050
6050
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6051
6051
|
permissionMode: z$1.ZodLiteral<"full">;
|
|
@@ -6129,8 +6129,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6129
6129
|
skillFilePath: z$1.ZodString;
|
|
6130
6130
|
}, z$1.core.$strict>], "kind">>;
|
|
6131
6131
|
instructionMode: z$1.ZodEnum<{
|
|
6132
|
-
replace: "replace";
|
|
6133
6132
|
append: "append";
|
|
6133
|
+
replace: "replace";
|
|
6134
6134
|
}>;
|
|
6135
6135
|
type: z$1.ZodLiteral<"thread.rewind.prepare">;
|
|
6136
6136
|
leaseId: z$1.ZodString;
|
|
@@ -6158,8 +6158,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6158
6158
|
providerInstallation: z$1.ZodBoolean;
|
|
6159
6159
|
supportsServiceTier: z$1.ZodBoolean;
|
|
6160
6160
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6161
|
-
auto: "auto";
|
|
6162
6161
|
"accept-edits": "accept-edits";
|
|
6162
|
+
auto: "auto";
|
|
6163
6163
|
full: "full";
|
|
6164
6164
|
}>>;
|
|
6165
6165
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -6185,16 +6185,16 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6185
6185
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6186
6186
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6187
6187
|
permissionEscalation: z$1.ZodEnum<{
|
|
6188
|
-
deny: "deny";
|
|
6189
6188
|
ask: "ask";
|
|
6189
|
+
deny: "deny";
|
|
6190
6190
|
}>;
|
|
6191
6191
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6192
6192
|
permissionMode: z$1.ZodLiteral<"auto">;
|
|
6193
6193
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6194
6194
|
approvalReviewer: z$1.ZodLiteral<"automatic">;
|
|
6195
6195
|
permissionEscalation: z$1.ZodEnum<{
|
|
6196
|
-
deny: "deny";
|
|
6197
6196
|
ask: "ask";
|
|
6197
|
+
deny: "deny";
|
|
6198
6198
|
}>;
|
|
6199
6199
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6200
6200
|
permissionMode: z$1.ZodLiteral<"full">;
|
|
@@ -6278,8 +6278,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6278
6278
|
skillFilePath: z$1.ZodString;
|
|
6279
6279
|
}, z$1.core.$strict>], "kind">>;
|
|
6280
6280
|
instructionMode: z$1.ZodEnum<{
|
|
6281
|
-
replace: "replace";
|
|
6282
6281
|
append: "append";
|
|
6282
|
+
replace: "replace";
|
|
6283
6283
|
}>;
|
|
6284
6284
|
type: z$1.ZodLiteral<"thread.start">;
|
|
6285
6285
|
requestId: z$1.ZodString;
|
|
@@ -6330,8 +6330,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6330
6330
|
}>;
|
|
6331
6331
|
origin: z$1.ZodEnum<{
|
|
6332
6332
|
builtin: "builtin";
|
|
6333
|
-
user: "user";
|
|
6334
6333
|
project: "project";
|
|
6334
|
+
user: "user";
|
|
6335
6335
|
}>;
|
|
6336
6336
|
label: z$1.ZodString;
|
|
6337
6337
|
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6420,8 +6420,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6420
6420
|
}>;
|
|
6421
6421
|
origin: z$1.ZodEnum<{
|
|
6422
6422
|
builtin: "builtin";
|
|
6423
|
-
user: "user";
|
|
6424
6423
|
project: "project";
|
|
6424
|
+
user: "user";
|
|
6425
6425
|
}>;
|
|
6426
6426
|
label: z$1.ZodString;
|
|
6427
6427
|
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6523,8 +6523,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6523
6523
|
}>;
|
|
6524
6524
|
origin: z$1.ZodEnum<{
|
|
6525
6525
|
builtin: "builtin";
|
|
6526
|
-
user: "user";
|
|
6527
6526
|
project: "project";
|
|
6527
|
+
user: "user";
|
|
6528
6528
|
}>;
|
|
6529
6529
|
label: z$1.ZodString;
|
|
6530
6530
|
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6613,8 +6613,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6613
6613
|
}>;
|
|
6614
6614
|
origin: z$1.ZodEnum<{
|
|
6615
6615
|
builtin: "builtin";
|
|
6616
|
-
user: "user";
|
|
6617
6616
|
project: "project";
|
|
6617
|
+
user: "user";
|
|
6618
6618
|
}>;
|
|
6619
6619
|
label: z$1.ZodString;
|
|
6620
6620
|
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6668,16 +6668,16 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6668
6668
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6669
6669
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6670
6670
|
permissionEscalation: z$1.ZodEnum<{
|
|
6671
|
-
deny: "deny";
|
|
6672
6671
|
ask: "ask";
|
|
6672
|
+
deny: "deny";
|
|
6673
6673
|
}>;
|
|
6674
6674
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6675
6675
|
permissionMode: z$1.ZodLiteral<"auto">;
|
|
6676
6676
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6677
6677
|
approvalReviewer: z$1.ZodLiteral<"automatic">;
|
|
6678
6678
|
permissionEscalation: z$1.ZodEnum<{
|
|
6679
|
-
deny: "deny";
|
|
6680
6679
|
ask: "ask";
|
|
6680
|
+
deny: "deny";
|
|
6681
6681
|
}>;
|
|
6682
6682
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6683
6683
|
permissionMode: z$1.ZodLiteral<"full">;
|
|
@@ -6696,8 +6696,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6696
6696
|
providerInstallation: z$1.ZodBoolean;
|
|
6697
6697
|
supportsServiceTier: z$1.ZodBoolean;
|
|
6698
6698
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6699
|
-
auto: "auto";
|
|
6700
6699
|
"accept-edits": "accept-edits";
|
|
6700
|
+
auto: "auto";
|
|
6701
6701
|
full: "full";
|
|
6702
6702
|
}>>;
|
|
6703
6703
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -6715,9 +6715,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6715
6715
|
workspaceContext: z$1.ZodObject<{
|
|
6716
6716
|
workspacePath: z$1.ZodString;
|
|
6717
6717
|
}, z$1.core.$strip>;
|
|
6718
|
-
projectId: z$1.ZodString;
|
|
6719
|
-
providerThreadId: z$1.ZodString;
|
|
6720
|
-
providerId: z$1.ZodString;
|
|
6721
6718
|
bridgeLaunch: z$1.ZodObject<{
|
|
6722
6719
|
pluginId: z$1.ZodString;
|
|
6723
6720
|
source: z$1.ZodObject<{
|
|
@@ -6729,8 +6726,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6729
6726
|
providerInstallation: z$1.ZodBoolean;
|
|
6730
6727
|
supportsServiceTier: z$1.ZodBoolean;
|
|
6731
6728
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6732
|
-
auto: "auto";
|
|
6733
6729
|
"accept-edits": "accept-edits";
|
|
6730
|
+
auto: "auto";
|
|
6734
6731
|
full: "full";
|
|
6735
6732
|
}>>;
|
|
6736
6733
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -6745,9 +6742,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6745
6742
|
envPassthrough: z$1.ZodArray<z$1.ZodString>;
|
|
6746
6743
|
}, z$1.core.$strict>;
|
|
6747
6744
|
instructionMode: z$1.ZodEnum<{
|
|
6748
|
-
replace: "replace";
|
|
6749
6745
|
append: "append";
|
|
6746
|
+
replace: "replace";
|
|
6750
6747
|
}>;
|
|
6748
|
+
projectId: z$1.ZodString;
|
|
6749
|
+
providerId: z$1.ZodString;
|
|
6751
6750
|
instructions: z$1.ZodString;
|
|
6752
6751
|
dynamicTools: z$1.ZodArray<z$1.ZodObject<{
|
|
6753
6752
|
name: z$1.ZodString;
|
|
@@ -6823,6 +6822,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6823
6822
|
sourceRootPath: z$1.ZodString;
|
|
6824
6823
|
skillFilePath: z$1.ZodString;
|
|
6825
6824
|
}, z$1.core.$strict>], "kind">>;
|
|
6825
|
+
providerThreadId: z$1.ZodString;
|
|
6826
6826
|
}, z$1.core.$strict>;
|
|
6827
6827
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6828
6828
|
mode: z$1.ZodLiteral<"start">;
|
|
@@ -6884,16 +6884,16 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6884
6884
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6885
6885
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6886
6886
|
permissionEscalation: z$1.ZodEnum<{
|
|
6887
|
-
deny: "deny";
|
|
6888
6887
|
ask: "ask";
|
|
6888
|
+
deny: "deny";
|
|
6889
6889
|
}>;
|
|
6890
6890
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6891
6891
|
permissionMode: z$1.ZodLiteral<"auto">;
|
|
6892
6892
|
permissionScope: z$1.ZodLiteral<"workspace">;
|
|
6893
6893
|
approvalReviewer: z$1.ZodLiteral<"automatic">;
|
|
6894
6894
|
permissionEscalation: z$1.ZodEnum<{
|
|
6895
|
-
deny: "deny";
|
|
6896
6895
|
ask: "ask";
|
|
6896
|
+
deny: "deny";
|
|
6897
6897
|
}>;
|
|
6898
6898
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6899
6899
|
permissionMode: z$1.ZodLiteral<"full">;
|
|
@@ -6912,8 +6912,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6912
6912
|
providerInstallation: z$1.ZodBoolean;
|
|
6913
6913
|
supportsServiceTier: z$1.ZodBoolean;
|
|
6914
6914
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6915
|
-
auto: "auto";
|
|
6916
6915
|
"accept-edits": "accept-edits";
|
|
6916
|
+
auto: "auto";
|
|
6917
6917
|
full: "full";
|
|
6918
6918
|
}>>;
|
|
6919
6919
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -6931,9 +6931,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6931
6931
|
workspaceContext: z$1.ZodObject<{
|
|
6932
6932
|
workspacePath: z$1.ZodString;
|
|
6933
6933
|
}, z$1.core.$strip>;
|
|
6934
|
-
projectId: z$1.ZodString;
|
|
6935
|
-
providerThreadId: z$1.ZodString;
|
|
6936
|
-
providerId: z$1.ZodString;
|
|
6937
6934
|
bridgeLaunch: z$1.ZodObject<{
|
|
6938
6935
|
pluginId: z$1.ZodString;
|
|
6939
6936
|
source: z$1.ZodObject<{
|
|
@@ -6945,8 +6942,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6945
6942
|
providerInstallation: z$1.ZodBoolean;
|
|
6946
6943
|
supportsServiceTier: z$1.ZodBoolean;
|
|
6947
6944
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6948
|
-
auto: "auto";
|
|
6949
6945
|
"accept-edits": "accept-edits";
|
|
6946
|
+
auto: "auto";
|
|
6950
6947
|
full: "full";
|
|
6951
6948
|
}>>;
|
|
6952
6949
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -6961,9 +6958,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6961
6958
|
envPassthrough: z$1.ZodArray<z$1.ZodString>;
|
|
6962
6959
|
}, z$1.core.$strict>;
|
|
6963
6960
|
instructionMode: z$1.ZodEnum<{
|
|
6964
|
-
replace: "replace";
|
|
6965
6961
|
append: "append";
|
|
6962
|
+
replace: "replace";
|
|
6966
6963
|
}>;
|
|
6964
|
+
projectId: z$1.ZodString;
|
|
6965
|
+
providerId: z$1.ZodString;
|
|
6967
6966
|
instructions: z$1.ZodString;
|
|
6968
6967
|
dynamicTools: z$1.ZodArray<z$1.ZodObject<{
|
|
6969
6968
|
name: z$1.ZodString;
|
|
@@ -7039,6 +7038,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7039
7038
|
sourceRootPath: z$1.ZodString;
|
|
7040
7039
|
skillFilePath: z$1.ZodString;
|
|
7041
7040
|
}, z$1.core.$strict>], "kind">>;
|
|
7041
|
+
providerThreadId: z$1.ZodString;
|
|
7042
7042
|
}, z$1.core.$strict>;
|
|
7043
7043
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7044
7044
|
cleared: z$1.ZodBoolean;
|
|
@@ -7077,8 +7077,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7077
7077
|
providerInstallation: z$1.ZodBoolean;
|
|
7078
7078
|
supportsServiceTier: z$1.ZodBoolean;
|
|
7079
7079
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
7080
|
-
auto: "auto";
|
|
7081
7080
|
"accept-edits": "accept-edits";
|
|
7081
|
+
auto: "auto";
|
|
7082
7082
|
full: "full";
|
|
7083
7083
|
}>>;
|
|
7084
7084
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -7110,8 +7110,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7110
7110
|
providerInstallation: z$1.ZodBoolean;
|
|
7111
7111
|
supportsServiceTier: z$1.ZodBoolean;
|
|
7112
7112
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
7113
|
-
auto: "auto";
|
|
7114
7113
|
"accept-edits": "accept-edits";
|
|
7114
|
+
auto: "auto";
|
|
7115
7115
|
full: "full";
|
|
7116
7116
|
}>>;
|
|
7117
7117
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -7493,8 +7493,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7493
7493
|
skills: z$1.ZodArray<z$1.ZodObject<{
|
|
7494
7494
|
path: z$1.ZodString;
|
|
7495
7495
|
origin: z$1.ZodEnum<{
|
|
7496
|
-
user: "user";
|
|
7497
7496
|
project: "project";
|
|
7497
|
+
user: "user";
|
|
7498
7498
|
}>;
|
|
7499
7499
|
recursive: z$1.ZodBoolean;
|
|
7500
7500
|
ancestors: z$1.ZodBoolean;
|
|
@@ -7512,8 +7512,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7512
7512
|
commands: z$1.ZodArray<z$1.ZodObject<{
|
|
7513
7513
|
path: z$1.ZodString;
|
|
7514
7514
|
origin: z$1.ZodEnum<{
|
|
7515
|
-
user: "user";
|
|
7516
7515
|
project: "project";
|
|
7516
|
+
user: "user";
|
|
7517
7517
|
}>;
|
|
7518
7518
|
recursive: z$1.ZodBoolean;
|
|
7519
7519
|
ancestors: z$1.ZodBoolean;
|
|
@@ -7538,8 +7538,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7538
7538
|
skill: "skill";
|
|
7539
7539
|
}>;
|
|
7540
7540
|
origin: z$1.ZodEnum<{
|
|
7541
|
-
user: "user";
|
|
7542
7541
|
project: "project";
|
|
7542
|
+
user: "user";
|
|
7543
7543
|
}>;
|
|
7544
7544
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7545
7545
|
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -7586,8 +7586,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7586
7586
|
skills: z$1.ZodArray<z$1.ZodObject<{
|
|
7587
7587
|
path: z$1.ZodString;
|
|
7588
7588
|
origin: z$1.ZodEnum<{
|
|
7589
|
-
user: "user";
|
|
7590
7589
|
project: "project";
|
|
7590
|
+
user: "user";
|
|
7591
7591
|
}>;
|
|
7592
7592
|
recursive: z$1.ZodBoolean;
|
|
7593
7593
|
ancestors: z$1.ZodBoolean;
|
|
@@ -7605,8 +7605,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7605
7605
|
commands: z$1.ZodArray<z$1.ZodObject<{
|
|
7606
7606
|
path: z$1.ZodString;
|
|
7607
7607
|
origin: z$1.ZodEnum<{
|
|
7608
|
-
user: "user";
|
|
7609
7608
|
project: "project";
|
|
7609
|
+
user: "user";
|
|
7610
7610
|
}>;
|
|
7611
7611
|
recursive: z$1.ZodBoolean;
|
|
7612
7612
|
ancestors: z$1.ZodBoolean;
|
|
@@ -7632,14 +7632,14 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7632
7632
|
realPath: z$1.ZodString;
|
|
7633
7633
|
contentSha256: z$1.ZodString;
|
|
7634
7634
|
rootKind: z$1.ZodEnum<{
|
|
7635
|
-
plugin: "plugin";
|
|
7636
7635
|
"shared-user": "shared-user";
|
|
7637
7636
|
"shared-project": "shared-project";
|
|
7637
|
+
plugin: "plugin";
|
|
7638
7638
|
"bb-project": "bb-project";
|
|
7639
|
+
"provider-user": "provider-user";
|
|
7640
|
+
"provider-project": "provider-project";
|
|
7639
7641
|
"bb-data-dir": "bb-data-dir";
|
|
7640
7642
|
"bb-builtin": "bb-builtin";
|
|
7641
|
-
"provider-project": "provider-project";
|
|
7642
|
-
"provider-user": "provider-user";
|
|
7643
7643
|
}>;
|
|
7644
7644
|
linked: z$1.ZodBoolean;
|
|
7645
7645
|
}, z$1.core.$strip>>;
|
|
@@ -7693,14 +7693,14 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7693
7693
|
realPath: z$1.ZodString;
|
|
7694
7694
|
contentSha256: z$1.ZodString;
|
|
7695
7695
|
rootKind: z$1.ZodEnum<{
|
|
7696
|
-
plugin: "plugin";
|
|
7697
7696
|
"shared-user": "shared-user";
|
|
7698
7697
|
"shared-project": "shared-project";
|
|
7698
|
+
plugin: "plugin";
|
|
7699
7699
|
"bb-project": "bb-project";
|
|
7700
|
+
"provider-user": "provider-user";
|
|
7701
|
+
"provider-project": "provider-project";
|
|
7700
7702
|
"bb-data-dir": "bb-data-dir";
|
|
7701
7703
|
"bb-builtin": "bb-builtin";
|
|
7702
|
-
"provider-project": "provider-project";
|
|
7703
|
-
"provider-user": "provider-user";
|
|
7704
7704
|
}>;
|
|
7705
7705
|
linked: z$1.ZodBoolean;
|
|
7706
7706
|
}, z$1.core.$strip>>;
|
|
@@ -7708,10 +7708,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7708
7708
|
"host.delete_skill": HostDaemonCommandDescriptor<"host.delete_skill", z$1.ZodObject<{
|
|
7709
7709
|
type: z$1.ZodLiteral<"host.delete_skill">;
|
|
7710
7710
|
scope: z$1.ZodEnum<{
|
|
7711
|
+
"bb-user": "bb-user";
|
|
7711
7712
|
"bb-project": "bb-project";
|
|
7712
|
-
"provider-project": "provider-project";
|
|
7713
7713
|
"provider-user": "provider-user";
|
|
7714
|
-
"
|
|
7714
|
+
"provider-project": "provider-project";
|
|
7715
7715
|
}>;
|
|
7716
7716
|
name: z$1.ZodString;
|
|
7717
7717
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -7722,8 +7722,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7722
7722
|
"host.write_skill": HostDaemonCommandDescriptor<"host.write_skill", z$1.ZodObject<{
|
|
7723
7723
|
type: z$1.ZodLiteral<"host.write_skill">;
|
|
7724
7724
|
scope: z$1.ZodEnum<{
|
|
7725
|
-
"bb-project": "bb-project";
|
|
7726
7725
|
"bb-user": "bb-user";
|
|
7726
|
+
"bb-project": "bb-project";
|
|
7727
7727
|
}>;
|
|
7728
7728
|
name: z$1.ZodString;
|
|
7729
7729
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -7820,8 +7820,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7820
7820
|
selectedBranch: z$1.ZodOptional<z$1.ZodString>;
|
|
7821
7821
|
limit: z$1.ZodNumber;
|
|
7822
7822
|
remoteRefresh: z$1.ZodEnum<{
|
|
7823
|
-
background: "background";
|
|
7824
7823
|
none: "none";
|
|
7824
|
+
background: "background";
|
|
7825
7825
|
}>;
|
|
7826
7826
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7827
7827
|
branches: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -7942,8 +7942,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7942
7942
|
providerInstallation: z$1.ZodBoolean;
|
|
7943
7943
|
supportsServiceTier: z$1.ZodBoolean;
|
|
7944
7944
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
7945
|
-
auto: "auto";
|
|
7946
7945
|
"accept-edits": "accept-edits";
|
|
7946
|
+
auto: "auto";
|
|
7947
7947
|
full: "full";
|
|
7948
7948
|
}>>;
|
|
7949
7949
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -8072,8 +8072,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8072
8072
|
providerInstallation: z$1.ZodBoolean;
|
|
8073
8073
|
supportsServiceTier: z$1.ZodBoolean;
|
|
8074
8074
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
8075
|
-
auto: "auto";
|
|
8076
8075
|
"accept-edits": "accept-edits";
|
|
8076
|
+
auto: "auto";
|
|
8077
8077
|
full: "full";
|
|
8078
8078
|
}>>;
|
|
8079
8079
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -8109,8 +8109,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8109
8109
|
providerInstallation: z$1.ZodBoolean;
|
|
8110
8110
|
supportsServiceTier: z$1.ZodBoolean;
|
|
8111
8111
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
8112
|
-
auto: "auto";
|
|
8113
8112
|
"accept-edits": "accept-edits";
|
|
8113
|
+
auto: "auto";
|
|
8114
8114
|
full: "full";
|
|
8115
8115
|
}>>;
|
|
8116
8116
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -8131,8 +8131,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8131
8131
|
supported: z$1.ZodLiteral<true>;
|
|
8132
8132
|
health: z$1.ZodObject<{
|
|
8133
8133
|
status: z$1.ZodEnum<{
|
|
8134
|
-
ready: "ready";
|
|
8135
8134
|
unknown: "unknown";
|
|
8135
|
+
ready: "ready";
|
|
8136
8136
|
not_installed: "not_installed";
|
|
8137
8137
|
unauthenticated: "unauthenticated";
|
|
8138
8138
|
expired: "expired";
|
|
@@ -8163,8 +8163,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8163
8163
|
providerInstallation: z$1.ZodBoolean;
|
|
8164
8164
|
supportsServiceTier: z$1.ZodBoolean;
|
|
8165
8165
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
8166
|
-
auto: "auto";
|
|
8167
8166
|
"accept-edits": "accept-edits";
|
|
8167
|
+
auto: "auto";
|
|
8168
8168
|
full: "full";
|
|
8169
8169
|
}>>;
|
|
8170
8170
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -8184,8 +8184,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8184
8184
|
installed: z$1.ZodBoolean;
|
|
8185
8185
|
installSource: z$1.ZodEnum<{
|
|
8186
8186
|
notInstalled: "notInstalled";
|
|
8187
|
-
npmGlobal: "npmGlobal";
|
|
8188
8187
|
external: "external";
|
|
8188
|
+
npmGlobal: "npmGlobal";
|
|
8189
8189
|
}>;
|
|
8190
8190
|
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
8191
8191
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -8224,8 +8224,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8224
8224
|
providerInstallation: z$1.ZodBoolean;
|
|
8225
8225
|
supportsServiceTier: z$1.ZodBoolean;
|
|
8226
8226
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
8227
|
-
auto: "auto";
|
|
8228
8227
|
"accept-edits": "accept-edits";
|
|
8228
|
+
auto: "auto";
|
|
8229
8229
|
full: "full";
|
|
8230
8230
|
}>>;
|
|
8231
8231
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -8278,8 +8278,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8278
8278
|
providerInstallation: z$1.ZodBoolean;
|
|
8279
8279
|
supportsServiceTier: z$1.ZodBoolean;
|
|
8280
8280
|
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
8281
|
-
auto: "auto";
|
|
8282
8281
|
"accept-edits": "accept-edits";
|
|
8282
|
+
auto: "auto";
|
|
8283
8283
|
full: "full";
|
|
8284
8284
|
}>>;
|
|
8285
8285
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
@@ -8735,8 +8735,8 @@ declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.
|
|
|
8735
8735
|
installed: z$1.ZodBoolean;
|
|
8736
8736
|
installSource: z$1.ZodEnum<{
|
|
8737
8737
|
notInstalled: "notInstalled";
|
|
8738
|
-
npmGlobal: "npmGlobal";
|
|
8739
8738
|
external: "external";
|
|
8739
|
+
npmGlobal: "npmGlobal";
|
|
8740
8740
|
}>;
|
|
8741
8741
|
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
8742
8742
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0889b9182df3bfbe812cd074b577d32c1502a877
|
|
@@ -11,7 +11,7 @@ export declare function derivedChecks(top: string): { setup: Step[]; checks: Ste
|
|
|
11
11
|
export declare function rebuildableFolders(top: string): { job: string; folders: string[] } | null;
|
|
12
12
|
export declare function declareRebuildable(top: string): string[];
|
|
13
13
|
|
|
14
|
-
export declare function releaseSourceSnapshot(top: string): boolean;
|
|
14
|
+
export declare function releaseSourceSnapshot(top: string, keep?: string[]): boolean;
|
|
15
15
|
export declare function requireSingleCheckout(top: string, checkOutput?: string[]): void;
|
|
16
16
|
export declare function buildEnvironment(top: string, env?: Record<string, string | undefined>, exchange?: string): Record<string, string | undefined>;
|
|
17
17
|
export declare function cleanupBuildOutputs(top: string, keep?: string[]): string[];
|
|
@@ -347,7 +347,7 @@ function safeLocalPath(root, path) {
|
|
|
347
347
|
return true;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
export function releaseSourceSnapshot(top) {
|
|
350
|
+
export function releaseSourceSnapshot(top, keep = []) {
|
|
351
351
|
const job = jobRoot(top);
|
|
352
352
|
if (!job) return false;
|
|
353
353
|
const origin = git(top, "remote", "get-url", "origin");
|
|
@@ -364,7 +364,8 @@ export function releaseSourceSnapshot(top) {
|
|
|
364
364
|
if (git(source, "rev-parse", "--is-bare-repository").out.trim() !== "true") return false;
|
|
365
365
|
const unreachable = git(source, "fsck", "--no-reflogs", "--unreachable");
|
|
366
366
|
if (!unreachable.ok || unreachable.out.trim()) return false;
|
|
367
|
-
|
|
367
|
+
if (retainedPaths(top, keep).some((saved) => pathsOverlap(source, saved))) return false;
|
|
368
|
+
rmSync(source, { recursive: true });
|
|
368
369
|
return true;
|
|
369
370
|
}
|
|
370
371
|
|
|
@@ -435,30 +436,39 @@ function metadataText(path) {
|
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
438
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
439
|
+
function pathsOverlap(first, second) {
|
|
440
|
+
return first === second || first.startsWith(second.endsWith("/") ? second : `${second}/`) || second.startsWith(first.endsWith("/") ? first : `${first}/`);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
function retainedPaths(top, keep) {
|
|
444
|
+
const job = jobRoot(top);
|
|
445
|
+
const text = metadataText(join(job, ".orbit-outputs.json"));
|
|
446
|
+
let outputs;
|
|
444
447
|
try {
|
|
445
|
-
|
|
448
|
+
outputs = text === null ? [] : JSON.parse(text);
|
|
446
449
|
} catch {
|
|
447
|
-
throw new Refusal("declare result files as a JSON list before
|
|
450
|
+
throw new Refusal("declare result files as a JSON list before cleanup");
|
|
448
451
|
}
|
|
449
|
-
if (!Array.isArray(
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
452
|
+
if (!Array.isArray(outputs) || outputs.some((name) => typeof name !== "string")) throw new Refusal("declare result files as a JSON list before cleanup");
|
|
453
|
+
return [
|
|
454
|
+
...outputs.map((name) => resolve(job, name)),
|
|
455
|
+
...keep.map((name) => resolve(name)),
|
|
456
|
+
...must(top, "ls-files", "-z")
|
|
457
|
+
.split("\0")
|
|
458
|
+
.filter(Boolean)
|
|
459
|
+
.map((name) => join(top, name)),
|
|
460
|
+
];
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export function cleanupBuildOutputs(top, keep = []) {
|
|
464
|
+
const found = rebuildableFolders(top);
|
|
465
|
+
if (!found) return [];
|
|
466
|
+
const protectedFiles = retainedPaths(top, keep);
|
|
456
467
|
const removed = [];
|
|
457
468
|
for (const folder of found.folders) {
|
|
458
469
|
const path = join(found.job, folder);
|
|
459
470
|
if (!existsSync(path) || !safeLocalPath(found.job, path)) continue;
|
|
460
|
-
|
|
461
|
-
if (protectedFiles.some(includes) || tracked.some(includes)) continue;
|
|
471
|
+
if (protectedFiles.some((saved) => pathsOverlap(path, saved))) continue;
|
|
462
472
|
rmSync(path, { recursive: true, force: true });
|
|
463
473
|
removed.push(folder);
|
|
464
474
|
}
|
|
@@ -540,21 +550,12 @@ export function prepareCheckOutput(top) {
|
|
|
540
550
|
export function cleanupCheckOutput(top, context, keep = []) {
|
|
541
551
|
const job = jobRoot(top);
|
|
542
552
|
if (!job || context === null) return [];
|
|
543
|
-
const
|
|
544
|
-
let outputs;
|
|
545
|
-
try {
|
|
546
|
-
outputs = text === null ? [] : JSON.parse(text);
|
|
547
|
-
} catch {
|
|
548
|
-
throw new Refusal("declare result files as a JSON list before cleaning check output");
|
|
549
|
-
}
|
|
550
|
-
if (!Array.isArray(outputs) || outputs.some((name) => typeof name !== "string"))
|
|
551
|
-
throw new Refusal("declare result files as a JSON list before cleaning check output");
|
|
552
|
-
const protectedFiles = [...outputs.map((name) => resolve(job, name)), ...keep.map((name) => resolve(name))];
|
|
553
|
+
const protectedFiles = retainedPaths(top, keep);
|
|
553
554
|
const removed = [];
|
|
554
555
|
for (const path of context.folders) {
|
|
555
556
|
if (!existsSync(path)) continue;
|
|
556
557
|
if (!safeLocalPath(job, path) || !ownedCheckOutput(top, path)) throw new Refusal("temporary check output changed; keep it until its work is saved");
|
|
557
|
-
if (protectedFiles.some((
|
|
558
|
+
if (protectedFiles.some((saved) => pathsOverlap(path, saved))) continue;
|
|
558
559
|
rmSync(path, { recursive: true });
|
|
559
560
|
removed.push(path);
|
|
560
561
|
}
|
|
@@ -586,7 +587,7 @@ function main() {
|
|
|
586
587
|
if (options.list) return 0;
|
|
587
588
|
const context = process.env.BB_THREAD_ID ? prepareCheckOutput(top) : null;
|
|
588
589
|
if (process.env.BB_THREAD_ID) {
|
|
589
|
-
releaseSourceSnapshot(top);
|
|
590
|
+
releaseSourceSnapshot(top, options.log ? [options.log] : []);
|
|
590
591
|
requireSingleCheckout(top, context?.folders);
|
|
591
592
|
}
|
|
592
593
|
const logRoot = context ? join(jobRoot(top), "logs") : process.env.TMPDIR || tmpdir();
|