@halcyonlabs/app 0.47.0-halcyon.607 → 0.47.0-halcyon.617

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.
Files changed (696) hide show
  1. package/app/dist/assets/{AddMachineDialog-CG2ZZhp-.js → AddMachineDialog-Dl8463-H.js} +1 -1
  2. package/app/dist/assets/AddMachineDialog-Dl8463-H.js.br +0 -0
  3. package/app/dist/assets/AddMachineDialog-Dl8463-H.js.gz +0 -0
  4. package/app/dist/assets/{AppCommandShortcutHint-CCVkbqD1.js → AppCommandShortcutHint-BFFp1FEJ.js} +1 -1
  5. package/app/dist/assets/{AppFileExternalNavigationDispatcher-DETVZfBW.js → AppFileExternalNavigationDispatcher-Drn52GtO.js} +1 -1
  6. package/app/dist/assets/AppFileExternalNavigationDispatcher-Drn52GtO.js.br +0 -0
  7. package/app/dist/assets/AppFileExternalNavigationDispatcher-Drn52GtO.js.gz +0 -0
  8. package/app/dist/assets/{AppToasterView-BpJaGVQ1.js → AppToasterView-C38q0zKd.js} +1 -1
  9. package/app/dist/assets/BrowserTabDeck-C1WR3N8t.js +1 -0
  10. package/app/dist/assets/BrowserTabDeck-C1WR3N8t.js.br +0 -0
  11. package/app/dist/assets/BrowserTabDeck-C1WR3N8t.js.gz +0 -0
  12. package/app/dist/assets/{CommandPaletteBody-BeiWvSTK.js → CommandPaletteBody-DYF_dqYa.js} +1 -1
  13. package/app/dist/assets/CommandPaletteBody-DYF_dqYa.js.br +0 -0
  14. package/app/dist/assets/CommandPaletteBody-DYF_dqYa.js.gz +0 -0
  15. package/app/dist/assets/DiffHost-BWn6U0v1.js +1 -0
  16. package/app/dist/assets/DiffHost-BWn6U0v1.js.br +0 -0
  17. package/app/dist/assets/DiffHost-BWn6U0v1.js.gz +0 -0
  18. package/app/dist/assets/{ExperimentalFileLinkMenu-CDVoETHe.js → ExperimentalFileLinkMenu-BKYFmwiR.js} +1 -1
  19. package/app/dist/assets/ExperimentalFileLinkMenu-BKYFmwiR.js.br +0 -0
  20. package/app/dist/assets/ExperimentalFileLinkMenu-BKYFmwiR.js.gz +0 -0
  21. package/app/dist/assets/{FilePreview-CzacGZ35.js → FilePreview-U1tgNJMa.js} +2 -2
  22. package/app/dist/assets/FilePreview-U1tgNJMa.js.br +0 -0
  23. package/app/dist/assets/FilePreview-U1tgNJMa.js.gz +0 -0
  24. package/app/dist/assets/{GitDiffCardHeader-CJtFaq1K.js → GitDiffCardHeader-BzQWJkXM.js} +1 -1
  25. package/app/dist/assets/GitDiffCardHeader-BzQWJkXM.js.br +0 -0
  26. package/app/dist/assets/GitDiffCardHeader-BzQWJkXM.js.gz +0 -0
  27. package/app/dist/assets/{InlineMessageEditorFrame-C0rqOlNn.js → InlineMessageEditorFrame-DBKxXp7v.js} +1 -1
  28. package/app/dist/assets/InlineMessageEditorFrame-DBKxXp7v.js.br +0 -0
  29. package/app/dist/assets/InlineMessageEditorFrame-DBKxXp7v.js.gz +0 -0
  30. package/app/dist/assets/{MachineLabel-vUI5j8ve.js → MachineLabel-DS8PSJc_.js} +1 -1
  31. package/app/dist/assets/MachineLabel-DS8PSJc_.js.br +0 -0
  32. package/app/dist/assets/MachineLabel-DS8PSJc_.js.gz +0 -0
  33. package/app/dist/assets/{MachineRenameDialog-CrnZuppe.js → MachineRenameDialog-CQx4XFLY.js} +1 -1
  34. package/app/dist/assets/MachineRenameDialog-CQx4XFLY.js.br +0 -0
  35. package/app/dist/assets/MachineRenameDialog-CQx4XFLY.js.gz +0 -0
  36. package/app/dist/assets/MachineSettingsView-C72F-k0u.js +1 -0
  37. package/app/dist/assets/MachineSettingsView-C72F-k0u.js.br +0 -0
  38. package/app/dist/assets/MachineSettingsView-C72F-k0u.js.gz +0 -0
  39. package/app/dist/assets/{MicrophonePreferences-wMQ36e_Q.js → MicrophonePreferences-CHIX4UC2.js} +1 -1
  40. package/app/dist/assets/MicrophonePreferences-CHIX4UC2.js.br +0 -0
  41. package/app/dist/assets/MicrophonePreferences-CHIX4UC2.js.gz +0 -0
  42. package/app/dist/assets/ModelReasoningMenu-CqzyGKPV.js +1 -0
  43. package/app/dist/assets/ModelReasoningMenu-CqzyGKPV.js.br +0 -0
  44. package/app/dist/assets/ModelReasoningMenu-CqzyGKPV.js.gz +0 -0
  45. package/app/dist/assets/MoonletDiff-Cn_8GRyT.js +1 -0
  46. package/app/dist/assets/MoonletDiff-Cn_8GRyT.js.br +0 -0
  47. package/app/dist/assets/MoonletDiff-Cn_8GRyT.js.gz +0 -0
  48. package/app/dist/assets/MoonletDiffSplit-BGjCtQ2R.js +2 -0
  49. package/app/dist/assets/MoonletDiffSplit-BGjCtQ2R.js.br +0 -0
  50. package/app/dist/assets/MoonletDiffSplit-BGjCtQ2R.js.gz +0 -0
  51. package/app/dist/assets/MoonletSourceCode-DxMzgoHq.js +2 -0
  52. package/app/dist/assets/MoonletSourceCode-DxMzgoHq.js.br +0 -0
  53. package/app/dist/assets/MoonletSourceCode-DxMzgoHq.js.gz +0 -0
  54. package/app/dist/assets/{NewTabPage-BOqCqqLe.js → NewTabPage-BFN-aWBP.js} +2 -2
  55. package/app/dist/assets/NewTabPage-BFN-aWBP.js.br +0 -0
  56. package/app/dist/assets/NewTabPage-BFN-aWBP.js.gz +0 -0
  57. package/app/dist/assets/NewThreadComposer-hC_11bnI.js +1 -0
  58. package/app/dist/assets/NewThreadComposer-hC_11bnI.js.br +0 -0
  59. package/app/dist/assets/NewThreadComposer-hC_11bnI.js.gz +0 -0
  60. package/app/dist/assets/OnboardingFlow-CojLVjXc.js +1 -0
  61. package/app/dist/assets/OnboardingFlow-CojLVjXc.js.br +0 -0
  62. package/app/dist/assets/OnboardingFlow-CojLVjXc.js.gz +0 -0
  63. package/app/dist/assets/OptionPicker-BqVSa33I.js +1 -0
  64. package/app/dist/assets/OptionPicker-BqVSa33I.js.br +0 -0
  65. package/app/dist/assets/OptionPicker-BqVSa33I.js.gz +0 -0
  66. package/app/dist/assets/{PaletteShell-BMkwhUdz.js → PaletteShell-B6LeovGF.js} +1 -1
  67. package/app/dist/assets/PaletteShell-B6LeovGF.js.br +0 -0
  68. package/app/dist/assets/PaletteShell-B6LeovGF.js.gz +0 -0
  69. package/app/dist/assets/{PaneMaximizeButton-DgXn2p5T.js → PaneMaximizeButton-CRY2ZNg8.js} +1 -1
  70. package/app/dist/assets/PaneMaximizeButton-CRY2ZNg8.js.br +0 -0
  71. package/app/dist/assets/PaneMaximizeButton-CRY2ZNg8.js.gz +0 -0
  72. package/app/dist/assets/{PierreLineSelectionActions-V_GPrVau.js → PierreLineSelectionActions-iQ58D4fK.js} +1 -1
  73. package/app/dist/assets/PierreLineSelectionActions-iQ58D4fK.js.br +0 -0
  74. package/app/dist/assets/PierreLineSelectionActions-iQ58D4fK.js.gz +0 -0
  75. package/app/dist/assets/PluginPanelRightPanelHost-DtG4vnDS.js +1 -0
  76. package/app/dist/assets/PluginPanelRightPanelHost-DtG4vnDS.js.br +0 -0
  77. package/app/dist/assets/PluginPanelRightPanelHost-DtG4vnDS.js.gz +0 -0
  78. package/app/dist/assets/{PluginSettingsSections-ZnUNrvlJ.js → PluginSettingsSections-BNhCRdhP.js} +2 -2
  79. package/app/dist/assets/PluginSettingsSections-BNhCRdhP.js.br +0 -0
  80. package/app/dist/assets/PluginSettingsSections-BNhCRdhP.js.gz +0 -0
  81. package/app/dist/assets/{PluginThreadChat-DtIyKaqq.js → PluginThreadChat-BGmTPVqg.js} +1 -1
  82. package/app/dist/assets/PluginThreadChat-BGmTPVqg.js.br +0 -0
  83. package/app/dist/assets/PluginThreadChat-BGmTPVqg.js.gz +0 -0
  84. package/app/dist/assets/ProjectDetailSettingsView-ZnMhDqoI.js +1 -0
  85. package/app/dist/assets/ProjectDetailSettingsView-ZnMhDqoI.js.br +0 -0
  86. package/app/dist/assets/ProjectDetailSettingsView-ZnMhDqoI.js.gz +0 -0
  87. package/app/dist/assets/ProjectMachineSetupDialog-Dm9AuMWJ.js +1 -0
  88. package/app/dist/assets/ProjectMachineSetupDialog-Dm9AuMWJ.js.br +0 -0
  89. package/app/dist/assets/ProjectMachineSetupDialog-Dm9AuMWJ.js.gz +0 -0
  90. package/app/dist/assets/{ProjectsSettingsSection-CIshX8Xc.js → ProjectsSettingsSection-BeLBrzeB.js} +3 -3
  91. package/app/dist/assets/ProjectsSettingsSection-BeLBrzeB.js.br +0 -0
  92. package/app/dist/assets/ProjectsSettingsSection-BeLBrzeB.js.gz +0 -0
  93. package/app/dist/assets/QueuedMessagesList-DMbZRCEm.js +3 -0
  94. package/app/dist/assets/QueuedMessagesList-DMbZRCEm.js.br +0 -0
  95. package/app/dist/assets/QueuedMessagesList-DMbZRCEm.js.gz +0 -0
  96. package/app/dist/assets/RemotePathBrowser-DLztiVGH.js +1 -0
  97. package/app/dist/assets/RemotePathBrowser-DLztiVGH.js.br +0 -0
  98. package/app/dist/assets/RemotePathBrowser-DLztiVGH.js.gz +0 -0
  99. package/app/dist/assets/RootComposeView-DUgxvM9u.js +1 -0
  100. package/app/dist/assets/RootComposeView-DUgxvM9u.js.br +0 -0
  101. package/app/dist/assets/RootComposeView-DUgxvM9u.js.gz +0 -0
  102. package/app/dist/assets/SecondaryPanelLayout-BCmpBdPU.js +1 -0
  103. package/app/dist/assets/SecondaryPanelLayout-BCmpBdPU.js.br +0 -0
  104. package/app/dist/assets/SecondaryPanelLayout-BCmpBdPU.js.gz +0 -0
  105. package/app/dist/assets/{ServerMoveOverlayView-BSJahQeB.js → ServerMoveOverlayView-C2OCw9Kf.js} +1 -1
  106. package/app/dist/assets/ServerMoveOverlayView-C2OCw9Kf.js.br +0 -0
  107. package/app/dist/assets/ServerMoveOverlayView-C2OCw9Kf.js.gz +0 -0
  108. package/app/dist/assets/SettingsSidebar-p9_ibXT8.js +1 -0
  109. package/app/dist/assets/SettingsSidebar-p9_ibXT8.js.br +0 -0
  110. package/app/dist/assets/SettingsSidebar-p9_ibXT8.js.gz +0 -0
  111. package/app/dist/assets/SettingsView-BKRQE25G.js +7 -0
  112. package/app/dist/assets/SettingsView-BKRQE25G.js.br +0 -0
  113. package/app/dist/assets/SettingsView-BKRQE25G.js.gz +0 -0
  114. package/app/dist/assets/SidebarFooterCustomize-DbS8mpRZ.js +1 -0
  115. package/app/dist/assets/SidebarFooterCustomize-DbS8mpRZ.js.br +0 -0
  116. package/app/dist/assets/SidebarFooterCustomize-DbS8mpRZ.js.gz +0 -0
  117. package/app/dist/assets/SidebarVisibilityCustomize-CHL1v-5j.js +1 -0
  118. package/app/dist/assets/SidebarVisibilityCustomize-CHL1v-5j.js.br +0 -0
  119. package/app/dist/assets/SidebarVisibilityCustomize-CHL1v-5j.js.gz +0 -0
  120. package/app/dist/assets/SourceCodeHost-HqsxZuJa.js +2 -0
  121. package/app/dist/assets/SourceCodeHost-HqsxZuJa.js.br +0 -0
  122. package/app/dist/assets/SourceCodeHost-HqsxZuJa.js.gz +0 -0
  123. package/app/dist/assets/SplitWorkspaceRoute-DGc30R4l.js +2 -0
  124. package/app/dist/assets/SplitWorkspaceRoute-DGc30R4l.js.br +0 -0
  125. package/app/dist/assets/SplitWorkspaceRoute-DGc30R4l.js.gz +0 -0
  126. package/app/dist/assets/{TerminalOutputBlock-DKsNjK8s.js → TerminalOutputBlock-jTcwIxVj.js} +1 -1
  127. package/app/dist/assets/TerminalOutputBlock-jTcwIxVj.js.br +0 -0
  128. package/app/dist/assets/TerminalOutputBlock-jTcwIxVj.js.gz +0 -0
  129. package/app/dist/assets/ThreadActionsMenu-D_7lWawN.js +1 -0
  130. package/app/dist/assets/ThreadActionsMenu-D_7lWawN.js.br +0 -0
  131. package/app/dist/assets/ThreadActionsMenu-D_7lWawN.js.gz +0 -0
  132. package/app/dist/assets/ThreadDetailView-s8_9uPY3.js +6 -0
  133. package/app/dist/assets/ThreadDetailView-s8_9uPY3.js.br +0 -0
  134. package/app/dist/assets/ThreadDetailView-s8_9uPY3.js.gz +0 -0
  135. package/app/dist/assets/ThreadSearchPaletteMode-bFrWtr14.js +1 -0
  136. package/app/dist/assets/ThreadSearchPaletteMode-bFrWtr14.js.br +0 -0
  137. package/app/dist/assets/ThreadSearchPaletteMode-bFrWtr14.js.gz +0 -0
  138. package/app/dist/assets/ThreadSecondaryPanel-ByRjsBee.js +1 -0
  139. package/app/dist/assets/ThreadSecondaryPanel-ByRjsBee.js.br +0 -0
  140. package/app/dist/assets/ThreadSecondaryPanel-ByRjsBee.js.gz +0 -0
  141. package/app/dist/assets/ThreadSecondaryPanelTabContent-CS-0RsBb.js +3 -0
  142. package/app/dist/assets/ThreadSecondaryPanelTabContent-CS-0RsBb.js.br +0 -0
  143. package/app/dist/assets/ThreadSecondaryPanelTabContent-CS-0RsBb.js.gz +0 -0
  144. package/app/dist/assets/ThreadStatusGlyph-BpAxP0Tu.js +1 -0
  145. package/app/dist/assets/ThreadStatusGlyph-BpAxP0Tu.js.br +0 -0
  146. package/app/dist/assets/ThreadStatusGlyph-BpAxP0Tu.js.gz +0 -0
  147. package/app/dist/assets/{ThreadTerminalPanel-Cfe76daj.js → ThreadTerminalPanel-CO1mCoJe.js} +1 -1
  148. package/app/dist/assets/ThreadTerminalPanel-CO1mCoJe.js.br +0 -0
  149. package/app/dist/assets/ThreadTerminalPanel-CO1mCoJe.js.gz +0 -0
  150. package/app/dist/assets/ThreadTerminalView-N_bmnfJo.js +1 -0
  151. package/app/dist/assets/ThreadTerminalView-N_bmnfJo.js.br +0 -0
  152. package/app/dist/assets/ThreadTerminalView-N_bmnfJo.js.gz +0 -0
  153. package/app/dist/assets/{ThreadTimelineNavigationContext-2--wIUmU.js → ThreadTimelineNavigationContext-Dpli_fFK.js} +2 -2
  154. package/app/dist/assets/ThreadTimelineNavigationContext-Dpli_fFK.js.br +0 -0
  155. package/app/dist/assets/ThreadTimelineNavigationContext-Dpli_fFK.js.gz +0 -0
  156. package/app/dist/assets/{ThreadUnarchiveButton-CiDbuPzJ.js → ThreadUnarchiveButton-CW3uEz1Q.js} +1 -1
  157. package/app/dist/assets/{TimelineDetailScroll-DnMC8nYC.js → TimelineDetailScroll-BLU-5S7-.js} +1 -1
  158. package/app/dist/assets/TimelineDetailScroll-BLU-5S7-.js.br +0 -0
  159. package/app/dist/assets/TimelineDetailScroll-BLU-5S7-.js.gz +0 -0
  160. package/app/dist/assets/{TimelineFileDiffBlock-D8pKEcE0.js → TimelineFileDiffBlock-Bb0-OH7e.js} +1 -1
  161. package/app/dist/assets/TimelineFileDiffBlock-Bb0-OH7e.js.br +0 -0
  162. package/app/dist/assets/TimelineFileDiffBlock-Bb0-OH7e.js.gz +0 -0
  163. package/app/dist/assets/{TimelineSelectionMenu-DDYrgVgK.js → TimelineSelectionMenu-CgAxp7QF.js} +1 -1
  164. package/app/dist/assets/TimelineSelectionMenu-CgAxp7QF.js.br +0 -0
  165. package/app/dist/assets/TimelineSelectionMenu-CgAxp7QF.js.gz +0 -0
  166. package/app/dist/assets/ToolsView-DYdtuuCy.js +4 -0
  167. package/app/dist/assets/ToolsView-DYdtuuCy.js.br +0 -0
  168. package/app/dist/assets/ToolsView-DYdtuuCy.js.gz +0 -0
  169. package/app/dist/assets/{ToolsViewSplits-VIMb0WxO.js → ToolsViewSplits-D-KM5VbR.js} +2 -2
  170. package/app/dist/assets/ToolsViewSplits-D-KM5VbR.js.br +0 -0
  171. package/app/dist/assets/ToolsViewSplits-D-KM5VbR.js.gz +0 -0
  172. package/app/dist/assets/{WaveformVisualizer-CyOfIcDU.js → WaveformVisualizer-VFrU7IdS.js} +1 -1
  173. package/app/dist/assets/WaveformVisualizer-VFrU7IdS.js.br +0 -0
  174. package/app/dist/assets/WaveformVisualizer-VFrU7IdS.js.gz +0 -0
  175. package/app/dist/assets/absolute-file-path-CugCBUdo.js +1 -0
  176. package/app/dist/assets/{app-fixed-tab-navigation-nG5duhr6.js → app-fixed-tab-navigation-C3t3sTTR.js} +1 -1
  177. package/app/dist/assets/app-fixed-tab-navigation-C3t3sTTR.js.br +0 -0
  178. package/app/dist/assets/app-fixed-tab-navigation-C3t3sTTR.js.gz +0 -0
  179. package/app/dist/assets/{audio-input-device-preference-Civxk2e_.js → audio-input-device-preference-wrxvijvs.js} +1 -1
  180. package/app/dist/assets/audio-input-device-preference-wrxvijvs.js.br +0 -0
  181. package/app/dist/assets/audio-input-device-preference-wrxvijvs.js.gz +0 -0
  182. package/app/dist/assets/{bottom-anchored-scroll-body-izL_2xQo.js → bottom-anchored-scroll-body-DrFjjITd.js} +1 -1
  183. package/app/dist/assets/bottom-anchored-scroll-body-DrFjjITd.js.br +0 -0
  184. package/app/dist/assets/bottom-anchored-scroll-body-DrFjjITd.js.gz +0 -0
  185. package/app/dist/assets/{browser-url-DQsPFWqd.js → browser-url-CRNmQmct.js} +1 -1
  186. package/app/dist/assets/browser-url-CRNmQmct.js.br +0 -0
  187. package/app/dist/assets/browser-url-CRNmQmct.js.gz +0 -0
  188. package/app/dist/assets/{checkbox-Dxs9oAMl.js → checkbox-1HfQvu2d.js} +1 -1
  189. package/app/dist/assets/checkbox-1HfQvu2d.js.br +0 -0
  190. package/app/dist/assets/checkbox-1HfQvu2d.js.gz +0 -0
  191. package/app/dist/assets/{code-loading-skeletons-CkiXPS0M.js → code-loading-skeletons-DtdoAfrj.js} +1 -1
  192. package/app/dist/assets/code-loading-skeletons-DtdoAfrj.js.br +4 -0
  193. package/app/dist/assets/code-loading-skeletons-DtdoAfrj.js.gz +0 -0
  194. package/app/dist/assets/code-rendering-CHgc25DA.js +1 -0
  195. package/app/dist/assets/{code-theme-registration-DWaGQiqG.js → code-theme-registration-BogeZhC7.js} +1 -1
  196. package/app/dist/assets/detail-card-D4_D7Wq-.js +1 -0
  197. package/app/dist/assets/detail-card-D4_D7Wq-.js.br +0 -0
  198. package/app/dist/assets/detail-card-D4_D7Wq-.js.gz +0 -0
  199. package/app/dist/assets/{diff-stats-tally-DQHS3tHN.js → diff-stats-tally-dxAKjCQi.js} +1 -1
  200. package/app/dist/assets/diff-stats-tally-dxAKjCQi.js.br +0 -0
  201. package/app/dist/assets/diff-stats-tally-dxAKjCQi.js.gz +0 -0
  202. package/app/dist/assets/{dist-DCULoGTS.js → dist-CgnI8mYy.js} +1 -1
  203. package/app/dist/assets/dist-CgnI8mYy.js.br +0 -0
  204. package/app/dist/assets/dist-CgnI8mYy.js.gz +0 -0
  205. package/app/dist/assets/{environment-mutations-Zes88JN-.js → environment-mutations-CHDn6qee.js} +1 -1
  206. package/app/dist/assets/environment-mutations-CHDn6qee.js.br +0 -0
  207. package/app/dist/assets/environment-mutations-CHDn6qee.js.gz +0 -0
  208. package/app/dist/assets/environment-workspace-display-aXNFFHRN.js +4 -0
  209. package/app/dist/assets/environment-workspace-display-aXNFFHRN.js.br +0 -0
  210. package/app/dist/assets/environment-workspace-display-aXNFFHRN.js.gz +0 -0
  211. package/app/dist/assets/{event-code-block-QXnzoFqm.js → event-code-block-989B1EqM.js} +1 -1
  212. package/app/dist/assets/event-code-block-989B1EqM.js.br +0 -0
  213. package/app/dist/assets/event-code-block-989B1EqM.js.gz +0 -0
  214. package/app/dist/assets/{expandable-text-DkUA9RQT.js → expandable-text-BQmCrn1r.js} +1 -1
  215. package/app/dist/assets/expandable-text-BQmCrn1r.js.br +0 -0
  216. package/app/dist/assets/expandable-text-BQmCrn1r.js.gz +0 -0
  217. package/app/dist/assets/{file-opener-preference-CXZHmESv.js → file-opener-preference-Yd0VIEdJ.js} +1 -1
  218. package/app/dist/assets/{file-path-link-D7DFjBWZ.js → file-path-link-BnuQ7GOP.js} +1 -1
  219. package/app/dist/assets/file-path-link-BnuQ7GOP.js.br +0 -0
  220. package/app/dist/assets/file-path-link-BnuQ7GOP.js.gz +0 -0
  221. package/app/dist/assets/{host-mutations-Fl0RjER0.js → host-mutations-BFX2sxxm.js} +1 -1
  222. package/app/dist/assets/host-mutations-BFX2sxxm.js.br +0 -0
  223. package/app/dist/assets/host-mutations-BFX2sxxm.js.gz +0 -0
  224. package/app/dist/assets/{icon-extended-C0LTNXfN.js → icon-extended-CVTvSZPU.js} +1 -1
  225. package/app/dist/assets/icon-extended-CVTvSZPU.js.br +0 -0
  226. package/app/dist/assets/icon-extended-CVTvSZPU.js.gz +0 -0
  227. package/app/dist/assets/{image-lightbox-DhNslR-8.js → image-lightbox-CYq-aV6a.js} +1 -1
  228. package/app/dist/assets/image-lightbox-CYq-aV6a.js.br +0 -0
  229. package/app/dist/assets/image-lightbox-CYq-aV6a.js.gz +0 -0
  230. package/app/dist/assets/index-DcGF-i5V.js +395 -0
  231. package/app/dist/assets/index-DcGF-i5V.js.br +0 -0
  232. package/app/dist/assets/index-DcGF-i5V.js.gz +0 -0
  233. package/app/dist/assets/index-DeeEkTuL.css +2 -0
  234. package/app/dist/assets/index-DeeEkTuL.css.br +0 -0
  235. package/app/dist/assets/index-DeeEkTuL.css.gz +0 -0
  236. package/app/dist/assets/{inline-rename-editor-nrH2d_Gy.js → inline-rename-editor-DsTTMQeQ.js} +1 -1
  237. package/app/dist/assets/inline-rename-editor-DsTTMQeQ.js.br +0 -0
  238. package/app/dist/assets/inline-rename-editor-DsTTMQeQ.js.gz +0 -0
  239. package/app/dist/assets/{launcherRow-CVYGyeOl.js → launcherRow-Mm64WYs2.js} +1 -1
  240. package/app/dist/assets/launcherRow-Mm64WYs2.js.br +0 -0
  241. package/app/dist/assets/launcherRow-Mm64WYs2.js.gz +0 -0
  242. package/app/dist/assets/{localhost-link-rewrite-description-C0FphFZq.js → localhost-link-rewrite-description-Da9LQDcz.js} +1 -1
  243. package/app/dist/assets/localhost-link-rewrite-description-Da9LQDcz.js.br +0 -0
  244. package/app/dist/assets/localhost-link-rewrite-description-Da9LQDcz.js.gz +0 -0
  245. package/app/dist/assets/{machine-provider-queries-BTz8Sz3J.js → machine-provider-queries-D3D5u7xT.js} +1 -1
  246. package/app/dist/assets/{machine-server-access-CGfd5e1r.js → machine-server-access-BBZR2E-e.js} +1 -1
  247. package/app/dist/assets/markdown-file-image-routing-BW14VUGE.js +1 -0
  248. package/app/dist/assets/{markdown-html-CLi3FhDR.js → markdown-html-BVwgNf0A.js} +1 -1
  249. package/app/dist/assets/markdown-html-BVwgNf0A.js.br +0 -0
  250. package/app/dist/assets/markdown-html-BVwgNf0A.js.gz +0 -0
  251. package/app/dist/assets/{markdown-local-file-link-BROpdQPF.js → markdown-local-file-link-Dhlzsjvu.js} +1 -1
  252. package/app/dist/assets/markdown-local-file-link-Dhlzsjvu.js.br +0 -0
  253. package/app/dist/assets/markdown-local-file-link-Dhlzsjvu.js.gz +0 -0
  254. package/app/dist/assets/{markdown-preview-CGXXNhJo.js → markdown-preview-BFrQHjqt.js} +9 -9
  255. package/app/dist/assets/markdown-preview-BFrQHjqt.js.br +0 -0
  256. package/app/dist/assets/markdown-preview-BFrQHjqt.js.gz +0 -0
  257. package/app/dist/assets/{markdown-prompt-mentions-CPWKCtMa.js → markdown-prompt-mentions-B_hjpVwF.js} +2 -2
  258. package/app/dist/assets/markdown-prompt-mentions-B_hjpVwF.js.br +0 -0
  259. package/app/dist/assets/markdown-prompt-mentions-B_hjpVwF.js.gz +0 -0
  260. package/app/dist/assets/{model-load-error-message-CH_k4E7q.js → model-load-error-message-C_DsOzNx.js} +1 -1
  261. package/app/dist/assets/model-load-error-message-C_DsOzNx.js.br +0 -0
  262. package/app/dist/assets/model-load-error-message-C_DsOzNx.js.gz +0 -0
  263. package/app/dist/assets/onboarding-telemetry-DepO9NTK.js +1 -0
  264. package/app/dist/assets/{open-in-editor-button-tA10Nkqn.js → open-in-editor-button-Jn2gF-rw.js} +1 -1
  265. package/app/dist/assets/open-in-editor-button-Jn2gF-rw.js.br +0 -0
  266. package/app/dist/assets/open-in-editor-button-Jn2gF-rw.js.gz +0 -0
  267. package/app/dist/assets/{page-shell-CNCVT3Uj.js → page-shell-CL1JEzGN.js} +1 -1
  268. package/app/dist/assets/page-shell-CL1JEzGN.js.br +0 -0
  269. package/app/dist/assets/page-shell-CL1JEzGN.js.gz +0 -0
  270. package/app/dist/assets/{pierre-worker-pool-pXJFsMd7.js → pierre-worker-pool-DDCagStH.js} +1 -1
  271. package/app/dist/assets/pierre-worker-pool-DDCagStH.js.br +0 -0
  272. package/app/dist/assets/pierre-worker-pool-DDCagStH.js.gz +0 -0
  273. package/app/dist/assets/plugin-detail-navigation-CJq8d7f0.js +1 -0
  274. package/app/dist/assets/plugin-detail-navigation-CJq8d7f0.js.br +0 -0
  275. package/app/dist/assets/plugin-detail-navigation-CJq8d7f0.js.gz +0 -0
  276. package/app/dist/assets/{plugin-frontend-DoWZV45B.js → plugin-frontend-D_R6h69s.js} +3 -3
  277. package/app/dist/assets/plugin-frontend-D_R6h69s.js.br +0 -0
  278. package/app/dist/assets/plugin-frontend-D_R6h69s.js.gz +0 -0
  279. package/app/dist/assets/{plugin-ui-Cu8MrXLJ.js → plugin-ui-BS-kYzwm.js} +1 -1
  280. package/app/dist/assets/plugin-ui-BS-kYzwm.js.br +0 -0
  281. package/app/dist/assets/plugin-ui-BS-kYzwm.js.gz +0 -0
  282. package/app/dist/assets/{project-default-execution-options-query-gaQEWNK0.js → project-default-execution-options-query-D-0QJ6Qt.js} +1 -1
  283. package/app/dist/assets/{queued-editor-typeahead-layout-DTUSPVuA.js → queued-editor-typeahead-layout-DyiJC3nu.js} +1 -1
  284. package/app/dist/assets/queued-editor-typeahead-layout-DyiJC3nu.js.br +0 -0
  285. package/app/dist/assets/queued-editor-typeahead-layout-DyiJC3nu.js.gz +0 -0
  286. package/app/dist/assets/queued-messages-layout-CghcpVJY.js +3 -0
  287. package/app/dist/assets/queued-messages-layout-CghcpVJY.js.br +0 -0
  288. package/app/dist/assets/queued-messages-layout-CghcpVJY.js.gz +0 -0
  289. package/app/dist/assets/{resource-list-DLZLjUCf.js → resource-list-QtZbobOx.js} +1 -1
  290. package/app/dist/assets/resource-list-QtZbobOx.js.br +0 -0
  291. package/app/dist/assets/resource-list-QtZbobOx.js.gz +0 -0
  292. package/app/dist/assets/root-compose-create-preference-CpyRZea5.js +1 -0
  293. package/app/dist/assets/{save-file-B8sl9wgP.js → save-file-D1NL0mtk.js} +1 -1
  294. package/app/dist/assets/settings-nav-CUMx1aUt.js +1 -0
  295. package/app/dist/assets/settings-nav-CUMx1aUt.js.br +0 -0
  296. package/app/dist/assets/settings-nav-CUMx1aUt.js.gz +0 -0
  297. package/app/dist/assets/{settings-sections-Dfo35J2q.js → settings-sections-DLsEgaeq.js} +1 -1
  298. package/app/dist/assets/settings-sections-DLsEgaeq.js.br +0 -0
  299. package/app/dist/assets/settings-sections-DLsEgaeq.js.gz +0 -0
  300. package/app/dist/assets/{shortcut-pill-BMlNncTw.js → shortcut-pill-D97ehvHS.js} +1 -1
  301. package/app/dist/assets/{sidebarTouchSensor-Da_E8eSx.js → sidebarTouchSensor-Cb66p7gD.js} +1 -1
  302. package/app/dist/assets/sidebarTouchSensor-Cb66p7gD.js.br +0 -0
  303. package/app/dist/assets/sidebarTouchSensor-Cb66p7gD.js.gz +0 -0
  304. package/app/dist/assets/{switch-BRYzbFH-.js → switch-Bnugzgln.js} +1 -1
  305. package/app/dist/assets/switch-Bnugzgln.js.br +0 -0
  306. package/app/dist/assets/switch-Bnugzgln.js.gz +0 -0
  307. package/app/dist/assets/{textarea-DpRLVuDl.js → textarea-CmXpn-W-.js} +1 -1
  308. package/app/dist/assets/{thread-event-parser-BrLyjs4v.js → thread-event-parser-BZ2rhDfl.js} +1 -1
  309. package/app/dist/assets/thread-event-parser-BZ2rhDfl.js.br +0 -0
  310. package/app/dist/assets/thread-event-parser-BZ2rhDfl.js.gz +0 -0
  311. package/app/dist/assets/thread-panel-queries-Km3N9Osi.js +1 -0
  312. package/app/dist/assets/thread-panel-queries-Km3N9Osi.js.br +0 -0
  313. package/app/dist/assets/thread-panel-queries-Km3N9Osi.js.gz +0 -0
  314. package/app/dist/assets/thread-runtime-mutations-0LwFE8jq.js +3 -0
  315. package/app/dist/assets/thread-runtime-mutations-0LwFE8jq.js.br +0 -0
  316. package/app/dist/assets/thread-runtime-mutations-0LwFE8jq.js.gz +0 -0
  317. package/app/dist/assets/{thread-terminal-queries-Blou76c_.js → thread-terminal-queries-B26oP9UT.js} +1 -1
  318. package/app/dist/assets/thread-terminal-queries-B26oP9UT.js.br +0 -0
  319. package/app/dist/assets/thread-terminal-queries-B26oP9UT.js.gz +0 -0
  320. package/app/dist/assets/{threadRecentItems-BiCe3SkL.js → threadRecentItems-Cmjzl7bQ.js} +1 -1
  321. package/app/dist/assets/threadRecentItems-Cmjzl7bQ.js.br +0 -0
  322. package/app/dist/assets/threadRecentItems-Cmjzl7bQ.js.gz +0 -0
  323. package/app/dist/assets/{threadWorkspaceOpenPath-C9eC_XGN.js → threadWorkspaceOpenPath-Bmp_PIxV.js} +1 -1
  324. package/app/dist/assets/threadWorkspaceOpenPath-Bmp_PIxV.js.br +0 -0
  325. package/app/dist/assets/threadWorkspaceOpenPath-Bmp_PIxV.js.gz +0 -0
  326. package/app/dist/assets/{title-bar-scroll-fade-OrK4M84v.js → title-bar-scroll-fade-aNQrbfIG.js} +1 -1
  327. package/app/dist/assets/title-bar-scroll-fade-aNQrbfIG.js.br +0 -0
  328. package/app/dist/assets/title-bar-scroll-fade-aNQrbfIG.js.gz +0 -0
  329. package/app/dist/assets/{truncate-start-Ck1IPV62.js → truncate-start-Bny9cWRF.js} +1 -1
  330. package/app/dist/assets/{use-hover-popover-uokpMJ80.js → use-hover-popover-BdiH_Tfy.js} +1 -1
  331. package/app/dist/assets/use-hover-popover-BdiH_Tfy.js.br +0 -0
  332. package/app/dist/assets/use-hover-popover-BdiH_Tfy.js.gz +0 -0
  333. package/app/dist/assets/{useElementWidth-EbzKQ0bg.js → useElementWidth-DWdvxoro.js} +1 -1
  334. package/app/dist/assets/useElementWidth-DWdvxoro.js.br +0 -0
  335. package/app/dist/assets/useElementWidth-DWdvxoro.js.gz +0 -0
  336. package/app/dist/assets/{useLocalOpenTargets-CtvcdlZg.js → useLocalOpenTargets-zowTaKCQ.js} +1 -1
  337. package/app/dist/assets/useLocalOpenTargets-zowTaKCQ.js.br +0 -0
  338. package/app/dist/assets/useLocalOpenTargets-zowTaKCQ.js.gz +0 -0
  339. package/app/dist/assets/{usePanelResizeSnap-CuwA4rg3.js → usePanelResizeSnap-B_dDez74.js} +1 -1
  340. package/app/dist/assets/usePanelResizeSnap-B_dDez74.js.br +0 -0
  341. package/app/dist/assets/usePanelResizeSnap-B_dDez74.js.gz +0 -0
  342. package/app/dist/assets/usePanelTerminals-BAudrwH4.js +1 -0
  343. package/app/dist/assets/usePanelTerminals-BAudrwH4.js.br +0 -0
  344. package/app/dist/assets/usePanelTerminals-BAudrwH4.js.gz +0 -0
  345. package/app/dist/assets/{usePathSuggestions-DZ1XPM_t.js → usePathSuggestions-DMFe0E0a.js} +1 -1
  346. package/app/dist/assets/usePathSuggestions-DMFe0E0a.js.br +0 -0
  347. package/app/dist/assets/usePathSuggestions-DMFe0E0a.js.gz +0 -0
  348. package/app/dist/assets/{useResolvedLiveFileTarget-DlZUgf7A.js → useResolvedLiveFileTarget-G_UQNMF1.js} +1 -1
  349. package/app/dist/assets/useResolvedLiveFileTarget-G_UQNMF1.js.br +0 -0
  350. package/app/dist/assets/useResolvedLiveFileTarget-G_UQNMF1.js.gz +0 -0
  351. package/app/dist/assets/{useThreadTerminalController-D4Cr2aY0.js → useThreadTerminalController-JoWrmPHn.js} +1 -1
  352. package/app/dist/assets/useThreadTerminalController-JoWrmPHn.js.br +0 -0
  353. package/app/dist/assets/useThreadTerminalController-JoWrmPHn.js.gz +0 -0
  354. package/app/dist/assets/{workspace-change-summary-C1EKX0Np.js → workspace-change-summary-BtZwT2e6.js} +1 -1
  355. package/app/dist/assets/workspace-change-summary-BtZwT2e6.js.br +0 -0
  356. package/app/dist/assets/workspace-change-summary-BtZwT2e6.js.gz +0 -0
  357. package/app/dist/assets/{workspace-checkout-display-DRAc3j4u.js → workspace-checkout-display-DnaC1zwT.js} +7 -7
  358. package/app/dist/assets/workspace-checkout-display-DnaC1zwT.js.br +0 -0
  359. package/app/dist/assets/workspace-checkout-display-DnaC1zwT.js.gz +0 -0
  360. package/app/dist/index.html +31 -17
  361. package/app/dist/index.html.br +0 -0
  362. package/app/dist/index.html.gz +0 -0
  363. package/dist/index.d.ts +61 -60
  364. package/dist/index.js +21 -3
  365. package/host-daemon/dist/bb +2 -2
  366. package/host-daemon/dist/daemon-bundle.mjs +109 -109
  367. package/host-daemon/dist/moonlet +2 -2
  368. package/host-daemon/dist/moonlet-chunks/{browser-3YADF5CZ.js → browser-44ZQ3FOI.js} +1 -1
  369. package/host-daemon/dist/moonlet-chunks/{chunk-ZY4JRPPT.js → chunk-JBLSGIQQ.js} +1 -1
  370. package/host-daemon/dist/moonlet-chunks/{chunk-DYWN65E6.js → chunk-JXM67MRW.js} +1 -1
  371. package/host-daemon/dist/moonlet-chunks/{chunk-Z7UFAOBI.js → chunk-PMU3UDAI.js} +1 -1
  372. package/host-daemon/dist/moonlet-chunks/{chunk-UASCWFYV.js → chunk-QAWZMDCJ.js} +1 -1
  373. package/host-daemon/dist/moonlet-chunks/{chunk-UZIJUXRX.js → chunk-QDRMQGXG.js} +1 -1
  374. package/host-daemon/dist/moonlet-chunks/{chunk-VRIDG567.js → chunk-URPVHDSN.js} +1 -1
  375. package/host-daemon/dist/moonlet-chunks/{chunk-UBCGVKZ2.js → chunk-VLBDIUPP.js} +1 -1
  376. package/host-daemon/dist/moonlet-chunks/{chunk-CJVCV7LA.js → chunk-XLQMIU5E.js} +1 -1
  377. package/host-daemon/dist/moonlet-chunks/chunk-YKNGHXJL.js +2 -0
  378. package/host-daemon/dist/moonlet-chunks/{chunk-GJNT53PW.js → chunk-ZIPJ3D34.js} +1 -1
  379. package/host-daemon/dist/moonlet-chunks/{client-HJ57QVLD.js → client-QUJX2VXF.js} +1 -1
  380. package/host-daemon/dist/moonlet-chunks/{commander-errors-VI7J6RNT.js → commander-errors-NYPVEQE6.js} +1 -1
  381. package/host-daemon/dist/moonlet-chunks/{context-env-C4YEBBVX.js → context-env-UZULKJG3.js} +1 -1
  382. package/host-daemon/dist/moonlet-chunks/{context-hints-FZ224BCX.js → context-hints-NIGZFDZ2.js} +1 -1
  383. package/host-daemon/dist/moonlet-chunks/{diagnostics-OU2KW3CN.js → diagnostics-ZMN3WD5F.js} +1 -1
  384. package/host-daemon/dist/moonlet-chunks/{environment-45XH2PJT.js → environment-LFNVVRTR.js} +1 -1
  385. package/host-daemon/dist/moonlet-chunks/{file-OHC2H5AH.js → file-VMCXXBWE.js} +1 -1
  386. package/host-daemon/dist/moonlet-chunks/{guide-T2HEZTCZ.js → guide-JMDCPBCD.js} +1 -1
  387. package/host-daemon/dist/moonlet-chunks/{machine-7DB7FE7G.js → machine-FG42HUJ4.js} +1 -1
  388. package/host-daemon/dist/moonlet-chunks/{marketplace-GSP2IPGS.js → marketplace-BUVTLJBV.js} +1 -1
  389. package/host-daemon/dist/moonlet-chunks/{permissions-SOZPETLR.js → permissions-OLVTX7QS.js} +1 -1
  390. package/host-daemon/dist/moonlet-chunks/{plugin-672NQWPG.js → plugin-TREJAZTC.js} +1 -1
  391. package/host-daemon/dist/moonlet-chunks/{plugin-cli-proxy-YK6LMDCS.js → plugin-cli-proxy-XYQ4P6CO.js} +1 -1
  392. package/host-daemon/dist/moonlet-chunks/{project-KMNJH6RG.js → project-PVNIZCFU.js} +1 -1
  393. package/host-daemon/dist/moonlet-chunks/{prompt-history-H3Y2IHDY.js → prompt-history-BYCO2ZB3.js} +1 -1
  394. package/host-daemon/dist/moonlet-chunks/{provider-EKKSYF2D.js → provider-K7IJAPU7.js} +1 -1
  395. package/host-daemon/dist/moonlet-chunks/{schedule-KVSISSIR.js → schedule-QTGQ2OQJ.js} +1 -1
  396. package/host-daemon/dist/moonlet-chunks/{server-53I6IGAP.js → server-TNYQLXN4.js} +1 -1
  397. package/host-daemon/dist/moonlet-chunks/settings-X5E35QAK.js +4 -0
  398. package/host-daemon/dist/moonlet-chunks/{skill-DXINIPQ3.js → skill-D3TXRI2H.js} +1 -1
  399. package/host-daemon/dist/moonlet-chunks/{status-BSMUYEAO.js → status-ZON5QALD.js} +1 -1
  400. package/host-daemon/dist/moonlet-chunks/{terminal-VKBGZFLN.js → terminal-RMTHR7AY.js} +1 -1
  401. package/host-daemon/dist/moonlet-chunks/{theme-3YCCZBGC.js → theme-K6MCVSLL.js} +1 -1
  402. package/host-daemon/dist/moonlet-chunks/{thread-PFBPLD4F.js → thread-SVRDPK2D.js} +1 -1
  403. package/host-daemon/dist/moonlet-chunks/{updates-OO7GE7UB.js → updates-M6NCKC4T.js} +1 -1
  404. package/host-daemon/dist/moonlet-chunks/{voice-ZJOSAJW7.js → voice-AYXDFHQ4.js} +1 -1
  405. package/package.json +2 -2
  406. package/server/dist/builtin-plugins/github/dist/app.css +1 -1
  407. package/server/dist/builtin-plugins/github/dist/app.js +1 -1
  408. package/server/dist/builtin-plugins/mail/skills/mail/SKILL.md +14 -12
  409. package/server/dist/builtin-plugins/notify-feed/dist/app.css +1 -1
  410. package/server/dist/builtin-plugins/notify-feed/dist/app.js +3 -3
  411. package/server/dist/builtin-plugins/orbit/dist/app.css +1 -1
  412. package/server/dist/builtin-plugins/orbit/dist/app.js +83 -83
  413. package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/migrations/task-index-tail.json +10 -0
  414. package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/fixed-runner/linux-x64/manifest.json +4 -4
  415. package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/revision +1 -1
  416. package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/source.json +1 -1
  417. package/server/dist/builtin-plugins/orbit/dist/host.js +1 -1
  418. package/server/dist/builtin-plugins/orbit/dist/host.meta.json +1 -1
  419. package/server/dist/builtin-plugins/orbit/dist/server.js +420 -420
  420. package/server/dist/start-server.js +21 -3
  421. package/app/dist/assets/AddMachineDialog-CG2ZZhp-.js.br +0 -0
  422. package/app/dist/assets/AddMachineDialog-CG2ZZhp-.js.gz +0 -0
  423. package/app/dist/assets/AppFileExternalNavigationDispatcher-DETVZfBW.js.br +0 -0
  424. package/app/dist/assets/AppFileExternalNavigationDispatcher-DETVZfBW.js.gz +0 -0
  425. package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js +0 -1
  426. package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js.br +0 -0
  427. package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js.gz +0 -0
  428. package/app/dist/assets/CommandPaletteBody-BeiWvSTK.js.br +0 -0
  429. package/app/dist/assets/CommandPaletteBody-BeiWvSTK.js.gz +0 -0
  430. package/app/dist/assets/DiffHost-xesYsZUt.js +0 -1
  431. package/app/dist/assets/DiffHost-xesYsZUt.js.br +0 -0
  432. package/app/dist/assets/DiffHost-xesYsZUt.js.gz +0 -0
  433. package/app/dist/assets/ExperimentalFileLinkMenu-CDVoETHe.js.br +0 -0
  434. package/app/dist/assets/ExperimentalFileLinkMenu-CDVoETHe.js.gz +0 -0
  435. package/app/dist/assets/FilePreview-CzacGZ35.js.br +0 -0
  436. package/app/dist/assets/FilePreview-CzacGZ35.js.gz +0 -0
  437. package/app/dist/assets/GitDiffCardHeader-CJtFaq1K.js.br +0 -0
  438. package/app/dist/assets/GitDiffCardHeader-CJtFaq1K.js.gz +0 -0
  439. package/app/dist/assets/InlineMessageEditorFrame-C0rqOlNn.js.br +0 -0
  440. package/app/dist/assets/InlineMessageEditorFrame-C0rqOlNn.js.gz +0 -0
  441. package/app/dist/assets/MachineLabel-vUI5j8ve.js.br +0 -0
  442. package/app/dist/assets/MachineLabel-vUI5j8ve.js.gz +0 -0
  443. package/app/dist/assets/MachineRenameDialog-CrnZuppe.js.br +0 -0
  444. package/app/dist/assets/MachineRenameDialog-CrnZuppe.js.gz +0 -0
  445. package/app/dist/assets/MachineSettingsView-BR6qseai.js +0 -1
  446. package/app/dist/assets/MachineSettingsView-BR6qseai.js.br +0 -0
  447. package/app/dist/assets/MachineSettingsView-BR6qseai.js.gz +0 -0
  448. package/app/dist/assets/MicrophonePreferences-wMQ36e_Q.js.br +0 -0
  449. package/app/dist/assets/MicrophonePreferences-wMQ36e_Q.js.gz +0 -0
  450. package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js +0 -1
  451. package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js.br +0 -0
  452. package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js.gz +0 -0
  453. package/app/dist/assets/MoonletDiff-CCvaiEEC.js +0 -1
  454. package/app/dist/assets/MoonletDiff-CCvaiEEC.js.br +0 -0
  455. package/app/dist/assets/MoonletDiff-CCvaiEEC.js.gz +0 -0
  456. package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js +0 -2
  457. package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js.br +0 -0
  458. package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js.gz +0 -0
  459. package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js +0 -2
  460. package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js.br +0 -0
  461. package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js.gz +0 -0
  462. package/app/dist/assets/NewTabPage-BOqCqqLe.js.br +0 -0
  463. package/app/dist/assets/NewTabPage-BOqCqqLe.js.gz +0 -0
  464. package/app/dist/assets/NewThreadComposer-DyB52pmS.js +0 -1
  465. package/app/dist/assets/NewThreadComposer-DyB52pmS.js.br +0 -0
  466. package/app/dist/assets/NewThreadComposer-DyB52pmS.js.gz +0 -0
  467. package/app/dist/assets/OnboardingFlow-DTPixZrb.js +0 -1
  468. package/app/dist/assets/OnboardingFlow-DTPixZrb.js.br +0 -0
  469. package/app/dist/assets/OnboardingFlow-DTPixZrb.js.gz +0 -0
  470. package/app/dist/assets/OptionPicker-CxOGHDd8.js +0 -1
  471. package/app/dist/assets/OptionPicker-CxOGHDd8.js.br +0 -0
  472. package/app/dist/assets/OptionPicker-CxOGHDd8.js.gz +0 -0
  473. package/app/dist/assets/PaletteShell-BMkwhUdz.js.br +0 -0
  474. package/app/dist/assets/PaletteShell-BMkwhUdz.js.gz +0 -0
  475. package/app/dist/assets/PaneMaximizeButton-DgXn2p5T.js.br +0 -0
  476. package/app/dist/assets/PaneMaximizeButton-DgXn2p5T.js.gz +0 -0
  477. package/app/dist/assets/PierreLineSelectionActions-V_GPrVau.js.br +0 -0
  478. package/app/dist/assets/PierreLineSelectionActions-V_GPrVau.js.gz +0 -0
  479. package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js +0 -1
  480. package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js.br +0 -0
  481. package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js.gz +0 -0
  482. package/app/dist/assets/PluginSettingsSections-ZnUNrvlJ.js.br +0 -0
  483. package/app/dist/assets/PluginSettingsSections-ZnUNrvlJ.js.gz +0 -0
  484. package/app/dist/assets/PluginThreadChat-DtIyKaqq.js.br +0 -0
  485. package/app/dist/assets/PluginThreadChat-DtIyKaqq.js.gz +0 -0
  486. package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js +0 -1
  487. package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js.br +0 -0
  488. package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js.gz +0 -0
  489. package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js +0 -1
  490. package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js.br +0 -0
  491. package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js.gz +0 -0
  492. package/app/dist/assets/ProjectsSettingsSection-CIshX8Xc.js.br +0 -0
  493. package/app/dist/assets/ProjectsSettingsSection-CIshX8Xc.js.gz +0 -0
  494. package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js +0 -3
  495. package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js.br +0 -0
  496. package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js.gz +0 -0
  497. package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js +0 -1
  498. package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js.br +0 -0
  499. package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js.gz +0 -0
  500. package/app/dist/assets/RootComposeView-BIZpqYG3.js +0 -1
  501. package/app/dist/assets/RootComposeView-BIZpqYG3.js.br +0 -0
  502. package/app/dist/assets/RootComposeView-BIZpqYG3.js.gz +0 -0
  503. package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js +0 -1
  504. package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js.br +0 -0
  505. package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js.gz +0 -0
  506. package/app/dist/assets/ServerMoveOverlayView-BSJahQeB.js.br +0 -0
  507. package/app/dist/assets/ServerMoveOverlayView-BSJahQeB.js.gz +0 -0
  508. package/app/dist/assets/SettingsSidebar-DY_kbv4v.js +0 -1
  509. package/app/dist/assets/SettingsSidebar-DY_kbv4v.js.br +0 -0
  510. package/app/dist/assets/SettingsSidebar-DY_kbv4v.js.gz +0 -0
  511. package/app/dist/assets/SettingsView-CR1GzBCl.js +0 -7
  512. package/app/dist/assets/SettingsView-CR1GzBCl.js.br +0 -0
  513. package/app/dist/assets/SettingsView-CR1GzBCl.js.gz +0 -0
  514. package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js +0 -1
  515. package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js.br +0 -0
  516. package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js.gz +0 -0
  517. package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js +0 -1
  518. package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js.br +0 -0
  519. package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js.gz +0 -0
  520. package/app/dist/assets/SourceCodeHost-DkoXO-RM.js +0 -2
  521. package/app/dist/assets/SourceCodeHost-DkoXO-RM.js.br +0 -0
  522. package/app/dist/assets/SourceCodeHost-DkoXO-RM.js.gz +0 -0
  523. package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js +0 -2
  524. package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js.br +0 -0
  525. package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js.gz +0 -0
  526. package/app/dist/assets/TerminalOutputBlock-DKsNjK8s.js.br +0 -0
  527. package/app/dist/assets/TerminalOutputBlock-DKsNjK8s.js.gz +0 -0
  528. package/app/dist/assets/ThreadActionsMenu-BulopjpY.js +0 -1
  529. package/app/dist/assets/ThreadActionsMenu-BulopjpY.js.br +0 -0
  530. package/app/dist/assets/ThreadActionsMenu-BulopjpY.js.gz +0 -0
  531. package/app/dist/assets/ThreadDetailView-C6cu9JmT.js +0 -6
  532. package/app/dist/assets/ThreadDetailView-C6cu9JmT.js.br +0 -0
  533. package/app/dist/assets/ThreadDetailView-C6cu9JmT.js.gz +0 -0
  534. package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js +0 -1
  535. package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js.br +0 -0
  536. package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js.gz +0 -0
  537. package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js +0 -1
  538. package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js.br +0 -0
  539. package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js.gz +0 -0
  540. package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js +0 -3
  541. package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js.br +0 -0
  542. package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js.gz +0 -0
  543. package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js +0 -1
  544. package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js.br +0 -0
  545. package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js.gz +0 -0
  546. package/app/dist/assets/ThreadTerminalPanel-Cfe76daj.js.br +0 -0
  547. package/app/dist/assets/ThreadTerminalPanel-Cfe76daj.js.gz +0 -0
  548. package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js +0 -1
  549. package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js.br +0 -0
  550. package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js.gz +0 -0
  551. package/app/dist/assets/ThreadTimelineNavigationContext-2--wIUmU.js.br +0 -0
  552. package/app/dist/assets/ThreadTimelineNavigationContext-2--wIUmU.js.gz +0 -0
  553. package/app/dist/assets/TimelineDetailScroll-DnMC8nYC.js.br +0 -0
  554. package/app/dist/assets/TimelineDetailScroll-DnMC8nYC.js.gz +0 -0
  555. package/app/dist/assets/TimelineFileDiffBlock-D8pKEcE0.js.br +0 -0
  556. package/app/dist/assets/TimelineFileDiffBlock-D8pKEcE0.js.gz +0 -0
  557. package/app/dist/assets/TimelineSelectionMenu-DDYrgVgK.js.br +0 -0
  558. package/app/dist/assets/TimelineSelectionMenu-DDYrgVgK.js.gz +0 -0
  559. package/app/dist/assets/ToolsView-CXmmNmMz.js +0 -4
  560. package/app/dist/assets/ToolsView-CXmmNmMz.js.br +0 -0
  561. package/app/dist/assets/ToolsView-CXmmNmMz.js.gz +0 -0
  562. package/app/dist/assets/ToolsViewSplits-VIMb0WxO.js.br +0 -0
  563. package/app/dist/assets/ToolsViewSplits-VIMb0WxO.js.gz +0 -0
  564. package/app/dist/assets/WaveformVisualizer-CyOfIcDU.js.br +0 -0
  565. package/app/dist/assets/WaveformVisualizer-CyOfIcDU.js.gz +0 -0
  566. package/app/dist/assets/absolute-file-path-BxWHDkiV.js +0 -1
  567. package/app/dist/assets/app-fixed-tab-navigation-nG5duhr6.js.br +0 -0
  568. package/app/dist/assets/app-fixed-tab-navigation-nG5duhr6.js.gz +0 -0
  569. package/app/dist/assets/audio-input-device-preference-Civxk2e_.js.br +0 -0
  570. package/app/dist/assets/audio-input-device-preference-Civxk2e_.js.gz +0 -0
  571. package/app/dist/assets/bottom-anchored-scroll-body-izL_2xQo.js.br +0 -0
  572. package/app/dist/assets/bottom-anchored-scroll-body-izL_2xQo.js.gz +0 -0
  573. package/app/dist/assets/browser-url-DQsPFWqd.js.br +0 -0
  574. package/app/dist/assets/browser-url-DQsPFWqd.js.gz +0 -0
  575. package/app/dist/assets/checkbox-Dxs9oAMl.js.br +0 -0
  576. package/app/dist/assets/checkbox-Dxs9oAMl.js.gz +0 -0
  577. package/app/dist/assets/code-loading-skeletons-CkiXPS0M.js.br +0 -0
  578. package/app/dist/assets/code-loading-skeletons-CkiXPS0M.js.gz +0 -0
  579. package/app/dist/assets/code-rendering-DjLdb6cB.js +0 -1
  580. package/app/dist/assets/detail-card-BFm1NEQz.js +0 -1
  581. package/app/dist/assets/detail-card-BFm1NEQz.js.br +0 -0
  582. package/app/dist/assets/detail-card-BFm1NEQz.js.gz +0 -0
  583. package/app/dist/assets/diff-stats-tally-DQHS3tHN.js.br +0 -0
  584. package/app/dist/assets/diff-stats-tally-DQHS3tHN.js.gz +0 -0
  585. package/app/dist/assets/dist-DCULoGTS.js.br +0 -0
  586. package/app/dist/assets/dist-DCULoGTS.js.gz +0 -0
  587. package/app/dist/assets/environment-mutations-Zes88JN-.js.br +0 -0
  588. package/app/dist/assets/environment-mutations-Zes88JN-.js.gz +0 -0
  589. package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js +0 -4
  590. package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js.br +0 -0
  591. package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js.gz +0 -0
  592. package/app/dist/assets/event-code-block-QXnzoFqm.js.br +0 -0
  593. package/app/dist/assets/event-code-block-QXnzoFqm.js.gz +0 -0
  594. package/app/dist/assets/expandable-text-DkUA9RQT.js.br +0 -0
  595. package/app/dist/assets/expandable-text-DkUA9RQT.js.gz +0 -0
  596. package/app/dist/assets/file-path-link-D7DFjBWZ.js.br +0 -0
  597. package/app/dist/assets/file-path-link-D7DFjBWZ.js.gz +0 -0
  598. package/app/dist/assets/host-mutations-Fl0RjER0.js.br +0 -0
  599. package/app/dist/assets/host-mutations-Fl0RjER0.js.gz +0 -0
  600. package/app/dist/assets/icon-extended-C0LTNXfN.js.br +0 -0
  601. package/app/dist/assets/icon-extended-C0LTNXfN.js.gz +0 -0
  602. package/app/dist/assets/image-lightbox-DhNslR-8.js.br +0 -0
  603. package/app/dist/assets/image-lightbox-DhNslR-8.js.gz +0 -0
  604. package/app/dist/assets/index-C2K528W0.css +0 -2
  605. package/app/dist/assets/index-C2K528W0.css.br +0 -0
  606. package/app/dist/assets/index-C2K528W0.css.gz +0 -0
  607. package/app/dist/assets/index-DCps_qBD.js +0 -395
  608. package/app/dist/assets/index-DCps_qBD.js.br +0 -0
  609. package/app/dist/assets/index-DCps_qBD.js.gz +0 -0
  610. package/app/dist/assets/inline-rename-editor-nrH2d_Gy.js.br +0 -0
  611. package/app/dist/assets/inline-rename-editor-nrH2d_Gy.js.gz +0 -0
  612. package/app/dist/assets/launcherRow-CVYGyeOl.js.br +0 -0
  613. package/app/dist/assets/launcherRow-CVYGyeOl.js.gz +0 -0
  614. package/app/dist/assets/localhost-link-rewrite-description-C0FphFZq.js.br +0 -0
  615. package/app/dist/assets/localhost-link-rewrite-description-C0FphFZq.js.gz +0 -0
  616. package/app/dist/assets/markdown-file-image-routing-BhGjphhz.js +0 -1
  617. package/app/dist/assets/markdown-html-CLi3FhDR.js.br +0 -0
  618. package/app/dist/assets/markdown-html-CLi3FhDR.js.gz +0 -0
  619. package/app/dist/assets/markdown-local-file-link-BROpdQPF.js.br +0 -0
  620. package/app/dist/assets/markdown-local-file-link-BROpdQPF.js.gz +0 -0
  621. package/app/dist/assets/markdown-preview-CGXXNhJo.js.br +0 -0
  622. package/app/dist/assets/markdown-preview-CGXXNhJo.js.gz +0 -0
  623. package/app/dist/assets/markdown-prompt-mentions-CPWKCtMa.js.br +0 -0
  624. package/app/dist/assets/markdown-prompt-mentions-CPWKCtMa.js.gz +0 -0
  625. package/app/dist/assets/model-load-error-message-CH_k4E7q.js.br +0 -0
  626. package/app/dist/assets/model-load-error-message-CH_k4E7q.js.gz +0 -0
  627. package/app/dist/assets/onboarding-telemetry-BXIyQ5F4.js +0 -1
  628. package/app/dist/assets/open-in-editor-button-tA10Nkqn.js.br +0 -0
  629. package/app/dist/assets/open-in-editor-button-tA10Nkqn.js.gz +0 -0
  630. package/app/dist/assets/page-shell-CNCVT3Uj.js.br +0 -0
  631. package/app/dist/assets/page-shell-CNCVT3Uj.js.gz +0 -0
  632. package/app/dist/assets/pierre-worker-pool-pXJFsMd7.js.br +0 -0
  633. package/app/dist/assets/pierre-worker-pool-pXJFsMd7.js.gz +0 -0
  634. package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js +0 -1
  635. package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js.br +0 -0
  636. package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js.gz +0 -0
  637. package/app/dist/assets/plugin-frontend-DoWZV45B.js.br +0 -0
  638. package/app/dist/assets/plugin-frontend-DoWZV45B.js.gz +0 -0
  639. package/app/dist/assets/plugin-ui-Cu8MrXLJ.js.br +0 -0
  640. package/app/dist/assets/plugin-ui-Cu8MrXLJ.js.gz +0 -0
  641. package/app/dist/assets/queued-editor-typeahead-layout-DTUSPVuA.js.br +0 -0
  642. package/app/dist/assets/queued-editor-typeahead-layout-DTUSPVuA.js.gz +0 -0
  643. package/app/dist/assets/queued-messages-layout-Bj1foecI.js +0 -3
  644. package/app/dist/assets/queued-messages-layout-Bj1foecI.js.br +0 -0
  645. package/app/dist/assets/queued-messages-layout-Bj1foecI.js.gz +0 -0
  646. package/app/dist/assets/resource-list-DLZLjUCf.js.br +0 -0
  647. package/app/dist/assets/resource-list-DLZLjUCf.js.gz +0 -0
  648. package/app/dist/assets/root-compose-create-preference-Bv_dFEsH.js +0 -1
  649. package/app/dist/assets/settings-nav-D5tWYG52.js +0 -1
  650. package/app/dist/assets/settings-nav-D5tWYG52.js.br +0 -0
  651. package/app/dist/assets/settings-nav-D5tWYG52.js.gz +0 -0
  652. package/app/dist/assets/settings-sections-Dfo35J2q.js.br +0 -0
  653. package/app/dist/assets/settings-sections-Dfo35J2q.js.gz +0 -0
  654. package/app/dist/assets/sidebarTouchSensor-Da_E8eSx.js.br +0 -0
  655. package/app/dist/assets/sidebarTouchSensor-Da_E8eSx.js.gz +0 -0
  656. package/app/dist/assets/switch-BRYzbFH-.js.br +0 -0
  657. package/app/dist/assets/switch-BRYzbFH-.js.gz +0 -0
  658. package/app/dist/assets/thread-event-parser-BrLyjs4v.js.br +0 -0
  659. package/app/dist/assets/thread-event-parser-BrLyjs4v.js.gz +0 -0
  660. package/app/dist/assets/thread-panel-queries-s8vzntf7.js +0 -1
  661. package/app/dist/assets/thread-panel-queries-s8vzntf7.js.br +0 -0
  662. package/app/dist/assets/thread-panel-queries-s8vzntf7.js.gz +0 -0
  663. package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js +0 -3
  664. package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js.br +0 -0
  665. package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js.gz +0 -0
  666. package/app/dist/assets/thread-terminal-queries-Blou76c_.js.br +0 -0
  667. package/app/dist/assets/thread-terminal-queries-Blou76c_.js.gz +0 -0
  668. package/app/dist/assets/threadRecentItems-BiCe3SkL.js.br +0 -0
  669. package/app/dist/assets/threadRecentItems-BiCe3SkL.js.gz +0 -0
  670. package/app/dist/assets/threadWorkspaceOpenPath-C9eC_XGN.js.br +0 -0
  671. package/app/dist/assets/threadWorkspaceOpenPath-C9eC_XGN.js.gz +0 -0
  672. package/app/dist/assets/title-bar-scroll-fade-OrK4M84v.js.br +0 -0
  673. package/app/dist/assets/title-bar-scroll-fade-OrK4M84v.js.gz +0 -0
  674. package/app/dist/assets/use-hover-popover-uokpMJ80.js.br +0 -0
  675. package/app/dist/assets/use-hover-popover-uokpMJ80.js.gz +0 -0
  676. package/app/dist/assets/useElementWidth-EbzKQ0bg.js.br +0 -0
  677. package/app/dist/assets/useElementWidth-EbzKQ0bg.js.gz +0 -0
  678. package/app/dist/assets/useLocalOpenTargets-CtvcdlZg.js.br +0 -0
  679. package/app/dist/assets/useLocalOpenTargets-CtvcdlZg.js.gz +0 -0
  680. package/app/dist/assets/usePanelResizeSnap-CuwA4rg3.js.br +0 -0
  681. package/app/dist/assets/usePanelResizeSnap-CuwA4rg3.js.gz +0 -0
  682. package/app/dist/assets/usePanelTerminals-BZhTVWNX.js +0 -1
  683. package/app/dist/assets/usePanelTerminals-BZhTVWNX.js.br +0 -0
  684. package/app/dist/assets/usePanelTerminals-BZhTVWNX.js.gz +0 -0
  685. package/app/dist/assets/usePathSuggestions-DZ1XPM_t.js.br +0 -0
  686. package/app/dist/assets/usePathSuggestions-DZ1XPM_t.js.gz +0 -0
  687. package/app/dist/assets/useResolvedLiveFileTarget-DlZUgf7A.js.br +0 -0
  688. package/app/dist/assets/useResolvedLiveFileTarget-DlZUgf7A.js.gz +0 -0
  689. package/app/dist/assets/useThreadTerminalController-D4Cr2aY0.js.br +0 -0
  690. package/app/dist/assets/useThreadTerminalController-D4Cr2aY0.js.gz +0 -0
  691. package/app/dist/assets/workspace-change-summary-C1EKX0Np.js.br +0 -0
  692. package/app/dist/assets/workspace-change-summary-C1EKX0Np.js.gz +0 -0
  693. package/app/dist/assets/workspace-checkout-display-DRAc3j4u.js.br +0 -0
  694. package/app/dist/assets/workspace-checkout-display-DRAc3j4u.js.gz +0 -0
  695. package/host-daemon/dist/moonlet-chunks/chunk-MNJOOMMT.js +0 -2
  696. package/host-daemon/dist/moonlet-chunks/settings-MKGSGNIO.js +0 -4
@@ -105,7 +105,7 @@ Moonlet guide plugin:
105
105
  moonlet plugin config bb-guide set submitPlugin false
106
106
 
107
107
  Changes apply when agent configuration is next assembled. They do not erase
108
- existing conversation text or disable independently installed copies.`,variables:{}},{id:"bbGuideBrowser",body:"# Built-in browser automation\n\n`moonlet browser` is the experimental core API for automation integrations controlling Moonlet desktop tabs. The bundled Browser Automation plugin adds its own `moonlet browser-automation` session commands (see its browser-automation skill); another plugin can use the same core connection independently.\n\nStart with `moonlet browser instances --host <host-id> --json`. For every tab/control operation provide `--host <host-id> --instance <instance-id> --generation <generation> --thread <thread-id>`. The browser host can differ from the agent host. Never infer an active desktop window.\n\n- `tabs`: list native tabs and their control state.\n- `create [--url <http(s)-url>] [--reveal]`: create a tab in the Moonlet browser profile, with the user's signed-in cookies. Defaults: hidden, about:blank.\n- `acquire <tab-ids...> --controller <label> [--ttl-ms <ms>]`: acquire exclusive tab control. It reveals the first tab only when the owning thread is already focused; it never switches threads or activates a desktop window. Default expiry is five minutes, maximum thirty minutes. Controlled tabs carry the Moonlet browser profile's signed-in authority.\n- `connection <lease-id> --output <new-file>`: write private connection JSON with mode 0600 on the CLI host. The loopback WebSocket endpoint is usable only on the browser host. Pass it privately to an integration worker; never expose it through a shared port or chat output.\n- `release <lease-id>`: revoke automation while keeping tabs open.\n- `reveal <tab-id>`: open the side panel and select the existing native tab only if its thread is already focused; otherwise leave the current view unchanged.\n- `capture <tab-id> --output <new-file>`: save a bounded JPEG to the CLI host without focusing the tab.\n- `close <tab-id>`: explicitly close that native tab.\n- `watch`: print changed tab snapshots every two seconds until interrupted. Disconnects report errors; this is not a lossless event log.\n\nCookie import copies signed-in sessions from a browser installed on the desktop host into the Moonlet browser profile. These two commands take `--host`, `--instance`, and `--generation` but no `--thread`:\n\n- `import-sources`: combine known-browser entries (Chrome, Chromium, Helium (macOS), Edge, Brave, Vivaldi, Opera, Arc (macOS), Dia (macOS), Firefox, Zen, Safari (macOS)) with automatically detected Chromium/Firefox cookie stores, their profiles with cookie counts, and why one is unavailable (`notInstalled`, `browserRunning`, `needsFullDiskAccess`, `needsKeychainApproval`, `unsupportedPlatform`).\n- `import-cookies --from <source-id> --profile <directory>`: read that profile's cookie store and write it into the Moonlet browser profile. The source browser must be quit first. macOS prompts for Keychain access for Chromium browsers and needs Full Disk Access for Safari. The result reports imported and skipped counts plus skipped hosts; `ok: false` carries a reason. A one-time copy, never a sync; partitioned cookies and non-default Firefox containers are skipped. Desktop only (macOS and Linux). Use the exact source ID returned by `import-sources`; additional stores have stable opaque `storage-\u2026` IDs.\n\nDiscovery finds known browsers plus other Chromium and Firefox cookie stores in standard per-user locations, including Flatpak and Snap; it reads no encryption secrets and excludes Moonlet's own desktop profile. Arbitrary custom locations, other cookie formats, and custom encryption are not supported. Refresh rescans.\n\nAll commands support JSON output. In plugin code use `bb.sdk.experimental_desktopBrowsers`; the Plugin Guide documents the typed surface. Stop/Take over revokes native control; stopping the owning thread also releases its server control leases. Old connection generations cannot control replacement windows.\n\nCloud browsers are not supported. Headless Chrome on an enrolled host belongs to the Browser Automation plugin.",variables:{}},{id:"bbGuideCustomization",body:"Customization commands\n\nBundled plugins such as Keep Awake, Concurrency limit, Thread list, and Push\nnotifications own their settings and commands; run `moonlet guide plugins`.\n\nTheming \u2014 the app-wide palette and typography\n\n`moonlet theme` controls a set of CSS-variable overrides for the app palette and\ntypography, persisted server-side and applied live to every open window.\nLight/dark mode is a separate per-client setting the theme layers on top of.\nCustom themes live on\ndisk, one folder per theme, at <bb-data-dir>/theme/<name>/theme.css (the packaged\napp uses ~/.bb/theme/\u2026). The folder name is the theme id.\n\nmoonlet theme list Built-in and custom themes; shows the active one\nmoonlet theme dir Print the custom-theme directory (where to author)\nmoonlet theme set <id> [--favicon-color <color>]\nActivate a theme (built-ins: default, nord,\ndracula, solarized, gruvbox, catppuccin),\npreserving the favicon color unless the flag\nsupplies the complete selection\nmoonlet theme show [id] [--css] Print the active palette, or resolve <id> without\nactivating it; --css dumps the CSS\nmoonlet theme reset Back to the default theme; preserve favicon color\nmoonlet theme favicon set <color> Set favicon color; preserve the active theme\nmoonlet theme favicon reset Reset favicon color; preserve the active theme\n\nTo author a custom theme, run `moonlet theme dir`, write <that-dir>/<name>/theme.css,\nthen `moonlet theme set <name>`. A name has at most 64 characters, starts with a\nletter or digit, then uses letters, digits, `.`, `_`, or `-`; avoid built-in\nids. Optional `pierre-dark.json` / `pierre-light.json`\n(or a `theme.json` `codeTheme` field) ship the matching code colors. Built-in\npalettes use the matching Shiki pair. The full design-token reference is in\nthe bb-cli skill (references/theming.md).\n\nTheme CSS can override typography as well as colors. `--font-terminal` controls\nthe integrated terminal's font family independently of `--font-mono`; set it in\nthe theme's `:root, .light` block and end the stack with a generic fallback.\n\nFavicon colors are `default`, `red`, `orange`, `yellow`, `green`, `teal`,\n`blue`, `purple`, and `pink`. Theme and favicon-only commands carry the other\nappearance value forward explicitly.\n\nHovering a palette in Settings \u2192 Appearance previews it live in that window\nwithout saving; `moonlet theme show <id>` is the CLI counterpart.\n\nAdd --json to any theme command for machine-readable output.\n\nPermissions\n\nSettings \u2192 Permissions brings policy, question levels, recipients and standing\npermissions together. Secret inputs name stored items and fields, never values.\nThe same operations are available through `sdk.experimental_permissions` and:\n\n- `moonlet permissions show` \u2014 policy references, approval controls, grants and recipients as JSON.\n- `moonlet permissions edit <file>` \u2014 a JSON object with `base`, `section` and `value`.\n Sections are `network`, `capability`, `login`, `secret_use` and `backup`; use\n `show` to get the current base and preserve unrelated fields when editing a row.\n For `backup`, `value` is the nightly backup's store (`type`, `path`, `options`,\n optional vault `item`, `recipient` public key), or `null` to turn it off.\n- `moonlet permissions export`, `import <file> --base <base>`, `history [id]` \u2014 the full\n policy and saved versions. Import saves; it does not apply to machines.\n- `moonlet permissions ability <name> <file>` \u2014 JSON with `level`, `sensitive` and\n `expireMinutes`. Levels: `never-ask`, `ask-changes`, `always-ask`, `read-only`.\n- `moonlet permissions revoke <id>` \u2014 revoke an exact-command grant.\n- `moonlet permissions take-back <id>` \u2014 open that standing permission\u2019s original\n protected question. This command does not answer it.\n- `moonlet permissions recipients <file>`, `relay-targets <file>`, `relay-hosts <file>` \u2014\n save the corresponding JSON list. Existing Ask/Allow rules and limits apply.\n- `moonlet permissions check-sign-ins <machine>` \u2014 check configured item titles without\n reading credential values, on macOS or Linux.\n- `moonlet permissions review <machines...>`, `apply <machines...>`, `jobs` \u2014 preview,\n apply through the existing deployment approval, and read progress/results.\n\nThese commands use authenticated settings routes. The machine gate refuses them;\nthere is no approval-answer command or alternate path after a refusal.\n\nActivity\n\nActivity in the rail collects Waiting for you, Changes, Approvals and Messages.\nChanges keeps Undo, details and remembered declines with Forget. Messages keeps\nnamed-message history, relay history, limits and delivery status. Waiting for you\nincludes held messages with Deliver and Discard and the original job questions.\nRecipient lists and live permission controls stay in Settings \u2192 Permissions.\n\nExisting SDK operations are unchanged: plugin RPCs `owner-changes.history`,\n`owner-changes.details`, `owner-changes.undo`, `owner-changes.forget`,\n`messages.state`, `messages.history`, `messages.deliver`, `messages.discard`,\n`relay.state` and `approvals.state` keep their original inputs and authorization.\n`messages.state` adds a `held` list, newest first, queried directly from held\nrecords independently of the latest history page.\nUse `sdk.plugins.callRpc({ pluginId: \"orbit\", method, input, outputSchema })` from an authenticated\nclient, with an output schema matching the existing RPC contract.\n`sdk.experimental_permissions.approvals()` also reads approval history.\nThe CLI counterparts are `moonlet changes list|show|undo|forget`,\n`moonlet messages list|read` and `moonlet permissions show`.\nUse `moonlet plugin rpc call orbit <method> --input-file <json-file> --json` for\nowner-only history, Deliver, Discard and Forget, with the same inputs as the SDK.\nFor example, `messages.deliver` and `messages.discard` take `{ \"id\": 123 }`,\n`owner-changes.forget` takes `{ \"target\": \"prefs:example\" }`, and `relay.state`\ntakes null (omit the input file). These commands keep their existing caller restrictions;\nthere is no CLI command to answer a protected job question.\n\nServer-backed settings\n\nSettings stored server-side apply to every window and survive restarts.\n\nmoonlet settings show\nmoonlet settings ai-services\nmoonlet settings ai-services set <thread-title|commit-message|voice> <automatic|off|service-id> [--plugin <plugin-id>]\nmoonlet settings ai-services test <thread-title|commit-message>\nmoonlet settings general <key> <value>\nmoonlet settings replay-onboarding\nmoonlet settings completed-turns [provider-id] [collapse|flat|default]\nmoonlet settings experiment <key> <value>\nmoonlet settings usage [--machine <id-or-name>] [--refresh]\nmoonlet settings cli-command [install|remove]\nmoonlet settings version [--force]\nmoonlet settings reload Reload bb-managed configuration\n\nAI services: `moonlet settings ai-services` shows which AI service writes thread\ntitles (and so branch names), commit messages, and voice transcripts, plus\nevery service a plugin registers and whether it is ready. `set` picks\n`automatic` (Moonlet cloud first, then all other compatible services by plugin id\nand service id in lexicographic order, including third-party plugins), `off`,\nor one service id; a picked service is never swapped for another. A service is\nidentified by its plugin and its id, so two plugins may use the same id; pass\n`--plugin <plugin-id>` when they do. `test` runs a sample title or commit\nmessage through the current choice. Settings \u2192 Providers has the same\ncontrols. Each plugin chooses its own model. The removed `BB_INFERENCE`,\n`BB_INFERENCE_FALLBACK`, and `BB_TRANSCRIPTION` variables are ignored with a\nwarning in `~/.bb/config.json`, and `bb-app config set` refuses them.\n\nGeneral keys: `moonlet settings general` accepts any key from `generalSettings` in\n`moonlet settings show`; an unknown key or wrongly shaped value is rejected with the\nlist of known keys. Boolean preferences take `true`, `false`, `on`, or `off`,\nand `null` clears a preference that can be unset. Most appear in Settings \u2192\nGeneral. Machine-related keys (`machineServerUrl`, `defaultMachineAccess`,\n`machineGitCredentialsEnabled`) are covered in `moonlet guide machines`.\n\n- `timeZone` (default `null`, server default; Settings \u2192 General \u2192 Time zone) is the clock for reminders, routines and deadlines. Set an IANA name with `moonlet settings general timeZone Europe/London`; `moonlet settings general timeZone null` follows the server again. SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, timeZone: \"Europe/London\" })`. Existing saved assistant time zones carry over.\n- `showDiagnosticEvents` (default false) shows provider environment resolution\n and unhandled provider events in the timeline. Warnings, errors, and model\n fallback stay visible either way.\n- `steerActiveThreadOnEnter` (default true for a new install; an earlier\n install with saved settings or work keeps false): when on, Enter steers a\n running thread and Command+Enter queues a follow-up; when off, those are\n reversed. Shift+Enter inserts a newline.\n- `showGitChanges` (default true; Settings \u2192 General \u2192 Show Git changes and\n Commit button): false hides the git summary, expanded file list,\n pull-request status and actions above the composer, and Commit action in the\n thread header and overflow menu for every thread and connected client. Thread\n relationships and workspace warnings remain visible.\n- `keepHistoryAfterContextClear` (default false; Settings \u2192 General \u2192 Show\n messages from before a context clear): true keeps a cleared thread's earlier\n messages above the `Context cleared` boundary in the timeline, outline, and\n message lookups. The next prompt still starts a fresh provider conversation,\n and the context meter still resets.\n- `summarizeShellCommands` (default true; Settings \u2192 General \u2192 Summarize shell\n commands): false stops titling shell commands that read, list, or search files\n with a summary such as `Searched for X`. Each command row then shows its\n command and expands to the command and its output.\n- `resumeThreadsAfterRestart` (default false; Settings \u2192 General \u2192 Resume\n interrupted threads after a restart): true retries a turn that a quit, crash,\n update or machine restart cut off, and wakes an idle thread whose background\n work the restart stopped, a few seconds after the machine's daemon comes\n back; it also sends queued retries ahead of the thread's other queued rows.\n Set it with `moonlet settings general resumeThreadsAfterRestart true`; SDK\n callers use `system.updateGeneralSettings({ ...config.generalSettings,\n resumeThreadsAfterRestart: true })`. See `moonlet guide thread-lifecycle`.\n- `confirmThreadArchive` (default true): set false to archive parent and child\n threads in the app without the confirmation popup; the toast still offers\n Undo. CLI and SDK archive calls are always non-interactive.\n- `terminalCopyOnSelect` (default true; Settings \u2192 General \u2192 Terminals \u2192 Copy\n on select) copies completed terminal selections exactly and shows \"Selection\n copied\". Text elsewhere in the app is unchanged. Set it with\n `moonlet settings general terminalCopyOnSelect <true|false|on|off>` or SDK\n `system.updateGeneralSettings`. Explicit Copy/Paste work when off. Supported\n Linux browsers use native primary selection for middle-click paste,\n independently of this preference, never the regular clipboard as a fallback.\n- `streamerMode` (default false) hides every `customModels` entry from\n `~/.bb/config.json` in all model lists (pickers, `moonlet provider models`, and\n the SDK) during a screen share. The entries stay in the config file; a\n request that names a hidden model still runs with it, and default model\n resolution still sees the full list.\n- `allowFastServiceTier` (default true; Settings \u2192 Providers): false hides the\n service tier control and runs new turns at the default service tier,\n including explicit requests for any other tier (fast, Codex ultrafast), saved\n project defaults, automations, and messages queued before the change. Project\n defaults saved while it was off retain the default tier.\n- `managedBranchPrefix` (default `bb/`, at most 64 characters) prefixes every\n branch Moonlet creates for a worktree or a new checkout branch: the default gives\n `bb/fix-login-flow-thr_ab12cd34ef`, `sawyer/wt-` gives\n `sawyer/wt-fix-login-flow-thr_ab12cd34ef`, and an empty value gives no\n prefix. Moonlet rejects a prefix that cannot start a valid git branch name.\n Existing branches keep their names.\n- `providerOrder` (default `[]`) is a JSON array of provider ids, and\n `defaultProviderId` (default `null`) names the default provider; `null`\n clears it.\n- `idleProviderSessionTimeoutMinutes` (default `30`; Settings \u2192 Providers \u2192 Configuration \u2192 Release idle agent sessions) sets how long an agent can sit idle after its last turn before every machine stops its provider process. Allowed values are `0` (ASAP), `5`, `10`, `30`, and `60`, for example `moonlet settings general idleProviderSessionTimeoutMinutes 5`. Machines check every five minutes, so release can take up to five minutes beyond the timeout. Changes apply live and on reconnect. Only restorable sessions without active or pending work are eligible; threads keep their history and resume on the next message. `moonlet thread stop` still releases a runtime manually. This is not a limit on loaded processes or memory. Read the value with `moonlet settings show`; SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, idleProviderSessionTimeoutMinutes: 5 })`.\n- `telemetryEnabled`: see Telemetry below.\n\n`moonlet settings replay-onboarding` clears `onboardingCompletedAt`, so the\nfirst-run setup guide (connect an agent, any steps plugins add, add projects,\npick plugins, connect integrations, set up devices) shows again in every open\nclient. Settings \u2192 General \u2192 Setup guide has the same button; SDK callers use\n`system.experimental_replayFirstRun()`. An install whose setup is finished is\nnever shown it again until it is replayed. The Integrations step appears only\nwhen a plugin places a section in Settings \u2192 Integrations, and shows those\nsame sections.\n\n`moonlet settings usage --refresh` fetches fresh provider usage; ordinary reads may\nreuse results for 10 seconds. The SDK equivalent is\n`bb.sdk.system.usageLimits({ refresh: true })`.\n\nCommand line: Settings \u2192 General \u2192 Command line puts the `bb` command on PATH\non the computer that runs the Moonlet server, so the user, a script, or an agent\nrunning outside Moonlet (such as Claude Code or Codex) can control Moonlet; threads in Moonlet\nalready have `bb`. `moonlet settings cli-command` shows the state, and `install` or\n`remove` changes it. Install links the launcher at `~/.bb/bin/bb` into a PATH\nfolder such as `~/.local/bin` (on Windows it adds `~/.bb/bin` to the user\nPATH). Moonlet never replaces another `bb`: install is refused while one runs first\nin a new terminal. Only an installed Moonlet (`npx bb-app` or the desktop app)\noffers this; a source checkout does not.\n\nCompleted turns: `moonlet settings completed-turns` lists how each provider shows a\nfinished turn: `collapse` folds the turn's work into one \"Worked for\" row and\nkeeps the final answer visible, and `flat` keeps every step visible. Each\nprovider has a default (Claude Code is `flat`, the other first-party providers\n`collapse`); `--json` shows whether each value comes from your setting or that\ndefault. `moonlet settings completed-turns <provider-id> <collapse|flat>` overrides\nit for that provider, and `default` removes the override. It applies to\nexisting threads too, including `moonlet thread log`. Settings \u2192 Providers has the\nsame per-provider switch.\n\nExperiments: `moonlet settings experiment <key> <true|false>` toggles a default-off\nexperiment (Settings \u2192 Experiments). `changelogPreview` shows the latest\nrelease notes as a dismissible card on Settings \u2192 Updates. Experiments that\ngate a feature are documented with it: `serverMove` in `moonlet guide machines`,\n`performanceDiagnostics` under Server performance diagnostics below.\n`timelinePush` sends an open thread's timeline updates over the live\nconnection as row deltas instead of reloading the latest window after each\nupdate. `compactExpiredCache` offers a Compact chip in the composer when an idle\nthread's prompt cache has expired and its context holds at least 100k tokens;\nsee `moonlet guide thread-messaging` for `--compact-first`.\n`sidebarMultiSelect` lets the built-in thread list sidebar select several threads with\nCmd/Ctrl-click and Shift-click for bulk actions and drag; while it is off,\nCmd/Ctrl-click opens a thread in a split.\n`moonlet settings general earlyAdopter on` (Settings \u2192 Experiments \u2192 Become an early\nadopter) turns on the experiments marked Early adopter, currently\n`timelinePush`, `compactExpiredCache`, and `sidebarMultiSelect`; an experiment you set yourself keeps\nyour value.\n\nLauncher settings\n\n`bb-app config` and `bb-app env` reload runtime settings in a running server,\nbut the CLI identifies settings that are startup-only, including binding/ports,\ndata and the dev-app port, telemetry, inherited skill roots, and\n`BB_LOG_LEVEL`. Use `bb-app config`, not `bb-app env`, to change `BB_APP_URL`\nlive. After a startup-only change, run `bb-app stop && bb-app start` or restart\nthe desktop app; until then, changing or unsetting `BB_SERVER_BIND_HOST` does\nnot close a previous `0.0.0.0` listener.\n\n`--server-bind-host 0.0.0.0` (or `BB_SERVER_BIND_HOST=0.0.0.0`) listens on\nevery interface for direct remote access; containers must also publish the\nport. Moonlet accepts request hosts that are `localhost`, IP addresses (including\nLAN and Tailscale IPs), or the hostname in `BB_APP_URL`. For a custom DNS name\nor reverse proxy, run `npx bb-app config set BB_APP_URL https://bb.example.com`\nbefore connecting, including from the CLI or SDK; forwarded host headers cannot\nauthorize an unconfigured name. Moonlet Connect needs no additional configuration.\n\nKeyboard shortcuts\n\nSettings \u2192 Keyboard records per-command shortcut overrides, persisted\nserver-side and applied live to every connected window, including desktop menu\naccelerators. Reset removes an override and returns to Moonlet's current default;\n`disabled` explicitly unbinds a command. `Mod` means Command on macOS and\nControl on Windows/Linux. The complete default table is in docs/configuration.md.\n\nmoonlet settings keyboard list\nmoonlet settings keyboard hints <true|false>\nmoonlet settings keyboard set <command> <shortcut|disabled> [--platform mac|windows|linux]\nmoonlet settings keyboard reset [command] [--platform mac|windows|linux]\n\n`keyboard list` prints core command ids with their effective bindings, plus\nevery saved override; examples include `panel.previousTab` / `panel.nextTab`,\n`pane.focus.left|right|up|down`, `pane.maximize.toggle`, and the initially\nunbound `panel.fullScreen.toggle`. `hints` (default true) shows or hides the\ndelayed shortcut badges shown while holding the modifier key; shortcuts work\neither way.\n\n`history.back` / `history.forward` (`Mod+[` / `Mod+]`) follow the pages opened\nin the current window, like the sidebar arrows. `thread.previous` /\n`thread.next` follow sidebar order instead: `Mod+Shift+[` / `Mod+Shift+]`\non desktop and `Control+Shift+[` / `Control+Shift+]` on the web.\n\nAn override can be scoped with `--platform`; without it, it applies on all\nplatforms. A platform-specific override takes precedence over a general one,\nincluding when disabled. Scoped `set` and `reset` keep other platforms'\noverrides; unscoped `set` updates the general override, and unscoped `reset`\nclears every scope for the command (or every command if omitted). The SDK uses\n`system.updateKeyboardSettings` to write and `system.config` to read bindings.\n\nPlugin commands use `plugin:<plugin-id>/<command-id>` as their binding ID, for\nexample `moonlet settings keyboard set plugin:example/open-issue Mod+Shift+I`;\n`reset` restores the plugin's default. Overrides survive plugin disable,\nre-enable, and reload. Commands without defaults start unbound, and\nconflicting plugin defaults stay unbound. Plugin defaults resolve in each app\nwindow, not in `keyboard list`, so CLI/SDK callers should clear conflicting\nexplicit bindings in the same update.\n\nSidebar preferences\n\n`moonlet settings ui` reads and writes server-side sidebar preferences shared by\nevery window, device, and the CLI. The same registry stores which thread Info\npanel sections are collapsed (`infoPanel.collapsedSections`).\n\nmoonlet settings ui list [--json]\nmoonlet settings ui get <key> [--json]\nmoonlet settings ui set <key> <value> [--json]\nmoonlet settings ui reset <key> [--json]\n\n`list` prints every key with its value, revision, and a short description.\n`set` takes plain strings for enum and provider keys and JSON for lists and\n`null`; it retries once if another writer changed the key. `reset` writes the\ndefault. The SDK offers `sdk.system.uiPreferences.list()`, `.set()`, and\n`.reset()`.\n\nThe thread list is drawn by `sidebar.threadListProvider`, which defaults to\n`__automatic__`: the first installed thread list plugin other than the bundled\nThread list plugin (`thread-list/thread-list`), or the bundled plugin when\nthere is none, so installing a thread list plugin switches to it. Select one\nwith `moonlet settings ui set sidebar.threadListProvider <plugin-id>/<slot-id>`, or\nreset to restore Automatic. The bundled Thread list plugin keeps its own\nlayout (organization mode, sort, grouping, hidden and collapsed groups) and\ncopies the legacy `sidebar.*` layout keys from here only once; change its\nlayout with `bb thread-list prefs` (see `moonlet guide plugins`).\n\nThe composer's input box is drawn by `composer.provider`, which defaults to\n`__automatic__`: the first composer plugin you installed, or the bundled\nComposer plugin (`bb--composer/composer`) when there is none. Pick one with\n`moonlet settings ui set composer.provider <plugin-id>/<slot-id>`, or reset to\nrestore Automatic. With no composer plugin enabled, no composer is shown.\n\nA vertical rail of destinations sits on the left edge of the sidebar on every\nscreen size. Home is at the top and returns to the last thread; the visible\ndestinations (Plugins, Skills, and plugin panels) follow; More holds hidden\ndestinations and Customize navigation; Settings is at the bottom. On wide\nwindows the rail shows each destination's name beside its icon; the\nCollapse control at the bottom of the rail shrinks it to icons (names move\nto tooltips) and Show names widens it again. That choice is remembered on\neach device, not synced, so there is no `moonlet settings ui` key for it; plugins\ncan change it through `experimental_useSidebar()`. Phones and narrow windows\nalways use icons.\nNew thread sits in the sidebar header and cannot be hidden from the rail. The list beside the rail swaps between\nthe thread list, Plugins, Skills, and Settings, and collapsing the sidebar\nhides that list and leaves the rail. Rail order and visibility are\n`sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`. In the macOS\ndesktop app, wide windows add a title bar holding the window controls, Back\nand Forward, and the sidebar toggle; the sidebar and page sit in a card below\nit. On narrow windows and phones the rail sits inside the drawer: Home,\nPlugins, Skills, and Settings swap the list beside it and leave the drawer\nopen, and a plugin page closes it.\n\nThe rail and the top list below are the two layouts of the bundled Navigation\nplugin, a built-in you can fork like the thread list.\n`sidebar.navigationProvider` picks what draws the navigation:\n`navigation/rail` (the rail above), `navigation/top-list` (labeled rows above\nthe thread list), another navigation plugin as `<plugin-id>/<slot-id>`, or\n`__automatic__` (the default: the first navigation from another plugin, else\n`navigation/rail`). Pick one in Settings \u2192 Appearance \u2192 Navigation, or:\n\nmoonlet settings ui set sidebar.navigationProvider navigation/top-list\nmoonlet settings ui reset sidebar.navigationProvider\n\nThe top list puts the visible destinations, New thread among them, and More\nabove the thread list, moves Settings into the footer, and adds a Back to app\nrow to the Settings, Plugins, and Skills lists. New thread can be reordered\nand hidden like any other row there. Collapsing hides the whole sidebar, and\nthe macOS desktop app drops the separate title bar. A navigation plugin\ndeclares whether it draws a rail or a list, and gets the matching layout; a\nlist navigation can also bring its own controls beside the sidebar toggle.\nThe same order and visibility keys apply to every provider.\n\nFooter actions: `sidebar.footerOrder` and `sidebar.hiddenFooterItems` are\nstring lists of `builtin:settings` (top list only), `builtin:mobile`,\n`builtin:report-bug`, or\n`plugin:<encoded pluginId>/<encoded registrationId>`. They survive plugin\nreloads and temporarily unavailable plugins; new items are visible by default.\n\nmoonlet settings ui set sidebar.hiddenFooterItems '[\"plugin:bb--provider-usage/usage\"]'\nmoonlet settings ui reset sidebar.hiddenFooterItems\n\nIn the app, the sidebar footer's More menu holds hidden actions and actions\nthat don't fit; Settings \u2192 Appearance \u2192 Sidebar footer, or right-clicking an\naction, edits the footer.\n\nThe command palette's thread search has its own Active/Archived filter, which\nis browser-local: it is not a server setting or a CLI/SDK option. The sidebar\nthread list's Active/Archived filter is the Thread list plugin's\n`threadLifecycles` preference.\n\nSidebar width and open state are per window and stay local to the browser.\n\nHost files and voice transcription\n\nmoonlet file read|write|list|paths|mkdir|move|remove ...\nmoonlet voice transcribe <audio-file> [--type <mime>] [--prompt <context>]\n--type defaults to audio/webm\n\n`moonlet file` supports `--host` for remote machines and `--root` on mutating\ncommands to confine access beneath an absolute directory. `moonlet file write`\ntakes exactly one of `--content` or `--stdin`; `moonlet file paths` lists files and\ndirectories unless `--files` or `--directories` narrows it. `moonlet file list` and\n`moonlet file paths` include dot-prefixed entries; pass `--no-hidden` to skip them.\nBoth skip a default set of dependency and cache directories such as\n`node_modules`, `.venv`, `.pnpm-store`, and root-relative `.claude/worktrees`;\n`--exclude <names...>` replaces that set. Entries match basenames at any depth\nor exact root-relative paths using `/` separators. Use\n`--json` for metadata and machine-readable results.\n\n`moonlet file remove` needs `--yes` without a terminal. `moonlet file remove --recursive`\nand `sdk.files.remove({ recursive: true, ... })` first stop processes whose\nworking directory is inside the directory, including dev servers in nested\ncheckouts (macOS and Linux only).\n\nVoice transcription uses the Voice input service chosen with\n`moonlet settings ai-services set voice <automatic|off|service-id>`. Moonlet accepts\nrecordings up to 25 MB, and each service may set a lower limit; Codex takes up\nto 20 MB. These limits apply to the app, SDK, and CLI. The app's microphone\nchoice is per browser and has no `bb` command. Right-click the composer\nmicrophone, press Shift+F10, or click the Microphone control in Settings \u2192\nVoice Input to open preferences in a desktop popover or mobile drawer.\nOpening starts a local waveform preview; closing releases it. Recording\ncontrols contain cancel, stop, and send; preferences are available while idle.\n\nMissing or unreadable inputs fall back to the system default, then other\navailable inputs. Permission denials do not trigger fallback. A disconnect\nswitches inputs in the same recorder, preserving captured audio. A reconnected\npreferred device is used on the next recording. A missing preference alone\nshows no warning. Capture failures warn on the idle microphone; five seconds\nof near-silent audio warns in the preview or recording row without switching\ninputs or stopping capture. Preview audio is never saved or transcribed.\n\nTelemetry\n\nAnonymous usage telemetry is off by default and has no destination by default.\nIt sends only when all three are on: `BB_POSTHOG_API_KEY` is set and\n`BB_TELEMETRY=true` (both read at startup, for example through `bb-app env`),\nand the saved preference is on: Settings \u2192 General \u2192 Privacy & diagnostics,\n`moonlet settings general telemetryEnabled true`, or SDK\n`system.updateGeneralSettings` with `telemetryEnabled`. The saved preference\ntakes effect immediately. `BB_TELEMETRY=false` always disables telemetry, even\nwhen the saved preference is enabled.\n\nMobile app downloads\n\nSettings \u2192 Remote access links the iOS TestFlight\n(https://testflight.apple.com/join/T9MayTMb) and the Android APK from the\npublic `matt0x6F/moonlet-releases` GitHub `android-testing` release (`bb-android.apk`), and\npairs either app through Add mobile device. `moonlet settings mobile-app --json` or\nSDK `system.mobileAppDownloads()` returns both links. Add `--details --json`\nor call `system.mobileAppReleases()` for the Android version, build, size, and\nupload date; `android` is `null` when that metadata is unavailable, and the\nlinks still work. Inside the Android app, this page compares the installed\nnative build number with the published APK. Older apps without build reporting\ncannot determine update status. Installed version and build are device-local;\nCLI and SDK metadata report the published APK.\n\nServer performance diagnostics\n\nStart with `bb-app --perf-diagnostics` or `BB_PERF_DIAGNOSTICS=1` (restart to\nchange), then run `moonlet settings experiment performanceDiagnostics true|false`.\nCollection needs both; it adds overhead and writes CPU profiles every 30 seconds\nto `$BB_DATA_DIR/logs/performance/` (kept 12 hours), which contain local paths.\nOpen a `.cpuprofile` in Chrome DevTools.\n\nDesktop Settings \u2192 Server \u2192 **Show This Mac** (or **Show This Computer** off macOS)\ndefaults to checked and is disabled while This Mac/Computer is selected.\nUnchecking hides the built-in server from server choices\nwhile another server is active and alternatives exist. It stays listed when\nactive or when it is the only choice. This setting does not stop the local\nruntime or change the active server.\n\nThe desktop stores `showBuiltinServer: false` in `<userData>/server-target.json`;\nmissing means shown, and saving the default omits the field. Other top-level\nmetadata is preserved. This is a desktop-local preference, with no server\nsettings CLI/SDK endpoint. Builds with tolerant readers ignore the field and\nmay drop it on save; older strict readers can reject the whole file, so keep a\nbackup before rolling back to a build predating the tolerant-reader fix #5286.\n\n## Schedules\n\nSettings \u2192 Schedules lists reminders, routines, saved checks and automations,\nincluding their machine, zone and recent outcomes. Turn off stops future runs\nand keeps the definition, saved check and history. It does not stop a running check.\n\n`moonlet schedule list --json` returns the same records and revisions.\n`moonlet schedule disable <id> --revision <number>` turns one off if its revision still\nmatches. These base endpoints are owner-only. The assistant and its authorized\nforks continue to use `moonlet schedule add|list|cancel` through their scoped\ncompatibility route; check approval requirements are unchanged.\n\n## Dormant reply release policy\n\n`replyRelease` is an object accepted by `moonlet settings general replyRelease '<JSON object>'`\nand SDK `system.updateGeneralSettings({ ...config.generalSettings, replyRelease })`.\nRead the current object with `moonlet settings show` or `system.config()` first.\nIts defaults are `enabled: false`, `unavailable: \"release\"`, `reviewerPublicKey: null`,\n`critic: \"gpt-6-luna\"`, and `instruction: \"\"`. It configures the new internal server\nrelease foundation; existing replies are not routed through it yet. The outage\npolicy waits up to one minute, then releases with a not-reviewed mark, or holds\nwhen `unavailable` is `\"hold\"`. The instruction and pinned reviewer public key are\nowner-controlled policy. An absent key or empty instruction means review is\nunavailable. Do not enable it as a way to change today's reply routes.",variables:{}},{id:"bbGuideEnvironments",body:`Environment commands
108
+ existing conversation text or disable independently installed copies.`,variables:{}},{id:"bbGuideBrowser",body:"# Built-in browser automation\n\n`moonlet browser` is the experimental core API for automation integrations controlling Moonlet desktop tabs. The bundled Browser Automation plugin adds its own `moonlet browser-automation` session commands (see its browser-automation skill); another plugin can use the same core connection independently.\n\nStart with `moonlet browser instances --host <host-id> --json`. For every tab/control operation provide `--host <host-id> --instance <instance-id> --generation <generation> --thread <thread-id>`. The browser host can differ from the agent host. Never infer an active desktop window.\n\n- `tabs`: list native tabs and their control state.\n- `create [--url <http(s)-url>] [--reveal]`: create a tab in the Moonlet browser profile, with the user's signed-in cookies. Defaults: hidden, about:blank.\n- `acquire <tab-ids...> --controller <label> [--ttl-ms <ms>]`: acquire exclusive tab control. It reveals the first tab only when the owning thread is already focused; it never switches threads or activates a desktop window. Default expiry is five minutes, maximum thirty minutes. Controlled tabs carry the Moonlet browser profile's signed-in authority.\n- `connection <lease-id> --output <new-file>`: write private connection JSON with mode 0600 on the CLI host. The loopback WebSocket endpoint is usable only on the browser host. Pass it privately to an integration worker; never expose it through a shared port or chat output.\n- `release <lease-id>`: revoke automation while keeping tabs open.\n- `reveal <tab-id>`: open the side panel and select the existing native tab only if its thread is already focused; otherwise leave the current view unchanged.\n- `capture <tab-id> --output <new-file>`: save a bounded JPEG to the CLI host without focusing the tab.\n- `close <tab-id>`: explicitly close that native tab.\n- `watch`: print changed tab snapshots every two seconds until interrupted. Disconnects report errors; this is not a lossless event log.\n\nCookie import copies signed-in sessions from a browser installed on the desktop host into the Moonlet browser profile. These two commands take `--host`, `--instance`, and `--generation` but no `--thread`:\n\n- `import-sources`: combine known-browser entries (Chrome, Chromium, Helium (macOS), Edge, Brave, Vivaldi, Opera, Arc (macOS), Dia (macOS), Firefox, Zen, Safari (macOS)) with automatically detected Chromium/Firefox cookie stores, their profiles with cookie counts, and why one is unavailable (`notInstalled`, `browserRunning`, `needsFullDiskAccess`, `needsKeychainApproval`, `unsupportedPlatform`).\n- `import-cookies --from <source-id> --profile <directory>`: read that profile's cookie store and write it into the Moonlet browser profile. The source browser must be quit first. macOS prompts for Keychain access for Chromium browsers and needs Full Disk Access for Safari. The result reports imported and skipped counts plus skipped hosts; `ok: false` carries a reason. A one-time copy, never a sync; partitioned cookies and non-default Firefox containers are skipped. Desktop only (macOS and Linux). Use the exact source ID returned by `import-sources`; additional stores have stable opaque `storage-\u2026` IDs.\n\nDiscovery finds known browsers plus other Chromium and Firefox cookie stores in standard per-user locations, including Flatpak and Snap; it reads no encryption secrets and excludes Moonlet's own desktop profile. Arbitrary custom locations, other cookie formats, and custom encryption are not supported. Refresh rescans.\n\nAll commands support JSON output. In plugin code use `bb.sdk.experimental_desktopBrowsers`; the Plugin Guide documents the typed surface. Stop/Take over revokes native control; stopping the owning thread also releases its server control leases. Old connection generations cannot control replacement windows.\n\nCloud browsers are not supported. Headless Chrome on an enrolled host belongs to the Browser Automation plugin.",variables:{}},{id:"bbGuideCustomization",body:"Customization commands\n\nBundled plugins such as Keep Awake, Concurrency limit, Thread list, and Push\nnotifications own their settings and commands; run `moonlet guide plugins`.\n\nTheming \u2014 the app-wide palette and typography\n\n`moonlet theme` controls a set of CSS-variable overrides for the app palette and\ntypography, persisted server-side and applied live to every open window.\nLight/dark mode is a separate per-client setting the theme layers on top of.\nCustom themes live on\ndisk, one folder per theme, at <bb-data-dir>/theme/<name>/theme.css (the packaged\napp uses ~/.bb/theme/\u2026). The folder name is the theme id.\n\nmoonlet theme list Built-in and custom themes; shows the active one\nmoonlet theme dir Print the custom-theme directory (where to author)\nmoonlet theme set <id> [--favicon-color <color>]\nActivate a theme (built-ins: default, nord,\ndracula, solarized, gruvbox, catppuccin),\npreserving the favicon color unless the flag\nsupplies the complete selection\nmoonlet theme show [id] [--css] Print the active palette, or resolve <id> without\nactivating it; --css dumps the CSS\nmoonlet theme reset Back to the default theme; preserve favicon color\nmoonlet theme favicon set <color> Set favicon color; preserve the active theme\nmoonlet theme favicon reset Reset favicon color; preserve the active theme\n\nTo author a custom theme, run `moonlet theme dir`, write <that-dir>/<name>/theme.css,\nthen `moonlet theme set <name>`. A name has at most 64 characters, starts with a\nletter or digit, then uses letters, digits, `.`, `_`, or `-`; avoid built-in\nids. Optional `pierre-dark.json` / `pierre-light.json`\n(or a `theme.json` `codeTheme` field) ship the matching code colors. Built-in\npalettes use the matching Shiki pair. The full design-token reference is in\nthe bb-cli skill (references/theming.md).\n\nTheme CSS can override typography as well as colors. `--font-terminal` controls\nthe integrated terminal's font family independently of `--font-mono`; set it in\nthe theme's `:root, .light` block and end the stack with a generic fallback.\n\nFavicon colors are `default`, `red`, `orange`, `yellow`, `green`, `teal`,\n`blue`, `purple`, and `pink`. Theme and favicon-only commands carry the other\nappearance value forward explicitly.\n\nHovering a palette in Settings \u2192 Appearance previews it live in that window\nwithout saving; `moonlet theme show <id>` is the CLI counterpart.\n\nAdd --json to any theme command for machine-readable output.\n\nPermissions\n\nSettings \u2192 Permissions brings policy, question levels, recipients and standing\npermissions together. Secret inputs name stored items and fields, never values.\nThe same operations are available through `sdk.experimental_permissions` and:\n\n- `moonlet permissions show` \u2014 policy references, approval controls, grants and recipients as JSON.\n- `moonlet permissions edit <file>` \u2014 a JSON object with `base`, `section` and `value`.\n Sections are `network`, `capability`, `login`, `secret_use` and `backup`; use\n `show` to get the current base and preserve unrelated fields when editing a row.\n For `backup`, `value` is the nightly backup's store (`type`, `path`, `options`,\n optional vault `item`, `recipient` public key), or `null` to turn it off.\n- `moonlet permissions export`, `import <file> --base <base>`, `history [id]` \u2014 the full\n policy and saved versions. Import saves; it does not apply to machines.\n- `moonlet permissions ability <name> <file>` \u2014 JSON with `level`, `sensitive` and\n `expireMinutes`. Levels: `never-ask`, `ask-changes`, `always-ask`, `read-only`.\n- `moonlet permissions revoke <id>` \u2014 revoke an exact-command grant.\n- `moonlet permissions take-back <id>` \u2014 open that standing permission\u2019s original\n protected question. This command does not answer it.\n- `moonlet permissions recipients <file>`, `relay-targets <file>`, `relay-hosts <file>` \u2014\n save the corresponding JSON list. Existing Ask/Allow rules and limits apply.\n- `moonlet permissions check-sign-ins <machine>` \u2014 check configured item titles without\n reading credential values, on macOS or Linux.\n- `moonlet permissions review <machines...>`, `apply <machines...>`, `jobs` \u2014 preview,\n apply through the existing deployment approval, and read progress/results.\n\nThese commands use authenticated settings routes. The machine gate refuses them;\nthere is no approval-answer command or alternate path after a refusal.\n\nActivity\n\nActivity in the rail collects Waiting for you, Changes, Approvals and Messages.\nChanges keeps Undo, details and remembered declines with Forget. Messages keeps\nnamed-message history, relay history, limits and delivery status. Waiting for you\nincludes held messages with Deliver and Discard and the original job questions.\nRecipient lists and live permission controls stay in Settings \u2192 Permissions.\n\nExisting SDK operations are unchanged: plugin RPCs `owner-changes.history`,\n`owner-changes.details`, `owner-changes.undo`, `owner-changes.forget`,\n`messages.state`, `messages.history`, `messages.deliver`, `messages.discard`,\n`relay.state` and `approvals.state` keep their original inputs and authorization.\n`messages.state` adds a `held` list, newest first, queried directly from held\nrecords independently of the latest history page.\nUse `sdk.plugins.callRpc({ pluginId: \"orbit\", method, input, outputSchema })` from an authenticated\nclient, with an output schema matching the existing RPC contract.\n`sdk.experimental_permissions.approvals()` also reads approval history.\nThe CLI counterparts are `moonlet changes list|show|undo|forget`,\n`moonlet messages list|read` and `moonlet permissions show`.\nUse `moonlet plugin rpc call orbit <method> --input-file <json-file> --json` for\nowner-only history, Deliver, Discard and Forget, with the same inputs as the SDK.\nFor example, `messages.deliver` and `messages.discard` take `{ \"id\": 123 }`,\n`owner-changes.forget` takes `{ \"target\": \"prefs:example\" }`, and `relay.state`\ntakes null (omit the input file). These commands keep their existing caller restrictions;\nthere is no CLI command to answer a protected job question.\n\nServer-backed settings\n\nSettings stored server-side apply to every window and survive restarts.\n\nmoonlet settings show\nmoonlet settings ai-services\nmoonlet settings ai-services set <thread-title|commit-message|voice> <automatic|off|service-id> [--plugin <plugin-id>]\nmoonlet settings ai-services test <thread-title|commit-message>\nmoonlet settings general <key> <value>\nmoonlet settings replay-onboarding\nmoonlet settings completed-turns [provider-id] [collapse|flat|default]\nmoonlet settings experiment <key> <value>\nmoonlet settings usage [--machine <id-or-name>] [--refresh]\nmoonlet settings cli-command [install|remove]\nmoonlet settings version [--force]\nmoonlet settings reload Reload bb-managed configuration\n\nAI services: `moonlet settings ai-services` shows which AI service writes thread\ntitles (and so branch names), commit messages, and voice transcripts, plus\nevery service a plugin registers and whether it is ready. `set` picks\n`automatic` (Moonlet cloud first, then all other compatible services by plugin id\nand service id in lexicographic order, including third-party plugins), `off`,\nor one service id; a picked service is never swapped for another. A service is\nidentified by its plugin and its id, so two plugins may use the same id; pass\n`--plugin <plugin-id>` when they do. `test` runs a sample title or commit\nmessage through the current choice. Settings \u2192 Providers has the same\ncontrols. Each plugin chooses its own model. The removed `BB_INFERENCE`,\n`BB_INFERENCE_FALLBACK`, and `BB_TRANSCRIPTION` variables are ignored with a\nwarning in `~/.bb/config.json`, and `bb-app config set` refuses them.\n\nGeneral keys: `moonlet settings general` accepts any key from `generalSettings` in\n`moonlet settings show`; an unknown key or wrongly shaped value is rejected with the\nlist of known keys. Boolean preferences take `true`, `false`, `on`, or `off`,\nand `null` clears a preference that can be unset. Most appear in Settings \u2192\nGeneral. Machine-related keys (`machineServerUrl`, `defaultMachineAccess`,\n`machineGitCredentialsEnabled`) are covered in `moonlet guide machines`.\n\n- `timeZone` (default `null`, server default; Settings \u2192 General \u2192 Time zone) is the clock for reminders, routines and deadlines. Set an IANA name with `moonlet settings general timeZone Europe/London`; `moonlet settings general timeZone null` follows the server again. SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, timeZone: \"Europe/London\" })`. Existing saved assistant time zones carry over.\n- `showDiagnosticEvents` (default false) shows provider environment resolution\n and unhandled provider events in the timeline. Warnings, errors, and model\n fallback stay visible either way.\n- `steerActiveThreadOnEnter` (default true for a new install; an earlier\n install with saved settings or work keeps false): when on, Enter steers a\n running thread and Command+Enter queues a follow-up; when off, those are\n reversed. Shift+Enter inserts a newline.\n- `showGitChanges` (default true; Settings \u2192 General \u2192 Show Git changes and\n Commit button): false hides the git summary, expanded file list,\n pull-request status and actions above the composer, and Commit action in the\n thread header and overflow menu for every thread and connected client. Thread\n relationships and workspace warnings remain visible.\n- `keepHistoryAfterContextClear` (default false; Settings \u2192 General \u2192 Show\n messages from before a context clear): true keeps a cleared thread's earlier\n messages above the `Context cleared` boundary in the timeline, outline, and\n message lookups. The next prompt still starts a fresh provider conversation,\n and the context meter still resets.\n- `summarizeShellCommands` (default true; Settings \u2192 General \u2192 Summarize shell\n commands): false stops titling shell commands that read, list, or search files\n with a summary such as `Searched for X`. Each command row then shows its\n command and expands to the command and its output.\n- `resumeThreadsAfterRestart` (default false; Settings \u2192 General \u2192 Resume\n interrupted threads after a restart): true retries a turn that a quit, crash,\n update or machine restart cut off, and wakes an idle thread whose background\n work the restart stopped, a few seconds after the machine's daemon comes\n back; it also sends queued retries ahead of the thread's other queued rows.\n Set it with `moonlet settings general resumeThreadsAfterRestart true`; SDK\n callers use `system.updateGeneralSettings({ ...config.generalSettings,\n resumeThreadsAfterRestart: true })`. See `moonlet guide thread-lifecycle`.\n- `confirmThreadArchive` (default true): set false to archive parent and child\n threads in the app without the confirmation popup; the toast still offers\n Undo. CLI and SDK archive calls are always non-interactive.\n- `terminalCopyOnSelect` (default true; Settings \u2192 General \u2192 Terminals \u2192 Copy\n on select) copies completed terminal selections exactly and shows \"Selection\n copied\". Text elsewhere in the app is unchanged. Set it with\n `moonlet settings general terminalCopyOnSelect <true|false|on|off>` or SDK\n `system.updateGeneralSettings`. Explicit Copy/Paste work when off. Supported\n Linux browsers use native primary selection for middle-click paste,\n independently of this preference, never the regular clipboard as a fallback.\n- `streamerMode` (default false) hides every `customModels` entry from\n `~/.bb/config.json` in all model lists (pickers, `moonlet provider models`, and\n the SDK) during a screen share. The entries stay in the config file; a\n request that names a hidden model still runs with it, and default model\n resolution still sees the full list.\n- `allowFastServiceTier` (default true; Settings \u2192 Providers): false hides the\n service tier control and runs new turns at the default service tier,\n including explicit requests for any other tier (fast, Codex ultrafast), saved\n project defaults, automations, and messages queued before the change. Project\n defaults saved while it was off retain the default tier.\n- `managedBranchPrefix` (default `bb/`, at most 64 characters) prefixes every\n branch Moonlet creates for a worktree or a new checkout branch: the default gives\n `bb/fix-login-flow-thr_ab12cd34ef`, `sawyer/wt-` gives\n `sawyer/wt-fix-login-flow-thr_ab12cd34ef`, and an empty value gives no\n prefix. Moonlet rejects a prefix that cannot start a valid git branch name.\n Existing branches keep their names.\n- `providerOrder` (default `[]`) is a JSON array of provider ids, and\n `defaultProviderId` (default `null`) names the default provider; `null`\n clears it.\n- `idleProviderSessionTimeoutMinutes` (default `30`; Settings \u2192 Providers \u2192 Configuration \u2192 Release idle agent sessions) sets how long an agent can sit idle after its last turn before every machine stops its provider process. Allowed values are `0` (ASAP), `5`, `10`, `30`, and `60`, for example `moonlet settings general idleProviderSessionTimeoutMinutes 5`. Machines check every five minutes, so release can take up to five minutes beyond the timeout. Changes apply live and on reconnect. Only restorable sessions without active or pending work are eligible; threads keep their history and resume on the next message. `moonlet thread stop` still releases a runtime manually. This is not a limit on loaded processes or memory. Read the value with `moonlet settings show`; SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, idleProviderSessionTimeoutMinutes: 5 })`.\n- `telemetryEnabled`: see Telemetry below.\n\n`moonlet settings replay-onboarding` clears `onboardingCompletedAt`, so the\nfirst-run setup guide (connect an agent, any steps plugins add, add projects,\npick plugins, connect integrations, set up devices) shows again in every open\nclient. Settings \u2192 General \u2192 Setup guide has the same button; SDK callers use\n`system.experimental_replayFirstRun()`. An install whose setup is finished is\nnever shown it again until it is replayed. The Integrations step appears only\nwhen a plugin places a section in Settings \u2192 Integrations, and shows those\nsame sections.\n\n`moonlet settings usage --refresh` fetches fresh provider usage; ordinary reads may\nreuse results for 10 seconds. The SDK equivalent is\n`bb.sdk.system.usageLimits({ refresh: true })`.\n\nCommand line: Settings \u2192 General \u2192 Command line puts the `bb` command on PATH\non the computer that runs the Moonlet server, so the user, a script, or an agent\nrunning outside Moonlet (such as Claude Code or Codex) can control Moonlet; threads in Moonlet\nalready have `bb`. `moonlet settings cli-command` shows the state, and `install` or\n`remove` changes it. Install links the launcher at `~/.bb/bin/bb` into a PATH\nfolder such as `~/.local/bin` (on Windows it adds `~/.bb/bin` to the user\nPATH). Moonlet never replaces another `bb`: install is refused while one runs first\nin a new terminal. Only an installed Moonlet (`npx bb-app` or the desktop app)\noffers this; a source checkout does not.\n\nCompleted turns: `moonlet settings completed-turns` lists how each provider shows a\nfinished turn: `collapse` folds the turn's work into one \"Worked for\" row and\nkeeps the final answer visible, and `flat` keeps every step visible. Each\nprovider has a default (Claude Code is `flat`, the other first-party providers\n`collapse`); `--json` shows whether each value comes from your setting or that\ndefault. `moonlet settings completed-turns <provider-id> <collapse|flat>` overrides\nit for that provider, and `default` removes the override. It applies to\nexisting threads too, including `moonlet thread log`. Settings \u2192 Providers has the\nsame per-provider switch.\n\nExperiments: `moonlet settings experiment <key> <true|false>` toggles a default-off\nexperiment (Settings \u2192 Experiments). `changelogPreview` shows the latest\nrelease notes as a dismissible card on Settings \u2192 Updates. Experiments that\ngate a feature are documented with it: `serverMove` in `moonlet guide machines`,\n`performanceDiagnostics` under Server performance diagnostics below.\n`timelinePush` sends an open thread's timeline updates over the live\nconnection as row deltas instead of reloading the latest window after each\nupdate. `compactExpiredCache` offers a Compact chip in the composer when an idle\nthread's prompt cache has expired and its context holds at least 100k tokens;\nsee `moonlet guide thread-messaging` for `--compact-first`.\n`sidebarMultiSelect` lets the built-in thread list sidebar select several threads with\nCmd/Ctrl-click and Shift-click for bulk actions and drag; while it is off,\nCmd/Ctrl-click opens a thread in a split.\n`moonlet settings general earlyAdopter on` (Settings \u2192 Experiments \u2192 Become an early\nadopter) turns on the experiments marked Early adopter, currently\n`timelinePush`, `compactExpiredCache`, and `sidebarMultiSelect`; an experiment you set yourself keeps\nyour value.\n\nLauncher settings\n\n`bb-app config` and `bb-app env` reload runtime settings in a running server,\nbut the CLI identifies settings that are startup-only, including binding/ports,\ndata and the dev-app port, telemetry, inherited skill roots, and\n`BB_LOG_LEVEL`. Use `bb-app config`, not `bb-app env`, to change `BB_APP_URL`\nlive. After a startup-only change, run `bb-app stop && bb-app start` or restart\nthe desktop app; until then, changing or unsetting `BB_SERVER_BIND_HOST` does\nnot close a previous `0.0.0.0` listener.\n\n`--server-bind-host 0.0.0.0` (or `BB_SERVER_BIND_HOST=0.0.0.0`) listens on\nevery interface for direct remote access; containers must also publish the\nport. Moonlet accepts request hosts that are `localhost`, IP addresses (including\nLAN and Tailscale IPs), or the hostname in `BB_APP_URL`. For a custom DNS name\nor reverse proxy, run `npx bb-app config set BB_APP_URL https://bb.example.com`\nbefore connecting, including from the CLI or SDK; forwarded host headers cannot\nauthorize an unconfigured name. Moonlet Connect needs no additional configuration.\n\nKeyboard shortcuts\n\nSettings \u2192 Keyboard records per-command shortcut overrides, persisted\nserver-side and applied live to every connected window, including desktop menu\naccelerators. Reset removes an override and returns to Moonlet's current default;\n`disabled` explicitly unbinds a command. `Mod` means Command on macOS and\nControl on Windows/Linux. The complete default table is in docs/configuration.md.\n\nmoonlet settings keyboard list\nmoonlet settings keyboard hints <true|false>\nmoonlet settings keyboard set <command> <shortcut|disabled> [--platform mac|windows|linux]\nmoonlet settings keyboard reset [command] [--platform mac|windows|linux]\n\n`keyboard list` prints core command ids with their effective bindings, plus\nevery saved override; examples include `panel.previousTab` / `panel.nextTab`,\n`pane.focus.left|right|up|down`, `pane.maximize.toggle`, and the initially\nunbound `panel.fullScreen.toggle`. `hints` (default true) shows or hides the\ndelayed shortcut badges shown while holding the modifier key; shortcuts work\neither way.\n\n`history.back` / `history.forward` (`Mod+[` / `Mod+]`) follow the pages opened\nin the current window, like the sidebar arrows. `thread.previous` /\n`thread.next` follow sidebar order instead: `Mod+Shift+[` / `Mod+Shift+]`\non desktop and `Control+Shift+[` / `Control+Shift+]` on the web.\n\nAn override can be scoped with `--platform`; without it, it applies on all\nplatforms. A platform-specific override takes precedence over a general one,\nincluding when disabled. Scoped `set` and `reset` keep other platforms'\noverrides; unscoped `set` updates the general override, and unscoped `reset`\nclears every scope for the command (or every command if omitted). The SDK uses\n`system.updateKeyboardSettings` to write and `system.config` to read bindings.\n\nPlugin commands use `plugin:<plugin-id>/<command-id>` as their binding ID, for\nexample `moonlet settings keyboard set plugin:example/open-issue Mod+Shift+I`;\n`reset` restores the plugin's default. Overrides survive plugin disable,\nre-enable, and reload. Commands without defaults start unbound, and\nconflicting plugin defaults stay unbound. Plugin defaults resolve in each app\nwindow, not in `keyboard list`, so CLI/SDK callers should clear conflicting\nexplicit bindings in the same update.\n\nSidebar preferences\n\n`moonlet settings ui` reads and writes server-side sidebar preferences shared by\nevery window, device, and the CLI. The same registry stores which thread Info\npanel sections are collapsed (`infoPanel.collapsedSections`) and the app's text\nsize (`appearance.textSize`, a percent from 80 to 150 in steps of 10; Settings\n\u2192 Appearance \u2192 Text size).\n\nmoonlet settings ui list [--json]\nmoonlet settings ui get <key> [--json]\nmoonlet settings ui set <key> <value> [--json]\nmoonlet settings ui reset <key> [--json]\n\n`list` prints every key with its value, revision, and a short description.\n`moonlet settings ui set appearance.textSize 120` makes text 20% larger on\nevery device, code views and the terminal included; `reset` returns it to 100.\n`set` takes plain strings for enum and provider keys and JSON for lists and\n`null`; it retries once if another writer changed the key. `reset` writes the\ndefault. The SDK offers `sdk.system.uiPreferences.list()`, `.set()`, and\n`.reset()`.\n\nThe thread list is drawn by `sidebar.threadListProvider`, which defaults to\n`__automatic__`: the first installed thread list plugin other than the bundled\nThread list plugin (`thread-list/thread-list`), or the bundled plugin when\nthere is none, so installing a thread list plugin switches to it. Select one\nwith `moonlet settings ui set sidebar.threadListProvider <plugin-id>/<slot-id>`, or\nreset to restore Automatic. The bundled Thread list plugin keeps its own\nlayout (organization mode, sort, grouping, hidden and collapsed groups) and\ncopies the legacy `sidebar.*` layout keys from here only once; change its\nlayout with `bb thread-list prefs` (see `moonlet guide plugins`).\n\nThe composer's input box is drawn by `composer.provider`, which defaults to\n`__automatic__`: the first composer plugin you installed, or the bundled\nComposer plugin (`bb--composer/composer`) when there is none. Pick one with\n`moonlet settings ui set composer.provider <plugin-id>/<slot-id>`, or reset to\nrestore Automatic. With no composer plugin enabled, no composer is shown.\n\nA vertical rail of destinations sits on the left edge of the sidebar on every\nscreen size. Home is at the top and returns to the last thread; the visible\ndestinations (Plugins, Skills, and plugin panels) follow; More holds hidden\ndestinations and Customize navigation; Settings is at the bottom. On wide\nwindows the rail shows each destination's name beside its icon; the\nCollapse control at the bottom of the rail shrinks it to icons (names move\nto tooltips) and Show names widens it again. That choice is remembered on\neach device, not synced, so there is no `moonlet settings ui` key for it; plugins\ncan change it through `experimental_useSidebar()`. Phones and narrow windows\nalways use icons.\nNew thread sits in the sidebar header and cannot be hidden from the rail. The list beside the rail swaps between\nthe thread list, Plugins, Skills, and Settings, and collapsing the sidebar\nhides that list and leaves the rail. Rail order and visibility are\n`sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`. In the macOS\ndesktop app, wide windows add a title bar holding the window controls, Back\nand Forward, and the sidebar toggle; the sidebar and page sit in a card below\nit. On narrow windows and phones the rail sits inside the drawer: Home,\nPlugins, Skills, and Settings swap the list beside it and leave the drawer\nopen, and a plugin page closes it.\n\nThe rail and the top list below are the two layouts of the bundled Navigation\nplugin, a built-in you can fork like the thread list.\n`sidebar.navigationProvider` picks what draws the navigation:\n`navigation/rail` (the rail above), `navigation/top-list` (labeled rows above\nthe thread list), another navigation plugin as `<plugin-id>/<slot-id>`, or\n`__automatic__` (the default: the first navigation from another plugin, else\n`navigation/rail`). Pick one in Settings \u2192 Appearance \u2192 Navigation, or:\n\nmoonlet settings ui set sidebar.navigationProvider navigation/top-list\nmoonlet settings ui reset sidebar.navigationProvider\n\nThe top list puts the visible destinations, New thread among them, and More\nabove the thread list, moves Settings into the footer, and adds a Back to app\nrow to the Settings, Plugins, and Skills lists. New thread can be reordered\nand hidden like any other row there. Collapsing hides the whole sidebar, and\nthe macOS desktop app drops the separate title bar. A navigation plugin\ndeclares whether it draws a rail or a list, and gets the matching layout; a\nlist navigation can also bring its own controls beside the sidebar toggle.\nThe same order and visibility keys apply to every provider.\n\nFooter actions: `sidebar.footerOrder` and `sidebar.hiddenFooterItems` are\nstring lists of `builtin:settings` (top list only), `builtin:mobile`,\n`builtin:report-bug`, or\n`plugin:<encoded pluginId>/<encoded registrationId>`. They survive plugin\nreloads and temporarily unavailable plugins; new items are visible by default.\n\nmoonlet settings ui set sidebar.hiddenFooterItems '[\"plugin:bb--provider-usage/usage\"]'\nmoonlet settings ui reset sidebar.hiddenFooterItems\n\nIn the app, the sidebar footer's More menu holds hidden actions and actions\nthat don't fit; Settings \u2192 Appearance \u2192 Sidebar footer, or right-clicking an\naction, edits the footer.\n\nThe command palette's thread search has its own Active/Archived filter, which\nis browser-local: it is not a server setting or a CLI/SDK option. The sidebar\nthread list's Active/Archived filter is the Thread list plugin's\n`threadLifecycles` preference.\n\nSidebar width and open state are per window and stay local to the browser.\n\nHost files and voice transcription\n\nmoonlet file read|write|list|paths|mkdir|move|remove ...\nmoonlet voice transcribe <audio-file> [--type <mime>] [--prompt <context>]\n--type defaults to audio/webm\n\n`moonlet file` supports `--host` for remote machines and `--root` on mutating\ncommands to confine access beneath an absolute directory. `moonlet file write`\ntakes exactly one of `--content` or `--stdin`; `moonlet file paths` lists files and\ndirectories unless `--files` or `--directories` narrows it. `moonlet file list` and\n`moonlet file paths` include dot-prefixed entries; pass `--no-hidden` to skip them.\nBoth skip a default set of dependency and cache directories such as\n`node_modules`, `.venv`, `.pnpm-store`, and root-relative `.claude/worktrees`;\n`--exclude <names...>` replaces that set. Entries match basenames at any depth\nor exact root-relative paths using `/` separators. Use\n`--json` for metadata and machine-readable results.\n\n`moonlet file remove` needs `--yes` without a terminal. `moonlet file remove --recursive`\nand `sdk.files.remove({ recursive: true, ... })` first stop processes whose\nworking directory is inside the directory, including dev servers in nested\ncheckouts (macOS and Linux only).\n\nVoice transcription uses the Voice input service chosen with\n`moonlet settings ai-services set voice <automatic|off|service-id>`. Moonlet accepts\nrecordings up to 25 MB, and each service may set a lower limit; Codex takes up\nto 20 MB. These limits apply to the app, SDK, and CLI. The app's microphone\nchoice is per browser and has no `bb` command. Right-click the composer\nmicrophone, press Shift+F10, or click the Microphone control in Settings \u2192\nVoice Input to open preferences in a desktop popover or mobile drawer.\nOpening starts a local waveform preview; closing releases it. Recording\ncontrols contain cancel, stop, and send; preferences are available while idle.\n\nMissing or unreadable inputs fall back to the system default, then other\navailable inputs. Permission denials do not trigger fallback. A disconnect\nswitches inputs in the same recorder, preserving captured audio. A reconnected\npreferred device is used on the next recording. A missing preference alone\nshows no warning. Capture failures warn on the idle microphone; five seconds\nof near-silent audio warns in the preview or recording row without switching\ninputs or stopping capture. Preview audio is never saved or transcribed.\n\nTelemetry\n\nAnonymous usage telemetry is off by default and has no destination by default.\nIt sends only when all three are on: `BB_POSTHOG_API_KEY` is set and\n`BB_TELEMETRY=true` (both read at startup, for example through `bb-app env`),\nand the saved preference is on: Settings \u2192 General \u2192 Privacy & diagnostics,\n`moonlet settings general telemetryEnabled true`, or SDK\n`system.updateGeneralSettings` with `telemetryEnabled`. The saved preference\ntakes effect immediately. `BB_TELEMETRY=false` always disables telemetry, even\nwhen the saved preference is enabled.\n\nMobile app downloads\n\nSettings \u2192 Remote access links the iOS TestFlight\n(https://testflight.apple.com/join/T9MayTMb) and the Android APK from the\npublic `matt0x6F/moonlet-releases` GitHub `android-testing` release (`bb-android.apk`), and\npairs either app through Add mobile device. `moonlet settings mobile-app --json` or\nSDK `system.mobileAppDownloads()` returns both links. Add `--details --json`\nor call `system.mobileAppReleases()` for the Android version, build, size, and\nupload date; `android` is `null` when that metadata is unavailable, and the\nlinks still work. Inside the Android app, this page compares the installed\nnative build number with the published APK. Older apps without build reporting\ncannot determine update status. Installed version and build are device-local;\nCLI and SDK metadata report the published APK.\n\nServer performance diagnostics\n\nStart with `bb-app --perf-diagnostics` or `BB_PERF_DIAGNOSTICS=1` (restart to\nchange), then run `moonlet settings experiment performanceDiagnostics true|false`.\nCollection needs both; it adds overhead and writes CPU profiles every 30 seconds\nto `$BB_DATA_DIR/logs/performance/` (kept 12 hours), which contain local paths.\nOpen a `.cpuprofile` in Chrome DevTools.\n\nDesktop Settings \u2192 Server \u2192 **Show This Mac** (or **Show This Computer** off macOS)\ndefaults to checked and is disabled while This Mac/Computer is selected.\nUnchecking hides the built-in server from server choices\nwhile another server is active and alternatives exist. It stays listed when\nactive or when it is the only choice. This setting does not stop the local\nruntime or change the active server.\n\nThe desktop stores `showBuiltinServer: false` in `<userData>/server-target.json`;\nmissing means shown, and saving the default omits the field. Other top-level\nmetadata is preserved. This is a desktop-local preference, with no server\nsettings CLI/SDK endpoint. Builds with tolerant readers ignore the field and\nmay drop it on save; older strict readers can reject the whole file, so keep a\nbackup before rolling back to a build predating the tolerant-reader fix #5286.\n\n## Schedules\n\nSettings \u2192 Schedules lists reminders, routines, saved checks and automations,\nincluding their machine, zone and recent outcomes. Turn off stops future runs\nand keeps the definition, saved check and history. It does not stop a running check.\n\n`moonlet schedule list --json` returns the same records and revisions.\n`moonlet schedule disable <id> --revision <number>` turns one off if its revision still\nmatches. These base endpoints are owner-only. The assistant and its authorized\nforks continue to use `moonlet schedule add|list|cancel` through their scoped\ncompatibility route; check approval requirements are unchanged.\n\n## Dormant reply release policy\n\n`replyRelease` is an object accepted by `moonlet settings general replyRelease '<JSON object>'`\nand SDK `system.updateGeneralSettings({ ...config.generalSettings, replyRelease })`.\nRead the current object with `moonlet settings show` or `system.config()` first.\nIts defaults are `enabled: false`, `unavailable: \"release\"`, `reviewerPublicKey: null`,\n`critic: \"gpt-6-luna\"`, and `instruction: \"\"`. It configures the new internal server\nrelease foundation; existing replies are not routed through it yet. The outage\npolicy waits up to one minute, then releases with a not-reviewed mark, or holds\nwhen `unavailable` is `\"hold\"`. The instruction and pinned reviewer public key are\nowner-controlled policy. An absent key or empty instruction means review is\nunavailable. Do not enable it as a way to change today's reply routes.",variables:{}},{id:"bbGuideEnvironments",body:`Environment commands
109
109
 
110
110
  Environments determine where threads run. Multiple threads can share an environment
111
111
  (e.g., a coding thread and a review thread in the same worktree).
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{ba as i}from"./chunk-VRIDG567.js";async function l(n){if(n.environmentProviderId===null)return{status:"loaded",provider:null};let o=(await n.sdk.environments.listProviders()).find(r=>r.id===n.environmentProviderId);return{status:"loaded",provider:o===void 0?null:{id:o.id,displayName:o.displayName,icon:o.icon}}}async function p(n){try{let e=await n.sdk.environments.get({environmentId:n.environmentId});return{display:i({environment:e,host:{locality:"local",identity:null},providerLookup:await l({environmentProviderId:e.environmentProviderId,sdk:n.sdk})}),hostId:e.hostId}}catch{return null}}function u(n){console.log(` Environment: ${n.display.modeLabel} (${n.display.id})`)}async function v(n){try{return(await n.sdk.threads.timeline({threadId:n.threadId,summaryOnly:"true"})).pendingTodos}catch{return null}}var m={in_progress:"[>]",pending:"[ ]",completed:"[x]"},d={in_progress:0,pending:1,completed:2};function a(n){let e=0;for(let o of n)o.status==="completed"&&(e+=1);return{completed:e,total:n.length}}function f(n){if(!n||n.items.length===0)return;let e=a(n.items);console.log("");let o=e.completed===0?`TODOs (${e.total}):`:`TODOs (${e.completed}/${e.total} done):`;console.log(o);let r=[...n.items].sort((t,s)=>d[t.status]-d[s.status]);for(let t of r)console.log(` ${m[t.status]} ${t.text}`)}export{p as a,u as b,v as c,f as d};
2
+ import{ba as i}from"./chunk-URPVHDSN.js";async function l(n){if(n.environmentProviderId===null)return{status:"loaded",provider:null};let o=(await n.sdk.environments.listProviders()).find(r=>r.id===n.environmentProviderId);return{status:"loaded",provider:o===void 0?null:{id:o.id,displayName:o.displayName,icon:o.icon}}}async function p(n){try{let e=await n.sdk.environments.get({environmentId:n.environmentId});return{display:i({environment:e,host:{locality:"local",identity:null},providerLookup:await l({environmentProviderId:e.environmentProviderId,sdk:n.sdk})}),hostId:e.hostId}}catch{return null}}function u(n){console.log(` Environment: ${n.display.modeLabel} (${n.display.id})`)}async function v(n){try{return(await n.sdk.threads.timeline({threadId:n.threadId,summaryOnly:"true"})).pendingTodos}catch{return null}}var m={in_progress:"[>]",pending:"[ ]",completed:"[x]"},d={in_progress:0,pending:1,completed:2};function a(n){let e=0;for(let o of n)o.status==="completed"&&(e+=1);return{completed:e,total:n.length}}function f(n){if(!n||n.items.length===0)return;let e=a(n.items);console.log("");let o=e.completed===0?`TODOs (${e.total}):`:`TODOs (${e.completed}/${e.total} done):`;console.log(o);let r=[...n.items].sort((t,s)=>d[t.status]-d[s.status]);for(let t of r)console.log(` ${m[t.status]} ${t.text}`)}export{p as a,u as b,v as c,f as d};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- var u=/^[a-zA-Z0-9_-]+$/;function o(t){let n=process.env[t]?.trim();return n===void 0||n.length===0?null:u.test(n)?n:null}function a(){return o("BB_PROJECT_ID")}function i(){return o("BB_THREAD_ID")}function s(){return o("BB_ENVIRONMENT_ID")}function h(t){return async()=>{let n=s();if(n===null)return null;try{let{createCliMoonletSdk:e}=await import("./client-HJ57QVLD.js"),l=e(t()).environments.get({environmentId:n}).then(r=>r.hostId),d=new Promise(r=>{setTimeout(()=>r(null),2500).unref()});return await Promise.race([l,d])}catch{return null}}}function m(){let t=a();return t===null?"List project IDs with `moonlet project list`.":`This thread's project is ${t}; add --project ${t}.`}function I(){let t=i();return t===null?"List thread IDs with `moonlet thread list`.":`The current thread is ${t}; add --thread ${t}.`}function g(){let t=s();return t===null?"List environment IDs with `moonlet environment list`.":`The current environment is ${t}; add --environment ${t}.`}async function p(t,n){let e=await n();return e===null?"List machine IDs with `moonlet machine list`.":`This thread runs on ${e}; add ${t} ${e}.`}function T(){let t=i();return t===null?"Pass a thread ID; --self is unavailable because BB_THREAD_ID is not set.":`Add --self to target the current thread (${t}), or pass a thread ID.`}function x(){let t=i();return t===null?"Add one of --thread <id>, --environment <id>, or --machine <id-or-name>.":`For this thread's terminals add --thread ${t}.`}export{a,i as b,s as c,h as d,m as e,I as f,g,p as h,T as i,x as j};
2
+ var u=/^[a-zA-Z0-9_-]+$/;function o(t){let n=process.env[t]?.trim();return n===void 0||n.length===0?null:u.test(n)?n:null}function a(){return o("BB_PROJECT_ID")}function i(){return o("BB_THREAD_ID")}function s(){return o("BB_ENVIRONMENT_ID")}function h(t){return async()=>{let n=s();if(n===null)return null;try{let{createCliMoonletSdk:e}=await import("./client-QUJX2VXF.js"),l=e(t()).environments.get({environmentId:n}).then(r=>r.hostId),d=new Promise(r=>{setTimeout(()=>r(null),2500).unref()});return await Promise.race([l,d])}catch{return null}}}function m(){let t=a();return t===null?"List project IDs with `moonlet project list`.":`This thread's project is ${t}; add --project ${t}.`}function I(){let t=i();return t===null?"List thread IDs with `moonlet thread list`.":`The current thread is ${t}; add --thread ${t}.`}function g(){let t=s();return t===null?"List environment IDs with `moonlet environment list`.":`The current environment is ${t}; add --environment ${t}.`}async function p(t,n){let e=await n();return e===null?"List machine IDs with `moonlet machine list`.":`This thread runs on ${e}; add ${t} ${e}.`}function T(){let t=i();return t===null?"Pass a thread ID; --self is unavailable because BB_THREAD_ID is not set.":`Add --self to target the current thread (${t}), or pass a thread ID.`}function x(){let t=i();return t===null?"Add one of --thread <id>, --environment <id>, or --machine <id-or-name>.":`For this thread's terminals add --thread ${t}.`}export{a,i as b,s as c,h as d,m as e,I as f,g,p as h,T as i,x as j};
@@ -0,0 +1,2 @@
1
+ import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
+ function o(e,r,t){return{name:e,load:()=>r().then(t)}}var n=[o("browser",()=>import("./browser-44ZQ3FOI.js"),e=>(r,t)=>e.registerBrowserCommands(r,t.getUrl)),o("status",()=>import("./status-ZON5QALD.js"),e=>(r,t)=>e.registerStatusCommand(r,t.getUrl,t.getContext,t.findMounted)),o("settings",()=>import("./settings-X5E35QAK.js"),e=>(r,t)=>e.registerSettingsCommands(r,t.getUrl)),o("permissions",()=>import("./permissions-OLVTX7QS.js"),e=>(r,t)=>e.registerPermissionsCommands(r,t.getUrl)),o("schedule",()=>import("./schedule-QTGQ2OQJ.js"),e=>(r,t)=>e.registerScheduleCommands(r,t.getUrl,t.findMounted)),o("project",()=>import("./project-PVNIZCFU.js"),e=>(r,t)=>e.registerProjectCommands(r,t.getUrl)),o("prompt-history",()=>import("./prompt-history-BYCO2ZB3.js"),e=>(r,t)=>e.registerPromptHistoryCommands(r,t.getUrl)),o("provider",()=>import("./provider-K7IJAPU7.js"),e=>(r,t)=>e.registerProviderCommands(r,t.getUrl)),o("machine",()=>import("./machine-FG42HUJ4.js"),e=>(r,t)=>e.registerMachineCommands(r,t.getUrl)),o("server",()=>import("./server-TNYQLXN4.js"),e=>(r,t)=>e.registerServerCommands(r,t.getUrl)),o("updates",()=>import("./updates-M6NCKC4T.js"),e=>(r,t)=>e.registerUpdatesCommands(r,t.getUrl)),o("terminal",()=>import("./terminal-RMTHR7AY.js"),e=>(r,t)=>e.registerTerminalCommands(r,t.getUrl)),o("thread",()=>import("./thread-SVRDPK2D.js"),e=>(r,t)=>e.registerThreadCommands(r,t.getUrl)),o("environment",()=>import("./environment-LFNVVRTR.js"),e=>(r,t)=>e.registerEnvironmentCommands(r,t.getUrl)),o("file",()=>import("./file-VMCXXBWE.js"),e=>(r,t)=>e.registerFileCommands(r,t.getUrl)),o("theme",()=>import("./theme-K6MCVSLL.js"),e=>(r,t)=>e.registerThemeCommands(r,t.getUrl)),o("plugin",()=>import("./plugin-TREJAZTC.js"),e=>(r,t)=>e.registerPluginCommands(r,t.getUrl)),o("marketplace",()=>import("./marketplace-BUVTLJBV.js"),e=>(r,t)=>e.registerMarketplaceCommands(r,t.getUrl)),o("skill",()=>import("./skill-D3TXRI2H.js"),e=>(r,t)=>e.registerSkillCommands(r,t.getUrl,t.getContext)),o("guide",()=>import("./guide-JMDCPBCD.js"),e=>r=>e.registerGuideCommand(r)),o("diagnostics",()=>import("./diagnostics-ZMN3WD5F.js"),e=>r=>e.registerDiagnosticsCommands(r)),o("voice",()=>import("./voice-AYXDFHQ4.js"),e=>(r,t)=>e.registerVoiceCommands(r,t.getUrl))];function m(e){if(e==="--version"||e==="-V")return[];let r=n.find(t=>t.name===e);return r===void 0?n:[r]}function i(e,r){return e===void 0||e.length===0||e.startsWith("-")||r.has(e)?null:e}export{n as a,m as b,i as c};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{ka as n}from"./chunk-VRIDG567.js";var o;async function e(){if(o===void 0&&(o=await n()),!o)throw new Error("Cannot reach local host daemon. Is it running?");return o}export{e as a};
2
+ import{ka as n}from"./chunk-URPVHDSN.js";var o;async function e(){if(o===void 0&&(o=await n()),!o)throw new Error("Cannot reach local host daemon. Is it running?");return o}export{e as a};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{a,b}from"./chunk-Z7UFAOBI.js";import"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-OZFHGPH4.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";export{a as cliFetch,b as createCliMoonletSdk};
2
+ import{a,b}from"./chunk-PMU3UDAI.js";import"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-OZFHGPH4.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";export{a as cliFetch,b as createCliMoonletSdk};
@@ -1,3 +1,3 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{b as m,e as C,f as w,g as I,h as l,i as s}from"./chunk-TPPSA3DG.js";import{a as u,e as d}from"./chunk-VPTJVPF6.js";import{a as g,b as a,e as p,f as h,g as f,h as v}from"./chunk-CJVCV7LA.js";import"./chunk-2BGEXHA2.js";var L={"commander.unknownCommand":"unknown_command","commander.unknownOption":"unknown_option","commander.missingMandatoryOptionValue":"missing_required","commander.missingArgument":"missing_required","commander.excessArguments":"unexpected_argument","commander.optionMissingArgument":"invalid_value","commander.invalidArgument":"invalid_value","commander.conflictingOption":"invalid_value","commander.help":"missing_command"},O=/^[a-z][a-z-]{0,30}$/,k=/^--?[a-z][a-z-]{0,40}$/;function E(n,e){if(e===null)return null;if(n==="commander.unknownCommand")return O.test(e)?e:null;if(n==="commander.unknownOption"){let i=e.split("=")[0];return k.test(i)?i:null}return null}function _(n){let e=/'([^']+)'/.exec(n);return e===null?null:e[1]}function x(n){if(n===null)return null;let e=/^(--[a-z][\w-]*)/.exec(n);return e===null?null:e[1]}async function A(n,e){switch(n){case"--project":return p();case"--thread":return h();case"--environment":return f();case"--host":case"--machine":return v(n,e);case"--prompt":return"Pass --prompt <text>, or --prompt-file <path> (use - to read stdin).";case"--instance":case"--generation":return"List desktop browser instances with `moonlet browser instances --host <id> --json`.";default:return null}}function y(n,e){let i=e.path[0];if(n==="id"&&i==="project"){let t=g();return t===null?"List project IDs with `moonlet project list`.":`This thread's project is ${t}.`}if(n==="id"&&i==="thread"){let t=a();return t===null?"List thread IDs with `moonlet thread list`.":`The current thread is ${t}.`}if(n==="terminalId"){let t=a();return t===null?"List terminal IDs with `moonlet terminal list --thread <id>`.":`List this thread's terminal IDs with \`moonlet terminal list --thread ${t}\`.`}return null}async function b(n){let e=m(n.program,n.argv),i=n.error.message.replace(/^error: /u,""),t=_(i),r=[];switch(n.error.code){case"commander.unknownCommand":{let o=C(e);o!==null&&r.push(`Did you mean: ${o}?`),r.push(`Commands: ${I(e.command)}`),e.path.length===0&&t!==null&&r.push(`Plugins add commands only while they are installed and enabled. If '${t}' is a plugin command, check \`moonlet plugin list\`.`);break}case"commander.missingMandatoryOptionValue":{let o=await A(x(t),n.resolveHostId);o!==null&&r.push(o),r.push(s(e));break}case"commander.missingArgument":{let o=y(t,e);o!==null&&r.push(o),r.push(s(e));break}case"commander.unknownOption":{let o=t===null?null:w(e.command,t);o!==null&&r.push(`Did you mean ${o}?`),r.push(s(e));let c=l(e.command);c.length>0&&r.push(`Options: ${c}`);break}case"commander.optionMissingArgument":case"commander.invalidArgument":case"commander.conflictingOption":case"commander.excessArguments":{r.push(s(e));let o=l(e.command);o.length>0&&r.push(`Options: ${o}`);break}default:break}return{code:L[n.error.code]??"usage_error",hintLines:r,logToken:E(n.error.code,t),message:i,token:t}}function j(n,e){return m(n,e).path.join(" ")}function $(n,e){for(let i of n.hintLines)console.error(i);d({code:n.code,hint:n.hintLines.length===0?null:n.hintLines.join(`
2
+ import{b as m,e as C,f as w,g as I,h as l,i as s}from"./chunk-TPPSA3DG.js";import{a as u,e as d}from"./chunk-VPTJVPF6.js";import{a as g,b as a,e as p,f as h,g as f,h as v}from"./chunk-XLQMIU5E.js";import"./chunk-2BGEXHA2.js";var L={"commander.unknownCommand":"unknown_command","commander.unknownOption":"unknown_option","commander.missingMandatoryOptionValue":"missing_required","commander.missingArgument":"missing_required","commander.excessArguments":"unexpected_argument","commander.optionMissingArgument":"invalid_value","commander.invalidArgument":"invalid_value","commander.conflictingOption":"invalid_value","commander.help":"missing_command"},O=/^[a-z][a-z-]{0,30}$/,k=/^--?[a-z][a-z-]{0,40}$/;function E(n,e){if(e===null)return null;if(n==="commander.unknownCommand")return O.test(e)?e:null;if(n==="commander.unknownOption"){let i=e.split("=")[0];return k.test(i)?i:null}return null}function _(n){let e=/'([^']+)'/.exec(n);return e===null?null:e[1]}function x(n){if(n===null)return null;let e=/^(--[a-z][\w-]*)/.exec(n);return e===null?null:e[1]}async function A(n,e){switch(n){case"--project":return p();case"--thread":return h();case"--environment":return f();case"--host":case"--machine":return v(n,e);case"--prompt":return"Pass --prompt <text>, or --prompt-file <path> (use - to read stdin).";case"--instance":case"--generation":return"List desktop browser instances with `moonlet browser instances --host <id> --json`.";default:return null}}function y(n,e){let i=e.path[0];if(n==="id"&&i==="project"){let t=g();return t===null?"List project IDs with `moonlet project list`.":`This thread's project is ${t}.`}if(n==="id"&&i==="thread"){let t=a();return t===null?"List thread IDs with `moonlet thread list`.":`The current thread is ${t}.`}if(n==="terminalId"){let t=a();return t===null?"List terminal IDs with `moonlet terminal list --thread <id>`.":`List this thread's terminal IDs with \`moonlet terminal list --thread ${t}\`.`}return null}async function b(n){let e=m(n.program,n.argv),i=n.error.message.replace(/^error: /u,""),t=_(i),r=[];switch(n.error.code){case"commander.unknownCommand":{let o=C(e);o!==null&&r.push(`Did you mean: ${o}?`),r.push(`Commands: ${I(e.command)}`),e.path.length===0&&t!==null&&r.push(`Plugins add commands only while they are installed and enabled. If '${t}' is a plugin command, check \`moonlet plugin list\`.`);break}case"commander.missingMandatoryOptionValue":{let o=await A(x(t),n.resolveHostId);o!==null&&r.push(o),r.push(s(e));break}case"commander.missingArgument":{let o=y(t,e);o!==null&&r.push(o),r.push(s(e));break}case"commander.unknownOption":{let o=t===null?null:w(e.command,t);o!==null&&r.push(`Did you mean ${o}?`),r.push(s(e));let c=l(e.command);c.length>0&&r.push(`Options: ${c}`);break}case"commander.optionMissingArgument":case"commander.invalidArgument":case"commander.conflictingOption":case"commander.excessArguments":{r.push(s(e));let o=l(e.command);o.length>0&&r.push(`Options: ${o}`);break}default:break}return{code:L[n.error.code]??"usage_error",hintLines:r,logToken:E(n.error.code,t),message:i,token:t}}function j(n,e){return m(n,e).path.join(" ")}function $(n,e){for(let i of n.hintLines)console.error(i);d({code:n.code,hint:n.hintLines.length===0?null:n.hintLines.join(`
3
3
  `),message:n.message},u(e))}export{j as commandPathLabel,E as loggableToken,b as summarizeCommanderError,$ as writeCommanderErrorSummary};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";export{a as createCliRuntimeContext,f as requireThreadId,g as requireThreadIdOrSelf,c as resolveContextProjectId,h as resolveContextSnapshot,d as resolveContextThreadId,e as resolveExplicitIdFlag,b as resolveServerUrl};
2
+ import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";export{a as createCliRuntimeContext,f as requireThreadId,g as requireThreadIdOrSelf,c as resolveContextProjectId,h as resolveContextSnapshot,d as resolveContextThreadId,e as resolveExplicitIdFlag,b as resolveServerUrl};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{a,b,c,d,e,f,g,h,i,j}from"./chunk-CJVCV7LA.js";import"./chunk-2BGEXHA2.js";export{c as contextEnvironmentId,a as contextProjectId,b as contextThreadId,d as createContextHostIdResolver,g as missingEnvironmentHint,h as missingHostHint,e as missingProjectHint,f as missingThreadFlagHint,i as missingThreadIdHint,j as terminalScopeHint};
2
+ import{a,b,c,d,e,f,g,h,i,j}from"./chunk-XLQMIU5E.js";import"./chunk-2BGEXHA2.js";export{c as contextEnvironmentId,a as contextProjectId,b as contextThreadId,d as createContextHostIdResolver,g as missingEnvironmentHint,h as missingHostHint,e as missingProjectHint,f as missingThreadFlagHint,i as missingThreadIdHint,j as terminalScopeHint};
@@ -1,3 +1,3 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{d as E}from"./chunk-XZQ6R7RG.js";import{c as C,d as h}from"./chunk-LNE3VBYY.js";import{b as u,c as f,d as c,f as g}from"./chunk-Y32BIHKF.js";import{a as s,j as p}from"./chunk-DYWN65E6.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";import{rmSync as y}from"node:fs";function L(i){let r=new Map;for(let o of i){let t=JSON.stringify([o.command,o.code,o.token]),n=r.get(t);if(n===void 0){r.set(t,{code:o.code,command:o.command,count:1,lastAt:o.at,token:o.token});continue}n.count+=1,o.at>n.lastAt&&(n.lastAt=o.at)}return[...r.values()].sort((o,t)=>t.count-o.count||t.lastAt.localeCompare(o.lastAt))}function A(i){i.command("diagnostics").description("Inspect local Moonlet CLI diagnostics").command("cli-errors").description("Tally failed Moonlet CLI invocations recorded on this machine, most frequent first (records the command path, error code, and the unknown command or flag; never argument values)").option("--since <duration>","Only count failures newer than this (for example 24h or 7d)").option("--clear","Delete the recorded failures").option("--json","Print machine-readable JSON output").action(p(async o=>{let t=u(),n=f(t);if(o.clear){if(y(n,{force:!0}),y(`${n}.1`,{force:!0}),s(o,{ok:!0,logPath:n}))return;console.log(`Cleared ${n}`);return}let d=o.since===void 0?null:new Date(Date.now()-E({allowZero:!1,defaultUnit:"h",label:"--since",value:o.since})).toISOString(),a=g(t).filter(e=>d===null||e.at>=d),l=L(a);if(s(o,{enabled:c(),logPath:n,total:a.length,rows:l}))return;if(c()||console.log("Recording is off (BB_CLI_ERROR_LOG=0)."),l.length===0){console.log(`No failed Moonlet CLI invocations recorded in ${n}`);return}let m=l.map(e=>[String(e.count),e.command.length===0?"(top level)":e.command,e.code,e.token??"",e.lastAt]);C({head:["Count","Command","Code","Token","Last seen"],colWidths:h(m,[6,28,28,24,26])},m),console.log(`
2
+ import{d as E}from"./chunk-XZQ6R7RG.js";import{c as C,d as h}from"./chunk-LNE3VBYY.js";import{b as u,c as f,d as c,f as g}from"./chunk-Y32BIHKF.js";import{a as s,j as p}from"./chunk-JXM67MRW.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";import{rmSync as y}from"node:fs";function L(i){let r=new Map;for(let o of i){let t=JSON.stringify([o.command,o.code,o.token]),n=r.get(t);if(n===void 0){r.set(t,{code:o.code,command:o.command,count:1,lastAt:o.at,token:o.token});continue}n.count+=1,o.at>n.lastAt&&(n.lastAt=o.at)}return[...r.values()].sort((o,t)=>t.count-o.count||t.lastAt.localeCompare(o.lastAt))}function A(i){i.command("diagnostics").description("Inspect local Moonlet CLI diagnostics").command("cli-errors").description("Tally failed Moonlet CLI invocations recorded on this machine, most frequent first (records the command path, error code, and the unknown command or flag; never argument values)").option("--since <duration>","Only count failures newer than this (for example 24h or 7d)").option("--clear","Delete the recorded failures").option("--json","Print machine-readable JSON output").action(p(async o=>{let t=u(),n=f(t);if(o.clear){if(y(n,{force:!0}),y(`${n}.1`,{force:!0}),s(o,{ok:!0,logPath:n}))return;console.log(`Cleared ${n}`);return}let d=o.since===void 0?null:new Date(Date.now()-E({allowZero:!1,defaultUnit:"h",label:"--since",value:o.since})).toISOString(),a=g(t).filter(e=>d===null||e.at>=d),l=L(a);if(s(o,{enabled:c(),logPath:n,total:a.length,rows:l}))return;if(c()||console.log("Recording is off (BB_CLI_ERROR_LOG=0)."),l.length===0){console.log(`No failed Moonlet CLI invocations recorded in ${n}`);return}let m=l.map(e=>[String(e.count),e.command.length===0?"(top level)":e.command,e.code,e.token??"",e.lastAt]);C({head:["Count","Command","Code","Token","Last seen"],colWidths:h(m,[6,28,28,24,26])},m),console.log(`
3
3
  ${a.length} failures in ${n}`)}))}export{A as registerDiagnosticsCommands,L as tallyCliErrors};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{c as C,f as y}from"./chunk-ZY4JRPPT.js";import"./chunk-LNE3VBYY.js";import{a as m,b as w,g as $,j as d}from"./chunk-DYWN65E6.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as c}from"./chunk-Z7UFAOBI.js";import{q as E,r as B}from"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";function j(r){let t=B.safeParse(r);if(!t.success)throw new Error(`--status must be one of ${E.join(", ")}.`);return t.data}function O(r){if(r!==void 0&&!/^\d+$/u.test(r))throw new Error("--limit must contain only digits.")}function D(r,t){if(r===void 0)return;if(!/^\d+$/u.test(r))throw new Error(`${t} must be a non-negative integer.`);let a=Number(r);if(!Number.isSafeInteger(a))throw new Error(`${t} must be a non-negative integer.`);return a}function S(r){return r?"true":"false"}function I(r){switch(r){case"old":return"old";case"new":return"new";default:throw new Error("--side must be old or new.")}}function g(r,t){switch(t.target){case"uncommitted":if(t.mergeBaseBranch!==void 0||t.sha!==void 0)throw new Error("--target uncommitted cannot be combined with --merge-base-branch or --sha.");return{environmentId:r,target:"uncommitted"};case"branch_committed":case"all":if(!t.mergeBaseBranch)throw new Error(`--merge-base-branch is required when --target ${t.target} is used.`);if(t.sha!==void 0)throw new Error(`--target ${t.target} cannot be combined with --sha.`);return{environmentId:r,target:t.target,mergeBaseBranch:t.mergeBaseBranch};case"commit":if(!t.sha)throw new Error("--sha is required when --target commit is used.");if(t.mergeBaseBranch!==void 0)throw new Error("--target commit cannot be combined with --merge-base-branch.");return{environmentId:r,target:"commit",sha:t.sha};default:throw new Error("--target must be uncommitted, branch_committed, all, or commit.")}}function P(r,t){let a=I(t.side),f={environmentId:r,path:t.path,side:a};switch(t.target){case"uncommitted":if(t.mergeBaseRef!==void 0||t.sha!==void 0)throw new Error("--target uncommitted cannot be combined with --merge-base-ref or --sha.");return{...f,target:"uncommitted"};case"branch_committed":case"all":if(!t.mergeBaseRef)throw new Error(`--merge-base-ref is required when --target ${t.target} is used.`);if(t.sha!==void 0)throw new Error(`--target ${t.target} cannot be combined with --sha.`);return{...f,target:t.target,mergeBaseRef:t.mergeBaseRef};case"commit":if(!t.sha)throw new Error("--sha is required when --target commit is used.");if(t.mergeBaseRef!==void 0)throw new Error("--target commit cannot be combined with --merge-base-ref.");return{...f,target:"commit",sha:t.sha};default:throw new Error("--target must be uncommitted, branch_committed, all, or commit.")}}function p(r){return r.requiredOption("--target <target>","Diff target: uncommitted, branch_committed, all, or commit").option("--merge-base-branch <branch>","Branch-based target base").option("--sha <sha>","Commit target SHA")}function v(r){switch(r.target){case"uncommitted":return{type:"uncommitted"};case"branch_committed":case"all":return{type:r.target,mergeBaseBranch:r.mergeBaseBranch};case"commit":return{type:"commit",sha:r.sha}}}function k(r,t){if(t.path.length===0)throw new Error("Provide at least one --path.");return{environmentId:r,paths:t.path,target:v(g(r,t)),ignoreWhitespace:t.ignoreWhitespace===!0}}function N(r){if(r.files.length===0){console.log("No files marked Viewed.");return}for(let t of r.files)console.log(`${t.revision} ${t.path}`)}async function q(r,t,a){let f=await c(r).environments.diffFiles(t);if(f.outcome==="not_applicable")throw new Error(`Diff files unavailable: ${f.message}`);if(f.outcome==="unavailable")throw new Error(`Diff files unavailable: ${f.failure.message}`);let o=f.files.find(n=>n.path===a);if(o===void 0)throw new Error(`${a} is not a changed file in this diff.`);return o.revision}function A({id:r,opts:t}){if(t.clearMergeBaseBranch===!0)return t.clearName===!0?{environmentId:r,mergeBaseBranch:null,name:null}:t.name!==void 0?{environmentId:r,mergeBaseBranch:null,name:t.name}:{environmentId:r,mergeBaseBranch:null};if(t.mergeBaseBranch!==void 0){let a=t.mergeBaseBranch;return t.clearName===!0?{environmentId:r,mergeBaseBranch:a,name:null}:t.name!==void 0?{environmentId:r,mergeBaseBranch:a,name:t.name}:{environmentId:r,mergeBaseBranch:a}}if(t.clearName===!0)return{environmentId:r,name:null};if(t.name!==void 0)return{environmentId:r,name:t.name};throw new Error("No changes requested. Provide --merge-base-branch, --clear-merge-base-branch, --name, or --clear-name.")}function T(r,t){let a=r.command("environment").description("Inspect and operate on first-class environments");a.command("cleanup <id>").description("Clean up an unused provider-managed environment").option("--recover","After inspection, acknowledge interrupted hooks and retry failed cleanup (Linux, same-user cwd/maps guard; inspect other users separately)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_cleanup({environmentId:o,recover:n.recover});m(n,e)||console.log("Environment cleanup requested.")})),a.command("providers").description("List registered environment providers").option("--project <id>","List structurally eligible providers for this project").option("--machine <id-or-name>","Scope eligibility to this machine").option("--host <id-or-name>","Alias for --machine").option("--json","Print machine-readable JSON output").action(d(async o=>{let n=C(o);if(n!==void 0&&o.project===void 0)throw new Error("--machine or --host requires --project <id>.");let e=n===void 0?void 0:await y({serverUrl:t(),target:n}),i=await c(t()).environments.listProviders({...o.project===void 0?{}:{projectId:o.project},...e===void 0?{}:{hostId:e}});if(!m(o,i)){if(i.length===0){console.log("No environment providers available");return}for(let s of i){let l=Object.entries(s.requires).filter(([,b])=>b).map(([b])=>b).join(", "),u=s.inputs===null?"":" takes --environment-inputs",h=e===void 0?"":s.availability===null?" availability: unknown":s.availability.status==="available"?" availability: available":` availability: ${s.availability.status} (${s.availability.message})`;console.log(`${s.id} ${s.displayName} ${l||"-"}${u}${h}`)}}})),a.command("list").description("List environments, including destroyed ones when requested").option("--project <id>","Only environments in this project").option("--provider <id>","Only environments produced by this environment provider").option("--host <id-or-name>","Only environments on this machine").option("--instance-key <key>","Only the environment its provider named with this instance key").option("--status <status>","Only environments in this status: provisioning, ready, error, destroyed").option("--limit <n>","At most this many rows, oldest first").option("--offset <n>","Skip this many rows").option("--json","Print machine-readable JSON output").action(d(async o=>{let n=D(o.limit,"--limit"),e=D(o.offset,"--offset"),i=c(t()),s=o.host===void 0?void 0:await y({serverUrl:t(),target:o.host}),l=await i.environments.list({...o.project?{projectId:o.project}:{},...o.provider?{environmentProviderId:o.provider}:{},...o.instanceKey?{instanceKey:o.instanceKey}:{},...s===void 0?{}:{hostId:s},...o.status===void 0?{}:{status:j(o.status)},...n===void 0?{}:{limit:n},...e===void 0?{}:{offset:e}});if(!m(o,l))for(let u of l)console.log(`${u.id} ${u.status} ${u.environmentProviderId??"-"} ${u.path??"-"}${u.lifecycle.teardown?.message?` ${u.lifecycle.teardown.message}`:""}`)})),a.command("delete <id>").description("Request provider cleanup; refused while threads are live or stopping").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=c(t()),i=await e.environments.delete({environmentId:o});if(m(n,i))return;let s=await e.environments.get({environmentId:o});console.log(`Cleanup requested for environment ${o}.`),console.log(`Lifecycle: ${s.lifecycle.phase}`)})),a.command("show <id>").alias("get").description("Show environment details").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let i=await c(t()).environments.get({environmentId:o});m(n,i)||(console.log(`Environment: ${i.id}`),console.log(` Project: ${i.projectId}`),console.log(` Status: ${i.status}`),console.log(` Lifecycle: ${i.lifecycle.phase}`),i.lifecycle.retireAt!==null&&console.log(` Retire at: ${new Date(i.lifecycle.retireAt).toISOString()}`),i.lifecycle.teardown!==null&&(console.log(` Teardown: ${i.lifecycle.teardown.status} (attempt ${i.lifecycle.teardown.attempt})`),i.lifecycle.teardown.message!==void 0&&console.log(` Teardown message: ${i.lifecycle.teardown.message}`)),i.path&&console.log(` Path: ${i.path}`),i.name&&console.log(` Name: ${i.name}`),console.log(` Provider: ${i.environmentProviderId??"none (attached directory)"}`),i.branchName&&console.log(` Branch: ${i.branchName}`),i.defaultBranch&&console.log(` Default branch: ${i.defaultBranch}`),i.mergeBaseBranch&&console.log(` Merge base: ${i.mergeBaseBranch}`),console.log(` Git repo: ${i.isGitRepo}`),console.log(` Created: ${new Date(i.createdAt).toLocaleString()}`),console.log(` Updated: ${new Date(i.updatedAt).toLocaleString()}`))})),a.command("status <id>").description("Show an environment's workspace status").option("--merge-base-branch <branch>","Include merge-base status").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.status({environmentId:o,...n.mergeBaseBranch!==void 0?{mergeBaseBranch:n.mergeBaseBranch}:{}});if(m(n,e))return;if(e.outcome==="not_applicable"){console.log(`Status unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Status unavailable: ${e.failure.message}`);return}let i=e.workspace;console.log(`State: ${i.workingTree.state}`),console.log(`Branch: ${i.branch.currentBranch??"(detached)"}`),console.log(`Default branch: ${i.branch.defaultBranch}`),console.log(`Changed files: ${i.workingTree.fileCount}`),i.workingTree.lineStatsComplete?(console.log(`Insertions: +${i.workingTree.insertions}`),console.log(`Deletions: -${i.workingTree.deletions}`)):console.log("Line stats: unavailable for untracked files"),i.mergeBase&&(console.log(`Merge base: ${i.mergeBase.mergeBaseBranch}`),i.mergeBase.squashMergeCheckComplete||console.log("Squash-merge check incomplete; counts may include already-merged commits."),console.log(`Ahead: ${i.mergeBase.aheadCount}`),console.log(`Behind: ${i.mergeBase.behindCount}`))})),a.command("branches <id>").description("List branches available in an environment").option("--query <query>","Branch-name filter").option("--limit <count>","Maximum local and remote branches").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{O(n.limit);let e=await c(t()).environments.diffBranches({environmentId:o,...n.query!==void 0?{query:n.query}:{},...n.limit!==void 0?{limit:n.limit}:{}});if(!m(n,e)){console.log("Local branches:");for(let i of e.branches)console.log(` ${i}`);e.branches.length===0&&console.log(" (none)"),e.branchesTruncated&&console.log(" (truncated)"),console.log("Remote branches:");for(let i of e.remoteBranches)console.log(` ${i}`);e.remoteBranches.length===0&&console.log(" (none)"),e.remoteBranchesTruncated&&console.log(" (truncated)")}})),a.command("paths <id>").description("Search an environment's files and directories").option("--query <query>","Fuzzy path query").option("--limit <count>","Maximum paths").option("--files","Include files").option("--directories","Include directories").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{O(n.limit);let e=n.files===!0||n.directories!==!0,i=n.directories===!0||n.files!==!0,s=await c(t()).environments.paths({environmentId:o,includeFiles:S(e),includeDirectories:S(i),...n.query!==void 0?{query:n.query}:{},...n.limit!==void 0?{limit:n.limit}:{}});if(!m(n,s)){for(let l of s.paths)console.log(`${l.kind} ${l.path}`);s.truncated&&console.log("(results truncated)")}})),p(a.command("diff <id>").description("Show an environment's git diff")).option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diff(g(o,n));if(!m(n,e)){if(e.outcome==="not_applicable"){console.log(`Diff unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Diff unavailable: ${e.failure.message}`);return}e.diff.files.trim().length>0&&console.log(e.diff.files.trimEnd()),e.diff.shortstat.trim().length>0&&console.log(e.diff.shortstat.trim()),e.diff.diff.length>0&&console.log(e.diff.diff),e.diff.truncated&&console.log("(diff truncated)")}})),p(a.command("diff-files <id>").description("List changed files in an environment")).option("--ignore-whitespace","Hide whitespace-only changes (git -w)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diffFiles({...g(o,n),ignoreWhitespace:n.ignoreWhitespace===!0});if(!m(n,e)){if(e.outcome==="not_applicable"){console.log(`Diff files unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Diff files unavailable: ${e.failure.message}`);return}for(let i of e.files){let s=i.previousPath?`${i.previousPath} -> ${i.path}`:i.path,l=i.binary?"binary":`+${i.additions} -${i.deletions}`;console.log(`${i.changeKind} ${l} ${i.origin} ${i.loadMode} ${s}`)}e.shortstat.trim().length>0&&console.log(e.shortstat.trim()),e.truncated&&console.log("(additional changed files omitted)")}})),a.command("diff-file <id>").description("Read one side of a changed environment file").requiredOption("--target <target>","Diff target: uncommitted, branch_committed, all, or commit").requiredOption("--path <path>","Repository-relative file path").requiredOption("--side <side>","File side: old or new").option("--merge-base-ref <sha>","Resolved merge-base SHA").option("--sha <sha>","Commit target SHA").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diffFile(P(o,n));if(!m(n,e)){if(e.contentEncoding==="base64"){console.log(`Binary file: ${e.path}`),console.log(`Encoding: ${e.contentEncoding}`),console.log(`Size: ${e.sizeBytes} bytes`),e.mimeType&&console.log(`MIME type: ${e.mimeType}`),console.log(e.content);return}console.log(e.content)}})),a.command("diff-patch <id>").description("Fetch patches for selected changed files").requiredOption("--target <target>","Diff target: uncommitted, branch_committed, all, or commit").option("--path <path>","Changed file path (repeatable)",w,[]).option("--merge-base-branch <branch>","Branch-based target base").option("--sha <sha>","Commit target SHA").option("--ignore-whitespace","Hide whitespace-only changes (git -w)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diffPatch(k(o,n));if(!m(n,e)){if(e.outcome==="not_applicable"){console.log(`Diff patches unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Diff patches unavailable: ${e.failure.message}`);return}for(let i of e.patches)console.log(`File: ${i.path}`),console.log(i.patch),i.truncated&&console.log("(patch truncated)")}}));let f=a.command("diff-viewed").description("List or change the files marked Viewed in an environment diff");p(f.command("list <id>").description("List files marked Viewed")).option("--path <path>","Limit to a changed path; repeat up to 500 times",w,[]).option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_diffViewed({...g(o,n),...n.path.length?{paths:n.path}:{}});m(n,e)||N(e)})),p(f.command("mark <id>").description("Mark a changed file Viewed at its current revision")).requiredOption("--path <path>","Changed file path").option("--revision <revision>","Revision to mark (default: the file's current revision from diff-files)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=g(o,n),i=n.path??"",s=n.revision??await q(t(),e,i),l=await c(t()).environments.experimental_markDiffViewed({environmentId:o,target:v(e),path:i,revision:s});m(n,l)||console.log("Viewed state updated.")})),p(f.command("unmark <id>").description("Clear Viewed for one file")).requiredOption("--path <path>","Changed file path").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_clearDiffViewed({environmentId:o,target:v(g(o,n)),path:n.path});m(n,e)||console.log("Viewed state updated.")})),p(f.command("clear <id>").description("Clear Viewed for every file in the diff target")).option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_clearDiffViewed({environmentId:o,target:v(g(o,n))});m(n,e)||console.log("Viewed state updated.")})),a.command("update <id>").description("Update environment metadata").option("--merge-base-branch <branch>","Set the merge-base branch override").option("--clear-merge-base-branch","Clear the merge-base branch override").option("--name <name>","Set the environment display name").option("--clear-name","Clear the environment display name").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=n.mergeBaseBranch!==void 0,i=n.clearMergeBaseBranch===!0,s=n.name!==void 0,l=n.clearName===!0;if(e&&i)throw new Error("Cannot combine --merge-base-branch with --clear-merge-base-branch.");if(s&&l)throw new Error("Cannot combine --name with --clear-name.");if(n.name!==void 0&&n.name.trim().length===0)throw new Error("Environment name cannot be empty.");if(!e&&!i&&!s&&!l)throw new Error("No changes requested. Provide --merge-base-branch, --clear-merge-base-branch, --name, or --clear-name.");let h=await c(t()).environments.update(A({id:o,opts:n}));m(n,h)||(console.log(`Environment ${h.id} updated`),(i||e)&&console.log(h.mergeBaseBranch?`Merge base branch: ${h.mergeBaseBranch}`:"Merge base branch cleared"),(l||s)&&console.log(h.name?`Name: ${h.name}`:"Name cleared"))})),a.command("commit <id>").description("Commit changes in an environment").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=c(t()),i;try{i=await e.environments.commit({environmentId:o})}catch(s){throw $(`Failed to commit in environment ${o}`,s)}m(n,i)||console.log(`${i.message} [committed]`)})),a.command("archive-threads <id>").description("Archive every active thread in an environment").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.archiveThreads({environmentId:o});m(n,e)||console.log(`Archived ${e.archivedThreadIds.length} thread(s) in environment ${o}`)}))}export{T as registerEnvironmentCommands};
2
+ import{c as C,f as y}from"./chunk-JBLSGIQQ.js";import"./chunk-LNE3VBYY.js";import{a as m,b as w,g as $,j as d}from"./chunk-JXM67MRW.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as c}from"./chunk-PMU3UDAI.js";import{q as E,r as B}from"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";function j(r){let t=B.safeParse(r);if(!t.success)throw new Error(`--status must be one of ${E.join(", ")}.`);return t.data}function O(r){if(r!==void 0&&!/^\d+$/u.test(r))throw new Error("--limit must contain only digits.")}function D(r,t){if(r===void 0)return;if(!/^\d+$/u.test(r))throw new Error(`${t} must be a non-negative integer.`);let a=Number(r);if(!Number.isSafeInteger(a))throw new Error(`${t} must be a non-negative integer.`);return a}function S(r){return r?"true":"false"}function I(r){switch(r){case"old":return"old";case"new":return"new";default:throw new Error("--side must be old or new.")}}function g(r,t){switch(t.target){case"uncommitted":if(t.mergeBaseBranch!==void 0||t.sha!==void 0)throw new Error("--target uncommitted cannot be combined with --merge-base-branch or --sha.");return{environmentId:r,target:"uncommitted"};case"branch_committed":case"all":if(!t.mergeBaseBranch)throw new Error(`--merge-base-branch is required when --target ${t.target} is used.`);if(t.sha!==void 0)throw new Error(`--target ${t.target} cannot be combined with --sha.`);return{environmentId:r,target:t.target,mergeBaseBranch:t.mergeBaseBranch};case"commit":if(!t.sha)throw new Error("--sha is required when --target commit is used.");if(t.mergeBaseBranch!==void 0)throw new Error("--target commit cannot be combined with --merge-base-branch.");return{environmentId:r,target:"commit",sha:t.sha};default:throw new Error("--target must be uncommitted, branch_committed, all, or commit.")}}function P(r,t){let a=I(t.side),f={environmentId:r,path:t.path,side:a};switch(t.target){case"uncommitted":if(t.mergeBaseRef!==void 0||t.sha!==void 0)throw new Error("--target uncommitted cannot be combined with --merge-base-ref or --sha.");return{...f,target:"uncommitted"};case"branch_committed":case"all":if(!t.mergeBaseRef)throw new Error(`--merge-base-ref is required when --target ${t.target} is used.`);if(t.sha!==void 0)throw new Error(`--target ${t.target} cannot be combined with --sha.`);return{...f,target:t.target,mergeBaseRef:t.mergeBaseRef};case"commit":if(!t.sha)throw new Error("--sha is required when --target commit is used.");if(t.mergeBaseRef!==void 0)throw new Error("--target commit cannot be combined with --merge-base-ref.");return{...f,target:"commit",sha:t.sha};default:throw new Error("--target must be uncommitted, branch_committed, all, or commit.")}}function p(r){return r.requiredOption("--target <target>","Diff target: uncommitted, branch_committed, all, or commit").option("--merge-base-branch <branch>","Branch-based target base").option("--sha <sha>","Commit target SHA")}function v(r){switch(r.target){case"uncommitted":return{type:"uncommitted"};case"branch_committed":case"all":return{type:r.target,mergeBaseBranch:r.mergeBaseBranch};case"commit":return{type:"commit",sha:r.sha}}}function k(r,t){if(t.path.length===0)throw new Error("Provide at least one --path.");return{environmentId:r,paths:t.path,target:v(g(r,t)),ignoreWhitespace:t.ignoreWhitespace===!0}}function N(r){if(r.files.length===0){console.log("No files marked Viewed.");return}for(let t of r.files)console.log(`${t.revision} ${t.path}`)}async function q(r,t,a){let f=await c(r).environments.diffFiles(t);if(f.outcome==="not_applicable")throw new Error(`Diff files unavailable: ${f.message}`);if(f.outcome==="unavailable")throw new Error(`Diff files unavailable: ${f.failure.message}`);let o=f.files.find(n=>n.path===a);if(o===void 0)throw new Error(`${a} is not a changed file in this diff.`);return o.revision}function A({id:r,opts:t}){if(t.clearMergeBaseBranch===!0)return t.clearName===!0?{environmentId:r,mergeBaseBranch:null,name:null}:t.name!==void 0?{environmentId:r,mergeBaseBranch:null,name:t.name}:{environmentId:r,mergeBaseBranch:null};if(t.mergeBaseBranch!==void 0){let a=t.mergeBaseBranch;return t.clearName===!0?{environmentId:r,mergeBaseBranch:a,name:null}:t.name!==void 0?{environmentId:r,mergeBaseBranch:a,name:t.name}:{environmentId:r,mergeBaseBranch:a}}if(t.clearName===!0)return{environmentId:r,name:null};if(t.name!==void 0)return{environmentId:r,name:t.name};throw new Error("No changes requested. Provide --merge-base-branch, --clear-merge-base-branch, --name, or --clear-name.")}function T(r,t){let a=r.command("environment").description("Inspect and operate on first-class environments");a.command("cleanup <id>").description("Clean up an unused provider-managed environment").option("--recover","After inspection, acknowledge interrupted hooks and retry failed cleanup (Linux, same-user cwd/maps guard; inspect other users separately)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_cleanup({environmentId:o,recover:n.recover});m(n,e)||console.log("Environment cleanup requested.")})),a.command("providers").description("List registered environment providers").option("--project <id>","List structurally eligible providers for this project").option("--machine <id-or-name>","Scope eligibility to this machine").option("--host <id-or-name>","Alias for --machine").option("--json","Print machine-readable JSON output").action(d(async o=>{let n=C(o);if(n!==void 0&&o.project===void 0)throw new Error("--machine or --host requires --project <id>.");let e=n===void 0?void 0:await y({serverUrl:t(),target:n}),i=await c(t()).environments.listProviders({...o.project===void 0?{}:{projectId:o.project},...e===void 0?{}:{hostId:e}});if(!m(o,i)){if(i.length===0){console.log("No environment providers available");return}for(let s of i){let l=Object.entries(s.requires).filter(([,b])=>b).map(([b])=>b).join(", "),u=s.inputs===null?"":" takes --environment-inputs",h=e===void 0?"":s.availability===null?" availability: unknown":s.availability.status==="available"?" availability: available":` availability: ${s.availability.status} (${s.availability.message})`;console.log(`${s.id} ${s.displayName} ${l||"-"}${u}${h}`)}}})),a.command("list").description("List environments, including destroyed ones when requested").option("--project <id>","Only environments in this project").option("--provider <id>","Only environments produced by this environment provider").option("--host <id-or-name>","Only environments on this machine").option("--instance-key <key>","Only the environment its provider named with this instance key").option("--status <status>","Only environments in this status: provisioning, ready, error, destroyed").option("--limit <n>","At most this many rows, oldest first").option("--offset <n>","Skip this many rows").option("--json","Print machine-readable JSON output").action(d(async o=>{let n=D(o.limit,"--limit"),e=D(o.offset,"--offset"),i=c(t()),s=o.host===void 0?void 0:await y({serverUrl:t(),target:o.host}),l=await i.environments.list({...o.project?{projectId:o.project}:{},...o.provider?{environmentProviderId:o.provider}:{},...o.instanceKey?{instanceKey:o.instanceKey}:{},...s===void 0?{}:{hostId:s},...o.status===void 0?{}:{status:j(o.status)},...n===void 0?{}:{limit:n},...e===void 0?{}:{offset:e}});if(!m(o,l))for(let u of l)console.log(`${u.id} ${u.status} ${u.environmentProviderId??"-"} ${u.path??"-"}${u.lifecycle.teardown?.message?` ${u.lifecycle.teardown.message}`:""}`)})),a.command("delete <id>").description("Request provider cleanup; refused while threads are live or stopping").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=c(t()),i=await e.environments.delete({environmentId:o});if(m(n,i))return;let s=await e.environments.get({environmentId:o});console.log(`Cleanup requested for environment ${o}.`),console.log(`Lifecycle: ${s.lifecycle.phase}`)})),a.command("show <id>").alias("get").description("Show environment details").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let i=await c(t()).environments.get({environmentId:o});m(n,i)||(console.log(`Environment: ${i.id}`),console.log(` Project: ${i.projectId}`),console.log(` Status: ${i.status}`),console.log(` Lifecycle: ${i.lifecycle.phase}`),i.lifecycle.retireAt!==null&&console.log(` Retire at: ${new Date(i.lifecycle.retireAt).toISOString()}`),i.lifecycle.teardown!==null&&(console.log(` Teardown: ${i.lifecycle.teardown.status} (attempt ${i.lifecycle.teardown.attempt})`),i.lifecycle.teardown.message!==void 0&&console.log(` Teardown message: ${i.lifecycle.teardown.message}`)),i.path&&console.log(` Path: ${i.path}`),i.name&&console.log(` Name: ${i.name}`),console.log(` Provider: ${i.environmentProviderId??"none (attached directory)"}`),i.branchName&&console.log(` Branch: ${i.branchName}`),i.defaultBranch&&console.log(` Default branch: ${i.defaultBranch}`),i.mergeBaseBranch&&console.log(` Merge base: ${i.mergeBaseBranch}`),console.log(` Git repo: ${i.isGitRepo}`),console.log(` Created: ${new Date(i.createdAt).toLocaleString()}`),console.log(` Updated: ${new Date(i.updatedAt).toLocaleString()}`))})),a.command("status <id>").description("Show an environment's workspace status").option("--merge-base-branch <branch>","Include merge-base status").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.status({environmentId:o,...n.mergeBaseBranch!==void 0?{mergeBaseBranch:n.mergeBaseBranch}:{}});if(m(n,e))return;if(e.outcome==="not_applicable"){console.log(`Status unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Status unavailable: ${e.failure.message}`);return}let i=e.workspace;console.log(`State: ${i.workingTree.state}`),console.log(`Branch: ${i.branch.currentBranch??"(detached)"}`),console.log(`Default branch: ${i.branch.defaultBranch}`),console.log(`Changed files: ${i.workingTree.fileCount}`),i.workingTree.lineStatsComplete?(console.log(`Insertions: +${i.workingTree.insertions}`),console.log(`Deletions: -${i.workingTree.deletions}`)):console.log("Line stats: unavailable for untracked files"),i.mergeBase&&(console.log(`Merge base: ${i.mergeBase.mergeBaseBranch}`),i.mergeBase.squashMergeCheckComplete||console.log("Squash-merge check incomplete; counts may include already-merged commits."),console.log(`Ahead: ${i.mergeBase.aheadCount}`),console.log(`Behind: ${i.mergeBase.behindCount}`))})),a.command("branches <id>").description("List branches available in an environment").option("--query <query>","Branch-name filter").option("--limit <count>","Maximum local and remote branches").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{O(n.limit);let e=await c(t()).environments.diffBranches({environmentId:o,...n.query!==void 0?{query:n.query}:{},...n.limit!==void 0?{limit:n.limit}:{}});if(!m(n,e)){console.log("Local branches:");for(let i of e.branches)console.log(` ${i}`);e.branches.length===0&&console.log(" (none)"),e.branchesTruncated&&console.log(" (truncated)"),console.log("Remote branches:");for(let i of e.remoteBranches)console.log(` ${i}`);e.remoteBranches.length===0&&console.log(" (none)"),e.remoteBranchesTruncated&&console.log(" (truncated)")}})),a.command("paths <id>").description("Search an environment's files and directories").option("--query <query>","Fuzzy path query").option("--limit <count>","Maximum paths").option("--files","Include files").option("--directories","Include directories").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{O(n.limit);let e=n.files===!0||n.directories!==!0,i=n.directories===!0||n.files!==!0,s=await c(t()).environments.paths({environmentId:o,includeFiles:S(e),includeDirectories:S(i),...n.query!==void 0?{query:n.query}:{},...n.limit!==void 0?{limit:n.limit}:{}});if(!m(n,s)){for(let l of s.paths)console.log(`${l.kind} ${l.path}`);s.truncated&&console.log("(results truncated)")}})),p(a.command("diff <id>").description("Show an environment's git diff")).option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diff(g(o,n));if(!m(n,e)){if(e.outcome==="not_applicable"){console.log(`Diff unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Diff unavailable: ${e.failure.message}`);return}e.diff.files.trim().length>0&&console.log(e.diff.files.trimEnd()),e.diff.shortstat.trim().length>0&&console.log(e.diff.shortstat.trim()),e.diff.diff.length>0&&console.log(e.diff.diff),e.diff.truncated&&console.log("(diff truncated)")}})),p(a.command("diff-files <id>").description("List changed files in an environment")).option("--ignore-whitespace","Hide whitespace-only changes (git -w)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diffFiles({...g(o,n),ignoreWhitespace:n.ignoreWhitespace===!0});if(!m(n,e)){if(e.outcome==="not_applicable"){console.log(`Diff files unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Diff files unavailable: ${e.failure.message}`);return}for(let i of e.files){let s=i.previousPath?`${i.previousPath} -> ${i.path}`:i.path,l=i.binary?"binary":`+${i.additions} -${i.deletions}`;console.log(`${i.changeKind} ${l} ${i.origin} ${i.loadMode} ${s}`)}e.shortstat.trim().length>0&&console.log(e.shortstat.trim()),e.truncated&&console.log("(additional changed files omitted)")}})),a.command("diff-file <id>").description("Read one side of a changed environment file").requiredOption("--target <target>","Diff target: uncommitted, branch_committed, all, or commit").requiredOption("--path <path>","Repository-relative file path").requiredOption("--side <side>","File side: old or new").option("--merge-base-ref <sha>","Resolved merge-base SHA").option("--sha <sha>","Commit target SHA").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diffFile(P(o,n));if(!m(n,e)){if(e.contentEncoding==="base64"){console.log(`Binary file: ${e.path}`),console.log(`Encoding: ${e.contentEncoding}`),console.log(`Size: ${e.sizeBytes} bytes`),e.mimeType&&console.log(`MIME type: ${e.mimeType}`),console.log(e.content);return}console.log(e.content)}})),a.command("diff-patch <id>").description("Fetch patches for selected changed files").requiredOption("--target <target>","Diff target: uncommitted, branch_committed, all, or commit").option("--path <path>","Changed file path (repeatable)",w,[]).option("--merge-base-branch <branch>","Branch-based target base").option("--sha <sha>","Commit target SHA").option("--ignore-whitespace","Hide whitespace-only changes (git -w)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.diffPatch(k(o,n));if(!m(n,e)){if(e.outcome==="not_applicable"){console.log(`Diff patches unavailable: ${e.message}`);return}if(e.outcome==="unavailable"){console.log(`Diff patches unavailable: ${e.failure.message}`);return}for(let i of e.patches)console.log(`File: ${i.path}`),console.log(i.patch),i.truncated&&console.log("(patch truncated)")}}));let f=a.command("diff-viewed").description("List or change the files marked Viewed in an environment diff");p(f.command("list <id>").description("List files marked Viewed")).option("--path <path>","Limit to a changed path; repeat up to 500 times",w,[]).option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_diffViewed({...g(o,n),...n.path.length?{paths:n.path}:{}});m(n,e)||N(e)})),p(f.command("mark <id>").description("Mark a changed file Viewed at its current revision")).requiredOption("--path <path>","Changed file path").option("--revision <revision>","Revision to mark (default: the file's current revision from diff-files)").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=g(o,n),i=n.path??"",s=n.revision??await q(t(),e,i),l=await c(t()).environments.experimental_markDiffViewed({environmentId:o,target:v(e),path:i,revision:s});m(n,l)||console.log("Viewed state updated.")})),p(f.command("unmark <id>").description("Clear Viewed for one file")).requiredOption("--path <path>","Changed file path").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_clearDiffViewed({environmentId:o,target:v(g(o,n)),path:n.path});m(n,e)||console.log("Viewed state updated.")})),p(f.command("clear <id>").description("Clear Viewed for every file in the diff target")).option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.experimental_clearDiffViewed({environmentId:o,target:v(g(o,n))});m(n,e)||console.log("Viewed state updated.")})),a.command("update <id>").description("Update environment metadata").option("--merge-base-branch <branch>","Set the merge-base branch override").option("--clear-merge-base-branch","Clear the merge-base branch override").option("--name <name>","Set the environment display name").option("--clear-name","Clear the environment display name").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=n.mergeBaseBranch!==void 0,i=n.clearMergeBaseBranch===!0,s=n.name!==void 0,l=n.clearName===!0;if(e&&i)throw new Error("Cannot combine --merge-base-branch with --clear-merge-base-branch.");if(s&&l)throw new Error("Cannot combine --name with --clear-name.");if(n.name!==void 0&&n.name.trim().length===0)throw new Error("Environment name cannot be empty.");if(!e&&!i&&!s&&!l)throw new Error("No changes requested. Provide --merge-base-branch, --clear-merge-base-branch, --name, or --clear-name.");let h=await c(t()).environments.update(A({id:o,opts:n}));m(n,h)||(console.log(`Environment ${h.id} updated`),(i||e)&&console.log(h.mergeBaseBranch?`Merge base branch: ${h.mergeBaseBranch}`:"Merge base branch cleared"),(l||s)&&console.log(h.name?`Name: ${h.name}`:"Name cleared"))})),a.command("commit <id>").description("Commit changes in an environment").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=c(t()),i;try{i=await e.environments.commit({environmentId:o})}catch(s){throw $(`Failed to commit in environment ${o}`,s)}m(n,i)||console.log(`${i.message} [committed]`)})),a.command("archive-threads <id>").description("Archive every active thread in an environment").option("--json","Print machine-readable JSON output").action(d(async(o,n)=>{let e=await c(t()).environments.archiveThreads({environmentId:o});m(n,e)||console.log(`Archived ${e.archivedThreadIds.length} thread(s) in environment ${o}`)}))}export{T as registerEnvironmentCommands};
@@ -1,3 +1,3 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{a,d as p,j as c}from"./chunk-DYWN65E6.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as s}from"./chunk-Z7UFAOBI.js";import"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";function g(n){return{...n.hidden===!1?{includeHidden:!1}:{},...n.exclude!==void 0?{excludeNames:n.exclude}:{}}}async function y(){let n=[];for await(let o of process.stdin)n.push(Buffer.isBuffer(o)?o:Buffer.from(o));return Buffer.concat(n).toString("utf8")}function u(n){if(n===void 0)return;let o=Number(n);if(!Number.isInteger(o)||o<1)throw new Error("--limit must be a positive integer.");return o}function l(n){return{...n.host?{hostId:n.host}:{},...n.root?{rootPath:n.root}:{}}}function x(n,o){let d=n.command("file").description("Read and manage files on Moonlet machines");d.command("read <path>").description("Read a file").option("--host <id>","Machine ID").option("--root <path>","Confining root path").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{let t=await s(o()).files.read({path:i,...l(e)});a(e,t)||(t.contentEncoding==="utf8"?process.stdout.write(t.content):process.stdout.write(`${t.content}
2
+ import{a,d as p,j as c}from"./chunk-JXM67MRW.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as s}from"./chunk-PMU3UDAI.js";import"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";function g(n){return{...n.hidden===!1?{includeHidden:!1}:{},...n.exclude!==void 0?{excludeNames:n.exclude}:{}}}async function y(){let n=[];for await(let o of process.stdin)n.push(Buffer.isBuffer(o)?o:Buffer.from(o));return Buffer.concat(n).toString("utf8")}function u(n){if(n===void 0)return;let o=Number(n);if(!Number.isInteger(o)||o<1)throw new Error("--limit must be a positive integer.");return o}function l(n){return{...n.host?{hostId:n.host}:{},...n.root?{rootPath:n.root}:{}}}function x(n,o){let d=n.command("file").description("Read and manage files on Moonlet machines");d.command("read <path>").description("Read a file").option("--host <id>","Machine ID").option("--root <path>","Confining root path").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{let t=await s(o()).files.read({path:i,...l(e)});a(e,t)||(t.contentEncoding==="utf8"?process.stdout.write(t.content):process.stdout.write(`${t.content}
3
3
  `))})),d.command("write <path>").description("Write a UTF-8 file").option("--content <text>","File content").option("--stdin","Read file content from stdin").option("--host <id>","Machine ID").option("--root <path>","Confining root path").option("--create-parents","Create missing parent directories").option("--expected-sha256 <hash>","Only write when the current hash matches").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{if(e.content===void 0==(e.stdin!==!0))throw new Error("Provide exactly one of --content or --stdin.");let t=e.stdin?await y():e.content??"",r=await s(o()).files.write({path:i,content:t,...l(e),...e.createParents?{createParents:!0}:{},...e.expectedSha256?{expectedSha256:e.expectedSha256}:{}});a(e,r)||console.log(r.outcome==="written"?`Wrote ${i}`:`Write conflict for ${i}`)})),d.command("list <path>").description("Recursively list files").option("--query <query>","Fuzzy path query").option("--limit <count>","Maximum entries").option("--no-hidden","Skip dot-prefixed files and directories").option("--exclude <names...>","Entry names or root-relative paths (using /) to skip instead of the default set").option("--host <id>","Machine ID").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{let t=await s(o()).files.list({path:i,...g(e),...e.host?{hostId:e.host}:{},...e.query?{query:e.query}:{},...u(e.limit)?{limit:u(e.limit)}:{}});if(!a(e,t))for(let r of t.files)console.log(r.path)})),d.command("paths <path>").description("List matching files and directories").option("--query <query>","Fuzzy path query").option("--limit <count>","Maximum entries").option("--files","Include files").option("--directories","Include directories").option("--no-hidden","Skip dot-prefixed files and directories").option("--exclude <names...>","Entry names or root-relative paths (using /) to skip instead of the default set").option("--host <id>","Machine ID").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{let t=e.files||!e.directories,r=e.directories||!e.files,f=u(e.limit),m=await s(o()).files.listPaths({path:i,includeFiles:t,includeDirectories:r,...g(e),...e.host?{hostId:e.host}:{},...e.query?{query:e.query}:{},...f?{limit:f}:{}});if(!a(e,m))for(let h of m.paths)console.log(`${h.kind} ${h.path}`)})),d.command("mkdir <path>").description("Create a directory").option("--recursive","Create missing parent directories").option("--host <id>","Machine ID").option("--root <path>","Confining root path").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{let t=await s(o()).files.mkdir({path:i,...l(e),recursive:e.recursive});a(e,t)||console.log(`Created directory ${i}`)})),d.command("move <source> <destination>").description("Move a file or directory").option("--host <id>","Machine ID").option("--root <path>","Confining root path").option("--json","Print machine-readable JSON output").action(c(async(i,e,t)=>{let r=await s(o()).files.move({sourcePath:i,destinationPath:e,...l(t)});a(t,r)||console.log(`Moved ${i} to ${e}`)})),d.command("remove <path>").description("Remove a file or directory").option("--recursive","Remove a directory recursively").option("--yes","Skip the confirmation prompt").option("--host <id>","Machine ID").option("--root <path>","Confining root path").option("--json","Print machine-readable JSON output").action(c(async(i,e)=>{if(!e.yes&&!await p(`Remove ${i}?`))return;let t=await s(o()).files.remove({path:i,...l(e),recursive:e.recursive});a(e,t)||console.log(`Removed ${i}`)}))}export{x as registerFileCommands};
@@ -1,4 +1,4 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{a}from"./chunk-MNJOOMMT.js";import{a as s,j as l}from"./chunk-DYWN65E6.js";import{b as d}from"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{I as u}from"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import{a as c}from"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";function f(e){return e.registeredArguments.map(t=>{let o=`${t.name()}${t.variadic?"...":""}`;return t.required?`<${o}>`:`[${o}]`}).join(" ")}function p(e,t){return e.commands.flatMap(o=>{if(o.name()==="help")return[];let r=[...t,o.name()],i=p(o,r);return i.length>0?i:[{aliases:o.aliases(),arguments:f(o),description:o.description(),options:o.options.filter(n=>!n.hidden).map(n=>n.flags.replace(/^-\w, /u,"")),path:r.join(" ")}]})}async function C(e){let t=new d,o={getUrl:()=>"",getContext:()=>({serverUrl:""}),findMounted:async()=>null};for(let n of a)(await n.load())(t,o);let r=p(t,[]);if(e===void 0)return r;let i=r.filter(n=>n.path===e||n.path.startsWith(`${e} `));if(i.length===0)throw new c({code:"invalid_value",hint:`Command groups: ${a.map(n=>n.name).join(", ")}`,message:`Unknown command group '${e}'.`});return i}function $(e,t){let r=[`moonlet ${[e.path,...e.aliases.map(n=>`|${n}`)].join("")}`,e.arguments].filter(n=>n.length>0).join(" "),i=t&&e.options.length>0?` ${e.options.map(n=>`[${n}]`).join(" ")}`:"";return`${r}${i}
2
+ import{a}from"./chunk-YKNGHXJL.js";import{a as s,j as l}from"./chunk-JXM67MRW.js";import{b as d}from"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{I as u}from"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import{a as c}from"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";function f(e){return e.registeredArguments.map(t=>{let o=`${t.name()}${t.variadic?"...":""}`;return t.required?`<${o}>`:`[${o}]`}).join(" ")}function p(e,t){return e.commands.flatMap(o=>{if(o.name()==="help")return[];let r=[...t,o.name()],i=p(o,r);return i.length>0?i:[{aliases:o.aliases(),arguments:f(o),description:o.description(),options:o.options.filter(n=>!n.hidden).map(n=>n.flags.replace(/^-\w, /u,"")),path:r.join(" ")}]})}async function C(e){let t=new d,o={getUrl:()=>"",getContext:()=>({serverUrl:""}),findMounted:async()=>null};for(let n of a)(await n.load())(t,o);let r=p(t,[]);if(e===void 0)return r;let i=r.filter(n=>n.path===e||n.path.startsWith(`${e} `));if(i.length===0)throw new c({code:"invalid_value",hint:`Command groups: ${a.map(n=>n.name).join(", ")}`,message:`Unknown command group '${e}'.`});return i}function $(e,t){let r=[`moonlet ${[e.path,...e.aliases.map(n=>`|${n}`)].join("")}`,e.arguments].filter(n=>n.length>0).join(" "),i=t&&e.options.length>0?` ${e.options.map(n=>`[${n}]`).join(" ")}`:"";return`${r}${i}
3
3
  ${e.description}`}function G(e){e.command("guide [chapter] [group]").description("Show the Moonlet system overview and CLI guide; `moonlet guide commands [group]` lists every core command on one page").option("--json","Print machine-readable JSON output").action(l(async(t,o,r)=>{if(t==="commands"){let n=await C(o);if(s(r,{chapter:t,commands:n}))return;let m=n.map(g=>$(g,o!==void 0));console.log(m.join(`
4
4
  `)),o===void 0&&console.log("\nRun `moonlet guide commands <group>` (for example `moonlet guide commands thread`) to include every option. Commands contributed by plugins are listed by `moonlet plugin list`.");return}let i=u().render({chapter:t});if(t){if(s(r,i))return;console.log(i.content);return}s(r,{overview:i.content})||console.log(i.content)}))}export{C as buildCommandIndex,G as registerGuideCommand};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{a,b,c,d,e,f,g}from"./chunk-ZY4JRPPT.js";import"./chunk-LNE3VBYY.js";import"./chunk-DYWN65E6.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import"./chunk-Z7UFAOBI.js";import"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";export{e as formatMachineLastSeen,g as registerMachineCommands,d as resolveMachineEnvironmentRouting,f as resolveMachineHostId,b as resolveMachineId,c as resolveMachineTargetOption,a as selectMachines};
2
+ import{a,b,c,d,e,f,g}from"./chunk-JBLSGIQQ.js";import"./chunk-LNE3VBYY.js";import"./chunk-JXM67MRW.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import"./chunk-PMU3UDAI.js";import"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";export{e as formatMachineLastSeen,g as registerMachineCommands,d as resolveMachineEnvironmentRouting,f as resolveMachineHostId,b as resolveMachineId,c as resolveMachineTargetOption,a as selectMachines};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{b as d}from"./chunk-LNE3VBYY.js";import{a,j as l}from"./chunk-DYWN65E6.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as i}from"./chunk-Z7UFAOBI.js";import"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";import{resolve as m}from"node:path";function p(o){let r=o.trim();return r.startsWith("path:")?`path:${m(r.slice(5))}`:r}function u(o){if(o===null)return"never";let r=new Date(o);return Number.isFinite(r.getTime())?r.toISOString():String(o)}function f(o){console.log(`${o.name} ${o.displayName}`),console.log(` source: ${o.source}`),o.subdirectory!==null&&console.log(` subdirectory: ${o.subdirectory}`),o.resolvedCommit!==null&&console.log(` commit: ${o.resolvedCommit}`),console.log(` entries: ${o.entryCount}`),console.log(` refreshed: ${u(o.lastRefreshAt)}`),o.lastError!==null&&console.log(` last error: ${o.lastError}`)}function $(o,r){let c=o.command("marketplace").description("Manage the plugin marketplaces Moonlet reads catalogs from");c.command("add <source>").description("Add a marketplace from an https manifest URL, git:<url>[@<ref>], or path:<directory> (validates and caches the catalog; installs nothing)").option("--subdirectory <path>","Read marketplace.json from this directory of a git: repository instead of its root").option("--json","Output JSON").action(l(async(s,n)=>{let t=await i(r()).plugins.marketplaces.add({source:p(s),...n.subdirectory===void 0?{}:{subdirectory:n.subdirectory}});if(n.json){a(n,t);return}console.log(`Added marketplace ${t.name}:`),f(t),console.log(`Adding a marketplace installs nothing. Install an entry with \`moonlet plugin install <id>@${t.name}\`.`)})),c.command("list").description("List the marketplaces Moonlet reads catalogs from").option("--json","Output JSON").action(l(async s=>{let n=await i(r()).plugins.marketplaces.list();if(s.json){a(s,n);return}let t=n.some(e=>e.subdirectory!==null);console.log(d({head:["Name","Source",...t?["Subdirectory"]:[],"Entries","Refreshed"],colWidths:[24,t?42:58,...t?[16]:[],9,26],trimTrailingWhitespace:!0},n.map(e=>[e.official?`${e.name} (official)`:e.name,e.source,...t?[e.subdirectory??""]:[],String(e.entryCount),e.lastError===null?u(e.lastRefreshAt):`failed: ${e.lastError}`])))})),c.command("refresh [name]").description("Re-read one marketplace catalog, or every one of them. Discovery metadata and icons only: a refresh never installs, updates, or runs plugin code").option("--json","Output JSON").action(l(async(s,n)=>{let t=await i(r()).plugins.marketplaces.refresh(s===void 0?{}:{name:s});if(n.json){a(n,t);return}for(let e of t)console.log(e.ok?`${e.name}: ${e.marketplace.entryCount} entries`:`${e.name}: refresh failed (${e.error??"unknown error"}); keeping the last catalog`);t.some(e=>!e.ok)&&process.exit(1)})),c.command("remove <name>").description("Forget a marketplace. bb-official and bb-community cannot be removed. Installed plugins keep their direct sources").option("--json","Output JSON").action(l(async(s,n)=>{let t=await i(r()).plugins.marketplaces.remove({name:s});if(n.json){a(n,t);return}console.log(`Removed marketplace ${s}.`),t.convertedPluginIds.length!==0&&console.log(`Kept as direct installs: ${t.convertedPluginIds.join(", ")}`)}))}export{$ as registerMarketplaceCommands};
2
+ import{b as d}from"./chunk-LNE3VBYY.js";import{a,j as l}from"./chunk-JXM67MRW.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as i}from"./chunk-PMU3UDAI.js";import"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";import{resolve as m}from"node:path";function p(o){let r=o.trim();return r.startsWith("path:")?`path:${m(r.slice(5))}`:r}function u(o){if(o===null)return"never";let r=new Date(o);return Number.isFinite(r.getTime())?r.toISOString():String(o)}function f(o){console.log(`${o.name} ${o.displayName}`),console.log(` source: ${o.source}`),o.subdirectory!==null&&console.log(` subdirectory: ${o.subdirectory}`),o.resolvedCommit!==null&&console.log(` commit: ${o.resolvedCommit}`),console.log(` entries: ${o.entryCount}`),console.log(` refreshed: ${u(o.lastRefreshAt)}`),o.lastError!==null&&console.log(` last error: ${o.lastError}`)}function $(o,r){let c=o.command("marketplace").description("Manage the plugin marketplaces Moonlet reads catalogs from");c.command("add <source>").description("Add a marketplace from an https manifest URL, git:<url>[@<ref>], or path:<directory> (validates and caches the catalog; installs nothing)").option("--subdirectory <path>","Read marketplace.json from this directory of a git: repository instead of its root").option("--json","Output JSON").action(l(async(s,n)=>{let t=await i(r()).plugins.marketplaces.add({source:p(s),...n.subdirectory===void 0?{}:{subdirectory:n.subdirectory}});if(n.json){a(n,t);return}console.log(`Added marketplace ${t.name}:`),f(t),console.log(`Adding a marketplace installs nothing. Install an entry with \`moonlet plugin install <id>@${t.name}\`.`)})),c.command("list").description("List the marketplaces Moonlet reads catalogs from").option("--json","Output JSON").action(l(async s=>{let n=await i(r()).plugins.marketplaces.list();if(s.json){a(s,n);return}let t=n.some(e=>e.subdirectory!==null);console.log(d({head:["Name","Source",...t?["Subdirectory"]:[],"Entries","Refreshed"],colWidths:[24,t?42:58,...t?[16]:[],9,26],trimTrailingWhitespace:!0},n.map(e=>[e.official?`${e.name} (official)`:e.name,e.source,...t?[e.subdirectory??""]:[],String(e.entryCount),e.lastError===null?u(e.lastRefreshAt):`failed: ${e.lastError}`])))})),c.command("refresh [name]").description("Re-read one marketplace catalog, or every one of them. Discovery metadata and icons only: a refresh never installs, updates, or runs plugin code").option("--json","Output JSON").action(l(async(s,n)=>{let t=await i(r()).plugins.marketplaces.refresh(s===void 0?{}:{name:s});if(n.json){a(n,t);return}for(let e of t)console.log(e.ok?`${e.name}: ${e.marketplace.entryCount} entries`:`${e.name}: refresh failed (${e.error??"unknown error"}); keeping the last catalog`);t.some(e=>!e.ok)&&process.exit(1)})),c.command("remove <name>").description("Forget a marketplace. bb-official and bb-community cannot be removed. Installed plugins keep their direct sources").option("--json","Output JSON").action(l(async(s,n)=>{let t=await i(r()).plugins.marketplaces.remove({name:s});if(n.json){a(n,t);return}console.log(`Removed marketplace ${s}.`),t.convertedPluginIds.length!==0&&console.log(`Kept as direct installs: ${t.convertedPluginIds.join(", ")}`)}))}export{$ as registerMarketplaceCommands};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from "node:module";import { dirname as __pathDirname } from "node:path";import { fileURLToPath as __fileURLToPath } from "node:url";const require = __createRequire(import.meta.url);const __filename = __fileURLToPath(import.meta.url);const __dirname = __pathDirname(__filename);
2
- import{j as a}from"./chunk-DYWN65E6.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as y}from"./chunk-Z7UFAOBI.js";import{R as c,S as p,T as l,U as m,V as d}from"./chunk-VRIDG567.js";import"./chunk-OEZHMQOB.js";import"./chunk-UASCWFYV.js";import"./chunk-OZFHGPH4.js";import"./chunk-CJVCV7LA.js";import"./chunk-3YHI2NNI.js";import{a as r}from"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";import{readFile as n}from"node:fs/promises";function N(g,h){let o=g.command("permissions").description("View and change permissions through the protected settings routes"),i=()=>y(h()).experimental_permissions,s=e=>console.log(JSON.stringify(e,null,2));o.command("show").description("Show policy references, standing permissions, grants and recipients").action(a(async()=>{let e=i(),[t,w,v,u]=await Promise.all([e.policy(),e.approvals(),e.recipients(),e.relay()]);s({policy:t,approvals:w,recipients:v,relay:u})})),o.command("edit <file>").description("Save a JSON edit with base, section and value; use show to get the current base").action(a(async e=>{await i().edit(c.parse(JSON.parse(await n(e,"utf8")))),console.log("Saved. Review and apply to send the policy to machines.")})),o.command("export").description("Print the saved policy file").action(a(async()=>console.log((await i().config()).policy.text))),o.command("import <file>").requiredOption("--base <base>","The base returned by show").action(a(async(e,t)=>{await i().savePolicy(await n(e,"utf8"),t.base),console.log("Saved.")})),o.command("history [id]").description("Show policy history or print one saved policy").action(a(async e=>{if(e===void 0)s((await i().config()).history.policy);else{let t=await i().history(Number(e));if(t.name!=="policy")throw new Error("This is not a policy history entry.");console.log(t.text)}})),o.command("ability <name> <file>").description("Save when-to-ask JSON: level, sensitive and expireMinutes").action(a(async(e,t)=>{await i().setAbility(e,p.parse(JSON.parse(await n(t,"utf8")))),console.log("Saved.")})),o.command("revoke <id>").description("Revoke one exact-command grant").action(a(async e=>{await i().revokeGrant(e),console.log("Revoked.")})),o.command("take-back <id>").description("Open the original question to take back one standing permission").action(a(async e=>s(await i().takeBack(e)))),o.command("recipients <file>").description("Save the named-recipient JSON list; Ask and Allow keep their meaning").action(a(async e=>{await i().saveRecipients(r.array(l).parse(JSON.parse(await n(e,"utf8")))),console.log("Saved.")})),o.command("relay-targets <file>").description("Save the relayed-conversation JSON list").action(a(async e=>{await i().saveRelayTargets(r.array(m).parse(JSON.parse(await n(e,"utf8")))),console.log("Saved.")})),o.command("relay-hosts <file>").description("Save the machine-inbox JSON list").action(a(async e=>{await i().saveRelayHosts(r.array(d).parse(JSON.parse(await n(e,"utf8")))),console.log("Saved.")})),o.command("check-sign-ins <machine>").description("Check configured secret item titles without reading values").action(a(async e=>s(await i().checkSignIns(e)))),o.command("review <machines...>").description("Preview policy application through the existing station deploy").action(a(async e=>{await i().apply(e,!0),console.log("Review queued; read jobs for its result.")})),o.command("apply <machines...>").description("Apply through the existing deployment approval").action(a(async e=>{await i().apply(e,!1),console.log("Application queued; read jobs for its result.")})),o.command("jobs").description("Show policy review and application results").action(a(async()=>s((await i().config()).jobs)))}export{N as registerPermissionsCommands};
2
+ import{j as a}from"./chunk-JXM67MRW.js";import"./chunk-YGXDASNN.js";import"./chunk-VPTJVPF6.js";import{b as y}from"./chunk-PMU3UDAI.js";import{R as c,S as p,T as l,U as m,V as d}from"./chunk-URPVHDSN.js";import"./chunk-OEZHMQOB.js";import"./chunk-QAWZMDCJ.js";import"./chunk-OZFHGPH4.js";import"./chunk-XLQMIU5E.js";import"./chunk-3YHI2NNI.js";import{a as r}from"./chunk-YBR35YRF.js";import"./chunk-2BGEXHA2.js";import{readFile as n}from"node:fs/promises";function N(g,h){let o=g.command("permissions").description("View and change permissions through the protected settings routes"),i=()=>y(h()).experimental_permissions,s=e=>console.log(JSON.stringify(e,null,2));o.command("show").description("Show policy references, standing permissions, grants and recipients").action(a(async()=>{let e=i(),[t,w,v,u]=await Promise.all([e.policy(),e.approvals(),e.recipients(),e.relay()]);s({policy:t,approvals:w,recipients:v,relay:u})})),o.command("edit <file>").description("Save a JSON edit with base, section and value; use show to get the current base").action(a(async e=>{await i().edit(c.parse(JSON.parse(await n(e,"utf8")))),console.log("Saved. Review and apply to send the policy to machines.")})),o.command("export").description("Print the saved policy file").action(a(async()=>console.log((await i().config()).policy.text))),o.command("import <file>").requiredOption("--base <base>","The base returned by show").action(a(async(e,t)=>{await i().savePolicy(await n(e,"utf8"),t.base),console.log("Saved.")})),o.command("history [id]").description("Show policy history or print one saved policy").action(a(async e=>{if(e===void 0)s((await i().config()).history.policy);else{let t=await i().history(Number(e));if(t.name!=="policy")throw new Error("This is not a policy history entry.");console.log(t.text)}})),o.command("ability <name> <file>").description("Save when-to-ask JSON: level, sensitive and expireMinutes").action(a(async(e,t)=>{await i().setAbility(e,p.parse(JSON.parse(await n(t,"utf8")))),console.log("Saved.")})),o.command("revoke <id>").description("Revoke one exact-command grant").action(a(async e=>{await i().revokeGrant(e),console.log("Revoked.")})),o.command("take-back <id>").description("Open the original question to take back one standing permission").action(a(async e=>s(await i().takeBack(e)))),o.command("recipients <file>").description("Save the named-recipient JSON list; Ask and Allow keep their meaning").action(a(async e=>{await i().saveRecipients(r.array(l).parse(JSON.parse(await n(e,"utf8")))),console.log("Saved.")})),o.command("relay-targets <file>").description("Save the relayed-conversation JSON list").action(a(async e=>{await i().saveRelayTargets(r.array(m).parse(JSON.parse(await n(e,"utf8")))),console.log("Saved.")})),o.command("relay-hosts <file>").description("Save the machine-inbox JSON list").action(a(async e=>{await i().saveRelayHosts(r.array(d).parse(JSON.parse(await n(e,"utf8")))),console.log("Saved.")})),o.command("check-sign-ins <machine>").description("Check configured secret item titles without reading values").action(a(async e=>s(await i().checkSignIns(e)))),o.command("review <machines...>").description("Preview policy application through the existing station deploy").action(a(async e=>{await i().apply(e,!0),console.log("Review queued; read jobs for its result.")})),o.command("apply <machines...>").description("Apply through the existing deployment approval").action(a(async e=>{await i().apply(e,!1),console.log("Application queued; read jobs for its result.")})),o.command("jobs").description("Show policy review and application results").action(a(async()=>s((await i().config()).jobs)))}export{N as registerPermissionsCommands};