dsh-logicprobe 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en-US.md +22 -1
- package/README.md +16 -1
- package/lib/engine.js +3446 -3446
- package/lib/types/uml.d.ts +293 -293
- package/lib/uml-tool.js +153 -153
- package/lib/uml.js +14 -1
- package/package.json +11 -9
- package/skills/logicprobe/SKILL.md +23 -0
- package/skills/logicprobe-concurrency/SKILL.md +2 -0
- package/skills/logicprobe-datamodel/SKILL.md +2 -0
- package/skills/logicprobe-structure/SKILL.md +2 -0
- package/skills/logicprobe-uml/SKILL.md +2 -0
- package/src/uml.ts +15 -1
package/README.en-US.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center"><strong>English</strong> · <a href="README.md">中文</a></p>
|
|
4
4
|
|
|
5
|
+
> **Status**: this plugin checks claims about designs, code and plans. It continues
|
|
6
|
+
> as `dsh-model-everything`, which covers the same claim, behaviour, structure, UML,
|
|
7
|
+
> data-model, concurrency, export and report-comparison ground, and adds a design
|
|
8
|
+
> review engine (layering, boundaries, substitutability, interface width, graph
|
|
9
|
+
> shape), a report-reading skill, label explanation, and an optional session-start
|
|
10
|
+
> routing component. It is not an API twin: the UML capability is split across tools
|
|
11
|
+
> where this plugin has one `logicprobe_uml`. It is published as
|
|
12
|
+
> [`dsh-model-everything`](https://github.com/AmethystLuna/dsh-model-everything)
|
|
13
|
+
> ([npm](https://www.npmjs.com/package/dsh-model-everything)). Existing installs
|
|
14
|
+
> keep working. Installation, mount, boot, tool call and uninstall were measured on
|
|
15
|
+
> 0.2.1-rc.2 and 0.2.1-rc.1; per-release evidence is in
|
|
16
|
+
> [DSH-COMPATIBILITY.md](DSH-COMPATIBILITY.md).
|
|
17
|
+
|
|
5
18
|
[](https://github.com/hashgraph-online/hol-guard)
|
|
6
19
|
|
|
7
20
|
For an unverified design, failure is only a matter of time. However complex the code, model it and run it — then it becomes clear.
|
|
@@ -10,6 +23,14 @@ logicprobe checks a claim against the thing it describes. Facts go against the s
|
|
|
10
23
|
|
|
11
24
|
**Cross-platform**: works with Claude Code, Codex CLI, Cursor, Kimi CLI, OpenCode, and ZCode. Built on the [Agent Skills](https://agentskills.io) open standard.
|
|
12
25
|
|
|
26
|
+
> **Use case diagrams and the other UML families**: this plugin models state machines
|
|
27
|
+
> and flows only. A use case diagram (`:Actor: --> (UseCase)`), a class, component or
|
|
28
|
+
> deployment diagram is **refused by name** instead of being misread as a state machine.
|
|
29
|
+
> For render/parse/review across all fourteen UML 2.5 diagram families, use
|
|
30
|
+
> [dsh-model-everything](https://github.com/AmethystLuna/dsh-model-everything), which
|
|
31
|
+
> carries this plugin's whole diagram capability (notation syntax engine, capability
|
|
32
|
+
> matrix, use case and structure family modules).
|
|
33
|
+
|
|
13
34
|
## What It Does
|
|
14
35
|
|
|
15
36
|
| Phase | What |
|
|
@@ -292,7 +313,7 @@ Skills are invoked with `$logicprobe`. See `.zcode/INSTALL.md`.
|
|
|
292
313
|
## Requirements
|
|
293
314
|
|
|
294
315
|
- Host: Claude Code v2.1+ / Codex CLI latest / Cursor 2.5+ / Kimi CLI latest / OpenCode latest / ZCode 3.0+
|
|
295
|
-
- DeepSeek Harness (dsh): dev preview, declared support for `>= 0.1.0-rc.7`. The latest round measured install, mount, boot and uninstall on 0.2.1-
|
|
316
|
+
- DeepSeek Harness (dsh): dev preview, declared support for `>= 0.1.0-rc.7`. The latest round measured install, mount, boot and uninstall on 0.2.1-rc.2 and 0.2.1-rc.1. The earlier round measured 0.1.5-rc.2 through 0.2.0-rc.2. Per-release evidence is in [DSH-COMPATIBILITY.md](DSH-COMPATIBILITY.md).
|
|
296
317
|
- The Web Plugins-page "Gate injection" switch requires **dsh ≥ 0.1.7-alpha.1**, because its settings service must be able to project live fields. On older dsh the plugin still loads and still injects. The switch is simply absent, with no error.
|
|
297
318
|
- Python 3.8+ (standard library), needed to run the checks outside dsh. The manual mode needs no dependencies.
|
|
298
319
|
|
package/README.md
CHANGED
|
@@ -2,12 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center"><a href="README.en-US.md">English</a> · <strong>中文</strong></p>
|
|
4
4
|
|
|
5
|
+
> **状态**:本插件核验设计、代码与计划中的声称。它继续以 `dsh-model-everything`
|
|
6
|
+
> 的形式发展,同样覆盖声称、行为、结构、UML、数据模型、并发、导出与报告对比,
|
|
7
|
+
> 并加上设计原则审查(分层、边界、可替换性、接口宽度、图形状)、报告阅读技能、
|
|
8
|
+
> 标签口径解释和可选的会话启动路由。它不是本插件的 API 镜像:UML 能力拆在多个
|
|
9
|
+
> 工具里,本插件只有一个 `logicprobe_uml`。它已发布为
|
|
10
|
+
> [`dsh-model-everything`](https://github.com/AmethystLuna/dsh-model-everything)
|
|
11
|
+
> ([npm](https://www.npmjs.com/package/dsh-model-everything))。现有安装继续可用。
|
|
12
|
+
> 0.2.1-rc.2 与 0.2.1-rc.1 上已实测安装、挂载、启动、工具调用与卸载;逐版本证据见
|
|
13
|
+
> [DSH-COMPATIBILITY.md](DSH-COMPATIBILITY.md)。
|
|
14
|
+
|
|
5
15
|
没验证过的设计,翻车只是时间问题;再复杂的代码,建模再跑就清楚了。
|
|
6
16
|
|
|
7
17
|
logicprobe 核验声称与实物是否一致。事实类对着源码查。行为类跑模型:状态机、协议、组合、数据模型、迁移。图按依赖图读,单层或多层。改动前后用基线对比。验不了的维度明说,并指出该用哪个工具。
|
|
8
18
|
|
|
9
19
|
**跨平台**:支持 Claude Code、Codex CLI、Cursor、Kimi CLI、OpenCode、ZCode。技能基于 [Agent Skills](https://agentskills.io) 开放标准。
|
|
10
20
|
|
|
21
|
+
> **用例图与其它 UML 图族**:本插件只建模状态机与流程。用例图(`:Actor: --> (UseCase)`)、类图、
|
|
22
|
+
> 组件图、部署图等会被**按名拒绝**,不会被误读成状态机。需要完整 14 类 UML 2.5 图族的
|
|
23
|
+
> render/parse/review 时,用 [dsh-model-everything](https://github.com/AmethystLuna/dsh-model-everything):
|
|
24
|
+
> 它承接了本插件的全部图能力(记号语法引擎、能力矩阵、用例与结构族模块)。
|
|
25
|
+
|
|
11
26
|
## 功能
|
|
12
27
|
|
|
13
28
|
| 阶段 | 内容 |
|
|
@@ -290,7 +305,7 @@ cp -r logicprobe/skills/* .zcode/skills/
|
|
|
290
305
|
## 环境要求
|
|
291
306
|
|
|
292
307
|
- 宿主:Claude Code v2.1+ / Codex CLI 最新 / Cursor 2.5+ / Kimi CLI 最新 / OpenCode 最新 / ZCode 3.0+
|
|
293
|
-
- DeepSeek Harness (dsh):dev preview,声明支持 `>= 0.1.0-rc.7`。最新一轮在 0.2.1-
|
|
308
|
+
- DeepSeek Harness (dsh):dev preview,声明支持 `>= 0.1.0-rc.7`。最新一轮在 0.2.1-rc.2 与 0.2.1-rc.1 上实测了安装、挂载、启动与卸载;更早一轮实测覆盖 0.1.5-rc.2 到 0.2.0-rc.2。逐版本证据见 [DSH-COMPATIBILITY.md](DSH-COMPATIBILITY.md)。
|
|
294
309
|
- Web 端的「Gate 注入」开关需要 **dsh ≥ 0.1.7-alpha.1**,因为设置服务必须能投影即时字段。更早的 dsh 上插件照常加载、照常注入,只是开关不出现,也不报错。
|
|
295
310
|
- Python 3.8+(标准库),在 dsh 之外运行验证所需;手动兜底模式不需要任何依赖。
|
|
296
311
|
|