@halcyonlabs/app 0.47.0-halcyon.500 → 0.47.0-halcyon.502

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
@@ -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";
5772
5771
  pass: "pass";
5773
5772
  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
- auto: "auto";
6015
6014
  "accept-edits": "accept-edits";
6015
+ auto: "auto";
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
- deny: "deny";
6042
6041
  ask: "ask";
6042
+ deny: "deny";
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
- deny: "deny";
6050
6049
  ask: "ask";
6050
+ deny: "deny";
6051
6051
  }>;
6052
6052
  }, z$1.core.$strip>, z$1.ZodObject<{
6053
6053
  permissionMode: z$1.ZodLiteral<"full">;
@@ -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
- auto: "auto";
6164
6163
  "accept-edits": "accept-edits";
6164
+ auto: "auto";
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
- deny: "deny";
6191
6190
  ask: "ask";
6191
+ deny: "deny";
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
- deny: "deny";
6199
6198
  ask: "ask";
6199
+ deny: "deny";
6200
6200
  }>;
6201
6201
  }, z$1.core.$strip>, z$1.ZodObject<{
6202
6202
  permissionMode: z$1.ZodLiteral<"full">;
@@ -6332,8 +6332,8 @@ declare const hostDaemonCommandRegistry: {
6332
6332
  }>;
6333
6333
  origin: z$1.ZodEnum<{
6334
6334
  builtin: "builtin";
6335
- user: "user";
6336
6335
  project: "project";
6336
+ user: "user";
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
- user: "user";
6426
6425
  project: "project";
6426
+ user: "user";
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
- user: "user";
6529
6528
  project: "project";
6529
+ user: "user";
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
- user: "user";
6619
6618
  project: "project";
6619
+ user: "user";
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
- deny: "deny";
6674
6673
  ask: "ask";
6674
+ deny: "deny";
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
- deny: "deny";
6682
6681
  ask: "ask";
6682
+ deny: "deny";
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
- auto: "auto";
6702
6701
  "accept-edits": "accept-edits";
6702
+ auto: "auto";
6703
6703
  full: "full";
6704
6704
  }>>;
6705
6705
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6717,9 +6717,6 @@ 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;
6723
6720
  bridgeLaunch: z$1.ZodObject<{
6724
6721
  pluginId: z$1.ZodString;
6725
6722
  source: z$1.ZodObject<{
@@ -6731,8 +6728,8 @@ declare const hostDaemonCommandRegistry: {
6731
6728
  providerInstallation: z$1.ZodBoolean;
6732
6729
  supportsServiceTier: z$1.ZodBoolean;
6733
6730
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6734
- auto: "auto";
6735
6731
  "accept-edits": "accept-edits";
6732
+ auto: "auto";
6736
6733
  full: "full";
6737
6734
  }>>;
6738
6735
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6750,6 +6747,8 @@ declare const hostDaemonCommandRegistry: {
6750
6747
  replace: "replace";
6751
6748
  append: "append";
6752
6749
  }>;
6750
+ projectId: z$1.ZodString;
6751
+ providerId: z$1.ZodString;
6753
6752
  instructions: z$1.ZodString;
6754
6753
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6755
6754
  name: z$1.ZodString;
@@ -6825,6 +6824,7 @@ declare const hostDaemonCommandRegistry: {
6825
6824
  sourceRootPath: z$1.ZodString;
6826
6825
  skillFilePath: z$1.ZodString;
6827
6826
  }, 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
- deny: "deny";
6890
6889
  ask: "ask";
6890
+ deny: "deny";
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
- deny: "deny";
6898
6897
  ask: "ask";
6898
+ deny: "deny";
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
- auto: "auto";
6918
6917
  "accept-edits": "accept-edits";
6918
+ auto: "auto";
6919
6919
  full: "full";
6920
6920
  }>>;
6921
6921
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6933,9 +6933,6 @@ 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;
6939
6936
  bridgeLaunch: z$1.ZodObject<{
6940
6937
  pluginId: z$1.ZodString;
6941
6938
  source: z$1.ZodObject<{
@@ -6947,8 +6944,8 @@ declare const hostDaemonCommandRegistry: {
6947
6944
  providerInstallation: z$1.ZodBoolean;
6948
6945
  supportsServiceTier: z$1.ZodBoolean;
6949
6946
  permissionModes: z$1.ZodArray<z$1.ZodEnum<{
6950
- auto: "auto";
6951
6947
  "accept-edits": "accept-edits";
6948
+ auto: "auto";
6952
6949
  full: "full";
6953
6950
  }>>;
6954
6951
  supportsThreadArchive: z$1.ZodBoolean;
@@ -6966,6 +6963,8 @@ declare const hostDaemonCommandRegistry: {
6966
6963
  replace: "replace";
6967
6964
  append: "append";
6968
6965
  }>;
6966
+ projectId: z$1.ZodString;
6967
+ providerId: z$1.ZodString;
6969
6968
  instructions: z$1.ZodString;
6970
6969
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6971
6970
  name: z$1.ZodString;
@@ -7041,6 +7040,7 @@ declare const hostDaemonCommandRegistry: {
7041
7040
  sourceRootPath: z$1.ZodString;
7042
7041
  skillFilePath: z$1.ZodString;
7043
7042
  }, 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
- auto: "auto";
7083
7082
  "accept-edits": "accept-edits";
7083
+ auto: "auto";
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
- auto: "auto";
7116
7115
  "accept-edits": "accept-edits";
7116
+ auto: "auto";
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
- user: "user";
7499
7498
  project: "project";
7499
+ user: "user";
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
- user: "user";
7518
7517
  project: "project";
7518
+ user: "user";
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
- user: "user";
7544
7543
  project: "project";
7544
+ user: "user";
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
- user: "user";
7592
7591
  project: "project";
7592
+ user: "user";
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
- user: "user";
7611
7610
  project: "project";
7611
+ user: "user";
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";
7638
7637
  "shared-user": "shared-user";
7639
7638
  "shared-project": "shared-project";
7639
+ plugin: "plugin";
7640
7640
  "bb-project": "bb-project";
7641
+ "provider-user": "provider-user";
7642
+ "provider-project": "provider-project";
7641
7643
  "bb-data-dir": "bb-data-dir";
7642
7644
  "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";
7699
7698
  "shared-user": "shared-user";
7700
7699
  "shared-project": "shared-project";
7700
+ plugin: "plugin";
7701
7701
  "bb-project": "bb-project";
7702
+ "provider-user": "provider-user";
7703
+ "provider-project": "provider-project";
7702
7704
  "bb-data-dir": "bb-data-dir";
7703
7705
  "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";
7713
7714
  "bb-project": "bb-project";
7714
- "provider-project": "provider-project";
7715
7715
  "provider-user": "provider-user";
7716
- "bb-user": "bb-user";
7716
+ "provider-project": "provider-project";
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-project": "bb-project";
7728
7727
  "bb-user": "bb-user";
7728
+ "bb-project": "bb-project";
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
- background: "background";
7826
7825
  none: "none";
7826
+ background: "background";
7827
7827
  }>;
7828
7828
  }, z$1.core.$strict>, z$1.ZodObject<{
7829
7829
  branches: z$1.ZodArray<z$1.ZodString>;
@@ -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
- auto: "auto";
7948
7947
  "accept-edits": "accept-edits";
7948
+ auto: "auto";
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
- auto: "auto";
8078
8077
  "accept-edits": "accept-edits";
8078
+ auto: "auto";
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
- auto: "auto";
8115
8114
  "accept-edits": "accept-edits";
8115
+ auto: "auto";
8116
8116
  full: "full";
8117
8117
  }>>;
8118
8118
  supportsThreadArchive: z$1.ZodBoolean;
@@ -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
- auto: "auto";
8169
8168
  "accept-edits": "accept-edits";
8169
+ auto: "auto";
8170
8170
  full: "full";
8171
8171
  }>>;
8172
8172
  supportsThreadArchive: z$1.ZodBoolean;
@@ -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
- auto: "auto";
8230
8229
  "accept-edits": "accept-edits";
8230
+ auto: "auto";
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
- auto: "auto";
8284
8283
  "accept-edits": "accept-edits";
8284
+ auto: "auto";
8285
8285
  full: "full";
8286
8286
  }>>;
8287
8287
  supportsThreadArchive: z$1.ZodBoolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyonlabs/app",
3
- "version": "0.47.0-halcyon.500",
3
+ "version": "0.47.0-halcyon.502",
4
4
  "description": "bb app launcher for npx",
5
5
  "keywords": [
6
6
  "bb",
@@ -104,5 +104,8 @@
104
104
  "engines": {
105
105
  "node": "^22.19.0 || ^24.0.0 || ^26.0.0"
106
106
  },
107
+ "moonletRelease": {
108
+ "summary": "Core change: projects are GitHub repos, and a thread opens into one (#525)"
109
+ },
107
110
  "license": "SEE LICENSE IN LICENSE"
108
111
  }
@@ -2,7 +2,7 @@ var aC=Object.defineProperty;var Zt=(e,t)=>{for(var n in t)aC(e,n,{get:t[n],enum
2
2
  `),this._sock.flush(),se("Sent ProtocolVersion: "+r),this._rfbInitState="Security"}_isSupportedSecurityType(t){return[Ry,pl,$y,Iy,wp,Py,Ly,Oy,Fy].includes(t)}_negotiateSecurity(){if(this._rfbVersion>=3.7){let t=this._sock.rQshift8();if(this._sock.rQwait("security type",t,1))return!1;if(t===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,!0;let n=this._sock.rQshiftBytes(t);se("Server security types: "+n),this._rfbAuthScheme=-1;for(let r of n)if(this._isSupportedSecurityType(r)){this._rfbAuthScheme=r;break}if(this._rfbAuthScheme===-1)return this._fail("Unsupported security types (types: "+n+")");this._sock.sQpush8(this._rfbAuthScheme),this._sock.flush()}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,!0}return this._rfbInitState="Authentication",se("Authenticating using scheme: "+this._rfbAuthScheme),!0}_handleSecurityReason(){if(this._sock.rQwait("reason length",4))return!1;let t=this._sock.rQshift32(),n="";if(t>0){if(this._sock.rQwait("reason",t,4))return!1;n=this._sock.rQshiftStr(t)}return n!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:n}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+n+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}_negotiateXvpAuth(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1):(this._sock.sQpush8(this._rfbCredentials.username.length),this._sock.sQpush8(this._rfbCredentials.target.length),this._sock.sQpushString(this._rfbCredentials.username),this._sock.sQpushString(this._rfbCredentials.target),this._sock.flush(),this._rfbAuthScheme=pl,this._negotiateAuthentication())}_negotiateVeNCryptAuth(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;let t=this._sock.rQshift8(),n=this._sock.rQshift8();if(!(t==0&&n==2))return this._fail("Unsupported VeNCrypt version "+t+"."+n);this._sock.sQpush8(0),this._sock.sQpush8(2),this._sock.flush(),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;let t=this._sock.rQshift8();if(t!=0)return this._fail("VeNCrypt failure "+t);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;let t=this._sock.rQshift8();if(t<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=t,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;let t=[];for(let n=0;n<this._rfbVeNCryptSubtypesLength;n++)t.push(this._sock.rQshift32());this._rfbAuthScheme=-1;for(let n of t)if(n!==wp&&this._isSupportedSecurityType(n)){this._rfbAuthScheme=n;break}return this._rfbAuthScheme===-1?this._fail("Unsupported security types (types: "+t+")"):(this._sock.sQpush32(this._rfbAuthScheme),this._sock.flush(),this._rfbVeNCryptState=4,!0)}}_negotiatePlainAuth(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;let t=Ft(this._rfbCredentials.username),n=Ft(this._rfbCredentials.password);return this._sock.sQpush32(t.length),this._sock.sQpush32(n.length),this._sock.sQpushString(t),this._sock.sQpushString(n),this._sock.flush(),this._rfbInitState="SecurityResult",!0}_negotiateStdVNCAuth(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;let t=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),n=e.genDES(this._rfbCredentials.password,t);return this._sock.sQpushBytes(n),this._sock.flush(),this._rfbInitState="SecurityResult",!0}_negotiateARDAuth(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;if(this._rfbCredentials.ardPublicKey!=null&&this._rfbCredentials.ardCredentials!=null)return this._sock.sQpushBytes(this._rfbCredentials.ardCredentials),this._sock.sQpushBytes(this._rfbCredentials.ardPublicKey),this._sock.flush(),this._rfbCredentials.ardCredentials=null,this._rfbCredentials.ardPublicKey=null,this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("read ard",4))return!1;let t=this._sock.rQshiftBytes(2),n=this._sock.rQshift16();if(this._sock.rQwait("read ard keylength",n*2,4))return!1;let r=this._sock.rQshiftBytes(n),o=this._sock.rQshiftBytes(n),i=Oe.generateKey({name:"DH",g:t,p:r},!1,["deriveBits"]);return this._negotiateARDAuthAsync(n,o,i),!1}async _negotiateARDAuthAsync(t,n,r){let o=Oe.exportKey("raw",r.publicKey),i=Oe.deriveBits({name:"DH",public:n},r.privateKey,t*8),s=Ft(this._rfbCredentials.username).substring(0,63),a=Ft(this._rfbCredentials.password).substring(0,63),c=window.crypto.getRandomValues(new Uint8Array(128));for(let f=0;f<s.length;f++)c[f]=s.charCodeAt(f);c[s.length]=0;for(let f=0;f<a.length;f++)c[64+f]=a.charCodeAt(f);c[64+a.length]=0;let l=await Oe.digest("MD5",i),d=await Oe.importKey("raw",l,{name:"AES-ECB"},!1,["encrypt"]),p=await Oe.encrypt({name:"AES-ECB"},d,c);this._rfbCredentials.ardCredentials=p,this._rfbCredentials.ardPublicKey=o,this._resumeAuthentication()}_negotiateTightUnixAuth(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.sQpush32(this._rfbCredentials.username.length),this._sock.sQpush32(this._rfbCredentials.password.length),this._sock.sQpushString(this._rfbCredentials.username),this._sock.sQpushString(this._rfbCredentials.password),this._sock.flush(),this._rfbInitState="SecurityResult",!0)}_negotiateTightTunnels(t){let n={0:{vendor:"TGHT",signature:"NOTUNNEL"}},r={};for(let o=0;o<t;o++){let i=this._sock.rQshift32(),s=this._sock.rQshiftStr(4),a=this._sock.rQshiftStr(8);r[i]={vendor:s,signature:a}}return se("Server Tight tunnel types: "+r),r[1]&&r[1].vendor==="SICR"&&r[1].signature==="SCHANNEL"&&(se("Detected Siemens server. Assuming NOTUNNEL support."),r[0]={vendor:"TGHT",signature:"NOTUNNEL"}),r[0]?r[0].vendor!=n[0].vendor||r[0].signature!=n[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(se("Selected tunnel type: "+n[0]),this._sock.sQpush32(0),this._sock.flush(),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}_negotiateTightAuth(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;let o=this._sock.rQshift32();if(o>0&&this._sock.rQwait("tunnel capabilities",16*o,4))return!1;if(this._rfbTightVNC=!0,o>0)return this._negotiateTightTunnels(o),!1}if(this._sock.rQwait("sub auth count",4))return!1;let t=this._sock.rQshift32();if(t===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*t,4))return!1;let n={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},r=[];for(let o=0;o<t;o++){this._sock.rQshift32();let i=this._sock.rQshiftStr(12);r.push(i)}se("Server Tight authentication types: "+r);for(let o in n)if(r.indexOf(o)!=-1)switch(this._sock.sQpush32(n[o]),this._sock.flush(),se("Selected authentication type: "+o),o){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=pl,!0;case"TGHTULGNAUTH":return this._rfbAuthScheme=Dy,!0;default:return this._fail("Unsupported tiny auth scheme (scheme: "+o+")")}return this._fail("No supported sub-auth types!")}_handleRSAAESCredentialsRequired(t){this.dispatchEvent(t)}_handleRSAAESServerVerification(t){this.dispatchEvent(t)}_negotiateRA2neAuth(){return this._rfbRSAAESAuthenticationState===null&&(this._rfbRSAAESAuthenticationState=new Mi(this._sock,()=>this._rfbCredentials),this._rfbRSAAESAuthenticationState.addEventListener("serververification",this._eventHandlers.handleRSAAESServerVerification),this._rfbRSAAESAuthenticationState.addEventListener("credentialsrequired",this._eventHandlers.handleRSAAESCredentialsRequired)),this._rfbRSAAESAuthenticationState.checkInternalEvents(),this._rfbRSAAESAuthenticationState.hasStarted||this._rfbRSAAESAuthenticationState.negotiateRA2neAuthAsync().catch(t=>{t.message!=="disconnect normally"&&this._fail(t.message)}).then(()=>(this._rfbInitState="SecurityResult",!0)).finally(()=>{this._rfbRSAAESAuthenticationState.removeEventListener("serververification",this._eventHandlers.handleRSAAESServerVerification),this._rfbRSAAESAuthenticationState.removeEventListener("credentialsrequired",this._eventHandlers.handleRSAAESCredentialsRequired),this._rfbRSAAESAuthenticationState=null}),!1}_negotiateMSLogonIIAuth(){if(this._sock.rQwait("mslogonii dh param",24))return!1;if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;let t=this._sock.rQshiftBytes(8),n=this._sock.rQshiftBytes(8),r=this._sock.rQshiftBytes(8),o=Oe.generateKey({name:"DH",g:t,p:n},!0,["deriveBits"]),i=Oe.exportKey("raw",o.publicKey),s=Oe.deriveBits({name:"DH",public:r},o.privateKey,64),a=Oe.importKey("raw",s,{name:"DES-CBC"},!1,["encrypt"]),c=Ft(this._rfbCredentials.username).substring(0,255),l=Ft(this._rfbCredentials.password).substring(0,63),d=new Uint8Array(256),p=new Uint8Array(64);window.crypto.getRandomValues(d),window.crypto.getRandomValues(p);for(let f=0;f<c.length;f++)d[f]=c.charCodeAt(f);d[c.length]=0;for(let f=0;f<l.length;f++)p[f]=l.charCodeAt(f);return p[l.length]=0,d=Oe.encrypt({name:"DES-CBC",iv:s},a,d),p=Oe.encrypt({name:"DES-CBC",iv:s},a,p),this._sock.sQpushBytes(i),this._sock.sQpushBytes(d),this._sock.sQpushBytes(p),this._sock.flush(),this._rfbInitState="SecurityResult",!0}_negotiateAuthentication(){switch(this._rfbAuthScheme){case Ry:return this._rfbVersion>=3.8?this._rfbInitState="SecurityResult":this._rfbInitState="ClientInitialisation",!0;case Py:return this._negotiateXvpAuth();case Ly:return this._negotiateARDAuth();case pl:return this._negotiateStdVNCAuth();case Iy:return this._negotiateTightAuth();case wp:return this._negotiateVeNCryptAuth();case Fy:return this._negotiatePlainAuth();case Dy:return this._negotiateTightUnixAuth();case $y:return this._negotiateRA2neAuth();case Oy:return this._negotiateMSLogonIIAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}_handleSecurityResult(){if(this._sock.rQwait("VNC auth response ",4))return!1;let t=this._sock.rQshift32();return t===0?(this._rfbInitState="ClientInitialisation",se("Authentication OK"),!0):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=t,!0):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:t}})),this._fail("Security handshake failed"))}_negotiateServerInit(){if(this._sock.rQwait("server initialization",24))return!1;let t=this._sock.rQshift16(),n=this._sock.rQshift16(),r=this._sock.rQshift8(),o=this._sock.rQshift8(),i=this._sock.rQshift8(),s=this._sock.rQshift8(),a=this._sock.rQshift16(),c=this._sock.rQshift16(),l=this._sock.rQshift16(),d=this._sock.rQshift8(),p=this._sock.rQshift8(),f=this._sock.rQshift8();this._sock.rQskipBytes(3);let h=this._sock.rQshift32();if(this._sock.rQwait("server init name",h,24))return!1;let m=this._sock.rQshiftStr(h);if(m=za(m,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+h))return!1;let g=this._sock.rQshift16(),_=this._sock.rQshift16(),b=this._sock.rQshift16();this._sock.rQskipBytes(2);let S=(g+_+b)*16;if(this._sock.rQwait("TightVNC extended server init header",S,32+h))return!1;this._sock.rQskipBytes(16*g),this._sock.rQskipBytes(16*_),this._sock.rQskipBytes(16*b)}return Be("Screen: "+t+"x"+n+", bpp: "+r+", depth: "+o+", bigEndian: "+i+", trueColor: "+s+", redMax: "+a+", greenMax: "+c+", blueMax: "+l+", redShift: "+d+", greenShift: "+p+", blueShift: "+f),this._setDesktopName(m),this._resize(t,n),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(Ue("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),e.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),e.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}_sendEncodings(){let t=[];t.push(ce.encodingCopyRect),this._fbDepth==24&&(zd&&t.push(ce.encodingH264),t.push(ce.encodingTight),t.push(ce.encodingTightPNG),t.push(ce.encodingZRLE),t.push(ce.encodingJPEG),t.push(ce.encodingHextile),t.push(ce.encodingRRE),t.push(ce.encodingZlib)),t.push(ce.encodingRaw),t.push(ce.pseudoEncodingQualityLevel0+this._qualityLevel),t.push(ce.pseudoEncodingCompressLevel0+this._compressionLevel),t.push(ce.pseudoEncodingDesktopSize),t.push(ce.pseudoEncodingLastRect),t.push(ce.pseudoEncodingQEMUExtendedKeyEvent),t.push(ce.pseudoEncodingQEMULedEvent),t.push(ce.pseudoEncodingExtendedDesktopSize),t.push(ce.pseudoEncodingXvp),t.push(ce.pseudoEncodingFence),t.push(ce.pseudoEncodingContinuousUpdates),t.push(ce.pseudoEncodingDesktopName),t.push(ce.pseudoEncodingExtendedClipboard),t.push(ce.pseudoEncodingExtendedMouseButtons),this._fbDepth==24&&(t.push(ce.pseudoEncodingVMwareCursor),t.push(ce.pseudoEncodingCursor)),e.messages.clientEncodings(this._sock,t)}_initMsg(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.sQpush8(this._shared?1:0),this._sock.flush(),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}_resumeAuthentication(){setTimeout(this._initMsg.bind(this),0)}_handleSetColourMapMsg(){return se("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}_handleServerCutText(){if(se("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);let t=this._sock.rQshift32();if(t=xi(t),this._sock.rQwait("ServerCutText content",Math.abs(t),8))return!1;if(t>=0){let n=this._sock.rQshiftStr(t);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:n}}))}else{t=Math.abs(t);let n=this._sock.rQshift32(),r=n&65535,o=n&4278190080;if(!!(o&My)){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(let a=0;a<=15;a++){let c=1<<a;r&c&&(this._clipboardServerCapabilitiesFormats[c]=!0,this._sock.rQshift32())}for(let a=24;a<=31;a++){let c=1<<a;this._clipboardServerCapabilitiesActions[c]=!!(o&c)}let s=[My,fl,zy,Wi,hl];e.messages.extendedClipboardCaps(this._sock,s,{extendedClipboardFormatText:0})}else if(o===fl){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[hl]&&r&jt&&e.messages.extendedClipboardProvide(this._sock,[jt],[this._clipboardText])}else if(o===zy){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Wi]&&(this._clipboardText!=null?e.messages.extendedClipboardNotify(this._sock,[jt]):e.messages.extendedClipboardNotify(this._sock,[]))}else if(o===Wi){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[fl]&&r&jt&&e.messages.extendedClipboardRequest(this._sock,[jt])}else if(o===hl){if(this._viewOnly||!(r&jt))return!0;this._clipboardText=null;let s=this._sock.rQshiftBytes(t-4),a=new Mt,c=null;a.setInput(s);for(let l=0;l<=15;l++){let d=1<<l;if(r&d){let p=0,f=a.inflate(4);p|=f[0]<<24,p|=f[1]<<16,p|=f[2]<<8,p|=f[3];let h=a.inflate(p);d===jt&&(c=h)}}if(a.setInput(null),c!==null){let l="";for(let d=0;d<c.length;d++)l+=String.fromCharCode(c[d]);c=l,c=za(c),c.length>0&&c.charAt(c.length-1)==="\0"&&(c=c.slice(0,-1)),c=c.replaceAll(`\r
3
3
  `,`
4
4
  `),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:c}}))}}else return this._fail("Unexpected action in extended clipboard message: "+o)}return!0}_handleServerFenceMsg(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);let t=this._sock.rQshift32(),n=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",n,9))return!1;n>64&&(Ue("Bad payload length ("+n+") in fence response"),n=64);let r=this._sock.rQshiftStr(n);return this._supportsFence=!0,t&1<<31?(t&=3,e.messages.clientFence(this._sock,t,r),!0):this._fail("Unexpected fence response")}_handleXvpMsg(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);let t=this._sock.rQshift8(),n=this._sock.rQshift8();switch(n){case 0:Re("XVP operation failed");break;case 1:this._rfbXvpVer=t,Be("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+n+")");break}return!0}_normalMsg(){let t;this._FBU.rects>0?t=0:t=this._sock.rQshift8();let n,r;switch(t){case 0:return r=this._framebufferUpdate(),r&&!this._enabledContinuousUpdates&&e.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),r;case 1:return this._handleSetColourMapMsg();case 2:return se("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return n=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,n&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),Be("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+t+")"),se("sock.rQpeekBytes(30): "+this._sock.rQpeekBytes(30)),!0}}_framebufferUpdate(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush().then(()=>{this._flushing=!1,this._sock.rQwait("message",1)||this._handleMessage()}),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;this._FBU.x=this._sock.rQshift16(),this._FBU.y=this._sock.rQshift16(),this._FBU.width=this._sock.rQshift16(),this._FBU.height=this._sock.rQshift16(),this._FBU.encoding=this._sock.rQshift32(),this._FBU.encoding>>=0}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}_handleRect(){switch(this._FBU.encoding){case ce.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case ce.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case ce.pseudoEncodingCursor:return this._handleCursor();case ce.pseudoEncodingQEMUExtendedKeyEvent:return this._qemuExtKeyEventSupported=!0,!0;case ce.pseudoEncodingDesktopName:return this._handleDesktopName();case ce.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case ce.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();case ce.pseudoEncodingExtendedMouseButtons:return this._extendedPointerEventSupported=!0,!0;case ce.pseudoEncodingQEMULedEvent:return this._handleLedEvent();default:return this._handleDataRect()}}_handleVMwareCursor(){let t=this._FBU.x,n=this._FBU.y,r=this._FBU.width,o=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;let i=this._sock.rQshift8();this._sock.rQshift8();let s,a=4;if(i==0){if(s=new Array(r*o*a),this._sock.rQwait("VMware cursor classic encoding",r*o*a*2,2))return!1;let l=new Array(r*o);for(let p=0;p<r*o;p++)l[p]=this._sock.rQshift32();let d=new Array(r*o);for(let p=0;p<r*o;p++)d[p]=this._sock.rQshift32();for(let p=0;p<r*o;p++)if(l[p]==0){let f=d[p],h=f>>8&255,m=f>>16&255,g=f>>24&255;s[p*a]=h,s[p*a+1]=m,s[p*a+2]=g,s[p*a+3]=255}else(l[p]&-256)==-256?d[p]==0?(s[p*a]=0,s[p*a+1]=0,s[p*a+2]=0,s[p*a+3]=0):(d[p]&-256,s[p*a]=0,s[p*a+1]=0,s[p*a+2]=0,s[p*a+3]=255):(s[p*a]=0,s[p*a+1]=0,s[p*a+2]=0,s[p*a+3]=255)}else if(i==1){if(this._sock.rQwait("VMware cursor alpha encoding",r*o*4,2))return!1;s=new Array(r*o*a);for(let c=0;c<r*o;c++){let l=this._sock.rQshift32();s[c*4]=l>>24&255,s[c*4+1]=l>>16&255,s[c*4+2]=l>>8&255,s[c*4+3]=l&255}}else return Ue("The given cursor type is not supported: "+i+" given."),!1;return this._updateCursor(s,t,n,r,o),!0}_handleCursor(){let t=this._FBU.x,n=this._FBU.y,r=this._FBU.width,o=this._FBU.height,i=r*o*4,s=Math.ceil(r/8)*o,a=i+s;if(this._sock.rQwait("cursor encoding",a))return!1;let c=this._sock.rQshiftBytes(i),l=this._sock.rQshiftBytes(s),d=new Uint8Array(r*o*4),p=0;for(let f=0;f<o;f++)for(let h=0;h<r;h++){let m=f*Math.ceil(r/8)+Math.floor(h/8),g=l[m]<<h%8&128?255:0;d[p]=c[p+2],d[p+1]=c[p+1],d[p+2]=c[p],d[p+3]=g,p+=4}return this._updateCursor(d,t,n,r,o),!0}_handleDesktopName(){if(this._sock.rQwait("DesktopName",4))return!1;let t=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",t,4))return!1;let n=this._sock.rQshiftStr(t);return n=za(n,!0),this._setDesktopName(n),!0}_handleLedEvent(){if(this._sock.rQwait("LED status",1))return!1;let t=this._sock.rQshift8(),n=!!(t&2),r=!!(t&4);return this._remoteCapsLock=r,this._remoteNumLock=n,!0}_handleExtendedDesktopSize(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;let t=this._sock.rQpeek8(),n=4+t*16;if(this._sock.rQwait("ExtendedDesktopSize",n))return!1;let r=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(let o=0;o<t;o+=1)o===0?(this._screenID=this._sock.rQshift32(),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screenFlags=this._sock.rQshift32()):this._sock.rQskipBytes(16);if(this._FBU.x===1&&(this._pendingRemoteResize=!1),this._FBU.x===1&&this._FBU.y!==0){let o="";switch(this._FBU.y){case 1:o="Resize is administratively prohibited";break;case 2:o="Out of resources";break;case 3:o="Invalid screen layout";break;default:o="Unknown reason";break}Ue("Server did not accept the resize request: "+o)}else this._resize(this._FBU.width,this._FBU.height);return r&&this._requestRemoteResize(),this._FBU.x===1&&this._FBU.y===0&&this._requestRemoteResize(),!0}_handleDataRect(){let t=this._decoders[this._FBU.encoding];if(!t)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return t.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(n){return this._fail("Error decoding rect: "+n),!1}}_updateContinuousUpdates(){this._enabledContinuousUpdates&&e.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}_resize(t,n){this._fbWidth=t,this._fbHeight=n,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates(),this._saveExpectedClientSize()}_xvpOp(t,n){this._rfbXvpVer<t||(Be("Sending XVP operation "+n+" (version "+t+")"),e.messages.xvpOp(this._sock,t,n))}_updateCursor(t,n,r,o,i){this._cursorImage={rgbaPixels:t,hotx:n,hoty:r,w:o,h:i},this._refreshCursor()}_shouldShowDotCursor(){if(!this._showDotCursor)return!1;for(let t=3;t<this._cursorImage.rgbaPixels.length;t+=4)if(this._cursorImage.rgbaPixels[t])return!1;return!0}_refreshCursor(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;let t=this._shouldShowDotCursor()?e.cursors.dot:this._cursorImage;this._cursor.change(t.rgbaPixels,t.hotx,t.hoty,t.w,t.h)}static genDES(t,n){let r=t.split("").map(i=>i.charCodeAt(0)),o=Oe.importKey("raw",r,{name:"DES-ECB"},!1,["encrypt"]);return Oe.encrypt({name:"DES-ECB"},o,n)}};lt.messages={keyEvent(e,t,n){e.sQpush8(4),e.sQpush8(n),e.sQpush16(0),e.sQpush32(t),e.flush()},QEMUExtendedKeyEvent(e,t,n,r){function o(s){let a=r>>8,c=r&255;return a===224&&c<127?c|128:s}e.sQpush8(255),e.sQpush8(0),e.sQpush16(n),e.sQpush32(t);let i=o(r);e.sQpush32(i),e.flush()},pointerEvent(e,t,n,r){e.sQpush8(5),r=r&127,e.sQpush8(r),e.sQpush16(t),e.sQpush16(n),e.flush()},extendedPointerEvent(e,t,n,r){e.sQpush8(5);let o=r>>7&255;if(o&252)throw new Error("Invalid mouse button mask: "+r);let i=r&127;i|=128,e.sQpush8(i),e.sQpush16(t),e.sQpush16(n),e.sQpush8(o),e.flush()},_buildExtendedClipboardFlags(e,t){let n=new Uint8Array(4),r=0,o=0;for(let i=0;i<e.length;i++)o|=e[i];for(let i=0;i<t.length;i++)r|=t[i];return n[0]=o>>24,n[1]=0,n[2]=0,n[3]=r,n},extendedClipboardProvide(e,t,n){let r=new Ii,o=[];for(let a=0;a<t.length;a++){if(t[a]!=jt)throw new Error("Unsupported extended clipboard format for Provide message.");n[a]=n[a].replace(/\r\n|\r|\n/gm,`\r
5
- `);let c=Ft(n[a]+"\0");o.push(c.length>>24&255,c.length>>16&255,c.length>>8&255,c.length&255);for(let l=0;l<c.length;l++)o.push(c.charCodeAt(l))}let i=r.deflate(new Uint8Array(o)),s=new Uint8Array(4+i.length);s.set(lt.messages._buildExtendedClipboardFlags([hl],t)),s.set(i,4),lt.messages.clientCutText(e,s,!0)},extendedClipboardNotify(e,t){let n=lt.messages._buildExtendedClipboardFlags([Wi],t);lt.messages.clientCutText(e,n,!0)},extendedClipboardRequest(e,t){let n=lt.messages._buildExtendedClipboardFlags([fl],t);lt.messages.clientCutText(e,n,!0)},extendedClipboardCaps(e,t,n){let r=Object.keys(n),o=new Uint8Array(4+4*r.length);r.map(s=>parseInt(s)),r.sort((s,a)=>s-a),o.set(lt.messages._buildExtendedClipboardFlags(t,[]));let i=4;for(let s=0;s<r.length;s++)o[i]=n[r[s]]>>24,o[i+1]=n[r[s]]>>16,o[i+2]=n[r[s]]>>8,o[i+3]=n[r[s]]>>0,i+=4,o[3]|=1<<r[s];lt.messages.clientCutText(e,o,!0)},clientCutText(e,t,n=!1){e.sQpush8(6),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0);let r;n?r=B_(-t.length):r=t.length,e.sQpush32(r),e.sQpushBytes(t),e.flush()},setDesktopSize(e,t,n,r,o){e.sQpush8(251),e.sQpush8(0),e.sQpush16(t),e.sQpush16(n),e.sQpush8(1),e.sQpush8(0),e.sQpush32(r),e.sQpush16(0),e.sQpush16(0),e.sQpush16(t),e.sQpush16(n),e.sQpush32(o),e.flush()},clientFence(e,t,n){e.sQpush8(248),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.sQpush32(t),e.sQpush8(n.length),e.sQpushString(n),e.flush()},enableContinuousUpdates(e,t,n,r,o,i){e.sQpush8(150),e.sQpush8(t),e.sQpush16(n),e.sQpush16(r),e.sQpush16(o),e.sQpush16(i),e.flush()},pixelFormat(e,t,n){let r;t>16?r=32:t>8?r=16:r=8;let o=Math.floor(t/3);e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.sQpush8(r),e.sQpush8(t),e.sQpush8(0),e.sQpush8(n?1:0),e.sQpush16((1<<o)-1),e.sQpush16((1<<o)-1),e.sQpush16((1<<o)-1),e.sQpush8(o*0),e.sQpush8(o*1),e.sQpush8(o*2),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.flush()},clientEncodings(e,t){e.sQpush8(2),e.sQpush8(0),e.sQpush16(t.length);for(let n=0;n<t.length;n++)e.sQpush32(t[n]);e.flush()},fbUpdateRequest(e,t,n,r,o,i){typeof n>"u"&&(n=0),typeof r>"u"&&(r=0),e.sQpush8(3),e.sQpush8(t?1:0),e.sQpush16(n),e.sQpush16(r),e.sQpush16(o),e.sQpush16(i),e.flush()},xvpOp(e,t,n){e.sQpush8(250),e.sQpush8(0),e.sQpush8(t),e.sQpush8(n),e.flush()}};lt.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}};var Wt="home",kp="desktop",Sp="notifications";var NT=/^thr_[a-z0-9]+$/;function Ep(e){return e.experimental_messageSeq}function RT(e,t){let n=Math.floor(Math.max(0,t-e)/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;let r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function Cp(e,t){let n=e.replies===1?"1 reply":`${e.replies} replies`;return e.replies===0?"Thread started":`${n} \xB7 last ${RT(e.lastActivityAt,t)}`}var Qt={kind:"main"},Xy="thread",By="full";function ml(e){if(e.kind==="main")return"";let t=`${Xy}/${e.threadId}`;return e.kind==="full"?`${t}/${By}`:t}function Uy(e){let[t,n,r,...o]=e.split("/");return t!==Xy||n===void 0||!NT.test(n)||o.length>0?Qt:r===void 0?{kind:"beside",threadId:n}:r===By?{kind:"full",threadId:n}:Qt}function Zy(e,t){return ml(e)===ml(t)}function Ap(e){return e.kind==="main"?null:e.threadId}function gl(e){return e.kind==="full"?{kind:"beside",threadId:e.threadId}:Qt}function Hy(e,t,n){return{kind:n||e.kind==="full"?"full":"beside",threadId:t}}function Vy(e,t){return e.kind==="main"?"open":t.kind==="main"?"close":e.threadId!==t.threadId&&e.kind===t.kind?"swap":t.kind==="full"?"full":"unfull"}var Ky={needs:0,working:1,finished:2},xl={needs:"Needs you",working:"Working",finished:"Finished"};function Pn(e,t){return t.has(e.threadId)?"needs":e.running?"working":"finished"}function jy(e,t){return e.filter(n=>!n.done).sort((n,r)=>Ky[Pn(n,t)]-Ky[Pn(r,t)]||r.lastActivityAt-n.lastActivityAt)}function Qy(e,t,n){let r=new Set(t.map(l=>l.threadId)),o=new Set([...r].filter(l=>n.has(l))),i={open:r,needs:o};if(e===null)return{clearOverride:!1,seen:i};let s=[...r].some(l=>!e.open.has(l)),a=[...o].some(l=>!e.needs.has(l));return{clearOverride:e.open.size>0&&r.size===0||s||a,seen:i}}function Wy(e,t,n){let r=[null,...t],o=Math.max(0,r.indexOf(Ap(e)));return r[(o+n+r.length)%r.length]??null}function Gi(e,t){return t.get(e.threadId)??(e.rootPreview.trim()||"A message")}function Gy(e,t){let n=e.outcomes.at(-1);return n?`\u21B3 ${n.text}`:Cp(e,t)}var _l=null;function Yy(e){return _l=e,()=>{_l===e&&(_l=null)}}function co(){return _l}var qy="moonlet-chat-motion",Gt="data-moonlet-vt",yl="data-moonlet-vt-device";var Jy="cubic-bezier(.2, .8, .2, 1)",fr="var(--moonlet-lamp, oklch(0.72 0.14 78))",$T=`
5
+ `);let c=Ft(n[a]+"\0");o.push(c.length>>24&255,c.length>>16&255,c.length>>8&255,c.length&255);for(let l=0;l<c.length;l++)o.push(c.charCodeAt(l))}let i=r.deflate(new Uint8Array(o)),s=new Uint8Array(4+i.length);s.set(lt.messages._buildExtendedClipboardFlags([hl],t)),s.set(i,4),lt.messages.clientCutText(e,s,!0)},extendedClipboardNotify(e,t){let n=lt.messages._buildExtendedClipboardFlags([Wi],t);lt.messages.clientCutText(e,n,!0)},extendedClipboardRequest(e,t){let n=lt.messages._buildExtendedClipboardFlags([fl],t);lt.messages.clientCutText(e,n,!0)},extendedClipboardCaps(e,t,n){let r=Object.keys(n),o=new Uint8Array(4+4*r.length);r.map(s=>parseInt(s)),r.sort((s,a)=>s-a),o.set(lt.messages._buildExtendedClipboardFlags(t,[]));let i=4;for(let s=0;s<r.length;s++)o[i]=n[r[s]]>>24,o[i+1]=n[r[s]]>>16,o[i+2]=n[r[s]]>>8,o[i+3]=n[r[s]]>>0,i+=4,o[3]|=1<<r[s];lt.messages.clientCutText(e,o,!0)},clientCutText(e,t,n=!1){e.sQpush8(6),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0);let r;n?r=B_(-t.length):r=t.length,e.sQpush32(r),e.sQpushBytes(t),e.flush()},setDesktopSize(e,t,n,r,o){e.sQpush8(251),e.sQpush8(0),e.sQpush16(t),e.sQpush16(n),e.sQpush8(1),e.sQpush8(0),e.sQpush32(r),e.sQpush16(0),e.sQpush16(0),e.sQpush16(t),e.sQpush16(n),e.sQpush32(o),e.flush()},clientFence(e,t,n){e.sQpush8(248),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.sQpush32(t),e.sQpush8(n.length),e.sQpushString(n),e.flush()},enableContinuousUpdates(e,t,n,r,o,i){e.sQpush8(150),e.sQpush8(t),e.sQpush16(n),e.sQpush16(r),e.sQpush16(o),e.sQpush16(i),e.flush()},pixelFormat(e,t,n){let r;t>16?r=32:t>8?r=16:r=8;let o=Math.floor(t/3);e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.sQpush8(r),e.sQpush8(t),e.sQpush8(0),e.sQpush8(n?1:0),e.sQpush16((1<<o)-1),e.sQpush16((1<<o)-1),e.sQpush16((1<<o)-1),e.sQpush8(o*0),e.sQpush8(o*1),e.sQpush8(o*2),e.sQpush8(0),e.sQpush8(0),e.sQpush8(0),e.flush()},clientEncodings(e,t){e.sQpush8(2),e.sQpush8(0),e.sQpush16(t.length);for(let n=0;n<t.length;n++)e.sQpush32(t[n]);e.flush()},fbUpdateRequest(e,t,n,r,o,i){typeof n>"u"&&(n=0),typeof r>"u"&&(r=0),e.sQpush8(3),e.sQpush8(t?1:0),e.sQpush16(n),e.sQpush16(r),e.sQpush16(o),e.sQpush16(i),e.flush()},xvpOp(e,t,n){e.sQpush8(250),e.sQpush8(0),e.sQpush8(t),e.sQpush8(n),e.flush()}};lt.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}};var Wt="home",kp="desktop",Sp="notifications";var NT=/^thr_[a-z0-9]+$/;function Ep(e){return e.experimental_messageSeq}function RT(e,t){let n=Math.floor(Math.max(0,t-e)/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;let r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function Cp(e,t){let n=e.replies===1?"1 reply":`${e.replies} replies`;return e.replies===0?"Thread started":`${n} \xB7 last ${RT(e.lastActivityAt,t)}`}var Qt={kind:"main"},Xy="thread",By="full";function ml(e){if(e.kind==="main")return"";let t=`${Xy}/${e.threadId}`;return e.kind==="full"?`${t}/${By}`:t}function Uy(e){let[t,n,r,...o]=e.split("/");return t!==Xy||n===void 0||!NT.test(n)||o.length>0?Qt:r===void 0?{kind:"beside",threadId:n}:r===By?{kind:"full",threadId:n}:Qt}function Zy(e,t){return ml(e)===ml(t)}function Ap(e){return e.kind==="main"?null:e.threadId}function gl(e){return e.kind==="full"?{kind:"beside",threadId:e.threadId}:Qt}function Hy(e,t,n){return{kind:n||e.kind==="full"?"full":"beside",threadId:t}}function Vy(e,t){return e.kind==="main"?"open":t.kind==="main"?"close":e.threadId!==t.threadId&&e.kind===t.kind?"swap":t.kind==="full"?"full":"unfull"}var Ky={needs:0,working:1,finished:2},xl={needs:"Needs you",working:"Working",finished:"Finished"};function Pn(e,t){return t.has(e.threadId)?"needs":e.running?"working":"finished"}function jy(e,t){return e.filter(n=>!n.done).sort((n,r)=>Ky[Pn(n,t)]-Ky[Pn(r,t)]||r.lastActivityAt-n.lastActivityAt)}function Qy(e,t,n){let r=new Set(t.map(l=>l.threadId)),o=new Set([...r].filter(l=>n.has(l))),i={open:r,needs:o};if(e===null)return{clearOverride:!1,seen:i};let s=[...r].some(l=>!e.open.has(l)),a=[...o].some(l=>!e.needs.has(l));return{clearOverride:e.open.size>0&&r.size===0||s||a,seen:i}}function Wy(e,t,n){let r=[null,...t],o=Math.max(0,r.indexOf(Ap(e)));return r[(o+n+r.length)%r.length]??null}function Gi(e,t){return t.get(e.threadId)??(e.rootPreview.trim()||"A message")}function Gy(e,t){let n=e.outcomes.at(-1),r=n?`\u21B3 ${n.text}`:Cp(e,t);return e.project?`${e.project.split("/").at(-1)} \xB7 ${r}`:r}var _l=null;function Yy(e){return _l=e,()=>{_l===e&&(_l=null)}}function co(){return _l}var qy="moonlet-chat-motion",Gt="data-moonlet-vt",yl="data-moonlet-vt-device";var Jy="cubic-bezier(.2, .8, .2, 1)",fr="var(--moonlet-lamp, oklch(0.72 0.14 78))",$T=`
6
6
  [data-moonlet-pane="rail"] { view-transition-name: moonlet-rail; }
7
7
  [data-moonlet-pane="main"] { view-transition-name: moonlet-main; }
8
8
  [data-moonlet-pane="thread"] { view-transition-name: moonlet-thread; }
@@ -1,12 +1,12 @@
1
1
  {
2
- "commit": "36356f325aeadbcbc7902a4d06f45bb35bba1b37",
2
+ "commit": "99272df4644e5cb77498b65a1857955820105342",
3
3
  "file": "orbit-deploy",
4
4
  "platform": "linux-x64",
5
5
  "provenance": {
6
- "artifactId": 14906911569,
7
- "artifactName": "linux-bundle-36356f325aeadbcbc7902a4d06f45bb35bba1b37",
6
+ "artifactId": 14911845350,
7
+ "artifactName": "linux-bundle-99272df4644e5cb77498b65a1857955820105342",
8
8
  "repository": "matt0x6F/personalassistant",
9
- "runId": 45360972658,
9
+ "runId": 45369404711,
10
10
  "workflow": ".github/workflows/moonlet-linux-bundle.yml"
11
11
  },
12
12
  "schema": 1,
@@ -1 +1 @@
1
- 36356f325aeadbcbc7902a4d06f45bb35bba1b37
1
+ 99272df4644e5cb77498b65a1857955820105342
@@ -1 +1 @@
1
- {"repository":"matt0x6F/personalassistant","revision":"36356f325aeadbcbc7902a4d06f45bb35bba1b37"}
1
+ {"repository":"matt0x6F/personalassistant","revision":"99272df4644e5cb77498b65a1857955820105342"}
@@ -201,7 +201,7 @@ send it after. What can't wait (something failing that they'd want to know now)
201
201
  You **dispatch**: you answer what you can from memory in a moment, and hand everything else to an
202
202
  agent or a chat. You never do slow work here. You can't anyway: in this thread you can only run
203
203
  `bb thread spawn|tell|list|show`, `bb orbit route spawn|tell`, `bb orbit relay`, `bb orbit schedule add|list|cancel`,
204
- `bb orbit prefs show|propose`, `bb orbit changes propose|list|show|withdraw|undo`, `bb orbit threads list|archive`, `bb orbit thread reply`, `bb orbit thread open`, `bb orbit thread outcome` (in a thread), `bb tasks …` in the ORB project,
204
+ `bb orbit prefs show|propose`, `bb orbit changes propose|list|show|withdraw|undo`, `bb orbit threads list|archive`, `bb orbit thread reply`, `bb orbit thread open`, `bb orbit thread outcome` and `bb orbit thread project` (in a thread), `bb orbit project add`, `bb tasks …` in the ORB project,
205
205
  `bb agent-board show <thread>`, `bb host-monitor snapshot`, `bb orbit messages send|list|read|mark-read|reply`,
206
206
  `bb memory …`, `bb status` and `orbit-render <name>.html`, and
207
207
  read or write your journal and open loops index, read files {{owner}} attaches in this chat (the
@@ -243,8 +243,9 @@ thread's work.
243
243
  own and some back-and-forth (research, a design, a feature, a problem to chase, anything you'd
244
244
  report on more than once), or they ask for a thread, carry it on in the thread on their message:
245
245
  `bb orbit thread open --brief '<what to do there>'` (or `--brief-stdin`; `--to <seq>` for another
246
- message than their latest). It starts a turn in that thread with your brief, and there you start
247
- the work, so it reports there, and tell {{owner}} what you're doing with `bb orbit say`. Here,
246
+ message than their latest; `--project <repo>` when it's about one of {{owner}}'s repos). It
247
+ starts a turn in that thread with your brief, and there you start the work, so it reports there,
248
+ and tell {{owner}} what you're doing with `bb orbit say`. Here,
248
249
  answer in a few words that it's in the thread, and do nothing more about it in this
249
250
  conversation. A quick answer, a decision or a change of direction stays here.
250
251
 
@@ -348,6 +349,10 @@ bb thread spawn --parent-self --provider <station harness> --visibility visible
348
349
  **Work on one of {{owner}}'s projects** (a feature for one of their apps, say): start the agent or chat in
349
350
  that project, so it sits with the project's threads, tasks and files, in a worktree of
350
351
  its own on this station. It's still yours: it reports back here, and upkeep watches it.
352
+ A project is one of {{owner}}'s GitHub repos, named `<repo>` as GitHub names it. A repo the broker serves with no copy here yet gets
353
+ one with `bb orbit project add <repo>`; don't do its work in your own folders instead. A
354
+ thread about one repo carries it as its project (`--project` on `bb orbit thread open`, or
355
+ `bb orbit thread project --project <repo>` in the thread): its work starts in that project.
351
356
  Projects with a copy on this station:
352
357
 
353
358
  {{projects}}