You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/protocols/README.md
+84-24Lines changed: 84 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,44 @@
1
1
# ObjectStack Protocol Plugins
2
2
3
-
This directory contains protocol plugin implementations for the ObjectStack ecosystem. Each protocol plugin implements the `RuntimePlugin` interface and uses the `ObjectStackRuntimeProtocol` bridge layer to interact with the kernel.
3
+
This directory contains protocol plugin implementations for the ObjectStack ecosystem. Each protocol plugin implements the `RuntimePlugin` interface defined in `@objectql/types`.
4
4
5
5
## Architecture Overview
6
6
7
7
### Key Principles
8
8
9
-
1.**Plugin Interface**: All protocols implement `RuntimePlugin` from `@objectstack/runtime`
10
-
2.**Bridge Layer**: Must instantiate `ObjectStackRuntimeProtocol` for kernel interaction
11
-
3.**No Direct DB Access**: All data operations go through the protocol bridge methods
12
-
4.**Lifecycle Management**: Plugins initialize in `onStart` lifecycle hook
9
+
1.**Plugin Interface**: All protocols implement `RuntimePlugin` from `@objectql/types`
10
+
2.**Direct Engine Access**: Plugins access the kernel/engine directly through the RuntimeContext
11
+
3.**No Direct DB Access**: All data operations go through kernel methods (find, create, update, delete)
0 commit comments