zeroclaw/src
Argenis ba0377e637
fix(service): headless browser works in service mode (systemd/OpenRC) (#3645)
When zeroclaw runs as a service, the process inherits a minimal
environment without HOME, DISPLAY, or user namespaces. Headless
browsers (Chromium/Firefox) need HOME for profile/cache dirs and
fail with sandbox errors without user namespaces.

- Detect service environment via INVOCATION_ID, JOURNAL_STREAM,
  or missing HOME on Linux
- Auto-apply --no-sandbox and --disable-dev-shm-usage for Chrome
  in service mode
- Set HOME fallback and CHROMIUM_FLAGS on agent-browser commands
- systemd unit: add Environment=HOME=%h and PassEnvironment
- OpenRC script: export HOME=/var/lib/zeroclaw with start_pre()
  to create the directory

Closes #3584
2026-03-24 15:16:06 +03:00
..
agent fix(security): enforce approval policy for channel-driven runs 2026-03-24 15:16:06 +03:00
approval fix(security): enforce approval policy for channel-driven runs 2026-03-24 15:16:06 +03:00
auth feat: stabilize codex oauth and add provider model connectivity workflow 2026-02-24 16:03:01 +08:00
channels fix(channels): wire query_classification config into channel message processing (#3619) 2026-03-24 15:16:06 +03:00
config feat(swarm): multi-agent swarm orchestration, Mistral tool fix, restore --interactive 2026-03-24 15:16:05 +03:00
cost fix(agent): parse MiniMax tool call formats for execution 2026-02-21 12:36:28 +08:00
cron fix(cron): add --agent flag to CLI cron commands to bypass shell security validation 2026-03-24 15:16:04 +03:00
daemon feat(heartbeat): two-phase execution, structured tasks, and auto-routing (#3562) 2026-03-24 15:16:03 +03:00
doctor feat: stabilize codex oauth and add provider model connectivity workflow 2026-02-24 16:03:01 +08:00
gateway fix: resolve web dashboard 404 on static assets and SPA fallback (#3510) 2026-03-24 15:16:00 +03:00
hands feat(hands): add autonomous knowledge-accumulating agent packages (#3603) 2026-03-24 15:16:05 +03:00
hardware Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
health refactor(sync): migrate remaining std mutex usage to parking_lot 2026-02-18 00:45:26 +08:00
heartbeat feat(heartbeat): two-phase execution, structured tasks, and auto-routing (#3562) 2026-03-24 15:16:03 +03:00
hooks feat(hooks): add webhook-audit builtin hook (#3212) 2026-03-11 23:34:17 -04:00
integrations feat(install): branded one-click installer with secure pairing flow (#3471) 2026-03-14 07:33:14 -04:00
memory fix(agent): use char-boundary-safe slicing to prevent CJK text panic 2026-03-24 15:16:04 +03:00
observability fix(observability): support verbose backend selection (#3374) 2026-03-13 16:15:43 -04:00
onboard fix(channels): surface visible warning when whatsapp-web feature is missing (#3629) 2026-03-24 15:16:05 +03:00
peripherals fix(build): unblock strict 32-bit no-default-features builds (#3375) 2026-03-13 15:45:03 -04:00
providers feat(swarm): multi-agent swarm orchestration, Mistral tool fix, restore --interactive 2026-03-24 15:16:05 +03:00
rag chore(lint): extend low-risk clippy cleanup batch 2026-02-17 16:40:58 +08:00
runtime feat(tools): add Windows support for shell tool_call execution (#3442) 2026-03-13 17:12:16 -04:00
security fix(security): let explicit allowed_commands bypass high-risk block 2026-03-24 15:16:04 +03:00
service fix(service): headless browser works in service mode (systemd/OpenRC) (#3645) 2026-03-24 15:16:06 +03:00
skillforge chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
skills Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
sop fix(web): call doctor endpoint with authenticated POST 2026-02-24 16:02:59 +08:00
tools fix(service): headless browser works in service mode (systemd/OpenRC) (#3645) 2026-03-24 15:16:06 +03:00
tunnel fix: skip documentation URLs in cloudflare tunnel URL parser (#3416) 2026-03-13 09:40:02 -04:00
identity.rs test: cover deterministic HashMap ordering paths 2026-02-18 21:55:40 +08:00
lib.rs feat(hands): add autonomous knowledge-accumulating agent packages (#3603) 2026-03-24 15:16:05 +03:00
main.rs feat(swarm): multi-agent swarm orchestration, Mistral tool fix, restore --interactive 2026-03-24 15:16:05 +03:00
migration.rs readd tests, remove markdown files 2026-02-18 14:42:39 +08:00
multimodal.rs fix: resolve clippy warnings and rustfmt across codebase 2026-02-21 12:39:34 +08:00
util.rs fix(ci): restore containerized validation on main (#1096) 2026-02-20 07:48:58 -05:00