@gotza02/sequential-thinking 2026.1.31 → 2026.2.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.
package/README.md CHANGED
@@ -1,192 +1,155 @@
1
1
  # Sequential Thinking MCP Server
2
2
 
3
- An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process (Tree of Thoughts, Self-Reflexion).
3
+ MCP Server นี้ถูกออกแบบมาเพื่อช่วยให้ AI สามารถคิดวิเคราะห์แก้ปัญหาได้อย่างเป็นระบบ (Sequential Thinking) ผ่านกระบวนการคิดแบบทีละขั้นตอน (Step-by-step), การแตกแขนงความคิด (Tree of Thoughts) และการทบทวนตัวเอง (Self-Reflexion)
4
4
 
5
- ## Features
5
+ ## ฟีเจอร์หลัก (Features)
6
6
 
7
- - **Sequential Analysis**: Break down complex problems into manageable linear steps.
8
- - **Iterative Reasoning**: Think step-by-step in a structured manner, refining insights in loops.
9
- - **Tree of Thoughts**: Generate and evaluate multiple options, exploring Conservative, Balanced, and Aggressive strategies.
10
- - **Self-Critique**: Actively check for risks, biases, and potential errors in the thinking process.
11
- - **Branch Merging**: Synthesize and combine insights from multiple divergent reasoning paths.
12
- - **Hypothesis Testing**: Formulate specific hypotheses and verify them against evidence or logic.
13
- - **Option Evaluation**: Score and weigh different options (`evaluation`) to make informed decisions.
14
- - **Self-Reflexion**: Review and correct previous thoughts (`reflexion`) to improve accuracy.
15
- - **Dynamic Adjustment**: Adjust the total number of thoughts dynamically as understanding deepens.
7
+ - **การวิเคราะห์ตามลำดับ (Sequential Analysis)**: ย่อยปัญหาที่ซับซ้อนให้เป็นขั้นตอนย่อยๆ ที่จัดการได้ง่าย
8
+ - **การให้เหตุผลแบบวนซ้ำ (Iterative Reasoning)**: คิดทีละขั้นตอนอย่างมีโครงสร้าง และปรับปรุงผลลัพธ์ผ่านการวนรอบ
9
+ - **แตกแขนงความคิด (Tree of Thoughts)**: สร้างและประเมินทางเลือกหลายๆ ทาง (เช่น กลยุทธ์แบบระมัดระวัง, แบบสมดุล, หรือแบบกล้าเสี่ยง)
10
+ - **การวิจารณ์ตัวเอง (Self-Critique)**: ตรวจสอบความเสี่ยง ข้อผิดพลาด และอคติในกระบวนการคิดอย่างสม่ำเสมอ
11
+ - **รวมความคิด (Branch Merging)**: สังเคราะห์และรวบรวมข้อมูลเชิงลึกจากเส้นทางการคิดที่แตกต่างกัน
12
+ - **การทดสอบสมมติฐาน (Hypothesis Testing)**: ตั้งสมมติฐานและตรวจสอบความถูกต้องด้วยหลักฐานหรือตรรกะ
13
+ - **ประเมินทางเลือก (Option Evaluation)**: ให้คะแนนและชั่งน้ำหนักทางเลือกต่างๆ (`evaluation`) เพื่อช่วยตัดสินใจ
14
+ - **ทบทวนตัวเอง (Self-Reflexion)**: ย้อนกลับไปแก้ไขความคิดก่อนหน้า (`reflexion`) เพื่อปรับปรุงความแม่นยำ
15
+ - **ปรับเปลี่ยนแบบไดนามิก (Dynamic Adjustment)**: ปรับจำนวนขั้นตอนการคิดเพิ่มหรือลดได้ตามความเหมาะสมของสถานการณ์
16
16
 
17
- ## System Instruction for AI
17
+ ## คำแนะนำระบบสำหรับ AI (System Instruction)
18
18
 
19
- When connected to this server, you should follow these guidelines to maximize problem-solving effectiveness:
19
+ เมื่อเชื่อมต่อกับ Server นี้ AI ควรปฏิบัติตามแนวทางต่อไปนี้เพื่อให้แก้ปัญหาได้ดีที่สุด:
20
20
 
21
- 1. **Iterative Thinking**: Use the `sequentialthinking` tool for every complex task. Do not try to provide a final answer immediately. Instead, break the problem into steps, generate hypotheses, and evaluate them.
22
- 2. **Context Discovery**: Before modifying code, always use `build_project_graph` followed by `get_project_graph_summary` to understand the project architecture. Use `get_file_relationships` to see how specific files are connected.
23
- 3. **Fact Verification**: Use `web_search` to verify current facts, library versions, or documentation. Use `fetch` to retrieve raw data from external sources when needed.
24
- 4. **Local Execution**: Use `shell_execute` to run tests, linters, or build commands to verify your changes. Always read files using `read_file` before attempting to write or modify them.
25
- 5. **Persistence**: The thinking process is saved automatically. You can resume previous sessions by reviewing the `thoughts_history.json` file if needed.
21
+ 1. **การคิดแบบวนซ้ำ (Iterative Thinking)**: ใช้เครื่องมือ `sequentialthinking` สำหรับงานที่ซับซ้อน **อย่า** พยายามตอบทันที ให้แตกปัญหาเป็นขั้นตอน ตั้งสมมติฐาน และประเมินผล
22
+ 2. **สำรวจบริบท (Context Discovery)**: ก่อนแก้ไขโค้ด ให้ใช้ `build_project_graph` ตามด้วย `get_project_graph_summary` เพื่อเข้าใจโครงสร้างโปรเจกต์เสมอ และใช้ `get_file_relationships` เพื่อดูความสัมพันธ์ของไฟล์
23
+ 3. **ตรวจสอบข้อเท็จจริง (Fact Verification)**: ใช้ `web_search` เพื่อตรวจสอบข้อมูลล่าสุด, เวอร์ชั่นของ Library หรือเอกสาร และใช้ `fetch` เพื่อดึงข้อมูลดิบเมื่อจำเป็น
24
+ 4. **รันคำสั่ง (Local Execution)**: ใช้ `shell_execute` เพื่อรัน Test, Linter หรือ Build เพื่อตรวจสอบความถูกต้องของการแก้ไข อ่านไฟล์ด้วย `read_file` ก่อนเขียนทับเสมอ
25
+ 5. **ความต่อเนื่อง (Persistence)**: กระบวนการคิดจะถูกบันทึกอัตโนมัติ หากทำงานค้างไว้ สามารถย้อนกลับมาดูไฟล์ `thoughts_history.json` ได้
26
26
 
27
- ## Detailed Tool Guide
27
+ ## คู่มือการใช้งานเครื่องมือ (Detailed Tool Guide)
28
28
 
29
- ### 🧠 Cognitive Tools
29
+ ### 🧠 เครื่องมือช่วยคิด (Cognitive Tools)
30
30
 
31
31
  #### `sequentialthinking`
32
- The core engine for structured problem-solving. It forces a step-by-step analysis before arriving at a conclusion.
32
+ หัวใจหลักสำหรับการแก้ปัญหาอย่างมีโครงสร้าง บังคับให้คิดวิเคราะห์ทีละขั้นตอนก่อนจะสรุปผล
33
33
 
34
34
  **Inputs:**
35
- - `thought` (string, required): The content of the current thinking step.
36
- - `thoughtNumber` (integer, required): Current step number (starts at 1).
37
- - `totalThoughts` (integer, required): Estimated total steps needed (can be adjusted dynamically).
38
- - `nextThoughtNeeded` (boolean, required): `true` if you need to think more, `false` only when the final answer is ready.
39
- - `thoughtType` (enum): The nature of the thought:
40
- - `analysis`: Breaking down the problem.
41
- - `generation`: Brainstorming solutions.
42
- - `evaluation`: Weighing options (use with `score`).
43
- - `reflexion`: Reviewing previous thoughts (use with `isRevision`).
44
- - `selection`: Choosing a path.
45
- - `isRevision` (boolean): Set to `true` if you are correcting a previous mistake.
46
- - `revisesThought` (integer): The thought number you are fixing.
47
- - `branchFromThought` (integer): The parent thought number if creating a new reasoning branch.
48
- - `branchId` (string): A name for the new branch.
49
-
50
- **Best Practice:** Use this for ANY non-trivial task. Don't just answer; think first.
35
+ - `thought` (string, required): เนื้อหาของความคิดในขั้นตอนนี้
36
+ - `thoughtNumber` (integer, required): ลำดับขั้นตอนปัจจุบัน (เริ่มที่ 1)
37
+ - `totalThoughts` (integer, required): จำนวนขั้นตอนที่คาดว่าจะใช้ (ปรับเปลี่ยนได้ตลอด)
38
+ - `nextThoughtNeeded` (boolean, required): `true` ถ้าต้องคิดต่อ, `false` เมื่อได้คำตอบสุดท้ายแล้ว
39
+ - `thoughtType` (enum): ประเภทของความคิด:
40
+ - `analysis`: วิเคราะห์แยกแยะปัญหา
41
+ - `generation`: ระดมสมองหาทางออก
42
+ - `evaluation`: ประเมินทางเลือก (ใช้คู่กับ `score`)
43
+ - `reflexion`: ทบทวนความคิดก่อนหน้า (ใช้คู่กับ `isRevision`)
44
+ - `selection`: เลือกเส้นทางที่จะไปต่อ
45
+ - `isRevision` (boolean): `true` ถ้ากำลังแก้ไขข้อผิดพลาดก่อนหน้า
46
+ - `revisesThought` (integer): ระบุหมายเลขขั้นตอนที่กำลังแก้ไข
47
+ - `branchFromThought` (integer): หมายเลขขั้นตอนแม่ ถ้าต้องการแตกกิ่งความคิดใหม่
48
+ - `branchId` (string): ชื่อระบุของกิ่งความคิดนั้น (Branch ID)
49
+
50
+ **ข้อแนะนำ:** ใช้เครื่องมือนี้กับงานทุกอย่างที่ไม่ใช่คำถามพื้นฐาน อย่าเพิ่งรีบตอบ ให้คิดก่อน
51
51
 
52
52
  #### `clear_thought_history`
53
- Clears the stored thinking history. Use this to start fresh or free up context.
53
+ ล้างประวัติการคิดทั้งหมด ใช้เมื่อต้องการเริ่มงานใหม่หรือเคลียร์ Context
54
54
 
55
55
  #### `summarize_history`
56
- Compresses multiple thoughts into a single summary thought. This is essential for long reasoning chains to save token context while preserving the core insights.
56
+ ย่อรวมความคิดหลายๆ ขั้นตอนให้เป็นสรุปเดียว จำเป็นมากสำหรับการคิดที่ยาวนาน เพื่อประหยัด Token
57
57
 
58
58
  **Inputs:**
59
- - `startIndex` (integer): Start of the range to summarize.
60
- - `endIndex` (integer): End of the range to summarize.
61
- - `summary` (string): The summary text that replaces the range.
59
+ - `startIndex` (integer): จุดเริ่มต้นที่จะสรุป
60
+ - `endIndex` (integer): จุดสิ้นสุดที่จะสรุป
61
+ - `summary` (string): ข้อความสรุป
62
62
 
63
- ### 🌐 External Knowledge
63
+ ### 🌐 ความรู้ภายนอก (External Knowledge)
64
64
 
65
65
  #### `web_search`
66
- Retrieves real-time information from the internet.
66
+ ค้นหาข้อมูลแบบ Real-time จากอินเทอร์เน็ต
67
67
 
68
68
  **Inputs:**
69
- - `query` (string, required): What you want to find.
69
+ - `query` (string, required): คำค้นหา
70
70
  - `provider` (enum, optional):
71
- - `brave`: General web search (Requires `BRAVE_API_KEY`).
72
- - `exa`: AI-optimized search for deep content (Requires `EXA_API_KEY`).
73
- - `google`: Google Custom Search (Requires `GOOGLE_SEARCH_API_KEY` & `GOOGLE_SEARCH_CX`).
71
+ - `brave`: ค้นหาเว็บทั่วไป (ต้องมี `BRAVE_API_KEY`)
72
+ - `exa`: ค้นหาเชิงลึกด้วย AI (ต้องมี `EXA_API_KEY`)
73
+ - `google`: Google Custom Search (ต้องมี `GOOGLE_SEARCH_API_KEY` & `GOOGLE_SEARCH_CX`)
74
74
 
75
75
  #### `fetch`
76
- Performs a direct HTTP request to a URL. Useful for getting raw HTML, JSON, or text from a specific source found via search.
76
+ ดึงข้อมูล HTTP Request จาก URL โดยตรง มีประโยชน์มากสำหรับดึง HTML, JSON หรือ Text จากแหล่งข้อมูลที่เจอผ่าน Search
77
77
 
78
78
  **Inputs:**
79
- - `url` (string, required): The target URL.
80
- - `method`: `GET` (default), `POST`, `PUT`, `DELETE`.
81
- - `headers`: JSON object for headers (e.g., `{"Authorization": "Bearer..."}`).
82
- - `body`: Request body for POST/PUT.
79
+ - `url` (string, required): URL เป้าหมาย
80
+ - `method`: `GET` (default), `POST`, `PUT`, `DELETE`
81
+ - `headers`: JSON Object สำหรับ Headers
82
+ - `body`: Request Body สำหรับ POST/PUT
83
83
 
84
84
  #### `read_webpage`
85
- Reads a webpage and converts it to clean Markdown, removing ads and navigation. Great for reading articles or documentation to save tokens.
85
+ อ่านหน้าเว็บและแปลงเป็น Markdown ที่สะอาด (ตัดโฆษณาและเมนูออก) เหมาะสำหรับอ่านบทความหรือ Document เพื่อประหยัด Token
86
86
 
87
87
  **Inputs:**
88
- - `url` (string, required): The URL to read.
88
+ - `url` (string, required): URL ที่จะอ่าน
89
89
 
90
- ### 🏗 Codebase Intelligence
90
+ ### 🏗 ความฉลาดด้านโค้ด (Codebase Intelligence)
91
91
 
92
92
  #### `build_project_graph`
93
- **RUN THIS FIRST** when entering a new project. It scans the directory and builds a map of file dependencies using TypeScript AST analysis. Now also extracts **exported symbols** (Functions, Classes, Variables) to provide deeper structural insight.
93
+ **รันคำสั่งนี้เป็นอันดับแรก** เมื่อเริ่มโปรเจกต์ใหม่ มันจะสแกนโฟลเดอร์และสร้างแผนผังความสัมพันธ์ (Dependency Graph) โดยใช้ TypeScript AST Analysis รวมถึงดึงข้อมูล **Exported Symbols** (Functions, Classes, Variables) ออกมาด้วย
94
94
 
95
95
  **Inputs:**
96
- - `path` (string, optional): Root directory (defaults to `.`).
96
+ - `path` (string, optional): โฟลเดอร์ราก (Default คือ `.`)
97
97
 
98
98
  #### `get_project_graph_summary`
99
- Get overview of project structure and most referenced files.
99
+ ดูภาพรวมโครงสร้างโปรเจกต์และไฟล์ที่ถูกอ้างอิงถึงบ่อยที่สุด
100
100
 
101
101
  #### `get_project_graph_visualization`
102
- Get a Mermaid Diagram string representing the project's dependency graph. You can render this string in a Markdown viewer that supports Mermaid.
102
+ สร้าง Mermaid Diagram String แสดงความสัมพันธ์ของไฟล์ในโปรเจกต์ สามารถนำไปแสดงผลใน Markdown Viewer ได้
103
103
 
104
- ### 🛠 System Operations
104
+ ### 🛠 การจัดการระบบ (System Operations)
105
105
 
106
106
  #### `read_file`
107
- Reads the content of a file. Always read a file before editing it to ensure you have the latest context.
107
+ อ่านเนื้อหาไฟล์ **ควรอ่านไฟล์ก่อนแก้ไขเสมอ**
108
108
 
109
109
  **Inputs:**
110
- - `path` (string, required): File path.
110
+ - `path` (string, required): Path ของไฟล์
111
111
 
112
112
  #### `write_file`
113
- Creates or overwrites a file.
113
+ สร้างหรือเขียนทับไฟล์
114
114
 
115
115
  **Inputs:**
116
- - `path` (string, required): File path.
117
- - `content` (string, required): The full content to write.
116
+ - `path` (string, required): Path ของไฟล์
117
+ - `content` (string, required): เนื้อหาที่จะเขียน
118
118
 
119
119
  #### `edit_file`
120
- Replace a specific string in a file with a new string. Use this for surgical edits to avoid overwriting the whole file.
120
+ แก้ไขข้อความบางส่วนในไฟล์ (Search & Replace) เหมาะสำหรับการแก้ไขจุดเล็กๆ โดยไม่ต้องเขียนทับทั้งไฟล์
121
121
 
122
122
  **Inputs:**
123
- - `path` (string, required): File path.
124
- - `oldText` (string, required): The exact text segment to replace.
125
- - `newText` (string, required): The new text to insert.
126
- - `allowMultiple` (boolean, optional): Allow replacing multiple occurrences (default: false).
123
+ - `path` (string, required): Path ของไฟล์
124
+ - `oldText` (string, required): ข้อความเดิมที่ต้องการเปลี่ยน (ต้องตรงเป๊ะ)
125
+ - `newText` (string, required): ข้อความใหม่
126
+ - `allowMultiple` (boolean, optional): อนุญาตให้เปลี่ยนหลายจุดพร้อมกัน (Default: false)
127
127
 
128
128
  #### `manage_notes`
129
- Manage long-term memory/notes. Use this to save important information, rules, or learnings that should persist across sessions.
129
+ จัดการความจำระยะยาว (Long-term Memory) / บันทึกช่วยจำ ใช้เก็บข้อมูลสำคัญ กฎ หรือสิ่งที่เรียนรู้เพื่อให้จำได้ข้าม Session
130
130
 
131
131
  **Inputs:**
132
- - `action` (enum, required): 'add', 'list', 'search', 'update', 'delete'.
133
- - `title` (string): Title of the note.
134
- - `content` (string): Content of the note.
135
- - `tags` (array): Tags for categorization.
136
- - `searchQuery` (string): Query to search notes.
137
- - `noteId` (string): ID of the note.
132
+ - `action` (enum, required): 'add', 'list', 'search', 'update', 'delete'
133
+ - `title` (string): หัวข้อ
134
+ - `content` (string): เนื้อหา
135
+ - `tags` (array): แท็กจัดหมวดหมู่
136
+ - `searchQuery` (string): คำค้นหา (สำหรับ action: search)
137
+ - `noteId` (string): ID ของโน้ต (สำหรับ update/delete)
138
138
 
139
139
  #### `shell_execute`
140
- Executes a shell command. Use for running tests (`npm test`), building (`npm run build`), or file operations (`ls`, `mkdir`).
140
+ รันคำสั่ง Shell (เช่น `npm test`, `npm run build`, `ls`)
141
+ **คำเตือน:** ใช้ด้วยความระมัดระวัง หลีกเลี่ยงคำสั่งที่ลบข้อมูลหรือเปิดเผยความลับ
141
142
 
142
- **Inputs:**
143
- - `command` (string, required): The command line string.
144
- **Warning:** Use with caution. Avoid commands that might delete data or expose secrets.
145
-
146
- ## Recommended System Instruction
147
-
148
- To optimize your AI agent's performance with these tools, we recommend adding the following instructions to its system prompt:
149
-
150
- ```text
151
- # Tools & Workflow
152
-
153
- 1. **Core Reasoning (`sequentialthinking`)**
154
- * **Mandatory Step:** For any complex query, bug fix, or feature request, you MUST start by using the `sequentialthinking` tool.
155
- * **Methodology:** Break the problem down. If your first hypothesis fails, use the tool again to revise your plan (`isRevision: true`).
156
- * **Goal:** Do not output code or final answers until you have a clear, verified plan.
157
-
158
- 2. **Codebase Navigation**
159
- * **Initial Scan:** On start, run `build_project_graph`.
160
- * **Context:** Before reading a file, check its context with `get_file_relationships`. This prevents "hallucinating" imports or breaking existing dependencies.
161
-
162
- 3. **External Verification**
163
- * **Docs & Facts:** If you need to use a library you aren't 100% sure about, use `web_search` to check the documentation.
164
-
165
- 4. **Safety & Persistence**
166
- * **Files:** Always `read_file` before `write_file`.
167
- * **History:** Your thoughts are saved. If you get stuck, review your previous thoughts.
168
- ```
169
-
170
- ## Usage
171
-
172
- The Sequential Thinking tool is designed for:
173
- - Breaking down complex problems into steps
174
- - Planning and design with room for revision
175
- - Analysis that might need course correction
176
- - Problems where the full scope might not be clear initially
177
- - Tasks that need to maintain context over multiple steps
178
- - Situations where irrelevant information needs to be filtered out
179
-
180
- ## Configuration
143
+ ## การตั้งค่า (Configuration)
181
144
 
182
145
  ### Environment Variables
183
- - `THOUGHT_DELAY_MS`: (Optional) Milliseconds to wait before processing each thought. Default: `0`.
184
- - `DISABLE_THOUGHT_LOGGING`: (Optional) Set to `true` to hide colored logs.
185
- - `THOUGHTS_STORAGE_PATH`: (Optional) Path to history file. Default: `thoughts_history.json`.
146
+ - `THOUGHT_DELAY_MS`: (Optional) เวลาหน่วง (ms) ก่อนประมวลผลความคิดถัดไป เพื่อป้องกัน Rate Limit (Default: `0`)
147
+ - `DISABLE_THOUGHT_LOGGING`: (Optional) ตั้งเป็น `true` เพื่อปิดการแสดงผล Log สีสวยงาม
148
+ - `THOUGHTS_STORAGE_PATH`: (Optional) Path ของไฟล์ประวัติการคิด (Default: `thoughts_history.json`)
186
149
 
187
- ### Usage with Claude Desktop
150
+ ### การใช้งานกับ Claude Desktop
188
151
 
189
- Add this to your `claude_desktop_config.json`. You can configure API keys directly here:
152
+ เพิ่ม Config นี้ใน `claude_desktop_config.json`:
190
153
 
191
154
  #### npx
192
155
 
@@ -210,93 +173,53 @@ Add this to your `claude_desktop_config.json`. You can configure API keys direct
210
173
  }
211
174
  ```
212
175
 
213
- ### Usage with VS Code
176
+ ### การติดตั้งกับ VS Code
214
177
 
215
- For quick installation, click one of the installation buttons below...
178
+ คลิกปุ่มด้านล่างเพื่อติดตั้งด่วน...
216
179
 
217
180
  [![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-NPM-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40gotza02%2Fsequential-thinking%22%5D%7D)
218
181
 
219
- ## Building
182
+ ## การ Build และ Test
220
183
 
221
184
  ```bash
222
185
  npm install
223
186
  npm run build
224
187
  ```
225
188
 
226
- ## Testing
227
-
228
189
  ```bash
229
190
  npm test
230
191
  ```
231
192
 
232
- ## Recent Updates (v2026.1.31)
193
+ ## ประวัติการอัปเดต (Recent Updates)
194
+
195
+ ### v2026.2.0 (Latest)
196
+ - **Refactoring**: ปรับโครงสร้างโค้ดครั้งใหญ่ แยกการทำงานเป็นโมดูล (`src/tools/`) เพื่อให้อ่านง่ายและรองรับการขยายตัวในอนาคต
197
+
198
+ ### v2026.1.31
233
199
  - **New Tools**:
234
- - `manage_notes`: Long-term memory system to store and retrieve information across sessions.
200
+ - `manage_notes`: ระบบความจำระยะยาวสำหรับเก็บข้อมูลข้าม Session
235
201
 
236
- ## Recent Updates (v2026.1.30)
202
+ ### v2026.1.30
237
203
  - **New Tools**:
238
- - `get_project_graph_visualization`: Generate Mermaid diagrams of your project structure.
204
+ - `get_project_graph_visualization`: สร้าง Mermaid Diagram แสดงโครงสร้างโปรเจกต์
239
205
 
240
- ## Recent Updates (v2026.1.29)
206
+ ### v2026.1.29
241
207
  - **New Tools**:
242
- - `edit_file`: Surgically replace text in files without overwriting the entire content.
208
+ - `edit_file`: แก้ไขไฟล์เฉพาะจุดโดยไม่ต้องเขียนทับทั้งหมด
243
209
 
244
- ## Recent Updates (v2026.1.28)
210
+ ### v2026.1.28
245
211
  - **Robustness**:
246
- - Implemented **Atomic Writes** for `thoughts_history.json` to prevent file corruption.
247
- - Added **Internal Locking** to handle concurrent save requests gracefully.
248
- - Added **API Retry Logic** with exponential backoff for all search and web tools (handles HTTP 429/5xx).
249
- - Improved HTTP requests with browser-like headers (User-Agent) to reduce blocking.
212
+ - เพิ่ม **Atomic Writes** สำหรับ `thoughts_history.json` ป้องกันไฟล์เสีย
213
+ - เพิ่ม **API Retry Logic** (Exponential Backoff) สำหรับเครื่องมือ Web Search ทั้งหมด
250
214
  - **New Tools**:
251
- - `summarize_history`: Archive and condense long reasoning chains.
252
- - **Graph Enhancements**:
253
- - Added **Symbol Extraction**: The project graph now tracks exported functions, classes, and variables.
215
+ - `summarize_history`: ย่อประวัติการคิด
254
216
 
255
- ## Recent Updates (v2026.1.27)
217
+ ### v2026.1.27
256
218
  - **New Tools**:
257
- - `read_webpage`: Convert webpages to Markdown for efficient reading.
258
- - `search_code`: Recursive text search in code files.
259
- - `clear_thought_history`: Reset the thinking process.
260
-
261
- ## Recent Updates (v2026.1.26)
262
-
263
- - **Rate Limiting**:
264
- - Added `THOUGHT_DELAY_MS` environment variable to introduce a delay between thought steps. This helps prevent request flooding and rate limit issues.
265
-
266
- ## Recent Updates (v2026.1.24)
267
-
268
- - **Bug Fixes**:
269
- - Fixed `get_file_relationships` to correctly resolve absolute imports and imports from project root (e.g., `src/utils`), ensuring the dependency graph is complete for projects using path aliases or absolute paths.
270
-
271
- ## Recent Updates (v2026.1.22)
272
-
273
- - **Environment Variables**:
274
- - Renamed Google Search environment variables to `GOOGLE_SEARCH_API_KEY` and `GOOGLE_SEARCH_CX` to avoid conflicts and improve clarity.
275
-
276
- ## Recent Updates (v2026.1.21)
277
-
278
- - **Performance & Accuracy**:
279
- - Replaced Regex-based code analysis with **TypeScript Compiler API (AST)** for 100% accurate import/export detection.
280
- - Improved `web_search` robustness and error handling.
281
- - **Persistence**:
282
- - Implemented **File-based Persistence** for the thinking process. Your thoughts are now saved to `thoughts_history.json` automatically.
283
- - Switched to **Asynchronous File I/O** to prevent server blocking.
284
- - **Bug Fixes**:
285
- - Fixed duplicate import entries in the project graph.
286
- - Resolved memory growth issues in long-running sessions.
287
-
288
- ## Recent Updates (v2026.1.20)
289
-
290
- - **New Features**:
291
- - Added support for **Google Custom Search** in the `web_search` tool. (Requires `GOOGLE_API_KEY` and `GOOGLE_CX`).
292
-
293
- ## Recent Updates (v2026.1.18)
294
-
295
- - **Bug Fixes**:
296
- - Fixed an issue where commented-out imports were incorrectly parsed by the graph analyzer.
297
- - Resolved a branching logic issue where branch IDs could collide.
298
- - Fixed version mismatch between package.json and server instance.
219
+ - `read_webpage`: อ่านหน้าเว็บเป็น Markdown
220
+ - `search_code`: ค้นหาข้อความในไฟล์โค้ดแบบ Recursive
221
+ - `clear_thought_history`: ล้างประวัติการคิด
299
222
 
300
223
  ## License
301
224
 
302
- This MCP server is licensed under the MIT License.
225
+ MIT License