Commit Graph

35 Commits

Author SHA1 Message Date
github-actions[bot] 5861678cf5 chore: version packages (#245)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-21 19:40:19 +08:00
github-actions[bot] 3a70f09344 chore: version packages (#243)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-21 16:02:10 +08:00
github-actions[bot] e0591a6d63 chore: version packages (#239)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-20 03:24:42 +08:00
github-actions[bot] a07e698083 chore: version packages (#236)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-20 02:53:21 +08:00
github-actions[bot] 40b965b782 chore: version packages (#233)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-20 00:32:56 +08:00
github-actions[bot] ed6ef7dac8 chore: version packages 2026-03-19 11:49:09 +00:00
Adcent dbc26047a9 chore: version packages 2026-03-19 15:42:29 +08:00
github-actions[bot] 1ca43bc593 chore: version packages 2026-03-17 09:43:21 +00:00
github-actions[bot] e412976ade chore: version packages (#198)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-12 22:19:01 +08:00
github-actions[bot] a8c40f628b chore: version packages 2026-03-11 13:54:38 +00:00
github-actions[bot] a2b21ca129 chore: version packages 2026-03-09 05:28:54 +00:00
Junliang Feng 15fda06727 chore(release): bump CLI version to 0.8.4 (#183) 2026-03-03 22:16:03 +08:00
github-actions[bot] 7298d2f994 chore: version packages 2026-03-02 16:51:07 +00:00
adcentury aea805b320 [root]fix: sync CLI Rust version and bump to v0.8.2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 18:44:33 +08:00
github-actions[bot] 47deeb0650 chore: version packages 2026-02-28 04:46:40 +00:00
github-actions[bot] 5fda9fc3bf chore: version packages 2026-02-27 09:34:57 +00:00
github-actions[bot] e7b0d1e01a chore: version packages (#160)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-24 11:56:17 +08:00
github-actions[bot] 998c60cc35 chore: version packages 2026-02-23 07:17:41 +00:00
github-actions[bot] b64fd33dc9 chore: version packages (#139)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-14 01:43:57 +08:00
s1mba fef4152fb7 fix: add CHANGELOG.md to platform packages (#137)
* [root]chore: add changeset for CLI patch to test release workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [root]fix: align CLI and platform package versions to npm (0.7.2)

Local versions were 0.3.1 while npm had 0.7.2 (CI used to overwrite
versions at publish time without committing back). Align to 0.7.2 so
changeset can manage versions going forward.

Also revert pnpm-workspace.yaml to keep platform packages in workspace
(avoids npm resolution failures) and let them pass changeset validation
by not being in the ignore list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [root]fix: add CHANGELOG.md to platform packages for changesets/action

changesets/action reads CHANGELOG.md of all modified packages when
composing the Version PR. Platform packages are modified by
sync-versions.js but lacked CHANGELOG.md files, causing ENOENT.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [root]fix: update lockfile after sync-versions to prevent frozen-lockfile failure

sync-versions.js rewrites CLI optionalDependencies versions, making
the lockfile stale. Add pnpm install after sync to keep it in sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [root]fix: use workspace:* for CLI platform deps to avoid lockfile staleness

- CLI optionalDependencies changed from exact versions to workspace:*
  so pnpm resolves locally instead of from npm registry
- Remove optionalDependencies sync from sync-versions.js (no longer needed)
- Add workspace:* → actual version replacement step in publish-cli job
  before npm publish
- Remove pnpm install from version-packages (lockfile stays stable with
  workspace links)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 21:35:28 +08:00
s1mba e011dfae5e fix: align CLI versions to npm and fix changeset config (#136)
* [root]chore: add changeset for CLI patch to test release workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [root]fix: align CLI and platform package versions to npm (0.7.2)

Local versions were 0.3.1 while npm had 0.7.2 (CI used to overwrite
versions at publish time without committing back). Align to 0.7.2 so
changeset can manage versions going forward.

Also revert pnpm-workspace.yaml to keep platform packages in workspace
(avoids npm resolution failures) and let them pass changeset validation
by not being in the ignore list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 19:37:43 +08:00
s1mba 731cc340d8 [packages/cli] Add comprehensive CLI test suite (#128)
* [packages/cli]test: add comprehensive CLI test suite with E2E browser tests

- Add unit tests for wrapper (actionbook.js), postinstall, config, profile,
  search, get, and sources commands
- Add Tier 1 browser tests (arg validation, help output, defaults)
- Add Tier 2 browser E2E tests (navigation, interaction, screenshots,
  cookies, tabs, error handling, JSON output)
- Fix E2E test reliability: add --wait for element readiness after navigation,
  use eval-based form submit for login flow, match actual CLI exit codes
- Suppress macOS Keychain dialogs in tests via --use-mock-keychain config
- Set testTimeout to 60s for browser E2E operations
- Export modules from actionbook.js and postinstall.js for testability

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [packages/cli]fix: resolve Windows .exe suffix when locating test CLI binary

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [packages/cli]fix: skip shell-script mock tests on Windows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:36:15 +08:00
Adcent f5ae0ea7ed Split CLI distribution into platform-specific npm packages 2026-02-06 21:05:30 +08:00
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
4bmis 1b6fdad69c [packages/cli]release: v0.3.0 2026-02-04 17:13:10 +08:00
junliang.feng 6e12801e59 [packages/cli]chore: bump version to 0.2.3 2026-01-28 17:03:45 +08:00
junliang.feng e3d2ebc7bb [packages/cli]chore: bump version to 0.2.3-alpha 2026-01-28 16:53:58 +08:00
junliang.feng 666a75150d [packages/cli]chore: bump version to 0.2.3 2026-01-28 16:48:12 +08:00
junliang.feng fe0ae37c72 [packages/cli]chore: bump version to 0.2.2 2026-01-28 16:18:55 +08:00
junliang.feng 5ed3e13ec3 [packages/cli]chore: bump version to 0.2.0
New feature: browser command for agent-browser integration
2026-01-27 22:44:43 +08:00
junliang.feng 201f0461aa [packages/cli]refactor: bundle agent-browser as dependency instead of global install
- Add agent-browser as direct dependency in package.json
- Remove automatic npm global installation logic
- Simplify installAgentBrowser() to only download Chromium binaries
- Update documentation to reflect simpler setup process
- Remove checkAgentBrowserInstalled() and showAgentBrowserSetupInstructions()
- Update help text to clarify browser install only downloads Chromium
- Keep --with-deps flag support for Linux
2026-01-27 21:36:51 +08:00
Adcent 42a416ac88 [packages]chore: bump versions for pnpm publish fix
- @actionbookdev/sdk: 0.2.1 → 0.2.2
- @actionbookdev/mcp: 0.1.2 → 0.1.3
- @actionbookdev/cli: 0.1.1 → 0.1.2

Fix: use pnpm publish to properly resolve workspace:* protocol

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 19:55:20 +08:00
Adcent c28f78cc5f [packages]chore: bump versions for Apache 2.0 license release
- @actionbookdev/sdk: 0.2.0 → 0.2.1
- @actionbookdev/mcp: 0.1.1 → 0.1.2
- @actionbookdev/cli: 0.1.0 → 0.1.1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 19:11:34 +08:00
Adcent 2638fb8cbd [root]chore: update license to Apache 2.0
- Replace modified Apache 2.0 license with standard Apache 2.0
- Add license field to packages/js-sdk/package.json
- Add license field to packages/mcp/package.json
- Update license field in packages/cli/package.json from MIT to Apache-2.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 19:10:03 +08:00
Adcent 036a64aa2e [packages/cli]feat: add CLI package (@actionbookdev/cli)
- Add actionbook CLI with search, get, and sources commands
- Support formatted output with colors and JSON output mode
- Publish as @actionbookdev/cli to npm

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 19:01:23 +08:00