oneie 3.6.39 → 3.6.40
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/commands/deploy.md +187 -17
- package/.claude/commands/media-upload.md +186 -0
- package/.claude/hooks/.last-news-context +1 -1
- package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
- package/one/README.md +1 -2
- package/one/knowledge/one-protocol-ai-agents.md +892 -0
- package/one/knowledge/one-protocol-executive-report.md +617 -0
- package/one/knowledge/one-protocol-standard.md +869 -0
- package/one/knowledge/one-protocol-whitepaper.md +756 -0
- package/one/knowledge/ontology-education-game.md +1654 -0
- package/one/knowledge/ontology-v2.md +4449 -0
- package/one/knowledge/ontology.md +1 -1
- package/one/things/contracts/Move.toml +12 -0
- package/one/things/contracts/README.md +288 -0
- package/one/things/contracts/one.move +762 -0
- package/one/things/contracts/sdk.ts +578 -0
- package/one/things/crypto/FEATURES.md +78 -0
- package/one/things/crypto/ONECORE.md +62 -0
- package/one/things/crypto/ONECOREFAQ.md +22 -0
- package/one/things/crypto/ONECOREHOW.md +46 -0
- package/one/things/crypto/ONEENTERPRISE.md +64 -0
- package/one/things/crypto/ONEENTERPRISEFAQ.md +64 -0
- package/one/things/crypto/ONEENTERPRISEHOW.md +53 -0
- package/one/things/crypto/ONEPRO.md +60 -0
- package/one/things/crypto/ONEPROFAQ.md +22 -0
- package/one/things/crypto/ONEPROHOW.md +53 -0
- package/one/things/crypto/READMEAGENCY.md +64 -0
- package/one/things/crypto/VSL.md +45 -0
- package/one/things/crypto/WebsiteCopy.md +176 -0
- package/one/things/design-system.md +832 -0
- package/one/things/pay.one.ie.md +53 -0
- package/one/things/plans/one-protocol-and-payone-usage.md +82 -0
- package/one/things/plans/plan-connect-to-api.md +146 -0
- package/one/things/plans-u.md +905 -0
- package/one/things/products/Blockchain Products.md +6278 -0
- package/one/things/scripts-clean-mac.sh +409 -0
- package/one/things/todo-release.md +654 -0
- package/one/things/todo.md +9 -642
- package/one/things/video-script-backup.md +318 -0
- package/one/things/video-script-demo.md +382 -0
- package/one/things/video-script-ontology.md +0 -1
- package/one/things/video-script.md +361 -0
- package/package.json +6 -5
- package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-311.pyc +0 -0
- package/llms.txt +0 -257
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Video Script - ONE Platform Demo
|
|
3
|
+
dimension: things
|
|
4
|
+
category: video-script-ontology.md
|
|
5
|
+
tags: 6-dimensions, plain-english-dsl, product-demo, ontology, frank-kern
|
|
6
|
+
related_dimensions: connections, events, groups, knowledge, people
|
|
7
|
+
scope: global
|
|
8
|
+
created: 2025-11-03
|
|
9
|
+
updated: 2025-11-18
|
|
10
|
+
version: 3.0.0
|
|
11
|
+
ai_context: |-
|
|
12
|
+
This document is part of the things dimension in the video-script-ontology category.
|
|
13
|
+
Location: one/things/video-script.md
|
|
14
|
+
Purpose: Demo script using Frank Kern's simple framework - show transformation, address objections, clear CTA
|
|
15
|
+
Related dimensions: connections, events, groups, knowledge, people
|
|
16
|
+
For AI agents: Read this to understand the ONE Platform demo flow following Frank Kern's principles.
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
Build a
|
|
20
|
+
|
|
21
|
+
Sell in ChatGPT
|
|
22
|
+
|
|
23
|
+
# Video Script: ONE Platform Demo
|
|
24
|
+
## Frank Kern Framework Applied
|
|
25
|
+
|
|
26
|
+
### Preparation Notes
|
|
27
|
+
- **Desired Outcome:** Get viewers to visit one.ie and start building
|
|
28
|
+
- **Benefits:** Free forever, fast deployment, no coding required, enterprise-ready, infinite scale
|
|
29
|
+
- **Objections:** "Too good to be true", "Probably limited features", "Will it scale?", "Is it actually free?", "Why free?"
|
|
30
|
+
|
|
31
|
+
### Frank Kern's Core Framework
|
|
32
|
+
1. **"Here's what I got"** - The product/solution (demo the transformation)
|
|
33
|
+
2. **"Here's what it'll do for you"** - Benefits and objection handling
|
|
34
|
+
3. **"Here's what I want you to do next"** - Clear call to action
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Opening Hook (15 seconds)
|
|
39
|
+
### "Here's What I Got"
|
|
40
|
+
|
|
41
|
+
"I'm going to show you how to build and deploy a production-ready e-commerce site in the next 3 minutes.
|
|
42
|
+
|
|
43
|
+
No coding. No configuration hell. No credit card.
|
|
44
|
+
|
|
45
|
+
Just plain English, and it's live on Cloudflare's global edge network.
|
|
46
|
+
|
|
47
|
+
Watch this."
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Part 1: DEMO - Show Don't Tell (90 seconds)
|
|
52
|
+
### "Here's What I Got" (Continued)
|
|
53
|
+
|
|
54
|
+
**[SCREEN RECORDING STARTS]**
|
|
55
|
+
|
|
56
|
+
"I'm going to type in plain English what I want:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
Create a page selling the top 10 coolest products
|
|
60
|
+
I'll buy when I'm a billionaire.
|
|
61
|
+
|
|
62
|
+
Search the web for:
|
|
63
|
+
- Product names and descriptions
|
|
64
|
+
- Product images
|
|
65
|
+
- Company logos and icons
|
|
66
|
+
- Pricing
|
|
67
|
+
|
|
68
|
+
Build a product gallery page with:
|
|
69
|
+
- Hero section
|
|
70
|
+
- Product grid with images
|
|
71
|
+
- Stripe checkout
|
|
72
|
+
- Mobile responsive
|
|
73
|
+
- Deploy to Cloudflare
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**[Show AI processing in real-time]**
|
|
77
|
+
|
|
78
|
+
The system just:
|
|
79
|
+
- Searched the web for billionaire products
|
|
80
|
+
- Found images, logos, pricing
|
|
81
|
+
- Generated a production-ready page
|
|
82
|
+
- Set up Stripe payments
|
|
83
|
+
- Deployed to 360 global locations
|
|
84
|
+
|
|
85
|
+
Time elapsed: 2 minutes.
|
|
86
|
+
|
|
87
|
+
**[Show live site on desktop and phone]**
|
|
88
|
+
|
|
89
|
+
This is live. This is production. This loads in under 1 second anywhere in the world.
|
|
90
|
+
|
|
91
|
+
100% Lighthouse score. Zero configuration."
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Part 2: What It'll Do For You (60 seconds)
|
|
96
|
+
### "Here's What It'll Do For You"
|
|
97
|
+
|
|
98
|
+
**Address objections while showing benefits:**
|
|
99
|
+
|
|
100
|
+
"Now you're probably thinking: 'This can't be free. There's gotta be a catch.'
|
|
101
|
+
|
|
102
|
+
There's no catch.
|
|
103
|
+
|
|
104
|
+
**What you get:**
|
|
105
|
+
- 100% free forever (not a trial - FOREVER)
|
|
106
|
+
- Free Cloudflare hosting (360 global edge locations)
|
|
107
|
+
- Free SSL certificates
|
|
108
|
+
- Unlimited pages
|
|
109
|
+
- Unlimited products
|
|
110
|
+
- Sub-second page loads globally
|
|
111
|
+
- 100% Google Lighthouse scores
|
|
112
|
+
- Production-ready code (Astro 5, React 19, Tailwind v4)
|
|
113
|
+
|
|
114
|
+
**'But will it scale?'**
|
|
115
|
+
|
|
116
|
+
It's built on the same infrastructure that handles millions of requests:
|
|
117
|
+
- Cloudflare's edge network (the same one protecting Fortune 500 companies)
|
|
118
|
+
- Real-time database with Convex
|
|
119
|
+
- The 6-dimension ontology that scales from 2 users to 8 billion without refactoring
|
|
120
|
+
|
|
121
|
+
**'What can I actually build?'**
|
|
122
|
+
|
|
123
|
+
Anything:
|
|
124
|
+
- E-commerce stores (with Stripe, we just showed you)
|
|
125
|
+
- Course platforms with enrollments
|
|
126
|
+
- SaaS landing pages with pricing tiers
|
|
127
|
+
- Community platforms
|
|
128
|
+
- AI agent apps
|
|
129
|
+
- Blogs, portfolios, documentation sites
|
|
130
|
+
|
|
131
|
+
All with the same simple approach: describe what you want, paste it in chat, deploy.
|
|
132
|
+
|
|
133
|
+
**'Is this actually production-ready?'**
|
|
134
|
+
|
|
135
|
+
The page we just built? That's production code. You could start selling products right now. Just add your real Stripe keys."
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Part 3: What I Want You To Do Next (30 seconds)
|
|
140
|
+
### "Here's What I Want You To Do Next"
|
|
141
|
+
|
|
142
|
+
"Here's what I want you to do:
|
|
143
|
+
|
|
144
|
+
**Step 1:** Go to **one.ie** right now
|
|
145
|
+
|
|
146
|
+
**Step 2:** Type what you want to build in plain English (just like I showed you)
|
|
147
|
+
|
|
148
|
+
**Step 3:** Watch it build and deploy
|
|
149
|
+
|
|
150
|
+
That's it.
|
|
151
|
+
|
|
152
|
+
No credit card. No trial period. No 'upgrade to unlock features.'
|
|
153
|
+
|
|
154
|
+
**100% free forever.**
|
|
155
|
+
|
|
156
|
+
If you want to sell something? Add your Stripe keys and you're live.
|
|
157
|
+
|
|
158
|
+
If you want AI chat? Tell it to add chat.
|
|
159
|
+
|
|
160
|
+
If you need it to scale? It already does.
|
|
161
|
+
|
|
162
|
+
**The only thing standing between you and a live production app is 3 minutes and one.ie**
|
|
163
|
+
|
|
164
|
+
So go build something."
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Part 4: Social Proof & Final Objection Handling (Optional - 20 seconds)
|
|
169
|
+
|
|
170
|
+
"'Why are you giving this away for free?'
|
|
171
|
+
|
|
172
|
+
Because the real magic isn't in the code - it's in the 6-dimension ontology underneath.
|
|
173
|
+
|
|
174
|
+
Once you start building on ONE, you'll realize you can build ANYTHING without changing your schema.
|
|
175
|
+
|
|
176
|
+
Need to add team features? Same schema.
|
|
177
|
+
Want to add courses? Same schema.
|
|
178
|
+
Scale to millions of users? Same schema.
|
|
179
|
+
|
|
180
|
+
We're not giving away the platform to be nice. We're giving it away because once you see how fast you can build with this, you're never going back to the old way.
|
|
181
|
+
|
|
182
|
+
**one.ie** - go build."
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Video Structure Summary (Frank Kern Framework)
|
|
187
|
+
|
|
188
|
+
**Total Length:** 3-4 minutes
|
|
189
|
+
|
|
190
|
+
1. **Hook (15 sec):** "Here's what I got" - Promise to show production deployment in 3 minutes
|
|
191
|
+
2. **Demo (90 sec):** "Here's what I got" - SHOW the entire process, no talking about features
|
|
192
|
+
3. **Benefits (60 sec):** "Here's what it'll do for you" - Address all objections while listing benefits
|
|
193
|
+
4. **CTA (30 sec):** "Here's what I want you to do next" - Three simple steps, repeat one.ie
|
|
194
|
+
5. **Optional Close (20 sec):** Handle the "why free?" objection and reinforce CTA
|
|
195
|
+
|
|
196
|
+
**Tone:** Direct, confident, conversational (like Frank - no hype, just facts and demo)
|
|
197
|
+
|
|
198
|
+
**Frank Kern Principles Applied:**
|
|
199
|
+
- SHOW the transformation, don't TELL about features
|
|
200
|
+
- Address objections proactively while listing benefits
|
|
201
|
+
- Make the CTA crystal clear and actionable
|
|
202
|
+
- Let the demo do the heavy lifting
|
|
203
|
+
- No technical jargon during the demo
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Key Soundbites (for social/clips)
|
|
208
|
+
|
|
209
|
+
### Frank Kern Style (Benefits-Focused)
|
|
210
|
+
- "The only thing between you and a live production app is 3 minutes and one.ie"
|
|
211
|
+
- "100% free forever. Not a trial. FOREVER."
|
|
212
|
+
- "This is live. This is production. This loaded in under 1 second anywhere in the world."
|
|
213
|
+
- "The page we just built? That's production code. You could start selling right now."
|
|
214
|
+
- "No credit card. No trial period. No 'upgrade to unlock features.'"
|
|
215
|
+
- "Once you see how fast you can build with this, you're never going back."
|
|
216
|
+
- "We're not giving it away to be nice. We're giving it away because you'll never leave."
|
|
217
|
+
|
|
218
|
+
### Technical Credibility
|
|
219
|
+
- "Cloudflare's edge network - 360 global locations"
|
|
220
|
+
- "100% Google Lighthouse score. Zero configuration."
|
|
221
|
+
- "Same infrastructure protecting Fortune 500 companies"
|
|
222
|
+
- "Scale from 2 users to 8 billion without refactoring"
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Demo Flow (for screen recording - Frank Kern Style)
|
|
227
|
+
|
|
228
|
+
### The ONE Demo (2-3 minutes total, ONE TAKE)
|
|
229
|
+
|
|
230
|
+
**CRITICAL: Record this in ONE UNINTERRUPTED TAKE showing the ENTIRE process**
|
|
231
|
+
|
|
232
|
+
1. **Open chat interface** (5 seconds)
|
|
233
|
+
- Show blank screen/chat
|
|
234
|
+
- "Watch this"
|
|
235
|
+
|
|
236
|
+
2. **Type the prompt** (10 seconds)
|
|
237
|
+
```
|
|
238
|
+
Create a page selling the top 10 coolest products
|
|
239
|
+
I'll buy when I'm a billionaire.
|
|
240
|
+
|
|
241
|
+
Search the web for products, images, logos, pricing.
|
|
242
|
+
Build product gallery with Stripe checkout.
|
|
243
|
+
Mobile responsive. Deploy to Cloudflare.
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
3. **Show AI processing** (30 seconds)
|
|
247
|
+
- Real-time: searching web
|
|
248
|
+
- Real-time: finding images
|
|
249
|
+
- Real-time: generating page
|
|
250
|
+
- Real-time: setting up Stripe
|
|
251
|
+
- Real-time: deploying
|
|
252
|
+
|
|
253
|
+
4. **Show the result** (40 seconds)
|
|
254
|
+
- Open live URL immediately
|
|
255
|
+
- Desktop view (smooth scroll through page)
|
|
256
|
+
- Pull out phone, show mobile view
|
|
257
|
+
- Click product, show Stripe checkout modal
|
|
258
|
+
- Show Lighthouse score: 100/100
|
|
259
|
+
- Show load time: <1 second
|
|
260
|
+
- Show deployed URL
|
|
261
|
+
|
|
262
|
+
5. **The kicker** (15 seconds)
|
|
263
|
+
- Split screen: your chat prompt vs. the live site
|
|
264
|
+
- "2 minutes from plain English to live production site"
|
|
265
|
+
- "100% free forever"
|
|
266
|
+
- Show one.ie prominently
|
|
267
|
+
|
|
268
|
+
**What NOT to do (Frank Kern principles):**
|
|
269
|
+
- Don't explain features during the demo - let it speak for itself
|
|
270
|
+
- Don't stop to talk about the technology - show don't tell
|
|
271
|
+
- Don't show code unless it's auto-generated (and then briefly)
|
|
272
|
+
- Don't use technical jargon during the demo
|
|
273
|
+
- Don't apologize or hedge ("this usually works...")
|
|
274
|
+
- Don't have multiple cuts - ONE continuous demo = more credible
|
|
275
|
+
|
|
276
|
+
**What TO do:**
|
|
277
|
+
- Let silence work for you during processing/loading
|
|
278
|
+
- Show real metrics (Lighthouse, load time, live URL)
|
|
279
|
+
- Pull out phone for mobile demo (physical proof)
|
|
280
|
+
- Keep energy consistent but not hyped
|
|
281
|
+
- Pause after the reveal to let it sink in
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## Alternative Formats
|
|
286
|
+
|
|
287
|
+
### 30-Second TikTok/Reel
|
|
288
|
+
1. Hook: "Watch me build and deploy a store in 30 seconds"
|
|
289
|
+
2. Type prompt (sped up 2x)
|
|
290
|
+
3. Show AI processing (sped up 3x)
|
|
291
|
+
4. Show result on phone
|
|
292
|
+
5. CTA: "one.ie - 100% free forever"
|
|
293
|
+
|
|
294
|
+
### 60-Second YouTube Short
|
|
295
|
+
1. Hook: "I'm going to build a production site in 60 seconds"
|
|
296
|
+
2. Show typing prompt (real-time)
|
|
297
|
+
3. Show AI processing (sped up 2x)
|
|
298
|
+
4. Show desktop + mobile result
|
|
299
|
+
5. Show Lighthouse score
|
|
300
|
+
6. CTA: "one.ie - go build"
|
|
301
|
+
|
|
302
|
+
### 5-Minute Extended Demo
|
|
303
|
+
1. Opening Hook (15 sec)
|
|
304
|
+
2. Full demo (2 min)
|
|
305
|
+
3. Extended benefits + objection handling (2 min)
|
|
306
|
+
4. Show adding Stripe keys (30 sec)
|
|
307
|
+
5. Show chat integration (30 sec)
|
|
308
|
+
6. Final CTA (15 sec)
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
## Visual Assets to Include
|
|
313
|
+
|
|
314
|
+
### Essential B-Roll
|
|
315
|
+
- Split screen: chat interface + live site side-by-side
|
|
316
|
+
- Close-up: typing in chat
|
|
317
|
+
- Phone mockup: mobile responsive view
|
|
318
|
+
- Lighthouse score: 100/100 graphic
|
|
319
|
+
- World map: Cloudflare edge locations
|
|
320
|
+
- Stripe checkout flow
|
|
321
|
+
- Timer/stopwatch: "2 minutes" graphic
|
|
322
|
+
|
|
323
|
+
### Text Overlays (Use Sparingly)
|
|
324
|
+
- "100% FREE FOREVER" (during benefits section)
|
|
325
|
+
- "360 GLOBAL LOCATIONS" (during scale section)
|
|
326
|
+
- "2 MINUTES" (after demo complete)
|
|
327
|
+
- "one.ie" (at every CTA)
|
|
328
|
+
|
|
329
|
+
### Diagrams (For Extended Version)
|
|
330
|
+
- 6-dimension ontology diagram (simple, visual)
|
|
331
|
+
- Before/After: Traditional dev vs. ONE Platform
|
|
332
|
+
- Scale comparison: 2 users → 8 billion users (same schema)
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## Implementation Notes
|
|
337
|
+
|
|
338
|
+
**Recording Setup:**
|
|
339
|
+
- Screen recording: 1920x1080 minimum
|
|
340
|
+
- Phone screen recording: Use QuickTime or AirPlay
|
|
341
|
+
- Audio: Clear voiceover (consider Frank Kern's casual but confident tone)
|
|
342
|
+
- Background music: Subtle, upbeat, don't overpower voice
|
|
343
|
+
- Editing: Minimal cuts during demo (ONE TAKE is best)
|
|
344
|
+
|
|
345
|
+
**Frank Kern Tone Guide:**
|
|
346
|
+
- Conversational (like explaining to a friend)
|
|
347
|
+
- Confident but not cocky
|
|
348
|
+
- No hyperbole ("amazing", "revolutionary", "game-changing")
|
|
349
|
+
- Facts and demo speak for themselves
|
|
350
|
+
- Address viewer skepticism directly
|
|
351
|
+
- Make CTA feel like helpful advice, not a pitch
|
|
352
|
+
|
|
353
|
+
**Testing Before Recording:**
|
|
354
|
+
- Ensure demo works flawlessly
|
|
355
|
+
- Practice timing (90 seconds for full demo)
|
|
356
|
+
- Test on slow connection (still fast?)
|
|
357
|
+
- Have backup examples ready
|
|
358
|
+
- Check all links work
|
|
359
|
+
|
|
360
|
+
**Key Message:**
|
|
361
|
+
"From plain English to production in minutes. 100% free forever. Start at one.ie"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneie",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Build apps, websites, and AI agents in English. Zero-interaction setup for AI agents (Claude Code, Cursor, Windsurf). Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.",
|
|
6
6
|
"bin": {
|
|
@@ -44,14 +44,15 @@
|
|
|
44
44
|
"node": ">=22.16.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"prompts": "^2.4.2",
|
|
48
47
|
"chalk": "^5.3.0",
|
|
49
|
-
"
|
|
50
|
-
"yaml": "^2.3.4",
|
|
48
|
+
"fs-extra": "^11.2.0",
|
|
51
49
|
"glob": "^10.3.10",
|
|
52
|
-
"
|
|
50
|
+
"ora": "^8.0.1",
|
|
51
|
+
"prompts": "^2.4.2",
|
|
52
|
+
"yaml": "^2.3.4"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
+
"@types/fs-extra": "^11.0.4",
|
|
55
56
|
"@types/node": "^20.11.0",
|
|
56
57
|
"@types/prompts": "^2.4.9",
|
|
57
58
|
"typescript": "^5.3.3"
|
|
Binary file
|
|
Binary file
|
package/llms.txt
DELETED
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
# ONE CLI - llms.txt
|
|
2
|
-
|
|
3
|
-
This file provides guidance for Large Language Models (LLMs) and AI coding assistants on how to use the ONE Platform CLI.
|
|
4
|
-
|
|
5
|
-
## For AI Agents: Use `npx oneie agent`
|
|
6
|
-
|
|
7
|
-
**IMPORTANT:** If you are an AI agent (Claude Code, Cursor, Windsurf, GitHub Copilot, or running in CI/CD), ALWAYS use the agent command:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npx oneie agent
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Why Agent Mode?
|
|
14
|
-
|
|
15
|
-
- **Zero interaction** - No prompts, no hanging, completes in 5-10 seconds
|
|
16
|
-
- **Smart detection** - Auto-discovers user/org from git, environment, files
|
|
17
|
-
- **Safe execution** - Never blocks on input, automatic rollback on errors
|
|
18
|
-
- **Universal** - Works with all AI coding tools and CI/CD environments
|
|
19
|
-
|
|
20
|
-
### Agent Detection
|
|
21
|
-
|
|
22
|
-
The CLI automatically detects agent environments by checking:
|
|
23
|
-
- `CLAUDE_CODE`, `CLAUDE_USER_NAME` - Claude Code
|
|
24
|
-
- `GITHUB_COPILOT` - GitHub Copilot
|
|
25
|
-
- `CURSOR_AI` - Cursor
|
|
26
|
-
- `CODEIUM_API_KEY` - Windsurf
|
|
27
|
-
- `CI`, `GITHUB_ACTIONS`, etc. - CI/CD
|
|
28
|
-
- `!process.stdin.isTTY` - Non-interactive terminal
|
|
29
|
-
|
|
30
|
-
If you run `npx oneie` (interactive command) in an agent environment, you'll see:
|
|
31
|
-
```
|
|
32
|
-
⚠️ Agent environment detected!
|
|
33
|
-
Did you mean to run: npx oneie agent
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Context Detection
|
|
37
|
-
|
|
38
|
-
The agent command auto-detects context with this priority:
|
|
39
|
-
|
|
40
|
-
**User Identity:**
|
|
41
|
-
1. CLI flags: `--name`, `--email`
|
|
42
|
-
2. Claude context: `--claude-user`, `--claude-email`, `CLAUDE_USER_NAME`
|
|
43
|
-
3. Git config: `git config user.name/user.email`
|
|
44
|
-
4. Environment: `GIT_AUTHOR_NAME`, `GIT_AUTHOR_EMAIL`
|
|
45
|
-
5. Defaults: `"Developer"`, `"dev@localhost"`
|
|
46
|
-
|
|
47
|
-
**Organization:**
|
|
48
|
-
1. CLI flags: `--org`
|
|
49
|
-
2. Claude context: `--claude-org`, `CLAUDE_ORG_NAME`
|
|
50
|
-
3. Git remote: Parse from github.com/org-name/repo
|
|
51
|
-
4. package.json: `author.name`, `organization`
|
|
52
|
-
5. README.md: First H1 heading
|
|
53
|
-
6. Directory: Parent directory name
|
|
54
|
-
7. Default: `"Default Organization"`
|
|
55
|
-
|
|
56
|
-
**Website:**
|
|
57
|
-
1. CLI flag: `--website`
|
|
58
|
-
2. package.json: `homepage`
|
|
59
|
-
3. README.md: First URL found
|
|
60
|
-
4. Git remote: Convert to GitHub URL
|
|
61
|
-
|
|
62
|
-
### Usage Examples
|
|
63
|
-
|
|
64
|
-
**Basic (fully automatic):**
|
|
65
|
-
```bash
|
|
66
|
-
npx oneie agent
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**With explicit Claude context:**
|
|
70
|
-
```bash
|
|
71
|
-
npx oneie agent \
|
|
72
|
-
--claude-user="Jane Smith" \
|
|
73
|
-
--claude-email="jane@startup.com" \
|
|
74
|
-
--claude-org="My Startup"
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
**Quiet mode (for scripts/CI):**
|
|
78
|
-
```bash
|
|
79
|
-
npx oneie agent --quiet
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
**Dry run (preview without changes):**
|
|
83
|
-
```bash
|
|
84
|
-
npx oneie agent --dry-run
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
**Verbose (show detected agent type):**
|
|
88
|
-
```bash
|
|
89
|
-
npx oneie agent --verbose
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### What Gets Created
|
|
93
|
-
|
|
94
|
-
When you run `npx oneie agent`, it:
|
|
95
|
-
1. Copies `/one` directory (ontology, docs, specs)
|
|
96
|
-
2. Copies `/.claude` directory (agents, commands, hooks)
|
|
97
|
-
3. Copies root documentation (CLAUDE.md, README.md, LICENSE.md, SECURITY.md, .mcp.json)
|
|
98
|
-
4. Creates installation folder: `/<org-slug>/`
|
|
99
|
-
5. Creates `.onboarding.json` handoff file
|
|
100
|
-
6. Updates `.env.local` with organization settings
|
|
101
|
-
7. Updates `.gitignore` to exclude installation folder
|
|
102
|
-
8. Optionally clones web template (if not present)
|
|
103
|
-
|
|
104
|
-
### Next Steps After Setup
|
|
105
|
-
|
|
106
|
-
After `npx oneie agent` completes:
|
|
107
|
-
1. Run Claude Code: `claude`
|
|
108
|
-
2. Use `/one` command to see control center
|
|
109
|
-
3. Start building with `/chat [idea]` or `/plan convert`
|
|
110
|
-
|
|
111
|
-
### Available Flags
|
|
112
|
-
|
|
113
|
-
**Context Flags:**
|
|
114
|
-
- `--name="Your Name"` - User name (explicit override)
|
|
115
|
-
- `--email="your@email.com"` - User email (explicit override)
|
|
116
|
-
- `--claude-user="Name"` - User name from Claude context
|
|
117
|
-
- `--claude-email="email"` - User email from Claude
|
|
118
|
-
- `--claude-org="Org"` - Organization from Claude
|
|
119
|
-
- `--org="Organization"` - Organization name (explicit override)
|
|
120
|
-
- `--website="https://example.com"` - Organization website
|
|
121
|
-
|
|
122
|
-
**Behavior Flags:**
|
|
123
|
-
- `--quiet` - Minimal output (for automation)
|
|
124
|
-
- `--verbose` - Detailed output with agent type
|
|
125
|
-
- `--dry-run` - Show plan without executing
|
|
126
|
-
- `--skip-web` - Don't clone web template
|
|
127
|
-
|
|
128
|
-
**Environment Variables:**
|
|
129
|
-
- `CLAUDE_USER_NAME` - User name from Claude Code
|
|
130
|
-
- `CLAUDE_USER_EMAIL` - User email from Claude Code
|
|
131
|
-
- `CLAUDE_ORG_NAME` - Organization from Claude Code
|
|
132
|
-
|
|
133
|
-
## For Humans: Use `npx oneie`
|
|
134
|
-
|
|
135
|
-
If you are a human user wanting guided interactive setup:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
npx oneie
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Or force interactive mode in agent environment:
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
npx oneie --interactive
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
## Common Workflows
|
|
148
|
-
|
|
149
|
-
### Workflow 1: AI Agent Sets Up Project
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
# User: "Set up ONE Platform for my project"
|
|
153
|
-
# Agent runs:
|
|
154
|
-
npx oneie agent
|
|
155
|
-
|
|
156
|
-
# Output:
|
|
157
|
-
# ✅ Your ONE Platform is ready!
|
|
158
|
-
# Next steps: /one
|
|
159
|
-
|
|
160
|
-
# Agent continues:
|
|
161
|
-
# "Your platform is ready! What would you like to build?"
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
### Workflow 2: CI/CD Integration
|
|
165
|
-
|
|
166
|
-
```yaml
|
|
167
|
-
# .github/workflows/setup.yml
|
|
168
|
-
name: Setup ONE Platform
|
|
169
|
-
on: [push]
|
|
170
|
-
jobs:
|
|
171
|
-
setup:
|
|
172
|
-
runs-on: ubuntu-latest
|
|
173
|
-
steps:
|
|
174
|
-
- uses: actions/checkout@v2
|
|
175
|
-
- run: npx oneie agent --quiet
|
|
176
|
-
- run: cd web && bun install && bun test
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### Workflow 3: Claude Code with Custom Context
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
# Claude Code automatically passes context:
|
|
183
|
-
npx oneie agent \
|
|
184
|
-
--claude-user="$USER_NAME" \
|
|
185
|
-
--claude-email="$USER_EMAIL" \
|
|
186
|
-
--claude-org="$ORG_NAME"
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
## Error Handling
|
|
190
|
-
|
|
191
|
-
### If Agent Detection Fails
|
|
192
|
-
|
|
193
|
-
The CLI will default to safe values:
|
|
194
|
-
- User: "Developer" <dev@localhost>
|
|
195
|
-
- Organization: "Default Organization"
|
|
196
|
-
|
|
197
|
-
You can always override with explicit flags.
|
|
198
|
-
|
|
199
|
-
### If Git Not Configured
|
|
200
|
-
|
|
201
|
-
The CLI will show a warning but continue with defaults. To fix:
|
|
202
|
-
```bash
|
|
203
|
-
git config --global user.name "Your Name"
|
|
204
|
-
git config --global user.email "your@email.com"
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
### If Installation Fails
|
|
208
|
-
|
|
209
|
-
The CLI automatically rolls back all changes. You can retry:
|
|
210
|
-
```bash
|
|
211
|
-
npx oneie agent --dry-run # Check what would happen
|
|
212
|
-
npx oneie agent --verbose # See detailed output
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
## Performance
|
|
216
|
-
|
|
217
|
-
- **Setup time:** 5-10 seconds (vs 2-3 minutes interactive)
|
|
218
|
-
- **Context detection:** < 1 second
|
|
219
|
-
- **File operations:** ~5 seconds
|
|
220
|
-
- **Total improvement:** 98% faster than interactive
|
|
221
|
-
|
|
222
|
-
## Agent Experience Philosophy
|
|
223
|
-
|
|
224
|
-
**"Agent Experience First"** - The CLI is designed so agents never get stuck on prompts they can't answer. If an agent accidentally runs the interactive command, it will:
|
|
225
|
-
1. Detect the agent environment
|
|
226
|
-
2. Show helpful error message
|
|
227
|
-
3. Suggest correct command: `npx oneie agent`
|
|
228
|
-
4. Exit cleanly without hanging
|
|
229
|
-
|
|
230
|
-
This ensures agents can automate project setup as part of natural conversation flow without manual intervention.
|
|
231
|
-
|
|
232
|
-
## Documentation
|
|
233
|
-
|
|
234
|
-
For complete documentation, see:
|
|
235
|
-
- README.md - Platform overview
|
|
236
|
-
- CLAUDE.md - Instructions for Claude Code
|
|
237
|
-
- /one/knowledge/ontology.md - 6-dimension ontology
|
|
238
|
-
- /web/src/content/docs/getting-started/quick-start.md - Quick start guide
|
|
239
|
-
- /web/src/content/docs/getting-started/claude-commands.md - Claude commands reference
|
|
240
|
-
|
|
241
|
-
## Support
|
|
242
|
-
|
|
243
|
-
If you encounter issues:
|
|
244
|
-
1. Run with `--verbose` to see detailed output
|
|
245
|
-
2. Run with `--dry-run` to preview changes
|
|
246
|
-
3. Check git configuration: `git config user.name && git config user.email`
|
|
247
|
-
4. Check GitHub issues: https://github.com/one-ie/cli/issues
|
|
248
|
-
|
|
249
|
-
## Version
|
|
250
|
-
|
|
251
|
-
Current version: 1.0.0
|
|
252
|
-
Agent command added: v1.1.0
|
|
253
|
-
|
|
254
|
-
## License
|
|
255
|
-
|
|
256
|
-
Copyright © 2025 ONE
|
|
257
|
-
ONE Free License - see LICENSE.md
|