oneie 2.0.3 → 2.0.6

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.
Files changed (84) hide show
  1. package/CLAUDE.md +220 -29
  2. package/LICENSE.md +84 -0
  3. package/README.md +489 -931
  4. package/dist/copy-claude-config.d.ts.map +1 -1
  5. package/dist/copy-claude-config.js +3 -1
  6. package/dist/copy-claude-config.js.map +1 -1
  7. package/dist/sync-agents.d.ts.map +1 -1
  8. package/dist/sync-agents.js +3 -1
  9. package/dist/sync-agents.js.map +1 -1
  10. package/dist/sync-ontology.d.ts.map +1 -1
  11. package/dist/sync-ontology.js +9 -7
  12. package/dist/sync-ontology.js.map +1 -1
  13. package/folders.yaml +78 -17
  14. package/one/.obsidian/workspace.json +6 -6
  15. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +412 -0
  16. package/one/events/FEATURE-2-4-COMPLETE.md +302 -0
  17. package/one/events/FEATURE_2_3_COMPLETE.md +575 -0
  18. package/one/events/GROUPS-MIGRATION.md +625 -0
  19. package/one/events/INSTALL-TESTS.md +293 -0
  20. package/one/events/INTEGRATION-ARCHITECTURE.md +561 -0
  21. package/one/events/INTEGRATION-CHECKLIST.md +1234 -0
  22. package/one/events/INTEGRATION-ORCHESTRATION.md +2623 -0
  23. package/one/events/INTEGRATION-SUMMARY.md +653 -0
  24. package/one/events/MIGRATION-REPORT.md +435 -0
  25. package/one/events/MIGRATION.md +69 -0
  26. package/one/events/README-archived.md +519 -0
  27. package/one/events/TEST-SUMMARY.md +393 -0
  28. package/one/events/TESTS-QUICK-REF.md +262 -0
  29. package/one/groups/groups.md +543 -0
  30. package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +49 -0
  31. package/one/knowledge/architecture-any-backend.md +1366 -0
  32. package/one/knowledge/docs/flow.md +0 -0
  33. package/one/knowledge/ontology-documentation.md +18 -18
  34. package/one/knowledge/ontology.md +154 -143
  35. package/one/knowledge/ontology.md.backup +2822 -0
  36. package/one/knowledge/ontology.yaml +87 -87
  37. package/one/knowledge/provider-creation-guide.md +1064 -0
  38. package/one/knowledge/todo.md +251 -0
  39. package/one/license.md +84 -0
  40. package/one/things/CHECKLIST.md +356 -0
  41. package/one/things/ONE.md +510 -0
  42. package/one/things/{cli.md → cli/cli.md} +27 -4
  43. package/one/things/features/2-1-dataprovider-interface.md +2358 -0
  44. package/one/things/features/2-2-config-system.md +3075 -0
  45. package/one/things/features/2-3-effectts-services.md +1498 -0
  46. package/one/things/features/2-4-react-hooks.md +2120 -0
  47. package/one/things/features/2-5-auth-migration.md +2046 -0
  48. package/one/things/features/2-6-dashboard-migration.md +1985 -0
  49. package/one/things/features/2-7-alternative-providers.md +2505 -0
  50. package/one/things/features/2-7-implementation-report.md +680 -0
  51. package/one/things/features/2-cli.md +39 -39
  52. package/one/things/features/2-design.md +1738 -0
  53. package/one/things/features/2-tests.md +520 -0
  54. package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +521 -0
  55. package/one/things/features/DECOUPLING.md +272 -0
  56. package/one/things/features/DEPLOYMENT.md +452 -0
  57. package/one/things/features/IMPLEMENTATION_SUMMARY.md +316 -0
  58. package/one/things/features/dataprovider-interface/1-tests.md +1522 -0
  59. package/one/things/features/improve.md +843 -0
  60. package/one/things/features/remove-convex-deps.md +45 -0
  61. package/one/things/features/top-features.md +79 -0
  62. package/one/things/ideas/2-backend-agnostic-frontend.md +384 -0
  63. package/one/things/plans/2-backend-agnostic-frontend.md +543 -0
  64. package/one/things/plans/3-groups.md +502 -0
  65. package/one/things/plans/backend-agnostic-frontend.md +323 -0
  66. package/one/things/plans/deploy-to-cloudflare.md +581 -0
  67. package/one/things/plans/organizations-to-groups.md +705 -0
  68. package/one/things/plans/release.md +432 -0
  69. package/one/things/products/ontology.md +1 -1
  70. package/one/things/system.md +600 -0
  71. package/one/things/tests/2-1-dataprovider-interface.md +1144 -0
  72. package/one/things/tests/2-1-test-analysis.md +496 -0
  73. package/one/things/vision/elegant-interface.md +214 -0
  74. package/package.json +1 -1
  75. package/one/organisation/organisation.md +0 -438
  76. package/one/repomix-output.md +0 -92634
  77. /package/one/{things → connections}/agentkit.md +0 -0
  78. /package/one/{things → connections}/copilotkit.md +0 -0
  79. /package/one/{organisation → groups}/one.md +0 -0
  80. /package/one/{organisation → groups}/revenue.md +0 -0
  81. /package/one/{organisation → groups}/strategy.md +0 -0
  82. /package/one/{organisation → groups}/vision.md +0 -0
  83. /package/one/things/{cli-code.md → cli/cli-code.md} +0 -0
  84. /package/one/things/{cli-compiler-code.md → cli/cli-compiler-code.md} +0 -0
File without changes
@@ -7,10 +7,10 @@
7
7
  ## The Flow
8
8
 
9
9
  ```
10
- Organisations → People → Things → Connections → Events → Knowledge
11
- ↓ ↓ ↓ ↓ ↓ ↓
12
- Own & Customize Create Relate Log & Power
13
- Delegate with AI Entities Entities Track Intelligence
10
+ Groups → People → Things → Connections → Events → Knowledge
11
+ ↓ ↓ ↓ ↓ ↓ ↓
12
+ Scope Authorize Create Relate Log & Power
13
+ & Own with AI Entities Entities Track Intelligence
14
14
  ```
15
15
 
16
16
  ---
@@ -19,10 +19,10 @@ Organisations → People → Things → Connections → Events → Knowledge
19
19
 
20
20
  ### Core Concepts (Start Here)
21
21
 
22
- 1. **[organisation.md](./organisation.md)** - Multi-tenant containers
22
+ 1. **[groups.md](../groups/groups.md)** - Multi-tenant containers
23
23
 
24
- - Organisations own things
25
- - Delegate ownership to people
24
+ - Groups own things
25
+ - Hierarchical nesting (6 types)
26
26
  - Track usage & quotas
27
27
  - Manage billing & revenue sharing
28
28
 
@@ -98,7 +98,7 @@ Organisations → People → Things → Connections → Events → Knowledge
98
98
 
99
99
  ### For Developers
100
100
 
101
- 1. Start with **[organisation.md](./organisation.md)** - Understand multi-tenancy
101
+ 1. Start with **[groups.md](../groups/groups.md)** - Understand multi-tenancy & hierarchical groups
102
102
  2. Read **[people.md](./people.md)** - Understand roles & permissions
103
103
  3. Skim **[things.md](./things.md)** - See what entities exist
104
104
  4. Review **[connections.md](./connections.md)** - See how things relate
@@ -108,7 +108,7 @@ Organisations → People → Things → Connections → Events → Knowledge
108
108
 
109
109
  ### For Product Managers
110
110
 
111
- 1. **[organisation.md](./organisation.md)** - How customers are isolated
111
+ 1. **[groups.md](../groups/groups.md)** - How customers are isolated
112
112
  2. **[people.md](./people.md)** - How users, roles & permissions work
113
113
  3. **[knowledge.md](./knowledge.md)** - How AI inference generates revenue
114
114
  4. **[events.md](./events.md)** - What gets tracked & analyzed
@@ -121,7 +121,7 @@ Organisations → People → Things → Connections → Events → Knowledge
121
121
 
122
122
  Everything in ONE exists in one of 6 dimensions:
123
123
 
124
- - **organizations** - multi-tenant isolation (ownership partitioning)
124
+ - **groups** - multi-tenant isolation (hierarchical containers with 6 types)
125
125
  - **people** - authorization & governance (who can do what)
126
126
  - **things** - entities (66 types)
127
127
  - **connections** - relationships (25 types)
@@ -147,14 +147,14 @@ All protocols map TO the ontology via metadata:
147
147
  - Core ontology remains stable
148
148
  - Infinite protocol extensibility
149
149
 
150
- ### 4. Organisation-Scoped
150
+ ### 4. Group-Scoped
151
151
 
152
152
  Multi-tenant isolation:
153
153
 
154
- - Every resource belongs to an organization
154
+ - Every resource belongs to a group
155
155
  - Permissions enforced via membership connections
156
- - Usage tracked per organization
157
- - Revenue sharing configurable per organization
156
+ - Usage tracked per group
157
+ - Revenue sharing configurable per group
158
158
 
159
159
  ### 5. Event-Driven
160
160
 
@@ -171,7 +171,7 @@ Complete audit trail:
171
171
 
172
172
  ```
173
173
  ┌─────────────────────────────────────────────────┐
174
- │ 1. Organization Scope │
174
+ │ 1. Group Scope │
175
175
  │ Define the context for all operations │
176
176
  └──────────────────┬──────────────────────────────┘
177
177
  ↓
@@ -211,7 +211,7 @@ Complete audit trail:
211
211
  └─────────────────────────────────────────────────┘
212
212
  ```
213
213
 
214
- Knowledge makes generation **context-aware**, organizations make it **multi-tenant**, and people make it **governed**.
214
+ Knowledge makes generation **context-aware**, groups make it **multi-tenant**, and people make it **governed**.
215
215
 
216
216
  ---
217
217
 
@@ -220,7 +220,7 @@ Knowledge makes generation **context-aware**, organizations make it **multi-tena
220
220
  **Simplicity is the ultimate sophistication.**
221
221
 
222
222
  - **6 dimensions** (not 50+ tables)
223
- - **Organizations** partition the space
223
+ - **Groups** partition the space (6 types, hierarchical)
224
224
  - **People** authorize and govern
225
225
  - **66 thing types** (covers everything)
226
226
  - **25 connection types** (all relationships)
@@ -353,4 +353,4 @@ When adding features:
353
353
 
354
354
  ---
355
355
 
356
- **Welcome to ONE. Where organisations own, people customize, and knowledge powers everything.**
356
+ **Welcome to ONE. Where groups contain, people customize, and knowledge powers everything.**