Commit Graph

55 Commits

Author SHA1 Message Date
4bmis 4715896e2e [packages/cli]refactor: replace TypeScript CLI with Rust binary wrapper
Replace the TypeScript CLI implementation with a thin JS wrapper that
executes the native Rust binary. The npm package now ships all platform
binaries directly, with a postinstall fallback to download from GitHub
Releases if needed.

- Add bin/actionbook.js: platform detection + binary execution
- Add scripts/postinstall.js: fallback download from GitHub Releases
- Remove all TypeScript source, build config, and dependencies
- Update CI workflow to build, package, and publish with binaries
- Update README with full Rust CLI command documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 12:44:19 +08:00
AlexZhang e0ceb1690c [packages/actionbook-rs]feat: add npm distribution for cross-platform CLI install
Enable `npm install -g @actionbookdev/actionbook-rs` to install the Rust
binary using the optionalDependencies pattern (same as esbuild/biome).

- Switch reqwest and tokio-tungstenite to rustls-tls for cross-compilation
- Add platform-specific packages for 6 targets (darwin/linux/win32 x arm64/x64)
- Add main wrapper package with JS shim that detects platform and spawns native binary
- Add build-npm.sh and publish-npm.sh helper scripts
- Add GitHub Actions workflow triggered on actionbook-rs-v* tags

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 15:12:48 +08:00
Claude 1ba36597d9 [root]docs: update contributing docs - remove emoji and fix details
- Remove all emoji from CONTRIBUTING.md, CODE_OF_CONDUCT.md, and PR template
- Add Rust to prerequisites
- Update PostgreSQL requirement to include pgvector extension
- Add playbook-builder to services and development startup
- Remove non-existent api-server from project structure
- Clarify vector database requirements for embeddings
2026-01-12 00:53:38 +00:00
Claude c91eb03cc7 [root]docs: add contributing guide and community guidelines
- Add CONTRIBUTING.md with complete development setup and guidelines
- Add CODE_OF_CONDUCT.md for community standards
- Add PR template in .github/pull_request_template.md
2026-01-11 17:03:53 +00:00
Claude b5ef1100cd [root]feat: add GitHub Issue templates with component classification
- Add config.yml with contact links
- Add bug-report.yml with component dropdown (SDK/MCP/Builder/API Service/etc.)
- Add feature-request.yml with target component selection
- Add performance-issue.yml for token optimization and performance tracking
- Add question.yml for user questions and support

Templates designed for Actionbook monorepo structure with support for:
- Action Builder, Knowledge Builder
- SDK (@actionbookdev/sdk), MCP Server (@actionbookdev/mcp)
- API Service, Database, Website components
2026-01-06 13:42:06 +00:00