- Use
codebat.bat <agent>as the primary interface. Keep shared logic inlib/codebat.cjsand agent-specific metadata inagents.json. - Install each agent only inside
runtime/<agent>; never add agent dependencies to the root package.json or repair another agent's installation. - Preserve project-local state and execute agents from Codebat's immediate parent.
- Keep user-facing AI agent batch launchers in the repository root.
- Name each launcher
_<agent>.bat, using a lowercase agent identifier and a lowercase.batextension. - Preserve the leading underscore. It intentionally groups launchers together ahead of supporting files in directory listings.
- Keep these convenience/backwards-compatible launchers as thin wrappers around
codebat.bat, following_opencode.bat. - Keep launchers in the repository root because they use their immediate parent directory as the target workspace.
- Update
README.md, including Quick Start and Supported Agents, whenever a launcher is added, removed, or renamed.