@sema-agent/server 1.266.0 → 1.267.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/main.js CHANGED
@@ -1278,6 +1278,7 @@ async function main() {
1278
1278
  : {}),
1279
1279
  };
1280
1280
  const scenarios = buildScenarios(scenarioDeps);
1281
+ const parkedReviveTool = checkpointStore && backgroundAgentStore ? scenarios.default?.({})?.tools.find((t) => t.name === "Agent") : undefined;
1281
1282
  const scenarioDetails = builtinScenarioDetails(scenarios, scenarioDeps);
1282
1283
  const builtinScenarioNames = Object.keys(scenarioDetails);
1283
1284
  if (effective?.scenarios) {
@@ -1754,6 +1755,8 @@ async function main() {
1754
1755
  : {}),
1755
1756
  approvalStore,
1756
1757
  checkpointStore,
1758
+ ...(backgroundAgentStore ? { backgroundAgentStore } : {}),
1759
+ ...(parkedReviveTool ? { parkedReviveTool } : {}),
1757
1760
  imageIndex,
1758
1761
  imageBakes,
1759
1762
  leaderEndpoint,