nolzu 0.0.1 → 0.1.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 (491) hide show
  1. package/LICENSE +105 -0
  2. package/README.md +24 -7
  3. package/build/client/_app/immutable/assets/0.SPD4wYkc.css +1 -0
  4. package/build/client/_app/immutable/assets/1.BRilEoOO.css +1 -0
  5. package/build/client/_app/immutable/assets/10.DwLiBGDj.css +1 -0
  6. package/build/client/_app/immutable/assets/11.D_TtWT3D.css +1 -0
  7. package/build/client/_app/immutable/assets/12.CSVGmtUY.css +1 -0
  8. package/build/client/_app/immutable/assets/13.qTa7IHbg.css +1 -0
  9. package/build/client/_app/immutable/assets/19.CbCFXKb8.css +1 -0
  10. package/build/client/_app/immutable/assets/2.CfHhgI77.css +1 -0
  11. package/build/client/_app/immutable/assets/20.C5CSZhyT.css +1 -0
  12. package/build/client/_app/immutable/assets/21.BBpYkZcc.css +1 -0
  13. package/build/client/_app/immutable/assets/22.C9RgY9kl.css +1 -0
  14. package/build/client/_app/immutable/assets/23.B6Dp9RJO.css +1 -0
  15. package/build/client/_app/immutable/assets/24.C7g2abUW.css +1 -0
  16. package/build/client/_app/immutable/assets/26.DTMI6ROV.css +1 -0
  17. package/build/client/_app/immutable/assets/27.AxXMpDkB.css +1 -0
  18. package/build/client/_app/immutable/assets/28.939ac-98.css +1 -0
  19. package/build/client/_app/immutable/assets/3.3lqex1t-.css +1 -0
  20. package/build/client/_app/immutable/assets/4.C52MzO_d.css +1 -0
  21. package/build/client/_app/immutable/assets/5.CsfJAwvS.css +1 -0
  22. package/build/client/_app/immutable/assets/8.ByspUp-s.css +1 -0
  23. package/build/client/_app/immutable/assets/9.BCSFZmce.css +1 -0
  24. package/build/client/_app/immutable/assets/Banner.DDqfpWLD.css +1 -0
  25. package/build/client/_app/immutable/assets/BoardOff.mpX08-Be.css +1 -0
  26. package/build/client/_app/immutable/assets/Button.BlwsEgUc.css +1 -0
  27. package/build/client/_app/immutable/assets/Chip.qAAa6_e5.css +1 -0
  28. package/build/client/_app/immutable/assets/Dialog.D5Ln60a8.css +1 -0
  29. package/build/client/_app/immutable/assets/FeaturePanels.DZ_Mth5M.css +1 -0
  30. package/build/client/_app/immutable/assets/FolderBrowser.DBmRWDCH.css +1 -0
  31. package/build/client/_app/immutable/assets/Geist-Variable.Bj2R_7yk.woff2 +0 -0
  32. package/build/client/_app/immutable/assets/GeistMono-Variable.Dispecij.woff2 +0 -0
  33. package/build/client/_app/immutable/assets/HelpTip.DF6T9nns.css +1 -0
  34. package/build/client/_app/immutable/assets/InfoBox.CpavOykF.css +1 -0
  35. package/build/client/_app/immutable/assets/KeyCaps.D2t-lY-8.css +1 -0
  36. package/build/client/_app/immutable/assets/LogLine.Bu4feLn5.css +1 -0
  37. package/build/client/_app/immutable/assets/Markdown.DI6AtWAc.css +1 -0
  38. package/build/client/_app/immutable/assets/ModelPicker.DQzj7Nj8.css +1 -0
  39. package/build/client/_app/immutable/assets/OptionButtons.BYiyOXOE.css +1 -0
  40. package/build/client/_app/immutable/assets/PeekPanel.DzMdHoqg.css +1 -0
  41. package/build/client/_app/immutable/assets/ScoutPage.CVIiLy5c.css +1 -0
  42. package/build/client/_app/immutable/assets/SetupSteps.B6pZP1Bk.css +1 -0
  43. package/build/client/_app/immutable/assets/Skeleton.BC-1_U5d.css +1 -0
  44. package/build/client/_app/immutable/assets/SlotsMeter.Dq7GGYlD.css +1 -0
  45. package/build/client/_app/immutable/assets/StartConfirm.DxNN2AOb.css +1 -0
  46. package/build/client/_app/immutable/assets/StatePill.CGWFVUUg.css +1 -0
  47. package/build/client/_app/immutable/assets/Streamed.DpZ6wgO2.css +1 -0
  48. package/build/client/_app/immutable/assets/card-pulls.C5uGMuAh.css +1 -0
  49. package/build/client/_app/immutable/assets/next-step.CKg1w06J.css +1 -0
  50. package/build/client/_app/immutable/chunks/-B5EclhK.js +1 -0
  51. package/build/client/_app/immutable/chunks/-Q3zApAy.js +1 -0
  52. package/build/client/_app/immutable/chunks/6-hwN_Ik.js +3 -0
  53. package/build/client/_app/immutable/chunks/B16UF4PA.js +11 -0
  54. package/build/client/_app/immutable/chunks/B1V3h1VF.js +1 -0
  55. package/build/client/_app/immutable/chunks/B2d2Mkuz.js +68 -0
  56. package/build/client/_app/immutable/chunks/B2yzhiEa.js +1 -0
  57. package/build/client/_app/immutable/chunks/B5zDDQUU.js +2 -0
  58. package/build/client/_app/immutable/chunks/B8DHSiWf.js +1 -0
  59. package/build/client/_app/immutable/chunks/B8z33EzI.js +1 -0
  60. package/build/client/_app/immutable/chunks/BCRkrH6c.js +1 -0
  61. package/build/client/_app/immutable/chunks/BCScjOxu.js +1 -0
  62. package/build/client/_app/immutable/chunks/BMUQtCEC.js +1 -0
  63. package/build/client/_app/immutable/chunks/BNnfkvZM.js +1 -0
  64. package/build/client/_app/immutable/chunks/BelWyZaW.js +1 -0
  65. package/build/client/_app/immutable/chunks/BhZpqODT.js +1 -0
  66. package/build/client/_app/immutable/chunks/Bjy-W4x2.js +81 -0
  67. package/build/client/_app/immutable/chunks/BmafI-Bs.js +1 -0
  68. package/build/client/_app/immutable/chunks/BvRk9kiK.js +0 -0
  69. package/build/client/_app/immutable/chunks/C4i6bdQg.js +1 -0
  70. package/build/client/_app/immutable/chunks/C8u5TyIB.js +1 -0
  71. package/build/client/_app/immutable/chunks/CFs2xhoy.js +1 -0
  72. package/build/client/_app/immutable/chunks/CIm2DioU.js +1 -0
  73. package/build/client/_app/immutable/chunks/CONqGBXC.js +1 -0
  74. package/build/client/_app/immutable/chunks/CSOz40qO.js +1 -0
  75. package/build/client/_app/immutable/chunks/CXxuD1ef.js +3 -0
  76. package/build/client/_app/immutable/chunks/CarrGsZA.js +2 -0
  77. package/build/client/_app/immutable/chunks/CdrmTD44.js +1 -0
  78. package/build/client/_app/immutable/chunks/CfJRH9gh.js +2 -0
  79. package/build/client/_app/immutable/chunks/Ci7C9Cki.js +1 -0
  80. package/build/client/_app/immutable/chunks/CkOTL1vK.js +1 -0
  81. package/build/client/_app/immutable/chunks/CngTtGc_.js +1 -0
  82. package/build/client/_app/immutable/chunks/Cp3A1zR8.js +1 -0
  83. package/build/client/_app/immutable/chunks/CwtMnwNL.js +3 -0
  84. package/build/client/_app/immutable/chunks/Cy7f_oXg.js +1 -0
  85. package/build/client/_app/immutable/chunks/D-wwLm5t.js +1 -0
  86. package/build/client/_app/immutable/chunks/D2imbgaf.js +1 -0
  87. package/build/client/_app/immutable/chunks/D32mip60.js +1 -0
  88. package/build/client/_app/immutable/chunks/D46Vk19W.js +1 -0
  89. package/build/client/_app/immutable/chunks/DCUUgo-6.js +1 -0
  90. package/build/client/_app/immutable/chunks/DFjnjJjy.js +1 -0
  91. package/build/client/_app/immutable/chunks/DHMbSbMg.js +1 -0
  92. package/build/client/_app/immutable/chunks/DJOFx2wx.js +1 -0
  93. package/build/client/_app/immutable/chunks/DV4tvxHp.js +3 -0
  94. package/build/client/_app/immutable/chunks/DXk_5YEw.js +1 -0
  95. package/build/client/_app/immutable/chunks/DjgnRLJt.js +1 -0
  96. package/build/client/_app/immutable/chunks/DlWlQ_vP.js +1 -0
  97. package/build/client/_app/immutable/chunks/DpIAei2y.js +2 -0
  98. package/build/client/_app/immutable/chunks/Dt-HX3Vu.js +1 -0
  99. package/build/client/_app/immutable/chunks/DuSthUWX.js +1 -0
  100. package/build/client/_app/immutable/chunks/Ecfl8TOn.js +2 -0
  101. package/build/client/_app/immutable/chunks/ITHE99Aa.js +1 -0
  102. package/build/client/_app/immutable/chunks/Khdge0KS.js +1 -0
  103. package/build/client/_app/immutable/chunks/LMEKNlm0.js +1 -0
  104. package/build/client/_app/immutable/chunks/OnIeaiuO.js +1 -0
  105. package/build/client/_app/immutable/chunks/VFQLu55q.js +1 -0
  106. package/build/client/_app/immutable/chunks/ZsUxKnQw.js +1 -0
  107. package/build/client/_app/immutable/chunks/aWP8DVhV.js +1 -0
  108. package/build/client/_app/immutable/chunks/bB04Xp1f.js +1 -0
  109. package/build/client/_app/immutable/chunks/eylBqhv8.js +3 -0
  110. package/build/client/_app/immutable/chunks/hx0ssLL_.js +2 -0
  111. package/build/client/_app/immutable/chunks/mumDj17t.js +1 -0
  112. package/build/client/_app/immutable/chunks/pZYp3_TE.js +1 -0
  113. package/build/client/_app/immutable/chunks/tImwjqWn.js +1 -0
  114. package/build/client/_app/immutable/chunks/uBIymjUX.js +1 -0
  115. package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
  116. package/build/client/_app/immutable/entry/app.DVZ1wE36.js +2 -0
  117. package/build/client/_app/immutable/entry/start.DluCc61B.js +1 -0
  118. package/build/client/_app/immutable/nodes/0.CwNFevXf.js +1 -0
  119. package/build/client/_app/immutable/nodes/1.BR6FYiC-.js +1 -0
  120. package/build/client/_app/immutable/nodes/10.wNwBFtom.js +2 -0
  121. package/build/client/_app/immutable/nodes/11.DpoIbMNF.js +2 -0
  122. package/build/client/_app/immutable/nodes/12.CWdUJ8l3.js +2 -0
  123. package/build/client/_app/immutable/nodes/13.CZ2uTvNS.js +1 -0
  124. package/build/client/_app/immutable/nodes/14.CzgyXuvL.js +1 -0
  125. package/build/client/_app/immutable/nodes/15.CzgyXuvL.js +1 -0
  126. package/build/client/_app/immutable/nodes/16.odL9eB2N.js +1 -0
  127. package/build/client/_app/immutable/nodes/17.B-RnUeVU.js +1 -0
  128. package/build/client/_app/immutable/nodes/18.BLYKxyq2.js +1 -0
  129. package/build/client/_app/immutable/nodes/19.CgyFfPqF.js +3 -0
  130. package/build/client/_app/immutable/nodes/2.CCWT41Qr.js +1 -0
  131. package/build/client/_app/immutable/nodes/20.BBk5-krg.js +1 -0
  132. package/build/client/_app/immutable/nodes/21.CJoU3s1A.js +2 -0
  133. package/build/client/_app/immutable/nodes/22.CoRvPh8m.js +1 -0
  134. package/build/client/_app/immutable/nodes/23.zXO3NjnM.js +3 -0
  135. package/build/client/_app/immutable/nodes/24.CmO27TED.js +1 -0
  136. package/build/client/_app/immutable/nodes/26.TVKNr_xX.js +18 -0
  137. package/build/client/_app/immutable/nodes/27.RojtGU_o.js +1 -0
  138. package/build/client/_app/immutable/nodes/28.CVTdeeSI.js +2 -0
  139. package/build/client/_app/immutable/nodes/3.Cgib7Vi6.js +1 -0
  140. package/build/client/_app/immutable/nodes/4.CnMwOCec.js +1 -0
  141. package/build/client/_app/immutable/nodes/5.-NqYtQj_.js +1 -0
  142. package/build/client/_app/immutable/nodes/6.D5xk-UBM.js +1 -0
  143. package/build/client/_app/immutable/nodes/7.IL4b-DII.js +1 -0
  144. package/build/client/_app/immutable/nodes/8.DJrguHjO.js +11 -0
  145. package/build/client/_app/immutable/nodes/9.DTUSzWiK.js +1 -0
  146. package/build/client/_app/version.json +1 -0
  147. package/build/client/favicon.svg +7 -0
  148. package/build/env.js +70 -0
  149. package/build/handler.js +26 -0
  150. package/build/index.js +149 -0
  151. package/build/server/chunks/chunks/Banner.js-D4mtxUfF.js +17 -0
  152. package/build/server/chunks/chunks/BoardOff.js-Dg5-LoR3.js +1627 -0
  153. package/build/server/chunks/chunks/Button.js-Buh9rnpu.js +43 -0
  154. package/build/server/chunks/chunks/Chip.js-xZ7vFkHx.js +12 -0
  155. package/build/server/chunks/chunks/Dialog.js-CGpwdpM-.js +60 -0
  156. package/build/server/chunks/chunks/FeaturePanels.js-B2sKozgF.js +84 -0
  157. package/build/server/chunks/chunks/FolderBrowser.js-DUHFhDaX.js +28 -0
  158. package/build/server/chunks/chunks/HelpTip.js-CzemvmjC.js +19 -0
  159. package/build/server/chunks/chunks/InfoBox.js-BJiVzZgw.js +10 -0
  160. package/build/server/chunks/chunks/KeyCaps.js-BMI2Hrh2.js +37 -0
  161. package/build/server/chunks/chunks/LogLine.js-2b7uX__H.js +35 -0
  162. package/build/server/chunks/chunks/Markdown.js-Clud88KU.js +4233 -0
  163. package/build/server/chunks/chunks/ModelPicker.js-FuBgyKIA.js +141 -0
  164. package/build/server/chunks/chunks/OptionButtons.js-LQKrAwUX.js +28 -0
  165. package/build/server/chunks/chunks/PeekPanel.js-aZ-r_v3N.js +375 -0
  166. package/build/server/chunks/chunks/ScoutPage.js-2DcNia96.js +733 -0
  167. package/build/server/chunks/chunks/SetupSteps.js-D7TAF7xa.js +66 -0
  168. package/build/server/chunks/chunks/Skeleton.js-diCP2sd5.js +30 -0
  169. package/build/server/chunks/chunks/SlotsMeter.js-BV_sAGf5.js +18 -0
  170. package/build/server/chunks/chunks/StartConfirm.js-CzEdFtbO.js +124 -0
  171. package/build/server/chunks/chunks/StatePill.js-CM7-HXNM.js +27 -0
  172. package/build/server/chunks/chunks/Streamed.js-_NgwNMMs.js +43 -0
  173. package/build/server/chunks/chunks/_page.server.js-BaGoctEY.js +1419 -0
  174. package/build/server/chunks/chunks/activity.js-CSoPUQLq.js +84 -0
  175. package/build/server/chunks/chunks/add-repo.js-DtHEobfm.js +305 -0
  176. package/build/server/chunks/chunks/app-header.js-CCflgeEQ.js +13 -0
  177. package/build/server/chunks/chunks/app.js-CuPn8jtk.js +12 -0
  178. package/build/server/chunks/chunks/bin.js-Cyb2cYLc.js +58 -0
  179. package/build/server/chunks/chunks/board-keys.js-CW3qw-MC.js +32 -0
  180. package/build/server/chunks/chunks/board-page.js-D0tdsE9J.js +860 -0
  181. package/build/server/chunks/chunks/board.js-BxL3CjB1.js +203 -0
  182. package/build/server/chunks/chunks/browser-test.js-DJEpOoVz.js +170 -0
  183. package/build/server/chunks/chunks/card-pulls.js-d_uGmBB3.js +229 -0
  184. package/build/server/chunks/chunks/card-repos.js-QaMCxiyV.js +59 -0
  185. package/build/server/chunks/chunks/chain-store.js-D42m8DUo.js +91 -0
  186. package/build/server/chunks/chunks/chain.js-CJFRywIC.js +52 -0
  187. package/build/server/chunks/chunks/changes.js-D8ITRMgU.js +513 -0
  188. package/build/server/chunks/chunks/checkout.js-Ys5L_gA4.js +319 -0
  189. package/build/server/chunks/chunks/client.js-B7jIMDuS.js +68 -0
  190. package/build/server/chunks/chunks/clipboard.js-qXskOBim.js +12 -0
  191. package/build/server/chunks/chunks/cloud-status.js-hy-9zUVX.js +95 -0
  192. package/build/server/chunks/chunks/coach.js-BhNB14rV.js +296 -0
  193. package/build/server/chunks/chunks/comments.js-1nWJQptB.js +311 -0
  194. package/build/server/chunks/chunks/commit-message.js-CMcNZUZw.js +8 -0
  195. package/build/server/chunks/chunks/create-card.js-DKtprMG6.js +498 -0
  196. package/build/server/chunks/chunks/db.js-pqoVpAzG.js +80 -0
  197. package/build/server/chunks/chunks/diff-comments.js-BSCuay_U.js +95 -0
  198. package/build/server/chunks/chunks/discussion.js-rJ5OMfvX.js +355 -0
  199. package/build/server/chunks/chunks/display.js-Bf-vGQ7Q.js +61 -0
  200. package/build/server/chunks/chunks/elapsed.js-DikkNhaD.js +27 -0
  201. package/build/server/chunks/chunks/engine.js-DS5zUwsE.js +115 -0
  202. package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
  203. package/build/server/chunks/chunks/estimate.js-BHTYVTaQ.js +2484 -0
  204. package/build/server/chunks/chunks/evidence-timeline.js-Dk0dTZIy.js +253 -0
  205. package/build/server/chunks/chunks/evidence.js-CT3tWdbB.js +257 -0
  206. package/build/server/chunks/chunks/exports.js-Hn-WQRMB.js +150 -0
  207. package/build/server/chunks/chunks/features.svelte.js-DNsFmFZb.js +10 -0
  208. package/build/server/chunks/chunks/files.js-V46lE0-6.js +46 -0
  209. package/build/server/chunks/chunks/filter.js-CsmCtJMd.js +11 -0
  210. package/build/server/chunks/chunks/forms.js-03E8qnFz.js +35 -0
  211. package/build/server/chunks/chunks/gate.js-Cbqo8Yy0.js +82 -0
  212. package/build/server/chunks/chunks/getting-started.js-DKbHofN5.js +55 -0
  213. package/build/server/chunks/chunks/git.js-l43vBHqs.js +16 -0
  214. package/build/server/chunks/chunks/home-path.js-BXgrl3TP.js +11 -0
  215. package/build/server/chunks/chunks/hub-link.js-B5kjLyyd.js +1532 -0
  216. package/build/server/chunks/chunks/internal.js-DaSBO6jY.js +1239 -0
  217. package/build/server/chunks/chunks/internal2.js-D6AKyUgY.js +27 -0
  218. package/build/server/chunks/chunks/knowledge-page.js-D2ALB3v9.js +292 -0
  219. package/build/server/chunks/chunks/knowledge-revert.js-2eyN9Lcb.js +109 -0
  220. package/build/server/chunks/chunks/knowledge.js--eAgdzNx.js +394 -0
  221. package/build/server/chunks/chunks/last-board.js-BemeiK3t.js +23 -0
  222. package/build/server/chunks/chunks/log.js-R2zUph6T.js +228 -0
  223. package/build/server/chunks/chunks/loop.js-D3guWKLp.js +4038 -0
  224. package/build/server/chunks/chunks/loop2.js-B_Qd2m4y.js +67 -0
  225. package/build/server/chunks/chunks/navigation.js-DQJMz-SM.js +2 -0
  226. package/build/server/chunks/chunks/new-project.js-DNcr9JpB.js +305 -0
  227. package/build/server/chunks/chunks/next-step.js-B8Kl0Iv9.js +522 -0
  228. package/build/server/chunks/chunks/node.js-Bz2jT5wt.js +3381 -0
  229. package/build/server/chunks/chunks/now-live.svelte.js-hIaDgjJ3.js +13 -0
  230. package/build/server/chunks/chunks/now-snapshot.js-zGKLIzox.js +207 -0
  231. package/build/server/chunks/chunks/now.js-Dfm-o0Ha.js +765 -0
  232. package/build/server/chunks/chunks/onboard.js-LBqPOxyU.js +1525 -0
  233. package/build/server/chunks/chunks/ordinal.js-Bm_9QEBD.js +12 -0
  234. package/build/server/chunks/chunks/overview.js-C32iHkXD.js +1108 -0
  235. package/build/server/chunks/chunks/page-keys.svelte.js-D8vXA_8Z.js +14 -0
  236. package/build/server/chunks/chunks/patch.js-Bl7vwsUj.js +62 -0
  237. package/build/server/chunks/chunks/paths.js-DVRjNYFW.js +19 -0
  238. package/build/server/chunks/chunks/peek.js-D9sSjT9t.js +95 -0
  239. package/build/server/chunks/chunks/plan.js-DFq5ntMM.js +143 -0
  240. package/build/server/chunks/chunks/project-files-notice.js-CcqcBgUP.js +19 -0
  241. package/build/server/chunks/chunks/project-files.js-DTC4jUxy.js +52 -0
  242. package/build/server/chunks/chunks/project-folder.js-CoKgPiM0.js +22 -0
  243. package/build/server/chunks/chunks/projects.js-bw2V11od.js +989 -0
  244. package/build/server/chunks/chunks/prs.js-CLfImauu.js +118 -0
  245. package/build/server/chunks/chunks/publish.js-D2vWpIJU.js +195 -0
  246. package/build/server/chunks/chunks/pull-list.js-BCIBJdyz.js +691 -0
  247. package/build/server/chunks/chunks/qa-ask.svelte.js-8Hf1JWW2.js +47 -0
  248. package/build/server/chunks/chunks/qa-setup.js-DFOEcNxH.js +1241 -0
  249. package/build/server/chunks/chunks/quiet.js-1GKY40Ay.js +104 -0
  250. package/build/server/chunks/chunks/rail.js-BePBwOqZ.js +135 -0
  251. package/build/server/chunks/chunks/review.js-MPqnq9Gy.js +98 -0
  252. package/build/server/chunks/chunks/routing.js-B8s1QwSP.js +265 -0
  253. package/build/server/chunks/chunks/run-log.js-CnN2jOcg.js +94 -0
  254. package/build/server/chunks/chunks/run.js-COSejjLl.js +34 -0
  255. package/build/server/chunks/chunks/scout-findings.js-CqJti10a.js +940 -0
  256. package/build/server/chunks/chunks/scout.js-Bm7wQLX2.js +62 -0
  257. package/build/server/chunks/chunks/sentinels.js-BXvpnzr3.js +13 -0
  258. package/build/server/chunks/chunks/server.js-BR0D07DR.js +3803 -0
  259. package/build/server/chunks/chunks/settings-sections.js-V70W7BkZ.js +103 -0
  260. package/build/server/chunks/chunks/shared.js-BgfCUZUJ.js +776 -0
  261. package/build/server/chunks/chunks/sign-in.js-O-pBhi19.js +14 -0
  262. package/build/server/chunks/chunks/snapshot.js-BekzL_He.js +38 -0
  263. package/build/server/chunks/chunks/spend.js-BabnR69T.js +63 -0
  264. package/build/server/chunks/chunks/src.js-Cm8RAH_q.js +609 -0
  265. package/build/server/chunks/chunks/src2.js-CV8tsClO.js +1186 -0
  266. package/build/server/chunks/chunks/src3.js-h9tTEbVb.js +11222 -0
  267. package/build/server/chunks/chunks/stack.js-CMWXhMZS.js +13 -0
  268. package/build/server/chunks/chunks/standup.js-D-qBnMx4.js +103 -0
  269. package/build/server/chunks/chunks/state.js-BTDrgu7s.js +71 -0
  270. package/build/server/chunks/chunks/stream.js-D6r6iqjD.js +66 -0
  271. package/build/server/chunks/chunks/terms.js-DPZztSEn.js +88 -0
  272. package/build/server/chunks/chunks/ticket-system.js-Dj9R3XJw.js +147 -0
  273. package/build/server/chunks/chunks/ticket.js-6sj-2ZEM.js +110 -0
  274. package/build/server/chunks/chunks/timesheet.js-DfhIokoE.js +212 -0
  275. package/build/server/chunks/chunks/timesheet2.js-Cu95ddl3.js +84 -0
  276. package/build/server/chunks/chunks/to-workspace.js-DiOJP59J.js +308 -0
  277. package/build/server/chunks/chunks/toast-stack.svelte.js-CXIg3_KT.js +10 -0
  278. package/build/server/chunks/chunks/uneval.js-VnZcgzZr.js +488 -0
  279. package/build/server/chunks/chunks/utils.js-DQTBh7_6.js +1006 -0
  280. package/build/server/chunks/chunks/when-said.js-0F9asAma.js +35 -0
  281. package/build/server/chunks/chunks/workspace.js-BBdJRon9.js +212 -0
  282. package/build/server/chunks/entries/endpoints/api/board/_server.ts.js-BlYC_lpV.js +69 -0
  283. package/build/server/chunks/entries/endpoints/api/board/minimize/_server.ts.js-Wddt9YPR.js +68 -0
  284. package/build/server/chunks/entries/endpoints/api/board/move/_server.ts.js-BwZpCKx0.js +68 -0
  285. package/build/server/chunks/entries/endpoints/api/board/promote/_server.ts.js-Cw6kvkMq.js +68 -0
  286. package/build/server/chunks/entries/endpoints/api/board/pulls/_server.ts.js-DFhpbiMo.js +71 -0
  287. package/build/server/chunks/entries/endpoints/api/board/stop/_server.ts.js-D5eylDMw.js +68 -0
  288. package/build/server/chunks/entries/endpoints/api/card/_key_/answer/_server.ts.js-CG8xh52y.js +68 -0
  289. package/build/server/chunks/entries/endpoints/api/card/_key_/branch/_server.ts.js-a5_P9voA.js +40 -0
  290. package/build/server/chunks/entries/endpoints/api/card/_key_/chain/_server.ts.js-tJvQy6RK.js +70 -0
  291. package/build/server/chunks/entries/endpoints/api/card/_key_/checkouts/_server.ts.js-B2_gx6vF.js +41 -0
  292. package/build/server/chunks/entries/endpoints/api/card/_key_/choice/_server.ts.js-pmAdIQkK.js +34 -0
  293. package/build/server/chunks/entries/endpoints/api/card/_key_/comments/_id_/_server.ts.js-C5NxGWw3.js +68 -0
  294. package/build/server/chunks/entries/endpoints/api/card/_key_/comments/_server.ts.js-0rw7UNv8.js +64 -0
  295. package/build/server/chunks/entries/endpoints/api/card/_key_/commit/_server.ts.js-_yXWCOlQ.js +68 -0
  296. package/build/server/chunks/entries/endpoints/api/card/_key_/commit-diff/_server.ts.js-CRPV3z-g.js +61 -0
  297. package/build/server/chunks/entries/endpoints/api/card/_key_/commit-message/_server.ts.js-CO9mD3u6.js +82 -0
  298. package/build/server/chunks/entries/endpoints/api/card/_key_/context/_server.ts.js-7kzrigFz.js +42 -0
  299. package/build/server/chunks/entries/endpoints/api/card/_key_/delete/_server.ts.js-DH0nO9wG.js +516 -0
  300. package/build/server/chunks/entries/endpoints/api/card/_key_/file/_server.ts.js-D80SvJDi.js +35 -0
  301. package/build/server/chunks/entries/endpoints/api/card/_key_/files/_...path_/_server.ts.js-GxFjb2H0.js +34 -0
  302. package/build/server/chunks/entries/endpoints/api/card/_key_/fix/_server.ts.js-B-HAB050.js +68 -0
  303. package/build/server/chunks/entries/endpoints/api/card/_key_/knowledge/_server.ts.js-D4fN-j7X.js +81 -0
  304. package/build/server/chunks/entries/endpoints/api/card/_key_/link/_other_/_server.ts.js-C00pQDCu.js +42 -0
  305. package/build/server/chunks/entries/endpoints/api/card/_key_/log/_server.ts.js-BXW_tG-I.js +32 -0
  306. package/build/server/chunks/entries/endpoints/api/card/_key_/log/raw/_server.ts.js-pT8StZGR.js +32 -0
  307. package/build/server/chunks/entries/endpoints/api/card/_key_/message/_server.ts.js-ZMno2Hu6.js +68 -0
  308. package/build/server/chunks/entries/endpoints/api/card/_key_/models/_server.ts.js-DEZVpqO3.js +73 -0
  309. package/build/server/chunks/entries/endpoints/api/card/_key_/patch/_server.ts.js-BxfLi-Zs.js +61 -0
  310. package/build/server/chunks/entries/endpoints/api/card/_key_/peek/_server.ts.js-CsTKWIP_.js +169 -0
  311. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/_server.ts.js-CsOeAXkf.js +53 -0
  312. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/comments/_server.ts.js-DZ2XHOhF.js +71 -0
  313. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/discuss/_server.ts.js-CO8eM0e8.js +72 -0
  314. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/discussions/_server.ts.js-Lp7l0Yqv.js +71 -0
  315. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/fix/_server.ts.js-CeIhjpQ4.js +68 -0
  316. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/fix-all/_server.ts.js-D-DKoCpQ.js +68 -0
  317. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/links/_server.ts.js-B_q3jUP3.js +72 -0
  318. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/qa/_server.ts.js-BulVcJY9.js +68 -0
  319. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/seen/_server.ts.js-Z06A6MS1.js +71 -0
  320. package/build/server/chunks/entries/endpoints/api/card/_key_/pr/triage/_server.ts.js-qADU4URF.js +68 -0
  321. package/build/server/chunks/entries/endpoints/api/card/_key_/pull/_server.ts.js-CHnTH9WK.js +58 -0
  322. package/build/server/chunks/entries/endpoints/api/card/_key_/push/_server.ts.js-BPdPwPo2.js +83 -0
  323. package/build/server/chunks/entries/endpoints/api/card/_key_/repos/_server.ts.js-Bjqa3Uoo.js +73 -0
  324. package/build/server/chunks/entries/endpoints/api/card/_key_/research/_server.ts.js-DzQjoHOZ.js +138 -0
  325. package/build/server/chunks/entries/endpoints/api/card/_key_/retry/_server.ts.js-CAodrXqd.js +68 -0
  326. package/build/server/chunks/entries/endpoints/api/card/_key_/send-back/_server.ts.js-CmJSnvTx.js +68 -0
  327. package/build/server/chunks/entries/endpoints/api/card/_key_/stack/_server.ts.js-DjI8S94J.js +82 -0
  328. package/build/server/chunks/entries/endpoints/api/card/_key_/tasks/_server.ts.js-BzX_nNJk.js +71 -0
  329. package/build/server/chunks/entries/endpoints/api/card/_key_/thread/_server.ts.js-Dn36Guxk.js +33 -0
  330. package/build/server/chunks/entries/endpoints/api/cards/_server.ts.js-DPMOBsvp.js +77 -0
  331. package/build/server/chunks/entries/endpoints/api/cards/context/_server.ts.js-D6y-g2O-.js +52 -0
  332. package/build/server/chunks/entries/endpoints/api/cards/next/_server.ts.js-C2se67rf.js +55 -0
  333. package/build/server/chunks/entries/endpoints/api/chain/_server.ts.js-DKO5Q8GV.js +70 -0
  334. package/build/server/chunks/entries/endpoints/api/clones/_server.ts.js-Bgcc_Beg.js +56 -0
  335. package/build/server/chunks/entries/endpoints/api/current-project/_server.ts.js-DZCtSlXs.js +81 -0
  336. package/build/server/chunks/entries/endpoints/api/evidence/timesheet/_server.ts.js-xJwzSrcl.js +32 -0
  337. package/build/server/chunks/entries/endpoints/api/folders/_server.ts.js-BdcE7k8S.js +83 -0
  338. package/build/server/chunks/entries/endpoints/api/gh/_server.ts.js-CGvM8fn7.js +66 -0
  339. package/build/server/chunks/entries/endpoints/api/gh/name/_server.ts.js-CHh3tAu7.js +36 -0
  340. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DLUfrHo6.js +22 -0
  341. package/build/server/chunks/entries/endpoints/api/login-item/_server.ts.js-Cya7S7W6.js +77 -0
  342. package/build/server/chunks/entries/endpoints/api/notes/_server.ts.js-DaUFVqSM.js +26 -0
  343. package/build/server/chunks/entries/endpoints/api/notifications/_server.ts.js-DK6NFnII.js +76 -0
  344. package/build/server/chunks/entries/endpoints/api/now/_server.ts.js-xW0jeJdy.js +83 -0
  345. package/build/server/chunks/entries/endpoints/api/package/entry/_server.ts.js-DQyZanpo.js +35 -0
  346. package/build/server/chunks/entries/endpoints/api/projects/_server.ts.js-CzXJTj_l.js +58 -0
  347. package/build/server/chunks/entries/endpoints/api/qa-setup/_server.ts.js-DujrYbEP.js +76 -0
  348. package/build/server/chunks/entries/endpoints/api/remove-check/_server.ts.js-1KAi9LDi.js +58 -0
  349. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-D0MKtjR7.js +69 -0
  350. package/build/server/chunks/entries/endpoints/api/tickets/jira/_server.ts.js-Z2LdOr5l.js +39 -0
  351. package/build/server/chunks/entries/endpoints/api/tickets/read/_server.ts.js-BziHtc8Y.js +68 -0
  352. package/build/server/chunks/entries/endpoints/api/tools/_server.ts.js-oyvq8i1y.js +30 -0
  353. package/build/server/chunks/entries/endpoints/api/workspace/_server.ts.js-CMGBL5cX.js +58 -0
  354. package/build/server/chunks/entries/endpoints/api/workspace/commit/_server.ts.js-BZQQJ1YG.js +66 -0
  355. package/build/server/chunks/entries/endpoints/api/workspace/patch/_server.ts.js-xrjgHECx.js +64 -0
  356. package/build/server/chunks/entries/endpoints/api/workspace/push/_server.ts.js-CTdia7Uz.js +66 -0
  357. package/build/server/chunks/entries/hooks.server.js-B0jE-ELC.js +211 -0
  358. package/build/server/chunks/entries/pages/_error.svelte.js-DPcKI5sX.js +25 -0
  359. package/build/server/chunks/entries/pages/_layout.server.ts.js-Jj3i2Th9.js +134 -0
  360. package/build/server/chunks/entries/pages/_layout.svelte.js-Cu3ghN80.js +1251 -0
  361. package/build/server/chunks/entries/pages/_page.svelte.js-DEYydBCm.js +662 -0
  362. package/build/server/chunks/entries/pages/accept/_page.server.ts.js-BF7MrA5s.js +29 -0
  363. package/build/server/chunks/entries/pages/accept/_page.svelte.js-8yPsedd-.js +54 -0
  364. package/build/server/chunks/entries/pages/b/_board_/_page.svelte.js-S9acLF3f.js +68 -0
  365. package/build/server/chunks/entries/pages/b/_board_/_page.ts.js-BcKdG_Tp.js +21 -0
  366. package/build/server/chunks/entries/pages/b/research/_page.svelte.js-FW6Hw9g5.js +68 -0
  367. package/build/server/chunks/entries/pages/b/research/_page.ts.js-Ds2AjFFK.js +13 -0
  368. package/build/server/chunks/entries/pages/evidence/_page.server.ts.js-uwu2X7bA.js +1382 -0
  369. package/build/server/chunks/entries/pages/evidence/_page.svelte.js-DBCjiT59.js +594 -0
  370. package/build/server/chunks/entries/pages/f/_...path_/_page.svelte.js-DxwJaJzh.js +58 -0
  371. package/build/server/chunks/entries/pages/knowledge/_page.server.ts.js-BAUvFEcM.js +80 -0
  372. package/build/server/chunks/entries/pages/knowledge/_page.svelte.js-D9117gHM.js +732 -0
  373. package/build/server/chunks/entries/pages/new/_page.server.ts.js-BNCQQpyw.js +110 -0
  374. package/build/server/chunks/entries/pages/new/_page.svelte.js-Ben8-N_h.js +503 -0
  375. package/build/server/chunks/entries/pages/new/idea/_page.server.ts.js-jssA29y3.js +46 -0
  376. package/build/server/chunks/entries/pages/new/idea/_page.svelte.js-XoKspqAc.js +210 -0
  377. package/build/server/chunks/entries/pages/new/task/_page.server.ts.js-CmZgfvyt.js +66 -0
  378. package/build/server/chunks/entries/pages/new/task/_page.svelte.js-BKpERKvm.js +169 -0
  379. package/build/server/chunks/entries/pages/onboard/_page.server.ts.js-pmc_pXvs.js +12 -0
  380. package/build/server/chunks/entries/pages/onboard/_page.svelte.js-C7LNK-ba.js +5 -0
  381. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BEhLRfJ_.js +12 -0
  382. package/build/server/chunks/entries/pages/projects/_page.svelte.js-OraOjsyb.js +5 -0
  383. package/build/server/chunks/entries/pages/scout/_page.server.ts.js-hQYnMHwY.js +10 -0
  384. package/build/server/chunks/entries/pages/scout/_page.svelte.js-7q4d044Z.js +40 -0
  385. package/build/server/chunks/entries/pages/scout/f/_id_/_page.server.ts.js-BN4TnSpB.js +22 -0
  386. package/build/server/chunks/entries/pages/scout/f/_id_/_page.svelte.js-GzpLhARi.js +40 -0
  387. package/build/server/chunks/entries/pages/settings/_layout.server.ts.js-B5LgqMMT.js +12 -0
  388. package/build/server/chunks/entries/pages/settings/_layout.svelte.js-CSCpV6qA.js +81 -0
  389. package/build/server/chunks/entries/pages/settings/_page.svelte.js-DNpsNFo0.js +25 -0
  390. package/build/server/chunks/entries/pages/settings/_section_/_page.server.ts.js-nRDEV3i_.js +348 -0
  391. package/build/server/chunks/entries/pages/settings/_section_/_page.svelte.js-BihUf-nY.js +1052 -0
  392. package/build/server/chunks/entries/pages/settings/integrations/_page.server.ts.js-BTuRpg8m.js +58 -0
  393. package/build/server/chunks/entries/pages/settings/integrations/_page.svelte.js-C8i8ZmZR.js +161 -0
  394. package/build/server/chunks/entries/pages/settings/mcp/_page.server.ts.js-TFISfO1a.js +925 -0
  395. package/build/server/chunks/entries/pages/settings/mcp/_page.svelte.js-D1X0TNOm.js +433 -0
  396. package/build/server/chunks/entries/pages/settings/phases/_page.server.ts.js-CgK7MTZf.js +48 -0
  397. package/build/server/chunks/entries/pages/settings/phases/_page.svelte.js-u-sTQ-ue.js +80 -0
  398. package/build/server/chunks/entries/pages/settings/project/_page.server.ts.js-CCnk9WbO.js +363 -0
  399. package/build/server/chunks/entries/pages/settings/project/_page.svelte.js-MxvNqYlQ.js +1269 -0
  400. package/build/server/chunks/entries/pages/settings/wall/_page.server.ts.js-Bt5siY_N.js +12 -0
  401. package/build/server/chunks/entries/pages/settings/wall/_page.svelte.js-CMR4zSAt.js +43 -0
  402. package/build/server/chunks/entries/pages/t/_key_/_layout.server.ts.js-W6YPvOCA.js +124 -0
  403. package/build/server/chunks/entries/pages/t/_key_/_layout.svelte.js-CK0PiWsz.js +543 -0
  404. package/build/server/chunks/entries/pages/t/_key_/_page.server.ts.js-CdB7v0WX.js +15 -0
  405. package/build/server/chunks/entries/pages/t/_key_/_tab_/_page.server.ts.js-Bksaje8R.js +75 -0
  406. package/build/server/chunks/entries/pages/t/_key_/_tab_/_page.svelte.js-9OQ2eQxu.js +4607 -0
  407. package/build/server/chunks/entries/pages/team/_page.svelte.js-BdUSXC04.js +18 -0
  408. package/build/server/chunks/entries/pages/team/_page.ts.js-DfhJmoZI.js +20 -0
  409. package/build/server/chunks/entries/pages/workspace/_page.svelte.js-DLaWe23r.js +579 -0
  410. package/build/server/chunks/handler-Dlwmumt5.js +1735 -0
  411. package/build/server/chunks/index.js-BX0fZD5G.js +3701 -0
  412. package/build/server/chunks/manifest.js-B2Of6Dj7.js +761 -0
  413. package/build/server/chunks/nodes/0.js-DSzhdY0D.js +87 -0
  414. package/build/server/chunks/nodes/1.js-j4osL1br.js +9 -0
  415. package/build/server/chunks/nodes/10.js-jkvevEFY.js +75 -0
  416. package/build/server/chunks/nodes/11.js-plyiDP2n.js +72 -0
  417. package/build/server/chunks/nodes/12.js-DwtvDAyM.js +78 -0
  418. package/build/server/chunks/nodes/13.js-BpxwqFh4.js +72 -0
  419. package/build/server/chunks/nodes/14.js-B5iNIKGy.js +15 -0
  420. package/build/server/chunks/nodes/15.js-CXCAqUsG.js +15 -0
  421. package/build/server/chunks/nodes/16.js-oxkLEH0n.js +76 -0
  422. package/build/server/chunks/nodes/17.js-B-ZJEo9K.js +76 -0
  423. package/build/server/chunks/nodes/18.js-C0OUCEux.js +9 -0
  424. package/build/server/chunks/nodes/19.js-M8EAQJdW.js +76 -0
  425. package/build/server/chunks/nodes/2.js-ZedduK-3.js +33 -0
  426. package/build/server/chunks/nodes/20.js-BHvsLNjD.js +72 -0
  427. package/build/server/chunks/nodes/21.js-eOaW4si1.js +76 -0
  428. package/build/server/chunks/nodes/22.js-CbJ6tQSs.js +38 -0
  429. package/build/server/chunks/nodes/23.js-DXk8ejlx.js +81 -0
  430. package/build/server/chunks/nodes/24.js-C4qGJc4X.js +33 -0
  431. package/build/server/chunks/nodes/25.js-Cal8uT5V.js +21 -0
  432. package/build/server/chunks/nodes/26.js-Cp5jBcrN.js +80 -0
  433. package/build/server/chunks/nodes/27.js-Do55o_cb.js +17 -0
  434. package/build/server/chunks/nodes/28.js-SNz3QVix.js +9 -0
  435. package/build/server/chunks/nodes/3.js-DyivQ5dN.js +75 -0
  436. package/build/server/chunks/nodes/4.js-BGgTTQFR.js +9 -0
  437. package/build/server/chunks/nodes/5.js-DQYA2BBI.js +31 -0
  438. package/build/server/chunks/nodes/6.js-BVTi2KFL.js +24 -0
  439. package/build/server/chunks/nodes/7.js-CnprIn3p.js +12 -0
  440. package/build/server/chunks/nodes/8.js-Bdicn369.js +50 -0
  441. package/build/server/chunks/nodes/9.js-DVclPGXf.js +9 -0
  442. package/build/shims.js +33 -0
  443. package/dist/THIRD-PARTY-NOTICES.md +659 -0
  444. package/dist/detect-BmI_gskA.js +585 -0
  445. package/dist/fonts/OFL.txt +92 -0
  446. package/dist/nolzu.js +48 -0
  447. package/dist/package-vezZOzhD.js +181 -0
  448. package/dist/shared/finish.md +110 -0
  449. package/dist/shared/knowledge.md +72 -0
  450. package/dist/shared/verdict.md +42 -0
  451. package/dist/skills/.gitkeep +0 -0
  452. package/dist/skills/nolzu-architecture/SKILL.md +140 -0
  453. package/dist/skills/nolzu-architecture/finish.md +110 -0
  454. package/dist/skills/nolzu-assess/SKILL.md +99 -0
  455. package/dist/skills/nolzu-assess/finish.md +110 -0
  456. package/dist/skills/nolzu-design/SKILL.md +115 -0
  457. package/dist/skills/nolzu-design/finish.md +110 -0
  458. package/dist/skills/nolzu-feedback/SKILL.md +107 -0
  459. package/dist/skills/nolzu-feedback/finish.md +110 -0
  460. package/dist/skills/nolzu-implement/SKILL.md +138 -0
  461. package/dist/skills/nolzu-implement/finish.md +110 -0
  462. package/dist/skills/nolzu-investigate/SKILL.md +139 -0
  463. package/dist/skills/nolzu-investigate/finish.md +110 -0
  464. package/dist/skills/nolzu-learn-repo/SKILL.md +115 -0
  465. package/dist/skills/nolzu-learn-repo/finish.md +110 -0
  466. package/dist/skills/nolzu-learn-repo/knowledge.md +72 -0
  467. package/dist/skills/nolzu-optimize/SKILL.md +82 -0
  468. package/dist/skills/nolzu-optimize/finish.md +110 -0
  469. package/dist/skills/nolzu-optimize/knowledge.md +72 -0
  470. package/dist/skills/nolzu-orient/SKILL.md +115 -0
  471. package/dist/skills/nolzu-orient/finish.md +110 -0
  472. package/dist/skills/nolzu-orient/knowledge.md +72 -0
  473. package/dist/skills/nolzu-plan/SKILL.md +165 -0
  474. package/dist/skills/nolzu-plan/finish.md +110 -0
  475. package/dist/skills/nolzu-pr-review/SKILL.md +150 -0
  476. package/dist/skills/nolzu-pr-review/finish.md +110 -0
  477. package/dist/skills/nolzu-qa/SKILL.md +177 -0
  478. package/dist/skills/nolzu-qa/finish.md +110 -0
  479. package/dist/skills/nolzu-qa/verdict.md +42 -0
  480. package/dist/skills/nolzu-refine/SKILL.md +145 -0
  481. package/dist/skills/nolzu-refine/finish.md +110 -0
  482. package/dist/skills/nolzu-research/SKILL.md +140 -0
  483. package/dist/skills/nolzu-research/finish.md +110 -0
  484. package/dist/skills/nolzu-wrapup/SKILL.md +126 -0
  485. package/dist/skills/nolzu-wrapup/finish.md +110 -0
  486. package/dist/skills/nolzu-wrapup/knowledge.md +72 -0
  487. package/dist/src-BG8LaXLS.js +723 -0
  488. package/dist/src-DPfcvRqs.js +4 -0
  489. package/dist/start-ItZOcBtM.js +362 -0
  490. package/package.json +49 -9
  491. package/bin/nolzu.js +0 -8
@@ -0,0 +1,355 @@
1
+ import { p as phaseLabel } from './board.js-BxL3CjB1.js';
2
+ import { h as boardFor, j as isAction, c as resolveModels } from './estimate.js-BHTYVTaQ.js';
3
+ import { c as cardRuns, d as boardOfCard, g as getSetting, e as projectProfiles, f as cardPreset, h as cardBase, j as cardModels, k as startEstimate, l as sessionInCardFolder, m as sessionFolder } from './node.js-Bz2jT5wt.js';
4
+ import './src.js-Cm8RAH_q.js';
5
+ import { n as isDeliveryPhase, o as isAskThread, q as canSend, s as askThreads, t as isFeedbackRef, u as threadsFor, v as resumeCommand } from './src2.js-CV8tsClO.js';
6
+ import { D as checkoutRoot, E as tailLog, q as listCardFiles } from './src3.js-h9tTEbVb.js';
7
+ import { t as toolSubject } from './activity.js-CSoPUQLq.js';
8
+ import { w as whenSaid } from './when-said.js-0F9asAma.js';
9
+ import { c as cardFolder } from './files.js-V46lE0-6.js';
10
+ import { existsSync } from 'node:fs';
11
+ import { join } from 'node:path';
12
+
13
+ //#region src/lib/discussion.ts
14
+ var GOING = ["queued", "running"];
15
+ var THREAD_TITLE = "thread-title";
16
+ function oneLine(text, limit = 80) {
17
+ const line = text.split("\n").map((one) => one.replace(/\s+/g, " ").trim()).find((one) => one !== "") ?? "";
18
+ if (line === "") return null;
19
+ return line.length > limit ? `${line.slice(0, limit - 1).trimEnd()}…` : line;
20
+ }
21
+ /**
22
+ * The subject a pass answered, as the list shows it: one line, without the quotes, heading marks or
23
+ * end stop a model adds, or null when nothing is left. A pass that wrote a sentence past the limit is
24
+ * cut, not refused, because a cut subject still names the discussion.
25
+ */
26
+ function cleanSubject(answer) {
27
+ const line = oneLine(answer.replace(/^\s*(?:subject|title)\s*:\s*/i, ""), Number.POSITIVE_INFINITY);
28
+ if (line === null) return null;
29
+ const bare = line.replace(/^#+\s*/, "").replace(/^["'`*\u201c\u2018]+|["'`*\u201d\u2019]+$/g, "").replace(/[.。]+$/, "").trim();
30
+ return bare === "" ? null : oneLine(bare);
31
+ }
32
+ /**
33
+ * Store an Ask discussion's subject. A person's name replaces whatever is there and is marked theirs.
34
+ * The pass writes only where there is no subject yet, so it never replaces a person's name, and a pass
35
+ * that ran twice keeps its first answer.
36
+ */
37
+ function saveSubject(db, key, thread, subject, byPerson) {
38
+ if (byPerson) db.prepare("INSERT INTO thread_subjects (card_key, thread, subject, by_person) VALUES (?, ?, ?, 1) ON CONFLICT (card_key, thread) DO UPDATE SET subject = excluded.subject, by_person = 1").run(key, thread, subject);
39
+ else db.prepare("INSERT INTO thread_subjects (card_key, thread, subject, by_person) VALUES (?, ?, ?, 0) ON CONFLICT (card_key, thread) DO NOTHING").run(key, thread, subject);
40
+ }
41
+ /**
42
+ * Whether an Ask discussion should get a subject now, which the caller asks only after a run that
43
+ * answered. It has none, and no subject pass ran for it yet. An agent message is no sign: a run that
44
+ * failed or was cut off writes one too, and the thread would then never get a subject. The pass row is,
45
+ * and it also caps the passes at one per discussion, a failed one included.
46
+ */
47
+ function wantsSubject(db, key, thread) {
48
+ if (!isAskThread(thread)) return false;
49
+ if (db.prepare("SELECT 1 FROM thread_subjects WHERE card_key = ? AND thread = ?").get(key, thread) !== void 0) return false;
50
+ return db.prepare("SELECT 1 FROM runs WHERE card_key = ? AND phase = ? AND thread = ? LIMIT 1").get(key, THREAD_TITLE, thread) === void 0;
51
+ }
52
+ /**
53
+ * Rename an Ask discussion: { thread, subject }. The name is the person's from then on, and the pass
54
+ * never writes over it. Only an ask discussion has a subject, and only one that holds a message, since
55
+ * an empty one is not listed.
56
+ */
57
+ async function renameThread(db, key, request) {
58
+ let body;
59
+ try {
60
+ body = await request.json();
61
+ } catch {
62
+ return answer(400, { message: "The new name did not arrive as JSON." });
63
+ }
64
+ const thread = typeof body.thread === "string" ? body.thread : "";
65
+ const subject = typeof body.subject === "string" ? body.subject.replace(/\s+/g, " ").trim() : "";
66
+ if (!isAskThread(thread)) return answer(400, { message: `${thread || "That thread"} is not an Ask discussion, so it has no name to change.` });
67
+ if (subject === "") return answer(400, { message: "The name is empty. Write a few words that say what the discussion is about." });
68
+ if (subject.length > 80) return answer(400, { message: `The name is over 80 characters. Shorten it and save again.` });
69
+ if (db.prepare("SELECT 1 FROM messages WHERE card_key = ? AND thread = ? LIMIT 1").get(key, thread) === void 0) return answer(404, { message: `${key} has no ${thread} discussion with a message in it, so there is nothing to rename.` });
70
+ saveSubject(db, key, thread, subject, true);
71
+ return answer(200, {
72
+ ok: true,
73
+ subject
74
+ });
75
+ }
76
+ /**
77
+ * A card's discussion.
78
+ *
79
+ * The threads come from the card's runs, the newest run of each phase, so a phase that ran twice
80
+ * shows the conversation a person is looking at. The list keeps the board's phase order. The
81
+ * messages come from the table.
82
+ */
83
+ function discussionFor(db, key, wanted, models, now = /* @__PURE__ */ new Date()) {
84
+ const all = cardRuns(db, key);
85
+ const runs = [...all].reverse().map((run) => ({
86
+ id: run.id,
87
+ phase: run.phase,
88
+ sessionId: run.sessionId,
89
+ engine: run.engine
90
+ }));
91
+ const counts = new Map(db.prepare("SELECT thread, COUNT(*) AS n FROM messages WHERE card_key = ? GROUP BY thread").all(key).map((row) => [row.thread, row.n]));
92
+ const asks = askThreads([...counts.keys()], wanted);
93
+ const startedAt = new Map(all.map((run) => [run.id, run.startedAt]));
94
+ const askRuns = {};
95
+ const askState = /* @__PURE__ */ new Map();
96
+ const asked = db.prepare("SELECT id, phase, session_id AS sessionId, engine, thread, state FROM runs WHERE card_key = ? AND phase = ? AND thread IS NOT NULL ORDER BY id").all(key, "ask");
97
+ for (const row of asked) {
98
+ if (row.sessionId !== null) askRuns[row.thread] = row;
99
+ askState.set(row.thread, row.state);
100
+ }
101
+ const feedback = [...counts.keys()].filter(isFeedbackRef).sort((one, other) => Number(one.slice(1)) - Number(other.slice(1)));
102
+ const subjects = new Map(db.prepare("SELECT thread, subject FROM thread_subjects WHERE card_key = ?").all(key).map((row) => [row.thread, row.subject]));
103
+ const openings = new Map(db.prepare("SELECT thread, body FROM messages WHERE id IN (SELECT min(id) FROM messages WHERE card_key = ? GROUP BY thread)").all(key).map((row) => [row.thread, row.body]));
104
+ const listed = threadsFor(runs, [], asks.ids, askRuns, feedback).map((thread) => ({
105
+ ...thread,
106
+ count: counts.get(thread.id) ?? 0,
107
+ at: thread.runId === null ? null : startedAt.get(thread.runId) ?? null,
108
+ subject: thread.kind === "ask" ? subjects.get(thread.id) ?? null : null,
109
+ opening: thread.kind === "ask" ? oneLine(openings.get(thread.id) ?? "") : null
110
+ })).map((thread) => ({
111
+ ...thread,
112
+ when: thread.at === null ? null : whenSaid(thread.at, now)
113
+ }));
114
+ const kind = boardOfCard(db, key);
115
+ const phases = kind === null ? [] : boardFor(kind, getSetting(db, "deliveryFlow")).stages.flatMap((stage) => stage.phase === void 0 ? [] : [stage.phase]);
116
+ const later = [...new Set(phases)].filter((phase) => !listed.some((thread) => thread.id === phase)).map((phase) => ({
117
+ id: phase,
118
+ label: phaseLabel(phase)
119
+ }));
120
+ const current = listed.find((thread) => thread.id === wanted)?.id ?? listed[0]?.id ?? "";
121
+ const open = listed.find((thread) => thread.id === current) ?? null;
122
+ const profiles = projectProfiles(db);
123
+ const readOnly = open?.kind === "ask" || open?.kind === "feedback";
124
+ const action = readOnly ? "ask" : open?.id ?? "";
125
+ const row = open !== null && isAction(action) && (open.engine != null || readOnly) ? resolveModels(cardModels(db, key), cardBase(db, key), cardPreset(db, key), models, profiles, open.engine ?? null)[action] : null;
126
+ const engine = open?.engine ?? row?.engine ?? null;
127
+ const profile = engine === null ? void 0 : profiles.find((one) => one.id === engine);
128
+ const vendor = profile?.vendor;
129
+ const threads = listed.map((thread) => thread === open && thread.engine === null && row !== null ? {
130
+ ...thread,
131
+ engine: row.engine
132
+ } : thread);
133
+ const offered = (vendor === void 0 ? void 0 : models[vendor]) ?? [];
134
+ const estimates = {};
135
+ if (row !== null && open !== null) for (const model of /* @__PURE__ */ new Set([row.model, ...offered])) {
136
+ const found = startEstimate(db, {
137
+ phase: action,
138
+ model,
139
+ effort: row.effort,
140
+ vendor
141
+ });
142
+ if (found !== void 0) estimates[model] = found;
143
+ }
144
+ const project = getSetting(db, "projectPath");
145
+ const resume = open?.sessionId != null && profile !== void 0 && project !== null ? resumeCommand({
146
+ vendor: profile.vendor,
147
+ sessionId: open.sessionId,
148
+ folder: sessionInCardFolder(db, key, open.sessionId, profile.vendor, action) ? join(project, ".tasks", key) : sessionFolder(db, key, open.sessionId) ?? checkoutRoot(project, key),
149
+ configDir: profile.configDir
150
+ }) : null;
151
+ const stages = kind === null ? [] : boardFor(kind, getSetting(db, "deliveryFlow")).stages;
152
+ const at = stages.findIndex((stage) => stage.phase === current);
153
+ const after = at === -1 ? void 0 : stages[at + 1];
154
+ const forNext = (message) => after !== void 0 && message.author === "person" && isGateAnswer(message.body) ? {
155
+ ...message,
156
+ forNext: after.label
157
+ } : message;
158
+ return {
159
+ threads,
160
+ later,
161
+ order: [...new Set(phases)],
162
+ current,
163
+ messages: withDividers(db, key, messagesIn(db, key, current).map(forNext), all, now),
164
+ models: offered,
165
+ phaseModel: row?.model ?? null,
166
+ phaseEffort: row?.effort ?? null,
167
+ estimates,
168
+ resume,
169
+ next: asks.next,
170
+ titling: db.prepare("SELECT 1 FROM runs WHERE card_key = ? AND phase = ? AND state IN ('queued', 'running') LIMIT 1").get(key, THREAD_TITLE) !== void 0,
171
+ asking: GOING.includes((readOnly ? askState.get(open?.id ?? "") : all.find((run) => run.id === open?.runId)?.state) ?? "")
172
+ };
173
+ }
174
+ /**
175
+ * Each message with its time in the trail's words, and a divider on the first message of each run.
176
+ * A message names the run it belongs to, so a new run starts where the run id changes.
177
+ */
178
+ function withDividers(db, key, messages, runs, now) {
179
+ const byId = new Map(runs.map((run) => [run.id, run]));
180
+ let files = null;
181
+ const wrote = (phase) => {
182
+ if (files === null) {
183
+ const dir = cardFolder(db, key);
184
+ files = dir === null ? [] : listCardFiles(dir).flatMap((group) => group.files);
185
+ }
186
+ return files.filter((file) => file.phase === phase).map((file) => file.path);
187
+ };
188
+ let last = null;
189
+ return messages.map((message) => {
190
+ const said = {
191
+ ...message,
192
+ when: whenSaid(message.at, now)
193
+ };
194
+ const run = message.runId === null || message.runId === last ? void 0 : byId.get(message.runId);
195
+ if (message.runId !== null) last = message.runId;
196
+ if (run === void 0) return said;
197
+ return {
198
+ ...said,
199
+ divider: {
200
+ phase: phaseLabel(run.phase),
201
+ started: run.startedAt === null ? null : whenSaid(run.startedAt, now),
202
+ durationMs: run.durationMs,
203
+ costUsd: run.costUsd,
204
+ wrote: wrote(run.phase)
205
+ }
206
+ };
207
+ });
208
+ }
209
+ /**
210
+ * What an Ask run answers: the text it wrote after its last tool call, which is its last message.
211
+ * The lines before a call are the agent saying what it reads next, and the tool rows show those reads.
212
+ */
213
+ function answerOf(events) {
214
+ let parts = [];
215
+ for (const event of events) if (event.type === "tool") parts = [];
216
+ else if (event.type === "text") parts.push(event.text);
217
+ return parts.join("\n").trim();
218
+ }
219
+ var INPUT_SHOWN = 4e3;
220
+ /**
221
+ * The tool calls in a run's log lines, in the order the run made them.
222
+ *
223
+ * Codex and Cursor give a call and its answer on one line, so an answer goes to a call of its own
224
+ * line first. Claude Code answers on later lines, in the order it called, so an answer with no call
225
+ * on its line goes to the oldest call still waiting. A call refused or cut off keeps no result.
226
+ */
227
+ function toolCalls(lines, parse, cwd) {
228
+ const calls = [];
229
+ const waiting = [];
230
+ for (const line of lines) {
231
+ const fresh = [];
232
+ for (const event of parse(line)) if (event.type === "tool") {
233
+ const input = JSON.stringify(event.input, null, 2) ?? "";
234
+ const call = {
235
+ name: event.name.replace(/ToolCall$/, ""),
236
+ subject: toolSubject(event.input, cwd),
237
+ input: input.length > INPUT_SHOWN ? `${input.slice(0, INPUT_SHOWN)}\n…` : input,
238
+ result: null
239
+ };
240
+ calls.push(call);
241
+ fresh.push(call);
242
+ } else if (event.type === "tool_result") {
243
+ const call = fresh.shift() ?? waiting.shift();
244
+ if (call !== void 0) call.result = {
245
+ bytes: event.bytes,
246
+ error: event.error
247
+ };
248
+ }
249
+ waiting.push(...fresh);
250
+ }
251
+ return calls;
252
+ }
253
+ /**
254
+ * The thread with the tool calls of each agent message, read from the log of the run that wrote it.
255
+ *
256
+ * Never made up: a run whose log file is gone gets null, and the tab says so. Only the open thread's
257
+ * runs are read, once each.
258
+ * ponytail: each log is read whole on every page load, as peek does. Read from the end if a log ever
259
+ * grows past what that costs.
260
+ */
261
+ async function withTools(db, tab, parse) {
262
+ const read = db.prepare("SELECT engine, log_path, cwd, model, cost_estimate, duration_ms, tokens_input, tokens_output FROM runs WHERE id = ?");
263
+ const messages = await Promise.all(tab.messages.map(async (message) => {
264
+ if (message.author !== "agent" || message.runId === null) return message;
265
+ const row = read.get(message.runId);
266
+ if (row === void 0) return {
267
+ ...message,
268
+ tools: null
269
+ };
270
+ const tokens = row.tokens_input === null && row.tokens_output === null ? null : (row.tokens_input ?? 0) + (row.tokens_output ?? 0);
271
+ const run = {
272
+ model: row.model,
273
+ durationMs: row.duration_ms,
274
+ tokens,
275
+ costUsd: row.cost_estimate
276
+ };
277
+ const path = row.log_path ?? "";
278
+ if (path === "" || !existsSync(path)) return {
279
+ ...message,
280
+ tools: null,
281
+ run
282
+ };
283
+ const lines = [];
284
+ for await (const line of tailLog(path, new AbortController().signal, { follow: false })) lines.push(line);
285
+ return {
286
+ ...message,
287
+ tools: toolCalls(lines, (line) => parse(line, row.engine), row.cwd ?? ""),
288
+ run
289
+ };
290
+ }));
291
+ return {
292
+ ...tab,
293
+ messages
294
+ };
295
+ }
296
+ function messagesIn(db, key, thread) {
297
+ return db.prepare("SELECT id, author, body, at, run_id AS runId FROM messages WHERE card_key = ? AND thread = ? ORDER BY id").all(key, thread);
298
+ }
299
+ var isGateAnswer = (body) => /^[A-Z]+\d+: [\s\S]*? (?:I take the default|My answer): /.test(body);
300
+ function addMessage(db, key, thread, author, body, runId) {
301
+ db.prepare("INSERT INTO messages (card_key, thread, author, body, at, run_id) VALUES (?, ?, ?, ?, ?, ?)").run(key, thread, author, body, (/* @__PURE__ */ new Date()).toISOString(), runId);
302
+ }
303
+ /**
304
+ * The phase's own words, into its thread, once its run has finished.
305
+ *
306
+ * The plain summary, because it is the one thing every phase writes for a reader and it is stored
307
+ * by the time this runs. The full stream stays in the log, which is where a person goes for tool
308
+ * calls and cost. Without this the discussion is a notebook a person writes into and nobody
309
+ * answers.
310
+ *
311
+ * `extract-summary` has no stage and no thread, and a run that wrote no summary leaves the thread
312
+ * as it was rather than showing an empty message.
313
+ */
314
+ function recordPhaseSummary(db, job) {
315
+ if (!isDeliveryPhase(job.phase)) return;
316
+ const said = db.prepare("SELECT plain_summary FROM runs WHERE id = ?").get(job.runId)?.plain_summary?.trim() ?? "";
317
+ if (said === "") return;
318
+ addMessage(db, job.cardKey, job.phase, "agent", said, job.runId);
319
+ }
320
+ var answer = (status, body) => new Response(JSON.stringify(body), {
321
+ status,
322
+ headers: { "content-type": "application/json" }
323
+ });
324
+ /**
325
+ * Send a message to a thread.
326
+ *
327
+ * The message is stored first and the run is asked for second, so a person's words are never lost
328
+ * to a run that would not start. A refused send leaves the message behind on purpose: it is what
329
+ * they wrote, and the thread shows it with the reason.
330
+ */
331
+ async function sendMessage(db, key, request, resume, models) {
332
+ let body;
333
+ try {
334
+ body = await request.json();
335
+ } catch {
336
+ return answer(400, { message: "The message did not arrive as JSON." });
337
+ }
338
+ const thread = typeof body.thread === "string" ? body.thread : "";
339
+ const text = typeof body.text === "string" ? body.text : "";
340
+ const model = typeof body.model === "string" ? body.model : "";
341
+ const found = discussionFor(db, key, thread, models);
342
+ const allowed = canSend(found.threads, thread, text);
343
+ if (!allowed.ok) return answer(400, { message: allowed.reason });
344
+ if (model !== "" && !found.models.includes(model)) return answer(400, { message: found.models.length === 0 ? `This thread runs on ${allowed.thread.engine ?? "no engine profile"}, so nothing here knows whether ${model} is one of its models. Send the message without a model.` : `${model} is not a model this engine offers. It offers ${found.models.join(", ")}.` });
345
+ addMessage(db, key, thread, "person", text.trim(), allowed.thread.runId);
346
+ try {
347
+ if (!resume(key, allowed.thread, text.trim(), model)) return answer(500, { message: `${key} could not go on with the message. The card is marked failed with the reason.` });
348
+ } catch (error) {
349
+ return answer(409, { message: error.message });
350
+ }
351
+ return answer(200, { ok: true });
352
+ }
353
+
354
+ export { THREAD_TITLE as T, addMessage as a, answerOf as b, cleanSubject as c, discussionFor as d, withTools as e, sendMessage as f, renameThread as g, messagesIn as m, recordPhaseSummary as r, saveSubject as s, wantsSubject as w };
355
+ //# sourceMappingURL=discussion.js-rJ5OMfvX.js.map
@@ -0,0 +1,61 @@
1
+ import './src.js-Cm8RAH_q.js';
2
+
3
+ //#endregion
4
+ //#region src/lib/display.ts
5
+ /**
6
+ * The public keys this build trusts, newest first.
7
+ *
8
+ * A list rather than one key, because rotating the server's key would otherwise turn every
9
+ * client already installed into a permanent Free client. A new key goes on the front, the old
10
+ * one stays until the builds that only know it are gone.
11
+ */
12
+ var DISPLAY_PUBLIC_KEYS = ["kJFVeRRrwNvHcpjbxXZAEiJX_PjUPohQTjDzFVZxjBw"];
13
+ var FREE = {
14
+ id: "",
15
+ plan: "free",
16
+ features: [],
17
+ seats: 0,
18
+ expiresAt: 0
19
+ };
20
+ /**
21
+ * The feature that opens a day other than today on the evidence screen.
22
+ *
23
+ * Its own name and not `cloud-board`, because evidence history is sold on its own. The hub keeps the
24
+ * same name for the stored blocks, so one word covers the screen and the rows behind it.
25
+ */
26
+ var HISTORY_FEATURE = "evidence-history";
27
+ /**
28
+ * The feature that sends a week of the timesheet to a time tracker.
29
+ *
30
+ * The feature name the account's plan carries, and not the plan word beside it. It decides whether
31
+ * the evidence screen draws the Export button and the connections, and the two actions behind them
32
+ * ask for it again on every post.
33
+ */
34
+ var EXPORT_FEATURE = "exporters";
35
+ var shows = (document, feature) => document.features.includes(feature);
36
+ /**
37
+ * The project a route works on, by its id in the machine's project registry.
38
+ *
39
+ * It is the current project, the one the person opened last, unless the route names another. Every
40
+ * plan holds as many projects as the person makes (owner, 2026-11-09): the paid plans add cloud
41
+ * features. A current id the registry lost reads as the first project.
42
+ */
43
+ function activeProject(registered, current, asked) {
44
+ const open = current !== null && registered.includes(current) ? current : registered[0];
45
+ if (open === void 0) throw new Error("This machine has no project yet. Make one on New project.");
46
+ if (asked === void 0 || asked === open) return open;
47
+ if (!registered.includes(asked)) throw new Error(`There is no project ${asked} on this machine.`);
48
+ return asked;
49
+ }
50
+ var webTeamHref = (document, base) => shows(document, "claims") ? `${base.replace(/\/$/, "")}/team` : null;
51
+ /**
52
+ * Where the account on the cloud is, or null on Free.
53
+ *
54
+ * The one thing the layout draws from the document today, so the rule is here and the layout
55
+ * carries no second copy of it. `cloud-board` is the Solo feature the client links out for. The
56
+ * board's own page on the cloud lands later, and then this link moves to it.
57
+ */
58
+ var accountHref = (document, base) => shows(document, "cloud-board") ? `${base.replace(/\/$/, "")}/account` : null;
59
+
60
+ export { DISPLAY_PUBLIC_KEYS as D, EXPORT_FEATURE as E, FREE as F, HISTORY_FEATURE as H, activeProject as a, accountHref as b, shows as s, webTeamHref as w };
61
+ //# sourceMappingURL=display.js-Bf-vGQ7Q.js.map
@@ -0,0 +1,27 @@
1
+ //#region ../../packages/ui/src/board/elapsed.ts
2
+ var pad = (value) => String(value).padStart(2, "0");
3
+ function elapsed(startedAt, now) {
4
+ const started = Date.parse(startedAt);
5
+ if (!Number.isFinite(started)) return null;
6
+ const seconds = Math.max(0, Math.floor((now.getTime() - started) / 1e3));
7
+ if (seconds < 3600) return `${Math.floor(seconds / 60)}m ${pad(seconds % 60)}s`;
8
+ return `${Math.floor(seconds / 3600)}h ${pad(Math.floor(seconds % 3600 / 60))}m`;
9
+ }
10
+ /**
11
+ * How old something is, in one unit.
12
+ *
13
+ * A sibling of `elapsed` and not the same function: a run is counted in seconds, and the head
14
+ * commit of a pull request is days old, where a figure in seconds says nothing a person can use.
15
+ */
16
+ function age(at, now) {
17
+ const then = Date.parse(at);
18
+ if (!Number.isFinite(then)) return null;
19
+ const minutes = Math.max(0, Math.floor((now.getTime() - then) / 6e4));
20
+ if (minutes < 60) return `${minutes}m`;
21
+ const hours = Math.floor(minutes / 60);
22
+ if (hours < 24) return `${hours}h`;
23
+ return `${Math.floor(hours / 24)}d`;
24
+ }
25
+
26
+ export { age as a, elapsed as e };
27
+ //# sourceMappingURL=elapsed.js-DikkNhaD.js.map
@@ -0,0 +1,115 @@
1
+ //#region ../../packages/protocol/src/engine.ts
2
+ var ENGINE_NAMES = [
3
+ "claude-code",
4
+ "cursor",
5
+ "codex"
6
+ ];
7
+ var ENGINE_LABELS = {
8
+ "claude-code": "Claude Code",
9
+ cursor: "Cursor",
10
+ codex: "Codex"
11
+ };
12
+ var WALL_LABELS = {
13
+ macos: "walled by macOS",
14
+ bubblewrap: "walled by bubblewrap",
15
+ codex: "Codex sandbox",
16
+ none: "not walled"
17
+ };
18
+ var wallLabel = (kind) => kind != null && Object.hasOwn(WALL_LABELS, kind) ? WALL_LABELS[kind] : null;
19
+ var isEngineName = (value) => ENGINE_NAMES.includes(value);
20
+ function engineName(profile) {
21
+ const vendor = profile.split("#")[0] ?? profile;
22
+ return isEngineName(vendor) ? ENGINE_LABELS[vendor] : profile;
23
+ }
24
+ var goneSentence = (step, model, profile) => `${step} uses ${model}, which ${engineName(profile)} no longer offers.`;
25
+ var goneProblem = (step, model, profile) => `${goneSentence(step, model, profile)} ${step} will not start until you pick another.`;
26
+ function profileName(profile) {
27
+ const [vendor = profile, own] = profile.split("#");
28
+ if (!isEngineName(vendor)) return profile;
29
+ return own === void 0 ? ENGINE_LABELS[vendor] : `${ENGINE_LABELS[vendor]} (${own})`;
30
+ }
31
+ var effortInId = (vendor) => vendor === "cursor";
32
+ var effortInModel = (engine) => engine != null && effortInId(engine.split("#")[0]);
33
+ var ranOn = (engine, model, effort) => [
34
+ engine == null || engine === "" ? null : engineName(engine),
35
+ model,
36
+ effortInModel(engine) ? null : effort
37
+ ].filter((part) => part != null && part !== "").join(" · ");
38
+ /**
39
+ * The environment variable each vendor reads for a second configuration folder.
40
+ *
41
+ * Nolzu sets the variable per process and never opens the folder. The person runs the vendor's own
42
+ * login command inside it.
43
+ *
44
+ * Read off each vendor's documentation on 2026-09-20 and recorded in `docs/engines/`. A name that a
45
+ * real run proves wrong changes here.
46
+ */
47
+ var CONFIG_DIR_VAR = {
48
+ "claude-code": "CLAUDE_CONFIG_DIR",
49
+ cursor: "CURSOR_CONFIG_DIR",
50
+ codex: "CODEX_HOME"
51
+ };
52
+ var DEFAULT_PROFILE = {
53
+ id: "claude-code",
54
+ label: "Claude Code",
55
+ vendor: "claude-code",
56
+ configDir: null
57
+ };
58
+ var MAX_ID = 64;
59
+ var ID_SHAPE = /^[a-z0-9]+(-[a-z0-9]+)*(#[a-z0-9]+(-[a-z0-9]+)*)?$/;
60
+ var isProfileId = (value) => value.length <= MAX_ID && ID_SHAPE.test(value);
61
+ /**
62
+ * The id for a new profile, made from its label and never changed after.
63
+ *
64
+ * The form is the one `2026-09-20-engine-routing-design.md` decided: the vendor, then the label,
65
+ * as in `codex#work`. The vendor is part of it so the id says which CLI it runs without a lookup,
66
+ * and so two profiles of different vendors labelled "Work" cannot read as two of the same one.
67
+ *
68
+ * A label of punctuation alone, or of a script with no ASCII letters, leaves nothing to slug, and
69
+ * the bare vendor is the id instead, which is what the first profile of a vendor gets. A base
70
+ * already taken gets a number, because two profiles under one id would share every stored choice
71
+ * in silence.
72
+ */
73
+ function profileId(label, vendor, taken) {
74
+ const slug = label.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
75
+ const room = MAX_ID - vendor.length - 1;
76
+ const cut = slug.slice(0, Math.max(room, 0)).replace(/-+$/, "");
77
+ const base = cut === "" ? vendor : `${vendor}#${cut}`;
78
+ if (!taken.includes(base)) return base;
79
+ const trimmed = base.length > 60 ? base.slice(0, 60).replace(/[-#]+$/, "") : base;
80
+ for (let n = 2;; n += 1) {
81
+ const next = `${trimmed}-${n}`;
82
+ if (!taken.includes(next)) return next;
83
+ }
84
+ }
85
+ var missingProfileText = (profile) => `The engine profile ${profile} has no login on this machine.`;
86
+ /**
87
+ * Whether a vendor's CLI says anything about a usage window, and the sentence that says why.
88
+ *
89
+ * Measured on 2026-09-25 and written down per engine in `docs/engines/`. Claude Code is
90
+ * the one engine with real numbers. Cursor prints nothing about a window, which is a normal state
91
+ * and not a gap, so its block reads "not available". Codex reports no window in a normal turn and
92
+ * no run here has ever hit a usage limit, so nothing is known.
93
+ *
94
+ * `knownSilent` is the measured answer to one question: has this engine been seen to say nothing at
95
+ * all about a usage window? Only that is "not available". The rest sit at "unknown" until a run
96
+ * reports a window, which keeps an engine that stays quiet apart from one that has had nothing to
97
+ * say yet. A new engine has to answer the question with a measurement.
98
+ */
99
+ var LIMIT_SIGNAL = {
100
+ "claude-code": {
101
+ knownSilent: false,
102
+ note: "Claude Code reports the 5-hour and the weekly window when a run makes a model call on a subscription login. A run in API-key mode reports none."
103
+ },
104
+ cursor: {
105
+ knownSilent: true,
106
+ note: "Cursor reports no usage window in its output, so there is nothing to read. This is a normal state and not a gap."
107
+ },
108
+ codex: {
109
+ knownSilent: false,
110
+ note: "Codex reports no window in a normal turn, and no run on this machine has hit a usage limit, so nothing is known."
111
+ }
112
+ };
113
+
114
+ export { CONFIG_DIR_VAR as C, DEFAULT_PROFILE as D, ENGINE_LABELS as E, LIMIT_SIGNAL as L, isProfileId as a, ENGINE_NAMES as b, engineName as c, effortInModel as d, effortInId as e, goneSentence as f, goneProblem as g, profileId as h, isEngineName as i, missingProfileText as m, profileName as p, ranOn as r, wallLabel as w };
115
+ //# sourceMappingURL=engine.js-DS5zUwsE.js.map
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=env.js-l0sNRNKZ.js.map