@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 +109 -186
- package/dist/index.js +11 -555
- package/dist/tools/filesystem.js +152 -0
- package/dist/tools/graph.js +79 -0
- package/dist/tools/notes.js +55 -0
- package/dist/tools/thinking.js +113 -0
- package/dist/tools/web.js +134 -0
- package/dist/utils.js +35 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,192 +1,155 @@
|
|
|
1
1
|
# Sequential Thinking MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MCP Server นี้ถูกออกแบบมาเพื่อช่วยให้ AI สามารถคิดวิเคราะห์แก้ปัญหาได้อย่างเป็นระบบ (Sequential Thinking) ผ่านกระบวนการคิดแบบทีละขั้นตอน (Step-by-step), การแตกแขนงความคิด (Tree of Thoughts) และการทบทวนตัวเอง (Self-Reflexion)
|
|
4
4
|
|
|
5
|
-
## Features
|
|
5
|
+
## ฟีเจอร์หลัก (Features)
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
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
|
|
17
|
+
## คำแนะนำระบบสำหรับ AI (System Instruction)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
เมื่อเชื่อมต่อกับ Server นี้ AI ควรปฏิบัติตามแนวทางต่อไปนี้เพื่อให้แก้ปัญหาได้ดีที่สุด:
|
|
20
20
|
|
|
21
|
-
1.
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
24
|
-
4.
|
|
25
|
-
5.
|
|
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
|
-
|
|
32
|
+
หัวใจหลักสำหรับการแก้ปัญหาอย่างมีโครงสร้าง บังคับให้คิดวิเคราะห์ทีละขั้นตอนก่อนจะสรุปผล
|
|
33
33
|
|
|
34
34
|
**Inputs:**
|
|
35
|
-
- `thought` (string, required):
|
|
36
|
-
- `thoughtNumber` (integer, required):
|
|
37
|
-
- `totalThoughts` (integer, required):
|
|
38
|
-
- `nextThoughtNeeded` (boolean, required): `true`
|
|
39
|
-
- `thoughtType` (enum):
|
|
40
|
-
- `analysis`:
|
|
41
|
-
- `generation`:
|
|
42
|
-
- `evaluation`:
|
|
43
|
-
- `reflexion`:
|
|
44
|
-
- `selection`:
|
|
45
|
-
- `isRevision` (boolean):
|
|
46
|
-
- `revisesThought` (integer):
|
|
47
|
-
- `branchFromThought` (integer):
|
|
48
|
-
- `branchId` (string):
|
|
49
|
-
|
|
50
|
-
|
|
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
|
-
|
|
53
|
+
ล้างประวัติการคิดทั้งหมด ใช้เมื่อต้องการเริ่มงานใหม่หรือเคลียร์ Context
|
|
54
54
|
|
|
55
55
|
#### `summarize_history`
|
|
56
|
-
|
|
56
|
+
ย่อรวมความคิดหลายๆ ขั้นตอนให้เป็นสรุปเดียว จำเป็นมากสำหรับการคิดที่ยาวนาน เพื่อประหยัด Token
|
|
57
57
|
|
|
58
58
|
**Inputs:**
|
|
59
|
-
- `startIndex` (integer):
|
|
60
|
-
- `endIndex` (integer):
|
|
61
|
-
- `summary` (string):
|
|
59
|
+
- `startIndex` (integer): จุดเริ่มต้นที่จะสรุป
|
|
60
|
+
- `endIndex` (integer): จุดสิ้นสุดที่จะสรุป
|
|
61
|
+
- `summary` (string): ข้อความสรุป
|
|
62
62
|
|
|
63
|
-
### 🌐 External Knowledge
|
|
63
|
+
### 🌐 ความรู้ภายนอก (External Knowledge)
|
|
64
64
|
|
|
65
65
|
#### `web_search`
|
|
66
|
-
|
|
66
|
+
ค้นหาข้อมูลแบบ Real-time จากอินเทอร์เน็ต
|
|
67
67
|
|
|
68
68
|
**Inputs:**
|
|
69
|
-
- `query` (string, required):
|
|
69
|
+
- `query` (string, required): คำค้นหา
|
|
70
70
|
- `provider` (enum, optional):
|
|
71
|
-
- `brave`:
|
|
72
|
-
- `exa`: AI
|
|
73
|
-
- `google`: Google Custom Search (
|
|
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
|
-
|
|
76
|
+
ดึงข้อมูล HTTP Request จาก URL โดยตรง มีประโยชน์มากสำหรับดึง HTML, JSON หรือ Text จากแหล่งข้อมูลที่เจอผ่าน Search
|
|
77
77
|
|
|
78
78
|
**Inputs:**
|
|
79
|
-
- `url` (string, required):
|
|
80
|
-
- `method`: `GET` (default), `POST`, `PUT`, `DELETE
|
|
81
|
-
- `headers`: JSON
|
|
82
|
-
- `body`: Request
|
|
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
|
-
|
|
85
|
+
อ่านหน้าเว็บและแปลงเป็น Markdown ที่สะอาด (ตัดโฆษณาและเมนูออก) เหมาะสำหรับอ่านบทความหรือ Document เพื่อประหยัด Token
|
|
86
86
|
|
|
87
87
|
**Inputs:**
|
|
88
|
-
- `url` (string, required):
|
|
88
|
+
- `url` (string, required): URL ที่จะอ่าน
|
|
89
89
|
|
|
90
|
-
### 🏗 Codebase Intelligence
|
|
90
|
+
### 🏗 ความฉลาดด้านโค้ด (Codebase Intelligence)
|
|
91
91
|
|
|
92
92
|
#### `build_project_graph`
|
|
93
|
-
|
|
93
|
+
**รันคำสั่งนี้เป็นอันดับแรก** เมื่อเริ่มโปรเจกต์ใหม่ มันจะสแกนโฟลเดอร์และสร้างแผนผังความสัมพันธ์ (Dependency Graph) โดยใช้ TypeScript AST Analysis รวมถึงดึงข้อมูล **Exported Symbols** (Functions, Classes, Variables) ออกมาด้วย
|
|
94
94
|
|
|
95
95
|
**Inputs:**
|
|
96
|
-
- `path` (string, optional):
|
|
96
|
+
- `path` (string, optional): โฟลเดอร์ราก (Default คือ `.`)
|
|
97
97
|
|
|
98
98
|
#### `get_project_graph_summary`
|
|
99
|
-
|
|
99
|
+
ดูภาพรวมโครงสร้างโปรเจกต์และไฟล์ที่ถูกอ้างอิงถึงบ่อยที่สุด
|
|
100
100
|
|
|
101
101
|
#### `get_project_graph_visualization`
|
|
102
|
-
|
|
102
|
+
สร้าง Mermaid Diagram String แสดงความสัมพันธ์ของไฟล์ในโปรเจกต์ สามารถนำไปแสดงผลใน Markdown Viewer ได้
|
|
103
103
|
|
|
104
|
-
### 🛠 System Operations
|
|
104
|
+
### 🛠 การจัดการระบบ (System Operations)
|
|
105
105
|
|
|
106
106
|
#### `read_file`
|
|
107
|
-
|
|
107
|
+
อ่านเนื้อหาไฟล์ **ควรอ่านไฟล์ก่อนแก้ไขเสมอ**
|
|
108
108
|
|
|
109
109
|
**Inputs:**
|
|
110
|
-
- `path` (string, required):
|
|
110
|
+
- `path` (string, required): Path ของไฟล์
|
|
111
111
|
|
|
112
112
|
#### `write_file`
|
|
113
|
-
|
|
113
|
+
สร้างหรือเขียนทับไฟล์
|
|
114
114
|
|
|
115
115
|
**Inputs:**
|
|
116
|
-
- `path` (string, required):
|
|
117
|
-
- `content` (string, required):
|
|
116
|
+
- `path` (string, required): Path ของไฟล์
|
|
117
|
+
- `content` (string, required): เนื้อหาที่จะเขียน
|
|
118
118
|
|
|
119
119
|
#### `edit_file`
|
|
120
|
-
|
|
120
|
+
แก้ไขข้อความบางส่วนในไฟล์ (Search & Replace) เหมาะสำหรับการแก้ไขจุดเล็กๆ โดยไม่ต้องเขียนทับทั้งไฟล์
|
|
121
121
|
|
|
122
122
|
**Inputs:**
|
|
123
|
-
- `path` (string, required):
|
|
124
|
-
- `oldText` (string, required):
|
|
125
|
-
- `newText` (string, required):
|
|
126
|
-
- `allowMultiple` (boolean, optional):
|
|
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
|
-
|
|
129
|
+
จัดการความจำระยะยาว (Long-term Memory) / บันทึกช่วยจำ ใช้เก็บข้อมูลสำคัญ กฎ หรือสิ่งที่เรียนรู้เพื่อให้จำได้ข้าม Session
|
|
130
130
|
|
|
131
131
|
**Inputs:**
|
|
132
|
-
- `action` (enum, required): 'add', 'list', 'search', 'update', 'delete'
|
|
133
|
-
- `title` (string):
|
|
134
|
-
- `content` (string):
|
|
135
|
-
- `tags` (array):
|
|
136
|
-
- `searchQuery` (string):
|
|
137
|
-
- `noteId` (string): ID
|
|
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
|
-
|
|
140
|
+
รันคำสั่ง Shell (เช่น `npm test`, `npm run build`, `ls`)
|
|
141
|
+
**คำเตือน:** ใช้ด้วยความระมัดระวัง หลีกเลี่ยงคำสั่งที่ลบข้อมูลหรือเปิดเผยความลับ
|
|
141
142
|
|
|
142
|
-
|
|
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)
|
|
184
|
-
- `DISABLE_THOUGHT_LOGGING`: (Optional)
|
|
185
|
-
- `THOUGHTS_STORAGE_PATH`: (Optional) Path
|
|
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
|
-
###
|
|
150
|
+
### การใช้งานกับ Claude Desktop
|
|
188
151
|
|
|
189
|
-
|
|
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
|
-
###
|
|
176
|
+
### การติดตั้งกับ VS Code
|
|
214
177
|
|
|
215
|
-
|
|
178
|
+
คลิกปุ่มด้านล่างเพื่อติดตั้งด่วน...
|
|
216
179
|
|
|
217
180
|
[](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
|
-
##
|
|
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
|
|
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`:
|
|
200
|
+
- `manage_notes`: ระบบความจำระยะยาวสำหรับเก็บข้อมูลข้าม Session
|
|
235
201
|
|
|
236
|
-
|
|
202
|
+
### v2026.1.30
|
|
237
203
|
- **New Tools**:
|
|
238
|
-
- `get_project_graph_visualization`:
|
|
204
|
+
- `get_project_graph_visualization`: สร้าง Mermaid Diagram แสดงโครงสร้างโปรเจกต์
|
|
239
205
|
|
|
240
|
-
|
|
206
|
+
### v2026.1.29
|
|
241
207
|
- **New Tools**:
|
|
242
|
-
- `edit_file`:
|
|
208
|
+
- `edit_file`: แก้ไขไฟล์เฉพาะจุดโดยไม่ต้องเขียนทับทั้งหมด
|
|
243
209
|
|
|
244
|
-
|
|
210
|
+
### v2026.1.28
|
|
245
211
|
- **Robustness**:
|
|
246
|
-
-
|
|
247
|
-
-
|
|
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`:
|
|
252
|
-
- **Graph Enhancements**:
|
|
253
|
-
- Added **Symbol Extraction**: The project graph now tracks exported functions, classes, and variables.
|
|
215
|
+
- `summarize_history`: ย่อประวัติการคิด
|
|
254
216
|
|
|
255
|
-
|
|
217
|
+
### v2026.1.27
|
|
256
218
|
- **New Tools**:
|
|
257
|
-
- `read_webpage`:
|
|
258
|
-
- `search_code`: Recursive
|
|
259
|
-
- `clear_thought_history`:
|
|
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
|
-
|
|
225
|
+
MIT License
|