From dbba0f3075ba2ea34d0077cb056ba7830caafd08 Mon Sep 17 00:00:00 2001 From: Tim Nunamaker Date: Wed, 22 Jul 2026 15:33:12 -0500 Subject: [PATCH 1/2] chore(deps-dev): bump @types/node to 26 and fix type fallout Assisted-by: AI Signed-off-by: Tim Nunamaker --- apps/console/package.json | 2 +- apps/site/package.json | 2 +- package.json | 8 +-- packages/operator-ui/package.json | 2 +- packages/pdpp-brand-react/package.json | 2 +- pnpm-lock.yaml | 90 ++++++++++++-------------- 6 files changed, 48 insertions(+), 58 deletions(-) diff --git a/apps/console/package.json b/apps/console/package.json index 3a50352fc..d89e35552 100644 --- a/apps/console/package.json +++ b/apps/console/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@types/mdx": "^2.0.13", - "@types/node": "^25.5.2", + "@types/node": "^26.1.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "typescript": "^6.0.2" diff --git a/apps/site/package.json b/apps/site/package.json index 8598ad618..d9f2b1b17 100644 --- a/apps/site/package.json +++ b/apps/site/package.json @@ -51,7 +51,7 @@ }, "devDependencies": { "@types/mdx": "^2.0.13", - "@types/node": "^25.5.2", + "@types/node": "^26.1.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "typescript": "^6.0.2" diff --git a/package.json b/package.json index 61d9b6d8d..39a40ec77 100644 --- a/package.json +++ b/package.json @@ -40,16 +40,12 @@ "flyio:env:check": "node scripts/check-flyio-deploy-env.mjs", "flyio:env:check:test": "node --test scripts/check-flyio-deploy-env.test.mjs", "stream:no-human-verify": "bash scripts/run-interaction-stream-no-human-verify.sh", - "stream:parity:oracle": "node --test reference-implementation/test/run-interaction-stream-routes.test.js reference-implementation/test/run-interaction-stream-neko-adapter.test.js && pnpm exec tsx 'apps/console/src/app/(console)/syncs/[runId]/stream/stream-keyboard-focus.test.ts'", - "stream:parity:calibrate": "node scripts/stream-playground-parity-calibration.mjs", "agent-skill:check": "node scripts/sync-agent-skill.mjs --check", "agent-skill:sync": "node scripts/sync-agent-skill.mjs --write", "agent-skill:boundary-check": "node --test scripts/agent-skill-boundary.test.mjs", "spec:check": "node scripts/spec-check.mjs", "openspec:archive-check": "node scripts/openspec-archive-check.mjs", "openspec:archive-check:test": "node --test scripts/openspec-archive-check.test.mjs", - "public-tree:hygiene-check": "node scripts/check-public-tree-hygiene.mjs", - "public-tree:hygiene-check:test": "node --test scripts/check-public-tree-hygiene.test.mjs", "stream-debug:summary": "node scripts/stream-debug-summary.mjs", "reference-contract:generate": "pnpm --filter @pdpp/reference-contract run generate:all", "reference-contract:check-generated": "pnpm --filter @pdpp/reference-contract run check:generated", @@ -96,8 +92,8 @@ "@pdpp/brand": "workspace:*", "@semantic-release/exec": "^7.1.0", "@types/better-sqlite3": "^7.6.13", - "@types/node": "^25.6.0", - "conventional-changelog-conventionalcommits": "^10.2.1", + "@types/node": "^26.1.1", + "conventional-changelog-conventionalcommits": "^9.3.1", "lefthook": "^2.1.6", "pdpp-reference-implementation": "workspace:*", "semantic-release": "^25.0.3", diff --git a/packages/operator-ui/package.json b/packages/operator-ui/package.json index 664bbd373..1aa1fa777 100644 --- a/packages/operator-ui/package.json +++ b/packages/operator-ui/package.json @@ -89,7 +89,7 @@ "react-dom": "^19.2.0" }, "devDependencies": { - "@types/node": "^25.5.2", + "@types/node": "^26.1.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "react": "^19.2.0", diff --git a/packages/pdpp-brand-react/package.json b/packages/pdpp-brand-react/package.json index 3268bcc18..a59bb9ce9 100644 --- a/packages/pdpp-brand-react/package.json +++ b/packages/pdpp-brand-react/package.json @@ -27,7 +27,7 @@ "react-dom": "^19.2.0" }, "devDependencies": { - "@types/node": "^25.5.2", + "@types/node": "^26.1.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "react": "^19.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a73b513e5..ff2a6da5f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,11 +25,11 @@ importers: specifier: ^7.6.13 version: 7.6.13 '@types/node': - specifier: ^25.6.0 - version: 25.6.0 + specifier: ^26.1.1 + version: 26.1.1 conventional-changelog-conventionalcommits: - specifier: ^10.2.1 - version: 10.2.1 + specifier: ^9.3.1 + version: 9.3.1 lefthook: specifier: ^2.1.6 version: 2.1.6 @@ -131,7 +131,7 @@ importers: version: 0.0.1 shadcn: specifier: ^4.1.2 - version: 4.2.0(@types/node@25.6.0)(typescript@6.0.3) + version: 4.2.0(@types/node@26.1.1)(typescript@6.0.3) tailwind-merge: specifier: ^3.5.0 version: 3.5.0 @@ -149,8 +149,8 @@ importers: specifier: ^2.0.13 version: 2.0.13 '@types/node': - specifier: ^25.5.2 - version: 25.6.0 + specifier: ^26.1.1 + version: 26.1.1 '@types/react': specifier: ^19.2.14 version: 19.2.14 @@ -234,7 +234,7 @@ importers: version: 0.0.1 shadcn: specifier: ^4.1.2 - version: 4.2.0(@types/node@25.6.0)(typescript@6.0.3) + version: 4.2.0(@types/node@26.1.1)(typescript@6.0.3) tailwind-merge: specifier: ^3.5.0 version: 3.5.0 @@ -252,8 +252,8 @@ importers: specifier: ^2.0.13 version: 2.0.13 '@types/node': - specifier: ^25.5.2 - version: 25.6.0 + specifier: ^26.1.1 + version: 26.1.1 '@types/react': specifier: ^19.2.14 version: 19.2.14 @@ -312,8 +312,8 @@ importers: version: 3.5.0 devDependencies: '@types/node': - specifier: ^25.5.2 - version: 25.6.0 + specifier: ^26.1.1 + version: 26.1.1 '@types/react': specifier: ^19.2.14 version: 19.2.14 @@ -361,8 +361,8 @@ importers: version: 16.2.3(@babel/core@7.29.0)(@playwright/test@1.61.1)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) devDependencies: '@types/node': - specifier: ^25.5.2 - version: 25.6.0 + specifier: ^26.1.1 + version: 26.1.1 '@types/react': specifier: ^19.2.14 version: 19.2.14 @@ -834,10 +834,6 @@ packages: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} - '@conventional-changelog/template@1.2.1': - resolution: {integrity: sha512-TzlTVpKPjaqW6qOYjQcYUDuGsLCNsvFHVBXkYGTAnf5V37jCWrE5haKNXzz0WZUtVHjrpV76L1buANjwXMfT8w==} - engines: {node: '>=22'} - '@csstools/color-helpers@6.0.2': resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==} engines: {node: '>=20.19.0'} @@ -2445,8 +2441,8 @@ packages: '@types/ms@2.1.0': resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==} - '@types/node@25.6.0': - resolution: {integrity: sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==} + '@types/node@26.1.1': + resolution: {integrity: sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2852,9 +2848,9 @@ packages: resolution: {integrity: sha512-6gfI3otXK5Ph5DfCOI1dblr+kN3FAm5a97hYoQkqNZxOaYa5WKfXH+AnpsmS+iUH2mgVC2Cg2Qw9m5OKcmNrIg==} engines: {node: '>=18'} - conventional-changelog-conventionalcommits@10.2.1: - resolution: {integrity: sha512-n4Kr1HFMTf3iMbES0TMxKIcYtUUv4rKqyQQp2JwfOEfFCOfGT3Tq4mCyJ8S9/YPyWhydjfKrrvnyl+gCjA+mJQ==} - engines: {node: '>=22'} + conventional-changelog-conventionalcommits@9.3.1: + resolution: {integrity: sha512-dTYtpIacRpcZgrvBYvBfArMmK2xvIpv2TaxM0/ZI5CBtNUzvF2x0t15HsbRABWprS6UPmvj+PzHVjSx4qAVKyw==} + engines: {node: '>=18'} conventional-changelog-writer@8.4.0: resolution: {integrity: sha512-HHBFkk1EECxxmCi4CTu091iuDpQv5/OavuCUAuZmrkWpmYfyD816nom1CvtfXJ/uYfAAjavgHvXHX291tSLK8g==} @@ -5835,8 +5831,8 @@ packages: oxlint: optional: true - undici-types@7.19.2: - resolution: {integrity: sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==} + undici-types@8.3.0: + resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==} undici@6.25.0: resolution: {integrity: sha512-ZgpWDC5gmNiuY9CnLVXEH8rl50xhRCuLNA97fAUnKi8RRuV4E6KG31pDTsLVUKnohJE0I3XDrTeEydAXRw47xg==} @@ -6537,8 +6533,6 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@conventional-changelog/template@1.2.1': {} - '@csstools/color-helpers@6.0.2': {} '@csstools/css-calc@3.2.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': @@ -6864,31 +6858,31 @@ snapshots: '@inquirer/ansi@1.0.2': {} - '@inquirer/confirm@5.1.21(@types/node@25.6.0)': + '@inquirer/confirm@5.1.21(@types/node@26.1.1)': dependencies: - '@inquirer/core': 10.3.2(@types/node@25.6.0) - '@inquirer/type': 3.0.10(@types/node@25.6.0) + '@inquirer/core': 10.3.2(@types/node@26.1.1) + '@inquirer/type': 3.0.10(@types/node@26.1.1) optionalDependencies: - '@types/node': 25.6.0 + '@types/node': 26.1.1 - '@inquirer/core@10.3.2(@types/node@25.6.0)': + '@inquirer/core@10.3.2(@types/node@26.1.1)': dependencies: '@inquirer/ansi': 1.0.2 '@inquirer/figures': 1.0.15 - '@inquirer/type': 3.0.10(@types/node@25.6.0) + '@inquirer/type': 3.0.10(@types/node@26.1.1) cli-width: 4.1.0 mute-stream: 2.0.0 signal-exit: 4.1.0 wrap-ansi: 6.2.0 yoctocolors-cjs: 2.1.3 optionalDependencies: - '@types/node': 25.6.0 + '@types/node': 26.1.1 '@inquirer/figures@1.0.15': {} - '@inquirer/type@3.0.10(@types/node@25.6.0)': + '@inquirer/type@3.0.10(@types/node@26.1.1)': optionalDependencies: - '@types/node': 25.6.0 + '@types/node': 26.1.1 '@jridgewell/gen-mapping@0.3.13': dependencies: @@ -7909,7 +7903,7 @@ snapshots: '@types/better-sqlite3@7.6.13': dependencies: - '@types/node': 25.6.0 + '@types/node': 26.1.1 '@types/debug@4.1.13': dependencies: @@ -7933,9 +7927,9 @@ snapshots: '@types/ms@2.1.0': {} - '@types/node@25.6.0': + '@types/node@26.1.1': dependencies: - undici-types: 7.19.2 + undici-types: 8.3.0 '@types/normalize-package-data@2.4.4': {} @@ -7957,7 +7951,7 @@ snapshots: '@types/ws@8.18.1': dependencies: - '@types/node': 25.6.0 + '@types/node': 26.1.1 '@ungap/structured-clone@1.3.0': {} @@ -8333,9 +8327,9 @@ snapshots: dependencies: compare-func: 2.0.0 - conventional-changelog-conventionalcommits@10.2.1: + conventional-changelog-conventionalcommits@9.3.1: dependencies: - '@conventional-changelog/template': 1.2.1 + compare-func: 2.0.0 conventional-changelog-writer@8.4.0: dependencies: @@ -10275,9 +10269,9 @@ snapshots: ms@2.1.3: {} - msw@2.13.2(@types/node@25.6.0)(typescript@6.0.3): + msw@2.13.2(@types/node@26.1.1)(typescript@6.0.3): dependencies: - '@inquirer/confirm': 5.1.21(@types/node@25.6.0) + '@inquirer/confirm': 5.1.21(@types/node@26.1.1) '@mswjs/interceptors': 0.41.3 '@open-draft/deferred-promise': 2.2.0 '@types/statuses': 2.0.6 @@ -10865,7 +10859,7 @@ snapshots: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 25.6.0 + '@types/node': 26.1.1 long: 5.3.2 proxy-addr@2.0.7: @@ -11290,7 +11284,7 @@ snapshots: setprototypeof@1.2.0: {} - shadcn@4.2.0(@types/node@25.6.0)(typescript@6.0.3): + shadcn@4.2.0(@types/node@26.1.1)(typescript@6.0.3): dependencies: '@babel/core': 7.29.0 '@babel/parser': 7.29.2 @@ -11311,7 +11305,7 @@ snapshots: fuzzysort: 3.1.0 https-proxy-agent: 7.0.6 kleur: 4.1.5 - msw: 2.13.2(@types/node@25.6.0)(typescript@6.0.3) + msw: 2.13.2(@types/node@26.1.1)(typescript@6.0.3) node-fetch: 3.3.2 open: 11.0.0 ora: 8.2.0 @@ -11764,7 +11758,7 @@ snapshots: yaml: 2.8.3 zod: 4.3.6 - undici-types@7.19.2: {} + undici-types@8.3.0: {} undici@6.25.0: {} From 7aaabbcbddeba79c0783f31dd6d76ff2f473ba37 Mon Sep 17 00:00:00 2001 From: Tim Nunamaker Date: Wed, 22 Jul 2026 23:50:51 -0500 Subject: [PATCH 2/2] fix(polyfill-connectors): annotate types to fix TS7022 under @types/node 26 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tsc now flags dRate/ratio as implicitly-any-via-circular-inference inside the while loop in the §9-C2 pacing regression test. Add explicit `number` annotations to break the circularity; no behavior change. Assisted-by: AI Signed-off-by: Tim Nunamaker --- packages/polyfill-connectors/src/provider-pacing.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/polyfill-connectors/src/provider-pacing.test.ts b/packages/polyfill-connectors/src/provider-pacing.test.ts index 82116f163..29dd203af 100644 --- a/packages/polyfill-connectors/src/provider-pacing.test.ts +++ b/packages/polyfill-connectors/src/provider-pacing.test.ts @@ -526,8 +526,8 @@ test("ProviderPacing §9-C2 IDEAL: near the ceiling the per-success RATE gain is const fullStepRatios: number[] = []; while (pacing.currentIntervalMs > ceilingMs) { pacing.recordSuccess(); - const dRate = ratePerMin(pacing.currentIntervalMs) - ratePerMin(prevInterval); - const ratio = dRate / calibratedRateStep; + const dRate: number = ratePerMin(pacing.currentIntervalMs) - ratePerMin(prevInterval); + const ratio: number = dRate / calibratedRateStep; if (pacing.currentIntervalMs > ceilingMs) { // A full (un-clamped) step — must be in the tight rate-space band. fullStepRatios.push(ratio);