agent-method 1.5.0 → 1.5.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/README.md +246 -256
- package/bin/{agent-method.js → wwa.js} +12 -4
- package/lib/cli/check.js +2 -2
- package/lib/cli/init.js +107 -17
- package/lib/cli/pipeline.js +1 -1
- package/lib/cli/refine.js +3 -3
- package/lib/cli/route.js +1 -1
- package/lib/cli/scan.js +3 -3
- package/lib/cli/serve.js +23 -0
- package/lib/cli/status.js +2 -2
- package/lib/cli/upgrade.js +8 -7
- package/lib/cli/watch.js +32 -0
- package/lib/init.js +62 -6
- package/lib/mcp-server.js +524 -0
- package/lib/pipeline.js +1 -1
- package/lib/registry.js +1 -1
- package/lib/watcher.js +165 -0
- package/package.json +7 -5
- package/templates/README.md +297 -293
- package/templates/entry-points/.cursorrules +11 -11
- package/templates/entry-points/AGENT.md +11 -11
- package/templates/entry-points/CLAUDE.md +11 -11
- package/templates/full/.cursorrules +11 -11
- package/templates/full/AGENT.md +11 -11
- package/templates/full/CLAUDE.md +11 -11
- package/templates/full/SESSION-LOG.md +37 -5
- package/templates/starter/.cursorrules +11 -11
- package/templates/starter/AGENT.md +11 -11
- package/templates/starter/CLAUDE.md +11 -11
- package/templates/starter/SESSION-LOG.md +37 -5
package/README.md
CHANGED
|
@@ -1,256 +1,246 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
A file-structure-first methodology for AI-agent-assisted development. Files are the interface —
|
|
4
|
-
|
|
5
|
-
`ai-agents` `prompt-engineering` `developer-tools` `context-engineering` `agent-framework` `
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
AI
|
|
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
|
-
bash
|
|
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
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
- **
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
|
229
|
-
|
|
230
|
-
|
|
|
231
|
-
|
|
|
232
|
-
|
|
|
233
|
-
|
|
|
234
|
-
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
| [
|
|
242
|
-
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
## Prior art
|
|
248
|
-
|
|
249
|
-
| System | Relationship |
|
|
250
|
-
|--------|-------------|
|
|
251
|
-
| [GSD (get-shit-done)](https://github.com/jlowin/get-shit-done) | Inspired the structured agent workflow. agent-method removes CLI dependency, adds scoping rules and context pairing |
|
|
252
|
-
| PromptStudy | Reference implementation. Scoping rules, cascade, and context pairing patterns extracted from real agent-human collaboration |
|
|
253
|
-
|
|
254
|
-
## License
|
|
255
|
-
|
|
256
|
-
MIT (pending)
|
|
1
|
+
# wwa
|
|
2
|
+
|
|
3
|
+
A file-structure-first methodology for AI-agent-assisted development. Files are the interface — no proprietary tools, no vendor lock-in. Works with Claude Code, Cursor, or any agent that reads markdown.
|
|
4
|
+
|
|
5
|
+
`ai-agents` `prompt-engineering` `developer-tools` `context-engineering` `agent-framework` `mcp` `model-context-protocol` `cursor` `claude-code`
|
|
6
|
+
|
|
7
|
+
## Who This Is For
|
|
8
|
+
|
|
9
|
+
People who want to describe what they want and have it built correctly — without losing context between sessions, re-explaining decisions, or watching the agent drift off scope.
|
|
10
|
+
|
|
11
|
+
If you've ever had an AI agent forget what you told it yesterday, make the same mistake twice, or change files it shouldn't have touched — this fixes that.
|
|
12
|
+
|
|
13
|
+
## Requirements
|
|
14
|
+
|
|
15
|
+
- **Node.js >= 18**
|
|
16
|
+
- **A supported AI runtime** — [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Cursor](https://cursor.sh), or any agent that reads markdown files
|
|
17
|
+
|
|
18
|
+
## Getting Started
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx wwa init
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The installer guides you through everything:
|
|
25
|
+
|
|
26
|
+
1. **Project type** — Code, Data, Analytical, Mixed, or General
|
|
27
|
+
2. **Directory** — where to set up (default: current directory)
|
|
28
|
+
3. **Runtime** — Claude Code, Cursor, or all (creates the right entry point)
|
|
29
|
+
4. **Template tier** — Starter (7 files, most projects) or Full (11+ files, complex projects)
|
|
30
|
+
5. **Integration profile** — Standard (Sonnet, recommended), Lite (Haiku), or Full (Opus)
|
|
31
|
+
|
|
32
|
+
Done. Open `PROJECT.md` and start working with your AI agent.
|
|
33
|
+
|
|
34
|
+
### Verify
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx wwa check
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Validates your entry point, auto-detects project type, and reports any issues.
|
|
41
|
+
|
|
42
|
+
## Staying Updated
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npx wwa upgrade
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Brownfield-safe — appends new methodology sections without overwriting your customizations. Check your current version with `npx wwa status`.
|
|
49
|
+
|
|
50
|
+
## Non-interactive Install (CI, Scripts, Docker)
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Specify everything on the command line
|
|
54
|
+
npx wwa init code ~/my-project --runtime claude --tier starter --profile standard
|
|
55
|
+
|
|
56
|
+
# Just the type and directory (defaults for the rest)
|
|
57
|
+
npx wwa init code ~/my-project
|
|
58
|
+
|
|
59
|
+
# Data project for Cursor
|
|
60
|
+
npx wwa init data ~/my-data --runtime cursor
|
|
61
|
+
|
|
62
|
+
# Analytical project with full methodology
|
|
63
|
+
npx wwa init context ~/my-analysis --tier full --profile full
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Install globally
|
|
67
|
+
|
|
68
|
+
Instead of `npx` each time:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm install -g wwa
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Python alternative
|
|
75
|
+
|
|
76
|
+
Same commands, same registry, same templates:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
pip install wwa-tools # requires Python >= 3.9
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Development Installation
|
|
83
|
+
|
|
84
|
+
Clone and run locally for testing or contributing:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
git clone https://github.com/anthropics/wwa.git
|
|
88
|
+
cd wwa
|
|
89
|
+
npm link
|
|
90
|
+
wwa init code ./test-project --runtime claude
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Or use the bash setup script directly:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
bash setup.sh ~/my-project
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Interactive — asks project name, type, runtime, tier, lifecycle, and profile.
|
|
100
|
+
|
|
101
|
+
## Commands
|
|
102
|
+
|
|
103
|
+
| Command | What it does |
|
|
104
|
+
|---------|-------------|
|
|
105
|
+
| `wwa init` | Set up a new project (interactive) |
|
|
106
|
+
| `wwa check` | Validate your entry point |
|
|
107
|
+
| `wwa scan` | Detect project type from directory contents |
|
|
108
|
+
| `wwa route "<query>"` | Show how a query routes through the pipeline |
|
|
109
|
+
| `wwa refine` | Extract refinement report from SESSION-LOG.md |
|
|
110
|
+
| `wwa status` | Check if your methodology version is current |
|
|
111
|
+
| `wwa upgrade` | Brownfield-safe methodology update |
|
|
112
|
+
| `wwa serve` | Start MCP server for IDE integration |
|
|
113
|
+
| `wwa watch` | Watch files, validate on save |
|
|
114
|
+
|
|
115
|
+
All commands support `--json` for machine-readable output.
|
|
116
|
+
|
|
117
|
+
### MCP Server (AI tool integration)
|
|
118
|
+
|
|
119
|
+
Expose methodology tools directly to your AI agent via the [Model Context Protocol](https://modelcontextprotocol.io):
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"mcpServers": {
|
|
124
|
+
"wwa": {
|
|
125
|
+
"command": "npx",
|
|
126
|
+
"args": ["wwa", "serve"]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
8 tools available. Works with VS Code, Cursor, Claude Code, Cline. See [MCP Integration Guide](docs/guides/mcp-integration.md).
|
|
133
|
+
|
|
134
|
+
### Pipeline commands (advanced)
|
|
135
|
+
|
|
136
|
+
For debugging individual pipeline stages:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
wwa pipeline classify "<query>" --project-type code
|
|
140
|
+
wwa pipeline select code_change
|
|
141
|
+
wwa pipeline resolve WF-02 --stage execute
|
|
142
|
+
wwa pipeline cascade --trigger phase_completion
|
|
143
|
+
wwa pipeline test fixtures/
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## What You Get
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
your-project/
|
|
150
|
+
CLAUDE.md / .cursorrules / AGENT.md # Agent entry point (pick one)
|
|
151
|
+
PROJECT.md # Project vision — fill this in first
|
|
152
|
+
PROJECT-PROFILE.md # Project type, lifecycle stage, extensions
|
|
153
|
+
STATE.md # Decisions, blockers, current position
|
|
154
|
+
ROADMAP.md # Phase breakdown with gate criteria
|
|
155
|
+
PLAN.md # Current task with verification criteria
|
|
156
|
+
.context/
|
|
157
|
+
BASE.md # Core context — always loaded with entry point
|
|
158
|
+
METHODOLOGY.md # Workflows, conventions overflow
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Full tier adds: `REQUIREMENTS.md`, `SUMMARY.md`, `.context/REGISTRY.md`, `docs/`, `todos/backlog.md`.
|
|
162
|
+
|
|
163
|
+
Every file ships with **inline instructions** — the agent reads them and helps you populate each section.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## About
|
|
168
|
+
|
|
169
|
+
### The problem
|
|
170
|
+
|
|
171
|
+
AI-agent-assisted development breaks down in three ways:
|
|
172
|
+
|
|
173
|
+
- **Context rot** — agent quality degrades as context windows fill with irrelevant conversation
|
|
174
|
+
- **Amnesia** — decisions from session N are lost by session N+1
|
|
175
|
+
- **Scope drift** — without structured gates, work sprawls and progress becomes invisible
|
|
176
|
+
|
|
177
|
+
Existing solutions tie you to specific agent runtimes through CLI tools and slash commands. wwa solves this with **files as the interface** — readable, portable, agent-agnostic.
|
|
178
|
+
|
|
179
|
+
### How it works
|
|
180
|
+
|
|
181
|
+
**Scoping rules** — The entry point contains a table mapping query types to file sets. The agent loads only the relevant files and constrains its writes. Context windows stay small, responses stay focused.
|
|
182
|
+
|
|
183
|
+
**Dependency cascade** — "When X changes, also update Y." The agent checks this table after every file change, preventing files from drifting out of sync.
|
|
184
|
+
|
|
185
|
+
**Context pairing** — Instead of loading all context at once, the agent pairs `.context/BASE.md` with one specialist file per query type. Token usage stays low, relevance stays high.
|
|
186
|
+
|
|
187
|
+
**Cross-session memory** — `STATE.md` persists decisions, blockers, and current position across sessions. No re-explaining what happened yesterday.
|
|
188
|
+
|
|
189
|
+
### Integration profiles
|
|
190
|
+
|
|
191
|
+
| Profile | Best for | What's included |
|
|
192
|
+
|---------|----------|-----------------|
|
|
193
|
+
| **Lite** | Haiku, simple projects | STATE.md, minimal rules, 2 cascade rules |
|
|
194
|
+
| **Standard** | Sonnet (recommended) | + PLAN.md, context pairing, 6 cascade rules |
|
|
195
|
+
| **Full** | Opus, complex projects | All rules inline, all intelligence layer files |
|
|
196
|
+
|
|
197
|
+
Three rules followed consistently beat ten rules followed inconsistently.
|
|
198
|
+
|
|
199
|
+
### Project types
|
|
200
|
+
|
|
201
|
+
| Type | CLI name | What's added |
|
|
202
|
+
|------|----------|-------------|
|
|
203
|
+
| **Code** | `code` | Code change, bug fix, dependency, database, API, deployment |
|
|
204
|
+
| **Data** | `data` | Data ingest, schema, document, entity, relationship, analytics |
|
|
205
|
+
| **Analytical** | `context` | Chain work, evaluation, composition, domain research |
|
|
206
|
+
| **Mixed** | `mix` | Multiple extensions combined |
|
|
207
|
+
| **General** | `general` | Universal scoping and cascade rules only |
|
|
208
|
+
|
|
209
|
+
### Brownfield projects
|
|
210
|
+
|
|
211
|
+
Works with existing codebases:
|
|
212
|
+
|
|
213
|
+
- **Never overwrites** existing files
|
|
214
|
+
- **Appends** methodology sections to your existing entry point
|
|
215
|
+
- **Preserves** all your existing conventions and rules
|
|
216
|
+
- **Suggests** the Discovery workflow for systematic codebase understanding
|
|
217
|
+
|
|
218
|
+
### Supported runtimes
|
|
219
|
+
|
|
220
|
+
| File | Runtime | Auto-loaded? |
|
|
221
|
+
|------|---------|:------------:|
|
|
222
|
+
| `CLAUDE.md` | Claude Code | Yes |
|
|
223
|
+
| `.cursorrules` | Cursor | Yes |
|
|
224
|
+
| `AGENT.md` | Any agent | No (paste or reference manually) |
|
|
225
|
+
|
|
226
|
+
## Documentation
|
|
227
|
+
|
|
228
|
+
| Document | Audience |
|
|
229
|
+
|----------|----------|
|
|
230
|
+
| [Quick start guide](docs/guides/quick-start.md) | Setup and first session |
|
|
231
|
+
| [For developers](docs/guides/for-developers.md) | Workflows, context, troubleshooting |
|
|
232
|
+
| [MCP Integration](docs/guides/mcp-integration.md) | IDE integration (VS Code, Cursor, Claude Code, Cline) |
|
|
233
|
+
| [For managers](docs/guides/for-managers.md) | Reading project status from methodology files |
|
|
234
|
+
| [Template kit](templates/README.md) | Template tiers, extensions, bootstrapping |
|
|
235
|
+
| [Docs hub](docs/index.md) | Full architecture, workflow, and methodology docs |
|
|
236
|
+
|
|
237
|
+
## Prior art
|
|
238
|
+
|
|
239
|
+
| System | Relationship |
|
|
240
|
+
|--------|-------------|
|
|
241
|
+
| [GSD](https://github.com/gsd-build/get-shit-done) | Inspired the structured agent workflow. wwa adds scoping rules, context pairing, and file-structure-first approach |
|
|
242
|
+
| PromptStudy | Reference implementation. Patterns extracted from real agent-human collaboration |
|
|
243
|
+
|
|
244
|
+
## License
|
|
245
|
+
|
|
246
|
+
MIT (pending)
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* wwa CLI — methodology tools for AI-agent-assisted development.
|
|
5
5
|
*
|
|
6
6
|
* Thin entry point: each command is registered from lib/cli/*.js modules.
|
|
7
7
|
*
|
|
8
8
|
* Three-tier command structure:
|
|
9
9
|
* Tier 1 (developer): check, scan, route, refine, status, upgrade, init
|
|
10
|
-
* Tier 2 (pipeline):
|
|
10
|
+
* Tier 2 (pipeline): wwa pipeline classify/select/resolve/cascade/test
|
|
11
|
+
* Tier 3 (server): serve (MCP server), watch (file watcher)
|
|
11
12
|
*/
|
|
12
13
|
|
|
13
14
|
import { Command } from "commander";
|
|
@@ -21,11 +22,13 @@ import { register as status } from "../lib/cli/status.js";
|
|
|
21
22
|
import { register as upgrade } from "../lib/cli/upgrade.js";
|
|
22
23
|
import { register as init } from "../lib/cli/init.js";
|
|
23
24
|
import { register as pipeline } from "../lib/cli/pipeline.js";
|
|
25
|
+
import { register as serve } from "../lib/cli/serve.js";
|
|
26
|
+
import { register as watchCmd } from "../lib/cli/watch.js";
|
|
24
27
|
|
|
25
28
|
const program = new Command();
|
|
26
29
|
|
|
27
30
|
program
|
|
28
|
-
.name("
|
|
31
|
+
.name("wwa")
|
|
29
32
|
.description(
|
|
30
33
|
"Methodology tools for AI-agent-assisted development.\n\n" +
|
|
31
34
|
"Developer commands:\n" +
|
|
@@ -41,7 +44,10 @@ program
|
|
|
41
44
|
" pipeline select Select workflow for a query type\n" +
|
|
42
45
|
" pipeline resolve Resolve features for a workflow stage\n" +
|
|
43
46
|
" pipeline cascade Compute cascade chain from a trigger\n" +
|
|
44
|
-
" pipeline test Run YAML test fixtures"
|
|
47
|
+
" pipeline test Run YAML test fixtures\n\n" +
|
|
48
|
+
"Server commands:\n" +
|
|
49
|
+
" serve Start MCP server on stdio transport\n" +
|
|
50
|
+
" watch Watch files and validate on change"
|
|
45
51
|
)
|
|
46
52
|
.version(pkg.version, "-V, --version");
|
|
47
53
|
|
|
@@ -54,5 +60,7 @@ status(program);
|
|
|
54
60
|
upgrade(program);
|
|
55
61
|
init(program);
|
|
56
62
|
pipeline(program);
|
|
63
|
+
serve(program);
|
|
64
|
+
watchCmd(program);
|
|
57
65
|
|
|
58
66
|
program.parse();
|
package/lib/cli/check.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** wwa check — validate entry point and project setup. */
|
|
2
2
|
|
|
3
3
|
import { dirname, resolve } from "node:path";
|
|
4
4
|
import {
|
|
@@ -28,7 +28,7 @@ export function register(program) {
|
|
|
28
28
|
console.error(
|
|
29
29
|
"No entry point found in current directory " +
|
|
30
30
|
"(looked for CLAUDE.md, .cursorrules, AGENT.md).\n" +
|
|
31
|
-
"Specify a path:
|
|
31
|
+
"Specify a path: npx wwa check path/to/CLAUDE.md"
|
|
32
32
|
);
|
|
33
33
|
process.exit(1);
|
|
34
34
|
}
|