clodds 1.6.12 → 1.6.13
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/agents/index.js
CHANGED
|
@@ -16412,7 +16412,7 @@ async function createAgentManager(config, feeds, db, sessionManager, sendMessage
|
|
|
16412
16412
|
};
|
|
16413
16413
|
// Build final system prompt (Clawdbot-style)
|
|
16414
16414
|
// Priority: routed agent prompt > default system prompt
|
|
16415
|
-
const skillContext = skills.
|
|
16415
|
+
const skillContext = skills.getSkillContextForMessage(processedMessage.text || '');
|
|
16416
16416
|
const baseSystemPrompt = SYSTEM_PROMPT.replace('{{SKILLS}}', skillContext ? `\n## Skills Reference\n${skillContext}` : '');
|
|
16417
16417
|
let finalSystemPrompt = session.context.routedAgentPrompt || baseSystemPrompt;
|
|
16418
16418
|
// Add memory context if available
|