@agimon-ai/po-file-edit 0.0.0-alpha.4 → 0.0.0-alpha.5

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.
@@ -2064,10 +2064,12 @@ const createFileEditServerRoot = (context) => {
2064
2064
  ...presence === void 0 ? {} : { presence }
2065
2065
  },
2066
2066
  activities: runtime.activities,
2067
- ...presence === void 0 ? {} : { services: [(cordis) => cordis.inject([_agimon_ai_po_core_childSession.PO_CHILD_SESSION_HOOK_REGISTRY_SERVICE], (registryContext) => {
2068
- const registration = registryContext.get(_agimon_ai_po_core_childSession.PO_CHILD_SESSION_HOOK_REGISTRY_SERVICE).register(presence.childHooks);
2069
- return () => registration.dispose();
2070
- })] },
2067
+ ...presence === void 0 ? {} : { services: [(cordis) => {
2068
+ cordis.inject([_agimon_ai_po_core_childSession.PO_CHILD_SESSION_HOOK_REGISTRY_SERVICE], (registryContext) => {
2069
+ const registration = registryContext.get(_agimon_ai_po_core_childSession.PO_CHILD_SESSION_HOOK_REGISTRY_SERVICE).register(presence.childHooks);
2070
+ return () => registration.dispose();
2071
+ });
2072
+ }] },
2071
2073
  onDispose: async (pluginContext) => {
2072
2074
  presence?.dispose();
2073
2075
  await runtime.onDispose?.(pluginContext);