the-grid-cc 1.7.35 → 1.7.37

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,60 +1,44 @@
1
1
  <h1 align="center">THE GRID</h1>
2
2
 
3
3
  <p align="center">
4
- <strong>Ship faster. Stay sane.</strong>
4
+ <strong>Ship faster. Stay sane.</strong><br>
5
+ <em>"I fight for the Users."</em>
5
6
  </p>
6
7
 
7
8
  <p align="center">
8
- <em>"I fight for the Users."</em>
9
+ <a href="https://www.npmjs.com/package/the-grid-cc"><img src="https://img.shields.io/npm/v/the-grid-cc?style=for-the-badge&logo=npm&logoColor=white&color=CB3837" alt="npm version"/></a>
10
+ <a href="https://www.npmjs.com/package/the-grid-cc"><img src="https://img.shields.io/npm/dm/the-grid-cc?style=for-the-badge&color=blue" alt="npm downloads"/></a>
11
+ <a href="https://github.com/JamesWeatherhead/grid/stargazers"><img src="https://img.shields.io/github/stars/JamesWeatherhead/grid?style=for-the-badge&color=yellow" alt="GitHub stars"/></a>
12
+ <a href="https://github.com/JamesWeatherhead/grid/blob/main/LICENSE"><img src="https://img.shields.io/badge/LICENSE-MIT-cyan.svg?style=for-the-badge" alt="MIT License"/></a>
9
13
  </p>
10
14
 
11
- <p align="center">
12
- <a href="https://www.npmjs.com/package/the-grid-cc">
13
- <img src="https://img.shields.io/npm/v/the-grid-cc?style=for-the-badge&logo=npm&logoColor=white&color=CB3837" alt="npm version"/>
14
- </a>
15
- <a href="https://www.npmjs.com/package/the-grid-cc">
16
- <img src="https://img.shields.io/npm/dm/the-grid-cc?style=for-the-badge&color=blue" alt="npm downloads"/>
17
- </a>
18
- <a href="https://github.com/JamesWeatherhead/grid/stargazers">
19
- <img src="https://img.shields.io/github/stars/JamesWeatherhead/grid?style=for-the-badge&color=yellow" alt="GitHub stars"/>
20
- </a>
21
- </p>
15
+ <br>
22
16
 
23
17
  <p align="center">
24
- <a href="https://github.com/JamesWeatherhead/grid/blob/main/LICENSE">
25
- <img src="https://img.shields.io/badge/LICENSE-MIT-cyan.svg?style=for-the-badge" alt="MIT License"/>
26
- </a>
18
+ <img src="assets/install-demo.png" alt="The Grid Installation" width="700"/>
27
19
  </p>
28
20
 
29
21
  <br>
30
22
 
31
- <p align="center">
23
+ ## Install
32
24
 
33
25
  ```bash
34
- npx the-grid-cc # Install (one command)
35
- /grid # Use in Claude Code
26
+ npx the-grid-cc
36
27
  ```
37
28
 
38
- </p>
39
-
40
- <p align="center">
41
- <strong>That's it. Works on Mac, Windows, and Linux.</strong>
42
- </p>
29
+ Then in Claude Code:
43
30
 
44
- <br>
31
+ ```
32
+ /grid
33
+ ```
45
34
 
46
- <p align="center">
47
- <img src="assets/install-demo.png" alt="The Grid Installation" width="700"/>
48
- </p>
35
+ Works on Mac, Windows (WSL), and Linux.
49
36
 
50
37
  ---
51
38
 
52
39
  ## The Problem
53
40
 
54
- You're building something in Claude Code.
55
- Sessions get long. Context fills up.
56
- Claude forgets what you're building.
57
- Quality degrades. Frustration builds.
41
+ You're building something in Claude Code. Sessions get long. Context fills up. Claude forgets what you're building. Quality degrades. Frustration builds.
58
42
 
59
43
  **Sound familiar?**
60
44
 
@@ -62,48 +46,28 @@ Quality degrades. Frustration builds.
62
46
 
63
47
  ## The Solution
64
48
 
65
- The Grid spawns fresh subagents for heavy work while keeping your main conversation focused on goals.
49
+ The Grid spawns fresh subagents for heavy work while keeping your main conversation focused.
66
50
 
67
51
  ```
68
- YOU <-> Master Control <-> Worker Agents
69
- |
70
- Your context stays clean (~15%)
71
- Workers get fresh 200k windows
72
- Master Control remembers your goals
52
+ YOU ←→ Master Control ←→ Worker Agents
53
+
54
+ Your context stays clean (~15%)
55
+ Workers get fresh 200k windows
56
+ Master Control remembers your goals
73
57
  ```
74
58
 
75
- **Without Grid**: One exhausted conversation doing everything.
76
- **With Grid**: Focused Master Control delegating to specialized workers.
59
+ **Without Grid:** One exhausted conversation doing everything.<br>
60
+ **With Grid:** Focused orchestrator delegating to specialized workers.
77
61
 
78
62
  ---
79
63
 
80
64
  ## The CUDA Parallel
81
65
 
82
- > **CUDA**: "Write your code. We figure out how to parallelize across 10,000 cores."
66
+ > **CUDA:** "Write your code. We figure out how to parallelize across 10,000 cores."
83
67
  >
84
- > **Grid**: "Describe your goal. We figure out how to orchestrate across agents."
85
-
86
- The user shouldn't think about agents AT ALL. They're an implementation detail. Like GPU threads.
87
-
88
- ---
68
+ > **Grid:** "Describe your goal. We figure out how to orchestrate across agents."
89
69
 
90
- ## No Ceremony
91
-
92
- No sprint planning. No story points. No stakeholder syncs. No Jira.
93
-
94
- Just you, Claude, and code that ships.
95
-
96
- ---
97
-
98
- ## Beyond Code Generation
99
-
100
- Other tools stop at code. The Grid goes further:
101
-
102
- **Visual Inspector** - Screenshots your app, catches visual bugs
103
- **E2E Exerciser** - Clicks everything like a real user
104
- **Persona Simulator** - Reviews from your target users' POV
105
-
106
- Run `/grid:refine` after building. Catch issues before users do.
70
+ Users shouldn't think about agents at all. They're an implementation detail—like GPU threads.
107
71
 
108
72
  ---
109
73
 
@@ -111,6 +75,7 @@ Run `/grid:refine` after building. Catch issues before users do.
111
75
 
112
76
  ```
113
77
  > /grid
78
+
114
79
  THE GRID
115
80
  ========
116
81
  Master Control online.
@@ -118,86 +83,86 @@ What would you like to build?
118
83
 
119
84
  > build a mass rename cli tool
120
85
 
121
- [MC spawns Planner -> analyzes -> spawns Executor -> builds]
86
+ [MC spawns Planner analyzes spawns Executor builds]
122
87
 
123
- - mass-rename-cli/ created
124
- - 847 files renamed in test run
125
- - Published to npm
88
+ mass-rename-cli/ created
89
+ 847 files renamed in test run
90
+ Published to npm
126
91
 
127
92
  Total tokens: 12,847 (across 3 agents)
128
93
  Your context: stayed at 15%
129
94
  ```
130
95
 
131
- **Time to working code: ~10-15 minutes** | **Your context usage: ~15%**
132
-
133
96
  ---
134
97
 
135
98
  ## Three Modes
136
99
 
137
100
  | Mode | You Do | Grid Does | Best For |
138
- |------|--------|-----------|----------|
101
+ |:-----|:-------|:----------|:---------|
139
102
  | **AUTOPILOT** | Describe goal | Everything else | "Just build it" |
140
103
  | **GUIDED** | Answer rare questions | Drive + decide | Most projects |
141
104
  | **HANDS ON** | Make key decisions | Present options | Learning / control |
142
105
 
143
- **AUTOPILOT**: Zero questions. Describe what you want, see finished code.
144
- **GUIDED**: Grid drives but asks when genuinely ambiguous.
145
- **HANDS ON**: Collaborative. Grid proposes, you approve.
146
-
147
106
  ---
148
107
 
149
108
  ## How It Works
150
109
 
151
110
  ```
152
- +-------------------------------------------------------------+
153
- | MASTER CONTROL |
154
- | Your single interface. Stays lean. Remembers goals. |
155
- +-------------------------------------------------------------+
156
- |
111
+ ┌─────────────────────────────────────────────────────────────┐
112
+ MASTER CONTROL
113
+ Your single interface. Stays lean. Remembers goals.
114
+ └─────────────────────────────────────────────────────────────┘
115
+
157
116
  Spawns specialized workers:
158
- |
159
- +-----------+-----------+-----------+-----------+-----------+
160
- | | | | | |
117
+
118
+ ┌───────────┬───────────┬───────────┬───────────┬───────────┐
119
+
161
120
  PLANNER EXECUTOR RECOGNIZER VISUAL PERSONA
162
121
  Breaks down Writes code Verifies Checks UI Simulates
163
122
  the work + commits quality visually real users
164
123
  ```
165
124
 
166
- **Workers = subagents with fresh context.** They do heavy lifting, report back, terminate. Your main conversation stays focused.
125
+ Workers are subagents with fresh context. They do heavy lifting, report back, terminate. Your main conversation stays focused.
167
126
 
168
127
  ---
169
128
 
170
129
  ## Prompt Upscaling
171
130
 
172
- Every request passes through the **Upscaler** first:
131
+ Every request passes through the Upscaler:
173
132
 
174
133
  ```
175
134
  You say: "build me a login page"
176
135
 
177
136
  Grid builds:
178
- - OWASP-compliant input validation
179
- - Rate limiting (5 attempts/15 min)
180
- - Argon2 password hashing
181
- - CSRF protection
182
- - Accessible (WCAG 2.1 AA)
137
+ OWASP-compliant input validation
138
+ Rate limiting (5 attempts/15 min)
139
+ Argon2 password hashing
140
+ CSRF protection
141
+ Accessible (WCAG 2.1 AA)
183
142
  ```
184
143
 
185
- Researches best practices. Injects industry standards. You get expert-level specs from casual requests.
144
+ Research best practices. Inject industry standards. Get expert-level specs from casual requests.
186
145
 
187
146
  ---
188
147
 
189
- ## Who Uses The Grid
148
+ ## Beyond Code Generation
149
+
150
+ Other tools stop at code. The Grid goes further:
190
151
 
191
- *(Notable users section coming soon)*
152
+ | Agent | Purpose |
153
+ |:------|:--------|
154
+ | **Visual Inspector** | Screenshots your app, catches visual bugs |
155
+ | **E2E Exerciser** | Clicks everything like a real user |
156
+ | **Persona Simulator** | Reviews from your target users' POV |
192
157
 
193
- > "The Grid is like having a senior engineering team on demand."
158
+ Run `/grid:refine` after building. Catch issues before users do.
194
159
 
195
160
  ---
196
161
 
197
162
  ## Commands
198
163
 
199
164
  | Command | What It Does |
200
- |---------|-------------|
165
+ |:--------|:-------------|
201
166
  | `/grid` | Start The Grid |
202
167
  | `/grid:refine` | Test your app (visual + E2E + personas) |
203
168
  | `/grid:debug` | Systematic bug investigation |
@@ -209,8 +174,8 @@ Researches best practices. Injects industry standards. You get expert-level spec
209
174
 
210
175
  ## Speak Grid
211
176
 
212
- | Grid Term | AI Translation |
213
- |-----------|----------------|
177
+ | Grid Term | Meaning |
178
+ |:----------|:--------|
214
179
  | Program | Agent with a specific role |
215
180
  | Identity Disc | System prompt defining behavior |
216
181
  | Master Control | Orchestrator (only one who talks to you) |
@@ -219,7 +184,7 @@ Researches best practices. Injects industry standards. You get expert-level spec
219
184
  | Warmth | Context passed between agents |
220
185
  | I/O Tower | Checkpoint requiring user input |
221
186
 
222
- *Programs serve Users. MC coordinates. The Grid connects all. The Tron metaphor maps perfectly to multi-agent AI architecture.*
187
+ *The Tron metaphor maps perfectly to multi-agent AI architecture.*
223
188
 
224
189
  ---
225
190
 
@@ -227,38 +192,32 @@ Researches best practices. Injects industry standards. You get expert-level spec
227
192
 
228
193
  <details>
229
194
  <summary><strong>How is this different from opening multiple Claude tabs?</strong></summary>
230
-
231
- Tabs share nothing. Grid agents share warmth - learnings, patterns, gotchas flow between them. Plus they run in parallel with fresh 200k context windows each.
195
+ <br>
196
+ Tabs share nothing. Grid agents share warmthlearnings, patterns, gotchas flow between them. Plus they run in parallel with fresh 200k context windows each.
232
197
  </details>
233
198
 
234
199
  <details>
235
200
  <summary><strong>Does this cost more tokens?</strong></summary>
236
-
237
- Yes, but you get more done. Parallel agents = parallel progress. Your main context stays lean while workers do heavy lifting. Complex builds often use *fewer* total tokens (no context bloat, no "remind me what we're building").
201
+ <br>
202
+ Yes, but you get more done. Parallel agents = parallel progress. Your main context stays lean while workers do heavy lifting. Complex builds often use <em>fewer</em> total tokens because there's no context bloat.
238
203
  </details>
239
204
 
240
205
  <details>
241
206
  <summary><strong>What if something goes wrong?</strong></summary>
242
-
243
- State saves to `.grid/`. Run `/grid` again to resume. Delete `.grid/` to start fresh. `/grid:status` shows current state.
207
+ <br>
208
+ State saves to <code>.grid/</code>. Run <code>/grid</code> again to resume. Delete <code>.grid/</code> to start fresh.
244
209
  </details>
245
210
 
246
211
  <details>
247
212
  <summary><strong>Does it work on Windows?</strong></summary>
248
-
213
+ <br>
249
214
  Yes, via WSL. Confirmed: macOS (Intel + Apple Silicon), Linux, Windows + WSL2.
250
215
  </details>
251
216
 
252
- <details>
253
- <summary><strong>Can I use this with my existing Claude Code setup?</strong></summary>
254
-
255
- Yes. Grid adds commands but doesn't modify your existing prompts or workflows.
256
- </details>
257
-
258
217
  <details>
259
218
  <summary><strong>What's the learning curve?</strong></summary>
260
-
261
- Install: 30 seconds. Start: `/grid`. Pick AUTOPILOT if unsure. Most users are productive in their first session.
219
+ <br>
220
+ Install: 30 seconds. Start: <code>/grid</code>. Pick AUTOPILOT if unsure. Most users are productive in their first session.
262
221
  </details>
263
222
 
264
223
  ---
@@ -275,9 +234,17 @@ Grid saves state locally in `.grid/`:
275
234
  └── phases/ # Execution plans
276
235
  ```
277
236
 
278
- **Close your terminal. Come back tomorrow. Grid picks up where you left off.**
237
+ Close your terminal. Come back tomorrow. Grid picks up where you left off.
238
+
239
+ Add `.grid/` to your `.gitignore`—it's local working state, not project code.
240
+
241
+ ---
242
+
243
+ ## No Ceremony
244
+
245
+ No sprint planning. No story points. No stakeholder syncs. No Jira.
279
246
 
280
- > **Tip:** Add `.grid/` to your `.gitignore` - it's local working state, not project code.
247
+ Just you, Claude, and code that ships.
281
248
 
282
249
  ---
283
250
 
@@ -291,14 +258,10 @@ Issues and PRs welcome at [github.com/JamesWeatherhead/grid](https://github.com/
291
258
 
292
259
  ## Citation
293
260
 
294
- If you use The Grid in academic research or publications:
295
-
296
- ### BibTeX
297
-
298
261
  ```bibtex
299
262
  @software{weatherhead2026grid,
300
263
  author = {Weatherhead, James},
301
- title = {{The Grid}: Multi-Agent Orchestration Framework for Claude Code},
264
+ title = {{The Grid}: Multi-Agent Orchestration for Claude Code},
302
265
  year = {2026},
303
266
  publisher = {GitHub},
304
267
  url = {https://github.com/JamesWeatherhead/grid},
@@ -314,20 +277,19 @@ MIT License. See [LICENSE](LICENSE) for details.
314
277
 
315
278
  ---
316
279
 
317
- ## Star History
318
-
280
+ <p align="center">
319
281
  <a href="https://star-history.com/#JamesWeatherhead/grid&Date">
320
- <picture>
321
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date&theme=dark" />
322
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date" />
323
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date" />
324
- </picture>
282
+ <picture>
283
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date&theme=dark" />
284
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date" />
285
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date" width="600" />
286
+ </picture>
325
287
  </a>
288
+ </p>
326
289
 
327
290
  ---
328
291
 
329
292
  <p align="center">
330
- <strong>"I fight for the Users."</strong>
331
- <br><br>
332
- <sub>End of Line.</sub>
293
+ <strong>"I fight for the Users."</strong><br>
294
+ <sub>End of Line.</sub>
333
295
  </p>