Package Exports
- @dallay/agentsync
- @dallay/agentsync/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dallay/agentsync) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@dallay/agentsync
Effortlessly synchronize AI agent configurations across tools like Copilot, Claude, Cursor, and other MCP-compatible servers using symbolic links and an intuitive CLI.
🌟 Explore the Full Documentation Here
✨ Key Features
- Simple CLI: Manage symbolic links with minimal setup.
- Multi-assistant support: Compatible across Copilot, Claude, Gemini, Cursor, VS Code, OpenCode and 25+ more assistants. See the full list and file locations in the main documentation: https://dallay.github.io/agentsync/ (or the repo README).
- Cross-platform binaries: Available for Linux, MacOS, and Windows.
- Node.js integration: Use programmatically within your applications.
🚀 Installation
Make sure you have Node.js (>=18) installed.
Using pnpm (recommended):
pnpm install -g @dallay/agentsyncUsing npm:
npm install -g @dallay/agentsyncUsing yarn:
yarn global add @dallay/agentsyncUsing bun:
bun add -g @dallay/agentsyncVerify installation:
agentsync --help🛠️ Usage
Managing Configurations
Sync Configurations:
Run the following to create symbolic links across your AI coding assistants:
agentsync applyClean Configurations:
Remove previously created symbolic links:
agentsync clean🎯 Example Workflows:
Programmatic Usage in Node.js:
const { main } = require('@dallay/agentsync'); main(['apply']).catch((error) => { console.error(error); process.exit(1); });
Integrate with npm scripts: Add configuration syncing to your npm scripts to automate process workflows. For example, in your
package.json:{ "scripts": { "precommit": "pnpm exec agentsync apply --dry-run", "prepare": "pnpm exec agentsync apply" } }
For complex workflows, see the detailed API documentation.
MCP & Skills
- AgentSync supports MCP generation for multiple agents (Claude, Copilot, Gemini, Cursor, VS Code, OpenCode). The canonical list and file locations live in the repo README and in the docs site (guides/mcp).
- Skills live under
.agents/skills/in the project.
👷 Development
This package is part of the AgentSync mono-repo. It serves as a Node.js wrapper for the high-performance Rust core.
Prerequisites
Steps
Clone the repository:
git clone https://github.com/dallay/agentsync.git cd agentsync
Install dependencies:
pnpm install
Build:
make js-build # or pnpm run build
Run tests and type checks:
make js-test # or pnpm run typecheck
Format:
make fmt
🛠️ Troubleshooting
PNPM_NO_MATURE_MATCHING_VERSION
If pnpm install fails with this error, it's likely due to a strict package release age policy. You can try installing with --ignore-scripts or wait for the package to "mature" in the registry.
Lefthook installation failure
If pnpm install fails during the lefthook setup, you can try:
pnpm install --ignore-scripts🌐 Resources
- Project Repository: GitHub Repository
- Submit Issues: GitHub Issues
- Explore Full Documentation: Documentation Website
📜 License
MIT License. See the LICENSE for details.
🙏 Acknowledgments
Special thanks to the developer community for their contributions and feedback. For suggestions and improvements, feel free to open a pull request!
📣 Ready? Start syncing agent configs today with @dallay/agentsync!