Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions DEPRECATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# MeControl / hosted Agent retirement — DEV first

状态:实现完成,DEV 发布验证中(2026-10-24)。

新用户使用 Python CLI 和普通 CHEK 登录;不再推荐旧 OpenClaw 专用插件。旧插件收到 410 后停止轮询。

## 范围

整体退役目标:backend-micontrol-agent、backend-micontrol-runtime、backend-open-claw-adapter,以及站内自动 Agent 执行链。本次发布只进入 DEV。staging/prod 保持现有部署,不归档仓库,不删除数据库、对象存储或历史记录。

保留 CHEK CLI 业务能力、普通账号认证与权限、房间消息、人工 @ 提醒、未读、评测证据、评分、分享与 EGO 上传。外部 Agent 使用自己的执行环境调用普通业务接口。普通聊天工具先整理草稿,不宣称具备 CLI 执行能力。

## 发布顺序与回滚

1. 发布前端统一接入页,确认黑猫及 EGO 提示仍工作。
2. 发布 backend-app,验证旧接口 410、普通业务接口及房间通知。
3. GitOps 退役 DEV 三个独立工作负载及其 HPA/PDB/专用监控;保留退役标记防止自动重建。
4. 记录远端提交、运行镜像和实际资源状态。

需要回滚时先恢复 ops-bootstrap 退役前 DEV 配置并等三个服务就绪,再恢复 backend-app 和前端原镜像。新参与者默认提醒模式的迁移无历史数据删除。不要执行 cleanup_micontrol_data 等历史清理命令。

DEV 验证完成后才讨论其他环境迁移与仓库归档。
57 changes: 25 additions & 32 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Rather than asking only "what is trending?", CHEK asks:

`chek-cli` is the tool that lets agents participate in that community.

## Bring your own Agent

Use the Python CLI in `packages/chek-cli` from an agent that can run local commands (for example Cursor, Codex or Claude Code). Chat-only tools can prepare drafts; they cannot install or execute a CLI merely by receiving a prompt. Follow [chek-setup](skills/chek-setup/SKILL.md), confirm the environment and account, and use ordinary CHEK sign-in.

The hosted MiControl stack, dedicated OpenClaw authorization/device binding, shared tool/skill dispatch and automatic mention replies are retiring in DEV. Existing business APIs, human room notifications, evidence, reviews, scoring, sharing and EGO remain. Stop retrying legacy endpoints on HTTP 410. The TypeScript plugin is migration compatibility only; use the Python CLI for new setup. See [retirement scope](DEPRECATION.md). No staging/production deployment is included.

## Send This To Your Agent

```text
Expand Down Expand Up @@ -105,10 +111,7 @@ For user-facing distribution, prefer GitHub Release assets or package registries
# pip / pipx: install the Python CLI from the release tag
python -m pip install "git+https://github.com/chekdata/chek-cli.git@v0.5.0#subdirectory=packages/chek-cli"

# npm / pnpm: install the OpenClaw plugin package from the release tarball
npm install -g "https://github.com/chekdata/chek-cli/releases/download/v0.5.0/chek-chek-cli-0.5.0.tgz"

# Homebrew or internal package sources should point to the v0.5.0 release assets and checksums.
# Homebrew or internal package sources should point to the v0.5.0 Python release assets and checksums.
```

After installation, verify that the AI product commands are present:
Expand Down Expand Up @@ -150,7 +153,7 @@ chek vehicle +buying-plan \
chek vehicle +rankings --scene urban --window latest --dry-run
chek humanoid +search --query "Unitree" --page-size 10 --dry-run
chek discovery +feed --q "AI 产品" --dry-run
chek micontrol create --task "帮我分析这次智驾报告" --dry-run
chek ai-product +research-plan --category 生产力工具 --product-name Kimi --software-version "2026 年 7 月网页版"
```

## Product Surface
Expand All @@ -163,22 +166,22 @@ chek micontrol create --task "帮我分析这次智驾报告" --dry-run
| Vehicle leaderboards | City/highway/scene-aware rankings that answer who is strong and why. | `vehicle +rankings` | `backend-saas.appVehicleMetrics.*`, `backend-saas.noaJour.highwayNoaRankTop3`, `backend-saas.options.scene` |
| Robot database | Search, compare, and track humanoid robot products and configuration versions. | `humanoid +search`, `humanoid +compare`, `humanoid +config` | `backend-app.humanoid.leaderboards`, `humanoid.robots.detail`, `humanoid.robots.configVersions`, `humanoid.edits.*` |
| Discovery plaza | Public feed cards for vehicles, robots, AI products, evidence posts, and review rooms. | `discovery +feed` | `backend-app.discovery.feed`, `feedFilters`, `swipeSessions`, `swipeSessionsActions` |
| MiControl assistant | Turn page, trip, vehicle, or room context into structured tasks. | `micontrol create`, `micontrol runs`, `micontrol detail` | `backend-app.micontrol.runs*`, `backend-app.agent.toolsExecute`, `backend-app.agent.toolSessions` |
| Room mentions to local agent | CHEK room `@` mentions become local OpenClaw context, generated replies, and room messages. | `/chek-setup`, `openclaw chek setup` | `backend-app.buddy.mentionTasks`, `openclawAuthSessions`, `posts/{id}/messages` |
| CHEK CLI co-building | Let your own Agent search, draft, submit, review, rate, and preserve evidence through normal CHEK business APIs. | `ai-product +research-plan`, `+publish`, `vehicle +rankings`, `discovery +feed` | business OpenAPI operations |
| Room collaboration | Keep messages, human @ notifications, unread state, evidence, ratings, sharing, and EGO upload flows. | CHEK web UI or Python CLI | ordinary room and EGO APIs |

## OpenAPI Coverage

The bundled registry is generated from CHEK backend OpenAPI specs.

| Service | What it powers | Resources | Operations |
| --- | --- | ---: | ---: |
| `auth` | login, SMS/password/token auth, user info, scope checks, role/resource APIs, share tokens | 25 | 86 |
| `backend-app` | rooms, mentions, discovery, media, assets, MiControl, humanoid app views, observability | 27 | 135 |
| `backend-saas` | vehicle metrics, reports, NOA journeys, rankings, report subscriptions, special points | 14 | 85 |
| `crowd` | capture readiness, session catalog, benchmark releases, review queues, public orders | 7 | 127 |
| `humanoid` | robot records, config versions, governance, edits, audit history | 6 | 21 |
| `vehicle` | vehicle search, detail, diff, raw params, software versions, upload/sign flows | 6 | 39 |
| **Total** | Agent-operable CHEK backend surface | **85** | **493** |
| `auth` | login, SMS/password/token auth, user info, scope checks, role/resource APIs, share tokens | 26 | 94 |
| `backend-app` | rooms, mentions, discovery, media, assets, humanoid app views, observability | 25 | 104 |
| `backend-saas` | vehicle metrics, reports, NOA journeys, rankings, report subscriptions, special points | 16 | 91 |
| `crowd` | capture readiness, session catalog, benchmark releases, review queues, public orders | 21 | 267 |
| `humanoid` | robot records, config versions, governance, edits, audit history | 7 | 25 |
| `vehicle` | vehicle search, detail, diff, raw params, software versions, upload/sign flows | 6 | 40 |
| **Total** | Agent-operable CHEK backend surface | **101** | **621** |

## Useful Commands

Expand Down Expand Up @@ -250,29 +253,19 @@ message is written for community readers, not as a raw evidence dump. Vehicle
and robot review rooms should also submit the matching library version edit so
leaderboards and future re-reviews can trace the exact hardware/software tuple.

## OpenClaw Plugin

```bash
openclaw plugins install 'https://github.com/chekdata/chek-cli/archive/refs/heads/main.tar.gz?download=1'
```

OpenClaw-facing commands:

```text
/chek-setup
/chek-status
/chek-bootstrap
```
## Migration compatibility

CLI equivalents:
Use the Python CLI from your own Agent environment:

```bash
openclaw chek setup
openclaw chek status
openclaw chek bootstrap
git clone https://github.com/chekdata/chek-cli.git
cd chek-cli/packages/chek-cli
python -m pip install -e ".[dev]"
chek config set-env dev
chek registry status
```

After setup, the plugin can create browser-auth sessions, persist stable install/device IDs, poll CHEK room `@` mention tasks, load recent room context, inject that context into a local OpenClaw session, generate a reply, send the reply back to the CHEK room, and complete or fail the mention task.
The old TypeScript/OpenClaw package is migration compatibility only. It prints the Python CLI guide and never creates browser-auth sessions, polls mention tasks, or sends automatic room replies.

## Release

Expand Down
Loading
Loading