Expand description
@acp:module “Tool Sync” @acp:summary “Sync ACP context to AI tool configuration files” @acp:domain cli @acp:layer service
This module implements tool synchronization for transparent AI tool integration.
§Overview
The sync system generates tool-specific configuration files that inject ACP context
into AI development tools automatically. Users run acp init once, and context flows
to all their tools without manual intervention.
§Supported Tools
- Cursor (.cursorrules)
- Claude Code (CLAUDE.md)
- GitHub Copilot (.github/copilot-instructions.md)
- Continue.dev (.continue/config.json)
- Windsurf (.windsurfrules)
- Cline (.clinerules)
- Aider (.aider.conf.yml)
- Generic fallback (AGENTS.md)
Re-exports§
pub use adapter::BootstrapContext;pub use adapter::DetectionResult;pub use adapter::ToolAdapter;pub use tool::MergeStrategy;pub use tool::OutputFormat;pub use tool::Tool;
Modules§
- adapter
- @acp:module “Tool Adapter Trait” @acp:summary “Trait definition for tool-specific adapters” @acp:domain cli @acp:layer service
- adapters
- @acp:module “Tool Adapters” @acp:summary “Built-in adapters for all supported AI tools” @acp:domain cli @acp:layer service
- content
- @acp:module “Bootstrap Content Generator” @acp:summary “Generates bootstrap content for AI tool files” @acp:domain cli @acp:layer service
- merge
- @acp:module “Content Merge Logic” @acp:summary “Handles merging generated content with existing files” @acp:domain cli @acp:layer service
- tool
- @acp:module “Sync Tool Types” @acp:summary “Supported AI tool definitions and metadata” @acp:domain cli @acp:layer model
Structs§
- Bootstrap
Result - Result of bootstrapping a tool
- Sync
Executor - Main sync executor - coordinates tool detection and bootstrap generation
Enums§
- Bootstrap
Action - Action taken during bootstrap