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,758 @@
|
|
|
1
|
+
import { execFileSync } from "node:child_process";
|
|
2
|
+
import { randomUUID } from "node:crypto";
|
|
3
|
+
import { EventEmitter } from "node:events";
|
|
4
|
+
import { basename } from "node:path";
|
|
5
|
+
import { SessionScreenLog } from "./screenlog.js";
|
|
6
|
+
import { ptySize, SCREENLOG_MAX_LINES, sessionBudgetVerdict, launchModeRefusal } from "@waterplane/shared";
|
|
7
|
+
import { stripAnsi } from "./prompt.js";
|
|
8
|
+
import { detectUpdateBanner } from "./update.js";
|
|
9
|
+
import { DEFAULT_BACKEND, derive, namesStoreReader, resolveBackend } from "./backends/index.js";
|
|
10
|
+
import { backendBinRefusal } from "./binguard.js";
|
|
11
|
+
import { askRulesForCwd } from "./askrules.js";
|
|
12
|
+
import { holdAskRulesFor } from "./answergate.js";
|
|
13
|
+
// After the flat imports, before the slices (which import knobs too). Not behaviour: nothing
|
|
14
|
+
// in the host assigns process.env at import (tools/hostshape.test.mjs checks that).
|
|
15
|
+
import { SCROLLBACK_LIMIT, RAW_CAPTURE_CAP, REMOTE_URL_RE, IDLE_PING_MS, LIMIT_SWEEP_MS, TMUX_SERVER, TMUX_PREFIX, } from "./sessions/knobs.js";
|
|
16
|
+
// After knobs, which tmux.ts also imports: knobs is still evaluated first.
|
|
17
|
+
import { adoptOrPark, armOrphanSweep, deleteLive, exitReport, hasLiveTmux, loadLive, persistLive, reattach, reclaimStaleLive, retryParked, settleParked, spawnBackend } from "./sessions/tmux.js";
|
|
18
|
+
export { droppedEnvNames, exitReport, paneUnsetNames, staleLiveIds, sweepSessionStores, tmuxEnvPrefix } from "./sessions/tmux.js";
|
|
19
|
+
import { adoptBackendId, adoptClaudeId, backendField, detectBackendId, detectClaudeId, readSignInAtSpawn, readSpawnVersion, refreshModel, stopClaudeIdWatch, watchBackendId, watchClaudeId, } from "./sessions/convid.js";
|
|
20
|
+
import { healthScope, noteContextHealth, noteFor, noteLogHealth } from "./sessions/health.js";
|
|
21
|
+
import { CtxSlice } from "./sessions/ctxseries.js";
|
|
22
|
+
import { BudgetSlice } from "./sessions/budgetwatch.js";
|
|
23
|
+
import { ChannelSlice } from "./sessions/sidechannel.js";
|
|
24
|
+
import { RosterSlice } from "./sessions/roster.js";
|
|
25
|
+
import { WallSlice } from "./sessions/wall.js";
|
|
26
|
+
import { hasAccountLimit } from "./usagesources.js";
|
|
27
|
+
import { ResumeSlice } from "./sessions/resume.js";
|
|
28
|
+
import * as turn from "./sessions/turn.js";
|
|
29
|
+
import * as idle from "./sessions/idlewatch.js";
|
|
30
|
+
import * as boxes from "./sessions/boxes.js";
|
|
31
|
+
import * as drive from "./sessions/drive.js";
|
|
32
|
+
import * as record from "./sessions/record.js";
|
|
33
|
+
import * as links from "./sessions/links.js";
|
|
34
|
+
import * as mode from "./sessions/livemode.js";
|
|
35
|
+
import * as halt from "./sessions/haltall.js";
|
|
36
|
+
import { finishLaunch } from "./launchfiles.js";
|
|
37
|
+
import { repoInstructions } from "./reposkill.js";
|
|
38
|
+
import { env } from "./env.js";
|
|
39
|
+
import { answerTermQueries, lateQueryLog } from "./termqueries.js";
|
|
40
|
+
import { hostTermColors } from "./themeoverlay.js";
|
|
41
|
+
/** Matches DECSET/DECRST private-mode sequences, e.g. `\x1b[?1049h`, `\x1b[?1000;1006h`. */
|
|
42
|
+
const PRIVATE_MODE_RE = /\x1b\[\?([0-9;]+)([hl])/g;
|
|
43
|
+
/**
|
|
44
|
+
* Owns every live `claude` PTY. Emits:
|
|
45
|
+
* - 'data' (id, chunk, seq) seq = cumulative output offset after this chunk
|
|
46
|
+
* - 'exit' (id, code)
|
|
47
|
+
* - 'updated'(info) whenever info (prompt/idle/title/rc) changes
|
|
48
|
+
* - 'prompt' (id, DetectedPrompt) when a choice prompt is detected
|
|
49
|
+
* - 'idle' (id, info) when a session goes quiet after working
|
|
50
|
+
* - 'turnEnded'(id, stopCount) when a Stop hook reports a finished turn (exact)
|
|
51
|
+
* - 'history'(id, HistoryEntry[]) when the prompt/output history changes
|
|
52
|
+
* - 'limit' (id, info, phase) usage-limit lifecycle: "blocked" | "scheduled" | "attempt" | "resumed" | "gaveup"
|
|
53
|
+
* - 'limitQueue'() the resume queue's host-wide state changed (who is resuming, hold-off)
|
|
54
|
+
* - 'updateBanner'(latest?) the CLI printed its "Update available!" nag on screen
|
|
55
|
+
* - 'created'(info) a session was registered (spawned, forked or re-attached)
|
|
56
|
+
* - 'awaiting'(id) a dialog is on screen that no detector could parse (ON edge only)
|
|
57
|
+
* - 'closed'(ClosedSession[]) the closed-sessions stack changed
|
|
58
|
+
*/
|
|
59
|
+
export class SessionManager extends EventEmitter {
|
|
60
|
+
root;
|
|
61
|
+
port;
|
|
62
|
+
sessions = new Map();
|
|
63
|
+
/** Recent/closed rows, stars, pins, watched ids and per-plugin session state (`sessions/roster.ts`). */
|
|
64
|
+
roster;
|
|
65
|
+
/** The context-window readings and the per-model window store (`sessions/ctxseries.ts`). */
|
|
66
|
+
ctx;
|
|
67
|
+
/** The usage-limit wall: the auto-continue config and the continue ladder (`sessions/wall.ts`). */
|
|
68
|
+
wall;
|
|
69
|
+
/** The resume queue and resurrection: the resume* state and the revived pairings (`sessions/resume.ts`). */
|
|
70
|
+
resume;
|
|
71
|
+
budget;
|
|
72
|
+
channel; // own budget (sessions/budgetwatch.ts); the backend side channel (sessions/sidechannel.ts)
|
|
73
|
+
/** The one `SessionCore` the slices under `sessions/` are handed. Private —
|
|
74
|
+
* the class's public surface does not change — and built in the constructor,
|
|
75
|
+
* where every member is an arrow that delegates at CALL time. */
|
|
76
|
+
core;
|
|
77
|
+
constructor(root, port = Number(env("PORT") || 8770)) {
|
|
78
|
+
super();
|
|
79
|
+
this.root = root;
|
|
80
|
+
this.port = port;
|
|
81
|
+
// The hub (`sessions/core.ts`). Every member delegates at CALL time to the
|
|
82
|
+
// slice that owns the method, grouped below by owning slice; state a slice
|
|
83
|
+
// owns is read through an accessor, never captured. Building it has no
|
|
84
|
+
// effect: nothing is called — which is why it is built FIRST, before the
|
|
85
|
+
// slices that are handed it read their files.
|
|
86
|
+
this.core = {
|
|
87
|
+
root: this.root, port: this.port, sessions: this.sessions,
|
|
88
|
+
emit: (event, ...args) => this.emit(event, ...args),
|
|
89
|
+
create: (cwd, opts) => this.create(cwd, opts),
|
|
90
|
+
// A re-attach (restart) of a session that never got its own words heals
|
|
91
|
+
// from the reopen stack too — the conversation id is already known here.
|
|
92
|
+
register: (id, proc, info, launch, cols, rows, backend, createsRecord) => {
|
|
93
|
+
const out = this.register(id, proc, info, launch, cols, rows, backend, createsRecord);
|
|
94
|
+
const made = this.sessions.get(id);
|
|
95
|
+
const carry = this.closedCarry(info.claudeSessionId ?? info.backendSessionId, undefined);
|
|
96
|
+
if (made && carry)
|
|
97
|
+
record.adoptCarry(this.core, made, carry);
|
|
98
|
+
return out;
|
|
99
|
+
},
|
|
100
|
+
backendField: (b) => backendField(b),
|
|
101
|
+
// tmux.ts
|
|
102
|
+
spawnBackend: (id, cwd, cols, rows, args, backend, launchEnv, dropEnv) => spawnBackend(this.core, id, cwd, cols, rows, args, backend, launchEnv, dropEnv),
|
|
103
|
+
reattach: (m) => reattach(this.core, m), persistLive: (m) => persistLive(this.core, m), loadLive: (id) => loadLive(this.core, id),
|
|
104
|
+
deleteLive: (id) => deleteLive(this.core, id), repointCompanions: (from, to) => drive.repointCompanions(this.core, from, to), hasLiveTmux: (id) => hasLiveTmux(id), armOrphanSweep: () => armOrphanSweep(this.core),
|
|
105
|
+
// convid.ts
|
|
106
|
+
detectClaudeId: (s) => detectClaudeId(this.core, s), adoptClaudeId: (s, cid) => adoptClaudeId(this.core, s, cid),
|
|
107
|
+
watchClaudeId: (s) => watchClaudeId(this.core, s), stopClaudeIdWatch: (s) => stopClaudeIdWatch(s),
|
|
108
|
+
detectBackendId: (s) => detectBackendId(this.core, s), adoptBackendId: (s, id) => adoptBackendId(this.core, s, id),
|
|
109
|
+
watchBackendId: (s) => watchBackendId(this.core, s), refreshModel: (s, transcriptPath) => refreshModel(this.core, s, transcriptPath),
|
|
110
|
+
// health.ts
|
|
111
|
+
noteFor: (s, id, outcome, opts) => noteFor(s, id, outcome, opts),
|
|
112
|
+
noteContextHealth: (s, cleaned, pct) => noteContextHealth(s, cleaned, pct),
|
|
113
|
+
noteLogHealth: (s, outcome, raw, fixture) => noteLogHealth(s, outcome, raw, fixture),
|
|
114
|
+
// ctxseries.ts
|
|
115
|
+
refreshSpark: (s) => this.ctx.refreshSpark(s), checkContext: (s) => this.ctx.checkContext(s), checkMode: (s) => mode.checkMode(this.core, s), // + livemode.ts
|
|
116
|
+
storeFor: (id) => this.ctx.storeFor(id), logFor: (id) => this.ctx.logFor(id), judgeBudget: (s) => this.budget.judge(s), clearIdle: (s) => idle.clearIdle(this.core, s), // + idlewatch.ts
|
|
117
|
+
// roster.ts
|
|
118
|
+
rememberRecent: (s) => this.roster.rememberRecent(s), applyStar: (info) => this.roster.applyStar(info),
|
|
119
|
+
applyPromptLabels: (s) => this.roster.applyPromptLabels(s),
|
|
120
|
+
pushClosed: (entry) => this.roster.pushClosed(entry), publishClosed: () => this.roster.publishClosed(), closedRowOf: (s, alive, exit) => this.roster.closedRowOf(s, alive, exit),
|
|
121
|
+
closedRow: (id) => this.roster.closedRow(id), dropClosed: (id) => this.roster.dropClosed(id),
|
|
122
|
+
isWatched: (id) => this.roster.isWatched(id),
|
|
123
|
+
// wall.ts
|
|
124
|
+
newLimitState: () => this.wall.newLimitState(), limitAuto: (s) => this.wall.limitAuto(s),
|
|
125
|
+
limitRetry: (s, now, resetAt) => this.wall.limitRetry(s, now, resetAt), limitLog: (s) => this.wall.limitLog(s),
|
|
126
|
+
checkLimit: (s) => this.wall.checkLimit(s),
|
|
127
|
+
markLimitBlocked: (s, resetAt, weekly, sample, dated) => this.wall.markLimitBlocked(s, resetAt, weekly, sample, dated),
|
|
128
|
+
scheduleLimitAttempt: (s, atOverride) => this.wall.scheduleLimitAttempt(s, atOverride),
|
|
129
|
+
doLimitContinue: (s) => this.wall.doLimitContinue(s), clearLimitTimer: (s) => this.wall.clearLimitTimer(s),
|
|
130
|
+
noteGaveUp: (s, why) => this.wall.noteGaveUp(s, why), writeLimitCfg: () => this.wall.writeLimitCfg(),
|
|
131
|
+
resumeMode: () => this.wall.resumeMode, assignResumeMode: (mode) => { this.wall.resumeMode = mode; },
|
|
132
|
+
// resume.ts
|
|
133
|
+
isResuming: (id) => this.resume.isResuming(id), resumeQueue: () => this.resume.queue(),
|
|
134
|
+
resumeHoldUntil: () => this.resume.holdUntil(),
|
|
135
|
+
resumeProven: () => this.resume.proven(), setResumeProven: (proven) => { this.resume.setProven(proven); },
|
|
136
|
+
resumeFirstAt: (id) => this.resume.firstAt(id), dropResumeFirst: (id) => this.resume.dropFirst(id),
|
|
137
|
+
releaseResume: (id, why) => this.resume.releaseResume(id, why), publishQueue: () => this.resume.publishQueue(),
|
|
138
|
+
pumpResume: () => this.resume.pumpResume(), requestResume: (s) => this.resume.requestResume(s),
|
|
139
|
+
clearResurrectTimer: (s) => this.resume.clearResurrectTimer(s), maybeScheduleResurrect: (s) => this.resume.maybeScheduleResurrect(s),
|
|
140
|
+
// turn.ts
|
|
141
|
+
setTurn: (s, active, opts) => turn.setTurn(this.core, s, active, opts), checkIdle: (s) => turn.checkIdle(this.core, s),
|
|
142
|
+
armTurnWatch: (s, seqAt) => turn.armTurnWatch(this.core, s, seqAt), setAsking: (s, ask) => turn.setAsking(this.core, s, ask), setCliSuggestion: (s, text) => turn.setCliSuggestion(this.core, s, text),
|
|
143
|
+
checkAgents: (s) => turn.checkAgents(this.core, s), clearStopVerify: (s) => turn.clearStopVerify(s), sourceTurn: (s, e, f) => turn.sourceTurn(this.core, s, e, f), sourceIdentified: (s, id) => turn.sourceIdentified(this.core, s, id),
|
|
144
|
+
// boxes.ts
|
|
145
|
+
scheduleChecks: (s) => boxes.scheduleChecks(this.core, s), armPromptCheck: (s, delayMs) => boxes.armPromptCheck(this.core, s, delayMs), setAwaiting: (s, on) => boxes.setAwaiting(this.core, s, on),
|
|
146
|
+
applyPrompt: (s, prompt) => boxes.applyPrompt(this.core, s, prompt), armLinksCheck: (s) => links.armLinksCheck(this.core, s), // + links.ts
|
|
147
|
+
// drive.ts
|
|
148
|
+
input: (id, data) => drive.input(this.core, id, data), write: (id, data) => drive.write(this.core, id, data),
|
|
149
|
+
screenText: (id, lines) => drive.screenText(this.core, id, lines), screenCells: (id, lines) => drive.screenCells(this.core, id, lines),
|
|
150
|
+
// record.ts
|
|
151
|
+
lastTurnOf: (cwd, cid) => record.lastTurnOf(cwd, cid),
|
|
152
|
+
recordPrompt: (id, text, kind) => record.recordPrompt(this.core, id, text, kind), finalizeCapture: (s) => record.finalizeCapture(this.core, s),
|
|
153
|
+
loadSummary: (id) => record.loadSummary(this.core, id), loadHistory: (id) => record.loadHistory(this.core, id),
|
|
154
|
+
historyPath: (id) => record.historyPath(this.core, id), summaryPath: (id) => record.summaryPath(this.core, id),
|
|
155
|
+
};
|
|
156
|
+
this.ctx = new CtxSlice(this.core, root);
|
|
157
|
+
this.budget = new BudgetSlice(this.core);
|
|
158
|
+
this.channel = new ChannelSlice(this.core);
|
|
159
|
+
// Reads recent, then closed (+ the `hasLiveTmux` downgrade), then stars, then pins —
|
|
160
|
+
// after ctxWindows and before revived/limit config, as before the split.
|
|
161
|
+
this.roster = new RosterSlice(this.core);
|
|
162
|
+
// Reads the revived pairings — after pins, before the limit config, as before the split.
|
|
163
|
+
this.resume = new ResumeSlice(this.core);
|
|
164
|
+
// Reads the limit config — LAST among the file reads, as before the split.
|
|
165
|
+
this.wall = new WallSlice(this.core);
|
|
166
|
+
// Limit detection is otherwise data-driven (checks run on PTY output), but
|
|
167
|
+
// a blocked session is SILENT — a block that predates a host restart, or a
|
|
168
|
+
// missed event, would never be noticed until a client attaches (the resize
|
|
169
|
+
// repaint produces data). Sweep periodically so detection + auto-continue
|
|
170
|
+
// work with no phone interaction at all.
|
|
171
|
+
setInterval(() => {
|
|
172
|
+
for (const s of this.sessions.values()) {
|
|
173
|
+
if (!s.info.running)
|
|
174
|
+
continue;
|
|
175
|
+
// The context miniature rides this sweep and NOT its gates, which is
|
|
176
|
+
// the point: it is read off the CLI's conversation LOG, never off the
|
|
177
|
+
// screen, so neither "wait for a quiet moment" (below — that exists so
|
|
178
|
+
// a scan does not read a half-drawn repaint) nor `sawData` ("this
|
|
179
|
+
// process has seen bytes") says anything about whether there is a
|
|
180
|
+
// curve to draw.
|
|
181
|
+
//
|
|
182
|
+
// Gated behind them it was rebuilt only when a session went quiet, and
|
|
183
|
+
// `markIdle` is the only other caller — so a session mid-turn, spinner
|
|
184
|
+
// repainting every frame, never refreshed at all. A NEW session's row
|
|
185
|
+
// therefore carried no curve for the whole of its first turn, which is
|
|
186
|
+
// exactly the session whose context is moving fastest, and a restored
|
|
187
|
+
// one that had printed nothing to this process carried none either.
|
|
188
|
+
// Costs a stat per session per sweep; `refreshSpark` returns
|
|
189
|
+
// immediately when the log has not moved.
|
|
190
|
+
try {
|
|
191
|
+
if (this.ctx.refreshSpark(s))
|
|
192
|
+
this.emit("updated", s.info);
|
|
193
|
+
}
|
|
194
|
+
catch { /* keep sweeping */ }
|
|
195
|
+
if (!s.sawData)
|
|
196
|
+
continue;
|
|
197
|
+
// Mid-turn, EXCEPT while the flag says blocked AND no resume of this
|
|
198
|
+
// session is in flight.
|
|
199
|
+
//
|
|
200
|
+
// The skip is here so a scan does not run against a half-drawn repaint.
|
|
201
|
+
// A session already marked blocked is the one case where that trade is
|
|
202
|
+
// backwards: the other two paths into `checkLimit` both hang off
|
|
203
|
+
// silence — `markIdle` runs IDLE_PING_MS after the last byte, and this
|
|
204
|
+
// sweep skipped anything newer than that — so a session that came back
|
|
205
|
+
// at the reset and worked for an hour straight, spinner repainting
|
|
206
|
+
// every frame, was never quiet enough for either to fire, and wore "at
|
|
207
|
+
// limit" for the whole hour while visibly running.
|
|
208
|
+
//
|
|
209
|
+
// A session `resumingIds` holds is carved back out, and that exemption
|
|
210
|
+
// is load-bearing rather than caution: a resume has just typed
|
|
211
|
+
// "continue", and between that echo and the CLI's answer the trimmed
|
|
212
|
+
// scan sees no banner while `attempts > 0` already holds — which is a
|
|
213
|
+
// clearing reason. Sweeping there clears the block a few hundred ms
|
|
214
|
+
// before the wall reprints, so the resume never returns a
|
|
215
|
+
// still-blocked verdict, the host-wide hold-off is never armed, and the
|
|
216
|
+
// rest of the queue walks into the same wall spending an attempt each.
|
|
217
|
+
// `e2e-limitqueue.mjs` fails exactly that way without this clause. The
|
|
218
|
+
// verdict paths (`releaseResume`, the settle watchdog) are what ask
|
|
219
|
+
// about a resuming session, and they are unaffected.
|
|
220
|
+
if (Date.now() - s.lastDataAt < IDLE_PING_MS
|
|
221
|
+
&& !(s.info.limit?.blocked && !this.resume.isResuming(s.info.id)))
|
|
222
|
+
continue;
|
|
223
|
+
try {
|
|
224
|
+
this.checkLimit(s);
|
|
225
|
+
}
|
|
226
|
+
catch { /* keep sweeping */ }
|
|
227
|
+
}
|
|
228
|
+
}, LIMIT_SWEEP_MS).unref();
|
|
229
|
+
}
|
|
230
|
+
/** Async for a plugin's `prepare()`; a core backend's plan is sync, so it spawns + registers before any await. */
|
|
231
|
+
async create(cwd, opts = {}) {
|
|
232
|
+
const id = randomUUID().slice(0, 8);
|
|
233
|
+
// Same floor as `resize()`: a create carries the client's geometry too, and
|
|
234
|
+
// a session BORN three rows tall is a session nothing can be confirmed in.
|
|
235
|
+
const { cols, rows } = ptySize(opts.cols ?? 80, opts.rows ?? 30);
|
|
236
|
+
const launch = opts.launch ?? {};
|
|
237
|
+
// `resume: true` defaults to continue; everything else about what the argv
|
|
238
|
+
// means is the BACKEND's business (`backends/claude.ts`), which is where the
|
|
239
|
+
// resume modes, the minted `--session-id` and the hook injection now live.
|
|
240
|
+
const resumeMode = opts.resumeMode ?? (opts.resume || opts.resumeSessionId ? "continue" : undefined);
|
|
241
|
+
// WHICH binary. Absent ⇒ claude, so every launch that has ever been made
|
|
242
|
+
// resolves exactly as before. An unknown id THROWS here — before the spawn,
|
|
243
|
+
// before the live record, before anything is remembered — and the create
|
|
244
|
+
// route turns that into a refused op carrying the sentence
|
|
245
|
+
// (`resolveBackend`). Never `?? claude`: spawning something other than what
|
|
246
|
+
// was asked for, silently, is the one outcome this indirection exists to
|
|
247
|
+
// prevent. Same for a resume mode the backend has no flag for.
|
|
248
|
+
const backend = resolveBackend(launch.backend);
|
|
249
|
+
const refused = halt.openRefusal(backend, opts.origin);
|
|
250
|
+
if (refused)
|
|
251
|
+
throw new Error(refused);
|
|
252
|
+
const modeRefused = launchModeRefusal(backend.label, launch.permissionMode, backend.caps) ?? backendBinRefusal(backend); /* `?? `: a missing or mid-upgrade binary is a sentence, never tmux's [exited] */
|
|
253
|
+
if (modeRefused)
|
|
254
|
+
throw new Error(modeRefused); /* a mode it cannot START in (`caps.launchModes`): refused in words before `prepare` */ // a job never opens a shell; nothing AI opens while halted — before `prepare`, which may start a server
|
|
255
|
+
// Two ids, never one field: `sessionId` is claude's uuid (a log path), `backendSessionId` the other backend's own; at most one, only when KNOWN (`backends/types.ts`).
|
|
256
|
+
// Order (prepare → files → spawn → persist → register): a refused plan writes nothing, spawns nothing.
|
|
257
|
+
const askRules = askRulesForCwd(cwd); // read per launch; the plan says how they hold
|
|
258
|
+
const asked = backend.prepare({ resumeMode, resumeSessionId: opts.resumeSessionId, launch, hookPort: this.port, cwd, hostSessionId: id, ...(opts.forkAtTurn ? { forkAtTurn: opts.forkAtTurn } : {}), askRules, instructions: repoInstructions(this.port) });
|
|
259
|
+
const { args, sessionId: claudeSessionId, backendSessionId, createsRecord, env: launchEnv, exec, dropEnv, instructionsVia: told0, askRulesVia } = finishLaunch(backend, asked instanceof Promise ? await asked : asked, this.root, id);
|
|
260
|
+
const told = backend.caps.turns === false ? undefined : told0; // a shell has no agent to tell
|
|
261
|
+
// The gate holds them (`answergate.ts`) — released again if the spawn throws (no session to forget them).
|
|
262
|
+
const proc = holdAskRulesFor(id, askRulesVia, askRules, () => this.spawnBackend(id, cwd, cols, rows, args, exec ? { ...backend, bin: () => exec } : backend, launchEnv, dropEnv)); // `exec`: opencode's waiter (`LaunchPlan.exec`)
|
|
263
|
+
const info = {
|
|
264
|
+
id,
|
|
265
|
+
cwd,
|
|
266
|
+
title: opts.title ?? basename(cwd),
|
|
267
|
+
remoteControl: true,
|
|
268
|
+
running: true,
|
|
269
|
+
...backendField(backend), ...record.shellTitleField(backend, cwd), ...(opts.origin?.companionOf ? { companionOf: opts.origin.companionOf } : {}),
|
|
270
|
+
model: launch.model,
|
|
271
|
+
effort: launch.effort,
|
|
272
|
+
permissionMode: launch.permissionMode,
|
|
273
|
+
remoteControlled: launch.remoteControlled,
|
|
274
|
+
prompt: null,
|
|
275
|
+
idle: false,
|
|
276
|
+
// A backend with no ACCOUNT has no limit state — and that must read as
|
|
277
|
+
// ABSENT, not as an unblocked one. A zeroed `SessionLimit` would put the
|
|
278
|
+
// session in every list that counts limits, claiming "not at a limit"
|
|
279
|
+
// about an account that does not exist; absent is the only shape that says
|
|
280
|
+
// the question does not apply. Every limit path already bails on `!lim`.
|
|
281
|
+
...(hasAccountLimit(backend) ? { limit: this.newLimitState() } : {}),
|
|
282
|
+
claudeSessionId,
|
|
283
|
+
...(backendSessionId ? { backendSessionId } : {}),
|
|
284
|
+
createdAt: Date.now(), told, askRulesVia,
|
|
285
|
+
...(opts.budget ? { budget: { cfg: opts.budget, verdict: sessionBudgetVerdict(opts.budget, null, null, Date.now()) } } : {}),
|
|
286
|
+
};
|
|
287
|
+
this.roster.applyStar(info);
|
|
288
|
+
// Persist so a boot after a restart can rebuild this session from tmux.
|
|
289
|
+
this.persistLive({ id, cwd, title: info.title, launch, createdAt: info.createdAt, claudeSessionId, backendSessionId, told, askRulesVia, ...(askRulesVia === "gate" ? { askRules } : {}), ...(opts.origin ? { origin: opts.origin } : {}), ...(opts.budget ? { budget: opts.budget } : {}) });
|
|
290
|
+
const out = this.register(id, proc, info, launch, cols, rows, backend, createsRecord === true);
|
|
291
|
+
const made = this.sessions.get(id);
|
|
292
|
+
if (made && opts.origin)
|
|
293
|
+
made.origin = opts.origin;
|
|
294
|
+
const carry = opts.carry ?? this.closedCarry(opts.resumeSessionId, resumeMode);
|
|
295
|
+
if (made && carry)
|
|
296
|
+
record.adoptCarry(this.core, made, carry);
|
|
297
|
+
readSpawnVersion(this.core, made);
|
|
298
|
+
readSignInAtSpawn(this.core, made);
|
|
299
|
+
if (made)
|
|
300
|
+
record.shellTabTitle(this.core, made);
|
|
301
|
+
return out;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Fork a session's conversation into a NEW parallel session: same cwd, same
|
|
305
|
+
* launch flags, `--fork-session` so the branch gets its own session id and
|
|
306
|
+
* the original stays running (and separately resumable). When the source's
|
|
307
|
+
* claude session id is known the fork targets exactly that conversation
|
|
308
|
+
* (`--resume <id> --fork-session`); only for legacy sessions without a known
|
|
309
|
+
* id does it fall back to `--continue`. No geometry ⇒ the source's; `title` replaces "<src> (fork)".
|
|
310
|
+
*/
|
|
311
|
+
async fork(id, opts = {}) {
|
|
312
|
+
const s = this.sessions.get(id);
|
|
313
|
+
if (!s || !s.info.running)
|
|
314
|
+
return null;
|
|
315
|
+
return this.create(s.info.cwd, {
|
|
316
|
+
cols: opts.cols ?? s.cols, rows: opts.rows ?? s.rows,
|
|
317
|
+
title: opts.title || `${s.info.title} (fork)`,
|
|
318
|
+
resumeMode: "fork",
|
|
319
|
+
resumeSessionId: s.info.claudeSessionId ?? s.info.backendSessionId, // opencode forks on its server (`caps.forkVia`)
|
|
320
|
+
launch: s.launch, origin: { kind: "fork", fromSession: id },
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Wire a spawned proc (fresh claude OR a tmux re-attach) into a Session:
|
|
325
|
+
* install the PTY data/exit handlers, register it, announce it. Shared by
|
|
326
|
+
* create() and reattach() so both behave identically downstream.
|
|
327
|
+
*
|
|
328
|
+
* `createsRecord` is the launch's own answer to "did this spawn create the
|
|
329
|
+
* backend's conversation row" (`backends/types.ts`). It DEFAULTS TO FALSE, and
|
|
330
|
+
* that default is load-bearing: `reattach()` takes it, and a re-attached
|
|
331
|
+
* session's `spawnedAt` is the moment the pane was picked back up, so every
|
|
332
|
+
* conversation started in that directory since is inside its window and none
|
|
333
|
+
* of them is its own.
|
|
334
|
+
*/
|
|
335
|
+
register(id, proc, info, launch, cols, rows, backend = DEFAULT_BACKEND, createsRecord = false) {
|
|
336
|
+
const session = {
|
|
337
|
+
info, proc, launch, backend, scrollback: "", screenLog: new SessionScreenLog(cols, rows), seq: 0, cols, rows, lastDataAt: Date.now(), sawData: false,
|
|
338
|
+
promptTimer: null, promptDueAt: 0, lastPromptCheckAt: 0, promptRendering: false, promptGen: 0, promptMisses: 0, lastResizeAt: 0, idleTimer: null, agentTimer: null, idleNotified: false, askDismissed: null, history: record.loadHistory(this.core, id), capturing: null, captureBuf: "",
|
|
339
|
+
naming: false,
|
|
340
|
+
privateModes: new Set(), detaching: false, copyMode: false, scrollChain: Promise.resolve(),
|
|
341
|
+
claudeIdTimer: null, storeIdTimer: null, createdRecord: createsRecord, spawnedAt: Date.now(),
|
|
342
|
+
limitTimer: null, limitGaveUp: false, stopVerifyTimer: null, stopPending: false, turnFromScreen: false,
|
|
343
|
+
hooksActive: false, turnHookSeen: false, turnActive: false, stopCount: 0, submits: [],
|
|
344
|
+
resurrectTimer: null, killed: false,
|
|
345
|
+
};
|
|
346
|
+
// The tab name this session already had, from before the restart. It is
|
|
347
|
+
// derived once and never again, so losing it across a restart would RENAME
|
|
348
|
+
// every tab on the strip, which is the one thing a tab may not do.
|
|
349
|
+
const prior = record.loadSummary(this.core, id);
|
|
350
|
+
if (prior?.tab)
|
|
351
|
+
info.tabTitle = prior.tab;
|
|
352
|
+
this.sessions.set(id, session);
|
|
353
|
+
this.roster.applyPromptLabels(session); // seed first/last/pinned from loaded history
|
|
354
|
+
this.roster.rememberRecent(session);
|
|
355
|
+
// Conversation id not knowable at spawn (--continue / pick / fork / tmux
|
|
356
|
+
// re-attach) → poll the claude project dir until its jsonl shows up.
|
|
357
|
+
//
|
|
358
|
+
// Only where there IS a claude project dir to poll. A backend that writes no
|
|
359
|
+
// such log has no id for this watcher to find, so arming it would be a
|
|
360
|
+
// `readdir` every few seconds against a directory that will never exist, and
|
|
361
|
+
// the one way it could ever "succeed" is by adopting a DIFFERENT session's
|
|
362
|
+
// conversation id — a plausible wrong answer, which is the failure mode this
|
|
363
|
+
// whole design refuses. An opencode id is discovered by asking opencode, not
|
|
364
|
+
// by watching claude's filesystem.
|
|
365
|
+
if (!info.claudeSessionId && derive(backend).keepsClaudeLog)
|
|
366
|
+
this.watchClaudeId(session);
|
|
367
|
+
// The same job for a backend whose record is opencode's store. Armed only
|
|
368
|
+
// where the DESCRIPTOR says that is the record and no id is known yet —
|
|
369
|
+
// never for claude (whose id has its own watcher and its own field), never
|
|
370
|
+
// for a backend with no record at all, and never once an exact
|
|
371
|
+
// `--session <id>` already told us.
|
|
372
|
+
if (!info.backendSessionId && namesStoreReader(backend))
|
|
373
|
+
this.watchBackendId(session);
|
|
374
|
+
// The tmux client's terminal queries: answered, and STRIPPED before any consumer below (`termqueries.ts`).
|
|
375
|
+
const queries = answerTermQueries(proc, (chunk) => {
|
|
376
|
+
session.scrollback = (session.scrollback + chunk).slice(-SCROLLBACK_LIMIT);
|
|
377
|
+
// What was SHOWN, written down as it happens. It cannot be read back
|
|
378
|
+
// later: the CLI draws in the alternate screen, which keeps no
|
|
379
|
+
// scrollback, so a replay of the ring is one screen however long the
|
|
380
|
+
// session has run (`screenlog.ts` carries the measurement). Cheap — the
|
|
381
|
+
// bytes are parsed once, incrementally, and the grid is read on a
|
|
382
|
+
// debounce.
|
|
383
|
+
session.screenLog?.write(chunk);
|
|
384
|
+
session.seq += chunk.length; // monotonic output offset for resumable replay
|
|
385
|
+
session.lastDataAt = Date.now();
|
|
386
|
+
session.sawData = true;
|
|
387
|
+
// Track DECSET private modes so we can reconstruct terminal state on replay.
|
|
388
|
+
PRIVATE_MODE_RE.lastIndex = 0;
|
|
389
|
+
for (let mm = PRIVATE_MODE_RE.exec(chunk); mm; mm = PRIVATE_MODE_RE.exec(chunk)) {
|
|
390
|
+
const on = mm[2] === "h";
|
|
391
|
+
for (const part of mm[1].split(";")) {
|
|
392
|
+
const num = Number(part);
|
|
393
|
+
if (!num)
|
|
394
|
+
continue;
|
|
395
|
+
if (on)
|
|
396
|
+
session.privateModes.add(num);
|
|
397
|
+
else
|
|
398
|
+
session.privateModes.delete(num);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
// While a prompt's turn is in flight, buffer raw output to clean on idle.
|
|
402
|
+
if (session.capturing)
|
|
403
|
+
session.captureBuf = (session.captureBuf + chunk).slice(-RAW_CAPTURE_CAP);
|
|
404
|
+
// Capture the claude.ai session URL once it appears (remote-control sessions).
|
|
405
|
+
if (session.info.remoteControlled && !session.info.remoteUrl) {
|
|
406
|
+
const m = REMOTE_URL_RE.exec(session.scrollback);
|
|
407
|
+
if (m) {
|
|
408
|
+
session.info.remoteUrl = m[0];
|
|
409
|
+
this.emit("updated", session.info);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
// New output does NOT retire a prompt: a choice box
|
|
413
|
+
// sits on screen with the TUI's working line animating under it, so
|
|
414
|
+
// clearing here and re-detecting only after 600 ms of quiet made a LIVE
|
|
415
|
+
// dialog blink in and out about once a second — visible for a fraction of
|
|
416
|
+
// a second at a time, impossible to read and impossible to tap. Only the
|
|
417
|
+
// verifier (checkPrompt → applyPrompt, strict, against the rendered
|
|
418
|
+
// screen) may clear a prompt, and scheduleChecks guarantees it still runs
|
|
419
|
+
// under a repaint storm.
|
|
420
|
+
// A numbered-choice suggestion belongs to the box, so it lives exactly as
|
|
421
|
+
// long as the box does (cleared in applyPrompt); a free-text REPLY
|
|
422
|
+
// suggestion survives cosmetic redraws and is cleared on real input
|
|
423
|
+
// instead (see input()/write()).
|
|
424
|
+
const sug = session.info.suggestion;
|
|
425
|
+
const replySug = sug && sug.choice == null && sug.reply != null;
|
|
426
|
+
const staleChoiceSug = !!sug && !replySug && !session.info.prompt;
|
|
427
|
+
if (staleChoiceSug) {
|
|
428
|
+
session.info.suggestion = null;
|
|
429
|
+
this.emit("updated", session.info);
|
|
430
|
+
}
|
|
431
|
+
// Nor does output alone end idle: a redraw is not work (`sessions/idlewatch.ts`).
|
|
432
|
+
idle.noteOutput(this.core, session, session.seq - chunk.length);
|
|
433
|
+
// The CLI prints its own "Update available!" nag when npm is ahead of the
|
|
434
|
+
// installed binary — surface it so the in-app update button appears even
|
|
435
|
+
// while the Homebrew cask lags. Scan only FRESH output (a short rolling
|
|
436
|
+
// tail carries splits across chunks); a stale nag in scrollback won't
|
|
437
|
+
// re-fire. Forward once per distinct version.
|
|
438
|
+
session.updateTail = ((session.updateTail || "") + chunk).slice(-400);
|
|
439
|
+
const ban = detectUpdateBanner(stripAnsi(session.updateTail));
|
|
440
|
+
if (ban.available) {
|
|
441
|
+
const key = ban.latest ?? "";
|
|
442
|
+
if (session.updateBannerSeen !== key) {
|
|
443
|
+
session.updateBannerSeen = key;
|
|
444
|
+
this.emit("updateBanner", ban.latest);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
this.emit("data", id, chunk, session.seq);
|
|
448
|
+
this.scheduleChecks(session);
|
|
449
|
+
}, { colors: hostTermColors }, lateQueryLog(id, info.title)); // a fork's terminal colours (`themeoverlay.ts`), else TERM_COLORS.dark
|
|
450
|
+
proc.onExit(({ exitCode, signal }) => {
|
|
451
|
+
this.channel.detach(session);
|
|
452
|
+
queries.dispose(); // the side channel goes with the PTY, detached or ended
|
|
453
|
+
// Detach (close-keep-alive): our tmux CLIENT died but the session lives on
|
|
454
|
+
// in the tmux server. Don't announce it as closed/exited — it isn't.
|
|
455
|
+
if (session.detaching) {
|
|
456
|
+
if (session.promptTimer)
|
|
457
|
+
clearTimeout(session.promptTimer);
|
|
458
|
+
if (session.idleTimer)
|
|
459
|
+
clearTimeout(session.idleTimer);
|
|
460
|
+
if (session.agentTimer)
|
|
461
|
+
clearTimeout(session.agentTimer);
|
|
462
|
+
this.clearStopVerify(session);
|
|
463
|
+
this.clearLimitTimer(session);
|
|
464
|
+
this.stopClaudeIdWatch(session);
|
|
465
|
+
return;
|
|
466
|
+
}
|
|
467
|
+
console.log(exitReport(session.info, exitCode, signal, session.backend.bin())); // before teardown
|
|
468
|
+
session.info.running = false;
|
|
469
|
+
session.turnActive = false;
|
|
470
|
+
session.info.turnActive = false; // a dead PTY is never mid-turn
|
|
471
|
+
// …and never parked on a dialog. The verifier no longer clears these on
|
|
472
|
+
// output, so the exit path has to.
|
|
473
|
+
session.info.prompt = null;
|
|
474
|
+
session.info.awaitingInput = undefined;
|
|
475
|
+
session.info.asking = null; // nor waiting on an answer it can no longer read
|
|
476
|
+
session.info.cliSuggestion = null; // nor proposing a prompt nobody can type
|
|
477
|
+
session.info.login = null;
|
|
478
|
+
delete session.info.links;
|
|
479
|
+
delete session.info.awaitingCode; // a shell's links (`sessions/links.ts`) die with it
|
|
480
|
+
// The recorder's VT is freed, not its archive: `lines()` still answers
|
|
481
|
+
// from the state it has (what scrolled off, plus the last grid it read),
|
|
482
|
+
// so the scrollback of a session that just exited is still readable.
|
|
483
|
+
// Nothing will be added to it — the PTY is gone.
|
|
484
|
+
session.screenLog?.dispose();
|
|
485
|
+
record.finalizeCapture(this.core, session);
|
|
486
|
+
if (session.promptTimer)
|
|
487
|
+
clearTimeout(session.promptTimer);
|
|
488
|
+
if (session.idleTimer)
|
|
489
|
+
clearTimeout(session.idleTimer);
|
|
490
|
+
if (session.agentTimer)
|
|
491
|
+
clearTimeout(session.agentTimer);
|
|
492
|
+
this.clearStopVerify(session);
|
|
493
|
+
this.clearLimitTimer(session);
|
|
494
|
+
this.stopClaudeIdWatch(session);
|
|
495
|
+
// Last chance to learn which conversation this was, so the reopen/recent
|
|
496
|
+
// entries below can target it exactly.
|
|
497
|
+
if (!session.info.claudeSessionId)
|
|
498
|
+
this.adoptClaudeId(session, this.detectClaudeId(session));
|
|
499
|
+
// …and the same last chance for the other backend's own id, so a reader
|
|
500
|
+
// opened right after the session died still has a conversation to read.
|
|
501
|
+
if (!session.info.backendSessionId && namesStoreReader(session.backend)) {
|
|
502
|
+
this.adoptBackendId(session, this.detectBackendId(session));
|
|
503
|
+
}
|
|
504
|
+
// A real exit (claude quit / killed) ⇒ the tmux session is gone too; drop
|
|
505
|
+
// its metadata so a later rediscover doesn't try to re-attach a corpse.
|
|
506
|
+
this.deleteLive(id);
|
|
507
|
+
// Remember it as reopenable (newest-first, deduped per session — each
|
|
508
|
+
// conversation reopens individually via --resume <claudeSessionId>).
|
|
509
|
+
// Restores the same launch flags.
|
|
510
|
+
// No `exitCode`/`signal` on the row or the wire: the PTY we hold is the tmux
|
|
511
|
+
// CLIENT, whose code is 0 whatever the CLI exited with — passing it on would
|
|
512
|
+
// be a wrong number where the honest answer is "unknown" (absent). The
|
|
513
|
+
// client's own code still goes into `exitReport`'s log line, labelled as such.
|
|
514
|
+
this.roster.pushClosed(this.roster.closedRowOf(session, false, { by: session.closeBy ?? (session.killed ? undefined : this.resume.diedAtLimit(id) ? "limit" : "exited") }));
|
|
515
|
+
this.emit("updated", session.info);
|
|
516
|
+
this.emit("exit", id, null);
|
|
517
|
+
// Newer `claude` EXITS on a usage limit (prints the /usage-credits banner and
|
|
518
|
+
// quits) instead of parking at a wait-menu — so there's no live PTY for
|
|
519
|
+
// auto-continue to type into. Resurrect the conversation with `--continue`
|
|
520
|
+
// at the reset time so the session (and any backlog work) comes back on its
|
|
521
|
+
// own. Gated by auto-continue + the attempts cap; never for a user kill.
|
|
522
|
+
this.maybeScheduleResurrect(session);
|
|
523
|
+
});
|
|
524
|
+
// Announce creation so clients learn about sessions made internally (e.g. by
|
|
525
|
+
// the backlog or a boot-time re-attach), not just via a WS session.create.
|
|
526
|
+
this.channel.attach(session);
|
|
527
|
+
this.emit("created", info); // a backend with `sources` brings its channel up first
|
|
528
|
+
return info;
|
|
529
|
+
}
|
|
530
|
+
// ── tmux substrate (sessions/tmux.ts): one-line delegations for `create`,
|
|
531
|
+
// `register` and `rediscover` below; slices reach them through `core`.
|
|
532
|
+
spawnBackend(id, cwd, cols, rows, args, backend, launchEnv, dropEnv) { return spawnBackend(this.core, id, cwd, cols, rows, args, backend, launchEnv, dropEnv); }
|
|
533
|
+
persistLive(m) { persistLive(this.core, m); }
|
|
534
|
+
loadLive(id) { return loadLive(this.core, id); }
|
|
535
|
+
deleteLive(id) { deleteLive(this.core, id); }
|
|
536
|
+
armOrphanSweep() { armOrphanSweep(this.core); }
|
|
537
|
+
// ── conversation ids and the running model (sessions/convid.ts): one-line
|
|
538
|
+
// delegations for `register`; slices reach them through `core`.
|
|
539
|
+
detectClaudeId(s) { return detectClaudeId(this.core, s); }
|
|
540
|
+
adoptClaudeId(s, cid) { adoptClaudeId(this.core, s, cid); }
|
|
541
|
+
watchClaudeId(s) { watchClaudeId(this.core, s); }
|
|
542
|
+
stopClaudeIdWatch(s) { stopClaudeIdWatch(s); }
|
|
543
|
+
detectBackendId(s) { return detectBackendId(this.core, s); }
|
|
544
|
+
adoptBackendId(s, id) { adoptBackendId(this.core, s, id); }
|
|
545
|
+
watchBackendId(s) { watchBackendId(this.core, s); }
|
|
546
|
+
/**
|
|
547
|
+
* Boot recovery: re-attach every live `waterplane_*` tmux session that has a `live/` record (call
|
|
548
|
+
* once on startup — this is what makes sessions survive a restart), then delete the records whose
|
|
549
|
+
* pane is provably gone (`reclaimStaleLive` — only past a `tmux ls` that SUCCEEDED).
|
|
550
|
+
*/
|
|
551
|
+
rediscover() {
|
|
552
|
+
// The orphan sweep is armed from HERE, not from `main.ts`, because its whole correctness rests
|
|
553
|
+
// on being asked after this has run: an id is alive if it is in the session map OR in `live/`,
|
|
554
|
+
// and both are settled below. The timer is deferred and unref'd, so boot never waits on it.
|
|
555
|
+
this.armOrphanSweep();
|
|
556
|
+
let out = "";
|
|
557
|
+
try {
|
|
558
|
+
out = execFileSync("tmux", ["-L", TMUX_SERVER, "ls", "-F", "#{session_name}"], { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] });
|
|
559
|
+
}
|
|
560
|
+
catch {
|
|
561
|
+
return;
|
|
562
|
+
} // no server ⇒ nothing running to recover
|
|
563
|
+
const names = new Set(out.split("\n").map((s) => s.trim()).filter(Boolean));
|
|
564
|
+
for (const name of names) {
|
|
565
|
+
if (!name.startsWith(TMUX_PREFIX))
|
|
566
|
+
continue;
|
|
567
|
+
const id = name.slice(TMUX_PREFIX.length);
|
|
568
|
+
if (this.sessions.has(id))
|
|
569
|
+
continue;
|
|
570
|
+
// Only adopt a session we have a persisted live-record for under THIS root.
|
|
571
|
+
// Every session we spawn writes one immediately (persistLive), so a real
|
|
572
|
+
// session always has it; a `waterplane_*` pane with no record is not ours (a
|
|
573
|
+
// leaked/foreign session sharing the socket) — skip it rather than
|
|
574
|
+
// synthesizing metadata and adopting (and thereby persisting) it, which is
|
|
575
|
+
// how test-stub sessions used to naturalize into the real UI.
|
|
576
|
+
const meta = this.loadLive(id);
|
|
577
|
+
if (!meta)
|
|
578
|
+
continue;
|
|
579
|
+
try {
|
|
580
|
+
adoptOrPark(this.core, meta);
|
|
581
|
+
}
|
|
582
|
+
catch { /* skip a session we can't attach */ } // unknown backend ⇒ parked: `parked()`
|
|
583
|
+
}
|
|
584
|
+
reclaimStaleLive(this.core, names); // a failed `ls` returned above, never read as empty; after adoption, so map + parked are the `keep`
|
|
585
|
+
}
|
|
586
|
+
parked(who) { if (who) {
|
|
587
|
+
settleParked(this.core, who);
|
|
588
|
+
this.channel.sweep();
|
|
589
|
+
}
|
|
590
|
+
else
|
|
591
|
+
retryParked(this.core); } // `tmux.ts`: no `who` = backends changed, adopt; `who` = plugins settled, close what is left naming its plugin — and reap what a GONE session left behind (`sidechannel.ts`'s `sweep`)
|
|
592
|
+
// ── boxes (sessions/boxes.ts): the choice box — when to look, reading and publishing it, the
|
|
593
|
+
// answer walks. The private delegation is for `register`.
|
|
594
|
+
scheduleChecks(s) { boxes.scheduleChecks(this.core, s); }
|
|
595
|
+
answerBox(id, choice, opts) { return boxes.answerBox(this.core, id, choice, opts); }
|
|
596
|
+
// ── turn (sessions/turn.ts): the turn flag and the hook lifecycle (the turn watch and the
|
|
597
|
+
// Stop verify behind it), and the turn queries. `clearStopVerify` is for `register`.
|
|
598
|
+
onHookEvent(payload) { turn.onHookEvent(this.core, payload); }
|
|
599
|
+
clearStopVerify(s) { turn.clearStopVerify(s); }
|
|
600
|
+
isHooked(id) { return turn.isHooked(this.core, id); }
|
|
601
|
+
lastHook(id) { return this.core.sessions.get(id)?.lastHook; } // ← its SHAPE only, for the fixture capture
|
|
602
|
+
sawTurnHook(id) { return turn.sawTurnHook(this.core, id); }
|
|
603
|
+
inCopyMode(id) { return turn.inCopyMode(this.core, id); }
|
|
604
|
+
noteHookFallback(id, via) { turn.noteHookFallback(this.core, id, via); }
|
|
605
|
+
// ── health (sessions/health.ts): `healthScope` is public (`deliver.ts`).
|
|
606
|
+
// `noteFor`, `noteContextHealth` and `noteLogHealth` take no core, so the facade
|
|
607
|
+
// calls the slice's functions directly. The ONE direct `noteHealth` call is there.
|
|
608
|
+
healthScope(id) { return healthScope(this.core, id); }
|
|
609
|
+
sendHold(id) { const s = this.sessions.get(id); return s ? this.channel.sendHold(s) : null; } // `deliver.ts`: wait for the side channel?
|
|
610
|
+
stopCount(id) { return turn.stopCount(this.core, id); }
|
|
611
|
+
turnFromHook(id) { return turn.turnFromHook(this.core, id); }
|
|
612
|
+
turnFromScreen(id) { return turn.turnFromScreen(this.core, id); }
|
|
613
|
+
geometry(id) { return turn.geometry(this.core, id); }
|
|
614
|
+
lastSubmittedPrompt(id, since) { return turn.lastSubmittedPrompt(this.core, id, since); }
|
|
615
|
+
claimSubmittedPrompt(id, text, since) { return turn.claimSubmittedPrompt(this.core, id, text, since); }
|
|
616
|
+
// ── wall (sessions/wall.ts): the public limit switches, and the wall methods `create`
|
|
617
|
+
// (`newLimitState`), `register` (`clearLimitTimer`) and the constructor's limit sweep
|
|
618
|
+
// (`checkLimit`) call.
|
|
619
|
+
getAutoContinue() { return this.wall.getAutoContinue(); }
|
|
620
|
+
setAutoContinue(enabled) { this.wall.setAutoContinue(enabled); }
|
|
621
|
+
setSessionLimitOverride(id, override) { this.wall.setSessionLimitOverride(id, override); }
|
|
622
|
+
newLimitState() { return this.wall.newLimitState(); }
|
|
623
|
+
checkLimit(s) { this.wall.checkLimit(s); }
|
|
624
|
+
clearLimitTimer(s) { this.wall.clearLimitTimer(s); }
|
|
625
|
+
// ── The resume queue: `sessions/resume.ts` ───────────────────────────
|
|
626
|
+
resumeState() { return this.resume.resumeState(); }
|
|
627
|
+
getResumeMode() { return this.resume.getResumeMode(); }
|
|
628
|
+
setResumeMode(mode) { this.resume.setResumeMode(mode); }
|
|
629
|
+
setResumeFirst(id, on) { this.resume.setResumeFirst(id, on); }
|
|
630
|
+
resumeNow(id) { this.resume.resumeNow(id); }
|
|
631
|
+
// ── Resurrect a session that EXITED at the usage limit: `sessions/resume.ts` ──
|
|
632
|
+
diedAtLimit(id) { return this.resume.diedAtLimit(id); }
|
|
633
|
+
maybeScheduleResurrect(s) { this.resume.maybeScheduleResurrect(s); }
|
|
634
|
+
// ── Recent (cross-restart): `sessions/roster.ts` ─────────────────────
|
|
635
|
+
listRecent() { return this.roster.listRecent(); }
|
|
636
|
+
listClosed() { return this.roster.listClosed(); }
|
|
637
|
+
clearClosed() { this.roster.clearClosed(); }
|
|
638
|
+
clearRecent() { this.roster.clearRecent(); }
|
|
639
|
+
// ── drive (sessions/drive.ts): typing into a session, readiness for automation, geometry.
|
|
640
|
+
input(id, data) { return drive.input(this.core, id, data); }
|
|
641
|
+
write(id, data) { return drive.write(this.core, id, data); }
|
|
642
|
+
shellLineFacts(id) { return drive.shellLineFacts(this.core, id, this.core.sessions.get(id)?.backend.bin()); } // ← a shell's line, for deliver.ts
|
|
643
|
+
// ── budget (sessions/budgetwatch.ts): set/clear a session's cap, a new calibration, the poll's reason; the live grid its Esc reads (drive.ts).
|
|
644
|
+
setSessionBudget(id, cfg) { return this.budget.set(id, cfg); }
|
|
645
|
+
setBudgetCal(cal) { this.budget.setCal(cal); }
|
|
646
|
+
settleBudgetEsc(id, byPerson = false) { this.budget.settleEsc(id, byPerson); }
|
|
647
|
+
budgetTurnEnded(id) { this.budget.turnEnded(id); }
|
|
648
|
+
wantsBudgetUsage() { return this.budget.wantsUsage(); }
|
|
649
|
+
liveGrid(id) { return drive.liveGrid(this.core, id); }
|
|
650
|
+
setMode(id, m) { return mode.setMode(this.core, id, m); } // ← session.mode (sessions/livemode.ts)
|
|
651
|
+
submitPromptBox(id) { return boxes.submitPromptBox(this.core, id); }
|
|
652
|
+
waitReady(id, quietMs = 1000, timeoutMs = 30000) { return drive.waitReady(this.core, id, quietMs, timeoutMs); }
|
|
653
|
+
readyForAutoFire(id, quietMs) { return drive.readyForAutoFire(this.core, id, quietMs); }
|
|
654
|
+
autoFireBlocker(id, quietMs) { return drive.autoFireBlocker(this.core, id, quietMs); }
|
|
655
|
+
resize(id, cols, rows) { drive.resize(this.core, id, cols, rows); }
|
|
656
|
+
setRemoteControl(id, enabled) { return drive.setRemoteControl(this.core, id, enabled); }
|
|
657
|
+
// ── Stars, follow-up flags (by session or conversation id) and overview labels: `sessions/roster.ts` ──────────────────
|
|
658
|
+
pin(id, entryId) { this.roster.pin(id, entryId); }
|
|
659
|
+
setStar(id, starred) { this.roster.setStar(id, starred); }
|
|
660
|
+
setFollowUp(id, f) { return this.roster.setFollowUp(id, f); }
|
|
661
|
+
// ── turn (sessions/turn.ts): the person's answer to a prose question, and a plugin's.
|
|
662
|
+
ackAsking(id, text) { turn.ackAsking(this.core, id, text); }
|
|
663
|
+
setSuggestion(id, s) { turn.setSuggestion(this.core, id, s); }
|
|
664
|
+
// ── Per-session plugin state: `sessions/roster.ts` ────────
|
|
665
|
+
setWatched(ids) { this.roster.setWatched(ids); }
|
|
666
|
+
isWatched(id) { return this.roster.isWatched(id); }
|
|
667
|
+
setPluginToggle(id, plugin, toggle, value) { return this.roster.setPluginToggle(id, plugin, toggle, value); }
|
|
668
|
+
setPluginAnswer(id, plugin, value) { return this.roster.setPluginAnswer(id, plugin, value); }
|
|
669
|
+
setPluginBadge(id, plugin, badge) { this.roster.setPluginBadge(id, plugin, badge); }
|
|
670
|
+
/** Any live session whose "let <plugin> answer" switch is on for `plugin`. */
|
|
671
|
+
anyPluginAnswer(plugin) { return this.roster.anyPluginAnswer(plugin); }
|
|
672
|
+
// ── drive (sessions/drive.ts): ending or letting go of a session, and reading its screen back.
|
|
673
|
+
kill(id, onShellsStopped, by) { drive.kill(this.core, id, onShellsStopped, by); }
|
|
674
|
+
haltAll() { return halt.haltSessions(this.core, (id) => drive.kill(this.core, id, undefined, "you")); } // the emergency halt's kill (`sessions/haltall.ts`)
|
|
675
|
+
/** A resume of a conversation whose session is already closed carries the
|
|
676
|
+
* reopen stack's prompts and tab name (`record.carryOfClosed`). A fork is a
|
|
677
|
+
* different conversation and carries nothing. */
|
|
678
|
+
closedCarry(resumeSessionId, resumeMode) {
|
|
679
|
+
if (!resumeSessionId || resumeMode === "fork")
|
|
680
|
+
return null;
|
|
681
|
+
const row = this.roster.closedRowOfConversation(resumeSessionId);
|
|
682
|
+
return row ? record.carryOfClosed(row) : null;
|
|
683
|
+
}
|
|
684
|
+
/** What a relaunch of `id` carries over, if it resumes the same conversation (`record.carryOf`). */
|
|
685
|
+
carryFor(id, resumeSessionId) { return record.carryOf(this.core, id, resumeSessionId); }
|
|
686
|
+
detach(id) { return drive.detach(this.core, id); }
|
|
687
|
+
setItemLookup(fn) { this.roster.setItemLookup(fn); }
|
|
688
|
+
reattachById(id) { return drive.reattachById(this.core, id); }
|
|
689
|
+
remove(id, onShellsStopped, by) { return drive.remove(this.core, id, onShellsStopped, by); }
|
|
690
|
+
repointCompanions(from, to) { drive.repointCompanions(this.core, from, to); } // a replaced session's companion shells follow it
|
|
691
|
+
killShell(id, pid, startedAt) { return drive.killOneShell(this.core, id, pid, startedAt); }
|
|
692
|
+
shellDetail(id, pid) { return drive.shellDetail(this.core, id, pid); }
|
|
693
|
+
scrollback(id) { return drive.scrollback(this.core, id); }
|
|
694
|
+
screenText(id, lines = 40) { return drive.screenText(this.core, id, lines); }
|
|
695
|
+
screenLines(id, max = SCREENLOG_MAX_LINES) { return drive.screenLines(this.core, id, max); }
|
|
696
|
+
screenCells(id, lines = 60) { return drive.screenCells(this.core, id, lines); }
|
|
697
|
+
attachReplay(id, resumeSeq) { return drive.attachReplay(this.core, id, resumeSeq); }
|
|
698
|
+
idleMs(id) { return drive.idleMs(this.core, id); }
|
|
699
|
+
// ── record (sessions/record.ts): the prompt history, the reader's transcript, search, and
|
|
700
|
+
// the tab-name spend. `register`/`onExit` call `finalizeCapture`/`loadSummary`/
|
|
701
|
+
// `loadHistory` through `record.*` directly; other slices reach them through `core`.
|
|
702
|
+
recordPrompt(id, text, kind) { record.recordPrompt(this.core, id, text, kind); }
|
|
703
|
+
/** Persist the per-model context-window marks now (SIGTERM). */
|
|
704
|
+
flushContextWindows() { this.ctx.flushContextWindows(); }
|
|
705
|
+
getHistory(id) { return record.getHistory(this.core, id); }
|
|
706
|
+
getTranscript(id, since = 0, detail = "lite") { return record.getTranscript(this.core, id, since, detail); }
|
|
707
|
+
// ── ctxseries (sessions/ctxseries.ts): the tool details and the context series.
|
|
708
|
+
getToolDetails(id, turnId) { return this.ctx.getToolDetails(id, turnId); }
|
|
709
|
+
getContextSeries(id, since = 0) { return this.ctx.getContextSeries(id, since); }
|
|
710
|
+
search(query, scope, id) { return record.search(this.core, query, scope, id); }
|
|
711
|
+
/** The once-ever automatic tab name, off the first prompt (`record.nameTab`). */
|
|
712
|
+
nameTab(id) { return record.nameTab(this.core, id); }
|
|
713
|
+
nameNow(id) { return record.nameNow(this.core, id); }
|
|
714
|
+
/** A name a person typed (`record.renameTab`); `setPeerFacts`: `peerWait`/`peerJobs`/`peerJob` (`peers/jobs.ts`; a key given as null/[] clears it) — memory only, a restart re-sets them. */
|
|
715
|
+
rename(id, title) { record.renameTab(this.core, id, title); }
|
|
716
|
+
setPeerFacts(id, f) { const s = this.sessions.get(id); if (!s)
|
|
717
|
+
return; for (const k of ["peerWait", "peerJobs", "peerJob"])
|
|
718
|
+
if (k in f) {
|
|
719
|
+
const v = f[k];
|
|
720
|
+
if (v && (!Array.isArray(v) || v.length))
|
|
721
|
+
s.info[k] = v;
|
|
722
|
+
else
|
|
723
|
+
delete s.info[k];
|
|
724
|
+
} this.core.emit("updated", s.info); }
|
|
725
|
+
get(id) { return this.sessions.get(id)?.info ?? null; }
|
|
726
|
+
originOf(id) { return this.sessions.get(id)?.origin; } // ← how it was OPENED (hand vs queued work): the serial rung's `automatic`
|
|
727
|
+
// ── links (sessions/links.ts): a shell session's links — `$BROWSER`'s (`/api/shell/open`) and the screen's.
|
|
728
|
+
addBrowserLink(id, url) { return links.addBrowserLink(this.core, id, url); }
|
|
729
|
+
setScreenLinks(id, found, awaitingCode) { return links.setScreenLinks(this.core, id, found, awaitingCode); }
|
|
730
|
+
/** Is this session's conversation record claude's jsonl? (`RosterSlice.keepsClaudeLog`) */
|
|
731
|
+
keepsClaudeLog(id) { return this.roster.keepsClaudeLog(id); }
|
|
732
|
+
revivedSessionFor(deadSessionId) { return this.resume.revivedSessionFor(deadSessionId); }
|
|
733
|
+
/**
|
|
734
|
+
* The newest still-running session whose cwd is exactly `dir`, or null. Used by
|
|
735
|
+
* the backlog to fire into an already-open session for a repo (it never spawns
|
|
736
|
+
* one itself anymore — a session must be open for an item to fire).
|
|
737
|
+
*/
|
|
738
|
+
runningSessionFor(dir) {
|
|
739
|
+
let best = null;
|
|
740
|
+
for (const s of this.sessions.values()) {
|
|
741
|
+
if (!s.info.running || s.info.cwd !== dir)
|
|
742
|
+
continue;
|
|
743
|
+
if (!best || s.info.createdAt > best.info.createdAt)
|
|
744
|
+
best = s;
|
|
745
|
+
}
|
|
746
|
+
return best?.info.id ?? null;
|
|
747
|
+
}
|
|
748
|
+
list() { return [...this.sessions.values()].map((s) => s.info); }
|
|
749
|
+
/** PIDs of the `claude` processes waterplane spawned — so discovery can exclude them. */
|
|
750
|
+
managedPids() {
|
|
751
|
+
const pids = new Set();
|
|
752
|
+
for (const s of this.sessions.values())
|
|
753
|
+
if (s.proc.pid)
|
|
754
|
+
pids.add(s.proc.pid);
|
|
755
|
+
return pids;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
//# sourceMappingURL=sessions.js.map
|