Files
actionbook__actionbook/docs/community/contributing.mdx
mcfn.feng 58545129de [root]refactor: remove actionbook-rs, promote cli-v2 to packages/cli
- Delete packages/actionbook-rs/ (legacy 0.x CLI)
- Delete old packages/cli/ (JS npm wrapper for 0.x)
- Rename packages/cli-v2/ → packages/cli/ (git mv)
- Merge npm wrapper files (bin/actionbook.js, scripts/postinstall.js) into new cli/
- Update package.json: name → @actionbookdev/cli, private → false, add npm distribution fields
- Update sync-versions.js: point Cargo.toml/Cargo.lock sync at packages/cli/
- Update release.yml: build from packages/cli/ instead of packages/actionbook-rs/
- Update test.yml: paths and working-directory from cli-v2 → cli
- Update CLAUDE.md, CONTRIBUTING.md, docs, issue templates
- Delete stale changeset (fix-screenshot-timeout.md)
- Keep 6 platform binary packages unchanged
2026-04-02 00:46:12 +08:00

40 lines
1.2 KiB
Plaintext

---
title: "Contributing"
description: "How to contribute to Actionbook"
---
## Development
This public repository contains the CLI, SDK, MCP server, JSON UI, docs, and example projects. The internal build pipeline is no longer part of the open-source repo.
### Prerequisites
- Node.js 20+
- pnpm 10+
- Rust stable for `packages/cli`
### First-time Setup
1. Install dependencies:
```bash
pnpm install
```
2. Run the checks that match the package you changed:
```bash
pnpm --filter @actionbookdev/sdk test
pnpm --filter @actionbookdev/mcp build
pnpm --filter @actionbookdev/tools-ai-sdk test
pnpm --filter @actionbookdev/json-ui build
cargo test --manifest-path packages/cli/Cargo.toml
```
## Contributing
- **[Read the repository guide](https://github.com/actionbook/actionbook/blob/main/CONTRIBUTING.md)** - See branching, commit message, and validation conventions.
- **[Request a Website](https://actionbook.dev/request-website)** - Suggest websites you want Actionbook to index.
- **[Join the Community](https://actionbook.dev/discord)** - Join our Discord to get help, share your agents, and discuss ideas.
- **[Join the Waitlist](https://actionbook.dev)** - We are currently in private beta. Join if you are interested in contributing or using Actionbook.