@halcyonlabs/app 0.47.0-halcyon.4 → 0.47.0-halcyon.7

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/bb-app.js CHANGED
@@ -17720,6 +17720,19 @@ function readPackageVersion(packageRoot) {
17720
17720
  return null;
17721
17721
  }
17722
17722
  }
17723
+ function readPackageName(packageRoot) {
17724
+ try {
17725
+ const parsed = JSON.parse(
17726
+ readFileSync(join11(packageRoot, "package.json"), "utf8")
17727
+ );
17728
+ return parsed !== null && typeof parsed === "object" && "name" in parsed && typeof parsed.name === "string" ? parsed.name : null;
17729
+ } catch {
17730
+ return null;
17731
+ }
17732
+ }
17733
+ function isOwnNpmRevision(revision) {
17734
+ return readPackageName(revision.packageRoot) === BB_APP_NPM_PACKAGE_NAME;
17735
+ }
17723
17736
  function isUsableNpmRevision(revision) {
17724
17737
  return readPackageVersion(revision.packageRoot) === revision.version && NPM_REVISION_REQUIRED_FILES.every(
17725
17738
  (file2) => existsSync(join11(revision.packageRoot, file2))
@@ -18441,7 +18454,7 @@ function spawnNpmLauncher(args) {
18441
18454
  });
18442
18455
  }
18443
18456
  async function runNpmShim(args) {
18444
- const isUsable = args.isUsable ?? isUsableNpmRevision;
18457
+ const isUsable = args.isUsable ?? ((revision) => isUsableNpmRevision(revision) && isOwnNpmRevision(revision));
18445
18458
  const nodeAbi = args.nodeAbi ?? process.versions.modules;
18446
18459
  let useBundled = args.useBundled;
18447
18460
  let shuttingDown = false;
package/dist/index.d.ts CHANGED
@@ -487,8 +487,8 @@ declare const environmentSchema: z$1.ZodObject<{
487
487
  retireAt: z$1.ZodNullable<z$1.ZodNumber>;
488
488
  teardown: z$1.ZodNullable<z$1.ZodObject<{
489
489
  status: z$1.ZodEnum<{
490
- running: "running";
491
490
  failed: "failed";
491
+ running: "running";
492
492
  removed: "removed";
493
493
  }>;
494
494
  attempt: z$1.ZodNumber;
@@ -583,8 +583,8 @@ declare const hostSchema: z$1.ZodObject<{
583
583
  pendingLog: z$1.ZodString;
584
584
  teardown: z$1.ZodNullable<z$1.ZodObject<{
585
585
  status: z$1.ZodEnum<{
586
- running: "running";
587
586
  failed: "failed";
587
+ running: "running";
588
588
  removed: "removed";
589
589
  }>;
590
590
  attempt: z$1.ZodNumber;
@@ -685,8 +685,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
685
685
  providerThreadId: z$1.ZodString;
686
686
  objective: z$1.ZodString;
687
687
  status: z$1.ZodEnum<{
688
- paused: "paused";
689
688
  active: "active";
689
+ paused: "paused";
690
690
  budgetLimited: "budgetLimited";
691
691
  complete: "complete";
692
692
  }>;
@@ -1252,9 +1252,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1252
1252
  step: z$1.ZodString;
1253
1253
  status: z$1.ZodOptional<z$1.ZodEnum<{
1254
1254
  pending: "pending";
1255
+ active: "active";
1255
1256
  completed: "completed";
1256
1257
  failed: "failed";
1257
- active: "active";
1258
1258
  }>>;
1259
1259
  }, z$1.core.$strip>>;
1260
1260
  explanation: z$1.ZodOptional<z$1.ZodString>;
@@ -1333,10 +1333,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1333
1333
  }>;
1334
1334
  taskStatus: z$1.ZodEnum<{
1335
1335
  pending: "pending";
1336
- running: "running";
1337
- paused: "paused";
1338
1336
  completed: "completed";
1339
1337
  failed: "failed";
1338
+ paused: "paused";
1339
+ running: "running";
1340
1340
  killed: "killed";
1341
1341
  stopped: "stopped";
1342
1342
  }>;
@@ -1353,8 +1353,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1353
1353
  index: z$1.ZodNumber;
1354
1354
  label: z$1.ZodString;
1355
1355
  state: z$1.ZodEnum<{
1356
- running: "running";
1357
1356
  failed: "failed";
1357
+ running: "running";
1358
1358
  queued: "queued";
1359
1359
  done: "done";
1360
1360
  skipped: "skipped";
@@ -2019,9 +2019,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2019
2019
  step: z$1.ZodString;
2020
2020
  status: z$1.ZodOptional<z$1.ZodEnum<{
2021
2021
  pending: "pending";
2022
+ active: "active";
2022
2023
  completed: "completed";
2023
2024
  failed: "failed";
2024
- active: "active";
2025
2025
  }>>;
2026
2026
  }, z$1.core.$strip>>;
2027
2027
  explanation: z$1.ZodOptional<z$1.ZodString>;
@@ -2100,10 +2100,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2100
2100
  }>;
2101
2101
  taskStatus: z$1.ZodEnum<{
2102
2102
  pending: "pending";
2103
- running: "running";
2104
- paused: "paused";
2105
2103
  completed: "completed";
2106
2104
  failed: "failed";
2105
+ paused: "paused";
2106
+ running: "running";
2107
2107
  killed: "killed";
2108
2108
  stopped: "stopped";
2109
2109
  }>;
@@ -2120,8 +2120,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2120
2120
  index: z$1.ZodNumber;
2121
2121
  label: z$1.ZodString;
2122
2122
  state: z$1.ZodEnum<{
2123
- running: "running";
2124
2123
  failed: "failed";
2124
+ running: "running";
2125
2125
  queued: "queued";
2126
2126
  done: "done";
2127
2127
  skipped: "skipped";
@@ -2332,10 +2332,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2332
2332
  }>;
2333
2333
  taskStatus: z$1.ZodEnum<{
2334
2334
  pending: "pending";
2335
- running: "running";
2336
- paused: "paused";
2337
2335
  completed: "completed";
2338
2336
  failed: "failed";
2337
+ paused: "paused";
2338
+ running: "running";
2339
2339
  killed: "killed";
2340
2340
  stopped: "stopped";
2341
2341
  }>;
@@ -2352,8 +2352,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2352
2352
  index: z$1.ZodNumber;
2353
2353
  label: z$1.ZodString;
2354
2354
  state: z$1.ZodEnum<{
2355
- running: "running";
2356
2355
  failed: "failed";
2356
+ running: "running";
2357
2357
  queued: "queued";
2358
2358
  done: "done";
2359
2359
  skipped: "skipped";
@@ -2431,10 +2431,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2431
2431
  }>;
2432
2432
  taskStatus: z$1.ZodEnum<{
2433
2433
  pending: "pending";
2434
- running: "running";
2435
- paused: "paused";
2436
2434
  completed: "completed";
2437
2435
  failed: "failed";
2436
+ paused: "paused";
2437
+ running: "running";
2438
2438
  killed: "killed";
2439
2439
  stopped: "stopped";
2440
2440
  }>;
@@ -2451,8 +2451,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2451
2451
  index: z$1.ZodNumber;
2452
2452
  label: z$1.ZodString;
2453
2453
  state: z$1.ZodEnum<{
2454
- running: "running";
2455
2454
  failed: "failed";
2455
+ running: "running";
2456
2456
  queued: "queued";
2457
2457
  done: "done";
2458
2458
  skipped: "skipped";
@@ -2647,9 +2647,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2647
2647
  step: z$1.ZodString;
2648
2648
  status: z$1.ZodOptional<z$1.ZodEnum<{
2649
2649
  pending: "pending";
2650
+ active: "active";
2650
2651
  completed: "completed";
2651
2652
  failed: "failed";
2652
- active: "active";
2653
2653
  }>>;
2654
2654
  }, z$1.core.$strip>>;
2655
2655
  explanation: z$1.ZodOptional<z$1.ZodString>;
@@ -2658,8 +2658,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2658
2658
  threadId: z$1.ZodString;
2659
2659
  providerThreadId: z$1.ZodString;
2660
2660
  state: z$1.ZodEnum<{
2661
- running: "running";
2662
2661
  idle: "idle";
2662
+ running: "running";
2663
2663
  }>;
2664
2664
  }, z$1.core.$strip>, z$1.ZodObject<{
2665
2665
  type: z$1.ZodLiteral<"turn/diff/updated">;
@@ -3365,8 +3365,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3365
3365
  rendererId: z$1.ZodString;
3366
3366
  }, z$1.core.$strip>;
3367
3367
  payload: z$1.ZodObject<{
3368
- kind: z$1.ZodLiteral<"plugin">;
3369
3368
  title: z$1.ZodString;
3369
+ kind: z$1.ZodLiteral<"plugin">;
3370
3370
  presentation: z$1.ZodOptional<z$1.ZodObject<{
3371
3371
  label: z$1.ZodObject<{
3372
3372
  pending: z$1.ZodString;
@@ -3416,8 +3416,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3416
3416
  providerRequestId: z$1.ZodString;
3417
3417
  }, z$1.core.$strip>;
3418
3418
  payload: z$1.ZodObject<{
3419
- kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
3420
3419
  title: z$1.ZodString;
3420
+ kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
3421
3421
  }, z$1.core.$strip>;
3422
3422
  resolution: z$1.ZodNullable<z$1.ZodObject<{
3423
3423
  kind: z$1.ZodLiteral<"request_answer">;
@@ -3515,9 +3515,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3515
3515
  threadId: z$1.ZodString;
3516
3516
  provisioningId: z$1.ZodString;
3517
3517
  status: z$1.ZodEnum<{
3518
+ active: "active";
3518
3519
  completed: "completed";
3519
3520
  failed: "failed";
3520
- active: "active";
3521
3521
  cancelled: "cancelled";
3522
3522
  }>;
3523
3523
  environmentId: z$1.ZodNullable<z$1.ZodString>;
@@ -6102,11 +6102,11 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
6102
6102
  sectionId: z$1.ZodNullable<z$1.ZodString>;
6103
6103
  status: z$1.ZodEnum<{
6104
6104
  error: "error";
6105
+ stopping: "stopping";
6105
6106
  pending: "pending";
6106
6107
  idle: "idle";
6107
6108
  starting: "starting";
6108
6109
  active: "active";
6109
- stopping: "stopping";
6110
6110
  }>;
6111
6111
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
6112
6112
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -6134,12 +6134,12 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
6134
6134
  runtime: z$1.ZodObject<{
6135
6135
  displayStatus: z$1.ZodEnum<{
6136
6136
  error: "error";
6137
+ provisioning: "provisioning";
6138
+ stopping: "stopping";
6137
6139
  pending: "pending";
6138
6140
  idle: "idle";
6139
6141
  starting: "starting";
6140
6142
  active: "active";
6141
- stopping: "stopping";
6142
- provisioning: "provisioning";
6143
6143
  "waiting-for-host": "waiting-for-host";
6144
6144
  }>;
6145
6145
  }, z$1.core.$strip>;
@@ -6219,11 +6219,11 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
6219
6219
  sectionId: z$1.ZodNullable<z$1.ZodString>;
6220
6220
  status: z$1.ZodEnum<{
6221
6221
  error: "error";
6222
+ stopping: "stopping";
6222
6223
  pending: "pending";
6223
6224
  idle: "idle";
6224
6225
  starting: "starting";
6225
6226
  active: "active";
6226
- stopping: "stopping";
6227
6227
  }>;
6228
6228
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
6229
6229
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -6251,12 +6251,12 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
6251
6251
  runtime: z$1.ZodObject<{
6252
6252
  displayStatus: z$1.ZodEnum<{
6253
6253
  error: "error";
6254
+ provisioning: "provisioning";
6255
+ stopping: "stopping";
6254
6256
  pending: "pending";
6255
6257
  idle: "idle";
6256
6258
  starting: "starting";
6257
6259
  active: "active";
6258
- stopping: "stopping";
6259
- provisioning: "provisioning";
6260
6260
  "waiting-for-host": "waiting-for-host";
6261
6261
  }>;
6262
6262
  }, z$1.core.$strip>;
@@ -6328,11 +6328,11 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
6328
6328
  sectionId: z$1.ZodNullable<z$1.ZodString>;
6329
6329
  status: z$1.ZodEnum<{
6330
6330
  error: "error";
6331
+ stopping: "stopping";
6331
6332
  pending: "pending";
6332
6333
  idle: "idle";
6333
6334
  starting: "starting";
6334
6335
  active: "active";
6335
- stopping: "stopping";
6336
6336
  }>;
6337
6337
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
6338
6338
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -6360,12 +6360,12 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
6360
6360
  runtime: z$1.ZodObject<{
6361
6361
  displayStatus: z$1.ZodEnum<{
6362
6362
  error: "error";
6363
+ provisioning: "provisioning";
6364
+ stopping: "stopping";
6363
6365
  pending: "pending";
6364
6366
  idle: "idle";
6365
6367
  starting: "starting";
6366
6368
  active: "active";
6367
- stopping: "stopping";
6368
- provisioning: "provisioning";
6369
6369
  "waiting-for-host": "waiting-for-host";
6370
6370
  }>;
6371
6371
  }, z$1.core.$strip>;
@@ -10531,8 +10531,8 @@ declare const installedPluginSchema: z$1.ZodObject<{
10531
10531
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
10532
10532
  status: z$1.ZodEnum<{
10533
10533
  error: "error";
10534
- disabled: "disabled";
10535
10534
  starting: "starting";
10535
+ disabled: "disabled";
10536
10536
  missing: "missing";
10537
10537
  running: "running";
10538
10538
  incompatible: "incompatible";
@@ -10651,8 +10651,8 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
10651
10651
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
10652
10652
  status: z$1.ZodEnum<{
10653
10653
  error: "error";
10654
- disabled: "disabled";
10655
10654
  starting: "starting";
10655
+ disabled: "disabled";
10656
10656
  missing: "missing";
10657
10657
  running: "running";
10658
10658
  incompatible: "incompatible";
@@ -10836,8 +10836,8 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10836
10836
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
10837
10837
  status: z$1.ZodEnum<{
10838
10838
  error: "error";
10839
- disabled: "disabled";
10840
10839
  starting: "starting";
10840
+ disabled: "disabled";
10841
10841
  missing: "missing";
10842
10842
  running: "running";
10843
10843
  incompatible: "incompatible";
@@ -11020,8 +11020,8 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
11020
11020
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
11021
11021
  status: z$1.ZodEnum<{
11022
11022
  error: "error";
11023
- disabled: "disabled";
11024
11023
  starting: "starting";
11024
+ disabled: "disabled";
11025
11025
  missing: "missing";
11026
11026
  running: "running";
11027
11027
  incompatible: "incompatible";
@@ -11773,9 +11773,9 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
11773
11773
  replay: "replay";
11774
11774
  }>;
11775
11775
  outcome: z$1.ZodEnum<{
11776
+ ready: "ready";
11776
11777
  failed: "failed";
11777
11778
  cancelled: "cancelled";
11778
- ready: "ready";
11779
11779
  started: "started";
11780
11780
  exited: "exited";
11781
11781
  }>;
@@ -14176,11 +14176,11 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14176
14176
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14177
14177
  status: z$1.ZodEnum<{
14178
14178
  error: "error";
14179
+ stopping: "stopping";
14179
14180
  pending: "pending";
14180
14181
  idle: "idle";
14181
14182
  starting: "starting";
14182
14183
  active: "active";
14183
- stopping: "stopping";
14184
14184
  }>;
14185
14185
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14186
14186
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14208,12 +14208,12 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14208
14208
  runtime: z$1.ZodObject<{
14209
14209
  displayStatus: z$1.ZodEnum<{
14210
14210
  error: "error";
14211
+ provisioning: "provisioning";
14212
+ stopping: "stopping";
14211
14213
  pending: "pending";
14212
14214
  idle: "idle";
14213
14215
  starting: "starting";
14214
14216
  active: "active";
14215
- stopping: "stopping";
14216
- provisioning: "provisioning";
14217
14217
  "waiting-for-host": "waiting-for-host";
14218
14218
  }>;
14219
14219
  }, z$1.core.$strip>;
@@ -14268,11 +14268,11 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14268
14268
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14269
14269
  status: z$1.ZodEnum<{
14270
14270
  error: "error";
14271
+ stopping: "stopping";
14271
14272
  pending: "pending";
14272
14273
  idle: "idle";
14273
14274
  starting: "starting";
14274
14275
  active: "active";
14275
- stopping: "stopping";
14276
14276
  }>;
14277
14277
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14278
14278
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14300,12 +14300,12 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14300
14300
  runtime: z$1.ZodObject<{
14301
14301
  displayStatus: z$1.ZodEnum<{
14302
14302
  error: "error";
14303
+ provisioning: "provisioning";
14304
+ stopping: "stopping";
14303
14305
  pending: "pending";
14304
14306
  idle: "idle";
14305
14307
  starting: "starting";
14306
14308
  active: "active";
14307
- stopping: "stopping";
14308
- provisioning: "provisioning";
14309
14309
  "waiting-for-host": "waiting-for-host";
14310
14310
  }>;
14311
14311
  }, z$1.core.$strip>;
@@ -14365,11 +14365,11 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14365
14365
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14366
14366
  status: z$1.ZodEnum<{
14367
14367
  error: "error";
14368
+ stopping: "stopping";
14368
14369
  pending: "pending";
14369
14370
  idle: "idle";
14370
14371
  starting: "starting";
14371
14372
  active: "active";
14372
- stopping: "stopping";
14373
14373
  }>;
14374
14374
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14375
14375
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14397,12 +14397,12 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14397
14397
  runtime: z$1.ZodObject<{
14398
14398
  displayStatus: z$1.ZodEnum<{
14399
14399
  error: "error";
14400
+ provisioning: "provisioning";
14401
+ stopping: "stopping";
14400
14402
  pending: "pending";
14401
14403
  idle: "idle";
14402
14404
  starting: "starting";
14403
14405
  active: "active";
14404
- stopping: "stopping";
14405
- provisioning: "provisioning";
14406
14406
  "waiting-for-host": "waiting-for-host";
14407
14407
  }>;
14408
14408
  }, z$1.core.$strip>;
@@ -14461,11 +14461,11 @@ declare const threadResponseSchema: z$1.ZodObject<{
14461
14461
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14462
14462
  status: z$1.ZodEnum<{
14463
14463
  error: "error";
14464
+ stopping: "stopping";
14464
14465
  pending: "pending";
14465
14466
  idle: "idle";
14466
14467
  starting: "starting";
14467
14468
  active: "active";
14468
- stopping: "stopping";
14469
14469
  }>;
14470
14470
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14471
14471
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14493,12 +14493,12 @@ declare const threadResponseSchema: z$1.ZodObject<{
14493
14493
  runtime: z$1.ZodObject<{
14494
14494
  displayStatus: z$1.ZodEnum<{
14495
14495
  error: "error";
14496
+ provisioning: "provisioning";
14497
+ stopping: "stopping";
14496
14498
  pending: "pending";
14497
14499
  idle: "idle";
14498
14500
  starting: "starting";
14499
14501
  active: "active";
14500
- stopping: "stopping";
14501
- provisioning: "provisioning";
14502
14502
  "waiting-for-host": "waiting-for-host";
14503
14503
  }>;
14504
14504
  }, z$1.core.$strip>;
@@ -14545,11 +14545,11 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14545
14545
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14546
14546
  status: z$1.ZodEnum<{
14547
14547
  error: "error";
14548
+ stopping: "stopping";
14548
14549
  pending: "pending";
14549
14550
  idle: "idle";
14550
14551
  starting: "starting";
14551
14552
  active: "active";
14552
- stopping: "stopping";
14553
14553
  }>;
14554
14554
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14555
14555
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14577,12 +14577,12 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14577
14577
  runtime: z$1.ZodObject<{
14578
14578
  displayStatus: z$1.ZodEnum<{
14579
14579
  error: "error";
14580
+ provisioning: "provisioning";
14581
+ stopping: "stopping";
14580
14582
  pending: "pending";
14581
14583
  idle: "idle";
14582
14584
  starting: "starting";
14583
14585
  active: "active";
14584
- stopping: "stopping";
14585
- provisioning: "provisioning";
14586
14586
  "waiting-for-host": "waiting-for-host";
14587
14587
  }>;
14588
14588
  }, z$1.core.$strip>;
@@ -14605,17 +14605,17 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14605
14605
  mergeBaseBranch: z$1.ZodNullable<z$1.ZodString>;
14606
14606
  status: z$1.ZodEnum<{
14607
14607
  error: "error";
14608
+ creating: "creating";
14608
14609
  provisioning: "provisioning";
14609
14610
  ready: "ready";
14610
- creating: "creating";
14611
14611
  destroyed: "destroyed";
14612
14612
  }>;
14613
14613
  environmentProviderId: z$1.ZodNullable<z$1.ZodString>;
14614
14614
  lifecycle: z$1.ZodObject<{
14615
14615
  phase: z$1.ZodEnum<{
14616
+ destroyed: "destroyed";
14616
14617
  active: "active";
14617
14618
  teardown: "teardown";
14618
- destroyed: "destroyed";
14619
14619
  retiring: "retiring";
14620
14620
  }>;
14621
14621
  retireAt: z$1.ZodNullable<z$1.ZodNumber>;
@@ -14664,19 +14664,19 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14664
14664
  ephemeral: "ephemeral";
14665
14665
  }>;
14666
14666
  status: z$1.ZodEnum<{
14667
- connected: "connected";
14668
14667
  disconnected: "disconnected";
14668
+ connected: "connected";
14669
14669
  }>;
14670
14670
  machineProviderId: z$1.ZodNullable<z$1.ZodString>;
14671
14671
  lifecycle: z$1.ZodObject<{
14672
14672
  phase: z$1.ZodEnum<{
14673
- active: "active";
14674
14673
  creating: "creating";
14675
- suspending: "suspending";
14674
+ destroyed: "destroyed";
14675
+ active: "active";
14676
14676
  suspended: "suspended";
14677
+ suspending: "suspending";
14677
14678
  resuming: "resuming";
14678
14679
  removing: "removing";
14679
- destroyed: "destroyed";
14680
14680
  }>;
14681
14681
  suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
14682
14682
  message: z$1.ZodNullable<z$1.ZodString>;
@@ -16149,17 +16149,17 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16149
16149
  timeUsedSeconds: z$1.ZodNumber;
16150
16150
  }, z$1.core.$strip>>;
16151
16151
  providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
16152
+ source: z$1.ZodEnum<{
16153
+ command: "command";
16154
+ skill: "skill";
16155
+ }>;
16156
+ name: z$1.ZodString;
16152
16157
  origin: z$1.ZodEnum<{
16153
16158
  project: "project";
16154
16159
  builtin: "builtin";
16155
16160
  user: "user";
16156
16161
  }>;
16157
16162
  description: z$1.ZodNullable<z$1.ZodString>;
16158
- source: z$1.ZodEnum<{
16159
- command: "command";
16160
- skill: "skill";
16161
- }>;
16162
- name: z$1.ZodString;
16163
16163
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
16164
16164
  }, z$1.core.$strip>>>;
16165
16165
  sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -16876,7 +16876,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
16876
16876
  title: string | null;
16877
16877
  titleFallback: string | null;
16878
16878
  sectionId: string | null;
16879
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
16879
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
16880
16880
  parentThreadId: string | null;
16881
16881
  lifecycleOwnerThreadId: string | null;
16882
16882
  sourceThreadId: string | null;
@@ -16892,7 +16892,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
16892
16892
  createdAt: number;
16893
16893
  updatedAt: number;
16894
16894
  runtime: {
16895
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
16895
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
16896
16896
  };
16897
16897
  activity: {
16898
16898
  activeWorkflowCount: number;
@@ -16982,7 +16982,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
16982
16982
  title: string | null;
16983
16983
  titleFallback: string | null;
16984
16984
  sectionId: string | null;
16985
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
16985
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
16986
16986
  parentThreadId: string | null;
16987
16987
  lifecycleOwnerThreadId: string | null;
16988
16988
  sourceThreadId: string | null;
@@ -16998,7 +16998,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
16998
16998
  createdAt: number;
16999
16999
  updatedAt: number;
17000
17000
  runtime: {
17001
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
17001
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
17002
17002
  };
17003
17003
  activity: {
17004
17004
  activeWorkflowCount: number;
@@ -17051,7 +17051,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17051
17051
  title: string | null;
17052
17052
  titleFallback: string | null;
17053
17053
  sectionId: string | null;
17054
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
17054
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
17055
17055
  parentThreadId: string | null;
17056
17056
  lifecycleOwnerThreadId: string | null;
17057
17057
  sourceThreadId: string | null;
@@ -17067,7 +17067,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17067
17067
  createdAt: number;
17068
17068
  updatedAt: number;
17069
17069
  runtime: {
17070
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
17070
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
17071
17071
  };
17072
17072
  activity: {
17073
17073
  activeWorkflowCount: number;
@@ -18074,10 +18074,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18074
18074
  id: string;
18075
18075
  name: string;
18076
18076
  type: "persistent" | "ephemeral";
18077
- status: "connected" | "disconnected";
18077
+ status: "disconnected" | "connected";
18078
18078
  machineProviderId: string | null;
18079
18079
  lifecycle: {
18080
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18080
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18081
18081
  suspendedAt: number | null;
18082
18082
  message: string | null;
18083
18083
  pendingLog: string;
@@ -18101,10 +18101,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18101
18101
  id: string;
18102
18102
  name: string;
18103
18103
  type: "persistent" | "ephemeral";
18104
- status: "connected" | "disconnected";
18104
+ status: "disconnected" | "connected";
18105
18105
  machineProviderId: string | null;
18106
18106
  lifecycle: {
18107
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18107
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18108
18108
  suspendedAt: number | null;
18109
18109
  message: string | null;
18110
18110
  pendingLog: string;
@@ -18139,10 +18139,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18139
18139
  id: string;
18140
18140
  name: string;
18141
18141
  type: "persistent" | "ephemeral";
18142
- status: "connected" | "disconnected";
18142
+ status: "disconnected" | "connected";
18143
18143
  machineProviderId: string | null;
18144
18144
  lifecycle: {
18145
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18145
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18146
18146
  suspendedAt: number | null;
18147
18147
  message: string | null;
18148
18148
  pendingLog: string;
@@ -18168,10 +18168,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18168
18168
  id: string;
18169
18169
  name: string;
18170
18170
  type: "persistent" | "ephemeral";
18171
- status: "connected" | "disconnected";
18171
+ status: "disconnected" | "connected";
18172
18172
  machineProviderId: string | null;
18173
18173
  lifecycle: {
18174
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18174
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18175
18175
  suspendedAt: number | null;
18176
18176
  message: string | null;
18177
18177
  pendingLog: string;
@@ -18232,10 +18232,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18232
18232
  id: string;
18233
18233
  name: string;
18234
18234
  type: "persistent" | "ephemeral";
18235
- status: "connected" | "disconnected";
18235
+ status: "disconnected" | "connected";
18236
18236
  machineProviderId: string | null;
18237
18237
  lifecycle: {
18238
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18238
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18239
18239
  suspendedAt: number | null;
18240
18240
  message: string | null;
18241
18241
  pendingLog: string;
@@ -18271,10 +18271,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18271
18271
  id: string;
18272
18272
  name: string;
18273
18273
  type: "persistent" | "ephemeral";
18274
- status: "connected" | "disconnected";
18274
+ status: "disconnected" | "connected";
18275
18275
  machineProviderId: string | null;
18276
18276
  lifecycle: {
18277
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18277
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18278
18278
  suspendedAt: number | null;
18279
18279
  message: string | null;
18280
18280
  pendingLog: string;
@@ -18300,10 +18300,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18300
18300
  id: string;
18301
18301
  name: string;
18302
18302
  type: "persistent" | "ephemeral";
18303
- status: "connected" | "disconnected";
18303
+ status: "disconnected" | "connected";
18304
18304
  machineProviderId: string | null;
18305
18305
  lifecycle: {
18306
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18306
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18307
18307
  suspendedAt: number | null;
18308
18308
  message: string | null;
18309
18309
  pendingLog: string;
@@ -18329,10 +18329,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18329
18329
  id: string;
18330
18330
  name: string;
18331
18331
  type: "persistent" | "ephemeral";
18332
- status: "connected" | "disconnected";
18332
+ status: "disconnected" | "connected";
18333
18333
  machineProviderId: string | null;
18334
18334
  lifecycle: {
18335
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18335
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18336
18336
  suspendedAt: number | null;
18337
18337
  message: string | null;
18338
18338
  pendingLog: string;
@@ -18921,7 +18921,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18921
18921
  hostId?: string | undefined;
18922
18922
  instanceKey?: string | undefined;
18923
18923
  path?: string | undefined;
18924
- status?: "error" | "provisioning" | "ready" | "creating" | "destroyed" | undefined;
18924
+ status?: "error" | "creating" | "provisioning" | "ready" | "destroyed" | undefined;
18925
18925
  limit?: string | undefined;
18926
18926
  offset?: string | undefined;
18927
18927
  } | undefined;
@@ -18937,10 +18937,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18937
18937
  baseBranch: string | null;
18938
18938
  defaultBranch: string | null;
18939
18939
  mergeBaseBranch: string | null;
18940
- status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
18940
+ status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
18941
18941
  environmentProviderId: string | null;
18942
18942
  lifecycle: {
18943
- phase: "active" | "teardown" | "destroyed" | "retiring";
18943
+ phase: "destroyed" | "active" | "teardown" | "retiring";
18944
18944
  retireAt: number | null;
18945
18945
  teardown: {
18946
18946
  status: "failed" | "running" | "removed";
@@ -19000,10 +19000,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19000
19000
  baseBranch: string | null;
19001
19001
  defaultBranch: string | null;
19002
19002
  mergeBaseBranch: string | null;
19003
- status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
19003
+ status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
19004
19004
  environmentProviderId: string | null;
19005
19005
  lifecycle: {
19006
- phase: "active" | "teardown" | "destroyed" | "retiring";
19006
+ phase: "destroyed" | "active" | "teardown" | "retiring";
19007
19007
  retireAt: number | null;
19008
19008
  teardown: {
19009
19009
  status: "failed" | "running" | "removed";
@@ -19046,10 +19046,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19046
19046
  baseBranch: string | null;
19047
19047
  defaultBranch: string | null;
19048
19048
  mergeBaseBranch: string | null;
19049
- status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
19049
+ status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
19050
19050
  environmentProviderId: string | null;
19051
19051
  lifecycle: {
19052
- phase: "active" | "teardown" | "destroyed" | "retiring";
19052
+ phase: "destroyed" | "active" | "teardown" | "retiring";
19053
19053
  retireAt: number | null;
19054
19054
  teardown: {
19055
19055
  status: "failed" | "running" | "removed";
@@ -19660,7 +19660,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19660
19660
  title: string | null;
19661
19661
  titleFallback: string | null;
19662
19662
  sectionId: string | null;
19663
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
19663
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
19664
19664
  parentThreadId: string | null;
19665
19665
  lifecycleOwnerThreadId: string | null;
19666
19666
  sourceThreadId: string | null;
@@ -19676,7 +19676,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19676
19676
  createdAt: number;
19677
19677
  updatedAt: number;
19678
19678
  runtime: {
19679
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
19679
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
19680
19680
  };
19681
19681
  activity: {
19682
19682
  activeWorkflowCount: number;
@@ -19852,7 +19852,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19852
19852
  title: string | null;
19853
19853
  titleFallback: string | null;
19854
19854
  sectionId: string | null;
19855
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
19855
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
19856
19856
  parentThreadId: string | null;
19857
19857
  lifecycleOwnerThreadId: string | null;
19858
19858
  sourceThreadId: string | null;
@@ -19868,7 +19868,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19868
19868
  createdAt: number;
19869
19869
  updatedAt: number;
19870
19870
  runtime: {
19871
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
19871
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
19872
19872
  };
19873
19873
  activeBackgroundAgentCount: number;
19874
19874
  canRestoreEnvironment: boolean;
@@ -19882,7 +19882,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19882
19882
  count: hono_client.ClientRequest<string, "/threads/count", {
19883
19883
  $get: Endpoint<EmptyInput & {
19884
19884
  query?: {
19885
- status?: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | undefined;
19885
+ status?: "error" | "stopping" | "pending" | "idle" | "starting" | "active" | undefined;
19886
19886
  hostId?: string | undefined;
19887
19887
  providerId?: string | undefined;
19888
19888
  projectId?: string | undefined;
@@ -19929,7 +19929,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19929
19929
  title: string | null;
19930
19930
  titleFallback: string | null;
19931
19931
  sectionId: string | null;
19932
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
19932
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
19933
19933
  parentThreadId: string | null;
19934
19934
  lifecycleOwnerThreadId: string | null;
19935
19935
  sourceThreadId: string | null;
@@ -19945,7 +19945,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19945
19945
  createdAt: number;
19946
19946
  updatedAt: number;
19947
19947
  runtime: {
19948
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
19948
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
19949
19949
  };
19950
19950
  activity: {
19951
19951
  activeWorkflowCount: number;
@@ -19987,7 +19987,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19987
19987
  title: string | null;
19988
19988
  titleFallback: string | null;
19989
19989
  sectionId: string | null;
19990
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
19990
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
19991
19991
  parentThreadId: string | null;
19992
19992
  lifecycleOwnerThreadId: string | null;
19993
19993
  sourceThreadId: string | null;
@@ -20003,7 +20003,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20003
20003
  createdAt: number;
20004
20004
  updatedAt: number;
20005
20005
  runtime: {
20006
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20006
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20007
20007
  };
20008
20008
  activity: {
20009
20009
  activeWorkflowCount: number;
@@ -20250,7 +20250,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20250
20250
  title: string | null;
20251
20251
  titleFallback: string | null;
20252
20252
  sectionId: string | null;
20253
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20253
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20254
20254
  parentThreadId: string | null;
20255
20255
  lifecycleOwnerThreadId: string | null;
20256
20256
  sourceThreadId: string | null;
@@ -20266,7 +20266,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20266
20266
  createdAt: number;
20267
20267
  updatedAt: number;
20268
20268
  runtime: {
20269
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20269
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20270
20270
  };
20271
20271
  activeBackgroundAgentCount: number;
20272
20272
  canRestoreEnvironment: boolean;
@@ -20291,7 +20291,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20291
20291
  title: string | null;
20292
20292
  titleFallback: string | null;
20293
20293
  sectionId: string | null;
20294
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20294
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20295
20295
  parentThreadId: string | null;
20296
20296
  lifecycleOwnerThreadId: string | null;
20297
20297
  sourceThreadId: string | null;
@@ -20307,7 +20307,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20307
20307
  createdAt: number;
20308
20308
  updatedAt: number;
20309
20309
  runtime: {
20310
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20310
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20311
20311
  };
20312
20312
  activeBackgroundAgentCount: number;
20313
20313
  canRestoreEnvironment: boolean;
@@ -20322,7 +20322,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20322
20322
  title: string | null;
20323
20323
  titleFallback: string | null;
20324
20324
  sectionId: string | null;
20325
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20325
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20326
20326
  parentThreadId: string | null;
20327
20327
  lifecycleOwnerThreadId: string | null;
20328
20328
  sourceThreadId: string | null;
@@ -20338,7 +20338,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20338
20338
  createdAt: number;
20339
20339
  updatedAt: number;
20340
20340
  runtime: {
20341
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20341
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20342
20342
  };
20343
20343
  activeBackgroundAgentCount: number;
20344
20344
  canRestoreEnvironment: boolean;
@@ -20357,10 +20357,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20357
20357
  baseBranch: string | null;
20358
20358
  defaultBranch: string | null;
20359
20359
  mergeBaseBranch: string | null;
20360
- status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
20360
+ status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
20361
20361
  environmentProviderId: string | null;
20362
20362
  lifecycle: {
20363
- phase: "active" | "teardown" | "destroyed" | "retiring";
20363
+ phase: "destroyed" | "active" | "teardown" | "retiring";
20364
20364
  retireAt: number | null;
20365
20365
  teardown: {
20366
20366
  status: "failed" | "running" | "removed";
@@ -20390,10 +20390,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20390
20390
  id: string;
20391
20391
  name: string;
20392
20392
  type: "persistent" | "ephemeral";
20393
- status: "connected" | "disconnected";
20393
+ status: "disconnected" | "connected";
20394
20394
  machineProviderId: string | null;
20395
20395
  lifecycle: {
20396
- phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
20396
+ phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
20397
20397
  suspendedAt: number | null;
20398
20398
  message: string | null;
20399
20399
  pendingLog: string;
@@ -20429,7 +20429,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20429
20429
  title: string | null;
20430
20430
  titleFallback: string | null;
20431
20431
  sectionId: string | null;
20432
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20432
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20433
20433
  parentThreadId: string | null;
20434
20434
  lifecycleOwnerThreadId: string | null;
20435
20435
  sourceThreadId: string | null;
@@ -20445,7 +20445,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20445
20445
  createdAt: number;
20446
20446
  updatedAt: number;
20447
20447
  runtime: {
20448
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20448
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20449
20449
  };
20450
20450
  activeBackgroundAgentCount: number;
20451
20451
  canRestoreEnvironment: boolean;
@@ -22609,7 +22609,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22609
22609
  title: string | null;
22610
22610
  titleFallback: string | null;
22611
22611
  sectionId: string | null;
22612
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
22612
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
22613
22613
  parentThreadId: string | null;
22614
22614
  lifecycleOwnerThreadId: string | null;
22615
22615
  sourceThreadId: string | null;
@@ -22625,7 +22625,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22625
22625
  createdAt: number;
22626
22626
  updatedAt: number;
22627
22627
  runtime: {
22628
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
22628
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
22629
22629
  };
22630
22630
  activeBackgroundAgentCount: number;
22631
22631
  canRestoreEnvironment: boolean;
@@ -22648,7 +22648,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22648
22648
  title: string | null;
22649
22649
  titleFallback: string | null;
22650
22650
  sectionId: string | null;
22651
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
22651
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
22652
22652
  parentThreadId: string | null;
22653
22653
  lifecycleOwnerThreadId: string | null;
22654
22654
  sourceThreadId: string | null;
@@ -22664,7 +22664,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22664
22664
  createdAt: number;
22665
22665
  updatedAt: number;
22666
22666
  runtime: {
22667
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
22667
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
22668
22668
  };
22669
22669
  activeBackgroundAgentCount: number;
22670
22670
  canRestoreEnvironment: boolean;
@@ -22692,7 +22692,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22692
22692
  title: string | null;
22693
22693
  titleFallback: string | null;
22694
22694
  sectionId: string | null;
22695
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
22695
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
22696
22696
  parentThreadId: string | null;
22697
22697
  lifecycleOwnerThreadId: string | null;
22698
22698
  sourceThreadId: string | null;
@@ -22708,7 +22708,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22708
22708
  createdAt: number;
22709
22709
  updatedAt: number;
22710
22710
  runtime: {
22711
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
22711
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
22712
22712
  };
22713
22713
  activity: {
22714
22714
  activeWorkflowCount: number;
@@ -23138,7 +23138,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23138
23138
  title: string | null;
23139
23139
  titleFallback: string | null;
23140
23140
  sectionId: string | null;
23141
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23141
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23142
23142
  parentThreadId: string | null;
23143
23143
  lifecycleOwnerThreadId: string | null;
23144
23144
  sourceThreadId: string | null;
@@ -23154,7 +23154,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23154
23154
  createdAt: number;
23155
23155
  updatedAt: number;
23156
23156
  runtime: {
23157
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23157
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23158
23158
  };
23159
23159
  activeBackgroundAgentCount: number;
23160
23160
  canRestoreEnvironment: boolean;
@@ -23177,7 +23177,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23177
23177
  title: string | null;
23178
23178
  titleFallback: string | null;
23179
23179
  sectionId: string | null;
23180
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23180
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23181
23181
  parentThreadId: string | null;
23182
23182
  lifecycleOwnerThreadId: string | null;
23183
23183
  sourceThreadId: string | null;
@@ -23193,7 +23193,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23193
23193
  createdAt: number;
23194
23194
  updatedAt: number;
23195
23195
  runtime: {
23196
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23196
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23197
23197
  };
23198
23198
  activeBackgroundAgentCount: number;
23199
23199
  canRestoreEnvironment: boolean;
@@ -23216,7 +23216,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23216
23216
  title: string | null;
23217
23217
  titleFallback: string | null;
23218
23218
  sectionId: string | null;
23219
- status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23219
+ status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23220
23220
  parentThreadId: string | null;
23221
23221
  lifecycleOwnerThreadId: string | null;
23222
23222
  sourceThreadId: string | null;
@@ -23232,7 +23232,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23232
23232
  createdAt: number;
23233
23233
  updatedAt: number;
23234
23234
  runtime: {
23235
- displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23235
+ displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23236
23236
  };
23237
23237
  activeBackgroundAgentCount: number;
23238
23238
  canRestoreEnvironment: boolean;
@@ -23447,10 +23447,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23447
23447
  timeUsedSeconds: number;
23448
23448
  } | null;
23449
23449
  providerCommands: {
23450
- origin: "project" | "builtin" | "user";
23451
- description: string | null;
23452
23450
  source: "command" | "skill";
23453
23451
  name: string;
23452
+ origin: "project" | "builtin" | "user";
23453
+ description: string | null;
23454
23454
  argumentHint: string | null;
23455
23455
  }[] | null;
23456
23456
  sessionOptions: ({
@@ -24666,7 +24666,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24666
24666
  name: "onboarding_sign_in";
24667
24667
  properties: {
24668
24668
  entry: "first_run" | "replay";
24669
- outcome: "failed" | "cancelled" | "ready" | "started" | "exited";
24669
+ outcome: "ready" | "failed" | "cancelled" | "started" | "exited";
24670
24670
  };
24671
24671
  } | {
24672
24672
  name: "new_thread_submit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyonlabs/app",
3
- "version": "0.47.0-halcyon.4",
3
+ "version": "0.47.0-halcyon.7",
4
4
  "description": "bb app launcher for npx",
5
5
  "keywords": [
6
6
  "bb",