summaryrefslogtreecommitdiffhomepage
path: root/packages/console/core/src
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-10-06 17:17:02 -0400
committerFrank <[email protected]>2025-10-06 17:17:02 -0400
commitf47c7c5a07ce353ee5f8a436e51798f9dffd4477 (patch)
treec44b8d9c86b852e330bd703c4a8b91681ca69211 /packages/console/core/src
parentc2f57ea74d752b7590106ea9b5eeca2aac5d3950 (diff)
downloadopencode-f47c7c5a07ce353ee5f8a436e51798f9dffd4477.tar.gz
opencode-f47c7c5a07ce353ee5f8a436e51798f9dffd4477.zip
wip: zen
Diffstat (limited to 'packages/console/core/src')
-rw-r--r--packages/console/core/src/workspace.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/console/core/src/workspace.ts b/packages/console/core/src/workspace.ts
index f9591632a..32f5bd36c 100644
--- a/packages/console/core/src/workspace.ts
+++ b/packages/console/core/src/workspace.ts
@@ -12,7 +12,7 @@ import { eq } from "drizzle-orm"
export namespace Workspace {
export const create = fn(
z.object({
- name: z.string(),
+ name: z.string().min(1),
}),
async ({ name }) => {
const account = Actor.assert("account")