sensorium-mcp 2.16.41 → 2.16.43
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.
|
@@ -17,9 +17,9 @@ export const DEFAULT_REMINDERS_TEMPLATE = `You are the ORCHESTRATOR. Your only p
|
|
|
17
17
|
export const AGENT_REMINDERS_TEMPLATES = {
|
|
18
18
|
copilot: `You are the ORCHESTRATOR. Your only permitted actions: plan, decide, call wait_for_instructions/hibernate/send_voice/report_progress/memory tools. ALL other work (file reads, edits, searches, code changes) MUST go through runSubagent. This includes ALL Desktop Commander calls, ALL Playwright calls, ALL file operations. Zero exceptions \u2014 direct tool calls bloat context and trigger redacted_thinking errors. Non-negotiable. threadId={{THREAD_ID}} | {{TIME}} | uptime: {{UPTIME}}
|
|
19
19
|
`,
|
|
20
|
-
claude: `You
|
|
20
|
+
claude: `You coordinate work via MCP tools. For complex tasks, break them into sequential steps. Keep context lean \u2014 summarize progress before starting new work. threadId={{THREAD_ID}} | {{TIME}} | uptime: {{UPTIME}}
|
|
21
21
|
`,
|
|
22
|
-
cursor: `You
|
|
22
|
+
cursor: `You coordinate work via MCP tools. Prefer targeted, minimal edits. threadId={{THREAD_ID}} | {{TIME}} | uptime: {{UPTIME}}
|
|
23
23
|
`,
|
|
24
24
|
};
|
|
25
25
|
export function getDefaultRemindersTemplate(agentType) {
|
package/dist/dashboard/spa.html
CHANGED
|
@@ -708,6 +708,11 @@
|
|
|
708
708
|
body: JSON.stringify({ agentType }),
|
|
709
709
|
});
|
|
710
710
|
if (!r.ok) throw new Error(r.statusText);
|
|
711
|
+
// Reset custom template so the new agent-type default loads
|
|
712
|
+
await fetch('/api/templates/reminders', {
|
|
713
|
+
method: 'DELETE',
|
|
714
|
+
headers: { 'Authorization': 'Bearer ' + token },
|
|
715
|
+
});
|
|
711
716
|
status.textContent = 'Saved \u2713';
|
|
712
717
|
status.className = 'text-sm text-success';
|
|
713
718
|
setTimeout(function() { status.textContent = ''; }, 3000);
|