@nanhara/hara 0.33.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +152 -1
- package/README.md +12 -4
- package/dist/index.js +303 -76
- package/dist/org/planner.js +19 -0
- package/dist/search/semindex.js +62 -11
- package/dist/session/store.js +14 -0
- package/dist/tools/computer.js +156 -16
- package/dist/tui/App.js +40 -5
- package/dist/tui/InputBox.js +2 -2
- package/dist/vision.js +52 -3
- package/package.json +3 -2
- package/plugins/browser/.hara-plugin/plugin.json +9 -0
- package/plugins/browser/skills/web/SKILL.md +27 -0
- package/plugins/chrome/.hara-plugin/plugin.json +9 -0
- package/plugins/chrome/skills/chrome/SKILL.md +26 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: chrome-control
|
|
3
|
+
description: Operate a REAL Chrome (with your persistent logins) for web tasks on signed-in sites — via chrome-devtools-mcp (Chrome DevTools Protocol). Use instead of the isolated Playwright `browser` plugin when the task needs your existing accounts/sessions.
|
|
4
|
+
when_to_use: when a web task must run on a site you're logged into (your dashboards, accounts, web apps) rather than a fresh anonymous browser.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Chrome (real, logged-in) via chrome-devtools-mcp
|
|
8
|
+
|
|
9
|
+
Tools appear as `mcp__chrome__*` (navigate, click, fill, snapshot, network, performance…). Same
|
|
10
|
+
DOM/accessibility-tree reliability as the `browser` plugin, but it drives a **real Chrome with a persistent
|
|
11
|
+
profile** — log into a site once and the session is remembered across runs.
|
|
12
|
+
|
|
13
|
+
## Modes
|
|
14
|
+
- **Persistent profile (default):** `npx chrome-devtools-mcp@latest` launches Chrome with a saved profile at
|
|
15
|
+
`~/.cache/chrome-devtools-mcp/chrome-profile`. Log in once; it persists. Good default.
|
|
16
|
+
- **Attach to YOUR running Chrome:** launch Chrome with `--remote-debugging-port=9222`, then set the MCP command
|
|
17
|
+
to `npx chrome-devtools-mcp@latest --browserUrl http://127.0.0.1:9222` — hara then drives your actual browser
|
|
18
|
+
and all its logins.
|
|
19
|
+
|
|
20
|
+
## Enable (alternative to `browser`, not both)
|
|
21
|
+
Running two browser MCPs at once is confusing. To switch from the default Playwright `browser`:
|
|
22
|
+
`hara plugin add file:<repo>/plugins/chrome && hara plugin disable browser`.
|
|
23
|
+
|
|
24
|
+
## Caution
|
|
25
|
+
This controls a **real** browser session. Confirm before destructive/irreversible actions (purchases, posting,
|
|
26
|
+
sending, deleting); take a snapshot to verify the page/state first.
|