diff --git a/Dockerfile b/Dockerfile index d088d8a6..b0509815 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,9 @@ COPY . . # Build API and Worker RUN bun run build.ts +# Generate runner-package.json for the runner stage +RUN bun run scripts/extract-runtime-deps.ts + # Stage 2: Runner FROM oven/bun:1 AS runner @@ -54,10 +57,9 @@ RUN mkdir -p /app/data && chown -R bun:bun /app USER bun WORKDIR /app -# Manually install temporalio packages and prisma -# These need native bindings or CLI access in the runner environment -RUN bun add @temporalio/activity @temporalio/client @temporalio/worker @temporalio/workflow && \ - bun add --dev --omit peer prisma sharp +# Install runtime dependencies with exact matching versions extracted from the builder stage +COPY --chown=bun:bun --from=builder /app/runner-package.json ./package.json +RUN bun install # Copy build artifacts and prisma config COPY --chown=bun:bun --from=builder /app/dist ./ diff --git a/apps/web/package.json b/apps/web/package.json index c5bfd4e5..b027cec0 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -12,6 +12,6 @@ "@shumai/agent": "workspace:*", "@shumai/transcode": "workspace:*", "@shumai/webui": "workspace:*", - "hono": "^4.12.14" + "hono": "4.12.23" } } diff --git a/bun.lock b/bun.lock index 0ed16b11..719082aa 100644 --- a/bun.lock +++ b/bun.lock @@ -5,29 +5,29 @@ "": { "name": "shumai", "dependencies": { - "@tanstack/react-virtual": "^3.14.2", - "jittered-fractional-indexing": "^1.0.1", + "@tanstack/react-virtual": "3.14.2", + "jittered-fractional-indexing": "1.0.1", }, "devDependencies": { - "@eslint/js": "^10.0.1", - "@testcontainers/postgresql": "^12.0.1", - "@types/bun": "^1.3.14", - "@types/node": "^25.9.1", - "bun-plugin-pino": "^1.5.0", - "bun-plugin-tailwind": "^0.1.2", - "bun-types": "^1.3.14", - "eslint": "^10.4.1", - "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.6", - "eslint-plugin-react": "^7.37.5", - "globals": "^17.6.0", - "pino-pretty": "^13.1.3", - "prisma": "^7.8.0", - "testcontainers": "^12.0.1", - "typescript": "^6.0.3", - "typescript-eslint": "^8.60.0", - "vite-tsconfig-paths": "^6.1.1", - "vitest": "^4.1.7", + "@eslint/js": "10.0.1", + "@testcontainers/postgresql": "12.0.1", + "@types/bun": "1.3.14", + "@types/node": "25.9.1", + "bun-plugin-pino": "1.5.0", + "bun-plugin-tailwind": "0.1.2", + "bun-types": "1.3.14", + "eslint": "10.4.1", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-prettier": "5.5.6", + "eslint-plugin-react": "7.37.5", + "globals": "17.6.0", + "pino-pretty": "13.1.3", + "prisma": "7.8.0", + "testcontainers": "12.0.1", + "typescript": "6.0.3", + "typescript-eslint": "8.60.1", + "vite-tsconfig-paths": "6.1.1", + "vitest": "4.1.8", }, }, "apps/agent": { @@ -66,45 +66,45 @@ "@shumai/transcode": "workspace:*", "@shumai/webui": "workspace:*", "@shumai/workflow-core": "workspace:*", - "hono": "^4.12.14", + "hono": "4.12.23", }, }, "packages/agent": { "name": "@shumai/agent", "version": "0.1.0", "dependencies": { - "@anthropic-ai/sandbox-runtime": "^0.0.52", + "@anthropic-ai/sandbox-runtime": "0.0.52", "@earendil-works/pi-agent-core": "0.78.0", "@earendil-works/pi-ai": "0.75.4", - "@google/genai": "^1.50.1", + "@google/genai": "1.52.0", "@shumai/core": "workspace:*", "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", "@shumai/workflow-core": "workspace:*", - "@sinclair/typebox": "^0.34.49", - "@temporalio/activity": "^1.16.1", - "@temporalio/worker": "^1.16.1", - "@temporalio/workflow": "^1.16.1", - "adm-zip": "^0.5.17", - "ulid": "^3.0.2", - "zod": "^4.4.3", + "@sinclair/typebox": "0.34.49", + "@temporalio/activity": "1.17.2", + "@temporalio/worker": "1.17.2", + "@temporalio/workflow": "1.17.2", + "adm-zip": "0.5.17", + "ulid": "3.0.2", + "zod": "4.4.3", }, "devDependencies": { - "@types/adm-zip": "^0.5.8", + "@types/adm-zip": "0.5.8", }, }, "packages/api": { "name": "@shumai/api", "version": "0.1.0", "dependencies": { - "@hono/zod-validator": "^0.7.6", + "@hono/zod-validator": "0.7.6", "@shumai/core": "workspace:*", "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", - "hono": "^4.12.14", - "pino": "^10.3.1", - "ulid": "^3.0.2", - "zod": "^4.4.3", + "hono": "4.12.23", + "pino": "10.3.1", + "ulid": "3.0.2", + "zod": "4.4.3", }, }, "packages/core": { @@ -113,24 +113,24 @@ "dependencies": { "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", - "@sinclair/typebox": "^0.34.49", - "adm-zip": "^0.5.17", + "@sinclair/typebox": "0.34.49", + "adm-zip": "0.5.17", "better-auth": "1.6.11", - "date-fns": "^4.4.0", - "dotenv": "^16.4.7", - "dotenv-expand": "^13.0.0", - "extract-zip": "^2.0.1", - "hono": "^4.12.14", - "jittered-fractional-indexing": "^1.0.1", - "pino": "^10.3.1", - "tweetnacl": "^1.0.3", - "ulid": "^3.0.2", - "yaml": "^2.7.0", - "zod": "^4.4.3", + "date-fns": "4.4.0", + "dotenv": "16.6.1", + "dotenv-expand": "13.0.0", + "extract-zip": "2.0.1", + "hono": "4.12.23", + "jittered-fractional-indexing": "1.0.1", + "pino": "10.3.1", + "tweetnacl": "1.0.3", + "ulid": "3.0.2", + "yaml": "2.9.0", + "zod": "4.4.3", }, "devDependencies": { - "@types/adm-zip": "^0.5.8", - "@types/extract-zip": "^2.0.3", + "@types/adm-zip": "0.5.8", + "@types/extract-zip": "2.0.3", }, }, "packages/db": { @@ -138,22 +138,22 @@ "version": "0.1.0", "dependencies": { "@earendil-works/pi-agent-core": "0.78.0", - "@prisma/adapter-pg": "^7.7.0", - "@prisma/client": "^7.7.0", - "pg": "^8.20.0", - "zod": "^4.4.3", + "@prisma/adapter-pg": "7.8.0", + "@prisma/client": "7.8.0", + "pg": "8.21.0", + "zod": "4.4.3", }, "devDependencies": { - "@types/pg": "^8.20.0", - "prisma": "^7.7.0", - "prisma-json-types-generator": "^4.1.1", + "@types/pg": "8.20.0", + "prisma": "7.8.0", + "prisma-json-types-generator": "4.1.1", }, }, "packages/dtos": { "name": "@shumai/dtos", "version": "0.1.0", "dependencies": { - "zod": "^4.4.3", + "zod": "4.4.3", }, }, "packages/transcode": { @@ -164,31 +164,31 @@ "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", "@shumai/workflow-core": "workspace:*", - "@temporalio/activity": "^1.16.1", - "@temporalio/worker": "^1.16.1", - "@temporalio/workflow": "^1.16.1", - "sharp": "^0.34.5", - "ulid": "^2.3.0", + "@temporalio/activity": "1.17.2", + "@temporalio/worker": "1.17.2", + "@temporalio/workflow": "1.17.2", + "sharp": "0.34.5", + "ulid": "3.0.2", }, }, "packages/webui": { "name": "@shumai/webui", "version": "0.1.0", "dependencies": { - "@base-ui/react": "^1.5.0", - "@dnd-kit/abstract": "^0.4.0", - "@dnd-kit/dom": "^0.4.0", - "@dnd-kit/react": "^0.4.0", - "@hookform/resolvers": "^5.4.0", - "@lexical/code": "^0.42.0", - "@lexical/link": "^0.42.0", - "@lexical/list": "^0.42.0", - "@lexical/markdown": "^0.42.0", - "@lexical/react": "^0.42.0", - "@lexical/rich-text": "^0.42.0", - "@lexical/selection": "^0.42.0", - "@lexical/table": "^0.42.0", - "@lexical/utils": "^0.42.0", + "@base-ui/react": "1.5.0", + "@dnd-kit/abstract": "0.4.0", + "@dnd-kit/dom": "0.4.0", + "@dnd-kit/react": "0.4.0", + "@hookform/resolvers": "5.4.0", + "@lexical/code": "0.42.0", + "@lexical/link": "0.42.0", + "@lexical/list": "0.42.0", + "@lexical/markdown": "0.42.0", + "@lexical/react": "0.42.0", + "@lexical/rich-text": "0.42.0", + "@lexical/selection": "0.42.0", + "@lexical/table": "0.42.0", + "@lexical/utils": "0.42.0", "@radix-ui/react-accordion": "1.2.2", "@radix-ui/react-alert-dialog": "1.1.4", "@radix-ui/react-aspect-ratio": "1.1.1", @@ -196,10 +196,10 @@ "@radix-ui/react-checkbox": "1.1.3", "@radix-ui/react-collapsible": "1.1.2", "@radix-ui/react-context-menu": "2.2.4", - "@radix-ui/react-dialog": "^1.1.15", + "@radix-ui/react-dialog": "1.1.15", "@radix-ui/react-dropdown-menu": "2.1.4", "@radix-ui/react-hover-card": "1.1.4", - "@radix-ui/react-label": "^2.1.8", + "@radix-ui/react-label": "2.1.8", "@radix-ui/react-menubar": "1.1.4", "@radix-ui/react-navigation-menu": "1.2.3", "@radix-ui/react-popover": "1.1.4", @@ -207,67 +207,67 @@ "@radix-ui/react-radio-group": "1.2.2", "@radix-ui/react-scroll-area": "1.2.2", "@radix-ui/react-select": "2.1.4", - "@radix-ui/react-separator": "^1.1.8", + "@radix-ui/react-separator": "1.1.8", "@radix-ui/react-slider": "1.2.2", - "@radix-ui/react-slot": "^1.2.4", + "@radix-ui/react-slot": "1.2.4", "@radix-ui/react-switch": "1.1.2", "@radix-ui/react-tabs": "1.1.2", "@radix-ui/react-toast": "1.2.4", "@radix-ui/react-toggle": "1.1.1", "@radix-ui/react-toggle-group": "1.1.1", - "@radix-ui/react-tooltip": "^1.2.8", + "@radix-ui/react-tooltip": "1.2.8", "@shumai/api": "workspace:*", "@shumai/dtos": "workspace:*", - "@tanstack/react-form": "^1.32.0", + "@tanstack/react-form": "1.33.0", "@tanstack/react-query": "5.90.10", - "@tanstack/react-router": "^1.136.8", - "@tanstack/react-table": "^8.21.3", - "@tanstack/react-virtual": "^3.13.26", - "better-auth": "^1.6.6", - "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", - "cmdk": "^1.1.1", - "date-fns": "^4.4.0", - "embla-carousel-react": "^8.6.0", - "hono": "^4.12.14", - "input-otp": "^1.4.2", - "konva": "^10.0.12", - "lexical": "^0.42.0", - "lucide-react": "^1.17.0", - "next-themes": "^0.4.6", - "radix-ui": "^1.4.3", + "@tanstack/react-router": "1.170.11", + "@tanstack/react-table": "8.21.3", + "@tanstack/react-virtual": "3.14.2", + "better-auth": "1.6.11", + "class-variance-authority": "0.7.1", + "clsx": "2.1.1", + "cmdk": "1.1.1", + "date-fns": "4.4.0", + "embla-carousel-react": "8.6.0", + "hono": "4.12.23", + "input-otp": "1.4.2", + "konva": "10.3.0", + "lexical": "0.42.0", + "lucide-react": "1.17.0", + "next-themes": "0.4.6", + "radix-ui": "1.4.3", "react": "19.2.0", - "react-day-picker": "^10.0.1", + "react-day-picker": "10.0.1", "react-dom": "19.2.0", - "react-hook-form": "^7.76.1", - "react-intersection-observer": "^10.0.0", - "react-konva": "^19.2.1", - "react-markdown": "^10.1.0", - "react-resizable-panels": "^4", + "react-hook-form": "7.77.0", + "react-intersection-observer": "10.0.3", + "react-konva": "19.2.4", + "react-markdown": "10.1.0", + "react-resizable-panels": "4.11.2", "recharts": "3.8.0", - "sonner": "^2.0.7", - "tailwind-merge": "^2.5.5", - "tailwindcss-animate": "^1.0.7", - "use-image": "^1.1.4", - "vaul": "^1.1.2", - "video.js": "^8.23.4", - "zod": "^4.4.3", - "zustand": "^5.0.8", + "sonner": "2.0.7", + "tailwind-merge": "2.6.1", + "tailwindcss-animate": "1.0.7", + "use-image": "1.1.4", + "vaul": "1.1.2", + "video.js": "8.23.7", + "zod": "4.4.3", + "zustand": "5.0.14", }, "devDependencies": { - "@tailwindcss/postcss": "^4.1.9", - "@tailwindcss/vite": "^4.1.17", - "@tanstack/router-cli": "^1.136.8", - "@tanstack/router-plugin": "^1.136.8", - "@types/react": "^19", - "@types/react-dom": "^19", - "@vitejs/plugin-react": "^5.1.1", - "autoprefixer": "^10.4.20", - "postcss": "^8.5", - "tailwindcss": "^4.2.2", + "@tailwindcss/postcss": "4.3.0", + "@tailwindcss/vite": "4.3.0", + "@tanstack/router-cli": "1.167.13", + "@tanstack/router-plugin": "1.168.14", + "@types/react": "19.2.16", + "@types/react-dom": "19.2.3", + "@vitejs/plugin-react": "5.2.0", + "autoprefixer": "10.5.0", + "postcss": "8.5.15", + "tailwindcss": "4.3.0", "tw-animate-css": "1.3.3", - "vite": "^7.2.2", - "vite-tsconfig-paths": "^6.1.1", + "vite": "7.3.5", + "vite-tsconfig-paths": "6.1.1", }, }, "packages/workflow-core": { @@ -277,9 +277,9 @@ "@shumai/core": "workspace:*", "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", - "@temporalio/client": "^1.16.1", - "@temporalio/worker": "^1.16.1", - "@temporalio/workflow": "^1.16.1", + "@temporalio/client": "1.17.2", + "@temporalio/worker": "1.17.2", + "@temporalio/workflow": "1.17.2", }, }, }, @@ -1082,7 +1082,7 @@ "@tanstack/react-query": ["@tanstack/react-query@5.90.10", "", { "dependencies": { "@tanstack/query-core": "5.90.10" }, "peerDependencies": { "react": "^18 || ^19" } }, "sha512-BKLss9Y8PQ9IUjPYQiv3/Zmlx92uxffUOX8ZZNoQlCIZBJPT5M+GOMQj7xislvVQ6l1BstBjcX0XB/aHfFYVNw=="], - "@tanstack/react-router": ["@tanstack/react-router@1.170.10", "", { "dependencies": { "@tanstack/history": "1.162.0", "@tanstack/react-store": "^0.9.3", "@tanstack/router-core": "1.171.8", "isbot": "^5.1.22" }, "peerDependencies": { "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "sha512-gVmWYq0ucWr+OB97Nud0YhKa9NOipB7/QrWI7wRZJJWEL0qUS8WPqAs0vA1f3IBXZpXmf8xxzf/tl5cmo4tlmA=="], + "@tanstack/react-router": ["@tanstack/react-router@1.170.11", "", { "dependencies": { "@tanstack/history": "1.162.0", "@tanstack/react-store": "^0.9.3", "@tanstack/router-core": "1.171.9", "isbot": "^5.1.22" }, "peerDependencies": { "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "sha512-gP2vzdyaI8Ow/Uz/MRPfK2wN09YwRI0Y/oF74Wuy9R3KmjbfJv2tLrkM+Onu1xWklSn3ugZarMPJXRE0kzrJTA=="], "@tanstack/react-store": ["@tanstack/react-store@0.11.0", "", { "dependencies": { "@tanstack/store": "0.11.0", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-tX4YXh3PDkmpvGQWkWqKpzs/MSqbtuwY9dWdWhtV9Q50PmO+jOkUKIWIX4G85dwt7lxdHLXsiaEKPdKmC8F41w=="], @@ -1090,13 +1090,13 @@ "@tanstack/react-virtual": ["@tanstack/react-virtual@3.14.2", "", { "dependencies": { "@tanstack/virtual-core": "3.17.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-IpWnmCLvuymRfeeLNVXIzNEYBFLpd3drVIS91sqV78VTZFyldlChkOocZRCPp1B+Wnk09bcLNme8WaMU/9/9bQ=="], - "@tanstack/router-cli": ["@tanstack/router-cli@1.167.12", "", { "dependencies": { "@tanstack/router-generator": "1.167.12", "chokidar": "^5.0.0", "yargs": "^17.7.2" }, "bin": { "tsr": "bin/tsr.cjs" } }, "sha512-7olQwX4Pyki8tsgc73iU2sK1ZhEtwTe8vYZn6qBfmH2FkrdzQ2kfbgO+4bBZEhckAFNwNqCklTZJYydCM3YuBA=="], + "@tanstack/router-cli": ["@tanstack/router-cli@1.167.13", "", { "dependencies": { "@tanstack/router-generator": "1.167.13", "chokidar": "^5.0.0", "yargs": "^17.7.2" }, "bin": { "tsr": "bin/tsr.cjs" } }, "sha512-wcWtxfh2Bow+1FxBnAEsggFFLlmBgF3YHXw4hqVlf6EOVljTISOQ2TjSGk3nEYca8J3MqQZDu77rkXIWiW105Q=="], - "@tanstack/router-core": ["@tanstack/router-core@1.171.8", "", { "dependencies": { "@tanstack/history": "1.162.0", "cookie-es": "^3.0.0", "seroval": "^1.5.4", "seroval-plugins": "^1.5.4" } }, "sha512-PbrTBbofFcacrH3RLgHYILRqTFnAGq+gXrXoA/vo7qUSkJpSO4GWfLtrtCahD4VayzRm19IPwcjPPLEugag6pw=="], + "@tanstack/router-core": ["@tanstack/router-core@1.171.9", "", { "dependencies": { "@tanstack/history": "1.162.0", "cookie-es": "^3.0.0", "seroval": "^1.5.4", "seroval-plugins": "^1.5.4" } }, "sha512-QM5ZwLT9c5ZcTJW0QQZRRIBC4qjImUyUCXCVyuYVOF9xr76XLsJSX4F2dOxr9VptAv+W+TkWNOYdX8VaO9kdgA=="], - "@tanstack/router-generator": ["@tanstack/router-generator@1.167.12", "", { "dependencies": { "@babel/types": "^7.28.5", "@tanstack/router-core": "1.171.8", "@tanstack/router-utils": "1.162.1", "@tanstack/virtual-file-routes": "1.162.0", "jiti": "^2.7.0", "magic-string": "^0.30.21", "prettier": "^3.5.0", "zod": "^4.4.3" } }, "sha512-FGr7nn6VhjL53TUCTyDgApSkAYRxhId+v0HVQdSu0ADkNuHY+sUnYEMqiF6aN82jYWuXzrSL1xazg6/rfEP82g=="], + "@tanstack/router-generator": ["@tanstack/router-generator@1.167.13", "", { "dependencies": { "@babel/types": "^7.28.5", "@tanstack/router-core": "1.171.9", "@tanstack/router-utils": "1.162.1", "@tanstack/virtual-file-routes": "1.162.0", "jiti": "^2.7.0", "magic-string": "^0.30.21", "prettier": "^3.5.0", "zod": "^4.4.3" } }, "sha512-DldbCjA8S/CXQBuoyQqr76xqZe9k+H1ymV+ugj2IBHFi4yRzx4z4f2nSsPYlLdpXD2Cf/MEjLncaG7ceY5H5ig=="], - "@tanstack/router-plugin": ["@tanstack/router-plugin@1.168.13", "", { "dependencies": { "@babel/core": "^7.28.5", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/plugin-syntax-typescript": "^7.27.1", "@babel/template": "^7.27.2", "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5", "@tanstack/router-core": "1.171.8", "@tanstack/router-generator": "1.167.12", "@tanstack/router-utils": "1.162.1", "@tanstack/virtual-file-routes": "1.162.0", "chokidar": "^5.0.0", "unplugin": "^3.0.0", "zod": "^4.4.3" }, "peerDependencies": { "@rsbuild/core": ">=1.0.2 || ^2.0.0", "@tanstack/react-router": "^1.170.10", "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0", "vite-plugin-solid": "^2.11.10 || ^3.0.0-0", "webpack": ">=5.92.0" }, "optionalPeers": ["@rsbuild/core", "@tanstack/react-router", "vite", "vite-plugin-solid", "webpack"] }, "sha512-LnepwDai+TaC4K3aZeXrrKpnGoP8xGGilVGFfa5flGgC3+jCSBysb8SktidRE8eF2/iOzCQC0LIGirtMyZepSA=="], + "@tanstack/router-plugin": ["@tanstack/router-plugin@1.168.14", "", { "dependencies": { "@babel/core": "^7.28.5", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/plugin-syntax-typescript": "^7.27.1", "@babel/template": "^7.27.2", "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5", "@tanstack/router-core": "1.171.9", "@tanstack/router-generator": "1.167.13", "@tanstack/router-utils": "1.162.1", "@tanstack/virtual-file-routes": "1.162.0", "chokidar": "^5.0.0", "unplugin": "^3.0.0", "zod": "^4.4.3" }, "peerDependencies": { "@rsbuild/core": ">=1.0.2 || ^2.0.0", "@tanstack/react-router": "^1.170.11", "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0", "vite-plugin-solid": "^2.11.10 || ^3.0.0-0", "webpack": ">=5.92.0" }, "optionalPeers": ["@rsbuild/core", "@tanstack/react-router", "vite", "vite-plugin-solid", "webpack"] }, "sha512-z+3vYJ7ouNnMzBIC1hsNWsxaQFu9Gf0WSdE3jBHWa326ipnONqDD5KeCqWGczq0HMdZY4UsDjyfvjucxXhrb0A=="], "@tanstack/router-utils": ["@tanstack/router-utils@1.162.1", "", { "dependencies": { "@babel/core": "^7.28.5", "@babel/generator": "^7.28.5", "@babel/parser": "^7.28.5", "@babel/types": "^7.28.5", "ansis": "^4.1.0", "babel-dead-code-elimination": "^1.0.12", "diff": "^8.0.2", "pathe": "^2.0.3", "tinyglobby": "^0.2.15" } }, "sha512-62layyTGmclHDQS/eidwKRfN1hhCKwViG7iEBcVmL0MXgcAB3OOucWCEcDDGd9Cu11H6b4QQ5oOo47MWIqwz0A=="], @@ -1204,25 +1204,25 @@ "@types/yauzl": ["@types/yauzl@2.10.3", "", { "dependencies": { "@types/node": "*" } }, "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q=="], - "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.60.0", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.60.0", "@typescript-eslint/type-utils": "8.60.0", "@typescript-eslint/utils": "8.60.0", "@typescript-eslint/visitor-keys": "8.60.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.60.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-QYb/sa74/s7OKMbACMjrYnGspj9Hs5YI5aaffSL65UfeBUzVzBJfVo3oWSpbzPurvm7yaCCo2Lk7lVj610HqKw=="], + "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.60.1", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.60.1", "@typescript-eslint/type-utils": "8.60.1", "@typescript-eslint/utils": "8.60.1", "@typescript-eslint/visitor-keys": "8.60.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.60.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-JQ4S5GB0tfjO8BuJ4fcX+HodkzJjYBV+7OJ+wLygaX7OGQ7FudyHL4NSCA6ob+w3Yn+5MkKIozOwQhXeM7opVg=="], - "@typescript-eslint/parser": ["@typescript-eslint/parser@8.60.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.60.0", "@typescript-eslint/types": "8.60.0", "@typescript-eslint/typescript-estree": "8.60.0", "@typescript-eslint/visitor-keys": "8.60.0", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-fcqpj/MyK4sxDPcbe7STNPbpQL4RLZOPWuaTmwZYuc+hJKzRf58yRxfhqGpc6PIq9ZyfSBpfHgmUHmHs0KwHwg=="], + "@typescript-eslint/parser": ["@typescript-eslint/parser@8.60.1", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.60.1", "@typescript-eslint/types": "8.60.1", "@typescript-eslint/typescript-estree": "8.60.1", "@typescript-eslint/visitor-keys": "8.60.1", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-A0M6ua6H252bVjPvvtSgl2QA4+ET9S5Mtkb2GDyTxIhH/C4qDItT7RQNO5PhMC6NXGYXOR9dIalcDDgBKT7oFA=="], - "@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.60.0", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.60.0", "@typescript-eslint/types": "^8.60.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-aZu74NNKJeUWqCjDddzdiKaS82dgYgV/vmf+Ui3ZdZejmgfXR/q+pRumgobnQ2cCJTgGTWp4ypiwsuofFubavg=="], + "@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.60.1", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.60.1", "@typescript-eslint/types": "^8.60.1", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-eXkTH2bxmXlqD1RnOPmLZ9ZM9D3VwSx04JOwBnP9RQ+yUA5a2Mu7SfW8uaV2Aon53NJzZlZYuX7tn91Izf+xaw=="], - "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.60.0", "", { "dependencies": { "@typescript-eslint/types": "8.60.0", "@typescript-eslint/visitor-keys": "8.60.0" } }, "sha512-pFzqhllJMs+jghLQWzV00ds39xLzuyqPSev5pd8f4Ir0rtKR3ZLUB4/4dhjOFighWb9larvtfJvqL+4yKDI3Xw=="], + "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.60.1", "", { "dependencies": { "@typescript-eslint/types": "8.60.1", "@typescript-eslint/visitor-keys": "8.60.1" } }, "sha512-gvI5OQoptnxQnchOirukCuQ55svJSTuD/4k5+pC267xyBtYry748R9/c3tYUzb/iE6RZfllRz2lVulLCHkTm4w=="], - "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.60.0", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-BZPR3RGYlAXnly6ymAxfkVn5rCbZzQNou0rxv3GfWZ8cTQp+hhVd73khbGLAd8k1TlAPLISH337M+tAgAnaJDQ=="], + "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.60.1", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-nh8w4qAteiKuZu3pSSzG/yGKpw0OlkrKnzFmbVRenKaD4qc+7i1GrmZaLVkr8rk4uipiPGMOW4YsM6WmKZ5CvA=="], - "@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.60.0", "", { "dependencies": { "@typescript-eslint/types": "8.60.0", "@typescript-eslint/typescript-estree": "8.60.0", "@typescript-eslint/utils": "8.60.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-SX46wEUtitCpq7AN38HkUU/+zvUpdKf7ephtWAFgckH8O7PQIyL5gvrhQgBLuEYgLfuKWOVvWVskMbuFHAz5xg=="], + "@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.60.1", "", { "dependencies": { "@typescript-eslint/types": "8.60.1", "@typescript-eslint/typescript-estree": "8.60.1", "@typescript-eslint/utils": "8.60.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-sdwTrpjosW7ANQYJ39ZBF1ZyEMEGVB2UsikrserVM/30a/F1dTLnu9bGxEdosugyu5caigjLrR2qiD11asjI1A=="], - "@typescript-eslint/types": ["@typescript-eslint/types@8.60.0", "", {}, "sha512-AsE7x2XaAK+CVbeih0Fvbn+r1qHxtpLDJ3XUuFcIinT318T90yHMJC+Zgv+jUuDjQQd06HKwxnDu6sz1IcTilA=="], + "@typescript-eslint/types": ["@typescript-eslint/types@8.60.1", "", {}, "sha512-4h0tY8ppCkdCzcrl2YM5M3my0xsE1Tf8om3owEu5oPWmXwkKRmk0j0LGDzYBGUcAlesEbxBhazqu/K4cu3Ug7w=="], - "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.60.0", "", { "dependencies": { "@typescript-eslint/project-service": "8.60.0", "@typescript-eslint/tsconfig-utils": "8.60.0", "@typescript-eslint/types": "8.60.0", "@typescript-eslint/visitor-keys": "8.60.0", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-3AcZNBGMClm6CXDyo8kYvVGT/sx29sS0oBsIb9oZI2gunA4Vm2M3YHzRLPvsUBBsl+yB5FPtltq7gGH0iTlp9g=="], + "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.60.1", "", { "dependencies": { "@typescript-eslint/project-service": "8.60.1", "@typescript-eslint/tsconfig-utils": "8.60.1", "@typescript-eslint/types": "8.60.1", "@typescript-eslint/visitor-keys": "8.60.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-alpRkfG8hlVE5kdJW2GkfgDgXxold3e8e4l6EnmhRmRLbekgAPCCGDVD++sABy9FcgPFroq+uFcCSM1vR57Cew=="], - "@typescript-eslint/utils": ["@typescript-eslint/utils@8.60.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.60.0", "@typescript-eslint/types": "8.60.0", "@typescript-eslint/typescript-estree": "8.60.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-HtXuPfrHTyBDkameWpl+vJb1Uevu2tznAyahM1Oc4AENidCLTPiZDWIo4GfcxNdC/RcfGcadzzkqbRG87dUrQA=="], + "@typescript-eslint/utils": ["@typescript-eslint/utils@8.60.1", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.60.1", "@typescript-eslint/types": "8.60.1", "@typescript-eslint/typescript-estree": "8.60.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-h2MPBLoNtjc3qZWfY3Tl51yPorQ2McHn8pJfcMNTcIvrrZrr90Ykffit0yjrPFWQcRcUxzH20+6OcVdW4yHtUg=="], - "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.60.0", "", { "dependencies": { "@typescript-eslint/types": "8.60.0", "eslint-visitor-keys": "^5.0.0" } }, "sha512-9WI52t8ZGLVGrPMBet25yAftqY/n95+zmoUUtJBBQTKDSKUu7OsPTroT2op7U9JatkoRccL0YkWDNMFfC4Sjxg=="], + "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.60.1", "", { "dependencies": { "@typescript-eslint/types": "8.60.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-EbGRQg4FhrmwLodl+t3JNAnXHWVr9Vp+Zl1QBZVPY4ByfkzIT8cX3K6QWODHtkIZqqJVEWvhHSx3v5PDHsaQag=="], "@ungap/structured-clone": ["@ungap/structured-clone@1.3.1", "", {}, "sha512-mUFwbeTqrVgDQxFveS+df2yfap6iuP20NAKAsBt5jDEoOTDew+zwLAOilHCeQJOVSvmgCX4ogqIrA0mnyr08yQ=="], @@ -1234,19 +1234,19 @@ "@vitejs/plugin-react": ["@vitejs/plugin-react@5.2.0", "", { "dependencies": { "@babel/core": "^7.29.0", "@babel/plugin-transform-react-jsx-self": "^7.27.1", "@babel/plugin-transform-react-jsx-source": "^7.27.1", "@rolldown/pluginutils": "1.0.0-rc.3", "@types/babel__core": "^7.20.5", "react-refresh": "^0.18.0" }, "peerDependencies": { "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-YmKkfhOAi3wsB1PhJq5Scj3GXMn3WvtQ/JC0xoopuHoXSdmtdStOpFrYaT1kie2YgFBcIe64ROzMYRjCrYOdYw=="], - "@vitest/expect": ["@vitest/expect@4.1.7", "", { "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.1.7", "@vitest/utils": "4.1.7", "chai": "^6.2.2", "tinyrainbow": "^3.1.0" } }, "sha512-1R+tw0ortHEbZDGMymm+pN7/AFQ/RkFFdtd7EN+VBpynKmLbP8A3rpEXdshBJ7+8hQ9zBJh/i1s0yKNtxAnU7w=="], + "@vitest/expect": ["@vitest/expect@4.1.8", "", { "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.1.8", "@vitest/utils": "4.1.8", "chai": "^6.2.2", "tinyrainbow": "^3.1.0" } }, "sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ=="], - "@vitest/mocker": ["@vitest/mocker@4.1.7", "", { "dependencies": { "@vitest/spy": "4.1.7", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-vY7nuamKgfvpA1Koa3oYIw/k7D6kZnpGyNMZW8loow2bsBYla1TFdqTaXncWdRn4pgwNs+90RhnXhJScDwQeJA=="], + "@vitest/mocker": ["@vitest/mocker@4.1.8", "", { "dependencies": { "@vitest/spy": "4.1.8", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw=="], - "@vitest/pretty-format": ["@vitest/pretty-format@4.1.7", "", { "dependencies": { "tinyrainbow": "^3.1.0" } }, "sha512-umgCarTOYQWIaDMvGDRZij+6b9oVeLIyJzfN+AS88e0ZOU3QTgNNSTtjQOpcvWr3np1N0j4WgZj+sb3oYBDscw=="], + "@vitest/pretty-format": ["@vitest/pretty-format@4.1.8", "", { "dependencies": { "tinyrainbow": "^3.1.0" } }, "sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA=="], - "@vitest/runner": ["@vitest/runner@4.1.7", "", { "dependencies": { "@vitest/utils": "4.1.7", "pathe": "^2.0.3" } }, "sha512-BapjmAQ2aI78WdMEfeUWivnfVzB+VPGwWRQcJE0OUq7qEeEcBsCSf+0T5iREBNE5nBb4wA5Ya0W6IA+sghdEFw=="], + "@vitest/runner": ["@vitest/runner@4.1.8", "", { "dependencies": { "@vitest/utils": "4.1.8", "pathe": "^2.0.3" } }, "sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg=="], - "@vitest/snapshot": ["@vitest/snapshot@4.1.7", "", { "dependencies": { "@vitest/pretty-format": "4.1.7", "@vitest/utils": "4.1.7", "magic-string": "^0.30.21", "pathe": "^2.0.3" } }, "sha512-ZacLzja+TmJeZ1h14xW2FB/WpeimUD3haBXQPyJqxvo8jQTmfeA8zv58mtjN2C7EHXZDYVcVYdYmAxjkWVvKCw=="], + "@vitest/snapshot": ["@vitest/snapshot@4.1.8", "", { "dependencies": { "@vitest/pretty-format": "4.1.8", "@vitest/utils": "4.1.8", "magic-string": "^0.30.21", "pathe": "^2.0.3" } }, "sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ=="], - "@vitest/spy": ["@vitest/spy@4.1.7", "", {}, "sha512-kbkI5LMWakyuTIvs6fUJ5qdIVb1XVKsYJAT4OJ938cHMROYMSfmoQdZy0aaAnjbbc8F61vkoTqz/Az+/HiIu5Q=="], + "@vitest/spy": ["@vitest/spy@4.1.8", "", {}, "sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA=="], - "@vitest/utils": ["@vitest/utils@4.1.7", "", { "dependencies": { "@vitest/pretty-format": "4.1.7", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" } }, "sha512-T532WBu791cBxJlCl6SO+J14l81DQx6uQHm1bQbmCDY7nqlEIgkza/UFnSBNaUtSf41unldDFjdOBYEQC4b5Hw=="], + "@vitest/utils": ["@vitest/utils@4.1.8", "", { "dependencies": { "@vitest/pretty-format": "4.1.8", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" } }, "sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg=="], "@webassemblyjs/ast": ["@webassemblyjs/ast@1.14.1", "", { "dependencies": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" } }, "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ=="], @@ -2524,7 +2524,7 @@ "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], - "typescript-eslint": ["typescript-eslint@8.60.0", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.60.0", "@typescript-eslint/parser": "8.60.0", "@typescript-eslint/typescript-estree": "8.60.0", "@typescript-eslint/utils": "8.60.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-9f65qWLZdAW9m1JaxBDUHcqRUfL8bkxxXL7XxEfI+F09q56PkBvIfCjLF3yInsDM/BBmwkqmCQdCZe/RYlIWEw=="], + "typescript-eslint": ["typescript-eslint@8.60.1", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.60.1", "@typescript-eslint/parser": "8.60.1", "@typescript-eslint/typescript-estree": "8.60.1", "@typescript-eslint/utils": "8.60.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-6m5hkkRAp8lKvhVpcprAIn5KkehQEh+47oHH2VGnExEh7dhNxXlg6GPAOIu6TxbVQxhebrJDvjl3020ooiWCMA=="], "ulid": ["ulid@3.0.2", "", { "bin": { "ulid": "dist/cli.js" } }, "sha512-yu26mwteFYzBAot7KVMqFGCVpsF6g8wXfJzQUHvu1no3+rRRSFcSV2nKeYvNPLD2J4b08jYBDhHUjeH0ygIl9w=="], @@ -2588,7 +2588,7 @@ "vite-tsconfig-paths": ["vite-tsconfig-paths@6.1.1", "", { "dependencies": { "debug": "^4.1.1", "globrex": "^0.1.2", "tsconfck": "^3.0.3" }, "peerDependencies": { "vite": "*" } }, "sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg=="], - "vitest": ["vitest@4.1.7", "", { "dependencies": { "@vitest/expect": "4.1.7", "@vitest/mocker": "4.1.7", "@vitest/pretty-format": "4.1.7", "@vitest/runner": "4.1.7", "@vitest/snapshot": "4.1.7", "@vitest/spy": "4.1.7", "@vitest/utils": "4.1.7", "es-module-lexer": "^2.0.0", "expect-type": "^1.3.0", "magic-string": "^0.30.21", "obug": "^2.1.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "std-env": "^4.0.0-rc.1", "tinybench": "^2.9.0", "tinyexec": "^1.0.2", "tinyglobby": "^0.2.15", "tinyrainbow": "^3.1.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "4.1.7", "@vitest/browser-preview": "4.1.7", "@vitest/browser-webdriverio": "4.1.7", "@vitest/coverage-istanbul": "4.1.7", "@vitest/coverage-v8": "4.1.7", "@vitest/ui": "4.1.7", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/coverage-istanbul", "@vitest/coverage-v8", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-flYyaFd2CgoCoU+0UKt3pxksgC+S02iTDN0n3LtqaMeXsI9SBcdNujc2k0DeFLzUn/0k538yNjOSdwgCqcrwJA=="], + "vitest": ["vitest@4.1.8", "", { "dependencies": { "@vitest/expect": "4.1.8", "@vitest/mocker": "4.1.8", "@vitest/pretty-format": "4.1.8", "@vitest/runner": "4.1.8", "@vitest/snapshot": "4.1.8", "@vitest/spy": "4.1.8", "@vitest/utils": "4.1.8", "es-module-lexer": "^2.0.0", "expect-type": "^1.3.0", "magic-string": "^0.30.21", "obug": "^2.1.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "std-env": "^4.0.0-rc.1", "tinybench": "^2.9.0", "tinyexec": "^1.0.2", "tinyglobby": "^0.2.15", "tinyrainbow": "^3.1.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "4.1.8", "@vitest/browser-preview": "4.1.8", "@vitest/browser-webdriverio": "4.1.8", "@vitest/coverage-istanbul": "4.1.8", "@vitest/coverage-v8": "4.1.8", "@vitest/ui": "4.1.8", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/coverage-istanbul", "@vitest/coverage-v8", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig=="], "watchpack": ["watchpack@2.5.1", "", { "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" } }, "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg=="], @@ -2876,12 +2876,6 @@ "@reduxjs/toolkit/immer": ["immer@11.1.8", "", {}, "sha512-/tbkHMW7y10Lx6i1crLjD4/OhNkRG+Fo7byZHtah0547nIeXYcpIXaUh0IAQY6gO5459qpGGYapcEOHtFXkIuA=="], - "@shumai/transcode/ulid": ["ulid@2.4.0", "", { "bin": { "ulid": "bin/cli.js" } }, "sha512-fIRiVTJNcSRmXKPZtGzFQv9WRrZ3M9eoptl/teFJvjOzmpU+/K/JH6HZ8deBfb5vMEpicJcLn7JmvdknlMq7Zg=="], - - "@shumai/webui/@tanstack/react-virtual": ["@tanstack/react-virtual@3.13.26", "", { "dependencies": { "@tanstack/virtual-core": "3.16.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-DosdgjOxCLahkn0o+ilmZYwEjo1glfMGuRT/j3PQ18yr5XqA8N/BCaL9IJ3B5TRl+nnzyK2IOFgAILwzN3a9xQ=="], - - "@shumai/webui/better-auth": ["better-auth@1.6.13", "", { "dependencies": { "@better-auth/core": "1.6.13", "@better-auth/drizzle-adapter": "1.6.13", "@better-auth/kysely-adapter": "1.6.13", "@better-auth/memory-adapter": "1.6.13", "@better-auth/mongo-adapter": "1.6.13", "@better-auth/prisma-adapter": "1.6.13", "@better-auth/telemetry": "1.6.13", "@better-auth/utils": "0.4.1", "@better-fetch/fetch": "1.1.21", "@noble/ciphers": "^2.1.1", "@noble/hashes": "^2.0.1", "better-call": "1.3.5", "defu": "^6.1.4", "jose": "^6.1.3", "kysely": "^0.28.17 || ^0.29.0", "nanostores": "^1.1.1", "zod": "^4.3.6" }, "peerDependencies": { "@lynx-js/react": "*", "@prisma/client": "^5.0.0 || ^6.0.0 || ^7.0.0", "@sveltejs/kit": "^2.0.0", "@tanstack/react-start": "^1.0.0", "@tanstack/solid-start": "^1.0.0", "better-sqlite3": "^12.0.0", "drizzle-kit": ">=0.31.4", "drizzle-orm": "^0.45.2", "mongodb": "^6.0.0 || ^7.0.0", "mysql2": "^3.0.0", "next": "^14.0.0 || ^15.0.0 || ^16.0.0", "pg": "^8.0.0", "prisma": "^5.0.0 || ^6.0.0 || ^7.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", "solid-js": "^1.0.0", "svelte": "^4.0.0 || ^5.0.0", "vitest": "^2.0.0 || ^3.0.0 || ^4.0.0", "vue": "^3.0.0" }, "optionalPeers": ["@lynx-js/react", "@prisma/client", "@sveltejs/kit", "@tanstack/react-start", "@tanstack/solid-start", "better-sqlite3", "drizzle-kit", "drizzle-orm", "mongodb", "mysql2", "next", "pg", "prisma", "react", "react-dom", "solid-js", "svelte", "vitest", "vue"] }, "sha512-jn8ATnGWDzMwpO4a/3iyW1/RayOF/aoPQOfAeqyCVnQCdqkaONVas9CjbY6PovMsTMa/MG+GRABySfzqtj5J/g=="], - "@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/core@1.10.0", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" }, "bundled": true }, "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw=="], "@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/runtime@1.10.0", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA=="], @@ -2916,10 +2910,6 @@ "@typescript-eslint/eslint-plugin/ignore": ["ignore@7.0.5", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="], - "@typescript-eslint/project-service/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.60.1", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-nh8w4qAteiKuZu3pSSzG/yGKpw0OlkrKnzFmbVRenKaD4qc+7i1GrmZaLVkr8rk4uipiPGMOW4YsM6WmKZ5CvA=="], - - "@typescript-eslint/project-service/@typescript-eslint/types": ["@typescript-eslint/types@8.60.1", "", {}, "sha512-4h0tY8ppCkdCzcrl2YM5M3my0xsE1Tf8om3owEu5oPWmXwkKRmk0j0LGDzYBGUcAlesEbxBhazqu/K4cu3Ug7w=="], - "@typescript-eslint/typescript-estree/semver": ["semver@7.8.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg=="], "ajv-formats/ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="], @@ -3182,26 +3172,6 @@ "@radix-ui/react-tooltip/@radix-ui/react-use-controllable-state/@radix-ui/react-use-layout-effect": ["@radix-ui/react-use-layout-effect@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ=="], - "@shumai/webui/@tanstack/react-virtual/@tanstack/virtual-core": ["@tanstack/virtual-core@3.16.0", "", {}, "sha512-Er2N7q3WOiH6y2JLxsxNX+u2/sLqSsL0bxFgDjuiPiA7vKhZRm+IzcS17vRee3GNXr64UsesA5CAp9yTiIYw9A=="], - - "@shumai/webui/better-auth/@better-auth/core": ["@better-auth/core@1.6.13", "", { "dependencies": { "@opentelemetry/semantic-conventions": "^1.39.0", "@standard-schema/spec": "^1.1.0", "zod": "^4.3.6" }, "peerDependencies": { "@better-auth/utils": "0.4.1", "@better-fetch/fetch": "1.1.21", "@cloudflare/workers-types": ">=4", "@opentelemetry/api": "^1.9.0", "better-call": "1.3.5", "jose": "^6.1.0", "kysely": "^0.28.5 || ^0.29.0", "nanostores": "^1.0.1" }, "optionalPeers": ["@cloudflare/workers-types", "@opentelemetry/api"] }, "sha512-3YNjiLUmlNt5T9qQ/weu0tZgGgXDSYax4EE/uLUBIBBGtQI9Q3KdEnO6tfPgDedborcSE1bIspuAIaHpaHwxZQ=="], - - "@shumai/webui/better-auth/@better-auth/drizzle-adapter": ["@better-auth/drizzle-adapter@1.6.13", "", { "peerDependencies": { "@better-auth/core": "^1.6.13", "@better-auth/utils": "0.4.1", "drizzle-orm": "^0.45.2" }, "optionalPeers": ["drizzle-orm"] }, "sha512-0V6e+e7TnIZZDjhQP/tvAberSrdrf5yfbDSx5oDFsfI5MCh2ATvbuTPNxGWbLdbGnUYfbX4K9FZwzKMj8RpLmg=="], - - "@shumai/webui/better-auth/@better-auth/kysely-adapter": ["@better-auth/kysely-adapter@1.6.13", "", { "peerDependencies": { "@better-auth/core": "^1.6.13", "@better-auth/utils": "0.4.1", "kysely": "^0.28.17 || ^0.29.0" }, "optionalPeers": ["kysely"] }, "sha512-r+TeBL9dJecuCaSMqL3106qwaXYL3GAkoJDfmtbZ2eZ/Ejr9xVj5msJnSULb0ZqyQ1g5SCbnM39WZaCOFirziQ=="], - - "@shumai/webui/better-auth/@better-auth/memory-adapter": ["@better-auth/memory-adapter@1.6.13", "", { "peerDependencies": { "@better-auth/core": "^1.6.13", "@better-auth/utils": "0.4.1" } }, "sha512-upmNncEwm9Q0MpWLVOdx9Pe3fU/aqobO80zwI+WVCavxmL59SufW5Ud7194/J5ushw4Dd52XNn0XWPJT1ZUThg=="], - - "@shumai/webui/better-auth/@better-auth/mongo-adapter": ["@better-auth/mongo-adapter@1.6.13", "", { "peerDependencies": { "@better-auth/core": "^1.6.13", "@better-auth/utils": "0.4.1", "mongodb": "^6.0.0 || ^7.0.0" }, "optionalPeers": ["mongodb"] }, "sha512-u0g5KThZQInx4QxsaXDJ+Yg5A9z/ia/3EBwi+gI7+kSTKkeT9PZZ6J+erwJ5Sh4d0JUQsEX2DX2YRsg/mYnXWQ=="], - - "@shumai/webui/better-auth/@better-auth/prisma-adapter": ["@better-auth/prisma-adapter@1.6.13", "", { "peerDependencies": { "@better-auth/core": "^1.6.13", "@better-auth/utils": "0.4.1", "@prisma/client": "^5.0.0 || ^6.0.0 || ^7.0.0", "prisma": "^5.0.0 || ^6.0.0 || ^7.0.0" }, "optionalPeers": ["@prisma/client", "prisma"] }, "sha512-gjmUIdqmxWb4WoNEN5rTQYQli6A9fPopAaVDiLh/gwO3ET10/PuOEwfESePEwUbArlKLLK3hPEWWe0RBojyxgQ=="], - - "@shumai/webui/better-auth/@better-auth/telemetry": ["@better-auth/telemetry@1.6.13", "", { "peerDependencies": { "@better-auth/core": "^1.6.13", "@better-auth/utils": "0.4.1", "@better-fetch/fetch": "1.1.21" } }, "sha512-CXfPPL55mZrGH1FUhZOw9REp2WRJoVjCh9egn+cIx3ReB/OnPz+eHSRft/IVLD2PQyP1FNr1Au89SXd2oPBUPg=="], - - "@shumai/webui/better-auth/@better-auth/utils": ["@better-auth/utils@0.4.1", "", { "dependencies": { "@noble/hashes": "^2.0.1" } }, "sha512-SZBPRPF3z0nBvE5ygOkxae35wnnXPRShmqFo78S+qslLeFoPu/pMgnXAuNKFMMybac3tiLaVg1e3MQW5MC+1iA=="], - - "@shumai/webui/better-auth/kysely": ["kysely@0.29.2", "", {}, "sha512-s6WVJyEZrbm6jhBpiKHsGHyePMrVQKJ85wZCFCr9W4QHv6WTjWIrdvTmO9hDEA3bNK0xkrE2DqrHsXMLWuZpQg=="], - "@tanstack/react-router/@tanstack/react-store/@tanstack/store": ["@tanstack/store@0.9.3", "", {}, "sha512-8reSzl/qGWGGVKhBoxXPMWzATSbZLZFWhwBAFO9NAyp0TxzfBP0mIrGb8CP8KrQTmvzXlR/vFPPUrHTLBGyFyw=="], "@temporalio/proto/protobufjs/@types/node": ["@types/node@22.19.19", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-dyh/xO2Fh5bYrfWaaqGrRQQGkNdmYw6AmaAUvYeUMNTWQtvb796ikLdmTchRmOlOiIJ1TDXfWgVx1QkUlQ6Hew=="], diff --git a/bunfig.toml b/bunfig.toml index fa8c0e0f..6a121e8a 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -2,4 +2,5 @@ plugins = ["bun-plugin-tailwind"] [install] -minimumReleaseAge = 604800 # 7 days in seconds \ No newline at end of file +minimumReleaseAge = 604800 # 7 days in seconds +exact = true \ No newline at end of file diff --git a/package.json b/package.json index 0be59a20..fb354bac 100644 --- a/package.json +++ b/package.json @@ -29,28 +29,28 @@ "release:major": "bun run scripts/release.ts major" }, "devDependencies": { - "@eslint/js": "^10.0.1", - "@testcontainers/postgresql": "^12.0.1", - "@types/bun": "^1.3.14", - "@types/node": "^25.9.1", - "bun-plugin-pino": "^1.5.0", - "bun-plugin-tailwind": "^0.1.2", - "bun-types": "^1.3.14", - "pino-pretty": "^13.1.3", - "eslint": "^10.4.1", - "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.6", - "eslint-plugin-react": "^7.37.5", - "globals": "^17.6.0", - "prisma": "^7.8.0", - "testcontainers": "^12.0.1", - "typescript": "^6.0.3", - "typescript-eslint": "^8.60.0", - "vitest": "^4.1.7", - "vite-tsconfig-paths": "^6.1.1" + "@eslint/js": "10.0.1", + "@testcontainers/postgresql": "12.0.1", + "@types/bun": "1.3.14", + "@types/node": "25.9.1", + "bun-plugin-pino": "1.5.0", + "bun-plugin-tailwind": "0.1.2", + "bun-types": "1.3.14", + "pino-pretty": "13.1.3", + "eslint": "10.4.1", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-prettier": "5.5.6", + "eslint-plugin-react": "7.37.5", + "globals": "17.6.0", + "prisma": "7.8.0", + "testcontainers": "12.0.1", + "typescript": "6.0.3", + "typescript-eslint": "8.60.1", + "vitest": "4.1.8", + "vite-tsconfig-paths": "6.1.1" }, "dependencies": { - "@tanstack/react-virtual": "^3.14.2", - "jittered-fractional-indexing": "^1.0.1" + "@tanstack/react-virtual": "3.14.2", + "jittered-fractional-indexing": "1.0.1" } } diff --git a/packages/agent/package.json b/packages/agent/package.json index 5b040d76..400f18a7 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -10,19 +10,19 @@ "@shumai/dtos": "workspace:*", "@shumai/core": "workspace:*", "@shumai/workflow-core": "workspace:*", - "@google/genai": "^1.50.1", - "@anthropic-ai/sandbox-runtime": "^0.0.52", + "@google/genai": "1.52.0", + "@anthropic-ai/sandbox-runtime": "0.0.52", "@earendil-works/pi-agent-core": "0.78.0", "@earendil-works/pi-ai": "0.75.4", - "@temporalio/activity": "^1.16.1", - "@temporalio/worker": "^1.16.1", - "@temporalio/workflow": "^1.16.1", - "@sinclair/typebox": "^0.34.49", - "ulid": "^3.0.2", - "adm-zip": "^0.5.17", - "zod": "^4.4.3" + "@temporalio/activity": "1.17.2", + "@temporalio/worker": "1.17.2", + "@temporalio/workflow": "1.17.2", + "@sinclair/typebox": "0.34.49", + "ulid": "3.0.2", + "adm-zip": "0.5.17", + "zod": "4.4.3" }, "devDependencies": { - "@types/adm-zip": "^0.5.8" + "@types/adm-zip": "0.5.8" } } diff --git a/packages/api/package.json b/packages/api/package.json index 42d36654..ba37aed9 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -9,10 +9,10 @@ "@shumai/core": "workspace:*", "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", - "hono": "^4.12.14", - "@hono/zod-validator": "^0.7.6", - "zod": "^4.4.3", - "pino": "^10.3.1", - "ulid": "^3.0.2" + "hono": "4.12.23", + "@hono/zod-validator": "0.7.6", + "zod": "4.4.3", + "pino": "10.3.1", + "ulid": "3.0.2" } } diff --git a/packages/core/package.json b/packages/core/package.json index b439d7c7..ee569c6b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -8,23 +8,23 @@ "dependencies": { "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", - "@sinclair/typebox": "^0.34.49", - "adm-zip": "^0.5.17", + "@sinclair/typebox": "0.34.49", + "adm-zip": "0.5.17", "better-auth": "1.6.11", - "date-fns": "^4.4.0", - "dotenv": "^16.4.7", - "dotenv-expand": "^13.0.0", - "extract-zip": "^2.0.1", - "jittered-fractional-indexing": "^1.0.1", - "pino": "^10.3.1", - "tweetnacl": "^1.0.3", - "ulid": "^3.0.2", - "yaml": "^2.7.0", - "hono": "^4.12.14", - "zod": "^4.4.3" + "date-fns": "4.4.0", + "dotenv": "16.6.1", + "dotenv-expand": "13.0.0", + "extract-zip": "2.0.1", + "hono": "4.12.23", + "jittered-fractional-indexing": "1.0.1", + "pino": "10.3.1", + "tweetnacl": "1.0.3", + "ulid": "3.0.2", + "yaml": "2.9.0", + "zod": "4.4.3" }, "devDependencies": { - "@types/adm-zip": "^0.5.8", - "@types/extract-zip": "^2.0.3" + "@types/adm-zip": "0.5.8", + "@types/extract-zip": "2.0.3" } } diff --git a/packages/db/package.json b/packages/db/package.json index 7e4a24b2..7661051e 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -6,15 +6,15 @@ "main": "./src/index.ts", "types": "./src/index.ts", "dependencies": { - "@prisma/adapter-pg": "^7.7.0", - "@prisma/client": "^7.7.0", - "pg": "^8.20.0", + "@prisma/adapter-pg": "7.8.0", + "@prisma/client": "7.8.0", + "pg": "8.21.0", "@earendil-works/pi-agent-core": "0.78.0", - "zod": "^4.4.3" + "zod": "4.4.3" }, "devDependencies": { - "@types/pg": "^8.20.0", - "prisma": "^7.7.0", - "prisma-json-types-generator": "^4.1.1" + "@types/pg": "8.20.0", + "prisma": "7.8.0", + "prisma-json-types-generator": "4.1.1" } } diff --git a/packages/dtos/package.json b/packages/dtos/package.json index c4ed8424..99ef2e5e 100644 --- a/packages/dtos/package.json +++ b/packages/dtos/package.json @@ -6,6 +6,6 @@ "main": "./src/index.ts", "types": "./src/index.ts", "dependencies": { - "zod": "^4.4.3" + "zod": "4.4.3" } } diff --git a/packages/transcode/package.json b/packages/transcode/package.json index 2159b7a2..1385c005 100644 --- a/packages/transcode/package.json +++ b/packages/transcode/package.json @@ -10,10 +10,10 @@ "@shumai/dtos": "workspace:*", "@shumai/core": "workspace:*", "@shumai/workflow-core": "workspace:*", - "@temporalio/activity": "^1.16.1", - "@temporalio/worker": "^1.16.1", - "@temporalio/workflow": "^1.16.1", - "sharp": "^0.34.5", - "ulid": "^2.3.0" + "@temporalio/activity": "1.17.2", + "@temporalio/worker": "1.17.2", + "@temporalio/workflow": "1.17.2", + "sharp": "0.34.5", + "ulid": "3.0.2" } } diff --git a/packages/webui/package.json b/packages/webui/package.json index 38c460b2..b42e095f 100644 --- a/packages/webui/package.json +++ b/packages/webui/package.json @@ -5,20 +5,20 @@ "type": "module", "main": "./index.html", "dependencies": { - "@base-ui/react": "^1.5.0", - "@dnd-kit/abstract": "^0.4.0", - "@dnd-kit/dom": "^0.4.0", - "@dnd-kit/react": "^0.4.0", - "@hookform/resolvers": "^5.4.0", - "@lexical/code": "^0.42.0", - "@lexical/link": "^0.42.0", - "@lexical/list": "^0.42.0", - "@lexical/markdown": "^0.42.0", - "@lexical/react": "^0.42.0", - "@lexical/rich-text": "^0.42.0", - "@lexical/selection": "^0.42.0", - "@lexical/table": "^0.42.0", - "@lexical/utils": "^0.42.0", + "@base-ui/react": "1.5.0", + "@dnd-kit/abstract": "0.4.0", + "@dnd-kit/dom": "0.4.0", + "@dnd-kit/react": "0.4.0", + "@hookform/resolvers": "5.4.0", + "@lexical/code": "0.42.0", + "@lexical/link": "0.42.0", + "@lexical/list": "0.42.0", + "@lexical/markdown": "0.42.0", + "@lexical/react": "0.42.0", + "@lexical/rich-text": "0.42.0", + "@lexical/selection": "0.42.0", + "@lexical/table": "0.42.0", + "@lexical/utils": "0.42.0", "@radix-ui/react-accordion": "1.2.2", "@radix-ui/react-alert-dialog": "1.1.4", "@radix-ui/react-aspect-ratio": "1.1.1", @@ -26,10 +26,10 @@ "@radix-ui/react-checkbox": "1.1.3", "@radix-ui/react-collapsible": "1.1.2", "@radix-ui/react-context-menu": "2.2.4", - "@radix-ui/react-dialog": "^1.1.15", + "@radix-ui/react-dialog": "1.1.15", "@radix-ui/react-dropdown-menu": "2.1.4", "@radix-ui/react-hover-card": "1.1.4", - "@radix-ui/react-label": "^2.1.8", + "@radix-ui/react-label": "2.1.8", "@radix-ui/react-menubar": "1.1.4", "@radix-ui/react-navigation-menu": "1.2.3", "@radix-ui/react-popover": "1.1.4", @@ -37,66 +37,66 @@ "@radix-ui/react-radio-group": "1.2.2", "@radix-ui/react-scroll-area": "1.2.2", "@radix-ui/react-select": "2.1.4", - "@radix-ui/react-separator": "^1.1.8", + "@radix-ui/react-separator": "1.1.8", "@radix-ui/react-slider": "1.2.2", - "@radix-ui/react-slot": "^1.2.4", + "@radix-ui/react-slot": "1.2.4", "@radix-ui/react-switch": "1.1.2", "@radix-ui/react-tabs": "1.1.2", "@radix-ui/react-toast": "1.2.4", "@radix-ui/react-toggle": "1.1.1", "@radix-ui/react-toggle-group": "1.1.1", - "@radix-ui/react-tooltip": "^1.2.8", + "@radix-ui/react-tooltip": "1.2.8", "@shumai/api": "workspace:*", - "@tanstack/react-form": "^1.32.0", + "@tanstack/react-form": "1.33.0", "@tanstack/react-query": "5.90.10", - "@tanstack/react-router": "^1.136.8", - "@tanstack/react-table": "^8.21.3", - "@tanstack/react-virtual": "^3.13.26", - "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", - "cmdk": "^1.1.1", - "embla-carousel-react": "^8.6.0", - "input-otp": "^1.4.2", - "konva": "^10.0.12", - "lexical": "^0.42.0", - "lucide-react": "^1.17.0", - "next-themes": "^0.4.6", + "@tanstack/react-router": "1.170.11", + "@tanstack/react-table": "8.21.3", + "@tanstack/react-virtual": "3.14.2", + "class-variance-authority": "0.7.1", + "clsx": "2.1.1", + "cmdk": "1.1.1", + "embla-carousel-react": "8.6.0", + "input-otp": "1.4.2", + "konva": "10.3.0", + "lexical": "0.42.0", + "lucide-react": "1.17.0", + "next-themes": "0.4.6", "react": "19.2.0", - "react-day-picker": "^10.0.1", + "react-day-picker": "10.0.1", "react-dom": "19.2.0", - "react-hook-form": "^7.76.1", - "react-intersection-observer": "^10.0.0", - "react-konva": "^19.2.1", - "react-markdown": "^10.1.0", - "react-resizable-panels": "^4", + "react-hook-form": "7.77.0", + "react-intersection-observer": "10.0.3", + "react-konva": "19.2.4", + "react-markdown": "10.1.0", + "react-resizable-panels": "4.11.2", "recharts": "3.8.0", - "sonner": "^2.0.7", - "tailwind-merge": "^2.5.5", - "tailwindcss-animate": "^1.0.7", - "use-image": "^1.1.4", - "vaul": "^1.1.2", - "video.js": "^8.23.4", - "zustand": "^5.0.8", - "better-auth": "^1.6.6", - "radix-ui": "^1.4.3", - "zod": "^4.4.3", - "date-fns": "^4.4.0", - "hono": "^4.12.14", + "sonner": "2.0.7", + "tailwind-merge": "2.6.1", + "tailwindcss-animate": "1.0.7", + "use-image": "1.1.4", + "vaul": "1.1.2", + "video.js": "8.23.7", + "zustand": "5.0.14", + "better-auth": "1.6.11", + "radix-ui": "1.4.3", + "zod": "4.4.3", + "date-fns": "4.4.0", + "hono": "4.12.23", "@shumai/dtos": "workspace:*" }, "devDependencies": { - "@tailwindcss/postcss": "^4.1.9", - "@tailwindcss/vite": "^4.1.17", - "@tanstack/router-cli": "^1.136.8", - "@tanstack/router-plugin": "^1.136.8", - "@types/react": "^19", - "@types/react-dom": "^19", - "@vitejs/plugin-react": "^5.1.1", - "autoprefixer": "^10.4.20", - "postcss": "^8.5", - "tailwindcss": "^4.2.2", + "@tailwindcss/postcss": "4.3.0", + "@tailwindcss/vite": "4.3.0", + "@tanstack/router-cli": "1.167.13", + "@tanstack/router-plugin": "1.168.14", + "@types/react": "19.2.16", + "@types/react-dom": "19.2.3", + "@vitejs/plugin-react": "5.2.0", + "autoprefixer": "10.5.0", + "postcss": "8.5.15", + "tailwindcss": "4.3.0", "tw-animate-css": "1.3.3", - "vite": "^7.2.2", - "vite-tsconfig-paths": "^6.1.1" + "vite": "7.3.5", + "vite-tsconfig-paths": "6.1.1" } } diff --git a/packages/workflow-core/package.json b/packages/workflow-core/package.json index 83a37b7f..7a0db689 100644 --- a/packages/workflow-core/package.json +++ b/packages/workflow-core/package.json @@ -9,8 +9,8 @@ "@shumai/db": "workspace:*", "@shumai/dtos": "workspace:*", "@shumai/core": "workspace:*", - "@temporalio/client": "^1.16.1", - "@temporalio/workflow": "^1.16.1", - "@temporalio/worker": "^1.16.1" + "@temporalio/client": "1.17.2", + "@temporalio/workflow": "1.17.2", + "@temporalio/worker": "1.17.2" } } diff --git a/scripts/build-npm.ts b/scripts/build-npm.ts index 955e1c2f..b9c23574 100644 --- a/scripts/build-npm.ts +++ b/scripts/build-npm.ts @@ -33,6 +33,23 @@ const commonExternal = [ 'prisma', ] +// Extract exact dependency versions from workspace +console.log('🔍 Extracting exact dependency versions for runtime packages...') +const lsOutput = Bun.spawnSync(['bun', 'pm', 'ls', '--all']).stdout.toString() +const dependencyVersions: Record = {} + +for (const dep of commonExternal) { + const escapedDep = dep.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') + const regex = new RegExp(`(?:^|\\s)${escapedDep}@(\\d+\\.\\d+\\.\\d+[^\\s]*)`, 'g') + const match = regex.exec(lsOutput) + if (match && match[1]) { + dependencyVersions[dep] = match[1] + console.log(` ✅ Found ${dep}@${match[1]}`) + } else { + console.warn(` ⚠️ Warning: Could not find exact version for ${dep}`) + } +} + const targets = [ { platform: 'darwin', arch: 'arm64', bunTarget: 'bun-darwin-arm64', suffix: '' }, { platform: 'darwin', arch: 'x64', bunTarget: 'bun-darwin-x64', suffix: '' }, @@ -257,17 +274,7 @@ child.on('error', (err) => { ) const dependencies = { - '@prisma/client': '^7.7.0', - '@prisma/adapter-pg': '^7.7.0', - pg: '^8.20.0', - sharp: '^0.34.5', - pino: '^10.3.1', - 'pino-pretty': '^13.1.3', - '@temporalio/activity': '^1.16.1', - '@temporalio/client': '^1.16.1', - '@temporalio/worker': '^1.16.1', - '@temporalio/workflow': '^1.16.1', - prisma: '^7.7.0', + ...dependencyVersions, ...extraDependencies, } diff --git a/scripts/extract-runtime-deps.ts b/scripts/extract-runtime-deps.ts new file mode 100644 index 00000000..6d34149e --- /dev/null +++ b/scripts/extract-runtime-deps.ts @@ -0,0 +1,71 @@ +import { execSync } from 'node:child_process'; +import { writeFileSync } from 'node:fs'; + +/** + * This script extracts the exact versions of specific runtime dependencies + * from the current workspace using `bun pm ls --all`. + * It generates a `runner-package.json` that is used in the final stage of the Docker build + * to ensure that production dependencies match development/build versions exactly. + */ + +const depsToExtract = [ + '@temporalio/activity', + '@temporalio/client', + '@temporalio/worker', + '@temporalio/workflow', + 'prisma', + 'sharp' +]; + +function run(cmd: string) { + try { + return execSync(cmd, { encoding: 'utf-8', stdio: 'pipe' }); + } catch { + console.error(`Command failed: ${cmd}`); + return null; + } +} + +console.log('Extracting runtime dependency versions using `bun pm ls --all`...'); + +const output = run('bun pm ls --all'); + +if (!output) { + console.error('Failed to get dependency list from bun.'); + process.exit(1); +} + +const deps: Record = {}; + +for (const dep of depsToExtract) { + // regex to find the version after the package name in `bun pm ls` output + // e.g., ├── @temporalio/client@1.17.2 + const escapedDep = dep.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + const regex = new RegExp(`(?:^|\\s)${escapedDep}@(\\d+\\.\\d+\\.\\d+[^\\s]*)`, 'g'); + const match = regex.exec(output); + + if (match && match[1]) { + // If there are multiple matches (different versions in workspace), we take the first one found. + // In our pinned workspace, they should all be the same. + deps[dep] = match[1]; + console.log(` Found ${dep}@${match[1]}`); + } else { + console.warn(` Warning: Could not find version for ${dep} in \`bun pm ls --all\` output.`); + } +} + +if (Object.keys(deps).length === 0) { + console.error('Error: No dependencies were extracted. Check if `bun install` was run correctly.'); + process.exit(1); +} + +const runnerPkg = { + name: "shumai-runner", + version: "1.0.0", + private: true, + dependencies: deps +}; + +const outputPath = 'runner-package.json'; +writeFileSync(outputPath, JSON.stringify(runnerPkg, null, 2) + '\n', 'utf-8'); +console.log(`\nGenerated ${outputPath} with ${Object.keys(deps).length} dependencies for Docker runner stage.`);