Skip to content

v0.2.1 — @anweat/dsh-browser plugin (11 plugin sẵn)

Choose a tag to compare

@tranhieu860 tranhieu860 released this 22 Aug 16:38
· 35 commits to master since this release

v0.2.1 — Browser plugin cho AHV bundle

AHV giờ có 11 plugin sẵn (từ 10). Plugin mới: @anweat/dsh-browser — self-contained Playwright + OpenCLI browser runtime với 15+ tool.

Highlights

  • Headless-friendly: chạy được cả server prod, bot Telegram, CLI desktop mà không cần DISPLAY env gate.
  • 15+ tool: browser_open/read/screenshot/click/type/scroll/close/execute/recipe_run/userscript_run/script_run_builtin/auth_profile/opencli_run/status/install.
  • Security serious: authProfile với allowedDomains gate, RulePack SHA-256 pinned init scripts ≤64KB, approval mode standard/autonomous/unrestricted.
  • Self-contained: bundle Playwright + OpenCLI local. Chromium cache share global 400MB — browser_install tool pull khi thiếu.
  • browser service injectable — plugin khác inject: ['browser'] để dùng chung 1 Playwright instance.

Verified

  • Smoke test: ahv run --output jsonl → 3 event JSONL, exit 0, không crash.
  • Real test: model gọi browser_status → plugin trả "enabled, chromium headless đã cài, opencli bundled enabled, 4 built-in scripts (article-clean, links, jsonld, forms)".
  • Admin CMS registry: 11 plugin tracked (5 workspace + 4 npm + 2 bot adapter).

Update

ahv update    # tự pull v0.2.1 + cài @anweat/dsh-browser@0.1.6

Try browser tool

ahv "Mở example.com bằng browser_open, chụp screenshot, describe nội dung trang"

Non-goal (Phase 2 backlog)

  • Browserbase cloud integration (paid, skipped)
  • OpenViking memory plugin (AGPL + server required, skipped)

Files

  • packages/bundle/ahv/package.json — dep @anweat/dsh-browser: ^0.1.6
  • packages/bundle/ahv/cordis.patch.yml + .patch.web.yml — insert row browser cho cả headless + web
  • pnpm-workspace.yaml — release-age exclude cho fresh plugin releases
  • scripts/prod/{ahv-wrapper.sh, install.sh}PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 bypass 24h policy

Docs: https://ahvclaw.com · Plugin registry: https://ahvclaw.com/admin · Web UI: https://ahv.ahvclaw.com