Skip to content

Releases: tranhieu860/AHVclaw

v0.2.12

Choose a tag to compare

@github-actions github-actions released this 26 Aug 05:16
v0.2.12: plugins: sync from registry (bấm tay trong CMS)

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

Choose a tag to compare

@tranhieu860 tranhieu860 released this 22 Aug 16:38

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

v0.2.0-p2 — bot-ready, plugin version tracking

Choose a tag to compare

@tranhieu860 tranhieu860 released this 22 Aug 15:43

AHV CLI v0.2.0-p2 — bot-ready, plugin version tracking

Bản này chốt contract cho Telegram bot team integrate + admin CMS auto-track plugin version.

Cài đặt

curl -fsSL https://ahvclaw.com/install.sh | bash

Pin theo tag (cho bot team & production)

git -C ~/.ahv/src checkout v0.2.0-p2

Highlights

Bot adapter (10 subcommand JSONL contract):

  • ahv --version, ahv auth {status,login,logout} --json
  • ahv login {status, url PROVIDER, logout PROVIDER} --json (Grok/Codex/Claude OAuth)
  • ahv doctor --json — 9 checks với severity taxonomy (ok/warn/error)
  • ahv models {list, show ID} --json — full harness catalog (subscription + AHV router)
  • ahv sessions {list, show ID, latest} --json — multi-frame zstd decode, real turn/event counts
  • ahv run --prompt-file --cwd --output jsonl [--session-id | --resume] --no-color --no-banner

JSONL event taxonomy: session_meta / assistant_delta / tool_status / assistant_final / turn_end / error

Error codes: missing_credential / not_logged_in / quota_limit / rate_limit / network_transient / model_unavailable / context_too_large / permission_denied / tool_error / internal_error

Exit codes: 0 completed / 1 terminal / 2 recoverable / 124 SIGTERM

Plugin version tracking:

  • Admin CMS (/admin) auto-fetch mỗi 6h: pinned vs latest
  • Badge stale/latest cho từng plugin (10 plugin: 5 workspace + 3 npm + 2 AHV bundle bot adapter)
  • Nút "Check phiên bản" trigger refresh thủ công

Subscription plugin: dsh-plugin-subscriptions@0.5.0 — Grok/ChatGPT Codex/Claude Pro OAuth, model catalog auto-mount sau login.

Version reflect chuẩn:

$ ahv --version
ahv v0.2.0-p2 (commit c4b1b07, dsh 0.1.1-rc.1)

Bake vào $FORK/AHV_VERSION khi install/update — không phụ thuộc git command runtime.

Contract fixes since v0.2.0-p0

  • No secret leak: grep sweep sk-*/Bearer/token/prefix = 0 leak trên mọi output
  • Missing credential: JSONL error + exit 1 (không lãng phí boot dsh)
  • Doctor severity: warn (route degraded non-blocking) vs error (blocking)
  • Resume error path: turn_end reason=error → emit error event + exit 2
  • Session persistence: multi-frame zstd decode → real events count
  • Login flow: local http://127.0.0.1:3080 mặc định cho user cuối, override qua AHV_WEB_PUBLIC_URL env cho server có domain

Non-goals (Phase 2 roadmap)

  • OAuth device-code CLI (login không cần browser)
  • Realtime streaming assistant_delta cho long turn với tool calls
  • Models list caching client-side (mỗi call spawn dsh ~30-60s)
  • Auto-bump plugin script khi detect stale

Files chính

  • packages/bundle/ahv/src/bot-{runner,startup,list-models}.ts — Cordis plugin JSONL streamer
  • packages/bundle/ahv/cordis.patch.{bot,list-models}.yml — patch overlays
  • scripts/prod/{ahv-bot.mjs,ahv-wrapper.sh,install.sh,ahv-web.service,ahv-admin-{server.mjs,index.html},landing-index.html} — deployment snapshots

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

v0.2.0-p1 — resume error contract + AHV tag version

Choose a tag to compare

@tranhieu860 tranhieu860 released this 22 Aug 15:44

v0.2.0-p1 — 4 blockers fix từ bot team acceptance (preview)

  1. ahv --version trả AHV tag + short SHA (không chỉ dsh upstream number).
  2. Source clean sau git pull (không dirty).
  3. Repo public — clone không cần token.
  4. ahv run --resume emit error event + non-zero exit khi turn_end reason=error (không silent exit 0).

Superseded bởi: v0.2.0-p2 — thêm version file bake (không phụ thuộc git runtime), doctor severity taxonomy warn/error, admin CMS plugin version tracking.

v0.2.0-p0 — bot adapter initial contract

Choose a tag to compare

@tranhieu860 tranhieu860 released this 22 Aug 15:44

v0.2.0-p0 — bot adapter initial contract (preview)

Bản đầu tiên của AHV CLI bot adapter (JSONL streamer cho Telegram/automation).

Đã có: version / auth status/login/logout / doctor / sessions list/show/latest / models list/show / run --prompt-file --output jsonl [--session-id | --resume] / login status/url/logout.

Superseded bởi: v0.2.0-p1 (fix 5 blockers từ bot acceptance) → v0.2.0-p2 (bake version file, doctor severity, version tracking).

Cài: curl -fsSL https://ahvclaw.com/install.sh | bash (sẽ nhận latest tag).

[LEGACY] AHVclaw v1.0.0 — Autonomous AI Agent Platform (2026-04)

Choose a tag to compare

@tranhieu860 tranhieu860 released this 04 Apr 06:14

⚠ LEGACY RELEASE — Đây là bản cũ của project AHVclaw ban đầu (Go/Next backend + autonomous AI agent platform). Kể từ tháng 8/2026, tranhieu860/AHVclaw đã được rebuild hoàn toàn thành AHV CLI — soft-fork của DeepSeek Harness (dsh) cho agentic dev terminal.

Bản mới nhất hiện tại: v0.2.0-p2

Landing page: https://ahvclaw.com

Release này giữ lại chỉ cho lịch sử; source ở tag v1.0.0 không còn được maintain.