oneie 3.6.11 → 3.6.13
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/.claude/agents/agent-ops.md +138 -63
- package/.claude/commands/deploy.md +56 -17
- package/.claude/commands/one.md +46 -177
- package/.claude/commands/push.md +75 -14
- package/.claude/commands/release.md +91 -49
- package/.claude/commands/server.md +64 -5
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/folders.yaml +1 -1
- package/one/.obsidian/workspace.json +2 -2
- package/one/things/plans/2-sites.md +895 -0
- package/package.json +1 -1
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
When user types `/server [action]`, manage the ONE Platform development server.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**CRITICAL:** For `/server start` and `/server restart`:
|
|
8
|
+
1. Check if web/node_modules exists
|
|
9
|
+
2. If missing, run `cd web && bun install` FIRST
|
|
10
|
+
3. Only then run `bun run dev`
|
|
11
|
+
4. This prevents "failed to start" errors from missing dependencies
|
|
8
12
|
|
|
9
13
|
### Supported Actions
|
|
10
14
|
|
|
@@ -91,13 +95,54 @@ Are you in the ONE Platform root directory?
|
|
|
91
95
|
Current directory: [pwd]
|
|
92
96
|
```
|
|
93
97
|
|
|
94
|
-
### Step 3:
|
|
98
|
+
### Step 3: Check Dependencies are Installed
|
|
99
|
+
|
|
100
|
+
Check if `node_modules` exists in web/:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
[ -d web/node_modules ] && echo "installed" || echo "missing"
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**If dependencies not installed:**
|
|
107
|
+
|
|
108
|
+
Show progress message and install:
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
📦 Installing dependencies...
|
|
112
|
+
|
|
113
|
+
Installing:
|
|
114
|
+
cd web && bun install
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Run the install:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
cd web && bun install
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
**If install succeeds, continue to Step 4.**
|
|
124
|
+
|
|
125
|
+
**If install fails, show error:**
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
❌ Failed to install dependencies
|
|
129
|
+
|
|
130
|
+
Try manually:
|
|
131
|
+
cd web && bun install
|
|
132
|
+
|
|
133
|
+
Common issues:
|
|
134
|
+
• Node.js/Bun not installed
|
|
135
|
+
• package.json corrupted
|
|
136
|
+
• Network issues
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Step 4: Start Server in Background
|
|
95
140
|
|
|
96
141
|
```bash
|
|
97
142
|
cd web && bun run dev > /dev/null 2>&1 &
|
|
98
143
|
```
|
|
99
144
|
|
|
100
|
-
### Step
|
|
145
|
+
### Step 5: Wait and Verify (2 seconds)
|
|
101
146
|
|
|
102
147
|
```bash
|
|
103
148
|
sleep 2 && lsof -ti:4321 2>/dev/null
|
|
@@ -212,14 +257,28 @@ lsof -ti:4321 | xargs kill 2>/dev/null
|
|
|
212
257
|
sleep 1
|
|
213
258
|
```
|
|
214
259
|
|
|
215
|
-
### Step 2:
|
|
260
|
+
### Step 2: Check Dependencies are Installed
|
|
261
|
+
|
|
262
|
+
Check if `node_modules` exists in web/:
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
[ -d web/node_modules ] && echo "installed" || echo "missing"
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
**If dependencies not installed, run:**
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
cd web && bun install
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Step 3: Start Server
|
|
216
275
|
|
|
217
276
|
```bash
|
|
218
277
|
cd web && bun run dev > /dev/null 2>&1 &
|
|
219
278
|
sleep 2
|
|
220
279
|
```
|
|
221
280
|
|
|
222
|
-
### Step
|
|
281
|
+
### Step 4: Verify Running
|
|
223
282
|
|
|
224
283
|
```bash
|
|
225
284
|
lsof -ti:4321 2>/dev/null
|
|
Binary file
|
package/folders.yaml
CHANGED
|
@@ -200,6 +200,7 @@
|
|
|
200
200
|
},
|
|
201
201
|
"active": "6e5b8f1ea32bc953",
|
|
202
202
|
"lastOpenFiles": [
|
|
203
|
+
"things/plans/2-sites.md",
|
|
203
204
|
"events/TESTING-DELIVERY.txt",
|
|
204
205
|
"events/TYPESCRIPT_FIXES_COMPLETE.txt",
|
|
205
206
|
"events/VIEW-TRANSITIONS.md",
|
|
@@ -234,7 +235,6 @@
|
|
|
234
235
|
"events/backend-structure-summary.txt",
|
|
235
236
|
"events/backend-structure-diagram.txt",
|
|
236
237
|
"things/implementation",
|
|
237
|
-
"things/designs/accessibility-audit.md.tmp.98586.1761326898463"
|
|
238
|
-
"knowledge/lessons-learned.md.tmp.98586.1761326866284"
|
|
238
|
+
"things/designs/accessibility-audit.md.tmp.98586.1761326898463"
|
|
239
239
|
]
|
|
240
240
|
}
|