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
39 lines
1.2 KiB
Markdown
39 lines
1.2 KiB
Markdown
# ChatWise
|
|
|
|
Control the **ChatWise Desktop App** from the terminal via Chrome DevTools Protocol (CDP). ChatWise is an Electron-based multi-LLM client supporting GPT-4, Claude, Gemini, and more.
|
|
|
|
## Prerequisites
|
|
|
|
1. Install [ChatWise](https://chatwise.app/).
|
|
2. Launch with remote debugging port:
|
|
```bash
|
|
/Applications/ChatWise.app/Contents/MacOS/ChatWise \
|
|
--remote-debugging-port=9228
|
|
```
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9228"
|
|
```
|
|
|
|
## Commands
|
|
|
|
### Diagnostics
|
|
- `opencli chatwise status`: Check CDP connection status.
|
|
- `opencli chatwise screenshot`: Export DOM + accessibility snapshot.
|
|
|
|
### Chat
|
|
- `opencli chatwise new`: Start a new conversation (`Cmd+N`).
|
|
- `opencli chatwise send "message"`: Send a message to the active chat.
|
|
- `opencli chatwise read`: Read the current conversation.
|
|
- `opencli chatwise ask "prompt"`: Send + wait for response + return it (one-shot).
|
|
|
|
### AI Features
|
|
- `opencli chatwise model`: Get the current AI model.
|
|
- `opencli chatwise model gpt-4`: Switch to a different model.
|
|
|
|
### Organization
|
|
- `opencli chatwise history`: List conversations from the sidebar.
|
|
- `opencli chatwise export`: Export conversation as Markdown.
|