@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.
- package/build/start/workers.js +5 -3
- package/package.json +1 -1
package/build/start/workers.js
CHANGED
|
@@ -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
|
|
225
|
-
|
|
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