@geml/dsh-plugin 1.0.0 → 1.0.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.md +4 -4
- package/README.zh.md +4 -4
- package/package.json +1 -1
- package/skills/geml/references/authoring.geml +4 -0
package/README.md
CHANGED
|
@@ -33,17 +33,17 @@ time, so no `allowBuilds` approval is involved either way.
|
|
|
33
33
|
## Install
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
dsh plugin --profile
|
|
36
|
+
dsh plugin --profile web add @geml/dsh-plugin
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Verify the layer without booting, then boot:
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
dsh --profile
|
|
43
|
-
dsh --profile
|
|
42
|
+
dsh --profile web --dump-config # shows a "# == @geml/dsh-plugin" layer
|
|
43
|
+
dsh --profile web
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
`dsh plugin --profile
|
|
46
|
+
`dsh plugin --profile web remove @geml/dsh-plugin` removes both the
|
|
47
47
|
dependency and the layer.
|
|
48
48
|
|
|
49
49
|
## Configuration
|
package/README.zh.md
CHANGED
|
@@ -26,17 +26,17 @@ Markdown。安装时不构建任何东西,因此完全不涉及 `allowBuilds`
|
|
|
26
26
|
## 安装
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
dsh plugin --profile
|
|
29
|
+
dsh plugin --profile web add @geml/dsh-plugin
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
先不启动、只验证这一层,再启动:
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
dsh --profile
|
|
36
|
-
dsh --profile
|
|
35
|
+
dsh --profile web --dump-config # 应能看到 "# == @geml/dsh-plugin" 这一层
|
|
36
|
+
dsh --profile web
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
`dsh plugin --profile
|
|
39
|
+
`dsh plugin --profile web remove @geml/dsh-plugin` 会同时移除依赖和这一层。
|
|
40
40
|
|
|
41
41
|
## 配置
|
|
42
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geml/dsh-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Agent-Native document handling for DSH — addressable blocks let an agent read and edit one section instead of the whole file. Ships the geml MCP server and the authoring and code-graph skills.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/geml-spec/geml",
|
|
@@ -208,6 +208,10 @@ signal, and prints only diagnostics (cheap on context):
|
|
|
208
208
|
geml check file.geml # diagnostics + exit code only
|
|
209
209
|
geml check --json file.geml # machine-readable diagnostics array
|
|
210
210
|
geml check --root . file.geml # widen cross-doc reference resolution to a dir
|
|
211
|
+
# EVERY read and write verb takes --root. A write is
|
|
212
|
+
# refused when the result would not parse, so a doc whose
|
|
213
|
+
# ../sibling.md links resolve only from the repo root needs
|
|
214
|
+
# it to be editable at all. `geml mcp` passes its own root.
|
|
211
215
|
===
|
|
212
216
|
|
|
213
217
|
All commands accept `-` to read from stdin.
|