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,827 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Repo setup compliance: is a repo wired the way this daemon expects, and
|
|
3
|
+
* helpers to make it so. The daemon drives the `claude` CLI in repos that
|
|
4
|
+
* should follow a few conventions so the phone side works smoothly:
|
|
5
|
+
*
|
|
6
|
+
* - Agent instructions (CLAUDE.md) tell the agent to drop phone-facing
|
|
7
|
+
* artifacts into `.claude/outbox/` and read uploads from `.claude/inbox/`.
|
|
8
|
+
* - Those transport dirs are gitignored — their contents are phone↔repo
|
|
9
|
+
* plumbing, never source, so they must not land in history.
|
|
10
|
+
* - Secret `.env` files are gitignored (the secret writer enforces this on
|
|
11
|
+
* write; the checklist flags any that slipped through).
|
|
12
|
+
*
|
|
13
|
+
* Everything here is read-only inspection plus narrowly-scoped, idempotent
|
|
14
|
+
* fixes. Auto-fixes only ADD (gitignore lines, a CLAUDE.md section, a helper
|
|
15
|
+
* script) — they never delete or untrack, so a stray manual run can't lose work.
|
|
16
|
+
* The one MOVE is `state-dir`: a legacy-named per-repo state dir renamed to the
|
|
17
|
+
* current name (`branddirs.ts`' `adoptRepoStateDir` — merge without overwrite,
|
|
18
|
+
* symlink back), offered only when git tracks nothing under it.
|
|
19
|
+
*/
|
|
20
|
+
import { execFile, execFileSync } from "node:child_process";
|
|
21
|
+
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
22
|
+
import { basename, dirname, join } from "node:path";
|
|
23
|
+
import { BRAND, LEGACY } from "@waterplane/shared";
|
|
24
|
+
import { ADVISORY_CHECKS, AUTO_COMPACT_ENV, CONFIRM_GATED_FIXES, autoCompactVerdict, isSetupFinding, resolveAutoCompact, resolveContextLimits, sanitizeContextLimits, weighContext, withAutoCompactWindow, claudeWeightInput, copilotWeightWords, fmtCount, instructionInventory, instructionTotals, overlapWords } from "@waterplane/shared";
|
|
25
|
+
import { adoptRepoStateDir, legacyRepoStateDirs, repoSharedDir, repoStateDir } from "./branddirs.js";
|
|
26
|
+
import { mergeBuilds, readBuildsFile } from "./builds.js";
|
|
27
|
+
import { env } from "./env.js";
|
|
28
|
+
import { claudeConfigDir } from "./claudeconfig.js";
|
|
29
|
+
import { contextLimitsStore, repoContextLimits } from "./contextlimits.js";
|
|
30
|
+
import { autoCompactDefault, ignoredChecks, setupPrefsStore } from "./setupprefs.js";
|
|
31
|
+
import { contained, inRoot } from "./paths.js";
|
|
32
|
+
import { INBOX_SUBDIR, OUTBOX_SUBDIR, OUTBOX_SUBDIRS } from "./files.js";
|
|
33
|
+
import { apkInstallCheck, appModulesAsync } from "./apkcheck.js";
|
|
34
|
+
import { ensureDesktopKey, linkKey } from "./signkey.js";
|
|
35
|
+
import { isAndroidRepo, isAndroidRepoAsync, probeAndroidEnv } from "./androidenv.js";
|
|
36
|
+
import { startToolchainInstall } from "./toolchain.js";
|
|
37
|
+
import { scanRepoBuilds, scanRepoBuildsAsync } from "./buildscan.js";
|
|
38
|
+
import { contributedChecks, contributedFixes } from "./plugins/setupcontrib.js";
|
|
39
|
+
import { VISUAL_SKILL_REL, writeVisualCheckSkill } from "./visualskill.js";
|
|
40
|
+
import { writeTextAtomicKeepMode } from "./jsonstore.js";
|
|
41
|
+
/**
|
|
42
|
+
* The env layer of the context-weight thresholds — only the fields actually
|
|
43
|
+
* exported on this host, so an unset knob keeps falling through to the shipped
|
|
44
|
+
* default instead of being frozen at today's value.
|
|
45
|
+
*
|
|
46
|
+
* Env-overridable because this checklist is swept with no client attached
|
|
47
|
+
* (`setupwatch.ts`) — the same reason `budget.ts` is host-side rather than a
|
|
48
|
+
* synced setting. It is the HOST's line; a repo that needs a different one gets
|
|
49
|
+
* it from `contextlimits.ts`, which outranks this. Defaults, the resolution
|
|
50
|
+
* order and the rule itself are `@waterplane/shared`'s `contextweight.ts`.
|
|
51
|
+
*/
|
|
52
|
+
function envContextLimits() {
|
|
53
|
+
const out = {};
|
|
54
|
+
const n = (v) => {
|
|
55
|
+
const x = Number(v);
|
|
56
|
+
return Number.isFinite(x) && x > 0 ? Math.floor(x) : undefined;
|
|
57
|
+
};
|
|
58
|
+
const pairs = [
|
|
59
|
+
["maxChars", env("CONTEXT_WARN_CHARS")],
|
|
60
|
+
["hardChars", env("CONTEXT_HARD_CHARS")],
|
|
61
|
+
["maxSkills", env("CONTEXT_MAX_SKILLS")],
|
|
62
|
+
];
|
|
63
|
+
for (const [k, raw] of pairs) {
|
|
64
|
+
const v = n(raw);
|
|
65
|
+
if (v !== undefined)
|
|
66
|
+
out[k] = v;
|
|
67
|
+
}
|
|
68
|
+
return out;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The thresholds in force for one worktree, and where each came from: this
|
|
72
|
+
* repo's own override > this host's env > the shipped default.
|
|
73
|
+
*
|
|
74
|
+
* Exported because the sheet has to be able to SAY it. The row used to quote a
|
|
75
|
+
* number as one "you asked to be warned at" when nobody had asked and nobody
|
|
76
|
+
* could — that sentence is now attributed, and the editor needs the same view
|
|
77
|
+
* to open on the stored override rather than on the resolved number.
|
|
78
|
+
*/
|
|
79
|
+
export function contextLimitsFor(worktree) {
|
|
80
|
+
return resolveContextLimits(envContextLimits(), repoContextLimits(worktree));
|
|
81
|
+
}
|
|
82
|
+
/** A worktree as `AgentFilesFs`, every path through `contained`: an unreadable file is absent. */
|
|
83
|
+
function worktreeFs(worktree) {
|
|
84
|
+
return {
|
|
85
|
+
read: (rel) => {
|
|
86
|
+
const abs = contained(worktree, rel);
|
|
87
|
+
if (!abs)
|
|
88
|
+
return null;
|
|
89
|
+
try {
|
|
90
|
+
return readFileSync(abs, "utf8");
|
|
91
|
+
}
|
|
92
|
+
catch {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
list: (rel) => {
|
|
97
|
+
const abs = contained(worktree, rel);
|
|
98
|
+
if (!abs)
|
|
99
|
+
return [];
|
|
100
|
+
try {
|
|
101
|
+
return readdirSync(abs, { withFileTypes: true }).map((e) => ({ name: e.name, dir: e.isDirectory() }));
|
|
102
|
+
}
|
|
103
|
+
catch {
|
|
104
|
+
return [];
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
/** The repo file the `auto-compact` fix writes. */
|
|
110
|
+
const PROJECT_SETTINGS_REL = ".claude/settings.json";
|
|
111
|
+
function readOrNull(path) {
|
|
112
|
+
try {
|
|
113
|
+
return readFileSync(path, "utf8");
|
|
114
|
+
}
|
|
115
|
+
catch {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The `autoCompactWindow` a claude session the daemon spawns in this worktree would
|
|
121
|
+
* see, and where it comes from. The env layer is THIS daemon's environment,
|
|
122
|
+
* because a spawned PTY starts from `ptyEnv()` = `process.env` plus a floor,
|
|
123
|
+
* and the claude backend's `spawnEnv` carries only `DISABLE_AUTOUPDATER`. (A pane in an already-running
|
|
124
|
+
* tmux server takes the SERVER's environment instead — a
|
|
125
|
+
* value exported only there is invisible to this read.) The precedence and how
|
|
126
|
+
* much of it was verified against the CLI bundle is `@waterplane/shared`'s
|
|
127
|
+
* `autocompact.ts`. The user layer honours `CLAUDE_CONFIG_DIR` like the CLI.
|
|
128
|
+
*/
|
|
129
|
+
export function autoCompactFor(worktree) {
|
|
130
|
+
const userDir = claudeConfigDir();
|
|
131
|
+
const layer = (path) => ({ path, text: readOrNull(path) });
|
|
132
|
+
return resolveAutoCompact({
|
|
133
|
+
env: process.env[AUTO_COMPACT_ENV],
|
|
134
|
+
local: layer(join(worktree, ".claude", "settings.local.json")),
|
|
135
|
+
project: layer(join(worktree, PROJECT_SETTINGS_REL)),
|
|
136
|
+
user: layer(join(userDir, "settings.json")),
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/** Transport dirs that must be gitignored (phone↔repo plumbing, not source). */
|
|
140
|
+
const TRANSPORT_DIRS = Array.from(new Set([INBOX_SUBDIR, OUTBOX_SUBDIR, ...OUTBOX_SUBDIRS]));
|
|
141
|
+
/** Per-repo capture config — the same place `builds.ts` keeps `builds.json`. */
|
|
142
|
+
const captureConfigPath = (worktree) => join(repoStateDir(worktree), "capture.json");
|
|
143
|
+
/**
|
|
144
|
+
* How many capture targets this repo has configured, read DEFENSIVELY.
|
|
145
|
+
*
|
|
146
|
+
* Parsed by shape rather than through a type, on purpose: this file is written
|
|
147
|
+
* by a client that may be older or newer than this daemon, and the only question
|
|
148
|
+
* asked here is "is there at least one target" — the narrowest fact that can be
|
|
149
|
+
* true. Anything unreadable, half-written, or shaped differently answers 0,
|
|
150
|
+
* which means the row below is simply not offered. A checklist that threw on a
|
|
151
|
+
* malformed config would take the whole setup sheet down with it.
|
|
152
|
+
*/
|
|
153
|
+
export function captureTargetCount(worktree) {
|
|
154
|
+
let raw;
|
|
155
|
+
try {
|
|
156
|
+
raw = readFileSync(captureConfigPath(worktree), "utf8");
|
|
157
|
+
}
|
|
158
|
+
catch {
|
|
159
|
+
return 0;
|
|
160
|
+
}
|
|
161
|
+
try {
|
|
162
|
+
const obj = JSON.parse(raw);
|
|
163
|
+
return Array.isArray(obj?.targets) ? obj.targets.length : 0;
|
|
164
|
+
}
|
|
165
|
+
catch {
|
|
166
|
+
return 0;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
/** Marker so the CLAUDE.md guidance block is appended at most once — under the
|
|
170
|
+
* current name or any past one, so a repo fixed before a rename is not given
|
|
171
|
+
* the section a second time. */
|
|
172
|
+
const CLAUDE_MD_MARKER = `## ${BRAND.displayName} conventions`;
|
|
173
|
+
const CLAUDE_MD_MARKERS = [CLAUDE_MD_MARKER, ...LEGACY.map((l) => `## ${l.name} conventions`)];
|
|
174
|
+
const hasClaudeMdMarker = (text) => CLAUDE_MD_MARKERS.some((m) => text.includes(m));
|
|
175
|
+
function claudeMdBlock() {
|
|
176
|
+
return `${CLAUDE_MD_MARKER}
|
|
177
|
+
|
|
178
|
+
This repo is driven via ${BRAND.displayName} (remote phone control of the \`claude\` CLI). Follow:
|
|
179
|
+
|
|
180
|
+
- **Outbox** — save screenshots / artifacts meant for the phone into
|
|
181
|
+
\`${OUTBOX_SUBDIR}/\` (or a top-level \`.outbox/\`). Only these surface in the
|
|
182
|
+
phone's curated gallery; anything else is buried in the broad "this repo" tab.
|
|
183
|
+
- **Inbox** — files sent from the phone land in \`${INBOX_SUBDIR}/\`; read uploads
|
|
184
|
+
from there.
|
|
185
|
+
- Both inbox and outbox are gitignored — never commit their contents.
|
|
186
|
+
`;
|
|
187
|
+
}
|
|
188
|
+
// ── git probes (all return false outside a repo / on any error) ──────────────
|
|
189
|
+
function gitOk(wt, args) {
|
|
190
|
+
try {
|
|
191
|
+
execFileSync("git", args, { cwd: wt, stdio: "ignore" });
|
|
192
|
+
return true;
|
|
193
|
+
}
|
|
194
|
+
catch {
|
|
195
|
+
return false;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
function gitOut(wt, args) {
|
|
199
|
+
try {
|
|
200
|
+
return execFileSync("git", args, { cwd: wt, encoding: "utf8" });
|
|
201
|
+
}
|
|
202
|
+
catch {
|
|
203
|
+
return "";
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
const isIgnored = (wt, path) => gitOk(wt, ["check-ignore", "-q", "--", path]);
|
|
207
|
+
/** Files git tracks under `dir` (empty when none / not a repo). */
|
|
208
|
+
const trackedUnder = (wt, dir) => gitOut(wt, ["ls-files", "--", dir]).split("\n").filter((l) => l.trim());
|
|
209
|
+
const liveProbe = (wt) => ({ isIgnored: (p) => isIgnored(wt, p), trackedUnder: (d) => trackedUnder(wt, d) });
|
|
210
|
+
const gitAsync = (wt, args) => new Promise((resolve) => {
|
|
211
|
+
execFile("git", args, { cwd: wt, encoding: "utf8", maxBuffer: 16 << 20 }, (err, out) => {
|
|
212
|
+
resolve({ code: err ? (typeof err.code === "number" ? err.code : -1) : 0, out: String(out ?? "") });
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
/**
|
|
216
|
+
* Every git answer `inspectRepo` needs, in TWO background calls instead of one blocking
|
|
217
|
+
* `execFileSync` per path: a blocking git on the loop that pumps every PTY and answers every
|
|
218
|
+
* request froze the host for minutes on WSL, where a Windows drive is reached over 9P and one git
|
|
219
|
+
* there takes seconds. `check-ignore` exits 1 for "none ignored" and 128 outside a repo — both read
|
|
220
|
+
* as nothing ignored, as `gitOk` does. A path that was not fetched is asked live, never guessed.
|
|
221
|
+
*/
|
|
222
|
+
async function prefetchProbe(wt, paths) {
|
|
223
|
+
const [ign, ls] = await Promise.all([
|
|
224
|
+
gitAsync(wt, ["check-ignore", "--", ...paths]),
|
|
225
|
+
gitAsync(wt, ["ls-files", "--", ...paths]),
|
|
226
|
+
]);
|
|
227
|
+
const ignored = new Set(ign.code === 0 ? ign.out.split("\n").map((l) => l.trim()).filter(Boolean) : []);
|
|
228
|
+
const files = ls.code === 0 ? ls.out.split("\n").filter((l) => l.trim()) : [];
|
|
229
|
+
const asked = new Set(paths);
|
|
230
|
+
return {
|
|
231
|
+
isIgnored: (p) => (asked.has(p) ? ignored.has(p) : isIgnored(wt, p)),
|
|
232
|
+
trackedUnder: (d) => (asked.has(d) ? files.filter((f) => f === d || f.startsWith(`${d.replace(/\/+$/, "")}/`)) : trackedUnder(wt, d)),
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
/** The paths `inspectRepo` asks git about: the transport dirs, a legacy state dir, the root `.env` files. */
|
|
236
|
+
function probedPaths(wt) {
|
|
237
|
+
return [...new Set([...TRANSPORT_DIRS, ...legacyRepoStateDirs(wt).map((d) => basename(d)), ...listRootEnvFiles(wt)])];
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* `inspectRepo` with its git and its tree walks done in the background first — what the
|
|
241
|
+
* unattended sweep runs (`setupwatch.ts`), so a boot that checks a dozen repos never holds the
|
|
242
|
+
* event loop for a git or a walk. Measured on WSL over a Windows drive: the Android, APK and
|
|
243
|
+
* build-scan walks alone held it ~9 s for a vcpkg checkout. One walk at a time, so the sweep adds
|
|
244
|
+
* one stream of calls to a slow disk, not three. What is left synchronous is single-file reads.
|
|
245
|
+
*/
|
|
246
|
+
export async function inspectRepoAsync(worktree) {
|
|
247
|
+
const git = await prefetchProbe(worktree, probedPaths(worktree));
|
|
248
|
+
const android = await isAndroidRepoAsync(worktree);
|
|
249
|
+
const appMods = await appModulesAsync(worktree);
|
|
250
|
+
const builds = await scanRepoBuildsAsync(worktree);
|
|
251
|
+
return inspectRepo(worktree, git, { android, appModules: appMods, builds });
|
|
252
|
+
}
|
|
253
|
+
// ── checks ───────────────────────────────────────────────────────────────────
|
|
254
|
+
/** Inspect a worktree and return the setup checklist. Pure read — no writes. */
|
|
255
|
+
export function inspectRepo(worktree, git = liveProbe(worktree), walks) {
|
|
256
|
+
const checks = [];
|
|
257
|
+
// 1. CLAUDE.md present.
|
|
258
|
+
const claudePath = join(worktree, "CLAUDE.md");
|
|
259
|
+
const claudeMd = existsSync(claudePath) ? readFileSync(claudePath, "utf8") : null;
|
|
260
|
+
if (claudeMd == null) {
|
|
261
|
+
checks.push({ id: "claude-md", label: "CLAUDE.md present", status: "fail",
|
|
262
|
+
detail: "No CLAUDE.md — the agent has no project instructions. Run `/init` in this " +
|
|
263
|
+
`repo to generate a real one (a stub with only ${BRAND.displayName}'s section would be near-useless), ` +
|
|
264
|
+
"then re-check to add the outbox convention.", fix: null });
|
|
265
|
+
}
|
|
266
|
+
else {
|
|
267
|
+
checks.push({ id: "claude-md", label: "CLAUDE.md present", status: "pass",
|
|
268
|
+
detail: "CLAUDE.md exists.", fix: null });
|
|
269
|
+
// 2. CLAUDE.md mentions the outbox convention.
|
|
270
|
+
const mentionsOutbox = /outbox/i.test(claudeMd);
|
|
271
|
+
checks.push(mentionsOutbox
|
|
272
|
+
? { id: "claude-md-outbox", label: "Agent told about outbox", status: "pass",
|
|
273
|
+
detail: "CLAUDE.md references the outbox convention.", fix: null }
|
|
274
|
+
: { id: "claude-md-outbox", label: "Agent told about outbox", status: "warn",
|
|
275
|
+
detail: "CLAUDE.md never mentions the outbox — the agent won't know to drop phone artifacts there.",
|
|
276
|
+
fix: "claude-md" });
|
|
277
|
+
}
|
|
278
|
+
// 2b. What this repo costs to have open, before anyone types.
|
|
279
|
+
//
|
|
280
|
+
// Deliberately a WARN at worst and never a `fail`, and it carries no `fix`:
|
|
281
|
+
// there is no correct size, the split between "rule" and "reference" is a
|
|
282
|
+
// judgement only the author can make, and a checklist that auto-trimmed a
|
|
283
|
+
// CLAUDE.md would be deleting the very thing it cannot read. It names the
|
|
284
|
+
// fan-out preset that does the work instead.
|
|
285
|
+
{
|
|
286
|
+
// Every instruction file, Claude Code's and Copilot's (`@waterplane/shared`'s `agentfiles.ts`,
|
|
287
|
+
// the VS Code extension's rules too). The host cannot see VS Code's settings, so no switch is
|
|
288
|
+
// known and Copilot is counted as reading what it reads by default.
|
|
289
|
+
const { files, overlaps } = instructionInventory(worktreeFs(worktree));
|
|
290
|
+
if (files.length > 0) {
|
|
291
|
+
const lim = contextLimitsFor(worktree);
|
|
292
|
+
const claude = files.some((f) => f.parts.some((p) => p.readers.includes("claude")));
|
|
293
|
+
const w = weighContext(claudeWeightInput(files), lim.effective, lim.source);
|
|
294
|
+
const said = [
|
|
295
|
+
claude ? (w.advice ? `${w.note} ${w.advice}` : w.note) : null,
|
|
296
|
+
copilotWeightWords(instructionTotals(files, "copilot"), fmtCount),
|
|
297
|
+
...overlaps.map((o) => overlapWords(o, fmtCount)),
|
|
298
|
+
].filter((x) => !!x);
|
|
299
|
+
checks.push({
|
|
300
|
+
id: "context-weight",
|
|
301
|
+
label: "Agent context weight",
|
|
302
|
+
// A repeat is sent twice on every request: worth a warn, like a heavy CLAUDE.md, and like
|
|
303
|
+
// it never a fix — which copy to keep is the author's call.
|
|
304
|
+
status: (claude && w.verdict !== "lean") || overlaps.length ? "warn" : "pass",
|
|
305
|
+
detail: said.join(" "),
|
|
306
|
+
fix: null,
|
|
307
|
+
// The same number Claude's sentence states, carried as a figure: the
|
|
308
|
+
// repo-health series measures this subject at the last COMMIT, and the
|
|
309
|
+
// sheet prints the two clocks side by side rather than reconciling
|
|
310
|
+
// them. Absent when Claude Code reads nothing here.
|
|
311
|
+
...(claude ? { alwaysOnChars: w.alwaysOnChars } : {}),
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
// 2c. How large one conversation may grow before the CLI compacts it.
|
|
316
|
+
//
|
|
317
|
+
// A WARN at worst, like context-weight: nothing is broken, a session is only
|
|
318
|
+
// allowed to get expensive. The `fix` is offered only where writing this
|
|
319
|
+
// repo's `.claude/settings.json` would actually CHANGE what the CLI sees —
|
|
320
|
+
// not when the env var or settings.local.json outranks it, and not when that
|
|
321
|
+
// file is unreadable (the write refuses rather than overwrite it). The phone
|
|
322
|
+
// puts it behind a confirm and keeps it out of "Fix all" (`setupRemedy.ts`):
|
|
323
|
+
// choosing a window is a setting, not a repair.
|
|
324
|
+
{
|
|
325
|
+
const r = autoCompactFor(worktree);
|
|
326
|
+
const v = autoCompactVerdict(r, autoCompactDefault());
|
|
327
|
+
const projectPath = join(worktree, PROJECT_SETTINGS_REL);
|
|
328
|
+
const writable = (r.source === "project" || r.source === "user" || r.source === "unset") &&
|
|
329
|
+
!r.unreadable.includes(projectPath);
|
|
330
|
+
checks.push({
|
|
331
|
+
id: "auto-compact",
|
|
332
|
+
label: "Auto-compact window",
|
|
333
|
+
status: v.status,
|
|
334
|
+
detail: v.detail,
|
|
335
|
+
fix: v.status === "warn" && writable ? "auto-compact" : null,
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
// 3. Transport dirs gitignored.
|
|
339
|
+
const notIgnored = TRANSPORT_DIRS.filter((d) => !git.isIgnored(d));
|
|
340
|
+
checks.push(notIgnored.length === 0
|
|
341
|
+
? { id: "gitignore-transport", label: "inbox/outbox gitignored", status: "pass",
|
|
342
|
+
detail: "All transport dirs are gitignored.", fix: null }
|
|
343
|
+
: { id: "gitignore-transport", label: "inbox/outbox gitignored", status: "fail",
|
|
344
|
+
detail: `Not gitignored: ${notIgnored.join(", ")} — phone↔repo files risk being committed.`,
|
|
345
|
+
fix: "gitignore" });
|
|
346
|
+
// 4. Nothing under the transport dirs is actually tracked (a stronger leak check).
|
|
347
|
+
const tracked = TRANSPORT_DIRS.flatMap((d) => git.trackedUnder(d));
|
|
348
|
+
if (tracked.length) {
|
|
349
|
+
checks.push({ id: "transport-tracked", label: "No tracked transport files", status: "warn",
|
|
350
|
+
detail: `Already tracked: ${tracked.slice(0, 5).join(", ")}${tracked.length > 5 ? "…" : ""}. ` +
|
|
351
|
+
"gitignore won't untrack these — run `git rm --cached` yourself.", fix: null });
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
checks.push({ id: "transport-tracked", label: "No tracked transport files", status: "pass",
|
|
355
|
+
detail: "No inbox/outbox files are committed.", fix: null });
|
|
356
|
+
}
|
|
357
|
+
// 4b. The per-repo state dir still under a past brand's name. Nothing is
|
|
358
|
+
// broken — `repoStateDir` reads it — so a warn, and the move is a person's
|
|
359
|
+
// tap, never automatic: a rename nobody asked for surfaces an untracked new
|
|
360
|
+
// dir in a repo whose .gitignore names only the old one. Offered as a fix
|
|
361
|
+
// only when git tracks nothing under it; a tracked state dir is the repo's
|
|
362
|
+
// own decision and moving it would show as deletions.
|
|
363
|
+
const legacyDirs = legacyRepoStateDirs(worktree);
|
|
364
|
+
if (legacyDirs.length) {
|
|
365
|
+
const names = legacyDirs.map((d) => basename(d));
|
|
366
|
+
const trackedState = names.flatMap((n) => git.trackedUnder(n));
|
|
367
|
+
checks.push({
|
|
368
|
+
id: "state-dir", label: "State dir name", status: "warn",
|
|
369
|
+
detail: trackedState.length
|
|
370
|
+
? `This repo keeps ${BRAND.displayName}'s per-repo files in ${names.map((n) => `\`${n}/\``).join(", ")}, ` +
|
|
371
|
+
`the name from before the rename, and git tracks files there (${trackedState.slice(0, 3).join(", ")}` +
|
|
372
|
+
`${trackedState.length > 3 ? "…" : ""}). They are still read. Moving them to \`${BRAND.stateDirName}/\` is ` +
|
|
373
|
+
"a `git mv` for this repo to decide, so there is no one-tap fix."
|
|
374
|
+
: `This repo keeps ${BRAND.displayName}'s per-repo files in ${names.map((n) => `\`${n}/\``).join(", ")}, ` +
|
|
375
|
+
`the name from before the rename. They are still read and nothing is broken. The fix renames it to ` +
|
|
376
|
+
`\`${BRAND.stateDirName}/\` (merging, never overwriting, if both exist), leaves a symlink at the old ` +
|
|
377
|
+
`name, and adds \`${BRAND.stateDirName}\` to .gitignore.`,
|
|
378
|
+
fix: trackedState.length ? null : "state-dir",
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
// 5. .env secrets gitignored (the writer enforces it; flag any that slipped in).
|
|
382
|
+
// Template dotenvs (.env.example etc) are meant to be committed and hold
|
|
383
|
+
// placeholders, not secrets — never flag them as a leak.
|
|
384
|
+
// A template is named by its LAST segment (`.env.example`, but also
|
|
385
|
+
// `.env.production.example`) — anchoring the old pattern on the whole name
|
|
386
|
+
// flagged every per-environment template as a leak, which is a warn nobody
|
|
387
|
+
// can close: the file is meant to be committed and holds placeholders.
|
|
388
|
+
const leaky = listRootEnvFiles(worktree)
|
|
389
|
+
.filter((f) => !/\.(example|sample|template|dist)$/.test(f))
|
|
390
|
+
.filter((f) => !git.isIgnored(f) && git.trackedUnder(f).length);
|
|
391
|
+
checks.push(leaky.length === 0
|
|
392
|
+
? { id: "env-gitignored", label: "Secrets (.env) gitignored", status: "pass",
|
|
393
|
+
detail: "No tracked, un-ignored .env files.", fix: null }
|
|
394
|
+
: { id: "env-gitignored", label: "Secrets (.env) gitignored", status: "warn",
|
|
395
|
+
detail: `Tracked & not ignored: ${leaky.join(", ")} — a secret here would be committed.`, fix: null });
|
|
396
|
+
// 5b. Where this repo can take screenshots, does its agent know how to LOOK at
|
|
397
|
+
// one without leaving it in the conversation for every remaining turn?
|
|
398
|
+
//
|
|
399
|
+
// **Configuring a capture target IS the opt-in.** This row is not emitted at
|
|
400
|
+
// all for a repo with no targets: it would be advice about a loop that repo
|
|
401
|
+
// does not run, on every repo on the machine, which is a warn nobody can close
|
|
402
|
+
// and the exact failure `summarize()` keeps host-scope rows out of the badge
|
|
403
|
+
// for. Warn rather than fail — nothing is broken without it, an
|
|
404
|
+
// image is just paid for more times than it needed to be.
|
|
405
|
+
const captureTargets = captureTargetCount(worktree);
|
|
406
|
+
if (captureTargets > 0 && !existsSync(join(worktree, VISUAL_SKILL_REL))) {
|
|
407
|
+
checks.push({
|
|
408
|
+
id: "visual-check",
|
|
409
|
+
label: "Agent told how to look at captures",
|
|
410
|
+
status: "warn",
|
|
411
|
+
detail: `${captureTargets} capture target${captureTargets === 1 ? "" : "s"} configured, but no ` +
|
|
412
|
+
`${VISUAL_SKILL_REL}. Every turn re-sends the whole conversation, so a frame dropped into one is ` +
|
|
413
|
+
`paid for again on every remaining turn — a six-frame matrix at turn 10 of a 40-turn session costs ` +
|
|
414
|
+
`~180k tokens. The preset writes the ladder (deterministic check, text verdict, the phone's gallery, ` +
|
|
415
|
+
`a subagent, looking directly) into this repo.`,
|
|
416
|
+
fix: "visual-check",
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
// 5c. Rows contributed by plugins and in-repo extensions (`api.setupCheck`),
|
|
420
|
+
// in load order — today the requirements list (`packages/extensions/
|
|
421
|
+
// requirements/`). Here, before the APK row, which is where that row always
|
|
422
|
+
// sat; `requirementsrow.test.mjs` pins the place and the words.
|
|
423
|
+
checks.push(...contributedChecks(worktree));
|
|
424
|
+
// 5d. An Android app: can its builds reach the phone and update quietly?
|
|
425
|
+
// Absent for every repo that builds none (`apkcheck.ts`).
|
|
426
|
+
const apk = apkInstallCheck(worktree, walks?.appModules);
|
|
427
|
+
if (apk)
|
|
428
|
+
checks.push(apk);
|
|
429
|
+
// 5e. Android repos only: can this desktop build it (JDK + SDK)?
|
|
430
|
+
const toolchain = androidToolchainRow(worktree, probeAndroidEnv, walks?.android);
|
|
431
|
+
if (toolchain)
|
|
432
|
+
checks.push(toolchain);
|
|
433
|
+
// 5f. Something buildable here, and the Build sheet has nothing configured?
|
|
434
|
+
const builds = buildsConfiguredRow(worktree, walks?.builds);
|
|
435
|
+
if (builds)
|
|
436
|
+
checks.push(builds);
|
|
437
|
+
// A thing to consider, not a finding (`ADVISORY_CHECKS`): these rows read
|
|
438
|
+
// what a repo costs against a line, and "leave it" is an answer. Marked here,
|
|
439
|
+
// in one place, so no row's own code can forget it; the person's per-repo
|
|
440
|
+
// ignores ride on the same pass.
|
|
441
|
+
const ignored = new Set(ignoredChecks(worktree));
|
|
442
|
+
for (const c of checks) {
|
|
443
|
+
if (!ADVISORY_CHECKS.includes(c.id))
|
|
444
|
+
continue;
|
|
445
|
+
c.advisory = true;
|
|
446
|
+
if (ignored.has(c.id))
|
|
447
|
+
c.ignored = true;
|
|
448
|
+
}
|
|
449
|
+
return checks;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* The `fix` id the `android-toolchain` row offers: `toolchain.ts`'s user-local install. It is
|
|
453
|
+
* `CONFIRM_GATED_FIXES` (two taps, never in "Fix all") because the second tap IS the licence consent.
|
|
454
|
+
*/
|
|
455
|
+
export const ANDROID_TOOLCHAIN_FIX = "android-toolchain";
|
|
456
|
+
/**
|
|
457
|
+
* The `android-toolchain` row: a JDK and the Android SDK, found on this desktop. Absent for a repo
|
|
458
|
+
* that is not Android (a Node repo is never told about a JDK). A warn naming what is missing and
|
|
459
|
+
* about how much an install would download; never a fail, nothing applies itself. The probe is
|
|
460
|
+
* read-only (`androidenv.ts`).
|
|
461
|
+
*/
|
|
462
|
+
export function androidToolchainRow(worktree, probe = probeAndroidEnv, android) {
|
|
463
|
+
if (!(android ?? isAndroidRepo(worktree)))
|
|
464
|
+
return null;
|
|
465
|
+
const r = probe();
|
|
466
|
+
if (!r.missing.length) {
|
|
467
|
+
return { id: "android-toolchain", label: "Android toolchain on this desktop", status: "pass",
|
|
468
|
+
detail: `JDK${r.jdk?.major ? ` ${r.jdk.major}` : ""} at ${r.jdk?.home}; Android SDK at ${r.sdk?.root} ` +
|
|
469
|
+
`(${r.sdk?.platforms.length} platform${r.sdk?.platforms.length === 1 ? "" : "s"}, licences accepted).`, fix: null };
|
|
470
|
+
}
|
|
471
|
+
const remedy = r.missing.includes("licences") && r.missing.length === 1
|
|
472
|
+
? "Accept them with `sdkmanager --licenses` (or Android Studio's SDK Manager); " + BRAND.displayName + " never accepts a licence for you."
|
|
473
|
+
: "Install Android Studio (it brings both), or `brew install openjdk@21` for the JDK and the SDK command-line tools from " +
|
|
474
|
+
"developer.android.com/studio#command-line-tools-only.";
|
|
475
|
+
return { id: "android-toolchain", label: "Android toolchain on this desktop", status: "warn",
|
|
476
|
+
detail: `${r.summary} ${remedy}`, fix: ANDROID_TOOLCHAIN_FIX };
|
|
477
|
+
}
|
|
478
|
+
/** The `fix` id of the `builds-configured` row: write the shared `builds.json` from what `buildscan` found. */
|
|
479
|
+
export const BUILDS_CONFIGURED_FIX = "builds-configured";
|
|
480
|
+
const BUILDS_SEED_MAX = 8;
|
|
481
|
+
const BUILDS_LABEL = "Build commands configured";
|
|
482
|
+
/** A builds file's path: a fixed name in a fixed dir, contained and realpath-checked. */
|
|
483
|
+
function containedBuilds(worktree, dir) {
|
|
484
|
+
const lexical = contained(worktree, join(basename(dir), "builds.json"));
|
|
485
|
+
return lexical && inRoot(worktree, lexical) ? lexical : null;
|
|
486
|
+
}
|
|
487
|
+
/** The COMMITTED file — the one the fix writes, so every checkout gets the buttons. */
|
|
488
|
+
function buildsJsonPath(worktree) { return containedBuilds(worktree, repoSharedDir(worktree)); }
|
|
489
|
+
/** This desktop's own (gitignored) file — read for the row, never written by the fix. */
|
|
490
|
+
function localBuildsJsonPath(worktree) { return containedBuilds(worktree, repoStateDir(worktree)); }
|
|
491
|
+
/** What the fix would write: the scan's ordinary candidates (never one it FLAGGED as publishing or
|
|
492
|
+
* deploying; those stay a person's choice in the Build sheet), capped. */
|
|
493
|
+
function buildsSeed(worktree, scan) {
|
|
494
|
+
const { candidates } = scan ?? scanRepoBuilds(worktree);
|
|
495
|
+
const safe = candidates.filter((c) => !c.note);
|
|
496
|
+
return { found: candidates.length, safe: safe.slice(0, BUILDS_SEED_MAX) };
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* The `builds-configured` row: this repo describes something buildable (`buildscan.ts`' detection)
|
|
500
|
+
* and has no `builds.json`, so the Build sheet is empty. Absent when nothing buildable is found.
|
|
501
|
+
* Pass when either file — the committed shared one or this desktop's own — parses to a list, and
|
|
502
|
+
* the count is the MERGED list the Build sheet shows (`builds.ts`' `mergeBuilds`). The fix writes
|
|
503
|
+
* the SHARED file, so the buttons reach every checkout. Warn with `fix` when the scan has ordinary
|
|
504
|
+
* candidates to write; warn WITHOUT a fix (an agent's job, `setupRemedy.ts` GUIDANCE) when the file
|
|
505
|
+
* exists but is unreadable, or the scan found only commands it flags (publishing). The fix never
|
|
506
|
+
* overwrites: it writes with `wx`, and a file that appeared meanwhile is left alone.
|
|
507
|
+
*/
|
|
508
|
+
export function buildsConfiguredRow(worktree, scan) {
|
|
509
|
+
const path = buildsJsonPath(worktree);
|
|
510
|
+
if (!path)
|
|
511
|
+
return null;
|
|
512
|
+
const relOf = (p) => join(basename(dirname(p)), "builds.json");
|
|
513
|
+
const rel = relOf(path);
|
|
514
|
+
const local = localBuildsJsonPath(worktree);
|
|
515
|
+
const id = "builds-configured";
|
|
516
|
+
const shared = readBuildsFile(path), mine = local ? readBuildsFile(local) : null;
|
|
517
|
+
if (shared || mine) {
|
|
518
|
+
const n = mergeBuilds(shared ?? [], mine ?? []).length;
|
|
519
|
+
const where = [shared ? rel : null, mine && local ? `${relOf(local)} (this desktop only)` : null].filter(Boolean).join(" and ");
|
|
520
|
+
return { id, label: BUILDS_LABEL, status: "pass", detail: `${n} build command${n === 1 ? "" : "s"} in ${where}.`, fix: null };
|
|
521
|
+
}
|
|
522
|
+
const broken = [path, local].filter((p) => !!p && existsSync(p));
|
|
523
|
+
if (broken.length) {
|
|
524
|
+
return { id, label: BUILDS_LABEL, status: "warn", fix: null,
|
|
525
|
+
detail: `${broken.map(relOf).join(" and ")} ${broken.length === 1 ? "exists but is" : "exist but are"} not a JSON list of builds, so the Build sheet shows none. Left as it is.` };
|
|
526
|
+
}
|
|
527
|
+
const { found, safe } = buildsSeed(worktree, scan);
|
|
528
|
+
if (!found)
|
|
529
|
+
return null;
|
|
530
|
+
if (!safe.length) {
|
|
531
|
+
return { id, label: BUILDS_LABEL, status: "warn", fix: null,
|
|
532
|
+
detail: `This repo describes ${found} build command${found === 1 ? "" : "s"}, all of them publishing or deploying ones, and has no ${rel}. None is written for you.` };
|
|
533
|
+
}
|
|
534
|
+
return { id, label: BUILDS_LABEL, status: "warn", fix: BUILDS_CONFIGURED_FIX,
|
|
535
|
+
detail: `Found ${safe.length} buildable command${safe.length === 1 ? "" : "s"} (${safe.map((c) => c.name).join(", ")}; from ` +
|
|
536
|
+
`${[...new Set(safe.map((c) => c.source))].join(", ")}) and no ${rel}, so the Build sheet is empty. ` +
|
|
537
|
+
`The fix writes them as ${rel}, committed with the repo so every checkout gets them; it never overwrites one.` };
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Boil a checklist down to the repo-row rollup. HOST-scope rows are excluded on
|
|
541
|
+
* purpose: `ok` here answers "is THIS repo wired right", and a fact about the
|
|
542
|
+
* daemon (the retired Gemini-key row was one) would otherwise flag every repo
|
|
543
|
+
* on the machine at once — a badge that is always on says nothing.
|
|
544
|
+
* `checkedAt`/`firstSeenAt` are stamped by the caller that owns the store.
|
|
545
|
+
*
|
|
546
|
+
* **What counts as a finding is `@waterplane/shared`'s `isSetupFinding`, not a
|
|
547
|
+
* predicate written here.** The number below is a badge and the phone cuts the
|
|
548
|
+
* same checklist down to the rows behind it; two spellings of "host-scope rows
|
|
549
|
+
* do not count" drift the moment either end gains a scope, and the failure is
|
|
550
|
+
* silent — a badge that counts 3 over a list showing 4, with no way to tell
|
|
551
|
+
* from either screen which one is lying. One predicate, imported by both.
|
|
552
|
+
*/
|
|
553
|
+
export function summarize(checks) {
|
|
554
|
+
const repoScope = checks.filter((c) => c.scope !== "host");
|
|
555
|
+
const issues = checks.filter(isSetupFinding);
|
|
556
|
+
return {
|
|
557
|
+
// Two numbers, two questions — and a third field for either is a bug, not a
|
|
558
|
+
// convenience (a `failing` twin of `ok` shipped for a few hours and was
|
|
559
|
+
// dropped from the store on reload, so a broken repo wore the amber style
|
|
560
|
+
// for six hours after every restart; see `RepoSetupState`).
|
|
561
|
+
//
|
|
562
|
+
// `ok` is "nothing is FAILING" — warns allowed. That is the right meaning
|
|
563
|
+
// for the word and the wrong gate for the badge: the launcher chip hung off
|
|
564
|
+
// `!ok`, so a repo whose only findings were warns showed nothing at all, and
|
|
565
|
+
// most of these checks can only ever warn. Measured when the context-weight
|
|
566
|
+
// row was added: its sheet said 35k chars in amber while the launcher row it
|
|
567
|
+
// rolls up to was blank. So `issues > 0` is what the badge RENDERS on, and
|
|
568
|
+
// `!ok` is only how it renders. (Reaching the checklist with NO findings is
|
|
569
|
+
// a different job, done by the repo menu's always-drawn entry, not by
|
|
570
|
+
// widening this gate.)
|
|
571
|
+
ok: repoScope.every((c) => c.status !== "fail"),
|
|
572
|
+
issues: issues.length,
|
|
573
|
+
// "one-tap fixable" on the launcher: a confirm-gated fix (a CHOSEN
|
|
574
|
+
// setting, `CONFIRM_GATED_FIXES`) is neither one tap nor in "Fix all".
|
|
575
|
+
fixable: new Set(issues.map((c) => c.fix).filter((f) => !!f && !CONFIRM_GATED_FIXES.includes(f))).size,
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
/** Build the full report (adds repo id/name + pass rollup). */
|
|
579
|
+
export function checkRepoCompliance(target) {
|
|
580
|
+
const checks = inspectRepo(target.worktreePath);
|
|
581
|
+
return {
|
|
582
|
+
repoId: target.id,
|
|
583
|
+
repoName: target.repoName,
|
|
584
|
+
ok: checks.every((c) => c.status !== "fail"),
|
|
585
|
+
checks,
|
|
586
|
+
// Sent even when the `context-weight` row is absent (a repo with no
|
|
587
|
+
// CLAUDE.md has nothing to weigh): the thresholds are still the ones this
|
|
588
|
+
// repo will be measured against the moment it gets one, and the sheet is
|
|
589
|
+
// the only place they can be seen or changed.
|
|
590
|
+
contextLimits: contextLimitsFor(target.worktreePath),
|
|
591
|
+
contextLimitsSetAt: contextLimitsStore()?.setAt(target.worktreePath) ?? null,
|
|
592
|
+
autoCompactDefault: autoCompactDefault(),
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Ignore (or stop ignoring) one advisory row in this repo, and hand back the
|
|
597
|
+
* re-run report so the row folds or unfolds without a second read. Refuses in
|
|
598
|
+
* words for any id outside `ADVISORY_CHECKS` — a finding is not something a
|
|
599
|
+
* person can switch off.
|
|
600
|
+
*/
|
|
601
|
+
export function setCheckIgnored(target, id, ignore) {
|
|
602
|
+
const store = setupPrefsStore();
|
|
603
|
+
if (!store)
|
|
604
|
+
return { ok: false, error: "no setup-preferences store on this host" };
|
|
605
|
+
const r = store.setIgnored(target.worktreePath, id, ignore);
|
|
606
|
+
if (!r.ok)
|
|
607
|
+
return { ok: false, error: r.error };
|
|
608
|
+
return { ok: true, report: checkRepoCompliance(target) };
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Write (or clear) this repo's threshold override and hand back the re-run
|
|
612
|
+
* report, so the row the user was looking at re-states itself against the line
|
|
613
|
+
* they just set rather than requiring a second read to believe it.
|
|
614
|
+
*
|
|
615
|
+
* Refuses in words and writes NOTHING when a value is out of range — a stored
|
|
616
|
+
* repaired number is a number the user did not choose, quoted back at them in a
|
|
617
|
+
* sentence that claims they did.
|
|
618
|
+
*/
|
|
619
|
+
export function setRepoContextLimits(target, patch, opts = {}) {
|
|
620
|
+
const store = contextLimitsStore();
|
|
621
|
+
if (!store)
|
|
622
|
+
return { ok: false, error: "no context-limit store on this host" };
|
|
623
|
+
const { limits, errors } = opts.reset ? { limits: {}, errors: [] } : sanitizeContextLimits(patch);
|
|
624
|
+
if (errors.length)
|
|
625
|
+
return { ok: false, error: errors.join(" ") };
|
|
626
|
+
store.set(target.worktreePath, limits);
|
|
627
|
+
const report = checkRepoCompliance(target);
|
|
628
|
+
return { ok: true, report, limits: report.contextLimits };
|
|
629
|
+
}
|
|
630
|
+
// ── fixes (additive + idempotent) ─────────────────────────────────────────────
|
|
631
|
+
/** Append lines to .gitignore that aren't already present (any form). `exact`
|
|
632
|
+
* compares lines as written: `.x/` is then NOT `.x`, which matters for a
|
|
633
|
+
* symlink — a trailing-slash pattern matches only a real directory. */
|
|
634
|
+
function ensureGitignore(worktree, entries, exact = false) {
|
|
635
|
+
const gi = join(worktree, ".gitignore");
|
|
636
|
+
const cur = existsSync(gi) ? readFileSync(gi, "utf8") : "";
|
|
637
|
+
const norm = (l) => (exact ? l.trim() : l.trim().replace(/\/$/, ""));
|
|
638
|
+
const have = new Set(cur.split("\n").map(norm));
|
|
639
|
+
const missing = entries.filter((e) => !have.has(norm(e)));
|
|
640
|
+
if (!missing.length)
|
|
641
|
+
return [];
|
|
642
|
+
const block = `\n# ${BRAND.displayName} phone↔repo transport — do not commit\n` + missing.join("\n") + "\n";
|
|
643
|
+
// `worktree`: a committed `.gitignore -> ~/.gitconfig` is refused, not written through.
|
|
644
|
+
writeTextAtomicKeepMode(gi, (cur && !cur.endsWith("\n") ? cur + "\n" : cur) + block, worktree);
|
|
645
|
+
return missing;
|
|
646
|
+
}
|
|
647
|
+
export function fixRepoCompliance(target, fixes) {
|
|
648
|
+
const wt = target.worktreePath;
|
|
649
|
+
const applied = [];
|
|
650
|
+
const notes = [];
|
|
651
|
+
try {
|
|
652
|
+
if (fixes.includes("gitignore")) {
|
|
653
|
+
// Bare paths (no trailing slash) so `git check-ignore` matches even before
|
|
654
|
+
// the dir exists — a trailing-slash pattern only matches real directories.
|
|
655
|
+
// Ask git which ones the CHECK sees as unignored, and compare exactly: a
|
|
656
|
+
// `.claude/inbox/` line already present is why the check fails, so it must
|
|
657
|
+
// not count as covering `.claude/inbox`.
|
|
658
|
+
const added = ensureGitignore(wt, TRANSPORT_DIRS.filter((d) => !isIgnored(wt, d)), true);
|
|
659
|
+
if (added.length) {
|
|
660
|
+
applied.push("gitignore");
|
|
661
|
+
notes.push(`gitignore += ${added.join(", ")}`);
|
|
662
|
+
}
|
|
663
|
+
else
|
|
664
|
+
notes.push("gitignore already covered transport dirs");
|
|
665
|
+
}
|
|
666
|
+
if (fixes.includes("claude-md")) {
|
|
667
|
+
const path = join(wt, "CLAUDE.md");
|
|
668
|
+
const cur = existsSync(path) ? readFileSync(path, "utf8") : null;
|
|
669
|
+
if (cur == null) {
|
|
670
|
+
// Never scaffold a bare CLAUDE.md — `/init` writes a useful one; we only
|
|
671
|
+
// graft our conventions onto an existing file.
|
|
672
|
+
notes.push("no CLAUDE.md — run `/init` first, then re-run this fix to add the outbox convention");
|
|
673
|
+
}
|
|
674
|
+
else if (!hasClaudeMdMarker(cur)) {
|
|
675
|
+
writeTextAtomicKeepMode(path, cur + (cur.endsWith("\n") ? "" : "\n") + "\n" + claudeMdBlock(), wt);
|
|
676
|
+
applied.push("claude-md");
|
|
677
|
+
notes.push(`appended ${BRAND.displayName} conventions to CLAUDE.md`);
|
|
678
|
+
}
|
|
679
|
+
else {
|
|
680
|
+
notes.push(`CLAUDE.md already has the ${BRAND.displayName} conventions section`);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
if (fixes.includes("visual-check")) {
|
|
684
|
+
// Never overwrite an existing one: the preset asks its reader to measure
|
|
685
|
+
// the subagent baseline on this machine and edit the number in, so a
|
|
686
|
+
// re-run that rewrote the file would delete the only part of it that was
|
|
687
|
+
// ever true here.
|
|
688
|
+
const r = writeVisualCheckSkill(wt);
|
|
689
|
+
if (r.written) {
|
|
690
|
+
applied.push("visual-check");
|
|
691
|
+
notes.push(`wrote ${r.relPath}`);
|
|
692
|
+
}
|
|
693
|
+
else
|
|
694
|
+
notes.push(`${r.relPath} already present — left as it is`);
|
|
695
|
+
}
|
|
696
|
+
if (fixes.includes("state-dir")) {
|
|
697
|
+
// Re-checked here rather than trusted from the row: the tap may be minutes
|
|
698
|
+
// old, and a dir git started tracking since is no longer ours to move.
|
|
699
|
+
const legacyNow = legacyRepoStateDirs(wt);
|
|
700
|
+
const tracked = legacyNow.flatMap((d) => trackedUnder(wt, basename(d)));
|
|
701
|
+
if (!legacyNow.length) {
|
|
702
|
+
notes.push(`no legacy state dir — already ${BRAND.stateDirName}/`);
|
|
703
|
+
}
|
|
704
|
+
else if (tracked.length) {
|
|
705
|
+
notes.push(`git tracks files under ${legacyNow.map((d) => basename(d)).join(", ")} — left as it is`);
|
|
706
|
+
}
|
|
707
|
+
else {
|
|
708
|
+
const r = adoptRepoStateDir(wt);
|
|
709
|
+
if (r.action === "renamed" || r.action === "merged") {
|
|
710
|
+
applied.push("state-dir");
|
|
711
|
+
notes.push(r.note ?? `moved to ${BRAND.stateDirName}/`);
|
|
712
|
+
// Ignore the new name, and the symlink left at the old one: a
|
|
713
|
+
// trailing-slash pattern (`<old>/`) matches a directory, never the
|
|
714
|
+
// symlink that now stands there. Both ADD lines only.
|
|
715
|
+
const ignore = [BRAND.stateDirName, ...legacyNow.map((d) => basename(d))]
|
|
716
|
+
.filter((n) => !isIgnored(wt, n));
|
|
717
|
+
const added = ignore.length ? ensureGitignore(wt, ignore, true) : [];
|
|
718
|
+
if (added.length)
|
|
719
|
+
notes.push(`gitignore += ${added.join(", ")}`);
|
|
720
|
+
}
|
|
721
|
+
else {
|
|
722
|
+
notes.push(r.note ?? "the state dir could not be moved — left as it is");
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
// Contributed fixes (`api.setupFix`) — the ids their rows name in `fix`.
|
|
727
|
+
// A core id can never be one (`CORE_FIX_IDS`), so no fix runs twice.
|
|
728
|
+
for (const { id, outcome } of contributedFixes(fixes, wt)) {
|
|
729
|
+
if (outcome.applied)
|
|
730
|
+
applied.push(id);
|
|
731
|
+
notes.push(outcome.note);
|
|
732
|
+
}
|
|
733
|
+
if (fixes.includes("auto-compact")) {
|
|
734
|
+
// A fixed relative path joined onto the trusted worktree (`contained`),
|
|
735
|
+
// then realpath-checked (`inRoot`) so a `.claude` symlinked out of the
|
|
736
|
+
// repo is refused rather than written through.
|
|
737
|
+
const lexical = contained(wt, PROJECT_SETTINGS_REL);
|
|
738
|
+
const path = lexical && inRoot(wt, lexical) ? lexical : null;
|
|
739
|
+
if (!path) {
|
|
740
|
+
notes.push(`${PROJECT_SETTINGS_REL} resolves outside this repo — left as it is`);
|
|
741
|
+
}
|
|
742
|
+
else {
|
|
743
|
+
const value = autoCompactDefault();
|
|
744
|
+
const r = withAutoCompactWindow(readOrNull(path), value);
|
|
745
|
+
if (!r.ok) {
|
|
746
|
+
notes.push(`${PROJECT_SETTINGS_REL}: ${r.error}`);
|
|
747
|
+
}
|
|
748
|
+
else {
|
|
749
|
+
mkdirSync(dirname(path), { recursive: true });
|
|
750
|
+
writeTextAtomicKeepMode(path, r.text, wt);
|
|
751
|
+
applied.push("auto-compact");
|
|
752
|
+
notes.push(`set "autoCompactWindow": "${value}" in ${PROJECT_SETTINGS_REL}`);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
if (fixes.includes(ANDROID_TOOLCHAIN_FIX)) {
|
|
757
|
+
// Background and single-flight: the install outlives this request. The confirm tap is the
|
|
758
|
+
// licence consent (`ANDROID_TOOLCHAIN_CONSENT`); progress is the log named in the note.
|
|
759
|
+
const r = startToolchainInstall({ acceptLicences: true });
|
|
760
|
+
if (r.started) {
|
|
761
|
+
applied.push(ANDROID_TOOLCHAIN_FIX);
|
|
762
|
+
notes.push("started the Android toolchain install (user-local, no sudo); the row updates when it finishes");
|
|
763
|
+
}
|
|
764
|
+
else
|
|
765
|
+
notes.push("an Android toolchain install is already running");
|
|
766
|
+
}
|
|
767
|
+
if (fixes.includes("signing-key")) {
|
|
768
|
+
// The desktop key, made once (`signkey.ts`), then this repo's gitignored pointer to it.
|
|
769
|
+
const made = ensureDesktopKey();
|
|
770
|
+
const linked = made.ok ? linkKey(wt) : null;
|
|
771
|
+
if (made.ok && linked?.ok) {
|
|
772
|
+
applied.push("signing-key");
|
|
773
|
+
notes.push(made.note, linked.note);
|
|
774
|
+
}
|
|
775
|
+
else
|
|
776
|
+
notes.push(!made.ok ? made.error : linked.error);
|
|
777
|
+
}
|
|
778
|
+
if (fixes.includes(BUILDS_CONFIGURED_FIX)) {
|
|
779
|
+
const path = buildsJsonPath(wt);
|
|
780
|
+
const local = localBuildsJsonPath(wt);
|
|
781
|
+
const { safe } = buildsSeed(wt);
|
|
782
|
+
if (!path)
|
|
783
|
+
notes.push("the shared config dir resolves outside this repo — left as it is");
|
|
784
|
+
else if (existsSync(path))
|
|
785
|
+
notes.push(`${join(basename(dirname(path)), "builds.json")} already exists — left as it is`);
|
|
786
|
+
else if (local && existsSync(local))
|
|
787
|
+
notes.push(`${join(basename(dirname(local)), "builds.json")} already exists on this desktop — left as it is`);
|
|
788
|
+
else if (!safe.length)
|
|
789
|
+
notes.push("nothing buildable to write — left as it is");
|
|
790
|
+
else {
|
|
791
|
+
const list = safe.map((c, i) => ({ id: `scan_${i}`, name: c.name, cmd: c.cmd, ...(c.dir ? { dir: c.dir } : {}) }));
|
|
792
|
+
mkdirSync(dirname(path), { recursive: true });
|
|
793
|
+
try {
|
|
794
|
+
writeFileSync(path, JSON.stringify(list, null, 2), { flag: "wx" });
|
|
795
|
+
applied.push(BUILDS_CONFIGURED_FIX);
|
|
796
|
+
notes.push(`wrote ${list.length} build${list.length === 1 ? "" : "s"} to ${join(basename(dirname(path)), "builds.json")}`);
|
|
797
|
+
}
|
|
798
|
+
catch {
|
|
799
|
+
notes.push("builds.json appeared meanwhile — left as it is");
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
return { ok: true, applied, notes, report: checkRepoCompliance(target) };
|
|
804
|
+
}
|
|
805
|
+
catch (e) {
|
|
806
|
+
return { ok: false, applied, notes, error: String(e.message || e) };
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
/** Root-level dotenv file names (.env / .env.*) — for the secret-leak check. */
|
|
810
|
+
function listRootEnvFiles(worktree) {
|
|
811
|
+
try {
|
|
812
|
+
return readdirSync(worktree).filter((n) => {
|
|
813
|
+
if (!/^\.env(\.[A-Za-z0-9_.-]+)?$/.test(n))
|
|
814
|
+
return false;
|
|
815
|
+
try {
|
|
816
|
+
return statSync(join(worktree, n)).isFile();
|
|
817
|
+
}
|
|
818
|
+
catch {
|
|
819
|
+
return false;
|
|
820
|
+
}
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
catch {
|
|
824
|
+
return [];
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
//# sourceMappingURL=compliance.js.map
|