waterplane 0.0.1 → 0.1.11

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 (1835) hide show
  1. package/CHANGELOG.md +1263 -0
  2. package/DISCLAIMER.md +113 -0
  3. package/LICENSE +21 -0
  4. package/NOTICES.md +78 -0
  5. package/README.md +392 -4
  6. package/SECURITY.md +396 -0
  7. package/bin/waterplane.mjs +5 -0
  8. package/deploy/gh-version +1 -0
  9. package/deploy/node-version +1 -0
  10. package/node_modules/@waterplane/shared/dist/agentfiles.d.ts +135 -0
  11. package/node_modules/@waterplane/shared/dist/agentfiles.js +399 -0
  12. package/node_modules/@waterplane/shared/dist/agentfiles.js.map +1 -0
  13. package/node_modules/@waterplane/shared/dist/alwaysonwords.d.ts +83 -0
  14. package/node_modules/@waterplane/shared/dist/alwaysonwords.js +209 -0
  15. package/node_modules/@waterplane/shared/dist/alwaysonwords.js.map +1 -0
  16. package/node_modules/@waterplane/shared/dist/artifacts.d.ts +213 -0
  17. package/node_modules/@waterplane/shared/dist/artifacts.js +295 -0
  18. package/node_modules/@waterplane/shared/dist/artifacts.js.map +1 -0
  19. package/node_modules/@waterplane/shared/dist/askrules.d.ts +95 -0
  20. package/node_modules/@waterplane/shared/dist/askrules.js +133 -0
  21. package/node_modules/@waterplane/shared/dist/askrules.js.map +1 -0
  22. package/node_modules/@waterplane/shared/dist/assess/sassapply.d.ts +191 -0
  23. package/node_modules/@waterplane/shared/dist/assess/sassapply.js +152 -0
  24. package/node_modules/@waterplane/shared/dist/assess/sassapply.js.map +1 -0
  25. package/node_modules/@waterplane/shared/dist/assess/sassclean.d.ts +21 -0
  26. package/node_modules/@waterplane/shared/dist/assess/sassclean.js +453 -0
  27. package/node_modules/@waterplane/shared/dist/assess/sassclean.js.map +1 -0
  28. package/node_modules/@waterplane/shared/dist/assess/sassio.d.ts +257 -0
  29. package/node_modules/@waterplane/shared/dist/assess/sassio.js +2 -0
  30. package/node_modules/@waterplane/shared/dist/assess/sassio.js.map +1 -0
  31. package/node_modules/@waterplane/shared/dist/assess/sassslot.d.ts +19 -0
  32. package/node_modules/@waterplane/shared/dist/assess/sassslot.js +136 -0
  33. package/node_modules/@waterplane/shared/dist/assess/sassslot.js.map +1 -0
  34. package/node_modules/@waterplane/shared/dist/assess/sassvocab.d.ts +115 -0
  35. package/node_modules/@waterplane/shared/dist/assess/sassvocab.js +98 -0
  36. package/node_modules/@waterplane/shared/dist/assess/sassvocab.js.map +1 -0
  37. package/node_modules/@waterplane/shared/dist/assess/sasswords.d.ts +140 -0
  38. package/node_modules/@waterplane/shared/dist/assess/sasswords.js +155 -0
  39. package/node_modules/@waterplane/shared/dist/assess/sasswords.js.map +1 -0
  40. package/node_modules/@waterplane/shared/dist/assess.d.ts +58 -0
  41. package/node_modules/@waterplane/shared/dist/assess.js +55 -0
  42. package/node_modules/@waterplane/shared/dist/assess.js.map +1 -0
  43. package/node_modules/@waterplane/shared/dist/attach.d.ts +118 -0
  44. package/node_modules/@waterplane/shared/dist/attach.js +85 -0
  45. package/node_modules/@waterplane/shared/dist/attach.js.map +1 -0
  46. package/node_modules/@waterplane/shared/dist/autocompact.d.ts +125 -0
  47. package/node_modules/@waterplane/shared/dist/autocompact.js +226 -0
  48. package/node_modules/@waterplane/shared/dist/autocompact.js.map +1 -0
  49. package/node_modules/@waterplane/shared/dist/backendsources.d.ts +409 -0
  50. package/node_modules/@waterplane/shared/dist/backendsources.js +3 -0
  51. package/node_modules/@waterplane/shared/dist/backendsources.js.map +1 -0
  52. package/node_modules/@waterplane/shared/dist/billing.d.ts +48 -0
  53. package/node_modules/@waterplane/shared/dist/billing.js +64 -0
  54. package/node_modules/@waterplane/shared/dist/billing.js.map +1 -0
  55. package/node_modules/@waterplane/shared/dist/bindconv.d.ts +47 -0
  56. package/node_modules/@waterplane/shared/dist/bindconv.js +35 -0
  57. package/node_modules/@waterplane/shared/dist/bindconv.js.map +1 -0
  58. package/node_modules/@waterplane/shared/dist/bookmark.d.ts +26 -0
  59. package/node_modules/@waterplane/shared/dist/bookmark.js +40 -0
  60. package/node_modules/@waterplane/shared/dist/bookmark.js.map +1 -0
  61. package/node_modules/@waterplane/shared/dist/branchmode.d.ts +27 -0
  62. package/node_modules/@waterplane/shared/dist/branchmode.js +80 -0
  63. package/node_modules/@waterplane/shared/dist/branchmode.js.map +1 -0
  64. package/node_modules/@waterplane/shared/dist/brand.d.ts +94 -0
  65. package/node_modules/@waterplane/shared/dist/brand.js +88 -0
  66. package/node_modules/@waterplane/shared/dist/brand.js.map +1 -0
  67. package/node_modules/@waterplane/shared/dist/brandmigrate.d.ts +30 -0
  68. package/node_modules/@waterplane/shared/dist/brandmigrate.js +67 -0
  69. package/node_modules/@waterplane/shared/dist/brandmigrate.js.map +1 -0
  70. package/node_modules/@waterplane/shared/dist/budget.d.ts +247 -0
  71. package/node_modules/@waterplane/shared/dist/budget.js +295 -0
  72. package/node_modules/@waterplane/shared/dist/budget.js.map +1 -0
  73. package/node_modules/@waterplane/shared/dist/buildparams.d.ts +146 -0
  74. package/node_modules/@waterplane/shared/dist/buildparams.js +260 -0
  75. package/node_modules/@waterplane/shared/dist/buildparams.js.map +1 -0
  76. package/node_modules/@waterplane/shared/dist/buildscan.d.ts +99 -0
  77. package/node_modules/@waterplane/shared/dist/buildscan.js +334 -0
  78. package/node_modules/@waterplane/shared/dist/buildscan.js.map +1 -0
  79. package/node_modules/@waterplane/shared/dist/buildstamp.d.ts +37 -0
  80. package/node_modules/@waterplane/shared/dist/buildstamp.js +95 -0
  81. package/node_modules/@waterplane/shared/dist/buildstamp.js.map +1 -0
  82. package/node_modules/@waterplane/shared/dist/burn.d.ts +152 -0
  83. package/node_modules/@waterplane/shared/dist/burn.js +206 -0
  84. package/node_modules/@waterplane/shared/dist/burn.js.map +1 -0
  85. package/node_modules/@waterplane/shared/dist/changebrief.d.ts +61 -0
  86. package/node_modules/@waterplane/shared/dist/changebrief.js +70 -0
  87. package/node_modules/@waterplane/shared/dist/changebrief.js.map +1 -0
  88. package/node_modules/@waterplane/shared/dist/chord.d.ts +39 -0
  89. package/node_modules/@waterplane/shared/dist/chord.js +102 -0
  90. package/node_modules/@waterplane/shared/dist/chord.js.map +1 -0
  91. package/node_modules/@waterplane/shared/dist/claudeconfig.d.ts +18 -0
  92. package/node_modules/@waterplane/shared/dist/claudeconfig.js +44 -0
  93. package/node_modules/@waterplane/shared/dist/claudeconfig.js.map +1 -0
  94. package/node_modules/@waterplane/shared/dist/claudeversion.d.ts +17 -0
  95. package/node_modules/@waterplane/shared/dist/claudeversion.js +31 -0
  96. package/node_modules/@waterplane/shared/dist/claudeversion.js.map +1 -0
  97. package/node_modules/@waterplane/shared/dist/clientframe.d.ts +12 -0
  98. package/node_modules/@waterplane/shared/dist/clientframe.js +15 -0
  99. package/node_modules/@waterplane/shared/dist/clientframe.js.map +1 -0
  100. package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.d.ts +52 -0
  101. package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.js +137 -0
  102. package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.js.map +1 -0
  103. package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.d.ts +58 -0
  104. package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js +189 -0
  105. package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js.map +1 -0
  106. package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.d.ts +254 -0
  107. package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.js +367 -0
  108. package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.js.map +1 -0
  109. package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.d.ts +36 -0
  110. package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.js +123 -0
  111. package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.js.map +1 -0
  112. package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.d.ts +101 -0
  113. package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.js +103 -0
  114. package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.js.map +1 -0
  115. package/node_modules/@waterplane/shared/dist/clihealth.d.ts +64 -0
  116. package/node_modules/@waterplane/shared/dist/clihealth.js +69 -0
  117. package/node_modules/@waterplane/shared/dist/clihealth.js.map +1 -0
  118. package/node_modules/@waterplane/shared/dist/clirestart.d.ts +66 -0
  119. package/node_modules/@waterplane/shared/dist/clirestart.js +82 -0
  120. package/node_modules/@waterplane/shared/dist/clirestart.js.map +1 -0
  121. package/node_modules/@waterplane/shared/dist/closed.d.ts +41 -0
  122. package/node_modules/@waterplane/shared/dist/closed.js +102 -0
  123. package/node_modules/@waterplane/shared/dist/closed.js.map +1 -0
  124. package/node_modules/@waterplane/shared/dist/collage.d.ts +132 -0
  125. package/node_modules/@waterplane/shared/dist/collage.js +198 -0
  126. package/node_modules/@waterplane/shared/dist/collage.js.map +1 -0
  127. package/node_modules/@waterplane/shared/dist/contextweight.d.ts +169 -0
  128. package/node_modules/@waterplane/shared/dist/contextweight.js +247 -0
  129. package/node_modules/@waterplane/shared/dist/contextweight.js.map +1 -0
  130. package/node_modules/@waterplane/shared/dist/costwindow.d.ts +216 -0
  131. package/node_modules/@waterplane/shared/dist/costwindow.js +430 -0
  132. package/node_modules/@waterplane/shared/dist/costwindow.js.map +1 -0
  133. package/node_modules/@waterplane/shared/dist/ctxwindow.d.ts +92 -0
  134. package/node_modules/@waterplane/shared/dist/ctxwindow.js +107 -0
  135. package/node_modules/@waterplane/shared/dist/ctxwindow.js.map +1 -0
  136. package/node_modules/@waterplane/shared/dist/deskstorage.d.ts +170 -0
  137. package/node_modules/@waterplane/shared/dist/deskstorage.js +140 -0
  138. package/node_modules/@waterplane/shared/dist/deskstorage.js.map +1 -0
  139. package/node_modules/@waterplane/shared/dist/desktopfiles.d.ts +100 -0
  140. package/node_modules/@waterplane/shared/dist/desktopfiles.js +192 -0
  141. package/node_modules/@waterplane/shared/dist/desktopfiles.js.map +1 -0
  142. package/node_modules/@waterplane/shared/dist/devices.d.ts +52 -0
  143. package/node_modules/@waterplane/shared/dist/devices.js +53 -0
  144. package/node_modules/@waterplane/shared/dist/devices.js.map +1 -0
  145. package/node_modules/@waterplane/shared/dist/dictate.d.ts +178 -0
  146. package/node_modules/@waterplane/shared/dist/dictate.js +345 -0
  147. package/node_modules/@waterplane/shared/dist/dictate.js.map +1 -0
  148. package/node_modules/@waterplane/shared/dist/dictateterms.d.ts +91 -0
  149. package/node_modules/@waterplane/shared/dist/dictateterms.js +180 -0
  150. package/node_modules/@waterplane/shared/dist/dictateterms.js.map +1 -0
  151. package/node_modules/@waterplane/shared/dist/envresolve.d.ts +30 -0
  152. package/node_modules/@waterplane/shared/dist/envresolve.js +76 -0
  153. package/node_modules/@waterplane/shared/dist/envresolve.js.map +1 -0
  154. package/node_modules/@waterplane/shared/dist/exposure.d.ts +175 -0
  155. package/node_modules/@waterplane/shared/dist/exposure.js +357 -0
  156. package/node_modules/@waterplane/shared/dist/exposure.js.map +1 -0
  157. package/node_modules/@waterplane/shared/dist/exposurepush.d.ts +60 -0
  158. package/node_modules/@waterplane/shared/dist/exposurepush.js +103 -0
  159. package/node_modules/@waterplane/shared/dist/exposurepush.js.map +1 -0
  160. package/node_modules/@waterplane/shared/dist/fanoutruns.d.ts +25 -0
  161. package/node_modules/@waterplane/shared/dist/fanoutruns.js +88 -0
  162. package/node_modules/@waterplane/shared/dist/fanoutruns.js.map +1 -0
  163. package/node_modules/@waterplane/shared/dist/followup.d.ts +38 -0
  164. package/node_modules/@waterplane/shared/dist/followup.js +68 -0
  165. package/node_modules/@waterplane/shared/dist/followup.js.map +1 -0
  166. package/node_modules/@waterplane/shared/dist/gallery.d.ts +83 -0
  167. package/node_modules/@waterplane/shared/dist/gallery.js +94 -0
  168. package/node_modules/@waterplane/shared/dist/gallery.js.map +1 -0
  169. package/node_modules/@waterplane/shared/dist/halt.d.ts +46 -0
  170. package/node_modules/@waterplane/shared/dist/halt.js +34 -0
  171. package/node_modules/@waterplane/shared/dist/halt.js.map +1 -0
  172. package/node_modules/@waterplane/shared/dist/healthindex/commits.d.ts +26 -0
  173. package/node_modules/@waterplane/shared/dist/healthindex/commits.js +57 -0
  174. package/node_modules/@waterplane/shared/dist/healthindex/commits.js.map +1 -0
  175. package/node_modules/@waterplane/shared/dist/healthindex/move.d.ts +25 -0
  176. package/node_modules/@waterplane/shared/dist/healthindex/move.js +79 -0
  177. package/node_modules/@waterplane/shared/dist/healthindex/move.js.map +1 -0
  178. package/node_modules/@waterplane/shared/dist/healthindex/readings.d.ts +53 -0
  179. package/node_modules/@waterplane/shared/dist/healthindex/readings.js +154 -0
  180. package/node_modules/@waterplane/shared/dist/healthindex/readings.js.map +1 -0
  181. package/node_modules/@waterplane/shared/dist/healthindex/repoindex.d.ts +41 -0
  182. package/node_modules/@waterplane/shared/dist/healthindex/repoindex.js +19 -0
  183. package/node_modules/@waterplane/shared/dist/healthindex/repoindex.js.map +1 -0
  184. package/node_modules/@waterplane/shared/dist/healthindex/score.d.ts +26 -0
  185. package/node_modules/@waterplane/shared/dist/healthindex/score.js +154 -0
  186. package/node_modules/@waterplane/shared/dist/healthindex/score.js.map +1 -0
  187. package/node_modules/@waterplane/shared/dist/healthindex/types.d.ts +206 -0
  188. package/node_modules/@waterplane/shared/dist/healthindex/types.js +58 -0
  189. package/node_modules/@waterplane/shared/dist/healthindex/types.js.map +1 -0
  190. package/node_modules/@waterplane/shared/dist/healthindex/vs.d.ts +26 -0
  191. package/node_modules/@waterplane/shared/dist/healthindex/vs.js +38 -0
  192. package/node_modules/@waterplane/shared/dist/healthindex/vs.js.map +1 -0
  193. package/node_modules/@waterplane/shared/dist/healthindex/words.d.ts +28 -0
  194. package/node_modules/@waterplane/shared/dist/healthindex/words.js +69 -0
  195. package/node_modules/@waterplane/shared/dist/healthindex/words.js.map +1 -0
  196. package/node_modules/@waterplane/shared/dist/healthindex.d.ts +89 -0
  197. package/node_modules/@waterplane/shared/dist/healthindex.js +83 -0
  198. package/node_modules/@waterplane/shared/dist/healthindex.js.map +1 -0
  199. package/node_modules/@waterplane/shared/dist/healthindexresponse.d.ts +36 -0
  200. package/node_modules/@waterplane/shared/dist/healthindexresponse.js +84 -0
  201. package/node_modules/@waterplane/shared/dist/healthindexresponse.js.map +1 -0
  202. package/node_modules/@waterplane/shared/dist/healthspend.d.ts +23 -0
  203. package/node_modules/@waterplane/shared/dist/healthspend.js +41 -0
  204. package/node_modules/@waterplane/shared/dist/healthspend.js.map +1 -0
  205. package/node_modules/@waterplane/shared/dist/hints.d.ts +77 -0
  206. package/node_modules/@waterplane/shared/dist/hints.js +612 -0
  207. package/node_modules/@waterplane/shared/dist/hints.js.map +1 -0
  208. package/node_modules/@waterplane/shared/dist/hosts.d.ts +160 -0
  209. package/node_modules/@waterplane/shared/dist/hosts.js +316 -0
  210. package/node_modules/@waterplane/shared/dist/hosts.js.map +1 -0
  211. package/node_modules/@waterplane/shared/dist/hosturl.d.ts +73 -0
  212. package/node_modules/@waterplane/shared/dist/hosturl.js +129 -0
  213. package/node_modules/@waterplane/shared/dist/hosturl.js.map +1 -0
  214. package/node_modules/@waterplane/shared/dist/index.d.ts +312 -0
  215. package/node_modules/@waterplane/shared/dist/index.js +334 -0
  216. package/node_modules/@waterplane/shared/dist/index.js.map +1 -0
  217. package/node_modules/@waterplane/shared/dist/installlog.d.ts +137 -0
  218. package/node_modules/@waterplane/shared/dist/installlog.js +367 -0
  219. package/node_modules/@waterplane/shared/dist/installlog.js.map +1 -0
  220. package/node_modules/@waterplane/shared/dist/intent/budgetpass.d.ts +103 -0
  221. package/node_modules/@waterplane/shared/dist/intent/budgetpass.js +185 -0
  222. package/node_modules/@waterplane/shared/dist/intent/budgetpass.js.map +1 -0
  223. package/node_modules/@waterplane/shared/dist/intent/clean.d.ts +30 -0
  224. package/node_modules/@waterplane/shared/dist/intent/clean.js +492 -0
  225. package/node_modules/@waterplane/shared/dist/intent/clean.js.map +1 -0
  226. package/node_modules/@waterplane/shared/dist/intent/facts.d.ts +320 -0
  227. package/node_modules/@waterplane/shared/dist/intent/facts.js +52 -0
  228. package/node_modules/@waterplane/shared/dist/intent/facts.js.map +1 -0
  229. package/node_modules/@waterplane/shared/dist/intent/kind.d.ts +224 -0
  230. package/node_modules/@waterplane/shared/dist/intent/kind.js +254 -0
  231. package/node_modules/@waterplane/shared/dist/intent/kind.js.map +1 -0
  232. package/node_modules/@waterplane/shared/dist/intent/row.d.ts +433 -0
  233. package/node_modules/@waterplane/shared/dist/intent/row.js +75 -0
  234. package/node_modules/@waterplane/shared/dist/intent/row.js.map +1 -0
  235. package/node_modules/@waterplane/shared/dist/intent/slot.d.ts +137 -0
  236. package/node_modules/@waterplane/shared/dist/intent/slot.js +238 -0
  237. package/node_modules/@waterplane/shared/dist/intent/slot.js.map +1 -0
  238. package/node_modules/@waterplane/shared/dist/intent/target.d.ts +62 -0
  239. package/node_modules/@waterplane/shared/dist/intent/target.js +177 -0
  240. package/node_modules/@waterplane/shared/dist/intent/target.js.map +1 -0
  241. package/node_modules/@waterplane/shared/dist/intent/types.d.ts +455 -0
  242. package/node_modules/@waterplane/shared/dist/intent/types.js +27 -0
  243. package/node_modules/@waterplane/shared/dist/intent/types.js.map +1 -0
  244. package/node_modules/@waterplane/shared/dist/intent/verdict.d.ts +50 -0
  245. package/node_modules/@waterplane/shared/dist/intent/verdict.js +431 -0
  246. package/node_modules/@waterplane/shared/dist/intent/verdict.js.map +1 -0
  247. package/node_modules/@waterplane/shared/dist/intent/words.d.ts +236 -0
  248. package/node_modules/@waterplane/shared/dist/intent/words.js +329 -0
  249. package/node_modules/@waterplane/shared/dist/intent/words.js.map +1 -0
  250. package/node_modules/@waterplane/shared/dist/intent.d.ts +69 -0
  251. package/node_modules/@waterplane/shared/dist/intent.js +65 -0
  252. package/node_modules/@waterplane/shared/dist/intent.js.map +1 -0
  253. package/node_modules/@waterplane/shared/dist/itempaths.d.ts +35 -0
  254. package/node_modules/@waterplane/shared/dist/itempaths.js +55 -0
  255. package/node_modules/@waterplane/shared/dist/itempaths.js.map +1 -0
  256. package/node_modules/@waterplane/shared/dist/keyhint.d.ts +32 -0
  257. package/node_modules/@waterplane/shared/dist/keyhint.js +53 -0
  258. package/node_modules/@waterplane/shared/dist/keyhint.js.map +1 -0
  259. package/node_modules/@waterplane/shared/dist/lanroute.d.ts +86 -0
  260. package/node_modules/@waterplane/shared/dist/lanroute.js +84 -0
  261. package/node_modules/@waterplane/shared/dist/lanroute.js.map +1 -0
  262. package/node_modules/@waterplane/shared/dist/launch.d.ts +110 -0
  263. package/node_modules/@waterplane/shared/dist/launch.js +102 -0
  264. package/node_modules/@waterplane/shared/dist/launch.js.map +1 -0
  265. package/node_modules/@waterplane/shared/dist/launchmodes.d.ts +24 -0
  266. package/node_modules/@waterplane/shared/dist/launchmodes.js +50 -0
  267. package/node_modules/@waterplane/shared/dist/launchmodes.js.map +1 -0
  268. package/node_modules/@waterplane/shared/dist/ledgerspan.d.ts +59 -0
  269. package/node_modules/@waterplane/shared/dist/ledgerspan.js +99 -0
  270. package/node_modules/@waterplane/shared/dist/ledgerspan.js.map +1 -0
  271. package/node_modules/@waterplane/shared/dist/localrt.d.ts +53 -0
  272. package/node_modules/@waterplane/shared/dist/localrt.js +54 -0
  273. package/node_modules/@waterplane/shared/dist/localrt.js.map +1 -0
  274. package/node_modules/@waterplane/shared/dist/localusage.d.ts +35 -0
  275. package/node_modules/@waterplane/shared/dist/localusage.js +135 -0
  276. package/node_modules/@waterplane/shared/dist/localusage.js.map +1 -0
  277. package/node_modules/@waterplane/shared/dist/naming.d.ts +391 -0
  278. package/node_modules/@waterplane/shared/dist/naming.js +571 -0
  279. package/node_modules/@waterplane/shared/dist/naming.js.map +1 -0
  280. package/node_modules/@waterplane/shared/dist/netfuse.d.ts +60 -0
  281. package/node_modules/@waterplane/shared/dist/netfuse.js +99 -0
  282. package/node_modules/@waterplane/shared/dist/netfuse.js.map +1 -0
  283. package/node_modules/@waterplane/shared/dist/netretry.d.ts +38 -0
  284. package/node_modules/@waterplane/shared/dist/netretry.js +31 -0
  285. package/node_modules/@waterplane/shared/dist/netretry.js.map +1 -0
  286. package/node_modules/@waterplane/shared/dist/netretrycfg.d.ts +12 -0
  287. package/node_modules/@waterplane/shared/dist/netretrycfg.js +27 -0
  288. package/node_modules/@waterplane/shared/dist/netretrycfg.js.map +1 -0
  289. package/node_modules/@waterplane/shared/dist/netstall.d.ts +163 -0
  290. package/node_modules/@waterplane/shared/dist/netstall.js +241 -0
  291. package/node_modules/@waterplane/shared/dist/netstall.js.map +1 -0
  292. package/node_modules/@waterplane/shared/dist/nodemin.d.ts +20 -0
  293. package/node_modules/@waterplane/shared/dist/nodemin.js +37 -0
  294. package/node_modules/@waterplane/shared/dist/nodemin.js.map +1 -0
  295. package/node_modules/@waterplane/shared/dist/optins.d.ts +156 -0
  296. package/node_modules/@waterplane/shared/dist/optins.js +290 -0
  297. package/node_modules/@waterplane/shared/dist/optins.js.map +1 -0
  298. package/node_modules/@waterplane/shared/dist/pad.d.ts +263 -0
  299. package/node_modules/@waterplane/shared/dist/pad.js +373 -0
  300. package/node_modules/@waterplane/shared/dist/pad.js.map +1 -0
  301. package/node_modules/@waterplane/shared/dist/pairing.d.ts +120 -0
  302. package/node_modules/@waterplane/shared/dist/pairing.js +130 -0
  303. package/node_modules/@waterplane/shared/dist/pairing.js.map +1 -0
  304. package/node_modules/@waterplane/shared/dist/passive.d.ts +58 -0
  305. package/node_modules/@waterplane/shared/dist/passive.js +36 -0
  306. package/node_modules/@waterplane/shared/dist/passive.js.map +1 -0
  307. package/node_modules/@waterplane/shared/dist/peer.d.ts +311 -0
  308. package/node_modules/@waterplane/shared/dist/peer.js +390 -0
  309. package/node_modules/@waterplane/shared/dist/peer.js.map +1 -0
  310. package/node_modules/@waterplane/shared/dist/period.d.ts +108 -0
  311. package/node_modules/@waterplane/shared/dist/period.js +263 -0
  312. package/node_modules/@waterplane/shared/dist/period.js.map +1 -0
  313. package/node_modules/@waterplane/shared/dist/plugin/api.d.ts +364 -0
  314. package/node_modules/@waterplane/shared/dist/plugin/api.js +2 -0
  315. package/node_modules/@waterplane/shared/dist/plugin/api.js.map +1 -0
  316. package/node_modules/@waterplane/shared/dist/plugin/backend.d.ts +197 -0
  317. package/node_modules/@waterplane/shared/dist/plugin/backend.js +9 -0
  318. package/node_modules/@waterplane/shared/dist/plugin/backend.js.map +1 -0
  319. package/node_modules/@waterplane/shared/dist/plugin/manifest.d.ts +160 -0
  320. package/node_modules/@waterplane/shared/dist/plugin/manifest.js +98 -0
  321. package/node_modules/@waterplane/shared/dist/plugin/manifest.js.map +1 -0
  322. package/node_modules/@waterplane/shared/dist/plugin/module.d.ts +98 -0
  323. package/node_modules/@waterplane/shared/dist/plugin/module.js +13 -0
  324. package/node_modules/@waterplane/shared/dist/plugin/module.js.map +1 -0
  325. package/node_modules/@waterplane/shared/dist/plugin/version.d.ts +64 -0
  326. package/node_modules/@waterplane/shared/dist/plugin/version.js +84 -0
  327. package/node_modules/@waterplane/shared/dist/plugin/version.js.map +1 -0
  328. package/node_modules/@waterplane/shared/dist/plugin.d.ts +36 -0
  329. package/node_modules/@waterplane/shared/dist/plugin.js +37 -0
  330. package/node_modules/@waterplane/shared/dist/plugin.js.map +1 -0
  331. package/node_modules/@waterplane/shared/dist/pluginfile.d.ts +25 -0
  332. package/node_modules/@waterplane/shared/dist/pluginfile.js +8 -0
  333. package/node_modules/@waterplane/shared/dist/pluginfile.js.map +1 -0
  334. package/node_modules/@waterplane/shared/dist/pluginlaunch.d.ts +116 -0
  335. package/node_modules/@waterplane/shared/dist/pluginlaunch.js +3 -0
  336. package/node_modules/@waterplane/shared/dist/pluginlaunch.js.map +1 -0
  337. package/node_modules/@waterplane/shared/dist/pluginmaturity.d.ts +26 -0
  338. package/node_modules/@waterplane/shared/dist/pluginmaturity.js +32 -0
  339. package/node_modules/@waterplane/shared/dist/pluginmaturity.js.map +1 -0
  340. package/node_modules/@waterplane/shared/dist/pluginreadings.d.ts +43 -0
  341. package/node_modules/@waterplane/shared/dist/pluginreadings.js +5 -0
  342. package/node_modules/@waterplane/shared/dist/pluginreadings.js.map +1 -0
  343. package/node_modules/@waterplane/shared/dist/pricing.d.ts +249 -0
  344. package/node_modules/@waterplane/shared/dist/pricing.js +388 -0
  345. package/node_modules/@waterplane/shared/dist/pricing.js.map +1 -0
  346. package/node_modules/@waterplane/shared/dist/promptid.d.ts +48 -0
  347. package/node_modules/@waterplane/shared/dist/promptid.js +116 -0
  348. package/node_modules/@waterplane/shared/dist/promptid.js.map +1 -0
  349. package/node_modules/@waterplane/shared/dist/prview.d.ts +23 -0
  350. package/node_modules/@waterplane/shared/dist/prview.js +107 -0
  351. package/node_modules/@waterplane/shared/dist/prview.js.map +1 -0
  352. package/node_modules/@waterplane/shared/dist/ptysize.d.ts +74 -0
  353. package/node_modules/@waterplane/shared/dist/ptysize.js +77 -0
  354. package/node_modules/@waterplane/shared/dist/ptysize.js.map +1 -0
  355. package/node_modules/@waterplane/shared/dist/queue/queuebind.d.ts +40 -0
  356. package/node_modules/@waterplane/shared/dist/queue/queuebind.js +70 -0
  357. package/node_modules/@waterplane/shared/dist/queue/queuebind.js.map +1 -0
  358. package/node_modules/@waterplane/shared/dist/queue/queueentry.d.ts +175 -0
  359. package/node_modules/@waterplane/shared/dist/queue/queueentry.js +4 -0
  360. package/node_modules/@waterplane/shared/dist/queue/queueentry.js.map +1 -0
  361. package/node_modules/@waterplane/shared/dist/queue/queuelane.d.ts +65 -0
  362. package/node_modules/@waterplane/shared/dist/queue/queuelane.js +45 -0
  363. package/node_modules/@waterplane/shared/dist/queue/queuelane.js.map +1 -0
  364. package/node_modules/@waterplane/shared/dist/queue/queueplan.d.ts +180 -0
  365. package/node_modules/@waterplane/shared/dist/queue/queueplan.js +169 -0
  366. package/node_modules/@waterplane/shared/dist/queue/queueplan.js.map +1 -0
  367. package/node_modules/@waterplane/shared/dist/queue/queueretarget.d.ts +61 -0
  368. package/node_modules/@waterplane/shared/dist/queue/queueretarget.js +94 -0
  369. package/node_modules/@waterplane/shared/dist/queue/queueretarget.js.map +1 -0
  370. package/node_modules/@waterplane/shared/dist/queue/queueretry.d.ts +61 -0
  371. package/node_modules/@waterplane/shared/dist/queue/queueretry.js +66 -0
  372. package/node_modules/@waterplane/shared/dist/queue/queueretry.js.map +1 -0
  373. package/node_modules/@waterplane/shared/dist/queue/queueserial.d.ts +154 -0
  374. package/node_modules/@waterplane/shared/dist/queue/queueserial.js +169 -0
  375. package/node_modules/@waterplane/shared/dist/queue/queueserial.js.map +1 -0
  376. package/node_modules/@waterplane/shared/dist/queue/queueuploads.d.ts +65 -0
  377. package/node_modules/@waterplane/shared/dist/queue/queueuploads.js +79 -0
  378. package/node_modules/@waterplane/shared/dist/queue/queueuploads.js.map +1 -0
  379. package/node_modules/@waterplane/shared/dist/queue/queuewords.d.ts +22 -0
  380. package/node_modules/@waterplane/shared/dist/queue/queuewords.js +55 -0
  381. package/node_modules/@waterplane/shared/dist/queue/queuewords.js.map +1 -0
  382. package/node_modules/@waterplane/shared/dist/queue.d.ts +13 -0
  383. package/node_modules/@waterplane/shared/dist/queue.js +44 -0
  384. package/node_modules/@waterplane/shared/dist/queue.js.map +1 -0
  385. package/node_modules/@waterplane/shared/dist/repocolor.d.ts +159 -0
  386. package/node_modules/@waterplane/shared/dist/repocolor.js +261 -0
  387. package/node_modules/@waterplane/shared/dist/repocolor.js.map +1 -0
  388. package/node_modules/@waterplane/shared/dist/repohealth.d.ts +644 -0
  389. package/node_modules/@waterplane/shared/dist/repohealth.js +117 -0
  390. package/node_modules/@waterplane/shared/dist/repohealth.js.map +1 -0
  391. package/node_modules/@waterplane/shared/dist/repohealthread.d.ts +156 -0
  392. package/node_modules/@waterplane/shared/dist/repohealthread.js +680 -0
  393. package/node_modules/@waterplane/shared/dist/repohealthread.js.map +1 -0
  394. package/node_modules/@waterplane/shared/dist/requirements.d.ts +81 -0
  395. package/node_modules/@waterplane/shared/dist/requirements.js +191 -0
  396. package/node_modules/@waterplane/shared/dist/requirements.js.map +1 -0
  397. package/node_modules/@waterplane/shared/dist/rootchoice.d.ts +52 -0
  398. package/node_modules/@waterplane/shared/dist/rootchoice.js +18 -0
  399. package/node_modules/@waterplane/shared/dist/rootchoice.js.map +1 -0
  400. package/node_modules/@waterplane/shared/dist/schedule/schedaction.d.ts +135 -0
  401. package/node_modules/@waterplane/shared/dist/schedule/schedaction.js +36 -0
  402. package/node_modules/@waterplane/shared/dist/schedule/schedaction.js.map +1 -0
  403. package/node_modules/@waterplane/shared/dist/schedule/schedclean.d.ts +6 -0
  404. package/node_modules/@waterplane/shared/dist/schedule/schedclean.js +206 -0
  405. package/node_modules/@waterplane/shared/dist/schedule/schedclean.js.map +1 -0
  406. package/node_modules/@waterplane/shared/dist/schedule/schedfire.d.ts +76 -0
  407. package/node_modules/@waterplane/shared/dist/schedule/schedfire.js +122 -0
  408. package/node_modules/@waterplane/shared/dist/schedule/schedfire.js.map +1 -0
  409. package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.d.ts +78 -0
  410. package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.js +98 -0
  411. package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.js.map +1 -0
  412. package/node_modules/@waterplane/shared/dist/schedule/schedrule.d.ts +219 -0
  413. package/node_modules/@waterplane/shared/dist/schedule/schedrule.js +162 -0
  414. package/node_modules/@waterplane/shared/dist/schedule/schedrule.js.map +1 -0
  415. package/node_modules/@waterplane/shared/dist/schedule/schedtext.d.ts +37 -0
  416. package/node_modules/@waterplane/shared/dist/schedule/schedtext.js +119 -0
  417. package/node_modules/@waterplane/shared/dist/schedule/schedtext.js.map +1 -0
  418. package/node_modules/@waterplane/shared/dist/schedule/schedwhen.d.ts +54 -0
  419. package/node_modules/@waterplane/shared/dist/schedule/schedwhen.js +70 -0
  420. package/node_modules/@waterplane/shared/dist/schedule/schedwhen.js.map +1 -0
  421. package/node_modules/@waterplane/shared/dist/schedule/schedzone.d.ts +76 -0
  422. package/node_modules/@waterplane/shared/dist/schedule/schedzone.js +159 -0
  423. package/node_modules/@waterplane/shared/dist/schedule/schedzone.js.map +1 -0
  424. package/node_modules/@waterplane/shared/dist/schedule.d.ts +44 -0
  425. package/node_modules/@waterplane/shared/dist/schedule.js +43 -0
  426. package/node_modules/@waterplane/shared/dist/schedule.js.map +1 -0
  427. package/node_modules/@waterplane/shared/dist/screenlog.d.ts +65 -0
  428. package/node_modules/@waterplane/shared/dist/screenlog.js +169 -0
  429. package/node_modules/@waterplane/shared/dist/screenlog.js.map +1 -0
  430. package/node_modules/@waterplane/shared/dist/sendstamp.d.ts +85 -0
  431. package/node_modules/@waterplane/shared/dist/sendstamp.js +96 -0
  432. package/node_modules/@waterplane/shared/dist/sendstamp.js.map +1 -0
  433. package/node_modules/@waterplane/shared/dist/sessionbudget.d.ts +177 -0
  434. package/node_modules/@waterplane/shared/dist/sessionbudget.js +239 -0
  435. package/node_modules/@waterplane/shared/dist/sessionbudget.js.map +1 -0
  436. package/node_modules/@waterplane/shared/dist/sessioncost/costcold.d.ts +99 -0
  437. package/node_modules/@waterplane/shared/dist/sessioncost/costcold.js +94 -0
  438. package/node_modules/@waterplane/shared/dist/sessioncost/costcold.js.map +1 -0
  439. package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.d.ts +125 -0
  440. package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.js +184 -0
  441. package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.js.map +1 -0
  442. package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.d.ts +21 -0
  443. package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.js +31 -0
  444. package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.js.map +1 -0
  445. package/node_modules/@waterplane/shared/dist/sessioncost/costreading.d.ts +174 -0
  446. package/node_modules/@waterplane/shared/dist/sessioncost/costreading.js +302 -0
  447. package/node_modules/@waterplane/shared/dist/sessioncost/costreading.js.map +1 -0
  448. package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.d.ts +209 -0
  449. package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.js +128 -0
  450. package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.js.map +1 -0
  451. package/node_modules/@waterplane/shared/dist/sessioncost/costwords.d.ts +169 -0
  452. package/node_modules/@waterplane/shared/dist/sessioncost/costwords.js +262 -0
  453. package/node_modules/@waterplane/shared/dist/sessioncost/costwords.js.map +1 -0
  454. package/node_modules/@waterplane/shared/dist/sessioncost.d.ts +52 -0
  455. package/node_modules/@waterplane/shared/dist/sessioncost.js +51 -0
  456. package/node_modules/@waterplane/shared/dist/sessioncost.js.map +1 -0
  457. package/node_modules/@waterplane/shared/dist/settings.d.ts +136 -0
  458. package/node_modules/@waterplane/shared/dist/settings.js +303 -0
  459. package/node_modules/@waterplane/shared/dist/settings.js.map +1 -0
  460. package/node_modules/@waterplane/shared/dist/shells.d.ts +140 -0
  461. package/node_modules/@waterplane/shared/dist/shells.js +257 -0
  462. package/node_modules/@waterplane/shared/dist/shells.js.map +1 -0
  463. package/node_modules/@waterplane/shared/dist/slash.d.ts +47 -0
  464. package/node_modules/@waterplane/shared/dist/slash.js +166 -0
  465. package/node_modules/@waterplane/shared/dist/slash.js.map +1 -0
  466. package/node_modules/@waterplane/shared/dist/sourceshape.d.ts +27 -0
  467. package/node_modules/@waterplane/shared/dist/sourceshape.js +141 -0
  468. package/node_modules/@waterplane/shared/dist/sourceshape.js.map +1 -0
  469. package/node_modules/@waterplane/shared/dist/spendwarn.d.ts +37 -0
  470. package/node_modules/@waterplane/shared/dist/spendwarn.js +79 -0
  471. package/node_modules/@waterplane/shared/dist/spendwarn.js.map +1 -0
  472. package/node_modules/@waterplane/shared/dist/statedir.d.ts +11 -0
  473. package/node_modules/@waterplane/shared/dist/statedir.js +34 -0
  474. package/node_modules/@waterplane/shared/dist/statedir.js.map +1 -0
  475. package/node_modules/@waterplane/shared/dist/stream.d.ts +135 -0
  476. package/node_modules/@waterplane/shared/dist/stream.js +117 -0
  477. package/node_modules/@waterplane/shared/dist/stream.js.map +1 -0
  478. package/node_modules/@waterplane/shared/dist/sweep.d.ts +156 -0
  479. package/node_modules/@waterplane/shared/dist/sweep.js +193 -0
  480. package/node_modules/@waterplane/shared/dist/sweep.js.map +1 -0
  481. package/node_modules/@waterplane/shared/dist/sweepfamilies.d.ts +56 -0
  482. package/node_modules/@waterplane/shared/dist/sweepfamilies.js +140 -0
  483. package/node_modules/@waterplane/shared/dist/sweepfamilies.js.map +1 -0
  484. package/node_modules/@waterplane/shared/dist/termpalette.d.ts +17 -0
  485. package/node_modules/@waterplane/shared/dist/termpalette.js +5 -0
  486. package/node_modules/@waterplane/shared/dist/termpalette.js.map +1 -0
  487. package/node_modules/@waterplane/shared/dist/themeoverlay.d.ts +111 -0
  488. package/node_modules/@waterplane/shared/dist/themeoverlay.js +328 -0
  489. package/node_modules/@waterplane/shared/dist/themeoverlay.js.map +1 -0
  490. package/node_modules/@waterplane/shared/dist/tokens.d.ts +198 -0
  491. package/node_modules/@waterplane/shared/dist/tokens.js +320 -0
  492. package/node_modules/@waterplane/shared/dist/tokens.js.map +1 -0
  493. package/node_modules/@waterplane/shared/dist/transcriptfold.d.ts +50 -0
  494. package/node_modules/@waterplane/shared/dist/transcriptfold.js +87 -0
  495. package/node_modules/@waterplane/shared/dist/transcriptfold.js.map +1 -0
  496. package/node_modules/@waterplane/shared/dist/urls.d.ts +53 -0
  497. package/node_modules/@waterplane/shared/dist/urls.js +150 -0
  498. package/node_modules/@waterplane/shared/dist/urls.js.map +1 -0
  499. package/node_modules/@waterplane/shared/dist/usagesources.d.ts +88 -0
  500. package/node_modules/@waterplane/shared/dist/usagesources.js +198 -0
  501. package/node_modules/@waterplane/shared/dist/usagesources.js.map +1 -0
  502. package/node_modules/@waterplane/shared/dist/weekburn.d.ts +114 -0
  503. package/node_modules/@waterplane/shared/dist/weekburn.js +205 -0
  504. package/node_modules/@waterplane/shared/dist/weekburn.js.map +1 -0
  505. package/node_modules/@waterplane/shared/dist/windowadvice.d.ts +7 -0
  506. package/node_modules/@waterplane/shared/dist/windowadvice.js +50 -0
  507. package/node_modules/@waterplane/shared/dist/windowadvice.js.map +1 -0
  508. package/node_modules/@waterplane/shared/dist/wire/alwayson.d.ts +64 -0
  509. package/node_modules/@waterplane/shared/dist/wire/alwayson.js +7 -0
  510. package/node_modules/@waterplane/shared/dist/wire/alwayson.js.map +1 -0
  511. package/node_modules/@waterplane/shared/dist/wire/backend.d.ts +227 -0
  512. package/node_modules/@waterplane/shared/dist/wire/backend.js +18 -0
  513. package/node_modules/@waterplane/shared/dist/wire/backend.js.map +1 -0
  514. package/node_modules/@waterplane/shared/dist/wire/backendtokens.d.ts +105 -0
  515. package/node_modules/@waterplane/shared/dist/wire/backendtokens.js +2 -0
  516. package/node_modules/@waterplane/shared/dist/wire/backendtokens.js.map +1 -0
  517. package/node_modules/@waterplane/shared/dist/wire/capture.d.ts +380 -0
  518. package/node_modules/@waterplane/shared/dist/wire/capture.js +46 -0
  519. package/node_modules/@waterplane/shared/dist/wire/capture.js.map +1 -0
  520. package/node_modules/@waterplane/shared/dist/wire/costwindow.d.ts +163 -0
  521. package/node_modules/@waterplane/shared/dist/wire/costwindow.js +16 -0
  522. package/node_modules/@waterplane/shared/dist/wire/costwindow.js.map +1 -0
  523. package/node_modules/@waterplane/shared/dist/wire/install.d.ts +172 -0
  524. package/node_modules/@waterplane/shared/dist/wire/install.js +30 -0
  525. package/node_modules/@waterplane/shared/dist/wire/install.js.map +1 -0
  526. package/node_modules/@waterplane/shared/dist/wire/intent.d.ts +187 -0
  527. package/node_modules/@waterplane/shared/dist/wire/intent.js +2 -0
  528. package/node_modules/@waterplane/shared/dist/wire/intent.js.map +1 -0
  529. package/node_modules/@waterplane/shared/dist/wire/localrt.d.ts +78 -0
  530. package/node_modules/@waterplane/shared/dist/wire/localrt.js +21 -0
  531. package/node_modules/@waterplane/shared/dist/wire/localrt.js.map +1 -0
  532. package/node_modules/@waterplane/shared/dist/wire/localusage.d.ts +121 -0
  533. package/node_modules/@waterplane/shared/dist/wire/localusage.js +23 -0
  534. package/node_modules/@waterplane/shared/dist/wire/localusage.js.map +1 -0
  535. package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.d.ts +177 -0
  536. package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.js +3 -0
  537. package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.js.map +1 -0
  538. package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.d.ts +358 -0
  539. package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.js +3 -0
  540. package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.js.map +1 -0
  541. package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.d.ts +317 -0
  542. package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.js +3 -0
  543. package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.js.map +1 -0
  544. package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.d.ts +18 -0
  545. package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.js +5 -0
  546. package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.js.map +1 -0
  547. package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.d.ts +478 -0
  548. package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.js +3 -0
  549. package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.js.map +1 -0
  550. package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.d.ts +488 -0
  551. package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.js +3 -0
  552. package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.js.map +1 -0
  553. package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.d.ts +348 -0
  554. package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.js +3 -0
  555. package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.js.map +1 -0
  556. package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.d.ts +16 -0
  557. package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.js +3 -0
  558. package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.js.map +1 -0
  559. package/node_modules/@waterplane/shared/dist/wire/messages.d.ts +25 -0
  560. package/node_modules/@waterplane/shared/dist/wire/messages.js +18 -0
  561. package/node_modules/@waterplane/shared/dist/wire/messages.js.map +1 -0
  562. package/node_modules/@waterplane/shared/dist/wire/notify.d.ts +273 -0
  563. package/node_modules/@waterplane/shared/dist/wire/notify.js +174 -0
  564. package/node_modules/@waterplane/shared/dist/wire/notify.js.map +1 -0
  565. package/node_modules/@waterplane/shared/dist/wire/notifylink.d.ts +36 -0
  566. package/node_modules/@waterplane/shared/dist/wire/notifylink.js +44 -0
  567. package/node_modules/@waterplane/shared/dist/wire/notifylink.js.map +1 -0
  568. package/node_modules/@waterplane/shared/dist/wire/onboard.d.ts +121 -0
  569. package/node_modules/@waterplane/shared/dist/wire/onboard.js +11 -0
  570. package/node_modules/@waterplane/shared/dist/wire/onboard.js.map +1 -0
  571. package/node_modules/@waterplane/shared/dist/wire/pullrequest.d.ts +42 -0
  572. package/node_modules/@waterplane/shared/dist/wire/pullrequest.js +2 -0
  573. package/node_modules/@waterplane/shared/dist/wire/pullrequest.js.map +1 -0
  574. package/node_modules/@waterplane/shared/dist/wire/repo.d.ts +575 -0
  575. package/node_modules/@waterplane/shared/dist/wire/repo.js +35 -0
  576. package/node_modules/@waterplane/shared/dist/wire/repo.js.map +1 -0
  577. package/node_modules/@waterplane/shared/dist/wire/sent.d.ts +129 -0
  578. package/node_modules/@waterplane/shared/dist/wire/sent.js +2 -0
  579. package/node_modules/@waterplane/shared/dist/wire/sent.js.map +1 -0
  580. package/node_modules/@waterplane/shared/dist/wire/session/archive.d.ts +286 -0
  581. package/node_modules/@waterplane/shared/dist/wire/session/archive.js +2 -0
  582. package/node_modules/@waterplane/shared/dist/wire/session/archive.js.map +1 -0
  583. package/node_modules/@waterplane/shared/dist/wire/session/context.d.ts +298 -0
  584. package/node_modules/@waterplane/shared/dist/wire/session/context.js +6 -0
  585. package/node_modules/@waterplane/shared/dist/wire/session/context.js.map +1 -0
  586. package/node_modules/@waterplane/shared/dist/wire/session/contextspark.d.ts +409 -0
  587. package/node_modules/@waterplane/shared/dist/wire/session/contextspark.js +2 -0
  588. package/node_modules/@waterplane/shared/dist/wire/session/contextspark.js.map +1 -0
  589. package/node_modules/@waterplane/shared/dist/wire/session/delivery.d.ts +114 -0
  590. package/node_modules/@waterplane/shared/dist/wire/session/delivery.js +2 -0
  591. package/node_modules/@waterplane/shared/dist/wire/session/delivery.js.map +1 -0
  592. package/node_modules/@waterplane/shared/dist/wire/session/info.d.ts +430 -0
  593. package/node_modules/@waterplane/shared/dist/wire/session/info.js +2 -0
  594. package/node_modules/@waterplane/shared/dist/wire/session/info.js.map +1 -0
  595. package/node_modules/@waterplane/shared/dist/wire/session/launch.d.ts +357 -0
  596. package/node_modules/@waterplane/shared/dist/wire/session/launch.js +2 -0
  597. package/node_modules/@waterplane/shared/dist/wire/session/launch.js.map +1 -0
  598. package/node_modules/@waterplane/shared/dist/wire/session/promptbox.d.ts +181 -0
  599. package/node_modules/@waterplane/shared/dist/wire/session/promptbox.js +2 -0
  600. package/node_modules/@waterplane/shared/dist/wire/session/promptbox.js.map +1 -0
  601. package/node_modules/@waterplane/shared/dist/wire/session.d.ts +16 -0
  602. package/node_modules/@waterplane/shared/dist/wire/session.js +10 -0
  603. package/node_modules/@waterplane/shared/dist/wire/session.js.map +1 -0
  604. package/node_modules/@waterplane/shared/dist/wire/slash.d.ts +31 -0
  605. package/node_modules/@waterplane/shared/dist/wire/slash.js +9 -0
  606. package/node_modules/@waterplane/shared/dist/wire/slash.js.map +1 -0
  607. package/node_modules/@waterplane/shared/dist/wire/sysstat.d.ts +226 -0
  608. package/node_modules/@waterplane/shared/dist/wire/sysstat.js +47 -0
  609. package/node_modules/@waterplane/shared/dist/wire/sysstat.js.map +1 -0
  610. package/node_modules/@waterplane/shared/dist/wire/telemetry.d.ts +649 -0
  611. package/node_modules/@waterplane/shared/dist/wire/telemetry.js +3 -0
  612. package/node_modules/@waterplane/shared/dist/wire/telemetry.js.map +1 -0
  613. package/node_modules/@waterplane/shared/dist/wire/transcript.d.ts +327 -0
  614. package/node_modules/@waterplane/shared/dist/wire/transcript.js +60 -0
  615. package/node_modules/@waterplane/shared/dist/wire/transcript.js.map +1 -0
  616. package/node_modules/@waterplane/shared/dist/wire/updates.d.ts +130 -0
  617. package/node_modules/@waterplane/shared/dist/wire/updates.js +52 -0
  618. package/node_modules/@waterplane/shared/dist/wire/updates.js.map +1 -0
  619. package/node_modules/@waterplane/shared/dist/wire/work.d.ts +712 -0
  620. package/node_modules/@waterplane/shared/dist/wire/work.js +22 -0
  621. package/node_modules/@waterplane/shared/dist/wire/work.js.map +1 -0
  622. package/node_modules/@waterplane/shared/dist/working.d.ts +70 -0
  623. package/node_modules/@waterplane/shared/dist/working.js +208 -0
  624. package/node_modules/@waterplane/shared/dist/working.js.map +1 -0
  625. package/node_modules/@waterplane/shared/package.json +17 -0
  626. package/npm-shrinkwrap.json +250 -0
  627. package/package.json +33 -6
  628. package/packages/extensions/copilot-usage/waterplane-plugin.json +9 -0
  629. package/packages/extensions/ocr/assets/deu.traineddata.gz +0 -0
  630. package/packages/extensions/ocr/assets/eng.traineddata.gz +0 -0
  631. package/packages/extensions/ocr/assets/manifest.json +44 -0
  632. package/packages/extensions/ocr/assets/tesseract-core-lstm.wasm.js +191 -0
  633. package/packages/extensions/ocr/assets/tesseract-core-simd-lstm.wasm.js +191 -0
  634. package/packages/extensions/ocr/assets/worker.min.js +3 -0
  635. package/packages/extensions/ocr/waterplane-plugin.json +11 -0
  636. package/packages/extensions/requirements/waterplane-plugin.json +9 -0
  637. package/packages/extensions/scorecard/waterplane-plugin.json +10 -0
  638. package/packages/extensions/token-stats/waterplane-plugin.json +8 -0
  639. package/packages/host/dist/acks.d.ts +119 -0
  640. package/packages/host/dist/acks.js +268 -0
  641. package/packages/host/dist/acks.js.map +1 -0
  642. package/packages/host/dist/agentexposure.d.ts +13 -0
  643. package/packages/host/dist/agentexposure.js +90 -0
  644. package/packages/host/dist/agentexposure.js.map +1 -0
  645. package/packages/host/dist/agentfollowup.d.ts +45 -0
  646. package/packages/host/dist/agentfollowup.js +77 -0
  647. package/packages/host/dist/agentfollowup.js.map +1 -0
  648. package/packages/host/dist/agentintents.d.ts +278 -0
  649. package/packages/host/dist/agentintents.js +509 -0
  650. package/packages/host/dist/agentintents.js.map +1 -0
  651. package/packages/host/dist/agents.d.ts +112 -0
  652. package/packages/host/dist/agents.js +517 -0
  653. package/packages/host/dist/agents.js.map +1 -0
  654. package/packages/host/dist/agentwatch.d.ts +38 -0
  655. package/packages/host/dist/agentwatch.js +35 -0
  656. package/packages/host/dist/agentwatch.js.map +1 -0
  657. package/packages/host/dist/alwayson.d.ts +18 -0
  658. package/packages/host/dist/alwayson.js +159 -0
  659. package/packages/host/dist/alwayson.js.map +1 -0
  660. package/packages/host/dist/androidenv.d.ts +80 -0
  661. package/packages/host/dist/androidenv.js +344 -0
  662. package/packages/host/dist/androidenv.js.map +1 -0
  663. package/packages/host/dist/answergate.d.ts +187 -0
  664. package/packages/host/dist/answergate.js +321 -0
  665. package/packages/host/dist/answergate.js.map +1 -0
  666. package/packages/host/dist/api.d.ts +19 -0
  667. package/packages/host/dist/api.js +62 -0
  668. package/packages/host/dist/api.js.map +1 -0
  669. package/packages/host/dist/apkcheck.d.ts +36 -0
  670. package/packages/host/dist/apkcheck.js +290 -0
  671. package/packages/host/dist/apkcheck.js.map +1 -0
  672. package/packages/host/dist/appready.d.ts +8 -0
  673. package/packages/host/dist/appready.js +16 -0
  674. package/packages/host/dist/appready.js.map +1 -0
  675. package/packages/host/dist/archive.d.ts +95 -0
  676. package/packages/host/dist/archive.js +318 -0
  677. package/packages/host/dist/archive.js.map +1 -0
  678. package/packages/host/dist/artifacts.d.ts +38 -0
  679. package/packages/host/dist/artifacts.js +315 -0
  680. package/packages/host/dist/artifacts.js.map +1 -0
  681. package/packages/host/dist/askbox.d.ts +116 -0
  682. package/packages/host/dist/askbox.js +341 -0
  683. package/packages/host/dist/askbox.js.map +1 -0
  684. package/packages/host/dist/askrules.d.ts +38 -0
  685. package/packages/host/dist/askrules.js +139 -0
  686. package/packages/host/dist/askrules.js.map +1 -0
  687. package/packages/host/dist/assess/hassapply.d.ts +127 -0
  688. package/packages/host/dist/assess/hassapply.js +482 -0
  689. package/packages/host/dist/assess/hassapply.js.map +1 -0
  690. package/packages/host/dist/assess/hassexec.d.ts +160 -0
  691. package/packages/host/dist/assess/hassexec.js +178 -0
  692. package/packages/host/dist/assess/hassexec.js.map +1 -0
  693. package/packages/host/dist/assess/hassinput.d.ts +80 -0
  694. package/packages/host/dist/assess/hassinput.js +264 -0
  695. package/packages/host/dist/assess/hassinput.js.map +1 -0
  696. package/packages/host/dist/assess/hassknobs.d.ts +66 -0
  697. package/packages/host/dist/assess/hassknobs.js +69 -0
  698. package/packages/host/dist/assess/hassknobs.js.map +1 -0
  699. package/packages/host/dist/assess/hassprogress.d.ts +30 -0
  700. package/packages/host/dist/assess/hassprogress.js +165 -0
  701. package/packages/host/dist/assess/hassprogress.js.map +1 -0
  702. package/packages/host/dist/assess/hassrun.d.ts +39 -0
  703. package/packages/host/dist/assess/hassrun.js +269 -0
  704. package/packages/host/dist/assess/hassrun.js.map +1 -0
  705. package/packages/host/dist/assess/hassstore.d.ts +77 -0
  706. package/packages/host/dist/assess/hassstore.js +187 -0
  707. package/packages/host/dist/assess/hassstore.js.map +1 -0
  708. package/packages/host/dist/assess/hassutil.d.ts +28 -0
  709. package/packages/host/dist/assess/hassutil.js +53 -0
  710. package/packages/host/dist/assess/hassutil.js.map +1 -0
  711. package/packages/host/dist/assess.d.ts +60 -0
  712. package/packages/host/dist/assess.js +58 -0
  713. package/packages/host/dist/assess.js.map +1 -0
  714. package/packages/host/dist/attentionstore.d.ts +61 -0
  715. package/packages/host/dist/attentionstore.js +162 -0
  716. package/packages/host/dist/attentionstore.js.map +1 -0
  717. package/packages/host/dist/auth.d.ts +93 -0
  718. package/packages/host/dist/auth.js +276 -0
  719. package/packages/host/dist/auth.js.map +1 -0
  720. package/packages/host/dist/authroutes.d.ts +36 -0
  721. package/packages/host/dist/authroutes.js +108 -0
  722. package/packages/host/dist/authroutes.js.map +1 -0
  723. package/packages/host/dist/autopull.d.ts +107 -0
  724. package/packages/host/dist/autopull.js +248 -0
  725. package/packages/host/dist/autopull.js.map +1 -0
  726. package/packages/host/dist/backends/claude-endpoint.d.ts +98 -0
  727. package/packages/host/dist/backends/claude-endpoint.js +347 -0
  728. package/packages/host/dist/backends/claude-endpoint.js.map +1 -0
  729. package/packages/host/dist/backends/claude-local.d.ts +51 -0
  730. package/packages/host/dist/backends/claude-local.js +221 -0
  731. package/packages/host/dist/backends/claude-local.js.map +1 -0
  732. package/packages/host/dist/backends/claude-sources.d.ts +53 -0
  733. package/packages/host/dist/backends/claude-sources.js +68 -0
  734. package/packages/host/dist/backends/claude-sources.js.map +1 -0
  735. package/packages/host/dist/backends/claude.d.ts +45 -0
  736. package/packages/host/dist/backends/claude.js +248 -0
  737. package/packages/host/dist/backends/claude.js.map +1 -0
  738. package/packages/host/dist/backends/claudemodels.d.ts +19 -0
  739. package/packages/host/dist/backends/claudemodels.js +122 -0
  740. package/packages/host/dist/backends/claudemodels.js.map +1 -0
  741. package/packages/host/dist/backends/derive.d.ts +81 -0
  742. package/packages/host/dist/backends/derive.js +199 -0
  743. package/packages/host/dist/backends/derive.js.map +1 -0
  744. package/packages/host/dist/backends/index.d.ts +138 -0
  745. package/packages/host/dist/backends/index.js +328 -0
  746. package/packages/host/dist/backends/index.js.map +1 -0
  747. package/packages/host/dist/backends/overhead.d.ts +16 -0
  748. package/packages/host/dist/backends/overhead.js +124 -0
  749. package/packages/host/dist/backends/overhead.js.map +1 -0
  750. package/packages/host/dist/backends/readers.d.ts +57 -0
  751. package/packages/host/dist/backends/readers.js +74 -0
  752. package/packages/host/dist/backends/readers.js.map +1 -0
  753. package/packages/host/dist/backends/registry.d.ts +37 -0
  754. package/packages/host/dist/backends/registry.js +76 -0
  755. package/packages/host/dist/backends/registry.js.map +1 -0
  756. package/packages/host/dist/backends/shell.d.ts +31 -0
  757. package/packages/host/dist/backends/shell.js +127 -0
  758. package/packages/host/dist/backends/shell.js.map +1 -0
  759. package/packages/host/dist/backends/types.d.ts +459 -0
  760. package/packages/host/dist/backends/types.js +2 -0
  761. package/packages/host/dist/backends/types.js.map +1 -0
  762. package/packages/host/dist/backlog/backlogcore.d.ts +36 -0
  763. package/packages/host/dist/backlog/backlogcore.js +2 -0
  764. package/packages/host/dist/backlog/backlogcore.js.map +1 -0
  765. package/packages/host/dist/backlog/backlogedits.d.ts +96 -0
  766. package/packages/host/dist/backlog/backlogedits.js +229 -0
  767. package/packages/host/dist/backlog/backlogedits.js.map +1 -0
  768. package/packages/host/dist/backlog/backlogfollowup.d.ts +7 -0
  769. package/packages/host/dist/backlog/backlogfollowup.js +71 -0
  770. package/packages/host/dist/backlog/backlogfollowup.js.map +1 -0
  771. package/packages/host/dist/backlog/backlogknobs.d.ts +56 -0
  772. package/packages/host/dist/backlog/backlogknobs.js +62 -0
  773. package/packages/host/dist/backlog/backlogknobs.js.map +1 -0
  774. package/packages/host/dist/backlog/backlogsessions.d.ts +217 -0
  775. package/packages/host/dist/backlog/backlogsessions.js +421 -0
  776. package/packages/host/dist/backlog/backlogsessions.js.map +1 -0
  777. package/packages/host/dist/backlog/backlogstore.d.ts +31 -0
  778. package/packages/host/dist/backlog/backlogstore.js +101 -0
  779. package/packages/host/dist/backlog/backlogstore.js.map +1 -0
  780. package/packages/host/dist/backlog/backlogtitles.d.ts +40 -0
  781. package/packages/host/dist/backlog/backlogtitles.js +50 -0
  782. package/packages/host/dist/backlog/backlogtitles.js.map +1 -0
  783. package/packages/host/dist/backlog/backlogwording.d.ts +31 -0
  784. package/packages/host/dist/backlog/backlogwording.js +42 -0
  785. package/packages/host/dist/backlog/backlogwording.js.map +1 -0
  786. package/packages/host/dist/backlog.d.ts +142 -0
  787. package/packages/host/dist/backlog.js +96 -0
  788. package/packages/host/dist/backlog.js.map +1 -0
  789. package/packages/host/dist/besidespend.d.ts +22 -0
  790. package/packages/host/dist/besidespend.js +65 -0
  791. package/packages/host/dist/besidespend.js.map +1 -0
  792. package/packages/host/dist/billing.d.ts +53 -0
  793. package/packages/host/dist/billing.js +140 -0
  794. package/packages/host/dist/billing.js.map +1 -0
  795. package/packages/host/dist/binguard.d.ts +28 -0
  796. package/packages/host/dist/binguard.js +88 -0
  797. package/packages/host/dist/binguard.js.map +1 -0
  798. package/packages/host/dist/bookmarks.d.ts +24 -0
  799. package/packages/host/dist/bookmarks.js +118 -0
  800. package/packages/host/dist/bookmarks.js.map +1 -0
  801. package/packages/host/dist/boxkit.d.ts +19 -0
  802. package/packages/host/dist/boxkit.js +38 -0
  803. package/packages/host/dist/boxkit.js.map +1 -0
  804. package/packages/host/dist/branchrules.d.ts +14 -0
  805. package/packages/host/dist/branchrules.js +47 -0
  806. package/packages/host/dist/branchrules.js.map +1 -0
  807. package/packages/host/dist/branddirs.d.ts +223 -0
  808. package/packages/host/dist/branddirs.js +828 -0
  809. package/packages/host/dist/branddirs.js.map +1 -0
  810. package/packages/host/dist/budget.d.ts +57 -0
  811. package/packages/host/dist/budget.js +153 -0
  812. package/packages/host/dist/budget.js.map +1 -0
  813. package/packages/host/dist/builds.d.ts +208 -0
  814. package/packages/host/dist/builds.js +697 -0
  815. package/packages/host/dist/builds.js.map +1 -0
  816. package/packages/host/dist/buildscan.d.ts +16 -0
  817. package/packages/host/dist/buildscan.js +177 -0
  818. package/packages/host/dist/buildscan.js.map +1 -0
  819. package/packages/host/dist/buildversions.d.ts +2 -0
  820. package/packages/host/dist/buildversions.js +36 -0
  821. package/packages/host/dist/buildversions.js.map +1 -0
  822. package/packages/host/dist/burnwatch.d.ts +65 -0
  823. package/packages/host/dist/burnwatch.js +190 -0
  824. package/packages/host/dist/burnwatch.js.map +1 -0
  825. package/packages/host/dist/capture/android.d.ts +2 -0
  826. package/packages/host/dist/capture/android.js +144 -0
  827. package/packages/host/dist/capture/android.js.map +1 -0
  828. package/packages/host/dist/capture/captureconfig.d.ts +44 -0
  829. package/packages/host/dist/capture/captureconfig.js +169 -0
  830. package/packages/host/dist/capture/captureconfig.js.map +1 -0
  831. package/packages/host/dist/capture/capturehelpers.d.ts +34 -0
  832. package/packages/host/dist/capture/capturehelpers.js +156 -0
  833. package/packages/host/dist/capture/capturehelpers.js.map +1 -0
  834. package/packages/host/dist/capture/capturekit.d.ts +32 -0
  835. package/packages/host/dist/capture/capturekit.js +47 -0
  836. package/packages/host/dist/capture/capturekit.js.map +1 -0
  837. package/packages/host/dist/capture/capturepass.d.ts +17 -0
  838. package/packages/host/dist/capture/capturepass.js +262 -0
  839. package/packages/host/dist/capture/capturepass.js.map +1 -0
  840. package/packages/host/dist/capture/capturesettle.d.ts +35 -0
  841. package/packages/host/dist/capture/capturesettle.js +77 -0
  842. package/packages/host/dist/capture/capturesettle.js.map +1 -0
  843. package/packages/host/dist/capture/captureverdict.d.ts +132 -0
  844. package/packages/host/dist/capture/captureverdict.js +107 -0
  845. package/packages/host/dist/capture/captureverdict.js.map +1 -0
  846. package/packages/host/dist/capture/garmin.d.ts +2 -0
  847. package/packages/host/dist/capture/garmin.js +294 -0
  848. package/packages/host/dist/capture/garmin.js.map +1 -0
  849. package/packages/host/dist/capture/pixels.d.ts +60 -0
  850. package/packages/host/dist/capture/pixels.js +199 -0
  851. package/packages/host/dist/capture/pixels.js.map +1 -0
  852. package/packages/host/dist/capture/types.d.ts +195 -0
  853. package/packages/host/dist/capture/types.js +2 -0
  854. package/packages/host/dist/capture/types.js.map +1 -0
  855. package/packages/host/dist/capture/web.d.ts +2 -0
  856. package/packages/host/dist/capture/web.js +290 -0
  857. package/packages/host/dist/capture/web.js.map +1 -0
  858. package/packages/host/dist/capture/window.d.ts +2 -0
  859. package/packages/host/dist/capture/window.js +88 -0
  860. package/packages/host/dist/capture/window.js.map +1 -0
  861. package/packages/host/dist/capture.d.ts +116 -0
  862. package/packages/host/dist/capture.js +295 -0
  863. package/packages/host/dist/capture.js.map +1 -0
  864. package/packages/host/dist/changebrief.d.ts +37 -0
  865. package/packages/host/dist/changebrief.js +157 -0
  866. package/packages/host/dist/changebrief.js.map +1 -0
  867. package/packages/host/dist/claudebin.d.ts +32 -0
  868. package/packages/host/dist/claudebin.js +113 -0
  869. package/packages/host/dist/claudebin.js.map +1 -0
  870. package/packages/host/dist/claudeconfig.d.ts +23 -0
  871. package/packages/host/dist/claudeconfig.js +118 -0
  872. package/packages/host/dist/claudeconfig.js.map +1 -0
  873. package/packages/host/dist/cli/entry.d.ts +1 -0
  874. package/packages/host/dist/cli/entry.js +11 -0
  875. package/packages/host/dist/cli/entry.js.map +1 -0
  876. package/packages/host/dist/cli/index.d.ts +12 -0
  877. package/packages/host/dist/cli/index.js +122 -0
  878. package/packages/host/dist/cli/index.js.map +1 -0
  879. package/packages/host/dist/cli/pair.d.ts +28 -0
  880. package/packages/host/dist/cli/pair.js +94 -0
  881. package/packages/host/dist/cli/pair.js.map +1 -0
  882. package/packages/host/dist/cli/releasesig.d.ts +42 -0
  883. package/packages/host/dist/cli/releasesig.js +60 -0
  884. package/packages/host/dist/cli/releasesig.js.map +1 -0
  885. package/packages/host/dist/cli/selfupdate.d.ts +96 -0
  886. package/packages/host/dist/cli/selfupdate.js +842 -0
  887. package/packages/host/dist/cli/selfupdate.js.map +1 -0
  888. package/packages/host/dist/cli/service.d.ts +100 -0
  889. package/packages/host/dist/cli/service.js +645 -0
  890. package/packages/host/dist/cli/service.js.map +1 -0
  891. package/packages/host/dist/cli/statesnap.d.ts +34 -0
  892. package/packages/host/dist/cli/statesnap.js +135 -0
  893. package/packages/host/dist/cli/statesnap.js.map +1 -0
  894. package/packages/host/dist/cli/windows.d.ts +191 -0
  895. package/packages/host/dist/cli/windows.js +658 -0
  896. package/packages/host/dist/cli/windows.js.map +1 -0
  897. package/packages/host/dist/clifixtures.d.ts +28 -0
  898. package/packages/host/dist/clifixtures.js +193 -0
  899. package/packages/host/dist/clifixtures.js.map +1 -0
  900. package/packages/host/dist/clihealth.d.ts +123 -0
  901. package/packages/host/dist/clihealth.js +310 -0
  902. package/packages/host/dist/clihealth.js.map +1 -0
  903. package/packages/host/dist/clisuggest.d.ts +13 -0
  904. package/packages/host/dist/clisuggest.js +54 -0
  905. package/packages/host/dist/clisuggest.js.map +1 -0
  906. package/packages/host/dist/commitmsg.d.ts +17 -0
  907. package/packages/host/dist/commitmsg.js +98 -0
  908. package/packages/host/dist/commitmsg.js.map +1 -0
  909. package/packages/host/dist/compliance.d.ts +125 -0
  910. package/packages/host/dist/compliance.js +866 -0
  911. package/packages/host/dist/compliance.js.map +1 -0
  912. package/packages/host/dist/composer.d.ts +227 -0
  913. package/packages/host/dist/composer.js +455 -0
  914. package/packages/host/dist/composer.js.map +1 -0
  915. package/packages/host/dist/confirmgate.d.ts +34 -0
  916. package/packages/host/dist/confirmgate.js +114 -0
  917. package/packages/host/dist/confirmgate.js.map +1 -0
  918. package/packages/host/dist/context.d.ts +22 -0
  919. package/packages/host/dist/context.js +92 -0
  920. package/packages/host/dist/context.js.map +1 -0
  921. package/packages/host/dist/contextlimits.d.ts +31 -0
  922. package/packages/host/dist/contextlimits.js +128 -0
  923. package/packages/host/dist/contextlimits.js.map +1 -0
  924. package/packages/host/dist/convfork.d.ts +67 -0
  925. package/packages/host/dist/convfork.js +372 -0
  926. package/packages/host/dist/convfork.js.map +1 -0
  927. package/packages/host/dist/convlog.d.ts +40 -0
  928. package/packages/host/dist/convlog.js +52 -0
  929. package/packages/host/dist/convlog.js.map +1 -0
  930. package/packages/host/dist/costwindow.d.ts +77 -0
  931. package/packages/host/dist/costwindow.js +333 -0
  932. package/packages/host/dist/costwindow.js.map +1 -0
  933. package/packages/host/dist/ctxlog/ctxagents.d.ts +179 -0
  934. package/packages/host/dist/ctxlog/ctxagents.js +419 -0
  935. package/packages/host/dist/ctxlog/ctxagents.js.map +1 -0
  936. package/packages/host/dist/ctxlog/ctxcursor.d.ts +334 -0
  937. package/packages/host/dist/ctxlog/ctxcursor.js +257 -0
  938. package/packages/host/dist/ctxlog/ctxcursor.js.map +1 -0
  939. package/packages/host/dist/ctxlog/ctxproject.d.ts +49 -0
  940. package/packages/host/dist/ctxlog/ctxproject.js +199 -0
  941. package/packages/host/dist/ctxlog/ctxproject.js.map +1 -0
  942. package/packages/host/dist/ctxlog/ctxupdate.d.ts +11 -0
  943. package/packages/host/dist/ctxlog/ctxupdate.js +349 -0
  944. package/packages/host/dist/ctxlog/ctxupdate.js.map +1 -0
  945. package/packages/host/dist/ctxlog.d.ts +56 -0
  946. package/packages/host/dist/ctxlog.js +57 -0
  947. package/packages/host/dist/ctxlog.js.map +1 -0
  948. package/packages/host/dist/ctxwindow.d.ts +17 -0
  949. package/packages/host/dist/ctxwindow.js +106 -0
  950. package/packages/host/dist/ctxwindow.js.map +1 -0
  951. package/packages/host/dist/decisionlog.d.ts +29 -0
  952. package/packages/host/dist/decisionlog.js +167 -0
  953. package/packages/host/dist/decisionlog.js.map +1 -0
  954. package/packages/host/dist/deliver/deliverknobs.d.ts +84 -0
  955. package/packages/host/dist/deliver/deliverknobs.js +85 -0
  956. package/packages/host/dist/deliver/deliverknobs.js.map +1 -0
  957. package/packages/host/dist/deliver/deliverproof.d.ts +25 -0
  958. package/packages/host/dist/deliver/deliverproof.js +123 -0
  959. package/packages/host/dist/deliver/deliverproof.js.map +1 -0
  960. package/packages/host/dist/deliver/deliverreturn.d.ts +12 -0
  961. package/packages/host/dist/deliver/deliverreturn.js +365 -0
  962. package/packages/host/dist/deliver/deliverreturn.js.map +1 -0
  963. package/packages/host/dist/deliver/deliverrun.d.ts +20 -0
  964. package/packages/host/dist/deliver/deliverrun.js +495 -0
  965. package/packages/host/dist/deliver/deliverrun.js.map +1 -0
  966. package/packages/host/dist/deliver/deliverscreen.d.ts +67 -0
  967. package/packages/host/dist/deliver/deliverscreen.js +428 -0
  968. package/packages/host/dist/deliver/deliverscreen.js.map +1 -0
  969. package/packages/host/dist/deliver/delivertypes.d.ts +119 -0
  970. package/packages/host/dist/deliver/delivertypes.js +2 -0
  971. package/packages/host/dist/deliver/delivertypes.js.map +1 -0
  972. package/packages/host/dist/deliver.d.ts +50 -0
  973. package/packages/host/dist/deliver.js +142 -0
  974. package/packages/host/dist/deliver.js.map +1 -0
  975. package/packages/host/dist/deviceledger.d.ts +33 -0
  976. package/packages/host/dist/deviceledger.js +143 -0
  977. package/packages/host/dist/deviceledger.js.map +1 -0
  978. package/packages/host/dist/dictate.d.ts +142 -0
  979. package/packages/host/dist/dictate.js +419 -0
  980. package/packages/host/dist/dictate.js.map +1 -0
  981. package/packages/host/dist/discover.d.ts +20 -0
  982. package/packages/host/dist/discover.js +162 -0
  983. package/packages/host/dist/discover.js.map +1 -0
  984. package/packages/host/dist/diskwatch.d.ts +37 -0
  985. package/packages/host/dist/diskwatch.js +113 -0
  986. package/packages/host/dist/diskwatch.js.map +1 -0
  987. package/packages/host/dist/doctor.d.ts +153 -0
  988. package/packages/host/dist/doctor.js +748 -0
  989. package/packages/host/dist/doctor.js.map +1 -0
  990. package/packages/host/dist/doctorclaude.d.ts +33 -0
  991. package/packages/host/dist/doctorclaude.js +128 -0
  992. package/packages/host/dist/doctorclaude.js.map +1 -0
  993. package/packages/host/dist/doctormac.d.ts +47 -0
  994. package/packages/host/dist/doctormac.js +81 -0
  995. package/packages/host/dist/doctormac.js.map +1 -0
  996. package/packages/host/dist/doctorproc.d.ts +11 -0
  997. package/packages/host/dist/doctorproc.js +36 -0
  998. package/packages/host/dist/doctorproc.js.map +1 -0
  999. package/packages/host/dist/doctorwsl.d.ts +90 -0
  1000. package/packages/host/dist/doctorwsl.js +205 -0
  1001. package/packages/host/dist/doctorwsl.js.map +1 -0
  1002. package/packages/host/dist/echo.d.ts +331 -0
  1003. package/packages/host/dist/echo.js +439 -0
  1004. package/packages/host/dist/echo.js.map +1 -0
  1005. package/packages/host/dist/env.d.ts +16 -0
  1006. package/packages/host/dist/env.js +190 -0
  1007. package/packages/host/dist/env.js.map +1 -0
  1008. package/packages/host/dist/envfiles.d.ts +5 -0
  1009. package/packages/host/dist/envfiles.js +43 -0
  1010. package/packages/host/dist/envfiles.js.map +1 -0
  1011. package/packages/host/dist/eraseen.d.ts +6 -0
  1012. package/packages/host/dist/eraseen.js +100 -0
  1013. package/packages/host/dist/eraseen.js.map +1 -0
  1014. package/packages/host/dist/exposure.d.ts +56 -0
  1015. package/packages/host/dist/exposure.js +371 -0
  1016. package/packages/host/dist/exposure.js.map +1 -0
  1017. package/packages/host/dist/exposurepush.d.ts +28 -0
  1018. package/packages/host/dist/exposurepush.js +136 -0
  1019. package/packages/host/dist/exposurepush.js.map +1 -0
  1020. package/packages/host/dist/exposurerun.d.ts +18 -0
  1021. package/packages/host/dist/exposurerun.js +126 -0
  1022. package/packages/host/dist/exposurerun.js.map +1 -0
  1023. package/packages/host/dist/exposurewatch.d.ts +29 -0
  1024. package/packages/host/dist/exposurewatch.js +127 -0
  1025. package/packages/host/dist/exposurewatch.js.map +1 -0
  1026. package/packages/host/dist/extensions/copilot-usage/host/ghquota.d.mts +17 -0
  1027. package/packages/host/dist/extensions/copilot-usage/host/ghquota.mjs +96 -0
  1028. package/packages/host/dist/extensions/copilot-usage/host/ghquota.mjs.map +1 -0
  1029. package/packages/host/dist/extensions/copilot-usage/host/index.d.mts +17 -0
  1030. package/packages/host/dist/extensions/copilot-usage/host/index.mjs +102 -0
  1031. package/packages/host/dist/extensions/copilot-usage/host/index.mjs.map +1 -0
  1032. package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.d.mts +90 -0
  1033. package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.mjs +365 -0
  1034. package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.mjs.map +1 -0
  1035. package/packages/host/dist/extensions/ocr/host/index.d.mts +10 -0
  1036. package/packages/host/dist/extensions/ocr/host/index.mjs +4 -0
  1037. package/packages/host/dist/extensions/ocr/host/index.mjs.map +1 -0
  1038. package/packages/host/dist/extensions/requirements/host/index.d.mts +2 -0
  1039. package/packages/host/dist/extensions/requirements/host/index.mjs +63 -0
  1040. package/packages/host/dist/extensions/requirements/host/index.mjs.map +1 -0
  1041. package/packages/host/dist/extensions/requirements/host/list.d.mts +17 -0
  1042. package/packages/host/dist/extensions/requirements/host/list.mjs +125 -0
  1043. package/packages/host/dist/extensions/requirements/host/list.mjs.map +1 -0
  1044. package/packages/host/dist/extensions/requirements/host/requirements.d.mts +31 -0
  1045. package/packages/host/dist/extensions/requirements/host/requirements.mjs +318 -0
  1046. package/packages/host/dist/extensions/requirements/host/requirements.mjs.map +1 -0
  1047. package/packages/host/dist/extensions/requirements/shared/methods.d.mts +88 -0
  1048. package/packages/host/dist/extensions/requirements/shared/methods.mjs +36 -0
  1049. package/packages/host/dist/extensions/requirements/shared/methods.mjs.map +1 -0
  1050. package/packages/host/dist/extensions/scorecard/host/engine.d.mts +54 -0
  1051. package/packages/host/dist/extensions/scorecard/host/engine.mjs +303 -0
  1052. package/packages/host/dist/extensions/scorecard/host/engine.mjs.map +1 -0
  1053. package/packages/host/dist/extensions/scorecard/host/gitslug.d.mts +5 -0
  1054. package/packages/host/dist/extensions/scorecard/host/gitslug.mjs +45 -0
  1055. package/packages/host/dist/extensions/scorecard/host/gitslug.mjs.map +1 -0
  1056. package/packages/host/dist/extensions/scorecard/host/index.d.mts +15 -0
  1057. package/packages/host/dist/extensions/scorecard/host/index.mjs +47 -0
  1058. package/packages/host/dist/extensions/scorecard/host/index.mjs.map +1 -0
  1059. package/packages/host/dist/extensions/scorecard/host/store.d.mts +12 -0
  1060. package/packages/host/dist/extensions/scorecard/host/store.mjs +91 -0
  1061. package/packages/host/dist/extensions/scorecard/host/store.mjs.map +1 -0
  1062. package/packages/host/dist/extensions/scorecard/shared/logic.d.mts +42 -0
  1063. package/packages/host/dist/extensions/scorecard/shared/logic.mjs +170 -0
  1064. package/packages/host/dist/extensions/scorecard/shared/logic.mjs.map +1 -0
  1065. package/packages/host/dist/extensions/scorecard/shared/wire.d.mts +140 -0
  1066. package/packages/host/dist/extensions/scorecard/shared/wire.mjs +29 -0
  1067. package/packages/host/dist/extensions/scorecard/shared/wire.mjs.map +1 -0
  1068. package/packages/host/dist/fanout.d.ts +89 -0
  1069. package/packages/host/dist/fanout.js +273 -0
  1070. package/packages/host/dist/fanout.js.map +1 -0
  1071. package/packages/host/dist/files.d.ts +211 -0
  1072. package/packages/host/dist/files.js +760 -0
  1073. package/packages/host/dist/files.js.map +1 -0
  1074. package/packages/host/dist/forge/github.d.ts +3 -0
  1075. package/packages/host/dist/forge/github.js +82 -0
  1076. package/packages/host/dist/forge/github.js.map +1 -0
  1077. package/packages/host/dist/forge/index.d.ts +14 -0
  1078. package/packages/host/dist/forge/index.js +32 -0
  1079. package/packages/host/dist/forge/index.js.map +1 -0
  1080. package/packages/host/dist/forge/types.d.ts +52 -0
  1081. package/packages/host/dist/forge/types.js +2 -0
  1082. package/packages/host/dist/forge/types.js.map +1 -0
  1083. package/packages/host/dist/git.d.ts +294 -0
  1084. package/packages/host/dist/git.js +865 -0
  1085. package/packages/host/dist/git.js.map +1 -0
  1086. package/packages/host/dist/gitlog.d.ts +14 -0
  1087. package/packages/host/dist/gitlog.js +93 -0
  1088. package/packages/host/dist/gitlog.js.map +1 -0
  1089. package/packages/host/dist/gitnotify.d.ts +24 -0
  1090. package/packages/host/dist/gitnotify.js +60 -0
  1091. package/packages/host/dist/gitnotify.js.map +1 -0
  1092. package/packages/host/dist/halt.d.ts +35 -0
  1093. package/packages/host/dist/halt.js +160 -0
  1094. package/packages/host/dist/halt.js.map +1 -0
  1095. package/packages/host/dist/healthwatch.d.ts +91 -0
  1096. package/packages/host/dist/healthwatch.js +336 -0
  1097. package/packages/host/dist/healthwatch.js.map +1 -0
  1098. package/packages/host/dist/host.d.ts +51 -0
  1099. package/packages/host/dist/host.js +153 -0
  1100. package/packages/host/dist/host.js.map +1 -0
  1101. package/packages/host/dist/hoststore.d.ts +24 -0
  1102. package/packages/host/dist/hoststore.js +350 -0
  1103. package/packages/host/dist/hoststore.js.map +1 -0
  1104. package/packages/host/dist/httpio.d.ts +64 -0
  1105. package/packages/host/dist/httpio.js +199 -0
  1106. package/packages/host/dist/httpio.js.map +1 -0
  1107. package/packages/host/dist/installlog.d.ts +25 -0
  1108. package/packages/host/dist/installlog.js +137 -0
  1109. package/packages/host/dist/installlog.js.map +1 -0
  1110. package/packages/host/dist/intents/adapters.d.ts +285 -0
  1111. package/packages/host/dist/intents/adapters.js +721 -0
  1112. package/packages/host/dist/intents/adapters.js.map +1 -0
  1113. package/packages/host/dist/intents/clock.d.ts +105 -0
  1114. package/packages/host/dist/intents/clock.js +190 -0
  1115. package/packages/host/dist/intents/clock.js.map +1 -0
  1116. package/packages/host/dist/intents/contract.d.ts +492 -0
  1117. package/packages/host/dist/intents/contract.js +155 -0
  1118. package/packages/host/dist/intents/contract.js.map +1 -0
  1119. package/packages/host/dist/intents/disk.d.ts +198 -0
  1120. package/packages/host/dist/intents/disk.js +588 -0
  1121. package/packages/host/dist/intents/disk.js.map +1 -0
  1122. package/packages/host/dist/intents/fire.d.ts +112 -0
  1123. package/packages/host/dist/intents/fire.js +551 -0
  1124. package/packages/host/dist/intents/fire.js.map +1 -0
  1125. package/packages/host/dist/intents/ladder.d.ts +7 -0
  1126. package/packages/host/dist/intents/ladder.js +408 -0
  1127. package/packages/host/dist/intents/ladder.js.map +1 -0
  1128. package/packages/host/dist/intents/manager.d.ts +239 -0
  1129. package/packages/host/dist/intents/manager.js +292 -0
  1130. package/packages/host/dist/intents/manager.js.map +1 -0
  1131. package/packages/host/dist/intents/requeue.d.ts +207 -0
  1132. package/packages/host/dist/intents/requeue.js +521 -0
  1133. package/packages/host/dist/intents/requeue.js.map +1 -0
  1134. package/packages/host/dist/intents/watch.d.ts +100 -0
  1135. package/packages/host/dist/intents/watch.js +489 -0
  1136. package/packages/host/dist/intents/watch.js.map +1 -0
  1137. package/packages/host/dist/intents/write.d.ts +238 -0
  1138. package/packages/host/dist/intents/write.js +651 -0
  1139. package/packages/host/dist/intents/write.js.map +1 -0
  1140. package/packages/host/dist/jsonstore.d.ts +50 -0
  1141. package/packages/host/dist/jsonstore.js +158 -0
  1142. package/packages/host/dist/jsonstore.js.map +1 -0
  1143. package/packages/host/dist/keyhints.d.ts +45 -0
  1144. package/packages/host/dist/keyhints.js +117 -0
  1145. package/packages/host/dist/keyhints.js.map +1 -0
  1146. package/packages/host/dist/lanid.d.ts +21 -0
  1147. package/packages/host/dist/lanid.js +78 -0
  1148. package/packages/host/dist/lanid.js.map +1 -0
  1149. package/packages/host/dist/launchfiles.d.ts +64 -0
  1150. package/packages/host/dist/launchfiles.js +212 -0
  1151. package/packages/host/dist/launchfiles.js.map +1 -0
  1152. package/packages/host/dist/limit.d.ts +82 -0
  1153. package/packages/host/dist/limit.js +251 -0
  1154. package/packages/host/dist/limit.js.map +1 -0
  1155. package/packages/host/dist/limitlog.d.ts +51 -0
  1156. package/packages/host/dist/limitlog.js +154 -0
  1157. package/packages/host/dist/limitlog.js.map +1 -0
  1158. package/packages/host/dist/limitretry.d.ts +135 -0
  1159. package/packages/host/dist/limitretry.js +115 -0
  1160. package/packages/host/dist/limitretry.js.map +1 -0
  1161. package/packages/host/dist/livesources.d.ts +38 -0
  1162. package/packages/host/dist/livesources.js +26 -0
  1163. package/packages/host/dist/livesources.js.map +1 -0
  1164. package/packages/host/dist/localcistatus.d.ts +22 -0
  1165. package/packages/host/dist/localcistatus.js +105 -0
  1166. package/packages/host/dist/localcistatus.js.map +1 -0
  1167. package/packages/host/dist/localledger.d.ts +69 -0
  1168. package/packages/host/dist/localledger.js +214 -0
  1169. package/packages/host/dist/localledger.js.map +1 -0
  1170. package/packages/host/dist/localrt.d.ts +164 -0
  1171. package/packages/host/dist/localrt.js +414 -0
  1172. package/packages/host/dist/localrt.js.map +1 -0
  1173. package/packages/host/dist/localslot.d.ts +152 -0
  1174. package/packages/host/dist/localslot.js +269 -0
  1175. package/packages/host/dist/localslot.js.map +1 -0
  1176. package/packages/host/dist/localusage.d.ts +153 -0
  1177. package/packages/host/dist/localusage.js +710 -0
  1178. package/packages/host/dist/localusage.js.map +1 -0
  1179. package/packages/host/dist/login.d.ts +34 -0
  1180. package/packages/host/dist/login.js +126 -0
  1181. package/packages/host/dist/login.js.map +1 -0
  1182. package/packages/host/dist/main.d.ts +1 -0
  1183. package/packages/host/dist/main.js +724 -0
  1184. package/packages/host/dist/main.js.map +1 -0
  1185. package/packages/host/dist/meter.d.ts +23 -0
  1186. package/packages/host/dist/meter.js +121 -0
  1187. package/packages/host/dist/meter.js.map +1 -0
  1188. package/packages/host/dist/naming.d.ts +257 -0
  1189. package/packages/host/dist/naming.js +387 -0
  1190. package/packages/host/dist/naming.js.map +1 -0
  1191. package/packages/host/dist/net.d.ts +80 -0
  1192. package/packages/host/dist/net.js +276 -0
  1193. package/packages/host/dist/net.js.map +1 -0
  1194. package/packages/host/dist/netlog.d.ts +40 -0
  1195. package/packages/host/dist/netlog.js +165 -0
  1196. package/packages/host/dist/netlog.js.map +1 -0
  1197. package/packages/host/dist/netretrycfg.d.ts +7 -0
  1198. package/packages/host/dist/netretrycfg.js +51 -0
  1199. package/packages/host/dist/netretrycfg.js.map +1 -0
  1200. package/packages/host/dist/netstats.d.ts +99 -0
  1201. package/packages/host/dist/netstats.js +223 -0
  1202. package/packages/host/dist/netstats.js.map +1 -0
  1203. package/packages/host/dist/notifyprefs.d.ts +16 -0
  1204. package/packages/host/dist/notifyprefs.js +75 -0
  1205. package/packages/host/dist/notifyprefs.js.map +1 -0
  1206. package/packages/host/dist/notifytypes.d.ts +58 -0
  1207. package/packages/host/dist/notifytypes.js +2 -0
  1208. package/packages/host/dist/notifytypes.js.map +1 -0
  1209. package/packages/host/dist/ocrlocal.d.ts +46 -0
  1210. package/packages/host/dist/ocrlocal.js +297 -0
  1211. package/packages/host/dist/ocrlocal.js.map +1 -0
  1212. package/packages/host/dist/onboard.d.ts +182 -0
  1213. package/packages/host/dist/onboard.js +590 -0
  1214. package/packages/host/dist/onboard.js.map +1 -0
  1215. package/packages/host/dist/onboardroutes.d.ts +31 -0
  1216. package/packages/host/dist/onboardroutes.js +78 -0
  1217. package/packages/host/dist/onboardroutes.js.map +1 -0
  1218. package/packages/host/dist/opendeliveries.d.ts +175 -0
  1219. package/packages/host/dist/opendeliveries.js +562 -0
  1220. package/packages/host/dist/opendeliveries.js.map +1 -0
  1221. package/packages/host/dist/optins.d.ts +41 -0
  1222. package/packages/host/dist/optins.js +344 -0
  1223. package/packages/host/dist/optins.js.map +1 -0
  1224. package/packages/host/dist/origin.d.ts +86 -0
  1225. package/packages/host/dist/origin.js +301 -0
  1226. package/packages/host/dist/origin.js.map +1 -0
  1227. package/packages/host/dist/pair.d.ts +149 -0
  1228. package/packages/host/dist/pair.js +505 -0
  1229. package/packages/host/dist/pair.js.map +1 -0
  1230. package/packages/host/dist/passive.d.ts +58 -0
  1231. package/packages/host/dist/passive.js +187 -0
  1232. package/packages/host/dist/passive.js.map +1 -0
  1233. package/packages/host/dist/paths.d.ts +67 -0
  1234. package/packages/host/dist/paths.js +135 -0
  1235. package/packages/host/dist/paths.js.map +1 -0
  1236. package/packages/host/dist/pathx.d.ts +6 -0
  1237. package/packages/host/dist/pathx.js +35 -0
  1238. package/packages/host/dist/pathx.js.map +1 -0
  1239. package/packages/host/dist/peers/agentpeer.d.ts +58 -0
  1240. package/packages/host/dist/peers/agentpeer.js +249 -0
  1241. package/packages/host/dist/peers/agentpeer.js.map +1 -0
  1242. package/packages/host/dist/peers/client.d.ts +60 -0
  1243. package/packages/host/dist/peers/client.js +96 -0
  1244. package/packages/host/dist/peers/client.js.map +1 -0
  1245. package/packages/host/dist/peers/jobs.d.ts +138 -0
  1246. package/packages/host/dist/peers/jobs.js +429 -0
  1247. package/packages/host/dist/peers/jobs.js.map +1 -0
  1248. package/packages/host/dist/peers/routes.d.ts +50 -0
  1249. package/packages/host/dist/peers/routes.js +191 -0
  1250. package/packages/host/dist/peers/routes.js.map +1 -0
  1251. package/packages/host/dist/peers/serve.d.ts +61 -0
  1252. package/packages/host/dist/peers/serve.js +532 -0
  1253. package/packages/host/dist/peers/serve.js.map +1 -0
  1254. package/packages/host/dist/peers/store.d.ts +64 -0
  1255. package/packages/host/dist/peers/store.js +128 -0
  1256. package/packages/host/dist/peers/store.js.map +1 -0
  1257. package/packages/host/dist/periodspend.d.ts +61 -0
  1258. package/packages/host/dist/periodspend.js +109 -0
  1259. package/packages/host/dist/periodspend.js.map +1 -0
  1260. package/packages/host/dist/permmode.d.ts +90 -0
  1261. package/packages/host/dist/permmode.js +157 -0
  1262. package/packages/host/dist/permmode.js.map +1 -0
  1263. package/packages/host/dist/planbox.d.ts +23 -0
  1264. package/packages/host/dist/planbox.js +123 -0
  1265. package/packages/host/dist/planbox.js.map +1 -0
  1266. package/packages/host/dist/plugins/builtin.d.ts +39 -0
  1267. package/packages/host/dist/plugins/builtin.js +200 -0
  1268. package/packages/host/dist/plugins/builtin.js.map +1 -0
  1269. package/packages/host/dist/plugins/pluginapi.d.ts +34 -0
  1270. package/packages/host/dist/plugins/pluginapi.js +651 -0
  1271. package/packages/host/dist/plugins/pluginapi.js.map +1 -0
  1272. package/packages/host/dist/plugins/pluginassets.d.ts +16 -0
  1273. package/packages/host/dist/plugins/pluginassets.js +44 -0
  1274. package/packages/host/dist/plugins/pluginassets.js.map +1 -0
  1275. package/packages/host/dist/plugins/pluginfiles.d.ts +30 -0
  1276. package/packages/host/dist/plugins/pluginfiles.js +130 -0
  1277. package/packages/host/dist/plugins/pluginfiles.js.map +1 -0
  1278. package/packages/host/dist/plugins/pluginloader.d.ts +59 -0
  1279. package/packages/host/dist/plugins/pluginloader.js +206 -0
  1280. package/packages/host/dist/plugins/pluginloader.js.map +1 -0
  1281. package/packages/host/dist/plugins/pluginregistry.d.ts +244 -0
  1282. package/packages/host/dist/plugins/pluginregistry.js +799 -0
  1283. package/packages/host/dist/plugins/pluginregistry.js.map +1 -0
  1284. package/packages/host/dist/plugins/pluginroutes.d.ts +29 -0
  1285. package/packages/host/dist/plugins/pluginroutes.js +50 -0
  1286. package/packages/host/dist/plugins/pluginroutes.js.map +1 -0
  1287. package/packages/host/dist/plugins/pluginrpc.d.ts +19 -0
  1288. package/packages/host/dist/plugins/pluginrpc.js +28 -0
  1289. package/packages/host/dist/plugins/pluginrpc.js.map +1 -0
  1290. package/packages/host/dist/plugins/pluginstreams.d.ts +109 -0
  1291. package/packages/host/dist/plugins/pluginstreams.js +418 -0
  1292. package/packages/host/dist/plugins/pluginstreams.js.map +1 -0
  1293. package/packages/host/dist/plugins/plugintoolkit/screen.d.ts +9 -0
  1294. package/packages/host/dist/plugins/plugintoolkit/screen.js +21 -0
  1295. package/packages/host/dist/plugins/plugintoolkit/screen.js.map +1 -0
  1296. package/packages/host/dist/plugins/plugintoolkit/sessionfiles.d.ts +6 -0
  1297. package/packages/host/dist/plugins/plugintoolkit/sessionfiles.js +24 -0
  1298. package/packages/host/dist/plugins/plugintoolkit/sessionfiles.js.map +1 -0
  1299. package/packages/host/dist/plugins/plugintoolkit/tail.d.ts +10 -0
  1300. package/packages/host/dist/plugins/plugintoolkit/tail.js +110 -0
  1301. package/packages/host/dist/plugins/plugintoolkit/tail.js.map +1 -0
  1302. package/packages/host/dist/plugins/setupcontrib.d.ts +64 -0
  1303. package/packages/host/dist/plugins/setupcontrib.js +94 -0
  1304. package/packages/host/dist/plugins/setupcontrib.js.map +1 -0
  1305. package/packages/host/dist/proc.d.ts +13 -0
  1306. package/packages/host/dist/proc.js +27 -0
  1307. package/packages/host/dist/proc.js.map +1 -0
  1308. package/packages/host/dist/prompt.d.ts +113 -0
  1309. package/packages/host/dist/prompt.js +565 -0
  1310. package/packages/host/dist/prompt.js.map +1 -0
  1311. package/packages/host/dist/promptbase.d.ts +28 -0
  1312. package/packages/host/dist/promptbase.js +42 -0
  1313. package/packages/host/dist/promptbase.js.map +1 -0
  1314. package/packages/host/dist/promptmerge.d.ts +63 -0
  1315. package/packages/host/dist/promptmerge.js +221 -0
  1316. package/packages/host/dist/promptmerge.js.map +1 -0
  1317. package/packages/host/dist/promptnav.d.ts +29 -0
  1318. package/packages/host/dist/promptnav.js +97 -0
  1319. package/packages/host/dist/promptnav.js.map +1 -0
  1320. package/packages/host/dist/prompts.d.ts +4 -0
  1321. package/packages/host/dist/prompts.js +78 -0
  1322. package/packages/host/dist/prompts.js.map +1 -0
  1323. package/packages/host/dist/protectmain.d.ts +35 -0
  1324. package/packages/host/dist/protectmain.js +73 -0
  1325. package/packages/host/dist/protectmain.js.map +1 -0
  1326. package/packages/host/dist/prpush.d.ts +30 -0
  1327. package/packages/host/dist/prpush.js +171 -0
  1328. package/packages/host/dist/prpush.js.map +1 -0
  1329. package/packages/host/dist/prs.d.ts +70 -0
  1330. package/packages/host/dist/prs.js +328 -0
  1331. package/packages/host/dist/prs.js.map +1 -0
  1332. package/packages/host/dist/ptycap.d.ts +41 -0
  1333. package/packages/host/dist/ptycap.js +192 -0
  1334. package/packages/host/dist/ptycap.js.map +1 -0
  1335. package/packages/host/dist/ptyenv.d.ts +3 -0
  1336. package/packages/host/dist/ptyenv.js +63 -0
  1337. package/packages/host/dist/ptyenv.js.map +1 -0
  1338. package/packages/host/dist/push.d.ts +61 -0
  1339. package/packages/host/dist/push.js +107 -0
  1340. package/packages/host/dist/push.js.map +1 -0
  1341. package/packages/host/dist/pushprogress.d.ts +27 -0
  1342. package/packages/host/dist/pushprogress.js +72 -0
  1343. package/packages/host/dist/pushprogress.js.map +1 -0
  1344. package/packages/host/dist/question.d.ts +60 -0
  1345. package/packages/host/dist/question.js +137 -0
  1346. package/packages/host/dist/question.js.map +1 -0
  1347. package/packages/host/dist/ratelimit.d.ts +44 -0
  1348. package/packages/host/dist/ratelimit.js +68 -0
  1349. package/packages/host/dist/ratelimit.js.map +1 -0
  1350. package/packages/host/dist/render.d.ts +107 -0
  1351. package/packages/host/dist/render.js +156 -0
  1352. package/packages/host/dist/render.js.map +1 -0
  1353. package/packages/host/dist/repohealth.d.ts +113 -0
  1354. package/packages/host/dist/repohealth.js +755 -0
  1355. package/packages/host/dist/repohealth.js.map +1 -0
  1356. package/packages/host/dist/repohealthapproval.d.ts +91 -0
  1357. package/packages/host/dist/repohealthapproval.js +799 -0
  1358. package/packages/host/dist/repohealthapproval.js.map +1 -0
  1359. package/packages/host/dist/repohealthscopes.d.ts +23 -0
  1360. package/packages/host/dist/repohealthscopes.js +124 -0
  1361. package/packages/host/dist/repohealthscopes.js.map +1 -0
  1362. package/packages/host/dist/repos.d.ts +25 -0
  1363. package/packages/host/dist/repos.js +187 -0
  1364. package/packages/host/dist/repos.js.map +1 -0
  1365. package/packages/host/dist/reposkill.d.ts +20 -0
  1366. package/packages/host/dist/reposkill.js +97 -0
  1367. package/packages/host/dist/reposkill.js.map +1 -0
  1368. package/packages/host/dist/reposkilltext.d.ts +23 -0
  1369. package/packages/host/dist/reposkilltext.js +389 -0
  1370. package/packages/host/dist/reposkilltext.js.map +1 -0
  1371. package/packages/host/dist/restartnote.d.ts +17 -0
  1372. package/packages/host/dist/restartnote.js +36 -0
  1373. package/packages/host/dist/restartnote.js.map +1 -0
  1374. package/packages/host/dist/review.d.ts +83 -0
  1375. package/packages/host/dist/review.js +513 -0
  1376. package/packages/host/dist/review.js.map +1 -0
  1377. package/packages/host/dist/rootchoice.d.ts +26 -0
  1378. package/packages/host/dist/rootchoice.js +101 -0
  1379. package/packages/host/dist/rootchoice.js.map +1 -0
  1380. package/packages/host/dist/routes/apihost.d.ts +2 -0
  1381. package/packages/host/dist/routes/apihost.js +556 -0
  1382. package/packages/host/dist/routes/apihost.js.map +1 -0
  1383. package/packages/host/dist/routes/apiio.d.ts +86 -0
  1384. package/packages/host/dist/routes/apiio.js +354 -0
  1385. package/packages/host/dist/routes/apiio.js.map +1 -0
  1386. package/packages/host/dist/routes/apiprs.d.ts +2 -0
  1387. package/packages/host/dist/routes/apiprs.js +45 -0
  1388. package/packages/host/dist/routes/apiprs.js.map +1 -0
  1389. package/packages/host/dist/routes/apirepofiles.d.ts +7 -0
  1390. package/packages/host/dist/routes/apirepofiles.js +393 -0
  1391. package/packages/host/dist/routes/apirepofiles.js.map +1 -0
  1392. package/packages/host/dist/routes/apirepowork.d.ts +2 -0
  1393. package/packages/host/dist/routes/apirepowork.js +524 -0
  1394. package/packages/host/dist/routes/apirepowork.js.map +1 -0
  1395. package/packages/host/dist/routes/apiroutes.d.ts +14 -0
  1396. package/packages/host/dist/routes/apiroutes.js +21 -0
  1397. package/packages/host/dist/routes/apiroutes.js.map +1 -0
  1398. package/packages/host/dist/routes/apisession.d.ts +2 -0
  1399. package/packages/host/dist/routes/apisession.js +221 -0
  1400. package/packages/host/dist/routes/apisession.js.map +1 -0
  1401. package/packages/host/dist/routes/apistats.d.ts +2 -0
  1402. package/packages/host/dist/routes/apistats.js +225 -0
  1403. package/packages/host/dist/routes/apistats.js.map +1 -0
  1404. package/packages/host/dist/routes/apisystem.d.ts +2 -0
  1405. package/packages/host/dist/routes/apisystem.js +411 -0
  1406. package/packages/host/dist/routes/apisystem.js.map +1 -0
  1407. package/packages/host/dist/routes/apitable.d.ts +190 -0
  1408. package/packages/host/dist/routes/apitable.js +71 -0
  1409. package/packages/host/dist/routes/apitable.js.map +1 -0
  1410. package/packages/host/dist/routes/apiweekburn.d.ts +2 -0
  1411. package/packages/host/dist/routes/apiweekburn.js +30 -0
  1412. package/packages/host/dist/routes/apiweekburn.js.map +1 -0
  1413. package/packages/host/dist/routes/index.d.ts +19 -0
  1414. package/packages/host/dist/routes/index.js +65 -0
  1415. package/packages/host/dist/routes/index.js.map +1 -0
  1416. package/packages/host/dist/routes/session.d.ts +2 -0
  1417. package/packages/host/dist/routes/session.js +775 -0
  1418. package/packages/host/dist/routes/session.js.map +1 -0
  1419. package/packages/host/dist/routes/system.d.ts +24 -0
  1420. package/packages/host/dist/routes/system.js +557 -0
  1421. package/packages/host/dist/routes/system.js.map +1 -0
  1422. package/packages/host/dist/routes/types.d.ts +291 -0
  1423. package/packages/host/dist/routes/types.js +2 -0
  1424. package/packages/host/dist/routes/types.js.map +1 -0
  1425. package/packages/host/dist/routes/work/workassess.d.ts +2 -0
  1426. package/packages/host/dist/routes/work/workassess.js +182 -0
  1427. package/packages/host/dist/routes/work/workassess.js.map +1 -0
  1428. package/packages/host/dist/routes/work/workbacklog.d.ts +2 -0
  1429. package/packages/host/dist/routes/work/workbacklog.js +329 -0
  1430. package/packages/host/dist/routes/work/workbacklog.js.map +1 -0
  1431. package/packages/host/dist/routes/work/workbuild.d.ts +2 -0
  1432. package/packages/host/dist/routes/work/workbuild.js +251 -0
  1433. package/packages/host/dist/routes/work/workbuild.js.map +1 -0
  1434. package/packages/host/dist/routes/work/workintent.d.ts +2 -0
  1435. package/packages/host/dist/routes/work/workintent.js +167 -0
  1436. package/packages/host/dist/routes/work/workintent.js.map +1 -0
  1437. package/packages/host/dist/routes/work/workschedule.d.ts +2 -0
  1438. package/packages/host/dist/routes/work/workschedule.js +161 -0
  1439. package/packages/host/dist/routes/work/workschedule.js.map +1 -0
  1440. package/packages/host/dist/routes/work.d.ts +10 -0
  1441. package/packages/host/dist/routes/work.js +13 -0
  1442. package/packages/host/dist/routes/work.js.map +1 -0
  1443. package/packages/host/dist/scaffold.d.ts +104 -0
  1444. package/packages/host/dist/scaffold.js +417 -0
  1445. package/packages/host/dist/scaffold.js.map +1 -0
  1446. package/packages/host/dist/screenlog.d.ts +63 -0
  1447. package/packages/host/dist/screenlog.js +249 -0
  1448. package/packages/host/dist/screenlog.js.map +1 -0
  1449. package/packages/host/dist/secrets.d.ts +72 -0
  1450. package/packages/host/dist/secrets.js +258 -0
  1451. package/packages/host/dist/secrets.js.map +1 -0
  1452. package/packages/host/dist/sentlog.d.ts +82 -0
  1453. package/packages/host/dist/sentlog.js +186 -0
  1454. package/packages/host/dist/sentlog.js.map +1 -0
  1455. package/packages/host/dist/server/billingwire.d.ts +24 -0
  1456. package/packages/host/dist/server/billingwire.js +73 -0
  1457. package/packages/host/dist/server/billingwire.js.map +1 -0
  1458. package/packages/host/dist/server/clients.d.ts +42 -0
  1459. package/packages/host/dist/server/clients.js +244 -0
  1460. package/packages/host/dist/server/clients.js.map +1 -0
  1461. package/packages/host/dist/server/ctx.d.ts +120 -0
  1462. package/packages/host/dist/server/ctx.js +2 -0
  1463. package/packages/host/dist/server/ctx.js.map +1 -0
  1464. package/packages/host/dist/server/ctxseal.d.ts +21 -0
  1465. package/packages/host/dist/server/ctxseal.js +24 -0
  1466. package/packages/host/dist/server/ctxseal.js.map +1 -0
  1467. package/packages/host/dist/server/deliveries.d.ts +20 -0
  1468. package/packages/host/dist/server/deliveries.js +278 -0
  1469. package/packages/host/dist/server/deliveries.js.map +1 -0
  1470. package/packages/host/dist/server/firstapp.d.ts +12 -0
  1471. package/packages/host/dist/server/firstapp.js +37 -0
  1472. package/packages/host/dist/server/firstapp.js.map +1 -0
  1473. package/packages/host/dist/server/http.d.ts +34 -0
  1474. package/packages/host/dist/server/http.js +475 -0
  1475. package/packages/host/dist/server/http.js.map +1 -0
  1476. package/packages/host/dist/server/intentDeps.d.ts +36 -0
  1477. package/packages/host/dist/server/intentDeps.js +421 -0
  1478. package/packages/host/dist/server/intentDeps.js.map +1 -0
  1479. package/packages/host/dist/server/intentEvents.d.ts +13 -0
  1480. package/packages/host/dist/server/intentEvents.js +239 -0
  1481. package/packages/host/dist/server/intentEvents.js.map +1 -0
  1482. package/packages/host/dist/server/liveness.d.ts +64 -0
  1483. package/packages/host/dist/server/liveness.js +74 -0
  1484. package/packages/host/dist/server/liveness.js.map +1 -0
  1485. package/packages/host/dist/server/scan.d.ts +41 -0
  1486. package/packages/host/dist/server/scan.js +249 -0
  1487. package/packages/host/dist/server/scan.js.map +1 -0
  1488. package/packages/host/dist/server/sessionEvents.d.ts +40 -0
  1489. package/packages/host/dist/server/sessionEvents.js +536 -0
  1490. package/packages/host/dist/server/sessionEvents.js.map +1 -0
  1491. package/packages/host/dist/server/shutdown.d.ts +11 -0
  1492. package/packages/host/dist/server/shutdown.js +135 -0
  1493. package/packages/host/dist/server/shutdown.js.map +1 -0
  1494. package/packages/host/dist/server/wsops.d.ts +44 -0
  1495. package/packages/host/dist/server/wsops.js +313 -0
  1496. package/packages/host/dist/server/wsops.js.map +1 -0
  1497. package/packages/host/dist/sessionSearch.d.ts +46 -0
  1498. package/packages/host/dist/sessionSearch.js +93 -0
  1499. package/packages/host/dist/sessionSearch.js.map +1 -0
  1500. package/packages/host/dist/sessionbudget.d.ts +61 -0
  1501. package/packages/host/dist/sessionbudget.js +84 -0
  1502. package/packages/host/dist/sessionbudget.js.map +1 -0
  1503. package/packages/host/dist/sessions/agentpoll.d.ts +31 -0
  1504. package/packages/host/dist/sessions/agentpoll.js +176 -0
  1505. package/packages/host/dist/sessions/agentpoll.js.map +1 -0
  1506. package/packages/host/dist/sessions/apiretry.d.ts +59 -0
  1507. package/packages/host/dist/sessions/apiretry.js +240 -0
  1508. package/packages/host/dist/sessions/apiretry.js.map +1 -0
  1509. package/packages/host/dist/sessions/askwatch.d.ts +62 -0
  1510. package/packages/host/dist/sessions/askwatch.js +169 -0
  1511. package/packages/host/dist/sessions/askwatch.js.map +1 -0
  1512. package/packages/host/dist/sessions/boxes.d.ts +91 -0
  1513. package/packages/host/dist/sessions/boxes.js +314 -0
  1514. package/packages/host/dist/sessions/boxes.js.map +1 -0
  1515. package/packages/host/dist/sessions/boxread.d.ts +47 -0
  1516. package/packages/host/dist/sessions/boxread.js +628 -0
  1517. package/packages/host/dist/sessions/boxread.js.map +1 -0
  1518. package/packages/host/dist/sessions/budgetwatch.d.ts +95 -0
  1519. package/packages/host/dist/sessions/budgetwatch.js +171 -0
  1520. package/packages/host/dist/sessions/budgetwatch.js.map +1 -0
  1521. package/packages/host/dist/sessions/convid.d.ts +72 -0
  1522. package/packages/host/dist/sessions/convid.js +305 -0
  1523. package/packages/host/dist/sessions/convid.js.map +1 -0
  1524. package/packages/host/dist/sessions/core.d.ts +764 -0
  1525. package/packages/host/dist/sessions/core.js +2 -0
  1526. package/packages/host/dist/sessions/core.js.map +1 -0
  1527. package/packages/host/dist/sessions/ctxseries.d.ts +184 -0
  1528. package/packages/host/dist/sessions/ctxseries.js +769 -0
  1529. package/packages/host/dist/sessions/ctxseries.js.map +1 -0
  1530. package/packages/host/dist/sessions/drive.d.ts +221 -0
  1531. package/packages/host/dist/sessions/drive.js +814 -0
  1532. package/packages/host/dist/sessions/drive.js.map +1 -0
  1533. package/packages/host/dist/sessions/haltall.d.ts +36 -0
  1534. package/packages/host/dist/sessions/haltall.js +95 -0
  1535. package/packages/host/dist/sessions/haltall.js.map +1 -0
  1536. package/packages/host/dist/sessions/health.d.ts +88 -0
  1537. package/packages/host/dist/sessions/health.js +108 -0
  1538. package/packages/host/dist/sessions/health.js.map +1 -0
  1539. package/packages/host/dist/sessions/idlewatch.d.ts +34 -0
  1540. package/packages/host/dist/sessions/idlewatch.js +74 -0
  1541. package/packages/host/dist/sessions/idlewatch.js.map +1 -0
  1542. package/packages/host/dist/sessions/knobs.d.ts +323 -0
  1543. package/packages/host/dist/sessions/knobs.js +420 -0
  1544. package/packages/host/dist/sessions/knobs.js.map +1 -0
  1545. package/packages/host/dist/sessions/links.d.ts +53 -0
  1546. package/packages/host/dist/sessions/links.js +209 -0
  1547. package/packages/host/dist/sessions/links.js.map +1 -0
  1548. package/packages/host/dist/sessions/livemode.d.ts +56 -0
  1549. package/packages/host/dist/sessions/livemode.js +300 -0
  1550. package/packages/host/dist/sessions/livemode.js.map +1 -0
  1551. package/packages/host/dist/sessions/record.d.ts +196 -0
  1552. package/packages/host/dist/sessions/record.js +724 -0
  1553. package/packages/host/dist/sessions/record.js.map +1 -0
  1554. package/packages/host/dist/sessions/resume.d.ts +181 -0
  1555. package/packages/host/dist/sessions/resume.js +683 -0
  1556. package/packages/host/dist/sessions/resume.js.map +1 -0
  1557. package/packages/host/dist/sessions/roster.d.ts +164 -0
  1558. package/packages/host/dist/sessions/roster.js +569 -0
  1559. package/packages/host/dist/sessions/roster.js.map +1 -0
  1560. package/packages/host/dist/sessions/sidechannel.d.ts +96 -0
  1561. package/packages/host/dist/sessions/sidechannel.js +726 -0
  1562. package/packages/host/dist/sessions/sidechannel.js.map +1 -0
  1563. package/packages/host/dist/sessions/tmux.d.ts +247 -0
  1564. package/packages/host/dist/sessions/tmux.js +731 -0
  1565. package/packages/host/dist/sessions/tmux.js.map +1 -0
  1566. package/packages/host/dist/sessions/turn.d.ts +194 -0
  1567. package/packages/host/dist/sessions/turn.js +664 -0
  1568. package/packages/host/dist/sessions/turn.js.map +1 -0
  1569. package/packages/host/dist/sessions/wall.d.ts +117 -0
  1570. package/packages/host/dist/sessions/wall.js +658 -0
  1571. package/packages/host/dist/sessions/wall.js.map +1 -0
  1572. package/packages/host/dist/sessions.d.ts +261 -0
  1573. package/packages/host/dist/sessions.js +767 -0
  1574. package/packages/host/dist/sessions.js.map +1 -0
  1575. package/packages/host/dist/settings.d.ts +40 -0
  1576. package/packages/host/dist/settings.js +171 -0
  1577. package/packages/host/dist/settings.js.map +1 -0
  1578. package/packages/host/dist/settle.d.ts +177 -0
  1579. package/packages/host/dist/settle.js +414 -0
  1580. package/packages/host/dist/settle.js.map +1 -0
  1581. package/packages/host/dist/setupprefs.d.ts +76 -0
  1582. package/packages/host/dist/setupprefs.js +226 -0
  1583. package/packages/host/dist/setupprefs.js.map +1 -0
  1584. package/packages/host/dist/setupwatch.d.ts +39 -0
  1585. package/packages/host/dist/setupwatch.js +249 -0
  1586. package/packages/host/dist/setupwatch.js.map +1 -0
  1587. package/packages/host/dist/shelllinks.d.ts +39 -0
  1588. package/packages/host/dist/shelllinks.js +292 -0
  1589. package/packages/host/dist/shelllinks.js.map +1 -0
  1590. package/packages/host/dist/shells.d.ts +190 -0
  1591. package/packages/host/dist/shells.js +633 -0
  1592. package/packages/host/dist/shells.js.map +1 -0
  1593. package/packages/host/dist/sidecar/sidecarclaude.d.ts +120 -0
  1594. package/packages/host/dist/sidecar/sidecarclaude.js +213 -0
  1595. package/packages/host/dist/sidecar/sidecarclaude.js.map +1 -0
  1596. package/packages/host/dist/sidecar/sidecarname.d.ts +101 -0
  1597. package/packages/host/dist/sidecar/sidecarname.js +167 -0
  1598. package/packages/host/dist/sidecar/sidecarname.js.map +1 -0
  1599. package/packages/host/dist/sidecar/sidecaropenai.d.ts +24 -0
  1600. package/packages/host/dist/sidecar/sidecaropenai.js +129 -0
  1601. package/packages/host/dist/sidecar/sidecaropenai.js.map +1 -0
  1602. package/packages/host/dist/sidecar/sidecarroute.d.ts +65 -0
  1603. package/packages/host/dist/sidecar/sidecarroute.js +163 -0
  1604. package/packages/host/dist/sidecar/sidecarroute.js.map +1 -0
  1605. package/packages/host/dist/sidecar/sidecartasks.d.ts +20 -0
  1606. package/packages/host/dist/sidecar/sidecartasks.js +63 -0
  1607. package/packages/host/dist/sidecar/sidecartasks.js.map +1 -0
  1608. package/packages/host/dist/sidecar/sidecartrust.d.ts +32 -0
  1609. package/packages/host/dist/sidecar/sidecartrust.js +74 -0
  1610. package/packages/host/dist/sidecar/sidecartrust.js.map +1 -0
  1611. package/packages/host/dist/sidecar.d.ts +82 -0
  1612. package/packages/host/dist/sidecar.js +78 -0
  1613. package/packages/host/dist/sidecar.js.map +1 -0
  1614. package/packages/host/dist/signkey.d.ts +57 -0
  1615. package/packages/host/dist/signkey.js +159 -0
  1616. package/packages/host/dist/signkey.js.map +1 -0
  1617. package/packages/host/dist/slash.d.ts +43 -0
  1618. package/packages/host/dist/slash.js +236 -0
  1619. package/packages/host/dist/slash.js.map +1 -0
  1620. package/packages/host/dist/sourceanswer.d.ts +103 -0
  1621. package/packages/host/dist/sourceanswer.js +193 -0
  1622. package/packages/host/dist/sourceanswer.js.map +1 -0
  1623. package/packages/host/dist/speedtest.d.ts +57 -0
  1624. package/packages/host/dist/speedtest.js +137 -0
  1625. package/packages/host/dist/speedtest.js.map +1 -0
  1626. package/packages/host/dist/spendwall.d.ts +33 -0
  1627. package/packages/host/dist/spendwall.js +45 -0
  1628. package/packages/host/dist/spendwall.js.map +1 -0
  1629. package/packages/host/dist/sysstat.d.ts +134 -0
  1630. package/packages/host/dist/sysstat.js +630 -0
  1631. package/packages/host/dist/sysstat.js.map +1 -0
  1632. package/packages/host/dist/tailnetpeers.d.ts +34 -0
  1633. package/packages/host/dist/tailnetpeers.js +116 -0
  1634. package/packages/host/dist/tailnetpeers.js.map +1 -0
  1635. package/packages/host/dist/tailscaleguard.d.ts +11 -0
  1636. package/packages/host/dist/tailscaleguard.js +133 -0
  1637. package/packages/host/dist/tailscaleguard.js.map +1 -0
  1638. package/packages/host/dist/termqueries.d.ts +124 -0
  1639. package/packages/host/dist/termqueries.js +207 -0
  1640. package/packages/host/dist/termqueries.js.map +1 -0
  1641. package/packages/host/dist/themeoverlay.d.ts +74 -0
  1642. package/packages/host/dist/themeoverlay.js +262 -0
  1643. package/packages/host/dist/themeoverlay.js.map +1 -0
  1644. package/packages/host/dist/thumbs.d.ts +69 -0
  1645. package/packages/host/dist/thumbs.js +359 -0
  1646. package/packages/host/dist/thumbs.js.map +1 -0
  1647. package/packages/host/dist/tmuxreq.d.ts +91 -0
  1648. package/packages/host/dist/tmuxreq.js +207 -0
  1649. package/packages/host/dist/tmuxreq.js.map +1 -0
  1650. package/packages/host/dist/tmuxscroll.d.ts +70 -0
  1651. package/packages/host/dist/tmuxscroll.js +206 -0
  1652. package/packages/host/dist/tmuxscroll.js.map +1 -0
  1653. package/packages/host/dist/tokenscan.d.ts +67 -0
  1654. package/packages/host/dist/tokenscan.js +225 -0
  1655. package/packages/host/dist/tokenscan.js.map +1 -0
  1656. package/packages/host/dist/tokenstats.d.ts +115 -0
  1657. package/packages/host/dist/tokenstats.js +765 -0
  1658. package/packages/host/dist/tokenstats.js.map +1 -0
  1659. package/packages/host/dist/toolchain.d.ts +147 -0
  1660. package/packages/host/dist/toolchain.js +468 -0
  1661. package/packages/host/dist/toolchain.js.map +1 -0
  1662. package/packages/host/dist/transcript/transcriptlog.d.ts +134 -0
  1663. package/packages/host/dist/transcript/transcriptlog.js +300 -0
  1664. package/packages/host/dist/transcript/transcriptlog.js.map +1 -0
  1665. package/packages/host/dist/transcript/transcriptparse.d.ts +28 -0
  1666. package/packages/host/dist/transcript/transcriptparse.js +382 -0
  1667. package/packages/host/dist/transcript/transcriptparse.js.map +1 -0
  1668. package/packages/host/dist/transcript/transcriptscreen.d.ts +71 -0
  1669. package/packages/host/dist/transcript/transcriptscreen.js +120 -0
  1670. package/packages/host/dist/transcript/transcriptscreen.js.map +1 -0
  1671. package/packages/host/dist/transcript/transcriptturns.d.ts +168 -0
  1672. package/packages/host/dist/transcript/transcriptturns.js +297 -0
  1673. package/packages/host/dist/transcript/transcriptturns.js.map +1 -0
  1674. package/packages/host/dist/transcript.d.ts +28 -0
  1675. package/packages/host/dist/transcript.js +34 -0
  1676. package/packages/host/dist/transcript.js.map +1 -0
  1677. package/packages/host/dist/transportsurvey.d.ts +10 -0
  1678. package/packages/host/dist/transportsurvey.js +109 -0
  1679. package/packages/host/dist/transportsurvey.js.map +1 -0
  1680. package/packages/host/dist/tree.d.ts +80 -0
  1681. package/packages/host/dist/tree.js +372 -0
  1682. package/packages/host/dist/tree.js.map +1 -0
  1683. package/packages/host/dist/turnagents.d.ts +17 -0
  1684. package/packages/host/dist/turnagents.js +205 -0
  1685. package/packages/host/dist/turnagents.js.map +1 -0
  1686. package/packages/host/dist/uistats.d.ts +18 -0
  1687. package/packages/host/dist/uistats.js +105 -0
  1688. package/packages/host/dist/uistats.js.map +1 -0
  1689. package/packages/host/dist/update.d.ts +100 -0
  1690. package/packages/host/dist/update.js +536 -0
  1691. package/packages/host/dist/update.js.map +1 -0
  1692. package/packages/host/dist/updates/apply.d.ts +45 -0
  1693. package/packages/host/dist/updates/apply.js +362 -0
  1694. package/packages/host/dist/updates/apply.js.map +1 -0
  1695. package/packages/host/dist/updates/catalog.d.ts +11 -0
  1696. package/packages/host/dist/updates/catalog.js +123 -0
  1697. package/packages/host/dist/updates/catalog.js.map +1 -0
  1698. package/packages/host/dist/updates/checker.d.ts +73 -0
  1699. package/packages/host/dist/updates/checker.js +189 -0
  1700. package/packages/host/dist/updates/checker.js.map +1 -0
  1701. package/packages/host/dist/updates/github.d.ts +13 -0
  1702. package/packages/host/dist/updates/github.js +63 -0
  1703. package/packages/host/dist/updates/github.js.map +1 -0
  1704. package/packages/host/dist/updates/gitops.d.ts +16 -0
  1705. package/packages/host/dist/updates/gitops.js +61 -0
  1706. package/packages/host/dist/updates/gitops.js.map +1 -0
  1707. package/packages/host/dist/updates/installrecord.d.ts +26 -0
  1708. package/packages/host/dist/updates/installrecord.js +42 -0
  1709. package/packages/host/dist/updates/installrecord.js.map +1 -0
  1710. package/packages/host/dist/updates/remote.d.ts +10 -0
  1711. package/packages/host/dist/updates/remote.js +54 -0
  1712. package/packages/host/dist/updates/remote.js.map +1 -0
  1713. package/packages/host/dist/updates/restart.d.ts +5 -0
  1714. package/packages/host/dist/updates/restart.js +20 -0
  1715. package/packages/host/dist/updates/restart.js.map +1 -0
  1716. package/packages/host/dist/updates/self.d.ts +19 -0
  1717. package/packages/host/dist/updates/self.js +51 -0
  1718. package/packages/host/dist/updates/self.js.map +1 -0
  1719. package/packages/host/dist/updates/wire.d.ts +18 -0
  1720. package/packages/host/dist/updates/wire.js +21 -0
  1721. package/packages/host/dist/updates/wire.js.map +1 -0
  1722. package/packages/host/dist/usage.d.ts +124 -0
  1723. package/packages/host/dist/usage.js +411 -0
  1724. package/packages/host/dist/usage.js.map +1 -0
  1725. package/packages/host/dist/usagelog.d.ts +53 -0
  1726. package/packages/host/dist/usagelog.js +223 -0
  1727. package/packages/host/dist/usagelog.js.map +1 -0
  1728. package/packages/host/dist/usagesourcelog.d.ts +59 -0
  1729. package/packages/host/dist/usagesourcelog.js +208 -0
  1730. package/packages/host/dist/usagesourcelog.js.map +1 -0
  1731. package/packages/host/dist/usagesources.d.ts +175 -0
  1732. package/packages/host/dist/usagesources.js +467 -0
  1733. package/packages/host/dist/usagesources.js.map +1 -0
  1734. package/packages/host/dist/visualskill.d.ts +36 -0
  1735. package/packages/host/dist/visualskill.js +230 -0
  1736. package/packages/host/dist/visualskill.js.map +1 -0
  1737. package/packages/host/dist/webbundle.d.ts +47 -0
  1738. package/packages/host/dist/webbundle.js +155 -0
  1739. package/packages/host/dist/webbundle.js.map +1 -0
  1740. package/packages/host/dist/weekburn.d.ts +75 -0
  1741. package/packages/host/dist/weekburn.js +251 -0
  1742. package/packages/host/dist/weekburn.js.map +1 -0
  1743. package/packages/host/dist/wirerecord.d.ts +5 -0
  1744. package/packages/host/dist/wirerecord.js +128 -0
  1745. package/packages/host/dist/wirerecord.js.map +1 -0
  1746. package/packages/host/dist/worktreeleftover.d.ts +36 -0
  1747. package/packages/host/dist/worktreeleftover.js +169 -0
  1748. package/packages/host/dist/worktreeleftover.js.map +1 -0
  1749. package/packages/host/dist/worktreeowner.d.ts +17 -0
  1750. package/packages/host/dist/worktreeowner.js +45 -0
  1751. package/packages/host/dist/worktreeowner.js.map +1 -0
  1752. package/packages/host/package.json +26 -0
  1753. package/packages/web/dist/assets/apple-touch-icon.png +0 -0
  1754. package/packages/web/dist/assets/badge-96.png +0 -0
  1755. package/packages/web/dist/assets/demo-C1GHaeTv.js +23 -0
  1756. package/packages/web/dist/assets/hero.png +0 -0
  1757. package/packages/web/dist/assets/icon-192.png +0 -0
  1758. package/packages/web/dist/assets/icon-32.png +0 -0
  1759. package/packages/web/dist/assets/icon-48.png +0 -0
  1760. package/packages/web/dist/assets/icon-512-maskable.png +0 -0
  1761. package/packages/web/dist/assets/icon-512.png +0 -0
  1762. package/packages/web/dist/assets/icon-dark.svg +43 -0
  1763. package/packages/web/dist/assets/icon-light.svg +42 -0
  1764. package/packages/web/dist/assets/icon.svg +11 -0
  1765. package/packages/web/dist/assets/icons-DlcvcZoo.js +1 -0
  1766. package/packages/web/dist/assets/index-BBc6xwDA.css +1 -0
  1767. package/packages/web/dist/assets/index-DzQKnksZ.js +169 -0
  1768. package/packages/web/dist/assets/react-CoSyT_xY.js +8 -0
  1769. package/packages/web/dist/assets/rolldown-runtime-BpQH8Ho1.js +1 -0
  1770. package/packages/web/dist/assets/shared-Cl34umPA.js +47 -0
  1771. package/packages/web/dist/assets/sheets-DoUhPGK0.css +1 -0
  1772. package/packages/web/dist/assets/sheets-_3_SvXAx.js +220 -0
  1773. package/packages/web/dist/assets/vendor-BPwPmufs.js +3 -0
  1774. package/packages/web/dist/assets/xterm-BrP-ENHg.css +1 -0
  1775. package/packages/web/dist/assets/xterm-C8zLTNGk.js +16 -0
  1776. package/packages/web/dist/build-id.txt +1 -0
  1777. package/packages/web/dist/buildstamp.json +1 -0
  1778. package/packages/web/dist/demo/media/r1/dot-claude/inbox/swipe-sketch.png +0 -0
  1779. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-android-fixed.png +0 -0
  1780. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-android.png +0 -0
  1781. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-before.png +0 -0
  1782. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-date-picker.png +0 -0
  1783. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-empty-state.png +0 -0
  1784. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-grouped.png +0 -0
  1785. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-ios.png +0 -0
  1786. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-preview.html +18 -0
  1787. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-release-notes.md +21 -0
  1788. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-sorted.png +0 -0
  1789. package/packages/web/dist/demo/media/r3/dot-claude/outbox/trail-log-ridge-loop.png +0 -0
  1790. package/packages/web/dist/index.html +84 -0
  1791. package/packages/web/dist/manifest.webmanifest +16 -0
  1792. package/packages/web/dist/sw.js +431 -0
  1793. package/release.json +25 -0
  1794. package/scripts/windows/keeper.ps1 +60 -0
  1795. package/scripts/windows/wsl-setup.sh +173 -0
  1796. package/tools/repohealth/census.mjs +353 -0
  1797. package/tools/repohealth/central.mjs +234 -0
  1798. package/tools/repohealth/constants.mjs +420 -0
  1799. package/tools/repohealth/events.mjs +563 -0
  1800. package/tools/repohealth/fixture.json +17976 -0
  1801. package/tools/repohealth/git.mjs +471 -0
  1802. package/tools/repohealth/html.mjs +601 -0
  1803. package/tools/repohealth/judge.mjs +546 -0
  1804. package/tools/repohealth/lang/typescript-ast.mjs +538 -0
  1805. package/tools/repohealth/metrics/classics.mjs +239 -0
  1806. package/tools/repohealth/metrics/cochange.mjs +234 -0
  1807. package/tools/repohealth/metrics/context.mjs +411 -0
  1808. package/tools/repohealth/metrics/deadexports.mjs +122 -0
  1809. package/tools/repohealth/metrics/dups.mjs +261 -0
  1810. package/tools/repohealth/metrics/hatches.mjs +164 -0
  1811. package/tools/repohealth/metrics/retouch.mjs +326 -0
  1812. package/tools/repohealth/metrics/route.mjs +159 -0
  1813. package/tools/repohealth/metrics/size.mjs +120 -0
  1814. package/tools/repohealth/metrics/tripwires.mjs +258 -0
  1815. package/tools/repohealth/metrics/untested.mjs +308 -0
  1816. package/tools/repohealth/narrate.mjs +342 -0
  1817. package/tools/repohealth/own.mjs +238 -0
  1818. package/tools/repohealth/packs/c.mjs +124 -0
  1819. package/tools/repohealth/packs/common.mjs +205 -0
  1820. package/tools/repohealth/packs/dart.mjs +118 -0
  1821. package/tools/repohealth/packs/index.mjs +83 -0
  1822. package/tools/repohealth/packs/kotlin.mjs +320 -0
  1823. package/tools/repohealth/packs/python.mjs +488 -0
  1824. package/tools/repohealth/packs/shell.mjs +88 -0
  1825. package/tools/repohealth/packs/typescript.mjs +604 -0
  1826. package/tools/repohealth/plot.mjs +462 -0
  1827. package/tools/repohealth/readings.mjs +427 -0
  1828. package/tools/repohealth/scope.mjs +184 -0
  1829. package/tools/repohealth/series.mjs +360 -0
  1830. package/tools/repohealth/snapshot.mjs +431 -0
  1831. package/tools/repohealth/source.mjs +266 -0
  1832. package/tools/repohealth/statefile.mjs +31 -0
  1833. package/tools/repohealth/types.mjs +316 -0
  1834. package/tools/repohealth.mjs +767 -0
  1835. package/tools/skillmap.mjs +109 -0
@@ -0,0 +1,664 @@
1
+ import { workingLine } from "@waterplane/shared";
2
+ import { claudeHookWatched, postClaudeHook } from "../backends/claude-sources.js";
3
+ import { derive } from "../backends/derive.js";
4
+ import { samePromptText } from "../echo.js";
5
+ import { HEALTH_SPAWN_GRACE_MS, STOP_VERIFY_BYTES, STOP_VERIFY_MS, SUBMIT_RING } from "./knobs.js";
6
+ export function checkIdle(core, s) {
7
+ if (!s.info.running || !s.sawData)
8
+ return;
9
+ // Hook-driven sessions get their turn-finished PING from the Stop hook (exact),
10
+ // so the silence timer here must NOT re-ping — it only keeps the cosmetic idle
11
+ // flag + limit scan fresh (e.g. after a post-Stop redraw flips idle back off).
12
+ markIdle(core, s, !s.hooksActive);
13
+ }
14
+ /**
15
+ * Flip the "a turn is in flight" flag and mirror it onto the wire, so clients
16
+ * that show no terminal (the reader view) can still tell working from waiting.
17
+ * Hook-driven when the pipe is live; otherwise set on real input and cleared
18
+ * by markIdle's silence guess.
19
+ */
20
+ export function setTurn(core, s, active, opts = {}) {
21
+ // A shell has no turns (`caps.turns`): output after a command is not work
22
+ // starting, and silence after it is not work finishing.
23
+ if (active && s.backend?.caps.turns === false)
24
+ return;
25
+ // Provenance first: a turn the SCREEN reported is not a turn a hook did, and
26
+ // the difference decides what its END is allowed to claim. Recorded even
27
+ // when the flag itself does not move (a hook overtaking a screen-inferred
28
+ // turn hands ownership back to the pipe).
29
+ s.turnFromScreen = active ? !!opts.fromScreen : false;
30
+ // A turn running is the end of idle — the one place that says so for every
31
+ // route a turn starts by, now that raw output no longer does (`noteOutput`).
32
+ if (active)
33
+ core.clearIdle(s);
34
+ if (s.turnActive === active && s.info.turnActive === active)
35
+ return;
36
+ s.turnActive = active;
37
+ s.info.turnActive = active;
38
+ if (active)
39
+ s.info.turnStartedAt = Date.now();
40
+ // A turn STARTING is where a FOREGROUND agent comes from (the Task tool
41
+ // inside the turn), and a turn ENDING is handled by `markIdle`. Both edges
42
+ // ask, because either can change what is running underneath.
43
+ if (active)
44
+ core.checkAgents(s);
45
+ if (active)
46
+ core.netTurnStarted(s); // anyone's turn but our `continue` ends a network retry
47
+ // A turn running is the answer to "is this session still waiting on you":
48
+ // whatever it asked at the end of the last one has been answered, or
49
+ // overtaken. Cleared here rather than only on our own write, so a reply
50
+ // typed at the DESK retires the phone's badge too.
51
+ if (active && s.info.asking)
52
+ s.info.asking = null;
53
+ // …and the memory of an acknowledged one goes with it: the next turn may
54
+ // end on the same words for a new reason, and that is a fresh question.
55
+ if (active && s.askDismissed) {
56
+ s.askDismissed = null;
57
+ // "handled" survives a restart: the `live/` record is rewritten (`askwatch.ts`'s `persistAsk`).
58
+ const m = core.loadLive(s.info.id);
59
+ if (m)
60
+ core.persistLive(m);
61
+ }
62
+ // The CLI's proposal was for the composer this turn just took.
63
+ if (active) {
64
+ s.hintRead = null;
65
+ if (s.info.cliSuggestion)
66
+ s.info.cliSuggestion = null;
67
+ }
68
+ // A turn STARTING on a session we believe is blocked is the earliest moment
69
+ // that belief can be shown to be wrong, and `checkLimit`'s third branch
70
+ // already accepts `turnStartedAt > blockedSince` as proof. Ask now rather
71
+ // than waiting for the session to fall quiet — a turn is exactly what makes
72
+ // it not quiet, and a long one held the stale badge for its whole length.
73
+ // Cheap and self-limiting: only on the blocked flag, and the log read is
74
+ // memoised on the file's mtime. A resume in flight is left to the verdict
75
+ // paths below for the reason the sweep states.
76
+ if (active && s.info.limit?.blocked && !core.isResuming(s.info.id)) {
77
+ try {
78
+ core.checkLimit(s);
79
+ }
80
+ catch { /* not the point of this call */ }
81
+ }
82
+ core.emit("updated", s.info);
83
+ // A turn STARTING is the exact proof a resume took — but only from a HOOK.
84
+ // On a session with no hook pipe this flag is set by markSubmitted from our
85
+ // OWN write, so releasing on it would treat typing "continue" as proof that
86
+ // the continue worked and wave the next session through instantly, which is
87
+ // the pile-on the queue exists to stop. Those sessions are released by the
88
+ // banner-gone scan, by re-blocking, or by the watchdog.
89
+ // …and only from a hook. A spinner painting is not the CLI accepting a
90
+ // `continue`: a session that came back blocked repaints too, and releasing
91
+ // the wave on that would be the pile-on the queue exists to stop.
92
+ if (active && !opts.fromScreen && s.hooksActive && core.isResuming(s.info.id))
93
+ core.releaseResume(s.info.id, "resumed");
94
+ }
95
+ /**
96
+ * Apply the "turn finished" transition: scan for a usage-limit banner, mark the
97
+ * session idle, seal the captured output, and — when `emitPing` — fire the
98
+ * once-per-turn turn-finished event (push / plugin question event). Driven by the Stop
99
+ * hook when the hook pipe is live (exact), else by the silence timer (checkIdle).
100
+ * The ping is gated on `idleNotified` (not on the idle flag) so a Stop can still
101
+ * ping even if a silence tick set the idle flag first.
102
+ */
103
+ function markIdle(core, s, emitPing) {
104
+ if (!s.info.running)
105
+ return;
106
+ // A shell (`caps.turns === false`): a quiet prompt is not a finished turn, so
107
+ // no idle flag, no "Turn finished" ping, no turn end — nothing to say at all.
108
+ if (s.backend.caps.turns === false)
109
+ return;
110
+ // Without hooks, silence is all we have — so idle also ends the turn. A hooked
111
+ // session keeps turnActive until its Stop: a long, quiet tool run is still work.
112
+ if (!s.hooksActive) {
113
+ // This line IS the fallback the health record names: a turn boundary
114
+ // guessed from a quiet PTY rather than reported by the CLI. Recorded once
115
+ // per session (see `noteHookFallback`), because a session with no pipe
116
+ // takes it on every turn it will ever run.
117
+ //
118
+ // …but only when there was a turn to guess the end OF. `markIdle` runs
119
+ // four seconds after ANY output, and a repaint is not a turn boundary: on
120
+ // the live host that made every re-attached tmux session log a `hook.pipe`
121
+ // miss for a pipe that was perfectly alive, because `hooksActive` means
122
+ // "a hook has reached THIS host process", and a `npm run restart` hands
123
+ // thirty sessions back with that flag false and a fresh `spawnedAt` that
124
+ // makes the spawn grace measure the wrong clock. 27 of 30 live sessions
125
+ // read unhooked that way; the record read 36 good / 42 miss and none of
126
+ // the 42 was a statement about the CLI.
127
+ //
128
+ // `turnActive` on an unhooked session is set by `markSubmitted` — our own
129
+ // Return — so this is exactly "we started a turn, the CLI should have
130
+ // reported its end, and instead we guessed". A turn started at the DESK
131
+ // is invisible to us either way, which is not evidence of a broken pipe;
132
+ // it is no evidence at all, and no evidence records nothing.
133
+ const guessedATurnEnd = s.turnActive;
134
+ setTurn(core, s, false);
135
+ if (guessedATurnEnd)
136
+ noteHookFallback(core, s.info.id, "silence heuristics");
137
+ }
138
+ core.checkLimit(s);
139
+ core.checkContext(s);
140
+ // The footer's mode and ultracode (`livemode.ts`): a shift+tab typed at the desk
141
+ // is output, and this is the quiet tick after it. A source session's mode is re-read here too.
142
+ core.checkMode(s);
143
+ // Cheap (one statSync) and correct on a repaint: the log's mtime only moves
144
+ // when the CLI writes a turn, so re-reading it here cannot manufacture
145
+ // activity the way stamping a clock does.
146
+ // `lastTurnAt` is read from the CLI's OWN log, never from a clock we stamp.
147
+ // A backend that writes no log therefore has no last-turn instant, and the
148
+ // field stays ABSENT — stamping `now` here would be the wrong number the
149
+ // rule exists to refuse (it would say "a turn just ended" every time a
150
+ // screen repainted).
151
+ const turnAt = derive(s.backend).keepsClaudeLog ? core.lastTurnOf(s.info.cwd, s.info.claudeSessionId) : null;
152
+ if (turnAt && turnAt !== s.info.lastTurnAt)
153
+ s.info.lastTurnAt = turnAt;
154
+ if (!s.info.idle) {
155
+ s.info.idle = true;
156
+ s.info.idleSince = Date.now();
157
+ // A turn finished while nobody's viewing ⇒ "new since you left". Cleared on
158
+ // the next attach (setWatched). Drives the starred-row "new" annotation.
159
+ if (!core.isWatched(s.info.id))
160
+ s.info.newActivity = true;
161
+ core.finalizeCapture(s);
162
+ core.emit("updated", s.info);
163
+ }
164
+ // Did the turn END ON A QUESTION? Read before the ping, so the notification
165
+ // below can say what is being asked instead of "Turn finished".
166
+ core.checkAsking(s);
167
+ // …and has the CLI proposed what to type next? (Tab at the desk; a tap here.)
168
+ core.checkCliSuggestion(s);
169
+ // …and is anything still running under it? A turn that ended by launching
170
+ // background agents has not ended the work, and this is the transition the
171
+ // reader reads as idle without it.
172
+ core.checkAgents(s);
173
+ // Only ping for a finished turn, not for a prompt (prompt has its own ping),
174
+ // and only ONCE per turn — cosmetic redraws re-enter here but mustn't re-notify
175
+ // until real input begins a new turn (see input()/write()/UserPromptSubmit).
176
+ if (emitPing && !s.info.prompt && !s.idleNotified) {
177
+ s.idleNotified = true;
178
+ core.emit("idle", s.info.id, s.info);
179
+ }
180
+ }
181
+ // ── claude hook sink (positive turn-boundary signal) ────────────────
182
+ // Sessions we spawn carry injected hooks (`backends/claude.ts`'s
183
+ // `hookSettingsArg`) that POST every lifecycle event to /api/hook → here. This
184
+ // is the exact turn-started / turn-finished / conversation-id signal the
185
+ // silence heuristics only approximated. Everything degrades to those
186
+ // heuristics if no hook arrives (stub binary, curl missing, hooks disabled).
187
+ //
188
+ // Only the SINK lives here, because routing a hook to its session needs this
189
+ // host's session table. What a hook MEANS is claude's source
190
+ // (`backends/claude-sources.ts`), consumed like every other backend's channel:
191
+ // `sidechannel.ts` → `sourceTurn` below, the one end-of-turn path
192
+ // (docs/analysis/backends-design.md §10).
193
+ /** Route a hook payload to its session and hand it to claude's source.
194
+ * Tolerant of an unknown event or an unmatched session (no-op). */
195
+ export function onHookEvent(core, payload) {
196
+ const ev = String(payload?.hook_event_name || "");
197
+ if (!ev)
198
+ return;
199
+ const s = routeHook(core, payload);
200
+ if (!s)
201
+ return;
202
+ // A hook is a claim about a session that was LAUNCHED with a hook pipe. A
203
+ // backend that has no such mechanism cannot have sent one, so an event that
204
+ // routed to one of its sessions routed WRONG: believing it would mark an
205
+ // opencode session `hooked`, publish an exact turn boundary it never had,
206
+ // and file a health observation for a pipe that does not exist.
207
+ //
208
+ // `routeHook` no longer OFFERS such a session to the cwd fallback — and that
209
+ // is where the damage was, because the event it stole was a claude session's
210
+ // (see the note there). This gate stays as the backstop for the other door:
211
+ // an exact `session_id` match, which is not a guess and is therefore not
212
+ // something the router second-guesses.
213
+ //
214
+ // "Listening" is the claude source's own subscription (`claudeHookWatched`),
215
+ // open only while a session of a backend whose `sources` ARE claude's hook
216
+ // pipe has its channel attached — the `caps.hooks === "none"` gate this
217
+ // replaced, stated as the fact it stood for.
218
+ if (!claudeHookWatched(s.info.id))
219
+ return;
220
+ // A fact about the SINK rather than an edge: a turn-shaped hook arrived since
221
+ // this process attached (`Session.turnHookSeen`). `SessionEnd` never counted.
222
+ if (ev === "SessionStart" || ev === "UserPromptSubmit" || ev === "Stop")
223
+ s.turnHookSeen = true;
224
+ // Before the source hears it: the first hook is what flips the pipe live,
225
+ // and that edge's fixture capture reads this payload's shape.
226
+ s.lastHook = payload;
227
+ // The question a box is about to draw, before the log has it (2.1.304
228
+ // writes the call only once it is answered). A turn boundary retires it.
229
+ if (ev === "PreToolUse" && payload.tool_name === "AskUserQuestion" && typeof payload.tool_use_id === "string") {
230
+ s.askHook = { id: payload.tool_use_id, input: payload.tool_input };
231
+ }
232
+ else if (ev === "UserPromptSubmit" || ev === "Stop" || ev === "SessionStart") {
233
+ s.askHook = null;
234
+ }
235
+ // What the hook MEANS is the source's: the pipe going live (once), then the
236
+ // edge — through the side channel slice into `sourceTurn` below.
237
+ postClaudeHook(s.info.id, payload);
238
+ }
239
+ /**
240
+ * Watch the screen for what the hooks cannot say.
241
+ *
242
+ * Two jobs, one loop, because they are one question — *is this CLI working
243
+ * right now?*
244
+ *
245
+ * - A `Stop` has arrived and is being held until the screen agrees
246
+ * (`stopPending`): a hook that blocked it means the turn carries on.
247
+ * - No turn is believed to be running, and the CLI is working anyway:
248
+ * `/compact` grinds for minutes ("Compacting conversation… (35s) 32%") and
249
+ * fires NO hook at all — no `UserPromptSubmit`, no `Stop` — so a session
250
+ * visibly at work published `turnActive: false` and the reader said "idle —
251
+ * nothing running" over it, same lie as the blocked-Stop case from the
252
+ * other direction.
253
+ *
254
+ * `seqAt` is the output offset the next window is measured from: each pass
255
+ * looks ONLY at what the CLI printed since the last one, which is what makes
256
+ * this cheap and what makes it decisive. A working CLI repaints its spinner
257
+ * several times a second, so a window with nothing in it — or with nothing
258
+ * that reads as the working line — is a session sitting at its composer.
259
+ */
260
+ export function armTurnWatch(core, s, seqAt = s.seq) {
261
+ if (s.stopVerifyTimer) {
262
+ clearTimeout(s.stopVerifyTimer);
263
+ s.stopVerifyTimer = null;
264
+ }
265
+ // The knob off, or a session with no PTY left to look at: believe the hook,
266
+ // exactly as this code did before the check existed.
267
+ if (!(STOP_VERIFY_MS > 0) || !s.info.running) {
268
+ settleStop(core, s);
269
+ return;
270
+ }
271
+ s.stopVerifyTimer = setTimeout(() => {
272
+ s.stopVerifyTimer = null;
273
+ checkTurnWatch(core, s, seqAt);
274
+ }, STOP_VERIFY_MS);
275
+ s.stopVerifyTimer.unref?.();
276
+ }
277
+ /**
278
+ * Is this session working, and does that agree with what we published?
279
+ *
280
+ * The only thing allowed to contradict a `Stop` — or to report a turn no hook
281
+ * announced — is the CLI's own working line (`shared/working.ts`, the same
282
+ * matcher the phone's reader scrapes; not a second opinion about what
283
+ * "working" looks like). Everything else settles the Stop, because the cost of
284
+ * being wrong is asymmetric in a way that has already been paid: holding a
285
+ * finished session "busy" stalls the queue silently, while releasing a live
286
+ * one types a prompt into a running turn.
287
+ *
288
+ * **The hold lasts exactly as long as the evidence does.** Working or not is
289
+ * re-asked window by window, so a turn that ends without a `Stop` — a
290
+ * continuation killed, a compaction finishing, the spinner simply stopping —
291
+ * falls out of the hold at the next pass rather than stranding the session as
292
+ * permanently busy, which is the failure this rescue would otherwise trade for
293
+ * the one it fixes.
294
+ */
295
+ function checkTurnWatch(core, s, seqAt) {
296
+ if (!s.info.running) {
297
+ s.stopPending = false;
298
+ return;
299
+ } // the exit path ended the turn
300
+ const fresh = s.seq - seqAt;
301
+ /**
302
+ * **Fresh BYTES say whether to look; the rendered GRID says what is there.**
303
+ *
304
+ * The byte delta is still the gate, and it is the cheap half: nothing
305
+ * printed since the last pass means a session sitting at its composer, and
306
+ * no grid read is worth paying for. But the bytes are not text. A TUI
307
+ * repaint interleaves cursor moves and charset escapes with the characters,
308
+ * and two overlapping repaints land spliced together — measured on claude
309
+ * 2.1.267, a `/compact` whose screen read "Compacting conversation… 0%" for
310
+ * two minutes arrived in the ring as `C\x1b(Bo\x1b(Bm\x1b(Bp…` woven
311
+ * through the previous frame, matching nothing. The host published `idle`
312
+ * over a live compaction and `deliver.ts` filed the delivery as a swallowed
313
+ * Return — the exact failure this watch exists to prevent, surviving inside
314
+ * it because the evidence was read in the wrong form.
315
+ *
316
+ * `screenLog.gridText()` is the live VT the recorder already feeds, so this
317
+ * is a buffer read and not a replay: the same per-frame cost this pass was
318
+ * designed around. The fallback is the old byte window, for a session whose
319
+ * recorder is gone (disposed on exit) — it can only under-report.
320
+ */
321
+ const grid = s.screenLog?.gridText() ?? "";
322
+ const working = fresh > 0 && !!workingLine(grid || s.scrollback.slice(-Math.min(fresh, STOP_VERIFY_BYTES)));
323
+ if (working) {
324
+ // A turn nobody announced: publish it, marked as read off the screen so
325
+ // its end claims nothing a hook would have claimed.
326
+ if (!s.turnActive)
327
+ setTurn(core, s, true, { fromScreen: true });
328
+ armTurnWatch(core, s, s.seq);
329
+ return;
330
+ }
331
+ if (s.stopPending) {
332
+ settleStop(core, s);
333
+ return;
334
+ }
335
+ // A screen-inferred turn ends the way it began — quietly. No `stopCount` (the
336
+ // backlog completes items on a real Stop), no turn-finished push (nothing
337
+ // finished a turn), no `turnEnded`. `markIdle` still runs for its own work:
338
+ // the limit and context scans, and the idle flag.
339
+ if (s.turnFromScreen) {
340
+ setTurn(core, s, false);
341
+ markIdle(core, s, false);
342
+ }
343
+ }
344
+ /**
345
+ * Believe the Stop: the turn is over, with everything that hangs off that —
346
+ * the flag, the count the backlog completes items on, the seal on the capture,
347
+ * the turn-finished ping, the `turnEnded` event.
348
+ *
349
+ * Idempotent and gated on `stopPending`, because three paths call it for the
350
+ * same Stop (the settle pass, a `UserPromptSubmit` that overtakes it, a
351
+ * session start/end) and a turn must end once.
352
+ */
353
+ function settleStop(core, s) {
354
+ if (s.stopVerifyTimer) {
355
+ clearTimeout(s.stopVerifyTimer);
356
+ s.stopVerifyTimer = null;
357
+ }
358
+ if (!s.stopPending)
359
+ return;
360
+ s.stopPending = false;
361
+ setTurn(core, s, false);
362
+ s.stopCount += 1;
363
+ // Being retried after a transient API give-up (`apiretry.ts`)? Then not done:
364
+ // no ping — and the event says so, so the work waiting on this turn waits too.
365
+ const net = core.netTurnEnded(s);
366
+ markIdle(core, s, net?.net !== "retrying"); // seal capture + turn-finished ping
367
+ core.emit("turnEnded", s.info.id, s.stopCount, net ?? undefined);
368
+ }
369
+ /**
370
+ * A turn edge reported by a backend's OWN channel (`sources.turns`, wired by
371
+ * `sidechannel.ts`) — claude's hook pipe (`backends/claude-sources.ts`),
372
+ * opencode's server, a plugin's sink — so a turn has ONE end-of-turn path
373
+ * whoever reports it.
374
+ *
375
+ * `started`: whatever was under settlement, the turn it belonged to is over —
376
+ * closed out now, in ORDER (the end of the old turn before the start of the new
377
+ * one), rather than letting a timer fire into the middle of the new one. The
378
+ * words the CLI says it took (`facts.prompt`, claude's `UserPromptSubmit`) are
379
+ * kept BEFORE anything else this edge does, so a delivery racing it cannot miss
380
+ * the one event that names its own text (`claimSubmittedPrompt`). And a
381
+ * submitted prompt is proof no dialog is up — said only where the SCREEN reader
382
+ * owns the dialogs: a dialog a channel posed (`sources.dialogs`) is retired by
383
+ * the channel's `resolved`, never by an edge that can arrive in either order
384
+ * with it.
385
+ *
386
+ * `ended`, for a source that `verifyEnds` (claude): NOT `setTurn(s, false)`. It
387
+ * is the CLI ASKING to end the turn, and a hook may answer no — see
388
+ * `STOP_VERIFY_MS` and `checkTurnWatch`; it is owed an answer until the screen
389
+ * gives one, whether or not a turn was believed. Otherwise it is believed
390
+ * outright (opencode: `session.status idle`, never a `step-finish`). Either way
391
+ * it reaches `settleStop`, idempotent on `stopPending` — a source that repeats
392
+ * itself ends a turn ONCE: one `stopCount`, one ping, one `turnEnded`.
393
+ *
394
+ * `facts.reread` re-reads the model off the log (a mid-turn `/model`) — on an
395
+ * `ended` before anything else, on a `ready` after the turn is closed out, the
396
+ * order the hook switch always had.
397
+ */
398
+ export function sourceTurn(core, s, edge, facts) {
399
+ if (!s.info.running)
400
+ return;
401
+ if (edge === "started") {
402
+ settleStop(core, s); // close out a turn still owed its end, in ORDER
403
+ setTurn(core, s, true); // a turn just started → not ready for a new item
404
+ if (facts?.prompt !== undefined)
405
+ noteSubmittedPrompt(s, facts.prompt);
406
+ if (!s.backend.sources?.dialogs)
407
+ core.applyPrompt(s, null);
408
+ s.idleNotified = false; // re-arm the turn-finished ping for this turn
409
+ if (s.info.idle) {
410
+ s.info.idle = false;
411
+ s.info.idleSince = undefined;
412
+ core.emit("updated", s.info);
413
+ }
414
+ return;
415
+ }
416
+ if (edge === "ended") {
417
+ if (facts?.reread)
418
+ core.refreshModel(s, facts.reread.logPath);
419
+ if (s.backend.sources?.turns?.verifyEnds) {
420
+ s.stopPending = true; // owed an answer until the screen gives one
421
+ armTurnWatch(core, s);
422
+ return;
423
+ }
424
+ s.stopPending = s.stopPending || s.turnActive; // no turn believed ⇒ nothing to end, nothing to count
425
+ settleStop(core, s);
426
+ return;
427
+ }
428
+ settleStop(core, s); // ready: at its prompt, no turn
429
+ setTurn(core, s, false);
430
+ if (facts?.reread)
431
+ core.refreshModel(s, facts.reread.logPath);
432
+ }
433
+ /**
434
+ * The backend's channel named the CLI's own conversation id after attach
435
+ * (claude's `SessionStart`). A claude log id retires the project-dir polling;
436
+ * any other backend's id is adopted once, as `backendSessionId`.
437
+ */
438
+ export function sourceIdentified(core, s, id) {
439
+ if (!id)
440
+ return;
441
+ if (derive(s.backend).keepsClaudeLog) {
442
+ core.adoptClaudeId(s, id);
443
+ core.stopClaudeIdWatch(s);
444
+ return;
445
+ }
446
+ if (!s.info.backendSessionId)
447
+ core.adoptBackendId(s, id);
448
+ }
449
+ /** Drop a Stop under settlement without applying it — for the PTY exit paths,
450
+ * where `running` is already false and the turn has been ended by hand. */
451
+ export function clearStopVerify(s) {
452
+ if (s.stopVerifyTimer) {
453
+ clearTimeout(s.stopVerifyTimer);
454
+ s.stopVerifyTimer = null;
455
+ }
456
+ if (s.idleWatchTimer) {
457
+ clearTimeout(s.idleWatchTimer);
458
+ s.idleWatchTimer = null;
459
+ }
460
+ s.stopPending = false;
461
+ }
462
+ /**
463
+ * Find the session a hook belongs to: exact claudeSessionId match first, else
464
+ * the newest running session in the payload's cwd — preferring one whose id is
465
+ * still unknown, since adopting it there is how a --continue/pick/fork session
466
+ * learns its conversation id.
467
+ *
468
+ * **A session whose channel is not listening for claude hooks (`claudeHookWatched`:
469
+ * a hookless backend, or a plugin backend with its own sink) is not a candidate
470
+ * for the cwd fallback.**
471
+ * It cannot have sent this event — it was launched with no pipe — so it can
472
+ * never be the right route, and leaving it in the pool does real damage rather
473
+ * than merely wasting a lookup. An opencode session NEVER has a
474
+ * `claudeSessionId` (by design: opencode mints none and `LaunchPlan` claims
475
+ * none), so in a repo running both binaries it is permanently the freshest
476
+ * `bestNoId` and captures every claude hook that arrives without a matching
477
+ * `session_id` — notably the `SessionStart` of a `--continue`/pick/fork claude
478
+ * session, which is the one payload that hands that session its conversation
479
+ * id. `onHookEvent`'s listening gate then correctly DROPS the
480
+ * event, and the victim is the CLAUDE session: no id adopted, `hooked` false
481
+ * for longer or for ever, silence heuristics standing in, and
482
+ * `noteHookFallback` filing a `hook.pipe` fallback about a pipe that is working
483
+ * perfectly. A false amber on the claude path, caused by a backend that was
484
+ * supposed to be incapable of making anything worse.
485
+ *
486
+ * The exact-id match is evidence, not a guess, and a backend that somehow owns
487
+ * one has earned the route — **but only a session that is still listening.**
488
+ * A relaunch onto the same conversation (`replaceSessionId`, `--resume <id>`)
489
+ * kills the old session and opens the new one with the SAME
490
+ * `claudeSessionId`; the dead one stays in the map (exited, channel detached)
491
+ * and, inserted first, won this loop for every hook the new one sent. The
492
+ * listening gate in `onHookEvent` then dropped each of them: the replacement
493
+ * was never `hooked` for its whole life, and every delivery into it was filed
494
+ * as a `deliver.submit` fallback (2.1.306, 2026-10-21: 5 of 20, all `ok`).
495
+ */
496
+ function routeHook(core, payload) {
497
+ const sid = payload.session_id;
498
+ if (sid) {
499
+ for (const s of core.sessions.values())
500
+ if (s.info.claudeSessionId === sid && claudeHookWatched(s.info.id))
501
+ return s;
502
+ }
503
+ const cwd = payload.cwd;
504
+ if (!cwd)
505
+ return null;
506
+ let best = null;
507
+ let bestNoId = null;
508
+ for (const s of core.sessions.values()) {
509
+ if (!s.info.running || s.info.cwd !== cwd)
510
+ continue;
511
+ if (!claudeHookWatched(s.info.id))
512
+ continue;
513
+ if (!best || s.spawnedAt > best.spawnedAt)
514
+ best = s;
515
+ if (!s.info.claudeSessionId && (!bestNoId || s.spawnedAt > bestNoId.spawnedAt))
516
+ bestNoId = s;
517
+ }
518
+ return bestNoId ?? best;
519
+ }
520
+ /** True once the hook pipe is confirmed live for this session (turn boundaries
521
+ * come from hooks, not silence). Used by the backlog to pick its completion path. */
522
+ export function isHooked(core, id) { return !!core.sessions.get(id)?.hooksActive; }
523
+ /** A turn-shaped hook has reported since this process attached — see
524
+ * `Session.turnHookSeen`. */
525
+ export function sawTurnHook(core, id) { return !!core.sessions.get(id)?.turnHookSeen; }
526
+ /** The pane is in tmux copy-mode: the client shows history and no live bytes
527
+ * arrive, so PTY silence says nothing about the turn underneath. Read back
528
+ * on re-attach (a pane can outlive the daemon in copy-mode). */
529
+ export function inCopyMode(core, id) { return !!core.sessions.get(id)?.copyMode; }
530
+ /**
531
+ * Something just used a silence guess where the hook pipe should have
532
+ * answered — record it, at most once for this session.
533
+ *
534
+ * Public because `deliver.ts` takes the same fallback from the other side (it
535
+ * reports `ok` for a Return it could not prove landed), and the two must
536
+ * agree on the once-per-session rule: this is not a per-turn event, it is one
537
+ * fact about one session's pipe, and recording it per turn would put a
538
+ * hundred identical misses in a twenty-slot window shared with nine other
539
+ * signals.
540
+ *
541
+ * The spawn grace is the other half. `SessionStart` is a curl that has to run,
542
+ * so a session two seconds old legitimately has no pipe yet — without the
543
+ * grace every fresh session would log one fallback before its first hook
544
+ * arrived, and the signal would report `broken` on a host where hooks work
545
+ * perfectly.
546
+ *
547
+ * Neither guard is enough on its own, and the reason is that `hooksActive`
548
+ * answers "has a hook reached THIS host process", not "does this session have
549
+ * a pipe". A tmux session re-attached by `rediscover()` is a claude that
550
+ * started days ago and whose next hook arrives at its next turn boundary; it
551
+ * gets a fresh `spawnedAt`, so the grace times a clock that has nothing to do
552
+ * with the pipe. Callers therefore owe this one more thing: **call it only
553
+ * where the fallback was actually taken instead of a hook that was owed** —
554
+ * `markIdle` guesses the end of a turn it saw start, `deliver.ts` re-checks
555
+ * `isHooked` after its press-and-look loop. Calling it wherever the flag is
556
+ * merely false is what turned "hooks work" into 42 misses.
557
+ */
558
+ export function noteHookFallback(core, id, via) {
559
+ const s = core.sessions.get(id);
560
+ if (!s || s.hooksActive || s.hookFallbackNoted)
561
+ return;
562
+ if (Date.now() - s.spawnedAt < HEALTH_SPAWN_GRACE_MS)
563
+ return;
564
+ s.hookFallbackNoted = true;
565
+ core.noteFor(s, "hook.pipe", "fallback", { via });
566
+ }
567
+ /** Monotonic finished-turn count (Stop hooks). Backlog snapshots it at delivery
568
+ * and completes the item on the next increment. */
569
+ export function stopCount(core, id) { return core.sessions.get(id)?.stopCount ?? 0; }
570
+ /**
571
+ * Is a turn running that a HOOK announced — as against one read off the
572
+ * screen?
573
+ *
574
+ * The two are the same fact to a reader ("this session is working") and must
575
+ * not be the same fact to `deliver.ts`, whose whole submit ladder asks a
576
+ * narrower question: did THIS keystroke start a turn. A spinner the host
577
+ * inferred is evidence that the CLI is busy and no evidence at all about a
578
+ * Return — a `/compact` started before the delivery paints exactly the same
579
+ * line — so the proof stays on the pipe that can actually answer it.
580
+ */
581
+ export function turnFromHook(core, id) {
582
+ const s = core.sessions.get(id);
583
+ return !!s && s.turnActive && !s.turnFromScreen;
584
+ }
585
+ /**
586
+ * The other half of the same fact: a turn running that NOTHING announced,
587
+ * inferred from the CLI's own working line (`checkTurnWatch`).
588
+ *
589
+ * Deliberately not offered as a general submit proof — `turnFromHook`'s doc
590
+ * says why, and `deliver.ts` keeps refusing it for an ordinary prompt. It is
591
+ * exposed for the one class of command that CANNOT be proved any other way:
592
+ * `/compact` submits, works for minutes and fires no hook at all, so the
593
+ * spinner appearing on a session that was idle before the keystroke is the
594
+ * only evidence there is (`shared/slash.ts`'s `worksUnannounced`).
595
+ */
596
+ export function turnFromScreen(core, id) {
597
+ const s = core.sessions.get(id);
598
+ return !!s && s.turnActive && s.turnFromScreen;
599
+ }
600
+ /** The PTY grid this session is drawing in, or null for an unknown id. The
601
+ * composer is drawn inside it, so it is half of why a delivery was readable. */
602
+ export function geometry(core, id) {
603
+ const s = core.sessions.get(id);
604
+ return s ? { cols: s.cols, rows: s.rows } : null;
605
+ }
606
+ /** Remember one `UserPromptSubmit` payload. Bounded, and a payload with no
607
+ * `prompt` field is simply not remembered — an older CLI that sends the event
608
+ * without the text must not look like a session that submitted nothing. */
609
+ function noteSubmittedPrompt(s, prompt) {
610
+ if (typeof prompt !== "string" || !prompt.trim())
611
+ return;
612
+ s.submits.push({ prompt, at: Date.now(), claimed: false });
613
+ if (s.submits.length > SUBMIT_RING)
614
+ s.submits.splice(0, s.submits.length - SUBMIT_RING);
615
+ }
616
+ /**
617
+ * The newest prompt this session's CLI said it submitted since `since`, or
618
+ * null — a PEEK, claiming nothing.
619
+ *
620
+ * Exists for one sentence: a delivery that pressed Return into a composer it
621
+ * could not read needs to be able to say *something else went in*. Reading
622
+ * that off `claimSubmittedPrompt` returning false would be a guess; reading
623
+ * it here is the CLI's own answer, and it is worth saying out loud because it
624
+ * is the one outcome in this app where a person's words were mixed with
625
+ * somebody else's before running.
626
+ */
627
+ export function lastSubmittedPrompt(core, id, since) {
628
+ const s = core.sessions.get(id);
629
+ if (!s)
630
+ return null;
631
+ for (let i = s.submits.length - 1; i >= 0; i--)
632
+ if (s.submits[i].at >= since)
633
+ return s.submits[i].prompt;
634
+ return null;
635
+ }
636
+ /**
637
+ * **Did the CLI tell us it submitted THIS text, after `since`?**
638
+ *
639
+ * The one submit proof that is about a delivery rather than about a session:
640
+ * `UserPromptSubmit` carries the prompt, so a match is the CLI naming the
641
+ * words it took, not the host inferring a Return from a screen that repaints
642
+ * on its own.
643
+ *
644
+ * **A match is CLAIMED, exactly once.** Two deliveries of identical text — a
645
+ * `continue`, a re-send of a prompt the sweep proved never ran — would
646
+ * otherwise both read one hook event as their own, and the second would be
647
+ * reported `ok` having never run. Same rule, same reason, as `settle.ts`'s
648
+ * `spendTurn`, and it is why this is not a plain predicate.
649
+ *
650
+ * Absent is not a verdict: a session with no pipe, a backend with no hooks and
651
+ * a CLI that sends the event without its text all return false, and every
652
+ * caller falls through to the proof it had before this existed.
653
+ */
654
+ export function claimSubmittedPrompt(core, id, text, since) {
655
+ const s = core.sessions.get(id);
656
+ if (!s || !derive(s.backend).hooksInBand)
657
+ return false;
658
+ const hit = s.submits.find((e) => !e.claimed && e.at >= since && samePromptText(e.prompt, text));
659
+ if (!hit)
660
+ return false;
661
+ hit.claimed = true;
662
+ return true;
663
+ }
664
+ //# sourceMappingURL=turn.js.map