feat: add chrome config option for browser automation#36
Open
TYRONEMICHAEL wants to merge 1 commit intoTinyAGI:mainfrom
Open
feat: add chrome config option for browser automation#36TYRONEMICHAEL wants to merge 1 commit intoTinyAGI:mainfrom
TYRONEMICHAEL wants to merge 1 commit intoTinyAGI:mainfrom
Conversation
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>
Contributor
|
how about another option for headless mode using cdp? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chromeboolean field to AgentConfig (Anthropic only, default:true)--chrometo Claude Code CLI when enabled, allowing agents to use browser automation via the Claude in Chrome extensionchrome: falsedisables it;undefinedandtrueboth enable itChanges
src/lib/types.tschrome?: booleantoAgentConfigsrc/lib/invoke.ts--chromewhenagent.chrome !== falsesrc/lib/config.tschrome: trueon default Anthropic agentslib/setup-wizard.shlib/agents.shagent_add(), display inagent_list()src/queue-processor.tslib/messaging.sh--chrometo legacy invocation