@agimon-ai/po-workflow 0.0.0-alpha.146 → 0.0.0-alpha.148
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.
|
@@ -92,7 +92,7 @@ const DEFAULT_RECONCILE_INTERVAL_MS = 3e4;
|
|
|
92
92
|
const RUNNING_STAGE$2 = "running";
|
|
93
93
|
/** Offer observation from non-session roots; the host elects one package copy. */
|
|
94
94
|
function registerWorkflowRegistryObserver(plugin) {
|
|
95
|
-
plugin.context.inject([_agimon_ai_po_core_serverPlugin.
|
|
95
|
+
plugin.context.inject([_agimon_ai_po_core_serverPlugin.PO_HOST_SERVICES_SERVICE], (context) => (0, _agimon_ai_po_core_serverPlugin.readPoHostServices)(context)?.register(plugin.host, {
|
|
96
96
|
packageName: "@agimon-ai/po-workflow",
|
|
97
97
|
async activate(activation) {
|
|
98
98
|
const observer = new WorkflowRegistryObserverService();
|
|
@@ -4465,7 +4465,7 @@ var index_server_default$1 = (async ({ host, context }) => {
|
|
|
4465
4465
|
}],
|
|
4466
4466
|
onStart: () => {
|
|
4467
4467
|
if (host.scope === "session") return;
|
|
4468
|
-
context.inject([_agimon_ai_po_core_serverPlugin.
|
|
4468
|
+
context.inject([_agimon_ai_po_core_serverPlugin.PO_HOST_SERVICES_SERVICE], (injected) => (0, _agimon_ai_po_core_serverPlugin.readPoHostServices)(injected)?.register(host, createWorkflowRestartSweep(admitted)));
|
|
4469
4469
|
},
|
|
4470
4470
|
onDispose: async () => {
|
|
4471
4471
|
await provider.dispose();
|