senq-mcp 1.4.1 → 1.4.2

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
@@ -9,7 +9,7 @@ if (process.argv[2] === "setup") {
9
9
  await runSetup();
10
10
  process.exit(0);
11
11
  }
12
- const server = new Server({ name: "senq-mcp", version: "1.4.1" }, { capabilities: { tools: {}, prompts: {} } });
12
+ const server = new Server({ name: "senq-mcp", version: "1.4.2" }, { capabilities: { tools: {}, prompts: {} } });
13
13
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
14
14
  tools: [
15
15
  {
package/dist/setup.js CHANGED
@@ -78,7 +78,7 @@ function mergeConfig(configPath, apiKey) {
78
78
  catch { /* corrupt — start fresh */ }
79
79
  }
80
80
  const mcpServers = config["mcpServers"] ?? {};
81
- mcpServers["senq"] = { command: "npx", args: ["senq-mcp"], env: { SENQ_API_KEY: apiKey } };
81
+ mcpServers["senq"] = { command: "npx", args: ["senq-mcp@latest"], env: { SENQ_API_KEY: apiKey } };
82
82
  config["mcpServers"] = mcpServers;
83
83
  fs.mkdirSync(path.dirname(configPath), { recursive: true });
84
84
  fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + "\n");
@@ -89,7 +89,7 @@ function mergeCodexConfig(configPath, apiKey) {
89
89
  if (fs.existsSync(configPath)) {
90
90
  existing = fs.readFileSync(configPath, "utf8");
91
91
  }
92
- const senqBlock = `[mcp_servers.senq]\ncommand = "npx"\nargs = ["senq-mcp"]\n\n[mcp_servers.senq.env]\nSENQ_API_KEY = "${apiKey}"`;
92
+ const senqBlock = `[mcp_servers.senq]\ncommand = "npx"\nargs = ["senq-mcp@latest"]\n\n[mcp_servers.senq.env]\nSENQ_API_KEY = "${apiKey}"`;
93
93
  if (existing.includes("[mcp_servers.senq]")) {
94
94
  // Replace existing senq block
95
95
  const updated = existing.replace(/\[mcp_servers\.senq\][\s\S]*?SENQ_API_KEY\s*=\s*"[^"]*"/, senqBlock);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "senq-mcp",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "MCP server for Senq — connect your AI to tasks and knowledge",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -17,7 +17,7 @@ if (process.argv[2] === "setup") {
17
17
  }
18
18
 
19
19
  const server = new Server(
20
- { name: "senq-mcp", version: "1.4.1" },
20
+ { name: "senq-mcp", version: "1.4.2" },
21
21
  { capabilities: { tools: {}, prompts: {} } },
22
22
  );
23
23
 
package/src/setup.ts CHANGED
@@ -82,7 +82,7 @@ function mergeConfig(configPath: string, apiKey: string): void {
82
82
  try { config = JSON.parse(fs.readFileSync(configPath, "utf8")); } catch { /* corrupt — start fresh */ }
83
83
  }
84
84
  const mcpServers = (config["mcpServers"] as Record<string, unknown>) ?? {};
85
- mcpServers["senq"] = { command: "npx", args: ["senq-mcp"], env: { SENQ_API_KEY: apiKey } };
85
+ mcpServers["senq"] = { command: "npx", args: ["senq-mcp@latest"], env: { SENQ_API_KEY: apiKey } };
86
86
  config["mcpServers"] = mcpServers;
87
87
  fs.mkdirSync(path.dirname(configPath), { recursive: true });
88
88
  fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + "\n");
@@ -95,7 +95,7 @@ function mergeCodexConfig(configPath: string, apiKey: string): void {
95
95
  existing = fs.readFileSync(configPath, "utf8");
96
96
  }
97
97
 
98
- const senqBlock = `[mcp_servers.senq]\ncommand = "npx"\nargs = ["senq-mcp"]\n\n[mcp_servers.senq.env]\nSENQ_API_KEY = "${apiKey}"`;
98
+ const senqBlock = `[mcp_servers.senq]\ncommand = "npx"\nargs = ["senq-mcp@latest"]\n\n[mcp_servers.senq.env]\nSENQ_API_KEY = "${apiKey}"`;
99
99
 
100
100
  if (existing.includes("[mcp_servers.senq]")) {
101
101
  // Replace existing senq block