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.

403 B
Raw Blame
import * as Context from "effect/Context";
import * as Layer from "effect/Layer";
import * as Semaphore from "effect/Semaphore";

export class MemoryRevisionWriteLock extends Context.Service<
  MemoryRevisionWriteLock,
  Semaphore.Semaphore
>()("akeru-bot/memory/Services/MemoryRevisionWriteLock") {}

export const MemoryRevisionWriteLockLive = Layer.effect(MemoryRevisionWriteLock, Semaphore.make(1));