@harnspec/cli 0.0.3 → 0.1.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/README.md +14 -30
- package/binaries/darwin-arm64/harnspec +0 -0
- package/binaries/darwin-arm64/harnspec-http +0 -0
- package/binaries/darwin-arm64/package.json +1 -1
- package/binaries/darwin-x64/harnspec +0 -0
- package/binaries/darwin-x64/harnspec-http +0 -0
- package/binaries/darwin-x64/package.json +1 -1
- package/binaries/linux-arm64/harnspec +0 -0
- package/binaries/linux-arm64/harnspec-http +0 -0
- package/binaries/linux-arm64/package.json +1 -1
- package/binaries/linux-x64/harnspec +0 -0
- package/binaries/linux-x64/harnspec-http +0 -0
- package/binaries/linux-x64/package.json +1 -1
- package/binaries/windows-x64/harnspec-http.exe +0 -0
- package/binaries/windows-x64/harnspec.exe +0 -0
- package/binaries/windows-x64/package.json +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# HarnSpec
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="
|
|
4
|
+
<img src="favicon.ico" alt="HarnSpec Logo" width="120" height="120">
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="https://harnspec.github.io"><strong>Documentation</strong></a>
|
|
15
15
|
•
|
|
16
|
-
<a href="https://harnspec.github.io
|
|
16
|
+
<a href="https://harnspec.github.io"><strong>中文文档</strong></a>
|
|
17
17
|
•
|
|
18
18
|
<a href="https://harnspec.github.io"><strong>Live Examples</strong></a>
|
|
19
19
|
•
|
|
@@ -34,21 +34,17 @@ HarnSpec brings agile principles to SDD (Spec-Driven Development)—small, focus
|
|
|
34
34
|
## Quick Start
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
#
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# Or add to your existing project
|
|
42
|
-
# Install with the @harnspec scope
|
|
43
|
-
npm install -g @harnspec/cli && harnspec init
|
|
37
|
+
# suggest :
|
|
38
|
+
# install and init your project
|
|
39
|
+
npm install -g harnspec && harnspec init
|
|
44
40
|
```
|
|
45
41
|
|
|
46
|
-
**
|
|
42
|
+
**Manage your project:**
|
|
47
43
|
|
|
48
44
|
```bash
|
|
49
45
|
harnspec board # Kanban view
|
|
50
46
|
harnspec stats # Project metrics
|
|
51
|
-
harnspec ui # Web UI
|
|
47
|
+
harnspec ui # auto Web UI for multi project
|
|
52
48
|
```
|
|
53
49
|
|
|
54
50
|
**Next:** [Your First Spec with AI](https://harnspec.github.io/docs/tutorials/first-spec-with-ai) (10 min tutorial)
|
|
@@ -87,11 +83,11 @@ AI agents can then use `harnspec` CLI tools directly to manage your project boar
|
|
|
87
83
|
Teach your AI assistant the Spec-Driven Development methodology:
|
|
88
84
|
|
|
89
85
|
```bash
|
|
90
|
-
# Recommended (
|
|
91
|
-
harnspec
|
|
86
|
+
# Recommended (init auto inject)
|
|
87
|
+
harnspec init -y
|
|
92
88
|
|
|
93
|
-
#
|
|
94
|
-
|
|
89
|
+
#Or
|
|
90
|
+
harnspec skill install
|
|
95
91
|
```
|
|
96
92
|
|
|
97
93
|
This installs the **harnspec** skill which teaches AI agents:
|
|
@@ -129,19 +125,19 @@ This installs the **harnspec** skill which teaches AI agents:
|
|
|
129
125
|
|
|
130
126
|
### Runtime
|
|
131
127
|
|
|
132
|
-
- **Node.js**: `>=
|
|
128
|
+
- **Node.js**: `>= 24.0.0`
|
|
133
129
|
- **pnpm**: `>= 10.0.0` (preferred package manager)
|
|
134
130
|
|
|
135
131
|
### Development
|
|
136
132
|
|
|
137
|
-
- **Node.js**: `>=
|
|
133
|
+
- **Node.js**: `>= 24.0.0`
|
|
138
134
|
- **Rust**: `>= 1.70` (for building CLI/HTTP binaries)
|
|
139
135
|
- **pnpm**: `>= 10.0.0`
|
|
140
136
|
|
|
141
137
|
**Quick Check:**
|
|
142
138
|
|
|
143
139
|
```bash
|
|
144
|
-
node --version # Should be
|
|
140
|
+
node --version # Should be v24.0.0 or higher
|
|
145
141
|
pnpm --version # Should be 10.0.0 or higher
|
|
146
142
|
rustc --version # Should be 1.70 or higher (dev only)
|
|
147
143
|
```
|
|
@@ -211,15 +207,3 @@ See [package.json](package.json) for all available scripts.
|
|
|
211
207
|
## Community
|
|
212
208
|
|
|
213
209
|
💬 [Discussions](https://github.com/harnspec/harnspec/discussions) · 🐛 [Issues](https://github.com/harnspec/harnspec/issues) · 🤝 [Contributing](CONTRIBUTING.md) · 📋 [Changelog](CHANGELOG.md) · 📄 [LICENSE](LICENSE)
|
|
214
|
-
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
### Contact Me | 联系我
|
|
218
|
-
|
|
219
|
-
If you find HarnSpec helpful, feel free to add me on WeChat (note "HarnSpec") to join the discussion group.
|
|
220
|
-
|
|
221
|
-
如果您觉得 HarnSpec 对您有帮助,欢迎添加微信(备注 "HarnSpec")加入交流群。
|
|
222
|
-
|
|
223
|
-
<p align="center">
|
|
224
|
-
<img src="https://github.com/harnspec/harnspec-docs/blob/main/static/img/qr-code.png" alt="WeChat Contact | 微信联系" height="280">
|
|
225
|
-
</p>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnspec/cli",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Specification-driven development made simple",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"typecheck": "echo 'No TypeScript source to check'"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@harnspec/http-server": "0.0
|
|
14
|
-
"@harnspec/ui": "0.0
|
|
13
|
+
"@harnspec/http-server": "0.1.0",
|
|
14
|
+
"@harnspec/ui": "0.1.0"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"spec",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"node": ">=24"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"@harnspec/cli-darwin-x64": "0.0
|
|
47
|
-
"@harnspec/cli-darwin-arm64": "0.0
|
|
48
|
-
"@harnspec/cli-linux-x64": "0.0
|
|
49
|
-
"@harnspec/cli-linux-arm64": "0.0
|
|
50
|
-
"@harnspec/cli-windows-x64": "0.0
|
|
46
|
+
"@harnspec/cli-darwin-x64": "0.1.0",
|
|
47
|
+
"@harnspec/cli-darwin-arm64": "0.1.0",
|
|
48
|
+
"@harnspec/cli-linux-x64": "0.1.0",
|
|
49
|
+
"@harnspec/cli-linux-arm64": "0.1.0",
|
|
50
|
+
"@harnspec/cli-windows-x64": "0.1.0"
|
|
51
51
|
}
|
|
52
52
|
}
|