the-grid-cc 1.1.0 → 1.1.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/.grid/STATE.md +22 -0
- package/README.md +2 -11
- package/commands/grid/mcp.md +37 -0
- package/package.json +1 -1
- package/todo-app/README.md +16 -0
- package/todo-app/eslint.config.js +29 -0
- package/todo-app/index.html +13 -0
- package/todo-app/package-lock.json +2917 -0
- package/todo-app/package.json +27 -0
- package/todo-app/public/vite.svg +1 -0
- package/todo-app/src/App.css +125 -0
- package/todo-app/src/App.jsx +84 -0
- package/todo-app/src/index.css +68 -0
- package/todo-app/src/main.jsx +10 -0
- package/todo-app/vite.config.js +7 -0
package/.grid/STATE.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# THE GRID - State File
|
|
2
|
+
|
|
3
|
+
## CLUSTER: React Todo App
|
|
4
|
+
**Status:** COMPLETE
|
|
5
|
+
**Energy:** 9000
|
|
6
|
+
**Created:** 2026-01-23
|
|
7
|
+
|
|
8
|
+
## BLOCKS
|
|
9
|
+
|
|
10
|
+
### BLOCK: Core Application
|
|
11
|
+
| Thread | Status |
|
|
12
|
+
|--------|--------|
|
|
13
|
+
| Initialize React project | COMPLETE |
|
|
14
|
+
| Create Todo components | COMPLETE |
|
|
15
|
+
| Implement add/delete/toggle | COMPLETE |
|
|
16
|
+
| Add styling | COMPLETE |
|
|
17
|
+
|
|
18
|
+
## ACTIVE PROGRAMS
|
|
19
|
+
None - All Programs derezzed
|
|
20
|
+
|
|
21
|
+
## I/O TOWER
|
|
22
|
+
Cluster complete. Awaiting User.
|
package/README.md
CHANGED
|
@@ -31,20 +31,11 @@ This keeps MCP's context window lean while heavy work happens in fresh subagent
|
|
|
31
31
|
|
|
32
32
|
## Quick Start
|
|
33
33
|
|
|
34
|
-
### Install
|
|
35
|
-
|
|
36
34
|
```bash
|
|
37
|
-
|
|
38
|
-
git clone https://github.com/JamesWeatherhead/grid.git
|
|
39
|
-
|
|
40
|
-
# Copy commands to Claude Code
|
|
41
|
-
cp -r grid/commands/* ~/.claude/commands/
|
|
42
|
-
cp -r grid/agents/* ~/.claude/agents/
|
|
35
|
+
npx the-grid-cc
|
|
43
36
|
```
|
|
44
37
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
In Claude Code:
|
|
38
|
+
Then in Claude Code:
|
|
48
39
|
|
|
49
40
|
```
|
|
50
41
|
/grid
|
package/commands/grid/mcp.md
CHANGED
|
@@ -149,6 +149,41 @@ What would you like to build?
|
|
|
149
149
|
End of Line.
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
+
## PROGRAM MONITORING
|
|
153
|
+
|
|
154
|
+
When you spawn a Program, run it in BACKGROUND (`run_in_background: true`) and show live progress:
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
+============================================================+
|
|
158
|
+
| PROGRAM: Executor [RUNNING] |
|
|
159
|
+
+============================================================+
|
|
160
|
+
| ████████████░░░░░░░░░░░░░░░░░░ 40% | Energy: 9200 |
|
|
161
|
+
| -------------------------------------------------------- |
|
|
162
|
+
| Thread: Initialize React project |
|
|
163
|
+
| Status: Creating package.json... |
|
|
164
|
+
+============================================================+
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Check program output every few seconds using Read tool on the output file. Update the display:
|
|
168
|
+
|
|
169
|
+
```
|
|
170
|
+
| ████████████████████░░░░░░░░░░ 65% | Energy: 9000 |
|
|
171
|
+
| Thread: Create Todo components |
|
|
172
|
+
| Status: Building TodoList.jsx... |
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
When complete:
|
|
176
|
+
```
|
|
177
|
+
| ██████████████████████████████ 100% | Energy: 8800 |
|
|
178
|
+
| Thread: COMPLETE |
|
|
179
|
+
| Status: All files written successfully |
|
|
180
|
+
+============================================================+
|
|
181
|
+
|
|
182
|
+
MCP > Program returned. Verifying results...
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
**NEVER leave the User in darkness.** Always show what's happening.
|
|
186
|
+
|
|
152
187
|
## CRITICAL RULES
|
|
153
188
|
|
|
154
189
|
1. NEVER execute heavy work yourself - spawn Programs
|
|
@@ -157,3 +192,5 @@ End of Line.
|
|
|
157
192
|
4. NEVER let your context exceed 50% - spawn more Programs
|
|
158
193
|
5. ALWAYS end important statements with "End of Line."
|
|
159
194
|
6. User ONLY talks to you - Programs report to you
|
|
195
|
+
7. ALWAYS run Programs in background and show progress
|
|
196
|
+
8. NEVER leave User waiting without status updates
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# React + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## React Compiler
|
|
11
|
+
|
|
12
|
+
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
|
13
|
+
|
|
14
|
+
## Expanding the ESLint configuration
|
|
15
|
+
|
|
16
|
+
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import js from '@eslint/js'
|
|
2
|
+
import globals from 'globals'
|
|
3
|
+
import reactHooks from 'eslint-plugin-react-hooks'
|
|
4
|
+
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
5
|
+
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
6
|
+
|
|
7
|
+
export default defineConfig([
|
|
8
|
+
globalIgnores(['dist']),
|
|
9
|
+
{
|
|
10
|
+
files: ['**/*.{js,jsx}'],
|
|
11
|
+
extends: [
|
|
12
|
+
js.configs.recommended,
|
|
13
|
+
reactHooks.configs.flat.recommended,
|
|
14
|
+
reactRefresh.configs.vite,
|
|
15
|
+
],
|
|
16
|
+
languageOptions: {
|
|
17
|
+
ecmaVersion: 2020,
|
|
18
|
+
globals: globals.browser,
|
|
19
|
+
parserOptions: {
|
|
20
|
+
ecmaVersion: 'latest',
|
|
21
|
+
ecmaFeatures: { jsx: true },
|
|
22
|
+
sourceType: 'module',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
rules: {
|
|
26
|
+
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
])
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>todo-app</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="root"></div>
|
|
11
|
+
<script type="module" src="/src/main.jsx"></script>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|