@ggui-ai/iframe-runtime 0.12.0 → 0.14.0
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/dist/connection.d.ts +20 -0
- package/dist/connection.js +20 -0
- package/dist/iframe-runtime.js +93 -91
- package/dist/iframe-runtime.meta.json +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/observability.d.ts +129 -21
- package/dist/observability.js +59 -0
- package/dist/react-renderer.d.ts +2 -5
- package/dist/react-renderer.js +20 -4
- package/dist/render-item.d.ts +2 -6
- package/dist/runtime.d.ts +31 -0
- package/dist/runtime.js +266 -65
- package/dist/status-dom.d.ts +9 -0
- package/dist/status-dom.js +11 -0
- package/dist/system-cards/UiFeedbackCard.d.ts +13 -8
- package/dist/system-cards/UiFeedbackCard.js +32 -41
- package/dist/ui-feedback-chrome.d.ts +30 -0
- package/dist/ui-feedback-chrome.js +22 -0
- package/dist/wire-config.js +9 -3
- package/package.json +15 -10
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The document's connection store (ggui#670) — the single in-document
|
|
3
|
+
* external store behind `useRender().isConnected`.
|
|
4
|
+
*
|
|
5
|
+
* One store per document, by design: the relay latch describes the
|
|
6
|
+
* HOST, not the render, and every mount in this document shares the
|
|
7
|
+
* host (there is exactly one boot per document; re-mounts inherit it).
|
|
8
|
+
* The runtime is the only writer, through `transitionRelayLatch` in
|
|
9
|
+
* `runtime.ts` — the latch's two edges are the only transitions. Lives
|
|
10
|
+
* re-exported here so the runtime's writer sites name one local
|
|
11
|
+
* module; the store itself is wire's package singleton (the wire docs
|
|
12
|
+
* generator prints every WireConfig member into the prompt, so the
|
|
13
|
+
* store is deliberately NOT a config member).
|
|
14
|
+
*
|
|
15
|
+
* Not a reserved stream channel: nothing on the wire can reach it
|
|
16
|
+
* (SPEC §4.4 forbids renderer-authored `_ggui:*` deliveries, and a
|
|
17
|
+
* registered-but-ungated channel would have been a forgery path — the
|
|
18
|
+
* adversarial pass on ggui#670).
|
|
19
|
+
*/
|
|
20
|
+
export { connectionStore } from '@ggui-ai/wire';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The document's connection store (ggui#670) — the single in-document
|
|
3
|
+
* external store behind `useRender().isConnected`.
|
|
4
|
+
*
|
|
5
|
+
* One store per document, by design: the relay latch describes the
|
|
6
|
+
* HOST, not the render, and every mount in this document shares the
|
|
7
|
+
* host (there is exactly one boot per document; re-mounts inherit it).
|
|
8
|
+
* The runtime is the only writer, through `transitionRelayLatch` in
|
|
9
|
+
* `runtime.ts` — the latch's two edges are the only transitions. Lives
|
|
10
|
+
* re-exported here so the runtime's writer sites name one local
|
|
11
|
+
* module; the store itself is wire's package singleton (the wire docs
|
|
12
|
+
* generator prints every WireConfig member into the prompt, so the
|
|
13
|
+
* store is deliberately NOT a config member).
|
|
14
|
+
*
|
|
15
|
+
* Not a reserved stream channel: nothing on the wire can reach it
|
|
16
|
+
* (SPEC §4.4 forbids renderer-authored `_ggui:*` deliveries, and a
|
|
17
|
+
* registered-but-ungated channel would have been a forgery path — the
|
|
18
|
+
* adversarial pass on ggui#670).
|
|
19
|
+
*/
|
|
20
|
+
export { connectionStore } from '@ggui-ai/wire';
|