Skip to main content

Repo Map

This is the short orientation guide for the Babysitter monorepo.

High-Value Commands

Source of truth: package.json.

npm run build:sdk
npm run test:sdk
npm run verify:metadata
npm run build:hooks-mux
npm run test:hooks-mux
npm run lint:hooks-mux

Core Packages

PathPackageRole
packages/sdk@a5c-ai/babysitter-sdkCore runtime, storage, tasks, CLI, hooks, profiles, plugins, compression
packages/babysitter@a5c-ai/babysitterMetapackage and babysitter binary
packages/babysitter-agent@a5c-ai/babysitter-agentOptional runtime CLI exposed as babysitter-harness
packages/babysitter-tui-plugins@a5c-ai/babysitter-tui-pluginsTUI panels for status, cost, and governance
packages/atlas@a5c-ai/atlasAtlas catalog graph SDK, CLI, and data
packages/atlas/webui@a5c-ai/atlas-webuiAtlas graph explorer (Next.js)
packages/hooks-mux/*hooks-mux workspace packagesHook normalization, CLI, and harness adapters

Key Entry Points

Repo Conventions

  • Import workspace packages by package name, never cross-package relative paths.
  • Keep event-sourced state transitions inside the SDK runtime and storage layers.
  • Prefer co-located tests in __tests__/ with *.test.ts.
  • Unused variables should use _ prefixes where needed for ESLint.