oneie 3.6.11 → 3.6.12

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.
@@ -1,34 +1,39 @@
1
1
  # /one - ONE Platform Command Center
2
2
 
3
- 🌟 **Transform Ideas into Production-Ready Code with agent-director**
3
+ 🌟 **Welcome to the ONE Platform**
4
4
 
5
- The `/one` command launches the ONE Platform orchestration system powered by agent-director and 15 specialized agents.
5
+ The `/one` command displays the welcome screen and guides you to your next action.
6
6
 
7
7
  ## Quick Start
8
8
 
9
9
  When user types `/one`, display the ONE Platform welcome screen.
10
10
 
11
- ### Step 1: Check Status (< 1 second)
11
+ ### Step 1: Check Server Status (< 1 second)
12
12
 
13
- Run quick parallel checks:
13
+ Run a quick check:
14
14
 
15
15
  ```bash
16
- find . -maxdepth 2 -name ".onboarding.json" -type f 2>/dev/null | head -1 && \
17
16
  lsof -ti:4321 2>/dev/null
18
17
  ```
19
18
 
20
19
  **Parse output:**
21
- - Line 1: Path to `.onboarding.json` (if exists)
22
- - Line 2: Server PID (if running)
20
+ - If output exists: Server is running on port 4321
21
+ - If empty: Server is not running
23
22
 
24
23
  ### Step 2: Read Onboarding Data (if exists)
25
24
 
26
- If `.onboarding.json` found, read to extract:
25
+ Check for `.onboarding.json` in current directory and parent directories:
26
+
27
+ ```bash
28
+ find . -maxdepth 3 -name ".onboarding.json" -type f 2>/dev/null | head -1
29
+ ```
30
+
31
+ If found, read to extract:
27
32
  - `user.name`
28
33
  - `organization.name`
29
34
  - `website.url`
30
35
 
31
- ### Step 3: Display Welcome Screen
36
+ ### Step 3: Display Welcome Screen ONLY
32
37
 
33
38
  **WITH onboarding data:**
34
39
 
@@ -56,121 +61,21 @@ Website: [website.url]
56
61
  Dev Server: http://localhost:4321 [✓ Running / ⭕ Stopped]
57
62
 
58
63
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
59
- 🚀 QUICK START: Your Idea → Full Implementation Plan
60
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
61
-
62
- 1. Tell me your idea:
63
- "I want to build a course platform with AI tutors"
64
-
65
- 2. Create a plan:
66
- /plan convert [your-idea]
67
- → Generates 100-inference plan
68
- → Assigns tasks to agents
69
- → Shows timeline + dependencies
70
-
71
- 3. Execute with agents:
72
- /now - See current inference
73
- /next - Advance to next task
74
- /done - Mark task complete
75
- /build - Start building with specialists
76
-
77
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
78
- 🎯 ORCHESTRATION & PLANNING
79
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
80
-
81
- Plan Management:
82
- • /plan - View current 100-inference plan
83
- • /plan convert [idea] - Convert idea to full task plan
84
- • /plan show - Display plan with agent assignments
85
- • /plan export - Export plan (markdown, json, csv)
86
- • /plan dependencies - Show task dependencies
87
- • /plan filter --agent - Filter tasks by agent
88
-
89
- Inference Workflow:
90
- • /now - Show current inference & task
91
- • /next - Advance to next inference
92
- • /done - Mark inference complete & learn
93
- • /goto [N] - Jump to inference N
94
-
95
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
96
- 🤖 AGENT COMMAND CENTER (15 Specialists, agent-director Leads)
97
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
98
-
99
- Orchestration:
100
- • /agent director - View orchestrator dashboard
101
- • /agent dashboard - See all agents' current work
102
- • /agent delegate [task] - Manually delegate to agent
103
-
104
- Core Specialists:
105
- • /agent backend - Backend specialist (Convex, mutations, queries)
106
- • /agent frontend - Frontend specialist (Astro, React, pages)
107
- • /agent designer - Design specialist (wireframes, tokens)
108
- • /agent quality - Quality specialist (tests, validation)
109
-
110
- Support Specialists:
111
- • /agent builder - Feature builder (coordinates implementation)
112
- • /agent problem-solver - Problem solver (analyzes failures)
113
- • /agent documenter - Documenter (writes docs, captures lessons)
114
- • /agent ops - Operations (deployment, CI/CD)
115
-
116
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
117
- ⚙️ DEVELOPMENT TOOLS
118
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
119
-
120
- Server & Environment:
121
- • /server start - Start development server
122
- • /server stop - Stop development server
123
- • /server status - Check server status
124
-
125
- Onboarding & Analysis:
126
- • /onboard - Analyze website & extract brand identity
127
-
128
- Build & Deploy (Frontend-First by Default):
129
- • /build - Build features using existing /web components
130
- • /build [feature] - Build specific frontend feature
131
- • /build backend [feature] - Build custom backend (when explicitly needed)
132
- • /build list - See available components in /web
133
- • /build help - Full build documentation
134
- • /deploy - Deploy to production
135
-
136
- Analytics:
137
- • /see - View analytics & explore insights
138
-
139
- Existing Features Ready to Use:
140
- • Shop (ecommerce): /web/src/pages/shop.astro
141
- • Blog (content): /web/src/pages/blog/
142
- • Portfolio: /web/src/pages/portfolio.astro
143
- • More: Explore /web/src/pages/ for available components
144
-
145
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
146
- ✨ WHAT WOULD YOU LIKE TO BUILD?
64
+ 🎯 NEXT STEPS
147
65
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
148
66
 
149
- Just describe your frontend feature:
150
- • "Add a course shop page (we have shop.astro)"
151
- • "Create a blog with featured articles"
152
- • "Build a portfolio gallery with filtering"
153
- • "Add product recommendation system"
154
- • "Create a testimonials showcase section"
67
+ Server:
68
+ /server start - Start development server (if stopped)
69
+ /server stop - Stop development server
70
+ /server status - Check server status
155
71
 
156
- Or customize existing features:
157
- • "Redesign the shop page with new branding"
158
- • "Add advanced filtering to portfolio"
159
- • "Create course preview pages"
160
- • "Build instructor profile pages"
161
-
162
- Or request custom backend (when needed):
163
- • "build backend AI tutor integration"
164
- • "build backend token economy system"
165
- • "build backend custom analytics"
166
-
167
- Start with: /plan convert [your-idea]
72
+ Planning:
73
+ /plan convert [idea] - Create a 100-inference plan for your idea
168
74
 
169
- Then I'll:
170
- 1. Check existing /web components for reuse
171
- 2. Plan frontend modifications needed
172
- 3. Assign to frontend agent if backend not needed
173
- 4. Execute step-by-step with /now, /next, /done
75
+ Examples:
76
+ • /plan convert "Build an ecommerce store for custom clothes"
77
+ • /plan convert "Create a course platform with AI tutors"
78
+ • /plan convert "Add real-time notifications to my app"
174
79
 
175
80
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
176
81
  ```
@@ -188,7 +93,7 @@ Then I'll:
188
93
  ╚═════╝ ╚═╝ ╚═══╝╚══════╝
189
94
 
190
95
  ONE Platform v1.0.0
191
- Make Your Ideas Real
96
+ Transform Ideas into Code
192
97
 
193
98
  https://one.ie • npx oneie
194
99
 
@@ -197,68 +102,22 @@ Then I'll:
197
102
  Dev Server: http://localhost:4321 [✓ Running / ⭕ Stopped]
198
103
 
199
104
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
200
- 🚀 QUICK START: Turn Your Idea Into a Detailed Task Plan
105
+ 🎯 QUICK START
201
106
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
202
107
 
203
- 1. Start your idea:
204
- /plan convert "I want to build a course platform"
205
-
206
- This will:
207
- ✅ Create a 100-inference plan
208
- ✅ Assign tasks to 15 specialists
209
- ✅ Show dependencies and timeline
210
- ✅ List all ontology dimensions involved
211
-
212
- 2. Execute step-by-step:
213
- /now - See current task
214
- /next - Move to next inference
215
- /done - Mark complete & advance
216
-
217
- 3. See your agents working:
218
- /agent dashboard - See all agents' current work
219
- /agent [name] - View specific agent's tasks
220
-
221
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
222
- 📋 ESSENTIAL COMMANDS
223
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
108
+ Server:
109
+ /server start - Start development server
110
+ /server stop - Stop development server
111
+ /server status - Check server status
224
112
 
225
113
  Planning:
226
- /plan convert [idea] - Convert idea to 100-inference plan
227
- /plan show - Show current plan with agent assignments
228
- /plan dependencies - Show task dependencies
229
-
230
- Execution:
231
- /now - View current inference & task
232
- /next - Advance to next inference
233
- /done - Mark complete & advance
234
- /build [feature] - Build with specialists
235
-
236
- Agents:
237
- /agent dashboard - See all agents at work
238
- /agent director - View orchestrator status
239
- /agent [name] - View specific agent
240
-
241
- Setup:
242
- /server start - Start dev server
243
- /onboard - Analyze your website
244
-
245
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
246
- ✨ READY TO TRANSFORM YOUR IDEA?
247
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
248
-
249
- Start here:
250
- /plan convert "Your idea here"
114
+ /plan convert [idea] - Create a 100-inference plan for your idea
251
115
 
252
116
  Examples:
253
- • /plan convert "Build a course platform with AI tutors"
254
- • /plan convert "Create a blog with SEO and analytics"
117
+ • /plan convert "Build an ecommerce store for custom clothes"
118
+ • /plan convert "Create a course platform with AI tutors"
255
119
  • /plan convert "Add real-time notifications to my app"
256
120
 
257
- Then:
258
- • /plan show - See your full plan
259
- • /now - Start executing
260
- • /agent dashboard - Watch your agents work
261
-
262
121
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
263
122
  ```
264
123
 
@@ -270,14 +129,24 @@ Then:
270
129
  - Start server automatically
271
130
  - Launch agent-onboard automatically
272
131
  - Block waiting for processes
132
+ - Jump into planning automatically
133
+ - Execute `/plan convert` without user input
273
134
 
274
135
  **DO:**
275
- - Show current status (server, onboarding)
276
- - Guide users to `/plan convert [idea]` as first step
136
+ - Show current status (server running/stopped)
137
+ - Display the welcome screen
138
+ - Guide users to their next action (e.g., `/server start` or `/plan convert [idea]`)
277
139
  - Reference cascade system for orchestration
278
140
  - Show agent-director as central coordinator
279
141
  - Highlight 15-specialist availability
280
142
 
143
+ **Execution Flow:**
144
+ 1. Check server status (running/stopped)
145
+ 2. Read onboarding data if exists
146
+ 3. Display welcome screen (with or without onboarding data)
147
+ 4. Show available next commands
148
+ 5. Wait for user input (DO NOT auto-execute anything)
149
+
281
150
  **Key Integration Points:**
282
151
  - `/plan convert` merges CASCADE planning into plan command
283
152
  - Agent assignments are automatic based on inference type
@@ -2,10 +2,23 @@
2
2
 
3
3
  **Purpose:** Intelligently commit and push changes to all ONE Platform repositories with contextual commit messages.
4
4
 
5
+ ## Two-Site Architecture
6
+
7
+ **CRITICAL:** ONE Platform uses a two-site architecture:
8
+
9
+ - **oneie/** - Production site (source of truth) → `github.com/one-ie/oneie`
10
+ - **web/** - Starter template (AUTO-GENERATED) → `github.com/one-ie/web`
11
+
12
+ **Golden Rule:** NEVER edit web/ directly. It is generated from oneie/ via:
13
+ ```bash
14
+ cd oneie && bun run build:starter
15
+ ```
16
+
5
17
  ## How It Works
6
18
 
7
- This command analyzes changes across the monorepo and pushes to the appropriate repositories:
8
- - `/web` → `github.com/one-ie/web`
19
+ This command analyzes changes across the repositories and pushes to:
20
+ - `/oneie` → `github.com/one-ie/oneie` (production site)
21
+ - `/web` → `github.com/one-ie/web` (auto-generated starter)
9
22
  - `/cli` → `github.com/one-ie/cli`
10
23
  - `/one` → `github.com/one-ie/one-ontology`
11
24
  - `/apps/one` → `github.com/one-ie/one` (assembly repository)
@@ -19,7 +32,10 @@ When the user runs `/push`, you MUST:
19
32
  Run git status in each directory to understand what changed:
20
33
 
21
34
  ```bash
22
- # Check web changes
35
+ # Check oneie changes (production site)
36
+ cd oneie && git status --short
37
+
38
+ # Check web changes (should be AUTO-GENERATED only)
23
39
  cd web && git status --short
24
40
 
25
41
  # Check cli changes
@@ -32,6 +48,8 @@ cd one && git status --short
32
48
  cd apps/one && git status --short
33
49
  ```
34
50
 
51
+ **IMPORTANT:** If web/ has changes, ensure oneie/ was developed first and `bun run build:starter` was run.
52
+
35
53
  ### Step 2: Generate Contextual Commit Messages
36
54
 
37
55
  Based on the changes detected, create commit messages following this structure:
@@ -62,14 +80,14 @@ Co-Authored-By: Claude <noreply@anthropic.com>
62
80
 
63
81
  For each repository with changes:
64
82
 
65
- **Web Repository:**
83
+ **Production Site Repository (oneie):**
66
84
  ```bash
67
- cd web
85
+ cd oneie
68
86
  git add .
69
87
  git commit -m "$(cat <<'EOF'
70
88
  <type>: <description>
71
89
 
72
- <detailed explanation of web-specific changes>
90
+ <detailed explanation of production site changes>
73
91
 
74
92
  Changes:
75
93
  - Updated component X with Y
@@ -84,6 +102,27 @@ EOF
84
102
  git push origin main
85
103
  ```
86
104
 
105
+ **Starter Template Repository (web - AUTO-GENERATED):**
106
+ ```bash
107
+ cd web
108
+ git add .
109
+ git commit -m "$(cat <<'EOF'
110
+ chore: regenerate starter template from oneie
111
+
112
+ Auto-generated from oneie/ production site.
113
+
114
+ ⚠️ This repository is AUTO-GENERATED. Do not edit directly.
115
+
116
+ Generated via: cd oneie && bun run build:starter
117
+
118
+ 🤖 Generated with [Claude Code](https://claude.com/claude-code)
119
+
120
+ Co-Authored-By: Claude <noreply@anthropic.com>
121
+ EOF
122
+ )"
123
+ git push origin main
124
+ ```
125
+
87
126
  **CLI Repository:**
88
127
  ```bash
89
128
  cd cli
@@ -156,14 +195,18 @@ Analyze the actual file changes to craft meaningful messages:
156
195
 
157
196
  **Example Analysis:**
158
197
  ```bash
159
- # For web changes
160
- git diff --stat web/
198
+ # For oneie changes (production site)
199
+ git diff --stat oneie/
161
200
 
162
201
  # Look for patterns:
163
202
  # - src/pages/*.astro → "page updates"
164
203
  # - src/components/*.tsx → "component changes"
165
204
  # - src/styles/*.css → "styling updates"
166
205
  # - package.json → "dependency updates"
206
+ # - scripts/generate-starter.sh → "transform script updates"
207
+
208
+ # For web changes (should always be "regenerated from oneie")
209
+ git diff --stat web/
167
210
  ```
168
211
 
169
212
  **Example Smart Messages:**
@@ -234,7 +277,10 @@ After pushing, provide a clear summary:
234
277
  ✅ Multi-Repository Push Complete!
235
278
 
236
279
  📦 Repositories Updated:
237
- - web: feat: add hierarchical group navigation
280
+ - oneie: feat: add hierarchical group navigation (production site)
281
+ → https://github.com/one-ie/oneie/commit/<hash>
282
+
283
+ - web: chore: regenerate starter template from oneie (AUTO-GENERATED)
238
284
  → https://github.com/one-ie/web/commit/<hash>
239
285
 
240
286
  - cli: fix: resolve TypeScript errors in init command
@@ -246,9 +292,13 @@ After pushing, provide a clear summary:
246
292
  - apps/one: chore: sync assembly repository
247
293
  → https://github.com/one-ie/one/commit/<hash>
248
294
 
249
- 🔗 Total commits: 4
295
+ 🔗 Total commits: 5
250
296
  ⏱️ Time: ~30 seconds
251
297
 
298
+ Architecture:
299
+ - oneie/ → one.ie (source of truth)
300
+ - web/ → web.one.ie (generated)
301
+
252
302
  Next Steps:
253
303
  - Monitor CI/CD pipelines
254
304
  - Review commit history on GitHub
@@ -262,8 +312,11 @@ Next Steps:
262
312
  If only one repository has changes, only push that one:
263
313
 
264
314
  ```bash
315
+ # User: /push oneie
316
+ # → Only push production site repository
317
+
265
318
  # User: /push web
266
- # → Only push web repository
319
+ # → Only push starter template (must be regenerated first!)
267
320
 
268
321
  # User: /push cli one
269
322
  # → Push both cli and one repositories
@@ -419,12 +472,20 @@ Would commit and push:
419
472
  ## Integration with /release
420
473
 
421
474
  The `/push` command is complementary to `/release`:
422
- - Use `/push` for regular development commits
475
+ - Use `/push` for regular development commits (oneie/ → web/)
423
476
  - Use `/release` for versioned releases with deployment
424
477
 
478
+ **Two-Site Workflow:**
425
479
  ```
426
- Development workflow:
427
- /push → /push → /push → /release patch → /push
480
+ Development:
481
+ 1. Edit oneie/ (production site)
482
+ 2. Run: cd oneie && bun run build:starter
483
+ 3. Run: /push (commits both oneie/ and web/)
484
+
485
+ Release:
486
+ 1. Complete development cycle
487
+ 2. Run: /release patch
488
+ 3. Deploys both sites to Cloudflare
428
489
  ```
429
490
 
430
491
  ---
@@ -18,6 +18,24 @@ This command **MUST** delegate to the `agent-ops` specialist agent, which has th
18
18
  6. Cloudflare deployments (using CLOUDFLARE_GLOBAL_API_KEY)
19
19
  7. Verification and reporting
20
20
 
21
+ ## Two-Site Architecture
22
+
23
+ **CRITICAL:** ONE Platform uses a two-site architecture:
24
+
25
+ - **oneie/** - Production site (source of truth) deployed to https://one.ie
26
+ - **web/** - Starter template (AUTO-GENERATED) distributed via `npx oneie`
27
+
28
+ **Golden Rule:** NEVER edit web/ directly. It is generated from oneie/ via transform script.
29
+
30
+ **Workflow:**
31
+ ```
32
+ oneie/ (edit here)
33
+ ↓
34
+ bun run build:starter (generates)
35
+ ↓
36
+ web/ (never edit)
37
+ ```
38
+
21
39
  ## Release Types
22
40
 
23
41
  - `/release patch` - Bug fixes (3.3.5 → 3.3.6)
@@ -25,12 +43,6 @@ This command **MUST** delegate to the `agent-ops` specialist agent, which has th
25
43
  - `/release major` - Breaking changes (3.3.5 → 4.0.0)
26
44
  - `/release sync` - Sync files without version bump
27
45
 
28
- ## Deployment Targets
29
-
30
- - `/release patch main` - Deploy to one.ie (main site)
31
- - `/release patch demo` - Deploy to demo.one.ie (demo/starter)
32
- - `/release patch` - Deploy to both (default)
33
-
34
46
  ## Your Task
35
47
 
36
48
  **CRITICAL:** You MUST delegate this entire release to the `agent-ops` specialist by using the Task tool:
@@ -62,93 +74,123 @@ IMPORTANT: The CLOUDFLARE_GLOBAL_API_KEY is set in .env and provides FULL ACCESS
62
74
  3. If errors found, report to user and STOP
63
75
  4. If warnings only, continue
64
76
 
65
- ### Step 2: Version Bump & Sync (if not "sync")
66
- 1. Run `./scripts/release.sh [patch|minor|major] [main|demo]`
77
+ ### Step 2: Generate Starter Template
78
+ 1. Generate web/ from oneie/ source:
79
+ ```bash
80
+ cd oneie
81
+ bun run build:starter
82
+ ```
83
+ 2. This runs `scripts/generate-starter.sh` which:
84
+ - Copies all files from oneie/ to web/
85
+ - Replaces homepage with simple 3-option template chooser
86
+ - Simplifies Sidebar.tsx to 2 navigation items (Stream, License)
87
+ - Reduces blog content to 1 example post
88
+ - Reduces products to 3 examples
89
+ - Updates package.json name to "oneie-starter"
90
+ - Creates AUTO-GENERATED warning in README.md
91
+ 3. Commit generated web/ changes
92
+
93
+ ### Step 3: Version Bump & Sync
94
+ 1. Run `./scripts/release.sh [patch|minor|major]`
67
95
  2. This will:
68
96
  - Bump version in cli/package.json
69
- - Sync 518+ files based on target:
70
- - **For main:** `/web` + `/one` + `/.claude` → `apps/oneie/`
71
- - **For demo:** `/web` + `/one` + `/.claude` → `apps/one/`
72
- - **For both:** Sync to both targets
73
- - Files synced:
74
- - `/one/*` → `cli/one/` and `apps/{target}/one/`
75
- - `/.claude/*` → `cli/.claude/` and `apps/{target}/one/.claude/`
76
- - `/web/*` → `apps/{target}/web/` (rsync)
97
+ - Sync 518+ files to distribution repos:
98
+ - `/one/*` → `cli/one/` and `apps/one/one/`
99
+ - `/.claude/*` → `cli/.claude/` and `apps/one/one/.claude/`
100
+ - `/oneie/*` → `apps/oneie/` (production site)
101
+ - `/web/*` → `apps/one/web/` (starter template)
77
102
  - `CLAUDE.md`, `README.md`, `LICENSE.md`, `SECURITY.md` → all targets
78
- - `web/AGENTS.md` → `apps/{target}/one/AGENTS.md`
79
- - Copy environment file (.env.main or .env.demo) to apps/{target}/web/.env.local
80
- - **AUTOMATICALLY** commit and push to GitHub repos (no confirmation needed)
103
+ - `oneie/AGENTS.md` → `apps/one/one/AGENTS.md`
104
+ - **AUTOMATICALLY** commit and push to GitHub repos:
105
+ - oneie/ → github.com/one-ie/oneie
106
+ - web/ → github.com/one-ie/web
81
107
  - Show git status for review
82
108
  3. When prompted for cli/ "Commit and push?", answer 'y'
83
109
  4. When prompted "Create tag?", answer 'y'
84
110
 
85
- ### Step 3: npm Publish
111
+ ### Step 4: npm Publish
86
112
  1. `cd cli`
87
113
  2. Run `npm publish --access public`
88
114
  3. Wait for completion
89
115
  4. Verify: `npm view oneie version`
90
116
  5. Report new version to user
91
117
 
92
- ### Step 4: Build & Deploy Web to Cloudflare
118
+ ### Step 5: Build & Deploy to Cloudflare
119
+
120
+ **Two-Site Architecture:**
121
+ - **oneie/** → https://one.ie (Wrangler project: oneie) - Full production site
122
+ - **web/** → https://web.one.ie (Wrangler project: web) - Starter template
93
123
 
94
- **Multi-Site Architecture:**
95
- - **Main Site (oneie project):** https://one.ie - Full platform with backend
96
- - **Demo Site (one project):** https://demo.one.ie - Starter template (frontend-only)
124
+ **Deployment Process:**
125
+
126
+ 1. **Deploy Production Site (oneie/):**
127
+ ```bash
128
+ cd oneie
129
+ bun run build
130
+ wrangler pages deploy dist --project-name=oneie
131
+ # Deployed to: https://one.ie
132
+ ```
133
+
134
+ 2. **Deploy Starter Template (web/):**
135
+ ```bash
136
+ cd web
137
+ bun run build
138
+ wrangler pages deploy dist --project-name=web
139
+ # Deployed to: https://web.one.ie
140
+ ```
97
141
 
98
142
  **Automatic Mode (if CLOUDFLARE_GLOBAL_API_KEY is set):**
99
- 1. The release script automatically detects credentials
100
- 2. Syncs web to apps/oneie/ or apps/one/ based on target
101
- 3. Copies appropriate .env file (.env.main or .env.demo)
102
- 4. Builds web with environment-specific config
103
- 5. Deploys via Cloudflare API
104
- 6. Shows deployment status and URLs
105
- 7. **Zero confirmation needed** - fully automated!
106
-
107
- **Manual Mode (if credentials not set):**
108
- 1. `cd apps/oneie/web` (or `apps/one/web` for demo)
109
- 2. Run `bun run build`
110
- 3. When prompted "Deploy to Cloudflare Pages?", answer 'y'
111
- 4. Script runs `wrangler pages deploy dist --project-name=oneie` (or `one`)
112
- 5. Capture deployment URL and report to user
143
+ - Scripts automatically use global API key from `.env`
144
+ - Deploys via Cloudflare API without confirmation
145
+ - Shows deployment status and URLs
146
+ - **Zero manual intervention needed**
113
147
 
114
148
  **Standalone Deployment:**
115
149
  ```bash
116
- # Deploy main site
117
- scripts/cloudflare-deploy.sh deploy oneie apps/oneie/web/dist production
150
+ # Deploy production site (oneie)
151
+ scripts/cloudflare-deploy.sh deploy oneie oneie/dist production
118
152
 
119
- # Deploy demo site
120
- scripts/cloudflare-deploy.sh deploy one apps/one/web/dist production
153
+ # Deploy starter template (web)
154
+ scripts/cloudflare-deploy.sh deploy web web/dist production
121
155
 
122
156
  # Check deployment status
123
157
  scripts/cloudflare-deploy.sh status oneie
124
- scripts/cloudflare-deploy.sh status one
158
+ scripts/cloudflare-deploy.sh status web
125
159
 
126
160
  # List recent deployments
127
161
  scripts/cloudflare-deploy.sh list oneie 5
128
- scripts/cloudflare-deploy.sh list one 5
162
+ scripts/cloudflare-deploy.sh list web 5
129
163
  ```
130
164
 
131
- ### Step 5: Verification
165
+ ### Step 6: Verification
132
166
  1. Test npm package: `npx oneie@latest --version`
133
167
  2. Report all live URLs:
134
168
  - npm: https://www.npmjs.com/package/oneie
135
- - Web: https://web.one.ie (or Cloudflare URL)
169
+ - Production Site: https://one.ie
170
+ - Starter Template: https://web.one.ie
171
+ - GitHub oneie: https://github.com/one-ie/oneie
172
+ - GitHub web: https://github.com/one-ie/web
136
173
  - GitHub CLI: https://github.com/one-ie/cli
137
- - GitHub One: https://github.com/one-ie/one
138
174
 
139
- ### Step 6: Summary Report
175
+ ### Step 7: Summary Report
140
176
  Provide a concise summary:
141
177
  ```
142
178
  ✅ Release v2.0.X Complete!
143
179
 
144
180
  📦 npm: oneie@2.0.X (live)
145
- 🌐 Web: https://web.one.ie (deployed)
181
+ 🌐 Production: https://one.ie (deployed)
182
+ 🎁 Starter: https://web.one.ie (deployed)
146
183
  🏷️ GitHub: v2.0.X tagged
147
184
  ⏱️ Total time: ~X minutes
148
185
 
186
+ Architecture:
187
+ - oneie/ → one.ie (full production site)
188
+ - web/ → web.one.ie (auto-generated starter)
189
+
149
190
  Next steps:
150
191
  - Create GitHub releases
151
192
  - Test installation: npx oneie@latest
193
+ - Test starter template: npx oneie init my-project
152
194
  - Monitor for errors
153
195
  ```
154
196