@kubb/studio 5.3.17 → 5.3.18

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 CHANGED
@@ -68,6 +68,14 @@ The runtime discovers nothing on its own: the host injects the config loader, th
68
68
  own version. That is what lets one runtime serve a CLI running in a developer's project and a
69
69
  container running a fixed plugin set.
70
70
 
71
+ ## Package layers
72
+
73
+ `src/protocol` defines the shared wire contracts and imports no Studio implementation. `src/operations`
74
+ contains focused work such as pairing, generation, config edits, snapshots, and transport; it may
75
+ import the protocol. `src/runtime` owns connection state and coordinates operations; it may import
76
+ both lower layers. Keep new code in the lowest layer that can own it, with direct internal imports.
77
+ Only `@kubb/studio` and `@kubb/studio/protocol` are public entry points.
78
+
71
79
  ## Hosts and the runtime
72
80
 
73
81
  Three hosts run this package: `kubb studio`, the `kubblabs/kubb-agent` Docker image, and