15 Commits

Author SHA1 Message Date
0xmrpeter
3380faa4df docs: update plugin commands for consistency and clarity
- Changed 'plugins' to 'plugin' in installation, configuration, enabling, and disabling commands for uniformity.
- Updated Node.js version requirements in install script to reflect the minimum supported version.
2026-03-31 15:40:09 +07:00
Mr.Peter
9c9dd5a785
fix(install): address code review issues in install scripts (#172)
- Add accepted-risk comment for NodeSource curl|bash pattern (HTTPS enforced)
- Fix wrapper script to use printf %q to safely handle special chars in repo_dir
- Add validate_args() to reject unsafe chars and path traversal in --git-dir/--version
- Add npm retry logic (3x, 2s delay) to install.ps1 to match install.sh behavior
- Fix nvm detection: replace unreliable command -v nvm with NVM_DIR/nvm.sh checks
- Add git re-check after install_git() with clear error if installation failed
- Fix PowerShell Add-ToPath null-safety for PATH on fresh installs
- Replace echo -e with printf %b to avoid flag misinterpretation in prompt_choice

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:04:01 +07:00
lngdao
1a6a27269d
feat(install): add one-liner install scripts for macOS/Linux/Windows (#170)
* feat(install): add macOS/Linux one-liner install script

* docs: add one-liner install commands to Quick Start

* feat(install): add Windows PowerShell installer

* fix(install): update taglines
2026-03-31 09:58:57 +07:00
0xmrpeter
c3691909b8 refactor(speech): remove Edge TTS integration and related tests; update TTS provider handling
- Removed the Edge TTS provider implementation and its associated tests.
- Updated the SpeechService to support dynamic registration and unregistration of TTS providers.
- Enhanced the speech plugin to install the Edge TTS plugin dynamically if not already available.
- Adjusted configuration to exclude specific test directories and removed unnecessary dependencies from package.json.
2026-03-27 21:24:39 +07:00
0xmrpeter
fb18bdb9b2 fix(docs): update Twitter handle in README and build script
- Changed Twitter handle from Open_ACP to openacp_ai in README.md and build-publish.ts.
- Ensured consistency across documentation and scripts for social media links.
2026-03-27 00:55:18 +07:00
0xmrpeter
dd5ed7151d fix(ci): ensure CLI types built before SDK in publish pipeline
SDK needs dist/index.d.ts from CLI tsc build. In CI, build:publish
runs after fresh install with no dist/. Now build-publish.ts auto-runs
tsc if dist/index.d.ts missing, and CI runs pnpm build first.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 23:26:37 +07:00
0xmrpeter
e6de94347e feat: setup dual-package publish for @openacp/cli + @openacp/plugin-sdk
- SDK peerDependencies: @openacp/cli (not workspace name)
- build-publish.ts builds and prepares both packages
- GitHub Actions publishes both on tag push
- SDK version synced with CLI version
- Template string deps excluded from build verification

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 23:03:57 +07:00
0xmrpeter
6588f91698 fix: improve build-publish with blacklist bundling and dependency verification
- Switch from external whitelist to noExternal blacklist in tsup config
- Add post-build verification to catch missing published dependencies
- Only bundle msedge-tts (pnpm-only), pass through all other deps
2026-03-25 16:04:13 +07:00
0xmrpeter
d4a0f9c3aa fix: only include external deps in published package to avoid pnpm-only install errors 2026-03-25 15:55:56 +07:00
0xmrpeter
aae01af109 feat(registry): improve agent UX with pagination, descriptions, and deduplication
- Add pagination to /agents in Telegram (6 per page, prev/next buttons)
- Show agent descriptions from ACP Registry in both CLI and Telegram
- Deduplicate agent picker logic (handleNew + startInteractiveNewSession)
- Improve CLI install progress with visual progress bar
- Add supported agents table and ACP Registry attribution to README
- Add social links and keywords to package.json and publish script
2026-03-22 21:53:18 +07:00
0xmrpeter
34a8ce36f9 feat(registry): integrate ACP Registry for agent discovery and installation
Add AgentCatalog service layer that fetches agents from the official ACP
Registry CDN, supports 3 distribution types (npx, uvx, binary), and
manages installed agents in ~/.openacp/agents.json.

- New core modules: agent-catalog, agent-store, agent-installer, agent-dependencies
- Bundle registry snapshot for offline fallback
- Auto-migrate existing config.agents to new agent store on startup
- CLI: openacp agents list/install/uninstall/refresh/info
- Telegram: /agents browser, /install command, per-session agent picker
- Setup flow rewritten to use registry with multi-select
- 28 agents available from registry (Claude, Gemini, Cursor, Copilot, etc.)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 19:52:05 +07:00
0xmrpeter
6a52194c13 feat: add restart and update commands to Telegram adapter
- Introduced `/restart` and `/update` commands for managing the OpenACP application directly from Telegram.
- Implemented logic to check for updates, notify users, and handle application restarts seamlessly.
- Enhanced menu options to include new commands, improving user interaction and accessibility.
- Updated session management to ensure proper handling of permission requests and session states during updates and restarts.
2026-03-22 17:04:18 +07:00
0xmrpeter
a9bfc03590 fix: update repository URL in build-publish script 2026-03-20 17:15:02 +07:00
0xmrpeter
40777e75e2 chore: update package.json and pnpm-lock.yaml for dependency management and build configuration
- Added new dependencies: @agentclientprotocol/sdk, @inquirer/prompts, grammy, nanoid, and zod.
- Updated build scripts to use TypeScript compiler directly and modified entry points for the CLI.
- Removed outdated pnpm workspace and TypeScript configuration files.
- Adjusted tsup configuration for improved output structure and TypeScript declaration generation.
2026-03-19 19:03:47 +07:00
0xmrpeter
d19032d779 Enhance OpenACP setup by adding support for plugin adapters and improving configuration management. Update .gitignore to exclude dist-publish, modify package.json to include versioning and new build scripts, and expand README with installation and plugin instructions. Refactor config schema to support dynamic channel configurations and improve main execution flow for better adapter registration. 2026-03-19 17:29:37 +07:00