diff --git a/src/tools/prompts.js b/src/tools/prompts.js index b14b17e..37e4ee8 100644 --- a/src/tools/prompts.js +++ b/src/tools/prompts.js @@ -257,7 +257,7 @@ export const TOOL_PARAMETER_DESCRIPTIONS = { subagent: { note: NOTE_DESC, task: 'Specific instructions and goal for the subagent.', - skills: 'Array of SKILL names or slugs to inject directly into the subagent system prompt (e.g. ["api-article", "label"]).', + skills: 'Array of SKILLs (e.g. ["api-article.SKILL", "label.SKILL"]) to inject directly into the subagent system prompt.', conversation_id: 'Existing subagent conversation ID to follow up on, or null to create a new one.', max_iterations: 'Safety bound on tool loops (default 15, max 30).', }, @@ -356,17 +356,17 @@ export async function buildSystemPrompt(vfsRoot, googleAuthId) { } } - const today = new Date().toISOString().split('T')[0]; + const today = new Date().toLocaleDateString('sv-SE', { timeZone: 'Europe/Berlin' }); const basePrompt = [ 'QuixPOS Article Management System API Assistant', '[TESTSYSTEM: destructive commands allowed; primary goal is finding bugs]', - '', + '---', SYSTEM_PROMPT_RULES, - '', + '---', SYSTEM_PROMPT_ROUTE_MATRIX, - '', + '---', `Date: ${today}`, - '', + '---', buildSkillIndex(vfsRoot), ].join('\n');