@halcyonlabs/app 0.47.0-halcyon.475 → 0.47.0-halcyon.477

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 CHANGED
@@ -191,10 +191,10 @@ declare const uiPreferenceDefinitions: {
191
191
  }>>;
192
192
  readonly "sidebar.threadGrouping.environment": UiPreferenceDefinition<z$1.ZodUnion<readonly [z$1.ZodLiteral<"auto">, z$1.ZodBoolean]>>;
193
193
  readonly "sidebar.chronologicalSort": UiPreferenceDefinition<z$1.ZodEnum<{
194
- none: "none";
195
194
  updated: "updated";
196
195
  created: "created";
197
196
  alpha: "alpha";
197
+ none: "none";
198
198
  }>>;
199
199
  readonly "sidebar.sortDirection": UiPreferenceDefinition<z$1.ZodEnum<{
200
200
  default: "default";
@@ -4586,9 +4586,9 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
4586
4586
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4587
4587
  threadId: z$1.ZodString;
4588
4588
  status: z$1.ZodEnum<{
4589
+ failed: "failed";
4589
4590
  completed: "completed";
4590
4591
  interrupted: "interrupted";
4591
- failed: "failed";
4592
4592
  }>;
4593
4593
  interruption: z$1.ZodOptional<z$1.ZodObject<{
4594
4594
  reason: z$1.ZodEnum<{
@@ -4606,9 +4606,9 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
4606
4606
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4607
4607
  threadId: z$1.ZodString;
4608
4608
  status: z$1.ZodEnum<{
4609
+ failed: "failed";
4609
4610
  completed: "completed";
4610
4611
  interrupted: "interrupted";
4611
- failed: "failed";
4612
4612
  }>;
4613
4613
  interruption: z$1.ZodOptional<z$1.ZodObject<{
4614
4614
  reason: z$1.ZodEnum<{
@@ -4685,9 +4685,9 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
4685
4685
  skill: "skill";
4686
4686
  }>;
4687
4687
  origin: z$1.ZodEnum<{
4688
- user: "user";
4689
4688
  project: "project";
4690
4689
  builtin: "builtin";
4690
+ user: "user";
4691
4691
  }>;
4692
4692
  label: z$1.ZodString;
4693
4693
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -4779,6 +4779,7 @@ declare const timelineSystemRowSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
4779
4779
  contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
4780
4780
  systemKind: z$1.ZodLiteral<"operation">;
4781
4781
  operationKind: z$1.ZodEnum<{
4782
+ warning: "warning";
4782
4783
  generic: "generic";
4783
4784
  reasoning: "reasoning";
4784
4785
  compaction: "compaction";
@@ -4786,7 +4787,6 @@ declare const timelineSystemRowSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
4786
4787
  "thread-provisioning": "thread-provisioning";
4787
4788
  "thread-interrupted": "thread-interrupted";
4788
4789
  "provider-unhandled": "provider-unhandled";
4789
- warning: "warning";
4790
4790
  deprecation: "deprecation";
4791
4791
  }>;
4792
4792
  reasoningId: z$1.ZodOptional<z$1.ZodString>;
@@ -4812,9 +4812,9 @@ declare const timelineSystemRowSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
4812
4812
  }>;
4813
4813
  parentChange: z$1.ZodObject<{
4814
4814
  action: z$1.ZodEnum<{
4815
- assign: "assign";
4816
4815
  release: "release";
4817
4816
  transfer: "transfer";
4817
+ assign: "assign";
4818
4818
  }>;
4819
4819
  previousParentThreadId: z$1.ZodNullable<z$1.ZodString>;
4820
4820
  previousParentThreadTitle: z$1.ZodNullable<z$1.ZodString>;
@@ -5368,8 +5368,8 @@ declare const timelinePlanStepsWorkRowSchema: z$1.ZodObject<{
5368
5368
  status: z$1.ZodOptional<z$1.ZodEnum<{
5369
5369
  pending: "pending";
5370
5370
  active: "active";
5371
- completed: "completed";
5372
5371
  failed: "failed";
5372
+ completed: "completed";
5373
5373
  }>>;
5374
5374
  }, z$1.core.$strip>>;
5375
5375
  explanation: z$1.ZodNullable<z$1.ZodString>;
@@ -5446,8 +5446,8 @@ declare const timelineApprovalWorkRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
5446
5446
  }, z$1.core.$strip>;
5447
5447
  approvalKind: z$1.ZodLiteral<"file-edit">;
5448
5448
  lifecycle: z$1.ZodEnum<{
5449
- denied: "denied";
5450
5449
  waiting: "waiting";
5450
+ denied: "denied";
5451
5451
  }>;
5452
5452
  }, z$1.core.$strip>, z$1.ZodObject<{
5453
5453
  id: z$1.ZodString;
@@ -5473,9 +5473,9 @@ declare const timelineApprovalWorkRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
5473
5473
  approvalKind: z$1.ZodLiteral<"permission-grant">;
5474
5474
  lifecycle: z$1.ZodEnum<{
5475
5475
  pending: "pending";
5476
+ resolving: "resolving";
5476
5477
  interrupted: "interrupted";
5477
5478
  denied: "denied";
5478
- resolving: "resolving";
5479
5479
  granted: "granted";
5480
5480
  }>;
5481
5481
  grantScope: z$1.ZodNullable<z$1.ZodEnum<{
@@ -5507,8 +5507,8 @@ declare const timelineFormWorkRowSchema: z$1.ZodObject<{
5507
5507
  title: z$1.ZodString;
5508
5508
  lifecycle: z$1.ZodEnum<{
5509
5509
  pending: "pending";
5510
- submitted: "submitted";
5511
5510
  cancelled: "cancelled";
5511
+ submitted: "submitted";
5512
5512
  }>;
5513
5513
  statusReason: z$1.ZodNullable<z$1.ZodString>;
5514
5514
  presentation: z$1.ZodObject<{
@@ -5558,8 +5558,8 @@ declare const timelineQuestionWorkRowSchema: z$1.ZodObject<{
5558
5558
  interactionId: z$1.ZodString;
5559
5559
  lifecycle: z$1.ZodEnum<{
5560
5560
  pending: "pending";
5561
- interrupted: "interrupted";
5562
5561
  resolving: "resolving";
5562
+ interrupted: "interrupted";
5563
5563
  answered: "answered";
5564
5564
  }>;
5565
5565
  questions: z$1.ZodArray<z$1.ZodObject<{
@@ -5642,8 +5642,8 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
5642
5642
  model: z$1.ZodNullable<z$1.ZodString>;
5643
5643
  taskStatus: z$1.ZodEnum<{
5644
5644
  pending: "pending";
5645
- completed: "completed";
5646
5645
  failed: "failed";
5646
+ completed: "completed";
5647
5647
  running: "running";
5648
5648
  paused: "paused";
5649
5649
  killed: "killed";
@@ -5660,10 +5660,10 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
5660
5660
  label: z$1.ZodString;
5661
5661
  state: z$1.ZodEnum<{
5662
5662
  failed: "failed";
5663
+ skipped: "skipped";
5663
5664
  running: "running";
5664
- queued: "queued";
5665
5665
  done: "done";
5666
- skipped: "skipped";
5666
+ queued: "queued";
5667
5667
  }>;
5668
5668
  model: z$1.ZodString;
5669
5669
  attempt: z$1.ZodNumber;
@@ -9019,48 +9019,6 @@ type DesktopBrowserCommandType = DesktopBrowserCommand["type"];
9019
9019
  type DesktopBrowserResult<T extends DesktopBrowserCommandType = DesktopBrowserCommandType> = z$1.infer<(typeof desktopBrowserResultSchemas)[T]>;
9020
9020
  type DesktopBrowserInstance = z$1.infer<typeof desktopBrowserInstanceSchema>;
9021
9021
 
9022
- type PathId = {
9023
- param: {
9024
- id: string;
9025
- };
9026
- };
9027
- type PathProjectId = {
9028
- param: {
9029
- id: string;
9030
- };
9031
- };
9032
- type PathThreadAndQueuedMessage = {
9033
- param: {
9034
- id: string;
9035
- queuedMessageId: string;
9036
- };
9037
- };
9038
- type PathIdAndFilePath = {
9039
- param: {
9040
- id: string;
9041
- filePath: string;
9042
- };
9043
- };
9044
- type PathIdRefAndFilePath = {
9045
- param: {
9046
- id: string;
9047
- ref: string;
9048
- filePath: string;
9049
- };
9050
- };
9051
- type PathIdHostAndFilePath = {
9052
- param: {
9053
- id: string;
9054
- hostId: string;
9055
- filePath: string;
9056
- };
9057
- };
9058
- type PathTerminal = {
9059
- param: {
9060
- terminalId: string;
9061
- };
9062
- };
9063
-
9064
9022
  declare const threadContextResponseSchema: z$1.ZodObject<{
9065
9023
  usage: z$1.ZodNullable<z$1.ZodObject<{
9066
9024
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -9384,9 +9342,9 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
9384
9342
  skill: "skill";
9385
9343
  }>;
9386
9344
  origin: z$1.ZodEnum<{
9387
- user: "user";
9388
9345
  project: "project";
9389
9346
  builtin: "builtin";
9347
+ user: "user";
9390
9348
  }>;
9391
9349
  label: z$1.ZodString;
9392
9350
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -9453,9 +9411,9 @@ declare const commandListResponseSchema: z$1.ZodObject<{
9453
9411
  skill: "skill";
9454
9412
  }>;
9455
9413
  origin: z$1.ZodEnum<{
9456
- user: "user";
9457
9414
  project: "project";
9458
9415
  builtin: "builtin";
9416
+ user: "user";
9459
9417
  }>;
9460
9418
  description: z$1.ZodNullable<z$1.ZodString>;
9461
9419
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -9562,11 +9520,11 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
9562
9520
  sectionId: z$1.ZodNullable<z$1.ZodString>;
9563
9521
  status: z$1.ZodEnum<{
9564
9522
  error: "error";
9565
- stopping: "stopping";
9566
9523
  pending: "pending";
9567
9524
  idle: "idle";
9568
9525
  starting: "starting";
9569
9526
  active: "active";
9527
+ stopping: "stopping";
9570
9528
  }>;
9571
9529
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
9572
9530
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -9599,12 +9557,12 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
9599
9557
  runtime: z$1.ZodObject<{
9600
9558
  displayStatus: z$1.ZodEnum<{
9601
9559
  error: "error";
9602
- provisioning: "provisioning";
9603
- stopping: "stopping";
9604
9560
  pending: "pending";
9605
9561
  idle: "idle";
9606
9562
  starting: "starting";
9607
9563
  active: "active";
9564
+ stopping: "stopping";
9565
+ provisioning: "provisioning";
9608
9566
  "waiting-for-host": "waiting-for-host";
9609
9567
  }>;
9610
9568
  }, z$1.core.$strip>;
@@ -9616,9 +9574,9 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
9616
9574
  activeGoalCount: z$1.ZodNumber;
9617
9575
  }, z$1.core.$strip>;
9618
9576
  queuedWork: z$1.ZodEnum<{
9619
- failed: "failed";
9620
- waiting: "waiting";
9621
9577
  none: "none";
9578
+ waiting: "waiting";
9579
+ failed: "failed";
9622
9580
  }>;
9623
9581
  pinSortKey: z$1.ZodNullable<z$1.ZodString>;
9624
9582
  hasPendingInteraction: z$1.ZodBoolean;
@@ -9688,11 +9646,11 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
9688
9646
  sectionId: z$1.ZodNullable<z$1.ZodString>;
9689
9647
  status: z$1.ZodEnum<{
9690
9648
  error: "error";
9691
- stopping: "stopping";
9692
9649
  pending: "pending";
9693
9650
  idle: "idle";
9694
9651
  starting: "starting";
9695
9652
  active: "active";
9653
+ stopping: "stopping";
9696
9654
  }>;
9697
9655
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
9698
9656
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -9725,12 +9683,12 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
9725
9683
  runtime: z$1.ZodObject<{
9726
9684
  displayStatus: z$1.ZodEnum<{
9727
9685
  error: "error";
9728
- provisioning: "provisioning";
9729
- stopping: "stopping";
9730
9686
  pending: "pending";
9731
9687
  idle: "idle";
9732
9688
  starting: "starting";
9733
9689
  active: "active";
9690
+ stopping: "stopping";
9691
+ provisioning: "provisioning";
9734
9692
  "waiting-for-host": "waiting-for-host";
9735
9693
  }>;
9736
9694
  }, z$1.core.$strip>;
@@ -9742,9 +9700,9 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
9742
9700
  activeGoalCount: z$1.ZodNumber;
9743
9701
  }, z$1.core.$strip>;
9744
9702
  queuedWork: z$1.ZodEnum<{
9745
- failed: "failed";
9746
- waiting: "waiting";
9747
9703
  none: "none";
9704
+ waiting: "waiting";
9705
+ failed: "failed";
9748
9706
  }>;
9749
9707
  pinSortKey: z$1.ZodNullable<z$1.ZodString>;
9750
9708
  hasPendingInteraction: z$1.ZodBoolean;
@@ -9806,11 +9764,11 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
9806
9764
  sectionId: z$1.ZodNullable<z$1.ZodString>;
9807
9765
  status: z$1.ZodEnum<{
9808
9766
  error: "error";
9809
- stopping: "stopping";
9810
9767
  pending: "pending";
9811
9768
  idle: "idle";
9812
9769
  starting: "starting";
9813
9770
  active: "active";
9771
+ stopping: "stopping";
9814
9772
  }>;
9815
9773
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
9816
9774
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -9843,12 +9801,12 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
9843
9801
  runtime: z$1.ZodObject<{
9844
9802
  displayStatus: z$1.ZodEnum<{
9845
9803
  error: "error";
9846
- provisioning: "provisioning";
9847
- stopping: "stopping";
9848
9804
  pending: "pending";
9849
9805
  idle: "idle";
9850
9806
  starting: "starting";
9851
9807
  active: "active";
9808
+ stopping: "stopping";
9809
+ provisioning: "provisioning";
9852
9810
  "waiting-for-host": "waiting-for-host";
9853
9811
  }>;
9854
9812
  }, z$1.core.$strip>;
@@ -9860,9 +9818,9 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
9860
9818
  activeGoalCount: z$1.ZodNumber;
9861
9819
  }, z$1.core.$strip>;
9862
9820
  queuedWork: z$1.ZodEnum<{
9863
- failed: "failed";
9864
- waiting: "waiting";
9865
9821
  none: "none";
9822
+ waiting: "waiting";
9823
+ failed: "failed";
9866
9824
  }>;
9867
9825
  pinSortKey: z$1.ZodNullable<z$1.ZodString>;
9868
9826
  hasPendingInteraction: z$1.ZodBoolean;
@@ -9965,9 +9923,9 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
9965
9923
  skill: "skill";
9966
9924
  }>;
9967
9925
  origin: z$1.ZodEnum<{
9968
- user: "user";
9969
9926
  project: "project";
9970
9927
  builtin: "builtin";
9928
+ user: "user";
9971
9929
  }>;
9972
9930
  label: z$1.ZodString;
9973
9931
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -10772,10 +10730,10 @@ declare const installedPluginSchema: z$1.ZodObject<{
10772
10730
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
10773
10731
  status: z$1.ZodEnum<{
10774
10732
  error: "error";
10775
- starting: "starting";
10776
- running: "running";
10777
10733
  disabled: "disabled";
10734
+ starting: "starting";
10778
10735
  missing: "missing";
10736
+ running: "running";
10779
10737
  incompatible: "incompatible";
10780
10738
  degraded: "degraded";
10781
10739
  "needs-configuration": "needs-configuration";
@@ -10802,8 +10760,8 @@ declare const installedPluginSchema: z$1.ZodObject<{
10802
10760
  lastRunAt: z$1.ZodNullable<z$1.ZodNumber>;
10803
10761
  lastStatus: z$1.ZodNullable<z$1.ZodEnum<{
10804
10762
  error: "error";
10805
- running: "running";
10806
10763
  ok: "ok";
10764
+ running: "running";
10807
10765
  }>>;
10808
10766
  lastError: z$1.ZodNullable<z$1.ZodString>;
10809
10767
  }, z$1.core.$strip>>;
@@ -10892,10 +10850,10 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
10892
10850
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
10893
10851
  status: z$1.ZodEnum<{
10894
10852
  error: "error";
10895
- starting: "starting";
10896
- running: "running";
10897
10853
  disabled: "disabled";
10854
+ starting: "starting";
10898
10855
  missing: "missing";
10856
+ running: "running";
10899
10857
  incompatible: "incompatible";
10900
10858
  degraded: "degraded";
10901
10859
  "needs-configuration": "needs-configuration";
@@ -10922,8 +10880,8 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
10922
10880
  lastRunAt: z$1.ZodNullable<z$1.ZodNumber>;
10923
10881
  lastStatus: z$1.ZodNullable<z$1.ZodEnum<{
10924
10882
  error: "error";
10925
- running: "running";
10926
10883
  ok: "ok";
10884
+ running: "running";
10927
10885
  }>>;
10928
10886
  lastError: z$1.ZodNullable<z$1.ZodString>;
10929
10887
  }, z$1.core.$strip>>;
@@ -11077,10 +11035,10 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
11077
11035
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
11078
11036
  status: z$1.ZodEnum<{
11079
11037
  error: "error";
11080
- starting: "starting";
11081
- running: "running";
11082
11038
  disabled: "disabled";
11039
+ starting: "starting";
11083
11040
  missing: "missing";
11041
+ running: "running";
11084
11042
  incompatible: "incompatible";
11085
11043
  degraded: "degraded";
11086
11044
  "needs-configuration": "needs-configuration";
@@ -11107,8 +11065,8 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
11107
11065
  lastRunAt: z$1.ZodNullable<z$1.ZodNumber>;
11108
11066
  lastStatus: z$1.ZodNullable<z$1.ZodEnum<{
11109
11067
  error: "error";
11110
- running: "running";
11111
11068
  ok: "ok";
11069
+ running: "running";
11112
11070
  }>>;
11113
11071
  lastError: z$1.ZodNullable<z$1.ZodString>;
11114
11072
  }, z$1.core.$strip>>;
@@ -11261,10 +11219,10 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
11261
11219
  iconUrl: z$1.ZodNullable<z$1.ZodString>;
11262
11220
  status: z$1.ZodEnum<{
11263
11221
  error: "error";
11264
- starting: "starting";
11265
- running: "running";
11266
11222
  disabled: "disabled";
11223
+ starting: "starting";
11267
11224
  missing: "missing";
11225
+ running: "running";
11268
11226
  incompatible: "incompatible";
11269
11227
  degraded: "degraded";
11270
11228
  "needs-configuration": "needs-configuration";
@@ -11291,8 +11249,8 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
11291
11249
  lastRunAt: z$1.ZodNullable<z$1.ZodNumber>;
11292
11250
  lastStatus: z$1.ZodNullable<z$1.ZodEnum<{
11293
11251
  error: "error";
11294
- running: "running";
11295
11252
  ok: "ok";
11253
+ running: "running";
11296
11254
  }>>;
11297
11255
  lastError: z$1.ZodNullable<z$1.ZodString>;
11298
11256
  }, z$1.core.$strip>>;
@@ -12020,9 +11978,9 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
12020
11978
  replay: "replay";
12021
11979
  }>;
12022
11980
  outcome: z$1.ZodEnum<{
12023
- ready: "ready";
12024
11981
  failed: "failed";
12025
11982
  cancelled: "cancelled";
11983
+ ready: "ready";
12026
11984
  started: "started";
12027
11985
  exited: "exited";
12028
11986
  }>;
@@ -12031,9 +11989,9 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
12031
11989
  name: z$1.ZodLiteral<"new_thread_submit">;
12032
11990
  properties: z$1.ZodObject<{
12033
11991
  outcome: z$1.ZodEnum<{
12034
- accepted: "accepted";
12035
11992
  failed: "failed";
12036
11993
  started: "started";
11994
+ accepted: "accepted";
12037
11995
  }>;
12038
11996
  }, z$1.core.$strict>;
12039
11997
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -12046,8 +12004,8 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
12046
12004
  name: z$1.ZodLiteral<"onboarding_step_reached">;
12047
12005
  properties: z$1.ZodObject<{
12048
12006
  step: z$1.ZodEnum<{
12049
- agent: "agent";
12050
12007
  projects: "projects";
12008
+ agent: "agent";
12051
12009
  plugins: "plugins";
12052
12010
  integrations: "integrations";
12053
12011
  plugin_step: "plugin_step";
@@ -12062,8 +12020,8 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
12062
12020
  name: z$1.ZodLiteral<"onboarding_step_completed">;
12063
12021
  properties: z$1.ZodObject<{
12064
12022
  step: z$1.ZodEnum<{
12065
- agent: "agent";
12066
12023
  projects: "projects";
12024
+ agent: "agent";
12067
12025
  plugins: "plugins";
12068
12026
  integrations: "integrations";
12069
12027
  plugin_step: "plugin_step";
@@ -12078,8 +12036,8 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
12078
12036
  name: z$1.ZodLiteral<"onboarding_step_skipped">;
12079
12037
  properties: z$1.ZodObject<{
12080
12038
  step: z$1.ZodEnum<{
12081
- agent: "agent";
12082
12039
  projects: "projects";
12040
+ agent: "agent";
12083
12041
  plugins: "plugins";
12084
12042
  integrations: "integrations";
12085
12043
  plugin_step: "plugin_step";
@@ -12094,16 +12052,16 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
12094
12052
  name: z$1.ZodLiteral<"onboarding_finished">;
12095
12053
  properties: z$1.ZodObject<{
12096
12054
  outcome: z$1.ZodEnum<{
12097
- completed: "completed";
12098
12055
  skipped: "skipped";
12056
+ completed: "completed";
12099
12057
  }>;
12100
12058
  entry: z$1.ZodEnum<{
12101
12059
  first_run: "first_run";
12102
12060
  replay: "replay";
12103
12061
  }>;
12104
12062
  last_step: z$1.ZodEnum<{
12105
- agent: "agent";
12106
12063
  projects: "projects";
12064
+ agent: "agent";
12107
12065
  plugins: "plugins";
12108
12066
  integrations: "integrations";
12109
12067
  plugin_step: "plugin_step";
@@ -12128,8 +12086,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
12128
12086
  deadlineAt: z$1.ZodNullable<z$1.ZodString>;
12129
12087
  blocker: z$1.ZodNullable<z$1.ZodString>;
12130
12088
  state: z$1.ZodEnum<{
12131
- failed: "failed";
12132
12089
  waiting: "waiting";
12090
+ failed: "failed";
12133
12091
  cancelled: "cancelled";
12134
12092
  preparing: "preparing";
12135
12093
  holding: "holding";
@@ -12140,7 +12098,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
12140
12098
  result: z$1.ZodNullable<z$1.ZodObject<{
12141
12099
  message: z$1.ZodNullable<z$1.ZodString>;
12142
12100
  id: z$1.ZodString;
12143
- retryable: z$1.ZodOptional<z$1.ZodBoolean>;
12144
12101
  outcome: z$1.ZodEnum<{
12145
12102
  failed: "failed";
12146
12103
  updated: "updated";
@@ -12151,6 +12108,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
12151
12108
  startup: "startup";
12152
12109
  }>>;
12153
12110
  finishedAt: z$1.ZodString;
12111
+ retryable: z$1.ZodOptional<z$1.ZodBoolean>;
12154
12112
  from: z$1.ZodObject<{
12155
12113
  commit: z$1.ZodNullable<z$1.ZodString>;
12156
12114
  version: z$1.ZodString;
@@ -12169,7 +12127,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
12169
12127
  appUpdateReceipt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodLazy<z$1.ZodObject<{
12170
12128
  message: z$1.ZodNullable<z$1.ZodString>;
12171
12129
  id: z$1.ZodString;
12172
- retryable: z$1.ZodOptional<z$1.ZodBoolean>;
12173
12130
  outcome: z$1.ZodEnum<{
12174
12131
  failed: "failed";
12175
12132
  updated: "updated";
@@ -12180,6 +12137,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
12180
12137
  startup: "startup";
12181
12138
  }>>;
12182
12139
  finishedAt: z$1.ZodString;
12140
+ retryable: z$1.ZodOptional<z$1.ZodBoolean>;
12183
12141
  from: z$1.ZodObject<{
12184
12142
  commit: z$1.ZodNullable<z$1.ZodString>;
12185
12143
  version: z$1.ZodString;
@@ -13251,9 +13209,9 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
13251
13209
  skill: "skill";
13252
13210
  }>;
13253
13211
  origin: z$1.ZodEnum<{
13254
- user: "user";
13255
13212
  project: "project";
13256
13213
  builtin: "builtin";
13214
+ user: "user";
13257
13215
  }>;
13258
13216
  label: z$1.ZodString;
13259
13217
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -13446,9 +13404,9 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
13446
13404
  skill: "skill";
13447
13405
  }>;
13448
13406
  origin: z$1.ZodEnum<{
13449
- user: "user";
13450
13407
  project: "project";
13451
13408
  builtin: "builtin";
13409
+ user: "user";
13452
13410
  }>;
13453
13411
  label: z$1.ZodString;
13454
13412
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -13536,9 +13494,9 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
13536
13494
  skill: "skill";
13537
13495
  }>;
13538
13496
  origin: z$1.ZodEnum<{
13539
- user: "user";
13540
13497
  project: "project";
13541
13498
  builtin: "builtin";
13499
+ user: "user";
13542
13500
  }>;
13543
13501
  label: z$1.ZodString;
13544
13502
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -13692,9 +13650,9 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
13692
13650
  skill: "skill";
13693
13651
  }>;
13694
13652
  origin: z$1.ZodEnum<{
13695
- user: "user";
13696
13653
  project: "project";
13697
13654
  builtin: "builtin";
13655
+ user: "user";
13698
13656
  }>;
13699
13657
  label: z$1.ZodString;
13700
13658
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -13763,9 +13721,9 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
13763
13721
  }>>;
13764
13722
  }, z$1.core.$strict>>;
13765
13723
  mode: z$1.ZodEnum<{
13766
- steer: "steer";
13767
13724
  start: "start";
13768
13725
  auto: "auto";
13726
+ steer: "steer";
13769
13727
  "queue-if-active": "queue-if-active";
13770
13728
  "steer-if-active": "steer-if-active";
13771
13729
  }>;
@@ -13852,9 +13810,9 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
13852
13810
  skill: "skill";
13853
13811
  }>;
13854
13812
  origin: z$1.ZodEnum<{
13855
- user: "user";
13856
13813
  project: "project";
13857
13814
  builtin: "builtin";
13815
+ user: "user";
13858
13816
  }>;
13859
13817
  label: z$1.ZodString;
13860
13818
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -13997,9 +13955,9 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
13997
13955
  skill: "skill";
13998
13956
  }>;
13999
13957
  origin: z$1.ZodEnum<{
14000
- user: "user";
14001
13958
  project: "project";
14002
13959
  builtin: "builtin";
13960
+ user: "user";
14003
13961
  }>;
14004
13962
  label: z$1.ZodString;
14005
13963
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -14041,8 +13999,6 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
14041
13999
  sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
14042
14000
  mimeType: z$1.ZodOptional<z$1.ZodString>;
14043
14001
  }, z$1.core.$strip>], "type">>;
14044
- senderThreadId: z$1.ZodOptional<z$1.ZodString>;
14045
- model: z$1.ZodOptional<z$1.ZodString>;
14046
14002
  originPluginId: z$1.ZodOptional<z$1.ZodString>;
14047
14003
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
14048
14004
  reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
@@ -14051,6 +14007,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
14051
14007
  "accept-edits": "accept-edits";
14052
14008
  full: "full";
14053
14009
  }>, z$1.ZodLiteral<"workspace-write">]>, z$1.ZodTransform<"auto" | "accept-edits" | "full", "auto" | "accept-edits" | "full" | "workspace-write">>>;
14010
+ model: z$1.ZodOptional<z$1.ZodString>;
14054
14011
  executionInputSources: z$1.ZodOptional<z$1.ZodObject<{
14055
14012
  model: z$1.ZodOptional<z$1.ZodEnum<{
14056
14013
  explicit: "explicit";
@@ -14069,6 +14026,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
14069
14026
  "client-preference": "client-preference";
14070
14027
  }>>;
14071
14028
  }, z$1.core.$strict>>;
14029
+ senderThreadId: z$1.ZodOptional<z$1.ZodString>;
14072
14030
  operationId: z$1.ZodString;
14073
14031
  expectedRequestSequence: z$1.ZodOptional<z$1.ZodNumber>;
14074
14032
  }, z$1.core.$strict>;
@@ -14168,9 +14126,9 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
14168
14126
  skill: "skill";
14169
14127
  }>;
14170
14128
  origin: z$1.ZodEnum<{
14171
- user: "user";
14172
14129
  project: "project";
14173
14130
  builtin: "builtin";
14131
+ user: "user";
14174
14132
  }>;
14175
14133
  label: z$1.ZodString;
14176
14134
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -14289,9 +14247,9 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
14289
14247
  skill: "skill";
14290
14248
  }>;
14291
14249
  origin: z$1.ZodEnum<{
14292
- user: "user";
14293
14250
  project: "project";
14294
14251
  builtin: "builtin";
14252
+ user: "user";
14295
14253
  }>;
14296
14254
  label: z$1.ZodString;
14297
14255
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -14341,8 +14299,8 @@ declare const queuedMessageEditHoldResponseSchema: z$1.ZodObject<{
14341
14299
  type QueuedMessageEditHoldResponse = z$1.infer<typeof queuedMessageEditHoldResponseSchema>;
14342
14300
  declare const sendQueuedMessageRequestSchema: z$1.ZodObject<{
14343
14301
  mode: z$1.ZodEnum<{
14344
- steer: "steer";
14345
14302
  auto: "auto";
14303
+ steer: "steer";
14346
14304
  }>;
14347
14305
  }, z$1.core.$strip>;
14348
14306
  type SendQueuedMessageRequest = z$1.infer<typeof sendQueuedMessageRequestSchema>;
@@ -14425,9 +14383,9 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
14425
14383
  skill: "skill";
14426
14384
  }>;
14427
14385
  origin: z$1.ZodEnum<{
14428
- user: "user";
14429
14386
  project: "project";
14430
14387
  builtin: "builtin";
14388
+ user: "user";
14431
14389
  }>;
14432
14390
  label: z$1.ZodString;
14433
14391
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -14533,11 +14491,11 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14533
14491
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14534
14492
  status: z$1.ZodEnum<{
14535
14493
  error: "error";
14536
- stopping: "stopping";
14537
14494
  pending: "pending";
14538
14495
  idle: "idle";
14539
14496
  starting: "starting";
14540
14497
  active: "active";
14498
+ stopping: "stopping";
14541
14499
  }>;
14542
14500
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14543
14501
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14570,12 +14528,12 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14570
14528
  runtime: z$1.ZodObject<{
14571
14529
  displayStatus: z$1.ZodEnum<{
14572
14530
  error: "error";
14573
- provisioning: "provisioning";
14574
- stopping: "stopping";
14575
14531
  pending: "pending";
14576
14532
  idle: "idle";
14577
14533
  starting: "starting";
14578
14534
  active: "active";
14535
+ stopping: "stopping";
14536
+ provisioning: "provisioning";
14579
14537
  "waiting-for-host": "waiting-for-host";
14580
14538
  }>;
14581
14539
  }, z$1.core.$strip>;
@@ -14587,9 +14545,9 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14587
14545
  activeGoalCount: z$1.ZodNumber;
14588
14546
  }, z$1.core.$strip>;
14589
14547
  queuedWork: z$1.ZodEnum<{
14590
- failed: "failed";
14591
- waiting: "waiting";
14592
14548
  none: "none";
14549
+ waiting: "waiting";
14550
+ failed: "failed";
14593
14551
  }>;
14594
14552
  pinSortKey: z$1.ZodNullable<z$1.ZodString>;
14595
14553
  hasPendingInteraction: z$1.ZodBoolean;
@@ -14630,11 +14588,11 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14630
14588
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14631
14589
  status: z$1.ZodEnum<{
14632
14590
  error: "error";
14633
- stopping: "stopping";
14634
14591
  pending: "pending";
14635
14592
  idle: "idle";
14636
14593
  starting: "starting";
14637
14594
  active: "active";
14595
+ stopping: "stopping";
14638
14596
  }>;
14639
14597
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14640
14598
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14667,12 +14625,12 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14667
14625
  runtime: z$1.ZodObject<{
14668
14626
  displayStatus: z$1.ZodEnum<{
14669
14627
  error: "error";
14670
- provisioning: "provisioning";
14671
- stopping: "stopping";
14672
14628
  pending: "pending";
14673
14629
  idle: "idle";
14674
14630
  starting: "starting";
14675
14631
  active: "active";
14632
+ stopping: "stopping";
14633
+ provisioning: "provisioning";
14676
14634
  "waiting-for-host": "waiting-for-host";
14677
14635
  }>;
14678
14636
  }, z$1.core.$strip>;
@@ -14684,9 +14642,9 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14684
14642
  activeGoalCount: z$1.ZodNumber;
14685
14643
  }, z$1.core.$strip>;
14686
14644
  queuedWork: z$1.ZodEnum<{
14687
- failed: "failed";
14688
- waiting: "waiting";
14689
14645
  none: "none";
14646
+ waiting: "waiting";
14647
+ failed: "failed";
14690
14648
  }>;
14691
14649
  pinSortKey: z$1.ZodNullable<z$1.ZodString>;
14692
14650
  hasPendingInteraction: z$1.ZodBoolean;
@@ -14732,11 +14690,11 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14732
14690
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14733
14691
  status: z$1.ZodEnum<{
14734
14692
  error: "error";
14735
- stopping: "stopping";
14736
14693
  pending: "pending";
14737
14694
  idle: "idle";
14738
14695
  starting: "starting";
14739
14696
  active: "active";
14697
+ stopping: "stopping";
14740
14698
  }>;
14741
14699
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14742
14700
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14769,12 +14727,12 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14769
14727
  runtime: z$1.ZodObject<{
14770
14728
  displayStatus: z$1.ZodEnum<{
14771
14729
  error: "error";
14772
- provisioning: "provisioning";
14773
- stopping: "stopping";
14774
14730
  pending: "pending";
14775
14731
  idle: "idle";
14776
14732
  starting: "starting";
14777
14733
  active: "active";
14734
+ stopping: "stopping";
14735
+ provisioning: "provisioning";
14778
14736
  "waiting-for-host": "waiting-for-host";
14779
14737
  }>;
14780
14738
  }, z$1.core.$strip>;
@@ -14786,9 +14744,9 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14786
14744
  activeGoalCount: z$1.ZodNumber;
14787
14745
  }, z$1.core.$strip>;
14788
14746
  queuedWork: z$1.ZodEnum<{
14789
- failed: "failed";
14790
- waiting: "waiting";
14791
14747
  none: "none";
14748
+ waiting: "waiting";
14749
+ failed: "failed";
14792
14750
  }>;
14793
14751
  pinSortKey: z$1.ZodNullable<z$1.ZodString>;
14794
14752
  hasPendingInteraction: z$1.ZodBoolean;
@@ -14833,11 +14791,11 @@ declare const threadResponseSchema: z$1.ZodObject<{
14833
14791
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14834
14792
  status: z$1.ZodEnum<{
14835
14793
  error: "error";
14836
- stopping: "stopping";
14837
14794
  pending: "pending";
14838
14795
  idle: "idle";
14839
14796
  starting: "starting";
14840
14797
  active: "active";
14798
+ stopping: "stopping";
14841
14799
  }>;
14842
14800
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14843
14801
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14870,12 +14828,12 @@ declare const threadResponseSchema: z$1.ZodObject<{
14870
14828
  runtime: z$1.ZodObject<{
14871
14829
  displayStatus: z$1.ZodEnum<{
14872
14830
  error: "error";
14873
- provisioning: "provisioning";
14874
- stopping: "stopping";
14875
14831
  pending: "pending";
14876
14832
  idle: "idle";
14877
14833
  starting: "starting";
14878
14834
  active: "active";
14835
+ stopping: "stopping";
14836
+ provisioning: "provisioning";
14879
14837
  "waiting-for-host": "waiting-for-host";
14880
14838
  }>;
14881
14839
  }, z$1.core.$strip>;
@@ -14922,11 +14880,11 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14922
14880
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14923
14881
  status: z$1.ZodEnum<{
14924
14882
  error: "error";
14925
- stopping: "stopping";
14926
14883
  pending: "pending";
14927
14884
  idle: "idle";
14928
14885
  starting: "starting";
14929
14886
  active: "active";
14887
+ stopping: "stopping";
14930
14888
  }>;
14931
14889
  parentThreadId: z$1.ZodNullable<z$1.ZodString>;
14932
14890
  lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -14959,12 +14917,12 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14959
14917
  runtime: z$1.ZodObject<{
14960
14918
  displayStatus: z$1.ZodEnum<{
14961
14919
  error: "error";
14962
- provisioning: "provisioning";
14963
- stopping: "stopping";
14964
14920
  pending: "pending";
14965
14921
  idle: "idle";
14966
14922
  starting: "starting";
14967
14923
  active: "active";
14924
+ stopping: "stopping";
14925
+ provisioning: "provisioning";
14968
14926
  "waiting-for-host": "waiting-for-host";
14969
14927
  }>;
14970
14928
  }, z$1.core.$strip>;
@@ -14987,25 +14945,25 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14987
14945
  mergeBaseBranch: z$1.ZodNullable<z$1.ZodString>;
14988
14946
  status: z$1.ZodEnum<{
14989
14947
  error: "error";
14990
- creating: "creating";
14991
14948
  provisioning: "provisioning";
14992
14949
  ready: "ready";
14950
+ creating: "creating";
14993
14951
  destroyed: "destroyed";
14994
14952
  }>;
14995
14953
  environmentProviderId: z$1.ZodNullable<z$1.ZodString>;
14996
14954
  lifecycle: z$1.ZodObject<{
14997
14955
  phase: z$1.ZodEnum<{
14998
- destroyed: "destroyed";
14999
14956
  active: "active";
15000
14957
  teardown: "teardown";
14958
+ destroyed: "destroyed";
15001
14959
  retiring: "retiring";
15002
14960
  }>;
15003
14961
  retireAt: z$1.ZodNullable<z$1.ZodNumber>;
15004
14962
  teardown: z$1.ZodNullable<z$1.ZodObject<{
15005
14963
  status: z$1.ZodEnum<{
15006
14964
  failed: "failed";
15007
- removed: "removed";
15008
14965
  running: "running";
14966
+ removed: "removed";
15009
14967
  }>;
15010
14968
  attempt: z$1.ZodNumber;
15011
14969
  message: z$1.ZodOptional<z$1.ZodString>;
@@ -15013,8 +14971,8 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
15013
14971
  }, z$1.core.$strip>;
15014
14972
  hostLifecycle: z$1.ZodEnum<{
15015
14973
  active: "active";
15016
- removed: "removed";
15017
14974
  removing: "removing";
14975
+ removed: "removed";
15018
14976
  "cleanup-failed": "cleanup-failed";
15019
14977
  }>;
15020
14978
  environmentProviderSelection: z$1.ZodNullable<z$1.ZodObject<{
@@ -15046,19 +15004,19 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
15046
15004
  ephemeral: "ephemeral";
15047
15005
  }>;
15048
15006
  status: z$1.ZodEnum<{
15049
- disconnected: "disconnected";
15050
15007
  connected: "connected";
15008
+ disconnected: "disconnected";
15051
15009
  }>;
15052
15010
  machineProviderId: z$1.ZodNullable<z$1.ZodString>;
15053
15011
  lifecycle: z$1.ZodObject<{
15054
15012
  phase: z$1.ZodEnum<{
15055
- creating: "creating";
15056
- destroyed: "destroyed";
15057
15013
  active: "active";
15058
- suspended: "suspended";
15014
+ creating: "creating";
15059
15015
  suspending: "suspending";
15016
+ suspended: "suspended";
15060
15017
  resuming: "resuming";
15061
15018
  removing: "removing";
15019
+ destroyed: "destroyed";
15062
15020
  }>;
15063
15021
  suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
15064
15022
  message: z$1.ZodNullable<z$1.ZodString>;
@@ -15066,8 +15024,8 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
15066
15024
  teardown: z$1.ZodNullable<z$1.ZodObject<{
15067
15025
  status: z$1.ZodEnum<{
15068
15026
  failed: "failed";
15069
- removed: "removed";
15070
15027
  running: "running";
15028
+ removed: "removed";
15071
15029
  }>;
15072
15030
  attempt: z$1.ZodNumber;
15073
15031
  }, z$1.core.$strip>>;
@@ -15100,9 +15058,9 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
15100
15058
  threadId: z$1.ZodString;
15101
15059
  status: z$1.ZodEnum<{
15102
15060
  pending: "pending";
15103
- interrupted: "interrupted";
15104
- resolving: "resolving";
15105
15061
  resolved: "resolved";
15062
+ resolving: "resolving";
15063
+ interrupted: "interrupted";
15106
15064
  }>;
15107
15065
  statusReason: z$1.ZodNullable<z$1.ZodString>;
15108
15066
  createdAt: z$1.ZodNumber;
@@ -15250,9 +15208,9 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
15250
15208
  threadId: z$1.ZodString;
15251
15209
  status: z$1.ZodEnum<{
15252
15210
  pending: "pending";
15253
- interrupted: "interrupted";
15254
- resolving: "resolving";
15255
15211
  resolved: "resolved";
15212
+ resolving: "resolving";
15213
+ interrupted: "interrupted";
15256
15214
  }>;
15257
15215
  statusReason: z$1.ZodNullable<z$1.ZodString>;
15258
15216
  createdAt: z$1.ZodNumber;
@@ -15295,9 +15253,9 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
15295
15253
  threadId: z$1.ZodString;
15296
15254
  status: z$1.ZodEnum<{
15297
15255
  pending: "pending";
15298
- interrupted: "interrupted";
15299
- resolving: "resolving";
15300
15256
  resolved: "resolved";
15257
+ resolving: "resolving";
15258
+ interrupted: "interrupted";
15301
15259
  }>;
15302
15260
  statusReason: z$1.ZodNullable<z$1.ZodString>;
15303
15261
  createdAt: z$1.ZodNumber;
@@ -15327,9 +15285,9 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
15327
15285
  threadId: z$1.ZodString;
15328
15286
  status: z$1.ZodEnum<{
15329
15287
  pending: "pending";
15330
- interrupted: "interrupted";
15331
- resolving: "resolving";
15332
15288
  resolved: "resolved";
15289
+ resolving: "resolving";
15290
+ interrupted: "interrupted";
15333
15291
  }>;
15334
15292
  statusReason: z$1.ZodNullable<z$1.ZodString>;
15335
15293
  createdAt: z$1.ZodNumber;
@@ -15443,9 +15401,9 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
15443
15401
  skill: "skill";
15444
15402
  }>;
15445
15403
  origin: z$1.ZodEnum<{
15446
- user: "user";
15447
15404
  project: "project";
15448
15405
  builtin: "builtin";
15406
+ user: "user";
15449
15407
  }>;
15450
15408
  label: z$1.ZodString;
15451
15409
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -15766,9 +15724,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15766
15724
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15767
15725
  threadId: z$1.ZodString;
15768
15726
  status: z$1.ZodEnum<{
15727
+ failed: "failed";
15769
15728
  completed: "completed";
15770
15729
  interrupted: "interrupted";
15771
- failed: "failed";
15772
15730
  }>;
15773
15731
  interruption: z$1.ZodOptional<z$1.ZodObject<{
15774
15732
  reason: z$1.ZodEnum<{
@@ -15786,9 +15744,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15786
15744
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15787
15745
  threadId: z$1.ZodString;
15788
15746
  status: z$1.ZodEnum<{
15747
+ failed: "failed";
15789
15748
  completed: "completed";
15790
15749
  interrupted: "interrupted";
15791
- failed: "failed";
15792
15750
  }>;
15793
15751
  interruption: z$1.ZodOptional<z$1.ZodObject<{
15794
15752
  reason: z$1.ZodEnum<{
@@ -15865,9 +15823,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15865
15823
  skill: "skill";
15866
15824
  }>;
15867
15825
  origin: z$1.ZodEnum<{
15868
- user: "user";
15869
15826
  project: "project";
15870
15827
  builtin: "builtin";
15828
+ user: "user";
15871
15829
  }>;
15872
15830
  label: z$1.ZodString;
15873
15831
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -15967,9 +15925,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15967
15925
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15968
15926
  threadId: z$1.ZodString;
15969
15927
  status: z$1.ZodEnum<{
15928
+ failed: "failed";
15970
15929
  completed: "completed";
15971
15930
  interrupted: "interrupted";
15972
- failed: "failed";
15973
15931
  }>;
15974
15932
  interruption: z$1.ZodOptional<z$1.ZodObject<{
15975
15933
  reason: z$1.ZodEnum<{
@@ -15987,9 +15945,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15987
15945
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15988
15946
  threadId: z$1.ZodString;
15989
15947
  status: z$1.ZodEnum<{
15948
+ failed: "failed";
15990
15949
  completed: "completed";
15991
15950
  interrupted: "interrupted";
15992
- failed: "failed";
15993
15951
  }>;
15994
15952
  interruption: z$1.ZodOptional<z$1.ZodObject<{
15995
15953
  reason: z$1.ZodEnum<{
@@ -16066,9 +16024,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
16066
16024
  skill: "skill";
16067
16025
  }>;
16068
16026
  origin: z$1.ZodEnum<{
16069
- user: "user";
16070
16027
  project: "project";
16071
16028
  builtin: "builtin";
16029
+ user: "user";
16072
16030
  }>;
16073
16031
  label: z$1.ZodString;
16074
16032
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -16168,9 +16126,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
16168
16126
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16169
16127
  threadId: z$1.ZodString;
16170
16128
  status: z$1.ZodEnum<{
16129
+ failed: "failed";
16171
16130
  completed: "completed";
16172
16131
  interrupted: "interrupted";
16173
- failed: "failed";
16174
16132
  }>;
16175
16133
  interruption: z$1.ZodOptional<z$1.ZodObject<{
16176
16134
  reason: z$1.ZodEnum<{
@@ -16188,9 +16146,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
16188
16146
  outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16189
16147
  threadId: z$1.ZodString;
16190
16148
  status: z$1.ZodEnum<{
16149
+ failed: "failed";
16191
16150
  completed: "completed";
16192
16151
  interrupted: "interrupted";
16193
- failed: "failed";
16194
16152
  }>;
16195
16153
  interruption: z$1.ZodOptional<z$1.ZodObject<{
16196
16154
  reason: z$1.ZodEnum<{
@@ -16267,9 +16225,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
16267
16225
  skill: "skill";
16268
16226
  }>;
16269
16227
  origin: z$1.ZodEnum<{
16270
- user: "user";
16271
16228
  project: "project";
16272
16229
  builtin: "builtin";
16230
+ user: "user";
16273
16231
  }>;
16274
16232
  label: z$1.ZodString;
16275
16233
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -16415,8 +16373,8 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16415
16373
  model: z$1.ZodNullable<z$1.ZodString>;
16416
16374
  taskStatus: z$1.ZodEnum<{
16417
16375
  pending: "pending";
16418
- completed: "completed";
16419
16376
  failed: "failed";
16377
+ completed: "completed";
16420
16378
  running: "running";
16421
16379
  paused: "paused";
16422
16380
  killed: "killed";
@@ -16433,10 +16391,10 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16433
16391
  label: z$1.ZodString;
16434
16392
  state: z$1.ZodEnum<{
16435
16393
  failed: "failed";
16394
+ skipped: "skipped";
16436
16395
  running: "running";
16437
- queued: "queued";
16438
16396
  done: "done";
16439
- skipped: "skipped";
16397
+ queued: "queued";
16440
16398
  }>;
16441
16399
  model: z$1.ZodString;
16442
16400
  attempt: z$1.ZodNumber;
@@ -16515,8 +16473,8 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16515
16473
  model: z$1.ZodNullable<z$1.ZodString>;
16516
16474
  taskStatus: z$1.ZodEnum<{
16517
16475
  pending: "pending";
16518
- completed: "completed";
16519
16476
  failed: "failed";
16477
+ completed: "completed";
16520
16478
  running: "running";
16521
16479
  paused: "paused";
16522
16480
  killed: "killed";
@@ -16533,10 +16491,10 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16533
16491
  label: z$1.ZodString;
16534
16492
  state: z$1.ZodEnum<{
16535
16493
  failed: "failed";
16494
+ skipped: "skipped";
16536
16495
  running: "running";
16537
- queued: "queued";
16538
16496
  done: "done";
16539
- skipped: "skipped";
16497
+ queued: "queued";
16540
16498
  }>;
16541
16499
  model: z$1.ZodString;
16542
16500
  attempt: z$1.ZodNumber;
@@ -16595,18 +16553,18 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16595
16553
  timeUsedSeconds: z$1.ZodNumber;
16596
16554
  }, z$1.core.$strip>>;
16597
16555
  providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
16556
+ origin: z$1.ZodEnum<{
16557
+ project: "project";
16558
+ builtin: "builtin";
16559
+ user: "user";
16560
+ }>;
16561
+ description: z$1.ZodNullable<z$1.ZodString>;
16598
16562
  source: z$1.ZodEnum<{
16599
16563
  command: "command";
16600
16564
  skill: "skill";
16601
16565
  }>;
16602
16566
  name: z$1.ZodString;
16603
- origin: z$1.ZodEnum<{
16604
- user: "user";
16605
- project: "project";
16606
- builtin: "builtin";
16607
- }>;
16608
16567
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
16609
- description: z$1.ZodNullable<z$1.ZodString>;
16610
16568
  }, z$1.core.$strip>>>;
16611
16569
  sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16612
16570
  type: z$1.ZodLiteral<"select">;
@@ -16843,10 +16801,10 @@ type ExperimentalDesktopBrowserImportOutcome = DesktopBrowserResult<"desktop.bro
16843
16801
 
16844
16802
  declare const serverMoveStepSchema: z$1.ZodObject<{
16845
16803
  id: z$1.ZodEnum<{
16846
- transfer: "transfer";
16847
16804
  "stop-work": "stop-work";
16848
16805
  "update-target": "update-target";
16849
16806
  export: "export";
16807
+ transfer: "transfer";
16850
16808
  "start-target": "start-target";
16851
16809
  "verify-address": "verify-address";
16852
16810
  switch: "switch";
@@ -16854,16 +16812,16 @@ declare const serverMoveStepSchema: z$1.ZodObject<{
16854
16812
  status: z$1.ZodEnum<{
16855
16813
  pending: "pending";
16856
16814
  failed: "failed";
16815
+ skipped: "skipped";
16857
16816
  running: "running";
16858
16817
  done: "done";
16859
- skipped: "skipped";
16860
16818
  }>;
16861
16819
  message: z$1.ZodNullable<z$1.ZodString>;
16862
16820
  }, z$1.core.$strict>;
16863
16821
  type ServerMoveStep = z$1.infer<typeof serverMoveStepSchema>;
16864
16822
  declare const serverMoveStateSchema: z$1.ZodEnum<{
16865
- completed: "completed";
16866
16823
  failed: "failed";
16824
+ completed: "completed";
16867
16825
  cancelled: "cancelled";
16868
16826
  preparing: "preparing";
16869
16827
  switching: "switching";
@@ -16873,8 +16831,8 @@ type ServerMoveState = z$1.infer<typeof serverMoveStateSchema>;
16873
16831
  declare const serverMoveStatusSchema: z$1.ZodObject<{
16874
16832
  moveId: z$1.ZodString;
16875
16833
  state: z$1.ZodEnum<{
16876
- completed: "completed";
16877
16834
  failed: "failed";
16835
+ completed: "completed";
16878
16836
  cancelled: "cancelled";
16879
16837
  preparing: "preparing";
16880
16838
  switching: "switching";
@@ -16892,10 +16850,10 @@ declare const serverMoveStatusSchema: z$1.ZodObject<{
16892
16850
  finishedAt: z$1.ZodNullable<z$1.ZodNumber>;
16893
16851
  error: z$1.ZodNullable<z$1.ZodObject<{
16894
16852
  step: z$1.ZodEnum<{
16895
- transfer: "transfer";
16896
16853
  "stop-work": "stop-work";
16897
16854
  "update-target": "update-target";
16898
16855
  export: "export";
16856
+ transfer: "transfer";
16899
16857
  "start-target": "start-target";
16900
16858
  "verify-address": "verify-address";
16901
16859
  switch: "switch";
@@ -16904,10 +16862,10 @@ declare const serverMoveStatusSchema: z$1.ZodObject<{
16904
16862
  }, z$1.core.$strict>>;
16905
16863
  steps: z$1.ZodArray<z$1.ZodObject<{
16906
16864
  id: z$1.ZodEnum<{
16907
- transfer: "transfer";
16908
16865
  "stop-work": "stop-work";
16909
16866
  "update-target": "update-target";
16910
16867
  export: "export";
16868
+ transfer: "transfer";
16911
16869
  "start-target": "start-target";
16912
16870
  "verify-address": "verify-address";
16913
16871
  switch: "switch";
@@ -16915,9 +16873,9 @@ declare const serverMoveStatusSchema: z$1.ZodObject<{
16915
16873
  status: z$1.ZodEnum<{
16916
16874
  pending: "pending";
16917
16875
  failed: "failed";
16876
+ skipped: "skipped";
16918
16877
  running: "running";
16919
16878
  done: "done";
16920
- skipped: "skipped";
16921
16879
  }>;
16922
16880
  message: z$1.ZodNullable<z$1.ZodString>;
16923
16881
  }, z$1.core.$strict>>;
@@ -16928,8 +16886,8 @@ declare const serverMoveStatusResponseSchema: z$1.ZodObject<{
16928
16886
  move: z$1.ZodNullable<z$1.ZodObject<{
16929
16887
  moveId: z$1.ZodString;
16930
16888
  state: z$1.ZodEnum<{
16931
- completed: "completed";
16932
16889
  failed: "failed";
16890
+ completed: "completed";
16933
16891
  cancelled: "cancelled";
16934
16892
  preparing: "preparing";
16935
16893
  switching: "switching";
@@ -16947,10 +16905,10 @@ declare const serverMoveStatusResponseSchema: z$1.ZodObject<{
16947
16905
  finishedAt: z$1.ZodNullable<z$1.ZodNumber>;
16948
16906
  error: z$1.ZodNullable<z$1.ZodObject<{
16949
16907
  step: z$1.ZodEnum<{
16950
- transfer: "transfer";
16951
16908
  "stop-work": "stop-work";
16952
16909
  "update-target": "update-target";
16953
16910
  export: "export";
16911
+ transfer: "transfer";
16954
16912
  "start-target": "start-target";
16955
16913
  "verify-address": "verify-address";
16956
16914
  switch: "switch";
@@ -16959,10 +16917,10 @@ declare const serverMoveStatusResponseSchema: z$1.ZodObject<{
16959
16917
  }, z$1.core.$strict>>;
16960
16918
  steps: z$1.ZodArray<z$1.ZodObject<{
16961
16919
  id: z$1.ZodEnum<{
16962
- transfer: "transfer";
16963
16920
  "stop-work": "stop-work";
16964
16921
  "update-target": "update-target";
16965
16922
  export: "export";
16923
+ transfer: "transfer";
16966
16924
  "start-target": "start-target";
16967
16925
  "verify-address": "verify-address";
16968
16926
  switch: "switch";
@@ -16970,9 +16928,9 @@ declare const serverMoveStatusResponseSchema: z$1.ZodObject<{
16970
16928
  status: z$1.ZodEnum<{
16971
16929
  pending: "pending";
16972
16930
  failed: "failed";
16931
+ skipped: "skipped";
16973
16932
  running: "running";
16974
16933
  done: "done";
16975
- skipped: "skipped";
16976
16934
  }>;
16977
16935
  message: z$1.ZodNullable<z$1.ZodString>;
16978
16936
  }, z$1.core.$strict>>;
@@ -16997,8 +16955,8 @@ type ServerMoveCheckRequest = z$1.infer<typeof serverMoveCheckRequestSchema>;
16997
16955
  declare const serverMoveCheckItemSchema: z$1.ZodObject<{
16998
16956
  id: z$1.ZodString;
16999
16957
  severity: z$1.ZodEnum<{
17000
- warning: "warning";
17001
16958
  blocker: "blocker";
16959
+ warning: "warning";
17002
16960
  info: "info";
17003
16961
  }>;
17004
16962
  title: z$1.ZodString;
@@ -17022,8 +16980,8 @@ declare const serverMoveCheckResponseSchema: z$1.ZodObject<{
17022
16980
  items: z$1.ZodArray<z$1.ZodObject<{
17023
16981
  id: z$1.ZodString;
17024
16982
  severity: z$1.ZodEnum<{
17025
- warning: "warning";
17026
16983
  blocker: "blocker";
16984
+ warning: "warning";
17027
16985
  info: "info";
17028
16986
  }>;
17029
16987
  title: z$1.ZodString;
@@ -17044,6 +17002,48 @@ declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
17044
17002
  }, z$1.core.$strict>;
17045
17003
  type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
17046
17004
 
17005
+ type PathId = {
17006
+ param: {
17007
+ id: string;
17008
+ };
17009
+ };
17010
+ type PathProjectId = {
17011
+ param: {
17012
+ id: string;
17013
+ };
17014
+ };
17015
+ type PathThreadAndQueuedMessage = {
17016
+ param: {
17017
+ id: string;
17018
+ queuedMessageId: string;
17019
+ };
17020
+ };
17021
+ type PathIdAndFilePath = {
17022
+ param: {
17023
+ id: string;
17024
+ filePath: string;
17025
+ };
17026
+ };
17027
+ type PathIdRefAndFilePath = {
17028
+ param: {
17029
+ id: string;
17030
+ ref: string;
17031
+ filePath: string;
17032
+ };
17033
+ };
17034
+ type PathIdHostAndFilePath = {
17035
+ param: {
17036
+ id: string;
17037
+ hostId: string;
17038
+ filePath: string;
17039
+ };
17040
+ };
17041
+ type PathTerminal = {
17042
+ param: {
17043
+ terminalId: string;
17044
+ };
17045
+ };
17046
+
17047
17047
  type PublicApiFetch = (...args: Parameters<typeof fetch>) => ReturnType<typeof fetch>;
17048
17048
  interface PublicApiClientOptions {
17049
17049
  fetch: PublicApiFetch;
@@ -17051,51 +17051,6 @@ interface PublicApiClientOptions {
17051
17051
  declare function createApiClient(baseUrl: string, options?: PublicApiClientOptions): {
17052
17052
  api: {
17053
17053
  v1: {
17054
- preferences: {
17055
- ui: hono_client.ClientRequest<string, "/preferences/ui", {
17056
- $get: Endpoint<EmptyInput, UiPreferencesResponse, 200, "json">;
17057
- }>;
17058
- };
17059
- } & {
17060
- preferences: {
17061
- ui: {
17062
- ":key": hono_client.ClientRequest<string, "/preferences/ui/:key", {
17063
- $put: Endpoint<PathUiPreferenceKey & {
17064
- json: {
17065
- expectedRevision: number;
17066
- value: unknown;
17067
- };
17068
- }, UiPreferenceResponse<"sidebar.organizationMode" | "sidebar.threadGrouping.environment" | "sidebar.chronologicalSort" | "sidebar.sortDirection" | "sidebar.sectionOrder" | "sidebar.manualSectionOrder" | "sidebar.machineSectionOrder" | "sidebar.hiddenGroups" | "sidebar.footerOrder" | "sidebar.hiddenFooterItems" | "sidebar.pluginPanelOrder" | "sidebar.visiblePluginPanels" | "sidebar.navigationProvider" | "sidebar.threadListProvider" | "composer.provider" | "home.provider" | "infoPanel.collapsedSections">, 200, "json"> | Endpoint<PathUiPreferenceKey & {
17069
- json: {
17070
- expectedRevision: number;
17071
- value: unknown;
17072
- };
17073
- }, {
17074
- code: string;
17075
- message: string;
17076
- details?: unknown;
17077
- retryable?: boolean | undefined;
17078
- }, 404, "json"> | Endpoint<PathUiPreferenceKey & {
17079
- json: {
17080
- expectedRevision: number;
17081
- value: unknown;
17082
- };
17083
- }, {
17084
- code: string;
17085
- message: string;
17086
- details?: unknown;
17087
- retryable?: boolean | undefined;
17088
- }, 409, "json">;
17089
- $delete: Endpoint<PathUiPreferenceKey, UiPreferenceResponse<"sidebar.organizationMode" | "sidebar.threadGrouping.environment" | "sidebar.chronologicalSort" | "sidebar.sortDirection" | "sidebar.sectionOrder" | "sidebar.manualSectionOrder" | "sidebar.machineSectionOrder" | "sidebar.hiddenGroups" | "sidebar.footerOrder" | "sidebar.hiddenFooterItems" | "sidebar.pluginPanelOrder" | "sidebar.visiblePluginPanels" | "sidebar.navigationProvider" | "sidebar.threadListProvider" | "composer.provider" | "home.provider" | "infoPanel.collapsedSections">, 200, "json"> | Endpoint<PathUiPreferenceKey, {
17090
- code: string;
17091
- message: string;
17092
- details?: unknown;
17093
- retryable?: boolean | undefined;
17094
- }, 404, "json">;
17095
- }>;
17096
- };
17097
- };
17098
- } & {
17099
17054
  schedules: hono_client.ClientRequest<string, "/schedules", {
17100
17055
  $get: Endpoint<EmptyInput, BaseScheduleList, 200, "json">;
17101
17056
  }>;
@@ -17154,7 +17109,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17154
17109
  trigger: "/" | "$";
17155
17110
  name: string;
17156
17111
  source: "command" | "skill";
17157
- origin: "user" | "project" | "builtin";
17112
+ origin: "project" | "builtin" | "user";
17158
17113
  label: string;
17159
17114
  argumentHint: string | null;
17160
17115
  } | {
@@ -17345,7 +17300,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17345
17300
  title: string | null;
17346
17301
  titleFallback: string | null;
17347
17302
  sectionId: string | null;
17348
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
17303
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
17349
17304
  parentThreadId: string | null;
17350
17305
  lifecycleOwnerThreadId: string | null;
17351
17306
  sourceThreadId: string | null;
@@ -17361,7 +17316,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17361
17316
  createdAt: number;
17362
17317
  updatedAt: number;
17363
17318
  runtime: {
17364
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
17319
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
17365
17320
  };
17366
17321
  activity: {
17367
17322
  activeWorkflowCount: number;
@@ -17370,7 +17325,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17370
17325
  activePlanModeCount: number;
17371
17326
  activeGoalCount: number;
17372
17327
  };
17373
- queuedWork: "failed" | "waiting" | "none";
17328
+ queuedWork: "none" | "waiting" | "failed";
17374
17329
  pinSortKey: string | null;
17375
17330
  hasPendingInteraction: boolean;
17376
17331
  environmentHostId: string | null;
@@ -17455,7 +17410,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17455
17410
  title: string | null;
17456
17411
  titleFallback: string | null;
17457
17412
  sectionId: string | null;
17458
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
17413
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
17459
17414
  parentThreadId: string | null;
17460
17415
  lifecycleOwnerThreadId: string | null;
17461
17416
  sourceThreadId: string | null;
@@ -17471,7 +17426,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17471
17426
  createdAt: number;
17472
17427
  updatedAt: number;
17473
17428
  runtime: {
17474
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
17429
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
17475
17430
  };
17476
17431
  activity: {
17477
17432
  activeWorkflowCount: number;
@@ -17480,7 +17435,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17480
17435
  activePlanModeCount: number;
17481
17436
  activeGoalCount: number;
17482
17437
  };
17483
- queuedWork: "failed" | "waiting" | "none";
17438
+ queuedWork: "none" | "waiting" | "failed";
17484
17439
  pinSortKey: string | null;
17485
17440
  hasPendingInteraction: boolean;
17486
17441
  environmentHostId: string | null;
@@ -17527,7 +17482,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17527
17482
  title: string | null;
17528
17483
  titleFallback: string | null;
17529
17484
  sectionId: string | null;
17530
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
17485
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
17531
17486
  parentThreadId: string | null;
17532
17487
  lifecycleOwnerThreadId: string | null;
17533
17488
  sourceThreadId: string | null;
@@ -17543,7 +17498,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17543
17498
  createdAt: number;
17544
17499
  updatedAt: number;
17545
17500
  runtime: {
17546
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
17501
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
17547
17502
  };
17548
17503
  activity: {
17549
17504
  activeWorkflowCount: number;
@@ -17552,7 +17507,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17552
17507
  activePlanModeCount: number;
17553
17508
  activeGoalCount: number;
17554
17509
  };
17555
- queuedWork: "failed" | "waiting" | "none";
17510
+ queuedWork: "none" | "waiting" | "failed";
17556
17511
  pinSortKey: string | null;
17557
17512
  hasPendingInteraction: boolean;
17558
17513
  environmentHostId: string | null;
@@ -17714,7 +17669,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17714
17669
  trigger: "/" | "$";
17715
17670
  name: string;
17716
17671
  source: "command" | "skill";
17717
- origin: "user" | "project" | "builtin";
17672
+ origin: "project" | "builtin" | "user";
17718
17673
  label: string;
17719
17674
  argumentHint: string | null;
17720
17675
  } | {
@@ -17905,7 +17860,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
17905
17860
  commands: {
17906
17861
  name: string;
17907
17862
  source: "command" | "skill";
17908
- origin: "user" | "project" | "builtin";
17863
+ origin: "project" | "builtin" | "user";
17909
17864
  description: string | null;
17910
17865
  argumentHint: string | null;
17911
17866
  pluginId?: string | undefined;
@@ -18556,15 +18511,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18556
18511
  id: string;
18557
18512
  name: string;
18558
18513
  type: "persistent" | "ephemeral";
18559
- status: "disconnected" | "connected";
18514
+ status: "connected" | "disconnected";
18560
18515
  machineProviderId: string | null;
18561
18516
  lifecycle: {
18562
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18517
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18563
18518
  suspendedAt: number | null;
18564
18519
  message: string | null;
18565
18520
  pendingLog: string;
18566
18521
  teardown: {
18567
- status: "failed" | "removed" | "running";
18522
+ status: "failed" | "running" | "removed";
18568
18523
  attempt: number;
18569
18524
  } | null;
18570
18525
  };
@@ -18590,15 +18545,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18590
18545
  id: string;
18591
18546
  name: string;
18592
18547
  type: "persistent" | "ephemeral";
18593
- status: "disconnected" | "connected";
18548
+ status: "connected" | "disconnected";
18594
18549
  machineProviderId: string | null;
18595
18550
  lifecycle: {
18596
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18551
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18597
18552
  suspendedAt: number | null;
18598
18553
  message: string | null;
18599
18554
  pendingLog: string;
18600
18555
  teardown: {
18601
- status: "failed" | "removed" | "running";
18556
+ status: "failed" | "running" | "removed";
18602
18557
  attempt: number;
18603
18558
  } | null;
18604
18559
  };
@@ -18635,15 +18590,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18635
18590
  id: string;
18636
18591
  name: string;
18637
18592
  type: "persistent" | "ephemeral";
18638
- status: "disconnected" | "connected";
18593
+ status: "connected" | "disconnected";
18639
18594
  machineProviderId: string | null;
18640
18595
  lifecycle: {
18641
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18596
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18642
18597
  suspendedAt: number | null;
18643
18598
  message: string | null;
18644
18599
  pendingLog: string;
18645
18600
  teardown: {
18646
- status: "failed" | "removed" | "running";
18601
+ status: "failed" | "running" | "removed";
18647
18602
  attempt: number;
18648
18603
  } | null;
18649
18604
  };
@@ -18672,15 +18627,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18672
18627
  id: string;
18673
18628
  name: string;
18674
18629
  type: "persistent" | "ephemeral";
18675
- status: "disconnected" | "connected";
18630
+ status: "connected" | "disconnected";
18676
18631
  machineProviderId: string | null;
18677
18632
  lifecycle: {
18678
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18633
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18679
18634
  suspendedAt: number | null;
18680
18635
  message: string | null;
18681
18636
  pendingLog: string;
18682
18637
  teardown: {
18683
- status: "failed" | "removed" | "running";
18638
+ status: "failed" | "running" | "removed";
18684
18639
  attempt: number;
18685
18640
  } | null;
18686
18641
  };
@@ -18780,15 +18735,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18780
18735
  id: string;
18781
18736
  name: string;
18782
18737
  type: "persistent" | "ephemeral";
18783
- status: "disconnected" | "connected";
18738
+ status: "connected" | "disconnected";
18784
18739
  machineProviderId: string | null;
18785
18740
  lifecycle: {
18786
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18741
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18787
18742
  suspendedAt: number | null;
18788
18743
  message: string | null;
18789
18744
  pendingLog: string;
18790
18745
  teardown: {
18791
- status: "failed" | "removed" | "running";
18746
+ status: "failed" | "running" | "removed";
18792
18747
  attempt: number;
18793
18748
  } | null;
18794
18749
  };
@@ -18826,15 +18781,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18826
18781
  id: string;
18827
18782
  name: string;
18828
18783
  type: "persistent" | "ephemeral";
18829
- status: "disconnected" | "connected";
18784
+ status: "connected" | "disconnected";
18830
18785
  machineProviderId: string | null;
18831
18786
  lifecycle: {
18832
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18787
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18833
18788
  suspendedAt: number | null;
18834
18789
  message: string | null;
18835
18790
  pendingLog: string;
18836
18791
  teardown: {
18837
- status: "failed" | "removed" | "running";
18792
+ status: "failed" | "running" | "removed";
18838
18793
  attempt: number;
18839
18794
  } | null;
18840
18795
  };
@@ -18862,15 +18817,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18862
18817
  id: string;
18863
18818
  name: string;
18864
18819
  type: "persistent" | "ephemeral";
18865
- status: "disconnected" | "connected";
18820
+ status: "connected" | "disconnected";
18866
18821
  machineProviderId: string | null;
18867
18822
  lifecycle: {
18868
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18823
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18869
18824
  suspendedAt: number | null;
18870
18825
  message: string | null;
18871
18826
  pendingLog: string;
18872
18827
  teardown: {
18873
- status: "failed" | "removed" | "running";
18828
+ status: "failed" | "running" | "removed";
18874
18829
  attempt: number;
18875
18830
  } | null;
18876
18831
  };
@@ -18898,15 +18853,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
18898
18853
  id: string;
18899
18854
  name: string;
18900
18855
  type: "persistent" | "ephemeral";
18901
- status: "disconnected" | "connected";
18856
+ status: "connected" | "disconnected";
18902
18857
  machineProviderId: string | null;
18903
18858
  lifecycle: {
18904
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
18859
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
18905
18860
  suspendedAt: number | null;
18906
18861
  message: string | null;
18907
18862
  pendingLog: string;
18908
18863
  teardown: {
18909
- status: "failed" | "removed" | "running";
18864
+ status: "failed" | "running" | "removed";
18910
18865
  attempt: number;
18911
18866
  } | null;
18912
18867
  };
@@ -19122,7 +19077,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19122
19077
  } | null;
19123
19078
  items: {
19124
19079
  id: string;
19125
- severity: "warning" | "blocker" | "info";
19080
+ severity: "blocker" | "warning" | "info";
19126
19081
  title: string;
19127
19082
  detail: string | null;
19128
19083
  }[];
@@ -19143,7 +19098,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19143
19098
  };
19144
19099
  }, {
19145
19100
  moveId: string;
19146
- state: "completed" | "failed" | "cancelled" | "preparing" | "switching" | "recovery_required";
19101
+ state: "failed" | "completed" | "cancelled" | "preparing" | "switching" | "recovery_required";
19147
19102
  mode: "connect" | "direct";
19148
19103
  targetHostId: string;
19149
19104
  targetHostName: string;
@@ -19152,12 +19107,12 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19152
19107
  startedAt: number;
19153
19108
  finishedAt: number | null;
19154
19109
  error: {
19155
- step: "transfer" | "stop-work" | "update-target" | "export" | "start-target" | "verify-address" | "switch";
19110
+ step: "stop-work" | "update-target" | "export" | "transfer" | "start-target" | "verify-address" | "switch";
19156
19111
  message: string;
19157
19112
  } | null;
19158
19113
  steps: {
19159
- id: "transfer" | "stop-work" | "update-target" | "export" | "start-target" | "verify-address" | "switch";
19160
- status: "pending" | "failed" | "running" | "done" | "skipped";
19114
+ id: "stop-work" | "update-target" | "export" | "transfer" | "start-target" | "verify-address" | "switch";
19115
+ status: "pending" | "failed" | "skipped" | "running" | "done";
19161
19116
  message: string | null;
19162
19117
  }[];
19163
19118
  cancellable: boolean;
@@ -19165,7 +19120,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19165
19120
  $get: Endpoint<EmptyInput, {
19166
19121
  move: {
19167
19122
  moveId: string;
19168
- state: "completed" | "failed" | "cancelled" | "preparing" | "switching" | "recovery_required";
19123
+ state: "failed" | "completed" | "cancelled" | "preparing" | "switching" | "recovery_required";
19169
19124
  mode: "connect" | "direct";
19170
19125
  targetHostId: string;
19171
19126
  targetHostName: string;
@@ -19174,12 +19129,12 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19174
19129
  startedAt: number;
19175
19130
  finishedAt: number | null;
19176
19131
  error: {
19177
- step: "transfer" | "stop-work" | "update-target" | "export" | "start-target" | "verify-address" | "switch";
19132
+ step: "stop-work" | "update-target" | "export" | "transfer" | "start-target" | "verify-address" | "switch";
19178
19133
  message: string;
19179
19134
  } | null;
19180
19135
  steps: {
19181
- id: "transfer" | "stop-work" | "update-target" | "export" | "start-target" | "verify-address" | "switch";
19182
- status: "pending" | "failed" | "running" | "done" | "skipped";
19136
+ id: "stop-work" | "update-target" | "export" | "transfer" | "start-target" | "verify-address" | "switch";
19137
+ status: "pending" | "failed" | "skipped" | "running" | "done";
19183
19138
  message: string | null;
19184
19139
  }[];
19185
19140
  cancellable: boolean;
@@ -19202,7 +19157,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19202
19157
  cancel: hono_client.ClientRequest<string, "/server/move/cancel", {
19203
19158
  $post: Endpoint<EmptyInput, {
19204
19159
  moveId: string;
19205
- state: "completed" | "failed" | "cancelled" | "preparing" | "switching" | "recovery_required";
19160
+ state: "failed" | "completed" | "cancelled" | "preparing" | "switching" | "recovery_required";
19206
19161
  mode: "connect" | "direct";
19207
19162
  targetHostId: string;
19208
19163
  targetHostName: string;
@@ -19211,12 +19166,12 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19211
19166
  startedAt: number;
19212
19167
  finishedAt: number | null;
19213
19168
  error: {
19214
- step: "transfer" | "stop-work" | "update-target" | "export" | "start-target" | "verify-address" | "switch";
19169
+ step: "stop-work" | "update-target" | "export" | "transfer" | "start-target" | "verify-address" | "switch";
19215
19170
  message: string;
19216
19171
  } | null;
19217
19172
  steps: {
19218
- id: "transfer" | "stop-work" | "update-target" | "export" | "start-target" | "verify-address" | "switch";
19219
- status: "pending" | "failed" | "running" | "done" | "skipped";
19173
+ id: "stop-work" | "update-target" | "export" | "transfer" | "start-target" | "verify-address" | "switch";
19174
+ status: "pending" | "failed" | "skipped" | "running" | "done";
19220
19175
  message: string | null;
19221
19176
  }[];
19222
19177
  cancellable: boolean;
@@ -19497,7 +19452,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19497
19452
  hostId?: string | undefined;
19498
19453
  instanceKey?: string | undefined;
19499
19454
  path?: string | undefined;
19500
- status?: "error" | "creating" | "provisioning" | "ready" | "destroyed" | undefined;
19455
+ status?: "error" | "provisioning" | "ready" | "creating" | "destroyed" | undefined;
19501
19456
  limit?: string | undefined;
19502
19457
  offset?: string | undefined;
19503
19458
  } | undefined;
@@ -19513,18 +19468,18 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19513
19468
  baseBranch: string | null;
19514
19469
  defaultBranch: string | null;
19515
19470
  mergeBaseBranch: string | null;
19516
- status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
19471
+ status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
19517
19472
  environmentProviderId: string | null;
19518
19473
  lifecycle: {
19519
- phase: "destroyed" | "active" | "teardown" | "retiring";
19474
+ phase: "active" | "teardown" | "destroyed" | "retiring";
19520
19475
  retireAt: number | null;
19521
19476
  teardown: {
19522
- status: "failed" | "removed" | "running";
19477
+ status: "failed" | "running" | "removed";
19523
19478
  attempt: number;
19524
19479
  message?: string | undefined;
19525
19480
  } | null;
19526
19481
  };
19527
- hostLifecycle: "active" | "removed" | "removing" | "cleanup-failed";
19482
+ hostLifecycle: "active" | "removing" | "removed" | "cleanup-failed";
19528
19483
  environmentProviderSelection: {
19529
19484
  machine: {
19530
19485
  type: "existing";
@@ -19576,18 +19531,18 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19576
19531
  baseBranch: string | null;
19577
19532
  defaultBranch: string | null;
19578
19533
  mergeBaseBranch: string | null;
19579
- status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
19534
+ status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
19580
19535
  environmentProviderId: string | null;
19581
19536
  lifecycle: {
19582
- phase: "destroyed" | "active" | "teardown" | "retiring";
19537
+ phase: "active" | "teardown" | "destroyed" | "retiring";
19583
19538
  retireAt: number | null;
19584
19539
  teardown: {
19585
- status: "failed" | "removed" | "running";
19540
+ status: "failed" | "running" | "removed";
19586
19541
  attempt: number;
19587
19542
  message?: string | undefined;
19588
19543
  } | null;
19589
19544
  };
19590
- hostLifecycle: "active" | "removed" | "removing" | "cleanup-failed";
19545
+ hostLifecycle: "active" | "removing" | "removed" | "cleanup-failed";
19591
19546
  environmentProviderSelection: {
19592
19547
  machine: {
19593
19548
  type: "existing";
@@ -19622,18 +19577,18 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
19622
19577
  baseBranch: string | null;
19623
19578
  defaultBranch: string | null;
19624
19579
  mergeBaseBranch: string | null;
19625
- status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
19580
+ status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
19626
19581
  environmentProviderId: string | null;
19627
19582
  lifecycle: {
19628
- phase: "destroyed" | "active" | "teardown" | "retiring";
19583
+ phase: "active" | "teardown" | "destroyed" | "retiring";
19629
19584
  retireAt: number | null;
19630
19585
  teardown: {
19631
- status: "failed" | "removed" | "running";
19586
+ status: "failed" | "running" | "removed";
19632
19587
  attempt: number;
19633
19588
  message?: string | undefined;
19634
19589
  } | null;
19635
19590
  };
19636
- hostLifecycle: "active" | "removed" | "removing" | "cleanup-failed";
19591
+ hostLifecycle: "active" | "removing" | "removed" | "cleanup-failed";
19637
19592
  environmentProviderSelection: {
19638
19593
  machine: {
19639
19594
  type: "existing";
@@ -20236,7 +20191,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20236
20191
  title: string | null;
20237
20192
  titleFallback: string | null;
20238
20193
  sectionId: string | null;
20239
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20194
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20240
20195
  parentThreadId: string | null;
20241
20196
  lifecycleOwnerThreadId: string | null;
20242
20197
  sourceThreadId: string | null;
@@ -20252,7 +20207,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20252
20207
  createdAt: number;
20253
20208
  updatedAt: number;
20254
20209
  runtime: {
20255
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20210
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20256
20211
  };
20257
20212
  activity: {
20258
20213
  activeWorkflowCount: number;
@@ -20261,7 +20216,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20261
20216
  activePlanModeCount: number;
20262
20217
  activeGoalCount: number;
20263
20218
  };
20264
- queuedWork: "failed" | "waiting" | "none";
20219
+ queuedWork: "none" | "waiting" | "failed";
20265
20220
  pinSortKey: string | null;
20266
20221
  hasPendingInteraction: boolean;
20267
20222
  environmentHostId: string | null;
@@ -20308,7 +20263,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20308
20263
  trigger: "/" | "$";
20309
20264
  name: string;
20310
20265
  source: "command" | "skill";
20311
- origin: "user" | "project" | "builtin";
20266
+ origin: "project" | "builtin" | "user";
20312
20267
  label: string;
20313
20268
  argumentHint: string | null;
20314
20269
  } | {
@@ -20431,7 +20386,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20431
20386
  title: string | null;
20432
20387
  titleFallback: string | null;
20433
20388
  sectionId: string | null;
20434
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20389
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20435
20390
  parentThreadId: string | null;
20436
20391
  lifecycleOwnerThreadId: string | null;
20437
20392
  sourceThreadId: string | null;
@@ -20447,7 +20402,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20447
20402
  createdAt: number;
20448
20403
  updatedAt: number;
20449
20404
  runtime: {
20450
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20405
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20451
20406
  };
20452
20407
  activeBackgroundAgentCount: number;
20453
20408
  canRestoreEnvironment: boolean;
@@ -20463,7 +20418,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20463
20418
  count: hono_client.ClientRequest<string, "/threads/count", {
20464
20419
  $get: Endpoint<EmptyInput & {
20465
20420
  query?: {
20466
- status?: "error" | "stopping" | "pending" | "idle" | "starting" | "active" | undefined;
20421
+ status?: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | undefined;
20467
20422
  hostId?: string | undefined;
20468
20423
  providerId?: string | undefined;
20469
20424
  projectId?: string | undefined;
@@ -20510,7 +20465,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20510
20465
  title: string | null;
20511
20466
  titleFallback: string | null;
20512
20467
  sectionId: string | null;
20513
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20468
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20514
20469
  parentThreadId: string | null;
20515
20470
  lifecycleOwnerThreadId: string | null;
20516
20471
  sourceThreadId: string | null;
@@ -20526,7 +20481,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20526
20481
  createdAt: number;
20527
20482
  updatedAt: number;
20528
20483
  runtime: {
20529
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20484
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20530
20485
  };
20531
20486
  activity: {
20532
20487
  activeWorkflowCount: number;
@@ -20535,7 +20490,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20535
20490
  activePlanModeCount: number;
20536
20491
  activeGoalCount: number;
20537
20492
  };
20538
- queuedWork: "failed" | "waiting" | "none";
20493
+ queuedWork: "none" | "waiting" | "failed";
20539
20494
  pinSortKey: string | null;
20540
20495
  hasPendingInteraction: boolean;
20541
20496
  environmentHostId: string | null;
@@ -20570,7 +20525,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20570
20525
  title: string | null;
20571
20526
  titleFallback: string | null;
20572
20527
  sectionId: string | null;
20573
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20528
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20574
20529
  parentThreadId: string | null;
20575
20530
  lifecycleOwnerThreadId: string | null;
20576
20531
  sourceThreadId: string | null;
@@ -20586,7 +20541,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20586
20541
  createdAt: number;
20587
20542
  updatedAt: number;
20588
20543
  runtime: {
20589
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20544
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20590
20545
  };
20591
20546
  activity: {
20592
20547
  activeWorkflowCount: number;
@@ -20595,7 +20550,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20595
20550
  activePlanModeCount: number;
20596
20551
  activeGoalCount: number;
20597
20552
  };
20598
- queuedWork: "failed" | "waiting" | "none";
20553
+ queuedWork: "none" | "waiting" | "failed";
20599
20554
  pinSortKey: string | null;
20600
20555
  hasPendingInteraction: boolean;
20601
20556
  environmentHostId: string | null;
@@ -20675,7 +20630,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20675
20630
  trigger: "/" | "$";
20676
20631
  name: string;
20677
20632
  source: "command" | "skill";
20678
- origin: "user" | "project" | "builtin";
20633
+ origin: "project" | "builtin" | "user";
20679
20634
  label: string;
20680
20635
  argumentHint: string | null;
20681
20636
  } | {
@@ -20741,7 +20696,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20741
20696
  trigger: "/" | "$";
20742
20697
  name: string;
20743
20698
  source: "command" | "skill";
20744
- origin: "user" | "project" | "builtin";
20699
+ origin: "project" | "builtin" | "user";
20745
20700
  label: string;
20746
20701
  argumentHint: string | null;
20747
20702
  } | {
@@ -20835,7 +20790,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20835
20790
  title: string | null;
20836
20791
  titleFallback: string | null;
20837
20792
  sectionId: string | null;
20838
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20793
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20839
20794
  parentThreadId: string | null;
20840
20795
  lifecycleOwnerThreadId: string | null;
20841
20796
  sourceThreadId: string | null;
@@ -20851,7 +20806,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20851
20806
  createdAt: number;
20852
20807
  updatedAt: number;
20853
20808
  runtime: {
20854
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20809
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20855
20810
  };
20856
20811
  activeBackgroundAgentCount: number;
20857
20812
  canRestoreEnvironment: boolean;
@@ -20878,7 +20833,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20878
20833
  title: string | null;
20879
20834
  titleFallback: string | null;
20880
20835
  sectionId: string | null;
20881
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20836
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20882
20837
  parentThreadId: string | null;
20883
20838
  lifecycleOwnerThreadId: string | null;
20884
20839
  sourceThreadId: string | null;
@@ -20894,7 +20849,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20894
20849
  createdAt: number;
20895
20850
  updatedAt: number;
20896
20851
  runtime: {
20897
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20852
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20898
20853
  };
20899
20854
  activeBackgroundAgentCount: number;
20900
20855
  canRestoreEnvironment: boolean;
@@ -20911,7 +20866,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20911
20866
  title: string | null;
20912
20867
  titleFallback: string | null;
20913
20868
  sectionId: string | null;
20914
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20869
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
20915
20870
  parentThreadId: string | null;
20916
20871
  lifecycleOwnerThreadId: string | null;
20917
20872
  sourceThreadId: string | null;
@@ -20927,7 +20882,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20927
20882
  createdAt: number;
20928
20883
  updatedAt: number;
20929
20884
  runtime: {
20930
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
20885
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
20931
20886
  };
20932
20887
  activeBackgroundAgentCount: number;
20933
20888
  canRestoreEnvironment: boolean;
@@ -20948,18 +20903,18 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20948
20903
  baseBranch: string | null;
20949
20904
  defaultBranch: string | null;
20950
20905
  mergeBaseBranch: string | null;
20951
- status: "error" | "creating" | "provisioning" | "ready" | "destroyed";
20906
+ status: "error" | "provisioning" | "ready" | "creating" | "destroyed";
20952
20907
  environmentProviderId: string | null;
20953
20908
  lifecycle: {
20954
- phase: "destroyed" | "active" | "teardown" | "retiring";
20909
+ phase: "active" | "teardown" | "destroyed" | "retiring";
20955
20910
  retireAt: number | null;
20956
20911
  teardown: {
20957
- status: "failed" | "removed" | "running";
20912
+ status: "failed" | "running" | "removed";
20958
20913
  attempt: number;
20959
20914
  message?: string | undefined;
20960
20915
  } | null;
20961
20916
  };
20962
- hostLifecycle: "active" | "removed" | "removing" | "cleanup-failed";
20917
+ hostLifecycle: "active" | "removing" | "removed" | "cleanup-failed";
20963
20918
  environmentProviderSelection: {
20964
20919
  machine: {
20965
20920
  type: "existing";
@@ -20981,15 +20936,15 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
20981
20936
  id: string;
20982
20937
  name: string;
20983
20938
  type: "persistent" | "ephemeral";
20984
- status: "disconnected" | "connected";
20939
+ status: "connected" | "disconnected";
20985
20940
  machineProviderId: string | null;
20986
20941
  lifecycle: {
20987
- phase: "creating" | "destroyed" | "active" | "suspended" | "suspending" | "resuming" | "removing";
20942
+ phase: "active" | "creating" | "suspending" | "suspended" | "resuming" | "removing" | "destroyed";
20988
20943
  suspendedAt: number | null;
20989
20944
  message: string | null;
20990
20945
  pendingLog: string;
20991
20946
  teardown: {
20992
- status: "failed" | "removed" | "running";
20947
+ status: "failed" | "running" | "removed";
20993
20948
  attempt: number;
20994
20949
  } | null;
20995
20950
  };
@@ -21027,7 +20982,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21027
20982
  title: string | null;
21028
20983
  titleFallback: string | null;
21029
20984
  sectionId: string | null;
21030
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
20985
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
21031
20986
  parentThreadId: string | null;
21032
20987
  lifecycleOwnerThreadId: string | null;
21033
20988
  sourceThreadId: string | null;
@@ -21043,7 +20998,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21043
20998
  createdAt: number;
21044
20999
  updatedAt: number;
21045
21000
  runtime: {
21046
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
21001
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
21047
21002
  };
21048
21003
  activeBackgroundAgentCount: number;
21049
21004
  canRestoreEnvironment: boolean;
@@ -21176,7 +21131,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21176
21131
  trigger: "/" | "$";
21177
21132
  name: string;
21178
21133
  source: "command" | "skill";
21179
- origin: "user" | "project" | "builtin";
21134
+ origin: "project" | "builtin" | "user";
21180
21135
  label: string;
21181
21136
  argumentHint: string | null;
21182
21137
  } | {
@@ -21212,7 +21167,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21212
21167
  sizeBytes?: number | undefined;
21213
21168
  mimeType?: string | undefined;
21214
21169
  })[];
21215
- mode: "steer" | "start" | "auto" | "queue-if-active" | "steer-if-active";
21170
+ mode: "start" | "auto" | "steer" | "queue-if-active" | "steer-if-active";
21216
21171
  model?: string | undefined;
21217
21172
  serviceTier?: string | undefined;
21218
21173
  reasoningLevel?: string | undefined;
@@ -21275,7 +21230,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21275
21230
  trigger: "/" | "$";
21276
21231
  name: string;
21277
21232
  source: "command" | "skill";
21278
- origin: "user" | "project" | "builtin";
21233
+ origin: "project" | "builtin" | "user";
21279
21234
  label: string;
21280
21235
  argumentHint: string | null;
21281
21236
  } | {
@@ -21392,7 +21347,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21392
21347
  trigger: "/" | "$";
21393
21348
  name: string;
21394
21349
  source: "command" | "skill";
21395
- origin: "user" | "project" | "builtin";
21350
+ origin: "project" | "builtin" | "user";
21396
21351
  label: string;
21397
21352
  argumentHint: string | null;
21398
21353
  } | {
@@ -21429,18 +21384,18 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21429
21384
  mimeType?: string | undefined;
21430
21385
  })[];
21431
21386
  operationId: string;
21432
- senderThreadId?: string | undefined;
21433
- model?: string | undefined;
21434
21387
  originPluginId?: string | undefined;
21435
21388
  serviceTier?: string | undefined;
21436
21389
  reasoningLevel?: string | undefined;
21437
21390
  permissionMode?: "auto" | "accept-edits" | "full" | undefined;
21391
+ model?: string | undefined;
21438
21392
  executionInputSources?: {
21439
21393
  model?: "explicit" | "client-preference" | undefined;
21440
21394
  serviceTier?: "explicit" | "client-preference" | undefined;
21441
21395
  reasoningLevel?: "explicit" | "client-preference" | undefined;
21442
21396
  permissionMode?: "explicit" | "client-preference" | undefined;
21443
21397
  } | undefined;
21398
+ senderThreadId?: string | undefined;
21444
21399
  expectedRequestSequence?: number | undefined;
21445
21400
  };
21446
21401
  }, {
@@ -21539,7 +21494,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21539
21494
  trigger: "/" | "$";
21540
21495
  name: string;
21541
21496
  source: "command" | "skill";
21542
- origin: "user" | "project" | "builtin";
21497
+ origin: "project" | "builtin" | "user";
21543
21498
  label: string;
21544
21499
  argumentHint: string | null;
21545
21500
  } | {
@@ -21648,7 +21603,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21648
21603
  trigger: "/" | "$";
21649
21604
  name: string;
21650
21605
  source: "command" | "skill";
21651
- origin: "user" | "project" | "builtin";
21606
+ origin: "project" | "builtin" | "user";
21652
21607
  label: string;
21653
21608
  argumentHint: string | null;
21654
21609
  } | {
@@ -21733,7 +21688,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21733
21688
  trigger: "/" | "$";
21734
21689
  name: string;
21735
21690
  source: "command" | "skill";
21736
- origin: "user" | "project" | "builtin";
21691
+ origin: "project" | "builtin" | "user";
21737
21692
  label: string;
21738
21693
  argumentHint: string | null;
21739
21694
  } | {
@@ -21851,7 +21806,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21851
21806
  trigger: "/" | "$";
21852
21807
  name: string;
21853
21808
  source: "command" | "skill";
21854
- origin: "user" | "project" | "builtin";
21809
+ origin: "project" | "builtin" | "user";
21855
21810
  label: string;
21856
21811
  argumentHint: string | null;
21857
21812
  } | {
@@ -21925,7 +21880,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
21925
21880
  trigger: "/" | "$";
21926
21881
  name: string;
21927
21882
  source: "command" | "skill";
21928
- origin: "user" | "project" | "builtin";
21883
+ origin: "project" | "builtin" | "user";
21929
21884
  label: string;
21930
21885
  argumentHint: string | null;
21931
21886
  } | {
@@ -22017,7 +21972,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22017
21972
  send: hono_client.ClientRequest<string, "/threads/:id/queued-messages/:queuedMessageId/send", {
22018
21973
  $post: Endpoint<PathThreadAndQueuedMessage & {
22019
21974
  json: {
22020
- mode: "steer" | "auto";
21975
+ mode: "auto" | "steer";
22021
21976
  };
22022
21977
  }, {
22023
21978
  ok: true;
@@ -22062,7 +22017,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22062
22017
  trigger: "/" | "$";
22063
22018
  name: string;
22064
22019
  source: "command" | "skill";
22065
- origin: "user" | "project" | "builtin";
22020
+ origin: "project" | "builtin" | "user";
22066
22021
  label: string;
22067
22022
  argumentHint: string | null;
22068
22023
  } | {
@@ -22211,7 +22166,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22211
22166
  trigger: "/" | "$";
22212
22167
  name: string;
22213
22168
  source: "command" | "skill";
22214
- origin: "user" | "project" | "builtin";
22169
+ origin: "project" | "builtin" | "user";
22215
22170
  label: string;
22216
22171
  argumentHint: string | null;
22217
22172
  } | {
@@ -22340,7 +22295,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22340
22295
  trigger: "/" | "$";
22341
22296
  name: string;
22342
22297
  source: "command" | "skill";
22343
- origin: "user" | "project" | "builtin";
22298
+ origin: "project" | "builtin" | "user";
22344
22299
  label: string;
22345
22300
  argumentHint: string | null;
22346
22301
  } | {
@@ -22462,7 +22417,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
22462
22417
  trigger: "/" | "$";
22463
22418
  name: string;
22464
22419
  source: "command" | "skill";
22465
- origin: "user" | "project" | "builtin";
22420
+ origin: "project" | "builtin" | "user";
22466
22421
  label: string;
22467
22422
  argumentHint: string | null;
22468
22423
  } | {
@@ -23217,7 +23172,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23217
23172
  title: string | null;
23218
23173
  titleFallback: string | null;
23219
23174
  sectionId: string | null;
23220
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23175
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23221
23176
  parentThreadId: string | null;
23222
23177
  lifecycleOwnerThreadId: string | null;
23223
23178
  sourceThreadId: string | null;
@@ -23233,7 +23188,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23233
23188
  createdAt: number;
23234
23189
  updatedAt: number;
23235
23190
  runtime: {
23236
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23191
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23237
23192
  };
23238
23193
  activeBackgroundAgentCount: number;
23239
23194
  canRestoreEnvironment: boolean;
@@ -23258,7 +23213,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23258
23213
  title: string | null;
23259
23214
  titleFallback: string | null;
23260
23215
  sectionId: string | null;
23261
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23216
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23262
23217
  parentThreadId: string | null;
23263
23218
  lifecycleOwnerThreadId: string | null;
23264
23219
  sourceThreadId: string | null;
@@ -23274,7 +23229,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23274
23229
  createdAt: number;
23275
23230
  updatedAt: number;
23276
23231
  runtime: {
23277
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23232
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23278
23233
  };
23279
23234
  activeBackgroundAgentCount: number;
23280
23235
  canRestoreEnvironment: boolean;
@@ -23304,7 +23259,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23304
23259
  title: string | null;
23305
23260
  titleFallback: string | null;
23306
23261
  sectionId: string | null;
23307
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23262
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23308
23263
  parentThreadId: string | null;
23309
23264
  lifecycleOwnerThreadId: string | null;
23310
23265
  sourceThreadId: string | null;
@@ -23320,7 +23275,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23320
23275
  createdAt: number;
23321
23276
  updatedAt: number;
23322
23277
  runtime: {
23323
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23278
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23324
23279
  };
23325
23280
  activity: {
23326
23281
  activeWorkflowCount: number;
@@ -23329,7 +23284,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23329
23284
  activePlanModeCount: number;
23330
23285
  activeGoalCount: number;
23331
23286
  };
23332
- queuedWork: "failed" | "waiting" | "none";
23287
+ queuedWork: "none" | "waiting" | "failed";
23333
23288
  pinSortKey: string | null;
23334
23289
  hasPendingInteraction: boolean;
23335
23290
  environmentHostId: string | null;
@@ -23352,7 +23307,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23352
23307
  $get: Endpoint<PathId, ({
23353
23308
  id: string;
23354
23309
  threadId: string;
23355
- status: "pending" | "interrupted" | "resolving" | "resolved";
23310
+ status: "pending" | "resolved" | "resolving" | "interrupted";
23356
23311
  statusReason: string | null;
23357
23312
  createdAt: number;
23358
23313
  resolvedAt: number | null;
@@ -23490,7 +23445,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23490
23445
  } | {
23491
23446
  id: string;
23492
23447
  threadId: string;
23493
- status: "pending" | "interrupted" | "resolving" | "resolved";
23448
+ status: "pending" | "resolved" | "resolving" | "interrupted";
23494
23449
  statusReason: string | null;
23495
23450
  createdAt: number;
23496
23451
  resolvedAt: number | null;
@@ -23530,7 +23485,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23530
23485
  } | {
23531
23486
  id: string;
23532
23487
  threadId: string;
23533
- status: "pending" | "interrupted" | "resolving" | "resolved";
23488
+ status: "pending" | "resolved" | "resolving" | "interrupted";
23534
23489
  statusReason: string | null;
23535
23490
  createdAt: number;
23536
23491
  resolvedAt: number | null;
@@ -23557,7 +23512,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23557
23512
  } | {
23558
23513
  id: string;
23559
23514
  threadId: string;
23560
- status: "pending" | "interrupted" | "resolving" | "resolved";
23515
+ status: "pending" | "resolved" | "resolving" | "interrupted";
23561
23516
  statusReason: string | null;
23562
23517
  createdAt: number;
23563
23518
  resolvedAt: number | null;
@@ -23752,7 +23707,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23752
23707
  title: string | null;
23753
23708
  titleFallback: string | null;
23754
23709
  sectionId: string | null;
23755
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23710
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23756
23711
  parentThreadId: string | null;
23757
23712
  lifecycleOwnerThreadId: string | null;
23758
23713
  sourceThreadId: string | null;
@@ -23768,7 +23723,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23768
23723
  createdAt: number;
23769
23724
  updatedAt: number;
23770
23725
  runtime: {
23771
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23726
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23772
23727
  };
23773
23728
  activeBackgroundAgentCount: number;
23774
23729
  canRestoreEnvironment: boolean;
@@ -23793,7 +23748,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23793
23748
  title: string | null;
23794
23749
  titleFallback: string | null;
23795
23750
  sectionId: string | null;
23796
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23751
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23797
23752
  parentThreadId: string | null;
23798
23753
  lifecycleOwnerThreadId: string | null;
23799
23754
  sourceThreadId: string | null;
@@ -23809,7 +23764,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23809
23764
  createdAt: number;
23810
23765
  updatedAt: number;
23811
23766
  runtime: {
23812
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23767
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23813
23768
  };
23814
23769
  activeBackgroundAgentCount: number;
23815
23770
  canRestoreEnvironment: boolean;
@@ -23834,7 +23789,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23834
23789
  title: string | null;
23835
23790
  titleFallback: string | null;
23836
23791
  sectionId: string | null;
23837
- status: "error" | "stopping" | "pending" | "idle" | "starting" | "active";
23792
+ status: "error" | "pending" | "idle" | "starting" | "active" | "stopping";
23838
23793
  parentThreadId: string | null;
23839
23794
  lifecycleOwnerThreadId: string | null;
23840
23795
  sourceThreadId: string | null;
@@ -23850,7 +23805,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23850
23805
  createdAt: number;
23851
23806
  updatedAt: number;
23852
23807
  runtime: {
23853
- displayStatus: "error" | "provisioning" | "stopping" | "pending" | "idle" | "starting" | "active" | "waiting-for-host";
23808
+ displayStatus: "error" | "pending" | "idle" | "starting" | "active" | "stopping" | "provisioning" | "waiting-for-host";
23854
23809
  };
23855
23810
  activeBackgroundAgentCount: number;
23856
23811
  canRestoreEnvironment: boolean;
@@ -23927,7 +23882,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23927
23882
  workflowName: string | null;
23928
23883
  description: string;
23929
23884
  model: string | null;
23930
- taskStatus: "pending" | "completed" | "failed" | "running" | "paused" | "killed" | "stopped";
23885
+ taskStatus: "pending" | "failed" | "completed" | "running" | "paused" | "killed" | "stopped";
23931
23886
  workflow: {
23932
23887
  phases: {
23933
23888
  index: number;
@@ -23937,7 +23892,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
23937
23892
  agents: {
23938
23893
  index: number;
23939
23894
  label: string;
23940
- state: "failed" | "running" | "queued" | "done" | "skipped";
23895
+ state: "failed" | "skipped" | "running" | "done" | "queued";
23941
23896
  model: string;
23942
23897
  attempt: number;
23943
23898
  cached: boolean;
@@ -24005,7 +23960,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24005
23960
  workflowName: string | null;
24006
23961
  description: string;
24007
23962
  model: string | null;
24008
- taskStatus: "pending" | "completed" | "failed" | "running" | "paused" | "killed" | "stopped";
23963
+ taskStatus: "pending" | "failed" | "completed" | "running" | "paused" | "killed" | "stopped";
24009
23964
  workflow: {
24010
23965
  phases: {
24011
23966
  index: number;
@@ -24015,7 +23970,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24015
23970
  agents: {
24016
23971
  index: number;
24017
23972
  label: string;
24018
- state: "failed" | "running" | "queued" | "done" | "skipped";
23973
+ state: "failed" | "skipped" | "running" | "done" | "queued";
24019
23974
  model: string;
24020
23975
  attempt: number;
24021
23976
  cached: boolean;
@@ -24086,11 +24041,11 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24086
24041
  timeUsedSeconds: number;
24087
24042
  } | null;
24088
24043
  providerCommands: {
24044
+ origin: "project" | "builtin" | "user";
24045
+ description: string | null;
24089
24046
  source: "command" | "skill";
24090
24047
  name: string;
24091
- origin: "user" | "project" | "builtin";
24092
24048
  argumentHint: string | null;
24093
- description: string | null;
24094
24049
  }[] | null;
24095
24050
  sessionOptions: ({
24096
24051
  type: "select";
@@ -24335,7 +24290,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24335
24290
  threadName: string;
24336
24291
  outcomes?: {
24337
24292
  threadId: string;
24338
- status: "completed" | "interrupted" | "failed";
24293
+ status: "failed" | "completed" | "interrupted";
24339
24294
  interruption?: {
24340
24295
  reason: "manual-stop" | "host-daemon-restarted" | "host-removed" | "provider-turn-idle";
24341
24296
  cause?: "host-connection-lost" | undefined;
@@ -24346,7 +24301,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24346
24301
  count: number;
24347
24302
  outcomes?: {
24348
24303
  threadId: string;
24349
- status: "completed" | "interrupted" | "failed";
24304
+ status: "failed" | "completed" | "interrupted";
24350
24305
  interruption?: {
24351
24306
  reason: "manual-stop" | "host-daemon-restarted" | "host-removed" | "provider-turn-idle";
24352
24307
  cause?: "host-connection-lost" | undefined;
@@ -24397,7 +24352,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24397
24352
  trigger: "/" | "$";
24398
24353
  name: string;
24399
24354
  source: "command" | "skill";
24400
- origin: "user" | "project" | "builtin";
24355
+ origin: "project" | "builtin" | "user";
24401
24356
  label: string;
24402
24357
  argumentHint: string | null;
24403
24358
  } | {
@@ -24479,7 +24434,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24479
24434
  threadName: string;
24480
24435
  outcomes?: {
24481
24436
  threadId: string;
24482
- status: "completed" | "interrupted" | "failed";
24437
+ status: "failed" | "completed" | "interrupted";
24483
24438
  interruption?: {
24484
24439
  reason: "manual-stop" | "host-daemon-restarted" | "host-removed" | "provider-turn-idle";
24485
24440
  cause?: "host-connection-lost" | undefined;
@@ -24490,7 +24445,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24490
24445
  count: number;
24491
24446
  outcomes?: {
24492
24447
  threadId: string;
24493
- status: "completed" | "interrupted" | "failed";
24448
+ status: "failed" | "completed" | "interrupted";
24494
24449
  interruption?: {
24495
24450
  reason: "manual-stop" | "host-daemon-restarted" | "host-removed" | "provider-turn-idle";
24496
24451
  cause?: "host-connection-lost" | undefined;
@@ -24541,7 +24496,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24541
24496
  trigger: "/" | "$";
24542
24497
  name: string;
24543
24498
  source: "command" | "skill";
24544
- origin: "user" | "project" | "builtin";
24499
+ origin: "project" | "builtin" | "user";
24545
24500
  label: string;
24546
24501
  argumentHint: string | null;
24547
24502
  } | {
@@ -24623,7 +24578,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24623
24578
  threadName: string;
24624
24579
  outcomes?: {
24625
24580
  threadId: string;
24626
- status: "completed" | "interrupted" | "failed";
24581
+ status: "failed" | "completed" | "interrupted";
24627
24582
  interruption?: {
24628
24583
  reason: "manual-stop" | "host-daemon-restarted" | "host-removed" | "provider-turn-idle";
24629
24584
  cause?: "host-connection-lost" | undefined;
@@ -24634,7 +24589,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24634
24589
  count: number;
24635
24590
  outcomes?: {
24636
24591
  threadId: string;
24637
- status: "completed" | "interrupted" | "failed";
24592
+ status: "failed" | "completed" | "interrupted";
24638
24593
  interruption?: {
24639
24594
  reason: "manual-stop" | "host-daemon-restarted" | "host-removed" | "provider-turn-idle";
24640
24595
  cause?: "host-connection-lost" | undefined;
@@ -24685,7 +24640,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24685
24640
  trigger: "/" | "$";
24686
24641
  name: string;
24687
24642
  source: "command" | "skill";
24688
- origin: "user" | "project" | "builtin";
24643
+ origin: "project" | "builtin" | "user";
24689
24644
  label: string;
24690
24645
  argumentHint: string | null;
24691
24646
  } | {
@@ -24897,7 +24852,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24897
24852
  trigger: "/" | "$";
24898
24853
  name: string;
24899
24854
  source: "command" | "skill";
24900
- origin: "user" | "project" | "builtin";
24855
+ origin: "project" | "builtin" | "user";
24901
24856
  label: string;
24902
24857
  argumentHint: string | null;
24903
24858
  } | {
@@ -25207,7 +25162,7 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
25207
25162
  holdStartedAt: string | null;
25208
25163
  deadlineAt: string | null;
25209
25164
  blocker: string | null;
25210
- state: "failed" | "waiting" | "cancelled" | "preparing" | "holding" | "abandoned" | "updated";
25165
+ state: "waiting" | "failed" | "cancelled" | "preparing" | "holding" | "abandoned" | "updated";
25211
25166
  reason: string | null;
25212
25167
  result: {
25213
25168
  message: string | null;
@@ -25407,12 +25362,12 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
25407
25362
  name: "onboarding_sign_in";
25408
25363
  properties: {
25409
25364
  entry: "first_run" | "replay";
25410
- outcome: "ready" | "failed" | "cancelled" | "started" | "exited";
25365
+ outcome: "failed" | "cancelled" | "ready" | "started" | "exited";
25411
25366
  };
25412
25367
  } | {
25413
25368
  name: "new_thread_submit";
25414
25369
  properties: {
25415
- outcome: "accepted" | "failed" | "started";
25370
+ outcome: "failed" | "started" | "accepted";
25416
25371
  };
25417
25372
  } | {
25418
25373
  name: "onboarding_started";
@@ -25423,27 +25378,27 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
25423
25378
  } | {
25424
25379
  name: "onboarding_step_reached";
25425
25380
  properties: {
25426
- step: "agent" | "projects" | "plugins" | "integrations" | "plugin_step" | "devices";
25381
+ step: "projects" | "agent" | "plugins" | "integrations" | "plugin_step" | "devices";
25427
25382
  entry: "first_run" | "replay";
25428
25383
  };
25429
25384
  } | {
25430
25385
  name: "onboarding_step_completed";
25431
25386
  properties: {
25432
- step: "agent" | "projects" | "plugins" | "integrations" | "plugin_step" | "devices";
25387
+ step: "projects" | "agent" | "plugins" | "integrations" | "plugin_step" | "devices";
25433
25388
  entry: "first_run" | "replay";
25434
25389
  };
25435
25390
  } | {
25436
25391
  name: "onboarding_step_skipped";
25437
25392
  properties: {
25438
- step: "agent" | "projects" | "plugins" | "integrations" | "plugin_step" | "devices";
25393
+ step: "projects" | "agent" | "plugins" | "integrations" | "plugin_step" | "devices";
25439
25394
  entry: "first_run" | "replay";
25440
25395
  };
25441
25396
  } | {
25442
25397
  name: "onboarding_finished";
25443
25398
  properties: {
25444
- outcome: "completed" | "skipped";
25399
+ outcome: "skipped" | "completed";
25445
25400
  entry: "first_run" | "replay";
25446
- last_step: "agent" | "projects" | "plugins" | "integrations" | "plugin_step" | "devices";
25401
+ last_step: "projects" | "agent" | "plugins" | "integrations" | "plugin_step" | "devices";
25447
25402
  };
25448
25403
  };
25449
25404
  }, {
@@ -25614,6 +25569,51 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
25614
25569
  }, 200, "json">;
25615
25570
  }>;
25616
25571
  };
25572
+ } & {
25573
+ preferences: {
25574
+ ui: hono_client.ClientRequest<string, "/preferences/ui", {
25575
+ $get: Endpoint<EmptyInput, UiPreferencesResponse, 200, "json">;
25576
+ }>;
25577
+ };
25578
+ } & {
25579
+ preferences: {
25580
+ ui: {
25581
+ ":key": hono_client.ClientRequest<string, "/preferences/ui/:key", {
25582
+ $put: Endpoint<PathUiPreferenceKey & {
25583
+ json: {
25584
+ expectedRevision: number;
25585
+ value: unknown;
25586
+ };
25587
+ }, UiPreferenceResponse<"sidebar.organizationMode" | "sidebar.threadGrouping.environment" | "sidebar.chronologicalSort" | "sidebar.sortDirection" | "sidebar.sectionOrder" | "sidebar.manualSectionOrder" | "sidebar.machineSectionOrder" | "sidebar.hiddenGroups" | "sidebar.footerOrder" | "sidebar.hiddenFooterItems" | "sidebar.pluginPanelOrder" | "sidebar.visiblePluginPanels" | "sidebar.navigationProvider" | "sidebar.threadListProvider" | "composer.provider" | "home.provider" | "infoPanel.collapsedSections">, 200, "json"> | Endpoint<PathUiPreferenceKey & {
25588
+ json: {
25589
+ expectedRevision: number;
25590
+ value: unknown;
25591
+ };
25592
+ }, {
25593
+ code: string;
25594
+ message: string;
25595
+ details?: unknown;
25596
+ retryable?: boolean | undefined;
25597
+ }, 404, "json"> | Endpoint<PathUiPreferenceKey & {
25598
+ json: {
25599
+ expectedRevision: number;
25600
+ value: unknown;
25601
+ };
25602
+ }, {
25603
+ code: string;
25604
+ message: string;
25605
+ details?: unknown;
25606
+ retryable?: boolean | undefined;
25607
+ }, 409, "json">;
25608
+ $delete: Endpoint<PathUiPreferenceKey, UiPreferenceResponse<"sidebar.organizationMode" | "sidebar.threadGrouping.environment" | "sidebar.chronologicalSort" | "sidebar.sortDirection" | "sidebar.sectionOrder" | "sidebar.manualSectionOrder" | "sidebar.machineSectionOrder" | "sidebar.hiddenGroups" | "sidebar.footerOrder" | "sidebar.hiddenFooterItems" | "sidebar.pluginPanelOrder" | "sidebar.visiblePluginPanels" | "sidebar.navigationProvider" | "sidebar.threadListProvider" | "composer.provider" | "home.provider" | "infoPanel.collapsedSections">, 200, "json"> | Endpoint<PathUiPreferenceKey, {
25609
+ code: string;
25610
+ message: string;
25611
+ details?: unknown;
25612
+ retryable?: boolean | undefined;
25613
+ }, 404, "json">;
25614
+ }>;
25615
+ };
25616
+ };
25617
25617
  } & {
25618
25618
  settings: {
25619
25619
  themes: hono_client.ClientRequest<string, "/settings/themes", {
@@ -26988,9 +26988,9 @@ declare const permissionPolicySchema: z$1.ZodObject<{
26988
26988
  base: z$1.ZodString;
26989
26989
  network: z$1.ZodObject<{
26990
26990
  level: z$1.ZodEnum<{
26991
+ open: "open";
26991
26992
  internet: "internet";
26992
26993
  allowlist: "allowlist";
26993
- open: "open";
26994
26994
  }>;
26995
26995
  allow: z$1.ZodArray<z$1.ZodString>;
26996
26996
  }, z$1.core.$strip>;
@@ -27113,8 +27113,8 @@ declare const permissionConfigSchema: z$1.ZodObject<{
27113
27113
  status: z$1.ZodEnum<{
27114
27114
  failed: "failed";
27115
27115
  running: "running";
27116
- queued: "queued";
27117
27116
  done: "done";
27117
+ queued: "queued";
27118
27118
  }>;
27119
27119
  dryRun: z$1.ZodBoolean;
27120
27120
  code: z$1.ZodNullable<z$1.ZodNumber>;