@harnspec/cli 0.0.3 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  # HarnSpec
2
2
 
3
3
  <p align="center">
4
- <img src="https://github.com/harnspec/harnspec-docs/blob/main/static/img/logo-with-bg.svg" alt="HarnSpec Logo" width="120" height="120">
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/zh-Hans/docs/guide/"><strong>中文文档</strong></a>
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
- # Try with a tutorial project
38
- npx harnspec init --example dark-theme
39
- cd dark-theme && npm install && npm start
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
- **Visualize your project:**
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 at localhost:3000
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 (uses skills.sh)
91
- harnspec skill install
86
+ # Recommended (init auto inject)
87
+ harnspec init -y
92
88
 
93
- # Or directly via skills.sh
94
- npx skills add harnspec/skills@harnspec -y
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**: `>= 20.0.0`
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**: `>= 20.0.0`
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 v20.0.0 or higher
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnspec/cli-darwin-arm64",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "description": "HarnSpec CLI binary for macOS ARM64",
5
5
  "os": [
6
6
  "darwin"
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnspec/cli-darwin-x64",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "description": "HarnSpec CLI binary for macOS x64",
5
5
  "os": [
6
6
  "darwin"
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnspec/cli-linux-arm64",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "description": "HarnSpec CLI binary for Linux ARM64",
5
5
  "os": [
6
6
  "linux"
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnspec/cli-linux-x64",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "description": "HarnSpec CLI binary for Linux x64",
5
5
  "os": [
6
6
  "linux"
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnspec/cli-windows-x64",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "description": "HarnSpec CLI binary for Windows x64",
5
5
  "os": [
6
6
  "win32"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnspec/cli",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
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.3",
14
- "@harnspec/ui": "0.0.3"
13
+ "@harnspec/http-server": "0.1.1",
14
+ "@harnspec/ui": "0.1.1"
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.3",
47
- "@harnspec/cli-darwin-arm64": "0.0.3",
48
- "@harnspec/cli-linux-x64": "0.0.3",
49
- "@harnspec/cli-linux-arm64": "0.0.3",
50
- "@harnspec/cli-windows-x64": "0.0.3"
46
+ "@harnspec/cli-darwin-x64": "0.1.1",
47
+ "@harnspec/cli-darwin-arm64": "0.1.1",
48
+ "@harnspec/cli-linux-x64": "0.1.1",
49
+ "@harnspec/cli-linux-arm64": "0.1.1",
50
+ "@harnspec/cli-windows-x64": "0.1.1"
51
51
  }
52
52
  }