waterplane 0.0.1 → 0.1.6

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 (1641) hide show
  1. package/CHANGELOG.md +1172 -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 +388 -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 +118 -0
  11. package/node_modules/@waterplane/shared/dist/agentfiles.js +345 -0
  12. package/node_modules/@waterplane/shared/dist/agentfiles.js.map +1 -0
  13. package/node_modules/@waterplane/shared/dist/artifacts.d.ts +213 -0
  14. package/node_modules/@waterplane/shared/dist/artifacts.js +295 -0
  15. package/node_modules/@waterplane/shared/dist/artifacts.js.map +1 -0
  16. package/node_modules/@waterplane/shared/dist/askrules.d.ts +95 -0
  17. package/node_modules/@waterplane/shared/dist/askrules.js +133 -0
  18. package/node_modules/@waterplane/shared/dist/askrules.js.map +1 -0
  19. package/node_modules/@waterplane/shared/dist/assess/sassapply.d.ts +191 -0
  20. package/node_modules/@waterplane/shared/dist/assess/sassapply.js +152 -0
  21. package/node_modules/@waterplane/shared/dist/assess/sassapply.js.map +1 -0
  22. package/node_modules/@waterplane/shared/dist/assess/sassclean.d.ts +21 -0
  23. package/node_modules/@waterplane/shared/dist/assess/sassclean.js +453 -0
  24. package/node_modules/@waterplane/shared/dist/assess/sassclean.js.map +1 -0
  25. package/node_modules/@waterplane/shared/dist/assess/sassio.d.ts +257 -0
  26. package/node_modules/@waterplane/shared/dist/assess/sassio.js +2 -0
  27. package/node_modules/@waterplane/shared/dist/assess/sassio.js.map +1 -0
  28. package/node_modules/@waterplane/shared/dist/assess/sassslot.d.ts +19 -0
  29. package/node_modules/@waterplane/shared/dist/assess/sassslot.js +136 -0
  30. package/node_modules/@waterplane/shared/dist/assess/sassslot.js.map +1 -0
  31. package/node_modules/@waterplane/shared/dist/assess/sassvocab.d.ts +115 -0
  32. package/node_modules/@waterplane/shared/dist/assess/sassvocab.js +98 -0
  33. package/node_modules/@waterplane/shared/dist/assess/sassvocab.js.map +1 -0
  34. package/node_modules/@waterplane/shared/dist/assess/sasswords.d.ts +140 -0
  35. package/node_modules/@waterplane/shared/dist/assess/sasswords.js +155 -0
  36. package/node_modules/@waterplane/shared/dist/assess/sasswords.js.map +1 -0
  37. package/node_modules/@waterplane/shared/dist/assess.d.ts +58 -0
  38. package/node_modules/@waterplane/shared/dist/assess.js +55 -0
  39. package/node_modules/@waterplane/shared/dist/assess.js.map +1 -0
  40. package/node_modules/@waterplane/shared/dist/attach.d.ts +118 -0
  41. package/node_modules/@waterplane/shared/dist/attach.js +85 -0
  42. package/node_modules/@waterplane/shared/dist/attach.js.map +1 -0
  43. package/node_modules/@waterplane/shared/dist/autocompact.d.ts +125 -0
  44. package/node_modules/@waterplane/shared/dist/autocompact.js +226 -0
  45. package/node_modules/@waterplane/shared/dist/autocompact.js.map +1 -0
  46. package/node_modules/@waterplane/shared/dist/backendsources.d.ts +399 -0
  47. package/node_modules/@waterplane/shared/dist/backendsources.js +3 -0
  48. package/node_modules/@waterplane/shared/dist/backendsources.js.map +1 -0
  49. package/node_modules/@waterplane/shared/dist/billing.d.ts +48 -0
  50. package/node_modules/@waterplane/shared/dist/billing.js +64 -0
  51. package/node_modules/@waterplane/shared/dist/billing.js.map +1 -0
  52. package/node_modules/@waterplane/shared/dist/bindconv.d.ts +47 -0
  53. package/node_modules/@waterplane/shared/dist/bindconv.js +35 -0
  54. package/node_modules/@waterplane/shared/dist/bindconv.js.map +1 -0
  55. package/node_modules/@waterplane/shared/dist/bookmark.d.ts +26 -0
  56. package/node_modules/@waterplane/shared/dist/bookmark.js +40 -0
  57. package/node_modules/@waterplane/shared/dist/bookmark.js.map +1 -0
  58. package/node_modules/@waterplane/shared/dist/brand.d.ts +94 -0
  59. package/node_modules/@waterplane/shared/dist/brand.js +88 -0
  60. package/node_modules/@waterplane/shared/dist/brand.js.map +1 -0
  61. package/node_modules/@waterplane/shared/dist/brandmigrate.d.ts +30 -0
  62. package/node_modules/@waterplane/shared/dist/brandmigrate.js +67 -0
  63. package/node_modules/@waterplane/shared/dist/brandmigrate.js.map +1 -0
  64. package/node_modules/@waterplane/shared/dist/budget.d.ts +247 -0
  65. package/node_modules/@waterplane/shared/dist/budget.js +295 -0
  66. package/node_modules/@waterplane/shared/dist/budget.js.map +1 -0
  67. package/node_modules/@waterplane/shared/dist/buildparams.d.ts +146 -0
  68. package/node_modules/@waterplane/shared/dist/buildparams.js +260 -0
  69. package/node_modules/@waterplane/shared/dist/buildparams.js.map +1 -0
  70. package/node_modules/@waterplane/shared/dist/buildscan.d.ts +99 -0
  71. package/node_modules/@waterplane/shared/dist/buildscan.js +334 -0
  72. package/node_modules/@waterplane/shared/dist/buildscan.js.map +1 -0
  73. package/node_modules/@waterplane/shared/dist/burn.d.ts +137 -0
  74. package/node_modules/@waterplane/shared/dist/burn.js +176 -0
  75. package/node_modules/@waterplane/shared/dist/burn.js.map +1 -0
  76. package/node_modules/@waterplane/shared/dist/chord.d.ts +39 -0
  77. package/node_modules/@waterplane/shared/dist/chord.js +102 -0
  78. package/node_modules/@waterplane/shared/dist/chord.js.map +1 -0
  79. package/node_modules/@waterplane/shared/dist/claudeconfig.d.ts +18 -0
  80. package/node_modules/@waterplane/shared/dist/claudeconfig.js +44 -0
  81. package/node_modules/@waterplane/shared/dist/claudeconfig.js.map +1 -0
  82. package/node_modules/@waterplane/shared/dist/claudeversion.d.ts +17 -0
  83. package/node_modules/@waterplane/shared/dist/claudeversion.js +31 -0
  84. package/node_modules/@waterplane/shared/dist/claudeversion.js.map +1 -0
  85. package/node_modules/@waterplane/shared/dist/clientframe.d.ts +12 -0
  86. package/node_modules/@waterplane/shared/dist/clientframe.js +15 -0
  87. package/node_modules/@waterplane/shared/dist/clientframe.js.map +1 -0
  88. package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.d.ts +52 -0
  89. package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.js +137 -0
  90. package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.js.map +1 -0
  91. package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.d.ts +58 -0
  92. package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js +189 -0
  93. package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js.map +1 -0
  94. package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.d.ts +254 -0
  95. package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.js +367 -0
  96. package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.js.map +1 -0
  97. package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.d.ts +36 -0
  98. package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.js +123 -0
  99. package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.js.map +1 -0
  100. package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.d.ts +101 -0
  101. package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.js +103 -0
  102. package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.js.map +1 -0
  103. package/node_modules/@waterplane/shared/dist/clihealth.d.ts +64 -0
  104. package/node_modules/@waterplane/shared/dist/clihealth.js +69 -0
  105. package/node_modules/@waterplane/shared/dist/clihealth.js.map +1 -0
  106. package/node_modules/@waterplane/shared/dist/clirestart.d.ts +66 -0
  107. package/node_modules/@waterplane/shared/dist/clirestart.js +82 -0
  108. package/node_modules/@waterplane/shared/dist/clirestart.js.map +1 -0
  109. package/node_modules/@waterplane/shared/dist/closed.d.ts +41 -0
  110. package/node_modules/@waterplane/shared/dist/closed.js +102 -0
  111. package/node_modules/@waterplane/shared/dist/closed.js.map +1 -0
  112. package/node_modules/@waterplane/shared/dist/collage.d.ts +132 -0
  113. package/node_modules/@waterplane/shared/dist/collage.js +198 -0
  114. package/node_modules/@waterplane/shared/dist/collage.js.map +1 -0
  115. package/node_modules/@waterplane/shared/dist/contextweight.d.ts +169 -0
  116. package/node_modules/@waterplane/shared/dist/contextweight.js +247 -0
  117. package/node_modules/@waterplane/shared/dist/contextweight.js.map +1 -0
  118. package/node_modules/@waterplane/shared/dist/costwindow.d.ts +216 -0
  119. package/node_modules/@waterplane/shared/dist/costwindow.js +430 -0
  120. package/node_modules/@waterplane/shared/dist/costwindow.js.map +1 -0
  121. package/node_modules/@waterplane/shared/dist/ctxwindow.d.ts +92 -0
  122. package/node_modules/@waterplane/shared/dist/ctxwindow.js +107 -0
  123. package/node_modules/@waterplane/shared/dist/ctxwindow.js.map +1 -0
  124. package/node_modules/@waterplane/shared/dist/deskstorage.d.ts +170 -0
  125. package/node_modules/@waterplane/shared/dist/deskstorage.js +140 -0
  126. package/node_modules/@waterplane/shared/dist/deskstorage.js.map +1 -0
  127. package/node_modules/@waterplane/shared/dist/devices.d.ts +52 -0
  128. package/node_modules/@waterplane/shared/dist/devices.js +53 -0
  129. package/node_modules/@waterplane/shared/dist/devices.js.map +1 -0
  130. package/node_modules/@waterplane/shared/dist/dictate.d.ts +178 -0
  131. package/node_modules/@waterplane/shared/dist/dictate.js +345 -0
  132. package/node_modules/@waterplane/shared/dist/dictate.js.map +1 -0
  133. package/node_modules/@waterplane/shared/dist/dictateterms.d.ts +91 -0
  134. package/node_modules/@waterplane/shared/dist/dictateterms.js +180 -0
  135. package/node_modules/@waterplane/shared/dist/dictateterms.js.map +1 -0
  136. package/node_modules/@waterplane/shared/dist/envresolve.d.ts +30 -0
  137. package/node_modules/@waterplane/shared/dist/envresolve.js +76 -0
  138. package/node_modules/@waterplane/shared/dist/envresolve.js.map +1 -0
  139. package/node_modules/@waterplane/shared/dist/fanoutruns.d.ts +25 -0
  140. package/node_modules/@waterplane/shared/dist/fanoutruns.js +88 -0
  141. package/node_modules/@waterplane/shared/dist/fanoutruns.js.map +1 -0
  142. package/node_modules/@waterplane/shared/dist/followup.d.ts +38 -0
  143. package/node_modules/@waterplane/shared/dist/followup.js +68 -0
  144. package/node_modules/@waterplane/shared/dist/followup.js.map +1 -0
  145. package/node_modules/@waterplane/shared/dist/gallery.d.ts +83 -0
  146. package/node_modules/@waterplane/shared/dist/gallery.js +94 -0
  147. package/node_modules/@waterplane/shared/dist/gallery.js.map +1 -0
  148. package/node_modules/@waterplane/shared/dist/halt.d.ts +46 -0
  149. package/node_modules/@waterplane/shared/dist/halt.js +34 -0
  150. package/node_modules/@waterplane/shared/dist/halt.js.map +1 -0
  151. package/node_modules/@waterplane/shared/dist/healthindex.d.ts +485 -0
  152. package/node_modules/@waterplane/shared/dist/healthindex.js +677 -0
  153. package/node_modules/@waterplane/shared/dist/healthindex.js.map +1 -0
  154. package/node_modules/@waterplane/shared/dist/healthindexresponse.d.ts +36 -0
  155. package/node_modules/@waterplane/shared/dist/healthindexresponse.js +84 -0
  156. package/node_modules/@waterplane/shared/dist/healthindexresponse.js.map +1 -0
  157. package/node_modules/@waterplane/shared/dist/healthspend.d.ts +23 -0
  158. package/node_modules/@waterplane/shared/dist/healthspend.js +41 -0
  159. package/node_modules/@waterplane/shared/dist/healthspend.js.map +1 -0
  160. package/node_modules/@waterplane/shared/dist/hints.d.ts +77 -0
  161. package/node_modules/@waterplane/shared/dist/hints.js +607 -0
  162. package/node_modules/@waterplane/shared/dist/hints.js.map +1 -0
  163. package/node_modules/@waterplane/shared/dist/hosts.d.ts +160 -0
  164. package/node_modules/@waterplane/shared/dist/hosts.js +316 -0
  165. package/node_modules/@waterplane/shared/dist/hosts.js.map +1 -0
  166. package/node_modules/@waterplane/shared/dist/hosturl.d.ts +73 -0
  167. package/node_modules/@waterplane/shared/dist/hosturl.js +129 -0
  168. package/node_modules/@waterplane/shared/dist/hosturl.js.map +1 -0
  169. package/node_modules/@waterplane/shared/dist/index.d.ts +283 -0
  170. package/node_modules/@waterplane/shared/dist/index.js +305 -0
  171. package/node_modules/@waterplane/shared/dist/index.js.map +1 -0
  172. package/node_modules/@waterplane/shared/dist/installlog.d.ts +137 -0
  173. package/node_modules/@waterplane/shared/dist/installlog.js +367 -0
  174. package/node_modules/@waterplane/shared/dist/installlog.js.map +1 -0
  175. package/node_modules/@waterplane/shared/dist/intent/budgetpass.d.ts +103 -0
  176. package/node_modules/@waterplane/shared/dist/intent/budgetpass.js +185 -0
  177. package/node_modules/@waterplane/shared/dist/intent/budgetpass.js.map +1 -0
  178. package/node_modules/@waterplane/shared/dist/intent/clean.d.ts +30 -0
  179. package/node_modules/@waterplane/shared/dist/intent/clean.js +492 -0
  180. package/node_modules/@waterplane/shared/dist/intent/clean.js.map +1 -0
  181. package/node_modules/@waterplane/shared/dist/intent/facts.d.ts +320 -0
  182. package/node_modules/@waterplane/shared/dist/intent/facts.js +52 -0
  183. package/node_modules/@waterplane/shared/dist/intent/facts.js.map +1 -0
  184. package/node_modules/@waterplane/shared/dist/intent/kind.d.ts +194 -0
  185. package/node_modules/@waterplane/shared/dist/intent/kind.js +230 -0
  186. package/node_modules/@waterplane/shared/dist/intent/kind.js.map +1 -0
  187. package/node_modules/@waterplane/shared/dist/intent/row.d.ts +433 -0
  188. package/node_modules/@waterplane/shared/dist/intent/row.js +75 -0
  189. package/node_modules/@waterplane/shared/dist/intent/row.js.map +1 -0
  190. package/node_modules/@waterplane/shared/dist/intent/slot.d.ts +137 -0
  191. package/node_modules/@waterplane/shared/dist/intent/slot.js +238 -0
  192. package/node_modules/@waterplane/shared/dist/intent/slot.js.map +1 -0
  193. package/node_modules/@waterplane/shared/dist/intent/target.d.ts +62 -0
  194. package/node_modules/@waterplane/shared/dist/intent/target.js +177 -0
  195. package/node_modules/@waterplane/shared/dist/intent/target.js.map +1 -0
  196. package/node_modules/@waterplane/shared/dist/intent/types.d.ts +455 -0
  197. package/node_modules/@waterplane/shared/dist/intent/types.js +27 -0
  198. package/node_modules/@waterplane/shared/dist/intent/types.js.map +1 -0
  199. package/node_modules/@waterplane/shared/dist/intent/verdict.d.ts +50 -0
  200. package/node_modules/@waterplane/shared/dist/intent/verdict.js +431 -0
  201. package/node_modules/@waterplane/shared/dist/intent/verdict.js.map +1 -0
  202. package/node_modules/@waterplane/shared/dist/intent/words.d.ts +236 -0
  203. package/node_modules/@waterplane/shared/dist/intent/words.js +329 -0
  204. package/node_modules/@waterplane/shared/dist/intent/words.js.map +1 -0
  205. package/node_modules/@waterplane/shared/dist/intent.d.ts +69 -0
  206. package/node_modules/@waterplane/shared/dist/intent.js +65 -0
  207. package/node_modules/@waterplane/shared/dist/intent.js.map +1 -0
  208. package/node_modules/@waterplane/shared/dist/itempaths.d.ts +35 -0
  209. package/node_modules/@waterplane/shared/dist/itempaths.js +55 -0
  210. package/node_modules/@waterplane/shared/dist/itempaths.js.map +1 -0
  211. package/node_modules/@waterplane/shared/dist/keyhint.d.ts +32 -0
  212. package/node_modules/@waterplane/shared/dist/keyhint.js +53 -0
  213. package/node_modules/@waterplane/shared/dist/keyhint.js.map +1 -0
  214. package/node_modules/@waterplane/shared/dist/lanroute.d.ts +86 -0
  215. package/node_modules/@waterplane/shared/dist/lanroute.js +84 -0
  216. package/node_modules/@waterplane/shared/dist/lanroute.js.map +1 -0
  217. package/node_modules/@waterplane/shared/dist/launch.d.ts +110 -0
  218. package/node_modules/@waterplane/shared/dist/launch.js +102 -0
  219. package/node_modules/@waterplane/shared/dist/launch.js.map +1 -0
  220. package/node_modules/@waterplane/shared/dist/launchmodes.d.ts +22 -0
  221. package/node_modules/@waterplane/shared/dist/launchmodes.js +38 -0
  222. package/node_modules/@waterplane/shared/dist/launchmodes.js.map +1 -0
  223. package/node_modules/@waterplane/shared/dist/localrt.d.ts +53 -0
  224. package/node_modules/@waterplane/shared/dist/localrt.js +54 -0
  225. package/node_modules/@waterplane/shared/dist/localrt.js.map +1 -0
  226. package/node_modules/@waterplane/shared/dist/localusage.d.ts +35 -0
  227. package/node_modules/@waterplane/shared/dist/localusage.js +135 -0
  228. package/node_modules/@waterplane/shared/dist/localusage.js.map +1 -0
  229. package/node_modules/@waterplane/shared/dist/naming.d.ts +391 -0
  230. package/node_modules/@waterplane/shared/dist/naming.js +571 -0
  231. package/node_modules/@waterplane/shared/dist/naming.js.map +1 -0
  232. package/node_modules/@waterplane/shared/dist/netfuse.d.ts +60 -0
  233. package/node_modules/@waterplane/shared/dist/netfuse.js +99 -0
  234. package/node_modules/@waterplane/shared/dist/netfuse.js.map +1 -0
  235. package/node_modules/@waterplane/shared/dist/netstall.d.ts +163 -0
  236. package/node_modules/@waterplane/shared/dist/netstall.js +241 -0
  237. package/node_modules/@waterplane/shared/dist/netstall.js.map +1 -0
  238. package/node_modules/@waterplane/shared/dist/nodemin.d.ts +18 -0
  239. package/node_modules/@waterplane/shared/dist/nodemin.js +35 -0
  240. package/node_modules/@waterplane/shared/dist/nodemin.js.map +1 -0
  241. package/node_modules/@waterplane/shared/dist/optins.d.ts +122 -0
  242. package/node_modules/@waterplane/shared/dist/optins.js +252 -0
  243. package/node_modules/@waterplane/shared/dist/optins.js.map +1 -0
  244. package/node_modules/@waterplane/shared/dist/pad.d.ts +263 -0
  245. package/node_modules/@waterplane/shared/dist/pad.js +373 -0
  246. package/node_modules/@waterplane/shared/dist/pad.js.map +1 -0
  247. package/node_modules/@waterplane/shared/dist/pairing.d.ts +120 -0
  248. package/node_modules/@waterplane/shared/dist/pairing.js +130 -0
  249. package/node_modules/@waterplane/shared/dist/pairing.js.map +1 -0
  250. package/node_modules/@waterplane/shared/dist/passive.d.ts +58 -0
  251. package/node_modules/@waterplane/shared/dist/passive.js +36 -0
  252. package/node_modules/@waterplane/shared/dist/passive.js.map +1 -0
  253. package/node_modules/@waterplane/shared/dist/peer.d.ts +311 -0
  254. package/node_modules/@waterplane/shared/dist/peer.js +390 -0
  255. package/node_modules/@waterplane/shared/dist/peer.js.map +1 -0
  256. package/node_modules/@waterplane/shared/dist/period.d.ts +108 -0
  257. package/node_modules/@waterplane/shared/dist/period.js +263 -0
  258. package/node_modules/@waterplane/shared/dist/period.js.map +1 -0
  259. package/node_modules/@waterplane/shared/dist/plugin.d.ts +898 -0
  260. package/node_modules/@waterplane/shared/dist/plugin.js +196 -0
  261. package/node_modules/@waterplane/shared/dist/plugin.js.map +1 -0
  262. package/node_modules/@waterplane/shared/dist/pluginfile.d.ts +25 -0
  263. package/node_modules/@waterplane/shared/dist/pluginfile.js +8 -0
  264. package/node_modules/@waterplane/shared/dist/pluginfile.js.map +1 -0
  265. package/node_modules/@waterplane/shared/dist/pluginlaunch.d.ts +109 -0
  266. package/node_modules/@waterplane/shared/dist/pluginlaunch.js +3 -0
  267. package/node_modules/@waterplane/shared/dist/pluginlaunch.js.map +1 -0
  268. package/node_modules/@waterplane/shared/dist/pluginmaturity.d.ts +26 -0
  269. package/node_modules/@waterplane/shared/dist/pluginmaturity.js +32 -0
  270. package/node_modules/@waterplane/shared/dist/pluginmaturity.js.map +1 -0
  271. package/node_modules/@waterplane/shared/dist/pluginreadings.d.ts +43 -0
  272. package/node_modules/@waterplane/shared/dist/pluginreadings.js +5 -0
  273. package/node_modules/@waterplane/shared/dist/pluginreadings.js.map +1 -0
  274. package/node_modules/@waterplane/shared/dist/pricing.d.ts +249 -0
  275. package/node_modules/@waterplane/shared/dist/pricing.js +388 -0
  276. package/node_modules/@waterplane/shared/dist/pricing.js.map +1 -0
  277. package/node_modules/@waterplane/shared/dist/promptid.d.ts +48 -0
  278. package/node_modules/@waterplane/shared/dist/promptid.js +116 -0
  279. package/node_modules/@waterplane/shared/dist/promptid.js.map +1 -0
  280. package/node_modules/@waterplane/shared/dist/ptysize.d.ts +74 -0
  281. package/node_modules/@waterplane/shared/dist/ptysize.js +77 -0
  282. package/node_modules/@waterplane/shared/dist/ptysize.js.map +1 -0
  283. package/node_modules/@waterplane/shared/dist/queue/queuebind.d.ts +40 -0
  284. package/node_modules/@waterplane/shared/dist/queue/queuebind.js +70 -0
  285. package/node_modules/@waterplane/shared/dist/queue/queuebind.js.map +1 -0
  286. package/node_modules/@waterplane/shared/dist/queue/queueentry.d.ts +175 -0
  287. package/node_modules/@waterplane/shared/dist/queue/queueentry.js +4 -0
  288. package/node_modules/@waterplane/shared/dist/queue/queueentry.js.map +1 -0
  289. package/node_modules/@waterplane/shared/dist/queue/queuelane.d.ts +65 -0
  290. package/node_modules/@waterplane/shared/dist/queue/queuelane.js +45 -0
  291. package/node_modules/@waterplane/shared/dist/queue/queuelane.js.map +1 -0
  292. package/node_modules/@waterplane/shared/dist/queue/queueplan.d.ts +180 -0
  293. package/node_modules/@waterplane/shared/dist/queue/queueplan.js +169 -0
  294. package/node_modules/@waterplane/shared/dist/queue/queueplan.js.map +1 -0
  295. package/node_modules/@waterplane/shared/dist/queue/queueretarget.d.ts +61 -0
  296. package/node_modules/@waterplane/shared/dist/queue/queueretarget.js +94 -0
  297. package/node_modules/@waterplane/shared/dist/queue/queueretarget.js.map +1 -0
  298. package/node_modules/@waterplane/shared/dist/queue/queueretry.d.ts +61 -0
  299. package/node_modules/@waterplane/shared/dist/queue/queueretry.js +66 -0
  300. package/node_modules/@waterplane/shared/dist/queue/queueretry.js.map +1 -0
  301. package/node_modules/@waterplane/shared/dist/queue/queueserial.d.ts +154 -0
  302. package/node_modules/@waterplane/shared/dist/queue/queueserial.js +169 -0
  303. package/node_modules/@waterplane/shared/dist/queue/queueserial.js.map +1 -0
  304. package/node_modules/@waterplane/shared/dist/queue/queueuploads.d.ts +65 -0
  305. package/node_modules/@waterplane/shared/dist/queue/queueuploads.js +79 -0
  306. package/node_modules/@waterplane/shared/dist/queue/queueuploads.js.map +1 -0
  307. package/node_modules/@waterplane/shared/dist/queue/queuewords.d.ts +22 -0
  308. package/node_modules/@waterplane/shared/dist/queue/queuewords.js +55 -0
  309. package/node_modules/@waterplane/shared/dist/queue/queuewords.js.map +1 -0
  310. package/node_modules/@waterplane/shared/dist/queue.d.ts +13 -0
  311. package/node_modules/@waterplane/shared/dist/queue.js +44 -0
  312. package/node_modules/@waterplane/shared/dist/queue.js.map +1 -0
  313. package/node_modules/@waterplane/shared/dist/repocolor.d.ts +159 -0
  314. package/node_modules/@waterplane/shared/dist/repocolor.js +261 -0
  315. package/node_modules/@waterplane/shared/dist/repocolor.js.map +1 -0
  316. package/node_modules/@waterplane/shared/dist/repohealth.d.ts +640 -0
  317. package/node_modules/@waterplane/shared/dist/repohealth.js +117 -0
  318. package/node_modules/@waterplane/shared/dist/repohealth.js.map +1 -0
  319. package/node_modules/@waterplane/shared/dist/repohealthread.d.ts +156 -0
  320. package/node_modules/@waterplane/shared/dist/repohealthread.js +680 -0
  321. package/node_modules/@waterplane/shared/dist/repohealthread.js.map +1 -0
  322. package/node_modules/@waterplane/shared/dist/requirements.d.ts +81 -0
  323. package/node_modules/@waterplane/shared/dist/requirements.js +191 -0
  324. package/node_modules/@waterplane/shared/dist/requirements.js.map +1 -0
  325. package/node_modules/@waterplane/shared/dist/rootchoice.d.ts +52 -0
  326. package/node_modules/@waterplane/shared/dist/rootchoice.js +18 -0
  327. package/node_modules/@waterplane/shared/dist/rootchoice.js.map +1 -0
  328. package/node_modules/@waterplane/shared/dist/schedule/schedaction.d.ts +106 -0
  329. package/node_modules/@waterplane/shared/dist/schedule/schedaction.js +14 -0
  330. package/node_modules/@waterplane/shared/dist/schedule/schedaction.js.map +1 -0
  331. package/node_modules/@waterplane/shared/dist/schedule/schedclean.d.ts +6 -0
  332. package/node_modules/@waterplane/shared/dist/schedule/schedclean.js +180 -0
  333. package/node_modules/@waterplane/shared/dist/schedule/schedclean.js.map +1 -0
  334. package/node_modules/@waterplane/shared/dist/schedule/schedfire.d.ts +76 -0
  335. package/node_modules/@waterplane/shared/dist/schedule/schedfire.js +122 -0
  336. package/node_modules/@waterplane/shared/dist/schedule/schedfire.js.map +1 -0
  337. package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.d.ts +78 -0
  338. package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.js +98 -0
  339. package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.js.map +1 -0
  340. package/node_modules/@waterplane/shared/dist/schedule/schedrule.d.ts +219 -0
  341. package/node_modules/@waterplane/shared/dist/schedule/schedrule.js +162 -0
  342. package/node_modules/@waterplane/shared/dist/schedule/schedrule.js.map +1 -0
  343. package/node_modules/@waterplane/shared/dist/schedule/schedtext.d.ts +37 -0
  344. package/node_modules/@waterplane/shared/dist/schedule/schedtext.js +119 -0
  345. package/node_modules/@waterplane/shared/dist/schedule/schedtext.js.map +1 -0
  346. package/node_modules/@waterplane/shared/dist/schedule/schedwhen.d.ts +54 -0
  347. package/node_modules/@waterplane/shared/dist/schedule/schedwhen.js +70 -0
  348. package/node_modules/@waterplane/shared/dist/schedule/schedwhen.js.map +1 -0
  349. package/node_modules/@waterplane/shared/dist/schedule/schedzone.d.ts +76 -0
  350. package/node_modules/@waterplane/shared/dist/schedule/schedzone.js +159 -0
  351. package/node_modules/@waterplane/shared/dist/schedule/schedzone.js.map +1 -0
  352. package/node_modules/@waterplane/shared/dist/schedule.d.ts +44 -0
  353. package/node_modules/@waterplane/shared/dist/schedule.js +43 -0
  354. package/node_modules/@waterplane/shared/dist/schedule.js.map +1 -0
  355. package/node_modules/@waterplane/shared/dist/screenlog.d.ts +65 -0
  356. package/node_modules/@waterplane/shared/dist/screenlog.js +169 -0
  357. package/node_modules/@waterplane/shared/dist/screenlog.js.map +1 -0
  358. package/node_modules/@waterplane/shared/dist/sendstamp.d.ts +85 -0
  359. package/node_modules/@waterplane/shared/dist/sendstamp.js +96 -0
  360. package/node_modules/@waterplane/shared/dist/sendstamp.js.map +1 -0
  361. package/node_modules/@waterplane/shared/dist/sessionbudget.d.ts +162 -0
  362. package/node_modules/@waterplane/shared/dist/sessionbudget.js +213 -0
  363. package/node_modules/@waterplane/shared/dist/sessionbudget.js.map +1 -0
  364. package/node_modules/@waterplane/shared/dist/sessioncost/costcold.d.ts +99 -0
  365. package/node_modules/@waterplane/shared/dist/sessioncost/costcold.js +94 -0
  366. package/node_modules/@waterplane/shared/dist/sessioncost/costcold.js.map +1 -0
  367. package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.d.ts +125 -0
  368. package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.js +184 -0
  369. package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.js.map +1 -0
  370. package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.d.ts +21 -0
  371. package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.js +31 -0
  372. package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.js.map +1 -0
  373. package/node_modules/@waterplane/shared/dist/sessioncost/costreading.d.ts +174 -0
  374. package/node_modules/@waterplane/shared/dist/sessioncost/costreading.js +302 -0
  375. package/node_modules/@waterplane/shared/dist/sessioncost/costreading.js.map +1 -0
  376. package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.d.ts +209 -0
  377. package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.js +128 -0
  378. package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.js.map +1 -0
  379. package/node_modules/@waterplane/shared/dist/sessioncost/costwords.d.ts +169 -0
  380. package/node_modules/@waterplane/shared/dist/sessioncost/costwords.js +262 -0
  381. package/node_modules/@waterplane/shared/dist/sessioncost/costwords.js.map +1 -0
  382. package/node_modules/@waterplane/shared/dist/sessioncost.d.ts +52 -0
  383. package/node_modules/@waterplane/shared/dist/sessioncost.js +51 -0
  384. package/node_modules/@waterplane/shared/dist/sessioncost.js.map +1 -0
  385. package/node_modules/@waterplane/shared/dist/settings.d.ts +136 -0
  386. package/node_modules/@waterplane/shared/dist/settings.js +303 -0
  387. package/node_modules/@waterplane/shared/dist/settings.js.map +1 -0
  388. package/node_modules/@waterplane/shared/dist/shells.d.ts +140 -0
  389. package/node_modules/@waterplane/shared/dist/shells.js +257 -0
  390. package/node_modules/@waterplane/shared/dist/shells.js.map +1 -0
  391. package/node_modules/@waterplane/shared/dist/slash.d.ts +47 -0
  392. package/node_modules/@waterplane/shared/dist/slash.js +166 -0
  393. package/node_modules/@waterplane/shared/dist/slash.js.map +1 -0
  394. package/node_modules/@waterplane/shared/dist/sourceshape.d.ts +27 -0
  395. package/node_modules/@waterplane/shared/dist/sourceshape.js +141 -0
  396. package/node_modules/@waterplane/shared/dist/sourceshape.js.map +1 -0
  397. package/node_modules/@waterplane/shared/dist/spendwarn.d.ts +37 -0
  398. package/node_modules/@waterplane/shared/dist/spendwarn.js +79 -0
  399. package/node_modules/@waterplane/shared/dist/spendwarn.js.map +1 -0
  400. package/node_modules/@waterplane/shared/dist/statedir.d.ts +11 -0
  401. package/node_modules/@waterplane/shared/dist/statedir.js +34 -0
  402. package/node_modules/@waterplane/shared/dist/statedir.js.map +1 -0
  403. package/node_modules/@waterplane/shared/dist/stream.d.ts +135 -0
  404. package/node_modules/@waterplane/shared/dist/stream.js +117 -0
  405. package/node_modules/@waterplane/shared/dist/stream.js.map +1 -0
  406. package/node_modules/@waterplane/shared/dist/sweep.d.ts +156 -0
  407. package/node_modules/@waterplane/shared/dist/sweep.js +193 -0
  408. package/node_modules/@waterplane/shared/dist/sweep.js.map +1 -0
  409. package/node_modules/@waterplane/shared/dist/sweepfamilies.d.ts +56 -0
  410. package/node_modules/@waterplane/shared/dist/sweepfamilies.js +140 -0
  411. package/node_modules/@waterplane/shared/dist/sweepfamilies.js.map +1 -0
  412. package/node_modules/@waterplane/shared/dist/termpalette.d.ts +17 -0
  413. package/node_modules/@waterplane/shared/dist/termpalette.js +5 -0
  414. package/node_modules/@waterplane/shared/dist/termpalette.js.map +1 -0
  415. package/node_modules/@waterplane/shared/dist/themeoverlay.d.ts +111 -0
  416. package/node_modules/@waterplane/shared/dist/themeoverlay.js +328 -0
  417. package/node_modules/@waterplane/shared/dist/themeoverlay.js.map +1 -0
  418. package/node_modules/@waterplane/shared/dist/tokens.d.ts +198 -0
  419. package/node_modules/@waterplane/shared/dist/tokens.js +320 -0
  420. package/node_modules/@waterplane/shared/dist/tokens.js.map +1 -0
  421. package/node_modules/@waterplane/shared/dist/transcriptfold.d.ts +50 -0
  422. package/node_modules/@waterplane/shared/dist/transcriptfold.js +87 -0
  423. package/node_modules/@waterplane/shared/dist/transcriptfold.js.map +1 -0
  424. package/node_modules/@waterplane/shared/dist/urls.d.ts +53 -0
  425. package/node_modules/@waterplane/shared/dist/urls.js +150 -0
  426. package/node_modules/@waterplane/shared/dist/urls.js.map +1 -0
  427. package/node_modules/@waterplane/shared/dist/usagesources.d.ts +88 -0
  428. package/node_modules/@waterplane/shared/dist/usagesources.js +198 -0
  429. package/node_modules/@waterplane/shared/dist/usagesources.js.map +1 -0
  430. package/node_modules/@waterplane/shared/dist/windowadvice.d.ts +7 -0
  431. package/node_modules/@waterplane/shared/dist/windowadvice.js +50 -0
  432. package/node_modules/@waterplane/shared/dist/windowadvice.js.map +1 -0
  433. package/node_modules/@waterplane/shared/dist/wire/backend.d.ts +223 -0
  434. package/node_modules/@waterplane/shared/dist/wire/backend.js +18 -0
  435. package/node_modules/@waterplane/shared/dist/wire/backend.js.map +1 -0
  436. package/node_modules/@waterplane/shared/dist/wire/backendtokens.d.ts +99 -0
  437. package/node_modules/@waterplane/shared/dist/wire/backendtokens.js +11 -0
  438. package/node_modules/@waterplane/shared/dist/wire/backendtokens.js.map +1 -0
  439. package/node_modules/@waterplane/shared/dist/wire/capture.d.ts +380 -0
  440. package/node_modules/@waterplane/shared/dist/wire/capture.js +46 -0
  441. package/node_modules/@waterplane/shared/dist/wire/capture.js.map +1 -0
  442. package/node_modules/@waterplane/shared/dist/wire/costwindow.d.ts +143 -0
  443. package/node_modules/@waterplane/shared/dist/wire/costwindow.js +16 -0
  444. package/node_modules/@waterplane/shared/dist/wire/costwindow.js.map +1 -0
  445. package/node_modules/@waterplane/shared/dist/wire/install.d.ts +172 -0
  446. package/node_modules/@waterplane/shared/dist/wire/install.js +30 -0
  447. package/node_modules/@waterplane/shared/dist/wire/install.js.map +1 -0
  448. package/node_modules/@waterplane/shared/dist/wire/intent.d.ts +187 -0
  449. package/node_modules/@waterplane/shared/dist/wire/intent.js +2 -0
  450. package/node_modules/@waterplane/shared/dist/wire/intent.js.map +1 -0
  451. package/node_modules/@waterplane/shared/dist/wire/localrt.d.ts +78 -0
  452. package/node_modules/@waterplane/shared/dist/wire/localrt.js +21 -0
  453. package/node_modules/@waterplane/shared/dist/wire/localrt.js.map +1 -0
  454. package/node_modules/@waterplane/shared/dist/wire/localusage.d.ts +121 -0
  455. package/node_modules/@waterplane/shared/dist/wire/localusage.js +23 -0
  456. package/node_modules/@waterplane/shared/dist/wire/localusage.js.map +1 -0
  457. package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.d.ts +177 -0
  458. package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.js +3 -0
  459. package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.js.map +1 -0
  460. package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.d.ts +344 -0
  461. package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.js +3 -0
  462. package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.js.map +1 -0
  463. package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.d.ts +307 -0
  464. package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.js +3 -0
  465. package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.js.map +1 -0
  466. package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.d.ts +18 -0
  467. package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.js +5 -0
  468. package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.js.map +1 -0
  469. package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.d.ts +478 -0
  470. package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.js +3 -0
  471. package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.js.map +1 -0
  472. package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.d.ts +488 -0
  473. package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.js +3 -0
  474. package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.js.map +1 -0
  475. package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.d.ts +338 -0
  476. package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.js +3 -0
  477. package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.js.map +1 -0
  478. package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.d.ts +16 -0
  479. package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.js +3 -0
  480. package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.js.map +1 -0
  481. package/node_modules/@waterplane/shared/dist/wire/messages.d.ts +25 -0
  482. package/node_modules/@waterplane/shared/dist/wire/messages.js +18 -0
  483. package/node_modules/@waterplane/shared/dist/wire/messages.js.map +1 -0
  484. package/node_modules/@waterplane/shared/dist/wire/notify.d.ts +145 -0
  485. package/node_modules/@waterplane/shared/dist/wire/notify.js +96 -0
  486. package/node_modules/@waterplane/shared/dist/wire/notify.js.map +1 -0
  487. package/node_modules/@waterplane/shared/dist/wire/notifylink.d.ts +36 -0
  488. package/node_modules/@waterplane/shared/dist/wire/notifylink.js +44 -0
  489. package/node_modules/@waterplane/shared/dist/wire/notifylink.js.map +1 -0
  490. package/node_modules/@waterplane/shared/dist/wire/onboard.d.ts +121 -0
  491. package/node_modules/@waterplane/shared/dist/wire/onboard.js +11 -0
  492. package/node_modules/@waterplane/shared/dist/wire/onboard.js.map +1 -0
  493. package/node_modules/@waterplane/shared/dist/wire/repo.d.ts +456 -0
  494. package/node_modules/@waterplane/shared/dist/wire/repo.js +30 -0
  495. package/node_modules/@waterplane/shared/dist/wire/repo.js.map +1 -0
  496. package/node_modules/@waterplane/shared/dist/wire/sent.d.ts +127 -0
  497. package/node_modules/@waterplane/shared/dist/wire/sent.js +2 -0
  498. package/node_modules/@waterplane/shared/dist/wire/sent.js.map +1 -0
  499. package/node_modules/@waterplane/shared/dist/wire/session/archive.d.ts +286 -0
  500. package/node_modules/@waterplane/shared/dist/wire/session/archive.js +2 -0
  501. package/node_modules/@waterplane/shared/dist/wire/session/archive.js.map +1 -0
  502. package/node_modules/@waterplane/shared/dist/wire/session/context.d.ts +298 -0
  503. package/node_modules/@waterplane/shared/dist/wire/session/context.js +6 -0
  504. package/node_modules/@waterplane/shared/dist/wire/session/context.js.map +1 -0
  505. package/node_modules/@waterplane/shared/dist/wire/session/contextspark.d.ts +402 -0
  506. package/node_modules/@waterplane/shared/dist/wire/session/contextspark.js +2 -0
  507. package/node_modules/@waterplane/shared/dist/wire/session/contextspark.js.map +1 -0
  508. package/node_modules/@waterplane/shared/dist/wire/session/delivery.d.ts +114 -0
  509. package/node_modules/@waterplane/shared/dist/wire/session/delivery.js +2 -0
  510. package/node_modules/@waterplane/shared/dist/wire/session/delivery.js.map +1 -0
  511. package/node_modules/@waterplane/shared/dist/wire/session/info.d.ts +427 -0
  512. package/node_modules/@waterplane/shared/dist/wire/session/info.js +2 -0
  513. package/node_modules/@waterplane/shared/dist/wire/session/info.js.map +1 -0
  514. package/node_modules/@waterplane/shared/dist/wire/session/launch.d.ts +332 -0
  515. package/node_modules/@waterplane/shared/dist/wire/session/launch.js +2 -0
  516. package/node_modules/@waterplane/shared/dist/wire/session/launch.js.map +1 -0
  517. package/node_modules/@waterplane/shared/dist/wire/session/promptbox.d.ts +181 -0
  518. package/node_modules/@waterplane/shared/dist/wire/session/promptbox.js +2 -0
  519. package/node_modules/@waterplane/shared/dist/wire/session/promptbox.js.map +1 -0
  520. package/node_modules/@waterplane/shared/dist/wire/session.d.ts +16 -0
  521. package/node_modules/@waterplane/shared/dist/wire/session.js +10 -0
  522. package/node_modules/@waterplane/shared/dist/wire/session.js.map +1 -0
  523. package/node_modules/@waterplane/shared/dist/wire/slash.d.ts +31 -0
  524. package/node_modules/@waterplane/shared/dist/wire/slash.js +9 -0
  525. package/node_modules/@waterplane/shared/dist/wire/slash.js.map +1 -0
  526. package/node_modules/@waterplane/shared/dist/wire/sysstat.d.ts +226 -0
  527. package/node_modules/@waterplane/shared/dist/wire/sysstat.js +47 -0
  528. package/node_modules/@waterplane/shared/dist/wire/sysstat.js.map +1 -0
  529. package/node_modules/@waterplane/shared/dist/wire/telemetry.d.ts +645 -0
  530. package/node_modules/@waterplane/shared/dist/wire/telemetry.js +3 -0
  531. package/node_modules/@waterplane/shared/dist/wire/telemetry.js.map +1 -0
  532. package/node_modules/@waterplane/shared/dist/wire/transcript.d.ts +327 -0
  533. package/node_modules/@waterplane/shared/dist/wire/transcript.js +60 -0
  534. package/node_modules/@waterplane/shared/dist/wire/transcript.js.map +1 -0
  535. package/node_modules/@waterplane/shared/dist/wire/updates.d.ts +130 -0
  536. package/node_modules/@waterplane/shared/dist/wire/updates.js +52 -0
  537. package/node_modules/@waterplane/shared/dist/wire/updates.js.map +1 -0
  538. package/node_modules/@waterplane/shared/dist/wire/work.d.ts +699 -0
  539. package/node_modules/@waterplane/shared/dist/wire/work.js +22 -0
  540. package/node_modules/@waterplane/shared/dist/wire/work.js.map +1 -0
  541. package/node_modules/@waterplane/shared/dist/working.d.ts +70 -0
  542. package/node_modules/@waterplane/shared/dist/working.js +208 -0
  543. package/node_modules/@waterplane/shared/dist/working.js.map +1 -0
  544. package/node_modules/@waterplane/shared/package.json +17 -0
  545. package/npm-shrinkwrap.json +250 -0
  546. package/package.json +33 -6
  547. package/packages/extensions/copilot-usage/waterplane-plugin.json +9 -0
  548. package/packages/extensions/ocr/assets/deu.traineddata.gz +0 -0
  549. package/packages/extensions/ocr/assets/eng.traineddata.gz +0 -0
  550. package/packages/extensions/ocr/assets/manifest.json +44 -0
  551. package/packages/extensions/ocr/assets/tesseract-core-lstm.wasm.js +191 -0
  552. package/packages/extensions/ocr/assets/tesseract-core-simd-lstm.wasm.js +191 -0
  553. package/packages/extensions/ocr/assets/worker.min.js +3 -0
  554. package/packages/extensions/ocr/waterplane-plugin.json +11 -0
  555. package/packages/extensions/requirements/waterplane-plugin.json +9 -0
  556. package/packages/extensions/token-stats/waterplane-plugin.json +8 -0
  557. package/packages/host/dist/acks.d.ts +119 -0
  558. package/packages/host/dist/acks.js +268 -0
  559. package/packages/host/dist/acks.js.map +1 -0
  560. package/packages/host/dist/agentfollowup.d.ts +45 -0
  561. package/packages/host/dist/agentfollowup.js +77 -0
  562. package/packages/host/dist/agentfollowup.js.map +1 -0
  563. package/packages/host/dist/agentintents.d.ts +278 -0
  564. package/packages/host/dist/agentintents.js +509 -0
  565. package/packages/host/dist/agentintents.js.map +1 -0
  566. package/packages/host/dist/agents.d.ts +112 -0
  567. package/packages/host/dist/agents.js +517 -0
  568. package/packages/host/dist/agents.js.map +1 -0
  569. package/packages/host/dist/agentwatch.d.ts +42 -0
  570. package/packages/host/dist/agentwatch.js +35 -0
  571. package/packages/host/dist/agentwatch.js.map +1 -0
  572. package/packages/host/dist/androidenv.d.ts +80 -0
  573. package/packages/host/dist/androidenv.js +344 -0
  574. package/packages/host/dist/androidenv.js.map +1 -0
  575. package/packages/host/dist/answergate.d.ts +191 -0
  576. package/packages/host/dist/answergate.js +321 -0
  577. package/packages/host/dist/answergate.js.map +1 -0
  578. package/packages/host/dist/api.d.ts +19 -0
  579. package/packages/host/dist/api.js +62 -0
  580. package/packages/host/dist/api.js.map +1 -0
  581. package/packages/host/dist/apkcheck.d.ts +36 -0
  582. package/packages/host/dist/apkcheck.js +290 -0
  583. package/packages/host/dist/apkcheck.js.map +1 -0
  584. package/packages/host/dist/appready.d.ts +8 -0
  585. package/packages/host/dist/appready.js +16 -0
  586. package/packages/host/dist/appready.js.map +1 -0
  587. package/packages/host/dist/archive.d.ts +95 -0
  588. package/packages/host/dist/archive.js +318 -0
  589. package/packages/host/dist/archive.js.map +1 -0
  590. package/packages/host/dist/artifacts.d.ts +38 -0
  591. package/packages/host/dist/artifacts.js +315 -0
  592. package/packages/host/dist/artifacts.js.map +1 -0
  593. package/packages/host/dist/askbox.d.ts +116 -0
  594. package/packages/host/dist/askbox.js +341 -0
  595. package/packages/host/dist/askbox.js.map +1 -0
  596. package/packages/host/dist/askrules.d.ts +38 -0
  597. package/packages/host/dist/askrules.js +139 -0
  598. package/packages/host/dist/askrules.js.map +1 -0
  599. package/packages/host/dist/assess/hassapply.d.ts +127 -0
  600. package/packages/host/dist/assess/hassapply.js +482 -0
  601. package/packages/host/dist/assess/hassapply.js.map +1 -0
  602. package/packages/host/dist/assess/hassexec.d.ts +160 -0
  603. package/packages/host/dist/assess/hassexec.js +178 -0
  604. package/packages/host/dist/assess/hassexec.js.map +1 -0
  605. package/packages/host/dist/assess/hassinput.d.ts +80 -0
  606. package/packages/host/dist/assess/hassinput.js +264 -0
  607. package/packages/host/dist/assess/hassinput.js.map +1 -0
  608. package/packages/host/dist/assess/hassknobs.d.ts +66 -0
  609. package/packages/host/dist/assess/hassknobs.js +69 -0
  610. package/packages/host/dist/assess/hassknobs.js.map +1 -0
  611. package/packages/host/dist/assess/hassprogress.d.ts +30 -0
  612. package/packages/host/dist/assess/hassprogress.js +165 -0
  613. package/packages/host/dist/assess/hassprogress.js.map +1 -0
  614. package/packages/host/dist/assess/hassrun.d.ts +39 -0
  615. package/packages/host/dist/assess/hassrun.js +269 -0
  616. package/packages/host/dist/assess/hassrun.js.map +1 -0
  617. package/packages/host/dist/assess/hassstore.d.ts +77 -0
  618. package/packages/host/dist/assess/hassstore.js +187 -0
  619. package/packages/host/dist/assess/hassstore.js.map +1 -0
  620. package/packages/host/dist/assess/hassutil.d.ts +28 -0
  621. package/packages/host/dist/assess/hassutil.js +53 -0
  622. package/packages/host/dist/assess/hassutil.js.map +1 -0
  623. package/packages/host/dist/assess.d.ts +60 -0
  624. package/packages/host/dist/assess.js +58 -0
  625. package/packages/host/dist/assess.js.map +1 -0
  626. package/packages/host/dist/auth.d.ts +93 -0
  627. package/packages/host/dist/auth.js +276 -0
  628. package/packages/host/dist/auth.js.map +1 -0
  629. package/packages/host/dist/authroutes.d.ts +36 -0
  630. package/packages/host/dist/authroutes.js +108 -0
  631. package/packages/host/dist/authroutes.js.map +1 -0
  632. package/packages/host/dist/autopull.d.ts +107 -0
  633. package/packages/host/dist/autopull.js +248 -0
  634. package/packages/host/dist/autopull.js.map +1 -0
  635. package/packages/host/dist/backends/claude-endpoint.d.ts +98 -0
  636. package/packages/host/dist/backends/claude-endpoint.js +347 -0
  637. package/packages/host/dist/backends/claude-endpoint.js.map +1 -0
  638. package/packages/host/dist/backends/claude-local.d.ts +51 -0
  639. package/packages/host/dist/backends/claude-local.js +221 -0
  640. package/packages/host/dist/backends/claude-local.js.map +1 -0
  641. package/packages/host/dist/backends/claude-sources.d.ts +53 -0
  642. package/packages/host/dist/backends/claude-sources.js +68 -0
  643. package/packages/host/dist/backends/claude-sources.js.map +1 -0
  644. package/packages/host/dist/backends/claude.d.ts +45 -0
  645. package/packages/host/dist/backends/claude.js +248 -0
  646. package/packages/host/dist/backends/claude.js.map +1 -0
  647. package/packages/host/dist/backends/claudemodels.d.ts +19 -0
  648. package/packages/host/dist/backends/claudemodels.js +122 -0
  649. package/packages/host/dist/backends/claudemodels.js.map +1 -0
  650. package/packages/host/dist/backends/derive.d.ts +81 -0
  651. package/packages/host/dist/backends/derive.js +198 -0
  652. package/packages/host/dist/backends/derive.js.map +1 -0
  653. package/packages/host/dist/backends/index.d.ts +138 -0
  654. package/packages/host/dist/backends/index.js +328 -0
  655. package/packages/host/dist/backends/index.js.map +1 -0
  656. package/packages/host/dist/backends/overhead.d.ts +16 -0
  657. package/packages/host/dist/backends/overhead.js +124 -0
  658. package/packages/host/dist/backends/overhead.js.map +1 -0
  659. package/packages/host/dist/backends/readers.d.ts +57 -0
  660. package/packages/host/dist/backends/readers.js +74 -0
  661. package/packages/host/dist/backends/readers.js.map +1 -0
  662. package/packages/host/dist/backends/registry.d.ts +37 -0
  663. package/packages/host/dist/backends/registry.js +73 -0
  664. package/packages/host/dist/backends/registry.js.map +1 -0
  665. package/packages/host/dist/backends/shell.d.ts +31 -0
  666. package/packages/host/dist/backends/shell.js +127 -0
  667. package/packages/host/dist/backends/shell.js.map +1 -0
  668. package/packages/host/dist/backends/types.d.ts +457 -0
  669. package/packages/host/dist/backends/types.js +2 -0
  670. package/packages/host/dist/backends/types.js.map +1 -0
  671. package/packages/host/dist/backlog/backlogcore.d.ts +36 -0
  672. package/packages/host/dist/backlog/backlogcore.js +2 -0
  673. package/packages/host/dist/backlog/backlogcore.js.map +1 -0
  674. package/packages/host/dist/backlog/backlogedits.d.ts +96 -0
  675. package/packages/host/dist/backlog/backlogedits.js +229 -0
  676. package/packages/host/dist/backlog/backlogedits.js.map +1 -0
  677. package/packages/host/dist/backlog/backlogfollowup.d.ts +7 -0
  678. package/packages/host/dist/backlog/backlogfollowup.js +71 -0
  679. package/packages/host/dist/backlog/backlogfollowup.js.map +1 -0
  680. package/packages/host/dist/backlog/backlogknobs.d.ts +56 -0
  681. package/packages/host/dist/backlog/backlogknobs.js +62 -0
  682. package/packages/host/dist/backlog/backlogknobs.js.map +1 -0
  683. package/packages/host/dist/backlog/backlogsessions.d.ts +217 -0
  684. package/packages/host/dist/backlog/backlogsessions.js +421 -0
  685. package/packages/host/dist/backlog/backlogsessions.js.map +1 -0
  686. package/packages/host/dist/backlog/backlogstore.d.ts +31 -0
  687. package/packages/host/dist/backlog/backlogstore.js +101 -0
  688. package/packages/host/dist/backlog/backlogstore.js.map +1 -0
  689. package/packages/host/dist/backlog/backlogtitles.d.ts +40 -0
  690. package/packages/host/dist/backlog/backlogtitles.js +50 -0
  691. package/packages/host/dist/backlog/backlogtitles.js.map +1 -0
  692. package/packages/host/dist/backlog/backlogwording.d.ts +31 -0
  693. package/packages/host/dist/backlog/backlogwording.js +42 -0
  694. package/packages/host/dist/backlog/backlogwording.js.map +1 -0
  695. package/packages/host/dist/backlog.d.ts +142 -0
  696. package/packages/host/dist/backlog.js +96 -0
  697. package/packages/host/dist/backlog.js.map +1 -0
  698. package/packages/host/dist/billing.d.ts +53 -0
  699. package/packages/host/dist/billing.js +140 -0
  700. package/packages/host/dist/billing.js.map +1 -0
  701. package/packages/host/dist/binguard.d.ts +28 -0
  702. package/packages/host/dist/binguard.js +88 -0
  703. package/packages/host/dist/binguard.js.map +1 -0
  704. package/packages/host/dist/bookmarks.d.ts +24 -0
  705. package/packages/host/dist/bookmarks.js +118 -0
  706. package/packages/host/dist/bookmarks.js.map +1 -0
  707. package/packages/host/dist/branddirs.d.ts +223 -0
  708. package/packages/host/dist/branddirs.js +828 -0
  709. package/packages/host/dist/branddirs.js.map +1 -0
  710. package/packages/host/dist/budget.d.ts +57 -0
  711. package/packages/host/dist/budget.js +153 -0
  712. package/packages/host/dist/budget.js.map +1 -0
  713. package/packages/host/dist/builds.d.ts +178 -0
  714. package/packages/host/dist/builds.js +645 -0
  715. package/packages/host/dist/builds.js.map +1 -0
  716. package/packages/host/dist/buildscan.d.ts +16 -0
  717. package/packages/host/dist/buildscan.js +177 -0
  718. package/packages/host/dist/buildscan.js.map +1 -0
  719. package/packages/host/dist/burnwatch.d.ts +53 -0
  720. package/packages/host/dist/burnwatch.js +141 -0
  721. package/packages/host/dist/burnwatch.js.map +1 -0
  722. package/packages/host/dist/capture/android.d.ts +2 -0
  723. package/packages/host/dist/capture/android.js +144 -0
  724. package/packages/host/dist/capture/android.js.map +1 -0
  725. package/packages/host/dist/capture/captureconfig.d.ts +44 -0
  726. package/packages/host/dist/capture/captureconfig.js +169 -0
  727. package/packages/host/dist/capture/captureconfig.js.map +1 -0
  728. package/packages/host/dist/capture/capturehelpers.d.ts +34 -0
  729. package/packages/host/dist/capture/capturehelpers.js +156 -0
  730. package/packages/host/dist/capture/capturehelpers.js.map +1 -0
  731. package/packages/host/dist/capture/capturekit.d.ts +32 -0
  732. package/packages/host/dist/capture/capturekit.js +47 -0
  733. package/packages/host/dist/capture/capturekit.js.map +1 -0
  734. package/packages/host/dist/capture/capturepass.d.ts +17 -0
  735. package/packages/host/dist/capture/capturepass.js +262 -0
  736. package/packages/host/dist/capture/capturepass.js.map +1 -0
  737. package/packages/host/dist/capture/capturesettle.d.ts +35 -0
  738. package/packages/host/dist/capture/capturesettle.js +77 -0
  739. package/packages/host/dist/capture/capturesettle.js.map +1 -0
  740. package/packages/host/dist/capture/captureverdict.d.ts +132 -0
  741. package/packages/host/dist/capture/captureverdict.js +107 -0
  742. package/packages/host/dist/capture/captureverdict.js.map +1 -0
  743. package/packages/host/dist/capture/garmin.d.ts +2 -0
  744. package/packages/host/dist/capture/garmin.js +294 -0
  745. package/packages/host/dist/capture/garmin.js.map +1 -0
  746. package/packages/host/dist/capture/pixels.d.ts +60 -0
  747. package/packages/host/dist/capture/pixels.js +199 -0
  748. package/packages/host/dist/capture/pixels.js.map +1 -0
  749. package/packages/host/dist/capture/types.d.ts +195 -0
  750. package/packages/host/dist/capture/types.js +2 -0
  751. package/packages/host/dist/capture/types.js.map +1 -0
  752. package/packages/host/dist/capture/web.d.ts +2 -0
  753. package/packages/host/dist/capture/web.js +290 -0
  754. package/packages/host/dist/capture/web.js.map +1 -0
  755. package/packages/host/dist/capture/window.d.ts +2 -0
  756. package/packages/host/dist/capture/window.js +88 -0
  757. package/packages/host/dist/capture/window.js.map +1 -0
  758. package/packages/host/dist/capture.d.ts +116 -0
  759. package/packages/host/dist/capture.js +295 -0
  760. package/packages/host/dist/capture.js.map +1 -0
  761. package/packages/host/dist/claudebin.d.ts +32 -0
  762. package/packages/host/dist/claudebin.js +113 -0
  763. package/packages/host/dist/claudebin.js.map +1 -0
  764. package/packages/host/dist/claudeconfig.d.ts +23 -0
  765. package/packages/host/dist/claudeconfig.js +118 -0
  766. package/packages/host/dist/claudeconfig.js.map +1 -0
  767. package/packages/host/dist/cli/entry.d.ts +1 -0
  768. package/packages/host/dist/cli/entry.js +11 -0
  769. package/packages/host/dist/cli/entry.js.map +1 -0
  770. package/packages/host/dist/cli/index.d.ts +12 -0
  771. package/packages/host/dist/cli/index.js +122 -0
  772. package/packages/host/dist/cli/index.js.map +1 -0
  773. package/packages/host/dist/cli/pair.d.ts +28 -0
  774. package/packages/host/dist/cli/pair.js +94 -0
  775. package/packages/host/dist/cli/pair.js.map +1 -0
  776. package/packages/host/dist/cli/releasesig.d.ts +42 -0
  777. package/packages/host/dist/cli/releasesig.js +60 -0
  778. package/packages/host/dist/cli/releasesig.js.map +1 -0
  779. package/packages/host/dist/cli/selfupdate.d.ts +96 -0
  780. package/packages/host/dist/cli/selfupdate.js +842 -0
  781. package/packages/host/dist/cli/selfupdate.js.map +1 -0
  782. package/packages/host/dist/cli/service.d.ts +100 -0
  783. package/packages/host/dist/cli/service.js +645 -0
  784. package/packages/host/dist/cli/service.js.map +1 -0
  785. package/packages/host/dist/cli/statesnap.d.ts +34 -0
  786. package/packages/host/dist/cli/statesnap.js +135 -0
  787. package/packages/host/dist/cli/statesnap.js.map +1 -0
  788. package/packages/host/dist/cli/windows.d.ts +191 -0
  789. package/packages/host/dist/cli/windows.js +658 -0
  790. package/packages/host/dist/cli/windows.js.map +1 -0
  791. package/packages/host/dist/clifixtures.d.ts +28 -0
  792. package/packages/host/dist/clifixtures.js +193 -0
  793. package/packages/host/dist/clifixtures.js.map +1 -0
  794. package/packages/host/dist/clihealth.d.ts +121 -0
  795. package/packages/host/dist/clihealth.js +301 -0
  796. package/packages/host/dist/clihealth.js.map +1 -0
  797. package/packages/host/dist/clisuggest.d.ts +13 -0
  798. package/packages/host/dist/clisuggest.js +54 -0
  799. package/packages/host/dist/clisuggest.js.map +1 -0
  800. package/packages/host/dist/commitmsg.d.ts +17 -0
  801. package/packages/host/dist/commitmsg.js +98 -0
  802. package/packages/host/dist/commitmsg.js.map +1 -0
  803. package/packages/host/dist/compliance.d.ts +121 -0
  804. package/packages/host/dist/compliance.js +827 -0
  805. package/packages/host/dist/compliance.js.map +1 -0
  806. package/packages/host/dist/composer.d.ts +225 -0
  807. package/packages/host/dist/composer.js +453 -0
  808. package/packages/host/dist/composer.js.map +1 -0
  809. package/packages/host/dist/confirmgate.d.ts +34 -0
  810. package/packages/host/dist/confirmgate.js +114 -0
  811. package/packages/host/dist/confirmgate.js.map +1 -0
  812. package/packages/host/dist/context.d.ts +22 -0
  813. package/packages/host/dist/context.js +92 -0
  814. package/packages/host/dist/context.js.map +1 -0
  815. package/packages/host/dist/contextlimits.d.ts +31 -0
  816. package/packages/host/dist/contextlimits.js +128 -0
  817. package/packages/host/dist/contextlimits.js.map +1 -0
  818. package/packages/host/dist/convfork.d.ts +67 -0
  819. package/packages/host/dist/convfork.js +372 -0
  820. package/packages/host/dist/convfork.js.map +1 -0
  821. package/packages/host/dist/convlog.d.ts +40 -0
  822. package/packages/host/dist/convlog.js +52 -0
  823. package/packages/host/dist/convlog.js.map +1 -0
  824. package/packages/host/dist/costwindow.d.ts +77 -0
  825. package/packages/host/dist/costwindow.js +333 -0
  826. package/packages/host/dist/costwindow.js.map +1 -0
  827. package/packages/host/dist/ctxlog/ctxagents.d.ts +179 -0
  828. package/packages/host/dist/ctxlog/ctxagents.js +419 -0
  829. package/packages/host/dist/ctxlog/ctxagents.js.map +1 -0
  830. package/packages/host/dist/ctxlog/ctxcursor.d.ts +299 -0
  831. package/packages/host/dist/ctxlog/ctxcursor.js +163 -0
  832. package/packages/host/dist/ctxlog/ctxcursor.js.map +1 -0
  833. package/packages/host/dist/ctxlog/ctxproject.d.ts +49 -0
  834. package/packages/host/dist/ctxlog/ctxproject.js +198 -0
  835. package/packages/host/dist/ctxlog/ctxproject.js.map +1 -0
  836. package/packages/host/dist/ctxlog/ctxupdate.d.ts +11 -0
  837. package/packages/host/dist/ctxlog/ctxupdate.js +338 -0
  838. package/packages/host/dist/ctxlog/ctxupdate.js.map +1 -0
  839. package/packages/host/dist/ctxlog.d.ts +56 -0
  840. package/packages/host/dist/ctxlog.js +57 -0
  841. package/packages/host/dist/ctxlog.js.map +1 -0
  842. package/packages/host/dist/ctxwindow.d.ts +17 -0
  843. package/packages/host/dist/ctxwindow.js +106 -0
  844. package/packages/host/dist/ctxwindow.js.map +1 -0
  845. package/packages/host/dist/decisionlog.d.ts +29 -0
  846. package/packages/host/dist/decisionlog.js +167 -0
  847. package/packages/host/dist/decisionlog.js.map +1 -0
  848. package/packages/host/dist/deliver/deliverknobs.d.ts +84 -0
  849. package/packages/host/dist/deliver/deliverknobs.js +85 -0
  850. package/packages/host/dist/deliver/deliverknobs.js.map +1 -0
  851. package/packages/host/dist/deliver/deliverproof.d.ts +25 -0
  852. package/packages/host/dist/deliver/deliverproof.js +123 -0
  853. package/packages/host/dist/deliver/deliverproof.js.map +1 -0
  854. package/packages/host/dist/deliver/deliverreturn.d.ts +12 -0
  855. package/packages/host/dist/deliver/deliverreturn.js +365 -0
  856. package/packages/host/dist/deliver/deliverreturn.js.map +1 -0
  857. package/packages/host/dist/deliver/deliverrun.d.ts +20 -0
  858. package/packages/host/dist/deliver/deliverrun.js +495 -0
  859. package/packages/host/dist/deliver/deliverrun.js.map +1 -0
  860. package/packages/host/dist/deliver/deliverscreen.d.ts +67 -0
  861. package/packages/host/dist/deliver/deliverscreen.js +428 -0
  862. package/packages/host/dist/deliver/deliverscreen.js.map +1 -0
  863. package/packages/host/dist/deliver/delivertypes.d.ts +119 -0
  864. package/packages/host/dist/deliver/delivertypes.js +2 -0
  865. package/packages/host/dist/deliver/delivertypes.js.map +1 -0
  866. package/packages/host/dist/deliver.d.ts +50 -0
  867. package/packages/host/dist/deliver.js +142 -0
  868. package/packages/host/dist/deliver.js.map +1 -0
  869. package/packages/host/dist/deviceledger.d.ts +33 -0
  870. package/packages/host/dist/deviceledger.js +143 -0
  871. package/packages/host/dist/deviceledger.js.map +1 -0
  872. package/packages/host/dist/dictate.d.ts +142 -0
  873. package/packages/host/dist/dictate.js +419 -0
  874. package/packages/host/dist/dictate.js.map +1 -0
  875. package/packages/host/dist/discover.d.ts +20 -0
  876. package/packages/host/dist/discover.js +162 -0
  877. package/packages/host/dist/discover.js.map +1 -0
  878. package/packages/host/dist/diskwatch.d.ts +39 -0
  879. package/packages/host/dist/diskwatch.js +111 -0
  880. package/packages/host/dist/diskwatch.js.map +1 -0
  881. package/packages/host/dist/doctor.d.ts +153 -0
  882. package/packages/host/dist/doctor.js +748 -0
  883. package/packages/host/dist/doctor.js.map +1 -0
  884. package/packages/host/dist/doctorclaude.d.ts +33 -0
  885. package/packages/host/dist/doctorclaude.js +128 -0
  886. package/packages/host/dist/doctorclaude.js.map +1 -0
  887. package/packages/host/dist/doctormac.d.ts +47 -0
  888. package/packages/host/dist/doctormac.js +81 -0
  889. package/packages/host/dist/doctormac.js.map +1 -0
  890. package/packages/host/dist/doctorproc.d.ts +11 -0
  891. package/packages/host/dist/doctorproc.js +36 -0
  892. package/packages/host/dist/doctorproc.js.map +1 -0
  893. package/packages/host/dist/doctorwsl.d.ts +90 -0
  894. package/packages/host/dist/doctorwsl.js +205 -0
  895. package/packages/host/dist/doctorwsl.js.map +1 -0
  896. package/packages/host/dist/echo.d.ts +331 -0
  897. package/packages/host/dist/echo.js +439 -0
  898. package/packages/host/dist/echo.js.map +1 -0
  899. package/packages/host/dist/env.d.ts +16 -0
  900. package/packages/host/dist/env.js +190 -0
  901. package/packages/host/dist/env.js.map +1 -0
  902. package/packages/host/dist/envfiles.d.ts +5 -0
  903. package/packages/host/dist/envfiles.js +43 -0
  904. package/packages/host/dist/envfiles.js.map +1 -0
  905. package/packages/host/dist/extensions/copilot-usage/host/ghquota.d.mts +17 -0
  906. package/packages/host/dist/extensions/copilot-usage/host/ghquota.mjs +96 -0
  907. package/packages/host/dist/extensions/copilot-usage/host/ghquota.mjs.map +1 -0
  908. package/packages/host/dist/extensions/copilot-usage/host/index.d.mts +17 -0
  909. package/packages/host/dist/extensions/copilot-usage/host/index.mjs +102 -0
  910. package/packages/host/dist/extensions/copilot-usage/host/index.mjs.map +1 -0
  911. package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.d.mts +90 -0
  912. package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.mjs +365 -0
  913. package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.mjs.map +1 -0
  914. package/packages/host/dist/extensions/ocr/host/index.d.mts +10 -0
  915. package/packages/host/dist/extensions/ocr/host/index.mjs +4 -0
  916. package/packages/host/dist/extensions/ocr/host/index.mjs.map +1 -0
  917. package/packages/host/dist/extensions/requirements/host/index.d.mts +2 -0
  918. package/packages/host/dist/extensions/requirements/host/index.mjs +63 -0
  919. package/packages/host/dist/extensions/requirements/host/index.mjs.map +1 -0
  920. package/packages/host/dist/extensions/requirements/host/list.d.mts +17 -0
  921. package/packages/host/dist/extensions/requirements/host/list.mjs +125 -0
  922. package/packages/host/dist/extensions/requirements/host/list.mjs.map +1 -0
  923. package/packages/host/dist/extensions/requirements/host/requirements.d.mts +31 -0
  924. package/packages/host/dist/extensions/requirements/host/requirements.mjs +318 -0
  925. package/packages/host/dist/extensions/requirements/host/requirements.mjs.map +1 -0
  926. package/packages/host/dist/extensions/requirements/shared/methods.d.mts +88 -0
  927. package/packages/host/dist/extensions/requirements/shared/methods.mjs +36 -0
  928. package/packages/host/dist/extensions/requirements/shared/methods.mjs.map +1 -0
  929. package/packages/host/dist/fanout.d.ts +89 -0
  930. package/packages/host/dist/fanout.js +273 -0
  931. package/packages/host/dist/fanout.js.map +1 -0
  932. package/packages/host/dist/files.d.ts +211 -0
  933. package/packages/host/dist/files.js +760 -0
  934. package/packages/host/dist/files.js.map +1 -0
  935. package/packages/host/dist/git.d.ts +261 -0
  936. package/packages/host/dist/git.js +787 -0
  937. package/packages/host/dist/git.js.map +1 -0
  938. package/packages/host/dist/gitlog.d.ts +14 -0
  939. package/packages/host/dist/gitlog.js +93 -0
  940. package/packages/host/dist/gitlog.js.map +1 -0
  941. package/packages/host/dist/halt.d.ts +35 -0
  942. package/packages/host/dist/halt.js +160 -0
  943. package/packages/host/dist/halt.js.map +1 -0
  944. package/packages/host/dist/healthwatch.d.ts +90 -0
  945. package/packages/host/dist/healthwatch.js +334 -0
  946. package/packages/host/dist/healthwatch.js.map +1 -0
  947. package/packages/host/dist/host.d.ts +51 -0
  948. package/packages/host/dist/host.js +153 -0
  949. package/packages/host/dist/host.js.map +1 -0
  950. package/packages/host/dist/hoststore.d.ts +24 -0
  951. package/packages/host/dist/hoststore.js +350 -0
  952. package/packages/host/dist/hoststore.js.map +1 -0
  953. package/packages/host/dist/httpio.d.ts +64 -0
  954. package/packages/host/dist/httpio.js +199 -0
  955. package/packages/host/dist/httpio.js.map +1 -0
  956. package/packages/host/dist/installlog.d.ts +25 -0
  957. package/packages/host/dist/installlog.js +137 -0
  958. package/packages/host/dist/installlog.js.map +1 -0
  959. package/packages/host/dist/intents/adapters.d.ts +285 -0
  960. package/packages/host/dist/intents/adapters.js +690 -0
  961. package/packages/host/dist/intents/adapters.js.map +1 -0
  962. package/packages/host/dist/intents/clock.d.ts +105 -0
  963. package/packages/host/dist/intents/clock.js +190 -0
  964. package/packages/host/dist/intents/clock.js.map +1 -0
  965. package/packages/host/dist/intents/contract.d.ts +488 -0
  966. package/packages/host/dist/intents/contract.js +155 -0
  967. package/packages/host/dist/intents/contract.js.map +1 -0
  968. package/packages/host/dist/intents/disk.d.ts +198 -0
  969. package/packages/host/dist/intents/disk.js +588 -0
  970. package/packages/host/dist/intents/disk.js.map +1 -0
  971. package/packages/host/dist/intents/fire.d.ts +112 -0
  972. package/packages/host/dist/intents/fire.js +545 -0
  973. package/packages/host/dist/intents/fire.js.map +1 -0
  974. package/packages/host/dist/intents/ladder.d.ts +7 -0
  975. package/packages/host/dist/intents/ladder.js +408 -0
  976. package/packages/host/dist/intents/ladder.js.map +1 -0
  977. package/packages/host/dist/intents/manager.d.ts +239 -0
  978. package/packages/host/dist/intents/manager.js +292 -0
  979. package/packages/host/dist/intents/manager.js.map +1 -0
  980. package/packages/host/dist/intents/requeue.d.ts +207 -0
  981. package/packages/host/dist/intents/requeue.js +521 -0
  982. package/packages/host/dist/intents/requeue.js.map +1 -0
  983. package/packages/host/dist/intents/watch.d.ts +92 -0
  984. package/packages/host/dist/intents/watch.js +464 -0
  985. package/packages/host/dist/intents/watch.js.map +1 -0
  986. package/packages/host/dist/intents/write.d.ts +238 -0
  987. package/packages/host/dist/intents/write.js +651 -0
  988. package/packages/host/dist/intents/write.js.map +1 -0
  989. package/packages/host/dist/jsonstore.d.ts +50 -0
  990. package/packages/host/dist/jsonstore.js +158 -0
  991. package/packages/host/dist/jsonstore.js.map +1 -0
  992. package/packages/host/dist/keyhints.d.ts +45 -0
  993. package/packages/host/dist/keyhints.js +117 -0
  994. package/packages/host/dist/keyhints.js.map +1 -0
  995. package/packages/host/dist/lanid.d.ts +21 -0
  996. package/packages/host/dist/lanid.js +78 -0
  997. package/packages/host/dist/lanid.js.map +1 -0
  998. package/packages/host/dist/launchfiles.d.ts +64 -0
  999. package/packages/host/dist/launchfiles.js +212 -0
  1000. package/packages/host/dist/launchfiles.js.map +1 -0
  1001. package/packages/host/dist/limit.d.ts +82 -0
  1002. package/packages/host/dist/limit.js +251 -0
  1003. package/packages/host/dist/limit.js.map +1 -0
  1004. package/packages/host/dist/limitlog.d.ts +51 -0
  1005. package/packages/host/dist/limitlog.js +154 -0
  1006. package/packages/host/dist/limitlog.js.map +1 -0
  1007. package/packages/host/dist/limitretry.d.ts +135 -0
  1008. package/packages/host/dist/limitretry.js +115 -0
  1009. package/packages/host/dist/limitretry.js.map +1 -0
  1010. package/packages/host/dist/livesources.d.ts +38 -0
  1011. package/packages/host/dist/livesources.js +26 -0
  1012. package/packages/host/dist/livesources.js.map +1 -0
  1013. package/packages/host/dist/localledger.d.ts +69 -0
  1014. package/packages/host/dist/localledger.js +214 -0
  1015. package/packages/host/dist/localledger.js.map +1 -0
  1016. package/packages/host/dist/localrt.d.ts +164 -0
  1017. package/packages/host/dist/localrt.js +414 -0
  1018. package/packages/host/dist/localrt.js.map +1 -0
  1019. package/packages/host/dist/localslot.d.ts +152 -0
  1020. package/packages/host/dist/localslot.js +269 -0
  1021. package/packages/host/dist/localslot.js.map +1 -0
  1022. package/packages/host/dist/localusage.d.ts +153 -0
  1023. package/packages/host/dist/localusage.js +710 -0
  1024. package/packages/host/dist/localusage.js.map +1 -0
  1025. package/packages/host/dist/login.d.ts +34 -0
  1026. package/packages/host/dist/login.js +126 -0
  1027. package/packages/host/dist/login.js.map +1 -0
  1028. package/packages/host/dist/main.d.ts +1 -0
  1029. package/packages/host/dist/main.js +694 -0
  1030. package/packages/host/dist/main.js.map +1 -0
  1031. package/packages/host/dist/meter.d.ts +23 -0
  1032. package/packages/host/dist/meter.js +121 -0
  1033. package/packages/host/dist/meter.js.map +1 -0
  1034. package/packages/host/dist/naming.d.ts +257 -0
  1035. package/packages/host/dist/naming.js +387 -0
  1036. package/packages/host/dist/naming.js.map +1 -0
  1037. package/packages/host/dist/net.d.ts +78 -0
  1038. package/packages/host/dist/net.js +267 -0
  1039. package/packages/host/dist/net.js.map +1 -0
  1040. package/packages/host/dist/netstats.d.ts +99 -0
  1041. package/packages/host/dist/netstats.js +223 -0
  1042. package/packages/host/dist/netstats.js.map +1 -0
  1043. package/packages/host/dist/notifyprefs.d.ts +12 -0
  1044. package/packages/host/dist/notifyprefs.js +60 -0
  1045. package/packages/host/dist/notifyprefs.js.map +1 -0
  1046. package/packages/host/dist/ocrlocal.d.ts +46 -0
  1047. package/packages/host/dist/ocrlocal.js +297 -0
  1048. package/packages/host/dist/ocrlocal.js.map +1 -0
  1049. package/packages/host/dist/onboard.d.ts +182 -0
  1050. package/packages/host/dist/onboard.js +590 -0
  1051. package/packages/host/dist/onboard.js.map +1 -0
  1052. package/packages/host/dist/onboardroutes.d.ts +31 -0
  1053. package/packages/host/dist/onboardroutes.js +78 -0
  1054. package/packages/host/dist/onboardroutes.js.map +1 -0
  1055. package/packages/host/dist/opendeliveries.d.ts +175 -0
  1056. package/packages/host/dist/opendeliveries.js +538 -0
  1057. package/packages/host/dist/opendeliveries.js.map +1 -0
  1058. package/packages/host/dist/optins.d.ts +14 -0
  1059. package/packages/host/dist/optins.js +252 -0
  1060. package/packages/host/dist/optins.js.map +1 -0
  1061. package/packages/host/dist/origin.d.ts +86 -0
  1062. package/packages/host/dist/origin.js +301 -0
  1063. package/packages/host/dist/origin.js.map +1 -0
  1064. package/packages/host/dist/pair.d.ts +149 -0
  1065. package/packages/host/dist/pair.js +505 -0
  1066. package/packages/host/dist/pair.js.map +1 -0
  1067. package/packages/host/dist/passive.d.ts +58 -0
  1068. package/packages/host/dist/passive.js +187 -0
  1069. package/packages/host/dist/passive.js.map +1 -0
  1070. package/packages/host/dist/paths.d.ts +67 -0
  1071. package/packages/host/dist/paths.js +135 -0
  1072. package/packages/host/dist/paths.js.map +1 -0
  1073. package/packages/host/dist/pathx.d.ts +6 -0
  1074. package/packages/host/dist/pathx.js +35 -0
  1075. package/packages/host/dist/pathx.js.map +1 -0
  1076. package/packages/host/dist/peers/agentpeer.d.ts +58 -0
  1077. package/packages/host/dist/peers/agentpeer.js +249 -0
  1078. package/packages/host/dist/peers/agentpeer.js.map +1 -0
  1079. package/packages/host/dist/peers/client.d.ts +60 -0
  1080. package/packages/host/dist/peers/client.js +96 -0
  1081. package/packages/host/dist/peers/client.js.map +1 -0
  1082. package/packages/host/dist/peers/jobs.d.ts +140 -0
  1083. package/packages/host/dist/peers/jobs.js +424 -0
  1084. package/packages/host/dist/peers/jobs.js.map +1 -0
  1085. package/packages/host/dist/peers/routes.d.ts +50 -0
  1086. package/packages/host/dist/peers/routes.js +191 -0
  1087. package/packages/host/dist/peers/routes.js.map +1 -0
  1088. package/packages/host/dist/peers/serve.d.ts +61 -0
  1089. package/packages/host/dist/peers/serve.js +532 -0
  1090. package/packages/host/dist/peers/serve.js.map +1 -0
  1091. package/packages/host/dist/peers/store.d.ts +64 -0
  1092. package/packages/host/dist/peers/store.js +128 -0
  1093. package/packages/host/dist/peers/store.js.map +1 -0
  1094. package/packages/host/dist/periodspend.d.ts +61 -0
  1095. package/packages/host/dist/periodspend.js +109 -0
  1096. package/packages/host/dist/periodspend.js.map +1 -0
  1097. package/packages/host/dist/permmode.d.ts +90 -0
  1098. package/packages/host/dist/permmode.js +157 -0
  1099. package/packages/host/dist/permmode.js.map +1 -0
  1100. package/packages/host/dist/planbox.d.ts +23 -0
  1101. package/packages/host/dist/planbox.js +123 -0
  1102. package/packages/host/dist/planbox.js.map +1 -0
  1103. package/packages/host/dist/plugins/builtin.d.ts +39 -0
  1104. package/packages/host/dist/plugins/builtin.js +200 -0
  1105. package/packages/host/dist/plugins/builtin.js.map +1 -0
  1106. package/packages/host/dist/plugins/pluginapi.d.ts +34 -0
  1107. package/packages/host/dist/plugins/pluginapi.js +649 -0
  1108. package/packages/host/dist/plugins/pluginapi.js.map +1 -0
  1109. package/packages/host/dist/plugins/pluginassets.d.ts +16 -0
  1110. package/packages/host/dist/plugins/pluginassets.js +44 -0
  1111. package/packages/host/dist/plugins/pluginassets.js.map +1 -0
  1112. package/packages/host/dist/plugins/pluginfiles.d.ts +30 -0
  1113. package/packages/host/dist/plugins/pluginfiles.js +130 -0
  1114. package/packages/host/dist/plugins/pluginfiles.js.map +1 -0
  1115. package/packages/host/dist/plugins/pluginloader.d.ts +59 -0
  1116. package/packages/host/dist/plugins/pluginloader.js +206 -0
  1117. package/packages/host/dist/plugins/pluginloader.js.map +1 -0
  1118. package/packages/host/dist/plugins/pluginregistry.d.ts +249 -0
  1119. package/packages/host/dist/plugins/pluginregistry.js +799 -0
  1120. package/packages/host/dist/plugins/pluginregistry.js.map +1 -0
  1121. package/packages/host/dist/plugins/pluginroutes.d.ts +29 -0
  1122. package/packages/host/dist/plugins/pluginroutes.js +50 -0
  1123. package/packages/host/dist/plugins/pluginroutes.js.map +1 -0
  1124. package/packages/host/dist/plugins/pluginrpc.d.ts +19 -0
  1125. package/packages/host/dist/plugins/pluginrpc.js +28 -0
  1126. package/packages/host/dist/plugins/pluginrpc.js.map +1 -0
  1127. package/packages/host/dist/plugins/pluginstreams.d.ts +109 -0
  1128. package/packages/host/dist/plugins/pluginstreams.js +418 -0
  1129. package/packages/host/dist/plugins/pluginstreams.js.map +1 -0
  1130. package/packages/host/dist/plugins/plugintoolkit/screen.d.ts +9 -0
  1131. package/packages/host/dist/plugins/plugintoolkit/screen.js +21 -0
  1132. package/packages/host/dist/plugins/plugintoolkit/screen.js.map +1 -0
  1133. package/packages/host/dist/plugins/plugintoolkit/sessionfiles.d.ts +6 -0
  1134. package/packages/host/dist/plugins/plugintoolkit/sessionfiles.js +24 -0
  1135. package/packages/host/dist/plugins/plugintoolkit/sessionfiles.js.map +1 -0
  1136. package/packages/host/dist/plugins/plugintoolkit/tail.d.ts +10 -0
  1137. package/packages/host/dist/plugins/plugintoolkit/tail.js +110 -0
  1138. package/packages/host/dist/plugins/plugintoolkit/tail.js.map +1 -0
  1139. package/packages/host/dist/plugins/setupcontrib.d.ts +64 -0
  1140. package/packages/host/dist/plugins/setupcontrib.js +94 -0
  1141. package/packages/host/dist/plugins/setupcontrib.js.map +1 -0
  1142. package/packages/host/dist/proc.d.ts +13 -0
  1143. package/packages/host/dist/proc.js +27 -0
  1144. package/packages/host/dist/proc.js.map +1 -0
  1145. package/packages/host/dist/prompt.d.ts +113 -0
  1146. package/packages/host/dist/prompt.js +565 -0
  1147. package/packages/host/dist/prompt.js.map +1 -0
  1148. package/packages/host/dist/promptbase.d.ts +28 -0
  1149. package/packages/host/dist/promptbase.js +42 -0
  1150. package/packages/host/dist/promptbase.js.map +1 -0
  1151. package/packages/host/dist/promptmerge.d.ts +63 -0
  1152. package/packages/host/dist/promptmerge.js +221 -0
  1153. package/packages/host/dist/promptmerge.js.map +1 -0
  1154. package/packages/host/dist/promptnav.d.ts +29 -0
  1155. package/packages/host/dist/promptnav.js +97 -0
  1156. package/packages/host/dist/promptnav.js.map +1 -0
  1157. package/packages/host/dist/prompts.d.ts +4 -0
  1158. package/packages/host/dist/prompts.js +78 -0
  1159. package/packages/host/dist/prompts.js.map +1 -0
  1160. package/packages/host/dist/ptycap.d.ts +41 -0
  1161. package/packages/host/dist/ptycap.js +192 -0
  1162. package/packages/host/dist/ptycap.js.map +1 -0
  1163. package/packages/host/dist/ptyenv.d.ts +3 -0
  1164. package/packages/host/dist/ptyenv.js +63 -0
  1165. package/packages/host/dist/ptyenv.js.map +1 -0
  1166. package/packages/host/dist/push.d.ts +42 -0
  1167. package/packages/host/dist/push.js +107 -0
  1168. package/packages/host/dist/push.js.map +1 -0
  1169. package/packages/host/dist/pushprogress.d.ts +27 -0
  1170. package/packages/host/dist/pushprogress.js +72 -0
  1171. package/packages/host/dist/pushprogress.js.map +1 -0
  1172. package/packages/host/dist/question.d.ts +60 -0
  1173. package/packages/host/dist/question.js +137 -0
  1174. package/packages/host/dist/question.js.map +1 -0
  1175. package/packages/host/dist/ratelimit.d.ts +44 -0
  1176. package/packages/host/dist/ratelimit.js +68 -0
  1177. package/packages/host/dist/ratelimit.js.map +1 -0
  1178. package/packages/host/dist/render.d.ts +50 -0
  1179. package/packages/host/dist/render.js +138 -0
  1180. package/packages/host/dist/render.js.map +1 -0
  1181. package/packages/host/dist/repohealth.d.ts +113 -0
  1182. package/packages/host/dist/repohealth.js +752 -0
  1183. package/packages/host/dist/repohealth.js.map +1 -0
  1184. package/packages/host/dist/repohealthapproval.d.ts +88 -0
  1185. package/packages/host/dist/repohealthapproval.js +709 -0
  1186. package/packages/host/dist/repohealthapproval.js.map +1 -0
  1187. package/packages/host/dist/repohealthscopes.d.ts +23 -0
  1188. package/packages/host/dist/repohealthscopes.js +124 -0
  1189. package/packages/host/dist/repohealthscopes.js.map +1 -0
  1190. package/packages/host/dist/repos.d.ts +25 -0
  1191. package/packages/host/dist/repos.js +181 -0
  1192. package/packages/host/dist/repos.js.map +1 -0
  1193. package/packages/host/dist/reposkill.d.ts +17 -0
  1194. package/packages/host/dist/reposkill.js +92 -0
  1195. package/packages/host/dist/reposkill.js.map +1 -0
  1196. package/packages/host/dist/reposkilltext.d.ts +16 -0
  1197. package/packages/host/dist/reposkilltext.js +320 -0
  1198. package/packages/host/dist/reposkilltext.js.map +1 -0
  1199. package/packages/host/dist/restartnote.d.ts +17 -0
  1200. package/packages/host/dist/restartnote.js +36 -0
  1201. package/packages/host/dist/restartnote.js.map +1 -0
  1202. package/packages/host/dist/review.d.ts +83 -0
  1203. package/packages/host/dist/review.js +513 -0
  1204. package/packages/host/dist/review.js.map +1 -0
  1205. package/packages/host/dist/rootchoice.d.ts +26 -0
  1206. package/packages/host/dist/rootchoice.js +101 -0
  1207. package/packages/host/dist/rootchoice.js.map +1 -0
  1208. package/packages/host/dist/routes/apihost.d.ts +2 -0
  1209. package/packages/host/dist/routes/apihost.js +532 -0
  1210. package/packages/host/dist/routes/apihost.js.map +1 -0
  1211. package/packages/host/dist/routes/apiio.d.ts +86 -0
  1212. package/packages/host/dist/routes/apiio.js +354 -0
  1213. package/packages/host/dist/routes/apiio.js.map +1 -0
  1214. package/packages/host/dist/routes/apirepofiles.d.ts +7 -0
  1215. package/packages/host/dist/routes/apirepofiles.js +382 -0
  1216. package/packages/host/dist/routes/apirepofiles.js.map +1 -0
  1217. package/packages/host/dist/routes/apirepowork.d.ts +2 -0
  1218. package/packages/host/dist/routes/apirepowork.js +500 -0
  1219. package/packages/host/dist/routes/apirepowork.js.map +1 -0
  1220. package/packages/host/dist/routes/apiroutes.d.ts +14 -0
  1221. package/packages/host/dist/routes/apiroutes.js +20 -0
  1222. package/packages/host/dist/routes/apiroutes.js.map +1 -0
  1223. package/packages/host/dist/routes/apisession.d.ts +2 -0
  1224. package/packages/host/dist/routes/apisession.js +197 -0
  1225. package/packages/host/dist/routes/apisession.js.map +1 -0
  1226. package/packages/host/dist/routes/apistats.d.ts +2 -0
  1227. package/packages/host/dist/routes/apistats.js +220 -0
  1228. package/packages/host/dist/routes/apistats.js.map +1 -0
  1229. package/packages/host/dist/routes/apisystem.d.ts +2 -0
  1230. package/packages/host/dist/routes/apisystem.js +389 -0
  1231. package/packages/host/dist/routes/apisystem.js.map +1 -0
  1232. package/packages/host/dist/routes/apitable.d.ts +180 -0
  1233. package/packages/host/dist/routes/apitable.js +71 -0
  1234. package/packages/host/dist/routes/apitable.js.map +1 -0
  1235. package/packages/host/dist/routes/index.d.ts +19 -0
  1236. package/packages/host/dist/routes/index.js +65 -0
  1237. package/packages/host/dist/routes/index.js.map +1 -0
  1238. package/packages/host/dist/routes/session.d.ts +2 -0
  1239. package/packages/host/dist/routes/session.js +771 -0
  1240. package/packages/host/dist/routes/session.js.map +1 -0
  1241. package/packages/host/dist/routes/system.d.ts +24 -0
  1242. package/packages/host/dist/routes/system.js +530 -0
  1243. package/packages/host/dist/routes/system.js.map +1 -0
  1244. package/packages/host/dist/routes/types.d.ts +283 -0
  1245. package/packages/host/dist/routes/types.js +2 -0
  1246. package/packages/host/dist/routes/types.js.map +1 -0
  1247. package/packages/host/dist/routes/work/workassess.d.ts +2 -0
  1248. package/packages/host/dist/routes/work/workassess.js +182 -0
  1249. package/packages/host/dist/routes/work/workassess.js.map +1 -0
  1250. package/packages/host/dist/routes/work/workbacklog.d.ts +2 -0
  1251. package/packages/host/dist/routes/work/workbacklog.js +329 -0
  1252. package/packages/host/dist/routes/work/workbacklog.js.map +1 -0
  1253. package/packages/host/dist/routes/work/workbuild.d.ts +2 -0
  1254. package/packages/host/dist/routes/work/workbuild.js +250 -0
  1255. package/packages/host/dist/routes/work/workbuild.js.map +1 -0
  1256. package/packages/host/dist/routes/work/workintent.d.ts +2 -0
  1257. package/packages/host/dist/routes/work/workintent.js +167 -0
  1258. package/packages/host/dist/routes/work/workintent.js.map +1 -0
  1259. package/packages/host/dist/routes/work/workschedule.d.ts +2 -0
  1260. package/packages/host/dist/routes/work/workschedule.js +131 -0
  1261. package/packages/host/dist/routes/work/workschedule.js.map +1 -0
  1262. package/packages/host/dist/routes/work.d.ts +10 -0
  1263. package/packages/host/dist/routes/work.js +13 -0
  1264. package/packages/host/dist/routes/work.js.map +1 -0
  1265. package/packages/host/dist/scaffold.d.ts +104 -0
  1266. package/packages/host/dist/scaffold.js +417 -0
  1267. package/packages/host/dist/scaffold.js.map +1 -0
  1268. package/packages/host/dist/screenlog.d.ts +43 -0
  1269. package/packages/host/dist/screenlog.js +209 -0
  1270. package/packages/host/dist/screenlog.js.map +1 -0
  1271. package/packages/host/dist/secrets.d.ts +72 -0
  1272. package/packages/host/dist/secrets.js +258 -0
  1273. package/packages/host/dist/secrets.js.map +1 -0
  1274. package/packages/host/dist/sentlog.d.ts +82 -0
  1275. package/packages/host/dist/sentlog.js +186 -0
  1276. package/packages/host/dist/sentlog.js.map +1 -0
  1277. package/packages/host/dist/server/billingwire.d.ts +24 -0
  1278. package/packages/host/dist/server/billingwire.js +73 -0
  1279. package/packages/host/dist/server/billingwire.js.map +1 -0
  1280. package/packages/host/dist/server/clients.d.ts +52 -0
  1281. package/packages/host/dist/server/clients.js +178 -0
  1282. package/packages/host/dist/server/clients.js.map +1 -0
  1283. package/packages/host/dist/server/ctx.d.ts +118 -0
  1284. package/packages/host/dist/server/ctx.js +2 -0
  1285. package/packages/host/dist/server/ctx.js.map +1 -0
  1286. package/packages/host/dist/server/ctxseal.d.ts +21 -0
  1287. package/packages/host/dist/server/ctxseal.js +24 -0
  1288. package/packages/host/dist/server/ctxseal.js.map +1 -0
  1289. package/packages/host/dist/server/deliveries.d.ts +20 -0
  1290. package/packages/host/dist/server/deliveries.js +276 -0
  1291. package/packages/host/dist/server/deliveries.js.map +1 -0
  1292. package/packages/host/dist/server/firstapp.d.ts +12 -0
  1293. package/packages/host/dist/server/firstapp.js +37 -0
  1294. package/packages/host/dist/server/firstapp.js.map +1 -0
  1295. package/packages/host/dist/server/http.d.ts +34 -0
  1296. package/packages/host/dist/server/http.js +475 -0
  1297. package/packages/host/dist/server/http.js.map +1 -0
  1298. package/packages/host/dist/server/intentDeps.d.ts +36 -0
  1299. package/packages/host/dist/server/intentDeps.js +418 -0
  1300. package/packages/host/dist/server/intentDeps.js.map +1 -0
  1301. package/packages/host/dist/server/intentEvents.d.ts +13 -0
  1302. package/packages/host/dist/server/intentEvents.js +234 -0
  1303. package/packages/host/dist/server/intentEvents.js.map +1 -0
  1304. package/packages/host/dist/server/liveness.d.ts +64 -0
  1305. package/packages/host/dist/server/liveness.js +74 -0
  1306. package/packages/host/dist/server/liveness.js.map +1 -0
  1307. package/packages/host/dist/server/scan.d.ts +41 -0
  1308. package/packages/host/dist/server/scan.js +227 -0
  1309. package/packages/host/dist/server/scan.js.map +1 -0
  1310. package/packages/host/dist/server/sessionEvents.d.ts +40 -0
  1311. package/packages/host/dist/server/sessionEvents.js +509 -0
  1312. package/packages/host/dist/server/sessionEvents.js.map +1 -0
  1313. package/packages/host/dist/server/shutdown.d.ts +11 -0
  1314. package/packages/host/dist/server/shutdown.js +135 -0
  1315. package/packages/host/dist/server/shutdown.js.map +1 -0
  1316. package/packages/host/dist/server/wsops.d.ts +44 -0
  1317. package/packages/host/dist/server/wsops.js +313 -0
  1318. package/packages/host/dist/server/wsops.js.map +1 -0
  1319. package/packages/host/dist/sessionSearch.d.ts +46 -0
  1320. package/packages/host/dist/sessionSearch.js +93 -0
  1321. package/packages/host/dist/sessionSearch.js.map +1 -0
  1322. package/packages/host/dist/sessionbudget.d.ts +61 -0
  1323. package/packages/host/dist/sessionbudget.js +84 -0
  1324. package/packages/host/dist/sessionbudget.js.map +1 -0
  1325. package/packages/host/dist/sessions/boxes.d.ts +112 -0
  1326. package/packages/host/dist/sessions/boxes.js +968 -0
  1327. package/packages/host/dist/sessions/boxes.js.map +1 -0
  1328. package/packages/host/dist/sessions/budgetwatch.d.ts +95 -0
  1329. package/packages/host/dist/sessions/budgetwatch.js +171 -0
  1330. package/packages/host/dist/sessions/budgetwatch.js.map +1 -0
  1331. package/packages/host/dist/sessions/convid.d.ts +72 -0
  1332. package/packages/host/dist/sessions/convid.js +305 -0
  1333. package/packages/host/dist/sessions/convid.js.map +1 -0
  1334. package/packages/host/dist/sessions/core.d.ts +749 -0
  1335. package/packages/host/dist/sessions/core.js +2 -0
  1336. package/packages/host/dist/sessions/core.js.map +1 -0
  1337. package/packages/host/dist/sessions/ctxseries.d.ts +184 -0
  1338. package/packages/host/dist/sessions/ctxseries.js +766 -0
  1339. package/packages/host/dist/sessions/ctxseries.js.map +1 -0
  1340. package/packages/host/dist/sessions/drive.d.ts +207 -0
  1341. package/packages/host/dist/sessions/drive.js +779 -0
  1342. package/packages/host/dist/sessions/drive.js.map +1 -0
  1343. package/packages/host/dist/sessions/haltall.d.ts +36 -0
  1344. package/packages/host/dist/sessions/haltall.js +95 -0
  1345. package/packages/host/dist/sessions/haltall.js.map +1 -0
  1346. package/packages/host/dist/sessions/health.d.ts +88 -0
  1347. package/packages/host/dist/sessions/health.js +108 -0
  1348. package/packages/host/dist/sessions/health.js.map +1 -0
  1349. package/packages/host/dist/sessions/idlewatch.d.ts +34 -0
  1350. package/packages/host/dist/sessions/idlewatch.js +74 -0
  1351. package/packages/host/dist/sessions/idlewatch.js.map +1 -0
  1352. package/packages/host/dist/sessions/knobs.d.ts +315 -0
  1353. package/packages/host/dist/sessions/knobs.js +411 -0
  1354. package/packages/host/dist/sessions/knobs.js.map +1 -0
  1355. package/packages/host/dist/sessions/links.d.ts +53 -0
  1356. package/packages/host/dist/sessions/links.js +209 -0
  1357. package/packages/host/dist/sessions/links.js.map +1 -0
  1358. package/packages/host/dist/sessions/livemode.d.ts +56 -0
  1359. package/packages/host/dist/sessions/livemode.js +300 -0
  1360. package/packages/host/dist/sessions/livemode.js.map +1 -0
  1361. package/packages/host/dist/sessions/record.d.ts +196 -0
  1362. package/packages/host/dist/sessions/record.js +719 -0
  1363. package/packages/host/dist/sessions/record.js.map +1 -0
  1364. package/packages/host/dist/sessions/resume.d.ts +164 -0
  1365. package/packages/host/dist/sessions/resume.js +629 -0
  1366. package/packages/host/dist/sessions/resume.js.map +1 -0
  1367. package/packages/host/dist/sessions/roster.d.ts +164 -0
  1368. package/packages/host/dist/sessions/roster.js +566 -0
  1369. package/packages/host/dist/sessions/roster.js.map +1 -0
  1370. package/packages/host/dist/sessions/sidechannel.d.ts +96 -0
  1371. package/packages/host/dist/sessions/sidechannel.js +726 -0
  1372. package/packages/host/dist/sessions/sidechannel.js.map +1 -0
  1373. package/packages/host/dist/sessions/tmux.d.ts +247 -0
  1374. package/packages/host/dist/sessions/tmux.js +731 -0
  1375. package/packages/host/dist/sessions/tmux.js.map +1 -0
  1376. package/packages/host/dist/sessions/turn.d.ts +237 -0
  1377. package/packages/host/dist/sessions/turn.js +1003 -0
  1378. package/packages/host/dist/sessions/turn.js.map +1 -0
  1379. package/packages/host/dist/sessions/wall.d.ts +117 -0
  1380. package/packages/host/dist/sessions/wall.js +658 -0
  1381. package/packages/host/dist/sessions/wall.js.map +1 -0
  1382. package/packages/host/dist/sessions.d.ts +255 -0
  1383. package/packages/host/dist/sessions.js +758 -0
  1384. package/packages/host/dist/sessions.js.map +1 -0
  1385. package/packages/host/dist/settings.d.ts +40 -0
  1386. package/packages/host/dist/settings.js +171 -0
  1387. package/packages/host/dist/settings.js.map +1 -0
  1388. package/packages/host/dist/settle.d.ts +171 -0
  1389. package/packages/host/dist/settle.js +409 -0
  1390. package/packages/host/dist/settle.js.map +1 -0
  1391. package/packages/host/dist/setupprefs.d.ts +51 -0
  1392. package/packages/host/dist/setupprefs.js +178 -0
  1393. package/packages/host/dist/setupprefs.js.map +1 -0
  1394. package/packages/host/dist/setupwatch.d.ts +39 -0
  1395. package/packages/host/dist/setupwatch.js +249 -0
  1396. package/packages/host/dist/setupwatch.js.map +1 -0
  1397. package/packages/host/dist/shelllinks.d.ts +39 -0
  1398. package/packages/host/dist/shelllinks.js +292 -0
  1399. package/packages/host/dist/shelllinks.js.map +1 -0
  1400. package/packages/host/dist/shells.d.ts +190 -0
  1401. package/packages/host/dist/shells.js +633 -0
  1402. package/packages/host/dist/shells.js.map +1 -0
  1403. package/packages/host/dist/sidecar/sidecarclaude.d.ts +120 -0
  1404. package/packages/host/dist/sidecar/sidecarclaude.js +213 -0
  1405. package/packages/host/dist/sidecar/sidecarclaude.js.map +1 -0
  1406. package/packages/host/dist/sidecar/sidecarname.d.ts +99 -0
  1407. package/packages/host/dist/sidecar/sidecarname.js +163 -0
  1408. package/packages/host/dist/sidecar/sidecarname.js.map +1 -0
  1409. package/packages/host/dist/sidecar/sidecaropenai.d.ts +24 -0
  1410. package/packages/host/dist/sidecar/sidecaropenai.js +129 -0
  1411. package/packages/host/dist/sidecar/sidecaropenai.js.map +1 -0
  1412. package/packages/host/dist/sidecar/sidecarroute.d.ts +65 -0
  1413. package/packages/host/dist/sidecar/sidecarroute.js +158 -0
  1414. package/packages/host/dist/sidecar/sidecarroute.js.map +1 -0
  1415. package/packages/host/dist/sidecar/sidecartasks.d.ts +20 -0
  1416. package/packages/host/dist/sidecar/sidecartasks.js +63 -0
  1417. package/packages/host/dist/sidecar/sidecartasks.js.map +1 -0
  1418. package/packages/host/dist/sidecar/sidecartrust.d.ts +32 -0
  1419. package/packages/host/dist/sidecar/sidecartrust.js +74 -0
  1420. package/packages/host/dist/sidecar/sidecartrust.js.map +1 -0
  1421. package/packages/host/dist/sidecar.d.ts +82 -0
  1422. package/packages/host/dist/sidecar.js +78 -0
  1423. package/packages/host/dist/sidecar.js.map +1 -0
  1424. package/packages/host/dist/signkey.d.ts +57 -0
  1425. package/packages/host/dist/signkey.js +159 -0
  1426. package/packages/host/dist/signkey.js.map +1 -0
  1427. package/packages/host/dist/slash.d.ts +43 -0
  1428. package/packages/host/dist/slash.js +236 -0
  1429. package/packages/host/dist/slash.js.map +1 -0
  1430. package/packages/host/dist/sourceanswer.d.ts +103 -0
  1431. package/packages/host/dist/sourceanswer.js +193 -0
  1432. package/packages/host/dist/sourceanswer.js.map +1 -0
  1433. package/packages/host/dist/speedtest.d.ts +57 -0
  1434. package/packages/host/dist/speedtest.js +137 -0
  1435. package/packages/host/dist/speedtest.js.map +1 -0
  1436. package/packages/host/dist/spendwall.d.ts +33 -0
  1437. package/packages/host/dist/spendwall.js +45 -0
  1438. package/packages/host/dist/spendwall.js.map +1 -0
  1439. package/packages/host/dist/sysstat.d.ts +134 -0
  1440. package/packages/host/dist/sysstat.js +630 -0
  1441. package/packages/host/dist/sysstat.js.map +1 -0
  1442. package/packages/host/dist/tailnetpeers.d.ts +34 -0
  1443. package/packages/host/dist/tailnetpeers.js +116 -0
  1444. package/packages/host/dist/tailnetpeers.js.map +1 -0
  1445. package/packages/host/dist/tailscaleguard.d.ts +11 -0
  1446. package/packages/host/dist/tailscaleguard.js +133 -0
  1447. package/packages/host/dist/tailscaleguard.js.map +1 -0
  1448. package/packages/host/dist/termqueries.d.ts +124 -0
  1449. package/packages/host/dist/termqueries.js +207 -0
  1450. package/packages/host/dist/termqueries.js.map +1 -0
  1451. package/packages/host/dist/themeoverlay.d.ts +74 -0
  1452. package/packages/host/dist/themeoverlay.js +262 -0
  1453. package/packages/host/dist/themeoverlay.js.map +1 -0
  1454. package/packages/host/dist/thumbs.d.ts +69 -0
  1455. package/packages/host/dist/thumbs.js +359 -0
  1456. package/packages/host/dist/thumbs.js.map +1 -0
  1457. package/packages/host/dist/tmuxreq.d.ts +91 -0
  1458. package/packages/host/dist/tmuxreq.js +207 -0
  1459. package/packages/host/dist/tmuxreq.js.map +1 -0
  1460. package/packages/host/dist/tmuxscroll.d.ts +70 -0
  1461. package/packages/host/dist/tmuxscroll.js +206 -0
  1462. package/packages/host/dist/tmuxscroll.js.map +1 -0
  1463. package/packages/host/dist/tokenscan.d.ts +63 -0
  1464. package/packages/host/dist/tokenscan.js +220 -0
  1465. package/packages/host/dist/tokenscan.js.map +1 -0
  1466. package/packages/host/dist/tokenstats.d.ts +115 -0
  1467. package/packages/host/dist/tokenstats.js +763 -0
  1468. package/packages/host/dist/tokenstats.js.map +1 -0
  1469. package/packages/host/dist/toolchain.d.ts +147 -0
  1470. package/packages/host/dist/toolchain.js +468 -0
  1471. package/packages/host/dist/toolchain.js.map +1 -0
  1472. package/packages/host/dist/transcript/transcriptlog.d.ts +134 -0
  1473. package/packages/host/dist/transcript/transcriptlog.js +300 -0
  1474. package/packages/host/dist/transcript/transcriptlog.js.map +1 -0
  1475. package/packages/host/dist/transcript/transcriptparse.d.ts +28 -0
  1476. package/packages/host/dist/transcript/transcriptparse.js +377 -0
  1477. package/packages/host/dist/transcript/transcriptparse.js.map +1 -0
  1478. package/packages/host/dist/transcript/transcriptscreen.d.ts +71 -0
  1479. package/packages/host/dist/transcript/transcriptscreen.js +120 -0
  1480. package/packages/host/dist/transcript/transcriptscreen.js.map +1 -0
  1481. package/packages/host/dist/transcript/transcriptturns.d.ts +139 -0
  1482. package/packages/host/dist/transcript/transcriptturns.js +270 -0
  1483. package/packages/host/dist/transcript/transcriptturns.js.map +1 -0
  1484. package/packages/host/dist/transcript.d.ts +28 -0
  1485. package/packages/host/dist/transcript.js +34 -0
  1486. package/packages/host/dist/transcript.js.map +1 -0
  1487. package/packages/host/dist/transportsurvey.d.ts +10 -0
  1488. package/packages/host/dist/transportsurvey.js +109 -0
  1489. package/packages/host/dist/transportsurvey.js.map +1 -0
  1490. package/packages/host/dist/tree.d.ts +80 -0
  1491. package/packages/host/dist/tree.js +372 -0
  1492. package/packages/host/dist/tree.js.map +1 -0
  1493. package/packages/host/dist/turnagents.d.ts +17 -0
  1494. package/packages/host/dist/turnagents.js +205 -0
  1495. package/packages/host/dist/turnagents.js.map +1 -0
  1496. package/packages/host/dist/uistats.d.ts +18 -0
  1497. package/packages/host/dist/uistats.js +105 -0
  1498. package/packages/host/dist/uistats.js.map +1 -0
  1499. package/packages/host/dist/update.d.ts +100 -0
  1500. package/packages/host/dist/update.js +536 -0
  1501. package/packages/host/dist/update.js.map +1 -0
  1502. package/packages/host/dist/updates/apply.d.ts +45 -0
  1503. package/packages/host/dist/updates/apply.js +362 -0
  1504. package/packages/host/dist/updates/apply.js.map +1 -0
  1505. package/packages/host/dist/updates/catalog.d.ts +11 -0
  1506. package/packages/host/dist/updates/catalog.js +123 -0
  1507. package/packages/host/dist/updates/catalog.js.map +1 -0
  1508. package/packages/host/dist/updates/checker.d.ts +73 -0
  1509. package/packages/host/dist/updates/checker.js +189 -0
  1510. package/packages/host/dist/updates/checker.js.map +1 -0
  1511. package/packages/host/dist/updates/github.d.ts +13 -0
  1512. package/packages/host/dist/updates/github.js +63 -0
  1513. package/packages/host/dist/updates/github.js.map +1 -0
  1514. package/packages/host/dist/updates/gitops.d.ts +16 -0
  1515. package/packages/host/dist/updates/gitops.js +61 -0
  1516. package/packages/host/dist/updates/gitops.js.map +1 -0
  1517. package/packages/host/dist/updates/installrecord.d.ts +26 -0
  1518. package/packages/host/dist/updates/installrecord.js +42 -0
  1519. package/packages/host/dist/updates/installrecord.js.map +1 -0
  1520. package/packages/host/dist/updates/remote.d.ts +10 -0
  1521. package/packages/host/dist/updates/remote.js +54 -0
  1522. package/packages/host/dist/updates/remote.js.map +1 -0
  1523. package/packages/host/dist/updates/restart.d.ts +5 -0
  1524. package/packages/host/dist/updates/restart.js +20 -0
  1525. package/packages/host/dist/updates/restart.js.map +1 -0
  1526. package/packages/host/dist/updates/self.d.ts +19 -0
  1527. package/packages/host/dist/updates/self.js +51 -0
  1528. package/packages/host/dist/updates/self.js.map +1 -0
  1529. package/packages/host/dist/updates/wire.d.ts +18 -0
  1530. package/packages/host/dist/updates/wire.js +21 -0
  1531. package/packages/host/dist/updates/wire.js.map +1 -0
  1532. package/packages/host/dist/usage.d.ts +124 -0
  1533. package/packages/host/dist/usage.js +411 -0
  1534. package/packages/host/dist/usage.js.map +1 -0
  1535. package/packages/host/dist/usagelog.d.ts +53 -0
  1536. package/packages/host/dist/usagelog.js +223 -0
  1537. package/packages/host/dist/usagelog.js.map +1 -0
  1538. package/packages/host/dist/usagesourcelog.d.ts +59 -0
  1539. package/packages/host/dist/usagesourcelog.js +208 -0
  1540. package/packages/host/dist/usagesourcelog.js.map +1 -0
  1541. package/packages/host/dist/usagesources.d.ts +175 -0
  1542. package/packages/host/dist/usagesources.js +462 -0
  1543. package/packages/host/dist/usagesources.js.map +1 -0
  1544. package/packages/host/dist/visualskill.d.ts +36 -0
  1545. package/packages/host/dist/visualskill.js +230 -0
  1546. package/packages/host/dist/visualskill.js.map +1 -0
  1547. package/packages/host/dist/webbundle.d.ts +47 -0
  1548. package/packages/host/dist/webbundle.js +155 -0
  1549. package/packages/host/dist/webbundle.js.map +1 -0
  1550. package/packages/host/dist/wirerecord.d.ts +5 -0
  1551. package/packages/host/dist/wirerecord.js +128 -0
  1552. package/packages/host/dist/wirerecord.js.map +1 -0
  1553. package/packages/host/dist/worktreeleftover.d.ts +27 -0
  1554. package/packages/host/dist/worktreeleftover.js +153 -0
  1555. package/packages/host/dist/worktreeleftover.js.map +1 -0
  1556. package/packages/host/dist/worktreeowner.d.ts +17 -0
  1557. package/packages/host/dist/worktreeowner.js +45 -0
  1558. package/packages/host/dist/worktreeowner.js.map +1 -0
  1559. package/packages/host/package.json +26 -0
  1560. package/packages/web/dist/assets/apple-touch-icon.png +0 -0
  1561. package/packages/web/dist/assets/badge-96.png +0 -0
  1562. package/packages/web/dist/assets/demo-CXlqlYE4.js +23 -0
  1563. package/packages/web/dist/assets/hero.png +0 -0
  1564. package/packages/web/dist/assets/icon-192.png +0 -0
  1565. package/packages/web/dist/assets/icon-32.png +0 -0
  1566. package/packages/web/dist/assets/icon-48.png +0 -0
  1567. package/packages/web/dist/assets/icon-512-maskable.png +0 -0
  1568. package/packages/web/dist/assets/icon-512.png +0 -0
  1569. package/packages/web/dist/assets/icon-dark.svg +43 -0
  1570. package/packages/web/dist/assets/icon-light.svg +42 -0
  1571. package/packages/web/dist/assets/icon.svg +11 -0
  1572. package/packages/web/dist/assets/icons-BbqDBVjw.js +1 -0
  1573. package/packages/web/dist/assets/index-CgPoyb3Y.css +1 -0
  1574. package/packages/web/dist/assets/index-D5JKj8DK.js +169 -0
  1575. package/packages/web/dist/assets/react-CoSyT_xY.js +8 -0
  1576. package/packages/web/dist/assets/rolldown-runtime-BpQH8Ho1.js +1 -0
  1577. package/packages/web/dist/assets/shared-eyaskl5l.js +47 -0
  1578. package/packages/web/dist/assets/sheets-Bjv2L-cG.css +1 -0
  1579. package/packages/web/dist/assets/sheets-BzzL2re1.js +204 -0
  1580. package/packages/web/dist/assets/vendor-BPwPmufs.js +3 -0
  1581. package/packages/web/dist/assets/xterm-BrP-ENHg.css +1 -0
  1582. package/packages/web/dist/assets/xterm-C8zLTNGk.js +16 -0
  1583. package/packages/web/dist/build-id.txt +1 -0
  1584. package/packages/web/dist/demo/media/r1/dot-claude/inbox/swipe-sketch.png +0 -0
  1585. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-android-fixed.png +0 -0
  1586. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-android.png +0 -0
  1587. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-before.png +0 -0
  1588. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-date-picker.png +0 -0
  1589. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-empty-state.png +0 -0
  1590. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-grouped.png +0 -0
  1591. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-ios.png +0 -0
  1592. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-preview.html +18 -0
  1593. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-release-notes.md +21 -0
  1594. package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-sorted.png +0 -0
  1595. package/packages/web/dist/demo/media/r3/dot-claude/outbox/trail-log-ridge-loop.png +0 -0
  1596. package/packages/web/dist/index.html +84 -0
  1597. package/packages/web/dist/manifest.webmanifest +16 -0
  1598. package/packages/web/dist/sw.js +420 -0
  1599. package/release.json +22 -0
  1600. package/scripts/windows/keeper.ps1 +60 -0
  1601. package/scripts/windows/wsl-setup.sh +173 -0
  1602. package/tools/repohealth/census.mjs +353 -0
  1603. package/tools/repohealth/central.mjs +234 -0
  1604. package/tools/repohealth/constants.mjs +420 -0
  1605. package/tools/repohealth/events.mjs +563 -0
  1606. package/tools/repohealth/fixture.json +17976 -0
  1607. package/tools/repohealth/git.mjs +471 -0
  1608. package/tools/repohealth/html.mjs +601 -0
  1609. package/tools/repohealth/judge.mjs +546 -0
  1610. package/tools/repohealth/lang/typescript-ast.mjs +538 -0
  1611. package/tools/repohealth/metrics/classics.mjs +239 -0
  1612. package/tools/repohealth/metrics/cochange.mjs +234 -0
  1613. package/tools/repohealth/metrics/context.mjs +411 -0
  1614. package/tools/repohealth/metrics/deadexports.mjs +122 -0
  1615. package/tools/repohealth/metrics/dups.mjs +261 -0
  1616. package/tools/repohealth/metrics/hatches.mjs +164 -0
  1617. package/tools/repohealth/metrics/retouch.mjs +326 -0
  1618. package/tools/repohealth/metrics/route.mjs +159 -0
  1619. package/tools/repohealth/metrics/size.mjs +120 -0
  1620. package/tools/repohealth/metrics/tripwires.mjs +258 -0
  1621. package/tools/repohealth/metrics/untested.mjs +308 -0
  1622. package/tools/repohealth/narrate.mjs +342 -0
  1623. package/tools/repohealth/own.mjs +238 -0
  1624. package/tools/repohealth/packs/c.mjs +124 -0
  1625. package/tools/repohealth/packs/common.mjs +205 -0
  1626. package/tools/repohealth/packs/dart.mjs +118 -0
  1627. package/tools/repohealth/packs/index.mjs +83 -0
  1628. package/tools/repohealth/packs/kotlin.mjs +320 -0
  1629. package/tools/repohealth/packs/python.mjs +488 -0
  1630. package/tools/repohealth/packs/shell.mjs +88 -0
  1631. package/tools/repohealth/packs/typescript.mjs +604 -0
  1632. package/tools/repohealth/plot.mjs +462 -0
  1633. package/tools/repohealth/readings.mjs +427 -0
  1634. package/tools/repohealth/scope.mjs +184 -0
  1635. package/tools/repohealth/series.mjs +360 -0
  1636. package/tools/repohealth/snapshot.mjs +431 -0
  1637. package/tools/repohealth/source.mjs +266 -0
  1638. package/tools/repohealth/statefile.mjs +31 -0
  1639. package/tools/repohealth/types.mjs +316 -0
  1640. package/tools/repohealth.mjs +767 -0
  1641. package/tools/skillmap.mjs +109 -0
@@ -0,0 +1,763 @@
1
+ /**
2
+ * How many tokens every conversation on this desktop has ever used.
3
+ *
4
+ * ── Why the logs and not a meter of our own ─────────────────────────────────
5
+ *
6
+ * `meter.ts` counts what THIS app spends on its own model calls (the text reader, plugins), and `usage.ts` scrapes
7
+ * the CLI's `/usage` screen for a percentage of the current window. Neither
8
+ * answers "how much have I used, ever, across everything" — the first is one
9
+ * small subsystem and the second is a rolling percentage with no history and no
10
+ * total. The CLI already writes the real answer down: every assistant turn in
11
+ * every conversation jsonl carries `message.usage`, and those files go back to
12
+ * the first day this machine ran the CLI, including sessions this app never
13
+ * drove. Same source as the transcript and the context graph; no new bookkeeping
14
+ * to desync.
15
+ *
16
+ * ── The three things that make it correct ───────────────────────────────────
17
+ *
18
+ * 1. **Dedupe by `message.id`.** A streaming turn is written several times with
19
+ * one id and one usage block. Measured here: 69,931 real turns and 49,260
20
+ * duplicate records — counting them would inflate every number on the screen
21
+ * by 70%. The set is per FILE, which is why a changed file is re-read whole
22
+ * rather than appended to (below).
23
+ * 2. **Skip the `<synthetic>` turns.** A usage-limit rejection is written as an
24
+ * assistant turn with a zero usage block; it is not a turn that happened.
25
+ * 3. **Keep the four kinds apart, for ever.** 96% of the total is cache reads
26
+ * (`shared/tokens.ts` has the measurement). A store that summed them could
27
+ * never un-sum them, and every screen would then be free to imply that 13.65
28
+ * billion tokens is what somebody spent.
29
+ *
30
+ * Sidechains ARE counted, unlike in `ctxlog.ts`. There the question is "how full
31
+ * is THIS conversation's window", and a subagent's turns belong to a different
32
+ * one; here the question is what was spent, and a subagent spends real tokens.
33
+ *
34
+ * ── Why per-file summaries rather than a patched aggregate ──────────────────
35
+ *
36
+ * A cold scan is ~4.5 s over 9,444 files and 2 GB, which is fine once and
37
+ * unacceptable per request. The obvious fix — keep a running aggregate and add
38
+ * deltas — needs a subtract path for any file that changes, and a subtract path
39
+ * for the per-day and per-model buckets means keeping those buckets per file
40
+ * anyway. So the store IS the per-file summaries and the aggregate is DERIVED on
41
+ * every read: no patching, no drift, and a deleted conversation simply stops
42
+ * being in the fold. Measured, that costs 1.76 MB on disk, 6 ms to reparse, and
43
+ * a warm refresh is a 35 ms stat sweep plus a re-read of only what changed
44
+ * (average file: 1.01 days, 1.00 models, so a summary is a handful of numbers).
45
+ *
46
+ * Everything here is read-only with respect to the CLI's files and best-effort
47
+ * with respect to its own: a corrupt store rebuilds from scratch, a failed write
48
+ * is dropped. A statistics screen is not worth taking the daemon down for.
49
+ */
50
+ import { existsSync, mkdirSync } from "node:fs";
51
+ import { readdir, stat } from "node:fs/promises";
52
+ import { basename, join } from "node:path";
53
+ import { PRICES_AS_OF, addCost, addTotals, costOf, dayToMs, isPriced, normalizeModel, tokenTotal, zeroCost, zeroTotals, windowStartHour } from "@waterplane/shared";
54
+ import { claudeConfigDir } from "./claudeconfig.js";
55
+ import { env } from "./env.js";
56
+ import { CROSS, localHour, summarizeLog, walkLogs } from "./tokenscan.js";
57
+ import { hostStateDir } from "./branddirs.js";
58
+ import { foldCostWindow, repoOfWorktree } from "./costwindow.js";
59
+ import { readJsonGuarded, writeJsonAtomic } from "./jsonstore.js";
60
+ /** A single log this big is not read. Nothing observed comes near it; the cap
61
+ * exists so one pathological file cannot stall the sweep. */
62
+ const MAX_FILE = 256 * 1024 * 1024;
63
+ /** How long a change waits before the store reaches disk. */
64
+ const FLUSH_MS = 5_000;
65
+ /** Files read between yields to the event loop. Small enough that the longest
66
+ * pause is a few milliseconds even on the biggest logs, large enough that the
67
+ * scheduling overhead stays noise. */
68
+ const YIELD_EVERY = 64;
69
+ /** Store format. A bump discards the file and rebuilds rather than migrating —
70
+ * it is a cache of something still on disk, so rebuilding is always available. */
71
+ const VERSION = 5;
72
+ /** How far back the HOUR buckets travel on the wire. The store keeps every hour
73
+ * it ever saw (they cost ~3 entries per conversation); this bounds only what a
74
+ * phone is asked to download and cache. 14 days is two full weeks of the
75
+ * intraday chart, which is the longest window anybody reads it over. */
76
+ /** How many conversations `TokenStatsDoc.top` names. */
77
+ const TOP_CONVOS = 12;
78
+ /** Moved to `costwindow.ts` (one import direction between the two); re-exported
79
+ * so `packages/host/test/*` and every caller keep importing it from here. */
80
+ export { repoOfWorktree } from "./costwindow.js";
81
+ const HOURS_DAYS = Math.max(1, Number(env("TOKENSTATS_HOUR_DAYS") || 14));
82
+ /**
83
+ * The one bucket key: a local HOUR and a model, joined.
84
+ *
85
+ * Crossed rather than kept as two independent maps because a bucket cannot be
86
+ * priced without knowing which model ran in it — rates differ per model and one
87
+ * of them changed mid-corpus.
88
+ *
89
+ * The hour rather than the day (it was the day through store version 3) because
90
+ * a day key cannot be refined back into hours, while an hour key IS a day key
91
+ * in its first ten characters: `aggregate()` folds hours into days and the two
92
+ * therefore cannot disagree. It costs a little: measured, a conversation
93
+ * averages 1.01 days and 1.00 models but ~3 hours, so the store grows roughly
94
+ * threefold — 1.76 MB to ~5 MB on the corpus this was built against, which
95
+ * buys the only chart that can show a burst at 14:00.
96
+ */
97
+ const uncross = (k) => {
98
+ const i = k.indexOf(CROSS);
99
+ return i < 0 ? ["", k] : [k.slice(0, i), k.slice(i + 1)];
100
+ };
101
+ function tallyToTotals(t) {
102
+ return { input: t[0], output: t[1], cacheRead: t[2], cacheWrite: t[3], cacheWrite1h: t[4], turns: t[5] };
103
+ }
104
+ /** `YYYY-MM-DDTHH` back to the epoch ms of the TOP of that local hour — the
105
+ * inverse of `localHour`, and the same local-zone assumption `dayToMs` makes
106
+ * one level up. */
107
+ function hourToMs(hour) {
108
+ const [y, mo, d] = hour.slice(0, 10).split("-").map(Number);
109
+ const h = Number(hour.slice(11, 13));
110
+ return new Date(y, (mo || 1) - 1, d || 1, h || 0, 0, 0, 0).getTime();
111
+ }
112
+ /**
113
+ * Which cells of a window grid an hour bucket belongs to.
114
+ *
115
+ * A cell `k` is the window `[anchor - (k+1)*lenMs, anchor - k*lenMs)`, and an
116
+ * hour counts in it under exactly the rule the LIVE cut states on screen
117
+ * (`web/usageCut.ts`): from `windowStartHour(opened)` — the NEAREST hour
118
+ * boundary to the instant the window opened — up to `windowStartHour(closes)`,
119
+ * which is the next window's start. The finest bucket on record is an hour, so
120
+ * the honest move is to state a span off by at most half an hour at each edge
121
+ * exactly, rather than to be approximately right about the window; the rule is
122
+ * shared (`shared/costwindow.ts`), never re-decided here, so cell 0 of a grid
123
+ * and the phone's own reading of the window running now are the same number.
124
+ *
125
+ * Flooring the start used to put the hour a window OPENED in into two cells
126
+ * (and 59 minutes of last week into a week resetting at 18:59). Rounding both
127
+ * edges makes the cells TILE: every hour is in exactly one. Still a LIST, so
128
+ * an empty answer (before the grid, after the anchor) needs no sentinel.
129
+ *
130
+ * Exported for `packages/host/test/tokenwindows.test.mjs`: the arithmetic is
131
+ * the whole of the correctness and it needs no store, no files and no clock.
132
+ */
133
+ export function windowCells(hourMs, anchor, lenMs) {
134
+ if (!Number.isFinite(hourMs) || !Number.isFinite(anchor) || !(lenMs > 0))
135
+ return [];
136
+ // The cell whose RAW window holds this hour. Cells run BACKWARDS; rounding
137
+ // can only move an hour into the NEXT-NEWER cell (an hour at or after a
138
+ // rounded-down close), never an older one, so these two are every candidate.
139
+ const hi = Math.ceil((anchor - hourMs) / lenMs) - 1;
140
+ const out = [];
141
+ for (const k of [hi - 1, hi]) {
142
+ if (k < 0)
143
+ continue;
144
+ const opened = anchor - (k + 1) * lenMs;
145
+ const closes = anchor - k * lenMs;
146
+ if (hourMs >= windowStartHour(opened) && hourMs < windowStartHour(closes))
147
+ out.push(k);
148
+ }
149
+ return out;
150
+ }
151
+ export class TokenStatsStore {
152
+ path;
153
+ store = {};
154
+ timer = null;
155
+ dirty = false;
156
+ lastScan = 0;
157
+ lastLogs = 0;
158
+ lastReread = 0;
159
+ /** A scan in flight. Two concurrent walks would do the same work twice and
160
+ * race each other's `store` assignment. */
161
+ inFlight = null;
162
+ constructor(root) {
163
+ const dir = hostStateDir(root);
164
+ mkdirSync(dir, { recursive: true });
165
+ this.path = join(dir, "tokenstats.json");
166
+ try {
167
+ if (existsSync(this.path)) {
168
+ const raw = readJsonGuarded(this.path, null);
169
+ if (raw?.v === VERSION && raw.store && typeof raw.store === "object")
170
+ this.store = raw.store;
171
+ }
172
+ }
173
+ catch { /* corrupt → rebuild from the logs, which are the source anyway */ }
174
+ }
175
+ /**
176
+ * Bring the store up to date and return the aggregate.
177
+ *
178
+ * `maxAgeMs` skips the filesystem entirely when the last pass was recent
179
+ * enough — the sheet has a re-read button and a phone that reopens it twice
180
+ * in ten seconds should not walk 9,444 files twice.
181
+ */
182
+ async read(maxAgeMs = 15_000) {
183
+ if (Date.now() - this.lastScan > maxAgeMs) {
184
+ // Share one walk between concurrent callers — the boot warm-up and a
185
+ // phone opening the screen at the same moment is the ordinary case.
186
+ this.inFlight ??= this.refresh().finally(() => { this.inFlight = null; });
187
+ try {
188
+ await this.inFlight;
189
+ }
190
+ catch { /* serve what we already have */ }
191
+ }
192
+ return this.aggregate();
193
+ }
194
+ /**
195
+ * Walk the CLI's project directories and re-read whatever moved.
196
+ *
197
+ * Async, and it yields, for a reason that has nothing to do with speed: a
198
+ * cold scan is ~7 s of `readFileSync` over 2 GB, and done in one go it holds
199
+ * the daemon's event loop for all of it — no PTY frames, no socket writes, no
200
+ * hook POSTs, for every session on the machine. Measured on a host driving 44
201
+ * sessions, that is not a slow screen, it is a seven-second outage. So the
202
+ * loop hands control back every `YIELD_EVERY` files: the scan takes slightly
203
+ * longer in wall-clock and the rest of the daemon keeps running through it.
204
+ *
205
+ * Every filesystem call is the ASYNC one (the directory walk, the stats, the
206
+ * reads), and one log is read in `SCAN_CHUNK` slices with a yield every
207
+ * `SLICE_MS` of parsing (`summarizeLog`) — yielding between files was not
208
+ * enough, because one big log was itself a 0.5-2.4 s stall. The numbers are
209
+ * pinned equal to the one-buffer reader's by `tokenscan.test.mjs`.
210
+ */
211
+ async refresh() {
212
+ const root = join(claudeConfigDir(), "projects");
213
+ const next = {};
214
+ let logs = 0;
215
+ let reread = 0;
216
+ let slugs;
217
+ try {
218
+ slugs = (await readdir(root, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
219
+ }
220
+ catch {
221
+ // No project directory at all — a fresh machine, or `WATERPLANE_CLAUDE_HOME`
222
+ // pointed somewhere empty. An empty answer, not a stale one.
223
+ this.store = {};
224
+ this.lastScan = Date.now();
225
+ this.lastLogs = 0;
226
+ this.lastReread = 0;
227
+ this.dirty = true;
228
+ this.schedule();
229
+ return;
230
+ }
231
+ for (const slug of slugs) {
232
+ const prev = this.store[slug] ?? {};
233
+ // Recursive, because a third of the spend is not at the top level: the
234
+ // CLI writes every Task-tool subagent to
235
+ // `<projectDir>/<conversation>/subagents/agent-<id>.jsonl`, and 681 such
236
+ // files here held ~3.5 billion tokens. A top-level-only walk produced a
237
+ // headline figure a third too small, which is the kind of wrong that
238
+ // looks completely plausible.
239
+ const rels = await walkLogs(join(root, slug));
240
+ // One directory's stats in parallel, consumed in walk order.
241
+ const stats = await Promise.all(rels.map((rel) => stat(join(root, slug, rel)).catch(() => null)));
242
+ for (let i = 0; i < rels.length; i++) {
243
+ const rel = rels[i];
244
+ const p = join(root, slug, rel);
245
+ const st = stats[i];
246
+ if (!st)
247
+ continue;
248
+ logs++;
249
+ if (st.size === 0 || st.size > MAX_FILE)
250
+ continue;
251
+ const key = rel.replace(/\.jsonl$/, "");
252
+ const was = prev[key];
253
+ // Unchanged size AND mtime is the only thing that lets a file be
254
+ // skipped. Either moving means re-read the WHOLE file: the duplicate
255
+ // rule needs the file's own id set, and an appended read cannot have
256
+ // one (see the header).
257
+ if (was && was.s === st.size && was.m === Math.round(st.mtimeMs)) {
258
+ (next[slug] ??= {})[key] = was;
259
+ continue;
260
+ }
261
+ const sum = await summarizeLog(p, st.size, Math.round(st.mtimeMs));
262
+ reread++;
263
+ // Let the daemon breathe. Only after a real READ — a skipped file cost
264
+ // one `stat`, and yielding on those would triple the sweep for nothing.
265
+ if (reread % YIELD_EVERY === 0)
266
+ await new Promise((r) => setImmediate(r));
267
+ if (sum)
268
+ (next[slug] ??= {})[key] = { ...sum, ...(rel.includes("/subagents/") ? { sub: 1 } : {}) };
269
+ }
270
+ }
271
+ this.store = next;
272
+ this.lastScan = Date.now();
273
+ this.lastLogs = logs;
274
+ this.lastReread = reread;
275
+ this.dirty = true;
276
+ this.schedule();
277
+ }
278
+ /**
279
+ * Fold every per-file summary into the document.
280
+ *
281
+ * Derived rather than maintained, which is what makes the store impossible to
282
+ * drift: there is no code path that adds to a total without the file it came
283
+ * from being present in this loop.
284
+ */
285
+ aggregate() {
286
+ const totals = zeroTotals();
287
+ const subagents = zeroTotals();
288
+ const days = new Map();
289
+ /** Every hour on record, keyed `YYYY-MM-DDTHH`. Bounded only when it is
290
+ * put on the wire — folding is cheap and the cut needs the whole set to
291
+ * build the time-of-day profile from. */
292
+ const hours = new Map();
293
+ /** 0..23 → the same tokens, folded over every day. */
294
+ const slots = Array.from({ length: 24 }, zeroTotals);
295
+ const models = new Map();
296
+ const repos = new Map();
297
+ let conversations = 0;
298
+ let subagentLogs = 0;
299
+ // Cost is accumulated in the SAME loop as the tokens, per (day, model)
300
+ // bucket, because that is the only granularity at which it is well defined:
301
+ // rates differ per model, and one of them changed partway through this
302
+ // corpus. Adding costs afterwards from a day row — which has no model —
303
+ // would have to pick a rate, and any pick is a fabrication.
304
+ const cost = zeroCost();
305
+ const subCost = zeroCost();
306
+ const dayCost = new Map();
307
+ const hourCost = new Map();
308
+ const slotCost = Array.from({ length: 24 }, zeroCost);
309
+ const modelCost = new Map();
310
+ const repoCost = new Map();
311
+ /** Tokens we could not price at all — an unknown model. Named on screen
312
+ * rather than silently charged zero. */
313
+ const unpriced = zeroTotals();
314
+ // day → model → the same two tallies, for the stacked-by-model chart. The
315
+ // cross key already holds both, so this is a projection of what the loop
316
+ // below is reading anyway — no second pass and no rescan.
317
+ const dayModel = new Map();
318
+ const dayModelCost = new Map();
319
+ // hour → model → the same two tallies. The live rate-limit windows are not
320
+ // calendar days — a rolling five hours, and a week that resets on a
321
+ // Thursday evening — so the only bucket either of them can be cut out of is
322
+ // the hour. Same projection as `dayModel`, off the same cross key.
323
+ const hourModel = new Map();
324
+ const hourModelCost = new Map();
325
+ /** day → model → subagents STARTED. A count of events, not of tokens. */
326
+ const dayAgents = new Map();
327
+ /** day → repo → requests (all, and priced) and money: the price per
328
+ * request over time, per repo. Same cross key, one more projection. */
329
+ const dayRepo = new Map();
330
+ // repo → model → the same two tallies. The bar list says a repo is 42% of
331
+ // the tokens and cannot say why it is 61% of the money; this is the answer,
332
+ // and it is the same cross key the loop is already reading.
333
+ const repoModel = new Map();
334
+ const repoModelCost = new Map();
335
+ const nest = (m, day, key, blank) => {
336
+ const inner = m.get(day) ?? m.set(day, new Map()).get(day);
337
+ return inner.get(key) ?? inner.set(key, blank()).get(key);
338
+ };
339
+ let fastTurns = 0;
340
+ /**
341
+ * Every re-write of an expired cache on this desktop, priced per (model,
342
+ * day) exactly like everything else in this loop.
343
+ *
344
+ * Two money figures because they answer two questions: `usd` is what those
345
+ * writes cost, and `premiumUsd` is what they cost ABOVE reading the same
346
+ * tokens back — the part that the CLOCK spent rather than the work. The
347
+ * second is the one worth putting on a screen: the first includes tokens
348
+ * the conversation was always going to send.
349
+ */
350
+ const cold = { count: 0, tok: 0, usd: 0, premiumUsd: 0 };
351
+ /** conversation id → its spend, agents folded in. Keyed by slug too: two
352
+ * project directories never share a conversation, but nothing enforces it. */
353
+ const convos = new Map();
354
+ /** conversation key → the agents' slice by model ("Opus subagents: N% of this session's cost"). */
355
+ const agentModel = new Map();
356
+ for (const [slug, files] of Object.entries(this.store)) {
357
+ for (const [fileKey, sum] of Object.entries(files)) {
358
+ if (sum.sub)
359
+ subagentLogs++;
360
+ else
361
+ conversations++;
362
+ if (sum.f)
363
+ fastTurns += sum.f;
364
+ const repoKey = sum.w ? repoOfWorktree(sum.w) : slug;
365
+ const convoId = fileKey.split("/")[0];
366
+ const cKey = `${slug}\u0000${convoId}`;
367
+ const cv = convos.get(cKey) ?? convos.set(cKey, {
368
+ id: convoId, repo: repoKey, label: basename(repoKey) || repoKey, firstAt: null, lastAt: null,
369
+ totals: zeroTotals(), cost: zeroCost(), agentTotals: zeroTotals(), agentCost: zeroCost(), agents: 0,
370
+ first: "", last: "",
371
+ }).get(cKey);
372
+ // The parent's own worktree names the conversation's repo; an agent
373
+ // file seen first only holds the place until the parent arrives.
374
+ if (!sum.sub && sum.w) {
375
+ cv.repo = repoKey;
376
+ cv.label = basename(repoKey) || repoKey;
377
+ }
378
+ if (sum.sub)
379
+ cv.agents++;
380
+ // A subagent transcript is ONE launch, dated by the earliest bucket it
381
+ // has and attributed to the model that ran in that bucket. The file is
382
+ // the event; counting its buckets would count a long agent several
383
+ // times, and counting its turns would be the tokens again.
384
+ if (sum.sub) {
385
+ let earliest = "";
386
+ let earliestModel = "unknown";
387
+ for (const key of Object.keys(sum.x)) {
388
+ const [hour, model] = uncross(key);
389
+ if (!hour)
390
+ continue;
391
+ if (!earliest || hour < earliest) {
392
+ earliest = hour;
393
+ earliestModel = model;
394
+ }
395
+ }
396
+ if (earliest) {
397
+ const day = earliest.slice(0, 10);
398
+ const inner = dayAgents.get(day) ?? dayAgents.set(day, new Map()).get(day);
399
+ inner.set(earliestModel, (inner.get(earliestModel) ?? 0) + 1);
400
+ }
401
+ }
402
+ for (const [key, r] of Object.entries(sum.r ?? {})) {
403
+ const [hour, model] = uncross(key);
404
+ const day = hour.slice(0, 10);
405
+ cold.count += r[0];
406
+ cold.tok += r[1];
407
+ const wrote = costOf({ input: 0, output: 0, cacheRead: 0, cacheWrite: r[1], cacheWrite1h: r[2] }, model, day || undefined);
408
+ const asRead = costOf({ input: 0, output: 0, cacheRead: r[1], cacheWrite: 0, cacheWrite1h: 0 }, model, day || undefined);
409
+ // An unpriced model adds to neither figure and is NOT counted into
410
+ // `unpriced` here: those tokens are already in it through the tally
411
+ // loop below, and counting them twice would make the "not priced"
412
+ // line bigger than the traffic it describes.
413
+ if (wrote) {
414
+ cold.usd += wrote.total;
415
+ if (asRead) {
416
+ const prem = Math.max(0, wrote.total - asRead.total);
417
+ cold.premiumUsd += prem;
418
+ if (prem > 0)
419
+ cv.coldUsd = (cv.coldUsd ?? 0) + prem;
420
+ }
421
+ }
422
+ }
423
+ for (const [key, t] of Object.entries(sum.x)) {
424
+ const [hour, model] = uncross(key);
425
+ // The day is a PREFIX of the hour, never a second derivation — see
426
+ // `crossKey`. A record whose timestamp would not parse carries the
427
+ // empty key and is counted into the totals and the model/repo rows
428
+ // but into no time bucket at all, which is the same thing version 3
429
+ // did with its empty day.
430
+ const day = hour.slice(0, 10);
431
+ const slot = hour.length >= 13 ? Number(hour.slice(11, 13)) : NaN;
432
+ const v = tallyToTotals(t);
433
+ if (day)
434
+ addTotals(days.get(day) ?? days.set(day, zeroTotals()).get(day), v);
435
+ if (hour)
436
+ addTotals(hours.get(hour) ?? hours.set(hour, zeroTotals()).get(hour), v);
437
+ if (slot >= 0 && slot < 24)
438
+ addTotals(slots[slot], v);
439
+ addTotals(models.get(model) ?? models.set(model, zeroTotals()).get(model), v);
440
+ addTotals(repos.get(repoKey) ?? repos.set(repoKey, zeroTotals()).get(repoKey), v);
441
+ addTotals(totals, v);
442
+ // A slice OF the total, never a second total — see the DTO.
443
+ if (sum.sub)
444
+ addTotals(subagents, v);
445
+ if (day)
446
+ addTotals(nest(dayModel, day, model, zeroTotals), v);
447
+ if (hour)
448
+ addTotals(nest(hourModel, hour, model, zeroTotals), v);
449
+ const dr = day ? nest(dayRepo, day, repoKey, () => ({ turns: 0, pricedTurns: 0, usd: 0, ctxTok: 0 })) : null;
450
+ // `cacheWrite1h` is a SUBSET of `cacheWrite`, so it is not added again.
451
+ if (dr) {
452
+ dr.turns += v.turns;
453
+ dr.ctxTok += v.input + v.cacheRead + v.cacheWrite;
454
+ }
455
+ addTotals(nest(repoModel, repoKey, model, zeroTotals), v);
456
+ addTotals(cv.totals, v);
457
+ if (sum.sub)
458
+ addTotals(cv.agentTotals, v);
459
+ const am = sum.sub ? nest(agentModel, cKey, model, () => ({ totals: zeroTotals(), cost: zeroCost() })) : null;
460
+ if (am)
461
+ addTotals(am.totals, v);
462
+ if (hour) {
463
+ if (!cv.first || hour < cv.first)
464
+ cv.first = hour;
465
+ if (!cv.last || hour > cv.last)
466
+ cv.last = hour;
467
+ }
468
+ const c = costOf(v, model, day || undefined);
469
+ if (!c) {
470
+ addTotals(unpriced, v);
471
+ continue;
472
+ }
473
+ if (dr) {
474
+ dr.pricedTurns += v.turns;
475
+ dr.usd += c.total;
476
+ }
477
+ addCost(cv.cost, c);
478
+ if (sum.sub)
479
+ addCost(cv.agentCost, c);
480
+ if (am)
481
+ addCost(am.cost, c);
482
+ if (day)
483
+ addCost(nest(dayModelCost, day, model, zeroCost), c);
484
+ if (hour)
485
+ addCost(nest(hourModelCost, hour, model, zeroCost), c);
486
+ addCost(nest(repoModelCost, repoKey, model, zeroCost), c);
487
+ addCost(cost, c);
488
+ if (sum.sub)
489
+ addCost(subCost, c);
490
+ if (day)
491
+ addCost(dayCost.get(day) ?? dayCost.set(day, zeroCost()).get(day), c);
492
+ if (hour)
493
+ addCost(hourCost.get(hour) ?? hourCost.set(hour, zeroCost()).get(hour), c);
494
+ if (slot >= 0 && slot < 24)
495
+ addCost(slotCost[slot], c);
496
+ addCost(modelCost.get(model) ?? modelCost.set(model, zeroCost()).get(model), c);
497
+ addCost(repoCost.get(repoKey) ?? repoCost.set(repoKey, zeroCost()).get(repoKey), c);
498
+ }
499
+ }
500
+ }
501
+ // Ranked by money, tokens breaking ties and standing in where nothing was
502
+ // priced — an unpriced conversation is not a free one.
503
+ const top = [...convos.entries()]
504
+ .filter(([, c]) => tokenTotal(c.totals) > 0)
505
+ .sort(([, a], [, b]) => (b.cost.total - a.cost.total) || (tokenTotal(b.totals) - tokenTotal(a.totals)))
506
+ .slice(0, TOP_CONVOS)
507
+ .map(([cKey, { first, last, ...c }]) => {
508
+ // Absent, not `[]`, on a conversation with no agents.
509
+ const am = agentModel.get(cKey);
510
+ return {
511
+ ...c, firstAt: first ? hourToMs(first) : null, lastAt: last ? hourToMs(last) : null,
512
+ ...(am?.size ? {
513
+ agentByModel: [...am.entries()].map(([model, b]) => ({ model, totals: b.totals, cost: b.cost }))
514
+ .sort((x, y) => tokenTotal(y.totals) - tokenTotal(x.totals)),
515
+ } : {}),
516
+ };
517
+ });
518
+ const dayRows = [...days.entries()]
519
+ .map(([day, t]) => ({
520
+ day, ...t, cost: dayCost.get(day) ?? zeroCost(),
521
+ // Descending by tokens inside the day, so the band order is stable
522
+ // where the mix is stable; the SCREEN still assigns colour off the
523
+ // all-time model ranking, because a per-day rank would repaint the
524
+ // stack every column.
525
+ byModel: [...(dayModel.get(day) ?? new Map()).entries()]
526
+ .map(([model, tt]) => ({ model, totals: tt, cost: dayModelCost.get(day)?.get(model) ?? zeroCost() }))
527
+ .sort((x, y) => tokenTotal(y.totals) - tokenTotal(x.totals)),
528
+ // An empty array is a day on which none ran — a reading. It is only
529
+ // absent where the whole field is (an older host).
530
+ agents: [...(dayAgents.get(day) ?? new Map()).entries()]
531
+ .map(([model, count]) => ({ model, count }))
532
+ .sort((x, y) => y.count - x.count),
533
+ byRepo: [...(dayRepo.get(day) ?? new Map()).entries()]
534
+ .map(([repo, r]) => ({ repo, ...r }))
535
+ .sort((x, y) => y.usd - x.usd),
536
+ }))
537
+ .sort((a, b) => (a.day < b.day ? -1 : a.day > b.day ? 1 : 0));
538
+ // The hour rows are cut to a recent window on the way OUT, not on the way
539
+ // in: the store keeps every hour, so widening `WATERPLANE_TOKENSTATS_HOUR_DAYS`
540
+ // is a restart rather than a rescan, and the time-of-day profile above is
541
+ // built from all of them either way.
542
+ const cutFrom = new Date();
543
+ cutFrom.setHours(0, 0, 0, 0);
544
+ cutFrom.setDate(cutFrom.getDate() - (HOURS_DAYS - 1));
545
+ const cutKey = localHour(cutFrom.getTime()).slice(0, 10);
546
+ const hourRows = [...hours.entries()]
547
+ .filter(([hour]) => hour.slice(0, 10) >= cutKey)
548
+ .map(([hour, t]) => ({
549
+ hour, ...t, cost: hourCost.get(hour) ?? zeroCost(),
550
+ // Descending by tokens inside the hour, for the same reason the day
551
+ // rows are: a stable order where the mix is stable. Colour is still
552
+ // assigned off the all-time model ranking by the screen.
553
+ byModel: [...(hourModel.get(hour) ?? new Map()).entries()]
554
+ .map(([model, tt]) => ({ model, totals: tt, cost: hourModelCost.get(hour)?.get(model) ?? zeroCost() }))
555
+ .sort((x, y) => tokenTotal(y.totals) - tokenTotal(x.totals)),
556
+ }))
557
+ .sort((a, b) => (a.hour < b.hour ? -1 : a.hour > b.hour ? 1 : 0));
558
+ // Stated from the ROWS, not from the cut: with nothing in the window the
559
+ // honest answer is "no hours", and a `hoursFrom` pointing at a fortnight
560
+ // that holds nothing would read as a fortnight off.
561
+ const hoursFrom = hourRows.length ? dayToMs(hourRows[0].hour.slice(0, 10)) : null;
562
+ const slotRows = slots.map((t, hour) => ({ hour, ...t, cost: slotCost[hour] }));
563
+ const group = (m, costs, label,
564
+ /** The model split, for the groups it means something on. A MODEL row's
565
+ * split would be the row itself, so only the repos get one. */
566
+ split, splitCost) => [...m.entries()]
567
+ .map(([key, t]) => ({
568
+ key, label: label(key), ...t, cost: costs.get(key) ?? zeroCost(), priced: isPriced(key),
569
+ ...(split ? {
570
+ byModel: [...(split.get(key) ?? new Map()).entries()]
571
+ .map(([model, tt]) => ({ model, totals: tt, cost: splitCost?.get(key)?.get(model) ?? zeroCost() }))
572
+ .sort((x, y) => tokenTotal(y.totals) - tokenTotal(x.totals)),
573
+ } : {}),
574
+ }))
575
+ .sort((a, b) => tokenTotal(b) - tokenTotal(a));
576
+ // First and last are derived from the DAY keys rather than kept as instants:
577
+ // the buckets are the only thing the store holds, and a span that disagreed
578
+ // with the chart under it would be the readout contradicting itself.
579
+ const first = dayRows[0]?.day ?? null;
580
+ const last = dayRows[dayRows.length - 1]?.day ?? null;
581
+ const ms = (d) => {
582
+ if (!d)
583
+ return null;
584
+ const [y, mo, da] = d.split("-").map(Number);
585
+ return new Date(y, (mo || 1) - 1, da || 1).getTime();
586
+ };
587
+ return {
588
+ totals,
589
+ days: dayRows,
590
+ hours: hourRows,
591
+ hoursFrom,
592
+ hourOfDay: slotRows,
593
+ // Labelled by the alias, not the raw id: the log records dated snapshots
594
+ // (`claude-haiku-4-5-20251001`) and context variants, which are the same
595
+ // model at the same price. The raw id stays as the row's `key`, so the
596
+ // tooltip can still show exactly what ran.
597
+ models: group(models, modelCost, (k) => normalizeModel(k) ?? k),
598
+ repos: group(repos, repoCost, (k) => basename(k) || k, repoModel, repoModelCost),
599
+ conversations,
600
+ subagents,
601
+ subagentLogs,
602
+ cost,
603
+ subagentCost: subCost,
604
+ unpriced,
605
+ fastTurns,
606
+ coldStarts: {
607
+ count: cold.count,
608
+ tok: cold.tok,
609
+ ...(cold.usd > 0 ? { usd: cold.usd } : {}),
610
+ ...(cold.premiumUsd > 0 ? { premiumUsd: cold.premiumUsd } : {}),
611
+ },
612
+ top,
613
+ pricesAsOf: PRICES_AS_OF,
614
+ firstAt: ms(first),
615
+ lastAt: ms(last),
616
+ scannedAt: this.lastScan,
617
+ logs: this.lastLogs,
618
+ reread: this.lastReread,
619
+ };
620
+ }
621
+ /**
622
+ * The same ledger folded into PAST rate-limit windows — one grid per spec.
623
+ *
624
+ * ── Why this is a second read and not a field on the document ────────────
625
+ *
626
+ * `TokenStatsDoc` ships a bounded fortnight of hours, because the hours are
627
+ * ~24× the rows of the days and a phone caches the whole document. That is
628
+ * enough to cut the window running now and nothing older: a weekly window
629
+ * from July is four months back in a record the wire does not carry. The
630
+ * store, though, keeps every hour it ever saw — so the fold has to happen
631
+ * HERE, and what crosses the wire is one small row per window that had
632
+ * anything in it rather than a megabyte of buckets.
633
+ *
634
+ * ── Why the anchor is a PARAMETER ────────────────────────────────────────
635
+ *
636
+ * Neither the reset instant nor the length of a window is a fact about a
637
+ * ledger of hours: one is scraped off the CLI's own `/usage` screen and the
638
+ * other is a property of the plan. This module folds buckets into a grid
639
+ * somebody else defined and asserts nothing about what the grid means, which
640
+ * is also what keeps the two windows' semantics in ONE place on the phone.
641
+ *
642
+ * Only windows with something in them are returned. A window with no row ran
643
+ * nothing — a reading, drawn as an empty cell — and `oldestHour` is what
644
+ * tells that apart from a window the record does not reach back to.
645
+ */
646
+ async windowSeries(specs, maxAgeMs = 15_000) {
647
+ if (Date.now() - this.lastScan > maxAgeMs) {
648
+ this.inFlight ??= this.refresh().finally(() => { this.inFlight = null; });
649
+ try {
650
+ await this.inFlight;
651
+ }
652
+ catch { /* fold what we already have */ }
653
+ }
654
+ /** spec index → cell index → model → the two tallies. Crossed by model for
655
+ * the reason everything here is: a rate belongs to a model and a day, so a
656
+ * cell priced as a whole would be charged at whichever model happened to
657
+ * come last. */
658
+ const cells = specs.map(() => new Map());
659
+ let oldest = "";
660
+ let newest = "";
661
+ for (const files of Object.values(this.store)) {
662
+ for (const sum of Object.values(files)) {
663
+ for (const [key, tally] of Object.entries(sum.x)) {
664
+ const [hour, model] = uncross(key);
665
+ // A record whose timestamp would not parse carries the empty hour and
666
+ // is in no time bucket at all — the same thing `aggregate()` does
667
+ // with it, and the same reason: a window is an instant, and a row
668
+ // with no instant cannot be put in one.
669
+ if (!hour)
670
+ continue;
671
+ if (!oldest || hour < oldest)
672
+ oldest = hour;
673
+ if (!newest || hour > newest)
674
+ newest = hour;
675
+ const hourMs = hourToMs(hour);
676
+ const day = hour.slice(0, 10);
677
+ const v = tallyToTotals(tally);
678
+ const c = costOf(v, model, day || undefined);
679
+ for (let i = 0; i < specs.length; i++) {
680
+ for (const k of windowCells(hourMs, specs[i].anchor, specs[i].lenMs)) {
681
+ const cell = cells[i].get(k) ?? cells[i].set(k, new Map()).get(k);
682
+ const bag = cell.get(model) ?? cell.set(model, { t: zeroTotals(), c: zeroCost() }).get(model);
683
+ addTotals(bag.t, v);
684
+ // An unpriced model adds tokens and no money — never a zero
685
+ // charge, which reads as free. The window's own `priced` story is
686
+ // the model rows underneath it.
687
+ if (c)
688
+ addCost(bag.c, c);
689
+ }
690
+ }
691
+ }
692
+ }
693
+ }
694
+ const series = specs.map((spec, i) => ({
695
+ id: spec.id,
696
+ anchor: spec.anchor,
697
+ lenMs: spec.lenMs,
698
+ windows: [...cells[i].entries()]
699
+ .map(([back, byModel]) => {
700
+ const totals = zeroTotals();
701
+ const cost = zeroCost();
702
+ const models = [];
703
+ for (const [model, bag] of byModel) {
704
+ addTotals(totals, bag.t);
705
+ addCost(cost, bag.c);
706
+ models.push({ model, totals: bag.t, cost: bag.c });
707
+ }
708
+ return {
709
+ back, ...totals, cost,
710
+ // Descending by tokens, the order every other split here is in, so
711
+ // colour assigned off the all-time ranking still lands on a stable
712
+ // list.
713
+ byModel: models.sort((a, b) => tokenTotal(b.totals) - tokenTotal(a.totals)),
714
+ };
715
+ })
716
+ // Ascending by `back`: the newest window is `back: 0`, and a grid is
717
+ // drawn from one end or the other by the screen, never by the order a
718
+ // Map happened to be filled in.
719
+ .sort((a, b) => a.back - b.back),
720
+ oldestHour: oldest ? hourToMs(oldest) : null,
721
+ newestHour: newest ? hourToMs(newest) : null,
722
+ }));
723
+ return { series, scannedAt: this.lastScan };
724
+ }
725
+ /**
726
+ * The same store folded over an arbitrary `[from, to)` — `GET /api/costwindow`,
727
+ * the "where did this week go" read. The fold and its edge rule are
728
+ * `costwindow.ts`'s; this only brings the store up to date first.
729
+ */
730
+ async costWindow(from, to, meta, maxAgeMs = 15_000) {
731
+ if (Date.now() - this.lastScan > maxAgeMs) {
732
+ this.inFlight ??= this.refresh().finally(() => { this.inFlight = null; });
733
+ try {
734
+ await this.inFlight;
735
+ }
736
+ catch { /* fold what we already have */ }
737
+ }
738
+ return foldCostWindow(this.store, from, to, meta, this.lastScan);
739
+ }
740
+ schedule() {
741
+ if (this.timer || !this.dirty)
742
+ return;
743
+ this.timer = setTimeout(() => { this.timer = null; this.flush(); }, FLUSH_MS);
744
+ this.timer.unref?.();
745
+ }
746
+ /** Write now. Called on the debounce and on SIGTERM — losing it costs a
747
+ * 4.5 s rebuild on the next open, which after a routine restart is exactly
748
+ * the wait this store exists to remove. */
749
+ flush() {
750
+ if (this.timer) {
751
+ clearTimeout(this.timer);
752
+ this.timer = null;
753
+ }
754
+ if (!this.dirty)
755
+ return;
756
+ try {
757
+ writeJsonAtomic(this.path, { v: VERSION, store: this.store });
758
+ this.dirty = false;
759
+ }
760
+ catch { /* a statistics cache is not worth taking the daemon down for */ }
761
+ }
762
+ }
763
+ //# sourceMappingURL=tokenstats.js.map