@dewtech/dare-cli 0.3.0 → 0.3.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 +178 -104
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,104 +1,178 @@
|
|
|
1
|
-
# @dewtech/dare-cli
|
|
2
|
-
|
|
3
|
-
CLI tool for DARE Framework
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- `dare.config.json`
|
|
37
|
-
- `
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
dare
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
dare
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
1
|
+
# @dewtech/dare-cli
|
|
2
|
+
|
|
3
|
+
CLI tool for the **DARE Framework** — Design, Architect, Review, Execute.
|
|
4
|
+
|
|
5
|
+
A structured methodology for AI-assisted software development with mandatory human-in-the-loop reviews and parallel task execution.
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@dewtech/dare-cli)
|
|
8
|
+
[](https://github.com/dewtech-technologies/dare-method/blob/main/LICENSE)
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g @dewtech/dare-cli
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Commands
|
|
17
|
+
|
|
18
|
+
### `dare init`
|
|
19
|
+
|
|
20
|
+
Interactive project initialization — creates the full project structure with DARE methodology files, IDE rules and stack templates.
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
dare init my-project
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Prompts:
|
|
27
|
+
- **Structure:** Monorepo · Backend only · Frontend only · **MCP Server** ← new
|
|
28
|
+
- **MCP Server:** language (TypeScript / Python), transport (stdio / SSE / HTTP Stream), capabilities (Tools / Resources / Prompts)
|
|
29
|
+
- **Backend stack:** Rust/Axum · Node.js/NestJS · Python/FastAPI · PHP/Laravel
|
|
30
|
+
- **Frontend stack:** React 18+ · Vue 3+
|
|
31
|
+
- **IDE / Agent:** Cursor · Antigravity · Hybrid
|
|
32
|
+
- **GraphRAG backend:** SQLite · JSON · Neo4j
|
|
33
|
+
- **DARE MCP Server:** context query server (saves ~95% tokens)
|
|
34
|
+
|
|
35
|
+
Generates:
|
|
36
|
+
- `dare.config.json` — project config
|
|
37
|
+
- `.cursorrules` / `.antigravityrules` — global IDE rules
|
|
38
|
+
- `.cursor/rules/*.mdc` — stack-specific skills
|
|
39
|
+
- `.cursor/commands/` — DARE slash commands
|
|
40
|
+
- `.agents/skills/` — Antigravity agent skills
|
|
41
|
+
- `DARE/` — methodology directory (DESIGN, BLUEPRINT, TASKS, dag)
|
|
42
|
+
- Full project template ready to run (MCP server, backend or frontend)
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### `dare discover` ← new in v0.3.0
|
|
47
|
+
|
|
48
|
+
Detects an existing project's stack automatically and installs DARE files without touching your source code.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Run inside an existing project
|
|
52
|
+
cd my-existing-project
|
|
53
|
+
dare discover
|
|
54
|
+
|
|
55
|
+
# Inspect only, no changes
|
|
56
|
+
dare discover --check
|
|
57
|
+
|
|
58
|
+
# Target a specific directory
|
|
59
|
+
dare discover --dir ./path/to/project
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Auto-detects from: `package.json`, `Cargo.toml`, `requirements.txt`, `pyproject.toml`, `composer.json`.
|
|
63
|
+
|
|
64
|
+
Recognizes: NestJS · React · Vue · Nuxt · Rust/Axum · FastAPI · Laravel · **MCP Server** (`@modelcontextprotocol/sdk`, `FastMCP`).
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### `dare design`
|
|
69
|
+
|
|
70
|
+
Generate `DARE/DESIGN.md` from a project description.
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
dare design "Build a REST API for user authentication with JWT"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### `dare blueprint`
|
|
79
|
+
|
|
80
|
+
Generate `DARE/BLUEPRINT.md`, `dare-dag.yaml` and `TASKS.md` from `DESIGN.md`.
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
dare blueprint
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
### `dare execute`
|
|
89
|
+
|
|
90
|
+
Execute tasks from the DAG with optional parallel execution.
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Execute all tasks in parallel (75% faster)
|
|
94
|
+
dare execute --parallel --runner cursor
|
|
95
|
+
|
|
96
|
+
# Execute a specific task
|
|
97
|
+
dare execute task-001
|
|
98
|
+
|
|
99
|
+
# Sequential execution
|
|
100
|
+
dare execute
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Full Workflow
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# New project
|
|
109
|
+
dare init my-project
|
|
110
|
+
cd my-project
|
|
111
|
+
dare design "Describe what you're building"
|
|
112
|
+
dare blueprint
|
|
113
|
+
dare execute --parallel
|
|
114
|
+
|
|
115
|
+
# Existing project
|
|
116
|
+
cd my-existing-project
|
|
117
|
+
dare discover
|
|
118
|
+
dare design "Describe what you're building"
|
|
119
|
+
dare blueprint
|
|
120
|
+
dare execute --parallel
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## MCP Server Workflow
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
dare init my-mcp-server
|
|
127
|
+
# → Structure: MCP Server
|
|
128
|
+
# → Language: TypeScript
|
|
129
|
+
# → Transport: stdio
|
|
130
|
+
# → Capabilities: Tools, Resources
|
|
131
|
+
|
|
132
|
+
cd my-mcp-server
|
|
133
|
+
npm install
|
|
134
|
+
dare design "MCP server that exposes ZIP code lookup tools"
|
|
135
|
+
dare blueprint
|
|
136
|
+
dare execute --parallel
|
|
137
|
+
|
|
138
|
+
# Test with MCP Inspector
|
|
139
|
+
npm run inspect
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Performance
|
|
145
|
+
|
|
146
|
+
| Mode | Estimated Time |
|
|
147
|
+
|------|----------------|
|
|
148
|
+
| Sequential | ~280 minutes |
|
|
149
|
+
| Parallel DAG | ~70 minutes |
|
|
150
|
+
| **Improvement** | **75% faster** |
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Supported Stacks
|
|
155
|
+
|
|
156
|
+
| Type | Options |
|
|
157
|
+
|------|---------|
|
|
158
|
+
| **Backend** | Rust/Axum · Node.js/NestJS · Python/FastAPI · PHP/Laravel |
|
|
159
|
+
| **Frontend** | React 18+ · Vue 3+ |
|
|
160
|
+
| **MCP Server** | TypeScript/Node.js · Python — stdio / SSE / HTTP Stream |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Related packages
|
|
165
|
+
|
|
166
|
+
| Package | Description |
|
|
167
|
+
|---------|-------------|
|
|
168
|
+
| [`@dewtech/dare-mcp-server`](https://www.npmjs.com/package/@dewtech/dare-mcp-server) | Local MCP context server (~95% token savings) |
|
|
169
|
+
| [`@dewtech/dare-graphrag`](https://www.npmjs.com/package/@dewtech/dare-graphrag) | Knowledge graph engine (SQLite + FTS5) |
|
|
170
|
+
| [`@dewtech/dare-core`](https://www.npmjs.com/package/@dewtech/dare-core) | Shared types and utilities |
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Links
|
|
175
|
+
|
|
176
|
+
- [GitHub](https://github.com/dewtech-technologies/dare-method)
|
|
177
|
+
- [DARE Methodology](https://github.com/dewtech-technologies/dare-method#-o-método)
|
|
178
|
+
- [Dewtech](https://dewtech.tech)
|