Skip to content

Comments

feat: add chrome config option for browser automation#36

Open
TYRONEMICHAEL wants to merge 1 commit intoTinyAGI:mainfrom
TYRONEMICHAEL:feature/chrome-config
Open

feat: add chrome config option for browser automation#36
TYRONEMICHAEL wants to merge 1 commit intoTinyAGI:mainfrom
TYRONEMICHAEL:feature/chrome-config

Conversation

@TYRONEMICHAEL
Copy link

@TYRONEMICHAEL TYRONEMICHAEL commented Feb 13, 2026

Screenshot 2026-02-13 at 7 44 42 AM Screenshot 2026-02-13 at 7 45 44 AM

Summary

  • Adds per-agent chrome boolean field to AgentConfig (Anthropic only, default: true)
  • Passes --chrome to Claude Code CLI when enabled, allowing agents to use browser automation via the Claude in Chrome extension
  • Only explicit chrome: false disables it; undefined and true both enable it
  • OpenAI/Codex agents never get the field or the flag

Changes

File Change
src/lib/types.ts Add chrome?: boolean to AgentConfig
src/lib/invoke.ts Pass --chrome when agent.chrome !== false
src/lib/config.ts Set chrome: true on default Anthropic agents
lib/setup-wizard.sh Chrome prompt for Anthropic (default + additional agents)
lib/agents.sh Chrome prompt in agent_add(), display in agent_list()
src/queue-processor.ts Log chrome status on startup
lib/messaging.sh Add --chrome to legacy invocation

Add per-agent `chrome` boolean field (Anthropic only, default: true)
that passes --chrome to Claude Code CLI, enabling browser automation
via the Claude in Chrome extension.

- Add `chrome?: boolean` to AgentConfig type
- Pass `--chrome` flag when agent.chrome !== false
- Set chrome: true on default Anthropic agents
- Add Chrome prompt to setup wizard and agent add
- Display Chrome status in agent list
- Log chrome status on startup
- Add --chrome to legacy messaging path

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@salemsayed
Copy link
Contributor

how about another option for headless mode using cdp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants