summaryrefslogtreecommitdiffhomepage
path: root/cloud/app
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/app')
-rw-r--r--cloud/app/package.json1
-rw-r--r--cloud/app/src/routes/workspace/[id].tsx2
-rw-r--r--cloud/app/tsconfig.json1
3 files changed, 3 insertions, 1 deletions
diff --git a/cloud/app/package.json b/cloud/app/package.json
index 1456bd4d4..086322946 100644
--- a/cloud/app/package.json
+++ b/cloud/app/package.json
@@ -2,6 +2,7 @@
"name": "@opencode/cloud-app",
"type": "module",
"scripts": {
+ "typecheck": "tsc --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",
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx
index c4c18bc66..38e19612a 100644
--- a/cloud/app/src/routes/workspace/[id].tsx
+++ b/cloud/app/src/routes/workspace/[id].tsx
@@ -14,7 +14,7 @@ import { Actor } from "@opencode/cloud-core/actor.js"
/////////////////////////////////////
-const listKeys = query(() => {
+const listKeys = query(async () => {
"use server"
return withActor(() => Key.list())
}, "key.list")
diff --git a/cloud/app/tsconfig.json b/cloud/app/tsconfig.json
index 2907fdbb3..4110b02e5 100644
--- a/cloud/app/tsconfig.json
+++ b/cloud/app/tsconfig.json
@@ -3,6 +3,7 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
+ "skipLibCheck": true,
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,