@principles/workbuddy-adapter 0.6.4 → 0.6.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/workbuddy-adapter",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "WorkBuddy host adapter for Principles Disciple — implements the HostAdapter interface for WorkBuddy's Git Bash command-hook model (ADR-0020 third host, SPEC workbuddy-host-adapter v0.3.0).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"lint": "eslint \"src/**/*.ts\""
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@principles/core": "^7.
|
|
46
|
-
"@principles/host-runtime": "^4.
|
|
45
|
+
"@principles/core": "^7.7.0",
|
|
46
|
+
"@principles/host-runtime": "^4.2.0",
|
|
47
47
|
"@principles/install-layout": "^0.8.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "7feb0044cae3768b8bf278dad1cb58e77410b6f9"
|
|
65
65
|
}
|
|
@@ -56,7 +56,7 @@ Owner 说过 —— 本次对话、Owner 文档或已批准的决定。`anchorRe
|
|
|
56
56
|
|
|
57
57
|
### `established_principle`(既有原则)
|
|
58
58
|
|
|
59
|
-
`anchorRef` 必须是 `<principleId>@<version>`(例如 `P-42@1
|
|
59
|
+
`anchorRef` 必须是 `<principleId>@<version>`(例如 `P-42@1`)。两者都从工作区账本 `.state/principle_training_state.json` 的 `_tree.principles` 读取,禁止猜测或推断版本号。
|
|
60
60
|
|
|
61
61
|
服务端会校验存在性、版本与状态:
|
|
62
62
|
|