oneie 2.0.3 → 2.0.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.
- package/CLAUDE.md +220 -29
- package/LICENSE.md +84 -0
- package/README.md +489 -931
- package/folders.yaml +78 -17
- package/one/.obsidian/workspace.json +6 -6
- package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +412 -0
- package/one/events/FEATURE-2-4-COMPLETE.md +302 -0
- package/one/events/FEATURE_2_3_COMPLETE.md +575 -0
- package/one/events/GROUPS-MIGRATION.md +625 -0
- package/one/events/INSTALL-TESTS.md +293 -0
- package/one/events/INTEGRATION-ARCHITECTURE.md +561 -0
- package/one/events/INTEGRATION-CHECKLIST.md +1234 -0
- package/one/events/INTEGRATION-ORCHESTRATION.md +2623 -0
- package/one/events/INTEGRATION-SUMMARY.md +653 -0
- package/one/events/MIGRATION-REPORT.md +435 -0
- package/one/events/MIGRATION.md +69 -0
- package/one/events/README-archived.md +519 -0
- package/one/events/TEST-SUMMARY.md +393 -0
- package/one/events/TESTS-QUICK-REF.md +262 -0
- package/one/groups/groups.md +543 -0
- package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +49 -0
- package/one/knowledge/architecture-any-backend.md +1366 -0
- package/one/knowledge/docs/flow.md +0 -0
- package/one/knowledge/ontology-documentation.md +18 -18
- package/one/knowledge/ontology.md +154 -143
- package/one/knowledge/ontology.md.backup +2822 -0
- package/one/knowledge/ontology.yaml +87 -87
- package/one/knowledge/provider-creation-guide.md +1064 -0
- package/one/knowledge/todo.md +251 -0
- package/one/license.md +84 -0
- package/one/things/CHECKLIST.md +356 -0
- package/one/things/ONE.md +510 -0
- package/one/things/{cli.md → cli/cli.md} +27 -4
- package/one/things/features/2-1-dataprovider-interface.md +2358 -0
- package/one/things/features/2-2-config-system.md +3075 -0
- package/one/things/features/2-3-effectts-services.md +1498 -0
- package/one/things/features/2-4-react-hooks.md +2120 -0
- package/one/things/features/2-5-auth-migration.md +2046 -0
- package/one/things/features/2-6-dashboard-migration.md +1985 -0
- package/one/things/features/2-7-alternative-providers.md +2505 -0
- package/one/things/features/2-7-implementation-report.md +680 -0
- package/one/things/features/2-cli.md +39 -39
- package/one/things/features/2-design.md +1738 -0
- package/one/things/features/2-tests.md +520 -0
- package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +521 -0
- package/one/things/features/DECOUPLING.md +272 -0
- package/one/things/features/DEPLOYMENT.md +452 -0
- package/one/things/features/IMPLEMENTATION_SUMMARY.md +316 -0
- package/one/things/features/dataprovider-interface/1-tests.md +1522 -0
- package/one/things/features/improve.md +843 -0
- package/one/things/features/remove-convex-deps.md +45 -0
- package/one/things/features/top-features.md +79 -0
- package/one/things/ideas/2-backend-agnostic-frontend.md +384 -0
- package/one/things/plans/2-backend-agnostic-frontend.md +543 -0
- package/one/things/plans/3-groups.md +502 -0
- package/one/things/plans/backend-agnostic-frontend.md +323 -0
- package/one/things/plans/deploy-to-cloudflare.md +581 -0
- package/one/things/plans/organizations-to-groups.md +705 -0
- package/one/things/plans/release.md +432 -0
- package/one/things/products/ontology.md +1 -1
- package/one/things/system.md +600 -0
- package/one/things/tests/2-1-dataprovider-interface.md +1144 -0
- package/one/things/tests/2-1-test-analysis.md +496 -0
- package/one/things/vision/elegant-interface.md +214 -0
- package/package.json +1 -1
- package/one/organisation/organisation.md +0 -438
- package/one/repomix-output.md +0 -92634
- /package/one/{things → connections}/agentkit.md +0 -0
- /package/one/{things → connections}/copilotkit.md +0 -0
- /package/one/{organisation → groups}/one.md +0 -0
- /package/one/{organisation → groups}/revenue.md +0 -0
- /package/one/{organisation → groups}/strategy.md +0 -0
- /package/one/{organisation → groups}/vision.md +0 -0
- /package/one/things/{cli-code.md → cli/cli-code.md} +0 -0
- /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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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. **[
|
|
22
|
+
1. **[groups.md](../groups/groups.md)** - Multi-tenant containers
|
|
23
23
|
|
|
24
|
-
-
|
|
25
|
-
-
|
|
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 **[
|
|
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. **[
|
|
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
|
-
- **
|
|
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.
|
|
150
|
+
### 4. Group-Scoped
|
|
151
151
|
|
|
152
152
|
Multi-tenant isolation:
|
|
153
153
|
|
|
154
|
-
- Every resource belongs to
|
|
154
|
+
- Every resource belongs to a group
|
|
155
155
|
- Permissions enforced via membership connections
|
|
156
|
-
- Usage tracked per
|
|
157
|
-
- Revenue sharing configurable per
|
|
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.
|
|
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**,
|
|
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
|
-
- **
|
|
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
|
|
356
|
+
**Welcome to ONE. Where groups contain, people customize, and knowledge powers everything.**
|