Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0e8d352f9 | ||
|
|
d9bae98c2d | ||
|
|
61b73ad678 | ||
|
|
4897a66498 | ||
|
|
894f4841e3 | ||
|
|
0a96b4581c | ||
|
|
c3976108a9 | ||
|
|
bfbc4e76da | ||
|
|
0a8779b790 | ||
|
|
c006b2f8fb | ||
|
|
80e6532ca2 | ||
|
|
f67d9d2991 | ||
|
|
474f62a4c7 | ||
|
|
fb5ea6bc84 | ||
|
|
6c789e3471 | ||
|
|
85a2178a80 |
@@ -1,7 +1,64 @@
|
||||
# OpenClaw Manager — 开发日志
|
||||
|
||||
> 最后更新:2026-02-27
|
||||
> 当前版本:v0.7.1
|
||||
> 最后更新:2026-03-01
|
||||
> 当前版本:v0.9.0
|
||||
|
||||
---
|
||||
|
||||
|
||||
## v0.9.0 更新日志(2026-03-01)
|
||||
|
||||
### New Features
|
||||
|
||||
- Agents: Add Agent / Add Sub-Agent 向导支持 Telegram + Discord
|
||||
- Telegram: 传统 group 绑定
|
||||
- Discord: 主 Agent 建议绑定 Channel;Sub-Agent 建议绑定 Thread
|
||||
- Routing: 删除绑定提示文案增强(支持“更换 group/thread → 先删旧绑定再加新绑定”)
|
||||
|
||||
### UX / UI
|
||||
|
||||
- 顶部居中显示醒目的 OCM 版本标识
|
||||
- Agents 页面:Agent Tree 支持显示 bindings 概览(Telegram/Discord)并按 parentAgentId 分组
|
||||
- Setup Guide:补全 Telegram Allow Groups 步骤;Discord guide 按 channel/thread 经验重写
|
||||
|
||||
### Fixes
|
||||
|
||||
- 修复 MAIN_HTML_SCRIPT 内联 JS 语法问题(tree toggle / i18n 单引号等),避免启动自检失败
|
||||
|
||||
## Unreleased(2026-02-28)
|
||||
|
||||
### Dashboard / Layout
|
||||
|
||||
- Removed the dashboard `HTTP Ping` field (often misleading in Telegram gateway setups)
|
||||
- Expanded dashboard visibility with richer gateway routing metadata:
|
||||
- bind host
|
||||
- telegram account count
|
||||
- group count
|
||||
- binding count
|
||||
- allowFrom count
|
||||
- Reordered dashboard cards and made `Agents` / `Gateway` cards wider for denser information display
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Fixed `main` agent workspace file browsing/editing fallback:
|
||||
- when agent-level workspace is empty, it now resolves from defaults or `workspace/<agentId>`
|
||||
- writing files now ensures workspace directory exists before save
|
||||
|
||||
### UX Clarification
|
||||
|
||||
- Channels page hint text updated to position it as **advanced routing management**
|
||||
- Clarifies scope difference from Agents page (daily add/remove should stay in Agents)
|
||||
- Navigation label updated from `Channels` to `Routing` to reduce conceptual overlap with Agent lifecycle management
|
||||
- Added `Routing` page agent filter (`All Agents` + per-agent quick filter) for easier large-tree inspection
|
||||
- Added compact grouped rendering in `Routing`: bindings are grouped by agent with expand/collapse support for denser large-config browsing
|
||||
|
||||
### Settings UX
|
||||
|
||||
- Merged `Models` and `Auth` pages into a single `Models & Auth` tab
|
||||
|
||||
### Stats
|
||||
|
||||
- Added daily (`1 day`) range option and set it as default
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -33,51 +33,40 @@ Open [http://localhost:3333](http://localhost:3333) in your browser. For remote
|
||||
|
||||
## Features
|
||||
|
||||
**Screenshots** — Redacted UI walkthrough (no personal paths, no Telegram IDs):
|
||||
<details>
|
||||
<summary><b>Screenshots</b> (redacted: no personal paths, no Telegram IDs)</summary>
|
||||
|
||||

|
||||
<p>
|
||||
<img src="docs/redacted-screenshots/dashboard.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/agents.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/channels.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/models.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/auth.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/stats.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/cron.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/actions.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/cli.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/cli-output.jpg" width="240" />
|
||||
<img src="docs/redacted-screenshots/backup-rollback.jpg" width="240" />
|
||||
</p>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
**Agent Management** — Add main agents and sub-agents through a guided setup flow. View all agents in a tree structure with model selection, workspace browsing, and inline configuration.
|
||||
|
||||
**Usage Statistics** — Real token usage data parsed directly from OpenClaw session files. Breakdown by model, agent, and day with a visual chart.
|
||||
|
||||
**Model & Auth** — Configure models from your registered provider list. Follow built-in guides for provider authentication setup.
|
||||
|
||||
**Built-in CLI** — Available from any page (top-right **Terminal** + bottom dock). Run OpenClaw commands with **real-time streaming output**, **Tab completion**, built-in presets, and your own saved favorites (no more memorizing commands).
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
**Ops Panel** — Restart gateway, view logs, run health checks, manage backups (local + NAS via SFTP/rsync), and handle cron tasks.
|
||||
|
||||
**Bilingual UI** — English and Chinese interface with one-click language switching.
|
||||
|
||||
## What's New (v0.7.x)
|
||||
|
||||
- **Dashboard redesign**: circular CPU/RAM/DISK gauges + system/gateway/agent overview, with optional auto-refresh.
|
||||
- **Sub-agent creation flow**: step-by-step Telegram guide (BotFather → group → get group ID → fill form), with explicit safety warnings.
|
||||
- **Telegram allowlist helper**: optional “Your Telegram User ID” field can auto-append to `channels.telegram.allowFrom`.
|
||||
- **Model dropdown = real CLI output**: selectors are sourced from `openclaw models list` (with a warning if parsing fails).
|
||||
- **Cache-busting**: response headers + version checks help prevent stale frontend after updates.
|
||||
- **Setup page EN localization**: first-run directory selection page is fully bilingual.
|
||||
- **Agent Management** — Add main agents and sub-agents through a guided setup flow. View all agents in a tree structure with model selection, workspace browsing, and inline configuration.
|
||||
- **Usage Statistics** — Real token usage data parsed directly from OpenClaw session files. Breakdown by model, agent, and day with a visual chart.
|
||||
- **Model & Auth** — Configure models from your registered provider list. Follow built-in guides for provider authentication setup.
|
||||
- **Built-in CLI** — Available from any page (top-right **Terminal** + bottom dock). Run OpenClaw commands with **real-time streaming output**, **Tab completion**, built-in presets, and your own saved favorites.
|
||||
- **Ops Panel** — Restart gateway, view logs, run health checks, manage backups, **rollback/restore configs**, and handle cron tasks.
|
||||
- **Backups / Rollback** — Browse auto-snapshots of `openclaw.json*` and restore any previous version (current config is auto-backed up first).
|
||||
- **Bilingual UI** — English and Chinese interface with one-click language switching.
|
||||
|
||||
## What's New (v0.9.x)
|
||||
|
||||
- **Discord support (v0.9.x)**: add agent/sub-agent flows for Discord (main agent binds channel; sub-agent binds thread).
|
||||
- **README screenshots gallery**: all screenshots are now grouped into one collapsible section to keep the homepage short.
|
||||
- **Built-in CLI terminal**: run OpenClaw commands from any page with streaming output, presets, favorites, and Tab completion.
|
||||
- **Ops actions**: restart gateway, view logs, health check, backups (local + NAS), and cron management.
|
||||
- **Telegram-first workflow**: safer sub-agent setup flow + allowlist helper + warnings for group privacy.
|
||||
## Telegram Workflow & Safety
|
||||
|
||||
OCM is designed primarily for **Telegram-based OpenClaw workflows**:
|
||||
@@ -217,3 +206,9 @@ bash start.sh --dir /path/to/.openclaw --port 8080
|
||||
```json
|
||||
{ "dir": "~/.openclaw" }
|
||||
```
|
||||
|
||||
|
||||
## Discord (thread-first) notes
|
||||
|
||||
- Recommended: keep top-level agents in dedicated channels, and bind sub-agents to **threads** (one thread per task).
|
||||
- To switch a Telegram group / Discord thread binding: go to **Routing** → remove the old binding → add a new binding with the new ID/link.
|
||||
|
||||
@@ -2,6 +2,21 @@
|
||||
|
||||
This is a user-facing summary derived from `DEVLOG.md`.
|
||||
|
||||
## v0.9.0
|
||||
- Agents: Telegram + Discord support in Add Agent / Add Sub-Agent wizard (main agent binds channel; sub-agent binds thread).
|
||||
- UI: top-center OCM version badge; improved Telegram/Discord setup guides.
|
||||
|
||||
## v0.8.2
|
||||
- Docs: reorganize README screenshots into a collapsible gallery to reduce scroll.
|
||||
- Docs: add Backups / Rollback screenshot and README feature blurb.
|
||||
- Docs: refresh redacted screenshots (Channels + Actions + Stats) and feature descriptions.
|
||||
|
||||
## v0.8.1
|
||||
- Docs: add Stats screenshot and expand feature list.
|
||||
|
||||
## v0.8.0
|
||||
- Docs: bilingual usage guides refreshed (EN + zh-CN) with redacted screenshots.
|
||||
|
||||
## v0.7.6
|
||||
- Docs: annotated screenshots with arrows for key UI controls.
|
||||
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
# Contributing (OCM)
|
||||
|
||||
This repo is optimized for fast iteration and safe maintenance.
|
||||
|
||||
## Workflow (PM + Codex)
|
||||
|
||||
Default rule:
|
||||
|
||||
- Codex implements changes on a **new branch** and opens a **PR**.
|
||||
- Xiao Qiang (PM) reviews + runs local smoke tests.
|
||||
- Tao approves.
|
||||
- Only after explicit approval, we merge.
|
||||
|
||||
Fast-path (small changes):
|
||||
|
||||
- For small doc/copy/layout fixes, Tao allows **auto-merge after PM verification** (tests/smoke pass).
|
||||
- PM must still send Tao a short completion note with the PR link and summary.
|
||||
|
||||
|
||||
## Versioning
|
||||
|
||||
- Single source of truth:
|
||||
- `package.json#version`
|
||||
- `openclaw-manager.js` → `APP_VERSION`
|
||||
- When bumping a version, update **both** in the same commit.
|
||||
- Prefer **semver-ish**: `MAJOR.MINOR.PATCH` (e.g. `0.8.2`).
|
||||
|
||||
## Language policy (Docs + UI)
|
||||
|
||||
- **DEVLOG.md must be English-only.**
|
||||
- UI:
|
||||
- English mode should not show Chinese strings (except user-provided content).
|
||||
- Chinese mode can be fully Chinese.
|
||||
- When adding new UI strings, ensure both locales are updated.
|
||||
|
||||
## README policy
|
||||
|
||||
- Keep the README homepage **short**.
|
||||
- Screenshots should be grouped (e.g. in a collapsible gallery) to avoid long scroll.
|
||||
- The “Features” section should be **complete** and reflect actual UI capabilities.
|
||||
|
||||
## Screenshots (redaction)
|
||||
|
||||
- Store public screenshots under: `docs/redacted-screenshots/`
|
||||
- Redact sensitive info:
|
||||
- local username/path fragments
|
||||
- Telegram peer IDs
|
||||
- any tokens/keys
|
||||
- Prefer **English UI** screenshots.
|
||||
- Prefer clean crops (avoid arrows/annotations unless truly necessary).
|
||||
|
||||
## Text style
|
||||
|
||||
- Be concrete and user-focused.
|
||||
- Prefer consistent naming:
|
||||
- “Remote backup setup” (not “NAS backup setup”)
|
||||
- “Backups / Rollback” for restore/snapshot functionality
|
||||
|
||||
## PR checklist
|
||||
|
||||
- [ ] Description includes: what/why/how
|
||||
- [ ] If UI changed: include screenshots
|
||||
- [ ] Version updated when needed
|
||||
- [ ] English UI audited (no stray Chinese)
|
||||
- [ ] `DEVLOG.md` updated (English-only)
|
||||
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 29 KiB |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openclaw-manager",
|
||||
"version": "0.7.1",
|
||||
"version": "0.8.2",
|
||||
"description": "A local web UI for managing OpenClaw AI agents — no npm install required",
|
||||
"main": "openclaw-manager.js",
|
||||
"scripts": {
|
||||
|
||||