clew-code 0.2.4 → 0.2.5
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 +264 -292
- package/dist/clew-dev.js +5118 -2840
- package/dist/main.js +2358 -2133
- package/docs/_config.yml +1 -1
- package/docs/architecture.html +145 -166
- package/docs/architecture.th.html +2 -23
- package/docs/commands.html +1 -22
- package/docs/commands.th.html +1 -22
- package/docs/configuration.html +145 -166
- package/docs/configuration.th.html +2 -23
- package/docs/css/styles.css +22 -0
- package/docs/daemon.html +128 -160
- package/docs/daemon.th.html +2 -30
- package/docs/features/bridge-mode.html +98 -98
- package/docs/features/bridge-mode.th.html +1 -1
- package/docs/features/evals.html +181 -181
- package/docs/features/evals.th.html +1 -1
- package/docs/features/searxng-search.html +150 -150
- package/docs/features/searxng-search.th.html +1 -1
- package/docs/features/sentry-setup.html +156 -156
- package/docs/features/sentry-setup.th.html +1 -1
- package/docs/index.html +298 -333
- package/docs/index.th.html +1 -36
- package/docs/installation.html +103 -124
- package/docs/installation.th.html +2 -23
- package/docs/internals/growthbook-ab-testing.html +112 -112
- package/docs/internals/growthbook-ab-testing.th.html +1 -1
- package/docs/internals/hidden-features.html +147 -147
- package/docs/internals/hidden-features.th.html +1 -1
- package/docs/js/main.js +78 -7
- package/docs/loop.html +180 -0
- package/docs/loop.th.html +226 -0
- package/docs/mcp.html +246 -157
- package/docs/mcp.th.html +156 -60
- package/docs/models.html +1 -22
- package/docs/models.th.html +1 -22
- package/docs/peer.html +235 -0
- package/docs/peer.th.html +279 -0
- package/docs/permission-model.html +101 -122
- package/docs/permission-model.th.html +2 -23
- package/docs/plugins.html +101 -122
- package/docs/plugins.th.html +2 -23
- package/docs/providers.html +117 -138
- package/docs/providers.th.html +2 -23
- package/docs/quick-start.html +92 -120
- package/docs/quick-start.th.html +1 -29
- package/docs/research-memory.html +79 -111
- package/docs/research-memory.th.html +2 -30
- package/docs/skills.html +116 -137
- package/docs/skills.th.html +2 -23
- package/docs/taste.html +96 -29
- package/docs/taste.th.html +193 -54
- package/docs/tools.html +169 -190
- package/docs/tools.th.html +2 -23
- package/docs/troubleshooting.html +105 -126
- package/docs/troubleshooting.th.html +2 -23
- package/package.json +2 -2
package/docs/providers.th.html
CHANGED
|
@@ -12,28 +12,7 @@
|
|
|
12
12
|
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
<header class="header"
|
|
16
|
-
<span>Clew Code</span>
|
|
17
|
-
</a><nav class="header-nav"><a href="index.th.html">หน้าแรก</a><a href="index.th.html#features">ฟีเจอร์</a><a href="index.th.html#commands">คำสั่ง</a><a href="quick-start.th.html" class="active">เอกสาร</a><a href="https://github.com/JonusNattapong/ClewCode" target="_blank">GitHub</a>
|
|
18
|
-
<div class="lang-wrap">
|
|
19
|
-
<button class="lang-btn">🌐</button>
|
|
20
|
-
<div class="lang-menu">
|
|
21
|
-
<a href="../readme/README.zh.md">中文</a>
|
|
22
|
-
<a href="../readme/README.th.md">ไทย</a>
|
|
23
|
-
<a href="../readme/README.ja.md">日本語</a>
|
|
24
|
-
<a href="../readme/README.ko.md">한국어</a>
|
|
25
|
-
<a href="../readme/README.es.md">Español</a>
|
|
26
|
-
<a href="../readme/README.fr.md">Français</a>
|
|
27
|
-
<a href="../readme/README.de.md">Deutsch</a>
|
|
28
|
-
<a href="../readme/README.pt.md">Português</a>
|
|
29
|
-
<a href="../readme/README.vi.md">Tiếng Việt</a>
|
|
30
|
-
<a href="../readme/README.id.md">Bahasa Indonesia</a>
|
|
31
|
-
<a href="../readme/README.ru.md">Русский</a>
|
|
32
|
-
<a href="../readme/README.hi.md">हिन्दी</a>
|
|
33
|
-
<a href="providers.html">English</a>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</nav><button class="menu-btn" id="menuToggle" aria-label="เปิด/ปิดเมนู"><span></span><span></span><span></span></button></div></header>
|
|
15
|
+
<header class="header"></header>
|
|
37
16
|
<div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
38
17
|
<div class="content-wrap"><main class="content">
|
|
39
18
|
<div class="breadcrumbs"><a href="index.th.html">หน้าแรก</a><span class="sep">/</span><span>ผู้ให้บริการ</span></div>
|
|
@@ -84,7 +63,7 @@
|
|
|
84
63
|
/provider-select # แสดงหรือเปลี่ยนผู้ให้บริการ</code></pre>
|
|
85
64
|
|
|
86
65
|
<footer class="footer">
|
|
87
|
-
<span>Clew v0.
|
|
66
|
+
<span>Clew Code v0.2.4 — โอเพนซอร์ส</span>
|
|
88
67
|
<div class="footer-links">
|
|
89
68
|
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
90
69
|
<a href="https://github.com/JonusNattapong/ClewCode/issues">ปัญหา</a>
|
package/docs/quick-start.html
CHANGED
|
@@ -1,120 +1,92 @@
|
|
|
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">
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
<a href="
|
|
29
|
-
|
|
30
|
-
<a
|
|
31
|
-
<a href="
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<h2>
|
|
70
|
-
<pre><code
|
|
71
|
-
clew
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<tr><td><code>/config</code></td><td>Open config panel</td></tr>
|
|
94
|
-
<tr><td><code>/help</code></td><td>Show all available commands</td></tr>
|
|
95
|
-
</table>
|
|
96
|
-
|
|
97
|
-
<h2>6. Sessions</h2>
|
|
98
|
-
<pre><code># Continue last conversation
|
|
99
|
-
clew -c
|
|
100
|
-
|
|
101
|
-
# Resume a specific session
|
|
102
|
-
clew -r
|
|
103
|
-
|
|
104
|
-
# Print mode (non-interactive, pipe-friendly)
|
|
105
|
-
clew -p "find all unused exports"
|
|
106
|
-
|
|
107
|
-
# With structured output
|
|
108
|
-
clew -p --output-format json "list all dependencies"</code></pre>
|
|
109
|
-
|
|
110
|
-
<div class="callout callout-info">
|
|
111
|
-
<strong>Tips</strong>
|
|
112
|
-
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.
|
|
113
|
-
</div>
|
|
114
|
-
</main>
|
|
115
|
-
<nav class="toc-sidebar"></nav>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
<script src="js/main.js"></script>
|
|
119
|
-
</body>
|
|
120
|
-
</html>
|
|
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 27 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>
|
package/docs/quick-start.th.html
CHANGED
|
@@ -12,35 +12,7 @@
|
|
|
12
12
|
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
<header class="header">
|
|
16
|
-
<div class="header-inner">
|
|
17
|
-
<a href="index.th.html" class="logo">
|
|
18
|
-
<span>Clew Code</span>
|
|
19
|
-
</a>
|
|
20
|
-
<nav class="header-nav">
|
|
21
|
-
<a href="index.th.html">หน้าแรก</a><a href="index.th.html#features">ฟีเจอร์</a><a href="index.th.html#commands">คำสั่ง</a><a href="quick-start.th.html" class="active">เอกสาร</a><a href="https://github.com/JonusNattapong/ClewCode" target="_blank">GitHub</a>
|
|
22
|
-
<div class="lang-wrap">
|
|
23
|
-
<button class="lang-btn">🌐</button>
|
|
24
|
-
<div class="lang-menu">
|
|
25
|
-
<a href="../readme/README.zh.md">中文</a>
|
|
26
|
-
<a href="../readme/README.th.md">ไทย</a>
|
|
27
|
-
<a href="../readme/README.ja.md">日本語</a>
|
|
28
|
-
<a href="../readme/README.ko.md">한국어</a>
|
|
29
|
-
<a href="../readme/README.es.md">Español</a>
|
|
30
|
-
<a href="../readme/README.fr.md">Français</a>
|
|
31
|
-
<a href="../readme/README.de.md">Deutsch</a>
|
|
32
|
-
<a href="../readme/README.pt.md">Português</a>
|
|
33
|
-
<a href="../readme/README.vi.md">Tiếng Việt</a>
|
|
34
|
-
<a href="../readme/README.id.md">Bahasa Indonesia</a>
|
|
35
|
-
<a href="../readme/README.ru.md">Русский</a>
|
|
36
|
-
<a href="../readme/README.hi.md">हिन्दी</a>
|
|
37
|
-
<a href="quick-start.html">English</a>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</nav>
|
|
41
|
-
<button class="menu-btn" id="menuToggle" aria-label="เปิด/ปิดเมนู"><span></span><span></span><span></span></button>
|
|
42
|
-
</div>
|
|
43
|
-
</header>
|
|
15
|
+
<header class="header"></header>
|
|
44
16
|
<div class="app">
|
|
45
17
|
<aside class="sidebar" id="sidebar"></aside>
|
|
46
18
|
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
@@ -1,111 +1,79 @@
|
|
|
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">
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<
|
|
21
|
-
<a href="index.html">Home</a>
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
<
|
|
62
|
-
<
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
<li><strong>Hybrid recall</strong> — Combines local embedding search with LLM-based retrieval</li>
|
|
81
|
-
<li><strong>Team sync</strong> — Share memory across team members</li>
|
|
82
|
-
</ul>
|
|
83
|
-
|
|
84
|
-
<h3>Memory Commands</h3>
|
|
85
|
-
<table>
|
|
86
|
-
<tr><th>Command</th><th>Description</th></tr>
|
|
87
|
-
<tr><td><code>/memory</code></td><td>Edit Claude memory files</td></tr>
|
|
88
|
-
<tr><td><code>/memory-search</code></td><td>Search memories using semantic search (cross-lingual)</td></tr>
|
|
89
|
-
</table>
|
|
90
|
-
|
|
91
|
-
<h2>Architecture Files</h2>
|
|
92
|
-
<table>
|
|
93
|
-
<tr><th>Path</th><th>Role</th></tr>
|
|
94
|
-
<tr><td><code>src/research/</code></td><td>Deep research, dossier generation, truth checking, source ranking</td></tr>
|
|
95
|
-
<tr><td><code>src/memdir/</code></td><td>Semantic memory search and storage</td></tr>
|
|
96
|
-
</table>
|
|
97
|
-
|
|
98
|
-
<footer class="footer">
|
|
99
|
-
<span>Clew v0.1.2 — Open Source</span>
|
|
100
|
-
<div class="footer-links">
|
|
101
|
-
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
102
|
-
<a href="https://github.com/JonusNattapong/ClewCode/issues">Issues</a>
|
|
103
|
-
</div>
|
|
104
|
-
</footer>
|
|
105
|
-
</main>
|
|
106
|
-
<nav class="toc-sidebar"></nav>
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
<script src="js/main.js"></script>
|
|
110
|
-
</body>
|
|
111
|
-
</html>
|
|
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/memdir/</code> and provides cross-session persistent knowledge storage with semantic search:</p>
|
|
43
|
+
<ul>
|
|
44
|
+
<li><strong>Semantic search</strong> — Find relevant memories using text embedding similarity</li>
|
|
45
|
+
<li><strong>Cross-lingual</strong> — Search across languages using semantic embeddings</li>
|
|
46
|
+
<li><strong>Memory age tracking</strong> — Automatically age and prune old memories</li>
|
|
47
|
+
<li><strong>Auto-memory capture</strong> — Automatically save important information</li>
|
|
48
|
+
<li><strong>Hybrid recall</strong> — Combines local embedding search with LLM-based retrieval</li>
|
|
49
|
+
<li><strong>Team sync</strong> — Share memory across team members</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 semantic 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/memdir/</code></td><td>Semantic memory search and storage</td></tr>
|
|
64
|
+
</table>
|
|
65
|
+
|
|
66
|
+
<footer class="footer">
|
|
67
|
+
<span>Clew Code v0.2.4 — Open Source</span>
|
|
68
|
+
<div class="footer-links">
|
|
69
|
+
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
70
|
+
<a href="https://github.com/JonusNattapong/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>
|
|
@@ -12,35 +12,7 @@
|
|
|
12
12
|
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
<header class="header">
|
|
16
|
-
<div class="header-inner">
|
|
17
|
-
<a href="index.th.html" class="logo">
|
|
18
|
-
<span>Clew Code</span>
|
|
19
|
-
</a>
|
|
20
|
-
<nav class="header-nav">
|
|
21
|
-
<a href="index.th.html">หน้าแรก</a><a href="index.th.html#features">ฟีเจอร์</a><a href="index.th.html#commands">คำสั่ง</a><a href="quick-start.th.html" class="active">เอกสาร</a><a href="https://github.com/JonusNattapong/ClewCode" target="_blank">GitHub</a>
|
|
22
|
-
<div class="lang-wrap">
|
|
23
|
-
<button class="lang-btn">🌐</button>
|
|
24
|
-
<div class="lang-menu">
|
|
25
|
-
<a href="../readme/README.zh.md">中文</a>
|
|
26
|
-
<a href="../readme/README.th.md">ไทย</a>
|
|
27
|
-
<a href="../readme/README.ja.md">日本語</a>
|
|
28
|
-
<a href="../readme/README.ko.md">한국어</a>
|
|
29
|
-
<a href="../readme/README.es.md">Español</a>
|
|
30
|
-
<a href="../readme/README.fr.md">Français</a>
|
|
31
|
-
<a href="../readme/README.de.md">Deutsch</a>
|
|
32
|
-
<a href="../readme/README.pt.md">Português</a>
|
|
33
|
-
<a href="../readme/README.vi.md">Tiếng Việt</a>
|
|
34
|
-
<a href="../readme/README.id.md">Bahasa Indonesia</a>
|
|
35
|
-
<a href="../readme/README.ru.md">Русский</a>
|
|
36
|
-
<a href="../readme/README.hi.md">हिन्दी</a>
|
|
37
|
-
<a href="research-memory.html">English</a>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</nav>
|
|
41
|
-
<button class="menu-btn" id="menuToggle" aria-label="เปิด/ปิดเมนู"><span></span><span></span><span></span></button>
|
|
42
|
-
</div>
|
|
43
|
-
</header>
|
|
15
|
+
<header class="header"></header>
|
|
44
16
|
<div class="app">
|
|
45
17
|
<aside class="sidebar" id="sidebar"></aside>
|
|
46
18
|
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
@@ -84,7 +56,7 @@
|
|
|
84
56
|
</table>
|
|
85
57
|
|
|
86
58
|
<footer class="footer">
|
|
87
|
-
<span>Clew v0.
|
|
59
|
+
<span>Clew Code v0.2.4 — โอเพนซอร์ส</span>
|
|
88
60
|
<div class="footer-links">
|
|
89
61
|
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
90
62
|
<a href="https://github.com/JonusNattapong/ClewCode/issues">ปัญหา</a>
|