diff --git a/bun.lock b/bun.lock index f34cf3db..9e07f561 100644 --- a/bun.lock +++ b/bun.lock @@ -31,6 +31,7 @@ "zod": "catalog:", }, "devDependencies": { + "@typescript/native-preview": "catalog:", "typescript": "catalog:", }, }, @@ -55,6 +56,7 @@ "@tsconfig/node22": "22.0.2", "@types/bun": "1.3.0", "@types/node": "catalog:", + "@typescript/native-preview": "catalog:", "drizzle-kit": "0.30.5", "mysql2": "3.14.4", "typescript": "catalog:", @@ -79,6 +81,7 @@ "@cloudflare/workers-types": "catalog:", "@tsconfig/node22": "22.0.2", "@types/node": "catalog:", + "@typescript/native-preview": "catalog:", "openai": "5.11.0", "typescript": "catalog:", }, @@ -145,6 +148,7 @@ "@tsconfig/bun": "1.0.9", "@types/luxon": "3.7.1", "@types/node": "catalog:", + "@typescript/native-preview": "catalog:", "typescript": "catalog:", "vite": "catalog:", "vite-plugin-icons-spritesheet": "3.0.1", @@ -218,6 +222,7 @@ "@types/bun": "catalog:", "@types/turndown": "5.0.5", "@types/yargs": "17.0.33", + "@typescript/native-preview": "catalog:", "typescript": "catalog:", "vscode-languageserver-types": "3.17.5", "zod-to-json-schema": "3.24.5", @@ -233,6 +238,7 @@ "devDependencies": { "@tsconfig/node22": "catalog:", "@types/node": "catalog:", + "@typescript/native-preview": "catalog:", "typescript": "catalog:", }, }, @@ -249,6 +255,7 @@ "@hey-api/openapi-ts": "0.81.0", "@tsconfig/node22": "catalog:", "@types/node": "catalog:", + "@typescript/native-preview": "catalog:", "typescript": "catalog:", }, }, @@ -261,6 +268,7 @@ }, "devDependencies": { "@types/node": "catalog:", + "@typescript/native-preview": "catalog:", "typescript": "catalog:", }, }, @@ -333,6 +341,7 @@ "@tsconfig/node22": "22.0.2", "@types/bun": "1.3.0", "@types/node": "22.13.9", + "@typescript/native-preview": "7.0.0-dev.20251014.1", "ai": "5.0.8", "diff": "8.0.2", "fuzzysort": "3.1.0", @@ -1331,6 +1340,22 @@ "@types/yargs-parser": ["@types/yargs-parser@21.0.3", "", {}, "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ=="], + "@typescript/native-preview": ["@typescript/native-preview@7.0.0-dev.20251014.1", "", { "optionalDependencies": { "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20251014.1", "@typescript/native-preview-darwin-x64": "7.0.0-dev.20251014.1", "@typescript/native-preview-linux-arm": "7.0.0-dev.20251014.1", "@typescript/native-preview-linux-arm64": "7.0.0-dev.20251014.1", "@typescript/native-preview-linux-x64": "7.0.0-dev.20251014.1", "@typescript/native-preview-win32-arm64": "7.0.0-dev.20251014.1", "@typescript/native-preview-win32-x64": "7.0.0-dev.20251014.1" }, "bin": { "tsgo": "bin/tsgo.js" } }, "sha512-IqmX5CYCBqXbfL+HKlcQAMaDlfJ0Z8OhUxvADFV2TENnzSYI4CuhvKxwOB2wFSLXufVsgtAlf3Fjwn24KmMyPQ=="], + + "@typescript/native-preview-darwin-arm64": ["@typescript/native-preview-darwin-arm64@7.0.0-dev.20251014.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-7rQoLlerWnwnvrM56hP4rdEbo4xDE4zr7cch+EzgENq/tbXYereGq1fmnR83UNglb1Eyy53OvJZ3O2csYBa2vg=="], + + "@typescript/native-preview-darwin-x64": ["@typescript/native-preview-darwin-x64@7.0.0-dev.20251014.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-SF29o9NFRGDM23Jz0nVO4/yS78GQ81rtOemmCVNXuJotoY4bP3npGDyEmfkZQHZgDOXogs2OWy3t7NUJ235ANQ=="], + + "@typescript/native-preview-linux-arm": ["@typescript/native-preview-linux-arm@7.0.0-dev.20251014.1", "", { "os": "linux", "cpu": "arm" }, "sha512-o5cu7h+BBAp6V4qxYY5RWuaYouN3j+MGFLrrUtvvNj4XKM+kbq5qwsgVRsmJZ1LfUvHmzyQs86vt9djAWedzjQ=="], + + "@typescript/native-preview-linux-arm64": ["@typescript/native-preview-linux-arm64@7.0.0-dev.20251014.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-+YWbW/JF4uggEUBr+vflqI5i7bL4Z3XInCOyUO1qQEY7VmfDCsPEzIwGi37O1mixfxw9Qj8LQsptCkU+fqKwGw=="], + + "@typescript/native-preview-linux-x64": ["@typescript/native-preview-linux-x64@7.0.0-dev.20251014.1", "", { "os": "linux", "cpu": "x64" }, "sha512-3LC4tgcgi6zWJWBUpBNXOGSY3yISJrQezSP/T+v+mQRApkdoIpTSHIyQAhgaagcs3MOQRaqiIPaLOVrdHXdU6A=="], + + "@typescript/native-preview-win32-arm64": ["@typescript/native-preview-win32-arm64@7.0.0-dev.20251014.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-P0D4UEXwzFZh3pHexe2Ky1tW/HjY/HxTBTIajz2ViDCNPw7uDSEsXSB4H9TTiFJw8gVdTUFbsoAQp1MteTeORA=="], + + "@typescript/native-preview-win32-x64": ["@typescript/native-preview-win32-x64@7.0.0-dev.20251014.1", "", { "os": "win32", "cpu": "x64" }, "sha512-fi53g2ihH7tkQLlz8hZGAb2V+3aNZpcxrZ530CQ4xcWwAqssEj0EaZJX0VLEtIQBar1ttGVK9Pz/wJU9sYyVzg=="], + "@ungap/structured-clone": ["@ungap/structured-clone@1.3.0", "", {}, "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g=="], "@vercel/nft": ["@vercel/nft@0.30.2", "", { "dependencies": { "@mapbox/node-pre-gyp": "^2.0.0", "@rollup/pluginutils": "^5.1.3", "acorn": "^8.6.0", "acorn-import-attributes": "^1.9.5", "async-sema": "^3.1.1", "bindings": "^1.4.0", "estree-walker": "2.0.2", "glob": "^10.4.5", "graceful-fs": "^4.2.9", "node-gyp-build": "^4.2.2", "picomatch": "^4.0.2", "resolve-from": "^5.0.0" }, "bin": { "nft": "out/cli.js" } }, "sha512-pquXF3XZFg/T3TBor08rUhIGgOhdSilbn7WQLVP/aVSSO+25Rs4H/m3nxNDQ2x3znX7Z3yYjryN8xaLwypcwQg=="], diff --git a/package.json b/package.json index 14eec3cf..ea06e5e4 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "fuzzysort": "3.1.0", "luxon": "3.6.1", "typescript": "5.8.2", + "@typescript/native-preview": "7.0.0-dev.20251014.1", "zod": "4.1.8", "remeda": "2.26.0", "solid-js": "1.9.9", diff --git a/packages/console/app/package.json b/packages/console/app/package.json index abb5babc..0d338ef5 100644 --- a/packages/console/app/package.json +++ b/packages/console/app/package.json @@ -2,7 +2,7 @@ "name": "@opencode-ai/console-app", "type": "module", "scripts": { - "typecheck": "tsc --noEmit", + "typecheck": "tsgo --noEmit", "dev": "vinxi dev --host 0.0.0.0", "dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev", "build": "vinxi build && ../../opencode/script/schema.ts ./.output/public/config.json", @@ -23,7 +23,8 @@ "zod": "catalog:" }, "devDependencies": { - "typescript": "catalog:" + "typescript": "catalog:", + "@typescript/native-preview": "catalog:" }, "engines": { "node": ">=22" diff --git a/packages/console/core/package.json b/packages/console/core/package.json index 0673d7f5..556350e7 100644 --- a/packages/console/core/package.json +++ b/packages/console/core/package.json @@ -27,7 +27,7 @@ "update-models": "script/update-models.ts", "promote-models-to-dev": "script/promote-models.ts dev", "promote-models-to-prod": "script/promote-models.ts production", - "typecheck": "tsc --noEmit" + "typecheck": "tsgo --noEmit" }, "devDependencies": { "@cloudflare/workers-types": "catalog:", @@ -36,6 +36,7 @@ "@types/node": "catalog:", "drizzle-kit": "0.30.5", "mysql2": "3.14.4", - "typescript": "catalog:" + "typescript": "catalog:", + "@typescript/native-preview": "catalog:" } } diff --git a/packages/console/function/package.json b/packages/console/function/package.json index aece020b..d937aef6 100644 --- a/packages/console/function/package.json +++ b/packages/console/function/package.json @@ -5,14 +5,15 @@ "private": true, "type": "module", "scripts": { - "typecheck": "tsc --noEmit" + "typecheck": "tsgo --noEmit" }, "devDependencies": { "@cloudflare/workers-types": "catalog:", "@tsconfig/node22": "22.0.2", "@types/node": "catalog:", "openai": "5.11.0", - "typescript": "catalog:" + "typescript": "catalog:", + "@typescript/native-preview": "catalog:" }, "dependencies": { "@ai-sdk/anthropic": "2.0.0", diff --git a/packages/desktop/package.json b/packages/desktop/package.json index ba5aabf0..92f656a4 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -8,7 +8,7 @@ "dev": "vite", "build": "vite build", "serve": "vite preview", - "typecheck": "tsc --noEmit" + "typecheck": "tsgo --noEmit" }, "license": "MIT", "devDependencies": { @@ -17,6 +17,7 @@ "@types/luxon": "3.7.1", "@types/node": "catalog:", "typescript": "catalog:", + "@typescript/native-preview": "catalog:", "vite": "catalog:", "vite-plugin-icons-spritesheet": "3.0.1", "vite-plugin-solid": "catalog:" diff --git a/packages/opencode/package.json b/packages/opencode/package.json index 1dd54d6d..7d91d04e 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -5,7 +5,7 @@ "type": "module", "private": true, "scripts": { - "typecheck": "tsc --noEmit", + "typecheck": "tsgo --noEmit", "test": "bun test", "build": "./script/build.ts", "dev": "bun run ./src/index.ts" @@ -27,6 +27,7 @@ "@types/turndown": "5.0.5", "@types/yargs": "17.0.33", "typescript": "catalog:", + "@typescript/native-preview": "catalog:", "vscode-languageserver-types": "3.17.5", "zod-to-json-schema": "3.24.5", "@opencode-ai/script": "workspace:*" diff --git a/packages/opencode/tsconfig.json b/packages/opencode/tsconfig.json index 63709af0..9067d84f 100644 --- a/packages/opencode/tsconfig.json +++ b/packages/opencode/tsconfig.json @@ -8,7 +8,6 @@ "types": [], "noUncheckedIndexedAccess": false, "customConditions": ["browser"], - "baseUrl": ".", "paths": { "@/*": ["./src/*"], "@tui/*": ["./src/cli/cmd/tui/*"] diff --git a/packages/plugin/package.json b/packages/plugin/package.json index 48332ca5..3473940a 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -4,7 +4,7 @@ "version": "0.15.3", "type": "module", "scripts": { - "typecheck": "tsc --noEmit", + "typecheck": "tsgo --noEmit", "build": "tsc" }, "exports": { @@ -21,6 +21,7 @@ "devDependencies": { "@tsconfig/node22": "catalog:", "@types/node": "catalog:", - "typescript": "catalog:" + "typescript": "catalog:", + "@typescript/native-preview": "catalog:" } -} \ No newline at end of file +} diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json index c74d6040..3fd345f9 100644 --- a/packages/sdk/js/package.json +++ b/packages/sdk/js/package.json @@ -4,7 +4,7 @@ "version": "0.15.3", "type": "module", "scripts": { - "typecheck": "tsc --noEmit", + "typecheck": "tsgo --noEmit", "build": "./script/build.ts" }, "exports": { @@ -19,10 +19,11 @@ "@hey-api/openapi-ts": "0.81.0", "@tsconfig/node22": "catalog:", "@types/node": "catalog:", - "typescript": "catalog:" + "typescript": "catalog:", + "@typescript/native-preview": "catalog:" }, "dependencies": {}, "publishConfig": { "directory": "dist" } -} \ No newline at end of file +} diff --git a/packages/slack/package.json b/packages/slack/package.json index 9da2f228..cc060a26 100644 --- a/packages/slack/package.json +++ b/packages/slack/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "dev": "bun run src/index.ts", - "typecheck": "tsc --noEmit" + "typecheck": "tsgo --noEmit" }, "dependencies": { "@opencode-ai/sdk": "workspace:*", @@ -12,6 +12,7 @@ }, "devDependencies": { "@types/node": "catalog:", - "typescript": "catalog:" + "typescript": "catalog:", + "@typescript/native-preview": "catalog:" } }