@namzu/cli 45.0.0 → 45.2.0

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 (450) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +1 -1
  3. package/dist/bin.js +1 -1
  4. package/dist/chunks/{acp-XSAUUT2D.js → acp-TYPW7WFK.js} +52 -49
  5. package/dist/chunks/acp-TYPW7WFK.js.map +6 -0
  6. package/dist/chunks/{activity-command-DB4DREW7.js → activity-command-D744W6SC.js} +13 -13
  7. package/dist/chunks/{add-NVXRVUGY.js → add-QEKJGVR4.js} +21 -20
  8. package/dist/chunks/add-QEKJGVR4.js.map +6 -0
  9. package/dist/chunks/{agent-6TD66IMV.js → agent-JWTNZ4PK.js} +40 -38
  10. package/dist/chunks/agent-session-OGPKSSKG.js +71 -0
  11. package/dist/chunks/{archive-A3X7KX2U.js → archive-FLZUJDJZ.js} +11 -11
  12. package/dist/chunks/{bin-main-5PYV7WYI.js → bin-main-UI3NYIJE.js} +5 -5
  13. package/dist/chunks/{binding-EMMG5PAE.js → binding-JQUI2CTZ.js} +3 -3
  14. package/dist/chunks/{browser-FUFFJBRR.js → browser-YZCY2CI6.js} +6 -6
  15. package/dist/chunks/{chat-M653DEAF.js → chat-F3WXVEDM.js} +16 -16
  16. package/dist/chunks/{chunk-OMRU22BQ.js → chunk-24NEAMG5.js} +3 -3
  17. package/dist/chunks/chunk-2IPDTDB3.js +80 -0
  18. package/dist/chunks/chunk-2IPDTDB3.js.map +6 -0
  19. package/dist/chunks/{chunk-325X27UO.js → chunk-4E33SWZU.js} +4 -4
  20. package/dist/chunks/{chunk-MMZHUQZQ.js → chunk-4HL5LUP5.js} +497 -63
  21. package/dist/chunks/chunk-4HL5LUP5.js.map +6 -0
  22. package/dist/chunks/{chunk-C4MAQ64X.js → chunk-4WHMQBUC.js} +130 -106
  23. package/dist/chunks/chunk-4WHMQBUC.js.map +6 -0
  24. package/dist/chunks/{chunk-4DVCHAWN.js → chunk-4YBTLYYH.js} +83 -54
  25. package/dist/chunks/chunk-4YBTLYYH.js.map +6 -0
  26. package/dist/chunks/{chunk-U6U472VN.js → chunk-5DFBOMTX.js} +3 -3
  27. package/dist/chunks/{chunk-HV2JFRSE.js → chunk-5OGY4CE7.js} +2 -2
  28. package/dist/chunks/{chunk-IRUDNBAR.js → chunk-5W7CSQXQ.js} +4 -4
  29. package/dist/chunks/{chunk-H6AUN2YD.js → chunk-6F4PW7TF.js} +5 -5
  30. package/dist/chunks/{chunk-LHZSSQ6K.js → chunk-6NDJLXKW.js} +4 -4
  31. package/dist/chunks/{chunk-NXX6C3WS.js → chunk-6OWRRNLC.js} +2 -2
  32. package/dist/chunks/chunk-6ULKBT6P.js +83 -0
  33. package/dist/chunks/chunk-6ULKBT6P.js.map +6 -0
  34. package/dist/chunks/{chunk-FUJSGQYW.js → chunk-6WPKPHE2.js} +10 -10
  35. package/dist/chunks/{chunk-HFD2VRQP.js → chunk-6XL5ZMAL.js} +7 -5
  36. package/dist/chunks/chunk-6XL5ZMAL.js.map +6 -0
  37. package/dist/chunks/{chunk-VHFPIYVY.js → chunk-7BRK6EHB.js} +2 -2
  38. package/dist/chunks/{chunk-WSIMHBEQ.js → chunk-7HNWFGWD.js} +2 -2
  39. package/dist/chunks/{chunk-IYEDXZQZ.js → chunk-7XAUAIGO.js} +587 -441
  40. package/dist/chunks/chunk-7XAUAIGO.js.map +6 -0
  41. package/dist/chunks/{chunk-THQAGFMO.js → chunk-A72NRUYG.js} +13 -13
  42. package/dist/chunks/{chunk-U33GIKBK.js → chunk-ADG5OPNS.js} +4 -4
  43. package/dist/chunks/{chunk-HH3NBBBE.js → chunk-B7QEQ7Y3.js} +2 -2
  44. package/dist/chunks/{chunk-G5FWVYK2.js → chunk-BWI7L43E.js} +6 -6
  45. package/dist/chunks/{chunk-2OAD3CZE.js → chunk-CAOGKKB5.js} +3 -3
  46. package/dist/chunks/{chunk-K5FQ4G64.js → chunk-D7BXM6WW.js} +2 -2
  47. package/dist/chunks/{chunk-L2WEBN6A.js → chunk-DH4X2E6M.js} +2 -2
  48. package/dist/chunks/{chunk-L2WEBN6A.js.map → chunk-DH4X2E6M.js.map} +1 -1
  49. package/dist/chunks/{chunk-RJQ6WQYX.js → chunk-E3OXUQQB.js} +4 -69
  50. package/dist/chunks/chunk-E3OXUQQB.js.map +6 -0
  51. package/dist/chunks/{chunk-KZ5WYSA6.js → chunk-EPIIR5CJ.js} +9 -9
  52. package/dist/chunks/{chunk-M7LCVDP3.js → chunk-EVRWBRUB.js} +2 -2
  53. package/dist/chunks/{chunk-MYSU54EZ.js → chunk-EVZAGFTY.js} +12 -12
  54. package/dist/chunks/{chunk-MYSU54EZ.js.map → chunk-EVZAGFTY.js.map} +1 -1
  55. package/dist/chunks/{chunk-3F3V2PB7.js → chunk-FJONRQQU.js} +3 -1
  56. package/dist/chunks/{chunk-3F3V2PB7.js.map → chunk-FJONRQQU.js.map} +1 -1
  57. package/dist/chunks/{chunk-6PDIDZGX.js → chunk-GSAYGBOR.js} +24 -12
  58. package/dist/chunks/{chunk-6PDIDZGX.js.map → chunk-GSAYGBOR.js.map} +2 -2
  59. package/dist/chunks/{chunk-BICC735N.js → chunk-GXQ4G3KA.js} +3 -3
  60. package/dist/chunks/{chunk-THJQXERD.js → chunk-H2JLRNYH.js} +8 -8
  61. package/dist/chunks/{chunk-S2UDKXWH.js → chunk-H2RDYYTB.js} +2 -2
  62. package/dist/chunks/{chunk-P6RUYL3F.js → chunk-H5H6HDRA.js} +3 -3
  63. package/dist/chunks/{chunk-6TT7NXLP.js → chunk-HB4LEJMU.js} +20 -337
  64. package/dist/chunks/chunk-HB4LEJMU.js.map +6 -0
  65. package/dist/chunks/{chunk-ADCVLGQO.js → chunk-HIJXUSOS.js} +3 -3
  66. package/dist/chunks/{chunk-GAEZQRQI.js → chunk-HYPNAC4H.js} +3 -3
  67. package/dist/chunks/{chunk-OENL667J.js → chunk-I6W3KJR3.js} +2 -2
  68. package/dist/chunks/{chunk-HGIIAAEG.js → chunk-IFEBBQ2M.js} +3 -3
  69. package/dist/chunks/{chunk-X7WLWVR7.js → chunk-IPVDXTWF.js} +2 -2
  70. package/dist/chunks/{chunk-FZR4XULA.js → chunk-IZDYKTPN.js} +6 -6
  71. package/dist/chunks/{chunk-7TBETDTX.js → chunk-JCLZ5HXI.js} +2 -2
  72. package/dist/chunks/{chunk-7NJAEWFK.js → chunk-JU7JQ62S.js} +3 -3
  73. package/dist/chunks/{chunk-JAB62RI5.js → chunk-KY2WSKNM.js} +2 -2
  74. package/dist/chunks/{chunk-THUX2WOG.js → chunk-L3XUPXPP.js} +12 -12
  75. package/dist/chunks/{chunk-Y2PZNQH5.js → chunk-LMVXENEF.js} +3 -3
  76. package/dist/chunks/{chunk-GCFXQSN6.js → chunk-LOKFLXQL.js} +2 -2
  77. package/dist/chunks/{chunk-BOM64EUQ.js → chunk-NFATUZMX.js} +2 -2
  78. package/dist/chunks/{chunk-VAP6YMB6.js → chunk-NGMXEU2B.js} +2 -2
  79. package/dist/chunks/{chunk-J2FGTLZV.js → chunk-NI3LZ6UX.js} +2 -2
  80. package/dist/chunks/{chunk-TFOIA3U3.js → chunk-NS4PN3SI.js} +2 -2
  81. package/dist/chunks/{chunk-ANHFJD66.js → chunk-NZ6DX5CL.js} +4 -4
  82. package/dist/chunks/{chunk-B6INWHLR.js → chunk-PAY5TGHV.js} +3 -3
  83. package/dist/chunks/{chunk-KVCYYXCS.js → chunk-PFFQOCEI.js} +2 -2
  84. package/dist/chunks/{chunk-E3FA5H3Q.js → chunk-POKKY7MR.js} +6 -5
  85. package/dist/chunks/chunk-POKKY7MR.js.map +6 -0
  86. package/dist/chunks/{chunk-CDDS3UKB.js → chunk-PQTS7XQB.js} +12 -12
  87. package/dist/chunks/{chunk-6ZEHXLF7.js → chunk-Q6DM2TVI.js} +2 -2
  88. package/dist/chunks/{chunk-MKRYUMLP.js → chunk-Q6RZ64FS.js} +5 -5
  89. package/dist/chunks/{chunk-VGUU6E6X.js → chunk-Q7ELMF4C.js} +6 -6
  90. package/dist/chunks/chunk-QLDUL46Z.js +338 -0
  91. package/dist/chunks/chunk-QLDUL46Z.js.map +6 -0
  92. package/dist/chunks/{chunk-TUF4NNJV.js → chunk-QWVWGW6I.js} +2 -2
  93. package/dist/chunks/{chunk-VY377HAA.js → chunk-QXNROEIH.js} +4 -4
  94. package/dist/chunks/{chunk-S7WRWA25.js → chunk-RI2KAZJO.js} +2 -2
  95. package/dist/chunks/{chunk-S7WRWA25.js.map → chunk-RI2KAZJO.js.map} +1 -1
  96. package/dist/chunks/{chunk-2YCPLLUW.js → chunk-RISNSR62.js} +4 -4
  97. package/dist/chunks/{chunk-2YCPLLUW.js.map → chunk-RISNSR62.js.map} +1 -1
  98. package/dist/chunks/{chunk-WG32TSVL.js → chunk-RPCJJZTI.js} +3 -3
  99. package/dist/chunks/{chunk-P7MNE6YP.js → chunk-T3NLKQO2.js} +4 -4
  100. package/dist/chunks/{chunk-EFU2OFEK.js → chunk-TCRGKEEX.js} +42 -2
  101. package/dist/chunks/chunk-TCRGKEEX.js.map +6 -0
  102. package/dist/chunks/{chunk-43PTHA5N.js → chunk-TGPKTH2S.js} +2 -2
  103. package/dist/chunks/{chunk-667W6Z5W.js → chunk-TOJSNO4M.js} +5 -5
  104. package/dist/chunks/{chunk-L6QJZZCJ.js → chunk-U4YXQWPW.js} +6 -6
  105. package/dist/chunks/{chunk-P6FEQPES.js → chunk-U5BN3L3Y.js} +2 -2
  106. package/dist/chunks/{chunk-TKIWAXRU.js → chunk-UQJPNUDU.js} +7 -7
  107. package/dist/chunks/{chunk-S766UWAQ.js → chunk-V26FS5VG.js} +2 -2
  108. package/dist/chunks/{chunk-LR4QQMJH.js → chunk-V3R3MR7F.js} +4 -4
  109. package/dist/chunks/chunk-V45XJDX3.js +176 -0
  110. package/dist/chunks/chunk-V45XJDX3.js.map +6 -0
  111. package/dist/chunks/{chunk-NUNOIP4Y.js → chunk-VPJG7NQL.js} +2 -2
  112. package/dist/chunks/{chunk-AHNXQAYZ.js → chunk-VZC7FE4F.js} +91 -100
  113. package/dist/chunks/chunk-VZC7FE4F.js.map +6 -0
  114. package/dist/chunks/{chunk-43HR3AF5.js → chunk-W6E3PSFH.js} +2 -2
  115. package/dist/chunks/{chunk-24FBGXYR.js → chunk-WNOB6C62.js} +2 -2
  116. package/dist/chunks/{chunk-U3EQTU4G.js → chunk-X2F5ZFBV.js} +4 -4
  117. package/dist/chunks/{chunk-7DR7EU3J.js → chunk-X4TNXFUB.js} +59 -36
  118. package/dist/chunks/chunk-X4TNXFUB.js.map +6 -0
  119. package/dist/chunks/{chunk-YLNQLDMP.js → chunk-XHR3UCKT.js} +4 -4
  120. package/dist/chunks/{chunk-X4WCRRZV.js → chunk-XK26JNIF.js} +6 -6
  121. package/dist/chunks/{chunk-JKPUOSDC.js → chunk-XN7C5GWO.js} +2 -2
  122. package/dist/chunks/{chunk-46OOPRR6.js → chunk-XOIXLN2Y.js} +3 -3
  123. package/dist/chunks/{chunk-D23EJNO5.js → chunk-ZB45QDNU.js} +3 -3
  124. package/dist/chunks/{cli-runtime-QWBGE2VF.js → cli-runtime-QOMHGRZL.js} +12 -11
  125. package/dist/chunks/cli-runtime-QOMHGRZL.js.map +6 -0
  126. package/dist/chunks/{commands-LVUUZ6LF.js → commands-56WUDKVN.js} +5 -5
  127. package/dist/chunks/{crash-report-PGXMRS5P.js → crash-report-KHJZ3AKU.js} +6 -6
  128. package/dist/chunks/{dist-JRBSW53E.js → dist-7UW2VLWO.js} +3 -2
  129. package/dist/chunks/{dist-JRBSW53E.js.map → dist-7UW2VLWO.js.map} +1 -1
  130. package/dist/chunks/{dist-VON3NRHE.js → dist-BLC5XSXL.js} +185 -120
  131. package/dist/chunks/dist-BLC5XSXL.js.map +6 -0
  132. package/dist/chunks/{dist-NSCNMOX7.js → dist-BLCQRSQS.js} +2 -2
  133. package/dist/chunks/{dist-V4SNHHMB.js → dist-GUHZ3EE6.js} +5 -2
  134. package/dist/chunks/dist-GUHZ3EE6.js.map +6 -0
  135. package/dist/chunks/{dist-6HN2ZMLV.js → dist-L757TGUH.js} +3 -3
  136. package/dist/chunks/dist-L757TGUH.js.map +6 -0
  137. package/dist/chunks/{dist-TC6H7TPQ.js → dist-QZPA2XDK.js} +6 -2
  138. package/dist/chunks/{dist-VV3V36IP.js → dist-SEXSU4PO.js} +4 -2
  139. package/dist/chunks/{dist-VV3V36IP.js.map → dist-SEXSU4PO.js.map} +1 -1
  140. package/dist/chunks/{dist-JJANJMY5.js → dist-Y6IO47UU.js} +3 -2
  141. package/dist/chunks/{dist-JJANJMY5.js.map → dist-Y6IO47UU.js.map} +1 -1
  142. package/dist/chunks/{doctor-P7L35KGN.js → doctor-LCRG5FBA.js} +16 -16
  143. package/dist/chunks/{drain-HOHRXIYY.js → drain-47IMDCI5.js} +10 -10
  144. package/dist/chunks/{entry-L7XZIE7J.js → entry-P6YPWRQW.js} +27 -21
  145. package/dist/chunks/{entry-L7XZIE7J.js.map → entry-P6YPWRQW.js.map} +1 -1
  146. package/dist/chunks/{eval-2F473JAC.js → eval-5ZIBALCB.js} +2 -2
  147. package/dist/chunks/{exec-VCM4AL2S.js → exec-ELIM7XVY.js} +53 -36
  148. package/dist/chunks/exec-ELIM7XVY.js.map +6 -0
  149. package/dist/chunks/{home-R6WCBSOT.js → home-DXPCVXZK.js} +3 -3
  150. package/dist/chunks/host-QE4D3UXC.js +30 -0
  151. package/dist/chunks/{host-queries-QWV47CFK.js → host-queries-5H765XNX.js} +17 -17
  152. package/dist/chunks/{learn-3UPHM5OI.js → learn-Y5IBBZDY.js} +13 -13
  153. package/dist/chunks/{learn-builtin-3Q4BJFCF.js → learn-builtin-ND3T6U5L.js} +16 -16
  154. package/dist/chunks/{lifecycle-EJLVISCU.js → lifecycle-FJS7LD7B.js} +31 -30
  155. package/dist/chunks/{list-DQJBF4AB.js → list-6HQMG7TU.js} +12 -11
  156. package/dist/chunks/list-6HQMG7TU.js.map +6 -0
  157. package/dist/chunks/{live-IWDOVSLG.js → live-CSA2LX3R.js} +15 -15
  158. package/dist/chunks/{login-B2PHE6IL.js → login-42ZPPMYK.js} +13 -13
  159. package/dist/chunks/{logs-5UTV3FMG.js → logs-7MAFXNFR.js} +4 -4
  160. package/dist/chunks/{mcp-JN36OQLX.js → mcp-5RQSD6QV.js} +22 -21
  161. package/dist/chunks/mcp-5RQSD6QV.js.map +6 -0
  162. package/dist/chunks/{message-command-RMLQ2PU5.js → message-command-V3CL4DNT.js} +46 -44
  163. package/dist/chunks/message-command-V3CL4DNT.js.map +6 -0
  164. package/dist/chunks/{mouse-WFSJSLQD.js → mouse-EJQML44I.js} +2 -2
  165. package/dist/chunks/{open-LDBJL43A.js → open-3I5NZTSX.js} +8 -8
  166. package/dist/chunks/{operator-tools-NA7PLRIP.js → operator-tools-PK2WYSF3.js} +14 -14
  167. package/dist/chunks/{output-schema-UKYWRZPS.js → output-schema-2UJ7LOOX.js} +3 -3
  168. package/dist/chunks/{pal-MAVUNYMB.js → pal-WXN4O3DD.js} +16 -16
  169. package/dist/chunks/{palette-WDPS7W6Q.js → palette-CL5OOYGK.js} +10 -4
  170. package/dist/chunks/{peers-FBTQW2SY.js → peers-JQOUU3CX.js} +6 -6
  171. package/dist/chunks/{prefix-MLAG4KTK.js → prefix-3ZNPUSUK.js} +2 -2
  172. package/dist/chunks/{providers-M75ET3GT.js → providers-SI467SWN.js} +11 -11
  173. package/dist/chunks/{pty-VMUEEJRN.js → pty-T5LBAATA.js} +3 -3
  174. package/dist/chunks/{resident-URNRPE2S.js → resident-NGQORA2W.js} +26 -25
  175. package/dist/chunks/resident-NGQORA2W.js.map +6 -0
  176. package/dist/chunks/resume-GPXJJXCK.js +24 -0
  177. package/dist/chunks/{resume-command-5QGHV6WR.js → resume-command-V6ZKY7J6.js} +4 -4
  178. package/dist/chunks/{schedule-BK3WF2VK.js → schedule-4L4DTRC5.js} +8 -8
  179. package/dist/chunks/{service-VWASFP3R.js → service-EV6VQYJD.js} +30 -29
  180. package/dist/chunks/service-EV6VQYJD.js.map +6 -0
  181. package/dist/chunks/{session-step-DORV5FER.js → session-step-ZCZNC52S.js} +15 -15
  182. package/dist/chunks/{skills-TDDPMTQI.js → skills-QARQHL6M.js} +8 -8
  183. package/dist/chunks/{start-check-N4TPV2TM.js → start-check-W72K6M5Q.js} +2 -2
  184. package/dist/chunks/{state-SHLWYVZU.js → state-ADQWQEYB.js} +2 -2
  185. package/dist/chunks/store-IVVYIPV2.js +21 -0
  186. package/dist/chunks/{store-GUSFCKJA.js → store-KOGQWG66.js} +11 -11
  187. package/dist/chunks/{store-CQVUIU7K.js → store-RF6D7U2T.js} +6 -6
  188. package/dist/chunks/{store-75YZOOZI.js → store-TFJ73ZAM.js} +4 -4
  189. package/dist/chunks/{tui-PGHWYFN4.js → tui-CCAGK7BG.js} +464 -161
  190. package/dist/chunks/tui-CCAGK7BG.js.map +6 -0
  191. package/dist/chunks/{upgrade-RHPZQ33L.js → upgrade-LN6TFWDW.js} +6 -6
  192. package/dist/chunks/{spaces-AEOU6MSZ.js → workspaces-5ZKKOX4X.js} +79 -53
  193. package/dist/chunks/workspaces-5ZKKOX4X.js.map +6 -0
  194. package/dist/chunks/{worktree-5IYFN33C.js → worktree-5M2XFFJT.js} +13 -13
  195. package/dist/cli.d.ts.map +1 -1
  196. package/dist/commands/desktop-host.d.ts.map +1 -1
  197. package/dist/commands/exec-json.d.ts.map +1 -1
  198. package/dist/commands/exec.d.ts.map +1 -1
  199. package/dist/commands/manifest.d.ts +1 -1
  200. package/dist/commands/manifest.d.ts.map +1 -1
  201. package/dist/commands/workspaces.d.ts +49 -0
  202. package/dist/commands/workspaces.d.ts.map +1 -0
  203. package/dist/config/load.d.ts.map +1 -1
  204. package/dist/config/schema.d.ts +22 -3
  205. package/dist/config/schema.d.ts.map +1 -1
  206. package/dist/context/runtime-message.d.ts.map +1 -1
  207. package/dist/doctor/checks/terminal.d.ts +1 -1
  208. package/dist/doctor/checks/terminal.d.ts.map +1 -1
  209. package/dist/index.js +21 -20
  210. package/dist/integrations/accounts/host-facts.d.ts +1 -1
  211. package/dist/integrations/learning/session-feed.d.ts.map +1 -1
  212. package/dist/integrations/peers/runtime.d.ts +1 -1
  213. package/dist/integrations/peers/runtime.d.ts.map +1 -1
  214. package/dist/integrations/resident/runner-worker.js +21 -21
  215. package/dist/rounds/types.d.ts +6 -0
  216. package/dist/rounds/types.d.ts.map +1 -1
  217. package/dist/tui/App.d.ts +19 -7
  218. package/dist/tui/App.d.ts.map +1 -1
  219. package/dist/tui/Composer.d.ts +10 -4
  220. package/dist/tui/Composer.d.ts.map +1 -1
  221. package/dist/tui/agent.d.ts +27 -0
  222. package/dist/tui/agent.d.ts.map +1 -1
  223. package/dist/tui/index.d.ts.map +1 -1
  224. package/dist/tui/live-model-step.d.ts +16 -0
  225. package/dist/tui/live-model-step.d.ts.map +1 -0
  226. package/dist/tui/model-refusal.d.ts +36 -0
  227. package/dist/tui/model-refusal.d.ts.map +1 -0
  228. package/dist/tui/plain-interruption.d.ts.map +1 -1
  229. package/dist/tui/slashCommands.d.ts +22 -0
  230. package/dist/tui/slashCommands.d.ts.map +1 -1
  231. package/dist/tui/turn-interruption.d.ts.map +1 -1
  232. package/dist/tui/types.d.ts +2 -0
  233. package/dist/tui/types.d.ts.map +1 -1
  234. package/dist/tui/zoom/entry.d.ts +6 -6
  235. package/dist/tui/zoom/entry.d.ts.map +1 -1
  236. package/dist/tui/zoom/gesture.d.ts +2 -2
  237. package/dist/tui/zoom/gesture.d.ts.map +1 -1
  238. package/dist/tui/zoom/leave.d.ts +2 -2
  239. package/dist/tui/zoom/leave.d.ts.map +1 -1
  240. package/dist/tui/zoom/local.d.ts +3 -3
  241. package/dist/tui/zoom/local.d.ts.map +1 -1
  242. package/dist/{spaces → workspaces}/git.d.ts +1 -1
  243. package/dist/workspaces/git.d.ts.map +1 -0
  244. package/dist/{spaces → workspaces}/goto.d.ts +7 -7
  245. package/dist/workspaces/goto.d.ts.map +1 -0
  246. package/dist/{spaces → workspaces}/host.d.ts +61 -52
  247. package/dist/workspaces/host.d.ts.map +1 -0
  248. package/dist/{spaces → workspaces}/input.d.ts +1 -1
  249. package/dist/workspaces/input.d.ts.map +1 -0
  250. package/dist/{spaces → workspaces}/keymap.d.ts +2 -2
  251. package/dist/workspaces/keymap.d.ts.map +1 -0
  252. package/dist/{spaces → workspaces}/layout.d.ts +6 -4
  253. package/dist/workspaces/layout.d.ts.map +1 -0
  254. package/dist/{spaces → workspaces}/mouse.d.ts +2 -2
  255. package/dist/workspaces/mouse.d.ts.map +1 -0
  256. package/dist/{spaces → workspaces}/overlay.d.ts +0 -1
  257. package/dist/workspaces/overlay.d.ts.map +1 -0
  258. package/dist/workspaces/palette.d.ts +75 -0
  259. package/dist/workspaces/palette.d.ts.map +1 -0
  260. package/dist/workspaces/peers.d.ts.map +1 -0
  261. package/dist/{spaces → workspaces}/prefix.d.ts +1 -1
  262. package/dist/workspaces/prefix.d.ts.map +1 -0
  263. package/dist/{spaces → workspaces}/roster.d.ts +22 -22
  264. package/dist/workspaces/roster.d.ts.map +1 -0
  265. package/dist/workspaces/selection.d.ts.map +1 -0
  266. package/dist/{spaces → workspaces}/session.d.ts +1 -1
  267. package/dist/workspaces/session.d.ts.map +1 -0
  268. package/dist/{spaces → workspaces}/sidebar.d.ts +17 -17
  269. package/dist/workspaces/sidebar.d.ts.map +1 -0
  270. package/dist/{spaces → workspaces}/signal.d.ts +5 -3
  271. package/dist/workspaces/signal.d.ts.map +1 -0
  272. package/dist/{spaces → workspaces}/status.d.ts +2 -2
  273. package/dist/workspaces/status.d.ts.map +1 -0
  274. package/dist/{spaces → workspaces}/store.d.ts +25 -14
  275. package/dist/workspaces/store.d.ts.map +1 -0
  276. package/dist/workspaces/tabbar.d.ts +54 -0
  277. package/dist/workspaces/tabbar.d.ts.map +1 -0
  278. package/dist/{spaces → workspaces}/tiling.d.ts +7 -4
  279. package/dist/workspaces/tiling.d.ts.map +1 -0
  280. package/package.json +11 -11
  281. package/dist/chunks/acp-XSAUUT2D.js.map +0 -6
  282. package/dist/chunks/add-NVXRVUGY.js.map +0 -6
  283. package/dist/chunks/agent-session-3A5K5VK3.js +0 -69
  284. package/dist/chunks/chunk-4DVCHAWN.js.map +0 -6
  285. package/dist/chunks/chunk-6TT7NXLP.js.map +0 -6
  286. package/dist/chunks/chunk-7DR7EU3J.js.map +0 -6
  287. package/dist/chunks/chunk-AHNXQAYZ.js.map +0 -6
  288. package/dist/chunks/chunk-C4MAQ64X.js.map +0 -6
  289. package/dist/chunks/chunk-E3FA5H3Q.js.map +0 -6
  290. package/dist/chunks/chunk-EFU2OFEK.js.map +0 -6
  291. package/dist/chunks/chunk-EXFSMYH4.js +0 -83
  292. package/dist/chunks/chunk-EXFSMYH4.js.map +0 -6
  293. package/dist/chunks/chunk-HFD2VRQP.js.map +0 -6
  294. package/dist/chunks/chunk-IYEDXZQZ.js.map +0 -6
  295. package/dist/chunks/chunk-MMZHUQZQ.js.map +0 -6
  296. package/dist/chunks/chunk-RJQ6WQYX.js.map +0 -6
  297. package/dist/chunks/cli-runtime-QWBGE2VF.js.map +0 -6
  298. package/dist/chunks/dist-6HN2ZMLV.js.map +0 -6
  299. package/dist/chunks/dist-V4SNHHMB.js.map +0 -6
  300. package/dist/chunks/dist-VON3NRHE.js.map +0 -6
  301. package/dist/chunks/exec-VCM4AL2S.js.map +0 -6
  302. package/dist/chunks/host-JGPJVLTC.js +0 -28
  303. package/dist/chunks/list-DQJBF4AB.js.map +0 -6
  304. package/dist/chunks/mcp-JN36OQLX.js.map +0 -6
  305. package/dist/chunks/message-command-RMLQ2PU5.js.map +0 -6
  306. package/dist/chunks/resident-URNRPE2S.js.map +0 -6
  307. package/dist/chunks/resume-7B3EHDJ7.js +0 -24
  308. package/dist/chunks/service-VWASFP3R.js.map +0 -6
  309. package/dist/chunks/spaces-AEOU6MSZ.js.map +0 -6
  310. package/dist/chunks/store-Z5H6LYVE.js +0 -17
  311. package/dist/chunks/tui-PGHWYFN4.js.map +0 -6
  312. package/dist/commands/spaces.d.ts +0 -46
  313. package/dist/commands/spaces.d.ts.map +0 -1
  314. package/dist/spaces/git.d.ts.map +0 -1
  315. package/dist/spaces/goto.d.ts.map +0 -1
  316. package/dist/spaces/host.d.ts.map +0 -1
  317. package/dist/spaces/input.d.ts.map +0 -1
  318. package/dist/spaces/keymap.d.ts.map +0 -1
  319. package/dist/spaces/layout.d.ts.map +0 -1
  320. package/dist/spaces/mouse.d.ts.map +0 -1
  321. package/dist/spaces/overlay.d.ts.map +0 -1
  322. package/dist/spaces/palette.d.ts +0 -35
  323. package/dist/spaces/palette.d.ts.map +0 -1
  324. package/dist/spaces/peers.d.ts.map +0 -1
  325. package/dist/spaces/prefix.d.ts.map +0 -1
  326. package/dist/spaces/roster.d.ts.map +0 -1
  327. package/dist/spaces/selection.d.ts.map +0 -1
  328. package/dist/spaces/session.d.ts.map +0 -1
  329. package/dist/spaces/sidebar.d.ts.map +0 -1
  330. package/dist/spaces/signal.d.ts.map +0 -1
  331. package/dist/spaces/status.d.ts.map +0 -1
  332. package/dist/spaces/store.d.ts.map +0 -1
  333. package/dist/spaces/tabbar.d.ts +0 -36
  334. package/dist/spaces/tabbar.d.ts.map +0 -1
  335. package/dist/spaces/tiling.d.ts.map +0 -1
  336. /package/dist/chunks/{activity-command-DB4DREW7.js.map → activity-command-D744W6SC.js.map} +0 -0
  337. /package/dist/chunks/{agent-6TD66IMV.js.map → agent-JWTNZ4PK.js.map} +0 -0
  338. /package/dist/chunks/{agent-session-3A5K5VK3.js.map → agent-session-OGPKSSKG.js.map} +0 -0
  339. /package/dist/chunks/{archive-A3X7KX2U.js.map → archive-FLZUJDJZ.js.map} +0 -0
  340. /package/dist/chunks/{bin-main-5PYV7WYI.js.map → bin-main-UI3NYIJE.js.map} +0 -0
  341. /package/dist/chunks/{binding-EMMG5PAE.js.map → binding-JQUI2CTZ.js.map} +0 -0
  342. /package/dist/chunks/{browser-FUFFJBRR.js.map → browser-YZCY2CI6.js.map} +0 -0
  343. /package/dist/chunks/{chat-M653DEAF.js.map → chat-F3WXVEDM.js.map} +0 -0
  344. /package/dist/chunks/{chunk-OMRU22BQ.js.map → chunk-24NEAMG5.js.map} +0 -0
  345. /package/dist/chunks/{chunk-325X27UO.js.map → chunk-4E33SWZU.js.map} +0 -0
  346. /package/dist/chunks/{chunk-U6U472VN.js.map → chunk-5DFBOMTX.js.map} +0 -0
  347. /package/dist/chunks/{chunk-HV2JFRSE.js.map → chunk-5OGY4CE7.js.map} +0 -0
  348. /package/dist/chunks/{chunk-IRUDNBAR.js.map → chunk-5W7CSQXQ.js.map} +0 -0
  349. /package/dist/chunks/{chunk-H6AUN2YD.js.map → chunk-6F4PW7TF.js.map} +0 -0
  350. /package/dist/chunks/{chunk-LHZSSQ6K.js.map → chunk-6NDJLXKW.js.map} +0 -0
  351. /package/dist/chunks/{chunk-NXX6C3WS.js.map → chunk-6OWRRNLC.js.map} +0 -0
  352. /package/dist/chunks/{chunk-FUJSGQYW.js.map → chunk-6WPKPHE2.js.map} +0 -0
  353. /package/dist/chunks/{chunk-VHFPIYVY.js.map → chunk-7BRK6EHB.js.map} +0 -0
  354. /package/dist/chunks/{chunk-WSIMHBEQ.js.map → chunk-7HNWFGWD.js.map} +0 -0
  355. /package/dist/chunks/{chunk-THQAGFMO.js.map → chunk-A72NRUYG.js.map} +0 -0
  356. /package/dist/chunks/{chunk-U33GIKBK.js.map → chunk-ADG5OPNS.js.map} +0 -0
  357. /package/dist/chunks/{chunk-HH3NBBBE.js.map → chunk-B7QEQ7Y3.js.map} +0 -0
  358. /package/dist/chunks/{chunk-G5FWVYK2.js.map → chunk-BWI7L43E.js.map} +0 -0
  359. /package/dist/chunks/{chunk-2OAD3CZE.js.map → chunk-CAOGKKB5.js.map} +0 -0
  360. /package/dist/chunks/{chunk-K5FQ4G64.js.map → chunk-D7BXM6WW.js.map} +0 -0
  361. /package/dist/chunks/{chunk-KZ5WYSA6.js.map → chunk-EPIIR5CJ.js.map} +0 -0
  362. /package/dist/chunks/{chunk-M7LCVDP3.js.map → chunk-EVRWBRUB.js.map} +0 -0
  363. /package/dist/chunks/{chunk-BICC735N.js.map → chunk-GXQ4G3KA.js.map} +0 -0
  364. /package/dist/chunks/{chunk-THJQXERD.js.map → chunk-H2JLRNYH.js.map} +0 -0
  365. /package/dist/chunks/{chunk-S2UDKXWH.js.map → chunk-H2RDYYTB.js.map} +0 -0
  366. /package/dist/chunks/{chunk-P6RUYL3F.js.map → chunk-H5H6HDRA.js.map} +0 -0
  367. /package/dist/chunks/{chunk-ADCVLGQO.js.map → chunk-HIJXUSOS.js.map} +0 -0
  368. /package/dist/chunks/{chunk-GAEZQRQI.js.map → chunk-HYPNAC4H.js.map} +0 -0
  369. /package/dist/chunks/{chunk-OENL667J.js.map → chunk-I6W3KJR3.js.map} +0 -0
  370. /package/dist/chunks/{chunk-HGIIAAEG.js.map → chunk-IFEBBQ2M.js.map} +0 -0
  371. /package/dist/chunks/{chunk-X7WLWVR7.js.map → chunk-IPVDXTWF.js.map} +0 -0
  372. /package/dist/chunks/{chunk-FZR4XULA.js.map → chunk-IZDYKTPN.js.map} +0 -0
  373. /package/dist/chunks/{chunk-7TBETDTX.js.map → chunk-JCLZ5HXI.js.map} +0 -0
  374. /package/dist/chunks/{chunk-7NJAEWFK.js.map → chunk-JU7JQ62S.js.map} +0 -0
  375. /package/dist/chunks/{chunk-JAB62RI5.js.map → chunk-KY2WSKNM.js.map} +0 -0
  376. /package/dist/chunks/{chunk-THUX2WOG.js.map → chunk-L3XUPXPP.js.map} +0 -0
  377. /package/dist/chunks/{chunk-Y2PZNQH5.js.map → chunk-LMVXENEF.js.map} +0 -0
  378. /package/dist/chunks/{chunk-GCFXQSN6.js.map → chunk-LOKFLXQL.js.map} +0 -0
  379. /package/dist/chunks/{chunk-BOM64EUQ.js.map → chunk-NFATUZMX.js.map} +0 -0
  380. /package/dist/chunks/{chunk-VAP6YMB6.js.map → chunk-NGMXEU2B.js.map} +0 -0
  381. /package/dist/chunks/{chunk-J2FGTLZV.js.map → chunk-NI3LZ6UX.js.map} +0 -0
  382. /package/dist/chunks/{chunk-TFOIA3U3.js.map → chunk-NS4PN3SI.js.map} +0 -0
  383. /package/dist/chunks/{chunk-ANHFJD66.js.map → chunk-NZ6DX5CL.js.map} +0 -0
  384. /package/dist/chunks/{chunk-B6INWHLR.js.map → chunk-PAY5TGHV.js.map} +0 -0
  385. /package/dist/chunks/{chunk-KVCYYXCS.js.map → chunk-PFFQOCEI.js.map} +0 -0
  386. /package/dist/chunks/{chunk-CDDS3UKB.js.map → chunk-PQTS7XQB.js.map} +0 -0
  387. /package/dist/chunks/{chunk-6ZEHXLF7.js.map → chunk-Q6DM2TVI.js.map} +0 -0
  388. /package/dist/chunks/{chunk-MKRYUMLP.js.map → chunk-Q6RZ64FS.js.map} +0 -0
  389. /package/dist/chunks/{chunk-VGUU6E6X.js.map → chunk-Q7ELMF4C.js.map} +0 -0
  390. /package/dist/chunks/{chunk-TUF4NNJV.js.map → chunk-QWVWGW6I.js.map} +0 -0
  391. /package/dist/chunks/{chunk-VY377HAA.js.map → chunk-QXNROEIH.js.map} +0 -0
  392. /package/dist/chunks/{chunk-WG32TSVL.js.map → chunk-RPCJJZTI.js.map} +0 -0
  393. /package/dist/chunks/{chunk-P7MNE6YP.js.map → chunk-T3NLKQO2.js.map} +0 -0
  394. /package/dist/chunks/{chunk-43PTHA5N.js.map → chunk-TGPKTH2S.js.map} +0 -0
  395. /package/dist/chunks/{chunk-667W6Z5W.js.map → chunk-TOJSNO4M.js.map} +0 -0
  396. /package/dist/chunks/{chunk-L6QJZZCJ.js.map → chunk-U4YXQWPW.js.map} +0 -0
  397. /package/dist/chunks/{chunk-P6FEQPES.js.map → chunk-U5BN3L3Y.js.map} +0 -0
  398. /package/dist/chunks/{chunk-TKIWAXRU.js.map → chunk-UQJPNUDU.js.map} +0 -0
  399. /package/dist/chunks/{chunk-S766UWAQ.js.map → chunk-V26FS5VG.js.map} +0 -0
  400. /package/dist/chunks/{chunk-LR4QQMJH.js.map → chunk-V3R3MR7F.js.map} +0 -0
  401. /package/dist/chunks/{chunk-NUNOIP4Y.js.map → chunk-VPJG7NQL.js.map} +0 -0
  402. /package/dist/chunks/{chunk-43HR3AF5.js.map → chunk-W6E3PSFH.js.map} +0 -0
  403. /package/dist/chunks/{chunk-24FBGXYR.js.map → chunk-WNOB6C62.js.map} +0 -0
  404. /package/dist/chunks/{chunk-U3EQTU4G.js.map → chunk-X2F5ZFBV.js.map} +0 -0
  405. /package/dist/chunks/{chunk-YLNQLDMP.js.map → chunk-XHR3UCKT.js.map} +0 -0
  406. /package/dist/chunks/{chunk-X4WCRRZV.js.map → chunk-XK26JNIF.js.map} +0 -0
  407. /package/dist/chunks/{chunk-JKPUOSDC.js.map → chunk-XN7C5GWO.js.map} +0 -0
  408. /package/dist/chunks/{chunk-46OOPRR6.js.map → chunk-XOIXLN2Y.js.map} +0 -0
  409. /package/dist/chunks/{chunk-D23EJNO5.js.map → chunk-ZB45QDNU.js.map} +0 -0
  410. /package/dist/chunks/{commands-LVUUZ6LF.js.map → commands-56WUDKVN.js.map} +0 -0
  411. /package/dist/chunks/{crash-report-PGXMRS5P.js.map → crash-report-KHJZ3AKU.js.map} +0 -0
  412. /package/dist/chunks/{dist-NSCNMOX7.js.map → dist-BLCQRSQS.js.map} +0 -0
  413. /package/dist/chunks/{dist-TC6H7TPQ.js.map → dist-QZPA2XDK.js.map} +0 -0
  414. /package/dist/chunks/{doctor-P7L35KGN.js.map → doctor-LCRG5FBA.js.map} +0 -0
  415. /package/dist/chunks/{drain-HOHRXIYY.js.map → drain-47IMDCI5.js.map} +0 -0
  416. /package/dist/chunks/{eval-2F473JAC.js.map → eval-5ZIBALCB.js.map} +0 -0
  417. /package/dist/chunks/{home-R6WCBSOT.js.map → home-DXPCVXZK.js.map} +0 -0
  418. /package/dist/chunks/{host-JGPJVLTC.js.map → host-QE4D3UXC.js.map} +0 -0
  419. /package/dist/chunks/{host-queries-QWV47CFK.js.map → host-queries-5H765XNX.js.map} +0 -0
  420. /package/dist/chunks/{learn-3UPHM5OI.js.map → learn-Y5IBBZDY.js.map} +0 -0
  421. /package/dist/chunks/{learn-builtin-3Q4BJFCF.js.map → learn-builtin-ND3T6U5L.js.map} +0 -0
  422. /package/dist/chunks/{lifecycle-EJLVISCU.js.map → lifecycle-FJS7LD7B.js.map} +0 -0
  423. /package/dist/chunks/{live-IWDOVSLG.js.map → live-CSA2LX3R.js.map} +0 -0
  424. /package/dist/chunks/{login-B2PHE6IL.js.map → login-42ZPPMYK.js.map} +0 -0
  425. /package/dist/chunks/{logs-5UTV3FMG.js.map → logs-7MAFXNFR.js.map} +0 -0
  426. /package/dist/chunks/{mouse-WFSJSLQD.js.map → mouse-EJQML44I.js.map} +0 -0
  427. /package/dist/chunks/{open-LDBJL43A.js.map → open-3I5NZTSX.js.map} +0 -0
  428. /package/dist/chunks/{operator-tools-NA7PLRIP.js.map → operator-tools-PK2WYSF3.js.map} +0 -0
  429. /package/dist/chunks/{output-schema-UKYWRZPS.js.map → output-schema-2UJ7LOOX.js.map} +0 -0
  430. /package/dist/chunks/{pal-MAVUNYMB.js.map → pal-WXN4O3DD.js.map} +0 -0
  431. /package/dist/chunks/{palette-WDPS7W6Q.js.map → palette-CL5OOYGK.js.map} +0 -0
  432. /package/dist/chunks/{peers-FBTQW2SY.js.map → peers-JQOUU3CX.js.map} +0 -0
  433. /package/dist/chunks/{prefix-MLAG4KTK.js.map → prefix-3ZNPUSUK.js.map} +0 -0
  434. /package/dist/chunks/{providers-M75ET3GT.js.map → providers-SI467SWN.js.map} +0 -0
  435. /package/dist/chunks/{pty-VMUEEJRN.js.map → pty-T5LBAATA.js.map} +0 -0
  436. /package/dist/chunks/{resume-7B3EHDJ7.js.map → resume-GPXJJXCK.js.map} +0 -0
  437. /package/dist/chunks/{resume-command-5QGHV6WR.js.map → resume-command-V6ZKY7J6.js.map} +0 -0
  438. /package/dist/chunks/{schedule-BK3WF2VK.js.map → schedule-4L4DTRC5.js.map} +0 -0
  439. /package/dist/chunks/{session-step-DORV5FER.js.map → session-step-ZCZNC52S.js.map} +0 -0
  440. /package/dist/chunks/{skills-TDDPMTQI.js.map → skills-QARQHL6M.js.map} +0 -0
  441. /package/dist/chunks/{start-check-N4TPV2TM.js.map → start-check-W72K6M5Q.js.map} +0 -0
  442. /package/dist/chunks/{state-SHLWYVZU.js.map → state-ADQWQEYB.js.map} +0 -0
  443. /package/dist/chunks/{store-75YZOOZI.js.map → store-IVVYIPV2.js.map} +0 -0
  444. /package/dist/chunks/{store-CQVUIU7K.js.map → store-KOGQWG66.js.map} +0 -0
  445. /package/dist/chunks/{store-GUSFCKJA.js.map → store-RF6D7U2T.js.map} +0 -0
  446. /package/dist/chunks/{store-Z5H6LYVE.js.map → store-TFJ73ZAM.js.map} +0 -0
  447. /package/dist/chunks/{upgrade-RHPZQ33L.js.map → upgrade-LN6TFWDW.js.map} +0 -0
  448. /package/dist/chunks/{worktree-5IYFN33C.js.map → worktree-5M2XFFJT.js.map} +0 -0
  449. /package/dist/{spaces → workspaces}/peers.d.ts +0 -0
  450. /package/dist/{spaces → workspaces}/selection.d.ts +0 -0
@@ -2,11 +2,12 @@ import { type CopyHost } from '../integrations/clipboard/copy.js';
2
2
  import type { HostPtyModule } from '../terminal/pty.js';
3
3
  import { type GitLookup } from './git.js';
4
4
  import { type MouseMode } from './mouse.js';
5
+ import { type ColorLevel } from './palette.js';
5
6
  import { type PeerSource } from './peers.js';
6
7
  import type { Prefix } from './prefix.js';
7
8
  import { Roster } from './roster.js';
8
9
  import { ChildSession, type LocalPaneSession, type SessionSpec } from './session.js';
9
- import type { SavedLayout, SpacesStore } from './store.js';
10
+ import type { SavedLayout, WorkspacesStore } from './store.js';
10
11
  export interface HostInput {
11
12
  on(event: 'data', listener: (chunk: string | Buffer) => void): unknown;
12
13
  off(event: 'data', listener: (chunk: string | Buffer) => void): unknown;
@@ -74,18 +75,18 @@ export interface LocalPane {
74
75
  /** The id of the conversation it is in, once it has one; a pane that carries it is this session. */
75
76
  readonly conversationId: () => string | undefined;
76
77
  }
77
- export interface SpacesHostOptions {
78
+ export interface WorkspacesHostOptions {
78
79
  readonly input: HostInput;
79
80
  readonly output: HostOutput;
80
81
  readonly binding: HostPtyModule;
81
82
  /** The program for a session. */
82
83
  readonly spec: (request: SessionRequest) => SessionSpec;
83
- /** The space the host opens with, and starts a session in. */
84
+ /** The workspace the host opens with, and starts a session in. */
84
85
  readonly folder: {
85
86
  readonly cwd: string;
86
87
  readonly name: string;
87
88
  };
88
- /** Spaces and sessions shown but not started until opened. */
89
+ /** Workspaces and sessions shown but not started until opened. */
89
90
  readonly listed?: readonly {
90
91
  cwd: string;
91
92
  name: string;
@@ -95,15 +96,15 @@ export interface SpacesHostOptions {
95
96
  /** The accounts a new session can start on; none means every session starts on the usual sign-in. */
96
97
  readonly accounts?: () => readonly HostAccount[];
97
98
  /** Where the layout is remembered between runs. */
98
- readonly store?: SpacesStore;
99
+ readonly store?: WorkspacesStore;
99
100
  /** The layout of the previous run, shown at start with its sessions not yet started. */
100
101
  readonly restored?: SavedLayout;
101
102
  /** True when the command carries its own options, which then start a fresh session instead of restoring focus. */
102
103
  readonly freshFirst?: boolean;
103
104
  /** Whether a conversation is already open in another terminal; asked before a restored session starts. */
104
105
  readonly inUseElsewhere?: (query: ConversationQuery) => Promise<boolean>;
105
- /** Whether to draw in true colour; by default what the terminal advertises through COLORTERM. */
106
- readonly truecolor?: boolean;
106
+ /** How much colour to draw in; by default what the terminal and the environment (`NO_COLOR`, `COLORTERM`) say. */
107
+ readonly colors?: ColorLevel;
107
108
  readonly schedule?: Schedule;
108
109
  /** Reads a folder's branch for the sidebar; asked after the first frame, never while one is drawn. */
109
110
  readonly git?: GitLookup;
@@ -113,7 +114,7 @@ export interface SpacesHostOptions {
113
114
  readonly kill?: ConstructorParameters<typeof ChildSession>[4];
114
115
  /** Where the sessions' states come from; without it every started session shows as starting. */
115
116
  readonly peers?: PeerSource;
116
- /** The session the host runs inside of; the host then starts hidden, until `openSpaces`. */
117
+ /** The session the host runs inside of; the host then starts hidden, until `openWorkspaces`. */
117
118
  readonly local?: LocalPane;
118
119
  /** How much of the pointer is asked of the terminal; `full` when absent. */
119
120
  readonly mouse?: MouseMode;
@@ -130,15 +131,15 @@ export interface SpacesHostOptions {
130
131
  readonly homeDirectory?: string;
131
132
  }
132
133
  /**
133
- * The spaces shell: a sidebar of spaces and sessions, and beside it the shown
134
- * space's tab, a tiling of panes, each a session.
134
+ * The workspaces shell: a sidebar of workspaces and sessions, and beside it the shown
135
+ * workspace's tab, a tiling of panes, each a session.
135
136
  *
136
137
  * It draws and routes keys and nothing else. Each session is a whole `namzu`
137
138
  * running in its own pseudo-terminal, so a session that crashes greys its row and
138
139
  * the rest keep running. What a session is doing comes from the live record its
139
140
  * terminal publishes, never from reading its screen.
140
141
  */
141
- export declare class SpacesHost {
142
+ export declare class WorkspacesHost {
142
143
  private readonly options;
143
144
  readonly roster: Roster;
144
145
  private sidebar;
@@ -158,7 +159,7 @@ export declare class SpacesHost {
158
159
  private goto;
159
160
  private accountList;
160
161
  private context;
161
- /** A space being dragged in the sidebar, and the place it would land. */
162
+ /** A workspace being dragged in the sidebar, and the place it would land. */
162
163
  private reorder;
163
164
  private cancelSave;
164
165
  private forgetAll;
@@ -177,7 +178,7 @@ export declare class SpacesHost {
177
178
  private closed;
178
179
  /** True while the real terminal belongs to the local session and nothing of the host is drawn. */
179
180
  private hidden;
180
- /** `split` is the spaces screen; `full` draws the selected child alone on the whole terminal. */
181
+ /** `split` is the workspaces screen; `full` draws the selected child alone on the whole terminal. */
181
182
  private view;
182
183
  private localEntry;
183
184
  private quitting;
@@ -190,7 +191,7 @@ export declare class SpacesHost {
190
191
  private stopWatching;
191
192
  private reconciling;
192
193
  private readonly leaving;
193
- private readonly palette;
194
+ private paletteCache;
194
195
  /** A border being dragged: the split it moves and where on the border it was grabbed. */
195
196
  private drag;
196
197
  private readonly router;
@@ -209,48 +210,50 @@ export declare class SpacesHost {
209
210
  private get mouseMode();
210
211
  /** If the process ends without a clean close, still hand the terminal back and stop the sessions. */
211
212
  private readonly onProcessExit;
212
- constructor(options: SpacesHostOptions);
213
+ /** The chrome's colours, from the theme showing now: a theme switched in the TUI restyles the screen at its next frame. */
214
+ private get palette();
215
+ constructor(options: WorkspacesHostOptions);
213
216
  start(): void;
214
217
  /**
215
- * Brings back the saved spaces and makes the running conversation one of the
218
+ * Brings back the saved workspaces and makes the running conversation one of the
216
219
  * panes: the one that carries its conversation id, or else a new tab in the
217
- * space of its folder. Nothing else is started here.
220
+ * workspace of its folder. Nothing else is started here.
218
221
  */
219
222
  private seedLocal;
220
- /** True while the spaces screen is on the terminal. */
223
+ /** True while the workspaces screen is on the terminal. */
221
224
  get visible(): boolean;
222
- /** Puts the spaces screen up, with the running conversation selected and the keyboard on the sidebar. */
223
- openSpaces(): void;
225
+ /** Puts the workspaces screen up, with the running conversation selected and the keyboard on the sidebar. */
226
+ openWorkspaces(): void;
224
227
  /** Hands the terminal to the running conversation: leaves the alternate screen and lets it repaint. */
225
228
  private openNative;
226
229
  /**
227
230
  * The conversation is about to unmount: gives the main screen back and has the conversation print
228
231
  * its whole history there, so Ink's last frame lands on a screen that is already right. True when
229
- * the spaces screen was up and has been left.
232
+ * the workspaces screen was up and has been left.
230
233
  */
231
234
  releaseTerminal(): boolean;
232
235
  /**
233
236
  * Runs `run` with the terminal handed back to the real shell (an editor, a pager): the pointer is
234
- * switched off and the main screen returns first, and the spaces screen is entered again afterwards
235
- * even if `run` throws. Nothing happens around `run` when the spaces screen is not on the terminal.
237
+ * switched off and the main screen returns first, and the workspaces screen is entered again afterwards
238
+ * even if `run` throws. Nothing happens around `run` when the workspaces screen is not on the terminal.
236
239
  */
237
240
  withTerminalHandoff<T>(run: () => Promise<T> | T): Promise<T>;
238
- /** Moves the keyboard from a pane to the sidebar of the spaces screen. */
241
+ /** Moves the keyboard from a pane to the sidebar of the workspaces screen. */
239
242
  focusSidebar(): void;
240
243
  /** What a hosted session asked of the host through its terminal. */
241
244
  private childSignal;
242
- /** The first run: the current folder as a space with the session the command started. */
245
+ /** The first run: the current folder as a workspace with the session the command started. */
243
246
  private fresh;
244
247
  /**
245
- * Brings back the previous run's spaces, tabs and panes, none of them started.
248
+ * Brings back the previous run's workspaces, tabs and panes, none of them started.
246
249
  * The one shown is where focus was, unless the command carries its own options
247
250
  * or its folder is new, which start a fresh session of their own.
248
251
  */
249
252
  private restore;
250
- private restoreSpaces;
253
+ private restoreWorkspaces;
251
254
  private restoreTab;
252
255
  private addEntry;
253
- /** A session in a tab of its own, after the space's other tabs. */
256
+ /** A session in a tab of its own, after the workspace's other tabs. */
254
257
  private newTabIn;
255
258
  private layout;
256
259
  /** The sidebar's view of the host: what it needs to draw and to find what a click lands on. */
@@ -275,7 +278,7 @@ export declare class SpacesHost {
275
278
  private armReconcile;
276
279
  /** Takes what each session's terminal last wrote about itself. */
277
280
  readStatus(): void;
278
- /** A session that moved to another account makes that account the one its space offers first. */
281
+ /** A session that moved to another account makes that account the one its workspace offers first. */
279
282
  private rememberAccount;
280
283
  /** Asks each terminal its state directly, so a change that was never written is still seen. */
281
284
  reconcile(): Promise<void>;
@@ -293,16 +296,16 @@ export declare class SpacesHost {
293
296
  private shownTabLabel;
294
297
  /**
295
298
  * The running conversation is about to end (`/exit`, ctrl+c twice). With no other session
296
- * mid-turn it may go at once; otherwise the spaces screen comes up with the quit question
299
+ * mid-turn it may go at once; otherwise the workspaces screen comes up with the quit question
297
300
  * and the answer decides.
298
301
  */
299
302
  askLocalExit(): Promise<boolean>;
300
303
  private askQuit;
301
304
  private toggleSidebar;
302
- /** A space in the focused pane's folder, started on the same account. */
303
- private newSpaceHere;
304
- /** A new space in a folder, its first session on the account the focused pane runs on. */
305
- private newSpaceIn;
305
+ /** A workspace in the focused pane's folder, started on the same account. */
306
+ private newWorkspaceHere;
307
+ /** A new workspace in a folder, its first session on the account the focused pane runs on. */
308
+ private newWorkspaceIn;
306
309
  private captured;
307
310
  /** Closes whatever overlay is open without doing what it asked. */
308
311
  private dismiss;
@@ -323,7 +326,7 @@ export declare class SpacesHost {
323
326
  private chooseContext;
324
327
  private resizeKey;
325
328
  private navigateKey;
326
- /** Moves the selection through the sessions in the order the sidebar lists them; the space and its tab follow. */
329
+ /** Moves the selection through the sessions in the order the sidebar lists them; the workspace and its tab follow. */
327
330
  private stepSession;
328
331
  /** Opens the selected session full screen: the running conversation natively, a child on the whole terminal. */
329
332
  private openFull;
@@ -337,24 +340,24 @@ export declare class SpacesHost {
337
340
  private toggleZoom;
338
341
  private stepTab;
339
342
  private gotoTab;
340
- /** Closes the focused pane; the last pane of a tab closes the tab, and of a space's only tab asks to close the space. */
343
+ /** Closes the focused pane; the last pane of a tab closes the tab, and of a workspace's only tab asks to close the workspace. */
341
344
  private closePane;
342
- /** Closes a tab; a space's only tab closes the space, after asking. */
343
- private closeTabOrSpace;
345
+ /** Closes a tab; a workspace's only tab closes the workspace, after asking. */
346
+ private closeTabOrWorkspace;
344
347
  private closeTab;
345
- /** Starts a session in a new tab of the shown space, asking which account first when there is a choice. */
348
+ /** Starts a session in a new tab of the shown workspace, asking which account first when there is a choice. */
346
349
  private newTab;
347
350
  private startIn;
348
- /** Moves among the spaces, showing each one's tab without starting what it holds. */
349
- private stepSpace;
350
- private gotoSpace;
351
+ /** Moves among the workspaces, showing each one's tab without starting what it holds. */
352
+ private stepWorkspace;
353
+ private gotoWorkspace;
351
354
  private pickerKey;
352
355
  private askFolder;
353
356
  private askName;
354
357
  private promptKey;
355
358
  private endPrompt;
356
359
  private expand;
357
- /** Opens a folder as a space, or shows the space it already is. */
360
+ /** Opens a folder as a workspace, or shows the workspace it already is. */
358
361
  private openFolder;
359
362
  private perform;
360
363
  /** Ends the sessions and takes their panes away; closing the last one leaves nothing to bring back and quits. */
@@ -365,11 +368,11 @@ export declare class SpacesHost {
365
368
  /** Moves the sidebar's edge, or the rule between its sections, to follow the pointer. */
366
369
  private dragSidebar;
367
370
  private sidebarPress;
368
- /** A pointer button went up: a drag of a border, the sidebar or a space ends, and a moved space lands. */
371
+ /** A pointer button went up: a drag of a border, the sidebar or a workspace ends, and a moved workspace lands. */
369
372
  private endDrags;
370
- /** While a space is dragged: the place it would land is the space row under the pointer. */
371
- private dragSpace;
372
- /** A right-click: a menu for the space, tab or pane under the pointer. */
373
+ /** While a workspace is dragged: the place it would land is the workspace row under the pointer. */
374
+ private dragWorkspace;
375
+ /** A right-click: a menu for the workspace, tab or pane under the pointer. */
373
376
  private openContext;
374
377
  private screen;
375
378
  /** Where the open overlay is, for finding what a press lands on. */
@@ -383,8 +386,8 @@ export declare class SpacesHost {
383
386
  /** While an overlay is open a press picks inside it, and anywhere else closes it. */
384
387
  private overlayMouse;
385
388
  private pressOverlay;
386
- /** A press in the workspace area: a tab, the "+", a border to drag, or a pane to focus. */
387
- private workspacePress;
389
+ /** A press in the pane area: a tab, the "+", a border to drag, or a pane to focus. */
390
+ private panePress;
388
391
  /** The cell of the emulator's lines under the pointer, kept inside the pane. */
389
392
  private pointAt;
390
393
  /** A press inside a pane: the anchor of a drag, or at once the word or line a double or triple click names. */
@@ -417,24 +420,30 @@ export declare class SpacesHost {
417
420
  private menuSurface;
418
421
  /** What the bottom bar says in a mode: a chip, then keys and what they do. */
419
422
  private modeBar;
423
+ /**
424
+ * Draws the mode bar at the right end of `area`, a row that holds no pane cells: the tab bar's
425
+ * rule. Hints that do not fit are left out, the chip never is.
426
+ */
420
427
  private drawModeBar;
428
+ /** A line of notice at the right end of `area`, in the warning colour. */
429
+ private drawNotice;
421
430
  private requestRender;
422
431
  /** Paints the current state now, after the emulator has taken all output received so far. */
423
432
  render(): Promise<void>;
424
433
  /** A drawing error never ends the chain; repeated ones close the host so the terminal is restored. */
425
434
  private paintFailed;
426
435
  private paint;
427
- /** Reads every space's branch now and then again on a timer. */
436
+ /** Reads every workspace's branch now and then again on a timer. */
428
437
  private armGit;
429
438
  /** Draws the open overlay on top; a modal first dims everything under it. */
430
439
  private drawOverlay;
431
- /** The line a dragged space would land at: under the row above the place it would take. */
440
+ /** The line a dragged workspace would land at: under the row above the place it would take. */
432
441
  private drawDrop;
433
442
  /** Shows the selected cells in reverse video. */
434
443
  private paintSelection;
435
444
  /** One pane: its border (the focused one in the accent colour), then its session or what stands in for it. */
436
445
  private drawPane;
437
- /** What is written between runs: spaces with their tabs and pane trees, and where focus is. */
446
+ /** What is written between runs: workspaces with their tabs and pane trees, and where focus is. */
438
447
  snapshot(): SavedLayout;
439
448
  /** Writes the layout soon; a burst of changes becomes one write. */
440
449
  private persist;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../src/workspaces/host.ts"],"names":[],"mappings":"AAKA,OAAO,EAEN,KAAK,QAAQ,EAIb,MAAM,mCAAmC,CAAA;AAK1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGvD,OAAO,EAAY,KAAK,SAAS,EAAa,MAAM,UAAU,CAAA;AAoB9D,OAAO,EAAiC,KAAK,SAAS,EAAwB,MAAM,YAAY,CAAA;AAiBhG,OAAO,EAAE,KAAK,UAAU,EAAwC,MAAM,cAAc,CAAA;AACpF,OAAO,EAAE,KAAK,UAAU,EAA+B,MAAM,YAAY,CAAA;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAc,MAAM,EAA4B,MAAM,aAAa,CAAA;AAY1E,OAAO,EACN,YAAY,EACZ,KAAK,gBAAgB,EAErB,KAAK,WAAW,EAChB,MAAM,cAAc,CAAA;AAgBrB,OAAO,KAAK,EAAE,WAAW,EAAuB,eAAe,EAAE,MAAM,YAAY,CAAA;AAsBnF,MAAM,WAAW,SAAS;IACzB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,GAAG,OAAO,CAAA;IACtE,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,QAA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I,OAAO,CAAC,IAAI,CAAC;IAYvB,sGAAsG;IACtG,OAAO,CAAC,WAAW;YAUL,KAAK;IAmEnB,oEAAoE;IACpE,OAAO,CAAC,MAAM;IASd,6EAA6E;IAC7E,OAAO,CAAC,WAAW;IA0BnB,+FAA+F;IAC/F,OAAO,CAAC,QAAQ;IAsBhB,iDAAiD;IACjD,OAAO,CAAC,cAAc;IActB,8GAA8G;IAC9G,OAAO,CAAC,QAAQ;IA+ChB,mGAAmG;IACnG,QAAQ,IAAI,WAAW;IAyDvB,oEAAoE;IACpE,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,WAAW;IAUnB,oEAAoE;IACpE,IAAI,IAAI,IAAI;IAgBZ,OAAO,CAAC,KAAK;CAyBb"}
@@ -25,7 +25,7 @@ export type NavKey = {
25
25
  /**
26
26
  * What the keyboard is doing: `terminal` sends keys to the focused session,
27
27
  * `prefix` waits for the one key after the prefix, `resize` moves borders until
28
- * it is left, and `navigate` moves through the spaces.
28
+ * it is left, and `navigate` moves through the workspaces.
29
29
  */
30
30
  export type InputMode = 'terminal' | 'prefix' | 'resize' | 'navigate';
31
31
  /** Where a host key came from: the key after the prefix, a mode, or text being typed. */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/workspaces/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,kFAAkF;AAClF,MAAM,MAAM,MAAM,GACf;IAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GACvB;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC1B;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAA;CAAE,GACxB;IAAE,QAAQ,CAAC,IAAI,EAA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C;AAC9C,eAAO,MAAM,KAAK,WAAS,CAAA;AAQ3B;;;;;;;;;;GAUG;AACH,qBAAa,WAAW;IAMX,OAAO,CAAC,QAAQ,CAAC,MAAM;IALnC,OAAO,CAAC,IAAI,CAAwB;IACpC,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,SAAS,CAAQ;gBAEI,MAAM,EAAE,MAAM;IAE3C,IAAI,OAAO,IAAI,SAAS,CAEvB;IAED,8CAA8C;IAC9C,KAAK,IAAI,IAAI;IAIb,0EAA0E;IAC1E,aAAa,IAAI,IAAI;IAIrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI;IAI1B,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,EAAE;CAwGlC"}
@@ -1,7 +1,7 @@
1
1
  import type { NavKey } from './input.js';
2
2
  /** Everything the key after the prefix can ask for. */
3
- export type ActionId = 'help' | 'menu' | 'quit' | 'goto' | 'new-space' | 'open-folder' | 'rename-space' | 'close-space' | 'space-mode' | 'sidebar' | 'new-tab' | 'rename-tab' | 'close-tab' | 'prev-tab' | 'next-tab' | 'tab-number' | 'split-side' | 'split-stack' | 'focus-left' | 'focus-down' | 'focus-up' | 'focus-right' | 'swap-left' | 'swap-down' | 'swap-up' | 'swap-right' | 'next-pane' | 'prev-pane' | 'close-pane' | 'zoom' | 'resize-mode' | 'rename-pane';
4
- export type BindingGroup = 'General' | 'Spaces' | 'Tabs' | 'Panes';
3
+ export type ActionId = 'help' | 'menu' | 'quit' | 'goto' | 'new-workspace' | 'open-folder' | 'rename-workspace' | 'close-workspace' | 'workspace-mode' | 'sidebar' | 'new-tab' | 'rename-tab' | 'close-tab' | 'prev-tab' | 'next-tab' | 'tab-number' | 'split-side' | 'split-stack' | 'focus-left' | 'focus-down' | 'focus-up' | 'focus-right' | 'swap-left' | 'swap-down' | 'swap-up' | 'swap-right' | 'next-pane' | 'prev-pane' | 'close-pane' | 'zoom' | 'resize-mode' | 'rename-pane';
4
+ export type BindingGroup = 'General' | 'Workspaces' | 'Tabs' | 'Panes';
5
5
  /** One entry of the key map: the keys after the prefix, what they do, and the words for the help. */
6
6
  export interface Binding {
7
7
  /** Characters, or `tab` / `backtab`, that trigger it. */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../src/workspaces/keymap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAExC,uDAAuD;AACvD,MAAM,MAAM,QAAQ,GACjB,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,eAAe,GACf,aAAa,GACb,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,SAAS,GACT,SAAS,GACT,YAAY,GACZ,WAAW,GACX,UAAU,GACV,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,GACX,WAAW,GACX,SAAS,GACT,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,MAAM,GACN,aAAa,GACb,aAAa,CAAA;AAEhB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtE,qGAAqG;AACrG,MAAM,WAAW,OAAO;IACvB,yDAAyD;IACzD,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IAChC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAA;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAID;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,SAAS,OAAO,EA2CtC,CAAA;AAED,2EAA2E;AAC3E,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI3C;AAOD,uDAAuD;AACvD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAK3D;AAED,MAAM,WAAW,OAAO;IACvB,kDAAkD;IAClD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,qFAAqF;AACrF,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,EAAE,CAQtD"}
@@ -5,10 +5,10 @@ export interface Layout {
5
5
  readonly rail: boolean;
6
6
  /** The one-column rule between the sidebar and the session; it is also the handle that resizes the sidebar. */
7
7
  readonly rule: Rect | undefined;
8
- /** The workspace area: the tab bar and the panes under it. */
8
+ /** The pane area: the tab bar and the panes under it. */
9
9
  readonly main: Rect;
10
- /** The one-row tab bar across the top of the main area. */
11
- readonly tabBar: Rect;
10
+ /** The tab bar across the top of the main area: the chips, then a rule. Not reported where it is not drawn (a session shown full screen). */
11
+ readonly tabBar: Rect | undefined;
12
12
  /** What is left for the panes. */
13
13
  readonly panes: Rect;
14
14
  }
@@ -18,10 +18,12 @@ export interface SidebarSetting {
18
18
  /** The full sidebar's width, rule included. */
19
19
  readonly width: number;
20
20
  }
21
+ /** The rows the tab bar takes: the chips, then a thin rule that the active tab's span is drawn on. The panes start under it, on the row of the sidebar's first entry. */
22
+ export declare const TAB_BAR_HEIGHT = 2;
21
23
  export declare const SIDEBAR_MIN = 18;
22
24
  export declare const SIDEBAR_MAX = 36;
23
25
  export declare const SIDEBAR_DEFAULT = 26;
24
- /** The rail's width, rule included: an index, a space and a dot. */
26
+ /** The rail's width, rule included: an index, a gap and a dot. */
25
27
  export declare const RAIL_WIDTH = 4;
26
28
  export declare const DEFAULT_SIDEBAR: SidebarSetting;
27
29
  export declare function clampSidebarWidth(width: number): number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/workspaces/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAErD,MAAM,WAAW,MAAM;IACtB,QAAQ,CAAC,OAAO,EAAE,IAAI,GAAG,SAAS,CAAA;IAClC,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,+GAA+G;IAC/G,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,CAAA;IAC/B,yDAAyD;IACzD,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IACnB,6IAA6I;IAC7I,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,SAAS,CAAA;IACjC,kCAAkC;IAClC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAA;CACpB;AAED,2CAA2C;AAC3C,MAAM,WAAW,cAAc;IAC9B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;IAC3B,+CAA+C;IAC/C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAED,yKAAyK;AACzK,eAAO,MAAM,cAAc,IAAI,CAAA;AAC/B,eAAO,MAAM,WAAW,KAAK,CAAA;AAC7B,eAAO,MAAM,WAAW,KAAK,CAAA;AAC7B,eAAO,MAAM,eAAe,KAAK,CAAA;AACjC,kEAAkE;AAClE,eAAO,MAAM,UAAU,IAAI,CAAA;AAI3B,eAAO,MAAM,eAAe,EAAE,cAG7B,CAAA;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGvD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,cAAgC,GACvC,MAAM,CAkCR"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * How much of the pointer the spaces screen asks the terminal to report.
2
+ * How much of the pointer the workspaces screen asks the terminal to report.
3
3
  *
4
4
  * `full` reports presses, releases and drags (the sidebar, tabs, borders and text
5
5
  * selection need them), `scroll` reports only the wheel and presses nothing the host
@@ -25,7 +25,7 @@ export declare const LEAVE_SCREEN: string;
25
25
  /**
26
26
  * Clears pointer reporting a killed earlier run may have left on the terminal. Written once at the
27
27
  * start of an interactive launch, before the first frame; nothing for a stream that is not a
28
- * terminal, or for a session a spaces host runs (its terminal is the host's own emulator).
28
+ * terminal, or for a session a workspaces host runs (its terminal is the host's own emulator).
29
29
  */
30
30
  export declare function writeLaunchMouseReset(out: {
31
31
  readonly isTTY?: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mouse.d.ts","sourceRoot":"","sources":["../../src/workspaces/mouse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAA;AAIjD,kFAAkF;AAClF,eAAO,MAAM,SAAS,QAEZ,CAAA;AAQV;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC/B,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,EACjD,OAAO,CAAC,EAAE,SAAS,GACjB,SAAS,CAIX;AAED,wFAAwF;AACxF,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAI/C;AAED,0GAA0G;AAC1G,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAEnD;AAED,oGAAoG;AACpG,eAAO,MAAM,eAAe,QAA6B,CAAA;AAEzD,qGAAqG;AACrG,eAAO,MAAM,YAAY,QAAmD,CAAA;AAE5E;;;;GAIG;AACH,wBAAgB,qBAAqB,CACpC,GAAG,EAAE;IAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EAC/D,MAAM,EAAE,OAAO,GACb,OAAO,CAIT"}
@@ -31,7 +31,6 @@ export type Hit = {
31
31
  };
32
32
  /** What a press at a cell lands on: a button, a row, the overlay's body, or outside it. */
33
33
  export declare function hitSurface(surface: Surface, x: number, y: number): Hit;
34
- /** A square box in one colour. */
35
34
  export declare function drawBox(frame: Frame, rect: Rect, fg: number, bg?: number): void;
36
35
  /** Dims everything drawn so far, so the overlay on top stands out. */
37
36
  export declare function dimFrame(frame: Frame): void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/workspaces/overlay.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAa,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,wDAAwD;AACxD,MAAM,WAAW,MAAM;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAExD,gGAAgG;AAChG,MAAM,WAAW,OAAO;IACvB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IACnB,QAAQ,CAAC,OAAO,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAA;KAAE,EAAE,CAAA;IAClF,QAAQ,CAAC,IAAI,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CACzE;AAED,MAAM,MAAM,GAAG,GACZ;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,GAC5B;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GAC3B;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,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AAS,EAAE,IAAI,GAAG,SAAS,CAAA;IACpC,2BAA2B;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,yBAAyB;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CACzB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,UAAU,CA6BrE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CA+DjG;AAID,qFAAqF;AACrF,wBAAgB,WAAW,CAC1B,MAAM,EAAE,MAAM,EACd,EAAE,EAAE;IAAE,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC9C,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,QAAQ,SAAK,GACX,OAAO,CAiBT;AAED,wBAAgB,SAAS,CACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,OAAO,GACd,IAAI,CAeN"}
@@ -0,0 +1,75 @@
1
+ import type { SemanticColors, ThemeName } from '../tui/theme.js';
2
+ /** How many colours the terminal shows, which decides how a theme colour is written. */
3
+ export type ColorLevel = 'none' | '16' | '256' | 'truecolor';
4
+ /**
5
+ * The colours the host draws its own chrome in.
6
+ *
7
+ * Every role is a colour of the main Namzu theme (`tui/theme.ts`), written in the form the
8
+ * terminal can show, so the chrome follows the theme the rest of the TUI is drawn in: dark,
9
+ * light, the colour-blind variants and the plain ANSI ones. Nothing here is a colour of its own.
10
+ */
11
+ export interface Palette {
12
+ /** True when there is no colour at all: roles are the terminal default and shape carries the meaning. */
13
+ readonly mono: boolean;
14
+ /** The terminal's own background; the bar and the modals are not painted a colour of their own. */
15
+ readonly base: number;
16
+ /** Text on a filled accent chip: the theme's canvas colour. */
17
+ readonly ink: number;
18
+ /** The active tab, the keys in the mode bar and the picked row of a list. */
19
+ readonly accent: number;
20
+ /** The border of the focused pane and of a modal. */
21
+ readonly focus: number;
22
+ /** The border of a pane without focus, and the rule under the tab bar. */
23
+ readonly border: number;
24
+ /** Quiet text: resting tabs, hints, labels. */
25
+ readonly dim: number;
26
+ readonly text: number;
27
+ readonly subtext: number;
28
+ /** The input fields and buttons of a modal. */
29
+ readonly surface: number;
30
+ /** The faint tint behind the shown workspace and the pane in focus. */
31
+ readonly activeRow: number;
32
+ /** The stronger tint behind the row the navigate cursor is on. */
33
+ readonly cursorRow: number;
34
+ /** State dots: something works, nothing runs, something waits for you, something finished. */
35
+ readonly working: number;
36
+ readonly idle: number;
37
+ readonly blocked: number;
38
+ readonly done: number;
39
+ /** Commits ahead of and behind the upstream. */
40
+ readonly ahead: number;
41
+ readonly behind: number;
42
+ /** The branch line under a workspace. */
43
+ readonly branch: number;
44
+ /** A warning or notice. */
45
+ readonly warn: number;
46
+ /** What a destructive question is drawn in. */
47
+ readonly danger: number;
48
+ /** The chips of the mode bar; prefix mode uses `accent`. */
49
+ readonly navigate: number;
50
+ readonly resize: number;
51
+ }
52
+ type Rgb = readonly [number, number, number];
53
+ /** The index of the 16 colours nearest to another colour. */
54
+ export declare function nearestAnsi(color: Rgb): number;
55
+ /**
56
+ * The cell colour a theme token is drawn as. An `ansi256(n)` token is that palette entry itself (the
57
+ * main TUI draws it the same way, so no hue is approximated), a name is one of the 16 colours, and a
58
+ * hex or `rgb(...)` token is true colour where the terminal shows it and the nearest entry elsewhere.
59
+ */
60
+ export declare function resolveColor(token: string, level: ColorLevel): number;
61
+ /** How much colour this terminal shows: none when `NO_COLOR` or a dumb terminal asks for it. */
62
+ export declare function colorLevel(env: NodeJS.ProcessEnv): ColorLevel;
63
+ /** Whether the terminal says it shows true colour; what the main TUI uses, so both agree. */
64
+ export declare function advertisesTruecolor(env: NodeJS.ProcessEnv): boolean;
65
+ /**
66
+ * The palette for a colour level, from a theme: by default the one the TUI is showing now. At 16
67
+ * colours both tints become bright black, so the shown workspace still stands out (the sidebar lifts
68
+ * text that would otherwise match the tint).
69
+ */
70
+ export declare function paletteFor(level: ColorLevel, source?: {
71
+ readonly theme: SemanticColors;
72
+ readonly name: ThemeName;
73
+ }): Palette;
74
+ export {};
75
+ //# sourceMappingURL=palette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../src/workspaces/palette.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEhE,wFAAwF;AACxF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,WAAW,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,WAAW,OAAO;IACvB,yGAAyG;IACzG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,mGAAmG;IACnG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,+DAA+D;IAC/D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,6EAA6E;IAC7E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,qDAAqD;IACrD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,0EAA0E;IAC1E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,+CAA+C;IAC/C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,+CAA+C;IAC/C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,uEAAuE;IACvE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,kEAAkE;IAClE,QAAQ,CAAC,SAA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@ -0,0 +1 @@
1
+ {"version":3,"file":"peers.d.ts","sourceRoot":"","sources":["../../src/workspaces/peers.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,UAAU,EACf,KAAK,gBAAgB,EAGrB,MAAM,YAAY,CAAA;AAGnB;;;GAGG;AACH,MAAM,WAAW,UAAU;IAC1B,0DAA0D;IAC1D,OAAO,IAAI,SAAS,UAAU,EAAE,CAAA;IAChC,2EAA2E;IAC3E,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAA;IAC/D,iFAAiF;IACjF,KAAK,CAAC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAA;CACxC;AAED,2HAA2H;AAC3H,wBAAgB,aAAa,CAC5B,OAAO,EAAE,SAAS,UAAU,EAAE,EAC9B,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GAAG,SAAS,GACrB,UAAU,GAAG,SAAS,CAGxB;AAED,qHAAqH;AACrH,wBAAgB,YAAY,CAC3B,OAAO,EAAE,SAAS,UAAU,EAAE,EAC9B,GAAG,EAAE,MAAM,GAAG,SAAS,GACrB,UAAU,GAAG,SAAS,CAGxB;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,UAAU,GAAG,SAAS,CAwB/E"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The key that puts the spaces host in navigate mode.
2
+ * The key that puts the workspaces host in navigate mode.
3
3
  *
4
4
  * It must be one control byte the host can see before the child does, so it is
5
5
  * written `ctrl+<letter>` or `ctrl+space`. Keys that a terminal program needs for
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefix.d.ts","sourceRoot":"","sources":["../../src/workspaces/prefix.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,MAAM;IACtB,kEAAkE;IAClE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,iDAAiD;IACjD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,cAAc,EAAE,MAAyC,CAAA;AAKtE,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAW7D;AAED,0DAA0D;AAC1D,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAErD"}