acmer-coach 2.3.1 → 2.4.0
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/.github/workflows/publish.yml +2 -0
- package/README.md +32 -5
- package/assets/knowledge/COMPETENCIES.yaml +39 -4
- package/assets/knowledge/CONTEST_PROFILES.yaml +61 -0
- package/assets/knowledge/NODE_SCOPES.yaml +201 -0
- package/assets/rules/coach-rules.md +27 -3
- package/dev/catalog-check.mjs +74 -0
- package/dev/coaching-contract-check.mjs +93 -0
- package/dev/curriculum-check.mjs +193 -5
- package/dev/curriculum-evidence-check.mjs +9 -2
- package/dev/parity-check.mjs +9 -3
- package/dev/run-all.sh +5 -0
- package/dev/strategy-check.mjs +138 -4
- package/dev/vp-client-check.mjs +12 -2
- package/dev/vp-sync-check.mjs +122 -0
- package/dev/workspace-migration-check.mjs +92 -20
- package/dev.sh +8 -3
- package/docs//346/257/224/350/265/233/344/270/216/346/225/231/345/255/246/344/276/235/346/215/256.md +48 -0
- package/docs//350/256/276/350/256/241/346/226/271/351/222/210.md +17 -1
- package/docs//351/225/277/346/234/237/350/257/276/347/250/213/346/234/272/345/210/266.md +33 -6
- package/index.js +82 -51
- package/lib/curriculum-evidence.js +16 -2
- package/lib/curriculum-planning.js +75 -6
- package/lib/curriculum.js +44 -16
- package/lib/strategy.js +158 -50
- package/lib/vp-client.js +14 -2
- package/lib/workspace-migration.js +38 -0
- package/package.json +7 -1
- package/verify.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acmer-coach",
|
|
3
3
|
"description": "小鲸教练插件:把「位置 + 判断」从小鲸的转述里拿回来。读 MAP/DEPENDS/PROGRESS,给唯一动作、判因、检测。热插拔,删掉即还原。",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/Miantiao1231/acmer-coach.git"
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"yaml": "^2.9.0"
|
|
21
21
|
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"test": "node --test dev/curriculum-check.mjs dev/curriculum-evidence-check.mjs dev/strategy-check.mjs dev/catalog-check.mjs dev/coaching-contract-check.mjs dev/workspace-migration-check.mjs dev/vp-client-check.mjs dev/vp-sync-check.mjs"
|
|
27
|
+
},
|
|
22
28
|
"dsh": {
|
|
23
29
|
"engines": {
|
|
24
30
|
"dsh": ">=0.1.1-rc.1"
|
package/verify.mjs
CHANGED
|
@@ -89,7 +89,7 @@ for (const f of readdirSync(KNOWLEDGE)) {
|
|
|
89
89
|
}
|
|
90
90
|
process.env.COACH_DATA_DIR = tmpEarly
|
|
91
91
|
let stale = []
|
|
92
|
-
for (const f of ['index.js', 'package.json', 'lib/setup.js', 'lib/curriculum.js', 'lib/curriculum-evidence.js', 'lib/curriculum-planning.js', 'assets/rules/coach-rules.md']) {
|
|
92
|
+
for (const f of ['index.js', 'package.json', 'lib/setup.js', 'lib/vp-client.js', 'lib/workspace-migration.js', 'lib/strategy.js', 'lib/curriculum.js', 'lib/curriculum-evidence.js', 'lib/curriculum-planning.js', 'assets/knowledge/NODE_SCOPES.yaml', 'assets/knowledge/CONTEST_PROFILES.yaml', 'assets/rules/coach-rules.md']) {
|
|
93
93
|
let same = true
|
|
94
94
|
try {
|
|
95
95
|
same = readFileSync(`${SOURCE_DIR}\\${f}`, 'utf8') === readFileSync(`${INSTALLED_DIR}\\${f}`, 'utf8')
|