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.
- package/dist/chunks/{chunk-K7AERJOX.js → chunk-5RS2B4P5.js} +11 -1
- package/dist/chunks/{chunk-K7AERJOX.js.map → chunk-5RS2B4P5.js.map} +2 -2
- package/dist/extension-bootstrap.js +1 -1
- package/dist/index.js +1 -1
- package/dist/ui/controller.d.ts.map +1 -1
- package/dist/ui/dashboard.d.ts +2 -0
- package/dist/ui/dashboard.d.ts.map +1 -1
- package/dist/ui/dashboard.js +17 -4
- package/dist/ui/dashboard.js.map +2 -2
- package/package.json +1 -1
|
@@ -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-
|
|
6568
|
+
//# sourceMappingURL=chunk-5RS2B4P5.js.map
|