@nockdev/cli 1.0.1 → 1.0.3
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 +20 -0
- package/README.md +65 -39
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/constants.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ All notable changes to `@nockdev/cli` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.2] - 2026-02-08
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Improved error messages for plugin install failures
|
|
13
|
+
- Fixed help text alignment for long command names
|
|
14
|
+
- Corrected exit codes for plugin management commands
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## [1.0.1] - 2026-02-07
|
|
19
|
+
|
|
20
|
+
### Improved
|
|
21
|
+
|
|
22
|
+
- Plugin auto-install UX with clearer prompts
|
|
23
|
+
- Better version display formatting in `nock version`
|
|
24
|
+
- Refined verbose mode output for plugin discovery
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
8
28
|
## [1.0.0] - 2026-02-06
|
|
9
29
|
|
|
10
30
|
### Added
|
package/README.md
CHANGED
|
@@ -1,52 +1,78 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://capsule-render.vercel.app/api?type=waving&color=0:0F172A,50:1E40AF,100:6D28D9&height=160§ion=header&text=NOCK%20CLI&fontSize=42&fontColor=FFFFFF&animation=fadeIn&fontAlignY=35&desc=Extensible%20AI%20Development%20Platform&descAlignY=55&descSize=16" width="100%" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
>
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/@nockdev/cli"><img src="https://img.shields.io/npm/v/@nockdev/cli?style=for-the-badge&logo=npm&logoColor=white&labelColor=CB3837&color=000000" alt="npm" /></a>
|
|
7
|
+
<img src="https://img.shields.io/badge/node-%E2%89%A518.0.0-10B981?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="Node.js" />
|
|
8
|
+
<img src="https://img.shields.io/badge/license-MIT-3B82F6?style=for-the-badge&logo=opensourceinitiative&logoColor=white" alt="License" />
|
|
9
|
+
</p>
|
|
4
10
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<b>Microkernel CLI</b> with auto-discovery plugins. Install once, extend with official and community packages.
|
|
13
|
+
</p>
|
|
8
14
|
|
|
9
|
-
|
|
15
|
+
---
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
npm install -g @nockdev/cli
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Quick Start
|
|
17
|
+
## ⚡ Quick Start
|
|
16
18
|
|
|
17
19
|
```bash
|
|
18
|
-
|
|
19
|
-
nock awf init
|
|
20
|
-
nock awf install --ide cursor # Install for specific IDE
|
|
20
|
+
npm install -g @nockdev/cli # Install globally
|
|
21
|
+
nock awf init # Initialize AI assistant in your project
|
|
21
22
|
```
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
> 💡 Plugins install automatically on first use — no manual setup needed.
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
| ---------------------------- | ---------------------- |
|
|
27
|
-
| `nock --help` | Show help |
|
|
28
|
-
| `nock version` | Show version info |
|
|
29
|
-
| `nock plugins list` | List installed plugins |
|
|
30
|
-
| `nock plugins install <pkg>` | Install plugin |
|
|
31
|
-
| `nock plugins remove <pkg>` | Remove plugin |
|
|
32
|
-
| `nock plugins update [pkg]` | Update plugin(s) |
|
|
33
|
-
| `nock telemetry status` | Telemetry status |
|
|
34
|
-
| `nock cache clear` | Clear command cache |
|
|
26
|
+
---
|
|
35
27
|
|
|
36
|
-
##
|
|
28
|
+
## 🔌 Plugin System
|
|
37
29
|
|
|
38
|
-
|
|
30
|
+
NOCK CLI uses a **microkernel architecture** — the core is lightweight, plugins provide all functionality.
|
|
39
31
|
|
|
40
32
|
```
|
|
41
33
|
$ nock awf init
|
|
42
34
|
⚡ Plugin 'awf' is not installed.
|
|
43
35
|
◆ Would you like to install @nockdev/awf?
|
|
44
36
|
📦 Installing @nockdev/awf...
|
|
45
|
-
✔ Installed @nockdev/awf@
|
|
37
|
+
✔ Installed @nockdev/awf@6.2.6
|
|
46
38
|
🚀 Running: nock awf init
|
|
47
39
|
```
|
|
48
40
|
|
|
49
|
-
|
|
41
|
+
### Official Plugins
|
|
42
|
+
|
|
43
|
+
| Plugin | Description |
|
|
44
|
+
| :----------------------------------------------------------- | :-------------------------------------------------------------------------- |
|
|
45
|
+
| [`@nockdev/awf`](https://www.npmjs.com/package/@nockdev/awf) | 🧠 AI development assistant — 82 skills, 21 IDEs, 34 workflows, 12 personas |
|
|
46
|
+
| [`@nockdev/hsa`](https://www.npmjs.com/package/@nockdev/hsa) | 🔍 HSA MCP Server — 13 tools, BM25 search, Merkle tree, web dashboard |
|
|
47
|
+
|
|
48
|
+
### Plugin Management
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
nock plugins list # List installed plugins
|
|
52
|
+
nock plugins install <package> # Install a plugin
|
|
53
|
+
nock plugins remove <package> # Remove a plugin
|
|
54
|
+
nock plugins update [package] # Update plugin(s)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 🎯 Core Commands
|
|
60
|
+
|
|
61
|
+
| Command | Description |
|
|
62
|
+
| :------------------------------- | :----------------------------------------- |
|
|
63
|
+
| `nock --help` | Show help and available topics |
|
|
64
|
+
| `nock version` | Show CLI and plugin versions |
|
|
65
|
+
| `nock awf init` | Initialize AI assistant in current project |
|
|
66
|
+
| `nock awf install --ide <name>` | Setup IDE-specific configuration |
|
|
67
|
+
| `nock awf mcp install --ide all` | Configure MCP server for all IDEs |
|
|
68
|
+
| `nock awf doctor` | Diagnose IDE configuration issues |
|
|
69
|
+
| `nock awf hsa status` | Check HSA MCP server status |
|
|
70
|
+
| `nock telemetry status` | View telemetry status |
|
|
71
|
+
| `nock cache clear` | Clear command cache |
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 🛠️ Build Your Own Plugin
|
|
50
76
|
|
|
51
77
|
```typescript
|
|
52
78
|
import type { NockPlugin } from "@nockdev/cli";
|
|
@@ -61,7 +87,7 @@ const myPlugin: NockPlugin = {
|
|
|
61
87
|
name: "hello",
|
|
62
88
|
id: "my:hello",
|
|
63
89
|
description: "Say hello",
|
|
64
|
-
run: async () => console.log("Hello!"),
|
|
90
|
+
run: async () => console.log("Hello from my plugin!"),
|
|
65
91
|
},
|
|
66
92
|
],
|
|
67
93
|
};
|
|
@@ -69,17 +95,17 @@ const myPlugin: NockPlugin = {
|
|
|
69
95
|
export default myPlugin;
|
|
70
96
|
```
|
|
71
97
|
|
|
72
|
-
|
|
98
|
+
---
|
|
73
99
|
|
|
74
|
-
|
|
75
|
-
| ------------------------------------------------------------ | ---------------------------------------- |
|
|
76
|
-
| [`@nockdev/awf`](https://www.npmjs.com/package/@nockdev/awf) | AI dev assistant — 82 skills, 22 IDEs |
|
|
77
|
-
| [`@nockdev/hsa`](https://www.npmjs.com/package/@nockdev/hsa) | HSA MCP Server — semantic context engine |
|
|
100
|
+
## 📋 Requirements
|
|
78
101
|
|
|
79
|
-
|
|
102
|
+
- **Node.js** ≥ 18.0.0
|
|
103
|
+
- **npm** ≥ 8.0.0
|
|
80
104
|
|
|
81
|
-
|
|
105
|
+
## 📄 License
|
|
82
106
|
|
|
83
|
-
|
|
107
|
+
MIT © [**NockDev**](https://github.com/nockasdd)
|
|
84
108
|
|
|
85
|
-
|
|
109
|
+
<p align="center">
|
|
110
|
+
<img src="https://capsule-render.vercel.app/api?type=waving&color=0:6D28D9,50:1E40AF,100:0F172A&height=100§ion=footer" width="100%" />
|
|
111
|
+
</p>
|
package/dist/utils/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/cli/src/utils/constants.ts
|
|
2
2
|
// Single Source of Truth for CLI constants
|
|
3
3
|
/** CLI version - SSoT */
|
|
4
|
-
export const CLI_VERSION = "1.0.
|
|
4
|
+
export const CLI_VERSION = "1.0.3";
|
|
5
5
|
/** CLI name */
|
|
6
6
|
export const CLI_NAME = "@nockdev/cli";
|
|
7
7
|
/** Default plugins directory name */
|