clew-code 0.2.11 → 0.2.14
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/dist/main.js +2596 -2527
- package/docs/architecture.html +148 -148
- package/docs/architecture.th.html +79 -79
- package/docs/clew-code-architecture.html +6 -6
- package/docs/commands.html +225 -224
- package/docs/commands.th.html +132 -131
- package/docs/configuration.html +147 -147
- package/docs/configuration.th.html +108 -108
- package/docs/daemon.html +129 -129
- package/docs/daemon.th.html +73 -73
- package/docs/features/bridge-mode.html +99 -99
- package/docs/features/bridge-mode.th.html +90 -90
- package/docs/features/evals.html +182 -182
- package/docs/features/evals.th.html +90 -90
- package/docs/features/peer.html +178 -178
- package/docs/features/searxng-search.html +151 -151
- package/docs/features/searxng-search.th.html +95 -95
- package/docs/features/sentry-setup.html +157 -157
- package/docs/features/sentry-setup.th.html +97 -97
- package/docs/index.html +298 -299
- package/docs/index.th.html +292 -292
- package/docs/installation.html +105 -105
- package/docs/installation.th.html +105 -105
- package/docs/internals/growthbook-ab-testing.html +113 -113
- package/docs/internals/growthbook-ab-testing.th.html +81 -81
- package/docs/internals/hidden-features.html +175 -149
- package/docs/internals/hidden-features.th.html +135 -109
- package/docs/loop.html +181 -181
- package/docs/loop.th.html +227 -227
- package/docs/mcp.html +247 -247
- package/docs/mcp.th.html +207 -207
- package/docs/models.html +110 -111
- package/docs/models.th.html +61 -61
- package/docs/peer.html +236 -236
- package/docs/peer.th.html +280 -280
- package/docs/permission-model.html +102 -102
- package/docs/permission-model.th.html +67 -67
- package/docs/plugins.html +102 -102
- package/docs/plugins.th.html +79 -79
- package/docs/providers.html +126 -126
- package/docs/providers.th.html +80 -80
- package/docs/quick-start.html +93 -93
- package/docs/quick-start.th.html +1 -1
- package/docs/research-memory.html +82 -82
- package/docs/research-memory.th.html +72 -72
- package/docs/skills.html +117 -117
- package/docs/skills.th.html +90 -90
- package/docs/tools.html +170 -170
- package/docs/tools.th.html +84 -84
- package/docs/troubleshooting.html +106 -106
- package/docs/troubleshooting.th.html +85 -85
- package/package.json +162 -164
package/docs/index.th.html
CHANGED
|
@@ -1,292 +1,292 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="th">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Clew — ผู้ช่วยเขียนโค้ด AI หลายผู้ให้บริà¸à¸²à¸£</title>
|
|
7
|
-
<meta name="description" content="ผู้ช่วยเขียนโค้ดบนเทà¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥ รà¸à¸‡à¸£à¸±à¸šà¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£ AI 15+ ราย, คำสั่ง 80+ รายà¸à¸²à¸£, ระบบปลั๊à¸à¸à¸´à¸™à¸—ี่ขยายได้">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
-
<link rel="stylesheet" href="css/styles.css">
|
|
12
|
-
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
|
|
16
|
-
<header class="header"></header>
|
|
17
|
-
|
|
18
|
-
<div class="app">
|
|
19
|
-
<!-- ─── Sidebar ─── -->
|
|
20
|
-
<aside class="sidebar" id="sidebar"></aside>
|
|
21
|
-
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
22
|
-
|
|
23
|
-
<!-- ─── Content Wrap ─── -->
|
|
24
|
-
<div class="content-wrap">
|
|
25
|
-
<main class="content">
|
|
26
|
-
|
|
27
|
-
<!-- ─── Breadcrumbs ─── -->
|
|
28
|
-
<div class="breadcrumbs">
|
|
29
|
-
<a href="index.th.html">หน้าà¹à¸£à¸</a>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<!-- ─── Hero ─── -->
|
|
33
|
-
<section class="hero">
|
|
34
|
-
<div class="hero-badge">
|
|
35
|
-
<span class="dot"></span>
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
<h1>
|
|
39
|
-
เขียนโค้ดด้วย<br>
|
|
40
|
-
<span class="highlight">โมเดลไหนà¸à¹‡à¹„ด้</span>
|
|
41
|
-
</h1>
|
|
42
|
-
<p>
|
|
43
|
-
ผู้ช่วยเขียนโค้ดบนเทà¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥à¸žà¸£à¹‰à¸à¸¡à¸£à¸°à¸šà¸šè·¯ç”±à¸«à¸¥à¸²à¸¢à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£
|
|
44
|
-
สถาปัตยà¸à¸£à¸£à¸¡à¸›à¸¥à¸±à¹Šà¸à¸à¸´à¸™à¸—ี่ขยายได้ à¹à¸¥à¸°à¸£à¸°à¸šà¸šà¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¸„รบครัน
|
|
45
|
-
สำหรับเวิร์à¸à¹‚ฟลว์à¸à¸²à¸£à¸žà¸±à¸’นาระดับมืà¸à¸à¸²à¸Šà¸µà¸ž
|
|
46
|
-
</p>
|
|
47
|
-
<div class="hero-actions">
|
|
48
|
-
<a href="https://npmjs.com/package/clew-code" class="btn btn-primary">
|
|
49
|
-
npm install -g clew-code
|
|
50
|
-
</a>
|
|
51
|
-
<a href="https://github.com/ClewCode/ClewCode" class="btn btn-ghost" target="_blank">
|
|
52
|
-
GitHub →
|
|
53
|
-
</a>
|
|
54
|
-
</div>
|
|
55
|
-
</section>
|
|
56
|
-
|
|
57
|
-
<!-- ─── Terminal Demo ─── -->
|
|
58
|
-
<div class="terminal-window">
|
|
59
|
-
<div class="terminal-bar">
|
|
60
|
-
<span class="terminal-dot"></span>
|
|
61
|
-
<span class="terminal-dot"></span>
|
|
62
|
-
<span class="terminal-dot"></span>
|
|
63
|
-
<span class="terminal-title">clew — ~/project</span>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="terminal-body">
|
|
66
|
-
<span class="line"><span class="prompt">$</span> <span class="cmd">clew</span></span>
|
|
67
|
-
<span class="line"><span class="output">â•──────────────────────────────────────────╮</span></span>
|
|
68
|
-
<span class="line"><span class="output">│ <span class="highlight-amber">Clew</span> · model: <span class="highlight-cyan">deepseek-v4-flash</span> │</span></span>
|
|
69
|
-
<span class="line"><span class="output">│ provider: <span class="highlight-cyan">DeepSeek</span> · context: <span class="highlight-amber">78%</span> │</span></span>
|
|
70
|
-
<span class="line"><span class="output">╰──────────────────────────────────────────╯</span></span>
|
|
71
|
-
<span class="line"><span class="prompt">></span> <span class="cmd">"ค้นหา unused exports ทั้งหมดใน src/"</span></span>
|
|
72
|
-
<span class="line"><span class="output">à¸à¸³à¸¥à¸±à¸‡à¸„้นหา <span class="highlight-cyan">3 ไฟล์</span>... พบ <span class="highlight-amber">2 unused exports</span>.</span></span>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<!-- ─── Stats ─── -->
|
|
77
|
-
<div class="stats-grid">
|
|
78
|
-
<div class="stat-card">
|
|
79
|
-
<div class="stat-number">27</div>
|
|
80
|
-
<div class="stat-label">ผู้ให้บริà¸à¸²à¸£ AI</div>
|
|
81
|
-
</div>
|
|
82
|
-
<div class="stat-card">
|
|
83
|
-
<div class="stat-number">80+</div>
|
|
84
|
-
<div class="stat-label">คำสั่ง Slash</div>
|
|
85
|
-
</div>
|
|
86
|
-
<div class="stat-card">
|
|
87
|
-
<div class="stat-number">50+</div>
|
|
88
|
-
<div class="stat-label">เครื่à¸à¸‡à¸¡à¸·à¸à¹ƒà¸™à¸•ัว</div>
|
|
89
|
-
</div>
|
|
90
|
-
<div class="stat-card">
|
|
91
|
-
<div class="stat-number">100%</div>
|
|
92
|
-
<div class="stat-label">โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</div>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<!-- ─── Features ─── -->
|
|
97
|
-
<h2 class="section-title" id="features">ฟีเจà¸à¸£à¹Œ</h2>
|
|
98
|
-
<p class="section-subtitle">
|
|
99
|
-
ทุà¸à¸ªà¸´à¹ˆà¸‡à¸—ี่คุณต้à¸à¸‡à¸à¸²à¸£à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸žà¸±à¸’นาà¹à¸šà¸šà¸¡à¸µ AI ช่วย — จาà¸à¹€à¸—à¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥à¹€à¸”ียว
|
|
100
|
-
</p>
|
|
101
|
-
|
|
102
|
-
<div class="feature-grid">
|
|
103
|
-
<div class="feature-card">
|
|
104
|
-
<h3>路由หลายผู้ให้บริà¸à¸²à¸£</h3>
|
|
105
|
-
<p>สลับระหว่าง Anthropic, OpenAI, Google Gemini, DeepSeek, OpenRouter, Ollama, xAI, Mistral, Groq, Cohere, KiloCode à¹à¸¥à¸°à¸à¸·à¹ˆà¸™à¹† ได้ทันที</p>
|
|
106
|
-
<span class="feature-tag">/model</span>
|
|
107
|
-
<span class="feature-tag">/provider</span>
|
|
108
|
-
</div>
|
|
109
|
-
<div class="feature-card">
|
|
110
|
-
<h3>เครื่à¸à¸‡à¸¡à¸·à¸à¹ƒà¸™à¸•ัว 65+ รายà¸à¸²à¸£</h3>
|
|
111
|
-
<p>Read, Edit, Write, Glob, Grep, Bash, Web Search, Research, MCP, LSP, Agent, Task, Monitor à¹à¸¥à¸° Workflow</p>
|
|
112
|
-
<span class="feature-tag">/tools</span>
|
|
113
|
-
</div>
|
|
114
|
-
<div class="feature-card">
|
|
115
|
-
<h3>ระบบปลั๊à¸à¸à¸´à¸™</h3>
|
|
116
|
-
<p>ขยายด้วยคำสั่ง, เà¸à¹€à¸ˆà¸™à¸•์, สà¸à¸´à¸¥, ฮุค à¹à¸¥à¸° <a href="mcp.th.html">เซิร์ฟเวà¸à¸£à¹Œ MCP</a> ระบบฮุคà¸à¹ˆà¸à¸™/หลังเครื่à¸à¸‡à¸¡à¸·à¸à¸ªà¸³à¸«à¸£à¸±à¸šà¸£à¸°à¸šà¸šà¸à¸±à¸•โนมัติ</p>
|
|
117
|
-
<span class="feature-tag">/plugin</span>
|
|
118
|
-
<span class="feature-tag">/skill</span>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="feature-card">
|
|
121
|
-
<h3>มุมมà¸à¸‡à¹€à¸à¹€à¸ˆà¸™à¸•์</h3>
|
|
122
|
-
<p>à¹à¸”ชบà¸à¸£à¹Œà¸”หลายเซสชันพร้à¸à¸¡ daemon ผู้ดูà¹à¸¥, งานพื้นหลัง, à¸à¸²à¸£à¸ªà¸·à¹ˆà¸à¸ªà¸²à¸£ IPC, à¸à¸²à¸£à¹à¸¢à¸ worktree, คà¸à¸¥à¸±à¸¡à¸™à¹Œ PR, autocomplete à¹à¸¥à¸°à¸„ีย์ลัด</p>
|
|
123
|
-
<span class="feature-tag">/agents</span>
|
|
124
|
-
</div>
|
|
125
|
-
<div class="feature-card">
|
|
126
|
-
<h3>เชลล์พื้นหลัง</h3>
|
|
127
|
-
<p>รันคำสั่งยาวเป็นงานเà¸à¹€à¸ˆà¸™à¸•์พื้นหลังด้วย <code>!bg <command></code> สถานะสด, รหัสà¸à¸à¸, à¸à¸²à¸£à¸ˆà¸±à¸š stderr à¹à¸¥à¸°à¸à¸²à¸£à¸£à¸§à¸¡à¹à¸”ชบà¸à¸£à¹Œà¸”</p>
|
|
128
|
-
<span class="feature-tag">!bg</span>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="feature-card">
|
|
131
|
-
<a href="daemon.th.html" style="color:inherit;text-decoration:none"><h3>โหมดà¸à¸±à¸•โนมัติ 24/7</h3>
|
|
132
|
-
<p>daemon ถาวรพร้à¸à¸¡à¸„ิวงาน, à¸à¸²à¸£à¸ˆà¸±à¸”ตารางà¸à¸±à¸•โนมัติ, à¸à¸²à¸£à¸•รวจสà¸à¸šà¸ªà¸¸à¸‚ภาพ, à¸à¸²à¸£à¹€à¸£à¸´à¹ˆà¸¡à¹ƒà¸«à¸¡à¹ˆà¸à¸±à¸•โนมัติ à¹à¸¥à¸°à¸à¸²à¸£à¸ˆà¸±à¸”ระเบียบเวิร์à¸à¹€à¸à¸à¸£à¹Œ</p></a>
|
|
133
|
-
<span class="feature-tag">/daemon</span>
|
|
134
|
-
<span class="feature-tag">/task</span>
|
|
135
|
-
</div>
|
|
136
|
-
<div class="feature-card">
|
|
137
|
-
<a href="research-memory.th.html" style="color:inherit;text-decoration:none"><h3>หน่วยความจำà¸à¸±à¸ˆà¸‰à¸£à¸´à¸¢à¸°</h3>
|
|
138
|
-
<p>à¸à¸²à¸£à¸„้นหาเชิงความหมายข้ามภาษา, à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸à¸„ืนà¹à¸šà¸šà¸œà¸ªà¸¡ (local + LLM), à¸à¸²à¸£à¸šà¸±à¸™à¸—ึà¸à¸à¸±à¸•โนมัติ à¹à¸¥à¸°à¸à¸²à¸£à¸‹à¸´à¸‡à¸„์ทีม</p></a>
|
|
139
|
-
<span class="feature-tag">/memory</span>
|
|
140
|
-
</div>
|
|
141
|
-
<div class="feature-card">
|
|
142
|
-
<h3>โหมด Bridge</h3>
|
|
143
|
-
<p>à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™à¸£à¸°à¸¢à¸°à¹„à¸à¸¥à¸œà¹ˆà¸²à¸™ WebSocket, à¸à¸²à¸£à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™, à¸à¸²à¸£à¹€à¸£à¸´à¹ˆà¸¡à¸•้นทีม à¹à¸¥à¸°à¹„คลเà¸à¸™à¸•์มืà¸à¸–ืà¸/เว็บ</p>
|
|
144
|
-
<span class="feature-tag">Bridge</span>
|
|
145
|
-
</div>
|
|
146
|
-
<div class="feature-card">
|
|
147
|
-
<h3>KiloCompact</h3>
|
|
148
|
-
<p>à¸à¸²à¸£à¸šà¸µà¸šà¸à¸±à¸”บริบทในเครื่à¸à¸‡: à¸à¸²à¸£à¸•ัด log/trace, à¸à¸²à¸£à¸£à¸§à¸¡à¸ªà¸–านะที่ล้มเหลว, à¸à¸²à¸£à¸•ัดรà¸à¸šà¸à¸²à¸£à¸ªà¸™à¸—นาตามความหมาย</p>
|
|
149
|
-
<span class="feature-tag">/compact</span>
|
|
150
|
-
</div>
|
|
151
|
-
<div class="feature-card">
|
|
152
|
-
<h3>โหมดสิทธิ์</h3>
|
|
153
|
-
<p>ค่าเริ่มต้น, à¸à¸±à¸•โนมัติ, à¹à¸œà¸™, YOLO Lite, YOLO, YOLO MAX — ควบคุมความปลà¸à¸”ภัยในà¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¹à¸šà¸šà¸¥à¸°à¹€à¸à¸µà¸¢à¸”</p>
|
|
154
|
-
<span class="feature-tag">/permissions</span>
|
|
155
|
-
</div>
|
|
156
|
-
<div class="feature-card">
|
|
157
|
-
<h3>à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸™à¸£à¸¹à¹‰à¸„วามชà¸à¸š</h3>
|
|
158
|
-
<p>ระบบ Taste ที่เรียนรู้สไตล์à¸à¸²à¸£à¹€à¸‚ียนโค้ดขà¸à¸‡à¸„ุณจาà¸à¸ªà¸±à¸à¸à¸²à¸“ accept/reject/edit เมนูà¹à¸šà¸šà¹‚ต้ตà¸à¸š, à¸à¸²à¸£à¸•รวจสà¸à¸šà¸à¸²à¸£à¹à¸à¹‰à¹„ข, à¸à¸²à¸£à¹‚หลดค่าตั้งค่าใหม่ทันที</p>
|
|
159
|
-
<span class="feature-tag">/taste</span>
|
|
160
|
-
</div>
|
|
161
|
-
</div>
|
|
162
|
-
|
|
163
|
-
<!-- ─── Usage ─── -->
|
|
164
|
-
<h2 class="section-title" id="usage">เริ่มต้นใช้งาน</h2>
|
|
165
|
-
<p class="section-subtitle">จาà¸à¸¨à¸¹à¸™à¸¢à¹Œà¸–ึงà¸à¸²à¸£à¹€à¸‚ียนโค้ดในไม่ถึงนาที</p>
|
|
166
|
-
|
|
167
|
-
<div class="code-block-wrap">
|
|
168
|
-
<div class="code-block-header">
|
|
169
|
-
<span>bash</span>
|
|
170
|
-
</div>
|
|
171
|
-
<pre><code><span class="cmd-muted">$</span> <span class="cmd-primary">npm install -g clew-code</span>
|
|
172
|
-
<span class="cmd-muted">$</span> <span class="cmd-primary">export ANTHROPIC_API_KEY=sk-ant-...</span>
|
|
173
|
-
<span class="cmd-muted">$</span> <span class="cmd-primary">clew</span>
|
|
174
|
-
|
|
175
|
-
<span class="cmd-muted"># ถามคำถาม</span>
|
|
176
|
-
<span class="cmd-muted">></span> <span class="cmd-primary">"ค้นหา unused exports ทั้งหมดใน src/"</span>
|
|
177
|
-
|
|
178
|
-
<span class="cmd-muted"># สลับโมเดลทันที</span>
|
|
179
|
-
<span class="cmd-muted">></span> <span class="cmd-primary">/model deepseek-v4-flash</span>
|
|
180
|
-
|
|
181
|
-
<span class="cmd-muted"># จัดà¸à¸²à¸£à¸šà¸£à¸´à¸šà¸—</span>
|
|
182
|
-
<span class="cmd-muted">></span> <span class="cmd-primary">/clear</span> <span class="cmd-muted"># เริ่มใหม่</span>
|
|
183
|
-
<span class="cmd-muted">></span> <span class="cmd-primary">/compact</span> <span class="cmd-muted"># บีบà¸à¸±à¸”บริบท</span>
|
|
184
|
-
<span class="cmd-muted">></span> <span class="cmd-primary">/resume</span> <span class="cmd-muted"># à¸à¸¥à¸±à¸šà¸¡à¸²à¹€à¸‹à¸ªà¸Šà¸±à¸™à¸¥à¹ˆà¸²à¸ªà¸¸à¸”</span></code></pre>
|
|
185
|
-
</div>
|
|
186
|
-
|
|
187
|
-
<!-- ─── Slash Commands ─── -->
|
|
188
|
-
<h2 class="section-title" id="commands">คำสั่ง Slash</h2>
|
|
189
|
-
<p class="section-subtitle">80+ คำสั่งสำหรับควบคุมทุà¸à¸”้านขà¸à¸‡à¹€à¸§à¸´à¸£à¹Œà¸à¹‚ฟลว์ขà¸à¸‡à¸„ุณ</p>
|
|
190
|
-
|
|
191
|
-
<table>
|
|
192
|
-
<thead>
|
|
193
|
-
<tr><th>หมวดหมู่</th><th>คำสั่ง</th><th>คำà¸à¸˜à¸´à¸šà¸²à¸¢</th></tr>
|
|
194
|
-
</thead>
|
|
195
|
-
<tbody>
|
|
196
|
-
<tr><td><span class="cmd-accent">ไฟล์</span></td><td><code>/read</code> <code>/edit</code> <code>/write</code> <code>/glob</code> <code>/grep</code></td><td>à¸à¹ˆà¸²à¸™, à¹à¸à¹‰à¹„ข, สร้าง, à¹à¸¥à¸°à¸„้นหาไฟล์</td></tr>
|
|
197
|
-
<tr><td><span class="cmd-accent">Git</span></td><td><code>/diff</code> <code>/commit</code> <code>/branch</code></td><td>à¸à¸²à¸£à¸”ำเนินà¸à¸²à¸£à¸„วบคุมเวà¸à¸£à¹Œà¸Šà¸±à¸™</td></tr>
|
|
198
|
-
<tr><td><span class="cmd-accent">โมเดล</span></td><td><code>/model</code> <code>/provider</code> <code>/cost</code> <code>/usage</code> <code>/stats</code></td><td>สลับโมเดลà¹à¸¥à¸°à¸•ิดตามà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™</td></tr>
|
|
199
|
-
<tr><td><span class="cmd-accent">เซสชัน</span></td><td><code>/clear</code> <code>/compact</code> <code>/resume</code> <code>/session</code> <code>/rewind</code></td><td>จัดà¸à¸²à¸£à¸šà¸£à¸´à¸šà¸—à¹à¸¥à¸°à¹€à¸‹à¸ªà¸Šà¸±à¸™</td></tr>
|
|
200
|
-
<tr><td><span class="cmd-accent">ตั้งค่า</span></td><td><code>/permissions</code> <code>/plan</code> <code>/config</code> <code>/theme</code></td><td>à¸à¸²à¸£à¸•ั้งค่าà¹à¸¥à¸°à¸„่าà¸à¸³à¸«à¸™à¸”</td></tr>
|
|
201
|
-
<tr><td><span class="cmd-accent">ขยาย</span></td><td><code>/plugin</code> <code>/skill</code> <code>/agent</code> <code>/agents</code> <code>/mcp</code></td><td>ปลั๊à¸à¸à¸´à¸™, สà¸à¸´à¸¥, เà¸à¹€à¸ˆà¸™à¸•์, MCP</td></tr>
|
|
202
|
-
<tr><td><span class="cmd-accent">Daemon</span></td><td><code>/daemon</code> <code>/task</code> <code>/loop</code></td><td>เà¸à¹€à¸ˆà¸™à¸•์à¸à¸±à¸•โนมัติ 24/7, คิวงาน, งานที่ทำซ้ำ</td></tr>
|
|
203
|
-
<tr><td><span class="cmd-accent">à¸à¸±à¸•โนมัติ</span></td><td><code>/autofix-pr</code></td><td>à¹à¸à¹‰à¹„ข CI à¹à¸¥à¸°à¸£à¸µà¸§à¸´à¸§ PR ผ่าน Clew บนเว็บ</td></tr>
|
|
204
|
-
<tr><td><span class="cmd-accent">ระบบ</span></td><td><code>/help</code> <code>/status</code> <code>/doctor</code> <code>/exit</code></td><td>ช่วยเหลืà¸, ตรวจสà¸à¸š, à¹à¸¥à¸°à¸à¸à¸</td></tr>
|
|
205
|
-
</tbody>
|
|
206
|
-
</table>
|
|
207
|
-
|
|
208
|
-
<!-- ─── Providers ─── -->
|
|
209
|
-
<h2 class="section-title" id="providers">ผู้ให้บริà¸à¸²à¸£ AI</h2>
|
|
210
|
-
<p class="section-subtitle">นำคีย์ขà¸à¸‡à¸„ุณเà¸à¸‡ — ใช้โมเดลที่เหมาะà¸à¸±à¸šà¹à¸•่ละงาน</p>
|
|
211
|
-
|
|
212
|
-
<table>
|
|
213
|
-
<thead>
|
|
214
|
-
<tr><th>ผู้ให้บริà¸à¸²à¸£</th><th>à¸à¸²à¸£à¸•ั้งค่า</th><th>โมเดล</th></tr>
|
|
215
|
-
</thead>
|
|
216
|
-
<tbody>
|
|
217
|
-
<tr><td><span class="cmd-info">Anthropic</span></td><td><code>ANTHROPIC_API_KEY</code></td><td>claude-opus-4-7, claude-sonnet-4-6</td></tr>
|
|
218
|
-
<tr><td><span class="cmd-info">OpenAI</span></td><td><code>OPENAI_API_KEY</code></td><td>gpt-5.5, gpt-5.4-mini</td></tr>
|
|
219
|
-
<tr><td><span class="cmd-info">Google</span></td><td><code>GOOGLE_API_KEY</code></td><td>gemini-3.1-pro, gemini-3.1-flash</td></tr>
|
|
220
|
-
<tr><td><span class="cmd-info">DeepSeek</span></td><td><code>DEEPSEEK_API_KEY</code></td><td>deepseek-v4-pro, deepseek-v4-flash</td></tr>
|
|
221
|
-
<tr><td><span class="cmd-info">OpenRouter</span></td><td><code>OPENROUTER_API_KEY</code></td><td>100+ โมเดลผ่าน API</td></tr>
|
|
222
|
-
<tr><td><span class="cmd-info">Ollama</span></td><td><code>OLLAMA_HOST</code></td><td>llama3.3, llama4:70b, qwen3.6</td></tr>
|
|
223
|
-
<tr><td><span class="cmd-info">xAI</span></td><td><code>XAI_API_KEY</code></td><td>grok-4.3</td></tr>
|
|
224
|
-
<tr><td><span class="cmd-info">Mistral</span></td><td><code>MISTRAL_API_KEY</code></td><td>mistral-large-3, mistral-small-4</td></tr>
|
|
225
|
-
<tr><td><span class="cmd-info">Groq</span></td><td><code>GROQ_API_KEY</code></td><td>llama-3.3-70b, deepseek-v4</td></tr>
|
|
226
|
-
<tr><td><span class="cmd-info">Cohere</span></td><td><code>COHERE_API_KEY</code></td><td>command-a-plus</td></tr>
|
|
227
|
-
<tr><td><span class="cmd-info">Clew Gateway</span></td><td><code>CLEW_GATEWAY_API_KEY</code></td><td>Unified API gateway</td></tr>
|
|
228
|
-
<tr><td><span class="cmd-info">KiloCode</span></td><td><code>KILOCODE_API_KEY</code></td><td>kilo-auto/free, kilo-auto/balanced</td></tr>
|
|
229
|
-
</tbody>
|
|
230
|
-
</table>
|
|
231
|
-
|
|
232
|
-
<!-- ─── Plugins ─── -->
|
|
233
|
-
<h2 class="section-title" id="plugins">ปลั๊à¸à¸à¸´à¸™à¹à¸¥à¸°à¸ªà¸à¸´à¸¥</h2>
|
|
234
|
-
<p class="section-subtitle">ขยายความสามารถด้วยปลั๊à¸à¸à¸´à¸™à¹ƒà¸™à¸•ัวà¹à¸¥à¸°à¸ˆà¸²à¸ marketplace</p>
|
|
235
|
-
|
|
236
|
-
<table>
|
|
237
|
-
<thead>
|
|
238
|
-
<tr><th>ปลั๊à¸à¸à¸´à¸™</th><th>คำà¸à¸˜à¸´à¸šà¸²à¸¢</th></tr>
|
|
239
|
-
</thead>
|
|
240
|
-
<tbody>
|
|
241
|
-
<tr><td><code>commit-commands</code></td><td>เวิร์à¸à¹‚ฟลว์ Git: commit, push, สร้าง PR</td></tr>
|
|
242
|
-
<tr><td><code>code-review</code></td><td>รีวิวโค้ด PR à¸à¸±à¸•โนมัติ</td></tr>
|
|
243
|
-
<tr><td><code>feature-dev</code></td><td>พัฒนาฟีเจà¸à¸£à¹Œà¹à¸šà¸šà¸¡à¸µà¸„ำà¹à¸™à¸°à¸™à¸³à¸à¸±à¸šà¹€à¸à¹€à¸ˆà¸™à¸•์</td></tr>
|
|
244
|
-
<tr><td><code>frontend-design</code></td><td>สร้าง UI/UX ระดับโปรดัà¸à¸Šà¸±à¸™</td></tr>
|
|
245
|
-
<tr><td><code>verify</code></td><td>ตรวจสà¸à¸šà¸Šà¸™à¸´à¸”, lint, build, à¹à¸¥à¸° test</td></tr>
|
|
246
|
-
<tr><td><code>debug</code></td><td>ช่วยเหลืà¸à¸à¸²à¸£à¸”ีบัà¸</td></tr>
|
|
247
|
-
<tr><td><code>commit</code></td><td>Git commit à¹à¸šà¸š conventional</td></tr>
|
|
248
|
-
<tr><td><code>simplify</code></td><td>ตรวจสà¸à¸šà¸„ุณภาพโค้ดà¹à¸¥à¸°à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‹à¹‰à¸³</td></tr>
|
|
249
|
-
<tr><td><code>web-search</code></td><td>ค้นหาเว็บหลายผู้ให้บริà¸à¸²à¸£</td></tr>
|
|
250
|
-
<tr><td><code>scrapling</code></td><td>ดึงข้à¸à¸¡à¸¹à¸¥à¹€à¸§à¹‡à¸šà¸”้วย Scrapling</td></tr>
|
|
251
|
-
<tr><td><code>skillify</code></td><td>สร้างสà¸à¸´à¸¥à¸ˆà¸²à¸à¹€à¸§à¸´à¸£à¹Œà¸à¹‚ฟลว์</td></tr>
|
|
252
|
-
<tr><td><code>remember</code></td><td>บันทึà¸à¸„่าà¸à¸³à¸«à¸™à¸”ผู้ใช้</td></tr>
|
|
253
|
-
</tbody>
|
|
254
|
-
</table>
|
|
255
|
-
|
|
256
|
-
<!-- ─── Changelog ─── -->
|
|
257
|
-
<h2 class="section-title" id="updates">à¸à¸±à¸›à¹€à¸”ต
|
|
258
|
-
<ul>
|
|
259
|
-
<li><strong>ระบบ Taste</strong> — ระบบเรียนรู้ความชà¸à¸šà¹ƒà¸™à¹€à¸„รื่à¸à¸‡ เมนู <code>/taste</code> à¹à¸šà¸šà¹‚ต้ตà¸à¸š à¹à¸–บสถานะ, โหลดค่าตั้งค่าใหม่ทันที</li>
|
|
260
|
-
<li><strong>ตัวเลืà¸à¸à¹‚มเดลà¹à¸šà¹ˆà¸‡à¸•ามผู้ให้บริà¸à¸²à¸£</strong> — <code>/model</code> ตà¸à¸™à¸™à¸µà¹‰à¹à¸ªà¸”งโมเดลทั้งหมดจาà¸à¸—ุà¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</li>
|
|
261
|
-
<li><strong>บันทึà¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸à¸±à¸•โนมัติ</strong> — ผู้ให้บริà¸à¸²à¸£à¹à¸¥à¸°à¹‚มเดลล่าสุดบันทึà¸à¹ƒà¸™ <code>provider.json</code></li>
|
|
262
|
-
<li><strong>เพิ่มความปลà¸à¸”ภัย</strong> — à¸à¸Ž PowerShell, à¸à¸²à¸£à¸›à¹‰à¸à¸‡à¸à¸±à¸™ tool call ผิดรูปà¹à¸šà¸š, Guardian ตรวจสà¸à¸šà¸à¸±à¸•โนมัติ</li>
|
|
263
|
-
<li><strong>Bridge v2</strong> — ควบคุมระยะไà¸à¸¥à¸œà¹ˆà¸²à¸™ WebSocket, relay client, REPL bridging</li>
|
|
264
|
-
<li><strong>คำสั่ง PR</strong> — <code>/pr create</code>, <code>list</code>, <code>view</code>, <code>review</code>, <code>merge</code>, <code>status</code></li>
|
|
265
|
-
</ul>
|
|
266
|
-
|
|
267
|
-
<div style="margin-top:var(--space-lg)">
|
|
268
|
-
<a href="https://github.com/ClewCode/ClewCode/blob/main/CHANGELOG.md" class="btn btn-ghost">บันทึà¸à¸à¸²à¸£à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹à¸›à¸¥à¸‡à¸—ั้งหมด →</a>
|
|
269
|
-
</div>
|
|
270
|
-
|
|
271
|
-
<!-- ─── Footer ─── -->
|
|
272
|
-
<footer class="footer">
|
|
273
|
-
<span>Clew
|
|
274
|
-
<div class="footer-links">
|
|
275
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
276
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
277
|
-
<a href="https://npmjs.com/package/clew-code">npm</a>
|
|
278
|
-
</div>
|
|
279
|
-
</footer>
|
|
280
|
-
|
|
281
|
-
</main>
|
|
282
|
-
|
|
283
|
-
<!-- ─── Right TOC ─── -->
|
|
284
|
-
<nav class="toc-sidebar"></nav>
|
|
285
|
-
</div>
|
|
286
|
-
</div>
|
|
287
|
-
|
|
288
|
-
<script src="js/main.js"></script>
|
|
289
|
-
</body>
|
|
290
|
-
</html>
|
|
291
|
-
|
|
292
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="th">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Clew — ผู้ช่วยเขียนโค้ด AI หลายผู้ให้บริà¸à¸²à¸£</title>
|
|
7
|
+
<meta name="description" content="ผู้ช่วยเขียนโค้ดบนเทà¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥ รà¸à¸‡à¸£à¸±à¸šà¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£ AI 15+ ราย, คำสั่ง 80+ รายà¸à¸²à¸£, ระบบปลั๊à¸à¸à¸´à¸™à¸—ี่ขยายได้">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
+
<link rel="stylesheet" href="css/styles.css">
|
|
12
|
+
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
|
|
16
|
+
<header class="header"></header>
|
|
17
|
+
|
|
18
|
+
<div class="app">
|
|
19
|
+
<!-- ─── Sidebar ─── -->
|
|
20
|
+
<aside class="sidebar" id="sidebar"></aside>
|
|
21
|
+
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
22
|
+
|
|
23
|
+
<!-- ─── Content Wrap ─── -->
|
|
24
|
+
<div class="content-wrap">
|
|
25
|
+
<main class="content">
|
|
26
|
+
|
|
27
|
+
<!-- ─── Breadcrumbs ─── -->
|
|
28
|
+
<div class="breadcrumbs">
|
|
29
|
+
<a href="index.th.html">หน้าà¹à¸£à¸</a>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<!-- ─── Hero ─── -->
|
|
33
|
+
<section class="hero">
|
|
34
|
+
<div class="hero-badge">
|
|
35
|
+
<span class="dot"></span>
|
|
36
|
+
0.2.13 — CLI AI หลายผู้ให้บริà¸à¸²à¸£
|
|
37
|
+
</div>
|
|
38
|
+
<h1>
|
|
39
|
+
เขียนโค้ดด้วย<br>
|
|
40
|
+
<span class="highlight">โมเดลไหนà¸à¹‡à¹„ด้</span>
|
|
41
|
+
</h1>
|
|
42
|
+
<p>
|
|
43
|
+
ผู้ช่วยเขียนโค้ดบนเทà¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥à¸žà¸£à¹‰à¸à¸¡à¸£à¸°à¸šà¸šè·¯ç”±à¸«à¸¥à¸²à¸¢à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£
|
|
44
|
+
สถาปัตยà¸à¸£à¸£à¸¡à¸›à¸¥à¸±à¹Šà¸à¸à¸´à¸™à¸—ี่ขยายได้ à¹à¸¥à¸°à¸£à¸°à¸šà¸šà¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¸„รบครัน
|
|
45
|
+
สำหรับเวิร์à¸à¹‚ฟลว์à¸à¸²à¸£à¸žà¸±à¸’นาระดับมืà¸à¸à¸²à¸Šà¸µà¸ž
|
|
46
|
+
</p>
|
|
47
|
+
<div class="hero-actions">
|
|
48
|
+
<a href="https://npmjs.com/package/clew-code" class="btn btn-primary">
|
|
49
|
+
npm install -g clew-code
|
|
50
|
+
</a>
|
|
51
|
+
<a href="https://github.com/ClewCode/ClewCode" class="btn btn-ghost" target="_blank">
|
|
52
|
+
GitHub →
|
|
53
|
+
</a>
|
|
54
|
+
</div>
|
|
55
|
+
</section>
|
|
56
|
+
|
|
57
|
+
<!-- ─── Terminal Demo ─── -->
|
|
58
|
+
<div class="terminal-window">
|
|
59
|
+
<div class="terminal-bar">
|
|
60
|
+
<span class="terminal-dot"></span>
|
|
61
|
+
<span class="terminal-dot"></span>
|
|
62
|
+
<span class="terminal-dot"></span>
|
|
63
|
+
<span class="terminal-title">clew — ~/project</span>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="terminal-body">
|
|
66
|
+
<span class="line"><span class="prompt">$</span> <span class="cmd">clew</span></span>
|
|
67
|
+
<span class="line"><span class="output">â•──────────────────────────────────────────╮</span></span>
|
|
68
|
+
<span class="line"><span class="output">│ <span class="highlight-amber">Clew</span> · model: <span class="highlight-cyan">deepseek-v4-flash</span> │</span></span>
|
|
69
|
+
<span class="line"><span class="output">│ provider: <span class="highlight-cyan">DeepSeek</span> · context: <span class="highlight-amber">78%</span> │</span></span>
|
|
70
|
+
<span class="line"><span class="output">╰──────────────────────────────────────────╯</span></span>
|
|
71
|
+
<span class="line"><span class="prompt">></span> <span class="cmd">"ค้นหา unused exports ทั้งหมดใน src/"</span></span>
|
|
72
|
+
<span class="line"><span class="output">à¸à¸³à¸¥à¸±à¸‡à¸„้นหา <span class="highlight-cyan">3 ไฟล์</span>... พบ <span class="highlight-amber">2 unused exports</span>.</span></span>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<!-- ─── Stats ─── -->
|
|
77
|
+
<div class="stats-grid">
|
|
78
|
+
<div class="stat-card">
|
|
79
|
+
<div class="stat-number">27</div>
|
|
80
|
+
<div class="stat-label">ผู้ให้บริà¸à¸²à¸£ AI</div>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="stat-card">
|
|
83
|
+
<div class="stat-number">80+</div>
|
|
84
|
+
<div class="stat-label">คำสั่ง Slash</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="stat-card">
|
|
87
|
+
<div class="stat-number">50+</div>
|
|
88
|
+
<div class="stat-label">เครื่à¸à¸‡à¸¡à¸·à¸à¹ƒà¸™à¸•ัว</div>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="stat-card">
|
|
91
|
+
<div class="stat-number">100%</div>
|
|
92
|
+
<div class="stat-label">โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<!-- ─── Features ─── -->
|
|
97
|
+
<h2 class="section-title" id="features">ฟีเจà¸à¸£à¹Œ</h2>
|
|
98
|
+
<p class="section-subtitle">
|
|
99
|
+
ทุà¸à¸ªà¸´à¹ˆà¸‡à¸—ี่คุณต้à¸à¸‡à¸à¸²à¸£à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸žà¸±à¸’นาà¹à¸šà¸šà¸¡à¸µ AI ช่วย — จาà¸à¹€à¸—à¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥à¹€à¸”ียว
|
|
100
|
+
</p>
|
|
101
|
+
|
|
102
|
+
<div class="feature-grid">
|
|
103
|
+
<div class="feature-card">
|
|
104
|
+
<h3>路由หลายผู้ให้บริà¸à¸²à¸£</h3>
|
|
105
|
+
<p>สลับระหว่าง Anthropic, OpenAI, Google Gemini, DeepSeek, OpenRouter, Ollama, xAI, Mistral, Groq, Cohere, KiloCode à¹à¸¥à¸°à¸à¸·à¹ˆà¸™à¹† ได้ทันที</p>
|
|
106
|
+
<span class="feature-tag">/model</span>
|
|
107
|
+
<span class="feature-tag">/provider</span>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="feature-card">
|
|
110
|
+
<h3>เครื่à¸à¸‡à¸¡à¸·à¸à¹ƒà¸™à¸•ัว 65+ รายà¸à¸²à¸£</h3>
|
|
111
|
+
<p>Read, Edit, Write, Glob, Grep, Bash, Web Search, Research, MCP, LSP, Agent, Task, Monitor à¹à¸¥à¸° Workflow</p>
|
|
112
|
+
<span class="feature-tag">/tools</span>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="feature-card">
|
|
115
|
+
<h3>ระบบปลั๊à¸à¸à¸´à¸™</h3>
|
|
116
|
+
<p>ขยายด้วยคำสั่ง, เà¸à¹€à¸ˆà¸™à¸•์, สà¸à¸´à¸¥, ฮุค à¹à¸¥à¸° <a href="mcp.th.html">เซิร์ฟเวà¸à¸£à¹Œ MCP</a> ระบบฮุคà¸à¹ˆà¸à¸™/หลังเครื่à¸à¸‡à¸¡à¸·à¸à¸ªà¸³à¸«à¸£à¸±à¸šà¸£à¸°à¸šà¸šà¸à¸±à¸•โนมัติ</p>
|
|
117
|
+
<span class="feature-tag">/plugin</span>
|
|
118
|
+
<span class="feature-tag">/skill</span>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="feature-card">
|
|
121
|
+
<h3>มุมมà¸à¸‡à¹€à¸à¹€à¸ˆà¸™à¸•์</h3>
|
|
122
|
+
<p>à¹à¸”ชบà¸à¸£à¹Œà¸”หลายเซสชันพร้à¸à¸¡ daemon ผู้ดูà¹à¸¥, งานพื้นหลัง, à¸à¸²à¸£à¸ªà¸·à¹ˆà¸à¸ªà¸²à¸£ IPC, à¸à¸²à¸£à¹à¸¢à¸ worktree, คà¸à¸¥à¸±à¸¡à¸™à¹Œ PR, autocomplete à¹à¸¥à¸°à¸„ีย์ลัด</p>
|
|
123
|
+
<span class="feature-tag">/agents</span>
|
|
124
|
+
</div>
|
|
125
|
+
<div class="feature-card">
|
|
126
|
+
<h3>เชลล์พื้นหลัง</h3>
|
|
127
|
+
<p>รันคำสั่งยาวเป็นงานเà¸à¹€à¸ˆà¸™à¸•์พื้นหลังด้วย <code>!bg <command></code> สถานะสด, รหัสà¸à¸à¸, à¸à¸²à¸£à¸ˆà¸±à¸š stderr à¹à¸¥à¸°à¸à¸²à¸£à¸£à¸§à¸¡à¹à¸”ชบà¸à¸£à¹Œà¸”</p>
|
|
128
|
+
<span class="feature-tag">!bg</span>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="feature-card">
|
|
131
|
+
<a href="daemon.th.html" style="color:inherit;text-decoration:none"><h3>โหมดà¸à¸±à¸•โนมัติ 24/7</h3>
|
|
132
|
+
<p>daemon ถาวรพร้à¸à¸¡à¸„ิวงาน, à¸à¸²à¸£à¸ˆà¸±à¸”ตารางà¸à¸±à¸•โนมัติ, à¸à¸²à¸£à¸•รวจสà¸à¸šà¸ªà¸¸à¸‚ภาพ, à¸à¸²à¸£à¹€à¸£à¸´à¹ˆà¸¡à¹ƒà¸«à¸¡à¹ˆà¸à¸±à¸•โนมัติ à¹à¸¥à¸°à¸à¸²à¸£à¸ˆà¸±à¸”ระเบียบเวิร์à¸à¹€à¸à¸à¸£à¹Œ</p></a>
|
|
133
|
+
<span class="feature-tag">/daemon</span>
|
|
134
|
+
<span class="feature-tag">/task</span>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="feature-card">
|
|
137
|
+
<a href="research-memory.th.html" style="color:inherit;text-decoration:none"><h3>หน่วยความจำà¸à¸±à¸ˆà¸‰à¸£à¸´à¸¢à¸°</h3>
|
|
138
|
+
<p>à¸à¸²à¸£à¸„้นหาเชิงความหมายข้ามภาษา, à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸à¸„ืนà¹à¸šà¸šà¸œà¸ªà¸¡ (local + LLM), à¸à¸²à¸£à¸šà¸±à¸™à¸—ึà¸à¸à¸±à¸•โนมัติ à¹à¸¥à¸°à¸à¸²à¸£à¸‹à¸´à¸‡à¸„์ทีม</p></a>
|
|
139
|
+
<span class="feature-tag">/memory</span>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="feature-card">
|
|
142
|
+
<h3>โหมด Bridge</h3>
|
|
143
|
+
<p>à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™à¸£à¸°à¸¢à¸°à¹„à¸à¸¥à¸œà¹ˆà¸²à¸™ WebSocket, à¸à¸²à¸£à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™, à¸à¸²à¸£à¹€à¸£à¸´à¹ˆà¸¡à¸•้นทีม à¹à¸¥à¸°à¹„คลเà¸à¸™à¸•์มืà¸à¸–ืà¸/เว็บ</p>
|
|
144
|
+
<span class="feature-tag">Bridge</span>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="feature-card">
|
|
147
|
+
<h3>KiloCompact</h3>
|
|
148
|
+
<p>à¸à¸²à¸£à¸šà¸µà¸šà¸à¸±à¸”บริบทในเครื่à¸à¸‡: à¸à¸²à¸£à¸•ัด log/trace, à¸à¸²à¸£à¸£à¸§à¸¡à¸ªà¸–านะที่ล้มเหลว, à¸à¸²à¸£à¸•ัดรà¸à¸šà¸à¸²à¸£à¸ªà¸™à¸—นาตามความหมาย</p>
|
|
149
|
+
<span class="feature-tag">/compact</span>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="feature-card">
|
|
152
|
+
<h3>โหมดสิทธิ์</h3>
|
|
153
|
+
<p>ค่าเริ่มต้น, à¸à¸±à¸•โนมัติ, à¹à¸œà¸™, YOLO Lite, YOLO, YOLO MAX — ควบคุมความปลà¸à¸”ภัยในà¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¹à¸šà¸šà¸¥à¸°à¹€à¸à¸µà¸¢à¸”</p>
|
|
154
|
+
<span class="feature-tag">/permissions</span>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="feature-card">
|
|
157
|
+
<h3>à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸™à¸£à¸¹à¹‰à¸„วามชà¸à¸š</h3>
|
|
158
|
+
<p>ระบบ Taste ที่เรียนรู้สไตล์à¸à¸²à¸£à¹€à¸‚ียนโค้ดขà¸à¸‡à¸„ุณจาà¸à¸ªà¸±à¸à¸à¸²à¸“ accept/reject/edit เมนูà¹à¸šà¸šà¹‚ต้ตà¸à¸š, à¸à¸²à¸£à¸•รวจสà¸à¸šà¸à¸²à¸£à¹à¸à¹‰à¹„ข, à¸à¸²à¸£à¹‚หลดค่าตั้งค่าใหม่ทันที</p>
|
|
159
|
+
<span class="feature-tag">/taste</span>
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<!-- ─── Usage ─── -->
|
|
164
|
+
<h2 class="section-title" id="usage">เริ่มต้นใช้งาน</h2>
|
|
165
|
+
<p class="section-subtitle">จาà¸à¸¨à¸¹à¸™à¸¢à¹Œà¸–ึงà¸à¸²à¸£à¹€à¸‚ียนโค้ดในไม่ถึงนาที</p>
|
|
166
|
+
|
|
167
|
+
<div class="code-block-wrap">
|
|
168
|
+
<div class="code-block-header">
|
|
169
|
+
<span>bash</span>
|
|
170
|
+
</div>
|
|
171
|
+
<pre><code><span class="cmd-muted">$</span> <span class="cmd-primary">npm install -g clew-code</span>
|
|
172
|
+
<span class="cmd-muted">$</span> <span class="cmd-primary">export ANTHROPIC_API_KEY=sk-ant-...</span>
|
|
173
|
+
<span class="cmd-muted">$</span> <span class="cmd-primary">clew</span>
|
|
174
|
+
|
|
175
|
+
<span class="cmd-muted"># ถามคำถาม</span>
|
|
176
|
+
<span class="cmd-muted">></span> <span class="cmd-primary">"ค้นหา unused exports ทั้งหมดใน src/"</span>
|
|
177
|
+
|
|
178
|
+
<span class="cmd-muted"># สลับโมเดลทันที</span>
|
|
179
|
+
<span class="cmd-muted">></span> <span class="cmd-primary">/model deepseek-v4-flash</span>
|
|
180
|
+
|
|
181
|
+
<span class="cmd-muted"># จัดà¸à¸²à¸£à¸šà¸£à¸´à¸šà¸—</span>
|
|
182
|
+
<span class="cmd-muted">></span> <span class="cmd-primary">/clear</span> <span class="cmd-muted"># เริ่มใหม่</span>
|
|
183
|
+
<span class="cmd-muted">></span> <span class="cmd-primary">/compact</span> <span class="cmd-muted"># บีบà¸à¸±à¸”บริบท</span>
|
|
184
|
+
<span class="cmd-muted">></span> <span class="cmd-primary">/resume</span> <span class="cmd-muted"># à¸à¸¥à¸±à¸šà¸¡à¸²à¹€à¸‹à¸ªà¸Šà¸±à¸™à¸¥à¹ˆà¸²à¸ªà¸¸à¸”</span></code></pre>
|
|
185
|
+
</div>
|
|
186
|
+
|
|
187
|
+
<!-- ─── Slash Commands ─── -->
|
|
188
|
+
<h2 class="section-title" id="commands">คำสั่ง Slash</h2>
|
|
189
|
+
<p class="section-subtitle">80+ คำสั่งสำหรับควบคุมทุà¸à¸”้านขà¸à¸‡à¹€à¸§à¸´à¸£à¹Œà¸à¹‚ฟลว์ขà¸à¸‡à¸„ุณ</p>
|
|
190
|
+
|
|
191
|
+
<table>
|
|
192
|
+
<thead>
|
|
193
|
+
<tr><th>หมวดหมู่</th><th>คำสั่ง</th><th>คำà¸à¸˜à¸´à¸šà¸²à¸¢</th></tr>
|
|
194
|
+
</thead>
|
|
195
|
+
<tbody>
|
|
196
|
+
<tr><td><span class="cmd-accent">ไฟล์</span></td><td><code>/read</code> <code>/edit</code> <code>/write</code> <code>/glob</code> <code>/grep</code></td><td>à¸à¹ˆà¸²à¸™, à¹à¸à¹‰à¹„ข, สร้าง, à¹à¸¥à¸°à¸„้นหาไฟล์</td></tr>
|
|
197
|
+
<tr><td><span class="cmd-accent">Git</span></td><td><code>/diff</code> <code>/commit</code> <code>/branch</code></td><td>à¸à¸²à¸£à¸”ำเนินà¸à¸²à¸£à¸„วบคุมเวà¸à¸£à¹Œà¸Šà¸±à¸™</td></tr>
|
|
198
|
+
<tr><td><span class="cmd-accent">โมเดล</span></td><td><code>/model</code> <code>/provider</code> <code>/cost</code> <code>/usage</code> <code>/stats</code></td><td>สลับโมเดลà¹à¸¥à¸°à¸•ิดตามà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™</td></tr>
|
|
199
|
+
<tr><td><span class="cmd-accent">เซสชัน</span></td><td><code>/clear</code> <code>/compact</code> <code>/resume</code> <code>/session</code> <code>/rewind</code></td><td>จัดà¸à¸²à¸£à¸šà¸£à¸´à¸šà¸—à¹à¸¥à¸°à¹€à¸‹à¸ªà¸Šà¸±à¸™</td></tr>
|
|
200
|
+
<tr><td><span class="cmd-accent">ตั้งค่า</span></td><td><code>/permissions</code> <code>/plan</code> <code>/config</code> <code>/theme</code></td><td>à¸à¸²à¸£à¸•ั้งค่าà¹à¸¥à¸°à¸„่าà¸à¸³à¸«à¸™à¸”</td></tr>
|
|
201
|
+
<tr><td><span class="cmd-accent">ขยาย</span></td><td><code>/plugin</code> <code>/skill</code> <code>/agent</code> <code>/agents</code> <code>/mcp</code></td><td>ปลั๊à¸à¸à¸´à¸™, สà¸à¸´à¸¥, เà¸à¹€à¸ˆà¸™à¸•์, MCP</td></tr>
|
|
202
|
+
<tr><td><span class="cmd-accent">Daemon</span></td><td><code>/daemon</code> <code>/task</code> <code>/loop</code></td><td>เà¸à¹€à¸ˆà¸™à¸•์à¸à¸±à¸•โนมัติ 24/7, คิวงาน, งานที่ทำซ้ำ</td></tr>
|
|
203
|
+
<tr><td><span class="cmd-accent">à¸à¸±à¸•โนมัติ</span></td><td><code>/autofix-pr</code></td><td>à¹à¸à¹‰à¹„ข CI à¹à¸¥à¸°à¸£à¸µà¸§à¸´à¸§ PR ผ่าน Clew บนเว็บ</td></tr>
|
|
204
|
+
<tr><td><span class="cmd-accent">ระบบ</span></td><td><code>/help</code> <code>/status</code> <code>/doctor</code> <code>/exit</code></td><td>ช่วยเหลืà¸, ตรวจสà¸à¸š, à¹à¸¥à¸°à¸à¸à¸</td></tr>
|
|
205
|
+
</tbody>
|
|
206
|
+
</table>
|
|
207
|
+
|
|
208
|
+
<!-- ─── Providers ─── -->
|
|
209
|
+
<h2 class="section-title" id="providers">ผู้ให้บริà¸à¸²à¸£ AI</h2>
|
|
210
|
+
<p class="section-subtitle">นำคีย์ขà¸à¸‡à¸„ุณเà¸à¸‡ — ใช้โมเดลที่เหมาะà¸à¸±à¸šà¹à¸•่ละงาน</p>
|
|
211
|
+
|
|
212
|
+
<table>
|
|
213
|
+
<thead>
|
|
214
|
+
<tr><th>ผู้ให้บริà¸à¸²à¸£</th><th>à¸à¸²à¸£à¸•ั้งค่า</th><th>โมเดล</th></tr>
|
|
215
|
+
</thead>
|
|
216
|
+
<tbody>
|
|
217
|
+
<tr><td><span class="cmd-info">Anthropic</span></td><td><code>ANTHROPIC_API_KEY</code></td><td>claude-opus-4-7, claude-sonnet-4-6</td></tr>
|
|
218
|
+
<tr><td><span class="cmd-info">OpenAI</span></td><td><code>OPENAI_API_KEY</code></td><td>gpt-5.5, gpt-5.4-mini</td></tr>
|
|
219
|
+
<tr><td><span class="cmd-info">Google</span></td><td><code>GOOGLE_API_KEY</code></td><td>gemini-3.1-pro, gemini-3.1-flash</td></tr>
|
|
220
|
+
<tr><td><span class="cmd-info">DeepSeek</span></td><td><code>DEEPSEEK_API_KEY</code></td><td>deepseek-v4-pro, deepseek-v4-flash</td></tr>
|
|
221
|
+
<tr><td><span class="cmd-info">OpenRouter</span></td><td><code>OPENROUTER_API_KEY</code></td><td>100+ โมเดลผ่าน API</td></tr>
|
|
222
|
+
<tr><td><span class="cmd-info">Ollama</span></td><td><code>OLLAMA_HOST</code></td><td>llama3.3, llama4:70b, qwen3.6</td></tr>
|
|
223
|
+
<tr><td><span class="cmd-info">xAI</span></td><td><code>XAI_API_KEY</code></td><td>grok-4.3</td></tr>
|
|
224
|
+
<tr><td><span class="cmd-info">Mistral</span></td><td><code>MISTRAL_API_KEY</code></td><td>mistral-large-3, mistral-small-4</td></tr>
|
|
225
|
+
<tr><td><span class="cmd-info">Groq</span></td><td><code>GROQ_API_KEY</code></td><td>llama-3.3-70b, deepseek-v4</td></tr>
|
|
226
|
+
<tr><td><span class="cmd-info">Cohere</span></td><td><code>COHERE_API_KEY</code></td><td>command-a-plus</td></tr>
|
|
227
|
+
<tr><td><span class="cmd-info">Clew Gateway</span></td><td><code>CLEW_GATEWAY_API_KEY</code></td><td>Unified API gateway</td></tr>
|
|
228
|
+
<tr><td><span class="cmd-info">KiloCode</span></td><td><code>KILOCODE_API_KEY</code></td><td>kilo-auto/free, kilo-auto/balanced</td></tr>
|
|
229
|
+
</tbody>
|
|
230
|
+
</table>
|
|
231
|
+
|
|
232
|
+
<!-- ─── Plugins ─── -->
|
|
233
|
+
<h2 class="section-title" id="plugins">ปลั๊à¸à¸à¸´à¸™à¹à¸¥à¸°à¸ªà¸à¸´à¸¥</h2>
|
|
234
|
+
<p class="section-subtitle">ขยายความสามารถด้วยปลั๊à¸à¸à¸´à¸™à¹ƒà¸™à¸•ัวà¹à¸¥à¸°à¸ˆà¸²à¸ marketplace</p>
|
|
235
|
+
|
|
236
|
+
<table>
|
|
237
|
+
<thead>
|
|
238
|
+
<tr><th>ปลั๊à¸à¸à¸´à¸™</th><th>คำà¸à¸˜à¸´à¸šà¸²à¸¢</th></tr>
|
|
239
|
+
</thead>
|
|
240
|
+
<tbody>
|
|
241
|
+
<tr><td><code>commit-commands</code></td><td>เวิร์à¸à¹‚ฟลว์ Git: commit, push, สร้าง PR</td></tr>
|
|
242
|
+
<tr><td><code>code-review</code></td><td>รีวิวโค้ด PR à¸à¸±à¸•โนมัติ</td></tr>
|
|
243
|
+
<tr><td><code>feature-dev</code></td><td>พัฒนาฟีเจà¸à¸£à¹Œà¹à¸šà¸šà¸¡à¸µà¸„ำà¹à¸™à¸°à¸™à¸³à¸à¸±à¸šà¹€à¸à¹€à¸ˆà¸™à¸•์</td></tr>
|
|
244
|
+
<tr><td><code>frontend-design</code></td><td>สร้าง UI/UX ระดับโปรดัà¸à¸Šà¸±à¸™</td></tr>
|
|
245
|
+
<tr><td><code>verify</code></td><td>ตรวจสà¸à¸šà¸Šà¸™à¸´à¸”, lint, build, à¹à¸¥à¸° test</td></tr>
|
|
246
|
+
<tr><td><code>debug</code></td><td>ช่วยเหลืà¸à¸à¸²à¸£à¸”ีบัà¸</td></tr>
|
|
247
|
+
<tr><td><code>commit</code></td><td>Git commit à¹à¸šà¸š conventional</td></tr>
|
|
248
|
+
<tr><td><code>simplify</code></td><td>ตรวจสà¸à¸šà¸„ุณภาพโค้ดà¹à¸¥à¸°à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‹à¹‰à¸³</td></tr>
|
|
249
|
+
<tr><td><code>web-search</code></td><td>ค้นหาเว็บหลายผู้ให้บริà¸à¸²à¸£</td></tr>
|
|
250
|
+
<tr><td><code>scrapling</code></td><td>ดึงข้à¸à¸¡à¸¹à¸¥à¹€à¸§à¹‡à¸šà¸”้วย Scrapling</td></tr>
|
|
251
|
+
<tr><td><code>skillify</code></td><td>สร้างสà¸à¸´à¸¥à¸ˆà¸²à¸à¹€à¸§à¸´à¸£à¹Œà¸à¹‚ฟลว์</td></tr>
|
|
252
|
+
<tr><td><code>remember</code></td><td>บันทึà¸à¸„่าà¸à¸³à¸«à¸™à¸”ผู้ใช้</td></tr>
|
|
253
|
+
</tbody>
|
|
254
|
+
</table>
|
|
255
|
+
|
|
256
|
+
<!-- ─── Changelog ─── -->
|
|
257
|
+
<h2 class="section-title" id="updates">à¸à¸±à¸›à¹€à¸”ต 0.2.13</h2>
|
|
258
|
+
<ul>
|
|
259
|
+
<li><strong>ระบบ Taste</strong> — ระบบเรียนรู้ความชà¸à¸šà¹ƒà¸™à¹€à¸„รื่à¸à¸‡ เมนู <code>/taste</code> à¹à¸šà¸šà¹‚ต้ตà¸à¸š à¹à¸–บสถานะ, โหลดค่าตั้งค่าใหม่ทันที</li>
|
|
260
|
+
<li><strong>ตัวเลืà¸à¸à¹‚มเดลà¹à¸šà¹ˆà¸‡à¸•ามผู้ให้บริà¸à¸²à¸£</strong> — <code>/model</code> ตà¸à¸™à¸™à¸µà¹‰à¹à¸ªà¸”งโมเดลทั้งหมดจาà¸à¸—ุà¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</li>
|
|
261
|
+
<li><strong>บันทึà¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸à¸±à¸•โนมัติ</strong> — ผู้ให้บริà¸à¸²à¸£à¹à¸¥à¸°à¹‚มเดลล่าสุดบันทึà¸à¹ƒà¸™ <code>provider.json</code></li>
|
|
262
|
+
<li><strong>เพิ่มความปลà¸à¸”ภัย</strong> — à¸à¸Ž PowerShell, à¸à¸²à¸£à¸›à¹‰à¸à¸‡à¸à¸±à¸™ tool call ผิดรูปà¹à¸šà¸š, Guardian ตรวจสà¸à¸šà¸à¸±à¸•โนมัติ</li>
|
|
263
|
+
<li><strong>Bridge v2</strong> — ควบคุมระยะไà¸à¸¥à¸œà¹ˆà¸²à¸™ WebSocket, relay client, REPL bridging</li>
|
|
264
|
+
<li><strong>คำสั่ง PR</strong> — <code>/pr create</code>, <code>list</code>, <code>view</code>, <code>review</code>, <code>merge</code>, <code>status</code></li>
|
|
265
|
+
</ul>
|
|
266
|
+
|
|
267
|
+
<div style="margin-top:var(--space-lg)">
|
|
268
|
+
<a href="https://github.com/ClewCode/ClewCode/blob/main/CHANGELOG.md" class="btn btn-ghost">บันทึà¸à¸à¸²à¸£à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹à¸›à¸¥à¸‡à¸—ั้งหมด →</a>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
<!-- ─── Footer ─── -->
|
|
272
|
+
<footer class="footer">
|
|
273
|
+
<span>Clew 0.2.13 — โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</span>
|
|
274
|
+
<div class="footer-links">
|
|
275
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
276
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
277
|
+
<a href="https://npmjs.com/package/clew-code">npm</a>
|
|
278
|
+
</div>
|
|
279
|
+
</footer>
|
|
280
|
+
|
|
281
|
+
</main>
|
|
282
|
+
|
|
283
|
+
<!-- ─── Right TOC ─── -->
|
|
284
|
+
<nav class="toc-sidebar"></nav>
|
|
285
|
+
</div>
|
|
286
|
+
</div>
|
|
287
|
+
|
|
288
|
+
<script src="js/main.js"></script>
|
|
289
|
+
</body>
|
|
290
|
+
</html>
|
|
291
|
+
|
|
292
|
+
|