@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.
Files changed (2) hide show
  1. package/README.md +178 -104
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,104 +1,178 @@
1
- # @dewtech/dare-cli
2
-
3
- CLI tool for DARE Framework - AI-assisted software development with parallel task execution.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install -g @dewtech/dare-cli
9
- # or
10
- npx @dewtech/dare-cli init my-project
11
- ```
12
-
13
- ## Commands
14
-
15
- ### `dare init`
16
-
17
- Interactive project initialization with stack selection.
18
-
19
- ```bash
20
- dare init my-project
21
- ```
22
-
23
- Prompts:
24
- - Project structure (Monorepo / Backend only / Frontend only)
25
- - Backend stack (Rust/Axum, Node/NestJS, Python/FastAPI, PHP/Laravel)
26
- - Frontend stack (React, Vue)
27
- - IDE (Cursor, Antigravity, Hybrid)
28
- - GraphRAG backend (SQLite, JSON, Neo4j)
29
- - Enable MCP Server
30
-
31
- Generates:
32
- - `.cursorrules` / `.antigravityrules` (global rules)
33
- - `.cursor/rules/*.mdc` (stack-specific skills)
34
- - `.cursor/commands/` (DARE commands)
35
- - `.agents/skills/` (Antigravity skills)
36
- - `dare.config.json` (project config)
37
- - `DARE/README.md` (methodology guide)
38
-
39
- ### `dare design`
40
-
41
- Generate DESIGN.md from a project description.
42
-
43
- ```bash
44
- dare design "Build a REST API for user authentication with JWT"
45
- ```
46
-
47
- ### `dare blueprint`
48
-
49
- Generate BLUEPRINT.md, dare-dag.yaml, and TASKS.md from DESIGN.md.
50
-
51
- ```bash
52
- dare blueprint
53
- ```
54
-
55
- ### `dare execute`
56
-
57
- Execute tasks using DAG Task Runner.
58
-
59
- ```bash
60
- # Execute all tasks in parallel
61
- dare execute --parallel --runner cursor
62
-
63
- # Execute a specific task
64
- dare execute task-001
65
-
66
- # Sequential execution
67
- dare execute
68
- ```
69
-
70
- ## Workflow
71
-
72
- ```bash
73
- # 1. Initialize project
74
- dare init my-api
75
-
76
- # 2. Define requirements
77
- dare design "Build a REST API for user management"
78
-
79
- # 3. Generate blueprint and task graph
80
- dare blueprint
81
-
82
- # 4. Execute tasks in parallel (75% faster)
83
- dare execute --parallel --runner cursor
84
- ```
85
-
86
- ## Performance
87
-
88
- | Mode | Estimated Time |
89
- |------|---------------|
90
- | Sequential (old) | ~280 minutes |
91
- | Parallel DAG | ~70 minutes |
92
- | **Improvement** | **75% faster** |
93
-
94
- ## Supported Stacks
95
-
96
- ### Backend
97
- - Rust/Axum
98
- - Node.js/NestJS
99
- - Python/FastAPI
100
- - PHP/Laravel
101
-
102
- ### Frontend
103
- - React 18+
104
- - Vue 3+
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
+ [![npm](https://img.shields.io/npm/v/@dewtech/dare-cli)](https://www.npmjs.com/package/@dewtech/dare-cli)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dewtech/dare-cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "DARE Framework CLI - Interactive project setup and task execution",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",