Development
See AGENTS.md for additional guidelines.Setup
Forking / Rebranding
Configure viapackage.json:
name, configDir, and the bin field for your fork. The app-specific <appName>Config key is preferred; legacy piConfig remains a backwards-compatible shim. Atomic sets these to atomic, .atomic, and the atomic executable. Affects CLI banner, config paths, and environment variable names.
Path Resolution
Three execution modes: package-manager install, standalone binary, and source checkout. Always usesrc/config.ts for package assets:
__dirname directly for package assets.
Debug Command
/debug (hidden) writes to ~/.atomic/agent/atomic-debug.log:
- Rendered TUI lines with ANSI codes
- Last messages sent to the LLM