@hotmeshio/long-tail 0.2.1 → 0.2.2

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.
@@ -220,9 +220,11 @@ async function startWorkers(startConfig, workers, builtinMcpServerFactories) {
220
220
  // Register workers for active YAML (deterministic) workflows
221
221
  await yamlWorkflowWorkers.registerAllActiveWorkers();
222
222
  }
223
- // Seed agents (from startConfig + system agents)
224
- const { getSystemAgents } = await Promise.resolve().then(() => __importStar(require('../system')));
225
- const allAgentConfigs = [...(startConfig.agents ?? []), ...getSystemAgents()];
223
+ // Seed agents (from startConfig + example system agents when enabled)
224
+ const systemAgents = startConfig.examples
225
+ ? (await Promise.resolve().then(() => __importStar(require('../system')))).getSystemAgents()
226
+ : [];
227
+ const allAgentConfigs = [...(startConfig.agents ?? []), ...systemAgents];
226
228
  if (allAgentConfigs.length > 0) {
227
229
  const { seedAgent, getAgentByName } = await Promise.resolve().then(() => __importStar(require('../services/agent')));
228
230
  const { seedSubscription } = await Promise.resolve().then(() => __importStar(require('../services/agent/subscriptions')));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotmeshio/long-tail",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Long Tail Workflows — Durable AI workflows with human-in-the-loop escalation. Powered by PostgreSQL.",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",