@almadar/core 7.8.0 → 7.9.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.
@@ -1178,14 +1178,26 @@ interface BusEventSource {
1178
1178
  transition?: string;
1179
1179
  tick?: string;
1180
1180
  /**
1181
- * True when the orbital bridge is re-broadcasting a transition event
1182
- * on the bus so cross-trait `listens { X EVENT Y }` wiring fires on
1183
- * user-click flows. The originating trait's own `useUIEvents` plain-
1184
- * event listener checks this flag and skips otherwise the trait
1185
- * that just dispatched E would hear its own bridge echo and dispatch
1186
- * E again, infinitely.
1181
+ * True when the orbital bridge re-broadcasts an event onto the bus
1182
+ * (any source both echoes of the dispatched event and server-side
1183
+ * cascade emits via `(emit X)` / `fetch.emit.success`). Cross-trait
1184
+ * listeners filter on this flag so the click-time qualified emit
1185
+ * (which has no `fromBridge`) doesn't double-fire alongside the
1186
+ * post-server bridge confirmation. See `dispatched` for the narrower
1187
+ * "echo of the just-dispatched event" signal.
1187
1188
  */
1188
1189
  fromBridge?: boolean;
1190
+ /**
1191
+ * True ONLY for the bridge echo of the event the source trait JUST
1192
+ * dispatched (path 1 of useOrbitalBridge). The originating trait's
1193
+ * `useUIEvents` skips events with this flag to prevent the source
1194
+ * from re-dispatching its own bridge echo (infinite loop). Server-
1195
+ * side cascade emits (path 2) carry `fromBridge: true` but NOT
1196
+ * `dispatched`, so they reach the source trait's transition handler
1197
+ * — that's how a fetch's `emit.success` advances the trait's own
1198
+ * state machine (e.g. `loading -> browsing` on `BrowseItemLoaded`).
1199
+ */
1200
+ dispatched?: boolean;
1189
1201
  }
1190
1202
  /**
1191
1203
  * An event flowing on the bus.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/core",
3
- "version": "7.8.0",
3
+ "version": "7.9.0",
4
4
  "description": "Core schema types and definitions for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",