Add a dashboard screenshot to the README.

- Embed docs/assets/dashboard.png in both READMEs right after the
  dashboard intro so the demo is visible without running the service.
- Describe the left rail (sessions, prompts, levels) and the main panel
  (per-call question, axes, verdict, SSE updates).
- Refresh the License section: the repository now ships Apache-2.0.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
richarjiang
2026-09-24 10:18:29 +08:00
parent 3263f2b982
commit dfd3998399
3 changed files with 10 additions and 2 deletions

View File

@@ -17,6 +17,10 @@ Prompt
A browser dashboard at [http://127.0.0.1:8765/](http://127.0.0.1:8765/) shows each decision, grouped by session, and updates over server-sent events. A browser dashboard at [http://127.0.0.1:8765/](http://127.0.0.1:8765/) shows each decision, grouped by session, and updates over server-sent events.
![Dashboard](docs/assets/dashboard.png)
The left rail lists sessions with their latest prompt, client, infer count, and the System-1 level tag. The main panel expands one session across calls; each call shows the question that was asked, the per-axis probabilities, and the model's plain-language verdict. SSE pushes new rows without a refresh.
Cursor loads Claude Code hooks, but its prompt event cannot inject context. The hook sees `CURSOR_VERSION` and returns immediately. Cursor loads Claude Code hooks, but its prompt event cannot inject context. The hook sees `CURSOR_VERSION` and returns immediately.
## Install ## Install
@@ -137,4 +141,4 @@ The multilingual base checkpoint is a fast model to specialize, not a zero-shot
## License ## License
No license file is in this repository yet. Add one before you publish it. The Laya model and library are Apache-2.0; this project's license is a separate choice. Apache License 2.0. The Laya model and library are also Apache-2.0.

View File

@@ -17,6 +17,10 @@ Prompt
浏览器打开 [http://127.0.0.1:8765/](http://127.0.0.1:8765/) 可以按会话看每次判断。页面用服务端事件实时追加。 浏览器打开 [http://127.0.0.1:8765/](http://127.0.0.1:8765/) 可以按会话看每次判断。页面用服务端事件实时追加。
![看板](docs/assets/dashboard.png)
左边列出每个会话:最近一条 prompt、客户端、判断次数、系统一给出的等级标签。右侧展开某个会话的多次判断,每次显示问题原文、五个轴的概率和模型给出的自然语言结论。新行由服务端事件直接推上来,无需手动刷新。
Cursor 会加载 Claude Code 的 hook,但当前事件无法把上下文注入对话。Hook 发现 `CURSOR_VERSION` 时直接返回。 Cursor 会加载 Claude Code 的 hook,但当前事件无法把上下文注入对话。Hook 发现 `CURSOR_VERSION` 时直接返回。
## 安装 ## 安装
@@ -137,4 +141,4 @@ multilingual 基础模型适合按领域微调,不是开箱即用的编程路
## 许可证 ## 许可证
仓库里还没有许可证文件。公开发布前需要补上。Laya 模型和库是 Apache-2.0;本项目的许可证需要单独选择。 Apache 2.0。Laya 模型和库本身也是 Apache-2.0。

BIN
docs/assets/dashboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB