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.
- package/CHANGELOG.md +1172 -0
- package/DISCLAIMER.md +113 -0
- package/LICENSE +21 -0
- package/NOTICES.md +78 -0
- package/README.md +392 -4
- package/SECURITY.md +388 -0
- package/bin/waterplane.mjs +5 -0
- package/deploy/gh-version +1 -0
- package/deploy/node-version +1 -0
- package/node_modules/@waterplane/shared/dist/agentfiles.d.ts +118 -0
- package/node_modules/@waterplane/shared/dist/agentfiles.js +345 -0
- package/node_modules/@waterplane/shared/dist/agentfiles.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/artifacts.d.ts +213 -0
- package/node_modules/@waterplane/shared/dist/artifacts.js +295 -0
- package/node_modules/@waterplane/shared/dist/artifacts.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/askrules.d.ts +95 -0
- package/node_modules/@waterplane/shared/dist/askrules.js +133 -0
- package/node_modules/@waterplane/shared/dist/askrules.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess/sassapply.d.ts +191 -0
- package/node_modules/@waterplane/shared/dist/assess/sassapply.js +152 -0
- package/node_modules/@waterplane/shared/dist/assess/sassapply.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess/sassclean.d.ts +21 -0
- package/node_modules/@waterplane/shared/dist/assess/sassclean.js +453 -0
- package/node_modules/@waterplane/shared/dist/assess/sassclean.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess/sassio.d.ts +257 -0
- package/node_modules/@waterplane/shared/dist/assess/sassio.js +2 -0
- package/node_modules/@waterplane/shared/dist/assess/sassio.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess/sassslot.d.ts +19 -0
- package/node_modules/@waterplane/shared/dist/assess/sassslot.js +136 -0
- package/node_modules/@waterplane/shared/dist/assess/sassslot.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess/sassvocab.d.ts +115 -0
- package/node_modules/@waterplane/shared/dist/assess/sassvocab.js +98 -0
- package/node_modules/@waterplane/shared/dist/assess/sassvocab.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess/sasswords.d.ts +140 -0
- package/node_modules/@waterplane/shared/dist/assess/sasswords.js +155 -0
- package/node_modules/@waterplane/shared/dist/assess/sasswords.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/assess.d.ts +58 -0
- package/node_modules/@waterplane/shared/dist/assess.js +55 -0
- package/node_modules/@waterplane/shared/dist/assess.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/attach.d.ts +118 -0
- package/node_modules/@waterplane/shared/dist/attach.js +85 -0
- package/node_modules/@waterplane/shared/dist/attach.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/autocompact.d.ts +125 -0
- package/node_modules/@waterplane/shared/dist/autocompact.js +226 -0
- package/node_modules/@waterplane/shared/dist/autocompact.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/backendsources.d.ts +399 -0
- package/node_modules/@waterplane/shared/dist/backendsources.js +3 -0
- package/node_modules/@waterplane/shared/dist/backendsources.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/billing.d.ts +48 -0
- package/node_modules/@waterplane/shared/dist/billing.js +64 -0
- package/node_modules/@waterplane/shared/dist/billing.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/bindconv.d.ts +47 -0
- package/node_modules/@waterplane/shared/dist/bindconv.js +35 -0
- package/node_modules/@waterplane/shared/dist/bindconv.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/bookmark.d.ts +26 -0
- package/node_modules/@waterplane/shared/dist/bookmark.js +40 -0
- package/node_modules/@waterplane/shared/dist/bookmark.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/brand.d.ts +94 -0
- package/node_modules/@waterplane/shared/dist/brand.js +88 -0
- package/node_modules/@waterplane/shared/dist/brand.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/brandmigrate.d.ts +30 -0
- package/node_modules/@waterplane/shared/dist/brandmigrate.js +67 -0
- package/node_modules/@waterplane/shared/dist/brandmigrate.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/budget.d.ts +247 -0
- package/node_modules/@waterplane/shared/dist/budget.js +295 -0
- package/node_modules/@waterplane/shared/dist/budget.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/buildparams.d.ts +146 -0
- package/node_modules/@waterplane/shared/dist/buildparams.js +260 -0
- package/node_modules/@waterplane/shared/dist/buildparams.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/buildscan.d.ts +99 -0
- package/node_modules/@waterplane/shared/dist/buildscan.js +334 -0
- package/node_modules/@waterplane/shared/dist/buildscan.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/burn.d.ts +137 -0
- package/node_modules/@waterplane/shared/dist/burn.js +176 -0
- package/node_modules/@waterplane/shared/dist/burn.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/chord.d.ts +39 -0
- package/node_modules/@waterplane/shared/dist/chord.js +102 -0
- package/node_modules/@waterplane/shared/dist/chord.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/claudeconfig.d.ts +18 -0
- package/node_modules/@waterplane/shared/dist/claudeconfig.js +44 -0
- package/node_modules/@waterplane/shared/dist/claudeconfig.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/claudeversion.d.ts +17 -0
- package/node_modules/@waterplane/shared/dist/claudeversion.js +31 -0
- package/node_modules/@waterplane/shared/dist/claudeversion.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clientframe.d.ts +12 -0
- package/node_modules/@waterplane/shared/dist/clientframe.js +15 -0
- package/node_modules/@waterplane/shared/dist/clientframe.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.d.ts +52 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.js +137 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthcatalog.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.d.ts +58 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js +189 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.d.ts +254 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.js +367 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthrecord.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.d.ts +36 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.js +123 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healthrollup.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.d.ts +101 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.js +103 -0
- package/node_modules/@waterplane/shared/dist/clihealth/healththresholds.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clihealth.d.ts +64 -0
- package/node_modules/@waterplane/shared/dist/clihealth.js +69 -0
- package/node_modules/@waterplane/shared/dist/clihealth.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/clirestart.d.ts +66 -0
- package/node_modules/@waterplane/shared/dist/clirestart.js +82 -0
- package/node_modules/@waterplane/shared/dist/clirestart.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/closed.d.ts +41 -0
- package/node_modules/@waterplane/shared/dist/closed.js +102 -0
- package/node_modules/@waterplane/shared/dist/closed.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/collage.d.ts +132 -0
- package/node_modules/@waterplane/shared/dist/collage.js +198 -0
- package/node_modules/@waterplane/shared/dist/collage.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/contextweight.d.ts +169 -0
- package/node_modules/@waterplane/shared/dist/contextweight.js +247 -0
- package/node_modules/@waterplane/shared/dist/contextweight.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/costwindow.d.ts +216 -0
- package/node_modules/@waterplane/shared/dist/costwindow.js +430 -0
- package/node_modules/@waterplane/shared/dist/costwindow.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/ctxwindow.d.ts +92 -0
- package/node_modules/@waterplane/shared/dist/ctxwindow.js +107 -0
- package/node_modules/@waterplane/shared/dist/ctxwindow.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/deskstorage.d.ts +170 -0
- package/node_modules/@waterplane/shared/dist/deskstorage.js +140 -0
- package/node_modules/@waterplane/shared/dist/deskstorage.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/devices.d.ts +52 -0
- package/node_modules/@waterplane/shared/dist/devices.js +53 -0
- package/node_modules/@waterplane/shared/dist/devices.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/dictate.d.ts +178 -0
- package/node_modules/@waterplane/shared/dist/dictate.js +345 -0
- package/node_modules/@waterplane/shared/dist/dictate.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/dictateterms.d.ts +91 -0
- package/node_modules/@waterplane/shared/dist/dictateterms.js +180 -0
- package/node_modules/@waterplane/shared/dist/dictateterms.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/envresolve.d.ts +30 -0
- package/node_modules/@waterplane/shared/dist/envresolve.js +76 -0
- package/node_modules/@waterplane/shared/dist/envresolve.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/fanoutruns.d.ts +25 -0
- package/node_modules/@waterplane/shared/dist/fanoutruns.js +88 -0
- package/node_modules/@waterplane/shared/dist/fanoutruns.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/followup.d.ts +38 -0
- package/node_modules/@waterplane/shared/dist/followup.js +68 -0
- package/node_modules/@waterplane/shared/dist/followup.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/gallery.d.ts +83 -0
- package/node_modules/@waterplane/shared/dist/gallery.js +94 -0
- package/node_modules/@waterplane/shared/dist/gallery.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/halt.d.ts +46 -0
- package/node_modules/@waterplane/shared/dist/halt.js +34 -0
- package/node_modules/@waterplane/shared/dist/halt.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/healthindex.d.ts +485 -0
- package/node_modules/@waterplane/shared/dist/healthindex.js +677 -0
- package/node_modules/@waterplane/shared/dist/healthindex.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/healthindexresponse.d.ts +36 -0
- package/node_modules/@waterplane/shared/dist/healthindexresponse.js +84 -0
- package/node_modules/@waterplane/shared/dist/healthindexresponse.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/healthspend.d.ts +23 -0
- package/node_modules/@waterplane/shared/dist/healthspend.js +41 -0
- package/node_modules/@waterplane/shared/dist/healthspend.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/hints.d.ts +77 -0
- package/node_modules/@waterplane/shared/dist/hints.js +607 -0
- package/node_modules/@waterplane/shared/dist/hints.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/hosts.d.ts +160 -0
- package/node_modules/@waterplane/shared/dist/hosts.js +316 -0
- package/node_modules/@waterplane/shared/dist/hosts.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/hosturl.d.ts +73 -0
- package/node_modules/@waterplane/shared/dist/hosturl.js +129 -0
- package/node_modules/@waterplane/shared/dist/hosturl.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/index.d.ts +283 -0
- package/node_modules/@waterplane/shared/dist/index.js +305 -0
- package/node_modules/@waterplane/shared/dist/index.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/installlog.d.ts +137 -0
- package/node_modules/@waterplane/shared/dist/installlog.js +367 -0
- package/node_modules/@waterplane/shared/dist/installlog.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/budgetpass.d.ts +103 -0
- package/node_modules/@waterplane/shared/dist/intent/budgetpass.js +185 -0
- package/node_modules/@waterplane/shared/dist/intent/budgetpass.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/clean.d.ts +30 -0
- package/node_modules/@waterplane/shared/dist/intent/clean.js +492 -0
- package/node_modules/@waterplane/shared/dist/intent/clean.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/facts.d.ts +320 -0
- package/node_modules/@waterplane/shared/dist/intent/facts.js +52 -0
- package/node_modules/@waterplane/shared/dist/intent/facts.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/kind.d.ts +194 -0
- package/node_modules/@waterplane/shared/dist/intent/kind.js +230 -0
- package/node_modules/@waterplane/shared/dist/intent/kind.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/row.d.ts +433 -0
- package/node_modules/@waterplane/shared/dist/intent/row.js +75 -0
- package/node_modules/@waterplane/shared/dist/intent/row.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/slot.d.ts +137 -0
- package/node_modules/@waterplane/shared/dist/intent/slot.js +238 -0
- package/node_modules/@waterplane/shared/dist/intent/slot.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/target.d.ts +62 -0
- package/node_modules/@waterplane/shared/dist/intent/target.js +177 -0
- package/node_modules/@waterplane/shared/dist/intent/target.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/types.d.ts +455 -0
- package/node_modules/@waterplane/shared/dist/intent/types.js +27 -0
- package/node_modules/@waterplane/shared/dist/intent/types.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/verdict.d.ts +50 -0
- package/node_modules/@waterplane/shared/dist/intent/verdict.js +431 -0
- package/node_modules/@waterplane/shared/dist/intent/verdict.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent/words.d.ts +236 -0
- package/node_modules/@waterplane/shared/dist/intent/words.js +329 -0
- package/node_modules/@waterplane/shared/dist/intent/words.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/intent.d.ts +69 -0
- package/node_modules/@waterplane/shared/dist/intent.js +65 -0
- package/node_modules/@waterplane/shared/dist/intent.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/itempaths.d.ts +35 -0
- package/node_modules/@waterplane/shared/dist/itempaths.js +55 -0
- package/node_modules/@waterplane/shared/dist/itempaths.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/keyhint.d.ts +32 -0
- package/node_modules/@waterplane/shared/dist/keyhint.js +53 -0
- package/node_modules/@waterplane/shared/dist/keyhint.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/lanroute.d.ts +86 -0
- package/node_modules/@waterplane/shared/dist/lanroute.js +84 -0
- package/node_modules/@waterplane/shared/dist/lanroute.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/launch.d.ts +110 -0
- package/node_modules/@waterplane/shared/dist/launch.js +102 -0
- package/node_modules/@waterplane/shared/dist/launch.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/launchmodes.d.ts +22 -0
- package/node_modules/@waterplane/shared/dist/launchmodes.js +38 -0
- package/node_modules/@waterplane/shared/dist/launchmodes.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/localrt.d.ts +53 -0
- package/node_modules/@waterplane/shared/dist/localrt.js +54 -0
- package/node_modules/@waterplane/shared/dist/localrt.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/localusage.d.ts +35 -0
- package/node_modules/@waterplane/shared/dist/localusage.js +135 -0
- package/node_modules/@waterplane/shared/dist/localusage.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/naming.d.ts +391 -0
- package/node_modules/@waterplane/shared/dist/naming.js +571 -0
- package/node_modules/@waterplane/shared/dist/naming.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/netfuse.d.ts +60 -0
- package/node_modules/@waterplane/shared/dist/netfuse.js +99 -0
- package/node_modules/@waterplane/shared/dist/netfuse.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/netstall.d.ts +163 -0
- package/node_modules/@waterplane/shared/dist/netstall.js +241 -0
- package/node_modules/@waterplane/shared/dist/netstall.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/nodemin.d.ts +18 -0
- package/node_modules/@waterplane/shared/dist/nodemin.js +35 -0
- package/node_modules/@waterplane/shared/dist/nodemin.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/optins.d.ts +122 -0
- package/node_modules/@waterplane/shared/dist/optins.js +252 -0
- package/node_modules/@waterplane/shared/dist/optins.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pad.d.ts +263 -0
- package/node_modules/@waterplane/shared/dist/pad.js +373 -0
- package/node_modules/@waterplane/shared/dist/pad.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pairing.d.ts +120 -0
- package/node_modules/@waterplane/shared/dist/pairing.js +130 -0
- package/node_modules/@waterplane/shared/dist/pairing.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/passive.d.ts +58 -0
- package/node_modules/@waterplane/shared/dist/passive.js +36 -0
- package/node_modules/@waterplane/shared/dist/passive.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/peer.d.ts +311 -0
- package/node_modules/@waterplane/shared/dist/peer.js +390 -0
- package/node_modules/@waterplane/shared/dist/peer.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/period.d.ts +108 -0
- package/node_modules/@waterplane/shared/dist/period.js +263 -0
- package/node_modules/@waterplane/shared/dist/period.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/plugin.d.ts +898 -0
- package/node_modules/@waterplane/shared/dist/plugin.js +196 -0
- package/node_modules/@waterplane/shared/dist/plugin.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pluginfile.d.ts +25 -0
- package/node_modules/@waterplane/shared/dist/pluginfile.js +8 -0
- package/node_modules/@waterplane/shared/dist/pluginfile.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pluginlaunch.d.ts +109 -0
- package/node_modules/@waterplane/shared/dist/pluginlaunch.js +3 -0
- package/node_modules/@waterplane/shared/dist/pluginlaunch.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pluginmaturity.d.ts +26 -0
- package/node_modules/@waterplane/shared/dist/pluginmaturity.js +32 -0
- package/node_modules/@waterplane/shared/dist/pluginmaturity.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pluginreadings.d.ts +43 -0
- package/node_modules/@waterplane/shared/dist/pluginreadings.js +5 -0
- package/node_modules/@waterplane/shared/dist/pluginreadings.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pricing.d.ts +249 -0
- package/node_modules/@waterplane/shared/dist/pricing.js +388 -0
- package/node_modules/@waterplane/shared/dist/pricing.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/promptid.d.ts +48 -0
- package/node_modules/@waterplane/shared/dist/promptid.js +116 -0
- package/node_modules/@waterplane/shared/dist/promptid.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/ptysize.d.ts +74 -0
- package/node_modules/@waterplane/shared/dist/ptysize.js +77 -0
- package/node_modules/@waterplane/shared/dist/ptysize.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queuebind.d.ts +40 -0
- package/node_modules/@waterplane/shared/dist/queue/queuebind.js +70 -0
- package/node_modules/@waterplane/shared/dist/queue/queuebind.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueentry.d.ts +175 -0
- package/node_modules/@waterplane/shared/dist/queue/queueentry.js +4 -0
- package/node_modules/@waterplane/shared/dist/queue/queueentry.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queuelane.d.ts +65 -0
- package/node_modules/@waterplane/shared/dist/queue/queuelane.js +45 -0
- package/node_modules/@waterplane/shared/dist/queue/queuelane.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueplan.d.ts +180 -0
- package/node_modules/@waterplane/shared/dist/queue/queueplan.js +169 -0
- package/node_modules/@waterplane/shared/dist/queue/queueplan.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueretarget.d.ts +61 -0
- package/node_modules/@waterplane/shared/dist/queue/queueretarget.js +94 -0
- package/node_modules/@waterplane/shared/dist/queue/queueretarget.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueretry.d.ts +61 -0
- package/node_modules/@waterplane/shared/dist/queue/queueretry.js +66 -0
- package/node_modules/@waterplane/shared/dist/queue/queueretry.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueserial.d.ts +154 -0
- package/node_modules/@waterplane/shared/dist/queue/queueserial.js +169 -0
- package/node_modules/@waterplane/shared/dist/queue/queueserial.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueuploads.d.ts +65 -0
- package/node_modules/@waterplane/shared/dist/queue/queueuploads.js +79 -0
- package/node_modules/@waterplane/shared/dist/queue/queueuploads.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queuewords.d.ts +22 -0
- package/node_modules/@waterplane/shared/dist/queue/queuewords.js +55 -0
- package/node_modules/@waterplane/shared/dist/queue/queuewords.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue.d.ts +13 -0
- package/node_modules/@waterplane/shared/dist/queue.js +44 -0
- package/node_modules/@waterplane/shared/dist/queue.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/repocolor.d.ts +159 -0
- package/node_modules/@waterplane/shared/dist/repocolor.js +261 -0
- package/node_modules/@waterplane/shared/dist/repocolor.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/repohealth.d.ts +640 -0
- package/node_modules/@waterplane/shared/dist/repohealth.js +117 -0
- package/node_modules/@waterplane/shared/dist/repohealth.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/repohealthread.d.ts +156 -0
- package/node_modules/@waterplane/shared/dist/repohealthread.js +680 -0
- package/node_modules/@waterplane/shared/dist/repohealthread.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/requirements.d.ts +81 -0
- package/node_modules/@waterplane/shared/dist/requirements.js +191 -0
- package/node_modules/@waterplane/shared/dist/requirements.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/rootchoice.d.ts +52 -0
- package/node_modules/@waterplane/shared/dist/rootchoice.js +18 -0
- package/node_modules/@waterplane/shared/dist/rootchoice.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedaction.d.ts +106 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedaction.js +14 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedaction.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedclean.d.ts +6 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedclean.js +180 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedclean.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedfire.d.ts +76 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedfire.js +122 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedfire.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.d.ts +78 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.js +98 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedhorizon.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedrule.d.ts +219 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedrule.js +162 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedrule.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedtext.d.ts +37 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedtext.js +119 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedtext.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedwhen.d.ts +54 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedwhen.js +70 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedwhen.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedzone.d.ts +76 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedzone.js +159 -0
- package/node_modules/@waterplane/shared/dist/schedule/schedzone.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/schedule.d.ts +44 -0
- package/node_modules/@waterplane/shared/dist/schedule.js +43 -0
- package/node_modules/@waterplane/shared/dist/schedule.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/screenlog.d.ts +65 -0
- package/node_modules/@waterplane/shared/dist/screenlog.js +169 -0
- package/node_modules/@waterplane/shared/dist/screenlog.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sendstamp.d.ts +85 -0
- package/node_modules/@waterplane/shared/dist/sendstamp.js +96 -0
- package/node_modules/@waterplane/shared/dist/sendstamp.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessionbudget.d.ts +162 -0
- package/node_modules/@waterplane/shared/dist/sessionbudget.js +213 -0
- package/node_modules/@waterplane/shared/dist/sessionbudget.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costcold.d.ts +99 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costcold.js +94 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costcold.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.d.ts +125 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.js +184 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costcompact.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.d.ts +21 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.js +31 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costofseries.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costreading.d.ts +174 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costreading.js +302 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costreading.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.d.ts +209 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.js +128 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costtypes.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costwords.d.ts +169 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costwords.js +262 -0
- package/node_modules/@waterplane/shared/dist/sessioncost/costwords.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sessioncost.d.ts +52 -0
- package/node_modules/@waterplane/shared/dist/sessioncost.js +51 -0
- package/node_modules/@waterplane/shared/dist/sessioncost.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/settings.d.ts +136 -0
- package/node_modules/@waterplane/shared/dist/settings.js +303 -0
- package/node_modules/@waterplane/shared/dist/settings.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/shells.d.ts +140 -0
- package/node_modules/@waterplane/shared/dist/shells.js +257 -0
- package/node_modules/@waterplane/shared/dist/shells.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/slash.d.ts +47 -0
- package/node_modules/@waterplane/shared/dist/slash.js +166 -0
- package/node_modules/@waterplane/shared/dist/slash.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sourceshape.d.ts +27 -0
- package/node_modules/@waterplane/shared/dist/sourceshape.js +141 -0
- package/node_modules/@waterplane/shared/dist/sourceshape.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/spendwarn.d.ts +37 -0
- package/node_modules/@waterplane/shared/dist/spendwarn.js +79 -0
- package/node_modules/@waterplane/shared/dist/spendwarn.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/statedir.d.ts +11 -0
- package/node_modules/@waterplane/shared/dist/statedir.js +34 -0
- package/node_modules/@waterplane/shared/dist/statedir.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/stream.d.ts +135 -0
- package/node_modules/@waterplane/shared/dist/stream.js +117 -0
- package/node_modules/@waterplane/shared/dist/stream.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sweep.d.ts +156 -0
- package/node_modules/@waterplane/shared/dist/sweep.js +193 -0
- package/node_modules/@waterplane/shared/dist/sweep.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/sweepfamilies.d.ts +56 -0
- package/node_modules/@waterplane/shared/dist/sweepfamilies.js +140 -0
- package/node_modules/@waterplane/shared/dist/sweepfamilies.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/termpalette.d.ts +17 -0
- package/node_modules/@waterplane/shared/dist/termpalette.js +5 -0
- package/node_modules/@waterplane/shared/dist/termpalette.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/themeoverlay.d.ts +111 -0
- package/node_modules/@waterplane/shared/dist/themeoverlay.js +328 -0
- package/node_modules/@waterplane/shared/dist/themeoverlay.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/tokens.d.ts +198 -0
- package/node_modules/@waterplane/shared/dist/tokens.js +320 -0
- package/node_modules/@waterplane/shared/dist/tokens.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/transcriptfold.d.ts +50 -0
- package/node_modules/@waterplane/shared/dist/transcriptfold.js +87 -0
- package/node_modules/@waterplane/shared/dist/transcriptfold.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/urls.d.ts +53 -0
- package/node_modules/@waterplane/shared/dist/urls.js +150 -0
- package/node_modules/@waterplane/shared/dist/urls.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/usagesources.d.ts +88 -0
- package/node_modules/@waterplane/shared/dist/usagesources.js +198 -0
- package/node_modules/@waterplane/shared/dist/usagesources.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/windowadvice.d.ts +7 -0
- package/node_modules/@waterplane/shared/dist/windowadvice.js +50 -0
- package/node_modules/@waterplane/shared/dist/windowadvice.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/backend.d.ts +223 -0
- package/node_modules/@waterplane/shared/dist/wire/backend.js +18 -0
- package/node_modules/@waterplane/shared/dist/wire/backend.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/backendtokens.d.ts +99 -0
- package/node_modules/@waterplane/shared/dist/wire/backendtokens.js +11 -0
- package/node_modules/@waterplane/shared/dist/wire/backendtokens.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/capture.d.ts +380 -0
- package/node_modules/@waterplane/shared/dist/wire/capture.js +46 -0
- package/node_modules/@waterplane/shared/dist/wire/capture.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/costwindow.d.ts +143 -0
- package/node_modules/@waterplane/shared/dist/wire/costwindow.js +16 -0
- package/node_modules/@waterplane/shared/dist/wire/costwindow.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/install.d.ts +172 -0
- package/node_modules/@waterplane/shared/dist/wire/install.js +30 -0
- package/node_modules/@waterplane/shared/dist/wire/install.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/intent.d.ts +187 -0
- package/node_modules/@waterplane/shared/dist/wire/intent.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/intent.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/localrt.d.ts +78 -0
- package/node_modules/@waterplane/shared/dist/wire/localrt.js +21 -0
- package/node_modules/@waterplane/shared/dist/wire/localrt.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/localusage.d.ts +121 -0
- package/node_modules/@waterplane/shared/dist/wire/localusage.js +23 -0
- package/node_modules/@waterplane/shared/dist/wire/localusage.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.d.ts +177 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientbacklog.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.d.ts +344 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clienthost.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.d.ts +307 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientsession.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.d.ts +18 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.js +5 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientupdates.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.d.ts +478 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/clientwork.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.d.ts +488 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.d.ts +338 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hosttools.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.d.ts +16 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostupdates.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages.d.ts +25 -0
- package/node_modules/@waterplane/shared/dist/wire/messages.js +18 -0
- package/node_modules/@waterplane/shared/dist/wire/messages.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/notify.d.ts +145 -0
- package/node_modules/@waterplane/shared/dist/wire/notify.js +96 -0
- package/node_modules/@waterplane/shared/dist/wire/notify.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/notifylink.d.ts +36 -0
- package/node_modules/@waterplane/shared/dist/wire/notifylink.js +44 -0
- package/node_modules/@waterplane/shared/dist/wire/notifylink.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/onboard.d.ts +121 -0
- package/node_modules/@waterplane/shared/dist/wire/onboard.js +11 -0
- package/node_modules/@waterplane/shared/dist/wire/onboard.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/repo.d.ts +456 -0
- package/node_modules/@waterplane/shared/dist/wire/repo.js +30 -0
- package/node_modules/@waterplane/shared/dist/wire/repo.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/sent.d.ts +127 -0
- package/node_modules/@waterplane/shared/dist/wire/sent.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/sent.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/archive.d.ts +286 -0
- package/node_modules/@waterplane/shared/dist/wire/session/archive.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/session/archive.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/context.d.ts +298 -0
- package/node_modules/@waterplane/shared/dist/wire/session/context.js +6 -0
- package/node_modules/@waterplane/shared/dist/wire/session/context.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/contextspark.d.ts +402 -0
- package/node_modules/@waterplane/shared/dist/wire/session/contextspark.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/session/contextspark.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/delivery.d.ts +114 -0
- package/node_modules/@waterplane/shared/dist/wire/session/delivery.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/session/delivery.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/info.d.ts +427 -0
- package/node_modules/@waterplane/shared/dist/wire/session/info.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/session/info.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/launch.d.ts +332 -0
- package/node_modules/@waterplane/shared/dist/wire/session/launch.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/session/launch.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session/promptbox.d.ts +181 -0
- package/node_modules/@waterplane/shared/dist/wire/session/promptbox.js +2 -0
- package/node_modules/@waterplane/shared/dist/wire/session/promptbox.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/session.d.ts +16 -0
- package/node_modules/@waterplane/shared/dist/wire/session.js +10 -0
- package/node_modules/@waterplane/shared/dist/wire/session.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/slash.d.ts +31 -0
- package/node_modules/@waterplane/shared/dist/wire/slash.js +9 -0
- package/node_modules/@waterplane/shared/dist/wire/slash.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/sysstat.d.ts +226 -0
- package/node_modules/@waterplane/shared/dist/wire/sysstat.js +47 -0
- package/node_modules/@waterplane/shared/dist/wire/sysstat.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/telemetry.d.ts +645 -0
- package/node_modules/@waterplane/shared/dist/wire/telemetry.js +3 -0
- package/node_modules/@waterplane/shared/dist/wire/telemetry.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/transcript.d.ts +327 -0
- package/node_modules/@waterplane/shared/dist/wire/transcript.js +60 -0
- package/node_modules/@waterplane/shared/dist/wire/transcript.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/updates.d.ts +130 -0
- package/node_modules/@waterplane/shared/dist/wire/updates.js +52 -0
- package/node_modules/@waterplane/shared/dist/wire/updates.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/work.d.ts +699 -0
- package/node_modules/@waterplane/shared/dist/wire/work.js +22 -0
- package/node_modules/@waterplane/shared/dist/wire/work.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/working.d.ts +70 -0
- package/node_modules/@waterplane/shared/dist/working.js +208 -0
- package/node_modules/@waterplane/shared/dist/working.js.map +1 -0
- package/node_modules/@waterplane/shared/package.json +17 -0
- package/npm-shrinkwrap.json +250 -0
- package/package.json +33 -6
- package/packages/extensions/copilot-usage/waterplane-plugin.json +9 -0
- package/packages/extensions/ocr/assets/deu.traineddata.gz +0 -0
- package/packages/extensions/ocr/assets/eng.traineddata.gz +0 -0
- package/packages/extensions/ocr/assets/manifest.json +44 -0
- package/packages/extensions/ocr/assets/tesseract-core-lstm.wasm.js +191 -0
- package/packages/extensions/ocr/assets/tesseract-core-simd-lstm.wasm.js +191 -0
- package/packages/extensions/ocr/assets/worker.min.js +3 -0
- package/packages/extensions/ocr/waterplane-plugin.json +11 -0
- package/packages/extensions/requirements/waterplane-plugin.json +9 -0
- package/packages/extensions/token-stats/waterplane-plugin.json +8 -0
- package/packages/host/dist/acks.d.ts +119 -0
- package/packages/host/dist/acks.js +268 -0
- package/packages/host/dist/acks.js.map +1 -0
- package/packages/host/dist/agentfollowup.d.ts +45 -0
- package/packages/host/dist/agentfollowup.js +77 -0
- package/packages/host/dist/agentfollowup.js.map +1 -0
- package/packages/host/dist/agentintents.d.ts +278 -0
- package/packages/host/dist/agentintents.js +509 -0
- package/packages/host/dist/agentintents.js.map +1 -0
- package/packages/host/dist/agents.d.ts +112 -0
- package/packages/host/dist/agents.js +517 -0
- package/packages/host/dist/agents.js.map +1 -0
- package/packages/host/dist/agentwatch.d.ts +42 -0
- package/packages/host/dist/agentwatch.js +35 -0
- package/packages/host/dist/agentwatch.js.map +1 -0
- package/packages/host/dist/androidenv.d.ts +80 -0
- package/packages/host/dist/androidenv.js +344 -0
- package/packages/host/dist/androidenv.js.map +1 -0
- package/packages/host/dist/answergate.d.ts +191 -0
- package/packages/host/dist/answergate.js +321 -0
- package/packages/host/dist/answergate.js.map +1 -0
- package/packages/host/dist/api.d.ts +19 -0
- package/packages/host/dist/api.js +62 -0
- package/packages/host/dist/api.js.map +1 -0
- package/packages/host/dist/apkcheck.d.ts +36 -0
- package/packages/host/dist/apkcheck.js +290 -0
- package/packages/host/dist/apkcheck.js.map +1 -0
- package/packages/host/dist/appready.d.ts +8 -0
- package/packages/host/dist/appready.js +16 -0
- package/packages/host/dist/appready.js.map +1 -0
- package/packages/host/dist/archive.d.ts +95 -0
- package/packages/host/dist/archive.js +318 -0
- package/packages/host/dist/archive.js.map +1 -0
- package/packages/host/dist/artifacts.d.ts +38 -0
- package/packages/host/dist/artifacts.js +315 -0
- package/packages/host/dist/artifacts.js.map +1 -0
- package/packages/host/dist/askbox.d.ts +116 -0
- package/packages/host/dist/askbox.js +341 -0
- package/packages/host/dist/askbox.js.map +1 -0
- package/packages/host/dist/askrules.d.ts +38 -0
- package/packages/host/dist/askrules.js +139 -0
- package/packages/host/dist/askrules.js.map +1 -0
- package/packages/host/dist/assess/hassapply.d.ts +127 -0
- package/packages/host/dist/assess/hassapply.js +482 -0
- package/packages/host/dist/assess/hassapply.js.map +1 -0
- package/packages/host/dist/assess/hassexec.d.ts +160 -0
- package/packages/host/dist/assess/hassexec.js +178 -0
- package/packages/host/dist/assess/hassexec.js.map +1 -0
- package/packages/host/dist/assess/hassinput.d.ts +80 -0
- package/packages/host/dist/assess/hassinput.js +264 -0
- package/packages/host/dist/assess/hassinput.js.map +1 -0
- package/packages/host/dist/assess/hassknobs.d.ts +66 -0
- package/packages/host/dist/assess/hassknobs.js +69 -0
- package/packages/host/dist/assess/hassknobs.js.map +1 -0
- package/packages/host/dist/assess/hassprogress.d.ts +30 -0
- package/packages/host/dist/assess/hassprogress.js +165 -0
- package/packages/host/dist/assess/hassprogress.js.map +1 -0
- package/packages/host/dist/assess/hassrun.d.ts +39 -0
- package/packages/host/dist/assess/hassrun.js +269 -0
- package/packages/host/dist/assess/hassrun.js.map +1 -0
- package/packages/host/dist/assess/hassstore.d.ts +77 -0
- package/packages/host/dist/assess/hassstore.js +187 -0
- package/packages/host/dist/assess/hassstore.js.map +1 -0
- package/packages/host/dist/assess/hassutil.d.ts +28 -0
- package/packages/host/dist/assess/hassutil.js +53 -0
- package/packages/host/dist/assess/hassutil.js.map +1 -0
- package/packages/host/dist/assess.d.ts +60 -0
- package/packages/host/dist/assess.js +58 -0
- package/packages/host/dist/assess.js.map +1 -0
- package/packages/host/dist/auth.d.ts +93 -0
- package/packages/host/dist/auth.js +276 -0
- package/packages/host/dist/auth.js.map +1 -0
- package/packages/host/dist/authroutes.d.ts +36 -0
- package/packages/host/dist/authroutes.js +108 -0
- package/packages/host/dist/authroutes.js.map +1 -0
- package/packages/host/dist/autopull.d.ts +107 -0
- package/packages/host/dist/autopull.js +248 -0
- package/packages/host/dist/autopull.js.map +1 -0
- package/packages/host/dist/backends/claude-endpoint.d.ts +98 -0
- package/packages/host/dist/backends/claude-endpoint.js +347 -0
- package/packages/host/dist/backends/claude-endpoint.js.map +1 -0
- package/packages/host/dist/backends/claude-local.d.ts +51 -0
- package/packages/host/dist/backends/claude-local.js +221 -0
- package/packages/host/dist/backends/claude-local.js.map +1 -0
- package/packages/host/dist/backends/claude-sources.d.ts +53 -0
- package/packages/host/dist/backends/claude-sources.js +68 -0
- package/packages/host/dist/backends/claude-sources.js.map +1 -0
- package/packages/host/dist/backends/claude.d.ts +45 -0
- package/packages/host/dist/backends/claude.js +248 -0
- package/packages/host/dist/backends/claude.js.map +1 -0
- package/packages/host/dist/backends/claudemodels.d.ts +19 -0
- package/packages/host/dist/backends/claudemodels.js +122 -0
- package/packages/host/dist/backends/claudemodels.js.map +1 -0
- package/packages/host/dist/backends/derive.d.ts +81 -0
- package/packages/host/dist/backends/derive.js +198 -0
- package/packages/host/dist/backends/derive.js.map +1 -0
- package/packages/host/dist/backends/index.d.ts +138 -0
- package/packages/host/dist/backends/index.js +328 -0
- package/packages/host/dist/backends/index.js.map +1 -0
- package/packages/host/dist/backends/overhead.d.ts +16 -0
- package/packages/host/dist/backends/overhead.js +124 -0
- package/packages/host/dist/backends/overhead.js.map +1 -0
- package/packages/host/dist/backends/readers.d.ts +57 -0
- package/packages/host/dist/backends/readers.js +74 -0
- package/packages/host/dist/backends/readers.js.map +1 -0
- package/packages/host/dist/backends/registry.d.ts +37 -0
- package/packages/host/dist/backends/registry.js +73 -0
- package/packages/host/dist/backends/registry.js.map +1 -0
- package/packages/host/dist/backends/shell.d.ts +31 -0
- package/packages/host/dist/backends/shell.js +127 -0
- package/packages/host/dist/backends/shell.js.map +1 -0
- package/packages/host/dist/backends/types.d.ts +457 -0
- package/packages/host/dist/backends/types.js +2 -0
- package/packages/host/dist/backends/types.js.map +1 -0
- package/packages/host/dist/backlog/backlogcore.d.ts +36 -0
- package/packages/host/dist/backlog/backlogcore.js +2 -0
- package/packages/host/dist/backlog/backlogcore.js.map +1 -0
- package/packages/host/dist/backlog/backlogedits.d.ts +96 -0
- package/packages/host/dist/backlog/backlogedits.js +229 -0
- package/packages/host/dist/backlog/backlogedits.js.map +1 -0
- package/packages/host/dist/backlog/backlogfollowup.d.ts +7 -0
- package/packages/host/dist/backlog/backlogfollowup.js +71 -0
- package/packages/host/dist/backlog/backlogfollowup.js.map +1 -0
- package/packages/host/dist/backlog/backlogknobs.d.ts +56 -0
- package/packages/host/dist/backlog/backlogknobs.js +62 -0
- package/packages/host/dist/backlog/backlogknobs.js.map +1 -0
- package/packages/host/dist/backlog/backlogsessions.d.ts +217 -0
- package/packages/host/dist/backlog/backlogsessions.js +421 -0
- package/packages/host/dist/backlog/backlogsessions.js.map +1 -0
- package/packages/host/dist/backlog/backlogstore.d.ts +31 -0
- package/packages/host/dist/backlog/backlogstore.js +101 -0
- package/packages/host/dist/backlog/backlogstore.js.map +1 -0
- package/packages/host/dist/backlog/backlogtitles.d.ts +40 -0
- package/packages/host/dist/backlog/backlogtitles.js +50 -0
- package/packages/host/dist/backlog/backlogtitles.js.map +1 -0
- package/packages/host/dist/backlog/backlogwording.d.ts +31 -0
- package/packages/host/dist/backlog/backlogwording.js +42 -0
- package/packages/host/dist/backlog/backlogwording.js.map +1 -0
- package/packages/host/dist/backlog.d.ts +142 -0
- package/packages/host/dist/backlog.js +96 -0
- package/packages/host/dist/backlog.js.map +1 -0
- package/packages/host/dist/billing.d.ts +53 -0
- package/packages/host/dist/billing.js +140 -0
- package/packages/host/dist/billing.js.map +1 -0
- package/packages/host/dist/binguard.d.ts +28 -0
- package/packages/host/dist/binguard.js +88 -0
- package/packages/host/dist/binguard.js.map +1 -0
- package/packages/host/dist/bookmarks.d.ts +24 -0
- package/packages/host/dist/bookmarks.js +118 -0
- package/packages/host/dist/bookmarks.js.map +1 -0
- package/packages/host/dist/branddirs.d.ts +223 -0
- package/packages/host/dist/branddirs.js +828 -0
- package/packages/host/dist/branddirs.js.map +1 -0
- package/packages/host/dist/budget.d.ts +57 -0
- package/packages/host/dist/budget.js +153 -0
- package/packages/host/dist/budget.js.map +1 -0
- package/packages/host/dist/builds.d.ts +178 -0
- package/packages/host/dist/builds.js +645 -0
- package/packages/host/dist/builds.js.map +1 -0
- package/packages/host/dist/buildscan.d.ts +16 -0
- package/packages/host/dist/buildscan.js +177 -0
- package/packages/host/dist/buildscan.js.map +1 -0
- package/packages/host/dist/burnwatch.d.ts +53 -0
- package/packages/host/dist/burnwatch.js +141 -0
- package/packages/host/dist/burnwatch.js.map +1 -0
- package/packages/host/dist/capture/android.d.ts +2 -0
- package/packages/host/dist/capture/android.js +144 -0
- package/packages/host/dist/capture/android.js.map +1 -0
- package/packages/host/dist/capture/captureconfig.d.ts +44 -0
- package/packages/host/dist/capture/captureconfig.js +169 -0
- package/packages/host/dist/capture/captureconfig.js.map +1 -0
- package/packages/host/dist/capture/capturehelpers.d.ts +34 -0
- package/packages/host/dist/capture/capturehelpers.js +156 -0
- package/packages/host/dist/capture/capturehelpers.js.map +1 -0
- package/packages/host/dist/capture/capturekit.d.ts +32 -0
- package/packages/host/dist/capture/capturekit.js +47 -0
- package/packages/host/dist/capture/capturekit.js.map +1 -0
- package/packages/host/dist/capture/capturepass.d.ts +17 -0
- package/packages/host/dist/capture/capturepass.js +262 -0
- package/packages/host/dist/capture/capturepass.js.map +1 -0
- package/packages/host/dist/capture/capturesettle.d.ts +35 -0
- package/packages/host/dist/capture/capturesettle.js +77 -0
- package/packages/host/dist/capture/capturesettle.js.map +1 -0
- package/packages/host/dist/capture/captureverdict.d.ts +132 -0
- package/packages/host/dist/capture/captureverdict.js +107 -0
- package/packages/host/dist/capture/captureverdict.js.map +1 -0
- package/packages/host/dist/capture/garmin.d.ts +2 -0
- package/packages/host/dist/capture/garmin.js +294 -0
- package/packages/host/dist/capture/garmin.js.map +1 -0
- package/packages/host/dist/capture/pixels.d.ts +60 -0
- package/packages/host/dist/capture/pixels.js +199 -0
- package/packages/host/dist/capture/pixels.js.map +1 -0
- package/packages/host/dist/capture/types.d.ts +195 -0
- package/packages/host/dist/capture/types.js +2 -0
- package/packages/host/dist/capture/types.js.map +1 -0
- package/packages/host/dist/capture/web.d.ts +2 -0
- package/packages/host/dist/capture/web.js +290 -0
- package/packages/host/dist/capture/web.js.map +1 -0
- package/packages/host/dist/capture/window.d.ts +2 -0
- package/packages/host/dist/capture/window.js +88 -0
- package/packages/host/dist/capture/window.js.map +1 -0
- package/packages/host/dist/capture.d.ts +116 -0
- package/packages/host/dist/capture.js +295 -0
- package/packages/host/dist/capture.js.map +1 -0
- package/packages/host/dist/claudebin.d.ts +32 -0
- package/packages/host/dist/claudebin.js +113 -0
- package/packages/host/dist/claudebin.js.map +1 -0
- package/packages/host/dist/claudeconfig.d.ts +23 -0
- package/packages/host/dist/claudeconfig.js +118 -0
- package/packages/host/dist/claudeconfig.js.map +1 -0
- package/packages/host/dist/cli/entry.d.ts +1 -0
- package/packages/host/dist/cli/entry.js +11 -0
- package/packages/host/dist/cli/entry.js.map +1 -0
- package/packages/host/dist/cli/index.d.ts +12 -0
- package/packages/host/dist/cli/index.js +122 -0
- package/packages/host/dist/cli/index.js.map +1 -0
- package/packages/host/dist/cli/pair.d.ts +28 -0
- package/packages/host/dist/cli/pair.js +94 -0
- package/packages/host/dist/cli/pair.js.map +1 -0
- package/packages/host/dist/cli/releasesig.d.ts +42 -0
- package/packages/host/dist/cli/releasesig.js +60 -0
- package/packages/host/dist/cli/releasesig.js.map +1 -0
- package/packages/host/dist/cli/selfupdate.d.ts +96 -0
- package/packages/host/dist/cli/selfupdate.js +842 -0
- package/packages/host/dist/cli/selfupdate.js.map +1 -0
- package/packages/host/dist/cli/service.d.ts +100 -0
- package/packages/host/dist/cli/service.js +645 -0
- package/packages/host/dist/cli/service.js.map +1 -0
- package/packages/host/dist/cli/statesnap.d.ts +34 -0
- package/packages/host/dist/cli/statesnap.js +135 -0
- package/packages/host/dist/cli/statesnap.js.map +1 -0
- package/packages/host/dist/cli/windows.d.ts +191 -0
- package/packages/host/dist/cli/windows.js +658 -0
- package/packages/host/dist/cli/windows.js.map +1 -0
- package/packages/host/dist/clifixtures.d.ts +28 -0
- package/packages/host/dist/clifixtures.js +193 -0
- package/packages/host/dist/clifixtures.js.map +1 -0
- package/packages/host/dist/clihealth.d.ts +121 -0
- package/packages/host/dist/clihealth.js +301 -0
- package/packages/host/dist/clihealth.js.map +1 -0
- package/packages/host/dist/clisuggest.d.ts +13 -0
- package/packages/host/dist/clisuggest.js +54 -0
- package/packages/host/dist/clisuggest.js.map +1 -0
- package/packages/host/dist/commitmsg.d.ts +17 -0
- package/packages/host/dist/commitmsg.js +98 -0
- package/packages/host/dist/commitmsg.js.map +1 -0
- package/packages/host/dist/compliance.d.ts +121 -0
- package/packages/host/dist/compliance.js +827 -0
- package/packages/host/dist/compliance.js.map +1 -0
- package/packages/host/dist/composer.d.ts +225 -0
- package/packages/host/dist/composer.js +453 -0
- package/packages/host/dist/composer.js.map +1 -0
- package/packages/host/dist/confirmgate.d.ts +34 -0
- package/packages/host/dist/confirmgate.js +114 -0
- package/packages/host/dist/confirmgate.js.map +1 -0
- package/packages/host/dist/context.d.ts +22 -0
- package/packages/host/dist/context.js +92 -0
- package/packages/host/dist/context.js.map +1 -0
- package/packages/host/dist/contextlimits.d.ts +31 -0
- package/packages/host/dist/contextlimits.js +128 -0
- package/packages/host/dist/contextlimits.js.map +1 -0
- package/packages/host/dist/convfork.d.ts +67 -0
- package/packages/host/dist/convfork.js +372 -0
- package/packages/host/dist/convfork.js.map +1 -0
- package/packages/host/dist/convlog.d.ts +40 -0
- package/packages/host/dist/convlog.js +52 -0
- package/packages/host/dist/convlog.js.map +1 -0
- package/packages/host/dist/costwindow.d.ts +77 -0
- package/packages/host/dist/costwindow.js +333 -0
- package/packages/host/dist/costwindow.js.map +1 -0
- package/packages/host/dist/ctxlog/ctxagents.d.ts +179 -0
- package/packages/host/dist/ctxlog/ctxagents.js +419 -0
- package/packages/host/dist/ctxlog/ctxagents.js.map +1 -0
- package/packages/host/dist/ctxlog/ctxcursor.d.ts +299 -0
- package/packages/host/dist/ctxlog/ctxcursor.js +163 -0
- package/packages/host/dist/ctxlog/ctxcursor.js.map +1 -0
- package/packages/host/dist/ctxlog/ctxproject.d.ts +49 -0
- package/packages/host/dist/ctxlog/ctxproject.js +198 -0
- package/packages/host/dist/ctxlog/ctxproject.js.map +1 -0
- package/packages/host/dist/ctxlog/ctxupdate.d.ts +11 -0
- package/packages/host/dist/ctxlog/ctxupdate.js +338 -0
- package/packages/host/dist/ctxlog/ctxupdate.js.map +1 -0
- package/packages/host/dist/ctxlog.d.ts +56 -0
- package/packages/host/dist/ctxlog.js +57 -0
- package/packages/host/dist/ctxlog.js.map +1 -0
- package/packages/host/dist/ctxwindow.d.ts +17 -0
- package/packages/host/dist/ctxwindow.js +106 -0
- package/packages/host/dist/ctxwindow.js.map +1 -0
- package/packages/host/dist/decisionlog.d.ts +29 -0
- package/packages/host/dist/decisionlog.js +167 -0
- package/packages/host/dist/decisionlog.js.map +1 -0
- package/packages/host/dist/deliver/deliverknobs.d.ts +84 -0
- package/packages/host/dist/deliver/deliverknobs.js +85 -0
- package/packages/host/dist/deliver/deliverknobs.js.map +1 -0
- package/packages/host/dist/deliver/deliverproof.d.ts +25 -0
- package/packages/host/dist/deliver/deliverproof.js +123 -0
- package/packages/host/dist/deliver/deliverproof.js.map +1 -0
- package/packages/host/dist/deliver/deliverreturn.d.ts +12 -0
- package/packages/host/dist/deliver/deliverreturn.js +365 -0
- package/packages/host/dist/deliver/deliverreturn.js.map +1 -0
- package/packages/host/dist/deliver/deliverrun.d.ts +20 -0
- package/packages/host/dist/deliver/deliverrun.js +495 -0
- package/packages/host/dist/deliver/deliverrun.js.map +1 -0
- package/packages/host/dist/deliver/deliverscreen.d.ts +67 -0
- package/packages/host/dist/deliver/deliverscreen.js +428 -0
- package/packages/host/dist/deliver/deliverscreen.js.map +1 -0
- package/packages/host/dist/deliver/delivertypes.d.ts +119 -0
- package/packages/host/dist/deliver/delivertypes.js +2 -0
- package/packages/host/dist/deliver/delivertypes.js.map +1 -0
- package/packages/host/dist/deliver.d.ts +50 -0
- package/packages/host/dist/deliver.js +142 -0
- package/packages/host/dist/deliver.js.map +1 -0
- package/packages/host/dist/deviceledger.d.ts +33 -0
- package/packages/host/dist/deviceledger.js +143 -0
- package/packages/host/dist/deviceledger.js.map +1 -0
- package/packages/host/dist/dictate.d.ts +142 -0
- package/packages/host/dist/dictate.js +419 -0
- package/packages/host/dist/dictate.js.map +1 -0
- package/packages/host/dist/discover.d.ts +20 -0
- package/packages/host/dist/discover.js +162 -0
- package/packages/host/dist/discover.js.map +1 -0
- package/packages/host/dist/diskwatch.d.ts +39 -0
- package/packages/host/dist/diskwatch.js +111 -0
- package/packages/host/dist/diskwatch.js.map +1 -0
- package/packages/host/dist/doctor.d.ts +153 -0
- package/packages/host/dist/doctor.js +748 -0
- package/packages/host/dist/doctor.js.map +1 -0
- package/packages/host/dist/doctorclaude.d.ts +33 -0
- package/packages/host/dist/doctorclaude.js +128 -0
- package/packages/host/dist/doctorclaude.js.map +1 -0
- package/packages/host/dist/doctormac.d.ts +47 -0
- package/packages/host/dist/doctormac.js +81 -0
- package/packages/host/dist/doctormac.js.map +1 -0
- package/packages/host/dist/doctorproc.d.ts +11 -0
- package/packages/host/dist/doctorproc.js +36 -0
- package/packages/host/dist/doctorproc.js.map +1 -0
- package/packages/host/dist/doctorwsl.d.ts +90 -0
- package/packages/host/dist/doctorwsl.js +205 -0
- package/packages/host/dist/doctorwsl.js.map +1 -0
- package/packages/host/dist/echo.d.ts +331 -0
- package/packages/host/dist/echo.js +439 -0
- package/packages/host/dist/echo.js.map +1 -0
- package/packages/host/dist/env.d.ts +16 -0
- package/packages/host/dist/env.js +190 -0
- package/packages/host/dist/env.js.map +1 -0
- package/packages/host/dist/envfiles.d.ts +5 -0
- package/packages/host/dist/envfiles.js +43 -0
- package/packages/host/dist/envfiles.js.map +1 -0
- package/packages/host/dist/extensions/copilot-usage/host/ghquota.d.mts +17 -0
- package/packages/host/dist/extensions/copilot-usage/host/ghquota.mjs +96 -0
- package/packages/host/dist/extensions/copilot-usage/host/ghquota.mjs.map +1 -0
- package/packages/host/dist/extensions/copilot-usage/host/index.d.mts +17 -0
- package/packages/host/dist/extensions/copilot-usage/host/index.mjs +102 -0
- package/packages/host/dist/extensions/copilot-usage/host/index.mjs.map +1 -0
- package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.d.mts +90 -0
- package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.mjs +365 -0
- package/packages/host/dist/extensions/copilot-usage/host/vscodelocal.mjs.map +1 -0
- package/packages/host/dist/extensions/ocr/host/index.d.mts +10 -0
- package/packages/host/dist/extensions/ocr/host/index.mjs +4 -0
- package/packages/host/dist/extensions/ocr/host/index.mjs.map +1 -0
- package/packages/host/dist/extensions/requirements/host/index.d.mts +2 -0
- package/packages/host/dist/extensions/requirements/host/index.mjs +63 -0
- package/packages/host/dist/extensions/requirements/host/index.mjs.map +1 -0
- package/packages/host/dist/extensions/requirements/host/list.d.mts +17 -0
- package/packages/host/dist/extensions/requirements/host/list.mjs +125 -0
- package/packages/host/dist/extensions/requirements/host/list.mjs.map +1 -0
- package/packages/host/dist/extensions/requirements/host/requirements.d.mts +31 -0
- package/packages/host/dist/extensions/requirements/host/requirements.mjs +318 -0
- package/packages/host/dist/extensions/requirements/host/requirements.mjs.map +1 -0
- package/packages/host/dist/extensions/requirements/shared/methods.d.mts +88 -0
- package/packages/host/dist/extensions/requirements/shared/methods.mjs +36 -0
- package/packages/host/dist/extensions/requirements/shared/methods.mjs.map +1 -0
- package/packages/host/dist/fanout.d.ts +89 -0
- package/packages/host/dist/fanout.js +273 -0
- package/packages/host/dist/fanout.js.map +1 -0
- package/packages/host/dist/files.d.ts +211 -0
- package/packages/host/dist/files.js +760 -0
- package/packages/host/dist/files.js.map +1 -0
- package/packages/host/dist/git.d.ts +261 -0
- package/packages/host/dist/git.js +787 -0
- package/packages/host/dist/git.js.map +1 -0
- package/packages/host/dist/gitlog.d.ts +14 -0
- package/packages/host/dist/gitlog.js +93 -0
- package/packages/host/dist/gitlog.js.map +1 -0
- package/packages/host/dist/halt.d.ts +35 -0
- package/packages/host/dist/halt.js +160 -0
- package/packages/host/dist/halt.js.map +1 -0
- package/packages/host/dist/healthwatch.d.ts +90 -0
- package/packages/host/dist/healthwatch.js +334 -0
- package/packages/host/dist/healthwatch.js.map +1 -0
- package/packages/host/dist/host.d.ts +51 -0
- package/packages/host/dist/host.js +153 -0
- package/packages/host/dist/host.js.map +1 -0
- package/packages/host/dist/hoststore.d.ts +24 -0
- package/packages/host/dist/hoststore.js +350 -0
- package/packages/host/dist/hoststore.js.map +1 -0
- package/packages/host/dist/httpio.d.ts +64 -0
- package/packages/host/dist/httpio.js +199 -0
- package/packages/host/dist/httpio.js.map +1 -0
- package/packages/host/dist/installlog.d.ts +25 -0
- package/packages/host/dist/installlog.js +137 -0
- package/packages/host/dist/installlog.js.map +1 -0
- package/packages/host/dist/intents/adapters.d.ts +285 -0
- package/packages/host/dist/intents/adapters.js +690 -0
- package/packages/host/dist/intents/adapters.js.map +1 -0
- package/packages/host/dist/intents/clock.d.ts +105 -0
- package/packages/host/dist/intents/clock.js +190 -0
- package/packages/host/dist/intents/clock.js.map +1 -0
- package/packages/host/dist/intents/contract.d.ts +488 -0
- package/packages/host/dist/intents/contract.js +155 -0
- package/packages/host/dist/intents/contract.js.map +1 -0
- package/packages/host/dist/intents/disk.d.ts +198 -0
- package/packages/host/dist/intents/disk.js +588 -0
- package/packages/host/dist/intents/disk.js.map +1 -0
- package/packages/host/dist/intents/fire.d.ts +112 -0
- package/packages/host/dist/intents/fire.js +545 -0
- package/packages/host/dist/intents/fire.js.map +1 -0
- package/packages/host/dist/intents/ladder.d.ts +7 -0
- package/packages/host/dist/intents/ladder.js +408 -0
- package/packages/host/dist/intents/ladder.js.map +1 -0
- package/packages/host/dist/intents/manager.d.ts +239 -0
- package/packages/host/dist/intents/manager.js +292 -0
- package/packages/host/dist/intents/manager.js.map +1 -0
- package/packages/host/dist/intents/requeue.d.ts +207 -0
- package/packages/host/dist/intents/requeue.js +521 -0
- package/packages/host/dist/intents/requeue.js.map +1 -0
- package/packages/host/dist/intents/watch.d.ts +92 -0
- package/packages/host/dist/intents/watch.js +464 -0
- package/packages/host/dist/intents/watch.js.map +1 -0
- package/packages/host/dist/intents/write.d.ts +238 -0
- package/packages/host/dist/intents/write.js +651 -0
- package/packages/host/dist/intents/write.js.map +1 -0
- package/packages/host/dist/jsonstore.d.ts +50 -0
- package/packages/host/dist/jsonstore.js +158 -0
- package/packages/host/dist/jsonstore.js.map +1 -0
- package/packages/host/dist/keyhints.d.ts +45 -0
- package/packages/host/dist/keyhints.js +117 -0
- package/packages/host/dist/keyhints.js.map +1 -0
- package/packages/host/dist/lanid.d.ts +21 -0
- package/packages/host/dist/lanid.js +78 -0
- package/packages/host/dist/lanid.js.map +1 -0
- package/packages/host/dist/launchfiles.d.ts +64 -0
- package/packages/host/dist/launchfiles.js +212 -0
- package/packages/host/dist/launchfiles.js.map +1 -0
- package/packages/host/dist/limit.d.ts +82 -0
- package/packages/host/dist/limit.js +251 -0
- package/packages/host/dist/limit.js.map +1 -0
- package/packages/host/dist/limitlog.d.ts +51 -0
- package/packages/host/dist/limitlog.js +154 -0
- package/packages/host/dist/limitlog.js.map +1 -0
- package/packages/host/dist/limitretry.d.ts +135 -0
- package/packages/host/dist/limitretry.js +115 -0
- package/packages/host/dist/limitretry.js.map +1 -0
- package/packages/host/dist/livesources.d.ts +38 -0
- package/packages/host/dist/livesources.js +26 -0
- package/packages/host/dist/livesources.js.map +1 -0
- package/packages/host/dist/localledger.d.ts +69 -0
- package/packages/host/dist/localledger.js +214 -0
- package/packages/host/dist/localledger.js.map +1 -0
- package/packages/host/dist/localrt.d.ts +164 -0
- package/packages/host/dist/localrt.js +414 -0
- package/packages/host/dist/localrt.js.map +1 -0
- package/packages/host/dist/localslot.d.ts +152 -0
- package/packages/host/dist/localslot.js +269 -0
- package/packages/host/dist/localslot.js.map +1 -0
- package/packages/host/dist/localusage.d.ts +153 -0
- package/packages/host/dist/localusage.js +710 -0
- package/packages/host/dist/localusage.js.map +1 -0
- package/packages/host/dist/login.d.ts +34 -0
- package/packages/host/dist/login.js +126 -0
- package/packages/host/dist/login.js.map +1 -0
- package/packages/host/dist/main.d.ts +1 -0
- package/packages/host/dist/main.js +694 -0
- package/packages/host/dist/main.js.map +1 -0
- package/packages/host/dist/meter.d.ts +23 -0
- package/packages/host/dist/meter.js +121 -0
- package/packages/host/dist/meter.js.map +1 -0
- package/packages/host/dist/naming.d.ts +257 -0
- package/packages/host/dist/naming.js +387 -0
- package/packages/host/dist/naming.js.map +1 -0
- package/packages/host/dist/net.d.ts +78 -0
- package/packages/host/dist/net.js +267 -0
- package/packages/host/dist/net.js.map +1 -0
- package/packages/host/dist/netstats.d.ts +99 -0
- package/packages/host/dist/netstats.js +223 -0
- package/packages/host/dist/netstats.js.map +1 -0
- package/packages/host/dist/notifyprefs.d.ts +12 -0
- package/packages/host/dist/notifyprefs.js +60 -0
- package/packages/host/dist/notifyprefs.js.map +1 -0
- package/packages/host/dist/ocrlocal.d.ts +46 -0
- package/packages/host/dist/ocrlocal.js +297 -0
- package/packages/host/dist/ocrlocal.js.map +1 -0
- package/packages/host/dist/onboard.d.ts +182 -0
- package/packages/host/dist/onboard.js +590 -0
- package/packages/host/dist/onboard.js.map +1 -0
- package/packages/host/dist/onboardroutes.d.ts +31 -0
- package/packages/host/dist/onboardroutes.js +78 -0
- package/packages/host/dist/onboardroutes.js.map +1 -0
- package/packages/host/dist/opendeliveries.d.ts +175 -0
- package/packages/host/dist/opendeliveries.js +538 -0
- package/packages/host/dist/opendeliveries.js.map +1 -0
- package/packages/host/dist/optins.d.ts +14 -0
- package/packages/host/dist/optins.js +252 -0
- package/packages/host/dist/optins.js.map +1 -0
- package/packages/host/dist/origin.d.ts +86 -0
- package/packages/host/dist/origin.js +301 -0
- package/packages/host/dist/origin.js.map +1 -0
- package/packages/host/dist/pair.d.ts +149 -0
- package/packages/host/dist/pair.js +505 -0
- package/packages/host/dist/pair.js.map +1 -0
- package/packages/host/dist/passive.d.ts +58 -0
- package/packages/host/dist/passive.js +187 -0
- package/packages/host/dist/passive.js.map +1 -0
- package/packages/host/dist/paths.d.ts +67 -0
- package/packages/host/dist/paths.js +135 -0
- package/packages/host/dist/paths.js.map +1 -0
- package/packages/host/dist/pathx.d.ts +6 -0
- package/packages/host/dist/pathx.js +35 -0
- package/packages/host/dist/pathx.js.map +1 -0
- package/packages/host/dist/peers/agentpeer.d.ts +58 -0
- package/packages/host/dist/peers/agentpeer.js +249 -0
- package/packages/host/dist/peers/agentpeer.js.map +1 -0
- package/packages/host/dist/peers/client.d.ts +60 -0
- package/packages/host/dist/peers/client.js +96 -0
- package/packages/host/dist/peers/client.js.map +1 -0
- package/packages/host/dist/peers/jobs.d.ts +140 -0
- package/packages/host/dist/peers/jobs.js +424 -0
- package/packages/host/dist/peers/jobs.js.map +1 -0
- package/packages/host/dist/peers/routes.d.ts +50 -0
- package/packages/host/dist/peers/routes.js +191 -0
- package/packages/host/dist/peers/routes.js.map +1 -0
- package/packages/host/dist/peers/serve.d.ts +61 -0
- package/packages/host/dist/peers/serve.js +532 -0
- package/packages/host/dist/peers/serve.js.map +1 -0
- package/packages/host/dist/peers/store.d.ts +64 -0
- package/packages/host/dist/peers/store.js +128 -0
- package/packages/host/dist/peers/store.js.map +1 -0
- package/packages/host/dist/periodspend.d.ts +61 -0
- package/packages/host/dist/periodspend.js +109 -0
- package/packages/host/dist/periodspend.js.map +1 -0
- package/packages/host/dist/permmode.d.ts +90 -0
- package/packages/host/dist/permmode.js +157 -0
- package/packages/host/dist/permmode.js.map +1 -0
- package/packages/host/dist/planbox.d.ts +23 -0
- package/packages/host/dist/planbox.js +123 -0
- package/packages/host/dist/planbox.js.map +1 -0
- package/packages/host/dist/plugins/builtin.d.ts +39 -0
- package/packages/host/dist/plugins/builtin.js +200 -0
- package/packages/host/dist/plugins/builtin.js.map +1 -0
- package/packages/host/dist/plugins/pluginapi.d.ts +34 -0
- package/packages/host/dist/plugins/pluginapi.js +649 -0
- package/packages/host/dist/plugins/pluginapi.js.map +1 -0
- package/packages/host/dist/plugins/pluginassets.d.ts +16 -0
- package/packages/host/dist/plugins/pluginassets.js +44 -0
- package/packages/host/dist/plugins/pluginassets.js.map +1 -0
- package/packages/host/dist/plugins/pluginfiles.d.ts +30 -0
- package/packages/host/dist/plugins/pluginfiles.js +130 -0
- package/packages/host/dist/plugins/pluginfiles.js.map +1 -0
- package/packages/host/dist/plugins/pluginloader.d.ts +59 -0
- package/packages/host/dist/plugins/pluginloader.js +206 -0
- package/packages/host/dist/plugins/pluginloader.js.map +1 -0
- package/packages/host/dist/plugins/pluginregistry.d.ts +249 -0
- package/packages/host/dist/plugins/pluginregistry.js +799 -0
- package/packages/host/dist/plugins/pluginregistry.js.map +1 -0
- package/packages/host/dist/plugins/pluginroutes.d.ts +29 -0
- package/packages/host/dist/plugins/pluginroutes.js +50 -0
- package/packages/host/dist/plugins/pluginroutes.js.map +1 -0
- package/packages/host/dist/plugins/pluginrpc.d.ts +19 -0
- package/packages/host/dist/plugins/pluginrpc.js +28 -0
- package/packages/host/dist/plugins/pluginrpc.js.map +1 -0
- package/packages/host/dist/plugins/pluginstreams.d.ts +109 -0
- package/packages/host/dist/plugins/pluginstreams.js +418 -0
- package/packages/host/dist/plugins/pluginstreams.js.map +1 -0
- package/packages/host/dist/plugins/plugintoolkit/screen.d.ts +9 -0
- package/packages/host/dist/plugins/plugintoolkit/screen.js +21 -0
- package/packages/host/dist/plugins/plugintoolkit/screen.js.map +1 -0
- package/packages/host/dist/plugins/plugintoolkit/sessionfiles.d.ts +6 -0
- package/packages/host/dist/plugins/plugintoolkit/sessionfiles.js +24 -0
- package/packages/host/dist/plugins/plugintoolkit/sessionfiles.js.map +1 -0
- package/packages/host/dist/plugins/plugintoolkit/tail.d.ts +10 -0
- package/packages/host/dist/plugins/plugintoolkit/tail.js +110 -0
- package/packages/host/dist/plugins/plugintoolkit/tail.js.map +1 -0
- package/packages/host/dist/plugins/setupcontrib.d.ts +64 -0
- package/packages/host/dist/plugins/setupcontrib.js +94 -0
- package/packages/host/dist/plugins/setupcontrib.js.map +1 -0
- package/packages/host/dist/proc.d.ts +13 -0
- package/packages/host/dist/proc.js +27 -0
- package/packages/host/dist/proc.js.map +1 -0
- package/packages/host/dist/prompt.d.ts +113 -0
- package/packages/host/dist/prompt.js +565 -0
- package/packages/host/dist/prompt.js.map +1 -0
- package/packages/host/dist/promptbase.d.ts +28 -0
- package/packages/host/dist/promptbase.js +42 -0
- package/packages/host/dist/promptbase.js.map +1 -0
- package/packages/host/dist/promptmerge.d.ts +63 -0
- package/packages/host/dist/promptmerge.js +221 -0
- package/packages/host/dist/promptmerge.js.map +1 -0
- package/packages/host/dist/promptnav.d.ts +29 -0
- package/packages/host/dist/promptnav.js +97 -0
- package/packages/host/dist/promptnav.js.map +1 -0
- package/packages/host/dist/prompts.d.ts +4 -0
- package/packages/host/dist/prompts.js +78 -0
- package/packages/host/dist/prompts.js.map +1 -0
- package/packages/host/dist/ptycap.d.ts +41 -0
- package/packages/host/dist/ptycap.js +192 -0
- package/packages/host/dist/ptycap.js.map +1 -0
- package/packages/host/dist/ptyenv.d.ts +3 -0
- package/packages/host/dist/ptyenv.js +63 -0
- package/packages/host/dist/ptyenv.js.map +1 -0
- package/packages/host/dist/push.d.ts +42 -0
- package/packages/host/dist/push.js +107 -0
- package/packages/host/dist/push.js.map +1 -0
- package/packages/host/dist/pushprogress.d.ts +27 -0
- package/packages/host/dist/pushprogress.js +72 -0
- package/packages/host/dist/pushprogress.js.map +1 -0
- package/packages/host/dist/question.d.ts +60 -0
- package/packages/host/dist/question.js +137 -0
- package/packages/host/dist/question.js.map +1 -0
- package/packages/host/dist/ratelimit.d.ts +44 -0
- package/packages/host/dist/ratelimit.js +68 -0
- package/packages/host/dist/ratelimit.js.map +1 -0
- package/packages/host/dist/render.d.ts +50 -0
- package/packages/host/dist/render.js +138 -0
- package/packages/host/dist/render.js.map +1 -0
- package/packages/host/dist/repohealth.d.ts +113 -0
- package/packages/host/dist/repohealth.js +752 -0
- package/packages/host/dist/repohealth.js.map +1 -0
- package/packages/host/dist/repohealthapproval.d.ts +88 -0
- package/packages/host/dist/repohealthapproval.js +709 -0
- package/packages/host/dist/repohealthapproval.js.map +1 -0
- package/packages/host/dist/repohealthscopes.d.ts +23 -0
- package/packages/host/dist/repohealthscopes.js +124 -0
- package/packages/host/dist/repohealthscopes.js.map +1 -0
- package/packages/host/dist/repos.d.ts +25 -0
- package/packages/host/dist/repos.js +181 -0
- package/packages/host/dist/repos.js.map +1 -0
- package/packages/host/dist/reposkill.d.ts +17 -0
- package/packages/host/dist/reposkill.js +92 -0
- package/packages/host/dist/reposkill.js.map +1 -0
- package/packages/host/dist/reposkilltext.d.ts +16 -0
- package/packages/host/dist/reposkilltext.js +320 -0
- package/packages/host/dist/reposkilltext.js.map +1 -0
- package/packages/host/dist/restartnote.d.ts +17 -0
- package/packages/host/dist/restartnote.js +36 -0
- package/packages/host/dist/restartnote.js.map +1 -0
- package/packages/host/dist/review.d.ts +83 -0
- package/packages/host/dist/review.js +513 -0
- package/packages/host/dist/review.js.map +1 -0
- package/packages/host/dist/rootchoice.d.ts +26 -0
- package/packages/host/dist/rootchoice.js +101 -0
- package/packages/host/dist/rootchoice.js.map +1 -0
- package/packages/host/dist/routes/apihost.d.ts +2 -0
- package/packages/host/dist/routes/apihost.js +532 -0
- package/packages/host/dist/routes/apihost.js.map +1 -0
- package/packages/host/dist/routes/apiio.d.ts +86 -0
- package/packages/host/dist/routes/apiio.js +354 -0
- package/packages/host/dist/routes/apiio.js.map +1 -0
- package/packages/host/dist/routes/apirepofiles.d.ts +7 -0
- package/packages/host/dist/routes/apirepofiles.js +382 -0
- package/packages/host/dist/routes/apirepofiles.js.map +1 -0
- package/packages/host/dist/routes/apirepowork.d.ts +2 -0
- package/packages/host/dist/routes/apirepowork.js +500 -0
- package/packages/host/dist/routes/apirepowork.js.map +1 -0
- package/packages/host/dist/routes/apiroutes.d.ts +14 -0
- package/packages/host/dist/routes/apiroutes.js +20 -0
- package/packages/host/dist/routes/apiroutes.js.map +1 -0
- package/packages/host/dist/routes/apisession.d.ts +2 -0
- package/packages/host/dist/routes/apisession.js +197 -0
- package/packages/host/dist/routes/apisession.js.map +1 -0
- package/packages/host/dist/routes/apistats.d.ts +2 -0
- package/packages/host/dist/routes/apistats.js +220 -0
- package/packages/host/dist/routes/apistats.js.map +1 -0
- package/packages/host/dist/routes/apisystem.d.ts +2 -0
- package/packages/host/dist/routes/apisystem.js +389 -0
- package/packages/host/dist/routes/apisystem.js.map +1 -0
- package/packages/host/dist/routes/apitable.d.ts +180 -0
- package/packages/host/dist/routes/apitable.js +71 -0
- package/packages/host/dist/routes/apitable.js.map +1 -0
- package/packages/host/dist/routes/index.d.ts +19 -0
- package/packages/host/dist/routes/index.js +65 -0
- package/packages/host/dist/routes/index.js.map +1 -0
- package/packages/host/dist/routes/session.d.ts +2 -0
- package/packages/host/dist/routes/session.js +771 -0
- package/packages/host/dist/routes/session.js.map +1 -0
- package/packages/host/dist/routes/system.d.ts +24 -0
- package/packages/host/dist/routes/system.js +530 -0
- package/packages/host/dist/routes/system.js.map +1 -0
- package/packages/host/dist/routes/types.d.ts +283 -0
- package/packages/host/dist/routes/types.js +2 -0
- package/packages/host/dist/routes/types.js.map +1 -0
- package/packages/host/dist/routes/work/workassess.d.ts +2 -0
- package/packages/host/dist/routes/work/workassess.js +182 -0
- package/packages/host/dist/routes/work/workassess.js.map +1 -0
- package/packages/host/dist/routes/work/workbacklog.d.ts +2 -0
- package/packages/host/dist/routes/work/workbacklog.js +329 -0
- package/packages/host/dist/routes/work/workbacklog.js.map +1 -0
- package/packages/host/dist/routes/work/workbuild.d.ts +2 -0
- package/packages/host/dist/routes/work/workbuild.js +250 -0
- package/packages/host/dist/routes/work/workbuild.js.map +1 -0
- package/packages/host/dist/routes/work/workintent.d.ts +2 -0
- package/packages/host/dist/routes/work/workintent.js +167 -0
- package/packages/host/dist/routes/work/workintent.js.map +1 -0
- package/packages/host/dist/routes/work/workschedule.d.ts +2 -0
- package/packages/host/dist/routes/work/workschedule.js +131 -0
- package/packages/host/dist/routes/work/workschedule.js.map +1 -0
- package/packages/host/dist/routes/work.d.ts +10 -0
- package/packages/host/dist/routes/work.js +13 -0
- package/packages/host/dist/routes/work.js.map +1 -0
- package/packages/host/dist/scaffold.d.ts +104 -0
- package/packages/host/dist/scaffold.js +417 -0
- package/packages/host/dist/scaffold.js.map +1 -0
- package/packages/host/dist/screenlog.d.ts +43 -0
- package/packages/host/dist/screenlog.js +209 -0
- package/packages/host/dist/screenlog.js.map +1 -0
- package/packages/host/dist/secrets.d.ts +72 -0
- package/packages/host/dist/secrets.js +258 -0
- package/packages/host/dist/secrets.js.map +1 -0
- package/packages/host/dist/sentlog.d.ts +82 -0
- package/packages/host/dist/sentlog.js +186 -0
- package/packages/host/dist/sentlog.js.map +1 -0
- package/packages/host/dist/server/billingwire.d.ts +24 -0
- package/packages/host/dist/server/billingwire.js +73 -0
- package/packages/host/dist/server/billingwire.js.map +1 -0
- package/packages/host/dist/server/clients.d.ts +52 -0
- package/packages/host/dist/server/clients.js +178 -0
- package/packages/host/dist/server/clients.js.map +1 -0
- package/packages/host/dist/server/ctx.d.ts +118 -0
- package/packages/host/dist/server/ctx.js +2 -0
- package/packages/host/dist/server/ctx.js.map +1 -0
- package/packages/host/dist/server/ctxseal.d.ts +21 -0
- package/packages/host/dist/server/ctxseal.js +24 -0
- package/packages/host/dist/server/ctxseal.js.map +1 -0
- package/packages/host/dist/server/deliveries.d.ts +20 -0
- package/packages/host/dist/server/deliveries.js +276 -0
- package/packages/host/dist/server/deliveries.js.map +1 -0
- package/packages/host/dist/server/firstapp.d.ts +12 -0
- package/packages/host/dist/server/firstapp.js +37 -0
- package/packages/host/dist/server/firstapp.js.map +1 -0
- package/packages/host/dist/server/http.d.ts +34 -0
- package/packages/host/dist/server/http.js +475 -0
- package/packages/host/dist/server/http.js.map +1 -0
- package/packages/host/dist/server/intentDeps.d.ts +36 -0
- package/packages/host/dist/server/intentDeps.js +418 -0
- package/packages/host/dist/server/intentDeps.js.map +1 -0
- package/packages/host/dist/server/intentEvents.d.ts +13 -0
- package/packages/host/dist/server/intentEvents.js +234 -0
- package/packages/host/dist/server/intentEvents.js.map +1 -0
- package/packages/host/dist/server/liveness.d.ts +64 -0
- package/packages/host/dist/server/liveness.js +74 -0
- package/packages/host/dist/server/liveness.js.map +1 -0
- package/packages/host/dist/server/scan.d.ts +41 -0
- package/packages/host/dist/server/scan.js +227 -0
- package/packages/host/dist/server/scan.js.map +1 -0
- package/packages/host/dist/server/sessionEvents.d.ts +40 -0
- package/packages/host/dist/server/sessionEvents.js +509 -0
- package/packages/host/dist/server/sessionEvents.js.map +1 -0
- package/packages/host/dist/server/shutdown.d.ts +11 -0
- package/packages/host/dist/server/shutdown.js +135 -0
- package/packages/host/dist/server/shutdown.js.map +1 -0
- package/packages/host/dist/server/wsops.d.ts +44 -0
- package/packages/host/dist/server/wsops.js +313 -0
- package/packages/host/dist/server/wsops.js.map +1 -0
- package/packages/host/dist/sessionSearch.d.ts +46 -0
- package/packages/host/dist/sessionSearch.js +93 -0
- package/packages/host/dist/sessionSearch.js.map +1 -0
- package/packages/host/dist/sessionbudget.d.ts +61 -0
- package/packages/host/dist/sessionbudget.js +84 -0
- package/packages/host/dist/sessionbudget.js.map +1 -0
- package/packages/host/dist/sessions/boxes.d.ts +112 -0
- package/packages/host/dist/sessions/boxes.js +968 -0
- package/packages/host/dist/sessions/boxes.js.map +1 -0
- package/packages/host/dist/sessions/budgetwatch.d.ts +95 -0
- package/packages/host/dist/sessions/budgetwatch.js +171 -0
- package/packages/host/dist/sessions/budgetwatch.js.map +1 -0
- package/packages/host/dist/sessions/convid.d.ts +72 -0
- package/packages/host/dist/sessions/convid.js +305 -0
- package/packages/host/dist/sessions/convid.js.map +1 -0
- package/packages/host/dist/sessions/core.d.ts +749 -0
- package/packages/host/dist/sessions/core.js +2 -0
- package/packages/host/dist/sessions/core.js.map +1 -0
- package/packages/host/dist/sessions/ctxseries.d.ts +184 -0
- package/packages/host/dist/sessions/ctxseries.js +766 -0
- package/packages/host/dist/sessions/ctxseries.js.map +1 -0
- package/packages/host/dist/sessions/drive.d.ts +207 -0
- package/packages/host/dist/sessions/drive.js +779 -0
- package/packages/host/dist/sessions/drive.js.map +1 -0
- package/packages/host/dist/sessions/haltall.d.ts +36 -0
- package/packages/host/dist/sessions/haltall.js +95 -0
- package/packages/host/dist/sessions/haltall.js.map +1 -0
- package/packages/host/dist/sessions/health.d.ts +88 -0
- package/packages/host/dist/sessions/health.js +108 -0
- package/packages/host/dist/sessions/health.js.map +1 -0
- package/packages/host/dist/sessions/idlewatch.d.ts +34 -0
- package/packages/host/dist/sessions/idlewatch.js +74 -0
- package/packages/host/dist/sessions/idlewatch.js.map +1 -0
- package/packages/host/dist/sessions/knobs.d.ts +315 -0
- package/packages/host/dist/sessions/knobs.js +411 -0
- package/packages/host/dist/sessions/knobs.js.map +1 -0
- package/packages/host/dist/sessions/links.d.ts +53 -0
- package/packages/host/dist/sessions/links.js +209 -0
- package/packages/host/dist/sessions/links.js.map +1 -0
- package/packages/host/dist/sessions/livemode.d.ts +56 -0
- package/packages/host/dist/sessions/livemode.js +300 -0
- package/packages/host/dist/sessions/livemode.js.map +1 -0
- package/packages/host/dist/sessions/record.d.ts +196 -0
- package/packages/host/dist/sessions/record.js +719 -0
- package/packages/host/dist/sessions/record.js.map +1 -0
- package/packages/host/dist/sessions/resume.d.ts +164 -0
- package/packages/host/dist/sessions/resume.js +629 -0
- package/packages/host/dist/sessions/resume.js.map +1 -0
- package/packages/host/dist/sessions/roster.d.ts +164 -0
- package/packages/host/dist/sessions/roster.js +566 -0
- package/packages/host/dist/sessions/roster.js.map +1 -0
- package/packages/host/dist/sessions/sidechannel.d.ts +96 -0
- package/packages/host/dist/sessions/sidechannel.js +726 -0
- package/packages/host/dist/sessions/sidechannel.js.map +1 -0
- package/packages/host/dist/sessions/tmux.d.ts +247 -0
- package/packages/host/dist/sessions/tmux.js +731 -0
- package/packages/host/dist/sessions/tmux.js.map +1 -0
- package/packages/host/dist/sessions/turn.d.ts +237 -0
- package/packages/host/dist/sessions/turn.js +1003 -0
- package/packages/host/dist/sessions/turn.js.map +1 -0
- package/packages/host/dist/sessions/wall.d.ts +117 -0
- package/packages/host/dist/sessions/wall.js +658 -0
- package/packages/host/dist/sessions/wall.js.map +1 -0
- package/packages/host/dist/sessions.d.ts +255 -0
- package/packages/host/dist/sessions.js +758 -0
- package/packages/host/dist/sessions.js.map +1 -0
- package/packages/host/dist/settings.d.ts +40 -0
- package/packages/host/dist/settings.js +171 -0
- package/packages/host/dist/settings.js.map +1 -0
- package/packages/host/dist/settle.d.ts +171 -0
- package/packages/host/dist/settle.js +409 -0
- package/packages/host/dist/settle.js.map +1 -0
- package/packages/host/dist/setupprefs.d.ts +51 -0
- package/packages/host/dist/setupprefs.js +178 -0
- package/packages/host/dist/setupprefs.js.map +1 -0
- package/packages/host/dist/setupwatch.d.ts +39 -0
- package/packages/host/dist/setupwatch.js +249 -0
- package/packages/host/dist/setupwatch.js.map +1 -0
- package/packages/host/dist/shelllinks.d.ts +39 -0
- package/packages/host/dist/shelllinks.js +292 -0
- package/packages/host/dist/shelllinks.js.map +1 -0
- package/packages/host/dist/shells.d.ts +190 -0
- package/packages/host/dist/shells.js +633 -0
- package/packages/host/dist/shells.js.map +1 -0
- package/packages/host/dist/sidecar/sidecarclaude.d.ts +120 -0
- package/packages/host/dist/sidecar/sidecarclaude.js +213 -0
- package/packages/host/dist/sidecar/sidecarclaude.js.map +1 -0
- package/packages/host/dist/sidecar/sidecarname.d.ts +99 -0
- package/packages/host/dist/sidecar/sidecarname.js +163 -0
- package/packages/host/dist/sidecar/sidecarname.js.map +1 -0
- package/packages/host/dist/sidecar/sidecaropenai.d.ts +24 -0
- package/packages/host/dist/sidecar/sidecaropenai.js +129 -0
- package/packages/host/dist/sidecar/sidecaropenai.js.map +1 -0
- package/packages/host/dist/sidecar/sidecarroute.d.ts +65 -0
- package/packages/host/dist/sidecar/sidecarroute.js +158 -0
- package/packages/host/dist/sidecar/sidecarroute.js.map +1 -0
- package/packages/host/dist/sidecar/sidecartasks.d.ts +20 -0
- package/packages/host/dist/sidecar/sidecartasks.js +63 -0
- package/packages/host/dist/sidecar/sidecartasks.js.map +1 -0
- package/packages/host/dist/sidecar/sidecartrust.d.ts +32 -0
- package/packages/host/dist/sidecar/sidecartrust.js +74 -0
- package/packages/host/dist/sidecar/sidecartrust.js.map +1 -0
- package/packages/host/dist/sidecar.d.ts +82 -0
- package/packages/host/dist/sidecar.js +78 -0
- package/packages/host/dist/sidecar.js.map +1 -0
- package/packages/host/dist/signkey.d.ts +57 -0
- package/packages/host/dist/signkey.js +159 -0
- package/packages/host/dist/signkey.js.map +1 -0
- package/packages/host/dist/slash.d.ts +43 -0
- package/packages/host/dist/slash.js +236 -0
- package/packages/host/dist/slash.js.map +1 -0
- package/packages/host/dist/sourceanswer.d.ts +103 -0
- package/packages/host/dist/sourceanswer.js +193 -0
- package/packages/host/dist/sourceanswer.js.map +1 -0
- package/packages/host/dist/speedtest.d.ts +57 -0
- package/packages/host/dist/speedtest.js +137 -0
- package/packages/host/dist/speedtest.js.map +1 -0
- package/packages/host/dist/spendwall.d.ts +33 -0
- package/packages/host/dist/spendwall.js +45 -0
- package/packages/host/dist/spendwall.js.map +1 -0
- package/packages/host/dist/sysstat.d.ts +134 -0
- package/packages/host/dist/sysstat.js +630 -0
- package/packages/host/dist/sysstat.js.map +1 -0
- package/packages/host/dist/tailnetpeers.d.ts +34 -0
- package/packages/host/dist/tailnetpeers.js +116 -0
- package/packages/host/dist/tailnetpeers.js.map +1 -0
- package/packages/host/dist/tailscaleguard.d.ts +11 -0
- package/packages/host/dist/tailscaleguard.js +133 -0
- package/packages/host/dist/tailscaleguard.js.map +1 -0
- package/packages/host/dist/termqueries.d.ts +124 -0
- package/packages/host/dist/termqueries.js +207 -0
- package/packages/host/dist/termqueries.js.map +1 -0
- package/packages/host/dist/themeoverlay.d.ts +74 -0
- package/packages/host/dist/themeoverlay.js +262 -0
- package/packages/host/dist/themeoverlay.js.map +1 -0
- package/packages/host/dist/thumbs.d.ts +69 -0
- package/packages/host/dist/thumbs.js +359 -0
- package/packages/host/dist/thumbs.js.map +1 -0
- package/packages/host/dist/tmuxreq.d.ts +91 -0
- package/packages/host/dist/tmuxreq.js +207 -0
- package/packages/host/dist/tmuxreq.js.map +1 -0
- package/packages/host/dist/tmuxscroll.d.ts +70 -0
- package/packages/host/dist/tmuxscroll.js +206 -0
- package/packages/host/dist/tmuxscroll.js.map +1 -0
- package/packages/host/dist/tokenscan.d.ts +63 -0
- package/packages/host/dist/tokenscan.js +220 -0
- package/packages/host/dist/tokenscan.js.map +1 -0
- package/packages/host/dist/tokenstats.d.ts +115 -0
- package/packages/host/dist/tokenstats.js +763 -0
- package/packages/host/dist/tokenstats.js.map +1 -0
- package/packages/host/dist/toolchain.d.ts +147 -0
- package/packages/host/dist/toolchain.js +468 -0
- package/packages/host/dist/toolchain.js.map +1 -0
- package/packages/host/dist/transcript/transcriptlog.d.ts +134 -0
- package/packages/host/dist/transcript/transcriptlog.js +300 -0
- package/packages/host/dist/transcript/transcriptlog.js.map +1 -0
- package/packages/host/dist/transcript/transcriptparse.d.ts +28 -0
- package/packages/host/dist/transcript/transcriptparse.js +377 -0
- package/packages/host/dist/transcript/transcriptparse.js.map +1 -0
- package/packages/host/dist/transcript/transcriptscreen.d.ts +71 -0
- package/packages/host/dist/transcript/transcriptscreen.js +120 -0
- package/packages/host/dist/transcript/transcriptscreen.js.map +1 -0
- package/packages/host/dist/transcript/transcriptturns.d.ts +139 -0
- package/packages/host/dist/transcript/transcriptturns.js +270 -0
- package/packages/host/dist/transcript/transcriptturns.js.map +1 -0
- package/packages/host/dist/transcript.d.ts +28 -0
- package/packages/host/dist/transcript.js +34 -0
- package/packages/host/dist/transcript.js.map +1 -0
- package/packages/host/dist/transportsurvey.d.ts +10 -0
- package/packages/host/dist/transportsurvey.js +109 -0
- package/packages/host/dist/transportsurvey.js.map +1 -0
- package/packages/host/dist/tree.d.ts +80 -0
- package/packages/host/dist/tree.js +372 -0
- package/packages/host/dist/tree.js.map +1 -0
- package/packages/host/dist/turnagents.d.ts +17 -0
- package/packages/host/dist/turnagents.js +205 -0
- package/packages/host/dist/turnagents.js.map +1 -0
- package/packages/host/dist/uistats.d.ts +18 -0
- package/packages/host/dist/uistats.js +105 -0
- package/packages/host/dist/uistats.js.map +1 -0
- package/packages/host/dist/update.d.ts +100 -0
- package/packages/host/dist/update.js +536 -0
- package/packages/host/dist/update.js.map +1 -0
- package/packages/host/dist/updates/apply.d.ts +45 -0
- package/packages/host/dist/updates/apply.js +362 -0
- package/packages/host/dist/updates/apply.js.map +1 -0
- package/packages/host/dist/updates/catalog.d.ts +11 -0
- package/packages/host/dist/updates/catalog.js +123 -0
- package/packages/host/dist/updates/catalog.js.map +1 -0
- package/packages/host/dist/updates/checker.d.ts +73 -0
- package/packages/host/dist/updates/checker.js +189 -0
- package/packages/host/dist/updates/checker.js.map +1 -0
- package/packages/host/dist/updates/github.d.ts +13 -0
- package/packages/host/dist/updates/github.js +63 -0
- package/packages/host/dist/updates/github.js.map +1 -0
- package/packages/host/dist/updates/gitops.d.ts +16 -0
- package/packages/host/dist/updates/gitops.js +61 -0
- package/packages/host/dist/updates/gitops.js.map +1 -0
- package/packages/host/dist/updates/installrecord.d.ts +26 -0
- package/packages/host/dist/updates/installrecord.js +42 -0
- package/packages/host/dist/updates/installrecord.js.map +1 -0
- package/packages/host/dist/updates/remote.d.ts +10 -0
- package/packages/host/dist/updates/remote.js +54 -0
- package/packages/host/dist/updates/remote.js.map +1 -0
- package/packages/host/dist/updates/restart.d.ts +5 -0
- package/packages/host/dist/updates/restart.js +20 -0
- package/packages/host/dist/updates/restart.js.map +1 -0
- package/packages/host/dist/updates/self.d.ts +19 -0
- package/packages/host/dist/updates/self.js +51 -0
- package/packages/host/dist/updates/self.js.map +1 -0
- package/packages/host/dist/updates/wire.d.ts +18 -0
- package/packages/host/dist/updates/wire.js +21 -0
- package/packages/host/dist/updates/wire.js.map +1 -0
- package/packages/host/dist/usage.d.ts +124 -0
- package/packages/host/dist/usage.js +411 -0
- package/packages/host/dist/usage.js.map +1 -0
- package/packages/host/dist/usagelog.d.ts +53 -0
- package/packages/host/dist/usagelog.js +223 -0
- package/packages/host/dist/usagelog.js.map +1 -0
- package/packages/host/dist/usagesourcelog.d.ts +59 -0
- package/packages/host/dist/usagesourcelog.js +208 -0
- package/packages/host/dist/usagesourcelog.js.map +1 -0
- package/packages/host/dist/usagesources.d.ts +175 -0
- package/packages/host/dist/usagesources.js +462 -0
- package/packages/host/dist/usagesources.js.map +1 -0
- package/packages/host/dist/visualskill.d.ts +36 -0
- package/packages/host/dist/visualskill.js +230 -0
- package/packages/host/dist/visualskill.js.map +1 -0
- package/packages/host/dist/webbundle.d.ts +47 -0
- package/packages/host/dist/webbundle.js +155 -0
- package/packages/host/dist/webbundle.js.map +1 -0
- package/packages/host/dist/wirerecord.d.ts +5 -0
- package/packages/host/dist/wirerecord.js +128 -0
- package/packages/host/dist/wirerecord.js.map +1 -0
- package/packages/host/dist/worktreeleftover.d.ts +27 -0
- package/packages/host/dist/worktreeleftover.js +153 -0
- package/packages/host/dist/worktreeleftover.js.map +1 -0
- package/packages/host/dist/worktreeowner.d.ts +17 -0
- package/packages/host/dist/worktreeowner.js +45 -0
- package/packages/host/dist/worktreeowner.js.map +1 -0
- package/packages/host/package.json +26 -0
- package/packages/web/dist/assets/apple-touch-icon.png +0 -0
- package/packages/web/dist/assets/badge-96.png +0 -0
- package/packages/web/dist/assets/demo-CXlqlYE4.js +23 -0
- package/packages/web/dist/assets/hero.png +0 -0
- package/packages/web/dist/assets/icon-192.png +0 -0
- package/packages/web/dist/assets/icon-32.png +0 -0
- package/packages/web/dist/assets/icon-48.png +0 -0
- package/packages/web/dist/assets/icon-512-maskable.png +0 -0
- package/packages/web/dist/assets/icon-512.png +0 -0
- package/packages/web/dist/assets/icon-dark.svg +43 -0
- package/packages/web/dist/assets/icon-light.svg +42 -0
- package/packages/web/dist/assets/icon.svg +11 -0
- package/packages/web/dist/assets/icons-BbqDBVjw.js +1 -0
- package/packages/web/dist/assets/index-CgPoyb3Y.css +1 -0
- package/packages/web/dist/assets/index-D5JKj8DK.js +169 -0
- package/packages/web/dist/assets/react-CoSyT_xY.js +8 -0
- package/packages/web/dist/assets/rolldown-runtime-BpQH8Ho1.js +1 -0
- package/packages/web/dist/assets/shared-eyaskl5l.js +47 -0
- package/packages/web/dist/assets/sheets-Bjv2L-cG.css +1 -0
- package/packages/web/dist/assets/sheets-BzzL2re1.js +204 -0
- package/packages/web/dist/assets/vendor-BPwPmufs.js +3 -0
- package/packages/web/dist/assets/xterm-BrP-ENHg.css +1 -0
- package/packages/web/dist/assets/xterm-C8zLTNGk.js +16 -0
- package/packages/web/dist/build-id.txt +1 -0
- package/packages/web/dist/demo/media/r1/dot-claude/inbox/swipe-sketch.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-android-fixed.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-android.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-before.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-date-picker.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-empty-state.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-grouped.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-ios.png +0 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-preview.html +18 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-release-notes.md +21 -0
- package/packages/web/dist/demo/media/r1/dot-claude/outbox/todo-garden-sorted.png +0 -0
- package/packages/web/dist/demo/media/r3/dot-claude/outbox/trail-log-ridge-loop.png +0 -0
- package/packages/web/dist/index.html +84 -0
- package/packages/web/dist/manifest.webmanifest +16 -0
- package/packages/web/dist/sw.js +420 -0
- package/release.json +22 -0
- package/scripts/windows/keeper.ps1 +60 -0
- package/scripts/windows/wsl-setup.sh +173 -0
- package/tools/repohealth/census.mjs +353 -0
- package/tools/repohealth/central.mjs +234 -0
- package/tools/repohealth/constants.mjs +420 -0
- package/tools/repohealth/events.mjs +563 -0
- package/tools/repohealth/fixture.json +17976 -0
- package/tools/repohealth/git.mjs +471 -0
- package/tools/repohealth/html.mjs +601 -0
- package/tools/repohealth/judge.mjs +546 -0
- package/tools/repohealth/lang/typescript-ast.mjs +538 -0
- package/tools/repohealth/metrics/classics.mjs +239 -0
- package/tools/repohealth/metrics/cochange.mjs +234 -0
- package/tools/repohealth/metrics/context.mjs +411 -0
- package/tools/repohealth/metrics/deadexports.mjs +122 -0
- package/tools/repohealth/metrics/dups.mjs +261 -0
- package/tools/repohealth/metrics/hatches.mjs +164 -0
- package/tools/repohealth/metrics/retouch.mjs +326 -0
- package/tools/repohealth/metrics/route.mjs +159 -0
- package/tools/repohealth/metrics/size.mjs +120 -0
- package/tools/repohealth/metrics/tripwires.mjs +258 -0
- package/tools/repohealth/metrics/untested.mjs +308 -0
- package/tools/repohealth/narrate.mjs +342 -0
- package/tools/repohealth/own.mjs +238 -0
- package/tools/repohealth/packs/c.mjs +124 -0
- package/tools/repohealth/packs/common.mjs +205 -0
- package/tools/repohealth/packs/dart.mjs +118 -0
- package/tools/repohealth/packs/index.mjs +83 -0
- package/tools/repohealth/packs/kotlin.mjs +320 -0
- package/tools/repohealth/packs/python.mjs +488 -0
- package/tools/repohealth/packs/shell.mjs +88 -0
- package/tools/repohealth/packs/typescript.mjs +604 -0
- package/tools/repohealth/plot.mjs +462 -0
- package/tools/repohealth/readings.mjs +427 -0
- package/tools/repohealth/scope.mjs +184 -0
- package/tools/repohealth/series.mjs +360 -0
- package/tools/repohealth/snapshot.mjs +431 -0
- package/tools/repohealth/source.mjs +266 -0
- package/tools/repohealth/statefile.mjs +31 -0
- package/tools/repohealth/types.mjs +316 -0
- package/tools/repohealth.mjs +767 -0
- package/tools/skillmap.mjs +109 -0
|
@@ -0,0 +1,694 @@
|
|
|
1
|
+
// FIRST, before every other import: it computes ROOT and loads the .env files,
|
|
2
|
+
// so a WATERPLANE_* knob a module reads at import sees them (env.ts says why).
|
|
3
|
+
import { ROOT, ROOT_DEFAULTED, ROOT_PICKED, env } from "./env.js";
|
|
4
|
+
import { createServer } from "node:http";
|
|
5
|
+
import { randomUUID } from "node:crypto";
|
|
6
|
+
import { WebSocketServer } from "ws";
|
|
7
|
+
import { logTag, envName, notifyEnabled } from "@waterplane/shared";
|
|
8
|
+
import { tailscaleIp, tailscaleBin, tailscaleDnsName, serveHttpsUrl, lanIps } from "./net.js";
|
|
9
|
+
import { configureOrigins } from "./origin.js";
|
|
10
|
+
import { printBootSummary, printReport, reportJson, runChecks } from "./doctor.js";
|
|
11
|
+
import { AuthManager, authLostNotice, selectWsProtocol } from "./auth.js";
|
|
12
|
+
import { SessionManager } from "./sessions.js";
|
|
13
|
+
import { AckLedger, ackWriteNotice, lostLedgerNotice } from "./acks.js";
|
|
14
|
+
import { BacklogManager, BACKLOG_LINGER_MS } from "./backlog.js";
|
|
15
|
+
import { BuildManager } from "./builds.js";
|
|
16
|
+
import { createFirstApp } from "./server/firstapp.js";
|
|
17
|
+
import { CaptureManager } from "./capture.js";
|
|
18
|
+
import { AssessStore, makeAssessExecutor } from "./assess.js";
|
|
19
|
+
import { AutoPullManager } from "./autopull.js";
|
|
20
|
+
import { FanoutManager } from "./fanout.js";
|
|
21
|
+
import { IntentManager } from "./intents/manager.js";
|
|
22
|
+
import { launchesToDrafts, schedulesToDrafts } from "./intents/adapters.js";
|
|
23
|
+
import { ReviewManager, ReviewStore } from "./review.js";
|
|
24
|
+
import { NamingManager } from "./naming.js";
|
|
25
|
+
import { OpenDeliveries, setOpenDeliveries } from "./opendeliveries.js";
|
|
26
|
+
import { CliHealthStore, setCliHealth } from "./clihealth.js";
|
|
27
|
+
import { TokenStatsStore } from "./tokenstats.js";
|
|
28
|
+
import { SentLog, setSentLog } from "./sentlog.js";
|
|
29
|
+
import { InstallLogStore } from "./installlog.js";
|
|
30
|
+
import { SettingsStore } from "./settings.js";
|
|
31
|
+
import { PushManager } from "./push.js";
|
|
32
|
+
import { NotifyPrefsStore } from "./notifyprefs.js";
|
|
33
|
+
import { UpdateChecker } from "./update.js";
|
|
34
|
+
import { createPluginUpdates, createUpdateApplier } from "./updates/wire.js";
|
|
35
|
+
import { SetupWatcher } from "./setupwatch.js";
|
|
36
|
+
import { createHealthWatch } from "./healthwatch.js";
|
|
37
|
+
import { startDiskWatch } from "./diskwatch.js";
|
|
38
|
+
import { NetStats } from "./netstats.js";
|
|
39
|
+
import { DecisionLog } from "./decisionlog.js";
|
|
40
|
+
import { PluginRegistry } from "./plugins/pluginregistry.js";
|
|
41
|
+
import { hostSecretDir } from "./secrets.js";
|
|
42
|
+
import { createPeerStore } from "./peers/store.js";
|
|
43
|
+
import { startPeerJobs } from "./peers/agentpeer.js";
|
|
44
|
+
import { setPeerServe, setPeerSelfAddr } from "./peers/routes.js";
|
|
45
|
+
import { createPeerServe } from "./peers/serve.js";
|
|
46
|
+
import { Meter } from "./meter.js";
|
|
47
|
+
import { UiStats } from "./uistats.js";
|
|
48
|
+
import { UsageChecker } from "./usage.js";
|
|
49
|
+
import { createUsageSources } from "./usagesources.js";
|
|
50
|
+
import { UsageLog } from "./usagelog.js";
|
|
51
|
+
import { createBurnWatch } from "./burnwatch.js";
|
|
52
|
+
import { costMeta } from "./costwindow.js";
|
|
53
|
+
import { hostStateDir } from "./branddirs.js";
|
|
54
|
+
import { BudgetStore } from "./budget.js";
|
|
55
|
+
import { setSpendPeriodSource } from "./spendwall.js";
|
|
56
|
+
import { createBillingWire } from "./server/billingwire.js";
|
|
57
|
+
import { backendInfos, claudeBackend, primeBackendModels } from "./backends/index.js";
|
|
58
|
+
import { initThumbs } from "./thumbs.js";
|
|
59
|
+
import { dispatch } from "./routes/index.js";
|
|
60
|
+
import { installChecklistStores } from "./setupprefs.js";
|
|
61
|
+
import { AskRulesStore, setAskRulesStore } from "./askrules.js";
|
|
62
|
+
import { installSessionModels } from "./localrt.js";
|
|
63
|
+
import { startLocalUsage } from "./localusage.js";
|
|
64
|
+
import { createClients } from "./server/clients.js";
|
|
65
|
+
import { createDeliveries } from "./server/deliveries.js";
|
|
66
|
+
import { assertCtxComplete } from "./server/ctxseal.js";
|
|
67
|
+
import { makeIntentDeps } from "./server/intentDeps.js";
|
|
68
|
+
import { createSnapshots, wireIntentEvents } from "./server/intentEvents.js";
|
|
69
|
+
import { createScan } from "./server/scan.js";
|
|
70
|
+
import { wireSessionEvents } from "./server/sessionEvents.js";
|
|
71
|
+
import { createHttp } from "./server/http.js";
|
|
72
|
+
import { installShutdown } from "./server/shutdown.js";
|
|
73
|
+
import { createWsOps, WS_MAX_PAYLOAD } from "./server/wsops.js";
|
|
74
|
+
const PORT = Number(env("PORT") || 8770);
|
|
75
|
+
/**
|
|
76
|
+
* `npm run doctor` imports this whole module, and its body boots managers. A
|
|
77
|
+
* report must never START anything: measured 2026-09-25, a `--doctor` run was
|
|
78
|
+
* still alive 25 h later, kept up by the usage poll below, and had spawned a
|
|
79
|
+
* `claude` /usage probe every 8 min — 193 of the machine's 511 PTYs, the table
|
|
80
|
+
* ran dry. So every module-level starter is gated on this, and `main()` exits
|
|
81
|
+
* explicitly after the report (bounded by `DOCTOR_DEADLINE_MS`).
|
|
82
|
+
*/
|
|
83
|
+
const DOCTOR = process.argv.includes("--doctor");
|
|
84
|
+
const DOCTOR_DEADLINE_MS = 90_000;
|
|
85
|
+
// Defined in webbundle.ts, which also publishes this directory as a downloadable
|
|
86
|
+
// manifest for the Android shell's over-the-air updates — one definition, so the
|
|
87
|
+
// bytes we serve and the bytes we describe can never be two different trees.
|
|
88
|
+
/** Identity of THIS daemon process, handed to every client in `welcome`. PTY
|
|
89
|
+
* `seq` counts bytes since a session was registered, so it restarts at 0 on a
|
|
90
|
+
* restart even for a tmux session that never died — a resume point persisted by
|
|
91
|
+
* the phone across that boundary would index a byte stream that no longer
|
|
92
|
+
* exists. Clients hand the boot id back with `resumeSeq`; a mismatch means a
|
|
93
|
+
* full replay instead of a corrupt stitch. */
|
|
94
|
+
const BOOT_ID = randomUUID();
|
|
95
|
+
/**
|
|
96
|
+
* Everything a route handler and a `server/` factory may reach for, filled in
|
|
97
|
+
* boot order: one `ctx.<name> = <name>` right after each name is defined. A
|
|
98
|
+
* reader goes through `ctx.<name>` at CALL time, never at construction — see
|
|
99
|
+
* `server/ctx.ts`, and docs/notes/host-architecture.md ("ServerCtx").
|
|
100
|
+
*/
|
|
101
|
+
const ctx = {};
|
|
102
|
+
ctx.ROOT = ROOT;
|
|
103
|
+
ctx.BOOT_ID = BOOT_ID;
|
|
104
|
+
ctx.PORT = PORT;
|
|
105
|
+
ctx.DOCTOR = DOCTOR;
|
|
106
|
+
// The intent store as the phone sees it — `server/intentEvents.ts`. Nothing is
|
|
107
|
+
// read until a snapshot is CALLED, so the construction callbacks below may hold
|
|
108
|
+
// them long before `intents`, `backlog` or `naming` exist.
|
|
109
|
+
const { scheduleSnapshot, launchSnapshot, intentSnapshot, assessSnapshot, backlogSnapshot, ...snap } = createSnapshots(ctx);
|
|
110
|
+
ctx.scheduleSnapshot = scheduleSnapshot;
|
|
111
|
+
ctx.launchSnapshot = launchSnapshot;
|
|
112
|
+
ctx.intentSnapshot = intentSnapshot;
|
|
113
|
+
ctx.assessSnapshot = assessSnapshot;
|
|
114
|
+
ctx.backlogSnapshot = backlogSnapshot;
|
|
115
|
+
ctx.padNotesFor = snap.padNotesFor;
|
|
116
|
+
setAskRulesStore(new AskRulesStore(ROOT));
|
|
117
|
+
const sessions = new SessionManager(ROOT, PORT); // ask rules first: `create` reads them per launch
|
|
118
|
+
ctx.sessions = sessions;
|
|
119
|
+
// Live sessions per resident model (`localrt.ts`'s `installSessionModels`, a closure called
|
|
120
|
+
// fresh on every sample), and the runner's own ledger (`localusage.ts`).
|
|
121
|
+
installSessionModels(() => sessions.list().map((s) => s.model));
|
|
122
|
+
if (!DOCTOR)
|
|
123
|
+
startLocalUsage(ROOT);
|
|
124
|
+
const push = new PushManager(ROOT);
|
|
125
|
+
ctx.push = push;
|
|
126
|
+
/** Which notification kinds are wanted at all — checked before the feed entry
|
|
127
|
+
* AND before the push, since muting only the display still buzzes the phone. */
|
|
128
|
+
const notifyPrefs = new NotifyPrefsStore(ROOT);
|
|
129
|
+
const auth = new AuthManager(ROOT);
|
|
130
|
+
ctx.notifyPrefs = notifyPrefs;
|
|
131
|
+
ctx.auth = auth;
|
|
132
|
+
ctx.peers = createPeerStore(hostSecretDir());
|
|
133
|
+
setPeerServe(createPeerServe(ctx));
|
|
134
|
+
/** Runs the repo setup checklist on its own, so a repo that was cloned on the
|
|
135
|
+
* desktop and driven from the phone gets inspected before its first inbox photo
|
|
136
|
+
* lands in `git status` — rather than only when someone opens the sheet. Read
|
|
137
|
+
* only: it flags, the fix stays a tap. */
|
|
138
|
+
const setupWatch = new SetupWatcher(ROOT);
|
|
139
|
+
ctx.setupWatch = setupWatch;
|
|
140
|
+
/** Per-repo context-weight thresholds. Installed as the module singleton before
|
|
141
|
+
* anything can inspect a repo — `inspectRepo()` reaches it through a free
|
|
142
|
+
* function, and an unset store silently means "env and defaults only", which is
|
|
143
|
+
* the pre-override behaviour and the right answer for a tool that never booted
|
|
144
|
+
* a daemon. */
|
|
145
|
+
installChecklistStores(ROOT);
|
|
146
|
+
/** Who is connected and how anything reaches them — sockets, `send`/`broadcast`,
|
|
147
|
+
* auth re-evaluation, the watched set, the notification feed and `notify()`.
|
|
148
|
+
* See `server/clients.ts`. */
|
|
149
|
+
const { attached, clients, wsKind, wsToken, wsDevice, wsRole, closeDevice, socketAuthorized, authStateFor, enforceAuth, broadcastAuthState, recomputeWatched, isAttachedToSomeone, send, broadcast, notifications, notify, } = createClients({ auth, notifyPrefs, push, sessions });
|
|
150
|
+
ctx.healthWatch = createHealthWatch(ROOT, notify);
|
|
151
|
+
Object.assign(ctx, {
|
|
152
|
+
attached, clients, wsKind, wsToken, wsDevice, wsRole, closeDevice, socketAuthorized,
|
|
153
|
+
authStateFor, enforceAuth, broadcastAuthState, recomputeWatched, isAttachedToSomeone,
|
|
154
|
+
send, broadcast, notifications, notify,
|
|
155
|
+
});
|
|
156
|
+
const deliveries = createDeliveries(ctx);
|
|
157
|
+
ctx.startPrompt = deliveries.startPrompt;
|
|
158
|
+
ctx.deliverChain = deliveries.deliverChain;
|
|
159
|
+
ctx.deliverySnapshot = deliveries.deliverySnapshot;
|
|
160
|
+
ctx.deliverInput = deliveries.deliverInput;
|
|
161
|
+
/**
|
|
162
|
+
* The CLI integration's own health.
|
|
163
|
+
*
|
|
164
|
+
* Everything this app does rests on driving a TUI it does not own, and every one
|
|
165
|
+
* of those integration points degrades to null by design — correctly, and in
|
|
166
|
+
* silence. Graceful degradation nobody is told about is indistinguishable from
|
|
167
|
+
* working, which is how one delivery in five came back as a gravestone for a
|
|
168
|
+
* week. The record is fed from ten call sites (`clihealth.ts` names them); the
|
|
169
|
+
* singleton is what stops call site eleven from forgetting.
|
|
170
|
+
*/
|
|
171
|
+
const cliHealthStore = new CliHealthStore(ROOT, (health, rollup) => broadcast({ t: "clihealth", health, rollup, source: cliHealthStore.source() }), (kind, p) => notify(kind, p));
|
|
172
|
+
setCliHealth(cliHealthStore);
|
|
173
|
+
ctx.cliHealthStore = cliHealthStore;
|
|
174
|
+
/**
|
|
175
|
+
* Token usage across every conversation log on disk.
|
|
176
|
+
*
|
|
177
|
+
* Constructed at boot so the persisted per-file summaries are already in memory
|
|
178
|
+
* when the statistics screen is first opened — the alternative is a 4.5 s cold
|
|
179
|
+
* scan on that tap, after every routine `npm run restart`.
|
|
180
|
+
*/
|
|
181
|
+
const tokenStats = new TokenStatsStore(ROOT);
|
|
182
|
+
ctx.tokenStats = tokenStats;
|
|
183
|
+
/**
|
|
184
|
+
* Warm it in the background, once, a little after boot.
|
|
185
|
+
*
|
|
186
|
+
* The first scan on a machine with no persisted store walks every conversation
|
|
187
|
+
* log there is — measured here, 9,947 files and ~7 s. That is fine to pay while
|
|
188
|
+
* nobody is waiting and wrong to pay on the tap that opens the screen. Deferred
|
|
189
|
+
* so it does not compete with session rediscovery, and `unref`'d so it cannot
|
|
190
|
+
* hold the process up; the scan itself yields to the event loop throughout
|
|
191
|
+
* (`tokenstats.ts`), so the daemon stays responsive while it runs.
|
|
192
|
+
*/
|
|
193
|
+
setTimeout(() => { void tokenStats.read(0).catch(() => undefined); }, 20_000).unref();
|
|
194
|
+
/**
|
|
195
|
+
* Auto-download: per-repo rules for what the phone should fetch on its own, plus
|
|
196
|
+
* the persisted queue of files waiting to be fetched. The queue exists because
|
|
197
|
+
* the interesting case is a file that lands while nothing is connected — a live
|
|
198
|
+
* broadcast alone would drop exactly the pull you were waiting for.
|
|
199
|
+
*
|
|
200
|
+
* A queued item notifies with `pull: true`, which is what lets the service
|
|
201
|
+
* worker start a Background Fetch from the push handler with the app closed.
|
|
202
|
+
*/
|
|
203
|
+
const autopull = new AutoPullManager(ROOT);
|
|
204
|
+
ctx.autopull = autopull;
|
|
205
|
+
// The scanners, the auto-pull hand-over, the build announcement and the one
|
|
206
|
+
// `autopull.on("item")` listener are `server/scan.ts`; `createScan` registers
|
|
207
|
+
// that listener, so it is called right here, after the construction.
|
|
208
|
+
const { imgSeen, outSeen, pullSeen, scanImages, scanOutboxDocs, scanPullCandidates, pullNewFiles, fmtSize, ...scan } = createScan(ctx);
|
|
209
|
+
ctx.announceBuild = scan.announceBuild;
|
|
210
|
+
ctx.imgSeen = imgSeen;
|
|
211
|
+
ctx.scanImages = scanImages;
|
|
212
|
+
ctx.outSeen = outSeen;
|
|
213
|
+
ctx.scanOutboxDocs = scanOutboxDocs;
|
|
214
|
+
ctx.pullSeen = pullSeen;
|
|
215
|
+
ctx.scanPullCandidates = scanPullCandidates;
|
|
216
|
+
ctx.pullNewFiles = pullNewFiles;
|
|
217
|
+
ctx.pullCatchUp = scan.pullCatchUp;
|
|
218
|
+
ctx.fmtSize = fmtSize;
|
|
219
|
+
// The durable Intent store. Its deps literal, the executors included, is
|
|
220
|
+
// `server/intentDeps.ts` (every name read off `ctx` when it is CALLED).
|
|
221
|
+
const intents = new IntentManager(makeIntentDeps(ctx));
|
|
222
|
+
ctx.intents = intents;
|
|
223
|
+
/**
|
|
224
|
+
* The backlog, the fan-out and the builds — three VIEWS of the store above,
|
|
225
|
+
* constructed after it because each one holds it.
|
|
226
|
+
*
|
|
227
|
+
* The ordering is the only thing worth a note: `intents` names all three in its
|
|
228
|
+
* executors, and they name `intents` back. That works because an executor is a
|
|
229
|
+
* closure the store calls later, long after these lines have run — the same
|
|
230
|
+
* shape `backlog.budgetBlocker` already had for `budget`.
|
|
231
|
+
*/
|
|
232
|
+
const reviewStore = new ReviewStore(ROOT, () => broadcast(backlogSnapshot()));
|
|
233
|
+
/**
|
|
234
|
+
* What the repo's untitled rows should be CALLED.
|
|
235
|
+
*
|
|
236
|
+
* The cheapest thing this daemon buys — toolless, no repo read, one small
|
|
237
|
+
* completion per batch — and the one with the narrowest store slice of any of
|
|
238
|
+
* them: `list` and `name`, which between them cannot run, move, retire or
|
|
239
|
+
* re-word anything. Built here before the backlog, for the closure reason
|
|
240
|
+
* the executors above rely on; `onChange` is the same broadcast, because the rows a pass is working
|
|
241
|
+
* on ride the backlog snapshot as a transient.
|
|
242
|
+
*/
|
|
243
|
+
const naming = new NamingManager({
|
|
244
|
+
intents,
|
|
245
|
+
onChange: () => broadcast(backlogSnapshot()),
|
|
246
|
+
});
|
|
247
|
+
const backlog = new BacklogManager(ROOT, sessions, intents, reviewStore);
|
|
248
|
+
const review = new ReviewManager(sessions, intents, reviewStore);
|
|
249
|
+
const fanout = new FanoutManager(ROOT, sessions, intents);
|
|
250
|
+
ctx.naming = naming;
|
|
251
|
+
ctx.backlog = backlog;
|
|
252
|
+
ctx.review = review;
|
|
253
|
+
ctx.fanout = fanout;
|
|
254
|
+
// Build buttons: run a repo's build command without a claude session (the
|
|
255
|
+
// token-limit escape hatch). Output streams to every client (builds are rare —
|
|
256
|
+
// no per-session attach gating); a completed build notifies with its artifact.
|
|
257
|
+
const builds = new BuildManager(intents);
|
|
258
|
+
ctx.builds = builds;
|
|
259
|
+
builds.on("output", (runId, chunk) => broadcast({ t: "build.output", runId, dataB64: Buffer.from(chunk, "utf8").toString("base64") }));
|
|
260
|
+
/**
|
|
261
|
+
* The verified capture loop — a build with a picture and a claim on the end.
|
|
262
|
+
*
|
|
263
|
+
* Constructed here beside `builds`, holding the same store, and streaming over
|
|
264
|
+
* the same one socket: `capture.output` is `build.output`'s shape on purpose,
|
|
265
|
+
* so nothing about a picture needs a second connection to arrive.
|
|
266
|
+
*/
|
|
267
|
+
const capture = new CaptureManager(intents);
|
|
268
|
+
ctx.capture = capture;
|
|
269
|
+
capture.on("output", (runId, chunk) => broadcast({ t: "capture.output", runId, dataB64: Buffer.from(chunk, "utf8").toString("base64") }));
|
|
270
|
+
/**
|
|
271
|
+
* "What is left in this repo, and what is already done" — the store, and the
|
|
272
|
+
* executor the intent manager calls.
|
|
273
|
+
*
|
|
274
|
+
* Broadcast per REPO on every state change, which is what makes a run visible
|
|
275
|
+
* while it works: an assess row is neither `isBacklogRow` nor `isBuildRow`, so
|
|
276
|
+
* without its own snapshot it would appear in no list at all until it finished.
|
|
277
|
+
*/
|
|
278
|
+
const assess = new AssessStore(ROOT, (repoDir) => broadcast(assessSnapshot(repoDir)));
|
|
279
|
+
const assessExecutor = makeAssessExecutor({
|
|
280
|
+
store: assess,
|
|
281
|
+
intents: () => intents.list(),
|
|
282
|
+
notes: (cwd) => ctx.padNotesFor(cwd),
|
|
283
|
+
});
|
|
284
|
+
ctx.assess = assess;
|
|
285
|
+
ctx.assessExecutor = assessExecutor;
|
|
286
|
+
/**
|
|
287
|
+
* Close the automatic sessions nobody is using any more.
|
|
288
|
+
*
|
|
289
|
+
* A TIMER, unlike everything in `intents/`, and the distinction is the store's
|
|
290
|
+
* own: nothing is FIRED on this clock — no work runs, no prompt is typed, no
|
|
291
|
+
* decision is made that a restart could get wrong. It only closes a session that
|
|
292
|
+
* has been idle, unattached and empty for `WATERPLANE_BACKLOG_LINGER_MS`, and "ten
|
|
293
|
+
* minutes from now" is a question no event can answer (the session's last event
|
|
294
|
+
* is the turn that ended it). A minute of granularity on a ten-minute linger,
|
|
295
|
+
* unref'd so it never holds the process open, and re-asked from scratch each
|
|
296
|
+
* time rather than scheduled per session — a per-session timer would be one more
|
|
297
|
+
* thing a restart silently drops.
|
|
298
|
+
*/
|
|
299
|
+
if (BACKLOG_LINGER_MS > 0) {
|
|
300
|
+
const lingerTimer = setInterval(() => {
|
|
301
|
+
const closed = backlog.lingerSweep(isAttachedToSomeone);
|
|
302
|
+
if (closed.length)
|
|
303
|
+
console.log(`${logTag} closed ${closed.length} idle automatic session${closed.length === 1 ? "" : "s"} (they are under Recently closed)`);
|
|
304
|
+
}, Math.max(5_000, Math.min(60_000, BACKLOG_LINGER_MS)));
|
|
305
|
+
if (typeof lingerTimer.unref === "function")
|
|
306
|
+
lingerTimer.unref();
|
|
307
|
+
}
|
|
308
|
+
// Every `sessions.on(…)` main registers — the turnEnded/exit → intents pair
|
|
309
|
+
// FIRST, then the broadcasts, the scan baselines, the prompt, the limit log and
|
|
310
|
+
// idle, fifteen in all and in that order, are `server/sessionEvents.ts`. Wired here, at the position of the first one, and
|
|
311
|
+
// before the intent store's own listeners below. Its `ptyHeld` is the plugin streams' PTY-first check.
|
|
312
|
+
const ptyFanout = wireSessionEvents(ctx);
|
|
313
|
+
// The four `intents.on(…)` blocks (settled, requeued, skipped, missed, in that
|
|
314
|
+
// order) are `server/intentEvents.ts`; registered here, after the store exists
|
|
315
|
+
// and before `migrateLegacy`/`start` below.
|
|
316
|
+
wireIntentEvents(ctx);
|
|
317
|
+
// Import what the old per-subsystem files were holding, then rename each source
|
|
318
|
+
// to `*.migrated` — a conversion nobody can check is a conversion nobody can
|
|
319
|
+
// trust, so the evidence stays on disk.
|
|
320
|
+
intents.migrateLegacy({ launches: launchesToDrafts, schedules: schedulesToDrafts });
|
|
321
|
+
// A doctor run that ticked the intent store would fire deferred work from a
|
|
322
|
+
// second process next to the live host — never.
|
|
323
|
+
if (!DOCTOR)
|
|
324
|
+
intents.start();
|
|
325
|
+
/**
|
|
326
|
+
* Deliveries this host could not confirm — and keeps asking about.
|
|
327
|
+
*
|
|
328
|
+
* The second half of the same handover `launches` is the first half of: a
|
|
329
|
+
* question about work must not be owned by a phone. `deliver.ts` registers a
|
|
330
|
+
* row here whenever its echo window fails, the sweep re-asks the CLI's own
|
|
331
|
+
* conversation log until the answer is one of the terminal verdicts, and the
|
|
332
|
+
* resolution is broadcast whether or not anybody was listening when it landed.
|
|
333
|
+
*/
|
|
334
|
+
const openDeliveries = new OpenDeliveries(ROOT, sessions, deliveries.resendOpenDelivery, () => broadcast(deliveries.deliverySnapshot()));
|
|
335
|
+
setOpenDeliveries(openDeliveries);
|
|
336
|
+
ctx.openDeliveries = openDeliveries;
|
|
337
|
+
deliveries.wireDeliverySettled();
|
|
338
|
+
if (!DOCTOR)
|
|
339
|
+
openDeliveries.start();
|
|
340
|
+
ctx.onboard = createFirstApp(ctx);
|
|
341
|
+
startPeerJobs(ctx); // the first-app job resumes after the store has started; so do open peer jobs
|
|
342
|
+
const updates = new UpdateChecker((info) => {
|
|
343
|
+
broadcast({ t: "update.status", info });
|
|
344
|
+
// The CLI's version is part of the health record, because an upgrade is the
|
|
345
|
+
// single most likely cause of a heuristic breaking: a change re-arms every
|
|
346
|
+
// signal and is announced on its own, once, before the readout goes grey. An
|
|
347
|
+
// absent `current` is ignored inside `noteVersion` — a reading we could not
|
|
348
|
+
// take must never look like a new binary.
|
|
349
|
+
cliHealthStore.noteVersion(info.current);
|
|
350
|
+
});
|
|
351
|
+
ctx.updates = updates;
|
|
352
|
+
/** Limit auto-continues + plugin decisions; migrates the old oracle log once. */
|
|
353
|
+
const decisionLog = new DecisionLog(ROOT, () => broadcast({ t: "decisions.log", entries: decisionLog.list(undefined, true).slice(0, 200) }));
|
|
354
|
+
ctx.decisionLog = decisionLog;
|
|
355
|
+
/**
|
|
356
|
+
* The sent-command audit log. Constructed here (not inside `sentlog.ts`) so it
|
|
357
|
+
* gets the two things only this module has: the session facts to stamp onto an
|
|
358
|
+
* entry, and the broadcast that puts a new row on an open phone immediately.
|
|
359
|
+
*/
|
|
360
|
+
const sentLogStore = new SentLog(ROOT, (id) => {
|
|
361
|
+
const info = sessions.get(id);
|
|
362
|
+
return info ? { title: info.title, repoDir: info.cwd } : null;
|
|
363
|
+
}, (entry) => broadcast({ t: "sent.new", entry }));
|
|
364
|
+
setSentLog(sentLogStore);
|
|
365
|
+
ctx.sentLogStore = sentLogStore;
|
|
366
|
+
/**
|
|
367
|
+
* What the phones installed. One host, many devices — see `installlog.ts`: the
|
|
368
|
+
* installs happen on the phones with the app closed, so the only place the
|
|
369
|
+
* whole fleet's history can exist is the desktop that produced the builds.
|
|
370
|
+
*/
|
|
371
|
+
const installLog = new InstallLogStore(ROOT);
|
|
372
|
+
ctx.installLog = installLog;
|
|
373
|
+
/**
|
|
374
|
+
* The settings that follow the USER rather than the browser — prompt
|
|
375
|
+
* templates, presets, header commands, the pad, the toolbar layout. Opaque
|
|
376
|
+
* values, last-write-wins on the client's timestamp; the allow-list of keys
|
|
377
|
+
* lives in `@waterplane/shared`. See `settings.ts`.
|
|
378
|
+
*/
|
|
379
|
+
const settings = new SettingsStore(ROOT);
|
|
380
|
+
const meter = new Meter(ROOT, (s) => broadcast({ t: "meter.status", summary: s }));
|
|
381
|
+
ctx.settings = settings;
|
|
382
|
+
ctx.meter = meter;
|
|
383
|
+
// Which UI features actually get used — persisted to <STATE_DIR>/ui-usage.json
|
|
384
|
+
// so an agent can read it and prune what never fires. Local only.
|
|
385
|
+
const uiStats = new UiStats(ROOT);
|
|
386
|
+
ctx.uiStats = uiStats;
|
|
387
|
+
/**
|
|
388
|
+
* The readings, kept. Recorded HERE rather than inside the checker so the
|
|
389
|
+
* scraper stays a scraper: `usage.ts` reads a screen, this decides that a
|
|
390
|
+
* reading is worth remembering. Nothing on this path ever asks for a scrape —
|
|
391
|
+
* see `usagelog.ts`.
|
|
392
|
+
*/
|
|
393
|
+
const usageLog = new UsageLog(ROOT);
|
|
394
|
+
const burnWatch = createBurnWatch({ usageLog, costWindow: (a, b) => tokenStats.costWindow(a, b, costMeta(sessions, intents), 60_000), notify, stateDir: hostStateDir(ROOT) });
|
|
395
|
+
const usage = new UsageChecker(ROOT, (u) => {
|
|
396
|
+
usageLog.note(u);
|
|
397
|
+
void burnWatch.observe(u);
|
|
398
|
+
usageSources.publish(); // `usage` + every source's `readings` (usagesources.ts)
|
|
399
|
+
// A fresh reading can flip the budget either way (over, or back under after a
|
|
400
|
+
// reset): publishing it HERE makes the phone's queue rows explain themselves unasked.
|
|
401
|
+
ctx.publishBudget();
|
|
402
|
+
});
|
|
403
|
+
const usageSources = createUsageSources(ROOT, () => usage.get(), broadcast);
|
|
404
|
+
ctx.usageLog = usageLog;
|
|
405
|
+
ctx.usage = usage;
|
|
406
|
+
ctx.usageSources = usageSources;
|
|
407
|
+
/**
|
|
408
|
+
* The usage budget's gate. Reads the checker's cache — never triggers a scrape
|
|
409
|
+
* itself, because it is asked several times a second by the backlog tick and by
|
|
410
|
+
* every flush, and spawning a `claude` on that cadence would be the cost.
|
|
411
|
+
*/
|
|
412
|
+
/**
|
|
413
|
+
* The last reading, re-offered before anything has been probed.
|
|
414
|
+
*
|
|
415
|
+
* This process starts with an empty checker, and `npm run restart` — which is
|
|
416
|
+
* what shipping a new web bundle to the phone IS — runs on every host change.
|
|
417
|
+
* The phone reconnected, asked, and drew `? / ? wk` until a fresh scrape landed
|
|
418
|
+
* (9-15 s at best, the whole TTL when that scrape failed), for a figure that was
|
|
419
|
+
* sitting in `usagelog.jsonl` the entire time. `seed` claims a window only while
|
|
420
|
+
* the reset the screen named is still ahead, keeps the ORIGINAL `checkedAt`, and
|
|
421
|
+
* marks the reading `remembered` — see `usage.ts`.
|
|
422
|
+
*/
|
|
423
|
+
usage.seed(usageLog.last());
|
|
424
|
+
// Billing profile + dollar-period spend (server/billingwire.ts); the budget reads them.
|
|
425
|
+
const billingWire = createBillingWire(ctx);
|
|
426
|
+
ctx.billing = billingWire.billing;
|
|
427
|
+
const budget = new BudgetStore(ROOT, () => usage.get(), () => billingWire.spend(), () => billingWire.scraped());
|
|
428
|
+
ctx.budget = budget;
|
|
429
|
+
setSpendPeriodSource(() => budget.usdPeriods());
|
|
430
|
+
ctx.publishBudget = billingWire.publishBudget; // tells clients the verdict, only when it moved
|
|
431
|
+
// Keep usage warm only when something GATES on it (each poll spawns claude).
|
|
432
|
+
function syncUsagePolling() {
|
|
433
|
+
// Poll when a plugin could answer a box unattended (its per-session switch
|
|
434
|
+
// is on somewhere) — it may gate on the plan usage (`api.claudeUsage`)…
|
|
435
|
+
const forPlugins = plugins.wantsUsage();
|
|
436
|
+
// …and whenever the usage budget is armed, which is the other consumer of the
|
|
437
|
+
// reading. Without this the gate would run on a cache nobody refreshes, go
|
|
438
|
+
// stale in 25 minutes and fail open for ever — the budget would be a switch
|
|
439
|
+
// that quietly does nothing, which is the worst way for a safety setting to
|
|
440
|
+
// fail. A budget watching nothing does not poll; a session's percent budget does (its calibration).
|
|
441
|
+
const cfg = budget.get();
|
|
442
|
+
const forBudget = cfg.enabled && (cfg.sessionMax < 100 || (cfg.weeklyMax != null && cfg.weeklyMax < 100) || (cfg.leftoverMax != null && cfg.leftoverMax < 100));
|
|
443
|
+
billingWire.syncSpendFold();
|
|
444
|
+
const forBurn = burnWatch.armed() && notifyEnabled(notifyPrefs.get(), "burn"); // the burn push only sees polled readings
|
|
445
|
+
// A known non-subscription account has no /usage screen worth a `claude` spawn; `unknown` polls as before.
|
|
446
|
+
const gated = forPlugins || forBudget || forBurn || sessions.wantsBudgetUsage();
|
|
447
|
+
usageSources.setPolling(gated); // other sources: same predicate, not claude's billing gate
|
|
448
|
+
if (!billingWire.scraped())
|
|
449
|
+
usage.stopPolling();
|
|
450
|
+
else if (gated)
|
|
451
|
+
usage.startPolling();
|
|
452
|
+
else
|
|
453
|
+
usage.stopPolling();
|
|
454
|
+
}
|
|
455
|
+
ctx.syncUsagePolling = syncUsagePolling;
|
|
456
|
+
/**
|
|
457
|
+
* Plugins (docs/notes/plugins.md): discovered in the config dir, activated
|
|
458
|
+
* after boot, never in a doctor run — a plugin may start timers or spend.
|
|
459
|
+
*/
|
|
460
|
+
const plugins = new PluginRegistry({
|
|
461
|
+
root: ROOT, configDir: hostSecretDir(), sessions, host: ctx, // `host`: handToAgent's backlog add
|
|
462
|
+
decision: (row) => decisionLog.add(row), meter: (e) => meter.record(e),
|
|
463
|
+
notify, usage: () => usage.get(), push: (plugin, event, data) => broadcast({ t: "plugin.push", plugin, event, data }),
|
|
464
|
+
changed: () => broadcast({ t: "plugin.list", plugins: plugins.views() }), hookPort: PORT, streamSink: () => ({ sendJson: (ws, msg) => send(ws, msg), ptyHeld: (ws) => ptyFanout.ptyHeld(ws) }), usageProbe: (_plugin, def) => usageSources.register(def), // `api.stream`, `api.usageProbe`
|
|
465
|
+
});
|
|
466
|
+
ctx.plugins = plugins;
|
|
467
|
+
ctx.pluginUpdates = createPluginUpdates({ root: ROOT, plugins, settings, broadcast });
|
|
468
|
+
ctx.updateApplier = createUpdateApplier({ configDir: hostSecretDir(), plugins, checker: ctx.pluginUpdates });
|
|
469
|
+
if (!DOCTOR)
|
|
470
|
+
void plugins.loadBuiltins().then(() => plugins.loadAll()).then(() => { sessions.parked((b) => plugins.backendOwner(b)); syncUsagePolling(); });
|
|
471
|
+
// Unconditional in the daemon: the budget is armed by default.
|
|
472
|
+
// Never in a doctor run — each poll is a `claude` in a PTY (see `DOCTOR`).
|
|
473
|
+
if (!DOCTOR)
|
|
474
|
+
syncUsagePolling();
|
|
475
|
+
// The billing probe: once at boot (a spawn), never per request; a change re-syncs via onChange.
|
|
476
|
+
if (!DOCTOR)
|
|
477
|
+
void billingWire.billing.refresh();
|
|
478
|
+
{
|
|
479
|
+
const b = budget.get();
|
|
480
|
+
if (b.enabled && b.sessionMax < 100)
|
|
481
|
+
console.log(`${logTag} usage budget: automatic work pauses at ${b.sessionMax}% of the session window.`);
|
|
482
|
+
}
|
|
483
|
+
if (!meter.enabled)
|
|
484
|
+
console.log(`${logTag} usage metering disabled (${envName("METER")}=0).`);
|
|
485
|
+
// ── HTTP: API router, then static web app ────────────────────────────
|
|
486
|
+
const http = createHttp(ctx);
|
|
487
|
+
// ── WebSocket ────────────────────────────────────────────────────────
|
|
488
|
+
/**
|
|
489
|
+
* Seen delivery receipts, so a client retry is idempotent (see "session.input",
|
|
490
|
+
* "backlog.add" and the durable ops below). Persisted + TTL'd in acks.ts.
|
|
491
|
+
*/
|
|
492
|
+
const acks = new AckLedger(ROOT);
|
|
493
|
+
ctx.acks = acks;
|
|
494
|
+
if (acks.lost)
|
|
495
|
+
notify("undelivered", lostLedgerNotice(acks.lost)); // a lost ledger is TOLD (acks.ts)
|
|
496
|
+
acks.onWriteError = (message) => notify("undelivered", ackWriteNotice(message)); // …and so is one that stopped reaching the disk
|
|
497
|
+
// So is a lost password file (auth.ts: fails closed) and an unreadable or newer intent store (intents/disk.ts).
|
|
498
|
+
if (auth.lost)
|
|
499
|
+
notify("info", authLostNotice(auth.lost));
|
|
500
|
+
{
|
|
501
|
+
const n = intents.storeNotice();
|
|
502
|
+
if (n)
|
|
503
|
+
notify("backlog", n);
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Connectivity + delivery telemetry. Counts the things you can only see in
|
|
507
|
+
* hindsight — how often sockets die and with what close code, how verified
|
|
508
|
+
* compose deliveries actually ended, and how many receipts the tunnel ate
|
|
509
|
+
* (`noteAckReplay`). See netstats.ts.
|
|
510
|
+
*/
|
|
511
|
+
const netstats = new NetStats(ROOT);
|
|
512
|
+
ctx.netstats = netstats;
|
|
513
|
+
const wsops = createWsOps(ctx);
|
|
514
|
+
ctx.inputsInFlight = wsops.inputsInFlight;
|
|
515
|
+
ctx.durableOp = wsops.durableOp;
|
|
516
|
+
ctx.containRepoDir = wsops.containRepoDir;
|
|
517
|
+
/**
|
|
518
|
+
* One client frame.
|
|
519
|
+
*
|
|
520
|
+
* The 92-arm switch this used to be lives in `routes/` now, one file per
|
|
521
|
+
* domain, dispatched from a table. See `routes/types.ts` for why that shape
|
|
522
|
+
* was worth the move — briefly: `durableOp` and `containRepoDir` are rules
|
|
523
|
+
* that a ninety-third arm could silently omit, and this file was the second
|
|
524
|
+
* most-edited in the project because every feature added an arm to it.
|
|
525
|
+
*/
|
|
526
|
+
function handleClientMessage(ws, msg) {
|
|
527
|
+
dispatch(ctx, ws, msg);
|
|
528
|
+
}
|
|
529
|
+
ctx.handleClientMessage = handleClientMessage;
|
|
530
|
+
async function main() {
|
|
531
|
+
if (DOCTOR) {
|
|
532
|
+
// A hard ceiling on the whole report: every check has its own timeout, and
|
|
533
|
+
// this is the one that holds when one of them does not.
|
|
534
|
+
setTimeout(() => {
|
|
535
|
+
console.error(`${logTag} doctor did not finish within ${DOCTOR_DEADLINE_MS / 1000}s — exiting.`);
|
|
536
|
+
process.exit(2);
|
|
537
|
+
}, DOCTOR_DEADLINE_MS).unref();
|
|
538
|
+
}
|
|
539
|
+
// Ask every backend for its model catalogue ONCE — and NEVER block boot on it.
|
|
540
|
+
//
|
|
541
|
+
// A catalogue is a subprocess (`opencode models`), and a subprocess on the
|
|
542
|
+
// boot path is a daemon that binds its port whenever some other program feels
|
|
543
|
+
// like answering. It cannot reject, and an unprimed catalogue is an EMPTY one,
|
|
544
|
+
// which the phone renders as a free-text field rather than as a guessed list
|
|
545
|
+
// of models this install may not have — so the only cost of it landing late
|
|
546
|
+
// is a client that connected in the first second seeing that field. The
|
|
547
|
+
// re-broadcast below closes even that: when the answers arrive, everyone
|
|
548
|
+
// attached is told again.
|
|
549
|
+
void primeBackendModels().then(() => broadcast({ t: "backends", list: backendInfos() }));
|
|
550
|
+
const ip = await tailscaleIp();
|
|
551
|
+
const tsBin = await tailscaleBin();
|
|
552
|
+
const tsDns = await tailscaleDnsName();
|
|
553
|
+
// Re-read per connection would be a subprocess per socket; serve config only
|
|
554
|
+
// changes when someone runs `tailscale serve`, so boot-time is enough.
|
|
555
|
+
const httpsUrl = await serveHttpsUrl(PORT);
|
|
556
|
+
const doctorInput = {
|
|
557
|
+
root: ROOT, rootDefaulted: ROOT_DEFAULTED, rootPicked: ROOT_PICKED,
|
|
558
|
+
port: PORT,
|
|
559
|
+
claudeBin: claudeBackend.bin(),
|
|
560
|
+
// Which backends this host has already launched sessions on (the recent list
|
|
561
|
+
// is loaded from disk in the manager's constructor, so this answers across
|
|
562
|
+
// restarts): an extension's `doctor()` checks a second binary only where it is
|
|
563
|
+
// actually wanted — a claude-only user must never be told that a binary they
|
|
564
|
+
// have never asked for is missing.
|
|
565
|
+
usedBackends: [...new Set(sessions.listRecent().map((r) => r.launch?.backend).filter((b) => !!b))],
|
|
566
|
+
tailscaleIp: ip,
|
|
567
|
+
tailscaleDns: tsDns,
|
|
568
|
+
allowPublic: env("ALLOW_PUBLIC") === "1",
|
|
569
|
+
};
|
|
570
|
+
// `npm run doctor`: report, never bind, and EXIT (1 on a failed check) — this
|
|
571
|
+
// module's timers and sockets would keep every PTY they own alive for ever.
|
|
572
|
+
if (DOCTOR) {
|
|
573
|
+
const checks = await runChecks(doctorInput);
|
|
574
|
+
if (process.argv.includes("--json"))
|
|
575
|
+
process.stdout.write(reportJson(checks) + "\n");
|
|
576
|
+
else
|
|
577
|
+
printReport(checks);
|
|
578
|
+
process.exit(checks.some((c) => c.status === "fail") ? 1 : 0);
|
|
579
|
+
}
|
|
580
|
+
// SAFETY: this daemon spawns `claude`, which can run arbitrary code, and has
|
|
581
|
+
// NO app-level auth. So by default we only bind loopback and the Tailscale IP
|
|
582
|
+
// (network identity = the boundary). Binding LAN/0.0.0.0/public is refused
|
|
583
|
+
// unless you knowingly opt in with WATERPLANE_ALLOW_PUBLIC=1.
|
|
584
|
+
const allowPublic = env("ALLOW_PUBLIC") === "1";
|
|
585
|
+
// The LAN IPs we actually bound (only under the opt-in) — the "hop off the
|
|
586
|
+
// tunnel on the same WiFi" endpoints the phone advertises. Empty otherwise, so
|
|
587
|
+
// the Connection shortcut never offers a LAN link nothing is listening on.
|
|
588
|
+
const boundLan = allowPublic ? lanIps() : [];
|
|
589
|
+
// Bind addresses: an explicit HOST knob wins; otherwise the Tailscale IP (for
|
|
590
|
+
// the phone) plus loopback (for this machine's browser — a secure context, so
|
|
591
|
+
// notifications/clipboard work) plus, under the opt-in, the LAN interfaces.
|
|
592
|
+
const hostEnv = env("HOST");
|
|
593
|
+
let binds = hostEnv
|
|
594
|
+
? [hostEnv]
|
|
595
|
+
: [...new Set([ip, "127.0.0.1", ...boundLan].filter(Boolean))];
|
|
596
|
+
if (!ip)
|
|
597
|
+
console.warn(`${logTag} No Tailscale IP found — binding 127.0.0.1 (local only).`);
|
|
598
|
+
const isSafeBind = (a) => allowPublic || a === "127.0.0.1" || a === "::1" || a === "localhost" || (!!ip && a === ip);
|
|
599
|
+
const refused = binds.filter((a) => !isSafeBind(a));
|
|
600
|
+
if (refused.length) {
|
|
601
|
+
console.warn(`${logTag} REFUSING to bind ${refused.join(", ")} — no app auth and the daemon runs code.\n` +
|
|
602
|
+
`${logTag} Use Tailscale, or set ${envName("ALLOW_PUBLIC")}=1 to override (DANGEROUS: exposes code execution to that network).`);
|
|
603
|
+
binds = binds.filter(isSafeBind);
|
|
604
|
+
}
|
|
605
|
+
if (binds.length === 0)
|
|
606
|
+
binds = ["127.0.0.1"];
|
|
607
|
+
setPeerSelfAddr(ip && binds.includes(ip) ? `${ip}:${PORT}` : null); // a peer dials the tailnet IP, only when bound
|
|
608
|
+
if (allowPublic)
|
|
609
|
+
console.warn(`${logTag} ${envName("ALLOW_PUBLIC")}=1 — binding without the safe-address guard. Make sure the network is trusted.`);
|
|
610
|
+
// Now that we know which addresses/names we answer to, arm the same-origin
|
|
611
|
+
// guard for /api and /ws. Anything else a browser might send us is refused.
|
|
612
|
+
// `serveUrl` is our OWN discovered front door: `tailscale serve` may well be
|
|
613
|
+
// fronting us on a port that is neither 443 nor ours (443 is one slot per
|
|
614
|
+
// machine), and a guard that refuses it turns the advertised HTTPS address
|
|
615
|
+
// into a 403 — which is how someone ends up stuck on plain http://100.x with
|
|
616
|
+
// no service worker.
|
|
617
|
+
configureOrigins({ port: PORT, tailscaleIp: ip, tailscaleDns: tsDns, lanIps: boundLan, serveUrl: httpsUrl });
|
|
618
|
+
// On a tailnet whose MagicDNS name could not be read (tailscaled still
|
|
619
|
+
// starting, CLI hiccup) the guard has no exact name to trust; keep asking
|
|
620
|
+
// once a minute, up to 30 times, and re-arm it with the name when it comes.
|
|
621
|
+
if (!tsDns && ip) {
|
|
622
|
+
let tries = 0;
|
|
623
|
+
const timer = setInterval(() => {
|
|
624
|
+
void (async () => {
|
|
625
|
+
tries++;
|
|
626
|
+
const dns = await tailscaleDnsName();
|
|
627
|
+
if (dns) {
|
|
628
|
+
clearInterval(timer);
|
|
629
|
+
configureOrigins({ port: PORT, tailscaleIp: ip, tailscaleDns: dns, lanIps: boundLan, serveUrl: await serveHttpsUrl(PORT) });
|
|
630
|
+
}
|
|
631
|
+
else if (tries >= 30)
|
|
632
|
+
clearInterval(timer);
|
|
633
|
+
})();
|
|
634
|
+
}, 60_000);
|
|
635
|
+
timer.unref();
|
|
636
|
+
}
|
|
637
|
+
initThumbs(ROOT); // <STATE_DIR>/thumbs — image thumbnails for the gallery
|
|
638
|
+
// Fold every repo's old `<repoDir>/.waterplane/backlog.json` into the intent store,
|
|
639
|
+
// once, and rename each source `*.migrated`. Here rather than beside the
|
|
640
|
+
// launches/schedules migration above because it needs the repo list, which
|
|
641
|
+
// needs git — and before `listen()`, so reconciliation sees the imported rows.
|
|
642
|
+
await Promise.all([backlog.init(), plugins.builtinsLoaded]); // extensions: rows in the first checklist
|
|
643
|
+
updates.start();
|
|
644
|
+
if (!DOCTOR)
|
|
645
|
+
ctx.pluginUpdates.start(); // a few minutes after boot, never in the preflight
|
|
646
|
+
setupWatch.start();
|
|
647
|
+
if (!DOCTOR)
|
|
648
|
+
void ctx.healthWatch.start(); // setup checklist swept; health index cached, engine re-run weekly
|
|
649
|
+
if (!DOCTOR)
|
|
650
|
+
startDiskWatch({ notify }); // low disk: one push per level (macOS ends Tailscale to free space)
|
|
651
|
+
const attachWs = (server) => {
|
|
652
|
+
// permessage-deflate: the socket carries base64'd PTY output, and a claude
|
|
653
|
+
// TUI repaint is tens of KB of highly repetitive ANSI — the single largest
|
|
654
|
+
// continuous byte stream in the app, previously sent raw AND inflated ~33%
|
|
655
|
+
// by the base64 framing. Context takeover (the default) is the point: the
|
|
656
|
+
// deflate window carries across frames, so the Nth repaint of the same
|
|
657
|
+
// screen costs almost nothing. Costs a few hundred KB of memory per socket,
|
|
658
|
+
// which is nothing for the handful of tabs this daemon serves.
|
|
659
|
+
// WATERPLANE_WS_COMPRESS=0 turns it off.
|
|
660
|
+
const wss = new WebSocketServer({
|
|
661
|
+
server, maxPayload: WS_MAX_PAYLOAD, // 16 MiB, not ws's 100 MiB default — why in wsops.ts
|
|
662
|
+
path: "/ws", handleProtocols: selectWsProtocol, // token rides as `waterplane-tok.<tok>`; only the base protocol is echoed
|
|
663
|
+
perMessageDeflate: env("WS_COMPRESS") === "0" ? false : {
|
|
664
|
+
threshold: 256,
|
|
665
|
+
zlibDeflateOptions: { level: 6, memLevel: 8 },
|
|
666
|
+
concurrencyLimit: 10,
|
|
667
|
+
},
|
|
668
|
+
});
|
|
669
|
+
wsops.wireWsConnections(wss, { ip, tsBin, tsDns, httpsUrl, boundLan });
|
|
670
|
+
};
|
|
671
|
+
assertCtxComplete(ctx); // every ctx member assigned, or the boot fails naming it
|
|
672
|
+
for (const host of binds) {
|
|
673
|
+
const httpServer = createServer(http.handler);
|
|
674
|
+
attachWs(httpServer);
|
|
675
|
+
http.listenWithRetry(httpServer, host, PORT);
|
|
676
|
+
}
|
|
677
|
+
console.log(`${logTag} open the Tailscale URL on your phone; localhost works on this machine.`);
|
|
678
|
+
// Preflight, after we're listening and never blocking it: most first-run
|
|
679
|
+
// breakage (logged-out claude, no tailnet, no node-pty) is otherwise silent.
|
|
680
|
+
// WATERPLANE_PREFLIGHT=0 turns it off — the e2e scripts set that, since they drive a
|
|
681
|
+
// stub binary and assert on host output.
|
|
682
|
+
if (env("PREFLIGHT") !== "0") {
|
|
683
|
+
// Port skipped (we just bound it) and the capture probe skipped: it is an
|
|
684
|
+
// always-`ok` line this summary would drop anyway, and computing it shells
|
|
685
|
+
// out to four binaries — see `runChecks`. So is the self-update request.
|
|
686
|
+
void runChecks(doctorInput, true, true, true).then(printBootSummary).catch(() => { });
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
installShutdown(ctx);
|
|
690
|
+
main().catch((err) => {
|
|
691
|
+
console.error(`${logTag} fatal`, err);
|
|
692
|
+
process.exit(1);
|
|
693
|
+
});
|
|
694
|
+
//# sourceMappingURL=main.js.map
|