@torqon/mcp 0.2.1 → 0.2.3

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/index.js CHANGED
@@ -76,9 +76,18 @@ function hasSignal(text) {
76
76
  return words.length >= 3;
77
77
  }
78
78
  // ── MCP Server ───────────────────────────────────────────────────────────────
79
- const server = new McpServer({
80
- name: 'torqon',
81
- version: '0.1.4',
79
+ const server = new McpServer({ name: 'torqon', version: '0.2.3' }, {
80
+ instructions: `Torqon persistent memory is active for this conversation.
81
+
82
+ RULE: Call auto_process with the full user message BEFORE you respond to anything — every message, no exceptions, including greetings and one-word replies. It runs in under 200ms and simultaneously stores new facts AND retrieves relevant memory.
83
+
84
+ After auto_process returns:
85
+ - If it returns "[Torqon memory]" facts, treat them as ground truth. Use exact stored values (names, decisions, stack choices, numbers).
86
+ - If it returns "No relevant memory found", answer normally.
87
+
88
+ Also call store_memory explicitly whenever the user shares their name, a project name, a key decision, a tech stack choice, a deadline, a constraint, or a preference. auto_process stores automatically but store_memory is for high-value facts you want confirmed saved.
89
+
90
+ Session ID: ${SESSION_ID}`,
82
91
  });
83
92
  // Auto-injected system prompt — Claude Desktop loads this at conversation start.
84
93
  // Written as a SYSTEM-level instruction so Claude treats it as a standing rule.
package/dist/install.js CHANGED
@@ -49,7 +49,14 @@ function getConfigPath(client) {
49
49
  return { path: join(home, 'Library/Application Support/Zed/settings.json'), format: 'json' };
50
50
  return { path: join(home, '.config/zed/settings.json'), format: 'json' };
51
51
  }
52
- throw new Error(`Unknown client: ${client}. Supported: claude, cursor, windsurf, codex, zed`);
52
+ if (client === 'vscode') {
53
+ if (os === 'win32')
54
+ return { path: `${process.env.APPDATA}\\Code\\User\\globalStorage\\saoudrizwan.claude-dev\\settings\\cline_mcp_settings.json`, format: 'json' };
55
+ if (os === 'darwin')
56
+ return { path: join(home, 'Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json'), format: 'json' };
57
+ return { path: join(home, '.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json'), format: 'json' };
58
+ }
59
+ throw new Error(`Unknown client: ${client}. Supported: claude, cursor, windsurf, codex, zed, vscode`);
53
60
  }
54
61
  function installJson(client, configPath, apiKey, apiUrl) {
55
62
  const configDir = configPath.substring(0, Math.max(configPath.lastIndexOf('\\'), configPath.lastIndexOf('/')));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@torqon/mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {