@gotza02/sequential-thinking 2026.1.21 → 2026.1.23

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/README.md CHANGED
@@ -44,7 +44,7 @@ Search the web using Brave or Exa APIs.
44
44
  Requires one of the following environment variable sets:
45
45
  - `BRAVE_API_KEY` (for Brave Search)
46
46
  - `EXA_API_KEY` (for Exa Search)
47
- - `GOOGLE_API_KEY` and `GOOGLE_CX` (for Google Custom Search)
47
+ - `GOOGLE_SEARCH_API_KEY` and `GOOGLE_SEARCH_CX` (for Google Custom Search)
48
48
 
49
49
  ### fetch
50
50
 
@@ -103,7 +103,7 @@ The Sequential Thinking tool is designed for:
103
103
 
104
104
  ### Usage with Claude Desktop
105
105
 
106
- Add this to your `claude_desktop_config.json`:
106
+ Add this to your `claude_desktop_config.json`. You can configure API keys directly here:
107
107
 
108
108
  #### npx
109
109
 
@@ -115,7 +115,13 @@ Add this to your `claude_desktop_config.json`:
115
115
  "args": [
116
116
  "-y",
117
117
  "@gotza02/sequential-thinking"
118
- ]
118
+ ],
119
+ "env": {
120
+ "BRAVE_API_KEY": "YOUR_BRAVE_API_KEY",
121
+ "EXA_API_KEY": "YOUR_EXA_API_KEY",
122
+ "GOOGLE_SEARCH_API_KEY": "YOUR_GOOGLE_SEARCH_API_KEY",
123
+ "GOOGLE_SEARCH_CX": "YOUR_GOOGLE_SEARCH_CX"
124
+ }
119
125
  }
120
126
  }
121
127
  }
@@ -140,6 +146,11 @@ npm run build
140
146
  npm test
141
147
  ```
142
148
 
149
+ ## Recent Updates (v2026.1.22)
150
+
151
+ - **Environment Variables**:
152
+ - Renamed Google Search environment variables to `GOOGLE_SEARCH_API_KEY` and `GOOGLE_SEARCH_CX` to avoid conflicts and improve clarity.
153
+
143
154
  ## Recent Updates (v2026.1.21)
144
155
 
145
156
  - **Performance & Accuracy**:
package/dist/index.js CHANGED
@@ -112,10 +112,10 @@ server.tool("web_search", "Search the web using Brave or Exa APIs (requires API
112
112
  selectedProvider = 'brave';
113
113
  else if (process.env.EXA_API_KEY)
114
114
  selectedProvider = 'exa';
115
- else if (process.env.GOOGLE_API_KEY)
115
+ else if (process.env.GOOGLE_SEARCH_API_KEY)
116
116
  selectedProvider = 'google';
117
117
  else
118
- return { content: [{ type: "text", text: "Error: No search provider configured. Please set BRAVE_API_KEY, EXA_API_KEY, or GOOGLE_API_KEY." }], isError: true };
118
+ return { content: [{ type: "text", text: "Error: No search provider configured. Please set BRAVE_API_KEY, EXA_API_KEY, or GOOGLE_SEARCH_API_KEY." }], isError: true };
119
119
  }
120
120
  if (selectedProvider === 'brave') {
121
121
  if (!process.env.BRAVE_API_KEY)
@@ -145,11 +145,11 @@ server.tool("web_search", "Search the web using Brave or Exa APIs (requires API
145
145
  return { content: [{ type: "text", text: JSON.stringify(data.results || data, null, 2) }] };
146
146
  }
147
147
  if (selectedProvider === 'google') {
148
- if (!process.env.GOOGLE_API_KEY)
149
- throw new Error("GOOGLE_API_KEY not found");
150
- if (!process.env.GOOGLE_CX)
151
- throw new Error("GOOGLE_CX (Search Engine ID) not found");
152
- const response = await fetch(`https://www.googleapis.com/customsearch/v1?key=${process.env.GOOGLE_API_KEY}&cx=${process.env.GOOGLE_CX}&q=${encodeURIComponent(query)}&num=5`);
148
+ if (!process.env.GOOGLE_SEARCH_API_KEY)
149
+ throw new Error("GOOGLE_SEARCH_API_KEY not found");
150
+ if (!process.env.GOOGLE_SEARCH_CX)
151
+ throw new Error("GOOGLE_SEARCH_CX (Search Engine ID) not found");
152
+ const response = await fetch(`https://www.googleapis.com/customsearch/v1?key=${process.env.GOOGLE_SEARCH_API_KEY}&cx=${process.env.GOOGLE_SEARCH_CX}&q=${encodeURIComponent(query)}&num=5`);
153
153
  if (!response.ok)
154
154
  throw new Error(`Google API error: ${response.statusText}`);
155
155
  const data = await response.json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gotza02/sequential-thinking",
3
- "version": "2026.1.21",
3
+ "version": "2026.1.23",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },