@uniswap/ai-toolkit-nx-claude 0.5.22 → 0.5.23-next.0

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.
@@ -102,7 +102,7 @@ function updateRefreshToken(newRefreshToken: string, verbose?: boolean): void;
102
102
 
103
103
  **Token Storage**:
104
104
 
105
- - Access token: `~/.claude.json` → `mcpServers["zencoder-slack"].env.SLACK_BOT_TOKEN`
105
+ - Access token: `~/.claude.json` → `mcpServers["slack"].env.SLACK_BOT_TOKEN`
106
106
  - Refresh token: `~/.config/claude-code/slack-env.sh` (updated in-place)
107
107
 
108
108
  **API Endpoints**:
@@ -125,7 +125,7 @@ source ~/.config/claude-code/slack-env.sh && claude-plus
125
125
 
126
126
  ### Claude Configuration
127
127
 
128
- The tool reads and updates `~/.claude.json` to manage the Slack bot token for the `zencoder-slack` MCP server.
128
+ The tool reads and updates `~/.claude.json` to manage the Slack bot token for the `slack` MCP server.
129
129
 
130
130
  ## How It Works
131
131
 
@@ -315,7 +315,7 @@ function getCurrentToken() {
315
315
  }
316
316
  try {
317
317
  const config = JSON.parse(fs2.readFileSync(CLAUDE_CONFIG_PATH, "utf-8"));
318
- return config?.mcpServers?.["zencoder-slack"]?.env?.SLACK_BOT_TOKEN || null;
318
+ return config?.mcpServers?.["slack"]?.env?.SLACK_BOT_TOKEN || null;
319
319
  } catch {
320
320
  return null;
321
321
  }
@@ -425,14 +425,14 @@ function updateClaudeConfig(newToken, verbose) {
425
425
  config.mcpServers = {};
426
426
  }
427
427
  const mcpServers = config.mcpServers;
428
- if (!mcpServers["zencoder-slack"]) {
429
- mcpServers["zencoder-slack"] = {};
428
+ if (!mcpServers["slack"]) {
429
+ mcpServers["slack"] = {};
430
430
  }
431
- const zencoderSlack = mcpServers["zencoder-slack"];
432
- if (!zencoderSlack.env) {
433
- zencoderSlack.env = {};
431
+ const slack = mcpServers["slack"];
432
+ if (!slack.env) {
433
+ slack.env = {};
434
434
  }
435
- const env = zencoderSlack.env;
435
+ const env = slack.env;
436
436
  env.SLACK_BOT_TOKEN = newToken;
437
437
  fs2.writeFileSync(CLAUDE_CONFIG_PATH, JSON.stringify(config, null, 2));
438
438
  displayDebug("Claude config updated successfully", verbose);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/ai-toolkit-nx-claude",
3
- "version": "0.5.22",
3
+ "version": "0.5.23-next.0",
4
4
  "private": false,
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.cjs",