Twig

Packages & apps

What each folder is for. No mystery.

Apps

PackageJob
apps/nativeAndroid app. Expo. React Native. HeroUI Native. Uniwind.
apps/cliLaptop companion TUI. Lends compute over USB.
apps/fumadocsDocs + marketing. twig.bhalala.org

Packages

PackageJob
@twig/coreDomain: agents, workspaces, memory types, dreams, skills, paths, ids
@twig/memoryFS + journal + index + recall (adapters in)
@twig/harnessModels + tools (planned)
@twig/linkUSB protocol phone ↔ laptop (planned)
@twig/envEnv schemas
@twig/configShared TS config

@twig/core + @twig/memory = heart of what exists now. Zod schemas. Pure logic. Phone and companion share types without dragging Expo or Node into shared graph.

Tooling

  • Bun workspaces + catalog
  • Turborepo for dev / build / types / test
  • TypeScript via @twig/config
bun install
bun run check-types
bun run test