Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

allow nonempty

Julius Marminge319ac4590fa6
diff --git a/apps/web/src/appSettings.ts b/apps/web/src/appSettings.ts
index 046ca1438..def3272c9 100644
--- a/apps/web/src/appSettings.ts
+++ b/apps/web/src/appSettings.ts
@@ -4,10 +4,10 @@ import { Option, Schema } from "effect";
const APP_SETTINGS_STORAGE_KEY = "t3code:app-settings:v1";
const AppSettingsSchema = Schema.Struct({
- codexBinaryPath: Schema.NonEmptyString.check(Schema.isMaxLength(4096)).pipe(
+ codexBinaryPath: Schema.String.check(Schema.isMaxLength(4096)).pipe(
Schema.withConstructorDefault(() => Option.some("")),
),
- codexHomePath: Schema.NonEmptyString.check(Schema.isMaxLength(4096)).pipe(
+ codexHomePath: Schema.String.check(Schema.isMaxLength(4096)).pipe(
Schema.withConstructorDefault(() => Option.some("")),
),
confirmThreadDelete: Schema.Boolean.pipe(Schema.withConstructorDefault(() => Option.some(true))),