Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
align @eslint/js with eslint 10 and clear the dead stores it surfaced
[._.]/ Adam Eivy4a26e2df842c
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 1e4e77966d..dbbf562bec 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -168,6 +168,8 @@- **[issue-3365] A pinned browser read now closes its own scratch tab, instead of every call site being expected to remember.** `navigateToUrlPinned` opens a fresh Chrome tab per call and tore it down itself on a refusal, but on success handed the caller a tab the caller was supposed to close — a convention that had already been broken twice, once leaving a tab behind for every catalog URL ingested and once for every Stacker News identity check, each fixed by hand-writing another close at the call site. The function already knows which case it is in: a caller that passes `evaluateExpression` did its DOM read on that same session and wants nothing back, while a caller that omits one wants the tab *as* the deliverable. So teardown now defaults to on exactly when an expression was supplied, the three read call sites no longer close anything, and the browser handoff and `POST /api/browser/navigate` still get their tab. `closeAfterRead: false` remains for a future caller that wants to read and keep the tab.- **[issue-3372] The server suite no longer fails two tests just because it was run from a CoS agent's worktree.** `resolveInstallRoot()` refuses a pinned data root that resolves into `data/cos/worktrees/…`, so worktree-version code can never be talked into reading or writing the live install's data (#1947) — and two tests were quietly leaning on the ambient working directory in a way that tripped exactly that guard. The relative-pin test expected `join(process.cwd(), 'some/rel')`, which inside a claim worktree resolves to a worktree path the resolver correctly refuses; the install-state test asserted that the migration ledger is read from `PATHS.installRoot`, which inside a worktree is itself a worktree path the reader deliberately short-circuits, so the call it asserted never happened. Both now pin the value they depend on — a stubbed cwd and a fixed non-worktree install root — instead of inheriting it from wherever the suite happens to be checked out. The refusal behavior is unchanged and now has a test for the relative-pin case too, and the install-state test asserts its pinned root differs from the code checkout, so it is a real check rather than a tautology on a normal install.- **[issue-3376] A second machine's stale snapshot can no longer undo a requeue and throw away where the retry was supposed to resume.** Federated peers reconcile a task they both hold by lifecycle rank, on the reasoning that a task only ever moves forward — so the higher status is the newer truth. Two paths break that assumption by design: the orphan sweep and the retry-hold release from #3373 both move a task from `in_progress` back to `pending`, and that write is precisely the one that records the branch and worktree a retry should resume from. A peer still holding its pre-requeue view therefore won the merge on rank alone, restoring `in_progress` and discarding the resume pointer with it, so the retry that eventually ran started from an empty tree and redid work that was already committed. The `challenged` status already had an exemption for this shape; `in_progress` versus `pending` now has one too — but a stricter one, because 'whichever side was edited most recently' turned out to be the wrong test. An ordinary edit landing on a peer's stale `pending` copy also carries a newer timestamp, and letting that win would revert a task an agent is actively running and invite a second agent onto it, which is worse than the delayed retry being fixed. So the requeue now stamps itself, and the merge asks whether that requeue happened after the spawn the other side is reporting; every other pairing falls through to the old behavior, including for a peer running a version too old to stamp. Two things the requeue depends on came along with it: the lease that the requeue deliberately releases is no longer re-attached by the separate claim merge — which had been quietly re-imposing it and blocking the retry for a full lease window — while a lease held by the requeued record itself is still honored, since a dispatch takes its lease a moment before it flips the task to running. And two peers looking at the same claim with the same owner and expiry but a different claim time now settle on one of them instead of each keeping its own forever. The wire format is unchanged, so an older peer converges on the next sweep exactly as it does today.+- **`@eslint/js` was a full major behind the ESLint it configures, and catching up surfaced eight dead stores.** The client runs `eslint` 10.8.0 but pinned `@eslint/js` — the package that supplies `js.configs.recommended` — at 9.39.4, whose peer range is `eslint@^9`. The lint run worked, so nothing complained, but the config presets being applied were the v9 set: ESLint 10 promoted `no-useless-assignment` into `recommended`, and PortOS had been running without it. Bumping to 10.0.1 turned on that rule and it found eight real dead stores, each a value written and then overwritten on every path that reaches a read: five `let x = <default>` initializers where both branches assign (a timezone validity flag, a keyboard-scrub target, a parsed session snapshot, a drag span's end, two fetch-result flags), one overflow cluster that is only ever read inside the branch that builds it, and one in the MIDI parser that advances `pos` immediately before `break`ing out of a loop after which `pos` is never read. None changed behavior; all eight are now gone rather than silenced. `@vitejs/plugin-react` (6.0.5) and `@eslint-react/eslint-plugin` (5.18.1) took their patches in the same pass.+- **Dependency audit: clean, and the two deferred override majors were re-checked rather than re-deferred.** `npm audit` reports zero vulnerabilities across all four manifests (root, `server`, `client`, `autofixer`) — the React Router advisory that drove the v8 migration was the last one outstanding. Every other direct dependency is already at its latest published version. The two overrides held back last pass stay held back for a reason that is now recorded instead of re-derived: pm2 declares `js-yaml` at the *exact* version `4.3.0`, so forcing the 5.x major overrides an exact pin rather than a range, and `onnxruntime-web` (via `kokoro-js`) declares `protobufjs@^7.2.4`, which 8.x is outside of by definition. `typescript` 7.0.2 is likewise blocked upstream, not by choice: it exists in this repo only as a peer for `@typescript-eslint`, whose current 8.65.0 declares `typescript >=4.8.4 <6.1.0` — the 6.0.3 pin is already at that ceiling, and 7 becomes available when typescript-eslint ships support for it. `node-pty` stays on `1.2.0-beta.14`, which is ahead of the 1.1.0 stable, not behind it.## Three.js Modelsdiff --git a/client/package-lock.json b/client/package-lock.jsonindex c8a1ad2830..08a1a6622b 100644--- a/client/package-lock.json+++ b/client/package-lock.json@@ -24,13 +24,13 @@"three": "0.185.1"},"devDependencies": {- "@eslint-react/eslint-plugin": "5.18.0",- "@eslint/js": "9.39.4",+ "@eslint-react/eslint-plugin": "5.18.1",+ "@eslint/js": "10.0.1","@tailwindcss/postcss": "4.3.3","@testing-library/jest-dom": "7.0.0","@testing-library/react": "16.3.2","@testing-library/user-event": "14.6.1",- "@vitejs/plugin-react": "6.0.4",+ "@vitejs/plugin-react": "6.0.5","eslint": "10.8.0","eslint-plugin-react-hooks": "7.1.1","jsdom": "30.0.1",@@ -652,9 +652,9 @@}},"node_modules/@eslint-react/ast": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/ast/-/ast-5.18.0.tgz",- "integrity": "sha512-WV7IrRiRlcJeY3UgfhI4kM8BGJCAMsmBImBeqR15Hu1gA7pT2lc7uDbv6Y963bmpJbVQN3krdbqEgXANnOjlaQ==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/ast/-/ast-5.18.1.tgz",+ "integrity": "sha512-6NTpdv+Z6eHT2lc8DkfJZUG6tUvZQkRBlvBpYuoeen+HIvzz59aOt1YEL4dd6FQlXD4DPbCBGXCjcV879hT8Sg==","dev": true,"license": "MIT","dependencies": {@@ -672,16 +672,16 @@}},"node_modules/@eslint-react/core": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/core/-/core-5.18.0.tgz",- "integrity": "sha512-0XTnjY5gNKI6SnSqKdJVX3aRncz4Dzty9G2LYGJsaq01yNMbdTUY0FFadP91pBODjOVlr5PLH2LILMipnrbsTQ==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/core/-/core-5.18.1.tgz",+ "integrity": "sha512-n2avrghmy22iMFJWGXKacyMMvtaFrPqq1Yydd7L1DKmUe/hubjD4Uc1ZKV/F2xRh8dQ0Gp2b5TVv7H/Nq5DxUQ==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/shared": "5.18.0",- "@eslint-react/var": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/shared": "5.18.1",+ "@eslint-react/var": "5.18.1","@typescript-eslint/scope-manager": "^8.65.0","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0",@@ -696,9 +696,9 @@}},"node_modules/@eslint-react/eslint": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/eslint/-/eslint-5.18.0.tgz",- "integrity": "sha512-ypEfKyEccb2hl2KVTzr2a7+U+QF66CiG8VakjnPwTmoXUq16XtDVkhBIJJzbVXv2knl5RZhU98/fAURziZAZVw==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/eslint/-/eslint-5.18.1.tgz",+ "integrity": "sha512-T7AOWRwc1+gBEQUFoGSsBVHmWpsanGWVU52NTmWxij9ZGIlqbG+JC6vpCBa6IzGPKbulCu4B/np2JIydZQM1pQ==","dev": true,"license": "MIT","dependencies": {@@ -713,19 +713,19 @@}},"node_modules/@eslint-react/eslint-plugin": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/eslint-plugin/-/eslint-plugin-5.18.0.tgz",- "integrity": "sha512-El0r5EKDyudriw5kn4SLbaIdjDg+x0X4lNjGgGOT3bRDl5c5Wup2ZvnBQD+XRLcVyQOkpYc3l4lxdvXpJ2J3Kg==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/eslint-plugin/-/eslint-plugin-5.18.1.tgz",+ "integrity": "sha512-BlgYu//MKKnLHhQhh6E6ChSbEYj/a/cuRnyc+akOUtn8qCEqf2Le+/Rcxjfso3ujDjrq5yZt8E28aNOubtE6WA==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/shared": "5.18.0",- "eslint-plugin-react-dom": "5.18.0",- "eslint-plugin-react-jsx": "5.18.0",- "eslint-plugin-react-naming-convention": "5.18.0",- "eslint-plugin-react-rsc": "5.18.0",- "eslint-plugin-react-web-api": "5.18.0",- "eslint-plugin-react-x": "5.18.0"+ "@eslint-react/shared": "5.18.1",+ "eslint-plugin-react-dom": "5.18.1",+ "eslint-plugin-react-jsx": "5.18.1",+ "eslint-plugin-react-naming-convention": "5.18.1",+ "eslint-plugin-react-rsc": "5.18.1",+ "eslint-plugin-react-web-api": "5.18.1",+ "eslint-plugin-react-x": "5.18.1"},"engines": {"node": ">=22.0.0"@@ -736,16 +736,16 @@}},"node_modules/@eslint-react/jsx": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/jsx/-/jsx-5.18.0.tgz",- "integrity": "sha512-9XTmXLzWYV7QCUEQYdQjbW9zrJNNTEgkuNbv8ApngUvttbmWSUFSKmA3MJNojOyjmj0fttCLcItUcCM9ThLOAw==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/jsx/-/jsx-5.18.1.tgz",+ "integrity": "sha512-sT0JQ0yw/prFwtEu0cplzS0fZBpNHL1s7awHrD5xKABpqsVS2wofB52p2TSX2nmuNj011hSUW+xlu58GXYZ/fQ==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/shared": "5.18.0",- "@eslint-react/var": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/shared": "5.18.1",+ "@eslint-react/var": "5.18.1","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0","ts-pattern": "^5.9.0"@@ -759,13 +759,13 @@}},"node_modules/@eslint-react/shared": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/shared/-/shared-5.18.0.tgz",- "integrity": "sha512-EQnptEj1i3byDDLSF7rHPRNmg7OabMMh9LL2B756ou1raaox1YmoqJTvLQvQWZVs1jHuDyR4ByvVeDzJvnUByA==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/shared/-/shared-5.18.1.tgz",+ "integrity": "sha512-sLtaIw5PGVriltlBfDD/wUvF4+K3EDGuFhoUF2HKSIdhf28glyrcf6s2d0HnjFXUjXKcD325MNWL7Cectvs2GA==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/eslint": "5.18.0",+ "@eslint-react/eslint": "5.18.1","@typescript-eslint/utils": "^8.65.0","ts-pattern": "^5.9.0","zod": "^3.25.0 || ^4.0.0"@@ -779,14 +779,14 @@}},"node_modules/@eslint-react/var": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/@eslint-react/var/-/var-5.18.0.tgz",- "integrity": "sha512-klGm2vgw2209YeMdGhiLzP+e/SmbVmCO06+BteC25xTtbd56mUiYb234B0qFEyRbvOh5EpO383npJEzt3EPcGw==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/@eslint-react/var/-/var-5.18.1.tgz",+ "integrity": "sha512-w1OP5/EJ4ocGWSw+nSpZnfehlnAvfVxOrlgx7k+xTHACyoFQZZXrehOYC7M/0ArQA68sOXo0C1ymEfTJE30StQ==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/eslint": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/eslint": "5.18.1","@typescript-eslint/scope-manager": "^8.65.0","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0",@@ -815,22 +815,6 @@"node": "^20.19.0 || ^22.13.0 || >=24"}},- "node_modules/@eslint/config-array/node_modules/minimatch": {- "version": "10.2.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",- "dev": true,- "license": "BlueOak-1.0.0",- "dependencies": {- "brace-expansion": "^5.0.5"- },- "engines": {- "node": "18 || 20 || >=22"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },"node_modules/@eslint/config-helpers": {"version": "0.7.0","resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",@@ -858,16 +842,24 @@}},"node_modules/@eslint/js": {- "version": "9.39.4",- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",- "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",+ "version": "10.0.1",+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz",+ "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==","dev": true,"license": "MIT","engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://eslint.org/donate"+ },+ "peerDependencies": {+ "eslint": "^10.0.0"+ },+ "peerDependenciesMeta": {+ "eslint": {+ "optional": true+ }}},"node_modules/@eslint/object-schema": {@@ -2245,22 +2237,6 @@"typescript": ">=4.8.4 <6.1.0"}},- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {- "version": "10.2.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",- "dev": true,- "license": "BlueOak-1.0.0",- "dependencies": {- "brace-expansion": "^5.0.5"- },- "engines": {- "node": "18 || 20 || >=22"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },"node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {"version": "7.8.5","resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",@@ -2335,9 +2311,9 @@}},"node_modules/@vitejs/plugin-react": {- "version": "6.0.4",- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.4.tgz",- "integrity": "sha512-XcCQz0TBpBgljhj0gMuuDj49i6Ytqh5q1osT/Gp5uAVJUCTWxyskk/l1jwYYiu2xcNHHipdMz40EGfM1VdamVg==",+ "version": "6.0.5",+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.5.tgz",+ "integrity": "sha512-BOVzne/NL162sMdResB25mUv+vWMF5NoAjNf09TeGlE7ZpszZWSD3winycicLJw72yeVsoCn/2kOhEuCvEShMA==","dev": true,"license": "MIT","dependencies": {@@ -3280,16 +3256,16 @@}},"node_modules/eslint-plugin-react-dom": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-dom/-/eslint-plugin-react-dom-5.18.0.tgz",- "integrity": "sha512-Yb4fYRI29zDjUqy8bf+iwJitIJ7JmYXVRZ5eXWGEcq29w3tVATsMSBAjLQPo/OC6JOxUaIdr0xyCUOEbbev45A==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-dom/-/eslint-plugin-react-dom-5.18.1.tgz",+ "integrity": "sha512-0PakQ8iPZ2yq4zi99T28l+NlefxrE/92CpIQ1SbbFT2fqNIjRz1L+ewWIzAsMdyUUjQzcCj8domEJ36y20K8Zw==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/jsx": "5.18.0",- "@eslint-react/shared": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/jsx": "5.18.1",+ "@eslint-react/shared": "5.18.1","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0","compare-versions": "^6.1.1"@@ -3323,17 +3299,17 @@}},"node_modules/eslint-plugin-react-jsx": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-jsx/-/eslint-plugin-react-jsx-5.18.0.tgz",- "integrity": "sha512-+0tz4Z6W2T9apI3Kq6T5w4CQSoAL7d2gmHkgCCoB1TAm7Ag4nZEPN97YCbi+LuckCrh+BQDbpUCA7AnoyLynEg==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-jsx/-/eslint-plugin-react-jsx-5.18.1.tgz",+ "integrity": "sha512-bT8/pcYwp1Anyjnvjqz1jRJBGdo4ydXlR6hciyQUiHzOxAWpIOP61ggAVgbA9JU3qOr4/hldMpGZHdJP5pqfgw==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/core": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/jsx": "5.18.0",- "@eslint-react/shared": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/core": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/jsx": "5.18.1",+ "@eslint-react/shared": "5.18.1","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0"},@@ -3346,17 +3322,17 @@}},"node_modules/eslint-plugin-react-naming-convention": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-naming-convention/-/eslint-plugin-react-naming-convention-5.18.0.tgz",- "integrity": "sha512-Bw9u8u3i4f+NKuesWjBdLJ3FFAe8i6lVr6Ih6K50AFd+3iL6bt+1SlAaI13rv2JB0yXevT7zuMI4NapKwj4qmw==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-naming-convention/-/eslint-plugin-react-naming-convention-5.18.1.tgz",+ "integrity": "sha512-fN6U+Q5QOZ7ZJlTn7XsKB0NvRx0qDp+7tV2Zht3nhtKQ2tl4cxFz8QV78l++FqMtBtCNfxTiInuo5u5Xt8Ymjw==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/core": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/shared": "5.18.0",- "@eslint-react/var": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/core": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/shared": "5.18.1",+ "@eslint-react/var": "5.18.1","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0","ts-pattern": "^5.9.0"@@ -3370,17 +3346,17 @@}},"node_modules/eslint-plugin-react-rsc": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-rsc/-/eslint-plugin-react-rsc-5.18.0.tgz",- "integrity": "sha512-Lsb5g8Hb8UjCUiXzKKd60sp7gDCEVjtb4yq7Z0WzKcZQsEsTo7MjbEYzvR1otkVHGN8kJe9DmYKbd+4BnNGEvQ==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-rsc/-/eslint-plugin-react-rsc-5.18.1.tgz",+ "integrity": "sha512-s792p16e8YNhGA3vgIseDxdrwTuNb+gHn0Gau5PsTZ42d8Zuvi3ZJWLfkAZfvMfblaDev6tSAv2fZzWB0brEIg==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/core": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/shared": "5.18.0",- "@eslint-react/var": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/core": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/shared": "5.18.1",+ "@eslint-react/var": "5.18.1","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0"},@@ -3393,17 +3369,17 @@}},"node_modules/eslint-plugin-react-web-api": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-web-api/-/eslint-plugin-react-web-api-5.18.0.tgz",- "integrity": "sha512-b3ozdXQVxd9+t/7JQcW0TETbX9XzhImFk+hJ/6WIwY9bkgp0fGShu5HX1dVUBOe/WBApYC2hjkq2olHrBz0d9w==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-web-api/-/eslint-plugin-react-web-api-5.18.1.tgz",+ "integrity": "sha512-Az8kJEM2Bk8PhJR3UBLWBVZkir/2l+qX545PTi8Kx3JdDlK6IlU1vz69/B5tJ/YXo6cJKP3bKTqaAzcT5ikl8g==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/core": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/shared": "5.18.0",- "@eslint-react/var": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/core": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/shared": "5.18.1",+ "@eslint-react/var": "5.18.1","@typescript-eslint/types": "^8.65.0","@typescript-eslint/utils": "^8.65.0","birecord": "^0.1.2",@@ -3418,18 +3394,18 @@}},"node_modules/eslint-plugin-react-x": {- "version": "5.18.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-x/-/eslint-plugin-react-x-5.18.0.tgz",- "integrity": "sha512-Qe1weZELW10yi524DfpsUGDmL9f3Xyife9ldm4kzdaP874O0jxluRgQF5p+Ov4TVb7rshN9xSZTDc77b0o9IZA==",+ "version": "5.18.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-x/-/eslint-plugin-react-x-5.18.1.tgz",+ "integrity": "sha512-i0a17vUMoMhiHjcXz4IYfO42Br6xQkbu+PqVftUHM49i1bbYD+22GFMgNmKkLCMNKXZSQhocKvIKUwhMIbFTQg==","dev": true,"license": "MIT","dependencies": {- "@eslint-react/ast": "5.18.0",- "@eslint-react/core": "5.18.0",- "@eslint-react/eslint": "5.18.0",- "@eslint-react/jsx": "5.18.0",- "@eslint-react/shared": "5.18.0",- "@eslint-react/var": "5.18.0",+ "@eslint-react/ast": "5.18.1",+ "@eslint-react/core": "5.18.1",+ "@eslint-react/eslint": "5.18.1",+ "@eslint-react/jsx": "5.18.1",+ "@eslint-react/shared": "5.18.1",+ "@eslint-react/var": "5.18.1","@typescript-eslint/scope-manager": "^8.65.0","@typescript-eslint/type-utils": "^8.65.0","@typescript-eslint/types": "^8.65.0",@@ -3480,22 +3456,6 @@"url": "https://opencollective.com/eslint"}},- "node_modules/eslint/node_modules/minimatch": {- "version": "10.2.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",- "dev": true,- "license": "BlueOak-1.0.0",- "dependencies": {- "brace-expansion": "^5.0.5"- },- "engines": {- "node": "18 || 20 || >=22"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },"node_modules/espree": {"version": "11.2.0","resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz",@@ -4519,6 +4479,22 @@"node": ">=4"}},+ "node_modules/minimatch": {+ "version": "10.2.6",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",+ "dev": true,+ "license": "BlueOak-1.0.0",+ "dependencies": {+ "brace-expansion": "^5.0.8"+ },+ "engines": {+ "node": "18 || 20 || >=22"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },"node_modules/ms": {"version": "2.1.3","resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",diff --git a/client/package.json b/client/package.jsonindex a739656b2a..51737cbf84 100644--- a/client/package.json+++ b/client/package.json@@ -30,13 +30,13 @@"three": "0.185.1"},"devDependencies": {- "@eslint/js": "9.39.4",+ "@eslint/js": "10.0.1","@tailwindcss/postcss": "4.3.3","@testing-library/jest-dom": "7.0.0","@testing-library/react": "16.3.2","@testing-library/user-event": "14.6.1",- "@vitejs/plugin-react": "6.0.4",- "@eslint-react/eslint-plugin": "5.18.0",+ "@vitejs/plugin-react": "6.0.5",+ "@eslint-react/eslint-plugin": "5.18.1","eslint": "10.8.0","eslint-plugin-react-hooks": "7.1.1","jsdom": "30.0.1",diff --git a/client/src/components/settings/GeneralTab.jsx b/client/src/components/settings/GeneralTab.jsxindex 040a7b306d..04cae0f239 100644--- a/client/src/components/settings/GeneralTab.jsx+++ b/client/src/components/settings/GeneralTab.jsx@@ -77,7 +77,7 @@ export function GeneralTab() {}// Validate timezone string- let isValid = false;+ let isValid;if (allTimezones.length > 0) {isValid = allTimezones.includes(tzToSave);} else {diff --git a/client/src/components/songs/ReferenceAnalysis.jsx b/client/src/components/songs/ReferenceAnalysis.jsxindex 72e12258bd..8e61876374 100644--- a/client/src/components/songs/ReferenceAnalysis.jsx+++ b/client/src/components/songs/ReferenceAnalysis.jsx@@ -381,7 +381,7 @@ function Waveform({ samples, durationMs, segments, playheadMs, onSeek }) {if (!interactive) return;const cur = Math.min(durationMs, Math.max(0, playheadMs ?? 0));const bigStep = e.shiftKey;- let next = null;+ let next;switch (e.key) {case 'ArrowLeft':case 'ArrowDown':diff --git a/client/src/hooks/usePostSession.js b/client/src/hooks/usePostSession.jsindex 769c07263a..7ab1fc120f 100644--- a/client/src/hooks/usePostSession.js+++ b/client/src/hooks/usePostSession.js@@ -26,7 +26,7 @@ function loadRunSnapshot() {if (typeof sessionStorage === 'undefined') return null;const raw = sessionStorage.getItem(RUN_STORAGE_KEY);if (!raw) return null;- let snap = null;+ let snap;try { snap = JSON.parse(raw); } catch { return null; } // corrupt storage → start freshif (!snap || typeof snap !== 'object') return null;if (snap.state === 'saving') {diff --git a/client/src/lib/beatGrid.js b/client/src/lib/beatGrid.jsindex e08caab0fa..6dd856c2c5 100644--- a/client/src/lib/beatGrid.js+++ b/client/src/lib/beatGrid.js@@ -246,7 +246,7 @@ export function autoArrangeScenes(scenes, audioAnalysis, { minSceneSec = DEFAULT// from `inSec: 0`).export function computeDragSpan({ kind, startSpan, deltaSec, gridPoints, toleranceSec = DEFAULT_TOLERANCE_SEC, minSceneSec = MIN_SCENE_SEC }) {let nextStart = startSpan.startSec;- let nextEnd = startSpan.endSec;+ let nextEnd;if (kind === 'move') {const duration = startSpan.endSec - startSpan.startSec;nextStart = Math.max(0, startSpan.startSec + deltaSec);diff --git a/client/src/lib/clientErrorReporter.js b/client/src/lib/clientErrorReporter.jsindex 96da76170c..e099107cbf 100644--- a/client/src/lib/clientErrorReporter.js+++ b/client/src/lib/clientErrorReporter.js@@ -192,7 +192,7 @@ export async function reportClientError(input) {// test globals, CSP-blocked requests that throw before returning a// promise); without it the `.then().catch()` chain is never attached and// the rejection escapes.- let ok = false;+ let ok;try {ok = await fetch(ENDPOINT, {method: 'POST',diff --git a/client/src/lib/midiNotes.js b/client/src/lib/midiNotes.jsindex a3a55453e8..4568d097f1 100644--- a/client/src/lib/midiNotes.js+++ b/client/src/lib/midiNotes.js@@ -79,8 +79,7 @@ const parseTrackEvents = (view, start, end) => {} else if (metaType === 0x03 && len.value > 0) {events.push({ tick, type: 'name', name: decodeText(view, dataPos, len.value) });} else if (metaType === 0x2f) {- pos = dataPos + len.value;- break; // End of Track+ break; // End of Track — `pos` is not read after the loop, so don't bother advancing it}pos = dataPos + len.value;runningStatus = 0; // meta/sysex cancel running statusdiff --git a/client/src/test/storagePolyfill.js b/client/src/test/storagePolyfill.jsindex 373ef2cbfe..885dac27c1 100644--- a/client/src/test/storagePolyfill.js+++ b/client/src/test/storagePolyfill.js@@ -39,7 +39,7 @@ export const storageWorks = (candidate) => {const probe = '__portos_storage_probe__';// A throwing setItem (e.g. a Storage stubbed to simulate quota/private mode) means// "not usable as a baseline" — fall back to the in-memory shim.- let ok = false;+ let ok;try {candidate.setItem(probe, '1');ok = candidate.getItem(probe) === '1';diff --git a/client/src/utils/cityMemoryDistrict.js b/client/src/utils/cityMemoryDistrict.jsindex 521d28f36e..0e73fc42d4 100644--- a/client/src/utils/cityMemoryDistrict.js+++ b/client/src/utils/cityMemoryDistrict.js@@ -131,17 +131,15 @@ export function computeMemoryDistrict(graph, opts = {}) {// Fold the long tail of small categories into one "+N more" overflow cluster so the district// stays readable; its mass is the sum of what it absorbs.let clustersData = grouped;- let overflow = null;if (grouped.length > maxClusters) {- clustersData = grouped.slice(0, maxClusters - 1);const rest = grouped.slice(maxClusters - 1);- overflow = {+ const overflow = {category: 'other',count: rest.reduce((s, c) => s + c.count, 0),importance: rest.reduce((s, c) => s + c.importance, 0),overflowOf: rest.length,};- clustersData = [...clustersData, overflow];+ clustersData = [...grouped.slice(0, maxClusters - 1), overflow];}const total = clustersData.length;