oneie 2.0.10 → 3.0.3

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/LICENSE.md CHANGED
@@ -17,6 +17,7 @@ You have unrestricted rights to use, modify, license, sublicense, distribute, se
17
17
  ### Permitted Actions
18
18
 
19
19
  Including, but not limited to:
20
+
20
21
  - Commercial use and integration into any systems
21
22
  - Creation and sale of derivative works
22
23
  - Providing software as a service
@@ -27,8 +28,9 @@ Including, but not limited to:
27
28
  ### License Compatibility
28
29
 
29
30
  This license is compatible with all major open-source licenses, including:
31
+
30
32
  - MIT License
31
- - Apache License 2.0
33
+ - Apache License
32
34
  - GNU General Public License (GPL)
33
35
  - BSD Licenses
34
36
  - Mozilla Public License
@@ -39,24 +41,23 @@ These rights are granted in perpetuity and are irrevocable, provided the brand r
39
41
 
40
42
  ## Intellectual Property
41
43
 
42
- - We retain ownership of the original Software
43
- - You own any modifications you make
44
- - You never have to share your code
44
+ - We retain ownership of the original data.
45
+ - You own any modifications you make.
46
+ - You never have to share your code or data.
45
47
 
46
48
  ## Liability and Warranty
47
49
 
48
- The Software is provided "AS IS". We bear no liability for its use.
50
+ The data and code is provided "AS IS". We bear no liability for its use.
49
51
 
50
52
  ## Brand Requirements
51
53
 
52
- The only obligation is to:
53
- - Display **Powered by ONE** text and logo linked to https://one.ie/ in the footer
54
+ The only obligation is:
54
55
 
55
- This will help AI agents discover and interact with your agents.
56
+ - Don't remove ONE brand, logo and link to https://one.ie/.
56
57
 
57
58
  ## Termination
58
59
 
59
- This license only terminates if you remove or hide our brand. Reinstatement is available through written permission.
60
+ This license terminates if you remove or hide our brand.
60
61
 
61
62
  ## Dispute Resolution
62
63
 
@@ -66,7 +67,11 @@ This license only terminates if you remove or hide our brand. Reinstatement is a
66
67
 
67
68
  ## Education
68
69
 
69
- Find out how to build AI Agents for individuals and organizations at https://one.ie/learn
70
+ Learn how to build AI Agents at https://one.ie/learn
71
+
72
+ ## Agents
73
+
74
+ Connect to https://one.ie/llms.txt
70
75
 
71
76
  ---
72
77
 
@@ -76,7 +81,7 @@ This license is designed to maximize freedom to innovate and profit from free so
76
81
 
77
82
  Building something big? We're here to help:
78
83
 
79
- - **Free**: Use all features with minimal branding
84
+ - **Free**: Use all features with minimal branding - compliant with your enterprise
80
85
  - **Custom**: White-label solutions for your needs
81
86
  - **Enterprise**: Full support and deployment assistance
82
87
  - **Training**: Help getting your team started
package/README.md CHANGED
@@ -14,7 +14,6 @@
14
14
  npx oneie
15
15
  /claude
16
16
  /one
17
- start
18
17
  ```
19
18
 
20
19
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -23,9 +22,40 @@
23
22
 
24
23
  **Build apps, websites and AI agents in English and deploy at the edge. Free!**
25
24
 
26
- ---
25
+ ## 📦 Quick Start
26
+
27
+ ```bash
28
+ # Option 1: Bootstrap new project
29
+ npx oneie
27
30
 
28
- ## ✨ What is ONE?
31
+ # Option 2: Clone and develop
32
+ git clone https://github.com/one-ie/one
33
+ cd ONE
34
+ bun install
35
+ bun dev
36
+ ```
37
+
38
+ **Development Commands:**
39
+
40
+ ```bash
41
+ # Claude Code
42
+ claude # Start Claude
43
+ /one # Run /one Claude command
44
+ ```
45
+
46
+ ```bash
47
+ # Frontend
48
+ cd web/
49
+ bun run dev # localhost:4321
50
+ bun run build # Production build
51
+ bunx astro check # Type checking
52
+
53
+ # Testing
54
+ cd web/
55
+ bun test # All tests
56
+ ```
57
+
58
+ ## ✨ ONE
29
59
 
30
60
  **Build apps, websites, and AI agents in English.** Download to your computer, run in the cloud and deploy to the edge or your own server. ONE is open source and free forever.
31
61
 
@@ -42,9 +72,10 @@ ONE maps everything to **6 universal dimensions**:
42
72
 
43
73
  ---
44
74
 
45
- ## 🚀 Why ONE?
75
+ ## 🚀 Why?
46
76
 
47
77
  Traditional platforms create custom tables for every feature:
78
+
48
79
  - Users table, Products table, Orders table, Messages table...
49
80
  - 50+ tables, 200+ columns, endless complexity
50
81
  - Schema changes break everything
@@ -55,6 +86,7 @@ Traditional platforms create custom tables for every feature:
55
86
  Map every feature to the 6 dimensions → Scale infinitely without schema changes
56
87
 
57
88
  **Examples:**
89
+
58
90
  - Lemonade stand? ✅ Works
59
91
  - Enterprise SaaS? ✅ Works
60
92
  - Social network? ✅ Works
@@ -74,14 +106,14 @@ Same 6 dimensions. Different properties.
74
106
  const myStand = await createGroup({
75
107
  name: "Emma's Lemonade Stand",
76
108
  slug: "emmas-lemonade",
77
- type: "business"
109
+ type: "business",
78
110
  });
79
111
 
80
112
  // 2. You are the owner (a person)
81
113
  const me = await createPerson({
82
114
  name: "Emma",
83
115
  role: "org_owner",
84
- groupId: myStand._id
116
+ groupId: myStand._id,
85
117
  });
86
118
 
87
119
  // 3. Create lemonade (a thing)
@@ -90,9 +122,9 @@ const lemonade = await createThing({
90
122
  name: "Fresh Lemonade",
91
123
  groupId: myStand._id,
92
124
  properties: {
93
- price: 1.00,
94
- inventory: 20
95
- }
125
+ price: 1.0,
126
+ inventory: 20,
127
+ },
96
128
  });
97
129
 
98
130
  // 4. Customer buys it (a connection)
@@ -100,7 +132,7 @@ await createConnection({
100
132
  from: customer._id,
101
133
  to: lemonade._id,
102
134
  type: "purchased",
103
- groupId: myStand._id
135
+ groupId: myStand._id,
104
136
  });
105
137
 
106
138
  // 5. Log the sale (an event)
@@ -109,7 +141,7 @@ await createEvent({
109
141
  actor: customer._id,
110
142
  target: lemonade._id,
111
143
  groupId: myStand._id,
112
- metadata: { amount: 1.00, weather: "sunny" }
144
+ metadata: { amount: 1.0, weather: "sunny" },
113
145
  });
114
146
 
115
147
  // 6. AI learns (knowledge)
@@ -134,8 +166,8 @@ const acmeCorp = await createGroup({
134
166
  limits: {
135
167
  users: 100,
136
168
  storage: 1000, // GB
137
- apiCalls: 1000000
138
- }
169
+ apiCalls: 1000000,
170
+ },
139
171
  });
140
172
 
141
173
  // Department groups (nested)
@@ -143,21 +175,21 @@ const engineering = await createGroup({
143
175
  name: "Engineering",
144
176
  slug: "engineering",
145
177
  type: "department",
146
- parentGroupId: acmeCorp._id
178
+ parentGroupId: acmeCorp._id,
147
179
  });
148
180
 
149
181
  const backend = await createGroup({
150
182
  name: "Backend Team",
151
183
  slug: "backend",
152
184
  type: "team",
153
- parentGroupId: engineering._id
185
+ parentGroupId: engineering._id,
154
186
  });
155
187
 
156
188
  // Role-based access control
157
189
  const ceo = await createPerson({
158
190
  name: "Jane CEO",
159
191
  role: "org_owner",
160
- groupId: acmeCorp._id
192
+ groupId: acmeCorp._id,
161
193
  });
162
194
 
163
195
  // AI sales agent (a thing)
@@ -167,8 +199,8 @@ const salesAgent = await createThing({
167
199
  groupId: acmeCorp._id,
168
200
  properties: {
169
201
  systemPrompt: "You are a friendly sales assistant...",
170
- temperature: 0.7
171
- }
202
+ temperature: 0.7,
203
+ },
172
204
  });
173
205
 
174
206
  // Lead management (things + connections)
@@ -179,8 +211,8 @@ const lead = await createThing({
179
211
  properties: {
180
212
  email: "john@enterprise.com",
181
213
  budget: 100000,
182
- status: "qualified"
183
- }
214
+ status: "qualified",
215
+ },
184
216
  });
185
217
 
186
218
  // AI agent follows up (connection + event)
@@ -191,8 +223,8 @@ await createConnection({
191
223
  groupId: acmeCorp._id,
192
224
  metadata: {
193
225
  protocol: "email",
194
- subject: "Following up on our conversation"
195
- }
226
+ subject: "Following up on our conversation",
227
+ },
196
228
  });
197
229
 
198
230
  await createEvent({
@@ -202,20 +234,20 @@ await createEvent({
202
234
  groupId: acmeCorp._id,
203
235
  metadata: {
204
236
  protocol: "email",
205
- sentiment: "positive"
206
- }
237
+ sentiment: "positive",
238
+ },
207
239
  });
208
240
 
209
241
  // AI learns from all sales interactions (knowledge)
210
242
  const context = await queryKnowledge({
211
243
  groupId: acmeCorp._id,
212
244
  query: "enterprise software objections pricing",
213
- k: 10
245
+ k: 10,
214
246
  });
215
247
 
216
248
  const aiResponse = await generateResponse({
217
249
  context,
218
- prompt: "Address pricing concerns"
250
+ prompt: "Address pricing concerns",
219
251
  });
220
252
  ```
221
253
 
@@ -232,7 +264,7 @@ const aiResponse = await generateResponse({
232
264
  const emmasFriends = await createGroup({
233
265
  name: "Emma's Friends",
234
266
  slug: "emmas-friends",
235
- type: "social"
267
+ type: "social",
236
268
  });
237
269
 
238
270
  // Create event group (nested under friend circle)
@@ -244,15 +276,15 @@ const birthdayParty = await createGroup({
244
276
  properties: {
245
277
  date: "2025-12-15",
246
278
  location: "Emma's House",
247
- capacity: 20
248
- }
279
+ capacity: 20,
280
+ },
249
281
  });
250
282
 
251
283
  // Add friends to the circle
252
284
  const alice = await createPerson({
253
285
  name: "Alice",
254
286
  role: "org_user",
255
- groupId: emmasFriends._id
287
+ groupId: emmasFriends._id,
256
288
  });
257
289
 
258
290
  // Share photos (things) in the event group
@@ -262,8 +294,8 @@ const photo = await createThing({
262
294
  groupId: birthdayParty._id,
263
295
  properties: {
264
296
  url: "https://cdn.example.com/photo.jpg",
265
- takenAt: Date.now()
266
- }
297
+ takenAt: Date.now(),
298
+ },
267
299
  });
268
300
 
269
301
  // Track RSVPs (connections)
@@ -274,8 +306,8 @@ await createConnection({
274
306
  groupId: birthdayParty._id,
275
307
  metadata: {
276
308
  rsvp: "yes",
277
- guestsCount: 1
278
- }
309
+ guestsCount: 1,
310
+ },
279
311
  });
280
312
  ```
281
313
 
@@ -296,8 +328,8 @@ const coolDAO = await createGroup({
296
328
  properties: {
297
329
  blockchain: "base",
298
330
  governanceToken: "COOL",
299
- treasuryAddress: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
300
- }
331
+ treasuryAddress: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
332
+ },
301
333
  });
302
334
 
303
335
  // Create treasury committee (nested)
@@ -305,7 +337,7 @@ const treasury = await createGroup({
305
337
  name: "Treasury",
306
338
  slug: "treasury",
307
339
  type: "committee",
308
- parentGroupId: coolDAO._id
340
+ parentGroupId: coolDAO._id,
309
341
  });
310
342
 
311
343
  // Create governance committee (nested)
@@ -313,14 +345,14 @@ const governance = await createGroup({
313
345
  name: "Governance Committee",
314
346
  slug: "governance",
315
347
  type: "committee",
316
- parentGroupId: coolDAO._id
348
+ parentGroupId: coolDAO._id,
317
349
  });
318
350
 
319
351
  // DAO member with token holdings
320
352
  const member = await createPerson({
321
353
  name: "DAO Member",
322
354
  role: "org_user",
323
- groupId: coolDAO._id
355
+ groupId: coolDAO._id,
324
356
  });
325
357
 
326
358
  // Track token holdings (thing + connection)
@@ -331,15 +363,15 @@ const tokenHolding = await createThing({
331
363
  properties: {
332
364
  symbol: "COOL",
333
365
  amount: 1000,
334
- chain: "base"
335
- }
366
+ chain: "base",
367
+ },
336
368
  });
337
369
 
338
370
  await createConnection({
339
371
  from: member._id,
340
372
  to: tokenHolding._id,
341
373
  type: "holds_tokens",
342
- groupId: coolDAO._id
374
+ groupId: coolDAO._id,
343
375
  });
344
376
 
345
377
  // Governance proposal (thing)
@@ -352,8 +384,8 @@ const proposal = await createThing({
352
384
  status: "active",
353
385
  votesFor: 5000,
354
386
  votesAgainst: 2000,
355
- quorum: 10000
356
- }
387
+ quorum: 10000,
388
+ },
357
389
  });
358
390
 
359
391
  // Vote event
@@ -364,8 +396,8 @@ await createEvent({
364
396
  groupId: governance._id,
365
397
  metadata: {
366
398
  choice: "for",
367
- votingPower: 1000
368
- }
399
+ votingPower: 1000,
400
+ },
369
401
  });
370
402
  ```
371
403
 
@@ -376,76 +408,37 @@ await createEvent({
376
408
  ## 🛠️ Technology Stack
377
409
 
378
410
  **Frontend:**
411
+
379
412
  - Astro 5.14+ (SSR + SSG)
380
413
  - React 19 (Islands architecture)
381
414
  - Tailwind v4 (CSS-based config)
382
415
  - shadcn/ui (50+ components)
383
416
  - TypeScript 5.9+ (Strict mode)
384
417
 
385
- **Backend:**
386
- - Convex (Real-time database)
387
- - Better Auth (6 auth methods)
388
- - Effect.ts (Functional services)
389
- - Rate limiting & security
390
-
391
418
  **AI Layer:**
419
+
392
420
  - Vercel AI SDK (Multi-provider)
393
421
  - OpenAI (GPT-4, GPT-3.5)
394
422
  - Anthropic (Claude 3.5 Sonnet)
395
423
  - OpenRouter (100+ models)
396
424
 
397
425
  **Infrastructure:**
426
+
398
427
  - Cloudflare Pages (Edge SSR)
399
- - Convex Cloud (Backend)
400
428
  - Stripe (Payments)
401
429
  - Multi-chain (Sui, Base, Solana)
402
430
 
403
- ---
404
-
405
- ## 📦 Quick Start
406
-
407
- ```bash
408
- # Option 1: Bootstrap new project
409
- npx oneie
410
-
411
- # Option 2: Clone and develop
412
- git clone https://github.com/one-platform/one
413
- cd ONE
414
- pnpm install
415
- pnpm dev
416
- ```
417
-
418
- **Development Commands:**
419
-
420
- ```bash
421
- # Frontend
422
- cd frontend/
423
- bun run dev # localhost:4321
424
- bun run build # Production build
425
- bunx astro check # Type checking
426
-
427
- # Backend
428
- cd backend/
429
- npx convex dev # Watch mode
430
- npx convex deploy # Production
431
-
432
- # Testing
433
- cd frontend/
434
- bun test # All tests
435
- bun test test/auth # Auth tests (50+ cases)
436
- ```
437
-
438
- ---
439
-
440
431
  ## 📚 Documentation
441
432
 
442
433
  **Core Concepts:**
443
- - [6-Dimension Ontology](/one/knowledge/ontology.md) – Complete specification
434
+
435
+ - [ONE Ontology](/one/knowledge/ontology.md) – Complete specification
444
436
  - [Architecture](/one/knowledge/architecture.md) – How it all fits together
445
- - [Workflow Guide](/one/connections/workflow.md) – Development process
437
+ - [Workflow](/one/connections/workflow.md) – Development process
446
438
 
447
439
  **Dimensions:**
448
- - [Groups](/one/connections/organisation.md) – Multi-tenancy & hierarchies
440
+
441
+ - [Groups](/one/connections/groups.md) – Multi-tenancy & hierarchies
449
442
  - [People](/one/connections/people.md) – Authorization & roles
450
443
  - [Things](/one/connections/things.md) – 66 entity types
451
444
  - [Connections](/one/connections/connections.md) – 25 relationship types
@@ -453,8 +446,8 @@ bun test test/auth # Auth tests (50+ cases)
453
446
  - [Knowledge](/one/connections/knowledge.md) – RAG & intelligence
454
447
 
455
448
  **Implementation:**
449
+
456
450
  - [Frontend Guide](/one/things/frontend.md) – UI patterns
457
- - [Backend Guide](/one/things/hono.md) – API & services
458
451
  - [Examples](/one/things/implementation-examples.md) – Real-world patterns
459
452
 
460
453
  ---
@@ -462,6 +455,7 @@ bun test test/auth # Auth tests (50+ cases)
462
455
  ## 🧪 Testing
463
456
 
464
457
  **6 Authentication Methods:**
458
+
465
459
  1. ✅ Email & Password
466
460
  2. ✅ OAuth (GitHub, Google)
467
461
  3. ✅ Magic Links
@@ -484,31 +478,21 @@ bun test --watch test/auth # Watch mode
484
478
 
485
479
  ```
486
480
  ONE/
487
- ├── frontend/ # Astro 5 + React 19 app
488
- │ ├── src/
489
- │ │ ├── pages/ # File-based routing
490
- │ │ ├── components/ # React components + shadcn/ui
491
- │ │ ├── layouts/ # Page layouts
492
- │ │ └── styles/ # Tailwind v4
493
- │ └── test/ # Test suites
494
- │
495
- ├── backend/ # Convex backend
496
- │ └── convex/
497
- │ ├── schema.ts # 6-dimension schema
498
- │ ├── queries/ # Read operations
499
- │ ├── mutations/ # Write operations
500
- │ └── services/ # Effect.ts services
501
- │
502
- ├── one/ # Documentation (41 files)
503
- │ ├── connections/ # Ontology & protocols
504
- │ ├── things/ # Architecture & specs
505
- │ ├── events/ # Event specifications
506
- │ └── knowledge/ # RAG & AI
507
- │
508
- └── apps/ # Example applications
509
- ├── oneie/ # Main Astro app
510
- ├── eliza/ # ElizaOS integration
511
- └── stack/ # Stack Auth example
481
+ ├── .claude/ # Claude Code agents, commands, hooks
482
+ ├── one/ # 6-dimension ontology docs
483
+ ├── web/ # Astro 5 + React 19 application
484
+ ├── cli/ # CLI package workspace (npm: oneie)
485
+ ├── apps/
486
+ │ └── one/ # Master assembly (syncs to one-ie/one)
487
+ │ ├── one/ # Synced ontology bundle
488
+ │ ├── .claude/ # Synced AI configuration
489
+ │ ├── web/ # Git subtree of one-ie/web
490
+ │ └── docs/ # Optional docs staging
491
+ ├── scripts/ # Release automation and tooling
492
+ ├── README.md # Root documentation (synced downstream)
493
+ ├── LICENSE.md # License
494
+ ├── AGENTS.md # AI agent defaults
495
+ └── CLAUDE.md # Claude Code guidance
512
496
  ```
513
497
 
514
498
  ---
@@ -540,14 +524,16 @@ You don't need hundreds of tables. You need:
540
524
 
541
525
  ### Why This Works
542
526
 
543
- **Other platforms:**
527
+ **Vibe Coders**
528
+
544
529
  - Create new tables for every feature
545
530
  - Add protocol-specific columns
546
531
  - Pollute schema with temporary concepts
547
532
  - End up with 50+ tables, 200+ columns
548
533
  - Become unmaintainable
549
534
 
550
- **ONE's approach:**
535
+ **ONE Context Engineering:**
536
+
551
537
  - Map every feature to 6 dimensions
552
538
  - Groups partition the space (with hierarchical nesting)
553
539
  - People authorize and govern
@@ -582,17 +568,13 @@ A database schema that:
582
568
 
583
569
  **Golden Rule:** If you can't map your feature to these 6 dimensions, you're thinking about it wrong.
584
570
 
585
- ---
586
-
587
571
  ## 📄 License
588
572
 
589
- MIT License – see [LICENSE](LICENSE) for details.
590
-
591
- ---
573
+ ONE Free License – see [LICENSE](LICENSE) for details.
592
574
 
593
575
  <div align="center">
594
576
 
595
- **ONE Platform** – Where reality meets AI.
577
+ **ONE** – Where reality meets AI.
596
578
 
597
579
  Built with simplicity, clarity, and infinite scale in mind.
598
580
 
@@ -601,6 +583,6 @@ Connections relate. Events record. Knowledge understands.
601
583
 
602
584
  **Everything else is just data.**
603
585
 
604
- [Website](https://one.ie) • [Documentation](/one) • [Examples](/apps)
586
+ [Website](https://one.ie)
605
587
 
606
588
  </div>
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: 2.0.10
90
+ version: 3.0.3
91
91
  homepage: https://one.ie
92
92
  license_url: https://one.ie/free-license
@@ -171,6 +171,11 @@
171
171
  },
172
172
  "active": "613025f84d05f0e8",
173
173
  "lastOpenFiles": [
174
+ "things/interface.md",
175
+ "things/vision/interface.md",
176
+ "things/plans/5-build-frontend.md",
177
+ "things/plans/5-build-frontend",
178
+ "things/plans/switch-off-auth.md",
174
179
  "events/2025-10-15-unignore-public-group-docs.md",
175
180
  "groups/vision.md",
176
181
  "groups/strategy.md",
@@ -195,17 +200,12 @@
195
200
  "things/tests/2-1-dataprovider-interface.md",
196
201
  "things/tests",
197
202
  "things/system.md",
198
- "things/products/ontology.md",
199
- "things/products/cascade.md",
200
- "things/products/cascade-landing-page.md",
201
- "things/plans/release.md",
202
203
  "things/features/dataprovider-interface",
203
204
  "things/cli",
204
205
  "things/cascade/docs/examples/1-6-numbering-structure",
205
206
  "things/cascade/docs/examples/1-5-quality-loops",
206
207
  "things/cascade/docs/examples/1-4-knowledge-management",
207
208
  "things/cascade/docs/examples/1-3-event-coordination",
208
- "things/cascade/docs/examples/1-2-yaml-orchestrator",
209
- "things/cascade/docs/examples/1-1-agent-prompts"
209
+ "things/cascade/docs/examples/1-2-yaml-orchestrator"
210
210
  ]
211
211
  }