@get-bb/plugin-sdk 0.5.30 → 0.5.31

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.
@@ -341,7 +341,6 @@ type AppThemeSelection = z$1.infer<typeof appThemeSelectionSchema>;
341
341
  declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
342
342
  changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
343
343
  "archived-changed": "archived-changed";
344
- "draft-changed": "draft-changed";
345
344
  "environment-changed": "environment-changed";
346
345
  "events-appended": "events-appended";
347
346
  "history-rewritten": "history-rewritten";
@@ -376,7 +375,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
376
375
  latestAttentionAt: z$1.ZodNumber;
377
376
  runtime: z$1.ZodObject<{
378
377
  displayStatus: z$1.ZodEnum<{
379
- "host-reconnecting": "host-reconnecting";
380
378
  "waiting-for-host": "waiting-for-host";
381
379
  active: "active";
382
380
  error: "error";
@@ -386,7 +384,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
386
384
  starting: "starting";
387
385
  stopping: "stopping";
388
386
  }>;
389
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
390
387
  }, z$1.core.$strip>;
391
388
  status: z$1.ZodEnum<{
392
389
  active: "active";
@@ -4209,7 +4206,6 @@ declare const threadTimelinePendingTodosSchema: z$1.ZodObject<{
4209
4206
  type ThreadTimelinePendingTodos = z$1.infer<typeof threadTimelinePendingTodosSchema>;
4210
4207
 
4211
4208
  declare const threadRuntimeDisplayStatusSchema: z$1.ZodEnum<{
4212
- "host-reconnecting": "host-reconnecting";
4213
4209
  "waiting-for-host": "waiting-for-host";
4214
4210
  active: "active";
4215
4211
  error: "error";
@@ -4902,7 +4898,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4902
4898
  }>;
4903
4899
  runtime: z$1.ZodObject<{
4904
4900
  displayStatus: z$1.ZodEnum<{
4905
- "host-reconnecting": "host-reconnecting";
4906
4901
  "waiting-for-host": "waiting-for-host";
4907
4902
  active: "active";
4908
4903
  error: "error";
@@ -4912,7 +4907,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4912
4907
  starting: "starting";
4913
4908
  stopping: "stopping";
4914
4909
  }>;
4915
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
4916
4910
  }, z$1.core.$strip>;
4917
4911
  sectionId: z$1.ZodNullable<z$1.ZodString>;
4918
4912
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -5022,7 +5016,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5022
5016
  }>;
5023
5017
  runtime: z$1.ZodObject<{
5024
5018
  displayStatus: z$1.ZodEnum<{
5025
- "host-reconnecting": "host-reconnecting";
5026
5019
  "waiting-for-host": "waiting-for-host";
5027
5020
  active: "active";
5028
5021
  error: "error";
@@ -5032,7 +5025,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5032
5025
  starting: "starting";
5033
5026
  stopping: "stopping";
5034
5027
  }>;
5035
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
5036
5028
  }, z$1.core.$strip>;
5037
5029
  sectionId: z$1.ZodNullable<z$1.ZodString>;
5038
5030
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -5140,7 +5132,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5140
5132
  }>;
5141
5133
  runtime: z$1.ZodObject<{
5142
5134
  displayStatus: z$1.ZodEnum<{
5143
- "host-reconnecting": "host-reconnecting";
5144
5135
  "waiting-for-host": "waiting-for-host";
5145
5136
  active: "active";
5146
5137
  error: "error";
@@ -5150,7 +5141,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5150
5141
  starting: "starting";
5151
5142
  stopping: "stopping";
5152
5143
  }>;
5153
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
5154
5144
  }, z$1.core.$strip>;
5155
5145
  sectionId: z$1.ZodNullable<z$1.ZodString>;
5156
5146
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -11982,7 +11972,6 @@ declare const createExecutionInputSourcesSchema: z$1.ZodObject<{
11982
11972
  }, z$1.core.$strict>;
11983
11973
  type CreateExecutionInputSources = z$1.infer<typeof createExecutionInputSourcesSchema>;
11984
11974
  declare const createThreadRequestSchema: z$1.ZodObject<{
11985
- draft: z$1.ZodOptional<z$1.ZodBoolean>;
11986
11975
  environment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
11987
11976
  environmentId: z$1.ZodString;
11988
11977
  type: z$1.ZodLiteral<"reuse">;
@@ -13017,91 +13006,6 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13017
13006
  }>>;
13018
13007
  }, z$1.core.$strip>;
13019
13008
  type CreateQueuedMessageRequest = z$1.infer<typeof createQueuedMessageRequestSchema>;
13020
- declare const updateThreadDraftRequestSchema: z$1.ZodObject<{
13021
- input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13022
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13023
- end: z$1.ZodNumber;
13024
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13025
- kind: z$1.ZodLiteral<"thread">;
13026
- label: z$1.ZodString;
13027
- projectId: z$1.ZodOptional<z$1.ZodString>;
13028
- threadId: z$1.ZodString;
13029
- }, z$1.core.$strip>, z$1.ZodObject<{
13030
- kind: z$1.ZodLiteral<"project">;
13031
- label: z$1.ZodString;
13032
- projectId: z$1.ZodString;
13033
- }, z$1.core.$strip>, z$1.ZodObject<{
13034
- kind: z$1.ZodLiteral<"section">;
13035
- label: z$1.ZodString;
13036
- sectionId: z$1.ZodString;
13037
- }, z$1.core.$strip>, z$1.ZodObject<{
13038
- entryKind: z$1.ZodEnum<{
13039
- directory: "directory";
13040
- file: "file";
13041
- }>;
13042
- kind: z$1.ZodLiteral<"path">;
13043
- label: z$1.ZodString;
13044
- path: z$1.ZodString;
13045
- source: z$1.ZodEnum<{
13046
- "thread-storage": "thread-storage";
13047
- workspace: "workspace";
13048
- }>;
13049
- }, z$1.core.$strip>, z$1.ZodObject<{
13050
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
13051
- kind: z$1.ZodLiteral<"command">;
13052
- label: z$1.ZodString;
13053
- name: z$1.ZodString;
13054
- origin: z$1.ZodEnum<{
13055
- builtin: "builtin";
13056
- project: "project";
13057
- user: "user";
13058
- }>;
13059
- source: z$1.ZodEnum<{
13060
- command: "command";
13061
- skill: "skill";
13062
- }>;
13063
- trigger: z$1.ZodEnum<{
13064
- "/": "/";
13065
- $: "$";
13066
- }>;
13067
- }, z$1.core.$strip>, z$1.ZodObject<{
13068
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
13069
- itemId: z$1.ZodString;
13070
- kind: z$1.ZodLiteral<"plugin">;
13071
- label: z$1.ZodString;
13072
- pluginId: z$1.ZodString;
13073
- }, z$1.core.$strip>], "kind">>;
13074
- start: z$1.ZodNumber;
13075
- }, z$1.core.$strip>>>;
13076
- text: z$1.ZodString;
13077
- type: z$1.ZodLiteral<"text">;
13078
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13079
- "agent-only": "agent-only";
13080
- }>>;
13081
- }, z$1.core.$strip>, z$1.ZodObject<{
13082
- type: z$1.ZodLiteral<"image">;
13083
- url: z$1.ZodString;
13084
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13085
- "agent-only": "agent-only";
13086
- }>>;
13087
- }, z$1.core.$strip>, z$1.ZodObject<{
13088
- path: z$1.ZodString;
13089
- type: z$1.ZodLiteral<"localImage">;
13090
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13091
- "agent-only": "agent-only";
13092
- }>>;
13093
- }, z$1.core.$strip>, z$1.ZodObject<{
13094
- mimeType: z$1.ZodOptional<z$1.ZodString>;
13095
- name: z$1.ZodOptional<z$1.ZodString>;
13096
- path: z$1.ZodString;
13097
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
13098
- type: z$1.ZodLiteral<"localFile">;
13099
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13100
- "agent-only": "agent-only";
13101
- }>>;
13102
- }, z$1.core.$strip>], "type">>;
13103
- }, z$1.core.$strict>;
13104
- type UpdateThreadDraftRequest = z$1.infer<typeof updateThreadDraftRequestSchema>;
13105
13009
  declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13106
13010
  expectedUpdatedAt: z$1.ZodNumber;
13107
13011
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -13411,7 +13315,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
13411
13315
  }>;
13412
13316
  runtime: z$1.ZodObject<{
13413
13317
  displayStatus: z$1.ZodEnum<{
13414
- "host-reconnecting": "host-reconnecting";
13415
13318
  "waiting-for-host": "waiting-for-host";
13416
13319
  active: "active";
13417
13320
  error: "error";
@@ -13421,7 +13324,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
13421
13324
  starting: "starting";
13422
13325
  stopping: "stopping";
13423
13326
  }>;
13424
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13425
13327
  }, z$1.core.$strip>;
13426
13328
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13427
13329
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13514,7 +13416,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13514
13416
  }>;
13515
13417
  runtime: z$1.ZodObject<{
13516
13418
  displayStatus: z$1.ZodEnum<{
13517
- "host-reconnecting": "host-reconnecting";
13518
13419
  "waiting-for-host": "waiting-for-host";
13519
13420
  active: "active";
13520
13421
  error: "error";
@@ -13524,7 +13425,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13524
13425
  starting: "starting";
13525
13426
  stopping: "stopping";
13526
13427
  }>;
13527
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13528
13428
  }, z$1.core.$strip>;
13529
13429
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13530
13430
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13608,7 +13508,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13608
13508
  }>;
13609
13509
  runtime: z$1.ZodObject<{
13610
13510
  displayStatus: z$1.ZodEnum<{
13611
- "host-reconnecting": "host-reconnecting";
13612
13511
  "waiting-for-host": "waiting-for-host";
13613
13512
  active: "active";
13614
13513
  error: "error";
@@ -13618,7 +13517,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13618
13517
  starting: "starting";
13619
13518
  stopping: "stopping";
13620
13519
  }>;
13621
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13622
13520
  }, z$1.core.$strip>;
13623
13521
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13624
13522
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13650,88 +13548,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
13650
13548
  canSpawnChild: z$1.ZodBoolean;
13651
13549
  createdAt: z$1.ZodNumber;
13652
13550
  deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
13653
- draft: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13654
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13655
- end: z$1.ZodNumber;
13656
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13657
- kind: z$1.ZodLiteral<"thread">;
13658
- label: z$1.ZodString;
13659
- projectId: z$1.ZodOptional<z$1.ZodString>;
13660
- threadId: z$1.ZodString;
13661
- }, z$1.core.$strip>, z$1.ZodObject<{
13662
- kind: z$1.ZodLiteral<"project">;
13663
- label: z$1.ZodString;
13664
- projectId: z$1.ZodString;
13665
- }, z$1.core.$strip>, z$1.ZodObject<{
13666
- kind: z$1.ZodLiteral<"section">;
13667
- label: z$1.ZodString;
13668
- sectionId: z$1.ZodString;
13669
- }, z$1.core.$strip>, z$1.ZodObject<{
13670
- entryKind: z$1.ZodEnum<{
13671
- directory: "directory";
13672
- file: "file";
13673
- }>;
13674
- kind: z$1.ZodLiteral<"path">;
13675
- label: z$1.ZodString;
13676
- path: z$1.ZodString;
13677
- source: z$1.ZodEnum<{
13678
- "thread-storage": "thread-storage";
13679
- workspace: "workspace";
13680
- }>;
13681
- }, z$1.core.$strip>, z$1.ZodObject<{
13682
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
13683
- kind: z$1.ZodLiteral<"command">;
13684
- label: z$1.ZodString;
13685
- name: z$1.ZodString;
13686
- origin: z$1.ZodEnum<{
13687
- builtin: "builtin";
13688
- project: "project";
13689
- user: "user";
13690
- }>;
13691
- source: z$1.ZodEnum<{
13692
- command: "command";
13693
- skill: "skill";
13694
- }>;
13695
- trigger: z$1.ZodEnum<{
13696
- "/": "/";
13697
- $: "$";
13698
- }>;
13699
- }, z$1.core.$strip>, z$1.ZodObject<{
13700
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
13701
- itemId: z$1.ZodString;
13702
- kind: z$1.ZodLiteral<"plugin">;
13703
- label: z$1.ZodString;
13704
- pluginId: z$1.ZodString;
13705
- }, z$1.core.$strip>], "kind">>;
13706
- start: z$1.ZodNumber;
13707
- }, z$1.core.$strip>>>;
13708
- text: z$1.ZodString;
13709
- type: z$1.ZodLiteral<"text">;
13710
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13711
- "agent-only": "agent-only";
13712
- }>>;
13713
- }, z$1.core.$strip>, z$1.ZodObject<{
13714
- type: z$1.ZodLiteral<"image">;
13715
- url: z$1.ZodString;
13716
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13717
- "agent-only": "agent-only";
13718
- }>>;
13719
- }, z$1.core.$strip>, z$1.ZodObject<{
13720
- path: z$1.ZodString;
13721
- type: z$1.ZodLiteral<"localImage">;
13722
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13723
- "agent-only": "agent-only";
13724
- }>>;
13725
- }, z$1.core.$strip>, z$1.ZodObject<{
13726
- mimeType: z$1.ZodOptional<z$1.ZodString>;
13727
- name: z$1.ZodOptional<z$1.ZodString>;
13728
- path: z$1.ZodString;
13729
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
13730
- type: z$1.ZodLiteral<"localFile">;
13731
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13732
- "agent-only": "agent-only";
13733
- }>>;
13734
- }, z$1.core.$strip>], "type">>>;
13735
13551
  environmentId: z$1.ZodNullable<z$1.ZodString>;
13736
13552
  id: z$1.ZodString;
13737
13553
  lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
@@ -13748,7 +13564,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
13748
13564
  queuedMessageCount: z$1.ZodNumber;
13749
13565
  runtime: z$1.ZodObject<{
13750
13566
  displayStatus: z$1.ZodEnum<{
13751
- "host-reconnecting": "host-reconnecting";
13752
13567
  "waiting-for-host": "waiting-for-host";
13753
13568
  active: "active";
13754
13569
  error: "error";
@@ -13758,7 +13573,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
13758
13573
  starting: "starting";
13759
13574
  stopping: "stopping";
13760
13575
  }>;
13761
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13762
13576
  }, z$1.core.$strip>;
13763
13577
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13764
13578
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13791,88 +13605,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
13791
13605
  canSpawnChild: z$1.ZodBoolean;
13792
13606
  createdAt: z$1.ZodNumber;
13793
13607
  deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
13794
- draft: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13795
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13796
- end: z$1.ZodNumber;
13797
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13798
- kind: z$1.ZodLiteral<"thread">;
13799
- label: z$1.ZodString;
13800
- projectId: z$1.ZodOptional<z$1.ZodString>;
13801
- threadId: z$1.ZodString;
13802
- }, z$1.core.$strip>, z$1.ZodObject<{
13803
- kind: z$1.ZodLiteral<"project">;
13804
- label: z$1.ZodString;
13805
- projectId: z$1.ZodString;
13806
- }, z$1.core.$strip>, z$1.ZodObject<{
13807
- kind: z$1.ZodLiteral<"section">;
13808
- label: z$1.ZodString;
13809
- sectionId: z$1.ZodString;
13810
- }, z$1.core.$strip>, z$1.ZodObject<{
13811
- entryKind: z$1.ZodEnum<{
13812
- directory: "directory";
13813
- file: "file";
13814
- }>;
13815
- kind: z$1.ZodLiteral<"path">;
13816
- label: z$1.ZodString;
13817
- path: z$1.ZodString;
13818
- source: z$1.ZodEnum<{
13819
- "thread-storage": "thread-storage";
13820
- workspace: "workspace";
13821
- }>;
13822
- }, z$1.core.$strip>, z$1.ZodObject<{
13823
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
13824
- kind: z$1.ZodLiteral<"command">;
13825
- label: z$1.ZodString;
13826
- name: z$1.ZodString;
13827
- origin: z$1.ZodEnum<{
13828
- builtin: "builtin";
13829
- project: "project";
13830
- user: "user";
13831
- }>;
13832
- source: z$1.ZodEnum<{
13833
- command: "command";
13834
- skill: "skill";
13835
- }>;
13836
- trigger: z$1.ZodEnum<{
13837
- "/": "/";
13838
- $: "$";
13839
- }>;
13840
- }, z$1.core.$strip>, z$1.ZodObject<{
13841
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
13842
- itemId: z$1.ZodString;
13843
- kind: z$1.ZodLiteral<"plugin">;
13844
- label: z$1.ZodString;
13845
- pluginId: z$1.ZodString;
13846
- }, z$1.core.$strip>], "kind">>;
13847
- start: z$1.ZodNumber;
13848
- }, z$1.core.$strip>>>;
13849
- text: z$1.ZodString;
13850
- type: z$1.ZodLiteral<"text">;
13851
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13852
- "agent-only": "agent-only";
13853
- }>>;
13854
- }, z$1.core.$strip>, z$1.ZodObject<{
13855
- type: z$1.ZodLiteral<"image">;
13856
- url: z$1.ZodString;
13857
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13858
- "agent-only": "agent-only";
13859
- }>>;
13860
- }, z$1.core.$strip>, z$1.ZodObject<{
13861
- path: z$1.ZodString;
13862
- type: z$1.ZodLiteral<"localImage">;
13863
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13864
- "agent-only": "agent-only";
13865
- }>>;
13866
- }, z$1.core.$strip>, z$1.ZodObject<{
13867
- mimeType: z$1.ZodOptional<z$1.ZodString>;
13868
- name: z$1.ZodOptional<z$1.ZodString>;
13869
- path: z$1.ZodString;
13870
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
13871
- type: z$1.ZodLiteral<"localFile">;
13872
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13873
- "agent-only": "agent-only";
13874
- }>>;
13875
- }, z$1.core.$strip>], "type">>>;
13876
13608
  environment: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
13877
13609
  baseBranch: z$1.ZodNullable<z$1.ZodString>;
13878
13610
  branchName: z$1.ZodNullable<z$1.ZodString>;
@@ -13999,7 +13731,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
13999
13731
  queuedMessageCount: z$1.ZodNumber;
14000
13732
  runtime: z$1.ZodObject<{
14001
13733
  displayStatus: z$1.ZodEnum<{
14002
- "host-reconnecting": "host-reconnecting";
14003
13734
  "waiting-for-host": "waiting-for-host";
14004
13735
  active: "active";
14005
13736
  error: "error";
@@ -14009,7 +13740,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14009
13740
  starting: "starting";
14010
13741
  stopping: "stopping";
14011
13742
  }>;
14012
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
14013
13743
  }, z$1.core.$strip>;
14014
13744
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14015
13745
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -16804,9 +16534,6 @@ interface ThreadForkArgs extends Omit<ForkThreadRequest, "origin" | "visibility"
16804
16534
  interface ThreadUpdateArgs extends UpdateThreadRequest {
16805
16535
  threadId: string;
16806
16536
  }
16807
- interface ThreadUpdateDraftArgs extends UpdateThreadDraftRequest {
16808
- threadId: string;
16809
- }
16810
16537
  interface ThreadPluginMetadataArgs {
16811
16538
  pluginId: string;
16812
16539
  signal?: AbortSignal;
@@ -17090,12 +16817,6 @@ interface ThreadsArea {
17090
16817
  unarchive(args: ThreadActionArgs): Promise<ThreadUnarchiveResult>;
17091
16818
  unpin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
17092
16819
  update(args: ThreadUpdateArgs): Promise<ThreadMutationResult>;
17093
- /**
17094
- * Replace the thread's saved, unsent draft message. An empty `input` clears
17095
- * it. On a `pending` thread the draft also becomes the thread's fallback
17096
- * title. Sending a message does not clear the draft; clear it explicitly.
17097
- */
17098
- updateDraft(args: ThreadUpdateDraftArgs): Promise<ThreadMutationResult>;
17099
16820
  wait(args: ThreadWaitArgs): Promise<ThreadWaitResult>;
17100
16821
  }
17101
16822
 
@@ -18088,9 +17809,9 @@ interface PluginSidebarThread {
18088
17809
  */
18089
17810
  status: ThreadStatus;
18090
17811
  /**
18091
- * `status` refined by host and environment state: adds "provisioning",
18092
- * "host-reconnecting", and "waiting-for-host" for a thread whose machine is
18093
- * not ready. Treat an unknown value as `status`.
17812
+ * `status` refined by host and environment state: adds "provisioning" and
17813
+ * "waiting-for-host" for a thread whose machine is not ready. Treat an
17814
+ * unknown value as `status`.
18094
17815
  */
18095
17816
  runtimeStatus: ThreadRuntimeDisplayStatus;
18096
17817
  /**
@@ -146,88 +146,6 @@ declare const threadResponseSchema: z.ZodObject<{
146
146
  canSpawnChild: z.ZodBoolean;
147
147
  createdAt: z.ZodNumber;
148
148
  deletedAt: z.ZodNullable<z.ZodNumber>;
149
- draft: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
150
- mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
151
- end: z.ZodNumber;
152
- resource: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
153
- kind: z.ZodLiteral<"thread">;
154
- label: z.ZodString;
155
- projectId: z.ZodOptional<z.ZodString>;
156
- threadId: z.ZodString;
157
- }, z.core.$strip>, z.ZodObject<{
158
- kind: z.ZodLiteral<"project">;
159
- label: z.ZodString;
160
- projectId: z.ZodString;
161
- }, z.core.$strip>, z.ZodObject<{
162
- kind: z.ZodLiteral<"section">;
163
- label: z.ZodString;
164
- sectionId: z.ZodString;
165
- }, z.core.$strip>, z.ZodObject<{
166
- entryKind: z.ZodEnum<{
167
- directory: "directory";
168
- file: "file";
169
- }>;
170
- kind: z.ZodLiteral<"path">;
171
- label: z.ZodString;
172
- path: z.ZodString;
173
- source: z.ZodEnum<{
174
- "thread-storage": "thread-storage";
175
- workspace: "workspace";
176
- }>;
177
- }, z.core.$strip>, z.ZodObject<{
178
- argumentHint: z.ZodNullable<z.ZodString>;
179
- kind: z.ZodLiteral<"command">;
180
- label: z.ZodString;
181
- name: z.ZodString;
182
- origin: z.ZodEnum<{
183
- builtin: "builtin";
184
- project: "project";
185
- user: "user";
186
- }>;
187
- source: z.ZodEnum<{
188
- command: "command";
189
- skill: "skill";
190
- }>;
191
- trigger: z.ZodEnum<{
192
- "/": "/";
193
- $: "$";
194
- }>;
195
- }, z.core.$strip>, z.ZodObject<{
196
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
- itemId: z.ZodString;
198
- kind: z.ZodLiteral<"plugin">;
199
- label: z.ZodString;
200
- pluginId: z.ZodString;
201
- }, z.core.$strip>], "kind">>;
202
- start: z.ZodNumber;
203
- }, z.core.$strip>>>;
204
- text: z.ZodString;
205
- type: z.ZodLiteral<"text">;
206
- visibility: z.ZodOptional<z.ZodEnum<{
207
- "agent-only": "agent-only";
208
- }>>;
209
- }, z.core.$strip>, z.ZodObject<{
210
- type: z.ZodLiteral<"image">;
211
- url: z.ZodString;
212
- visibility: z.ZodOptional<z.ZodEnum<{
213
- "agent-only": "agent-only";
214
- }>>;
215
- }, z.core.$strip>, z.ZodObject<{
216
- path: z.ZodString;
217
- type: z.ZodLiteral<"localImage">;
218
- visibility: z.ZodOptional<z.ZodEnum<{
219
- "agent-only": "agent-only";
220
- }>>;
221
- }, z.core.$strip>, z.ZodObject<{
222
- mimeType: z.ZodOptional<z.ZodString>;
223
- name: z.ZodOptional<z.ZodString>;
224
- path: z.ZodString;
225
- sizeBytes: z.ZodOptional<z.ZodNumber>;
226
- type: z.ZodLiteral<"localFile">;
227
- visibility: z.ZodOptional<z.ZodEnum<{
228
- "agent-only": "agent-only";
229
- }>>;
230
- }, z.core.$strip>], "type">>>;
231
149
  environmentId: z.ZodNullable<z.ZodString>;
232
150
  id: z.ZodString;
233
151
  lastReadAt: z.ZodNullable<z.ZodNumber>;
@@ -244,7 +162,6 @@ declare const threadResponseSchema: z.ZodObject<{
244
162
  queuedMessageCount: z.ZodNumber;
245
163
  runtime: z.ZodObject<{
246
164
  displayStatus: z.ZodEnum<{
247
- "host-reconnecting": "host-reconnecting";
248
165
  "waiting-for-host": "waiting-for-host";
249
166
  active: "active";
250
167
  error: "error";
@@ -254,7 +171,6 @@ declare const threadResponseSchema: z.ZodObject<{
254
171
  starting: "starting";
255
172
  stopping: "stopping";
256
173
  }>;
257
- hostReconnectGraceExpiresAt: z.ZodNullable<z.ZodNumber>;
258
174
  }, z.core.$strip>;
259
175
  sectionId: z.ZodNullable<z.ZodString>;
260
176
  sourceThreadId: z.ZodNullable<z.ZodString>;
@@ -484,88 +484,6 @@ declare const threadResponseSchema: z.ZodObject<{
484
484
  canSpawnChild: z.ZodBoolean;
485
485
  createdAt: z.ZodNumber;
486
486
  deletedAt: z.ZodNullable<z.ZodNumber>;
487
- draft: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
488
- mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
489
- end: z.ZodNumber;
490
- resource: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
491
- kind: z.ZodLiteral<"thread">;
492
- label: z.ZodString;
493
- projectId: z.ZodOptional<z.ZodString>;
494
- threadId: z.ZodString;
495
- }, z.core.$strip>, z.ZodObject<{
496
- kind: z.ZodLiteral<"project">;
497
- label: z.ZodString;
498
- projectId: z.ZodString;
499
- }, z.core.$strip>, z.ZodObject<{
500
- kind: z.ZodLiteral<"section">;
501
- label: z.ZodString;
502
- sectionId: z.ZodString;
503
- }, z.core.$strip>, z.ZodObject<{
504
- entryKind: z.ZodEnum<{
505
- directory: "directory";
506
- file: "file";
507
- }>;
508
- kind: z.ZodLiteral<"path">;
509
- label: z.ZodString;
510
- path: z.ZodString;
511
- source: z.ZodEnum<{
512
- "thread-storage": "thread-storage";
513
- workspace: "workspace";
514
- }>;
515
- }, z.core.$strip>, z.ZodObject<{
516
- argumentHint: z.ZodNullable<z.ZodString>;
517
- kind: z.ZodLiteral<"command">;
518
- label: z.ZodString;
519
- name: z.ZodString;
520
- origin: z.ZodEnum<{
521
- builtin: "builtin";
522
- project: "project";
523
- user: "user";
524
- }>;
525
- source: z.ZodEnum<{
526
- command: "command";
527
- skill: "skill";
528
- }>;
529
- trigger: z.ZodEnum<{
530
- "/": "/";
531
- $: "$";
532
- }>;
533
- }, z.core.$strip>, z.ZodObject<{
534
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
535
- itemId: z.ZodString;
536
- kind: z.ZodLiteral<"plugin">;
537
- label: z.ZodString;
538
- pluginId: z.ZodString;
539
- }, z.core.$strip>], "kind">>;
540
- start: z.ZodNumber;
541
- }, z.core.$strip>>>;
542
- text: z.ZodString;
543
- type: z.ZodLiteral<"text">;
544
- visibility: z.ZodOptional<z.ZodEnum<{
545
- "agent-only": "agent-only";
546
- }>>;
547
- }, z.core.$strip>, z.ZodObject<{
548
- type: z.ZodLiteral<"image">;
549
- url: z.ZodString;
550
- visibility: z.ZodOptional<z.ZodEnum<{
551
- "agent-only": "agent-only";
552
- }>>;
553
- }, z.core.$strip>, z.ZodObject<{
554
- path: z.ZodString;
555
- type: z.ZodLiteral<"localImage">;
556
- visibility: z.ZodOptional<z.ZodEnum<{
557
- "agent-only": "agent-only";
558
- }>>;
559
- }, z.core.$strip>, z.ZodObject<{
560
- mimeType: z.ZodOptional<z.ZodString>;
561
- name: z.ZodOptional<z.ZodString>;
562
- path: z.ZodString;
563
- sizeBytes: z.ZodOptional<z.ZodNumber>;
564
- type: z.ZodLiteral<"localFile">;
565
- visibility: z.ZodOptional<z.ZodEnum<{
566
- "agent-only": "agent-only";
567
- }>>;
568
- }, z.core.$strip>], "type">>>;
569
487
  environmentId: z.ZodNullable<z.ZodString>;
570
488
  id: z.ZodString;
571
489
  lastReadAt: z.ZodNullable<z.ZodNumber>;
@@ -582,7 +500,6 @@ declare const threadResponseSchema: z.ZodObject<{
582
500
  queuedMessageCount: z.ZodNumber;
583
501
  runtime: z.ZodObject<{
584
502
  displayStatus: z.ZodEnum<{
585
- "host-reconnecting": "host-reconnecting";
586
503
  "waiting-for-host": "waiting-for-host";
587
504
  active: "active";
588
505
  error: "error";
@@ -592,7 +509,6 @@ declare const threadResponseSchema: z.ZodObject<{
592
509
  starting: "starting";
593
510
  stopping: "stopping";
594
511
  }>;
595
- hostReconnectGraceExpiresAt: z.ZodNullable<z.ZodNumber>;
596
512
  }, z.core.$strip>;
597
513
  sectionId: z.ZodNullable<z.ZodString>;
598
514
  sourceThreadId: z.ZodNullable<z.ZodString>;
@@ -277,88 +277,6 @@ declare const threadResponseSchema: z.ZodObject<{
277
277
  canSpawnChild: z.ZodBoolean;
278
278
  createdAt: z.ZodNumber;
279
279
  deletedAt: z.ZodNullable<z.ZodNumber>;
280
- draft: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
281
- mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
282
- end: z.ZodNumber;
283
- resource: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
284
- kind: z.ZodLiteral<"thread">;
285
- label: z.ZodString;
286
- projectId: z.ZodOptional<z.ZodString>;
287
- threadId: z.ZodString;
288
- }, z.core.$strip>, z.ZodObject<{
289
- kind: z.ZodLiteral<"project">;
290
- label: z.ZodString;
291
- projectId: z.ZodString;
292
- }, z.core.$strip>, z.ZodObject<{
293
- kind: z.ZodLiteral<"section">;
294
- label: z.ZodString;
295
- sectionId: z.ZodString;
296
- }, z.core.$strip>, z.ZodObject<{
297
- entryKind: z.ZodEnum<{
298
- directory: "directory";
299
- file: "file";
300
- }>;
301
- kind: z.ZodLiteral<"path">;
302
- label: z.ZodString;
303
- path: z.ZodString;
304
- source: z.ZodEnum<{
305
- "thread-storage": "thread-storage";
306
- workspace: "workspace";
307
- }>;
308
- }, z.core.$strip>, z.ZodObject<{
309
- argumentHint: z.ZodNullable<z.ZodString>;
310
- kind: z.ZodLiteral<"command">;
311
- label: z.ZodString;
312
- name: z.ZodString;
313
- origin: z.ZodEnum<{
314
- builtin: "builtin";
315
- project: "project";
316
- user: "user";
317
- }>;
318
- source: z.ZodEnum<{
319
- command: "command";
320
- skill: "skill";
321
- }>;
322
- trigger: z.ZodEnum<{
323
- "/": "/";
324
- $: "$";
325
- }>;
326
- }, z.core.$strip>, z.ZodObject<{
327
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
- itemId: z.ZodString;
329
- kind: z.ZodLiteral<"plugin">;
330
- label: z.ZodString;
331
- pluginId: z.ZodString;
332
- }, z.core.$strip>], "kind">>;
333
- start: z.ZodNumber;
334
- }, z.core.$strip>>>;
335
- text: z.ZodString;
336
- type: z.ZodLiteral<"text">;
337
- visibility: z.ZodOptional<z.ZodEnum<{
338
- "agent-only": "agent-only";
339
- }>>;
340
- }, z.core.$strip>, z.ZodObject<{
341
- type: z.ZodLiteral<"image">;
342
- url: z.ZodString;
343
- visibility: z.ZodOptional<z.ZodEnum<{
344
- "agent-only": "agent-only";
345
- }>>;
346
- }, z.core.$strip>, z.ZodObject<{
347
- path: z.ZodString;
348
- type: z.ZodLiteral<"localImage">;
349
- visibility: z.ZodOptional<z.ZodEnum<{
350
- "agent-only": "agent-only";
351
- }>>;
352
- }, z.core.$strip>, z.ZodObject<{
353
- mimeType: z.ZodOptional<z.ZodString>;
354
- name: z.ZodOptional<z.ZodString>;
355
- path: z.ZodString;
356
- sizeBytes: z.ZodOptional<z.ZodNumber>;
357
- type: z.ZodLiteral<"localFile">;
358
- visibility: z.ZodOptional<z.ZodEnum<{
359
- "agent-only": "agent-only";
360
- }>>;
361
- }, z.core.$strip>], "type">>>;
362
280
  environmentId: z.ZodNullable<z.ZodString>;
363
281
  id: z.ZodString;
364
282
  lastReadAt: z.ZodNullable<z.ZodNumber>;
@@ -375,7 +293,6 @@ declare const threadResponseSchema: z.ZodObject<{
375
293
  queuedMessageCount: z.ZodNumber;
376
294
  runtime: z.ZodObject<{
377
295
  displayStatus: z.ZodEnum<{
378
- "host-reconnecting": "host-reconnecting";
379
296
  "waiting-for-host": "waiting-for-host";
380
297
  active: "active";
381
298
  error: "error";
@@ -385,7 +302,6 @@ declare const threadResponseSchema: z.ZodObject<{
385
302
  starting: "starting";
386
303
  stopping: "stopping";
387
304
  }>;
388
- hostReconnectGraceExpiresAt: z.ZodNullable<z.ZodNumber>;
389
305
  }, z.core.$strip>;
390
306
  sectionId: z.ZodNullable<z.ZodString>;
391
307
  sourceThreadId: z.ZodNullable<z.ZodString>;
@@ -290,7 +290,6 @@ type AppThemeSelection = z$1.infer<typeof appThemeSelectionSchema>;
290
290
  declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
291
291
  changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
292
292
  "archived-changed": "archived-changed";
293
- "draft-changed": "draft-changed";
294
293
  "environment-changed": "environment-changed";
295
294
  "events-appended": "events-appended";
296
295
  "history-rewritten": "history-rewritten";
@@ -325,7 +324,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
325
324
  latestAttentionAt: z$1.ZodNumber;
326
325
  runtime: z$1.ZodObject<{
327
326
  displayStatus: z$1.ZodEnum<{
328
- "host-reconnecting": "host-reconnecting";
329
327
  "waiting-for-host": "waiting-for-host";
330
328
  active: "active";
331
329
  error: "error";
@@ -335,7 +333,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
335
333
  starting: "starting";
336
334
  stopping: "stopping";
337
335
  }>;
338
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
339
336
  }, z$1.core.$strip>;
340
337
  status: z$1.ZodEnum<{
341
338
  active: "active";
@@ -4260,7 +4257,6 @@ declare const threadTimelinePendingTodosSchema: z$1.ZodObject<{
4260
4257
  type ThreadTimelinePendingTodos = z$1.infer<typeof threadTimelinePendingTodosSchema>;
4261
4258
 
4262
4259
  declare const threadRuntimeDisplayStatusSchema: z$1.ZodEnum<{
4263
- "host-reconnecting": "host-reconnecting";
4264
4260
  "waiting-for-host": "waiting-for-host";
4265
4261
  active: "active";
4266
4262
  error: "error";
@@ -4953,7 +4949,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4953
4949
  }>;
4954
4950
  runtime: z$1.ZodObject<{
4955
4951
  displayStatus: z$1.ZodEnum<{
4956
- "host-reconnecting": "host-reconnecting";
4957
4952
  "waiting-for-host": "waiting-for-host";
4958
4953
  active: "active";
4959
4954
  error: "error";
@@ -4963,7 +4958,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4963
4958
  starting: "starting";
4964
4959
  stopping: "stopping";
4965
4960
  }>;
4966
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
4967
4961
  }, z$1.core.$strip>;
4968
4962
  sectionId: z$1.ZodNullable<z$1.ZodString>;
4969
4963
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -5073,7 +5067,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5073
5067
  }>;
5074
5068
  runtime: z$1.ZodObject<{
5075
5069
  displayStatus: z$1.ZodEnum<{
5076
- "host-reconnecting": "host-reconnecting";
5077
5070
  "waiting-for-host": "waiting-for-host";
5078
5071
  active: "active";
5079
5072
  error: "error";
@@ -5083,7 +5076,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5083
5076
  starting: "starting";
5084
5077
  stopping: "stopping";
5085
5078
  }>;
5086
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
5087
5079
  }, z$1.core.$strip>;
5088
5080
  sectionId: z$1.ZodNullable<z$1.ZodString>;
5089
5081
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -5191,7 +5183,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5191
5183
  }>;
5192
5184
  runtime: z$1.ZodObject<{
5193
5185
  displayStatus: z$1.ZodEnum<{
5194
- "host-reconnecting": "host-reconnecting";
5195
5186
  "waiting-for-host": "waiting-for-host";
5196
5187
  active: "active";
5197
5188
  error: "error";
@@ -5201,7 +5192,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5201
5192
  starting: "starting";
5202
5193
  stopping: "stopping";
5203
5194
  }>;
5204
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
5205
5195
  }, z$1.core.$strip>;
5206
5196
  sectionId: z$1.ZodNullable<z$1.ZodString>;
5207
5197
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -12034,7 +12024,6 @@ declare const createExecutionInputSourcesSchema: z$1.ZodObject<{
12034
12024
  }, z$1.core.$strict>;
12035
12025
  type CreateExecutionInputSources = z$1.infer<typeof createExecutionInputSourcesSchema>;
12036
12026
  declare const createThreadRequestSchema: z$1.ZodObject<{
12037
- draft: z$1.ZodOptional<z$1.ZodBoolean>;
12038
12027
  environment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12039
12028
  environmentId: z$1.ZodString;
12040
12029
  type: z$1.ZodLiteral<"reuse">;
@@ -13069,91 +13058,6 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13069
13058
  }>>;
13070
13059
  }, z$1.core.$strip>;
13071
13060
  type CreateQueuedMessageRequest = z$1.infer<typeof createQueuedMessageRequestSchema>;
13072
- declare const updateThreadDraftRequestSchema: z$1.ZodObject<{
13073
- input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13074
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13075
- end: z$1.ZodNumber;
13076
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13077
- kind: z$1.ZodLiteral<"thread">;
13078
- label: z$1.ZodString;
13079
- projectId: z$1.ZodOptional<z$1.ZodString>;
13080
- threadId: z$1.ZodString;
13081
- }, z$1.core.$strip>, z$1.ZodObject<{
13082
- kind: z$1.ZodLiteral<"project">;
13083
- label: z$1.ZodString;
13084
- projectId: z$1.ZodString;
13085
- }, z$1.core.$strip>, z$1.ZodObject<{
13086
- kind: z$1.ZodLiteral<"section">;
13087
- label: z$1.ZodString;
13088
- sectionId: z$1.ZodString;
13089
- }, z$1.core.$strip>, z$1.ZodObject<{
13090
- entryKind: z$1.ZodEnum<{
13091
- directory: "directory";
13092
- file: "file";
13093
- }>;
13094
- kind: z$1.ZodLiteral<"path">;
13095
- label: z$1.ZodString;
13096
- path: z$1.ZodString;
13097
- source: z$1.ZodEnum<{
13098
- "thread-storage": "thread-storage";
13099
- workspace: "workspace";
13100
- }>;
13101
- }, z$1.core.$strip>, z$1.ZodObject<{
13102
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
13103
- kind: z$1.ZodLiteral<"command">;
13104
- label: z$1.ZodString;
13105
- name: z$1.ZodString;
13106
- origin: z$1.ZodEnum<{
13107
- builtin: "builtin";
13108
- project: "project";
13109
- user: "user";
13110
- }>;
13111
- source: z$1.ZodEnum<{
13112
- command: "command";
13113
- skill: "skill";
13114
- }>;
13115
- trigger: z$1.ZodEnum<{
13116
- "/": "/";
13117
- $: "$";
13118
- }>;
13119
- }, z$1.core.$strip>, z$1.ZodObject<{
13120
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
13121
- itemId: z$1.ZodString;
13122
- kind: z$1.ZodLiteral<"plugin">;
13123
- label: z$1.ZodString;
13124
- pluginId: z$1.ZodString;
13125
- }, z$1.core.$strip>], "kind">>;
13126
- start: z$1.ZodNumber;
13127
- }, z$1.core.$strip>>>;
13128
- text: z$1.ZodString;
13129
- type: z$1.ZodLiteral<"text">;
13130
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13131
- "agent-only": "agent-only";
13132
- }>>;
13133
- }, z$1.core.$strip>, z$1.ZodObject<{
13134
- type: z$1.ZodLiteral<"image">;
13135
- url: z$1.ZodString;
13136
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13137
- "agent-only": "agent-only";
13138
- }>>;
13139
- }, z$1.core.$strip>, z$1.ZodObject<{
13140
- path: z$1.ZodString;
13141
- type: z$1.ZodLiteral<"localImage">;
13142
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13143
- "agent-only": "agent-only";
13144
- }>>;
13145
- }, z$1.core.$strip>, z$1.ZodObject<{
13146
- mimeType: z$1.ZodOptional<z$1.ZodString>;
13147
- name: z$1.ZodOptional<z$1.ZodString>;
13148
- path: z$1.ZodString;
13149
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
13150
- type: z$1.ZodLiteral<"localFile">;
13151
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13152
- "agent-only": "agent-only";
13153
- }>>;
13154
- }, z$1.core.$strip>], "type">>;
13155
- }, z$1.core.$strict>;
13156
- type UpdateThreadDraftRequest = z$1.infer<typeof updateThreadDraftRequestSchema>;
13157
13061
  declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13158
13062
  expectedUpdatedAt: z$1.ZodNumber;
13159
13063
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -13463,7 +13367,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
13463
13367
  }>;
13464
13368
  runtime: z$1.ZodObject<{
13465
13369
  displayStatus: z$1.ZodEnum<{
13466
- "host-reconnecting": "host-reconnecting";
13467
13370
  "waiting-for-host": "waiting-for-host";
13468
13371
  active: "active";
13469
13372
  error: "error";
@@ -13473,7 +13376,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
13473
13376
  starting: "starting";
13474
13377
  stopping: "stopping";
13475
13378
  }>;
13476
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13477
13379
  }, z$1.core.$strip>;
13478
13380
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13479
13381
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13566,7 +13468,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13566
13468
  }>;
13567
13469
  runtime: z$1.ZodObject<{
13568
13470
  displayStatus: z$1.ZodEnum<{
13569
- "host-reconnecting": "host-reconnecting";
13570
13471
  "waiting-for-host": "waiting-for-host";
13571
13472
  active: "active";
13572
13473
  error: "error";
@@ -13576,7 +13477,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13576
13477
  starting: "starting";
13577
13478
  stopping: "stopping";
13578
13479
  }>;
13579
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13580
13480
  }, z$1.core.$strip>;
13581
13481
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13582
13482
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13660,7 +13560,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13660
13560
  }>;
13661
13561
  runtime: z$1.ZodObject<{
13662
13562
  displayStatus: z$1.ZodEnum<{
13663
- "host-reconnecting": "host-reconnecting";
13664
13563
  "waiting-for-host": "waiting-for-host";
13665
13564
  active: "active";
13666
13565
  error: "error";
@@ -13670,7 +13569,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
13670
13569
  starting: "starting";
13671
13570
  stopping: "stopping";
13672
13571
  }>;
13673
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13674
13572
  }, z$1.core.$strip>;
13675
13573
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13676
13574
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13702,88 +13600,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
13702
13600
  canSpawnChild: z$1.ZodBoolean;
13703
13601
  createdAt: z$1.ZodNumber;
13704
13602
  deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
13705
- draft: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13706
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13707
- end: z$1.ZodNumber;
13708
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13709
- kind: z$1.ZodLiteral<"thread">;
13710
- label: z$1.ZodString;
13711
- projectId: z$1.ZodOptional<z$1.ZodString>;
13712
- threadId: z$1.ZodString;
13713
- }, z$1.core.$strip>, z$1.ZodObject<{
13714
- kind: z$1.ZodLiteral<"project">;
13715
- label: z$1.ZodString;
13716
- projectId: z$1.ZodString;
13717
- }, z$1.core.$strip>, z$1.ZodObject<{
13718
- kind: z$1.ZodLiteral<"section">;
13719
- label: z$1.ZodString;
13720
- sectionId: z$1.ZodString;
13721
- }, z$1.core.$strip>, z$1.ZodObject<{
13722
- entryKind: z$1.ZodEnum<{
13723
- directory: "directory";
13724
- file: "file";
13725
- }>;
13726
- kind: z$1.ZodLiteral<"path">;
13727
- label: z$1.ZodString;
13728
- path: z$1.ZodString;
13729
- source: z$1.ZodEnum<{
13730
- "thread-storage": "thread-storage";
13731
- workspace: "workspace";
13732
- }>;
13733
- }, z$1.core.$strip>, z$1.ZodObject<{
13734
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
13735
- kind: z$1.ZodLiteral<"command">;
13736
- label: z$1.ZodString;
13737
- name: z$1.ZodString;
13738
- origin: z$1.ZodEnum<{
13739
- builtin: "builtin";
13740
- project: "project";
13741
- user: "user";
13742
- }>;
13743
- source: z$1.ZodEnum<{
13744
- command: "command";
13745
- skill: "skill";
13746
- }>;
13747
- trigger: z$1.ZodEnum<{
13748
- "/": "/";
13749
- $: "$";
13750
- }>;
13751
- }, z$1.core.$strip>, z$1.ZodObject<{
13752
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
13753
- itemId: z$1.ZodString;
13754
- kind: z$1.ZodLiteral<"plugin">;
13755
- label: z$1.ZodString;
13756
- pluginId: z$1.ZodString;
13757
- }, z$1.core.$strip>], "kind">>;
13758
- start: z$1.ZodNumber;
13759
- }, z$1.core.$strip>>>;
13760
- text: z$1.ZodString;
13761
- type: z$1.ZodLiteral<"text">;
13762
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13763
- "agent-only": "agent-only";
13764
- }>>;
13765
- }, z$1.core.$strip>, z$1.ZodObject<{
13766
- type: z$1.ZodLiteral<"image">;
13767
- url: z$1.ZodString;
13768
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13769
- "agent-only": "agent-only";
13770
- }>>;
13771
- }, z$1.core.$strip>, z$1.ZodObject<{
13772
- path: z$1.ZodString;
13773
- type: z$1.ZodLiteral<"localImage">;
13774
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13775
- "agent-only": "agent-only";
13776
- }>>;
13777
- }, z$1.core.$strip>, z$1.ZodObject<{
13778
- mimeType: z$1.ZodOptional<z$1.ZodString>;
13779
- name: z$1.ZodOptional<z$1.ZodString>;
13780
- path: z$1.ZodString;
13781
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
13782
- type: z$1.ZodLiteral<"localFile">;
13783
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13784
- "agent-only": "agent-only";
13785
- }>>;
13786
- }, z$1.core.$strip>], "type">>>;
13787
13603
  environmentId: z$1.ZodNullable<z$1.ZodString>;
13788
13604
  id: z$1.ZodString;
13789
13605
  lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
@@ -13800,7 +13616,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
13800
13616
  queuedMessageCount: z$1.ZodNumber;
13801
13617
  runtime: z$1.ZodObject<{
13802
13618
  displayStatus: z$1.ZodEnum<{
13803
- "host-reconnecting": "host-reconnecting";
13804
13619
  "waiting-for-host": "waiting-for-host";
13805
13620
  active: "active";
13806
13621
  error: "error";
@@ -13810,7 +13625,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
13810
13625
  starting: "starting";
13811
13626
  stopping: "stopping";
13812
13627
  }>;
13813
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
13814
13628
  }, z$1.core.$strip>;
13815
13629
  sectionId: z$1.ZodNullable<z$1.ZodString>;
13816
13630
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -13843,88 +13657,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
13843
13657
  canSpawnChild: z$1.ZodBoolean;
13844
13658
  createdAt: z$1.ZodNumber;
13845
13659
  deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
13846
- draft: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13847
- mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13848
- end: z$1.ZodNumber;
13849
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13850
- kind: z$1.ZodLiteral<"thread">;
13851
- label: z$1.ZodString;
13852
- projectId: z$1.ZodOptional<z$1.ZodString>;
13853
- threadId: z$1.ZodString;
13854
- }, z$1.core.$strip>, z$1.ZodObject<{
13855
- kind: z$1.ZodLiteral<"project">;
13856
- label: z$1.ZodString;
13857
- projectId: z$1.ZodString;
13858
- }, z$1.core.$strip>, z$1.ZodObject<{
13859
- kind: z$1.ZodLiteral<"section">;
13860
- label: z$1.ZodString;
13861
- sectionId: z$1.ZodString;
13862
- }, z$1.core.$strip>, z$1.ZodObject<{
13863
- entryKind: z$1.ZodEnum<{
13864
- directory: "directory";
13865
- file: "file";
13866
- }>;
13867
- kind: z$1.ZodLiteral<"path">;
13868
- label: z$1.ZodString;
13869
- path: z$1.ZodString;
13870
- source: z$1.ZodEnum<{
13871
- "thread-storage": "thread-storage";
13872
- workspace: "workspace";
13873
- }>;
13874
- }, z$1.core.$strip>, z$1.ZodObject<{
13875
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
13876
- kind: z$1.ZodLiteral<"command">;
13877
- label: z$1.ZodString;
13878
- name: z$1.ZodString;
13879
- origin: z$1.ZodEnum<{
13880
- builtin: "builtin";
13881
- project: "project";
13882
- user: "user";
13883
- }>;
13884
- source: z$1.ZodEnum<{
13885
- command: "command";
13886
- skill: "skill";
13887
- }>;
13888
- trigger: z$1.ZodEnum<{
13889
- "/": "/";
13890
- $: "$";
13891
- }>;
13892
- }, z$1.core.$strip>, z$1.ZodObject<{
13893
- icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
13894
- itemId: z$1.ZodString;
13895
- kind: z$1.ZodLiteral<"plugin">;
13896
- label: z$1.ZodString;
13897
- pluginId: z$1.ZodString;
13898
- }, z$1.core.$strip>], "kind">>;
13899
- start: z$1.ZodNumber;
13900
- }, z$1.core.$strip>>>;
13901
- text: z$1.ZodString;
13902
- type: z$1.ZodLiteral<"text">;
13903
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13904
- "agent-only": "agent-only";
13905
- }>>;
13906
- }, z$1.core.$strip>, z$1.ZodObject<{
13907
- type: z$1.ZodLiteral<"image">;
13908
- url: z$1.ZodString;
13909
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13910
- "agent-only": "agent-only";
13911
- }>>;
13912
- }, z$1.core.$strip>, z$1.ZodObject<{
13913
- path: z$1.ZodString;
13914
- type: z$1.ZodLiteral<"localImage">;
13915
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13916
- "agent-only": "agent-only";
13917
- }>>;
13918
- }, z$1.core.$strip>, z$1.ZodObject<{
13919
- mimeType: z$1.ZodOptional<z$1.ZodString>;
13920
- name: z$1.ZodOptional<z$1.ZodString>;
13921
- path: z$1.ZodString;
13922
- sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
13923
- type: z$1.ZodLiteral<"localFile">;
13924
- visibility: z$1.ZodOptional<z$1.ZodEnum<{
13925
- "agent-only": "agent-only";
13926
- }>>;
13927
- }, z$1.core.$strip>], "type">>>;
13928
13660
  environment: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
13929
13661
  baseBranch: z$1.ZodNullable<z$1.ZodString>;
13930
13662
  branchName: z$1.ZodNullable<z$1.ZodString>;
@@ -14051,7 +13783,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14051
13783
  queuedMessageCount: z$1.ZodNumber;
14052
13784
  runtime: z$1.ZodObject<{
14053
13785
  displayStatus: z$1.ZodEnum<{
14054
- "host-reconnecting": "host-reconnecting";
14055
13786
  "waiting-for-host": "waiting-for-host";
14056
13787
  active: "active";
14057
13788
  error: "error";
@@ -14061,7 +13792,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14061
13792
  starting: "starting";
14062
13793
  stopping: "stopping";
14063
13794
  }>;
14064
- hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
14065
13795
  }, z$1.core.$strip>;
14066
13796
  sectionId: z$1.ZodNullable<z$1.ZodString>;
14067
13797
  sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
@@ -16867,9 +16597,6 @@ interface ThreadForkArgs extends Omit<ForkThreadRequest, "origin" | "visibility"
16867
16597
  interface ThreadUpdateArgs extends UpdateThreadRequest {
16868
16598
  threadId: string;
16869
16599
  }
16870
- interface ThreadUpdateDraftArgs extends UpdateThreadDraftRequest {
16871
- threadId: string;
16872
- }
16873
16600
  interface ThreadPluginMetadataArgs {
16874
16601
  pluginId: string;
16875
16602
  signal?: AbortSignal;
@@ -17153,12 +16880,6 @@ interface ThreadsArea {
17153
16880
  unarchive(args: ThreadActionArgs): Promise<ThreadUnarchiveResult>;
17154
16881
  unpin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
17155
16882
  update(args: ThreadUpdateArgs): Promise<ThreadMutationResult>;
17156
- /**
17157
- * Replace the thread's saved, unsent draft message. An empty `input` clears
17158
- * it. On a `pending` thread the draft also becomes the thread's fallback
17159
- * title. Sending a message does not clear the draft; clear it explicitly.
17160
- */
17161
- updateDraft(args: ThreadUpdateDraftArgs): Promise<ThreadMutationResult>;
17162
16883
  wait(args: ThreadWaitArgs): Promise<ThreadWaitResult>;
17163
16884
  }
17164
16885
 
@@ -18240,9 +17961,9 @@ interface PluginSidebarThread {
18240
17961
  */
18241
17962
  status: ThreadStatus;
18242
17963
  /**
18243
- * `status` refined by host and environment state: adds "provisioning",
18244
- * "host-reconnecting", and "waiting-for-host" for a thread whose machine is
18245
- * not ready. Treat an unknown value as `status`.
17964
+ * `status` refined by host and environment state: adds "provisioning" and
17965
+ * "waiting-for-host" for a thread whose machine is not ready. Treat an
17966
+ * unknown value as `status`.
18246
17967
  */
18247
17968
  runtimeStatus: ThreadRuntimeDisplayStatus;
18248
17969
  /**
@@ -4258,12 +4258,11 @@ function makeThreadResponse(overrides = {}) {
4258
4258
  latestAttentionAt: 0,
4259
4259
  createdAt: 0,
4260
4260
  updatedAt: 0,
4261
- runtime: { displayStatus: "idle", hostReconnectGraceExpiresAt: null },
4261
+ runtime: { displayStatus: "idle" },
4262
4262
  activeBackgroundAgentCount: 0,
4263
4263
  canRestoreEnvironment: false,
4264
4264
  canSpawnChild: true,
4265
4265
  queuedMessageCount: 0,
4266
- draft: null,
4267
4266
  ...overrides
4268
4267
  };
4269
4268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@get-bb/plugin-sdk",
3
- "version": "0.5.30",
3
+ "version": "0.5.31",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"