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.

310 B
Raw Blame
import * as Effect from "effect/Effect"
import * as Schema from "effect/Schema"

class A extends Schema.Class<A>("A")({
  a: Schema.String,
  b: Schema.optional(Schema.FiniteFromString),
  c: Schema.Array(Schema.String)
}) {}

Schema.decodeUnknownEffect(A)({ a: "a", b: 1, c: ["c"] }).pipe(
  Effect.runFork
)