picoclaw/pkg
Danieldd28 e20ac34f35 feat: add browser automation tool via agent-browser CLI
Integrate agent-browser CLI as a lightweight browser automation tool.
Instead of embedding browser dependencies, this wraps the external
agent-browser binary via exec.Command, keeping PicoClaw lean.

Changes:
- Add BrowserTool (pkg/tools/browser.go) wrapping agent-browser CLI
- Add BrowserConfig to config with enabled, session, headless, timeout, cdp_port
- Register browser tool conditionally in agent loop
- Add unit tests for argument building, command splitting, error handling

The tool accepts a single 'command' parameter and delegates to agent-browser.
Default CDP port is 9222. Zero new Go dependencies - all stdlib imports.
2026-02-16 22:38:02 +07:00
..
agent feat: add browser automation tool via agent-browser CLI 2026-02-16 22:38:02 +07:00
auth fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
bus Prevent panic on publish after MessageBus is closed (#223) 2026-02-16 15:04:25 +08:00
channels fix: tighten file perms and enforce Slack ACL checks (#186) 2026-02-16 16:06:39 +08:00
config feat: add browser automation tool via agent-browser CLI 2026-02-16 22:38:02 +07:00
constants refactor(tools): extract shared logic for internal channels and tool definitions 2026-02-13 15:05:16 +08:00
cron fix: tighten file perms and enforce Slack ACL checks (#186) 2026-02-16 16:06:39 +08:00
devices feat: add device hotplug event notifications (USB on Linux) 2026-02-14 17:03:04 +08:00
health Add health check endpoints (/health and /ready) for container orchestration liveness and readiness probes. (#104) 2026-02-16 11:53:11 +08:00
heartbeat * fix: heartbeat/service_test.go test failed 2026-02-13 22:19:18 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
migrate Merge branch 'main' of https://github.com/sipeed/picoclaw 2026-02-13 15:36:43 +05:30
providers fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
session Feat issue 183 (#189) 2026-02-16 16:30:54 +08:00
skills feat(skills): add validation for skill info and test cases (#231) 2026-02-16 02:12:50 +08:00
state refactor(heartbeat): add configurable interval and channel-aware routing 2026-02-13 11:13:32 +08:00
tools feat: add browser automation tool via agent-browser CLI 2026-02-16 22:38:02 +07:00
utils Remove duplicate file extension in DownloadFile (#230) 2026-02-16 02:20:20 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00