waterplane 0.1.22 → 0.1.25
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 +39 -0
- package/SECURITY.md +1 -1
- 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.js +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 +2 -0
- package/node_modules/@waterplane/shared/dist/index.js +2 -0
- package/node_modules/@waterplane/shared/dist/index.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/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/wire/agentreadings.d.ts +104 -0
- package/node_modules/@waterplane/shared/dist/wire/agentreadings.js +7 -0
- package/node_modules/@waterplane/shared/dist/wire/agentreadings.js.map +1 -0
- 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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/packages/extensions/android-apps/waterplane-plugin.json +4 -1
- package/packages/extensions/copilot-usage/waterplane-plugin.json +7 -2
- package/packages/extensions/desktop/waterplane-plugin.json +5 -0
- package/packages/extensions/ocr/waterplane-plugin.json +5 -1
- package/packages/extensions/requirements/waterplane-plugin.json +3 -3
- package/packages/extensions/scorecard/waterplane-plugin.json +2 -1
- package/packages/extensions/token-stats/waterplane-plugin.json +4 -3
- package/packages/host/dist/agentclass.d.ts +105 -0
- package/packages/host/dist/agentclass.js +189 -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/agentreadings.d.ts +40 -0
- package/packages/host/dist/agentreadings.js +254 -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 +329 -0
- package/packages/host/dist/agentscan.js.map +1 -0
- package/packages/host/dist/backends/index.js +12 -1
- package/packages/host/dist/backends/index.js.map +1 -1
- package/packages/host/dist/binguard.d.ts +13 -1
- package/packages/host/dist/binguard.js +28 -2
- package/packages/host/dist/binguard.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/plugins/pluginassets.d.ts +17 -0
- package/packages/host/dist/plugins/pluginassets.js +27 -1
- package/packages/host/dist/plugins/pluginassets.js.map +1 -1
- package/packages/host/dist/plugins/pluginregistry.d.ts +3 -1
- package/packages/host/dist/plugins/pluginregistry.js +8 -1
- package/packages/host/dist/plugins/pluginregistry.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/apirepowork.js +13 -0
- package/packages/host/dist/routes/apirepowork.js.map +1 -1
- package/packages/host/dist/routes/apisystem.js +17 -1
- package/packages/host/dist/routes/apisystem.js.map +1 -1
- package/packages/host/dist/routes/apitable.d.ts +4 -0
- package/packages/host/dist/routes/apitable.js.map +1 -1
- package/packages/host/dist/server/http.js +2 -1
- package/packages/host/dist/server/http.js.map +1 -1
- package/packages/host/dist/server/intentDeps.js +14 -1
- package/packages/host/dist/server/intentDeps.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/weekburn.js +7 -5
- package/packages/host/dist/weekburn.js.map +1 -1
- package/packages/web/dist/assets/demo-mKJo0QVO.js +26 -0
- package/packages/web/dist/assets/index-B6f7Lcp1.js +170 -0
- package/packages/web/dist/assets/index-DQIK94fc.css +1 -0
- package/packages/web/dist/assets/shared-Cd69oxHd.js +51 -0
- package/packages/web/dist/assets/sheets-BImsk1_Y.js +256 -0
- package/packages/web/dist/build-id.txt +1 -1
- package/packages/web/dist/buildstamp.json +1 -1
- package/packages/web/dist/index.html +5 -5
- package/packages/web/dist/sw.js +2 -2
- package/release.json +3 -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-BllRvpkw.js +0 -170
- package/packages/web/dist/assets/index-DUiYLEts.css +0 -1
- package/packages/web/dist/assets/shared-DBaaGttP.js +0 -51
- package/packages/web/dist/assets/sheets-CrfRr6Um.js +0 -256
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
badec0cb56e5950b
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.1.
|
|
1
|
+
{"version":"0.1.25","sha":"adaa4c3","at":1794335589064}
|
|
@@ -65,18 +65,18 @@
|
|
|
65
65
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icon-192.png" />
|
|
66
66
|
<link rel="apple-touch-icon" href="/assets/apple-touch-icon.png" />
|
|
67
67
|
<title>waterplane</title>
|
|
68
|
-
<script type="module" crossorigin src="/assets/index-
|
|
69
|
-
<link rel="modulepreload" crossorigin href="/assets/shared-
|
|
70
|
-
<link rel="modulepreload" crossorigin href="/assets/demo-
|
|
68
|
+
<script type="module" crossorigin src="/assets/index-B6f7Lcp1.js"></script>
|
|
69
|
+
<link rel="modulepreload" crossorigin href="/assets/shared-Cd69oxHd.js">
|
|
70
|
+
<link rel="modulepreload" crossorigin href="/assets/demo-mKJo0QVO.js">
|
|
71
71
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-4tVxZq34.js">
|
|
72
72
|
<link rel="modulepreload" crossorigin href="/assets/react-CjmvHigY.js">
|
|
73
73
|
<link rel="modulepreload" crossorigin href="/assets/icons-D8RlmSLR.js">
|
|
74
74
|
<link rel="modulepreload" crossorigin href="/assets/vendor-BPwPmufs.js">
|
|
75
|
-
<link rel="modulepreload" crossorigin href="/assets/sheets-
|
|
75
|
+
<link rel="modulepreload" crossorigin href="/assets/sheets-BImsk1_Y.js">
|
|
76
76
|
<link rel="modulepreload" crossorigin href="/assets/xterm-BHsKrDzh.js">
|
|
77
77
|
<link rel="stylesheet" crossorigin href="/assets/sheets-DoUhPGK0.css">
|
|
78
78
|
<link rel="stylesheet" crossorigin href="/assets/xterm-BrP-ENHg.css">
|
|
79
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
79
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DQIK94fc.css">
|
|
80
80
|
</head>
|
|
81
81
|
<body>
|
|
82
82
|
<div id="root"></div>
|
package/packages/web/dist/sw.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// over Tailscale to a possibly-asleep host, could take seconds).
|
|
6
6
|
//
|
|
7
7
|
// Freshness comes from the build, NOT from network-first: SHELL is versioned per
|
|
8
|
-
// build (
|
|
8
|
+
// build (badec0cb56e5950b is replaced at build time, see vite.config.ts). A new build
|
|
9
9
|
// → a new cache name → old caches purged on activate → a new SW that, on taking
|
|
10
10
|
// control, reloads the page (see main.tsx). So within one build generation the
|
|
11
11
|
// cached index.html and the hashed assets it references are always a consistent
|
|
@@ -21,7 +21,7 @@ const BRAND_NAME = "waterplane";
|
|
|
21
21
|
/** Every older brand's slug, newest first — only so its pulls cache survives
|
|
22
22
|
* the purge until the page has copied it (web/src/boot/brandMigrate.ts). */
|
|
23
23
|
const LEGACY_SLUGS = "usmc".split(",").filter(Boolean);
|
|
24
|
-
const SHELL = `${BRAND_SLUG}-shell-
|
|
24
|
+
const SHELL = `${BRAND_SLUG}-shell-badec0cb56e5950b`;
|
|
25
25
|
|
|
26
26
|
// Image thumbnails, cached across builds. The name is deliberately NOT
|
|
27
27
|
// build-hashed: a deploy changes the app bundle, not the pictures, and wiping
|
package/release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "waterplane",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"commit": "
|
|
5
|
-
"builtAt": "2026-11-
|
|
3
|
+
"version": "0.1.25",
|
|
4
|
+
"commit": "adaa4c374107d6f781e3daa53d4eb75080c7d063",
|
|
5
|
+
"builtAt": "2026-11-10T18:33:09.353Z",
|
|
6
6
|
"node": "24.22.1",
|
|
7
7
|
"protocolVersion": 2,
|
|
8
8
|
"builtins": {
|
|
@@ -149,8 +149,22 @@
|
|
|
149
149
|
* `graphImports`, which resolves `tsconfig` aliases and workspace packages).
|
|
150
150
|
* No existing field moves, but rows written before it carry no `graph`, so a
|
|
151
151
|
* series on disk is re-measured, never continued.
|
|
152
|
+
*
|
|
153
|
+
* `2026-11-09a` adds two row families, `habits` (fix-after-change, deletion
|
|
154
|
+
* ratio, net-negative commits, tests changed with code, commit size, hotspots;
|
|
155
|
+
* `metrics/habits.mjs`) and `workspace` (tracked litter and docs drift, read at
|
|
156
|
+
* the newest commit only; `metrics/workspace.mjs`), plus `untested` passing the
|
|
157
|
+
* pack's graph context to `imports()`. The pack halves move with it: `dart@2`
|
|
158
|
+
* (graph, test reach, clones, dead exports) and `python@4` (analyzer, graph).
|
|
159
|
+
* One bump for all of them, so a series on disk is re-measured once.
|
|
160
|
+
*
|
|
161
|
+
* `2026-11-09b` adds the row family `native` (`metrics/native.mjs`): what the
|
|
162
|
+
* repo's own installed tools say at the newest commit only — vulnerable
|
|
163
|
+
* dependencies, analyzer findings per 1,000 lines, type-strictness facts and
|
|
164
|
+
* coverage files already on disk. Older rows hold its "newest commit only"
|
|
165
|
+
* reason. No existing field moves.
|
|
152
166
|
*/
|
|
153
|
-
export const PREREG_VERSION = "2026-
|
|
167
|
+
export const PREREG_VERSION = "2026-11-09b";
|
|
154
168
|
|
|
155
169
|
export const PREREG = Object.freeze({
|
|
156
170
|
// ── what counts as source ────────────────────────────────────────────────
|
|
@@ -272,6 +286,25 @@ export const PREREG = Object.freeze({
|
|
|
272
286
|
* bursts and a quarter-long window averages them away.
|
|
273
287
|
*/
|
|
274
288
|
COCHANGE_WINDOW_DAYS: 14,
|
|
289
|
+
|
|
290
|
+
// ── universal git readings (`metrics/habits.mjs`, `metrics/workspace.mjs`) ─
|
|
291
|
+
/**
|
|
292
|
+
* The trailing window every habit reading is taken over. Four weeks, not
|
|
293
|
+
* the two the re-touch window uses: these are RATES OF COMMITS (a fix
|
|
294
|
+
* share, a test share, a net-negative share) and a fortnight in this
|
|
295
|
+
* repo's bursts can hold under ten commits. Pinned before any value was
|
|
296
|
+
* seen; a thin window is carried by its denominator, as `retouch` does,
|
|
297
|
+
* never cut by a threshold.
|
|
298
|
+
*/
|
|
299
|
+
HABITS_WINDOW_DAYS: 28,
|
|
300
|
+
/** A fix counts as "after a change" when a DIFFERENT commit changed one of
|
|
301
|
+
* its files within this many days before it. */
|
|
302
|
+
FIX_AFTER_DAYS: 7,
|
|
303
|
+
/** Entries named in the hotspot, litter and docs-drift lists. */
|
|
304
|
+
HABITS_LIST_N: 10,
|
|
305
|
+
/** The docs-drift reading reads every markdown blob at HEAD; past this
|
|
306
|
+
* many it is absent with that reason rather than slow. */
|
|
307
|
+
DOCS_MAX_FILES: 3000,
|
|
275
308
|
/**
|
|
276
309
|
* Co-change is counted within one SOURCE GROUP. A commit that touches
|
|
277
310
|
* shared and web together is the build order of a monorepo, not evidence
|