waterplane 0.1.24 → 0.1.26
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 +49 -0
- package/SECURITY.md +25 -5
- package/node_modules/@waterplane/shared/dist/agentseries/compare.d.ts +8 -0
- package/node_modules/@waterplane/shared/dist/agentseries/compare.js +103 -0
- package/node_modules/@waterplane/shared/dist/agentseries/compare.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/agentseries/markers.d.ts +17 -0
- package/node_modules/@waterplane/shared/dist/agentseries/markers.js +125 -0
- package/node_modules/@waterplane/shared/dist/agentseries/markers.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/agentseries/series.d.ts +16 -0
- package/node_modules/@waterplane/shared/dist/agentseries/series.js +93 -0
- package/node_modules/@waterplane/shared/dist/agentseries/series.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/agentseries/stats.d.ts +8 -0
- package/node_modules/@waterplane/shared/dist/agentseries/stats.js +33 -0
- package/node_modules/@waterplane/shared/dist/agentseries/stats.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/agentseries/types.d.ts +103 -0
- package/node_modules/@waterplane/shared/dist/agentseries/types.js +11 -0
- package/node_modules/@waterplane/shared/dist/agentseries/types.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/agentseries.d.ts +10 -0
- package/node_modules/@waterplane/shared/dist/agentseries.js +11 -0
- package/node_modules/@waterplane/shared/dist/agentseries.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/calday.d.ts +5 -0
- package/node_modules/@waterplane/shared/dist/calday.js +10 -0
- package/node_modules/@waterplane/shared/dist/calday.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.d.ts +13 -1
- package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js +22 -4
- package/node_modules/@waterplane/shared/dist/clihealth/healthfixture.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/clihealth.d.ts +1 -1
- package/node_modules/@waterplane/shared/dist/clihealth.js +1 -1
- package/node_modules/@waterplane/shared/dist/clihealth.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/dictate.d.ts +6 -0
- package/node_modules/@waterplane/shared/dist/dictate.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/dictatemodels.d.ts +23 -0
- package/node_modules/@waterplane/shared/dist/dictatemodels.js +31 -0
- package/node_modules/@waterplane/shared/dist/dictatemodels.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/healthindex/commits.d.ts +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex/commits.js +2 -2
- package/node_modules/@waterplane/shared/dist/healthindex/commits.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex/coverage.d.ts +128 -0
- package/node_modules/@waterplane/shared/dist/healthindex/coverage.js +343 -0
- package/node_modules/@waterplane/shared/dist/healthindex/coverage.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/healthindex/readings.d.ts +9 -1
- package/node_modules/@waterplane/shared/dist/healthindex/readings.js +122 -4
- package/node_modules/@waterplane/shared/dist/healthindex/readings.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex/repoindex.d.ts +5 -0
- package/node_modules/@waterplane/shared/dist/healthindex/repoindex.js +2 -0
- package/node_modules/@waterplane/shared/dist/healthindex/repoindex.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex/score.d.ts +3 -0
- package/node_modules/@waterplane/shared/dist/healthindex/score.js +52 -16
- package/node_modules/@waterplane/shared/dist/healthindex/score.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex/types.d.ts +82 -6
- package/node_modules/@waterplane/shared/dist/healthindex/types.js +35 -2
- package/node_modules/@waterplane/shared/dist/healthindex/types.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex/words.js +65 -6
- package/node_modules/@waterplane/shared/dist/healthindex/words.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindex.d.ts +21 -7
- package/node_modules/@waterplane/shared/dist/healthindex.js +20 -7
- package/node_modules/@waterplane/shared/dist/healthindex.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthindexresponse.js +3 -2
- package/node_modules/@waterplane/shared/dist/healthindexresponse.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/healthspend.d.ts +23 -0
- package/node_modules/@waterplane/shared/dist/healthspend.js +32 -1
- package/node_modules/@waterplane/shared/dist/healthspend.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/hints.js +9 -0
- package/node_modules/@waterplane/shared/dist/hints.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/index.d.ts +9 -0
- package/node_modules/@waterplane/shared/dist/index.js +9 -0
- package/node_modules/@waterplane/shared/dist/index.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/installrow.js +10 -0
- package/node_modules/@waterplane/shared/dist/installrow.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/intent/kind.d.ts +45 -1
- package/node_modules/@waterplane/shared/dist/intent/kind.js +60 -2
- package/node_modules/@waterplane/shared/dist/intent/kind.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/intent.d.ts +1 -1
- package/node_modules/@waterplane/shared/dist/intent.js +1 -1
- package/node_modules/@waterplane/shared/dist/intent.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/itempaths.d.ts +23 -0
- package/node_modules/@waterplane/shared/dist/itempaths.js +38 -0
- package/node_modules/@waterplane/shared/dist/itempaths.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/pluginlaunch.d.ts +3 -2
- package/node_modules/@waterplane/shared/dist/pluginlaunch.js +1 -1
- package/node_modules/@waterplane/shared/dist/pluginlaunch.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/pricelist.d.ts +57 -0
- package/node_modules/@waterplane/shared/dist/pricelist.js +128 -0
- package/node_modules/@waterplane/shared/dist/pricelist.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/pricing.d.ts +86 -9
- package/node_modules/@waterplane/shared/dist/pricing.js +140 -20
- package/node_modules/@waterplane/shared/dist/pricing.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/queue/queuelanestate.d.ts +14 -0
- package/node_modules/@waterplane/shared/dist/queue/queuelanestate.js +25 -0
- package/node_modules/@waterplane/shared/dist/queue/queuelanestate.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/queue/queueplan.d.ts +4 -0
- package/node_modules/@waterplane/shared/dist/queue/queueplan.js +21 -0
- package/node_modules/@waterplane/shared/dist/queue/queueplan.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/queue/queuewords.js +2 -1
- package/node_modules/@waterplane/shared/dist/queue/queuewords.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/queue.d.ts +2 -0
- package/node_modules/@waterplane/shared/dist/queue.js +1 -0
- package/node_modules/@waterplane/shared/dist/queue.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/repohealth.d.ts +178 -0
- package/node_modules/@waterplane/shared/dist/repohealth.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/repohealthhabits.d.ts +15 -0
- package/node_modules/@waterplane/shared/dist/repohealthhabits.js +117 -0
- package/node_modules/@waterplane/shared/dist/repohealthhabits.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/repohealthnative.d.ts +10 -0
- package/node_modules/@waterplane/shared/dist/repohealthnative.js +94 -0
- package/node_modules/@waterplane/shared/dist/repohealthnative.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/repohealthread.js +23 -1
- package/node_modules/@waterplane/shared/dist/repohealthread.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/skillstate.d.ts +51 -0
- package/node_modules/@waterplane/shared/dist/skillstate.js +176 -0
- package/node_modules/@waterplane/shared/dist/skillstate.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/skillwords.d.ts +10 -0
- package/node_modules/@waterplane/shared/dist/skillwords.js +18 -0
- package/node_modules/@waterplane/shared/dist/skillwords.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/agentreadings.d.ts +248 -0
- package/node_modules/@waterplane/shared/dist/wire/agentreadings.js +36 -0
- package/node_modules/@waterplane/shared/dist/wire/agentreadings.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/backend.d.ts +2 -0
- package/node_modules/@waterplane/shared/dist/wire/costwindow.d.ts +4 -0
- package/node_modules/@waterplane/shared/dist/wire/dictatesetup.d.ts +42 -0
- package/node_modules/@waterplane/shared/dist/wire/dictatesetup.js +9 -0
- package/node_modules/@waterplane/shared/dist/wire/dictatesetup.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/messages/hostcore.d.ts +22 -1
- package/node_modules/@waterplane/shared/dist/wire/notify.d.ts +6 -1
- package/node_modules/@waterplane/shared/dist/wire/notify.js +6 -1
- package/node_modules/@waterplane/shared/dist/wire/notify.js.map +1 -1
- package/node_modules/@waterplane/shared/dist/wire/repo.d.ts +1 -1
- package/node_modules/@waterplane/shared/dist/wire/skills.d.ts +142 -0
- package/node_modules/@waterplane/shared/dist/wire/skills.js +6 -0
- package/node_modules/@waterplane/shared/dist/wire/skills.js.map +1 -0
- package/node_modules/@waterplane/shared/dist/wire/sysstat.d.ts +17 -0
- package/node_modules/@waterplane/shared/dist/wire/telemetry.d.ts +4 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/packages/extensions/diskspace/waterplane-plugin.json +16 -0
- package/packages/extensions/links/waterplane-plugin.json +18 -0
- package/packages/host/dist/agentclass.d.ts +116 -0
- package/packages/host/dist/agentclass.js +339 -0
- package/packages/host/dist/agentclass.js.map +1 -0
- package/packages/host/dist/agentintents.d.ts +18 -0
- package/packages/host/dist/agentintents.js +40 -7
- package/packages/host/dist/agentintents.js.map +1 -1
- package/packages/host/dist/agentmarkers.d.ts +49 -0
- package/packages/host/dist/agentmarkers.js +255 -0
- package/packages/host/dist/agentmarkers.js.map +1 -0
- package/packages/host/dist/agentreadings.d.ts +68 -0
- package/packages/host/dist/agentreadings.js +336 -0
- package/packages/host/dist/agentreadings.js.map +1 -0
- package/packages/host/dist/agentscan.d.ts +8 -0
- package/packages/host/dist/agentscan.js +427 -0
- package/packages/host/dist/agentscan.js.map +1 -0
- package/packages/host/dist/archive.js +9 -3
- package/packages/host/dist/archive.js.map +1 -1
- package/packages/host/dist/artifacts.js +4 -7
- package/packages/host/dist/artifacts.js.map +1 -1
- package/packages/host/dist/askrules.js +12 -4
- package/packages/host/dist/askrules.js.map +1 -1
- package/packages/host/dist/auth.d.ts +1 -0
- package/packages/host/dist/auth.js +5 -3
- package/packages/host/dist/auth.js.map +1 -1
- package/packages/host/dist/autopull.js +4 -8
- package/packages/host/dist/autopull.js.map +1 -1
- package/packages/host/dist/backends/claude.js +1 -0
- package/packages/host/dist/backends/claude.js.map +1 -1
- package/packages/host/dist/backends/derive.js +3 -1
- package/packages/host/dist/backends/derive.js.map +1 -1
- package/packages/host/dist/binguard.js +19 -2
- package/packages/host/dist/binguard.js.map +1 -1
- package/packages/host/dist/capture.js +7 -10
- package/packages/host/dist/capture.js.map +1 -1
- package/packages/host/dist/clifixtures.d.ts +24 -4
- package/packages/host/dist/clifixtures.js +50 -10
- package/packages/host/dist/clifixtures.js.map +1 -1
- package/packages/host/dist/clihealth.d.ts +8 -2
- package/packages/host/dist/clihealth.js +11 -3
- package/packages/host/dist/clihealth.js.map +1 -1
- package/packages/host/dist/costwindow.js +4 -2
- package/packages/host/dist/costwindow.js.map +1 -1
- package/packages/host/dist/ctxlog/ctxagents.d.ts +2 -0
- package/packages/host/dist/ctxlog/ctxagents.js +5 -5
- package/packages/host/dist/ctxlog/ctxagents.js.map +1 -1
- package/packages/host/dist/ctxlog/ctxcursor.d.ts +2 -0
- package/packages/host/dist/ctxlog/ctxcursor.js +2 -2
- package/packages/host/dist/ctxlog/ctxcursor.js.map +1 -1
- package/packages/host/dist/ctxlog/ctxupdate.js +11 -6
- package/packages/host/dist/ctxlog/ctxupdate.js.map +1 -1
- package/packages/host/dist/deliver/deliverknobs.d.ts +0 -2
- package/packages/host/dist/deliver/deliverknobs.js +0 -2
- package/packages/host/dist/deliver/deliverknobs.js.map +1 -1
- package/packages/host/dist/deliver/deliverproof.d.ts +3 -2
- package/packages/host/dist/deliver/deliverproof.js +9 -8
- package/packages/host/dist/deliver/deliverproof.js.map +1 -1
- package/packages/host/dist/deliver/deliverreturn.d.ts +3 -2
- package/packages/host/dist/deliver/deliverreturn.js +13 -12
- package/packages/host/dist/deliver/deliverreturn.js.map +1 -1
- package/packages/host/dist/deliver/deliverrun.js +20 -18
- package/packages/host/dist/deliver/deliverrun.js.map +1 -1
- package/packages/host/dist/deliver/deliverscreen.d.ts +2 -1
- package/packages/host/dist/deliver/deliverscreen.js +9 -8
- package/packages/host/dist/deliver/deliverscreen.js.map +1 -1
- package/packages/host/dist/deliver/delivertypes.d.ts +4 -0
- package/packages/host/dist/deliver.js +2 -1
- package/packages/host/dist/deliver.js.map +1 -1
- package/packages/host/dist/dictate.d.ts +11 -0
- package/packages/host/dist/dictate.js +20 -10
- package/packages/host/dist/dictate.js.map +1 -1
- package/packages/host/dist/dictatesetup.d.ts +54 -0
- package/packages/host/dist/dictatesetup.js +261 -0
- package/packages/host/dist/dictatesetup.js.map +1 -0
- package/packages/host/dist/doctor.js +1 -1
- package/packages/host/dist/doctor.js.map +1 -1
- package/packages/host/dist/exposure.d.ts +10 -0
- package/packages/host/dist/exposure.js +25 -0
- package/packages/host/dist/exposure.js.map +1 -1
- package/packages/host/dist/exposurepush.js +2 -2
- package/packages/host/dist/exposurepush.js.map +1 -1
- package/packages/host/dist/extensions/diskspace/host/candidates.d.mts +180 -0
- package/packages/host/dist/extensions/diskspace/host/candidates.mjs +716 -0
- package/packages/host/dist/extensions/diskspace/host/candidates.mjs.map +1 -0
- package/packages/host/dist/extensions/diskspace/host/engine.d.mts +21 -0
- package/packages/host/dist/extensions/diskspace/host/engine.mjs +498 -0
- package/packages/host/dist/extensions/diskspace/host/engine.mjs.map +1 -0
- package/packages/host/dist/extensions/diskspace/host/index.d.mts +25 -0
- package/packages/host/dist/extensions/diskspace/host/index.mjs +135 -0
- package/packages/host/dist/extensions/diskspace/host/index.mjs.map +1 -0
- package/packages/host/dist/extensions/diskspace/host/large.d.mts +11 -0
- package/packages/host/dist/extensions/diskspace/host/large.mjs +56 -0
- package/packages/host/dist/extensions/diskspace/host/large.mjs.map +1 -0
- package/packages/host/dist/extensions/diskspace/host/run.d.mts +94 -0
- package/packages/host/dist/extensions/diskspace/host/run.mjs +200 -0
- package/packages/host/dist/extensions/diskspace/host/run.mjs.map +1 -0
- package/packages/host/dist/extensions/diskspace/shared/wire.d.mts +197 -0
- package/packages/host/dist/extensions/diskspace/shared/wire.mjs +23 -0
- package/packages/host/dist/extensions/diskspace/shared/wire.mjs.map +1 -0
- package/packages/host/dist/extensions/links/host/engine.d.mts +39 -0
- package/packages/host/dist/extensions/links/host/engine.mjs +285 -0
- package/packages/host/dist/extensions/links/host/engine.mjs.map +1 -0
- package/packages/host/dist/extensions/links/host/index.d.mts +10 -0
- package/packages/host/dist/extensions/links/host/index.mjs +72 -0
- package/packages/host/dist/extensions/links/host/index.mjs.map +1 -0
- package/packages/host/dist/extensions/links/host/parse.d.mts +61 -0
- package/packages/host/dist/extensions/links/host/parse.mjs +225 -0
- package/packages/host/dist/extensions/links/host/parse.mjs.map +1 -0
- package/packages/host/dist/extensions/links/host/run.d.mts +15 -0
- package/packages/host/dist/extensions/links/host/run.mjs +32 -0
- package/packages/host/dist/extensions/links/host/run.mjs.map +1 -0
- package/packages/host/dist/extensions/links/host/store.d.mts +11 -0
- package/packages/host/dist/extensions/links/host/store.mjs +76 -0
- package/packages/host/dist/extensions/links/host/store.mjs.map +1 -0
- package/packages/host/dist/extensions/links/shared/wire.d.mts +141 -0
- package/packages/host/dist/extensions/links/shared/wire.mjs +20 -0
- package/packages/host/dist/extensions/links/shared/wire.mjs.map +1 -0
- package/packages/host/dist/git.d.ts +5 -3
- package/packages/host/dist/git.js +16 -28
- package/packages/host/dist/git.js.map +1 -1
- package/packages/host/dist/halt.js +16 -3
- package/packages/host/dist/halt.js.map +1 -1
- package/packages/host/dist/jsonstore.d.ts +16 -4
- package/packages/host/dist/jsonstore.js +32 -8
- package/packages/host/dist/jsonstore.js.map +1 -1
- package/packages/host/dist/landedbase.d.ts +41 -0
- package/packages/host/dist/landedbase.js +59 -0
- package/packages/host/dist/landedbase.js.map +1 -0
- package/packages/host/dist/lantls.js +2 -2
- package/packages/host/dist/lantls.js.map +1 -1
- package/packages/host/dist/limitretry.js +2 -3
- package/packages/host/dist/limitretry.js.map +1 -1
- package/packages/host/dist/localledger.js +9 -12
- package/packages/host/dist/localledger.js.map +1 -1
- package/packages/host/dist/main.js +2 -0
- package/packages/host/dist/main.js.map +1 -1
- package/packages/host/dist/opendeliveries.d.ts +4 -0
- package/packages/host/dist/opendeliveries.js +27 -1
- package/packages/host/dist/opendeliveries.js.map +1 -1
- package/packages/host/dist/plugins/setupcontrib.js +3 -2
- package/packages/host/dist/plugins/setupcontrib.js.map +1 -1
- package/packages/host/dist/pricefetch.d.ts +80 -0
- package/packages/host/dist/pricefetch.js +289 -0
- package/packages/host/dist/pricefetch.js.map +1 -0
- package/packages/host/dist/pricegap.d.ts +11 -0
- package/packages/host/dist/pricegap.js +30 -0
- package/packages/host/dist/pricegap.js.map +1 -0
- package/packages/host/dist/repohealthscopes.js +16 -24
- package/packages/host/dist/repohealthscopes.js.map +1 -1
- package/packages/host/dist/repos.d.ts +4 -0
- package/packages/host/dist/repos.js +1 -1
- package/packages/host/dist/repos.js.map +1 -1
- package/packages/host/dist/reposkilltext.d.ts +2 -0
- package/packages/host/dist/reposkilltext.js +8 -2
- package/packages/host/dist/reposkilltext.js.map +1 -1
- package/packages/host/dist/routes/apiagentpoints.d.ts +5 -0
- package/packages/host/dist/routes/apiagentpoints.js +48 -0
- package/packages/host/dist/routes/apiagentpoints.js.map +1 -0
- package/packages/host/dist/routes/apidictate.d.ts +2 -0
- package/packages/host/dist/routes/apidictate.js +27 -0
- package/packages/host/dist/routes/apidictate.js.map +1 -0
- package/packages/host/dist/routes/apihost.js +3 -2
- package/packages/host/dist/routes/apihost.js.map +1 -1
- package/packages/host/dist/routes/apirepofiles.js +3 -1
- package/packages/host/dist/routes/apirepofiles.js.map +1 -1
- package/packages/host/dist/routes/apirepowork.js +14 -0
- package/packages/host/dist/routes/apirepowork.js.map +1 -1
- package/packages/host/dist/routes/apiroutes.js +4 -1
- package/packages/host/dist/routes/apiroutes.js.map +1 -1
- package/packages/host/dist/routes/apiskills.d.ts +3 -0
- package/packages/host/dist/routes/apiskills.js +81 -0
- package/packages/host/dist/routes/apiskills.js.map +1 -0
- package/packages/host/dist/routes/apistats.js +2 -2
- package/packages/host/dist/routes/apistats.js.map +1 -1
- package/packages/host/dist/routes/apisystem.js +3 -1
- package/packages/host/dist/routes/apisystem.js.map +1 -1
- package/packages/host/dist/routes/apitable.d.ts +2 -0
- package/packages/host/dist/routes/apitable.js.map +1 -1
- package/packages/host/dist/server/billingwire.js +5 -0
- package/packages/host/dist/server/billingwire.js.map +1 -1
- package/packages/host/dist/server/deliveries.d.ts +4 -1
- package/packages/host/dist/server/deliveries.js +38 -6
- package/packages/host/dist/server/deliveries.js.map +1 -1
- package/packages/host/dist/server/http.js +1 -1
- package/packages/host/dist/server/http.js.map +1 -1
- package/packages/host/dist/server/intentDeps.js +20 -6
- package/packages/host/dist/server/intentDeps.js.map +1 -1
- package/packages/host/dist/server/wsops.js +2 -1
- package/packages/host/dist/server/wsops.js.map +1 -1
- package/packages/host/dist/sessions/core.d.ts +1 -0
- package/packages/host/dist/sessions/ctxseries.js +7 -5
- package/packages/host/dist/sessions/ctxseries.js.map +1 -1
- package/packages/host/dist/sessions/drive.d.ts +6 -1
- package/packages/host/dist/sessions/drive.js +13 -10
- package/packages/host/dist/sessions/drive.js.map +1 -1
- package/packages/host/dist/sessions/record.js +16 -17
- package/packages/host/dist/sessions/record.js.map +1 -1
- package/packages/host/dist/sessions/sidechannel.js +1 -1
- package/packages/host/dist/sessions/sidechannel.js.map +1 -1
- package/packages/host/dist/sessions/tmux.js +6 -1
- package/packages/host/dist/sessions/tmux.js.map +1 -1
- package/packages/host/dist/sessions/turn.js +5 -0
- package/packages/host/dist/sessions/turn.js.map +1 -1
- package/packages/host/dist/sessions.d.ts +2 -1
- package/packages/host/dist/sessions.js +1 -1
- package/packages/host/dist/sessions.js.map +1 -1
- package/packages/host/dist/settle.d.ts +3 -2
- package/packages/host/dist/settle.js +13 -13
- package/packages/host/dist/settle.js.map +1 -1
- package/packages/host/dist/sidecar/sidecarname.d.ts +2 -0
- package/packages/host/dist/sidecar/sidecarname.js +5 -1
- package/packages/host/dist/sidecar/sidecarname.js.map +1 -1
- package/packages/host/dist/sidecar/sidecarroute.d.ts +1 -1
- package/packages/host/dist/sidecar/sidecarroute.js +5 -0
- package/packages/host/dist/sidecar/sidecarroute.js.map +1 -1
- package/packages/host/dist/sidecar.d.ts +1 -1
- package/packages/host/dist/sidecar.js +1 -1
- package/packages/host/dist/sidecar.js.map +1 -1
- package/packages/host/dist/skills/skillinventory.d.ts +23 -0
- package/packages/host/dist/skills/skillinventory.js +275 -0
- package/packages/host/dist/skills/skillinventory.js.map +1 -0
- package/packages/host/dist/skills/skilllayers.d.ts +28 -0
- package/packages/host/dist/skills/skilllayers.js +73 -0
- package/packages/host/dist/skills/skilllayers.js.map +1 -0
- package/packages/host/dist/skills/skillrecommend.d.ts +42 -0
- package/packages/host/dist/skills/skillrecommend.js +171 -0
- package/packages/host/dist/skills/skillrecommend.js.map +1 -0
- package/packages/host/dist/skills/skillrefs.d.ts +2 -0
- package/packages/host/dist/skills/skillrefs.js +50 -0
- package/packages/host/dist/skills/skillrefs.js.map +1 -0
- package/packages/host/dist/skills/skilluse.d.ts +57 -0
- package/packages/host/dist/skills/skilluse.js +242 -0
- package/packages/host/dist/skills/skilluse.js.map +1 -0
- package/packages/host/dist/skills/skillweight.d.ts +18 -0
- package/packages/host/dist/skills/skillweight.js +69 -0
- package/packages/host/dist/skills/skillweight.js.map +1 -0
- package/packages/host/dist/skills/skillwrite.d.ts +56 -0
- package/packages/host/dist/skills/skillwrite.js +183 -0
- package/packages/host/dist/skills/skillwrite.js.map +1 -0
- package/packages/host/dist/sysstat.d.ts +34 -1
- package/packages/host/dist/sysstat.js +82 -14
- package/packages/host/dist/sysstat.js.map +1 -1
- package/packages/host/dist/tokenscan.js +5 -2
- package/packages/host/dist/tokenscan.js.map +1 -1
- package/packages/host/dist/tokenstats.js +7 -4
- package/packages/host/dist/tokenstats.js.map +1 -1
- package/packages/host/dist/transcript/transcriptparse.js +2 -2
- package/packages/host/dist/transcript/transcriptparse.js.map +1 -1
- package/packages/host/dist/waitclock.d.ts +12 -0
- package/packages/host/dist/waitclock.js +23 -0
- package/packages/host/dist/waitclock.js.map +1 -0
- package/packages/host/dist/weekburn.js +7 -5
- package/packages/host/dist/weekburn.js.map +1 -1
- package/packages/host/dist/worktreeleftover.js +13 -15
- package/packages/host/dist/worktreeleftover.js.map +1 -1
- package/packages/web/dist/assets/demo-DHkwSmU5.js +26 -0
- package/packages/web/dist/assets/{icons-D8RlmSLR.js → icons-5lVTFNUU.js} +1 -1
- package/packages/web/dist/assets/index-Bh4cH6X8.js +170 -0
- package/packages/web/dist/assets/index-F7VHtsLI.css +1 -0
- package/packages/web/dist/assets/shared-BvQMg9ra.js +51 -0
- package/packages/web/dist/assets/sheets-Cwi72V02.js +257 -0
- package/packages/web/dist/assets/sheets-DjU2XiUd.css +1 -0
- package/packages/web/dist/build-id.txt +1 -1
- package/packages/web/dist/buildstamp.json +1 -1
- package/packages/web/dist/index.html +7 -7
- package/packages/web/dist/sw.js +2 -2
- package/release.json +11 -3
- package/tools/repohealth/constants.mjs +34 -1
- package/tools/repohealth/fixture.json +5374 -38
- package/tools/repohealth/git.mjs +77 -0
- package/tools/repohealth/lang/dart-analyze.mjs +181 -0
- package/tools/repohealth/lang/dart-lex.mjs +494 -0
- package/tools/repohealth/lang/dart-resolve.mjs +95 -0
- package/tools/repohealth/lang/python-ast.mjs +602 -0
- package/tools/repohealth/lang/python-resolve.mjs +228 -0
- package/tools/repohealth/metrics/habits.mjs +286 -0
- package/tools/repohealth/metrics/native.mjs +542 -0
- package/tools/repohealth/metrics/untested.mjs +20 -8
- package/tools/repohealth/metrics/workspace.mjs +256 -0
- package/tools/repohealth/own.mjs +67 -5
- package/tools/repohealth/packs/dart.mjs +153 -85
- package/tools/repohealth/packs/python.mjs +51 -14
- package/tools/repohealth/plot.mjs +143 -1
- package/tools/repohealth/reach.mjs +98 -0
- package/tools/repohealth/scope.mjs +14 -1
- package/tools/repohealth/series.mjs +5 -0
- package/tools/repohealth/types.mjs +4 -0
- package/tools/repohealth.mjs +39 -5
- package/packages/web/dist/assets/demo-ad3g3HDa.js +0 -26
- package/packages/web/dist/assets/index-Csb7jynu.js +0 -170
- package/packages/web/dist/assets/index-Cz9Haocy.css +0 -1
- package/packages/web/dist/assets/shared-DBaaGttP.js +0 -51
- package/packages/web/dist/assets/sheets-CqsP9w1V.js +0 -256
- package/packages/web/dist/assets/sheets-DoUhPGK0.css +0 -1
|
@@ -42,6 +42,23 @@ export type HostCoreMsg = HostUpdatesMsg | {
|
|
|
42
42
|
updateKey?: string;
|
|
43
43
|
tlsPort?: number;
|
|
44
44
|
tlsSpki?: string;
|
|
45
|
+
/** The rates this host read off Anthropic's price page, so the phone's own cost hints match the
|
|
46
|
+
* host's. Absent = the host prices from its built-in table (or is older): the phone uses its own. */
|
|
47
|
+
prices?: {
|
|
48
|
+
rates: Record<string, {
|
|
49
|
+
input: number;
|
|
50
|
+
output: number;
|
|
51
|
+
cacheRead?: number;
|
|
52
|
+
}>;
|
|
53
|
+
/** Long-prompt cards (Haiku 5.5 past 100K tokens); absent from an older host. */
|
|
54
|
+
longPrompt?: Record<string, {
|
|
55
|
+
input: number;
|
|
56
|
+
output: number;
|
|
57
|
+
cacheRead?: number;
|
|
58
|
+
overTokens: number;
|
|
59
|
+
}>;
|
|
60
|
+
fetchedAt: number;
|
|
61
|
+
};
|
|
45
62
|
}
|
|
46
63
|
/**
|
|
47
64
|
* The daemon is going down (SIGTERM/SIGINT — `npm run restart` is one),
|
|
@@ -298,7 +315,10 @@ export type HostCoreMsg = HostUpdatesMsg | {
|
|
|
298
315
|
* session's worktree, plus its background shells (the same `shellList` a
|
|
299
316
|
* status poll would publish) — a close sheet asking "what's at stake here"
|
|
300
317
|
* needs both facts in the one reply, not a second round trip. Absent means
|
|
301
|
-
* the same as `SessionInfo.shellList` absent: could not read, not "none".
|
|
318
|
+
* the same as `SessionInfo.shellList` absent: could not read, not "none".
|
|
319
|
+
* `unmergedUnknown: true` = the host could not measure `unmerged` (no base
|
|
320
|
+
* branch found, or git failed); `unmerged` is then 0 and means nothing.
|
|
321
|
+
* Absent = measured (an older host). */
|
|
302
322
|
| {
|
|
303
323
|
t: "session.closecheck";
|
|
304
324
|
id: string;
|
|
@@ -306,6 +326,7 @@ export type HostCoreMsg = HostUpdatesMsg | {
|
|
|
306
326
|
branch: string;
|
|
307
327
|
dirty: boolean;
|
|
308
328
|
unmerged: number;
|
|
329
|
+
unmergedUnknown?: boolean;
|
|
309
330
|
isMain: boolean;
|
|
310
331
|
mainBranch: string;
|
|
311
332
|
shells?: SessionShell[];
|
|
@@ -78,8 +78,13 @@
|
|
|
78
78
|
* open alert in a repo that is on the watch — one push per finding, keyed (repo, measure,
|
|
79
79
|
* subject, version) and spent for good; more than three at once in one repo is a single push.
|
|
80
80
|
* Critical and high severity are attention, the rest information. Default ON. Words only.
|
|
81
|
+
*
|
|
82
|
+
* `proposal` sits last (added 2026-11-10): a repo's SCRIPT proposed work with no session behind
|
|
83
|
+
* it (`POST /api/agent/backlog` with `proposedBy`) — one push per NEW proposal, keyed
|
|
84
|
+
* `proposal:<row id>`, attention, and resolved by the host once the row is fired, scheduled or
|
|
85
|
+
* deleted (`isPendingProposal`). A tap opens that row. Default ON. Nothing starts by itself.
|
|
81
86
|
*/
|
|
82
|
-
export declare const NOTIFICATION_KINDS: readonly ["prompt", "approval", "limit", "signin", "burn", "cli", "disk", "undelivered", "backlog", "followup", "health", "agent", "artifact", "image", "plugin", "autofire", "idle", "info", "weekburn", "git", "exposure"];
|
|
87
|
+
export declare const NOTIFICATION_KINDS: readonly ["prompt", "approval", "limit", "signin", "burn", "cli", "disk", "undelivered", "backlog", "followup", "health", "agent", "artifact", "image", "plugin", "autofire", "idle", "info", "weekburn", "git", "exposure", "proposal"];
|
|
83
88
|
/** Kind of in-app notification (drives the icon shown). */
|
|
84
89
|
export type NotificationKind = (typeof NOTIFICATION_KINDS)[number];
|
|
85
90
|
/**
|
|
@@ -78,9 +78,14 @@
|
|
|
78
78
|
* open alert in a repo that is on the watch — one push per finding, keyed (repo, measure,
|
|
79
79
|
* subject, version) and spent for good; more than three at once in one repo is a single push.
|
|
80
80
|
* Critical and high severity are attention, the rest information. Default ON. Words only.
|
|
81
|
+
*
|
|
82
|
+
* `proposal` sits last (added 2026-11-10): a repo's SCRIPT proposed work with no session behind
|
|
83
|
+
* it (`POST /api/agent/backlog` with `proposedBy`) — one push per NEW proposal, keyed
|
|
84
|
+
* `proposal:<row id>`, attention, and resolved by the host once the row is fired, scheduled or
|
|
85
|
+
* deleted (`isPendingProposal`). A tap opens that row. Default ON. Nothing starts by itself.
|
|
81
86
|
*/
|
|
82
87
|
export const NOTIFICATION_KINDS = [
|
|
83
|
-
"prompt", "approval", "limit", "signin", "burn", "cli", "disk", "undelivered", "backlog", "followup", "health", "agent", "artifact", "image", "plugin", "autofire", "idle", "info", "weekburn", "git", "exposure",
|
|
88
|
+
"prompt", "approval", "limit", "signin", "burn", "cli", "disk", "undelivered", "backlog", "followup", "health", "agent", "artifact", "image", "plugin", "autofire", "idle", "info", "weekburn", "git", "exposure", "proposal",
|
|
84
89
|
];
|
|
85
90
|
/**
|
|
86
91
|
* Kinds that are OFF unless the user turns them on.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notify.js","sourceRoot":"","sources":["../../src/wire/notify.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH
|
|
1
|
+
{"version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H,kGAAkG;AAClG,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,MAAM,UAAU,cAAc,CAAC,CAAS;IACtC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;QAAE,OAAO,IAAI,CAAC;IACzC,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAqC,CAAC;QACnF,IAAI,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,EAAE,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ;YAAE,OAAO,IAAI,CAAC;QACtI,OAAO,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,EAAsB,CAAC;IACxI,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -289,7 +289,7 @@ export interface RepoTarget {
|
|
|
289
289
|
/**
|
|
290
290
|
* The repo's health score (`shared/healthindex.ts`): one number out of 100
|
|
291
291
|
* over the repo-health series, against fixed good values, every metric read
|
|
292
|
-
* lower-is-better. `deltaWeek` is null on a gap or first scored week; `move`
|
|
292
|
+
* lower-is-better except tests changed with code (higher-is-better). `deltaWeek` is null on a gap or first scored week; `move`
|
|
293
293
|
* is a CALLED move only (`assessHealthMove`); `mean`, `cappedBy` and `alert`
|
|
294
294
|
* are absent from a host older than the absolute score. Absent = unknown —
|
|
295
295
|
* no series or an older host — never 0.
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skills and plugins switch — the wire (docs/analysis/skills-switch/PLAN.md). REST, no WebSocket
|
|
3
|
+
* message. Every optional field means "this host did not say"; a value is never guessed.
|
|
4
|
+
*/
|
|
5
|
+
/** The `skillOverrides` values, in CLI rank order (on < name-only < user-invocable-only < off). */
|
|
6
|
+
export type SkillState = "on" | "name-only" | "user-invocable-only" | "off";
|
|
7
|
+
export declare const SKILL_STATES: readonly SkillState[];
|
|
8
|
+
export type SkillSource = "personal" | "project" | "plugin" | "synced-skill" | "bundled";
|
|
9
|
+
export type SwitchLevel = "global" | "repo-local" | "repo-shared";
|
|
10
|
+
/** One settings file, as read. */
|
|
11
|
+
export interface SkillLayer {
|
|
12
|
+
level: SwitchLevel;
|
|
13
|
+
/** Display path ("~/.claude/settings.json", ".claude/settings.local.json"). */
|
|
14
|
+
path: string;
|
|
15
|
+
/** sha1 of the text, or "absent"; echoed back by a write. */
|
|
16
|
+
rev: string;
|
|
17
|
+
/** False: not JSON / not an object / a key is not an object. */
|
|
18
|
+
readable: boolean;
|
|
19
|
+
why?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SkillRow {
|
|
22
|
+
kind: "skill";
|
|
23
|
+
/** The `skillOverrides` key = the listing name. */
|
|
24
|
+
id: string;
|
|
25
|
+
source: SkillSource;
|
|
26
|
+
/** Plugin id when `source === "plugin"`. */
|
|
27
|
+
plugin?: string;
|
|
28
|
+
/** Value at each level; ABSENT when that file has no key (not "on"). */
|
|
29
|
+
set: Partial<Record<SwitchLevel, SkillState>>;
|
|
30
|
+
effective: SkillState;
|
|
31
|
+
from: SwitchLevel | "default" | "locked";
|
|
32
|
+
locked?: string;
|
|
33
|
+
/** Who fixed the value when `from` is "locked": the skill's own frontmatter (`disable-model-invocation`); absent = a managed setting. */
|
|
34
|
+
lockedBy?: "author";
|
|
35
|
+
/** Name + description line; ABSENT = unmeasured. */
|
|
36
|
+
listingChars?: number;
|
|
37
|
+
bodyChars?: number;
|
|
38
|
+
/** `skillListingMaxDescChars` was set. */
|
|
39
|
+
capped?: boolean;
|
|
40
|
+
/** False for plugin skills (the CLI ignores `skillOverrides` for them). */
|
|
41
|
+
switchable: boolean;
|
|
42
|
+
why?: string;
|
|
43
|
+
/** ABSENT while counting / no log. */
|
|
44
|
+
uses?: {
|
|
45
|
+
d30: number;
|
|
46
|
+
all: number;
|
|
47
|
+
typed30: number;
|
|
48
|
+
typedAll: number;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export interface PluginRow {
|
|
52
|
+
kind: "plugin";
|
|
53
|
+
/** "sales@synced" = the `enabledPlugins` key. */
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
version?: string;
|
|
57
|
+
scope: string;
|
|
58
|
+
set: Partial<Record<SwitchLevel, boolean>>;
|
|
59
|
+
enabled: boolean;
|
|
60
|
+
from: SwitchLevel | "default" | "locked";
|
|
61
|
+
/** Ids of its SkillRows (read-only). */
|
|
62
|
+
skills: string[];
|
|
63
|
+
/** Sum of its skills' lines; ABSENT if any skill is unmeasured (`why` says so). */
|
|
64
|
+
listingChars?: number;
|
|
65
|
+
/** Names only; unsized, never 0. */
|
|
66
|
+
mcpServers?: number;
|
|
67
|
+
why?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface SkillInventoryDoc {
|
|
70
|
+
v: 1;
|
|
71
|
+
at: number;
|
|
72
|
+
repoId?: string;
|
|
73
|
+
layers: SkillLayer[];
|
|
74
|
+
rows: (SkillRow | PluginRow)[];
|
|
75
|
+
/** A total always ships with its split. */
|
|
76
|
+
totals: {
|
|
77
|
+
skillChars?: number;
|
|
78
|
+
pluginChars?: number;
|
|
79
|
+
unmeasured: number;
|
|
80
|
+
};
|
|
81
|
+
usage: {
|
|
82
|
+
state: "ready" | "counting" | "absent";
|
|
83
|
+
done?: number;
|
|
84
|
+
total?: number;
|
|
85
|
+
why?: string;
|
|
86
|
+
since30: number;
|
|
87
|
+
/** `ready` on the previous scan's counts while a newer scan runs: the screen asks again. */ refreshing?: boolean;
|
|
88
|
+
};
|
|
89
|
+
hostNote?: string;
|
|
90
|
+
}
|
|
91
|
+
/** `to: "inherit"` deletes the key at that level. */
|
|
92
|
+
export interface SkillChange {
|
|
93
|
+
kind: "skill" | "plugin";
|
|
94
|
+
id: string;
|
|
95
|
+
to: SkillState | boolean | "inherit";
|
|
96
|
+
}
|
|
97
|
+
/** `revs`: the layer rev the screen read, keyed by level. */
|
|
98
|
+
export interface SkillWriteRequest {
|
|
99
|
+
level: SwitchLevel;
|
|
100
|
+
revs: Partial<Record<SwitchLevel, string>>;
|
|
101
|
+
changes: SkillChange[];
|
|
102
|
+
}
|
|
103
|
+
export type SkillWriteResponse = {
|
|
104
|
+
ok: true;
|
|
105
|
+
file: string;
|
|
106
|
+
changed: {
|
|
107
|
+
id: string;
|
|
108
|
+
from: string;
|
|
109
|
+
to: string;
|
|
110
|
+
}[];
|
|
111
|
+
ignoredNote?: string;
|
|
112
|
+
gitignored?: boolean;
|
|
113
|
+
doc: SkillInventoryDoc;
|
|
114
|
+
} | {
|
|
115
|
+
ok: false;
|
|
116
|
+
error: string;
|
|
117
|
+
status: 400 | 409 | 422;
|
|
118
|
+
};
|
|
119
|
+
export interface SkillSuggestion {
|
|
120
|
+
kind: "skill" | "plugin";
|
|
121
|
+
id: string;
|
|
122
|
+
to: "name-only" | "user-invocable-only" | "off";
|
|
123
|
+
reason: string;
|
|
124
|
+
savedChars?: number;
|
|
125
|
+
uses30?: number;
|
|
126
|
+
usesAll?: number;
|
|
127
|
+
}
|
|
128
|
+
export interface SkillRecommendResponse {
|
|
129
|
+
ok: boolean;
|
|
130
|
+
suggestions: SkillSuggestion[];
|
|
131
|
+
note?: string;
|
|
132
|
+
/** Model suggestions the host refused (unknown id, unswitchable, bad value). */
|
|
133
|
+
dropped: number;
|
|
134
|
+
spend?: {
|
|
135
|
+
model?: string;
|
|
136
|
+
costUsd?: number;
|
|
137
|
+
inputTokens?: number;
|
|
138
|
+
outputTokens?: number;
|
|
139
|
+
};
|
|
140
|
+
error?: string;
|
|
141
|
+
limited?: boolean;
|
|
142
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skills and plugins switch — the wire (docs/analysis/skills-switch/PLAN.md). REST, no WebSocket
|
|
3
|
+
* message. Every optional field means "this host did not say"; a value is never guessed.
|
|
4
|
+
*/
|
|
5
|
+
export const SKILL_STATES = ["on", "name-only", "user-invocable-only", "off"];
|
|
6
|
+
//# sourceMappingURL=skills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../../src/wire/skills.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,CAAC,MAAM,YAAY,GAA0B,CAAC,IAAI,EAAE,WAAW,EAAE,qBAAqB,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -138,6 +138,23 @@ export interface ProcSnapshot {
|
|
|
138
138
|
rssSumBytes: number;
|
|
139
139
|
/** How many rows each list holds at most. */
|
|
140
140
|
cap: number;
|
|
141
|
+
/** CPU per live waterplane session: every process under that session's tmux
|
|
142
|
+
* pane (the CLI, its tools, builds and tests it started), summed. Busiest
|
|
143
|
+
* first, capped, sessions under 1% left out. Absent when the panes could
|
|
144
|
+
* not be listed — never an empty list standing in for "unknown". */
|
|
145
|
+
bySession?: SessionCpuRow[];
|
|
146
|
+
}
|
|
147
|
+
/** One session's share of the CPU, folded over its process tree. */
|
|
148
|
+
export interface SessionCpuRow {
|
|
149
|
+
/** The waterplane session id — the phone resolves it to its tab label. */
|
|
150
|
+
sessionId: string;
|
|
151
|
+
/** Per-core percent summed, as `top`; can exceed 100. */
|
|
152
|
+
cpuPct: number;
|
|
153
|
+
rssBytes: number;
|
|
154
|
+
/** How many processes were folded in. */
|
|
155
|
+
procs: number;
|
|
156
|
+
/** The busiest program in it, by name, so "450%" says what is running. */
|
|
157
|
+
top: string;
|
|
141
158
|
}
|
|
142
159
|
/** One fan, as the sensor names it. */
|
|
143
160
|
export interface FanRow {
|
|
@@ -576,6 +576,10 @@ export interface TokenStatsDoc {
|
|
|
576
576
|
*/
|
|
577
577
|
top?: TokenConvo[];
|
|
578
578
|
pricesAsOf: string;
|
|
579
|
+
/** `list`: the rates were read off Anthropic's price page on `pricesAsOf`.
|
|
580
|
+
* `builtin`: the table shipped with this version, dated `pricesAsOf`.
|
|
581
|
+
* Absent on an older host — which always meant the built-in table. */
|
|
582
|
+
pricesFrom?: "list" | "builtin";
|
|
579
583
|
/** First and last counted turn, epoch ms. Null when there is nothing. */
|
|
580
584
|
firstAt: number | null;
|
|
581
585
|
lastAt: number | null;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "waterplane",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "waterplane",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.26",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@noble/curves": "2.4.0",
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "diskspace",
|
|
3
|
+
"name": "disk space",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"apiVersion": "2.0",
|
|
6
|
+
"description": "What is filling this desktop's disk: regenerable caches and build output with a delete button each, AI models (Hugging Face, Ollama), sizes of what can only be shown, and an on-demand large-file find. Deletes name a candidate the host computed itself, never a path. Experimental; off until switched on. macOS, Linux, and Windows through WSL.",
|
|
7
|
+
"summary": "Shows what is filling this computer's disk and lets you delete the things that can be rebuilt.",
|
|
8
|
+
"maturity": "preview",
|
|
9
|
+
"host": "host/index.mts",
|
|
10
|
+
"web": "web/index.ts",
|
|
11
|
+
"optional": true,
|
|
12
|
+
"experimental": true,
|
|
13
|
+
"places": [
|
|
14
|
+
"Settings: free space from the last scan, and the full disk space screen"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "links",
|
|
3
|
+
"name": "links",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"apiVersion": "2.0",
|
|
6
|
+
"description": "One list of every project's links: dev servers running on this desktop (through their tailscale serve front door), Cloud Run services and Firebase Hosting sites. The host finds them; a person pins the ones worth keeping, with an up/down check per pin. Off until switched on: cloud discovery runs gcloud with this desktop's own sign-in.",
|
|
7
|
+
"summary": "Lists your projects' web addresses (dev servers, Cloud Run, Firebase) and checks whether each pinned one is up.",
|
|
8
|
+
"places": [
|
|
9
|
+
"Home menu: the list of pinned and found links, with up or down for each pin",
|
|
10
|
+
"Session menu: the same list, from inside a session",
|
|
11
|
+
"Repo row: how many links this repo has; a tap lists only those"
|
|
12
|
+
],
|
|
13
|
+
"maturity": "preview",
|
|
14
|
+
"host": "host/index.mts",
|
|
15
|
+
"web": "web/index.ts",
|
|
16
|
+
"optional": true,
|
|
17
|
+
"experimental": true
|
|
18
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { type SeriesBucket, type RepoSpendWeek, type AgentReadingAbsent, type AgentReadingRules, type AgentReadingsWeek, type StartPart, type ReworkClass } from "@waterplane/shared";
|
|
2
|
+
/** The four kinds + the 1-hour subset + requests, positional (as `tokenscan.ts`'s `Tally`). */
|
|
3
|
+
export type WeekTally = [input: number, output: number, cacheRead: number, cacheWrite: number, cacheWrite1h: number, requests: number];
|
|
4
|
+
/** One top-level conversation log, as `agentscan.ts` read it. */
|
|
5
|
+
export interface ConvSummary {
|
|
6
|
+
/** mtime and size when read: together, "has this changed". */
|
|
7
|
+
m: number;
|
|
8
|
+
s: number;
|
|
9
|
+
/** The worktree the conversation ran in (the records' own `cwd`). */
|
|
10
|
+
w?: string;
|
|
11
|
+
/** Why the log is not a fresh start; absent = fresh. */
|
|
12
|
+
nf?: "fork" | "continued" | "headless";
|
|
13
|
+
/** The class and the word that decided it (absent for unknown). */
|
|
14
|
+
c: ReworkClass;
|
|
15
|
+
cw?: string;
|
|
16
|
+
/** First and last record timestamps (ms); absent when no record was dated. */
|
|
17
|
+
t0?: number;
|
|
18
|
+
t1?: number;
|
|
19
|
+
/** Before the first Edit/Write/MultiEdit/NotebookEdit call: input, cache read, cache write, requests.
|
|
20
|
+
* Absent = the log never edited a file. */
|
|
21
|
+
ex?: [input: number, cacheRead: number, cacheWrite: number, requests: number];
|
|
22
|
+
/** Tokens by ISO week. */
|
|
23
|
+
wk: Record<string, WeekTally>;
|
|
24
|
+
/** Compaction boundaries in the log. */
|
|
25
|
+
cp: number;
|
|
26
|
+
/** A `git commit` Bash call whose result was not an error. */
|
|
27
|
+
cm?: 1;
|
|
28
|
+
/** Workflow run ids (`wf_…`) launched from a `review-repair` script. */
|
|
29
|
+
rr?: string[];
|
|
30
|
+
/** Start-of-session readings (`StartReading`): model, CLI version, first-request tokens, parts, looks, requests. */
|
|
31
|
+
sr?: StartSummary;
|
|
32
|
+
}
|
|
33
|
+
/** What `agentscan.ts`'s `StartReading` leaves in a summary; every field absent where the log did not say. */
|
|
34
|
+
export interface StartSummary {
|
|
35
|
+
/** Model of the first counted request. */
|
|
36
|
+
md?: string;
|
|
37
|
+
/** The `version` field of the first record that had one. */
|
|
38
|
+
cli?: string;
|
|
39
|
+
/** First request's input + cache read + cache write. */
|
|
40
|
+
st?: number;
|
|
41
|
+
/** Chars per start part, from the attachments before that request. */
|
|
42
|
+
pt?: Partial<Record<StartPart, number>>;
|
|
43
|
+
/** Looks before the first edit; absent = never edited. */
|
|
44
|
+
lk?: number;
|
|
45
|
+
/** Counted requests (not in a fork's copied prefix). */
|
|
46
|
+
rq: number;
|
|
47
|
+
}
|
|
48
|
+
/** One subagent log (`<conv>/subagents/…/agent-*.jsonl`). */
|
|
49
|
+
export interface AgentLogSummary {
|
|
50
|
+
m: number;
|
|
51
|
+
s: number;
|
|
52
|
+
/** The workflow run directory it sits in (`wf_…`), when it is a workflow's agent. */
|
|
53
|
+
wf?: string;
|
|
54
|
+
wk: Record<string, WeekTally>;
|
|
55
|
+
/** First record's time (ms). */
|
|
56
|
+
t0?: number;
|
|
57
|
+
sr?: StartSummary;
|
|
58
|
+
}
|
|
59
|
+
export declare const EDIT_TOOLS: ReadonlySet<string>;
|
|
60
|
+
/** Tools that only read the local tree. WebFetch is not here: it reads the network, not the repo. Worded for people by shared `LOOK_RULE_TEXT`. */
|
|
61
|
+
export declare const LOOK_TOOLS: ReadonlySet<string>;
|
|
62
|
+
/** A Bash command that only looks, after its leading `cd … &&`. */
|
|
63
|
+
export declare const LOOK_CMD_RE: RegExp;
|
|
64
|
+
/** Whether one tool call is a look (see `LOOK_RULE_TEXT`). */
|
|
65
|
+
export declare function isLookCall(name: string, command: unknown): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* The start-context chars one `attachment` row adds, by part. A row that is not one, or whose shape
|
|
68
|
+
* moved, yields nothing — never a zero. Instruction files split by their own `type`: `AutoMem` is
|
|
69
|
+
* the auto-memory index, every other file (User, Project, Local, managed) is a CLAUDE.md.
|
|
70
|
+
* The attachment shapes are `ctxlog/ctxcursor.ts`'s `carriedPartsOf`; this only regroups them.
|
|
71
|
+
*/
|
|
72
|
+
export declare function startPartsOf(row: Record<string, unknown>): [StartPart, number][];
|
|
73
|
+
/** The words that make a conversation rework. Whole words, any case. */
|
|
74
|
+
export declare const REWORK_RE: RegExp;
|
|
75
|
+
/** A prompt that OPENS with one of these (and has no rework word) is feature work. */
|
|
76
|
+
export declare const FEATURE_RE: RegExp;
|
|
77
|
+
/** The region pools models; the token-stats card compares one at a time. Said on every pooled reading. */
|
|
78
|
+
export declare const POOLED_MODELS_TEXT = "Every model that ran is pooled in this week's median, so a switch of model moves it as well as an instruction edit does; the Agent readings over time card in the token stats takes one model at a time.";
|
|
79
|
+
export declare const RULES: AgentReadingRules;
|
|
80
|
+
/** The person's own words: pasted blocks, command wrappers and system reminders cut out. */
|
|
81
|
+
export declare function promptWords(text: string): string;
|
|
82
|
+
/** The rule above. `prompt` is the first prompt as written; `title` the conversation's title, if any. */
|
|
83
|
+
export declare function classifyRework(prompt: string | undefined, title: string | undefined): {
|
|
84
|
+
c: ReworkClass;
|
|
85
|
+
word?: string;
|
|
86
|
+
};
|
|
87
|
+
/** The CLI's opening line for a conversation carried over from one that ran out of context. */
|
|
88
|
+
export declare const CONTINUED_RE: RegExp;
|
|
89
|
+
/** ISO week (Monday, host-local day) of an instant. */
|
|
90
|
+
export declare function weekOfMs(ms: number): string | null;
|
|
91
|
+
/** The `count` weeks ending with the one `now` falls in, oldest first. */
|
|
92
|
+
export declare function lastWeeks(now: number, count: number): string[];
|
|
93
|
+
/** A conversation with its agents, resolved: the class each agent's spend goes under. */
|
|
94
|
+
export interface ResolvedConv {
|
|
95
|
+
conv: ConvSummary;
|
|
96
|
+
agents: AgentLogSummary[];
|
|
97
|
+
}
|
|
98
|
+
/** Whether a workflow agent's directory belongs to a review-repair run the parent launched. */
|
|
99
|
+
export declare function inRepairRun(wf: string | undefined, runs: readonly string[] | undefined): boolean;
|
|
100
|
+
/** Extra counts the route reads off other stores (exposure triage, backlog), week → count, or why none. */
|
|
101
|
+
export interface EscapedInputs {
|
|
102
|
+
crash: Record<string, number> | AgentReadingAbsent;
|
|
103
|
+
bugs: Record<string, number> | AgentReadingAbsent;
|
|
104
|
+
/** The token ledger's rows for the repo, by week, or why there are none. */
|
|
105
|
+
spend?: Record<string, RepoSpendWeek> | AgentReadingAbsent;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Fold one repo's conversations into its weekly readings for `weeks`
|
|
109
|
+
* (oldest first). Pure: every number comes from the summaries handed in.
|
|
110
|
+
*/
|
|
111
|
+
export declare function foldAgentWeeks(convs: readonly ResolvedConv[], weeks: readonly string[], escaped: EscapedInputs,
|
|
112
|
+
/** The agent series by week (`seriesOf(points, { grain: "week" })`) — the token-stats card's
|
|
113
|
+
* function too, so the two can never disagree. Omitted = no start/looks/requests readings. */
|
|
114
|
+
series?: readonly SeriesBucket[]): AgentReadingsWeek[];
|
|
115
|
+
/** Count instants into weeks. Undated entries (`NaN`) are dropped. */
|
|
116
|
+
export declare function countByWeek(instants: readonly number[]): Record<string, number>;
|