← Back to Plugins
Tools

Orca Openclaw Chat

ghoulghoulgo By ghoulghoulgo 👁 13 views ▲ 0 votes

Chat with your local OpenClaw agent from Orca's sidebar — dedicated panel session, Control UI-style composer, exec approvals, sessions/usage/skills/plugins/cron pages.

GitHub

README

# OpenClaw Chat for Orca

[中文说明](README.zh-CN.md)

Chat with your local [OpenClaw](https://github.com/openclaw/openclaw) agent from Orca's sidebar — a full chat window plus the management pages you actually use, without leaving Orca.

The panel runs its **own dedicated OpenClaw session** (`agent:main:orca-panel`), so it never fights over the main session with the OpenClaw TUI or the Control UI. You can switch to any other session (including main) from the Sessions tab at any time.

## Features

- **Header**: agent name (read from your gateway, never hardcoded), connection status, current model, session token / context usage.
- **Composer**, modelled on the official Control UI:
  - `+` menu: jump to Skills / Plugins, per-session **Web search** toggle (on / off / follow default), image attachments (up to 6).
  - **Session permission picker** (the shield): Agent default / Read only / Ask me / Auto-review / Full access (`permissionMode`).
  - **Model picker** with context-window sizes and a Default marker.
  - **Effort slider**: smooth drag, snaps to the model's thinking levels on release.
  - The composer top edge is draggable to resize the input; the message list stays pinned to the bottom.
- **Exec approval cards**, scoped to the session you are viewing: command, working directory, origin session and request time, with Allow once / Allow always / Deny. Other sessions' approvals stay in their own windows.
- **Pages**: Sessions (list / switch / create / delete), Usage (provider quotas + per-session usage), Skills, Plugins, Cron (list / enable-disable / run now / run history / create / delete), and More (channels, agents, recent activity, read-only config with secrets masked in the worker before display, gateway logs).
- **Project status strip**: if your agent maintains a `project-status.json` in its workspace, the panel shows a one-line summary under the header.
- Only real conversation is rendered — tool calls and tool results in the session history are not shown as chat bubbles.
- UI follows your system light/dark theme automatically, including scrollbars and native controls.

## Requirements

- Orca ≥ 1.4.246, with plugins enabled.
- An OpenClaw gateway (2026.12.x) running on the same machine, listening on `127.0.0.1:18789`, with at least one configured agent.

## Install (development folder)

1. Download `openclaw-chat-vX.Y.Z.zip` from Releases and unzip it to a fixed folder, e.g. `C:\Users\<you>\orca-plugins\openclaw-chat` (or clone this repo).
2. In Orca: Settings → Plugins → turn on plugins → **Development folders…** → add that folder.
3. Open the **OpenClaw Chat** panel from the sidebar. Orca reloads the folder automatically when files change, so updating later is just: unzip the new version over the same files and reopen the panel.

CLI equivalent: `orca plugin dev load <folder>`.

On first connect the worker may need a device/scope approval in the OpenClaw Control UI (Devices page) — the panel header tells you if that is the case.

## How it works / security

- The panel itself has no network access. A trusted worker (Node, in this repo) connects to `ws://127.0.0.1:18789` only.
- The worker signs the gateway handshake with an Ed25519 device identity it generates once and persists under `~/.openclaw-orca-chat/`; pairing over loopback is approved by the gateway automatically.
- The gateway token is read at runtime from `~/.openclaw/openclaw.json` (`gateway.auth.token`). It is never written into the plugin, never logged, and never sent anywhere except the local gateway handshake.
- Requested scopes: `operator.read`, `operator.write`, `operator.approvals`, `operator.admin`, `operator.cron`. Config shown in the More page is masked worker-side (keys matching token/secret/password/api-key) before it reaches the panel.
- Diagnostics: `http://127.0.0.1:8792/health` and `/status` (no message content, no tokens). Worker log: `~/.openclaw-orca-chat/worker.log`.
- No telemetry. Nothing leaves your machine.

## Making OpenClaw actually work for you inside Orca — read this

This plugin is only a window. Whether the agent can genuinely help with your work in Orca depends on two things outside the plugin:

1. **Mind the agent's workspace.** The agent can only see what its OpenClaw workspace and sandbox file scope allow. If its sandbox mounts only its own workspace, your Orca project folders are invisible to it — it will happily chat while being unable to look at a single file of the project you mean. Before expecting real work, make sure the project directories are inside the agent's allowed file scope (or let it work through the `orca` CLI on the host), and check what it can actually reach.
2. **Brief it in chat, and let it survey the work first.** Tell the agent, in the conversation, what you are working on in Orca right now: which repo/workspace, which terminals and agents are running, what the goal and the current state are — and have it explore and report back what it found before it changes anything. An agent that has not probed your actual Orca workspace is just chatting; once it has surveyed the real work — worktrees, running sessions, project files — it can act as a genuine assistant inside Orca: dispatching tasks, watching progress and reporting back.

Note the panel session is a separate conversation from the main session: the agent's long-term memory files are shared, but live context is not — brief each window about what matters there.

## License

MIT
tools

Comments

Sign in to leave a comment

Loading comments...