oneie 3.6.3 → 3.6.5

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,3 +1,10 @@
1
+ ---
2
+ name: agent-lawyer
3
+ description: Legal specialist for privacy policies, terms of service, data protection compliance (GDPR, CCPA), and ontology-aware legal risk assessment.
4
+ tools: Read, Write, Edit, Bash, Grep, Glob
5
+ model: inherit
6
+ ---
7
+
1
8
  # Legal Agent: Lawyer
2
9
 
3
10
  ## Ontology Type
@@ -1,3 +1,10 @@
1
+ ---
2
+ name: agent-onboard
3
+ description: Analyze existing websites and generate personalized ONE Platform ontologies with brand identity extraction and feature recommendations.
4
+ tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch
5
+ model: inherit
6
+ ---
7
+
1
8
  # Agent: Onboard
2
9
 
3
10
  **Purpose:** Analyze existing websites and generate personalized ONE Platform ontologies
package/.mcp.json CHANGED
@@ -46,12 +46,23 @@
46
46
  ]
47
47
  },
48
48
  "astro-docs": {
49
- "transport": "http",
50
- "url": "https://mcp.docs.astro.build/mcp"
49
+ "command": "npx",
50
+ "args": [
51
+ "-y",
52
+ "mcp-remote",
53
+ "https://mcp.docs.astro.build/mcp"
54
+ ]
51
55
  },
52
56
  "stripe": {
53
- "transport": "http",
54
- "url": "https://mcp.stripe.com/"
57
+ "command": "npx",
58
+ "args": [
59
+ "-y",
60
+ "mcp-remote",
61
+ "https://mcp.stripe.com/"
62
+ ],
63
+ "env": {
64
+ "STRIPE_API_KEY": "${STRIPE_API_KEY}"
65
+ }
55
66
  }
56
67
  }
57
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"installation-setup.d.ts","sourceRoot":"","sources":["../../src/utils/installation-setup.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAG9D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,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f;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CACxC,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,IAAI,CAAC,CAOf;AAED;;;;GAIG;AACH,wBAAsB,oBAAoB,CACxC,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE;IACJ,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,GACA,OAAO,CAAC,IAAI,CAAC,CAwCf"}
@@ -179,6 +179,15 @@ export async function updateOrgEnvFile(options, basePath = process.cwd()) {
179
179
  updateEnvVar("ORG_WEBSITE", options.orgWebsite);
180
180
  updateEnvVar("ORG_FOLDER", options.orgFolder);
181
181
  updateEnvVar("ONE_BACKEND", options.backendEnabled !== false ? "on" : "off");
182
+ // Add Convex placeholders to prevent "undefined deployment address" errors
183
+ // Users can update these with their actual Convex deployment when ready
184
+ if (!envContent.includes("PUBLIC_CONVEX_URL=")) {
185
+ if (!envContent.includes("# Convex Backend")) {
186
+ envContent += `\n# Convex Backend (placeholder - update with your deployment)\n`;
187
+ }
188
+ envContent += `PUBLIC_CONVEX_URL=https://your-deployment.convex.cloud\n`;
189
+ envContent += `CONVEX_DEPLOYMENT=dev:your-deployment\n`;
190
+ }
182
191
  await fs.writeFile(envPath, envContent, "utf-8");
183
192
  }
184
193
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"installation-setup.js","sourceRoot":"","sources":["../../src/utils/installation-setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAA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,MAAM,EAAE,CAAC,SAAS,CAChB,cAAc,EACd,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,EACvC,OAAO,CACR,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,wBAAwB;IAC/B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiER,CAAC;AACF,CAAC"}
package/folders.yaml CHANGED
@@ -87,6 +87,6 @@ exclude_patterns:
87
87
  deployment:
88
88
  github_repo: one-ie/one
89
89
  npm_package: oneie
90
- version: 3.6.3
90
+ version: 3.6.4
91
91
  homepage: https://one.ie
92
92
  license_url: https://one.ie/free-license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneie",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "type": "module",
5
5
  "description": "Build apps, websites, and AI agents in English. Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.",
6
6
  "bin": {
@@ -47,7 +47,8 @@
47
47
  "chalk": "^5.3.0",
48
48
  "ora": "^8.0.1",
49
49
  "yaml": "^2.3.4",
50
- "glob": "^10.3.10"
50
+ "glob": "^10.3.10",
51
+ "fs-extra": "^11.2.0"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@types/node": "^20.11.0",
@@ -1,600 +0,0 @@
1
- # Agent-Onboard Example Output
2
-
3
- ## Example Analysis for one.ie
4
-
5
- ### Input
6
- ```json
7
- {
8
- "name": "Tom O'Connor",
9
- "organizationName": "ONE Platform",
10
- "websiteUrl": "https://one.ie",
11
- "email": "tom@one.ie"
12
- }
13
- ```
14
-
15
- ### Website Analysis Result
16
-
17
- ```yaml
18
- Brand Identity:
19
- colors:
20
- primary: "#FF6B6B"
21
- secondary: "#4ECDC4"
22
- accent: "#95E1D3"
23
- logo:
24
- url: "/logo.svg"
25
- format: "svg"
26
- fonts:
27
- heading: "Inter, sans-serif"
28
- body: "Inter, sans-serif"
29
- voice:
30
- tone: "Technical, friendly, empowering"
31
- audience: "Developers, creators, entrepreneurs"
32
-
33
- Detected Features:
34
- contentTypes:
35
- - blog
36
- - products
37
- monetization:
38
- - subscriptions
39
- - one-time-sales
40
- community:
41
- - discord
42
- techStack:
43
- frontend: "Astro"
44
- backend: "Convex"
45
- hosting: "Cloudflare"
46
-
47
- Business Model: "Development Platform"
48
- ```
49
-
50
- ### Generated Ontology Document
51
-
52
- ```markdown
53
- # ONE Platform Custom Ontology
54
-
55
- **Version:** 1.0.0
56
- **Generated:** 2025-10-20T02:30:00.000Z
57
- **Source:** https://one.ie
58
- **Extends:** Core Universal Ontology
59
-
60
- ## Overview
61
-
62
- Based on analysis of https://one.ie, this ontology models your Development platform for building AI-native applications with multi-tenant architecture.
63
-
64
- ## GROUPS: Organizations and communities for collaboration
65
-
66
- - **organization**
67
- - **community**
68
-
69
- ## PEOPLE: Platform builders, organization managers, and users
70
-
71
- - **platform_owner**
72
- - **group_owner**
73
- - **group_user**
74
- - **customer**
75
-
76
- ## THINGS: Core entities including content, products, and business objects
77
-
78
- - **creator**
79
- - **organization**
80
- - **website**
81
- - **blog_post**
82
- - **article**
83
- - **digital_product**
84
- - **product**
85
- - **subscription**
86
- - **membership**
87
- - **payment**
88
- - **invoice**
89
-
90
- ## CONNECTIONS: Relationships between entities defining ownership and engagement
91
-
92
- - **owns**
93
- - **created_by**
94
- - **authored**
95
- - **member_of**
96
- - **transacted**
97
- - **following**
98
- - **participated_in**
99
-
100
- ## EVENTS: Actions and state changes tracked for audit and analytics
101
-
102
- - **entity_created**
103
- - **entity_updated**
104
- - **user_registered**
105
- - **user_login**
106
- - **content_event**
107
- - **payment_event**
108
- - **user_joined_group**
109
-
110
- ## KNOWLEDGE: Labels and semantic content for categorization and search
111
-
112
- - **documentation**
113
- - **label**
114
- - **article_chunk**
115
-
116
- ---
117
-
118
- **This ontology was automatically generated from your website analysis.**
119
- **You can customize it by editing this file directly.**
120
- ```
121
-
122
- ### Generated Brand Guide
123
-
124
- ```markdown
125
- # ONE Platform Brand Guide
126
-
127
- **Generated:** 2025-10-20T02:30:00.000Z
128
- **Source:** https://one.ie
129
-
130
- ## Brand Colors
131
-
132
- ### Primary Color
133
- \`\`\`
134
- #FF6B6B
135
- \`\`\`
136
-
137
- ### Secondary Color
138
- \`\`\`
139
- #4ECDC4
140
- \`\`\`
141
-
142
- ### Accent Color
143
- \`\`\`
144
- #95E1D3
145
- \`\`\`
146
-
147
- ## Logo
148
-
149
- - **URL:** /logo.svg
150
- - **Format:** SVG
151
-
152
- ## Typography
153
-
154
- ### Heading Font
155
- \`\`\`
156
- Inter, sans-serif
157
- \`\`\`
158
-
159
- ### Body Font
160
- \`\`\`
161
- Inter, sans-serif
162
- \`\`\`
163
-
164
- ## Brand Voice
165
-
166
- ### Tone
167
- Technical, friendly, empowering
168
-
169
- ### Target Audience
170
- Developers, creators, entrepreneurs
171
-
172
- ---
173
-
174
- ## Usage Guidelines
175
-
176
- ### Colors in CSS
177
-
178
- \`\`\`css
179
- :root {
180
- --color-primary: #FF6B6B;
181
- --color-secondary: #4ECDC4;
182
- --color-accent: #95E1D3;
183
- }
184
- \`\`\`
185
-
186
- ### Colors in Tailwind Config
187
-
188
- \`\`\`css
189
- @theme {
190
- /* Convert hex to HSL for Tailwind v4 */
191
- --color-primary: /* #FF6B6B as HSL */;
192
- --color-secondary: /* #4ECDC4 as HSL */;
193
- --color-accent: /* #95E1D3 as HSL */;
194
- }
195
- \`\`\`
196
-
197
- ### Typography in CSS
198
-
199
- \`\`\`css
200
- :root {
201
- --font-heading: Inter, sans-serif;
202
- --font-body: Inter, sans-serif;
203
- }
204
-
205
- h1, h2, h3, h4, h5, h6 {
206
- font-family: var(--font-heading);
207
- }
208
-
209
- body {
210
- font-family: var(--font-body);
211
- }
212
- \`\`\`
213
-
214
- ---
215
-
216
- **This brand guide was automatically generated from your website.**
217
- **You can customize it by editing this file directly.**
218
- ```
219
-
220
- ### Feature Recommendations
221
-
222
- ```yaml
223
- Foundation (Always Recommended):
224
- - feature: Landing Page
225
- reason: Essential foundation for any platform
226
- priority: high
227
- inference: Infer 1-10
228
- time: 5 min
229
-
230
- - feature: Authentication
231
- reason: Required for user management and security
232
- priority: high
233
- inference: Infer 11-20
234
- time: 10 min
235
-
236
- - feature: Multi-Tenant Groups
237
- reason: Core architecture for scalable multi-tenant platform
238
- priority: high
239
- inference: Infer 21-30
240
- time: 10 min
241
-
242
- Detected From Website:
243
- - feature: Blog CMS
244
- reason: Detected blog content on your website
245
- priority: high
246
- inference: Infer 31-40
247
- time: 15 min
248
-
249
- - feature: Product Store
250
- reason: Detected product sales on your website
251
- priority: medium
252
- inference: Infer 71-80
253
- time: 20 min
254
-
255
- - feature: Membership Tiers
256
- reason: Detected subscription business model
257
- priority: medium
258
- inference: Infer 61-70
259
- time: 15 min
260
-
261
- - feature: Discord Integration
262
- reason: Detected Discord community
263
- priority: medium
264
- inference: Infer 81-90
265
- time: 10 min
266
-
267
- - feature: Real-Time Sync
268
- reason: Convex enables powerful real-time features
269
- priority: medium
270
- inference: Infer 11-20
271
- time: 15 min
272
-
273
- AI & Automation:
274
- - feature: AI Agents
275
- reason: AI agents can automate business operations
276
- priority: low
277
- inference: Infer 61-70
278
- time: 20 min
279
-
280
- - feature: RAG Knowledge Base
281
- reason: Semantic search improves content discoverability
282
- priority: low
283
- inference: Infer 71-80
284
- time: 15 min
285
-
286
- Total Estimated Time: 145 minutes
287
- ```
288
-
289
- ### .onboarding.json Output
290
-
291
- ```json
292
- {
293
- "status": "features_presented",
294
- "user": {
295
- "name": "Tom O'Connor",
296
- "email": "tom@one.ie"
297
- },
298
- "organization": {
299
- "name": "ONE Platform",
300
- "slug": "one-platform",
301
- "websiteUrl": "https://one.ie"
302
- },
303
- "analysis": {
304
- "completedAt": "2025-10-20T02:30:00.000Z",
305
- "brand": {
306
- "colors": {
307
- "primary": "#FF6B6B",
308
- "secondary": "#4ECDC4",
309
- "accent": "#95E1D3"
310
- },
311
- "logo": {
312
- "url": "/logo.svg",
313
- "format": "svg"
314
- },
315
- "fonts": {
316
- "heading": "Inter, sans-serif",
317
- "body": "Inter, sans-serif"
318
- },
319
- "voice": {
320
- "tone": "Technical, friendly, empowering",
321
- "audience": "Developers, creators, entrepreneurs"
322
- }
323
- },
324
- "features": {
325
- "contentTypes": ["blog", "products"],
326
- "monetization": ["subscriptions", "one-time-sales"],
327
- "community": ["discord"],
328
- "techStack": {
329
- "frontend": "Astro",
330
- "backend": "Convex",
331
- "hosting": "Cloudflare"
332
- }
333
- },
334
- "businessModel": "Development Platform"
335
- },
336
- "ontology": {
337
- "version": "1.0.0",
338
- "groups": ["organization", "community"],
339
- "people": ["platform_owner", "group_owner", "group_user", "customer"],
340
- "things": [
341
- "creator",
342
- "organization",
343
- "website",
344
- "blog_post",
345
- "article",
346
- "digital_product",
347
- "product",
348
- "subscription",
349
- "membership",
350
- "payment",
351
- "invoice"
352
- ],
353
- "connections": [
354
- "owns",
355
- "created_by",
356
- "authored",
357
- "member_of",
358
- "transacted",
359
- "following",
360
- "participated_in"
361
- ],
362
- "events": [
363
- "entity_created",
364
- "entity_updated",
365
- "user_registered",
366
- "user_login",
367
- "content_event",
368
- "payment_event",
369
- "user_joined_group"
370
- ],
371
- "knowledge": ["documentation", "label", "article_chunk"]
372
- },
373
- "recommendations": [
374
- {
375
- "id": "landing-page",
376
- "name": "Landing Page",
377
- "category": "foundation",
378
- "reason": "Essential foundation for any platform",
379
- "priority": "high",
380
- "required": true,
381
- "estimatedMinutes": 5
382
- },
383
- {
384
- "id": "authentication",
385
- "name": "Authentication",
386
- "category": "foundation",
387
- "reason": "Required for user management and security",
388
- "priority": "high",
389
- "required": true,
390
- "estimatedMinutes": 10
391
- },
392
- {
393
- "id": "multi-tenant",
394
- "name": "Multi-Tenant Groups",
395
- "category": "foundation",
396
- "reason": "Core architecture for scalable multi-tenant platform",
397
- "priority": "high",
398
- "required": true,
399
- "estimatedMinutes": 10
400
- },
401
- {
402
- "id": "blog-cms",
403
- "name": "Blog CMS",
404
- "category": "content",
405
- "reason": "Detected blog content on your website",
406
- "priority": "high",
407
- "required": false,
408
- "estimatedMinutes": 15
409
- },
410
- {
411
- "id": "product-store",
412
- "name": "Product Store",
413
- "category": "monetization",
414
- "reason": "Detected product sales on your website",
415
- "priority": "medium",
416
- "required": false,
417
- "estimatedMinutes": 20
418
- },
419
- {
420
- "id": "membership-tiers",
421
- "name": "Membership Tiers",
422
- "category": "monetization",
423
- "reason": "Detected subscription business model",
424
- "priority": "medium",
425
- "required": false,
426
- "estimatedMinutes": 15
427
- },
428
- {
429
- "id": "discord-integration",
430
- "name": "Discord Integration",
431
- "category": "community",
432
- "reason": "Detected Discord community",
433
- "priority": "medium",
434
- "required": false,
435
- "estimatedMinutes": 10
436
- },
437
- {
438
- "id": "real-time-sync",
439
- "name": "Real-Time Sync",
440
- "category": "platform",
441
- "reason": "Convex enables powerful real-time features",
442
- "priority": "medium",
443
- "required": false,
444
- "estimatedMinutes": 15
445
- },
446
- {
447
- "id": "ai-agents",
448
- "name": "AI Agents",
449
- "category": "ai",
450
- "reason": "AI agents can automate business operations",
451
- "priority": "low",
452
- "required": false,
453
- "estimatedMinutes": 20
454
- },
455
- {
456
- "id": "rag-knowledge",
457
- "name": "RAG Knowledge Base",
458
- "category": "ai",
459
- "reason": "Semantic search improves content discoverability",
460
- "priority": "low",
461
- "required": false,
462
- "estimatedMinutes": 15
463
- }
464
- ],
465
- "files": {
466
- "created": [
467
- "/one-platform/knowledge/ontology.md",
468
- "/one-platform/knowledge/brand-guide.md",
469
- "/one-platform/groups/one-platform/README.md"
470
- ]
471
- }
472
- }
473
- ```
474
-
475
- ## CLI Output Experience
476
-
477
- ```bash
478
- $ npx oneie init
479
-
480
- ██████╗ ███╗ ██╗███████╗
481
- ██╔═══██╗████╗ ██║██╔════╝
482
- ██║ ██║██╔██╗ ██║█████╗
483
- ██║ ██║██║╚██╗██║██╔══╝
484
- ╚██████╔╝██║ ╚████║███████╗
485
- ╚═════╝ ╚═╝ ╚═══╝╚══════╝
486
-
487
- Make Your Ideas Real
488
-
489
- https://one.ie • npx oneie
490
-
491
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
492
-
493
- Welcome to ONE Platform! Let's build something amazing.
494
-
495
- ? Your name: Tom O'Connor
496
- ? Organization name: ONE Platform
497
- ? Website URL: https://one.ie
498
- ? Email: tom@one.ie
499
-
500
- ✓ Analyzing website... (30s)
501
- ├─ Fetching https://one.ie
502
- ├─ Extracting brand colors
503
- ├─ Detecting features
504
- └─ Analyzing tech stack
505
-
506
- ✓ Generating custom ontology... (5s)
507
- ✓ Creating brand guide... (2s)
508
- ✓ Recommending features... (1s)
509
-
510
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
511
- ✨ ANALYSIS COMPLETE
512
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
513
-
514
- 🎨 Brand Identity:
515
- Primary: #FF6B6B
516
- Secondary: #4ECDC4
517
- Fonts: Inter
518
-
519
- 📊 Detected:
520
- Content: blog, products
521
- Business: subscriptions, one-time-sales
522
- Community: discord
523
- Tech: Astro + Convex + Cloudflare
524
-
525
- 📁 Created:
526
- /one-platform/knowledge/ontology.md
527
- /one-platform/knowledge/brand-guide.md
528
-
529
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
530
- ✨ RECOMMENDED FEATURES
531
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
532
-
533
- FOUNDATION (Always recommended)
534
- [x] Landing page (Infer 1-10, ~5 min)
535
- [x] Authentication (Infer 11-20, ~10 min)
536
- [x] Multi-tenant groups (Infer 21-30, ~10 min)
537
-
538
- DETECTED FROM YOUR SITE
539
- [ ] Blog CMS (Infer 31-40, ~15 min)
540
- [ ] Product Store (Infer 71-80, ~20 min)
541
- [ ] Membership Tiers (Infer 61-70, ~15 min)
542
- [ ] Discord integration (Infer 81-90, ~10 min)
543
- [ ] Real-time sync (Infer 11-20, ~15 min)
544
-
545
- AI & AUTOMATION
546
- [ ] AI agents (Infer 61-70, ~20 min)
547
- [ ] RAG knowledge base (Infer 71-80, ~15 min)
548
-
549
- ? Select features to build: › (Space to toggle, Enter to continue)
550
-
551
- Total estimated time: 145 minutes
552
-
553
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
554
-
555
- Next: Hand off to Claude Code for building!
556
- ```
557
-
558
- ---
559
-
560
- ## Key Capabilities Demonstrated
561
-
562
- 1. **Website Analysis**
563
- - Fetches and analyzes existing website
564
- - Extracts brand identity (colors, fonts, logo)
565
- - Detects content types and features
566
- - Identifies business model
567
- - Analyzes tech stack
568
-
569
- 2. **Ontology Generation**
570
- - Maps detected features to 6 dimensions
571
- - Generates custom thing types
572
- - Creates connection patterns
573
- - Defines event types
574
- - Produces markdown documentation
575
-
576
- 3. **Brand Guide Creation**
577
- - Documents colors, fonts, logos
578
- - Provides usage guidelines
579
- - Includes CSS/Tailwind examples
580
- - Generates markdown file
581
-
582
- 4. **Feature Recommendation**
583
- - Always recommends foundation (landing, auth, multi-tenant)
584
- - Recommends based on detected content types
585
- - Recommends based on monetization model
586
- - Recommends based on community features
587
- - Recommends based on tech stack
588
- - Calculates total estimated time
589
-
590
- 5. **.onboarding.json Update**
591
- - Sets status to "features_presented"
592
- - Stores complete analysis data
593
- - Includes brand information
594
- - Lists ontology summary
595
- - Provides feature recommendations
596
- - Tracks created files
597
-
598
- ---
599
-
600
- **This agent makes onboarding intelligent, personalized, and fast!** 🚀
@@ -1,266 +0,0 @@
1
- # /one Command Onboarding Enhancement
2
-
3
- **Date:** 2025-10-20
4
- **File Modified:** `.claude/commands/one.md`
5
- **Lines Added:** ~350 lines (original 214 → updated 564)
6
-
7
- ---
8
-
9
- ## Summary of Changes
10
-
11
- Enhanced the `/one` command to support seamless onboarding flow for users coming from `npx oneie init`.
12
-
13
- ### Key Features Added
14
-
15
- 1. **Onboarding Detection** - Checks for `.onboarding.json` on every `/one` invocation
16
- 2. **State-Based Flow** - Handles 4 states: pending_analysis, building, completed, normal
17
- 3. **Agent Coordination** - Invokes agent-onboard and agent-director via Task tool
18
- 4. **Progress Tracking** - Shows real-time progress during builds
19
- 5. **Resumption Support** - Can resume interrupted onboarding flows
20
- 6. **Backward Compatibility** - Normal /one behavior if no onboarding detected
21
-
22
- ---
23
-
24
- ## Changes in Detail
25
-
26
- ### 1. Updated Initialization Checks (Lines 48-99)
27
-
28
- **Added Step 1: Onboarding Check**
29
-
30
- ```bash
31
- find . -maxdepth 2 -name ".onboarding.json" -type f 2>/dev/null | head -1
32
- ```
33
-
34
- - Searches for `.onboarding.json` in installation folders
35
- - Reads file and checks `status` field
36
- - Routes to appropriate flow based on status:
37
- - `"pending_analysis"` → Start onboarding flow
38
- - `"building"` → Show progress summary
39
- - `"completed"` → Show completion summary + normal menu
40
- - Other/missing → Normal /one behavior
41
-
42
- ### 2. Added Onboarding Flow Section (Lines 217-564)
43
-
44
- **8 Steps for Complete Onboarding:**
45
-
46
- #### Step 1: Display Welcome with Context
47
- - Shows organization name, website URL, and status
48
- - Friendly welcome message with user's name
49
-
50
- #### Step 2: Invoke agent-onboard
51
- - Uses Task tool (not direct function calls)
52
- - Delegates website analysis to agent-onboard
53
- - Passes website URL and organization slug
54
-
55
- #### Step 3: Wait for Analysis
56
- - Shows "Analyzing..." message
57
- - Blocks until agent-onboard completes
58
-
59
- #### Step 4: Present Recommended Features
60
- - Reads updated `.onboarding.json`
61
- - Displays extracted brand identity
62
- - Shows custom ontology dimensions
63
- - Lists recommended features in 3 categories:
64
- - Foundation (always recommended)
65
- - Detected from site
66
- - AI & Automation (optional)
67
-
68
- #### Step 5: Accept User Feature Selection
69
- - Parses user input (comma-separated, "all foundation", "all")
70
- - Extracts selected feature IDs
71
-
72
- #### Step 6: Invoke agent-director
73
- - Uses Task tool to delegate planning
74
- - Passes selected features and custom ontology path
75
- - agent-director creates 100-inference plan
76
-
77
- #### Step 7: Show Plan Summary
78
- - Displays total inferences and estimated duration
79
- - Lists phases with specialist assignments
80
- - Announces build start
81
-
82
- #### Step 8: Update Status and Let Specialists Work
83
- - Updates `.onboarding.json` status to "building"
84
- - Trusts agent-director to coordinate specialists:
85
- - agent-backend (backend features)
86
- - agent-frontend (UI/UX)
87
- - agent-integrator (external systems)
88
- - agent-quality (validation)
89
- - agent-designer (wireframes)
90
- - agent-documenter (documentation)
91
-
92
- ### 3. Added Progress Check (Lines 417-441)
93
-
94
- When user runs `/one` during build:
95
- - Shows current progress (X/Y inferences, Z% complete)
96
- - Lists phase status with icons (✅ completed, 🔨 in progress, ⏳ pending)
97
- - Displays completion timestamps and URLs
98
- - Reminds user building continues in background
99
-
100
- ### 4. Added Completion Summary (Lines 443-483)
101
-
102
- When user runs `/one` after completion:
103
- - Congratulates user
104
- - Lists completed features with URLs
105
- - Shows documentation locations
106
- - Suggests next steps (/build, /design, /deploy, /see)
107
- - Then continues to normal /one menu
108
-
109
- ### 5. Added Critical Rules (Lines 487-497)
110
-
111
- **8 Critical Rules for Onboarding:**
112
-
113
- 1. ALWAYS check for `.onboarding.json` FIRST
114
- 2. NEVER skip agent-onboard (website analysis is critical)
115
- 3. ALWAYS use Task tool to invoke agents
116
- 4. WAIT for agents to complete before proceeding
117
- 5. UPDATE `.onboarding.json` after each major step
118
- 6. SHOW PROGRESS to user (transparency)
119
- 7. ENABLE RESUMPTION (can restart if interrupted)
120
- 8. BACKWARD COMPATIBLE (normal /one if no onboarding)
121
-
122
- ### 6. Added File Update Patterns (Lines 500-563)
123
-
124
- Documents how to update `.onboarding.json` at each stage:
125
-
126
- - **After agent-onboard:** Add brand, ontology, recommended features
127
- - **After user selection:** Add selected feature IDs
128
- - **After agent-director planning:** Add plan with phases and inferences
129
- - **After completion:** Mark plan as completed with timestamp
130
-
131
- ---
132
-
133
- ## Integration Points
134
-
135
- ### Works With
136
-
137
- 1. **CLI (`npx oneie init`)** - Creates `.onboarding.json` with user info
138
- 2. **agent-onboard** - Analyzes website, extracts brand, generates ontology
139
- 3. **agent-director** - Creates 100-inference plan, coordinates specialists
140
- 4. **Specialist agents** - Implement features (backend, frontend, integrator, etc.)
141
- 5. **Installation folders** - Custom ontology and documentation stored here
142
-
143
- ### File Dependencies
144
-
145
- - **Input:** `.onboarding.json` (created by CLI)
146
- - **Reads:** Installation folder structure, custom ontology
147
- - **Updates:** `.onboarding.json` (status transitions)
148
- - **Creates:** Progress tracking, feature documentation
149
-
150
- ---
151
-
152
- ## State Transitions
153
-
154
- ```
155
- pending_analysis
156
- ↓ (after agent-onboard completes)
157
- features_presented
158
- ↓ (after user selects features)
159
- plan_generated
160
- ↓ (after agent-director creates plan)
161
- building
162
- ↓ (after all phases complete)
163
- completed
164
- ```
165
-
166
- ---
167
-
168
- ## User Experience Flow
169
-
170
- ```
171
- $ npx oneie init
172
- → Collects name, org, website, email
173
- → Creates /[org-slug]/ folder
174
- → Generates .onboarding.json
175
- → Launches Claude Code
176
-
177
- $ /one (in Claude)
178
- → Detects .onboarding.json (status: pending_analysis)
179
- → Displays welcome with context
180
- → Invokes agent-onboard
181
- → Shows brand extraction results
182
- → Presents recommended features
183
- → User selects features
184
- → Invokes agent-director
185
- → Shows plan summary
186
- → Starts build
187
-
188
- $ /one (check progress)
189
- → Detects .onboarding.json (status: building)
190
- → Shows current progress (X/Y inferences)
191
- → Lists phase status
192
- → Building continues
193
-
194
- $ /one (after completion)
195
- → Detects .onboarding.json (status: completed)
196
- → Shows completion summary
197
- → Lists live URLs
198
- → Continues to normal /one menu
199
- ```
200
-
201
- ---
202
-
203
- ## Backward Compatibility
204
-
205
- **No Breaking Changes:**
206
-
207
- - If `.onboarding.json` doesn't exist → Normal /one behavior
208
- - All existing functionality preserved
209
- - New onboarding is opt-in (requires CLI to create file)
210
- - Normal menu still accessible after onboarding completes
211
-
212
- ---
213
-
214
- ## Testing Checklist
215
-
216
- To test this enhancement:
217
-
218
- - [ ] Create mock `.onboarding.json` with status "pending_analysis"
219
- - [ ] Run `/one` and verify onboarding flow triggers
220
- - [ ] Verify agent-onboard is invoked via Task tool
221
- - [ ] Check `.onboarding.json` updates after analysis
222
- - [ ] Verify feature selection works (comma-separated input)
223
- - [ ] Verify agent-director is invoked with correct params
224
- - [ ] Test progress check (status: "building")
225
- - [ ] Test completion summary (status: "completed")
226
- - [ ] Test normal /one behavior (no .onboarding.json)
227
- - [ ] Test resumption (interrupt and restart)
228
-
229
- ---
230
-
231
- ## Key Benefits
232
-
233
- 1. **Seamless Handoff** - CLI → Claude coordination is smooth
234
- 2. **Personalized** - Website analysis creates custom ontology
235
- 3. **Transparent** - User sees progress at every step
236
- 4. **Resumable** - Can check status and resume anytime
237
- 5. **Automated** - Minimal user input, maximum automation
238
- 6. **Backward Compatible** - Doesn't break existing /one usage
239
-
240
- ---
241
-
242
- ## Related Files
243
-
244
- - **CLI Source:** `cli/src/commands/init.ts` (creates .onboarding.json)
245
- - **Agent Specs:**
246
- - `.claude/agents/agent-onboard.md` (website analysis)
247
- - `.claude/agents/agent-director.md` (plan generation)
248
- - **Documentation:**
249
- - `one/knowledge/cli-claude-handoff.md` (handoff specification)
250
- - `one/knowledge/installation-folders.md` (folder structure)
251
-
252
- ---
253
-
254
- ## Next Steps
255
-
256
- 1. **Implement CLI side** - `npx oneie init` command
257
- 2. **Test onboarding flow** - End-to-end with real website
258
- 3. **Enhance agent-onboard** - Website analysis logic
259
- 4. **Add feature library** - Predefined features for recommendations
260
- 5. **Create analytics** - Track onboarding success rates
261
-
262
- ---
263
-
264
- **Status:** ✅ Implementation Complete
265
-
266
- The `/one` command now supports full onboarding flow while maintaining 100% backward compatibility!