sensorium-mcp 2.16.41 → 2.16.42

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 are the ORCHESTRATOR. Coordinate work using available MCP tools. For complex multi-step tasks, break them into sequential steps and execute each one carefully. Keep context lean by summarizing before proceeding to new tasks. threadId={{THREAD_ID}} | {{TIME}} | uptime: {{UPTIME}}
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 are the ORCHESTRATOR. Use available MCP tools to execute tasks. For file changes, prefer targeted edits over large rewrites. threadId={{THREAD_ID}} | {{TIME}} | uptime: {{UPTIME}}
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) {
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sensorium-mcp",
3
- "version": "2.16.41",
3
+ "version": "2.16.42",
4
4
  "description": "MCP server for remote control of AI assistants via Telegram",
5
5
  "main": "dist/index.js",
6
6
  "bin": {