@agimon-ai/po-runner 0.0.0-alpha.150 → 0.0.0-alpha.152

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.
@@ -1885,6 +1885,10 @@ const api = {
1885
1885
  };
1886
1886
  }
1887
1887
  };
1888
+ /** The edge build reads its run records from the session root (`index.edge.ts`). Node has its own registry. */
1889
+ function createRunnerApi(_root) {
1890
+ return api;
1891
+ }
1888
1892
  //#endregion
1889
1893
  //#region src/extensions/workspaces/sessions/(backend)/api/runner/route.server.ts
1890
1894
  /**
@@ -1895,7 +1899,7 @@ const api = {
1895
1899
  * rather than in a constant and in four URL builders that were each free to
1896
1900
  * drift.
1897
1901
  */
1898
- var route_server_default = (0, _agimon_ai_po_core_extensionFile.defineRoute)(api);
1902
+ var route_server_default = (0, _agimon_ai_po_core_extensionFile.defineRoute)(({ root }) => createRunnerApi(root));
1899
1903
  //#endregion
1900
1904
  //#region src/extensions/workspaces/sessions/(backend)/command/runners.server.ts
1901
1905
  var runners_server_default = (0, _agimon_ai_po_core_extensionFile.defineServerCommand)((context) => context.root.command);