feat(doubao): add Doubao AI desktop app CLI adapter#250
Open
yunluoxin wants to merge 1 commit intojackwener:mainfrom
Open
feat(doubao): add Doubao AI desktop app CLI adapter#250yunluoxin wants to merge 1 commit intojackwener:mainfrom
yunluoxin wants to merge 1 commit intojackwener:mainfrom
Conversation
- Add CDP-based adapter for Doubao AI chat app (豆包) - Commands: status, send, read, new, ask, screenshot, dump - Supports Chrome DevTools Protocol control via --remote-debugging-port - Works on macOS with Doubao.app Closes jackwener#247
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
Add a CLI adapter for Doubao (豆包) AI desktop app - an Electron-based chat application.
Motivation
Doubao is ByteDance's AI assistant desktop application with significant user base. Adding support enables:
Commands
doubao statusdoubao send <text>doubao readdoubao newdoubao ask <text>doubao screenshotdoubao dumpTechnical Details
--remote-debugging-port=9226[data-testid="chat_input_input"],[data-testid="chat_input_send_button"],[data-testid="message_content"]Testing
Files
src/clis/doubao/status.ts- Connection checksrc/clis/doubao/send.ts- Send message via textarea + send button clicksrc/clis/doubao/read.ts- Read messages via[data-testid="message_content"]src/clis/doubao/ask.ts- Send + poll for AI responsesrc/clis/doubao/new.ts- New chat via[data-testid="new_chat_button"]src/clis/doubao/screenshot.ts- CDP screenshotsrc/clis/doubao/dump.ts- DOM dump for debuggingsrc/clis/doubao/README.md- English documentationsrc/clis/doubao/README.zh-CN.md- Chinese documentation