@gotza02/mathinking 3.0.0 → 3.0.1
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 +27 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,6 +103,22 @@ Add to your `claude_desktop_config.json`:
|
|
|
103
103
|
|
|
104
104
|
---
|
|
105
105
|
|
|
106
|
+
## 🤖 การตั้งค่าสำหรับ Claude และ Gemini (Memory/Instructions)
|
|
107
|
+
|
|
108
|
+
เพื่อให้ AI เข้าใจการใช้งาน Mathinking ได้อย่างมีประสิทธิภาพสูงสุด ควรตั้งค่าใน **Custom Instructions** (Claude) หรือ **System Instruction** (Gemini) ดังนี้:
|
|
109
|
+
|
|
110
|
+
**คำแนะนำสำหรับ AI (System Prompt):**
|
|
111
|
+
> **Important:** เมื่อผู้ใช้พิมพ์เริ่มต้นข้อความด้วยคำว่า **"mathinking"** (เช่น "mathinking ช่วยเขียนสคริปต์...") ให้คุณเปลี่ยนโหมดการทำงานเข้าสู่ **Mathinking Protocol** ทันทีโดย:
|
|
112
|
+
> 1. เรียกใช้ `mathinking_brain` (The Brain) เพื่อวิเคราะห์และวางแผนงานอย่างละเอียด
|
|
113
|
+
> 2. ใช้ `self_critique` เพื่อประเมินความเสี่ยงและข้อผิดพลาด
|
|
114
|
+
> 3. เมื่อได้ข้อสรุปที่ชัดเจน ให้ระบุ `ExecutionPlan` ในรูปแบบ JSON และใช้ `execute_conclusion` เพื่อส่งต่อให้ `mathinking_body` (The Body) ทำงานจริงโดยอัตโนมัติ
|
|
115
|
+
|
|
116
|
+
**วิธีตั้งค่า:**
|
|
117
|
+
- **Gemini CLI:** เพิ่มคำแนะนำข้างต้นลงในส่วน `systemInstruction` ในไฟล์ `settings.json` หรือระบุผ่าน context ตอนเริ่มต้น
|
|
118
|
+
- **Claude Desktop:** เพิ่มลงใน **Custom Instructions** ในส่วนของการตั้งค่า Profile
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
106
122
|
## 🤖 Orchestrator Built-in Tools
|
|
107
123
|
|
|
108
124
|
| Tool | Description | Input Examples |
|
|
@@ -140,6 +156,17 @@ You can define tasks that only run if a certain condition is met:
|
|
|
140
156
|
|
|
141
157
|
## 📝 Changelog
|
|
142
158
|
|
|
159
|
+
### v3.0.1
|
|
160
|
+
- **Docs:** Added Thai instructions for AI Agent memory and "mathinking" trigger configuration.
|
|
161
|
+
|
|
162
|
+
### v3.0.0 (Major Release)
|
|
163
|
+
- **Security:** Added strict directory path validation (`ALLOWED_ROOTS`) to prevent directory traversal attacks.
|
|
164
|
+
- **Resilience:** Enhanced `Auto-Mkdir` with security checks and command escaping.
|
|
165
|
+
- **Reliability:** Added configurable rate limiting and periodic session cleanup for the Brain.
|
|
166
|
+
- **Persistence:** Added backup storage system for session data to prevent data loss on corruption.
|
|
167
|
+
- **Scalability:** Added concurrency limits for Orchestrator tasks to prevent resource exhaustion.
|
|
168
|
+
- **Performance:** Optimized session loading and LRU cache age updates.
|
|
169
|
+
|
|
143
170
|
### v2.9.0
|
|
144
171
|
- **Improved:** Integrated full test system with Vitest support.
|
|
145
172
|
- **Added:** Formal unit tests for Orchestrator logic and conditional execution.
|