pi-fabric 0.107.1 → 0.108.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.
@@ -5259,6 +5259,15 @@ var FabricUiController = class {
5259
5259
  context.ui.notify(error instanceof Error ? error.message : String(error), "error");
5260
5260
  }
5261
5261
  };
5262
+ const onGlobalEvents = (globalActorId, events) => {
5263
+ try {
5264
+ this.state.globalActors.update(globalActorId, { events });
5265
+ context.ui.notify("Global actor event subscriptions updated", "info");
5266
+ this.#refresh();
5267
+ } catch (error) {
5268
+ context.ui.notify(error instanceof Error ? error.message : String(error), "error");
5269
+ }
5270
+ };
5262
5271
  const onActorTools = (actorId, tools) => {
5263
5272
  reportUpdate("Actor tools updated", this.state.actors.setTools(actorId, tools));
5264
5273
  };
@@ -5338,6 +5347,7 @@ var FabricUiController = class {
5338
5347
  onActorEvents,
5339
5348
  onActorDeliveryPolicy,
5340
5349
  onGlobalDeliveryPolicy,
5350
+ onGlobalEvents,
5341
5351
  onActorTools,
5342
5352
  actorDefaultTools: this.state.config.agents?.defaultTools ?? [],
5343
5353
  onClearMessages,
@@ -6555,4 +6565,4 @@ export {
6555
6565
  FABRIC_MANAGED_HOST_VERSION,
6556
6566
  createFabricExtension
6557
6567
  };
6558
- //# sourceMappingURL=chunk-K7AERJOX.js.map
6568
+ //# sourceMappingURL=chunk-5RS2B4P5.js.map