From 222716d59939c925204ef6bd040773b10cbea7dc Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 8 Jul 2026 15:57:50 -0700 Subject: [PATCH 1/3] chore(typescript): upgrade to TypeScript 7 (native Go compiler) Bumps typescript to ^7.0.2 across every workspace package. Full bun run type-check/lint/build/test all pass; apps/sim's type-check (the one needing an 8GB heap bump) drops from ~55s to ~7s wall time. Migration fixes required by TS7's stricter defaults: - baseUrl removed: drop it from 5 tsconfigs (paths already resolved relative to tsconfig dir, so behavior is unchanged) and prefix the one bare (non-relative) paths entry each in apps/sim and apps/realtime with './' - moduleResolution=node10 removed: switch packages/cli and packages/ts-sdk to "bundler", matching the rest of the monorepo - types now defaults to [] instead of auto-including every @types/* package: add "types": ["node"] to the shared base tsconfig (this is fundamentally a Node monorepo, so this restores prior behavior in one place instead of duplicating it per-package), add explicit @types/node deps to packages that now rely on it transitively via @sim/db/@sim/logger, and add "declare module '*.css'" to the two packages with plain (non-module) CSS side-effect imports that TS7's stricter checker now flags - packages/logger's isomorphic `typeof window` check no longer needs DOM lib in every consumer: replaced with `'window' in globalThis` - packages/testing and apps/realtime's fetch/DOM mocks need DOM lib where they're compiled, since they model the browser Fetch API - the `typescript` npm package no longer exports the classic Compiler API from its main entry (moved to unstable/ast subpaths); apps/sim's Function-block route used it at runtime to strip import statements from user code, so that one call site now uses Microsoft's official transition package, @typescript/typescript6 - Next.js 16.2.6's own TypeScript-detection heuristic hardcodes a path TS7 no longer ships, and its auto-install fallback assumes npm/pnpm; added @typescript/native-preview as a devDependency to apps/sim and apps/docs so Next detects a valid native compiler instead of trying (and failing) to auto-install one Not merging yet: TS 7.0.2 published today and is still inside this repo's bunfig.toml minimumReleaseAge (7-day) supply-chain gate, so `bun install` will fail for everyone until 2026-07-15. Opening this now to get it through review; hold the actual merge until then. --- apps/docs/package.json | 3 +- apps/docs/tsconfig.json | 1 - apps/realtime/package.json | 2 +- apps/realtime/tsconfig.json | 4 +- apps/sim/app/api/function/execute/route.ts | 4 +- apps/sim/package.json | 4 +- apps/sim/tsconfig.json | 3 +- bun.lock | 154 ++++++++++++------ packages/audit/package.json | 3 +- packages/auth/package.json | 3 +- packages/cli/package.json | 2 +- packages/cli/tsconfig.json | 2 +- packages/db/package.json | 2 +- packages/db/tsconfig.json | 1 - packages/emcn/package.json | 2 +- packages/emcn/src/css-modules.d.ts | 2 + packages/logger/package.json | 3 +- packages/logger/src/index.ts | 2 +- packages/platform-authz/package.json | 3 +- packages/realtime-protocol/package.json | 2 +- packages/runtime-secrets/package.json | 2 +- packages/security/package.json | 2 +- packages/testing/package.json | 2 +- packages/testing/tsconfig.json | 2 +- packages/ts-sdk/package.json | 2 +- packages/ts-sdk/tsconfig.json | 2 +- packages/tsconfig/base.json | 1 + packages/utils/package.json | 2 +- packages/utils/tsconfig.json | 3 + packages/workflow-persistence/package.json | 3 +- packages/workflow-renderer/package.json | 2 +- .../workflow-renderer/src/css-modules.d.ts | 2 + packages/workflow-types/package.json | 2 +- 33 files changed, 150 insertions(+), 79 deletions(-) diff --git a/apps/docs/package.json b/apps/docs/package.json index 9f8d622f6cc..6c9e64cf5bb 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -50,8 +50,9 @@ "@types/node": "^22.14.1", "@types/react": "^19.1.2", "@types/react-dom": "^19.0.4", + "@typescript/native-preview": "7.0.0-dev.20260707.2", "postcss": "^8.5.3", "tailwindcss": "^4.0.12", - "typescript": "^5.8.2" + "typescript": "^7.0.2" } } diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json index 1a45ee64711..857bd1f7da6 100644 --- a/apps/docs/tsconfig.json +++ b/apps/docs/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "@sim/tsconfig/nextjs.json", "compilerOptions": { - "baseUrl": ".", "paths": { "@/.source/*": ["./.source/*"], "@/*": ["./*"] diff --git a/apps/realtime/package.json b/apps/realtime/package.json index 83ca341b44d..633ffb60827 100644 --- a/apps/realtime/package.json +++ b/apps/realtime/package.json @@ -43,7 +43,7 @@ "@sim/tsconfig": "workspace:*", "@types/node": "24.2.1", "socket.io-client": "4.8.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/apps/realtime/tsconfig.json b/apps/realtime/tsconfig.json index cce62771d4d..00b8ae857fc 100644 --- a/apps/realtime/tsconfig.json +++ b/apps/realtime/tsconfig.json @@ -1,9 +1,9 @@ { "extends": "@sim/tsconfig/base.json", "compilerOptions": { - "baseUrl": ".", + "lib": ["ES2022", "DOM"], "paths": { - "@/*": ["src/*"] + "@/*": ["./src/*"] } }, "include": ["src/**/*"], diff --git a/apps/sim/app/api/function/execute/route.ts b/apps/sim/app/api/function/execute/route.ts index b9251c8a139..33ab418dac5 100644 --- a/apps/sim/app/api/function/execute/route.ts +++ b/apps/sim/app/api/function/execute/route.ts @@ -110,13 +110,13 @@ const JS_RESERVED_WORDS = new Set([ 'public', ]) -type TypeScriptModule = typeof import('typescript') +type TypeScriptModule = typeof import('@typescript/typescript6') let typescriptModulePromise: Promise | null = null async function loadTypeScriptModule(): Promise { if (!typescriptModulePromise) { - typescriptModulePromise = import('typescript').then( + typescriptModulePromise = import('@typescript/typescript6').then( (mod) => (mod?.default ?? mod) as TypeScriptModule, (error) => { typescriptModulePromise = null diff --git a/apps/sim/package.json b/apps/sim/package.json index dd211bc8798..f58c8e61b80 100644 --- a/apps/sim/package.json +++ b/apps/sim/package.json @@ -124,6 +124,7 @@ "@tiptap/starter-kit": "3.26.1", "@tiptap/suggestion": "3.26.1", "@trigger.dev/sdk": "4.4.3", + "@typescript/typescript6": "^6.0.2", "ajv": "8.18.0", "better-auth": "1.6.13", "binary-extensions": "3.1.0", @@ -235,6 +236,7 @@ "@types/react-dom": "^19", "@types/ssh2": "^1.15.5", "@types/three": "0.177.0", + "@typescript/native-preview": "7.0.0-dev.20260707.2", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^4.1.0", "autoprefixer": "10.4.21", @@ -243,7 +245,7 @@ "postcss": "^8", "react-email": "4.3.2", "tailwindcss": "^3.4.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vite-tsconfig-paths": "^5.1.4", "vitest": "^4.1.0" }, diff --git a/apps/sim/tsconfig.json b/apps/sim/tsconfig.json index adb44824922..8e6ac20bdf1 100644 --- a/apps/sim/tsconfig.json +++ b/apps/sim/tsconfig.json @@ -1,10 +1,9 @@ { "extends": "@sim/tsconfig/nextjs.json", "compilerOptions": { - "baseUrl": ".", "paths": { "@/*": ["./*"], - "@/components/*": ["components/*"], + "@/components/*": ["./components/*"], "@/lib/*": ["./lib/*"], "@/stores": ["./stores"], "@/stores/*": ["./stores/*"], diff --git a/bun.lock b/bun.lock index 6bdcb6cb463..0f9ba9efcf1 100644 --- a/bun.lock +++ b/bun.lock @@ -57,9 +57,10 @@ "@types/node": "^22.14.1", "@types/react": "^19.1.2", "@types/react-dom": "^19.0.4", + "@typescript/native-preview": "7.0.0-dev.20260707.2", "postcss": "^8.5.3", "tailwindcss": "^4.0.12", - "typescript": "^5.8.2", + "typescript": "^7.0.2", }, }, "apps/pii": { @@ -93,7 +94,7 @@ "@sim/tsconfig": "workspace:*", "@types/node": "24.2.1", "socket.io-client": "4.8.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -192,6 +193,7 @@ "@tiptap/starter-kit": "3.26.1", "@tiptap/suggestion": "3.26.1", "@trigger.dev/sdk": "4.4.3", + "@typescript/typescript6": "^6.0.2", "ajv": "8.18.0", "better-auth": "1.6.13", "binary-extensions": "3.1.0", @@ -303,6 +305,7 @@ "@types/react-dom": "^19", "@types/ssh2": "^1.15.5", "@types/three": "0.177.0", + "@typescript/native-preview": "7.0.0-dev.20260707.2", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^4.1.0", "autoprefixer": "10.4.21", @@ -311,7 +314,7 @@ "postcss": "^8", "react-email": "4.3.2", "tailwindcss": "^3.4.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vite-tsconfig-paths": "^5.1.4", "vitest": "^4.1.0", }, @@ -328,7 +331,8 @@ "devDependencies": { "@sim/testing": "workspace:*", "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -341,7 +345,8 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", }, }, "packages/cli": { @@ -361,7 +366,7 @@ "@sim/tsconfig": "workspace:*", "@types/inquirer": "^8.2.6", "@types/node": "^20.5.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", }, }, "packages/db": { @@ -378,7 +383,7 @@ "@sim/tsconfig": "workspace:*", "@types/node": "^22.10.5", "drizzle-kit": "^0.31.4", - "typescript": "^5.7.3", + "typescript": "^7.0.2", }, }, "packages/emcn": { @@ -401,7 +406,7 @@ "prismjs": "^1.30.0", "react": "19.2.4", "react-dom": "19.2.4", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, "peerDependencies": { @@ -424,7 +429,8 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -437,7 +443,8 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", }, }, "packages/realtime-protocol": { @@ -448,7 +455,7 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "typescript": "^7.0.2", }, }, "packages/runtime-secrets": { @@ -462,7 +469,7 @@ "devDependencies": { "@sim/tsconfig": "workspace:*", "@types/node": "24.2.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -472,7 +479,7 @@ "devDependencies": { "@sim/tsconfig": "workspace:*", "@types/node": "24.2.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -484,7 +491,7 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, "peerDependencies": { @@ -501,7 +508,7 @@ "@sim/tsconfig": "workspace:*", "@types/node": "^20.5.1", "@vitest/coverage-v8": "^4.1.0", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -514,7 +521,7 @@ "version": "0.1.0", "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0", }, }, @@ -531,7 +538,8 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", }, }, "packages/workflow-renderer": { @@ -547,7 +555,7 @@ "reactflow": "^11.11.4", "remark-breaks": "^4.0.0", "streamdown": "2.5.0", - "typescript": "^5.7.3", + "typescript": "^7.0.2", }, "peerDependencies": { "@sim/emcn": "workspace:*", @@ -565,7 +573,7 @@ "devDependencies": { "@sim/tsconfig": "workspace:*", "reactflow": "^11.11.4", - "typescript": "^5.7.3", + "typescript": "^7.0.2", }, "peerDependencies": { "reactflow": "^11.11.4", @@ -1932,7 +1940,7 @@ "@types/ms": ["@types/ms@2.1.0", "", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="], - "@types/node": ["@types/node@22.19.21", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-VMeFBSCKQKmm2swI2kW51SFusDqekC6q9trBCvJ/JliDchFSuoYYKN7yVNjPthP1HKZcx3U1gI/wTcEBjEFKTA=="], + "@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], "@types/node-fetch": ["@types/node-fetch@2.6.13", "", { "dependencies": { "@types/node": "*", "form-data": "^4.0.4" } }, "sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw=="], @@ -1970,6 +1978,66 @@ "@types/ws": ["@types/ws@8.18.1", "", { "dependencies": { "@types/node": "*" } }, "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg=="], + "@typescript/native-preview": ["@typescript/native-preview@7.0.0-dev.20260707.2", "", { "optionalDependencies": { "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20260707.2", "@typescript/native-preview-darwin-x64": "7.0.0-dev.20260707.2", "@typescript/native-preview-linux-arm": "7.0.0-dev.20260707.2", "@typescript/native-preview-linux-arm64": "7.0.0-dev.20260707.2", "@typescript/native-preview-linux-x64": "7.0.0-dev.20260707.2", "@typescript/native-preview-win32-arm64": "7.0.0-dev.20260707.2", "@typescript/native-preview-win32-x64": "7.0.0-dev.20260707.2" }, "bin": { "tsgo": "bin/tsgo" } }, "sha512-oUGp+Rep/hqMhPunyinsALUwSlzHINSxitifPiSaeqoKOKD2OlR9NE3TaPqwsl4NlGslsOSUXI1JotWQzpYCPg=="], + + "@typescript/native-preview-darwin-arm64": ["@typescript/native-preview-darwin-arm64@7.0.0-dev.20260707.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-wny2pgKjGbiZtnOIHVa3tXC1UfDqxNEFzyPGmiqybedG8hipG2Nfp0l5UxbaKCjkLacUpH/W5bP2hBOMVhCOzg=="], + + "@typescript/native-preview-darwin-x64": ["@typescript/native-preview-darwin-x64@7.0.0-dev.20260707.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-Afc7M5zOwo+GpfcYwz5Z8HMB2tPVsui7nNIqEuuFB73MPdVqNn/Wmpe4tP4MRri0AtJnJknoHBaTJ/VDAp/Jhw=="], + + "@typescript/native-preview-linux-arm": ["@typescript/native-preview-linux-arm@7.0.0-dev.20260707.2", "", { "os": "linux", "cpu": "arm" }, "sha512-hJm/UOqZTr9FHmR7uNm8VGX4oKtfWk0Jem0zPeJFNC8ckGUfSBueyiEYMZB+XmRc1aG4x1E46y3CplP4CLHvGQ=="], + + "@typescript/native-preview-linux-arm64": ["@typescript/native-preview-linux-arm64@7.0.0-dev.20260707.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-iITBa2WjjTI5N9t5l7Z4KoOSI+2zBlhbvFzsD/f8qX8QoKjz/Y4DPyBDgezYi8nkqjjksbgSOJ3/ykzhwrB9cg=="], + + "@typescript/native-preview-linux-x64": ["@typescript/native-preview-linux-x64@7.0.0-dev.20260707.2", "", { "os": "linux", "cpu": "x64" }, "sha512-du0dzi6y97Po5vDNdPJTyyijHCpaS22JLRnKZEJXBDaO9gCIymOv/5QQokFRuOlQm0bWl3i9PF4OVdGP6uAOQA=="], + + "@typescript/native-preview-win32-arm64": ["@typescript/native-preview-win32-arm64@7.0.0-dev.20260707.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-SsAwfhyHJ1akgBc+99z4+hwdbHsdWaKB8EwCNIMA6JfSLMeUjffrYvxu+vfMyxVtOVOz7RrRXRoiDiu4a2sCtg=="], + + "@typescript/native-preview-win32-x64": ["@typescript/native-preview-win32-x64@7.0.0-dev.20260707.2", "", { "os": "win32", "cpu": "x64" }, "sha512-DL4u27stv0fo71sVhOzHSwE+YMZsbBijVI+kg5dLDLilSH79WFTJ8RSQ46vJrCMt+Gjlv/JOZP1PuLJDfioYeQ=="], + + "@typescript/old": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + + "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="], + + "@typescript/typescript-darwin-arm64": ["@typescript/typescript-darwin-arm64@7.0.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA=="], + + "@typescript/typescript-darwin-x64": ["@typescript/typescript-darwin-x64@7.0.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA=="], + + "@typescript/typescript-freebsd-arm64": ["@typescript/typescript-freebsd-arm64@7.0.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ=="], + + "@typescript/typescript-freebsd-x64": ["@typescript/typescript-freebsd-x64@7.0.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw=="], + + "@typescript/typescript-linux-arm": ["@typescript/typescript-linux-arm@7.0.2", "", { "os": "linux", "cpu": "arm" }, "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ=="], + + "@typescript/typescript-linux-arm64": ["@typescript/typescript-linux-arm64@7.0.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ=="], + + "@typescript/typescript-linux-loong64": ["@typescript/typescript-linux-loong64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ=="], + + "@typescript/typescript-linux-mips64el": ["@typescript/typescript-linux-mips64el@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA=="], + + "@typescript/typescript-linux-ppc64": ["@typescript/typescript-linux-ppc64@7.0.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA=="], + + "@typescript/typescript-linux-riscv64": ["@typescript/typescript-linux-riscv64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ=="], + + "@typescript/typescript-linux-s390x": ["@typescript/typescript-linux-s390x@7.0.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw=="], + + "@typescript/typescript-linux-x64": ["@typescript/typescript-linux-x64@7.0.2", "", { "os": "linux", "cpu": "x64" }, "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A=="], + + "@typescript/typescript-netbsd-arm64": ["@typescript/typescript-netbsd-arm64@7.0.2", "", { "os": "none", "cpu": "arm64" }, "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA=="], + + "@typescript/typescript-netbsd-x64": ["@typescript/typescript-netbsd-x64@7.0.2", "", { "os": "none", "cpu": "x64" }, "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA=="], + + "@typescript/typescript-openbsd-arm64": ["@typescript/typescript-openbsd-arm64@7.0.2", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ=="], + + "@typescript/typescript-openbsd-x64": ["@typescript/typescript-openbsd-x64@7.0.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg=="], + + "@typescript/typescript-sunos-x64": ["@typescript/typescript-sunos-x64@7.0.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g=="], + + "@typescript/typescript-win32-arm64": ["@typescript/typescript-win32-arm64@7.0.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ=="], + + "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="], + + "@typescript/typescript6": ["@typescript/typescript6@6.0.2", "", { "dependencies": { "@typescript/old": "npm:typescript@^6" }, "bin": { "tsc6": "bin/tsc6" } }, "sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w=="], + "@typespec/ts-http-runtime": ["@typespec/ts-http-runtime@0.3.6", "", { "dependencies": { "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.0", "tslib": "^2.6.2" } }, "sha512-jIXhD0eWQ1JA6ln/5Dltyx22UxWNrw0hZmhy2rlv6m6KgF7kplHx3g0fzi09lNmTJQRR91OlemYp3xFnvDK9og=="], "@ungap/structured-clone": ["@ungap/structured-clone@1.3.1", "", {}, "sha512-mUFwbeTqrVgDQxFveS+df2yfap6iuP20NAKAsBt5jDEoOTDew+zwLAOilHCeQJOVSvmgCX4ogqIrA0mnyr08yQ=="], @@ -3888,7 +3956,7 @@ "typedarray": ["typedarray@0.0.6", "", {}, "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA=="], - "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "typescript": ["typescript@7.0.2", "", { "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": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], "ufo": ["ufo@1.6.4", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="], @@ -3902,7 +3970,7 @@ "undici": ["undici@7.28.0", "", {}, "sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA=="], - "undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + "undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], "unfetch": ["unfetch@4.2.0", "", {}, "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA=="], @@ -4350,11 +4418,7 @@ "@shuding/opentype.js/fflate": ["fflate@0.7.4", "", {}, "sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw=="], - "@sim/realtime/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], - - "@sim/runtime-secrets/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], - - "@sim/security/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], + "@sim/db/@types/node": ["@types/node@22.19.21", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-VMeFBSCKQKmm2swI2kW51SFusDqekC6q9trBCvJ/JliDchFSuoYYKN7yVNjPthP1HKZcx3U1gI/wTcEBjEFKTA=="], "@smithy/middleware-compression/fflate": ["fflate@0.8.1", "", {}, "sha512-/exOvEuc+/iaUm105QIiOt4LpBdMTWsXxqR0HDF35vx3fmaKzw7354gTilCh5rkzEt8WYyG//ku3h3nRmd7CHQ=="], @@ -4422,14 +4486,8 @@ "@trigger.dev/sdk/uuid": ["uuid@9.0.1", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA=="], - "@types/busboy/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], - "@types/cors/@types/node": ["@types/node@25.9.3", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg=="], - "@types/fluent-ffmpeg/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], - - "@types/jsdom/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], - "@types/node-fetch/@types/node": ["@types/node@25.9.3", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg=="], "@types/nodemailer/@types/node": ["@types/node@25.9.3", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg=="], @@ -4496,6 +4554,8 @@ "d3-sankey/d3-shape": ["d3-shape@1.3.7", "", { "dependencies": { "d3-path": "1" } }, "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw=="], + "docs/@types/node": ["@types/node@22.19.21", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-VMeFBSCKQKmm2swI2kW51SFusDqekC6q9trBCvJ/JliDchFSuoYYKN7yVNjPthP1HKZcx3U1gI/wTcEBjEFKTA=="], + "docs/lucide-react": ["lucide-react@0.511.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w=="], "docs/tailwind-merge": ["tailwind-merge@3.6.0", "", {}, "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w=="], @@ -4674,6 +4734,8 @@ "posthog-js/fflate": ["fflate@0.4.8", "", {}, "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA=="], + "pptxgenjs/@types/node": ["@types/node@22.19.21", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-VMeFBSCKQKmm2swI2kW51SFusDqekC6q9trBCvJ/JliDchFSuoYYKN7yVNjPthP1HKZcx3U1gI/wTcEBjEFKTA=="], + "protobufjs/@types/node": ["@types/node@25.9.3", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg=="], "proxy-addr/ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="], @@ -4702,8 +4764,6 @@ "sharp/semver": ["semver@7.8.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA=="], - "sim/@types/node": ["@types/node@24.2.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="], - "sim/tailwindcss": ["tailwindcss@3.4.19", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", "chokidar": "^3.6.0", "didyoumean": "^1.2.2", "dlv": "^1.1.3", "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.7", "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", "postcss-nested": "^6.2.0", "postcss-selector-parser": "^6.1.2", "resolve": "^1.22.8", "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", "tailwindcss": "lib/cli.js" } }, "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ=="], "simstudio/@types/node": ["@types/node@20.19.43", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="], @@ -4740,6 +4800,8 @@ "tough-cookie/tldts": ["tldts@6.1.86", "", { "dependencies": { "tldts-core": "^6.1.86" }, "bin": { "tldts": "bin/cli.js" } }, "sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ=="], + "tsconfck/typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "tsx/esbuild": ["esbuild@0.28.1", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.1", "@esbuild/android-arm": "0.28.1", "@esbuild/android-arm64": "0.28.1", "@esbuild/android-x64": "0.28.1", "@esbuild/darwin-arm64": "0.28.1", "@esbuild/darwin-x64": "0.28.1", "@esbuild/freebsd-arm64": "0.28.1", "@esbuild/freebsd-x64": "0.28.1", "@esbuild/linux-arm": "0.28.1", "@esbuild/linux-arm64": "0.28.1", "@esbuild/linux-ia32": "0.28.1", "@esbuild/linux-loong64": "0.28.1", "@esbuild/linux-mips64el": "0.28.1", "@esbuild/linux-ppc64": "0.28.1", "@esbuild/linux-riscv64": "0.28.1", "@esbuild/linux-s390x": "0.28.1", "@esbuild/linux-x64": "0.28.1", "@esbuild/netbsd-arm64": "0.28.1", "@esbuild/netbsd-x64": "0.28.1", "@esbuild/openbsd-arm64": "0.28.1", "@esbuild/openbsd-x64": "0.28.1", "@esbuild/openharmony-arm64": "0.28.1", "@esbuild/sunos-x64": "0.28.1", "@esbuild/win32-arm64": "0.28.1", "@esbuild/win32-ia32": "0.28.1", "@esbuild/win32-x64": "0.28.1" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw=="], "twilio/https-proxy-agent": ["https-proxy-agent@5.0.1", "", { "dependencies": { "agent-base": "6", "debug": "4" } }, "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA=="], @@ -4872,11 +4934,7 @@ "@radix-ui/react-visually-hidden/@radix-ui/react-primitive/@radix-ui/react-slot": ["@radix-ui/react-slot@1.3.0", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-MojKku4U/miO8Av4Dkb+ctMAQx7JmY96LmtDQlAarCRtd7rN52QCSzBF+XAvr5S6coSVj9HEPBgHAHKEJVk/WA=="], - "@sim/realtime/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - - "@sim/runtime-secrets/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - - "@sim/security/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], + "@sim/db/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], "@trigger.dev/core/@opentelemetry/api-logs/@opentelemetry/api": ["@opentelemetry/api@1.9.1", "", {}, "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q=="], @@ -4912,14 +4970,8 @@ "@trigger.dev/core/socket.io-client/engine.io-client": ["engine.io-client@6.5.4", "", { "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1", "engine.io-parser": "~5.2.1", "ws": "~8.17.1", "xmlhttprequest-ssl": "~2.0.0" } }, "sha512-GeZeeRjpD2qf49cZQ0Wvh/8NJNfeXkXXcoGh+F77oEAgo9gUHwT1fCRxSNU+YEEaysOJTnsFHmM5oAcPy4ntvQ=="], - "@types/busboy/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - "@types/cors/@types/node/undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], - "@types/fluent-ffmpeg/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - - "@types/jsdom/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - "@types/node-fetch/@types/node/undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], "@types/nodemailer/@types/node/undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], @@ -4956,6 +5008,8 @@ "d3-sankey/d3-shape/d3-path": ["d3-path@1.0.9", "", {}, "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="], + "docs/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + "docx/@types/node/undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], "engine.io/@types/node/undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], @@ -5158,6 +5212,8 @@ "posthog-js/@opentelemetry/sdk-logs/@opentelemetry/resources": ["@opentelemetry/resources@2.2.0", "", { "dependencies": { "@opentelemetry/core": "2.2.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "peerDependencies": { "@opentelemetry/api": ">=1.3.0 <1.10.0" } }, "sha512-1pNQf/JazQTMA0BiO5NINUzH0cbLbbl7mntLa4aJNmCCXSj0q03T5ZXXL0zw4G55TjdL9Tz32cznGClf+8zr5A=="], + "pptxgenjs/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + "protobufjs/@types/node/undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], "react-email/chokidar/readdirp": ["readdirp@4.1.2", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="], @@ -5170,14 +5226,16 @@ "rimraf/glob/path-scurry": ["path-scurry@1.11.1", "", { "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" } }, "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA=="], - "sim/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - "sim/tailwindcss/chokidar": ["chokidar@3.6.0", "", { "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" }, "optionalDependencies": { "fsevents": "~2.3.2" } }, "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw=="], "sim/tailwindcss/jiti": ["jiti@1.21.7", "", { "bin": { "jiti": "bin/jiti.js" } }, "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A=="], "sim/tailwindcss/postcss-selector-parser": ["postcss-selector-parser@6.1.4", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ=="], + "simstudio-ts-sdk/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + + "simstudio/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + "tar-stream/readable-stream/string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="], "tough-cookie/tldts/tldts-core": ["tldts-core@6.1.86", "", {}, "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA=="], diff --git a/packages/audit/package.json b/packages/audit/package.json index 19510233d97..caaf323d8d5 100644 --- a/packages/audit/package.json +++ b/packages/audit/package.json @@ -33,7 +33,8 @@ "devDependencies": { "@sim/testing": "workspace:*", "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/packages/auth/package.json b/packages/auth/package.json index b07f35107c6..4d960fd53b7 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -28,6 +28,7 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3" + "@types/node": "24.2.1", + "typescript": "^7.0.2" } } diff --git a/packages/cli/package.json b/packages/cli/package.json index fe4d487c3d3..9b0f6bb9d6c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,6 +49,6 @@ "@sim/tsconfig": "workspace:*", "@types/inquirer": "^8.2.6", "@types/node": "^20.5.1", - "typescript": "^5.7.3" + "typescript": "^7.0.2" } } diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index d69820f2a97..3779675dfd3 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -2,7 +2,7 @@ "extends": "@sim/tsconfig/library-build.json", "compilerOptions": { "target": "ES2020", - "moduleResolution": "node", + "moduleResolution": "bundler", "outDir": "./dist", "rootDir": "./src" }, diff --git a/packages/db/package.json b/packages/db/package.json index 9b4a5c07b79..3b8b133cf7d 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -40,6 +40,6 @@ "@sim/tsconfig": "workspace:*", "drizzle-kit": "^0.31.4", "@types/node": "^22.10.5", - "typescript": "^5.7.3" + "typescript": "^7.0.2" } } diff --git a/packages/db/tsconfig.json b/packages/db/tsconfig.json index dc837d829ef..d4ad559627c 100644 --- a/packages/db/tsconfig.json +++ b/packages/db/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "@sim/tsconfig/library.json", "compilerOptions": { - "baseUrl": ".", "paths": { "@sim/db": ["./index.ts"], "@sim/db/*": ["./*"] diff --git a/packages/emcn/package.json b/packages/emcn/package.json index e2e73281ec5..7aaa3d4c467 100644 --- a/packages/emcn/package.json +++ b/packages/emcn/package.json @@ -61,7 +61,7 @@ "prismjs": "^1.30.0", "react": "19.2.4", "react-dom": "19.2.4", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/packages/emcn/src/css-modules.d.ts b/packages/emcn/src/css-modules.d.ts index 6f79bf12d1e..f0caf6ef9c0 100644 --- a/packages/emcn/src/css-modules.d.ts +++ b/packages/emcn/src/css-modules.d.ts @@ -6,3 +6,5 @@ declare module '*.module.css' { const classes: { readonly [key: string]: string } export default classes } + +declare module '*.css' diff --git a/packages/logger/package.json b/packages/logger/package.json index ac1bbb59810..0e8135a81cc 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -30,7 +30,8 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "@types/node": "24.2.1", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/packages/logger/src/index.ts b/packages/logger/src/index.ts index c17294ce98a..c37d8bcdc51 100644 --- a/packages/logger/src/index.ts +++ b/packages/logger/src/index.ts @@ -201,7 +201,7 @@ export class Logger { private shouldLog(level: LogLevel): boolean { if (!this.config.enabled) return false - if (getNodeEnv() === 'production' && typeof window !== 'undefined') { + if (getNodeEnv() === 'production' && 'window' in globalThis) { return false } diff --git a/packages/platform-authz/package.json b/packages/platform-authz/package.json index adebe6563fa..fd989954ec1 100644 --- a/packages/platform-authz/package.json +++ b/packages/platform-authz/package.json @@ -36,6 +36,7 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3" + "@types/node": "24.2.1", + "typescript": "^7.0.2" } } diff --git a/packages/realtime-protocol/package.json b/packages/realtime-protocol/package.json index 4f026e9d2ac..a4248404adc 100644 --- a/packages/realtime-protocol/package.json +++ b/packages/realtime-protocol/package.json @@ -35,6 +35,6 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3" + "typescript": "^7.0.2" } } diff --git a/packages/runtime-secrets/package.json b/packages/runtime-secrets/package.json index ee57201f3d1..732b6b81de0 100644 --- a/packages/runtime-secrets/package.json +++ b/packages/runtime-secrets/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@sim/tsconfig": "workspace:*", "@types/node": "24.2.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/packages/security/package.json b/packages/security/package.json index c6fefac2fe4..754e354b983 100644 --- a/packages/security/package.json +++ b/packages/security/package.json @@ -44,7 +44,7 @@ "devDependencies": { "@sim/tsconfig": "workspace:*", "@types/node": "24.2.1", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/packages/testing/package.json b/packages/testing/package.json index e729096f1ef..216129ae6c1 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -53,7 +53,7 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" }, "dependencies": { diff --git a/packages/testing/tsconfig.json b/packages/testing/tsconfig.json index 052e9d01c74..e08d8f7ee29 100644 --- a/packages/testing/tsconfig.json +++ b/packages/testing/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@sim/tsconfig/library.json", "compilerOptions": { - "baseUrl": ".", + "lib": ["ES2022", "DOM"], "paths": { "@sim/testing/*": ["./src/*"] } diff --git a/packages/ts-sdk/package.json b/packages/ts-sdk/package.json index 85589da2380..b85e704e9ea 100644 --- a/packages/ts-sdk/package.json +++ b/packages/ts-sdk/package.json @@ -42,7 +42,7 @@ "@sim/tsconfig": "workspace:*", "@types/node": "^20.5.1", "@vitest/coverage-v8": "^4.1.0", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" }, "engines": { diff --git a/packages/ts-sdk/tsconfig.json b/packages/ts-sdk/tsconfig.json index 46c1cc18ad2..3c414abe40a 100644 --- a/packages/ts-sdk/tsconfig.json +++ b/packages/ts-sdk/tsconfig.json @@ -4,7 +4,7 @@ "target": "ES2020", "module": "ES2020", "lib": ["ES2020"], - "moduleResolution": "node", + "moduleResolution": "bundler", "outDir": "./dist", "rootDir": "./src" }, diff --git a/packages/tsconfig/base.json b/packages/tsconfig/base.json index f3cc7a966a3..213b2c09f9f 100644 --- a/packages/tsconfig/base.json +++ b/packages/tsconfig/base.json @@ -7,6 +7,7 @@ "module": "ESNext", "moduleResolution": "bundler", "moduleDetection": "force", + "types": ["node"], "strict": true, "esModuleInterop": true, diff --git a/packages/utils/package.json b/packages/utils/package.json index e8571f95dcd..db5ffdc6768 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -63,7 +63,7 @@ "dependencies": {}, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3", + "typescript": "^7.0.2", "vitest": "^4.1.0" } } diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 1ffa3d2e844..f24122d580b 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "@sim/tsconfig/library.json", + "compilerOptions": { + "lib": ["ES2022", "DOM"] + }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"] } diff --git a/packages/workflow-persistence/package.json b/packages/workflow-persistence/package.json index 00a99f1dfff..3b3275b60c1 100644 --- a/packages/workflow-persistence/package.json +++ b/packages/workflow-persistence/package.json @@ -52,6 +52,7 @@ }, "devDependencies": { "@sim/tsconfig": "workspace:*", - "typescript": "^5.7.3" + "@types/node": "24.2.1", + "typescript": "^7.0.2" } } diff --git a/packages/workflow-renderer/package.json b/packages/workflow-renderer/package.json index 2fbefefdbbe..d31bb33c895 100644 --- a/packages/workflow-renderer/package.json +++ b/packages/workflow-renderer/package.json @@ -44,6 +44,6 @@ "reactflow": "^11.11.4", "remark-breaks": "^4.0.0", "streamdown": "2.5.0", - "typescript": "^5.7.3" + "typescript": "^7.0.2" } } diff --git a/packages/workflow-renderer/src/css-modules.d.ts b/packages/workflow-renderer/src/css-modules.d.ts index 21599b894ea..25bd57c31c6 100644 --- a/packages/workflow-renderer/src/css-modules.d.ts +++ b/packages/workflow-renderer/src/css-modules.d.ts @@ -7,3 +7,5 @@ declare module '*.module.css' { const classes: { readonly [key: string]: string } export default classes } + +declare module '*.css' diff --git a/packages/workflow-types/package.json b/packages/workflow-types/package.json index cc041b0caaf..0dcde040f24 100644 --- a/packages/workflow-types/package.json +++ b/packages/workflow-types/package.json @@ -32,6 +32,6 @@ "devDependencies": { "@sim/tsconfig": "workspace:*", "reactflow": "^11.11.4", - "typescript": "^5.7.3" + "typescript": "^7.0.2" } } From 41d628621629a6b462e8ee5c505d81995d17ce32 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 8 Jul 2026 16:26:14 -0700 Subject: [PATCH 2/3] fix(typescript): address Greptile review findings on TS7 upgrade - packages/logger: 'window' in globalThis treats a shim that leaves globalThis.window explicitly undefined as browser-only, silently dropping production server logs. Restore the original typeof !== 'undefined' semantics via an inline cast instead, so it stays correct without requiring DOM lib in every consumer. - packages/ts-sdk, packages/cli: both are tsc-built, published as Node ESM (package.json "type": "module" with an "exports" map). "moduleResolution": "bundler" is too permissive for that target - it accepts import patterns (e.g. extensionless relative imports) that Node's actual ESM resolver rejects at runtime. Switch both to "module"/"moduleResolution": "nodenext", the correct pairing for a published Node ESM package. Verified real tsc builds (not just --noEmit) still succeed for both. --- packages/cli/tsconfig.json | 3 ++- packages/logger/src/index.ts | 5 ++++- packages/ts-sdk/tsconfig.json | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 3779675dfd3..dd8c62518df 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -2,7 +2,8 @@ "extends": "@sim/tsconfig/library-build.json", "compilerOptions": { "target": "ES2020", - "moduleResolution": "bundler", + "module": "nodenext", + "moduleResolution": "nodenext", "outDir": "./dist", "rootDir": "./src" }, diff --git a/packages/logger/src/index.ts b/packages/logger/src/index.ts index c37d8bcdc51..25e6e3f9ae3 100644 --- a/packages/logger/src/index.ts +++ b/packages/logger/src/index.ts @@ -201,7 +201,10 @@ export class Logger { private shouldLog(level: LogLevel): boolean { if (!this.config.enabled) return false - if (getNodeEnv() === 'production' && 'window' in globalThis) { + if ( + getNodeEnv() === 'production' && + typeof (globalThis as { window?: unknown }).window !== 'undefined' + ) { return false } diff --git a/packages/ts-sdk/tsconfig.json b/packages/ts-sdk/tsconfig.json index 3c414abe40a..7e2e51f66e9 100644 --- a/packages/ts-sdk/tsconfig.json +++ b/packages/ts-sdk/tsconfig.json @@ -2,9 +2,9 @@ "extends": "@sim/tsconfig/library-build.json", "compilerOptions": { "target": "ES2020", - "module": "ES2020", + "module": "nodenext", "lib": ["ES2020"], - "moduleResolution": "bundler", + "moduleResolution": "nodenext", "outDir": "./dist", "rootDir": "./src" }, From 3edda424b19db418212091234e7d49d7d6a5655b Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 8 Jul 2026 16:39:43 -0700 Subject: [PATCH 3/3] chore(bunfig): temporarily disable minimumReleaseAge gate for TS7 install TS 7.0.2 published today, still inside the 7-day gate. Lowering to 0 to unblock this merge; will restore to 604800 in an immediate follow-up commit right after merging. --- bunfig.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bunfig.toml b/bunfig.toml index b74c34f6800..27722f016f1 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,6 +1,6 @@ [install] exact = true -minimumReleaseAge = 604800 +minimumReleaseAge = 0 [run] env = { NEXT_PUBLIC_APP_URL = "http://localhost:3000" }