@gotza02/sequential-thinking 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +131 -210
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,230 +1,82 @@
1
- # Sequential Thinking MCP Server
1
+ # Sequential Thinking MCP Server (Extended Edition) 🧠✨
2
2
 
3
- MCP Server นี้ถูกออกแบบมาเพื่อช่วยให้ AI สามารถคิดวิเคราะห์แก้ปัญหาได้อย่างเป็นระบบ (Sequential Thinking) ผ่านกระบวนการคิดแบบทีละขั้นตอน (Step-by-step), การแตกแขนงความคิด (Tree of Thoughts) และการทบทวนตัวเอง (Self-Reflexion)
3
+ **MCP Server ที่ช่วยให้ AI "คิดก่อนทำ" อย่างเป็นระบบ พร้อมความสามารถในการค้นหาเว็บ, วิเคราะห์โค้ด และจดจำข้อมูลระยะยาว**
4
4
 
5
- ## ฟีเจอร์หลัก (Features)
5
+ โปรเจกต์นี้คือส่วนขยายของ Sequential Thinking ที่เพิ่มเครื่องมือสำคัญเพื่อให้ AI ทำงานเป็น "Autonomous Agent" ได้อย่างสมบูรณ์แบบ ทั้งการวางแผน (Planning), การหาข้อมูล (Research), และการลงมือทำ (Execution)
6
6
 
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)**: ปรับจำนวนขั้นตอนการคิดเพิ่มหรือลดได้ตามความเหมาะสมของสถานการณ์
7
+ ---
16
8
 
17
- ## คำแนะนำระบบสำหรับ AI (System Instruction)
9
+ ## 🔑 Environment Variables (การตั้งค่าตัวแปร)
18
10
 
19
- เมื่อเชื่อมต่อกับ Server นี้ AI ควรปฏิบัติตามแนวทางต่อไปนี้เพื่อให้แก้ปัญหาได้ดีที่สุด:
11
+ นี่คือตัวแปรทั้งหมดที่ระบบรองรับ คุณสามารถเลือกตั้งค่าได้ตามฟีเจอร์ที่ต้องการใช้งาน:
20
12
 
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` ได้
13
+ ### 1. Web Search APIs (เลือกอย่างน้อย 1 อย่างเพื่อใช้ `web_search`)
14
+ | Variable Name | Description | Required? |
15
+ |--------------|-------------|-----------|
16
+ | `BRAVE_API_KEY` | สำหรับค้นหาผ่าน Brave Search | (Optional) |
17
+ | `EXA_API_KEY` | สำหรับค้นหาผ่าน Exa.ai (แนะนำสำหรับงาน Deep Research) | (Optional) |
18
+ | `GOOGLE_SEARCH_API_KEY` | Google Custom Search API Key | ❌ (Optional) |
19
+ | `GOOGLE_SEARCH_CX` | Google Custom Search Engine ID (CX) | ❌ (Optional) |
26
20
 
27
- ## คู่มือการใช้งานเครื่องมือ (Detailed Tool Guide)
21
+ ### 2. Storage & Memory (การจัดเก็บข้อมูล)
22
+ | Variable Name | Description | Default Value |
23
+ |--------------|-------------|---------------|
24
+ | `THOUGHTS_STORAGE_PATH` | ไฟล์เก็บประวัติการคิด (Thinking History) | `thoughts_history.json` |
25
+ | `NOTES_STORAGE_PATH` | ไฟล์เก็บความจำระยะยาว (Long-term Notes) | `project_notes.json` |
28
26
 
29
- ### 🧠 เครื่องมือช่วยคิด (Cognitive Tools)
27
+ ### 3. System Behavior (พฤติกรรมระบบ)
28
+ | Variable Name | Description | Default Value |
29
+ |--------------|-------------|---------------|
30
+ | `THOUGHT_DELAY_MS` | เวลาหน่วงระหว่างความคิด (ms) เพื่อกัน Rate Limit | `0` |
31
+ | `DISABLE_THOUGHT_LOGGING`| ปิดการแสดงผล Log สีสวยงามใน Console (`true`/`false`) | `false` |
30
32
 
31
- #### `sequentialthinking`
32
- หัวใจหลักสำหรับการแก้ปัญหาอย่างมีโครงสร้าง บังคับให้คิดวิเคราะห์ทีละขั้นตอนก่อนจะสรุปผล
33
+ ---
33
34
 
34
- **Inputs:**
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)
35
+ ## 🚀 Installation & Usage (การติดตั้งและใช้งาน)
49
36
 
50
- **ข้อแนะนำ:** ใช้เครื่องมือนี้กับงานทุกอย่างที่ไม่ใช่คำถามพื้นฐาน อย่าเพิ่งรีบตอบ ให้คิดก่อน
37
+ รองรับทั้ง **Gemini CLI** และ **Claude Desktop**
51
38
 
52
- #### `clear_thought_history`
53
- ล้างประวัติการคิดทั้งหมด ใช้เมื่อต้องการเริ่มงานใหม่หรือเคลียร์ Context
54
-
55
- #### `summarize_history`
56
- ย่อรวมความคิดหลายๆ ขั้นตอนให้เป็นสรุปเดียว จำเป็นมากสำหรับการคิดที่ยาวนาน เพื่อประหยัด Token
57
-
58
- **Inputs:**
59
- - `startIndex` (integer): จุดเริ่มต้นที่จะสรุป
60
- - `endIndex` (integer): จุดสิ้นสุดที่จะสรุป
61
- - `summary` (string): ข้อความสรุป
62
-
63
- ### 🌐 ความรู้ภายนอก (External Knowledge)
64
-
65
- #### `web_search`
66
- ค้นหาข้อมูลแบบ Real-time จากอินเทอร์เน็ต
67
-
68
- **Inputs:**
69
- - `query` (string, required): คำค้นหา
70
- - `provider` (enum, optional):
71
- - `brave`: ค้นหาเว็บทั่วไป (ต้องมี `BRAVE_API_KEY`)
72
- - `exa`: ค้นหาเชิงลึกด้วย AI (ต้องมี `EXA_API_KEY`)
73
- - `google`: Google Custom Search (ต้องมี `GOOGLE_SEARCH_API_KEY` & `GOOGLE_SEARCH_CX`)
74
-
75
- #### `fetch`
76
- ดึงข้อมูล HTTP Request จาก URL โดยตรง มีประโยชน์มากสำหรับดึง HTML, JSON หรือ Text จากแหล่งข้อมูลที่เจอผ่าน Search
77
-
78
- **Inputs:**
79
- - `url` (string, required): URL เป้าหมาย
80
- - `method`: `GET` (default), `POST`, `PUT`, `DELETE`
81
- - `headers`: JSON Object สำหรับ Headers
82
- - `body`: Request Body สำหรับ POST/PUT
83
-
84
- #### `read_webpage`
85
- อ่านหน้าเว็บและแปลงเป็น Markdown ที่สะอาด (ตัดโฆษณาและเมนูออก) เหมาะสำหรับอ่านบทความหรือ Document เพื่อประหยัด Token
86
-
87
- **Inputs:**
88
- - `url` (string, required): URL ที่จะอ่าน
89
-
90
- ### 🏗 ความฉลาดด้านโค้ด (Codebase Intelligence)
91
-
92
- #### `build_project_graph`
93
- **รันคำสั่งนี้เป็นอันดับแรก** เมื่อเริ่มโปรเจกต์ใหม่ มันจะสแกนโฟลเดอร์และสร้างแผนผังความสัมพันธ์ (Dependency Graph) โดยใช้ TypeScript AST Analysis รวมถึงดึงข้อมูล **Exported Symbols** (Functions, Classes, Variables) ออกมาด้วย
94
-
95
- **Inputs:**
96
- - `path` (string, optional): โฟลเดอร์ราก (Default คือ `.`)
97
-
98
- #### `get_project_graph_summary`
99
- ดูภาพรวมโครงสร้างโปรเจกต์และไฟล์ที่ถูกอ้างอิงถึงบ่อยที่สุด
100
-
101
- #### `get_project_graph_visualization`
102
- สร้าง Mermaid Diagram String แสดงความสัมพันธ์ของไฟล์ในโปรเจกต์ สามารถนำไปแสดงผลใน Markdown Viewer ได้
103
-
104
- ### 🛠 การจัดการระบบ (System Operations)
105
-
106
- #### `read_file`
107
- อ่านเนื้อหาไฟล์ **ควรอ่านไฟล์ก่อนแก้ไขเสมอ**
108
-
109
- **Inputs:**
110
- - `path` (string, required): Path ของไฟล์
111
-
112
- #### `write_file`
113
- สร้างหรือเขียนทับไฟล์
114
-
115
- **Inputs:**
116
- - `path` (string, required): Path ของไฟล์
117
- - `content` (string, required): เนื้อหาที่จะเขียน
118
-
119
- #### `edit_file`
120
- แก้ไขข้อความบางส่วนในไฟล์ (Search & Replace) เหมาะสำหรับการแก้ไขจุดเล็กๆ โดยไม่ต้องเขียนทับทั้งไฟล์
121
-
122
- **Inputs:**
123
- - `path` (string, required): Path ของไฟล์
124
- - `oldText` (string, required): ข้อความเดิมที่ต้องการเปลี่ยน (ต้องตรงเป๊ะ)
125
- - `newText` (string, required): ข้อความใหม่
126
- - `allowMultiple` (boolean, optional): อนุญาตให้เปลี่ยนหลายจุดพร้อมกัน (Default: false)
127
-
128
- #### `manage_notes`
129
- จัดการความจำระยะยาว (Long-term Memory) / บันทึกช่วยจำ ใช้เก็บข้อมูลสำคัญ กฎ หรือสิ่งที่เรียนรู้เพื่อให้จำได้ข้าม Session
130
-
131
- **Inputs:**
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
-
139
- #### `shell_execute`
140
- รันคำสั่ง Shell (เช่น `npm test`, `npm run build`, `ls`)
141
- **คำเตือน:** ใช้ด้วยความระมัดระวัง หลีกเลี่ยงคำสั่งที่ลบข้อมูลหรือเปิดเผยความลับ
142
-
143
- ## การตั้งค่าและการใช้งาน (Installation & Usage)
144
-
145
- ### 1. การใช้งานกับ Gemini CLI (Usage with Gemini CLI)
39
+ ### Option A: ใช้งานผ่าน npx (แนะนำสำหรับผู้ใช้ทั่วไป)
40
+ *ไม่ต้องโหลดโค้ด แค่แก้ Config แล้วใช้งานได้เลย*
146
41
 
42
+ #### 1. สำหรับ Gemini CLI
147
43
  แก้ไขไฟล์ `~/.gemini/settings.json` (หรือ `config.json`):
148
44
 
149
- #### แบบใช้ npx (ไม่ต้องติดตั้ง)
150
-
151
45
  ```json
152
46
  {
153
47
  "mcpServers": {
154
48
  "smartagent": {
155
49
  "command": "npx",
156
- "args": [
157
- "-y",
158
- "@gotza02/sequential-thinking"
159
- ],
160
- "env": {
161
- "BRAVE_API_KEY": "YOUR_BRAVE_API_KEY",
162
- "EXA_API_KEY": "YOUR_EXA_API_KEY"
163
- }
164
- }
165
- }
166
- }
167
- ```
168
-
169
- #### แบบติดตั้ง Local (Node.js)
170
-
171
- 1. Clone Repository นี้มา
172
- 2. รัน `npm install` และ `npm run build`
173
- 3. ตั้งค่าใน `settings.json`:
174
-
175
- ```json
176
- {
177
- "mcpServers": {
178
- "smartagent": {
179
- "command": "node",
180
- "args": [
181
- "/path/to/your/MCP3/dist/index.js"
182
- ],
50
+ "args": ["-y", "@gotza02/sequential-thinking"],
183
51
  "env": {
184
- "BRAVE_API_KEY": "YOUR_BRAVE_API_KEY",
185
- "THOUGHTS_STORAGE_PATH": "thoughts_history.json",
186
- "NOTES_STORAGE_PATH": "project_notes.json"
52
+ "BRAVE_API_KEY": "YOUR_BRAVE_KEY",
53
+ "EXA_API_KEY": "YOUR_EXA_KEY",
54
+ "GOOGLE_SEARCH_API_KEY": "YOUR_GOOGLE_KEY",
55
+ "GOOGLE_SEARCH_CX": "YOUR_GOOGLE_CX",
56
+ "THOUGHTS_STORAGE_PATH": "/absolute/path/to/thoughts_history.json",
57
+ "NOTES_STORAGE_PATH": "/absolute/path/to/project_notes.json",
58
+ "THOUGHT_DELAY_MS": "0",
59
+ "DISABLE_THOUGHT_LOGGING": "false"
187
60
  }
188
61
  }
189
62
  }
190
63
  }
191
64
  ```
192
65
 
193
- ### 2. การใช้งานกับ Claude Desktop (Usage with Claude Desktop)
194
-
66
+ #### 2. สำหรับ Claude Desktop
195
67
  แก้ไขไฟล์ `claude_desktop_config.json`:
196
68
 
197
- #### แบบใช้ npx (ไม่ต้องติดตั้ง)
198
-
199
69
  ```json
200
70
  {
201
71
  "mcpServers": {
202
72
  "sequential-thinking": {
203
73
  "command": "npx",
204
- "args": [
205
- "-y",
206
- "@gotza02/sequential-thinking"
207
- ],
74
+ "args": ["-y", "@gotza02/sequential-thinking"],
208
75
  "env": {
209
- "BRAVE_API_KEY": "YOUR_BRAVE_API_KEY"
210
- }
211
- }
212
- }
213
- }
214
- ```
215
-
216
- #### แบบติดตั้ง Local (Node.js)
217
-
218
- ```json
219
- {
220
- "mcpServers": {
221
- "sequential-thinking": {
222
- "command": "node",
223
- "args": [
224
- "/absolute/path/to/MCP3/dist/index.js"
225
- ],
226
- "env": {
227
- "BRAVE_API_KEY": "YOUR_BRAVE_API_KEY",
76
+ "BRAVE_API_KEY": "YOUR_BRAVE_KEY",
77
+ "EXA_API_KEY": "YOUR_EXA_KEY",
78
+ "GOOGLE_SEARCH_API_KEY": "YOUR_GOOGLE_KEY",
79
+ "GOOGLE_SEARCH_CX": "YOUR_GOOGLE_CX",
228
80
  "THOUGHTS_STORAGE_PATH": "/absolute/path/to/thoughts_history.json",
229
81
  "NOTES_STORAGE_PATH": "/absolute/path/to/project_notes.json"
230
82
  }
@@ -233,30 +85,99 @@ MCP Server นี้ถูกออกแบบมาเพื่อช่วย
233
85
  }
234
86
  ```
235
87
 
236
- ## การ Build และ Test
88
+ ---
89
+
90
+ ### Option B: ใช้งานแบบ Local Source (สำหรับนักพัฒนา)
91
+ *สำหรับคนที่ต้องการแก้ไขโค้ด หรือรันจากเครื่องตัวเอง*
92
+
93
+ 1. **Clone & Build:**
94
+ ```bash
95
+ git clone <repo_url>
96
+ cd sequential-thinking
97
+ npm install
98
+ npm run build
99
+ ```
100
+
101
+ 2. **ตั้งค่า Config (ตัวอย่างสำหรับ Gemini CLI):**
102
+ *เปลี่ยน Path ให้ตรงกับที่อยู่ไฟล์ในเครื่องคุณ*
103
+
104
+ ```json
105
+ {
106
+ "mcpServers": {
107
+ "smartagent": {
108
+ "command": "node",
109
+ "args": ["/Users/username/projects/sequential-thinking/dist/index.js"],
110
+ "env": {
111
+ "BRAVE_API_KEY": "YOUR_BRAVE_KEY",
112
+ "EXA_API_KEY": "YOUR_EXA_KEY",
113
+ "GOOGLE_SEARCH_API_KEY": "YOUR_GOOGLE_KEY",
114
+ "GOOGLE_SEARCH_CX": "YOUR_GOOGLE_CX",
115
+ "THOUGHTS_STORAGE_PATH": "thoughts_history.json",
116
+ "NOTES_STORAGE_PATH": "project_notes.json",
117
+ "THOUGHT_DELAY_MS": "0",
118
+ "DISABLE_THOUGHT_LOGGING": "false"
119
+ }
120
+ }
121
+ }
122
+ }
123
+ ```
124
+
125
+ ---
126
+
127
+ ## 🛠️ Tools Capability (ความสามารถเครื่องมือ)
128
+
129
+ ### 🧠 1. Cognitive Tools (สมองและการคิด)
130
+ * **`sequentialthinking`**: เครื่องมือหลัก! ช่วยแตกปัญหาใหญ่เป็นขั้นตอนย่อย (Step-by-step), แตกกิ่งความคิด (Branching), และทบทวนตัวเอง (Reflexion)
131
+ * **`summarize_history`**: ย่อสรุปประวัติการคิดที่ยาวเหยียดให้สั้นลง
132
+ * **`clear_thought_history`**: ล้างสมอง เริ่มต้นคิดเรื่องใหม่
133
+
134
+ ### 🌐 2. Web Capabilities (การเข้าถึงอินเทอร์เน็ต)
135
+ * **`web_search`**: ค้นหาข้อมูลล่าสุด (รองรับ Brave, Exa, Google)
136
+ * **`read_webpage`**: อ่านเนื้อหาในเว็บแบบ Markdown (ตัดโฆษณาออกให้อัตโนมัติ)
137
+ * **`fetch`**: ดึงข้อมูล Raw JSON/HTML จาก API
138
+
139
+ ### 🏗️ 3. Codebase Intelligence (ความเข้าใจโค้ด)
140
+ * **`build_project_graph`**: สแกนโปรเจกต์เพื่อสร้างแผนผังความสัมพันธ์ (Dependency Graph)
141
+ * **`get_file_relationships`**: ดูว่าไฟล์นี้ถูกใครเรียกใช้บ้าง (ป้องกันการแก้แล้วพัง)
142
+ * **`search_code`**: ค้นหาโค้ดทั้งโปรเจกต์แบบฉลาด
143
+
144
+ ### 📝 4. Long-term Memory (ความจำระยะยาว)
145
+ * **`manage_notes`**: บันทึก/อ่าน/แก้ไข ข้อความที่ต้องการให้ AI จำได้ข้าม Session (เช่น กฎของโปรเจกต์, ความชอบของผู้ใช้)
146
+
147
+ ### 💻 5. System Operations (จัดการระบบ)
148
+ * **`read_file`**: อ่านไฟล์ (ต้องทำก่อนแก้ไฟล์เสมอ)
149
+ * **`edit_file`**: แก้ไขไฟล์เฉพาะจุด (Search & Replace) ปลอดภัยกว่าเขียนทับ
150
+ * **`write_file`**: สร้างไฟล์ใหม่ หรือเขียนทับทั้งไฟล์
151
+ * **`shell_execute`**: รันคำสั่ง Terminal (เช่น `npm test`, `git status`)
152
+
153
+ ---
154
+
155
+ ## 🤖 Recommended System Instruction
156
+
157
+ เพื่อประสิทธิภาพสูงสุด ควรเพิ่มคำสั่งนี้ลงใน System Prompt ของ AI:
158
+
159
+ ```text
160
+ You are an advanced AI Engineer.
161
+ 1. CORE RULE: For any complex task, you MUST start with the `sequentialthinking` tool. Do not answer immediately. Plan first.
162
+ 2. CODEBASE: Always run `build_project_graph` when entering a new project to understand the structure.
163
+ 3. SAFETY: Always `read_file` before you edit. Use `edit_file` for small changes.
164
+ 4. MEMORY: Use `manage_notes` to save important context that should persist.
165
+ ```
166
+
167
+ ---
168
+
169
+ ## 📦 Development
237
170
 
238
171
  ```bash
172
+ # Install dependencies
239
173
  npm install
174
+
175
+ # Build the project
240
176
  npm run build
241
- ```
242
177
 
243
- ```bash
178
+ # Run tests
244
179
  npm test
245
180
  ```
246
181
 
247
- ## ประวัติการอัปเดต (Recent Updates)
248
-
249
- ### v1.0.0 (Major Release)
250
- - **First Stable Release**: เปิดตัวเวอร์ชั่นเสถียร 1.0.0 พร้อมเอกสารภาษาไทยสมบูรณ์
251
- - **Features Complete**: รวมฟีเจอร์ Sequential Thinking, Web Search, File System, Graph Analysis และ Memory ไว้ครบถ้วน
252
-
253
- ### v2026.2.0 (Refactoring)
254
- - **Refactoring**: ปรับโครงสร้างโค้ดครั้งใหญ่ แยกการทำงานเป็นโมดูล (`src/tools/`) เพื่อให้อ่านง่ายและรองรับการขยายตัวในอนาคต
255
-
256
- ### v2026.1.31
257
- - **New Tools**:
258
- - `manage_notes`: ระบบความจำระยะยาวสำหรับเก็บข้อมูลข้าม Session
259
-
260
182
  ## License
261
-
262
- MIT License
183
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gotza02/sequential-thinking",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },