@halcyonlabs/app 0.47.0-halcyon.483 → 0.47.0-halcyon.485

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
@@ -3008,8 +3008,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3008
3008
  }>;
3009
3009
  name: z$1.ZodString;
3010
3010
  source: z$1.ZodEnum<{
3011
- command: "command";
3012
3011
  skill: "skill";
3012
+ command: "command";
3013
3013
  }>;
3014
3014
  origin: z$1.ZodEnum<{
3015
3015
  user: "user";
@@ -3098,8 +3098,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3098
3098
  }>;
3099
3099
  name: z$1.ZodString;
3100
3100
  source: z$1.ZodEnum<{
3101
- command: "command";
3102
3101
  skill: "skill";
3102
+ command: "command";
3103
3103
  }>;
3104
3104
  origin: z$1.ZodEnum<{
3105
3105
  user: "user";
@@ -4016,8 +4016,8 @@ declare const promptTextMentionSchema: z$1.ZodObject<{
4016
4016
  }>;
4017
4017
  name: z$1.ZodString;
4018
4018
  source: z$1.ZodEnum<{
4019
- command: "command";
4020
4019
  skill: "skill";
4020
+ command: "command";
4021
4021
  }>;
4022
4022
  origin: z$1.ZodEnum<{
4023
4023
  user: "user";
@@ -4081,8 +4081,8 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4081
4081
  }>;
4082
4082
  name: z$1.ZodString;
4083
4083
  source: z$1.ZodEnum<{
4084
- command: "command";
4085
4084
  skill: "skill";
4085
+ command: "command";
4086
4086
  }>;
4087
4087
  origin: z$1.ZodEnum<{
4088
4088
  user: "user";
@@ -4329,8 +4329,8 @@ declare const threadTimelinePendingTodosSchema: z$1.ZodObject<{
4329
4329
  type ThreadTimelinePendingTodos = z$1.infer<typeof threadTimelinePendingTodosSchema>;
4330
4330
 
4331
4331
  declare const threadParentNotificationsSchema: z$1.ZodEnum<{
4332
- off: "off";
4333
4332
  auto: "auto";
4333
+ off: "off";
4334
4334
  stuck: "stuck";
4335
4335
  }>;
4336
4336
  type ThreadParentNotifications = z$1.infer<typeof threadParentNotificationsSchema>;
@@ -4393,8 +4393,8 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4393
4393
  }>;
4394
4394
  name: z$1.ZodString;
4395
4395
  source: z$1.ZodEnum<{
4396
- command: "command";
4397
4396
  skill: "skill";
4397
+ command: "command";
4398
4398
  }>;
4399
4399
  origin: z$1.ZodEnum<{
4400
4400
  user: "user";
@@ -5768,9 +5768,9 @@ declare const hostDaemonCommandRegistry: {
5768
5768
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5769
5769
  kind: z$1.ZodLiteral<"wording">;
5770
5770
  status: z$1.ZodEnum<{
5771
+ unavailable: "unavailable";
5771
5772
  pass: "pass";
5772
5773
  revise: "revise";
5773
- unavailable: "unavailable";
5774
5774
  }>;
5775
5775
  }, z$1.core.$strict>, z$1.ZodObject<{
5776
5776
  kind: z$1.ZodLiteral<"review">;
@@ -6011,8 +6011,8 @@ declare const hostDaemonCommandRegistry: {
6011
6011
  providerInstallation: z$1.ZodBoolean;
6012
6012
  supportsServiceTier: z$1.ZodBoolean;
6013
6013
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6014
- "accept-edits": "accept-edits";
6015
6014
  auto: "auto";
6015
+ "accept-edits": "accept-edits";
6016
6016
  full: "full";
6017
6017
  }>>;
6018
6018
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6038,16 +6038,16 @@ declare const hostDaemonCommandRegistry: {
6038
6038
  permissionScope: z$1.ZodLiteral<"workspace">;
6039
6039
  approvalReviewer: z$1.ZodLiteral<"user">;
6040
6040
  permissionEscalation: z$1.ZodEnum<{
6041
- ask: "ask";
6042
6041
  deny: "deny";
6042
+ ask: "ask";
6043
6043
  }>;
6044
6044
  }, z$1.core.$strip>, z$1.ZodObject<{
6045
6045
  permissionMode: z$1.ZodLiteral<"auto">;
6046
6046
  permissionScope: z$1.ZodLiteral<"workspace">;
6047
6047
  approvalReviewer: z$1.ZodLiteral<"automatic">;
6048
6048
  permissionEscalation: z$1.ZodEnum<{
6049
- ask: "ask";
6050
6049
  deny: "deny";
6050
+ ask: "ask";
6051
6051
  }>;
6052
6052
  }, z$1.core.$strip>, z$1.ZodObject<{
6053
6053
  permissionMode: z$1.ZodLiteral<"full">;
@@ -6131,8 +6131,8 @@ declare const hostDaemonCommandRegistry: {
6131
6131
  skillFilePath: z$1.ZodString;
6132
6132
  }, z$1.core.$strict>], "kind">>;
6133
6133
  instructionMode: z$1.ZodEnum<{
6134
- append: "append";
6135
6134
  replace: "replace";
6135
+ append: "append";
6136
6136
  }>;
6137
6137
  type: z$1.ZodLiteral<"thread.rewind.prepare">;
6138
6138
  leaseId: z$1.ZodString;
@@ -6160,8 +6160,8 @@ declare const hostDaemonCommandRegistry: {
6160
6160
  providerInstallation: z$1.ZodBoolean;
6161
6161
  supportsServiceTier: z$1.ZodBoolean;
6162
6162
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6163
- "accept-edits": "accept-edits";
6164
6163
  auto: "auto";
6164
+ "accept-edits": "accept-edits";
6165
6165
  full: "full";
6166
6166
  }>>;
6167
6167
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6187,16 +6187,16 @@ declare const hostDaemonCommandRegistry: {
6187
6187
  permissionScope: z$1.ZodLiteral<"workspace">;
6188
6188
  approvalReviewer: z$1.ZodLiteral<"user">;
6189
6189
  permissionEscalation: z$1.ZodEnum<{
6190
- ask: "ask";
6191
6190
  deny: "deny";
6191
+ ask: "ask";
6192
6192
  }>;
6193
6193
  }, z$1.core.$strip>, z$1.ZodObject<{
6194
6194
  permissionMode: z$1.ZodLiteral<"auto">;
6195
6195
  permissionScope: z$1.ZodLiteral<"workspace">;
6196
6196
  approvalReviewer: z$1.ZodLiteral<"automatic">;
6197
6197
  permissionEscalation: z$1.ZodEnum<{
6198
- ask: "ask";
6199
6198
  deny: "deny";
6199
+ ask: "ask";
6200
6200
  }>;
6201
6201
  }, z$1.core.$strip>, z$1.ZodObject<{
6202
6202
  permissionMode: z$1.ZodLiteral<"full">;
@@ -6280,8 +6280,8 @@ declare const hostDaemonCommandRegistry: {
6280
6280
  skillFilePath: z$1.ZodString;
6281
6281
  }, z$1.core.$strict>], "kind">>;
6282
6282
  instructionMode: z$1.ZodEnum<{
6283
- append: "append";
6284
6283
  replace: "replace";
6284
+ append: "append";
6285
6285
  }>;
6286
6286
  type: z$1.ZodLiteral<"thread.start">;
6287
6287
  requestId: z$1.ZodString;
@@ -6332,8 +6332,8 @@ declare const hostDaemonCommandRegistry: {
6332
6332
  }>;
6333
6333
  origin: z$1.ZodEnum<{
6334
6334
  builtin: "builtin";
6335
- project: "project";
6336
6335
  user: "user";
6336
+ project: "project";
6337
6337
  }>;
6338
6338
  label: z$1.ZodString;
6339
6339
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -6422,8 +6422,8 @@ declare const hostDaemonCommandRegistry: {
6422
6422
  }>;
6423
6423
  origin: z$1.ZodEnum<{
6424
6424
  builtin: "builtin";
6425
- project: "project";
6426
6425
  user: "user";
6426
+ project: "project";
6427
6427
  }>;
6428
6428
  label: z$1.ZodString;
6429
6429
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -6525,8 +6525,8 @@ declare const hostDaemonCommandRegistry: {
6525
6525
  }>;
6526
6526
  origin: z$1.ZodEnum<{
6527
6527
  builtin: "builtin";
6528
- project: "project";
6529
6528
  user: "user";
6529
+ project: "project";
6530
6530
  }>;
6531
6531
  label: z$1.ZodString;
6532
6532
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -6615,8 +6615,8 @@ declare const hostDaemonCommandRegistry: {
6615
6615
  }>;
6616
6616
  origin: z$1.ZodEnum<{
6617
6617
  builtin: "builtin";
6618
- project: "project";
6619
6618
  user: "user";
6619
+ project: "project";
6620
6620
  }>;
6621
6621
  label: z$1.ZodString;
6622
6622
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -6670,16 +6670,16 @@ declare const hostDaemonCommandRegistry: {
6670
6670
  permissionScope: z$1.ZodLiteral<"workspace">;
6671
6671
  approvalReviewer: z$1.ZodLiteral<"user">;
6672
6672
  permissionEscalation: z$1.ZodEnum<{
6673
- ask: "ask";
6674
6673
  deny: "deny";
6674
+ ask: "ask";
6675
6675
  }>;
6676
6676
  }, z$1.core.$strip>, z$1.ZodObject<{
6677
6677
  permissionMode: z$1.ZodLiteral<"auto">;
6678
6678
  permissionScope: z$1.ZodLiteral<"workspace">;
6679
6679
  approvalReviewer: z$1.ZodLiteral<"automatic">;
6680
6680
  permissionEscalation: z$1.ZodEnum<{
6681
- ask: "ask";
6682
6681
  deny: "deny";
6682
+ ask: "ask";
6683
6683
  }>;
6684
6684
  }, z$1.core.$strip>, z$1.ZodObject<{
6685
6685
  permissionMode: z$1.ZodLiteral<"full">;
@@ -6698,8 +6698,8 @@ declare const hostDaemonCommandRegistry: {
6698
6698
  providerInstallation: z$1.ZodBoolean;
6699
6699
  supportsServiceTier: z$1.ZodBoolean;
6700
6700
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6701
- "accept-edits": "accept-edits";
6702
6701
  auto: "auto";
6702
+ "accept-edits": "accept-edits";
6703
6703
  full: "full";
6704
6704
  }>>;
6705
6705
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6717,6 +6717,9 @@ declare const hostDaemonCommandRegistry: {
6717
6717
  workspaceContext: z$1.ZodObject<{
6718
6718
  workspacePath: z$1.ZodString;
6719
6719
  }, z$1.core.$strip>;
6720
+ projectId: z$1.ZodString;
6721
+ providerThreadId: z$1.ZodString;
6722
+ providerId: z$1.ZodString;
6720
6723
  bridgeLaunch: z$1.ZodObject<{
6721
6724
  pluginId: z$1.ZodString;
6722
6725
  source: z$1.ZodObject<{
@@ -6728,8 +6731,8 @@ declare const hostDaemonCommandRegistry: {
6728
6731
  providerInstallation: z$1.ZodBoolean;
6729
6732
  supportsServiceTier: z$1.ZodBoolean;
6730
6733
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6731
- "accept-edits": "accept-edits";
6732
6734
  auto: "auto";
6735
+ "accept-edits": "accept-edits";
6733
6736
  full: "full";
6734
6737
  }>>;
6735
6738
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6744,11 +6747,9 @@ declare const hostDaemonCommandRegistry: {
6744
6747
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6745
6748
  }, z$1.core.$strict>;
6746
6749
  instructionMode: z$1.ZodEnum<{
6747
- append: "append";
6748
6750
  replace: "replace";
6751
+ append: "append";
6749
6752
  }>;
6750
- projectId: z$1.ZodString;
6751
- providerId: z$1.ZodString;
6752
6753
  instructions: z$1.ZodString;
6753
6754
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6754
6755
  name: z$1.ZodString;
@@ -6824,7 +6825,6 @@ declare const hostDaemonCommandRegistry: {
6824
6825
  sourceRootPath: z$1.ZodString;
6825
6826
  skillFilePath: z$1.ZodString;
6826
6827
  }, z$1.core.$strict>], "kind">>;
6827
- providerThreadId: z$1.ZodString;
6828
6828
  }, z$1.core.$strict>;
6829
6829
  target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6830
6830
  mode: z$1.ZodLiteral<"start">;
@@ -6886,16 +6886,16 @@ declare const hostDaemonCommandRegistry: {
6886
6886
  permissionScope: z$1.ZodLiteral<"workspace">;
6887
6887
  approvalReviewer: z$1.ZodLiteral<"user">;
6888
6888
  permissionEscalation: z$1.ZodEnum<{
6889
- ask: "ask";
6890
6889
  deny: "deny";
6890
+ ask: "ask";
6891
6891
  }>;
6892
6892
  }, z$1.core.$strip>, z$1.ZodObject<{
6893
6893
  permissionMode: z$1.ZodLiteral<"auto">;
6894
6894
  permissionScope: z$1.ZodLiteral<"workspace">;
6895
6895
  approvalReviewer: z$1.ZodLiteral<"automatic">;
6896
6896
  permissionEscalation: z$1.ZodEnum<{
6897
- ask: "ask";
6898
6897
  deny: "deny";
6898
+ ask: "ask";
6899
6899
  }>;
6900
6900
  }, z$1.core.$strip>, z$1.ZodObject<{
6901
6901
  permissionMode: z$1.ZodLiteral<"full">;
@@ -6914,8 +6914,8 @@ declare const hostDaemonCommandRegistry: {
6914
6914
  providerInstallation: z$1.ZodBoolean;
6915
6915
  supportsServiceTier: z$1.ZodBoolean;
6916
6916
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6917
- "accept-edits": "accept-edits";
6918
6917
  auto: "auto";
6918
+ "accept-edits": "accept-edits";
6919
6919
  full: "full";
6920
6920
  }>>;
6921
6921
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6933,6 +6933,9 @@ declare const hostDaemonCommandRegistry: {
6933
6933
  workspaceContext: z$1.ZodObject<{
6934
6934
  workspacePath: z$1.ZodString;
6935
6935
  }, z$1.core.$strip>;
6936
+ projectId: z$1.ZodString;
6937
+ providerThreadId: z$1.ZodString;
6938
+ providerId: z$1.ZodString;
6936
6939
  bridgeLaunch: z$1.ZodObject<{
6937
6940
  pluginId: z$1.ZodString;
6938
6941
  source: z$1.ZodObject<{
@@ -6944,8 +6947,8 @@ declare const hostDaemonCommandRegistry: {
6944
6947
  providerInstallation: z$1.ZodBoolean;
6945
6948
  supportsServiceTier: z$1.ZodBoolean;
6946
6949
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6947
- "accept-edits": "accept-edits";
6948
6950
  auto: "auto";
6951
+ "accept-edits": "accept-edits";
6949
6952
  full: "full";
6950
6953
  }>>;
6951
6954
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6960,11 +6963,9 @@ declare const hostDaemonCommandRegistry: {
6960
6963
  envPassthrough: z$1.ZodArray<z$1.ZodString>;
6961
6964
  }, z$1.core.$strict>;
6962
6965
  instructionMode: z$1.ZodEnum<{
6963
- append: "append";
6964
6966
  replace: "replace";
6967
+ append: "append";
6965
6968
  }>;
6966
- projectId: z$1.ZodString;
6967
- providerId: z$1.ZodString;
6968
6969
  instructions: z$1.ZodString;
6969
6970
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6970
6971
  name: z$1.ZodString;
@@ -7040,7 +7041,6 @@ declare const hostDaemonCommandRegistry: {
7040
7041
  sourceRootPath: z$1.ZodString;
7041
7042
  skillFilePath: z$1.ZodString;
7042
7043
  }, z$1.core.$strict>], "kind">>;
7043
- providerThreadId: z$1.ZodString;
7044
7044
  }, z$1.core.$strict>;
7045
7045
  }, z$1.core.$strict>, z$1.ZodObject<{
7046
7046
  cleared: z$1.ZodBoolean;
@@ -7079,8 +7079,8 @@ declare const hostDaemonCommandRegistry: {
7079
7079
  providerInstallation: z$1.ZodBoolean;
7080
7080
  supportsServiceTier: z$1.ZodBoolean;
7081
7081
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7082
- "accept-edits": "accept-edits";
7083
7082
  auto: "auto";
7083
+ "accept-edits": "accept-edits";
7084
7084
  full: "full";
7085
7085
  }>>;
7086
7086
  supportsThreadArchive: z$1.ZodBoolean;
@@ -7112,8 +7112,8 @@ declare const hostDaemonCommandRegistry: {
7112
7112
  providerInstallation: z$1.ZodBoolean;
7113
7113
  supportsServiceTier: z$1.ZodBoolean;
7114
7114
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7115
- "accept-edits": "accept-edits";
7116
7115
  auto: "auto";
7116
+ "accept-edits": "accept-edits";
7117
7117
  full: "full";
7118
7118
  }>>;
7119
7119
  supportsThreadArchive: z$1.ZodBoolean;
@@ -7495,8 +7495,8 @@ declare const hostDaemonCommandRegistry: {
7495
7495
  skills: z$1.ZodArray<z$1.ZodObject<{
7496
7496
  path: z$1.ZodString;
7497
7497
  origin: z$1.ZodEnum<{
7498
- project: "project";
7499
7498
  user: "user";
7499
+ project: "project";
7500
7500
  }>;
7501
7501
  recursive: z$1.ZodBoolean;
7502
7502
  ancestors: z$1.ZodBoolean;
@@ -7514,8 +7514,8 @@ declare const hostDaemonCommandRegistry: {
7514
7514
  commands: z$1.ZodArray<z$1.ZodObject<{
7515
7515
  path: z$1.ZodString;
7516
7516
  origin: z$1.ZodEnum<{
7517
- project: "project";
7518
7517
  user: "user";
7518
+ project: "project";
7519
7519
  }>;
7520
7520
  recursive: z$1.ZodBoolean;
7521
7521
  ancestors: z$1.ZodBoolean;
@@ -7540,8 +7540,8 @@ declare const hostDaemonCommandRegistry: {
7540
7540
  skill: "skill";
7541
7541
  }>;
7542
7542
  origin: z$1.ZodEnum<{
7543
- project: "project";
7544
7543
  user: "user";
7544
+ project: "project";
7545
7545
  }>;
7546
7546
  description: z$1.ZodNullable<z$1.ZodString>;
7547
7547
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
@@ -7588,8 +7588,8 @@ declare const hostDaemonCommandRegistry: {
7588
7588
  skills: z$1.ZodArray<z$1.ZodObject<{
7589
7589
  path: z$1.ZodString;
7590
7590
  origin: z$1.ZodEnum<{
7591
- project: "project";
7592
7591
  user: "user";
7592
+ project: "project";
7593
7593
  }>;
7594
7594
  recursive: z$1.ZodBoolean;
7595
7595
  ancestors: z$1.ZodBoolean;
@@ -7607,8 +7607,8 @@ declare const hostDaemonCommandRegistry: {
7607
7607
  commands: z$1.ZodArray<z$1.ZodObject<{
7608
7608
  path: z$1.ZodString;
7609
7609
  origin: z$1.ZodEnum<{
7610
- project: "project";
7611
7610
  user: "user";
7611
+ project: "project";
7612
7612
  }>;
7613
7613
  recursive: z$1.ZodBoolean;
7614
7614
  ancestors: z$1.ZodBoolean;
@@ -7634,14 +7634,14 @@ declare const hostDaemonCommandRegistry: {
7634
7634
  realPath: z$1.ZodString;
7635
7635
  contentSha256: z$1.ZodString;
7636
7636
  rootKind: z$1.ZodEnum<{
7637
+ plugin: "plugin";
7637
7638
  "shared-user": "shared-user";
7638
7639
  "shared-project": "shared-project";
7639
- plugin: "plugin";
7640
7640
  "bb-project": "bb-project";
7641
- "provider-user": "provider-user";
7642
- "provider-project": "provider-project";
7643
7641
  "bb-data-dir": "bb-data-dir";
7644
7642
  "bb-builtin": "bb-builtin";
7643
+ "provider-project": "provider-project";
7644
+ "provider-user": "provider-user";
7645
7645
  }>;
7646
7646
  linked: z$1.ZodBoolean;
7647
7647
  }, z$1.core.$strip>>;
@@ -7695,14 +7695,14 @@ declare const hostDaemonCommandRegistry: {
7695
7695
  realPath: z$1.ZodString;
7696
7696
  contentSha256: z$1.ZodString;
7697
7697
  rootKind: z$1.ZodEnum<{
7698
+ plugin: "plugin";
7698
7699
  "shared-user": "shared-user";
7699
7700
  "shared-project": "shared-project";
7700
- plugin: "plugin";
7701
7701
  "bb-project": "bb-project";
7702
- "provider-user": "provider-user";
7703
- "provider-project": "provider-project";
7704
7702
  "bb-data-dir": "bb-data-dir";
7705
7703
  "bb-builtin": "bb-builtin";
7704
+ "provider-project": "provider-project";
7705
+ "provider-user": "provider-user";
7706
7706
  }>;
7707
7707
  linked: z$1.ZodBoolean;
7708
7708
  }, z$1.core.$strip>>;
@@ -7710,10 +7710,10 @@ declare const hostDaemonCommandRegistry: {
7710
7710
  "host.delete_skill": HostDaemonCommandDescriptor<"host.delete_skill", z$1.ZodObject<{
7711
7711
  type: z$1.ZodLiteral<"host.delete_skill">;
7712
7712
  scope: z$1.ZodEnum<{
7713
- "bb-user": "bb-user";
7714
7713
  "bb-project": "bb-project";
7715
- "provider-user": "provider-user";
7716
7714
  "provider-project": "provider-project";
7715
+ "provider-user": "provider-user";
7716
+ "bb-user": "bb-user";
7717
7717
  }>;
7718
7718
  name: z$1.ZodString;
7719
7719
  cwd: z$1.ZodNullable<z$1.ZodString>;
@@ -7724,8 +7724,8 @@ declare const hostDaemonCommandRegistry: {
7724
7724
  "host.write_skill": HostDaemonCommandDescriptor<"host.write_skill", z$1.ZodObject<{
7725
7725
  type: z$1.ZodLiteral<"host.write_skill">;
7726
7726
  scope: z$1.ZodEnum<{
7727
- "bb-user": "bb-user";
7728
7727
  "bb-project": "bb-project";
7728
+ "bb-user": "bb-user";
7729
7729
  }>;
7730
7730
  name: z$1.ZodString;
7731
7731
  cwd: z$1.ZodNullable<z$1.ZodString>;
@@ -7822,8 +7822,8 @@ declare const hostDaemonCommandRegistry: {
7822
7822
  selectedBranch: z$1.ZodOptional<z$1.ZodString>;
7823
7823
  limit: z$1.ZodNumber;
7824
7824
  remoteRefresh: z$1.ZodEnum<{
7825
- none: "none";
7826
7825
  background: "background";
7826
+ none: "none";
7827
7827
  }>;
7828
7828
  }, z$1.core.$strict>, z$1.ZodObject<{
7829
7829
  branches: z$1.ZodArray<z$1.ZodString>;
@@ -7867,9 +7867,9 @@ declare const hostDaemonCommandRegistry: {
7867
7867
  base64: "base64";
7868
7868
  utf8: "utf8";
7869
7869
  }>;
7870
- mimeType: z$1.ZodOptional<z$1.ZodString>;
7871
- sizeBytes: z$1.ZodNumber;
7872
7870
  sha256: z$1.ZodString;
7871
+ sizeBytes: z$1.ZodNumber;
7872
+ mimeType: z$1.ZodOptional<z$1.ZodString>;
7873
7873
  modifiedAtMs: z$1.ZodOptional<z$1.ZodNumber>;
7874
7874
  notModified: z$1.ZodLiteral<true>;
7875
7875
  }, z$1.core.$strip>]>, "onlineRpc", true>;
@@ -7944,8 +7944,8 @@ declare const hostDaemonCommandRegistry: {
7944
7944
  providerInstallation: z$1.ZodBoolean;
7945
7945
  supportsServiceTier: z$1.ZodBoolean;
7946
7946
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
7947
- "accept-edits": "accept-edits";
7948
7947
  auto: "auto";
7948
+ "accept-edits": "accept-edits";
7949
7949
  full: "full";
7950
7950
  }>>;
7951
7951
  supportsThreadArchive: z$1.ZodBoolean;
@@ -8074,8 +8074,8 @@ declare const hostDaemonCommandRegistry: {
8074
8074
  providerInstallation: z$1.ZodBoolean;
8075
8075
  supportsServiceTier: z$1.ZodBoolean;
8076
8076
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8077
- "accept-edits": "accept-edits";
8078
8077
  auto: "auto";
8078
+ "accept-edits": "accept-edits";
8079
8079
  full: "full";
8080
8080
  }>>;
8081
8081
  supportsThreadArchive: z$1.ZodBoolean;
@@ -8111,8 +8111,8 @@ declare const hostDaemonCommandRegistry: {
8111
8111
  providerInstallation: z$1.ZodBoolean;
8112
8112
  supportsServiceTier: z$1.ZodBoolean;
8113
8113
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8114
- "accept-edits": "accept-edits";
8115
8114
  auto: "auto";
8115
+ "accept-edits": "accept-edits";
8116
8116
  full: "full";
8117
8117
  }>>;
8118
8118
  supportsThreadArchive: z$1.ZodBoolean;
@@ -8134,10 +8134,10 @@ declare const hostDaemonCommandRegistry: {
8134
8134
  health: z$1.ZodObject<{
8135
8135
  status: z$1.ZodEnum<{
8136
8136
  unknown: "unknown";
8137
+ ready: "ready";
8137
8138
  not_installed: "not_installed";
8138
8139
  unauthenticated: "unauthenticated";
8139
8140
  expired: "expired";
8140
- ready: "ready";
8141
8141
  unsupported_version: "unsupported_version";
8142
8142
  }>;
8143
8143
  statusMessage: z$1.ZodNullable<z$1.ZodString>;
@@ -8165,8 +8165,8 @@ declare const hostDaemonCommandRegistry: {
8165
8165
  providerInstallation: z$1.ZodBoolean;
8166
8166
  supportsServiceTier: z$1.ZodBoolean;
8167
8167
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8168
- "accept-edits": "accept-edits";
8169
8168
  auto: "auto";
8169
+ "accept-edits": "accept-edits";
8170
8170
  full: "full";
8171
8171
  }>>;
8172
8172
  supportsThreadArchive: z$1.ZodBoolean;
@@ -8185,9 +8185,9 @@ declare const hostDaemonCommandRegistry: {
8185
8185
  executablePath: z$1.ZodNullable<z$1.ZodString>;
8186
8186
  installed: z$1.ZodBoolean;
8187
8187
  installSource: z$1.ZodEnum<{
8188
- external: "external";
8189
8188
  notInstalled: "notInstalled";
8190
8189
  npmGlobal: "npmGlobal";
8190
+ external: "external";
8191
8191
  }>;
8192
8192
  currentVersion: z$1.ZodNullable<z$1.ZodString>;
8193
8193
  latestVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8226,8 +8226,8 @@ declare const hostDaemonCommandRegistry: {
8226
8226
  providerInstallation: z$1.ZodBoolean;
8227
8227
  supportsServiceTier: z$1.ZodBoolean;
8228
8228
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8229
- "accept-edits": "accept-edits";
8230
8229
  auto: "auto";
8230
+ "accept-edits": "accept-edits";
8231
8231
  full: "full";
8232
8232
  }>>;
8233
8233
  supportsThreadArchive: z$1.ZodBoolean;
@@ -8280,8 +8280,8 @@ declare const hostDaemonCommandRegistry: {
8280
8280
  providerInstallation: z$1.ZodBoolean;
8281
8281
  supportsServiceTier: z$1.ZodBoolean;
8282
8282
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8283
- "accept-edits": "accept-edits";
8284
8283
  auto: "auto";
8284
+ "accept-edits": "accept-edits";
8285
8285
  full: "full";
8286
8286
  }>>;
8287
8287
  supportsThreadArchive: z$1.ZodBoolean;
@@ -8633,8 +8633,8 @@ declare const hostDaemonCommandRegistry: {
8633
8633
  message: z$1.ZodNullable<z$1.ZodString>;
8634
8634
  state: z$1.ZodNullable<z$1.ZodEnum<{
8635
8635
  pending: "pending";
8636
- ready: "ready";
8637
8636
  activating: "activating";
8637
+ ready: "ready";
8638
8638
  }>>;
8639
8639
  }, z$1.core.$strict>, "onlineRpc", true>;
8640
8640
  "server_move.prepare": HostDaemonCommandDescriptor<"server_move.prepare", z$1.ZodObject<{
@@ -8736,9 +8736,9 @@ declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.
8736
8736
  executablePath: z$1.ZodNullable<z$1.ZodString>;
8737
8737
  installed: z$1.ZodBoolean;
8738
8738
  installSource: z$1.ZodEnum<{
8739
- external: "external";
8740
8739
  notInstalled: "notInstalled";
8741
8740
  npmGlobal: "npmGlobal";
8741
+ external: "external";
8742
8742
  }>;
8743
8743
  currentVersion: z$1.ZodNullable<z$1.ZodString>;
8744
8744
  latestVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -16553,17 +16553,17 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16553
16553
  timeUsedSeconds: z$1.ZodNumber;
16554
16554
  }, z$1.core.$strip>>;
16555
16555
  providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
16556
- source: z$1.ZodEnum<{
16557
- command: "command";
16558
- skill: "skill";
16559
- }>;
16560
- name: z$1.ZodString;
16561
16556
  origin: z$1.ZodEnum<{
16562
16557
  project: "project";
16563
16558
  builtin: "builtin";
16564
16559
  user: "user";
16565
16560
  }>;
16566
16561
  description: z$1.ZodNullable<z$1.ZodString>;
16562
+ source: z$1.ZodEnum<{
16563
+ command: "command";
16564
+ skill: "skill";
16565
+ }>;
16566
+ name: z$1.ZodString;
16567
16567
  argumentHint: z$1.ZodNullable<z$1.ZodString>;
16568
16568
  }, z$1.core.$strip>>>;
16569
16569
  sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -24041,10 +24041,10 @@ declare function createApiClient(baseUrl: string, options?: PublicApiClientOptio
24041
24041
  timeUsedSeconds: number;
24042
24042
  } | null;
24043
24043
  providerCommands: {
24044
- source: "command" | "skill";
24045
- name: string;
24046
24044
  origin: "project" | "builtin" | "user";
24047
24045
  description: string | null;
24046
+ source: "command" | "skill";
24047
+ name: string;
24048
24048
  argumentHint: string | null;
24049
24049
  }[] | null;
24050
24050
  sessionOptions: ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyonlabs/app",
3
- "version": "0.47.0-halcyon.483",
3
+ "version": "0.47.0-halcyon.485",
4
4
  "description": "bb app launcher for npx",
5
5
  "keywords": [
6
6
  "bb",
@@ -105,7 +105,7 @@
105
105
  "node": "^22.19.0 || ^24.0.0 || ^26.0.0"
106
106
  },
107
107
  "moonletRelease": {
108
- "summary": "Reap descendants when verification commands finish (#505)"
108
+ "summary": "feat(orbit): initialize the protected installation key (#509)"
109
109
  },
110
110
  "license": "SEE LICENSE IN LICENSE"
111
111
  }
@@ -1,15 +1,15 @@
1
1
  {
2
- "commit": "23a611c3b39a77c21704d545ce150be1b6cab19a",
2
+ "commit": "54e5703334608e6900ee8756e1e23099ea08a6ea",
3
3
  "file": "orbit-deploy",
4
4
  "platform": "linux-x64",
5
5
  "provenance": {
6
- "artifactId": 14765519060,
7
- "artifactName": "linux-bundle-23a611c3b39a77c21704d545ce150be1b6cab19a",
6
+ "artifactId": 14781387633,
7
+ "artifactName": "linux-bundle-54e5703334608e6900ee8756e1e23099ea08a6ea",
8
8
  "repository": "matt0x6F/personalassistant",
9
- "runId": 45049470118,
9
+ "runId": 45088762921,
10
10
  "workflow": ".github/workflows/moonlet-linux-bundle.yml"
11
11
  },
12
12
  "schema": 1,
13
- "sha256": "fdb065612229efb65ac293f8aa197879448d2ee8bc48a8be16aea331f7fb7a9f",
14
- "size": 3293920
13
+ "sha256": "fe2b276c682ef92d975b67d2ae105b6003ebcf02fa6d372a83025cc87e41d080",
14
+ "size": 3306208
15
15
  }
@@ -1 +1 @@
1
- 23a611c3b39a77c21704d545ce150be1b6cab19a
1
+ 54e5703334608e6900ee8756e1e23099ea08a6ea
@@ -1 +1 @@
1
- {"repository":"matt0x6F/personalassistant","revision":"23a611c3b39a77c21704d545ce150be1b6cab19a"}
1
+ {"repository":"matt0x6F/personalassistant","revision":"54e5703334608e6900ee8756e1e23099ea08a6ea"}
@@ -208,9 +208,41 @@ question for the owner's approval; neither enables the other.
208
208
  export npm_config_cache="$PWD/.orbit-build/npm-cache"
209
209
  export npm_config_store_dir="$PWD/.orbit-build/pnpm-store"
210
210
  export XDG_CACHE_HOME="$PWD/.orbit-build/cache"
211
- mkdir -p "$HOME" "$TMPDIR" "$CARGO_HOME" "$CARGO_TARGET_DIR" "$npm_config_cache" "$npm_config_store_dir" "$XDG_CACHE_HOME"
211
+ python3 - <<'ORBIT_BUILD_CACHES'
212
+ import os
213
+ from contextlib import ExitStack
214
+ with ExitStack() as handles:
215
+ def directory(parent, name):
216
+ try:
217
+ os.mkdir(name, mode=0o700, dir_fd=parent)
218
+ created = True
219
+ except FileExistsError:
220
+ created = False
221
+ fd = os.open(name, os.O_RDONLY | os.O_DIRECTORY | os.O_NOFOLLOW, dir_fd=parent)
222
+ handles.callback(os.close, fd)
223
+ return fd, created
224
+ root = os.open(".", os.O_RDONLY | os.O_DIRECTORY | os.O_NOFOLLOW)
225
+ handles.callback(os.close, root)
226
+ build, _ = directory(root, ".orbit-build")
227
+ directory(build, "home")
228
+ cargo, _ = directory(build, "cargo-home")
229
+ for parent, name in [(build, name) for name in ["tmp", "cargo-target", "npm-cache", "pnpm-store", "cache"]] + [(cargo, "registry"), (cargo, "git"), (root, "node_modules")]:
230
+ cache, created = directory(parent, name)
231
+ if created:
232
+ fd = os.open("CACHEDIR.TAG", os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, 0o600, dir_fd=cache)
233
+ with os.fdopen(fd, "w") as tag:
234
+ info = os.fstat(cache)
235
+ tag.write(f"Signature: 8a477f597d28d172789f06886806bc55\n# Orbit generated cache v1: {info.st_dev}:{info.st_ino}\n")
236
+ ORBIT_BUILD_CACHES
212
237
  ```
213
238
 
239
+ This marks only newly created cache directories with an explicit disposable-cache
240
+ declaration bound to its device and inode. Generic cache tags alone do not
241
+ prove origin. Existing unproved directories are kept; never add a tag afterward
242
+ merely because a folder has a familiar name. Keep source, notes, patches and
243
+ unique results outside declared caches. Enclosing tracked, staged or untracked
244
+ source still blocks cleanup, and declared results always stay.
245
+
214
246
  Keep `.orbit-build/` out of commits, and use it only for regenerable files. Keep
215
247
  logs and anything you will deliver as a result elsewhere in your work folder.
216
248
  These are local development files, never an installation on the station. A cache write denied under your home folder means the
@@ -377,6 +377,58 @@ const BUILD_CACHES = [
377
377
  "home/.rustup",
378
378
  ];
379
379
 
380
+ function cacheDeclaration(path) {
381
+ let descriptor;
382
+ try {
383
+ const tag = join(path, "CACHEDIR.TAG");
384
+ descriptor = openSync(tag, constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK);
385
+ const info = fstatSync(descriptor, { bigint: true });
386
+ if (!info.isFile() || info.nlink !== 1n || info.uid !== BigInt(process.getuid()) || info.size > 65536n) return false;
387
+ const found = Buffer.alloc(Number(info.size));
388
+ if (readSync(descriptor, found, 0, found.length, 0) !== found.length) return false;
389
+ const named = lstatSync(tag, { bigint: true });
390
+ if (named.ino !== info.ino || named.dev !== info.dev || named.size !== info.size) return false;
391
+ const text = found.toString("utf8");
392
+ const directory = lstatSync(path, { bigint: true });
393
+ const origin = `# Orbit generated cache v1: ${directory.dev}:${directory.ino}`;
394
+ return text.startsWith("Signature: 8a477f597d28d172789f06886806bc55") && text.split(/\r?\n/u).includes(origin);
395
+ } catch {
396
+ return false;
397
+ } finally {
398
+ if (descriptor !== undefined) closeSync(descriptor);
399
+ }
400
+ }
401
+
402
+ function sourceInCache(path, device, budget, depth = 0) {
403
+ if (depth > 128 || --budget.remaining < 0) return true;
404
+ const entries = readdirSync(path, { withFileTypes: true });
405
+ const protectedNames = new Set([".git", ".hg", ".svn", "logs", "_logs", "results", ".agents", ".aws", ".codex", ".claude"]);
406
+ if (entries.some((entry) => protectedNames.has(entry.name) || entry.name.endsWith(".log"))) return true;
407
+ if (entries.some((entry) => entry.name === "HEAD") && entries.some((entry) => ["objects", "refs", "reftable", "packed-refs", "commondir", "config"].includes(entry.name))) return true;
408
+ for (const entry of entries) {
409
+ if (--budget.remaining < 0) return true;
410
+ const child = join(path, entry.name);
411
+ const info = lstatSync(child, { bigint: true });
412
+ if (info.dev !== device || info.uid !== BigInt(process.getuid())) return true;
413
+ if (info.isDirectory() && sourceInCache(child, device, budget, depth + 1)) return true;
414
+ if (!info.isDirectory() && !info.isFile() && !info.isSymbolicLink() && !info.isFIFO() && !info.isSocket()) return true;
415
+ }
416
+ return false;
417
+ }
418
+
419
+ function disposableCache(job, path) {
420
+ if (!safeLocalPath(job, path) || !cacheDeclaration(path)) return false;
421
+ try {
422
+ const before = lstatSync(path, { bigint: true });
423
+ if (!before.isDirectory() || before.isSymbolicLink() || before.uid !== BigInt(process.getuid())) return false;
424
+ if (sourceInCache(path, before.dev, { remaining: 2_000_000 })) return false;
425
+ const after = lstatSync(path, { bigint: true });
426
+ return after.isDirectory() && after.ino === before.ino && after.dev === before.dev && safeLocalPath(job, path);
427
+ } catch {
428
+ return false;
429
+ }
430
+ }
431
+
380
432
  export function rebuildableFolders(top) {
381
433
  const job = jobRoot(top);
382
434
  if (!job) return null;
@@ -390,14 +442,17 @@ export function rebuildableFolders(top) {
390
442
  for (const output of PACKAGE_OUTPUTS) folders.add(join(checkout, dir, output));
391
443
  }
392
444
  for (const output of ["packages/templates/src/generated", "packages/plugin-build/src/generated"]) folders.add(join(checkout, output));
393
- const sourceFiles = must(top, "ls-files", "-z")
445
+ const sourceFiles = must(top, "ls-files", "--cached", "--others", "--exclude-standard", "-z")
394
446
  .split("\0")
395
447
  .filter(Boolean)
396
448
  .map((file) => join(checkout, file));
449
+ const retained = retainedPaths(top, []);
397
450
  return {
398
451
  job,
399
452
  folders: [...folders]
400
- .filter((folder) => existsSync(join(job, folder)) && !sourceFiles.some((file) => file === folder || file.startsWith(`${folder}/`)))
453
+ .filter((folder) => !sourceFiles.some((file) => file === folder || file.startsWith(`${folder}/`)))
454
+ .filter((folder) => !retained.some((saved) => pathsOverlap(join(job, folder), saved)))
455
+ .filter((folder) => disposableCache(job, join(job, folder)))
401
456
  .sort(),
402
457
  };
403
458
  }
@@ -561,7 +616,7 @@ export function cleanupBuildOutputs(top, keep = []) {
561
616
  const removed = [];
562
617
  for (const folder of found.folders) {
563
618
  const path = join(found.job, folder);
564
- if (!existsSync(path) || !safeLocalPath(found.job, path)) continue;
619
+ if (!existsSync(path) || !disposableCache(found.job, path)) continue;
565
620
  if (protectedFiles.some((saved) => pathsOverlap(path, saved))) continue;
566
621
  rmSync(path, { recursive: true, force: true });
567
622
  removed.push(folder);