@utilarium/overcontext 0.0.7 → 0.0.8-dev.20260226040805.d18adcf
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/README.md +5 -1
- package/dist/index.cjs +805 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/fjell/fs-adapter.d.ts +35 -0
- package/dist/storage/fjell/fs-adapter.js +212 -0
- package/dist/storage/fjell/fs-adapter.js.map +1 -0
- package/dist/storage/fjell/fs-provider.d.ts +3 -0
- package/dist/storage/fjell/fs-provider.js +13 -0
- package/dist/storage/fjell/fs-provider.js.map +1 -0
- package/dist/storage/fjell/gcs-adapter.d.ts +40 -0
- package/dist/storage/fjell/gcs-adapter.js +249 -0
- package/dist/storage/fjell/gcs-adapter.js.map +1 -0
- package/dist/storage/fjell/gcs-provider.d.ts +3 -0
- package/dist/storage/fjell/gcs-provider.js +14 -0
- package/dist/storage/fjell/gcs-provider.js.map +1 -0
- package/dist/storage/fjell/index.d.ts +7 -0
- package/dist/storage/fjell/memory-adapter.d.ts +27 -0
- package/dist/storage/fjell/memory-adapter.js +150 -0
- package/dist/storage/fjell/memory-adapter.js.map +1 -0
- package/dist/storage/fjell/provider.d.ts +37 -0
- package/dist/storage/fjell/provider.js +141 -0
- package/dist/storage/fjell/provider.js.map +1 -0
- package/dist/storage/fjell/types.d.ts +50 -0
- package/dist/storage/index.d.ts +1 -0
- package/dist/storage/observable.js +36 -1
- package/dist/storage/observable.js.map +1 -1
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Overcontext provides infrastructure for defining and managing custom entity sche
|
|
|
35
35
|
## Features
|
|
36
36
|
|
|
37
37
|
- **Schema-Driven**: Register any Zod schema, get type-safe CRUD operations
|
|
38
|
-
- **Storage Agnostic**: Filesystem
|
|
38
|
+
- **Storage Agnostic**: Filesystem, in-memory, and Fjell-backed providers
|
|
39
39
|
- **Hierarchical Discovery**: Walk directory trees to find context at multiple levels
|
|
40
40
|
- **Namespace Support**: Organize entities across multiple namespaces
|
|
41
41
|
- **CLI Framework**: Reusable command builders for creating CLIs
|
|
@@ -151,9 +151,13 @@ const workPeople = await ctx.getAll('person', 'work');
|
|
|
151
151
|
|
|
152
152
|
- **Filesystem**: YAML files in directory structure
|
|
153
153
|
- **Memory**: In-memory for testing
|
|
154
|
+
- **Fjell FS**: JSON files via `@fjell/lib-fs`
|
|
155
|
+
- **Fjell GCS**: JSON objects via `@fjell/lib-gcs`
|
|
154
156
|
- **Hierarchical**: Multi-level discovery with override behavior
|
|
155
157
|
- **Custom**: Implement your own
|
|
156
158
|
|
|
159
|
+
Fjell providers are additive and do not change existing filesystem behavior. Existing users can continue using YAML-backed filesystem storage unchanged.
|
|
160
|
+
|
|
157
161
|
### Custom Filenames
|
|
158
162
|
|
|
159
163
|
Control how entity files are named on disk with a filename strategy:
|