Commit Graph

9 Commits

Author SHA1 Message Date
Junliang Feng 6502eb87d8 docs: fix snippet import syntax for Mintlify (#187)
Replace unsupported <Snippet file="..."> component with standard
MDX import syntax. Mintlify requires ESM imports for reusable snippets.

Fixes install tabs not rendering on live docs site.

Affected pages:
- docs/guides/installation.mdx
- docs/quickstart.mdx
- docs/openclaw.mdx
- docs/guides/cli-and-skills.mdx
2026-03-04 17:24:16 +08:00
Junliang Feng f021862187 docs: extract install tabs into reusable snippet, fix tab order (script > npm > brew > windows) (#186) 2026-03-04 07:18:44 +08:00
Junliang Feng 115233d7f8 docs: migrate install guides to brew/script-first (CUE-504) (#184)
* docs: migrate install guides to brew/script-first, keep npm (CUE-504)

* docs: keep README install simple (npm only), link to full guide

* docs: use script install in README (no Node.js dependency)

* docs: split Installation into sub-headings per platform
2026-03-04 06:06:02 +08:00
adcentury ce5fe60712 docs: flatten docs navigation and split CLI skills (CUE-418) 2026-02-16 13:31:04 +08:00
Adcent 1aaa6548e8 docs: make website CLI-first and demote MCP/SDK paths (#119) 2026-02-12 10:43:34 +08:00
sen c91746d24f refactor: remove extension isolated mode, unify browser docs (#111)
* [packages/actionbook-rs]refactor: remove extension isolated mode, unify browser docs

Simplify browser architecture from three modes to two:
- Isolated (default): launches a fresh Chrome profile via CDP
- Extension: connects to the user's running Chrome via bridge

Remove extension isolated mode entirely:
- Delete isolated_extension.rs, cdp_pipe.rs, cdp_http.rs
- Remove --isolated flag from CLI and config
- Simplify extension_bridge (remove isolated file helpers)
- Simplify launcher (remove pipe transport, LaunchResult)
- Clean up setup wizard and config fields
- Add legacy .isolated file cleanup for upgrade compatibility
- Fix stop() to also resolve legacy bridge-pid.isolated

Merge browser-extension.mdx into unified browser.mdx guide:
- Single page covers both Isolated and Extension modes
- Browser commands listed once (add --extension to switch)
- Update all cross-references in docs

* [packages/actionbook-rs]fix: add liveness check to extension stop PID resolution

Previously, `extension stop` blindly preferred the standard PID file over
the legacy `.isolated` file without checking liveness. In upgrade scenarios
where the legacy file held the live bridge PID and the standard file was
stale (PID possibly reused by OS), this could send SIGTERM to an unrelated
process.

Introduce `resolve_pid_for_port()` with liveness checking:
- Same PID in both files → select safely
- Different PIDs → check liveness, pick the live one
- Both alive → refuse to kill (Ambiguous), warn user
- Both dead → clean up stale files (BothMatchedButDead)

Includes 5 unit tests covering all branches.
2026-02-11 00:10:06 +08:00
sen 2e47ee6dab Add browser extension and CLI reference documentation (#95)
* [docs]feat: add browser extension documentation for PR #89

Add comprehensive documentation for the Chrome Extension Bridge feature:
- New guides/browser-extension.mdx with setup, usage, security, and
  troubleshooting sections
- docs.json navigation updated with new page entry
- index.mdx gains Integration Options card section (CLI/Extension/MCP)
- installation.mdx table and links include extension method
- cli-and-skills.mdx adds extension mode tip after browser examples
- api-reference/cli.mdx adds extension subcommands and --extension
  global flag documentation

* [docs]fix: update extension docs to reflect GitHub Release install flow

Sync documentation with PR #93 changes: extension is now downloaded
from GitHub Releases instead of extracted from embedded CLI binary.
2026-02-09 18:42:47 +08:00
Adcent 3e7874b166 docs: remove obsolete browser install step for Rust CLI 2026-02-06 21:55:49 +08:00
Adcent 9c5db26e1a docs: restructure documentation for CLI-first approach 2026-02-05 17:01:11 +08:00