mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
31f58ae699
- Add VitePress with full navigation, sidebar, i18n (en/zh), local search - Create 50+ doc pages: guide, adapters (browser + desktop), developer, advanced - Migrate content from README.md, CONTRIBUTING.md, TESTING.md, CDP.md, CLI-ELECTRON.md - Migrate all 11 adapter READMEs to structured documentation - Add new pages: architecture, yaml-adapter guide, ts-adapter guide, ai-workflow - Add GitHub Actions workflow for deploying to GitHub Pages - Add Chinese locale pages (getting-started, installation, browser-bridge, etc.) - Add docs:dev, docs:build, docs:preview npm scripts
1.2 KiB
1.2 KiB
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
- Install ChatWise.
- Launch with remote debugging port:
/Applications/ChatWise.app/Contents/MacOS/ChatWise \ --remote-debugging-port=9228
Setup
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.