AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agents (FastAPI + Next.js).
fix(ui): make `npm run lint` real again, package-wide, and enforce it in CI (#327)
Seth Dobrin398519f3c531
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 1d2e980f..155afa1d 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -110,6 +110,11 @@ jobs:- name: Type checkrun: cd packages/ui && npx tsc --noEmit+ # `next lint` no longer exists in Next 16; this is the package-wide+ # eslint run (packages/ui/eslint.config.mjs) that replaced it.+ - name: Lint+ run: cd packages/ui && npm run lint+# node:test suites added in #100. Runs on the same Node 22 the job# already uses (--experimental-strip-types needs 22.6+).- name: Run UI unit testsdiff --git a/packages/ui/eslint.config.mjs b/packages/ui/eslint.config.mjsnew file mode 100644index 00000000..c2cd40ba--- /dev/null+++ b/packages/ui/eslint.config.mjs@@ -0,0 +1,47 @@+// ESLint flat config for the whole UI package — not one directory tree.+//+// `next lint` was removed in Next 16, which left `npm run lint` erroring on+// "no such directory: ./lint" with nothing noticing, because CI only ran tsc.+// This config is what `eslint .` reads. It is deliberately package-wide: the+// app (src/**), the nav/config tests (scripts/**) and the root config files+// (next.config.ts, tailwind.config.ts, postcss.config.mjs) are all linted;+// only build output and dependencies are ignored. Narrowing it to src/ would+// recreate the blind spot this fixes.+import { defineConfig, globalIgnores } from "eslint/config";+import nextVitals from "eslint-config-next/core-web-vitals";+import nextTs from "eslint-config-next/typescript";++export default defineConfig([+ globalIgnores([+ ".next/**",+ "out/**",+ "node_modules/**",+ "coverage/**",+ // Generated by Next on every build; not ours to lint.+ "next-env.d.ts",+ ]),+ ...nextVitals,+ ...nextTs,+ {+ rules: {+ // 54 effects in 25 files set loading/derived state synchronously —+ // the pattern predates this React-Compiler-era rule (react-hooks v7).+ // Rewriting them is a runtime change, not a lint fix, so new code is+ // warned and the migration is its own change. Everything else in the+ // react-hooks set (refs, purity, use-memo) stays an error.+ "react-hooks/set-state-in-effect": "warn",+ // `{ node: _node, ...props }` and `_unused` parameters are deliberate.+ "@typescript-eslint/no-unused-vars": [+ "warn",+ { argsIgnorePattern: "^_", varsIgnorePattern: "^_", ignoreRestSiblings: true },+ ],+ },+ },+ {+ // The node test runner scripts (`node --test scripts/*.test.mjs`) are+ // plain ESM run outside the browser: node globals, no React rules.+ files: ["scripts/**/*.mjs"],+ languageOptions: { globals: { process: "readonly", console: "readonly" } },+ rules: { "react-hooks/rules-of-hooks": "off" },+ },+]);diff --git a/packages/ui/package-lock.json b/packages/ui/package-lock.jsonindex 5050ec15..b5671410 100644--- a/packages/ui/package-lock.json+++ b/packages/ui/package-lock.json@@ -26,12 +26,13 @@"@types/node": "^26","@types/react": "^19","@types/react-dom": "^19",+ "@typescript/native": "npm:typescript@^7.0.2","autoprefixer": "^10.6.1",- "eslint": "^10",+ "eslint": "^9.39.5","eslint-config-next": "^16.3.6","postcss": "^8.5.28","tailwindcss": "^4.3.3",- "typescript": "^7"+ "typescript": "npm:@typescript/typescript6@^6.0.2"}},"node_modules/@alloc/quick-lru": {@@ -368,30 +369,6 @@"integrity": "sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==","license": "MIT"},- "node_modules/@cacheable/memory": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz",- "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@cacheable/utils": "^2.5.0",- "@keyv/bigmap": "^1.3.1",- "hookified": "^1.15.1",- "keyv": "^5.6.0"- }- },- "node_modules/@cacheable/utils": {- "version": "2.5.0",- "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz",- "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==",- "dev": true,- "license": "MIT",- "dependencies": {- "hashery": "^1.5.1",- "keyv": "^5.6.0"- }- },"node_modules/@chevrotain/cst-dts-gen": {"version": "11.1.2","resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.1.2.tgz",@@ -523,68 +500,118 @@}},"node_modules/@eslint/config-array": {- "version": "0.23.5",- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz",- "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==",+ "version": "0.21.2",+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",+ "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/object-schema": "^3.0.5",+ "@eslint/object-schema": "^2.1.7","debug": "^4.3.1",- "minimatch": "^10.2.4"+ "minimatch": "^3.1.5"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},"node_modules/@eslint/config-helpers": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",- "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==",+ "version": "0.4.2",+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",+ "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/core": "^1.2.1"+ "@eslint/core": "^0.17.0"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},"node_modules/@eslint/core": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz",- "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==",+ "version": "0.17.0",+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",+ "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==","dev": true,"license": "Apache-2.0","dependencies": {"@types/json-schema": "^7.0.15"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ }+ },+ "node_modules/@eslint/eslintrc": {+ "version": "3.3.7",+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.7.tgz",+ "integrity": "sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ajv": "^6.14.0",+ "debug": "^4.3.2",+ "espree": "^10.0.1",+ "globals": "^14.0.0",+ "ignore": "^5.2.0",+ "import-fresh": "^3.2.1",+ "js-yaml": "^4.3.2",+ "minimatch": "^3.1.5",+ "strip-json-comments": "^3.1.1"+ },+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"+ }+ },+ "node_modules/@eslint/eslintrc/node_modules/globals": {+ "version": "14.0.0",+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/@eslint/js": {+ "version": "9.39.5",+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz",+ "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://eslint.org/donate"}},"node_modules/@eslint/object-schema": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz",- "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==",+ "version": "2.1.7",+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",+ "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==","dev": true,"license": "Apache-2.0","engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},"node_modules/@eslint/plugin-kit": {- "version": "0.7.3",- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz",- "integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==",+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",+ "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==","dev": true,"license": "Apache-2.0","dependencies": {- "@eslint/core": "^1.2.1",+ "@eslint/core": "^0.17.0","levn": "^0.4.1"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},"node_modules/@humanfs/core": {@@ -1231,30 +1258,6 @@"@jridgewell/sourcemap-codec": "^1.4.14"}},- "node_modules/@keyv/bigmap": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz",- "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "hashery": "^1.4.0",- "hookified": "^1.15.0"- },- "engines": {- "node": ">= 18"- },- "peerDependencies": {- "keyv": "^5.6.0"- }- },- "node_modules/@keyv/serialize": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz",- "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==",- "dev": true,- "license": "MIT"- },"node_modules/@mermaid-js/parser": {"version": "2.0.0","resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-2.0.0.tgz",@@ -1342,9 +1345,6 @@"cpu": ["arm64"],- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1361,9 +1361,6 @@"cpu": ["arm64"],- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": [@@ -1380,9 +1377,6 @@"cpu": ["x64"],- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1399,9 +1393,6 @@"cpu": ["x64"],- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": [@@ -2151,13 +2142,6 @@"@types/ms": "*"}},- "node_modules/@types/esrecurse": {- "version": "4.3.1",- "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz",- "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==",- "dev": true,- "license": "MIT"- },"node_modules/@types/estree": {"version": "1.0.9","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",@@ -2309,6 +2293,57 @@"url": "https://opencollective.com/typescript-eslint"}},+ "node_modules/@typescript/native": {+ "name": "typescript",+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz",+ "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc"+ },+ "engines": {+ "node": ">=16.20.0"+ },+ "optionalDependencies": {+ "@typescript/typescript-aix-ppc64": "7.0.2",+ "@typescript/typescript-darwin-arm64": "7.0.2",+ "@typescript/typescript-darwin-x64": "7.0.2",+ "@typescript/typescript-freebsd-arm64": "7.0.2",+ "@typescript/typescript-freebsd-x64": "7.0.2",+ "@typescript/typescript-linux-arm": "7.0.2",+ "@typescript/typescript-linux-arm64": "7.0.2",+ "@typescript/typescript-linux-loong64": "7.0.2",+ "@typescript/typescript-linux-mips64el": "7.0.2",+ "@typescript/typescript-linux-ppc64": "7.0.2",+ "@typescript/typescript-linux-riscv64": "7.0.2",+ "@typescript/typescript-linux-s390x": "7.0.2",+ "@typescript/typescript-linux-x64": "7.0.2",+ "@typescript/typescript-netbsd-arm64": "7.0.2",+ "@typescript/typescript-netbsd-x64": "7.0.2",+ "@typescript/typescript-openbsd-arm64": "7.0.2",+ "@typescript/typescript-openbsd-x64": "7.0.2",+ "@typescript/typescript-sunos-x64": "7.0.2",+ "@typescript/typescript-win32-arm64": "7.0.2",+ "@typescript/typescript-win32-x64": "7.0.2"+ }+ },+ "node_modules/@typescript/old": {+ "name": "typescript",+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },"node_modules/@typescript/typescript-aix-ppc64": {"version": "7.0.2","resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz",@@ -3021,9 +3056,9 @@}},"node_modules/acorn": {- "version": "8.17.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",- "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",+ "version": "8.18.0",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",+ "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==","dev": true,"license": "MIT","bin": {@@ -3060,6 +3095,29 @@"url": "https://github.com/sponsors/epoberezkin"}},+ "node_modules/ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/argparse": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",+ "dev": true,+ "license": "Python-2.0"+ },"node_modules/aria-query": {"version": "5.3.2","resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",@@ -3331,14 +3389,11 @@}},"node_modules/balanced-match": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",- "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==","dev": true,- "license": "MIT",- "engines": {- "node": "18 || 20 || >=22"- }+ "license": "MIT"},"node_modules/baseline-browser-mapping": {"version": "2.11.21",@@ -3353,16 +3408,14 @@}},"node_modules/brace-expansion": {- "version": "5.0.12",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",- "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",+ "version": "1.1.21",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",+ "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==","dev": true,"license": "MIT","dependencies": {- "balanced-match": "^4.0.2"- },- "engines": {- "node": "20 || >=22"+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"}},"node_modules/braces": {@@ -3412,20 +3465,6 @@"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"}},- "node_modules/cacheable": {- "version": "2.5.0",- "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz",- "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==",- "dev": true,- "license": "MIT",- "dependencies": {- "@cacheable/memory": "^2.2.0",- "@cacheable/utils": "^2.5.0",- "hookified": "^1.15.0",- "keyv": "^5.6.0",- "qified": "^0.10.1"- }- },"node_modules/call-bind": {"version": "1.0.9","resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz",@@ -3476,6 +3515,16 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },"node_modules/caniuse-lite": {"version": "1.0.30001810","resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz",@@ -3506,6 +3555,23 @@"url": "https://github.com/sponsors/wooorm"}},+ "node_modules/chalk": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },"node_modules/character-entities": {"version": "2.0.2","resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",@@ -3572,6 +3638,26 @@"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==","license": "MIT"},+ "node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true,+ "license": "MIT"+ },"node_modules/comma-separated-tokens": {"version": "2.0.3","resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",@@ -4609,43 +4695,45 @@}},"node_modules/eslint": {- "version": "10.11.0",- "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.11.0.tgz",- "integrity": "sha512-P7a6UEEqb9G95MYAtqkmsTbVXIYyzIfl6NGOIJk162PaahFxFyeGcrlXYFSiagECg4sEm8IseJdZBKR3rx6MsQ==",+ "version": "9.39.5",+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz",+ "integrity": "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==",+ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.","dev": true,"license": "MIT",- "workspaces": [- "packages/*"- ],"dependencies": {"@eslint-community/eslint-utils": "^4.8.0",- "@eslint-community/regexpp": "^4.12.2",- "@eslint/config-array": "^0.23.5",- "@eslint/config-helpers": "^0.7.0",- "@eslint/core": "^1.2.1",- "@eslint/plugin-kit": "^0.7.3",+ "@eslint-community/regexpp": "^4.12.1",+ "@eslint/config-array": "^0.21.2",+ "@eslint/config-helpers": "^0.4.2",+ "@eslint/core": "^0.17.0",+ "@eslint/eslintrc": "^3.3.6",+ "@eslint/js": "9.39.5",+ "@eslint/plugin-kit": "^0.4.1","@humanfs/node": "^0.16.6","@humanwhocodes/module-importer": "^1.0.1","@humanwhocodes/retry": "^0.4.2","@types/estree": "^1.0.6","ajv": "^6.14.0",+ "chalk": "^4.0.0","cross-spawn": "^7.0.6","debug": "^4.3.2","escape-string-regexp": "^4.0.0",- "eslint-scope": "^9.1.2",- "eslint-visitor-keys": "^5.0.1",- "espree": "^11.2.0",- "esquery": "^1.7.0",+ "eslint-scope": "^8.4.0",+ "eslint-visitor-keys": "^4.2.1",+ "espree": "^10.4.0",+ "esquery": "^1.5.0","esutils": "^2.0.2","fast-deep-equal": "^3.1.3",- "file-entry-cache": "11.1.5 || >11.1.6 <12",+ "file-entry-cache": "^8.0.0","find-up": "^5.0.0","glob-parent": "^6.0.2","ignore": "^5.2.0","imurmurhash": "^0.1.4","is-glob": "^4.0.0","json-stable-stringify-without-jsonify": "^1.0.1",- "minimatch": "^10.2.5",+ "lodash.merge": "^4.6.2",+ "minimatch": "^3.1.5","natural-compare": "^1.4.0","optionator": "^0.9.3"},@@ -4653,7 +4741,7 @@"eslint": "bin/eslint.js"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"},"funding": {"url": "https://eslint.org/donate"@@ -4694,24 +4782,6 @@}}},- "node_modules/eslint-config-next/node_modules/balanced-match": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",- "dev": true,- "license": "MIT"- },- "node_modules/eslint-config-next/node_modules/brace-expansion": {- "version": "1.1.21",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",- "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==",- "dev": true,- "license": "MIT",- "dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },"node_modules/eslint-config-next/node_modules/eslint-import-resolver-typescript": {"version": "3.10.1","resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz",@@ -4864,19 +4934,6 @@"node": ">= 4"}},- "node_modules/eslint-config-next/node_modules/minimatch": {- "version": "3.1.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",- "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",- "dev": true,- "license": "ISC",- "dependencies": {- "brace-expansion": "^1.1.7"- },- "engines": {- "node": "*"- }- },"node_modules/eslint-config-next/node_modules/semver": {"version": "6.3.1","resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",@@ -5204,19 +5261,17 @@}},"node_modules/eslint-scope": {- "version": "9.1.2",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz",- "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==",+ "version": "8.4.0",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==","dev": true,"license": "BSD-2-Clause","dependencies": {- "@types/esrecurse": "^4.3.1",- "@types/estree": "^1.0.8","esrecurse": "^4.3.0","estraverse": "^5.2.0"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"},"funding": {"url": "https://opencollective.com/eslint"@@ -5235,19 +5290,45 @@"url": "https://opencollective.com/eslint"}},+ "node_modules/eslint/node_modules/eslint-visitor-keys": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"+ }+ },"node_modules/espree": {- "version": "11.2.0",- "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz",- "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==",+ "version": "10.4.0",+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==","dev": true,"license": "BSD-2-Clause","dependencies": {- "acorn": "^8.16.0",+ "acorn": "^8.15.0","acorn-jsx": "^5.3.2",- "eslint-visitor-keys": "^5.0.1"+ "eslint-visitor-keys": "^4.2.1"},"engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"+ }+ },+ "node_modules/espree/node_modules/eslint-visitor-keys": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"},"funding": {"url": "https://opencollective.com/eslint"@@ -5377,13 +5458,16 @@}},"node_modules/file-entry-cache": {- "version": "11.1.5",- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz",- "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==",+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==","dev": true,"license": "MIT","dependencies": {- "flat-cache": "^6.1.23"+ "flat-cache": "^4.0.0"+ },+ "engines": {+ "node": ">=16.0.0"}},"node_modules/fill-range": {@@ -5417,15 +5501,17 @@}},"node_modules/flat-cache": {- "version": "6.1.23",- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz",- "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==",+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==","dev": true,"license": "MIT","dependencies": {- "cacheable": "^2.5.0",- "flatted": "^3.4.2",- "hookified": "^1.15.0"+ "flatted": "^3.2.9",+ "keyv": "^4.5.4"+ },+ "engines": {+ "node": ">=16"}},"node_modules/flatted": {@@ -5678,6 +5764,16 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },"node_modules/has-property-descriptors": {"version": "1.0.2","resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",@@ -5736,19 +5832,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/hashery": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz",- "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "hookified": "^1.15.0"- },- "engines": {- "node": ">=20"- }- },"node_modules/hasown": {"version": "2.0.3","resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz",@@ -5834,13 +5917,6 @@"hermes-estree": "0.25.1"}},- "node_modules/hookified": {- "version": "1.15.1",- "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz",- "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==",- "dev": true,- "license": "MIT"- },"node_modules/html-url-attributes": {"version": "3.0.1","resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",@@ -5873,6 +5949,23 @@"node": ">= 4"}},+ "node_modules/import-fresh": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/import-meta-resolve": {"version": "4.2.0","resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz",@@ -6439,6 +6532,29 @@"dev": true,"license": "MIT"},+ "node_modules/js-yaml": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz",+ "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/puzrin"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/nodeca"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "argparse": "^2.0.1"+ },+ "bin": {+ "js-yaml": "bin/js-yaml.js"+ }+ },"node_modules/jsesc": {"version": "3.1.0","resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",@@ -6452,6 +6568,13 @@"node": ">=6"}},+ "node_modules/json-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",+ "dev": true,+ "license": "MIT"+ },"node_modules/json-schema-traverse": {"version": "0.4.1","resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",@@ -6521,13 +6644,13 @@}},"node_modules/keyv": {- "version": "5.6.0",- "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz",- "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==",+ "version": "4.5.4",+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==","dev": true,"license": "MIT","dependencies": {- "@keyv/serialize": "^1.1.1"+ "json-buffer": "3.0.1"}},"node_modules/khroma": {@@ -6858,6 +6981,13 @@"integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==","license": "MIT"},+ "node_modules/lodash.merge": {+ "version": "4.6.2",+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",+ "dev": true,+ "license": "MIT"+ },"node_modules/longest-streak": {"version": "3.1.0","resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",@@ -7837,19 +7967,16 @@}},"node_modules/minimatch": {- "version": "10.2.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",+ "version": "3.1.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==","dev": true,- "license": "BlueOak-1.0.0",+ "license": "ISC","dependencies": {- "brace-expansion": "^5.0.5"+ "brace-expansion": "^1.1.7"},"engines": {- "node": "18 || 20 || >=22"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"+ "node": "*"}},"node_modules/minimist": {@@ -8262,6 +8389,19 @@"integrity": "sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA==","license": "MIT"},+ "node_modules/parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "callsites": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },"node_modules/parse-entities": {"version": "4.0.2","resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",@@ -8462,26 +8602,6 @@"node": ">=6"}},- "node_modules/qified": {- "version": "0.10.1",- "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz",- "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==",- "dev": true,- "license": "MIT",- "dependencies": {- "hookified": "^2.1.1"- },- "engines": {- "node": ">=20"- }- },- "node_modules/qified/node_modules/hookified": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz",- "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==",- "dev": true,- "license": "MIT"- },"node_modules/queue-microtask": {"version": "1.2.3","resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",@@ -8706,6 +8826,16 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=4"+ }+ },"node_modules/resolve-pkg-maps": {"version": "1.0.0","resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",@@ -9230,6 +9360,19 @@"node": ">=4"}},+ "node_modules/strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/style-to-js": {"version": "1.1.21","resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",@@ -9277,6 +9420,19 @@"integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==","license": "MIT"},+ "node_modules/supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/supports-preserve-symlinks-flag": {"version": "1.0.0","resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",@@ -9533,38 +9689,17 @@}},"node_modules/typescript": {- "version": "7.0.2",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz",- "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==",+ "name": "@typescript/typescript6",+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript6/-/typescript6-6.0.2.tgz",+ "integrity": "sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w==","dev": true,"license": "Apache-2.0",- "bin": {- "tsc": "bin/tsc"- },- "engines": {- "node": ">=16.20.0"+ "dependencies": {+ "@typescript/old": "npm:typescript@^6"},- "optionalDependencies": {- "@typescript/typescript-aix-ppc64": "7.0.2",- "@typescript/typescript-darwin-arm64": "7.0.2",- "@typescript/typescript-darwin-x64": "7.0.2",- "@typescript/typescript-freebsd-arm64": "7.0.2",- "@typescript/typescript-freebsd-x64": "7.0.2",- "@typescript/typescript-linux-arm": "7.0.2",- "@typescript/typescript-linux-arm64": "7.0.2",- "@typescript/typescript-linux-loong64": "7.0.2",- "@typescript/typescript-linux-mips64el": "7.0.2",- "@typescript/typescript-linux-ppc64": "7.0.2",- "@typescript/typescript-linux-riscv64": "7.0.2",- "@typescript/typescript-linux-s390x": "7.0.2",- "@typescript/typescript-linux-x64": "7.0.2",- "@typescript/typescript-netbsd-arm64": "7.0.2",- "@typescript/typescript-netbsd-x64": "7.0.2",- "@typescript/typescript-openbsd-arm64": "7.0.2",- "@typescript/typescript-openbsd-x64": "7.0.2",- "@typescript/typescript-sunos-x64": "7.0.2",- "@typescript/typescript-win32-arm64": "7.0.2",- "@typescript/typescript-win32-x64": "7.0.2"+ "bin": {+ "tsc6": "bin/tsc6"}},"node_modules/unbox-primitive": {diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 65da947e..9e5e0c8f 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -2,7 +2,7 @@"name": "open-executive-ui","version": "0.4.5","private": true,- "description": "Next.js 15 web UI for Open Executive — an AI-powered virtual executive team.",+ "description": "Next.js 15 web UI for Open Executive \u2014 an AI-powered virtual executive team.","license": "Apache-2.0","repository": {"type": "git",@@ -14,7 +14,7 @@"dev": "next dev","build": "next build","start": "next start",- "lint": "next lint",+ "lint": "eslint .","test": "node --experimental-strip-types --test scripts/*.test.mjs"},"dependencies": {@@ -35,12 +35,13 @@"@types/node": "^26","@types/react": "^19","@types/react-dom": "^19",+ "@typescript/native": "npm:typescript@^7.0.2","autoprefixer": "^10.6.1",- "eslint": "^10",+ "eslint": "^9.39.5","eslint-config-next": "^16.3.6","postcss": "^8.5.28","tailwindcss": "^4.3.3",- "typescript": "^7"+ "typescript": "npm:@typescript/typescript6@^6.0.2"},"overrides": {"lodash-es": "^4.18.1"diff --git a/packages/ui/src/app/departments/[slug]/page.tsx b/packages/ui/src/app/departments/[slug]/page.tsxindex 2d1cd228..1ea05b7c 100644--- a/packages/ui/src/app/departments/[slug]/page.tsx+++ b/packages/ui/src/app/departments/[slug]/page.tsx@@ -405,7 +405,7 @@ export default function DepartmentDetailPage() {</div>))}<p className="text-[10px] text-fg-muted mt-1">- When set, the specialist posts a check-in on this schedule. You'll see it in Today.+ When set, the specialist posts a check-in on this schedule. You'll see it in Today.Examples (UTC): <code className="font-mono">daily@09:00</code>, <code className="font-mono">weekly@mon@09:00</code>, <code className="font-mono">quarterly@01-09:00</code>.</p></div>diff --git a/packages/ui/src/app/people/[id]/page.tsx b/packages/ui/src/app/people/[id]/page.tsxindex 49b398ac..8d80319b 100644--- a/packages/ui/src/app/people/[id]/page.tsx+++ b/packages/ui/src/app/people/[id]/page.tsx@@ -248,6 +248,8 @@ function OpenLoopsSection({const [loops, setLoops] = useState<OpenLoop[] | null>(null);const [error, setError] = useState<string | null>(null);const [closing, setClosing] = useState<number | null>(null);+ // Sampled once at mount: a render must not call Date.now() (react-hooks/purity).+ const [mountedAt] = useState(() => Date.now());const [task, setTask] = useState("");const [dueDate, setDueDate] = useState("");const [assigning, setAssigning] = useState(false);@@ -301,7 +303,7 @@ function OpenLoopsSection({}if (!canList && !canAssign) return null;- const now = Date.now();+ const now = mountedAt;return (<section className="mb-6"><h2 className="text-xs font-semibold uppercase tracking-wide text-fg-muted mb-1">diff --git a/packages/ui/src/components/Briefing.tsx b/packages/ui/src/components/Briefing.tsxindex 91dc0d23..160b89a1 100644--- a/packages/ui/src/components/Briefing.tsx+++ b/packages/ui/src/components/Briefing.tsx@@ -1900,7 +1900,8 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:// re-syncs. The optimistic actedAlertIds set already hides the card; this// refreshes everything computed from it. Best-effort: a failed refresh leaves// the stale-but-still-usable view rather than erroring the briefing.- const lastFetchRef = useRef(Date.now());+ const [mountedAt] = useState(() => Date.now());+ const lastFetchRef = useRef(mountedAt);const refreshToday = useCallback(() => {lastFetchRef.current = Date.now();getToday().then(setToday).catch(() => { /* keep current view on failure */ });@@ -1978,7 +1979,7 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:} catch (e) {// Revert the optimistic removal on failure so the user can retry.setActedAlertIds(prev);- // eslint-disable-next-line no-console+console.error("Approve failed", e);}}, [actedAlertIds, onContinue, refreshToday]);@@ -2012,7 +2013,7 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:await ackAlert(proposal.alert_id, "dismissed");} catch (e) {setActedAlertIds(prev);- // eslint-disable-next-line no-console+console.error("Dismiss failed", e);}}, [actedAlertIds, refreshToday]);@@ -2031,7 +2032,7 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:refreshToday();} catch (e) {setActedAlertIds(prev);- // eslint-disable-next-line no-console+console.error("Bulk dismiss failed", e);}}, [actedAlertIds, refreshToday]);@@ -2045,7 +2046,7 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:await reviewAlerts();refreshToday();} catch (e) {- // eslint-disable-next-line no-console+console.error("Alert review failed", e);} finally {setRecheckBusy(false);@@ -2065,7 +2066,7 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:setUndoneRows((prev) => new Set(prev).add(rowKey));return;}- // eslint-disable-next-line no-console+console.error("Reopen failed", e);}}, [refreshToday]);@@ -2090,7 +2091,7 @@ export default function Briefing({ onContinue, showHeader = false, firstName }:}} catch (e) {setActedAlertIds(prev);- // eslint-disable-next-line no-console+console.error("Approve-with-edits failed", e);}}, [actedAlertIds, onContinue]);diff --git a/packages/ui/src/components/DebugPanel.tsx b/packages/ui/src/components/DebugPanel.tsxindex df0efec6..dc3ec105 100644--- a/packages/ui/src/components/DebugPanel.tsx+++ b/packages/ui/src/components/DebugPanel.tsx@@ -158,7 +158,7 @@ function summarize(event: DebugEvent): string {}}-function EventCard({ event, index }: { event: DebugEvent; index: number }) {+function EventCard({ event }: { event: DebugEvent; index: number }) {const [expanded, setExpanded] = useState(false);const cfg = KIND_CONFIG[event.kind] ?? {border: "border-l-fg-subtle",diff --git a/packages/ui/src/components/ReviewQueue.tsx b/packages/ui/src/components/ReviewQueue.tsxindex 4bb87b87..e07f03d2 100644--- a/packages/ui/src/components/ReviewQueue.tsx+++ b/packages/ui/src/components/ReviewQueue.tsx@@ -92,7 +92,7 @@ function ItemSlideOver({setExternalChunks([]);setExternalChunkLimit(10);setLoadingChunks(false);- // eslint-disable-next-line react-hooks/exhaustive-deps+}, [itemId_stable]);useEffect(() => {diff --git a/packages/ui/src/components/TurnStatusRow.tsx b/packages/ui/src/components/TurnStatusRow.tsxindex 6e110dce..99414132 100644--- a/packages/ui/src/components/TurnStatusRow.tsx+++ b/packages/ui/src/components/TurnStatusRow.tsx@@ -1,6 +1,6 @@"use client";-import { useEffect, useRef, useState } from "react";+import { useEffect, useState } from "react";import CommitteePhaseIndicator from "./CommitteePhaseIndicator";import type { CommitteePhase } from "@/lib/api";import type { TurnStatus } from "@/lib/turnStatus";@@ -10,8 +10,12 @@ import type { TurnStatus } from "@/lib/turnStatus";// same handler that sets the turn loading, so the first render of the turn// already reads fresh times, and `markEvent` for every streamed item.export function useTurnClock(isLoading: boolean) {- const startedAt = useRef(0);- const lastEventAt = useRef(0);+ // State, not refs: the derived ms values are computed during render, and a+ // ref read in render is what react-hooks/refs forbids. `markEvent` fires in+ // the same stream loop that already appends chunk text to state, so React+ // batches the two updates and this costs no extra render per event.+ const [startedAt, setStartedAt] = useState(0);+ const [lastEventAt, setLastEventAt] = useState(0);const [now, setNow] = useState(0);useEffect(() => {@@ -21,16 +25,16 @@ export function useTurnClock(isLoading: boolean) {}, [isLoading]);return {- msSinceTurnStart: now - startedAt.current,- msSinceLastEvent: now - lastEventAt.current,+ msSinceTurnStart: now - startedAt,+ msSinceLastEvent: now - lastEventAt,start: () => {const t = Date.now();- startedAt.current = t;- lastEventAt.current = t;+ setStartedAt(t);+ setLastEventAt(t);setNow(t);},markEvent: () => {- lastEventAt.current = Date.now();+ setLastEventAt(Date.now());},};}diff --git a/packages/ui/src/components/architecture/MermaidDiagram.tsx b/packages/ui/src/components/architecture/MermaidDiagram.tsxindex a304d794..6ac47d5c 100644--- a/packages/ui/src/components/architecture/MermaidDiagram.tsx+++ b/packages/ui/src/components/architecture/MermaidDiagram.tsx@@ -107,7 +107,7 @@ export default function MermaidDiagram({ definition, id }: Props) {setError(msg.split('\n')[0]);setSvg(null);// Keep the console error for devs; users see the inline fallback.- // eslint-disable-next-line no-console+console.error('Mermaid render failed:', e);}}diff --git a/packages/ui/src/components/company-profile/ProfileSections.tsx b/packages/ui/src/components/company-profile/ProfileSections.tsxindex 7cb4aae0..38271561 100644--- a/packages/ui/src/components/company-profile/ProfileSections.tsx+++ b/packages/ui/src/components/company-profile/ProfileSections.tsx@@ -245,7 +245,9 @@ function usePendingSection(): [boolean, (v: boolean) => void] {const [editing, setEditing] = useState(false);const appliersRef = useRef(appliers);- appliersRef.current = appliers;+ useEffect(() => {+ appliersRef.current = appliers;+ });useEffect(() => {if (!pending) return;let touched = false;@@ -485,7 +487,7 @@ function PrioritiesSection({ profile, saving, onSave, pending }: SectionComponenonSave={() => onSave({ strategic_priorities: { current_year: textToList(priorities), north_star_metric: northStar } })}viewContent={<div className="space-y-4">- <div><FieldLabel>This Year's Priorities</FieldLabel><Pills items={profile.strategic_priorities.current_year} /></div>+ <div><FieldLabel>This Year's Priorities</FieldLabel><Pills items={profile.strategic_priorities.current_year} /></div><div><FieldLabel>North Star Metric</FieldLabel><FieldValue>{profile.strategic_priorities.north_star_metric}</FieldValue></div></div>}diff --git a/packages/ui/src/components/settings/WorkspaceCard.tsx b/packages/ui/src/components/settings/WorkspaceCard.tsxindex 7ab6fc22..2905ca24 100644--- a/packages/ui/src/components/settings/WorkspaceCard.tsx+++ b/packages/ui/src/components/settings/WorkspaceCard.tsx@@ -59,7 +59,7 @@ export default function WorkspaceCard() {const [busy, setBusy] = useState(false);const [error, setError] = useState<string | null>(null);- const browserZone = useMemo(browserTimeZone, []);+ const browserZone = useMemo(() => browserTimeZone(), []);const zones = useMemo(() => {const list = allTimeZones();// A stored zone the browser's list lacks (e.g. "UTC" in some engines)