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/providers.th.html
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
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</title>
|
|
7
|
-
<meta name="description" content="ข้à¸à¸¡à¸¹à¸¥à¸à¹‰à¸²à¸‡à¸à¸´à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£ AI สำหรับ Clew — 27 ผู้ให้บริà¸à¸²à¸£à¸—ี่รà¸à¸‡à¸£à¸±à¸š พร้à¸à¸¡à¸à¸²à¸£à¸•ั้งค่าà¹à¸¥à¸°à¸„วามสามารถ">
|
|
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
|
-
<header class="header"></header>
|
|
16
|
-
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
17
|
-
<div class="content-wrap"><main class="content">
|
|
18
|
-
<div class="breadcrumbs"><a href="index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><span>ผู้ให้บริà¸à¸²à¸£</span></div>
|
|
19
|
-
<h1>ผู้ให้บริà¸à¸²à¸£</h1>
|
|
20
|
-
<p class="section-subtitle">Clew รà¸à¸‡à¸£à¸±à¸š <strong>27 ผู้ให้บริà¸à¸²à¸£ AI</strong> พร้à¸à¸¡à¸Šà¸±à¹‰à¸™ adapter ที่เป็นหนึ่งเดียว ตั้งค่าคีย์ API ขà¸à¸‡à¸„ุณเป็นตัวà¹à¸›à¸£à¸ªà¸ าพà¹à¸§à¸”ล้à¸à¸¡à¹à¸¥à¸°à¸ªà¸¥à¸±à¸šà¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¹„ด้ทันทีด้วย <code>/model</code></p>
|
|
21
|
-
|
|
22
|
-
<p>à¸à¸²à¸£à¸•ั้งค่าผู้ให้บริà¸à¸²à¸£à¸›à¸£à¸°à¸à¸²à¸¨à¹ƒà¸™ <code>src/services/ai/providers.json</code> <strong>ProviderManager</strong> จัดà¸à¸²à¸£à¸à¸²à¸£à¹à¸à¹‰à¹„ขคีย์ API, เลืà¸à¸à¹‚มเดล, à¹à¸¥à¸°à¸ˆà¸±à¸”à¸à¸²à¸£à¸à¸²à¸£à¸•ั้งค่าผู้ให้บริà¸à¸²à¸£</p>
|
|
23
|
-
|
|
24
|
-
<h2>ผู้ให้บริà¸à¸²à¸£à¸—ั้งหมด</h2>
|
|
25
|
-
<table>
|
|
26
|
-
<tr><th>ผู้ให้บริà¸à¸²à¸£</th><th>คีย์สภาพà¹à¸§à¸”ล้à¸à¸¡</th><th>โมเดลเริ่มต้น</th><th>หมายเหตุ</th></tr>
|
|
27
|
-
<tr><td>Anthropic</td><td><code>ANTHROPIC_API_KEY</code></td><td>claude-sonnet-4-7</td><td>รà¸à¸‡à¸£à¸±à¸š Claude พื้นเมืà¸à¸‡ พร้à¸à¸¡à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸à¹ƒà¸Šà¹‰à¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¹à¸¥à¸°à¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸«à¸•ุผล บริบท: 1M โทเค็น</td></tr>
|
|
28
|
-
<tr><td>OpenAI</td><td><code>OPENAI_API_KEY</code></td><td>gpt-5.5</td><td>GPT-5.5, GPT-5.5 Pro, GPT-5.4 Mini บริบท: 1M+ โทเค็น</td></tr>
|
|
29
|
-
<tr><td>Google</td><td><code>GOOGLE_API_KEY</code></td><td>gemini-3.1-flash</td><td>Gemini 3.1 Flash, Pro บริบท: สูงสุด 2M โทเค็น</td></tr>
|
|
30
|
-
<tr><td>DeepSeek</td><td><code>DEEPSEEK_API_KEY</code></td><td>deepseek-v4-pro</td><td>DeepSeek V4 Pro, V4 Flash บริบท: 1M โทเค็น สถาปัตยà¸à¸£à¸£à¸¡ MoE</td></tr>
|
|
31
|
-
<tr><td>OpenRouter</td><td><code>OPENROUTER_API_KEY</code></td><td>—</td><td>100+ โมเดลผ่าน API ที่เข้าà¸à¸±à¸š OpenAI</td></tr>
|
|
32
|
-
<tr><td>Ollama (Local)</td><td><code>OLLAMA_API_KEY</code></td><td>llama3.3</td><td>โมเดลท้à¸à¸‡à¸–ิ่นผ่านเซิร์ฟเวà¸à¸£à¹Œ Ollama ที่ <code>http://localhost:11434/v1</code></td></tr>
|
|
33
|
-
<tr><td>xAI</td><td><code>XAI_API_KEY</code></td><td>grok-4-20</td><td>Grok 4.20, Grok 4 บริบท: 128K โทเค็น</td></tr>
|
|
34
|
-
<tr><td>Mistral</td><td><code>MISTRAL_API_KEY</code></td><td>mistral-small-latest</td><td>Mistral Large 4, Small 4, Ministral 3 14B</td></tr>
|
|
35
|
-
<tr><td>Groq</td><td><code>GROQ_API_KEY</code></td><td>—</td><td>Llama 4 70B, 8B à¸à¸²à¸£à¸à¸™à¸¸à¸¡à¸²à¸™à¹€à¸£à¹‡à¸§ บริบท: 128K โทเค็น</td></tr>
|
|
36
|
-
<tr><td>Cohere</td><td><code>COHERE_API_KEY</code></td><td>command-r-plus</td><td>Command R+ 128K context ไม่มี vision</td></tr>
|
|
37
|
-
<tr><td>Clew Gateway</td><td><code>
|
|
38
|
-
<tr><td>KiloCode</td><td><code>KILOCODE_API_KEY</code></td><td>kilo-auto/free</td><td>เà¸à¸•เวย์ที่มี 500+ โมเดล รวมระดับฟรี</td></tr>
|
|
39
|
-
</table>
|
|
40
|
-
|
|
41
|
-
<h2>à¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</h2>
|
|
42
|
-
<p>ProviderManager จัดà¸à¸²à¸£à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸—ี่ใช้งานโดย:</p>
|
|
43
|
-
<ol>
|
|
44
|
-
<li>สà¹à¸à¸™à¸•ัวà¹à¸›à¸£à¸ªà¸ าพà¹à¸§à¸”ล้à¸à¸¡à¸ªà¸³à¸«à¸£à¸±à¸šà¸„ีย์ API ที่ตั้งค่า</li>
|
|
45
|
-
<li>โหลดข้à¸à¸¡à¸¹à¸¥à¹€à¸¡à¸•าผู้ให้บริà¸à¸²à¸£à¸ˆà¸²à¸ <code>providers.json</code></li>
|
|
46
|
-
<li>à¹à¸à¹‰à¹„ขชื่à¸à¹‚มเดลเป็นตัวระบุเฉพาะขà¸à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</li>
|
|
47
|
-
<li>ใช้ชั้น adapter สำหรับผู้ให้บริà¸à¸²à¸£à¸—ี่ไม่ใช่ Anthropic</li>
|
|
48
|
-
</ol>
|
|
49
|
-
|
|
50
|
-
<h2>ชั้น Adapter</h2>
|
|
51
|
-
<p>ผู้ให้บริà¸à¸²à¸£à¸—ี่ไม่ใช่ Anthropic ผ่าน adapters ที่ปรับมาตรà¸à¸²à¸™:</p>
|
|
52
|
-
<ul>
|
|
53
|
-
<li><strong>Content blocks</strong> — à¹à¸›à¸¥à¸‡à¸‚้à¸à¸„วาม, tool_use, tool_result, thinking block</li>
|
|
54
|
-
<li><strong>Tool calls</strong> — à¹à¸¢à¸à¸§à¸´à¹€à¸„ราะห์รูปà¹à¸šà¸šà¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸•่างๆ</li>
|
|
55
|
-
<li><strong>Streaming chunks</strong> — à¸à¸²à¸£à¸›à¸£à¸±à¸šà¸¡à¸²à¸•รà¸à¸²à¸™à¸•่à¸à¸Šà¸´à¹‰à¸™à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¹à¸ªà¸”งผลà¹à¸šà¸šà¹€à¸£à¸µà¸¢à¸¥à¹„ทม์</li>
|
|
56
|
-
<li><strong>Errors</strong> — à¸à¸²à¸£à¸›à¸£à¸±à¸šà¸¡à¸²à¸•รà¸à¸²à¸™à¸žà¸£à¹‰à¸à¸¡à¸à¸²à¸£à¸ˆà¸±à¸”à¸à¸²à¸£ retry/rate-limit</li>
|
|
57
|
-
</ul>
|
|
58
|
-
|
|
59
|
-
<h2>à¸à¸²à¸£à¸ªà¸¥à¸±à¸šà¸‚ณะรันไทม์</h2>
|
|
60
|
-
<pre><code>/model # ตัวเลืà¸à¸à¹‚มเดลà¹à¸šà¸šà¹‚ต้ตà¸à¸š
|
|
61
|
-
/model list # à¹à¸ªà¸”งโมเดลทั้งหมดที่มี
|
|
62
|
-
/model claude-sonnet-4-7 # สลับไปยังโมเดลที่ระบุ
|
|
63
|
-
/provider-select # à¹à¸ªà¸”งหรืà¸à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</code></pre>
|
|
64
|
-
|
|
65
|
-
<footer class="footer">
|
|
66
|
-
<span>Clew Code
|
|
67
|
-
<div class="footer-links">
|
|
68
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
69
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
70
|
-
</div>
|
|
71
|
-
</footer>
|
|
72
|
-
</main>
|
|
73
|
-
<nav class="toc-sidebar"></nav>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<script src="js/main.js"></script>
|
|
77
|
-
</body>
|
|
78
|
-
</html>
|
|
79
|
-
|
|
80
|
-
|
|
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</title>
|
|
7
|
+
<meta name="description" content="ข้à¸à¸¡à¸¹à¸¥à¸à¹‰à¸²à¸‡à¸à¸´à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£ AI สำหรับ Clew — 27 ผู้ให้บริà¸à¸²à¸£à¸—ี่รà¸à¸‡à¸£à¸±à¸š พร้à¸à¸¡à¸à¸²à¸£à¸•ั้งค่าà¹à¸¥à¸°à¸„วามสามารถ">
|
|
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
|
+
<header class="header"></header>
|
|
16
|
+
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
17
|
+
<div class="content-wrap"><main class="content">
|
|
18
|
+
<div class="breadcrumbs"><a href="index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><span>ผู้ให้บริà¸à¸²à¸£</span></div>
|
|
19
|
+
<h1>ผู้ให้บริà¸à¸²à¸£</h1>
|
|
20
|
+
<p class="section-subtitle">Clew รà¸à¸‡à¸£à¸±à¸š <strong>27 ผู้ให้บริà¸à¸²à¸£ AI</strong> พร้à¸à¸¡à¸Šà¸±à¹‰à¸™ adapter ที่เป็นหนึ่งเดียว ตั้งค่าคีย์ API ขà¸à¸‡à¸„ุณเป็นตัวà¹à¸›à¸£à¸ªà¸ าพà¹à¸§à¸”ล้à¸à¸¡à¹à¸¥à¸°à¸ªà¸¥à¸±à¸šà¸£à¸°à¸«à¸§à¹ˆà¸²à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¹„ด้ทันทีด้วย <code>/model</code></p>
|
|
21
|
+
|
|
22
|
+
<p>à¸à¸²à¸£à¸•ั้งค่าผู้ให้บริà¸à¸²à¸£à¸›à¸£à¸°à¸à¸²à¸¨à¹ƒà¸™ <code>src/services/ai/providers.json</code> <strong>ProviderManager</strong> จัดà¸à¸²à¸£à¸à¸²à¸£à¹à¸à¹‰à¹„ขคีย์ API, เลืà¸à¸à¹‚มเดล, à¹à¸¥à¸°à¸ˆà¸±à¸”à¸à¸²à¸£à¸à¸²à¸£à¸•ั้งค่าผู้ให้บริà¸à¸²à¸£</p>
|
|
23
|
+
|
|
24
|
+
<h2>ผู้ให้บริà¸à¸²à¸£à¸—ั้งหมด</h2>
|
|
25
|
+
<table>
|
|
26
|
+
<tr><th>ผู้ให้บริà¸à¸²à¸£</th><th>คีย์สภาพà¹à¸§à¸”ล้à¸à¸¡</th><th>โมเดลเริ่มต้น</th><th>หมายเหตุ</th></tr>
|
|
27
|
+
<tr><td>Anthropic</td><td><code>ANTHROPIC_API_KEY</code></td><td>claude-sonnet-4-7</td><td>รà¸à¸‡à¸£à¸±à¸š Claude พื้นเมืà¸à¸‡ พร้à¸à¸¡à¸à¸²à¸£à¹€à¸£à¸µà¸¢à¸à¹ƒà¸Šà¹‰à¹€à¸„รื่à¸à¸‡à¸¡à¸·à¸à¹à¸¥à¸°à¸à¸²à¸£à¹ƒà¸Šà¹‰à¹€à¸«à¸•ุผล บริบท: 1M โทเค็น</td></tr>
|
|
28
|
+
<tr><td>OpenAI</td><td><code>OPENAI_API_KEY</code></td><td>gpt-5.5</td><td>GPT-5.5, GPT-5.5 Pro, GPT-5.4 Mini บริบท: 1M+ โทเค็น</td></tr>
|
|
29
|
+
<tr><td>Google</td><td><code>GOOGLE_API_KEY</code></td><td>gemini-3.1-flash</td><td>Gemini 3.1 Flash, Pro บริบท: สูงสุด 2M โทเค็น</td></tr>
|
|
30
|
+
<tr><td>DeepSeek</td><td><code>DEEPSEEK_API_KEY</code></td><td>deepseek-v4-pro</td><td>DeepSeek V4 Pro, V4 Flash บริบท: 1M โทเค็น สถาปัตยà¸à¸£à¸£à¸¡ MoE</td></tr>
|
|
31
|
+
<tr><td>OpenRouter</td><td><code>OPENROUTER_API_KEY</code></td><td>—</td><td>100+ โมเดลผ่าน API ที่เข้าà¸à¸±à¸š OpenAI</td></tr>
|
|
32
|
+
<tr><td>Ollama (Local)</td><td><code>OLLAMA_API_KEY</code></td><td>llama3.3</td><td>โมเดลท้à¸à¸‡à¸–ิ่นผ่านเซิร์ฟเวà¸à¸£à¹Œ Ollama ที่ <code>http://localhost:11434/v1</code></td></tr>
|
|
33
|
+
<tr><td>xAI</td><td><code>XAI_API_KEY</code></td><td>grok-4-20</td><td>Grok 4.20, Grok 4 บริบท: 128K โทเค็น</td></tr>
|
|
34
|
+
<tr><td>Mistral</td><td><code>MISTRAL_API_KEY</code></td><td>mistral-small-latest</td><td>Mistral Large 4, Small 4, Ministral 3 14B</td></tr>
|
|
35
|
+
<tr><td>Groq</td><td><code>GROQ_API_KEY</code></td><td>—</td><td>Llama 4 70B, 8B à¸à¸²à¸£à¸à¸™à¸¸à¸¡à¸²à¸™à¹€à¸£à¹‡à¸§ บริบท: 128K โทเค็น</td></tr>
|
|
36
|
+
<tr><td>Cohere</td><td><code>COHERE_API_KEY</code></td><td>command-r-plus</td><td>Command R+ 128K context ไม่มี vision</td></tr>
|
|
37
|
+
<tr><td>Clew Gateway</td><td><code>CLEW_GATEWAY_KEY</code></td><td>clew-code</td><td>Self-hosted AI proxy สำหรับ provider fallback, model routing, และ usage tracking ข้าม upstream providers ตั้งค่า base URL ด้วย <code>CLEW_GATEWAY_URL</code></td></tr>
|
|
38
|
+
<tr><td>KiloCode</td><td><code>KILOCODE_API_KEY</code></td><td>kilo-auto/free</td><td>เà¸à¸•เวย์ที่มี 500+ โมเดล รวมระดับฟรี</td></tr>
|
|
39
|
+
</table>
|
|
40
|
+
|
|
41
|
+
<h2>à¸à¸²à¸£à¹€à¸¥à¸·à¸à¸à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</h2>
|
|
42
|
+
<p>ProviderManager จัดà¸à¸²à¸£à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸—ี่ใช้งานโดย:</p>
|
|
43
|
+
<ol>
|
|
44
|
+
<li>สà¹à¸à¸™à¸•ัวà¹à¸›à¸£à¸ªà¸ าพà¹à¸§à¸”ล้à¸à¸¡à¸ªà¸³à¸«à¸£à¸±à¸šà¸„ีย์ API ที่ตั้งค่า</li>
|
|
45
|
+
<li>โหลดข้à¸à¸¡à¸¹à¸¥à¹€à¸¡à¸•าผู้ให้บริà¸à¸²à¸£à¸ˆà¸²à¸ <code>providers.json</code></li>
|
|
46
|
+
<li>à¹à¸à¹‰à¹„ขชื่à¸à¹‚มเดลเป็นตัวระบุเฉพาะขà¸à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</li>
|
|
47
|
+
<li>ใช้ชั้น adapter สำหรับผู้ให้บริà¸à¸²à¸£à¸—ี่ไม่ใช่ Anthropic</li>
|
|
48
|
+
</ol>
|
|
49
|
+
|
|
50
|
+
<h2>ชั้น Adapter</h2>
|
|
51
|
+
<p>ผู้ให้บริà¸à¸²à¸£à¸—ี่ไม่ใช่ Anthropic ผ่าน adapters ที่ปรับมาตรà¸à¸²à¸™:</p>
|
|
52
|
+
<ul>
|
|
53
|
+
<li><strong>Content blocks</strong> — à¹à¸›à¸¥à¸‡à¸‚้à¸à¸„วาม, tool_use, tool_result, thinking block</li>
|
|
54
|
+
<li><strong>Tool calls</strong> — à¹à¸¢à¸à¸§à¸´à¹€à¸„ราะห์รูปà¹à¸šà¸šà¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£à¸•่างๆ</li>
|
|
55
|
+
<li><strong>Streaming chunks</strong> — à¸à¸²à¸£à¸›à¸£à¸±à¸šà¸¡à¸²à¸•รà¸à¸²à¸™à¸•่à¸à¸Šà¸´à¹‰à¸™à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¹à¸ªà¸”งผลà¹à¸šà¸šà¹€à¸£à¸µà¸¢à¸¥à¹„ทม์</li>
|
|
56
|
+
<li><strong>Errors</strong> — à¸à¸²à¸£à¸›à¸£à¸±à¸šà¸¡à¸²à¸•รà¸à¸²à¸™à¸žà¸£à¹‰à¸à¸¡à¸à¸²à¸£à¸ˆà¸±à¸”à¸à¸²à¸£ retry/rate-limit</li>
|
|
57
|
+
</ul>
|
|
58
|
+
|
|
59
|
+
<h2>à¸à¸²à¸£à¸ªà¸¥à¸±à¸šà¸‚ณะรันไทม์</h2>
|
|
60
|
+
<pre><code>/model # ตัวเลืà¸à¸à¹‚มเดลà¹à¸šà¸šà¹‚ต้ตà¸à¸š
|
|
61
|
+
/model list # à¹à¸ªà¸”งโมเดลทั้งหมดที่มี
|
|
62
|
+
/model claude-sonnet-4-7 # สลับไปยังโมเดลที่ระบุ
|
|
63
|
+
/provider-select # à¹à¸ªà¸”งหรืà¸à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£</code></pre>
|
|
64
|
+
|
|
65
|
+
<footer class="footer">
|
|
66
|
+
<span>Clew Code 0.2.13 — โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</span>
|
|
67
|
+
<div class="footer-links">
|
|
68
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
69
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
70
|
+
</div>
|
|
71
|
+
</footer>
|
|
72
|
+
</main>
|
|
73
|
+
<nav class="toc-sidebar"></nav>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
<script src="js/main.js"></script>
|
|
77
|
+
</body>
|
|
78
|
+
</html>
|
|
79
|
+
|
|
80
|
+
|
package/docs/quick-start.html
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Quick Start — Clew</title>
|
|
7
|
-
<meta name="description" content="Get started with Clew in minutes — install, configure a provider, and run your first session.">
|
|
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&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
|
-
<header class="header"></header>
|
|
16
|
-
<div class="app">
|
|
17
|
-
<aside class="sidebar" id="sidebar"></aside>
|
|
18
|
-
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
19
|
-
<div class="content-wrap">
|
|
20
|
-
<main class="content">
|
|
21
|
-
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Quick Start</span></div>
|
|
22
|
-
<h1>Quick Start</h1>
|
|
23
|
-
<p class="section-subtitle">From zero to AI-assisted coding in under a minute.</p>
|
|
24
|
-
|
|
25
|
-
<h2>1. Install</h2>
|
|
26
|
-
<pre><code>npm install -g clew-code
|
|
27
|
-
clew --version</code></pre>
|
|
28
|
-
<p>Make sure <a href="installation.html">Bun 1.3+</a> is installed first. The npm package does not bundle Bun.</p>
|
|
29
|
-
|
|
30
|
-
<h2>2. Set a Provider Key</h2>
|
|
31
|
-
<p>Set at least one API key as an environment variable. See <a href="providers.html">Providers</a> for all
|
|
32
|
-
<pre><code># Anthropic (recommended for best tool calling)
|
|
33
|
-
export ANTHROPIC_API_KEY=sk-ant-...
|
|
34
|
-
|
|
35
|
-
# Or DeepSeek
|
|
36
|
-
export DEEPSEEK_API_KEY=sk-...
|
|
37
|
-
|
|
38
|
-
# Or Google Gemini
|
|
39
|
-
export GOOGLE_API_KEY=...</code></pre>
|
|
40
|
-
|
|
41
|
-
<h2>3. Launch</h2>
|
|
42
|
-
<pre><code>cd /path/to/your/project
|
|
43
|
-
clew</code></pre>
|
|
44
|
-
<p>The terminal UI starts with model name, provider, and context usage in the status bar.</p>
|
|
45
|
-
|
|
46
|
-
<h2>4. First Commands</h2>
|
|
47
|
-
<pre><code>> "explain this project's structure"
|
|
48
|
-
|
|
49
|
-
> "find all the test files"
|
|
50
|
-
|
|
51
|
-
> /status # Check model, provider, API status
|
|
52
|
-
|
|
53
|
-
> /model sonnet # Switch model (alias or full ID)
|
|
54
|
-
|
|
55
|
-
> /doctor # Run environment diagnostics</code></pre>
|
|
56
|
-
|
|
57
|
-
<h2>5. Key Commands to Know</h2>
|
|
58
|
-
<table>
|
|
59
|
-
<tr><th>Command</th><th>Use</th></tr>
|
|
60
|
-
<tr><td><code>/clear</code></td><td>Clear conversation and free context</td></tr>
|
|
61
|
-
<tr><td><code>/compact</code></td><td>Compress context to save tokens</td></tr>
|
|
62
|
-
<tr><td><code>/model <name></code></td><td>Switch model or provider</td></tr>
|
|
63
|
-
<tr><td><code>/permissions</code></td><td>Manage tool permission rules</td></tr>
|
|
64
|
-
<tr><td><code>/plan</code></td><td>Toggle plan mode</td></tr>
|
|
65
|
-
<tr><td><code>/config</code></td><td>Open config panel</td></tr>
|
|
66
|
-
<tr><td><code>/help</code></td><td>Show all available commands</td></tr>
|
|
67
|
-
</table>
|
|
68
|
-
|
|
69
|
-
<h2>6. Sessions</h2>
|
|
70
|
-
<pre><code># Continue last conversation
|
|
71
|
-
clew -c
|
|
72
|
-
|
|
73
|
-
# Resume a specific session
|
|
74
|
-
clew -r
|
|
75
|
-
|
|
76
|
-
# Print mode (non-interactive, pipe-friendly)
|
|
77
|
-
clew -p "find all unused exports"
|
|
78
|
-
|
|
79
|
-
# With structured output
|
|
80
|
-
clew -p --output-format json "list all dependencies"</code></pre>
|
|
81
|
-
|
|
82
|
-
<div class="callout callout-info">
|
|
83
|
-
<strong>Tips</strong>
|
|
84
|
-
Type <code>/</code> to discover all commands. Use <code>/powerup</code> for interactive lessons. Set <code>--model sonnet</code> at startup to skip the default model.
|
|
85
|
-
</div>
|
|
86
|
-
</main>
|
|
87
|
-
<nav class="toc-sidebar"></nav>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
<script src="js/main.js"></script>
|
|
91
|
-
</body>
|
|
92
|
-
</html>
|
|
93
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Quick Start — Clew</title>
|
|
7
|
+
<meta name="description" content="Get started with Clew in minutes — install, configure a provider, and run your first session.">
|
|
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&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
|
+
<header class="header"></header>
|
|
16
|
+
<div class="app">
|
|
17
|
+
<aside class="sidebar" id="sidebar"></aside>
|
|
18
|
+
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
19
|
+
<div class="content-wrap">
|
|
20
|
+
<main class="content">
|
|
21
|
+
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Quick Start</span></div>
|
|
22
|
+
<h1>Quick Start</h1>
|
|
23
|
+
<p class="section-subtitle">From zero to AI-assisted coding in under a minute.</p>
|
|
24
|
+
|
|
25
|
+
<h2>1. Install</h2>
|
|
26
|
+
<pre><code>npm install -g clew-code
|
|
27
|
+
clew --version</code></pre>
|
|
28
|
+
<p>Make sure <a href="installation.html">Bun 1.3+</a> is installed first. The npm package does not bundle Bun.</p>
|
|
29
|
+
|
|
30
|
+
<h2>2. Set a Provider Key</h2>
|
|
31
|
+
<p>Set at least one API key as an environment variable. See <a href="providers.html">Providers</a> for all 28 options.</p>
|
|
32
|
+
<pre><code># Anthropic (recommended for best tool calling)
|
|
33
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
34
|
+
|
|
35
|
+
# Or DeepSeek
|
|
36
|
+
export DEEPSEEK_API_KEY=sk-...
|
|
37
|
+
|
|
38
|
+
# Or Google Gemini
|
|
39
|
+
export GOOGLE_API_KEY=...</code></pre>
|
|
40
|
+
|
|
41
|
+
<h2>3. Launch</h2>
|
|
42
|
+
<pre><code>cd /path/to/your/project
|
|
43
|
+
clew</code></pre>
|
|
44
|
+
<p>The terminal UI starts with model name, provider, and context usage in the status bar.</p>
|
|
45
|
+
|
|
46
|
+
<h2>4. First Commands</h2>
|
|
47
|
+
<pre><code>> "explain this project's structure"
|
|
48
|
+
|
|
49
|
+
> "find all the test files"
|
|
50
|
+
|
|
51
|
+
> /status # Check model, provider, API status
|
|
52
|
+
|
|
53
|
+
> /model sonnet # Switch model (alias or full ID)
|
|
54
|
+
|
|
55
|
+
> /doctor # Run environment diagnostics</code></pre>
|
|
56
|
+
|
|
57
|
+
<h2>5. Key Commands to Know</h2>
|
|
58
|
+
<table>
|
|
59
|
+
<tr><th>Command</th><th>Use</th></tr>
|
|
60
|
+
<tr><td><code>/clear</code></td><td>Clear conversation and free context</td></tr>
|
|
61
|
+
<tr><td><code>/compact</code></td><td>Compress context to save tokens</td></tr>
|
|
62
|
+
<tr><td><code>/model <name></code></td><td>Switch model or provider</td></tr>
|
|
63
|
+
<tr><td><code>/permissions</code></td><td>Manage tool permission rules</td></tr>
|
|
64
|
+
<tr><td><code>/plan</code></td><td>Toggle plan mode</td></tr>
|
|
65
|
+
<tr><td><code>/config</code></td><td>Open config panel</td></tr>
|
|
66
|
+
<tr><td><code>/help</code></td><td>Show all available commands</td></tr>
|
|
67
|
+
</table>
|
|
68
|
+
|
|
69
|
+
<h2>6. Sessions</h2>
|
|
70
|
+
<pre><code># Continue last conversation
|
|
71
|
+
clew -c
|
|
72
|
+
|
|
73
|
+
# Resume a specific session
|
|
74
|
+
clew -r
|
|
75
|
+
|
|
76
|
+
# Print mode (non-interactive, pipe-friendly)
|
|
77
|
+
clew -p "find all unused exports"
|
|
78
|
+
|
|
79
|
+
# With structured output
|
|
80
|
+
clew -p --output-format json "list all dependencies"</code></pre>
|
|
81
|
+
|
|
82
|
+
<div class="callout callout-info">
|
|
83
|
+
<strong>Tips</strong>
|
|
84
|
+
Type <code>/</code> to discover all commands. Use <code>/powerup</code> for interactive lessons. Set <code>--model sonnet</code> at startup to skip the default model.
|
|
85
|
+
</div>
|
|
86
|
+
</main>
|
|
87
|
+
<nav class="toc-sidebar"></nav>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
<script src="js/main.js"></script>
|
|
91
|
+
</body>
|
|
92
|
+
</html>
|
|
93
|
+
|
package/docs/quick-start.th.html
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Research & Memory — Clew</title>
|
|
7
|
-
<meta name="description" content="Deep research system and semantic memory — citation extraction, claim verification, dossier generation, cross-lingual memory search.">
|
|
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&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
|
-
<header class="header"></header>
|
|
16
|
-
<div class="app">
|
|
17
|
-
<aside class="sidebar" id="sidebar"></aside>
|
|
18
|
-
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
19
|
-
<div class="content-wrap">
|
|
20
|
-
<main class="content">
|
|
21
|
-
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Research & Memory</span></div>
|
|
22
|
-
<h1>Research & Memory</h1>
|
|
23
|
-
<p class="section-subtitle">Clew provides a built-in deep research system and cross-session semantic memory — both designed to work with local files, web sources, and a persistent knowledge store.</p>
|
|
24
|
-
|
|
25
|
-
<h2>Research System</h2>
|
|
26
|
-
<p>The research system lives in <code>src/research/</code> and supports deep, source-grounded research across local files, wiki content, and memory:</p>
|
|
27
|
-
<ul>
|
|
28
|
-
<li><strong>Citation extraction</strong> — Automatic extraction of citations from research sources</li>
|
|
29
|
-
<li><strong>Claim verification</strong> — Fact-check claims against multiple sources</li>
|
|
30
|
-
<li><strong>Dossier generation</strong> — Structured reports with source attribution</li>
|
|
31
|
-
<li><strong>Truth checking</strong> — Cross-reference claims for accuracy</li>
|
|
32
|
-
<li><strong>Source ranking</strong> — Prioritize authoritative sources</li>
|
|
33
|
-
</ul>
|
|
34
|
-
|
|
35
|
-
<h3>Research Commands</h3>
|
|
36
|
-
<table>
|
|
37
|
-
<tr><th>Command</th><th>Description</th></tr>
|
|
38
|
-
<tr><td><code>/research</code></td><td>Deep source-grounded research across local files, wiki, and memory</td></tr>
|
|
39
|
-
</table>
|
|
40
|
-
|
|
41
|
-
<h2>Memory System</h2>
|
|
42
|
-
<p>The memory system lives in <code>src/memory/</code> and provides cross-session persistent knowledge storage with SQLite FTS5 search:</p>
|
|
43
|
-
<ul>
|
|
44
|
-
<li><strong>SQLite FTS5 search</strong> — Find relevant memories using FTS5 similarity</li>
|
|
45
|
-
<li><strong>Cross-lingual</strong> — Search across languages using FTS5 indexing</li>
|
|
46
|
-
<li><strong>Memory age tracking</strong> — Automatically prune old memories</li>
|
|
47
|
-
<li><strong>Auto-memory capture</strong> — Automatically save important information</li>
|
|
48
|
-
<li><strong>Token-aware chunking</strong> - 3000-token chunks with word-boundary splitting</li>
|
|
49
|
-
<li><strong>Secret redaction</strong> - Strips API keys and tokens before indexing</li>
|
|
50
|
-
</ul>
|
|
51
|
-
|
|
52
|
-
<h3>Memory Commands</h3>
|
|
53
|
-
<table>
|
|
54
|
-
<tr><th>Command</th><th>Description</th></tr>
|
|
55
|
-
<tr><td><code>/memory</code></td><td>Edit Claude memory files</td></tr>
|
|
56
|
-
<tr><td><code>/memory-search</code></td><td>Search memories using SQLite FTS5 search (cross-lingual)</td></tr>
|
|
57
|
-
</table>
|
|
58
|
-
|
|
59
|
-
<h2>Architecture Files</h2>
|
|
60
|
-
<table>
|
|
61
|
-
<tr><th>Path</th><th>Role</th></tr>
|
|
62
|
-
<tr><td><code>src/research/</code></td><td>Deep research, dossier generation, truth checking, source ranking</td></tr>
|
|
63
|
-
<tr><td><code>src/memory/</code></td><td>SQLite FTS5 memory search (14 files, no embeddings)</td></tr>
|
|
64
|
-
</table>
|
|
65
|
-
|
|
66
|
-
<footer class="footer">
|
|
67
|
-
<span>Clew Code
|
|
68
|
-
<div class="footer-links">
|
|
69
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
70
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
71
|
-
</div>
|
|
72
|
-
</footer>
|
|
73
|
-
</main>
|
|
74
|
-
<nav class="toc-sidebar"></nav>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
<script src="js/main.js"></script>
|
|
78
|
-
</body>
|
|
79
|
-
</html>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Research & Memory — Clew</title>
|
|
7
|
+
<meta name="description" content="Deep research system and semantic memory — citation extraction, claim verification, dossier generation, cross-lingual memory search.">
|
|
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&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
|
+
<header class="header"></header>
|
|
16
|
+
<div class="app">
|
|
17
|
+
<aside class="sidebar" id="sidebar"></aside>
|
|
18
|
+
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
19
|
+
<div class="content-wrap">
|
|
20
|
+
<main class="content">
|
|
21
|
+
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Research & Memory</span></div>
|
|
22
|
+
<h1>Research & Memory</h1>
|
|
23
|
+
<p class="section-subtitle">Clew provides a built-in deep research system and cross-session semantic memory — both designed to work with local files, web sources, and a persistent knowledge store.</p>
|
|
24
|
+
|
|
25
|
+
<h2>Research System</h2>
|
|
26
|
+
<p>The research system lives in <code>src/research/</code> and supports deep, source-grounded research across local files, wiki content, and memory:</p>
|
|
27
|
+
<ul>
|
|
28
|
+
<li><strong>Citation extraction</strong> — Automatic extraction of citations from research sources</li>
|
|
29
|
+
<li><strong>Claim verification</strong> — Fact-check claims against multiple sources</li>
|
|
30
|
+
<li><strong>Dossier generation</strong> — Structured reports with source attribution</li>
|
|
31
|
+
<li><strong>Truth checking</strong> — Cross-reference claims for accuracy</li>
|
|
32
|
+
<li><strong>Source ranking</strong> — Prioritize authoritative sources</li>
|
|
33
|
+
</ul>
|
|
34
|
+
|
|
35
|
+
<h3>Research Commands</h3>
|
|
36
|
+
<table>
|
|
37
|
+
<tr><th>Command</th><th>Description</th></tr>
|
|
38
|
+
<tr><td><code>/research</code></td><td>Deep source-grounded research across local files, wiki, and memory</td></tr>
|
|
39
|
+
</table>
|
|
40
|
+
|
|
41
|
+
<h2>Memory System</h2>
|
|
42
|
+
<p>The memory system lives in <code>src/memory/</code> and provides cross-session persistent knowledge storage with SQLite FTS5 search:</p>
|
|
43
|
+
<ul>
|
|
44
|
+
<li><strong>SQLite FTS5 search</strong> — Find relevant memories using FTS5 similarity</li>
|
|
45
|
+
<li><strong>Cross-lingual</strong> — Search across languages using FTS5 indexing</li>
|
|
46
|
+
<li><strong>Memory age tracking</strong> — Automatically prune old memories</li>
|
|
47
|
+
<li><strong>Auto-memory capture</strong> — Automatically save important information</li>
|
|
48
|
+
<li><strong>Token-aware chunking</strong> - 3000-token chunks with word-boundary splitting</li>
|
|
49
|
+
<li><strong>Secret redaction</strong> - Strips API keys and tokens before indexing</li>
|
|
50
|
+
</ul>
|
|
51
|
+
|
|
52
|
+
<h3>Memory Commands</h3>
|
|
53
|
+
<table>
|
|
54
|
+
<tr><th>Command</th><th>Description</th></tr>
|
|
55
|
+
<tr><td><code>/memory</code></td><td>Edit Claude memory files</td></tr>
|
|
56
|
+
<tr><td><code>/memory-search</code></td><td>Search memories using SQLite FTS5 search (cross-lingual)</td></tr>
|
|
57
|
+
</table>
|
|
58
|
+
|
|
59
|
+
<h2>Architecture Files</h2>
|
|
60
|
+
<table>
|
|
61
|
+
<tr><th>Path</th><th>Role</th></tr>
|
|
62
|
+
<tr><td><code>src/research/</code></td><td>Deep research, dossier generation, truth checking, source ranking</td></tr>
|
|
63
|
+
<tr><td><code>src/memory/</code></td><td>SQLite FTS5 memory search (14 files, no embeddings)</td></tr>
|
|
64
|
+
</table>
|
|
65
|
+
|
|
66
|
+
<footer class="footer">
|
|
67
|
+
<span>Clew Code 0.2.13 — Open Source</span>
|
|
68
|
+
<div class="footer-links">
|
|
69
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
70
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
71
|
+
</div>
|
|
72
|
+
</footer>
|
|
73
|
+
</main>
|
|
74
|
+
<nav class="toc-sidebar"></nav>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<script src="js/main.js"></script>
|
|
78
|
+
</body>
|
|
79
|
+
</html>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|