History

fix build

Rhys Sullivan committed 8 months ago

Commit ae7db381 parent 5d27afe15 files · +44 −13Browse files

Unified · Split

15 files
  1. assistant/package.json +2 −1
  2. assistant/packages/bot/package.json +2 −1
  3. assistant/packages/core/package.json +2 −1
  4. assistant/packages/server/package.json +2 −1
  5. bun.lock +18 −0
  6. executor/apps/menubar/package.json +2 −1
  7. executor/apps/web/package.json +2 −1
  8. executor/apps/web/src/lib/session-storage.ts +1 −1
  9. executor/infra/package.json +2 −1
  10. executor/packages/core/package.json +2 −1
  11. executor/packages/database/package.json +2 −1
  12. executor/packages/runner-node/package.json +2 −1
  13. executor/packages/runner-sandbox-host/package.json +2 −1
  14. package.json +1 −0
  15. sources/package.json +2 −1
assistant/package.json+2−1
@@ -7,7 +7,8 @@ · 6 unmodified lines
7 "dev:server": "bun run --filter @assistant/server dev",7 "dev:server": "bun run --filter @assistant/server dev",
8 "dev:bot": "bun run --filter @assistant/bot dev",8 "dev:bot": "bun run --filter @assistant/bot dev",
9 "typecheck": "bun run --cwd packages/server typecheck && bun run --cwd packages/bot typecheck && bun run --cwd packages/core typecheck && bun run --cwd packages/reacord typecheck",9 "typecheck": "bun run --cwd packages/server typecheck && bun run --cwd packages/bot typecheck && bun run --cwd packages/core typecheck && bun run --cwd packages/reacord typecheck",
10 "typecheck:slow": "bun run --cwd packages/server typecheck:slow && bun run --cwd packages/bot typecheck:slow && bun run --cwd packages/core typecheck:slow && bun run --cwd packages/reacord typecheck:slow"10 "typecheck:slow": "bun run --cwd packages/server typecheck:slow && bun run --cwd packages/bot typecheck:slow && bun run --cwd packages/core typecheck:slow && bun run --cwd packages/reacord typecheck:slow",
11 "clean": "rm -rf node_modules .turbo"
11 },12 },
12 "devDependencies": {13 "devDependencies": {
13 "@types/bun": "latest",14 "@types/bun": "latest",
assistant/packages/bot/package.json+2−1
@@ -7,7 +7,8 @@ · 6 unmodified lines
7 "dev": "bun with-env bun --hot src/index.ts",7 "dev": "bun with-env bun --hot src/index.ts",
8 "start": "bun with-env bun src/index.ts",8 "start": "bun with-env bun src/index.ts",
9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
10 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"10 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
11 "clean": "rm -rf node_modules .turbo"
11 },12 },
12 "dependencies": {13 "dependencies": {
13 "@assistant/server": "workspace:*",14 "@assistant/server": "workspace:*",
assistant/packages/core/package.json+2−1
@@ -7,7 +7,8 @@ · 6 unmodified lines
7 },7 },
8 "scripts": {8 "scripts": {
9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
10 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"10 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
11 "clean": "rm -rf node_modules .turbo"
11 },12 },
12 "dependencies": {13 "dependencies": {
13 "@mariozechner/pi-ai": "^0.52.6",14 "@mariozechner/pi-ai": "^0.52.6",
assistant/packages/server/package.json+2−1
@@ -11,7 +11,8 @@ · 10 unmodified lines
11 "dev": "bun with-env bun --hot src/index.ts",11 "dev": "bun with-env bun --hot src/index.ts",
12 "start": "bun with-env bun src/index.ts",12 "start": "bun with-env bun src/index.ts",
13 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",13 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
14 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"14 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
15 "clean": "rm -rf node_modules .turbo"
15 },16 },
16 "dependencies": {17 "dependencies": {
17 "@assistant/core": "workspace:*",18 "@assistant/core": "workspace:*",
bun.lock+18−0
@@ -19,6 +19,7 @@ · 18 unmodified lines
19 "devDependencies": {19 "devDependencies": {
20 "@modelcontextprotocol/sdk": "^1.26.0",20 "@modelcontextprotocol/sdk": "^1.26.0",
21 "@types/bun": "latest",21 "@types/bun": "latest",
22 "@typescript/native-preview": "7.0.0-dev.20260216.1",
22 "convex-test": "^0.0.41",23 "convex-test": "^0.0.41",
23 "typescript": "^5.9.3",24 "typescript": "^5.9.3",
24 },25 },
@@ -47,6 +48,7 @@ · 22 unmodified lines
47 "@modelcontextprotocol/sdk": "^1.26.0",48 "@modelcontextprotocol/sdk": "^1.26.0",
48 },49 },
49 "devDependencies": {50 "devDependencies": {
51 "typescript": "^5.9.3",
50 "zod": "^4.3.6",52 "zod": "^4.3.6",
51 },53 },
52 },54 },
@@ -1288,6 +1290,22 @@ · 1235 unmodified lines
1288 1290
1289 "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.54.0", "", { "dependencies": { "@typescript-eslint/types": "8.54.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA=="],1291 "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.54.0", "", { "dependencies": { "@typescript-eslint/types": "8.54.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA=="],
1290 1292
1293 "@typescript/native-preview": ["@typescript/native-preview@7.0.0-dev.20260216.1", "", { "optionalDependencies": { "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20260216.1", "@typescript/native-preview-darwin-x64": "7.0.0-dev.20260216.1", "@typescript/native-preview-linux-arm": "7.0.0-dev.20260216.1", "@typescript/native-preview-linux-arm64": "7.0.0-dev.20260216.1", "@typescript/native-preview-linux-x64": "7.0.0-dev.20260216.1", "@typescript/native-preview-win32-arm64": "7.0.0-dev.20260216.1", "@typescript/native-preview-win32-x64": "7.0.0-dev.20260216.1" }, "bin": { "tsgo": "bin/tsgo.js" } }, "sha512-Vhffqcro1Q3w1zRgZ0E1C5JOB+8CtwKjSsszYfpGkt0qvRtOBO227AcnQe1sEiX+VLZW3Iw1VGVMhc8hNhpRZw=="],
1294
1295 "@typescript/native-preview-darwin-arm64": ["@typescript/native-preview-darwin-arm64@7.0.0-dev.20260216.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ZcxlhZ4Scm1LFKeGXo7V+B4H1Mb27/uVBO1o7d060jRIpGRuCOxsELo7jgUY8UhhTXtSpLECHsmAj8EyERSi9w=="],
1296
1297 "@typescript/native-preview-darwin-x64": ["@typescript/native-preview-darwin-x64@7.0.0-dev.20260216.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-hY+hondi5/2m0rNSIgRkOfmA6FIx+KKnjPd9R6hHHumQu00XXoYA/xcIq3SyV1sXtowkhN+hR3ZUp1y3Orb84A=="],
1298
1299 "@typescript/native-preview-linux-arm": ["@typescript/native-preview-linux-arm@7.0.0-dev.20260216.1", "", { "os": "linux", "cpu": "arm" }, "sha512-Q+HBF1rlwpV1Nh2AESwte0lEHNPYVvbRLPQzTrorvx3gvXdRzfO9tHa6JL8Y1BO2KmSZBKmT7U+0188icTPBSg=="],
1300
1301 "@typescript/native-preview-linux-arm64": ["@typescript/native-preview-linux-arm64@7.0.0-dev.20260216.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-L+3CgBVAjpYnWgulmTWOTp7IdbLjgOzLpppr2597i79KE5MV7UyC73UCdvK3GtAl1Huiss0HsWVBBEYRkLQsfw=="],
1302
1303 "@typescript/native-preview-linux-x64": ["@typescript/native-preview-linux-x64@7.0.0-dev.20260216.1", "", { "os": "linux", "cpu": "x64" }, "sha512-qIaQFRL2s+fi3zbS0+fCgR1Nk7fXMnbLW7wsFpcwn3fpEYuMdiQY9pwE8SvJsw2M78xZlXL5L9l5CL8ti0cNZQ=="],
1304
1305 "@typescript/native-preview-win32-arm64": ["@typescript/native-preview-win32-arm64@7.0.0-dev.20260216.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-Yu7OLyMng9A2GA0vlZ8WZuqAnI+WM55UaY1UwA03TJdcljk/AcEzb/99fEq5g0kPg3k2wwHiyMrCGxxu99+gXQ=="],
1306
1307 "@typescript/native-preview-win32-x64": ["@typescript/native-preview-win32-x64@7.0.0-dev.20260216.1", "", { "os": "win32", "cpu": "x64" }, "sha512-Lc+E1UNGKioOtKHUm1CLFO3W2PFWdLpJ6j2uB52RH0zhb63p4CEGCsuDH36QvgsXLibviExeNUF5Dum0rNKT9g=="],
1308
1291 "@ungap/structured-clone": ["@ungap/structured-clone@1.3.0", "", {}, "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g=="],1309 "@ungap/structured-clone": ["@ungap/structured-clone@1.3.0", "", {}, "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g=="],
1292 1310
1293 "@unrs/resolver-binding-android-arm-eabi": ["@unrs/resolver-binding-android-arm-eabi@1.11.1", "", { "os": "android", "cpu": "arm" }, "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw=="],1311 "@unrs/resolver-binding-android-arm-eabi": ["@unrs/resolver-binding-android-arm-eabi@1.11.1", "", { "os": "android", "cpu": "arm" }, "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw=="],
executor/apps/menubar/package.json+2−1
@@ -6,6 +6,7 @@ · 5 unmodified lines
6 "dev": "bunx electron ./src/main.js",6 "dev": "bunx electron ./src/main.js",
7 "start": "bunx electron ./src/main.js",7 "start": "bunx electron ./src/main.js",
8 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",8 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
9 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"9 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
10 "clean": "rm -rf node_modules .turbo"
10 }11 }
11}12}
executor/apps/web/package.json+2−1
@@ -9,7 +9,8 @@ · 8 unmodified lines
9 "start": "bun with-env next start -p 5312",9 "start": "bun with-env next start -p 5312",
10 "lint": "eslint",10 "lint": "eslint",
11 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",11 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
12 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"12 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
13 "clean": "rm -rf node_modules .next .turbo"
13 },14 },
14 "dependencies": {15 "dependencies": {
15 "@executor/database": "workspace:*",16 "@executor/database": "workspace:*",
executor/apps/web/src/lib/session-storage.ts+1−1
@@ -5,7 +5,7 @@ const SESSION_KEY = "executor_session_id"; · 4 unmodified lines
5const ACTIVE_WORKSPACE_KEY = "executor_active_workspace_id";5const ACTIVE_WORKSPACE_KEY = "executor_active_workspace_id";
6const ACTIVE_WORKSPACE_BY_ACCOUNT_KEY = "executor_active_workspace_by_account";6const ACTIVE_WORKSPACE_BY_ACCOUNT_KEY = "executor_active_workspace_by_account";
7 7
8const workspaceByAccountSchema = z.record(z.string());8const workspaceByAccountSchema = z.record(z.string(), z.string());
9 9
10function isWorkspaceId(value: string): value is Id<"workspaces"> {10function isWorkspaceId(value: string): value is Id<"workspaces"> {
11 return value.trim().length > 0;11 return value.trim().length > 0;
executor/infra/package.json+2−1
@@ -9,7 +9,8 @@ · 8 unmodified lines
9 "diff": "sst diff",9 "diff": "sst diff",
10 "refresh": "sst refresh",10 "refresh": "sst refresh",
11 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",11 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
12 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"12 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
13 "clean": "rm -rf node_modules .turbo"
13 },14 },
14 "dependencies": {15 "dependencies": {
15 "@pulumi/command": "^1.1.3",16 "@pulumi/command": "^1.1.3",
executor/packages/core/package.json+2−1
@@ -8,7 +8,8 @@ · 7 unmodified lines
8 },8 },
9 "scripts": {9 "scripts": {
10 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit",10 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit",
11 "typecheck:slow": "bunx tsc --noEmit"11 "typecheck:slow": "bunx tsc --noEmit",
12 "clean": "rm -rf node_modules .turbo"
12 },13 },
13 "dependencies": {14 "dependencies": {
14 "better-result": "^2.7.0",15 "better-result": "^2.7.0",
executor/packages/database/package.json+2−1
@@ -4,7 +4,8 @@ · 3 unmodified lines
4 "private": true,4 "private": true,
5 "scripts": {5 "scripts": {
6 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",6 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
7 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"7 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
8 "clean": "rm -rf node_modules .turbo"
8 },9 },
9 "main": "./convex/_generated/api.js",10 "main": "./convex/_generated/api.js",
10 "types": "./convex/_generated/api.d.ts"11 "types": "./convex/_generated/api.d.ts"
executor/packages/runner-node/package.json+2−1
@@ -5,7 +5,8 @@ · 4 unmodified lines
5 "type": "module",5 "type": "module",
6 "scripts": {6 "scripts": {
7 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit",7 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit",
8 "typecheck:slow": "bunx tsc --noEmit"8 "typecheck:slow": "bunx tsc --noEmit",
9 "clean": "rm -rf node_modules .turbo"
9 },10 },
10 "devDependencies": {11 "devDependencies": {
11 "typescript": "^5.9.3"12 "typescript": "^5.9.3"
executor/packages/runner-sandbox-host/package.json+2−1
@@ -7,7 +7,8 @@ · 6 unmodified lines
7 "dev": "wrangler dev --port 8787",7 "dev": "wrangler dev --port 8787",
8 "deploy": "wrangler deploy",8 "deploy": "wrangler deploy",
9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit",9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit",
10 "typecheck:slow": "bunx tsc --noEmit"10 "typecheck:slow": "bunx tsc --noEmit",
11 "clean": "rm -rf node_modules .turbo"
11 },12 },
12 "devDependencies": {13 "devDependencies": {
13 "@cloudflare/workers-types": "^4.20250214.0",14 "@cloudflare/workers-types": "^4.20250214.0",
package.json+1−0
@@ -36,6 +36,7 @@ · 35 unmodified lines
36 "typecheck:executor:slow": "bunx tsc --noEmit -p executor/tsconfig.json",36 "typecheck:executor:slow": "bunx tsc --noEmit -p executor/tsconfig.json",
37 "typecheck:assistant": "bunx --package @typescript/native-preview tsgo --noEmit -p assistant/packages/server/tsconfig.json && bunx --package @typescript/native-preview tsgo --noEmit -p assistant/packages/bot/tsconfig.json",37 "typecheck:assistant": "bunx --package @typescript/native-preview tsgo --noEmit -p assistant/packages/server/tsconfig.json && bunx --package @typescript/native-preview tsgo --noEmit -p assistant/packages/bot/tsconfig.json",
38 "typecheck:assistant:slow": "bunx tsc --noEmit -p assistant/packages/server/tsconfig.json && bunx tsc --noEmit -p assistant/packages/bot/tsconfig.json",38 "typecheck:assistant:slow": "bunx tsc --noEmit -p assistant/packages/server/tsconfig.json && bunx tsc --noEmit -p assistant/packages/bot/tsconfig.json",
39 "clean": "bun run --filter '*' --if-present clean && rm -rf node_modules .turbo",
39 "knip": "bunx knip --config knip.json",40 "knip": "bunx knip --config knip.json",
40 "db:clear:executor": "bun with-env bun run executor/scripts/dev/wipe/convex-db.ts",41 "db:clear:executor": "bun with-env bun run executor/scripts/dev/wipe/convex-db.ts",
41 "convex:codegen": "bunx --cwd executor convex codegen"42 "convex:codegen": "bunx --cwd executor convex codegen"
sources/package.json+2−1
@@ -7,7 +7,8 @@ · 6 unmodified lines
7 "start": "bun server.ts",7 "start": "bun server.ts",
8 "sync": "bun server.ts --sync-only",8 "sync": "bun server.ts --sync-only",
9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",9 "typecheck": "bunx --package @typescript/native-preview tsgo --noEmit -p tsconfig.json",
10 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json"10 "typecheck:slow": "bunx tsc --noEmit -p tsconfig.json",
11 "clean": "rm -rf node_modules .turbo"
11 },12 },
12 "dependencies": {},13 "dependencies": {},
13 "devDependencies": {14 "devDependencies": {