@specpow/framework 0.5.10 → 0.5.12
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/CHANGELOG.md +623 -623
- package/LICENSE +21 -21
- package/bin/specpow.js +9 -9
- package/builtin/schemas/bug-fix/schema.yaml +64 -0
- package/builtin/schemas/bug-fix/templates/analysis.md +43 -0
- package/builtin/schemas/bug-fix/templates/fix-plan.md +19 -0
- package/builtin/schemas/bug-fix/templates/proposal.md +30 -0
- package/builtin/schemas/crud-module/schema.yaml +65 -0
- package/builtin/schemas/crud-module/templates/design.md +36 -0
- package/builtin/schemas/crud-module/templates/proposal.md +30 -0
- package/builtin/schemas/crud-module/templates/spec.md +33 -0
- package/builtin/schemas/crud-module/templates/tasks.md +57 -0
- package/builtin/schemas/spec-driven/schema.yaml +87 -0
- package/builtin/schemas/spec-driven/templates/design.md +54 -0
- package/builtin/schemas/spec-driven/templates/proposal.md +31 -0
- package/builtin/schemas/spec-driven/templates/spec.md +42 -0
- package/builtin/schemas/spec-driven/templates/tasks.md +98 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +4 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/apply.d.ts.map +1 -1
- package/dist/commands/apply.js +12 -11
- package/dist/commands/apply.js.map +1 -1
- package/dist/commands/archive.d.ts.map +1 -1
- package/dist/commands/archive.js +6 -3
- package/dist/commands/archive.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +29 -10
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/execute.d.ts.map +1 -1
- package/dist/commands/execute.js +5 -2
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/explore.d.ts.map +1 -1
- package/dist/commands/explore.js +8 -10
- package/dist/commands/explore.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +17 -16
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/propose.d.ts.map +1 -1
- package/dist/commands/propose.js +4 -3
- package/dist/commands/propose.js.map +1 -1
- package/dist/commands/schema.d.ts.map +1 -1
- package/dist/commands/schema.js +5 -2
- package/dist/commands/schema.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +5 -2
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/store.d.ts.map +1 -1
- package/dist/commands/store.js +8 -6
- package/dist/commands/store.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +3 -1
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/validate-specs.d.ts.map +1 -1
- package/dist/commands/validate-specs.js +8 -5
- package/dist/commands/validate-specs.js.map +1 -1
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +5 -2
- package/dist/commands/verify.js.map +1 -1
- package/dist/commands/workflow/index.d.ts.map +1 -1
- package/dist/commands/workflow/index.js +13 -8
- package/dist/commands/workflow/index.js.map +1 -1
- package/dist/core/archive/engine.d.ts.map +1 -1
- package/dist/core/archive/engine.js +10 -6
- package/dist/core/archive/engine.js.map +1 -1
- package/dist/core/artifact-graph/resolver.d.ts.map +1 -1
- package/dist/core/artifact-graph/resolver.js +5 -2
- package/dist/core/artifact-graph/resolver.js.map +1 -1
- package/dist/core/config/config-schema.d.ts +104 -0
- package/dist/core/config/config-schema.d.ts.map +1 -1
- package/dist/core/config/config-schema.js +15 -1
- package/dist/core/config/config-schema.js.map +1 -1
- package/dist/core/hooks/session-start-hook.d.ts.map +1 -1
- package/dist/core/hooks/session-start-hook.js +50 -45
- package/dist/core/hooks/session-start-hook.js.map +1 -1
- package/dist/core/hooks/workflow-state-hook.d.ts.map +1 -1
- package/dist/core/hooks/workflow-state-hook.js +3 -1
- package/dist/core/hooks/workflow-state-hook.js.map +1 -1
- package/dist/core/init/engine.d.ts.map +1 -1
- package/dist/core/init/engine.js +15 -12
- package/dist/core/init/engine.js.map +1 -1
- package/dist/core/memory/adapters/sqlite-adapter.js +55 -55
- package/dist/core/migration/index.d.ts.map +1 -1
- package/dist/core/migration/index.js +128 -4
- package/dist/core/migration/index.js.map +1 -1
- package/dist/core/store/index.d.ts +4 -3
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/index.js +7 -7
- package/dist/core/store/index.js.map +1 -1
- package/dist/core/templates/index.d.ts +1 -1
- package/dist/core/templates/index.d.ts.map +1 -1
- package/dist/core/templates/index.js +11 -6
- package/dist/core/templates/index.js.map +1 -1
- package/dist/core/workflow-state.d.ts +1 -1
- package/dist/core/workflow-state.d.ts.map +1 -1
- package/dist/core/workflow-state.js +10 -5
- package/dist/core/workflow-state.js.map +1 -1
- package/dist/templates/claude-commands/specpow-apply.md +23 -23
- package/dist/templates/claude-commands/specpow-archive.md +22 -22
- package/dist/templates/claude-commands/specpow-propose.md +27 -27
- package/dist/templates/claude-commands/specpow-status.md +22 -22
- package/dist/templates/claude-commands/specpow-validate-specs.md +28 -28
- package/dist/templates/claude-commands/specpow-verify.md +21 -21
- package/dist/templates/claude-commands/specpow.md +34 -34
- package/package.json +120 -122
- /package/{.specpow → builtin}/skills/business-code-review/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-db-design/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-deploy-check/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-doc-sync/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-java-codegen/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-menu-register/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-prd-writer/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-test-gen/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/business-ui-codegen/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/cli-router/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-finish-branch/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-git-worktrees/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-parallel-agents/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-receiving-review/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-requesting-review/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-sdd-orchestrator/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-subagent-dispatch/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-subagent-driven-dev/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-systematic-debugging/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-tdd/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/execution-verification-before-completion/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/meta-create-skill/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/meta-using-skills/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/meta-writing-skills/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-apply-change/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-archive-change/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-explore/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-onboard/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-propose/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-update-change/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-verify-change/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-write-design/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-write-plans/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/planning-write-specs/SKILL.md +0 -0
- /package/{.specpow → builtin}/skills/using-specpow/SKILL.md +0 -0
package/package.json
CHANGED
|
@@ -1,122 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@specpow/framework",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "Spec-Powered AI Development Framework - 融合 OpenSpec 规范驱动 + Superpowers 执行引擎的企业级 AI 辅助编程框架",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./sdd": {
|
|
14
|
-
"types": "./dist/core/sdd-engine/index.d.ts",
|
|
15
|
-
"import": "./dist/core/sdd-engine/index.js"
|
|
16
|
-
},
|
|
17
|
-
"./artifact-graph": {
|
|
18
|
-
"types": "./dist/core/artifact-graph/index.d.ts",
|
|
19
|
-
"import": "./dist/core/artifact-graph/index.js"
|
|
20
|
-
},
|
|
21
|
-
"./archive": {
|
|
22
|
-
"types": "./dist/core/archive/index.d.ts",
|
|
23
|
-
"import": "./dist/core/archive/index.js"
|
|
24
|
-
},
|
|
25
|
-
"./hooks": {
|
|
26
|
-
"types": "./dist/core/hooks/index.d.ts",
|
|
27
|
-
"import": "./dist/core/hooks/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./memory": {
|
|
30
|
-
"types": "./dist/core/memory/index.d.ts",
|
|
31
|
-
"import": "./dist/core/memory/index.js"
|
|
32
|
-
},
|
|
33
|
-
"./channel": {
|
|
34
|
-
"types": "./dist/core/channel/index.d.ts",
|
|
35
|
-
"import": "./dist/core/channel/index.js"
|
|
36
|
-
},
|
|
37
|
-
"./workflow-state": {
|
|
38
|
-
"types": "./dist/core/workflow-state.d.ts",
|
|
39
|
-
"import": "./dist/core/workflow-state.js"
|
|
40
|
-
},
|
|
41
|
-
"./config": {
|
|
42
|
-
"types": "./dist/core/config/index.d.ts",
|
|
43
|
-
"import": "./dist/core/config/index.js"
|
|
44
|
-
},
|
|
45
|
-
"./command-generation": {
|
|
46
|
-
"types": "./dist/core/command-generation/index.d.ts",
|
|
47
|
-
"import": "./dist/core/command-generation/index.js"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"bin": {
|
|
51
|
-
"specpow": "bin/specpow.js"
|
|
52
|
-
},
|
|
53
|
-
"engines": {
|
|
54
|
-
"node": ">=20.19.0"
|
|
55
|
-
},
|
|
56
|
-
"scripts": {
|
|
57
|
-
"build": "node build.js",
|
|
58
|
-
"dev": "tsc --watch",
|
|
59
|
-
"test": "vitest run",
|
|
60
|
-
"test:watch": "vitest",
|
|
61
|
-
"lint": "eslint src/ --ext .ts",
|
|
62
|
-
"clean": "rimraf dist",
|
|
63
|
-
"prepublishOnly": "npm run build"
|
|
64
|
-
},
|
|
65
|
-
"keywords": [
|
|
66
|
-
"ai",
|
|
67
|
-
"coding",
|
|
68
|
-
"spec-driven",
|
|
69
|
-
"subagent-driven-development",
|
|
70
|
-
"claude-code",
|
|
71
|
-
"cursor",
|
|
72
|
-
"copilot",
|
|
73
|
-
"workflow",
|
|
74
|
-
"agent",
|
|
75
|
-
"skills",
|
|
76
|
-
"pi-package"
|
|
77
|
-
],
|
|
78
|
-
"files": [
|
|
79
|
-
"dist/",
|
|
80
|
-
"bin/",
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
".
|
|
84
|
-
".
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@specpow/framework",
|
|
3
|
+
"version": "0.5.12",
|
|
4
|
+
"description": "Spec-Powered AI Development Framework - 融合 OpenSpec 规范驱动 + Superpowers 执行引擎的企业级 AI 辅助编程框架",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./sdd": {
|
|
14
|
+
"types": "./dist/core/sdd-engine/index.d.ts",
|
|
15
|
+
"import": "./dist/core/sdd-engine/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./artifact-graph": {
|
|
18
|
+
"types": "./dist/core/artifact-graph/index.d.ts",
|
|
19
|
+
"import": "./dist/core/artifact-graph/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./archive": {
|
|
22
|
+
"types": "./dist/core/archive/index.d.ts",
|
|
23
|
+
"import": "./dist/core/archive/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./hooks": {
|
|
26
|
+
"types": "./dist/core/hooks/index.d.ts",
|
|
27
|
+
"import": "./dist/core/hooks/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./memory": {
|
|
30
|
+
"types": "./dist/core/memory/index.d.ts",
|
|
31
|
+
"import": "./dist/core/memory/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./channel": {
|
|
34
|
+
"types": "./dist/core/channel/index.d.ts",
|
|
35
|
+
"import": "./dist/core/channel/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./workflow-state": {
|
|
38
|
+
"types": "./dist/core/workflow-state.d.ts",
|
|
39
|
+
"import": "./dist/core/workflow-state.js"
|
|
40
|
+
},
|
|
41
|
+
"./config": {
|
|
42
|
+
"types": "./dist/core/config/index.d.ts",
|
|
43
|
+
"import": "./dist/core/config/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./command-generation": {
|
|
46
|
+
"types": "./dist/core/command-generation/index.d.ts",
|
|
47
|
+
"import": "./dist/core/command-generation/index.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"bin": {
|
|
51
|
+
"specpow": "bin/specpow.js"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=20.19.0"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"build": "node build.js",
|
|
58
|
+
"dev": "tsc --watch",
|
|
59
|
+
"test": "vitest run",
|
|
60
|
+
"test:watch": "vitest",
|
|
61
|
+
"lint": "eslint src/ --ext .ts",
|
|
62
|
+
"clean": "rimraf dist",
|
|
63
|
+
"prepublishOnly": "npm run build"
|
|
64
|
+
},
|
|
65
|
+
"keywords": [
|
|
66
|
+
"ai",
|
|
67
|
+
"coding",
|
|
68
|
+
"spec-driven",
|
|
69
|
+
"subagent-driven-development",
|
|
70
|
+
"claude-code",
|
|
71
|
+
"cursor",
|
|
72
|
+
"copilot",
|
|
73
|
+
"workflow",
|
|
74
|
+
"agent",
|
|
75
|
+
"skills",
|
|
76
|
+
"pi-package"
|
|
77
|
+
],
|
|
78
|
+
"files": [
|
|
79
|
+
"dist/",
|
|
80
|
+
"bin/",
|
|
81
|
+
"builtin/schemas/",
|
|
82
|
+
"builtin/skills/",
|
|
83
|
+
"README.md",
|
|
84
|
+
"CHANGELOG.md",
|
|
85
|
+
"LICENSE"
|
|
86
|
+
],
|
|
87
|
+
"author": "buchengjin",
|
|
88
|
+
"license": "MIT",
|
|
89
|
+
"repository": {
|
|
90
|
+
"type": "git",
|
|
91
|
+
"url": "http://git.gj.com/ai/specpow.git"
|
|
92
|
+
},
|
|
93
|
+
"homepage": "http://git.gj.com/ai/specpow#readme",
|
|
94
|
+
"bugs": {
|
|
95
|
+
"url": "http://git.gj.com/ai/specpow/issues"
|
|
96
|
+
},
|
|
97
|
+
"dependencies": {
|
|
98
|
+
"better-sqlite3": "^13.0.3",
|
|
99
|
+
"chalk": "^5.3.0",
|
|
100
|
+
"commander": "^12.1.0",
|
|
101
|
+
"glob": "^10.3.10",
|
|
102
|
+
"ora": "^8.0.1",
|
|
103
|
+
"yaml": "^2.3.4",
|
|
104
|
+
"zod": "^3.22.4"
|
|
105
|
+
},
|
|
106
|
+
"devDependencies": {
|
|
107
|
+
"@types/better-sqlite3": "^9.6.0",
|
|
108
|
+
"@types/node": "^20.11.0",
|
|
109
|
+
"eslint": "^8.56.0",
|
|
110
|
+
"rimraf": "^5.0.5",
|
|
111
|
+
"typescript": "^5.3.3",
|
|
112
|
+
"vitest": "^1.2.0"
|
|
113
|
+
},
|
|
114
|
+
"packageManager": "pnpm@9.15.9",
|
|
115
|
+
"pi": {
|
|
116
|
+
"skills": [
|
|
117
|
+
"./builtin/skills"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|