9b395f5cc3
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
Build Chrome Extension / build (push) Has been cancelled
Trigger Website Rebuild (Docs Updated) / dispatch (push) Has been cancelled
41 lines
1.5 KiB
Markdown
41 lines
1.5 KiB
Markdown
# doubao
|
|
|
|
Browser adapter for [Doubao Chat](https://www.doubao.com/chat).
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `opencli doubao status` | Check whether the page is reachable and whether Doubao appears logged in |
|
|
| `opencli doubao new` | Start a new Doubao conversation |
|
|
| `opencli doubao send "..."` | Send a message to the current Doubao chat |
|
|
| `opencli doubao read` | Read the visible Doubao conversation |
|
|
| `opencli doubao ask "..."` | Send a prompt and wait for a reply |
|
|
| `opencli doubao detail <id>` | 对话详情 |
|
|
| `opencli doubao history` | 历史对话列表 |
|
|
| `opencli doubao meeting-summary <id>` | 会议总结 |
|
|
| `opencli doubao meeting-transcript <id>` | 会议记录 |
|
|
|
|
## Prerequisites
|
|
|
|
- Chrome is running
|
|
- You are already logged into [doubao.com](https://www.doubao.com/)
|
|
- Browser Bridge extension is installed and enabled for OpenCLI
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
opencli doubao status
|
|
opencli doubao new
|
|
opencli doubao send "帮我总结这段文档"
|
|
opencli doubao read
|
|
opencli doubao ask "请写一个 Python 快速排序示例" --timeout 90
|
|
```
|
|
|
|
## Notes
|
|
|
|
- The adapter targets the web chat page at `https://www.doubao.com/chat`
|
|
- Doubao commands default to persistent site sessions, so consecutive `doubao ask` / `doubao read` / `doubao detail` invocations continue in the same Doubao page. Pass `--site-session ephemeral` for a one-shot tab.
|
|
- `new` first tries the visible "New Chat / 新对话" button, then falls back to the new-thread route
|
|
- `ask` uses DOM polling, so very long generations may need a larger `--timeout`
|