@agimon-ai/po-file-edit 0.0.0-alpha.28 → 0.0.0-alpha.29

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.
@@ -2121,11 +2121,11 @@ const serverPlugin = (0, _agimon_ai_po_core_serverPlugin.defineServerPlugin)({
2121
2121
  name: "@agimon-ai/po-file-edit",
2122
2122
  providerOverrides: (0, _agimon_ai_po_core_serverPlugin.composeServerProviderOverrides)(root_server_default),
2123
2123
  injects: (0, _agimon_ai_po_core_extensionFile.composeRootInjects)({ session: [root_server_default] }),
2124
- global: () => ({ get channels() {
2125
- return [() => via({ frameType: "file_edits" }, fileEdits_server_default())];
2124
+ global: (context) => ({ get channels() {
2125
+ return [() => via({ frameType: "file_edits" }, at(fileEdits_server_default, context))];
2126
2126
  } }),
2127
2127
  workspace: (context) => ({ get channels() {
2128
- return defined([context.hosted("global") ? void 0 : () => via({ frameType: "file_edits" }, fileEdits_server_default())]);
2128
+ return defined([context.hosted("global") ? void 0 : () => via({ frameType: "file_edits" }, at(fileEdits_server_default, context))]);
2129
2129
  } }),
2130
2130
  session: async (context) => {
2131
2131
  const scopeSession = await context.scopeRoot("session", root_server_default, context);
@@ -2139,7 +2139,7 @@ const serverPlugin = (0, _agimon_ai_po_core_serverPlugin.defineServerPlugin)({
2139
2139
  return [at(route_server_default, contextSession)];
2140
2140
  },
2141
2141
  get channels() {
2142
- return defined([context.hosted("global") ? void 0 : () => via({ frameType: "file_edits" }, fileEdits_server_default())]);
2142
+ return defined([context.hosted("global") ? void 0 : () => via({ frameType: "file_edits" }, at(fileEdits_server_default, context))]);
2143
2143
  },
2144
2144
  get hooks() {
2145
2145
  return [