clew-code 0.2.7 → 0.2.9
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 +292 -299
- package/dist/main.js +2745 -2869
- package/docs/architecture.html +148 -145
- package/docs/architecture.th.html +79 -78
- package/docs/clew-code-architecture.html +1125 -0
- package/docs/commands.html +224 -223
- package/docs/commands.th.html +131 -130
- package/docs/configuration.html +147 -145
- package/docs/configuration.th.html +108 -106
- package/docs/css/styles.css +48 -42
- package/docs/daemon.html +129 -128
- package/docs/daemon.th.html +73 -72
- package/docs/features/bridge-mode.html +99 -98
- package/docs/features/bridge-mode.th.html +90 -89
- package/docs/features/evals.html +182 -181
- package/docs/features/evals.th.html +90 -89
- package/docs/features/peer.html +178 -177
- package/docs/features/searxng-search.html +151 -150
- package/docs/features/searxng-search.th.html +95 -94
- package/docs/features/sentry-setup.html +157 -156
- package/docs/features/sentry-setup.th.html +97 -96
- package/docs/index.html +299 -298
- package/docs/index.th.html +292 -290
- package/docs/installation.html +105 -103
- package/docs/installation.th.html +105 -103
- package/docs/internals/growthbook-ab-testing.html +113 -112
- package/docs/internals/growthbook-ab-testing.th.html +81 -80
- package/docs/internals/hidden-features.html +149 -147
- package/docs/internals/hidden-features.th.html +109 -107
- package/docs/js/main.js +83 -3
- package/docs/loop.html +181 -180
- package/docs/loop.th.html +227 -226
- package/docs/mcp.html +247 -246
- package/docs/mcp.th.html +207 -206
- package/docs/models.html +111 -110
- package/docs/models.th.html +61 -60
- package/docs/peer.html +236 -235
- package/docs/peer.th.html +280 -279
- package/docs/permission-model.html +102 -101
- package/docs/permission-model.th.html +67 -66
- package/docs/plugins.html +102 -101
- package/docs/plugins.th.html +79 -78
- package/docs/providers.html +126 -117
- package/docs/providers.th.html +80 -78
- package/docs/quick-start.html +93 -92
- package/docs/quick-start.th.html +40 -39
- package/docs/research-memory.html +82 -79
- package/docs/research-memory.th.html +72 -71
- package/docs/skills.html +117 -116
- package/docs/skills.th.html +90 -89
- package/docs/tools.html +170 -169
- package/docs/tools.th.html +84 -83
- package/docs/troubleshooting.html +106 -105
- package/docs/troubleshooting.th.html +85 -84
- package/package.json +164 -162
- package/docs/taste.html +0 -436
- package/docs/taste.th.html +0 -236
package/docs/installation.html
CHANGED
|
@@ -1,103 +1,105 @@
|
|
|
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>Installation
|
|
7
|
-
<meta name="description" content="Install Clew via npm, run from source, or use the prebuilt binary.">
|
|
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"><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.html">Home</a><span class="sep">/</span><span>Installation</span></div>
|
|
19
|
-
<h1>Installation</h1>
|
|
20
|
-
<p class="section-subtitle">Clew runs on Windows, macOS, Linux, and WSL2. Runtime: Bun 1.3+.</p>
|
|
21
|
-
|
|
22
|
-
<h2>Prerequisites</h2>
|
|
23
|
-
<ul>
|
|
24
|
-
<li><strong>Bun 1.3+</strong>
|
|
25
|
-
<li>At least one AI provider API key</li>
|
|
26
|
-
</ul>
|
|
27
|
-
|
|
28
|
-
<h2>Via npm (global)</h2>
|
|
29
|
-
<pre><code>npm install -g clew-code
|
|
30
|
-
clew
|
|
31
|
-
|
|
32
|
-
# Verify
|
|
33
|
-
clew --version</code></pre>
|
|
34
|
-
<p><strong>Important:</strong> the npm package installs the launcher only. You must install <a href="https://bun.sh">Bun</a> separately before running <code>clew</code>.</p>
|
|
35
|
-
|
|
36
|
-
<h2>Via Bun (global)</h2>
|
|
37
|
-
<pre><code>bun install -g clew-code
|
|
38
|
-
clew</code></pre>
|
|
39
|
-
|
|
40
|
-
<h2>From Source</h2>
|
|
41
|
-
<pre><code>git clone https://github.com/
|
|
42
|
-
cd ClewCode
|
|
43
|
-
bun install
|
|
44
|
-
bun run build
|
|
45
|
-
bun run start
|
|
46
|
-
|
|
47
|
-
# Development mode with watch
|
|
48
|
-
bun run dev</code></pre>
|
|
49
|
-
|
|
50
|
-
<p>Build output goes to <code>dist/</code>. The build uses Bun bundler with compile-time feature defines (<code>TRANSCRIPT_CLASSIFIER</code>, <code>CHICAGO_MCP</code>).</p>
|
|
51
|
-
|
|
52
|
-
<h2>Platform-Specific Notes</h2>
|
|
53
|
-
|
|
54
|
-
<h3>Windows</h3>
|
|
55
|
-
<ul>
|
|
56
|
-
<li>Both cmd and PowerShell supported as shell targets</li>
|
|
57
|
-
<li>ripgrep bundled at <code>src/utils/vendor/ripgrep/x64-win32/rg.exe</code></li>
|
|
58
|
-
<li>WSL2 recommended for best experience</li>
|
|
59
|
-
<li>Windows argv normalization in <code>src/entry.ts</code></li>
|
|
60
|
-
<li>TTY polyfill for Ink compatibility in <code>src/main.tsx</code></li>
|
|
61
|
-
</ul>
|
|
62
|
-
|
|
63
|
-
<h3>macOS</h3>
|
|
64
|
-
<ul>
|
|
65
|
-
<li>
|
|
66
|
-
<li>Voice Wake and Talk Mode overlays</li>
|
|
67
|
-
<li>Keychain prefetch for faster OAuth startup</li>
|
|
68
|
-
<li>WebChat and debug tools available</li>
|
|
69
|
-
</ul>
|
|
70
|
-
|
|
71
|
-
<h3>Linux</h3>
|
|
72
|
-
<ul>
|
|
73
|
-
<li>Full support via terminal</li>
|
|
74
|
-
<li>Tailscale Serve/Funnel for remote gateway access</li>
|
|
75
|
-
</ul>
|
|
76
|
-
|
|
77
|
-
<h2>Release Channels</h2>
|
|
78
|
-
<table>
|
|
79
|
-
<tr><th>Channel</th><th>npm Tag</th><th>Description</th></tr>
|
|
80
|
-
<tr><td>stable</td><td><code>latest</code></td><td>Tagged releases (vYYYY.M.D)</td></tr>
|
|
81
|
-
<tr><td>beta</td><td><code>beta</code></td><td>Prereleases (vYYYY.M.D-beta.N)</td></tr>
|
|
82
|
-
<tr><td>dev</td><td><code>dev</code></td><td>Moving main branch</td></tr>
|
|
83
|
-
</table>
|
|
84
|
-
|
|
85
|
-
<h2>Verifying Installation</h2>
|
|
86
|
-
<pre><code>/doctor # Run environment diagnostics
|
|
87
|
-
/status # Check version, model, account, API connectivity</code></pre>
|
|
88
|
-
|
|
89
|
-
<footer class="footer">
|
|
90
|
-
<span>Clew Code v0.2.
|
|
91
|
-
<div class="footer-links">
|
|
92
|
-
<a href="https://github.com/
|
|
93
|
-
<a href="https://github.com/
|
|
94
|
-
<a href="https://npmjs.com/package/clew-code">npm</a>
|
|
95
|
-
</div>
|
|
96
|
-
</footer>
|
|
97
|
-
</main>
|
|
98
|
-
<nav class="toc-sidebar"></nav>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
<script src="js/main.js"></script>
|
|
102
|
-
</body>
|
|
103
|
-
</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>Installation — Clew</title>
|
|
7
|
+
<meta name="description" content="Install Clew via npm, run from source, or use the prebuilt binary.">
|
|
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"><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.html">Home</a><span class="sep">/</span><span>Installation</span></div>
|
|
19
|
+
<h1>Installation</h1>
|
|
20
|
+
<p class="section-subtitle">Clew runs on Windows, macOS, Linux, and WSL2. Runtime: Bun 1.3+.</p>
|
|
21
|
+
|
|
22
|
+
<h2>Prerequisites</h2>
|
|
23
|
+
<ul>
|
|
24
|
+
<li><strong>Bun 1.3+</strong> — required runtime for both global installs and source builds</li>
|
|
25
|
+
<li>At least one AI provider API key</li>
|
|
26
|
+
</ul>
|
|
27
|
+
|
|
28
|
+
<h2>Via npm (global)</h2>
|
|
29
|
+
<pre><code>npm install -g clew-code
|
|
30
|
+
clew
|
|
31
|
+
|
|
32
|
+
# Verify
|
|
33
|
+
clew --version</code></pre>
|
|
34
|
+
<p><strong>Important:</strong> the npm package installs the launcher only. You must install <a href="https://bun.sh">Bun</a> separately before running <code>clew</code>.</p>
|
|
35
|
+
|
|
36
|
+
<h2>Via Bun (global)</h2>
|
|
37
|
+
<pre><code>bun install -g clew-code
|
|
38
|
+
clew</code></pre>
|
|
39
|
+
|
|
40
|
+
<h2>From Source</h2>
|
|
41
|
+
<pre><code>git clone https://github.com/ClewCode/ClewCode.git
|
|
42
|
+
cd ClewCode
|
|
43
|
+
bun install
|
|
44
|
+
bun run build
|
|
45
|
+
bun run start
|
|
46
|
+
|
|
47
|
+
# Development mode with watch
|
|
48
|
+
bun run dev</code></pre>
|
|
49
|
+
|
|
50
|
+
<p>Build output goes to <code>dist/</code>. The build uses Bun bundler with compile-time feature defines (<code>TRANSCRIPT_CLASSIFIER</code>, <code>CHICAGO_MCP</code>).</p>
|
|
51
|
+
|
|
52
|
+
<h2>Platform-Specific Notes</h2>
|
|
53
|
+
|
|
54
|
+
<h3>Windows</h3>
|
|
55
|
+
<ul>
|
|
56
|
+
<li>Both cmd and PowerShell supported as shell targets</li>
|
|
57
|
+
<li>ripgrep bundled at <code>src/utils/vendor/ripgrep/x64-win32/rg.exe</code></li>
|
|
58
|
+
<li>WSL2 recommended for best experience</li>
|
|
59
|
+
<li>Windows argv normalization in <code>src/entry.ts</code></li>
|
|
60
|
+
<li>TTY polyfill for Ink compatibility in <code>src/main.tsx</code></li>
|
|
61
|
+
</ul>
|
|
62
|
+
|
|
63
|
+
<h3>macOS</h3>
|
|
64
|
+
<ul>
|
|
65
|
+
<li>CLI-based usage with (clew)</li>
|
|
66
|
+
<li>Voice Wake and Talk Mode overlays</li>
|
|
67
|
+
<li>Keychain prefetch for faster OAuth startup</li>
|
|
68
|
+
<li>WebChat and debug tools available</li>
|
|
69
|
+
</ul>
|
|
70
|
+
|
|
71
|
+
<h3>Linux</h3>
|
|
72
|
+
<ul>
|
|
73
|
+
<li>Full support via terminal</li>
|
|
74
|
+
<li>Tailscale Serve/Funnel for remote gateway access</li>
|
|
75
|
+
</ul>
|
|
76
|
+
|
|
77
|
+
<h2>Release Channels</h2>
|
|
78
|
+
<table>
|
|
79
|
+
<tr><th>Channel</th><th>npm Tag</th><th>Description</th></tr>
|
|
80
|
+
<tr><td>stable</td><td><code>latest</code></td><td>Tagged releases (vYYYY.M.D)</td></tr>
|
|
81
|
+
<tr><td>beta</td><td><code>beta</code></td><td>Prereleases (vYYYY.M.D-beta.N)</td></tr>
|
|
82
|
+
<tr><td>dev</td><td><code>dev</code></td><td>Moving main branch</td></tr>
|
|
83
|
+
</table>
|
|
84
|
+
|
|
85
|
+
<h2>Verifying Installation</h2>
|
|
86
|
+
<pre><code>/doctor # Run environment diagnostics
|
|
87
|
+
/status # Check version, model, account, API connectivity</code></pre>
|
|
88
|
+
|
|
89
|
+
<footer class="footer">
|
|
90
|
+
<span>Clew Code v0.2.7 — Open Source</span>
|
|
91
|
+
<div class="footer-links">
|
|
92
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
93
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
94
|
+
<a href="https://npmjs.com/package/clew-code">npm</a>
|
|
95
|
+
</div>
|
|
96
|
+
</footer>
|
|
97
|
+
</main>
|
|
98
|
+
<nav class="toc-sidebar"></nav>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
<script src="js/main.js"></script>
|
|
102
|
+
</body>
|
|
103
|
+
</html>
|
|
104
|
+
|
|
105
|
+
|
|
@@ -1,103 +1,105 @@
|
|
|
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
|
|
7
|
-
<meta name="description" content="
|
|
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"
|
|
19
|
-
<h1
|
|
20
|
-
<p class="section-subtitle">Clew
|
|
21
|
-
|
|
22
|
-
<h2
|
|
23
|
-
<ul>
|
|
24
|
-
<li><strong>Bun 1.3+</strong>
|
|
25
|
-
<li
|
|
26
|
-
</ul>
|
|
27
|
-
|
|
28
|
-
<h2
|
|
29
|
-
<pre><code>npm install -g clew-code
|
|
30
|
-
clew
|
|
31
|
-
|
|
32
|
-
#
|
|
33
|
-
clew --version</code></pre>
|
|
34
|
-
<p><strong
|
|
35
|
-
|
|
36
|
-
<h2
|
|
37
|
-
<pre><code>bun install -g clew-code
|
|
38
|
-
clew</code></pre>
|
|
39
|
-
|
|
40
|
-
<h2
|
|
41
|
-
<pre><code>git clone https://github.com/
|
|
42
|
-
cd ClewCode
|
|
43
|
-
bun install
|
|
44
|
-
bun run build
|
|
45
|
-
bun run start
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
bun run dev</code></pre>
|
|
49
|
-
|
|
50
|
-
<p
|
|
51
|
-
|
|
52
|
-
<h2
|
|
53
|
-
|
|
54
|
-
<h3>Windows</h3>
|
|
55
|
-
<ul>
|
|
56
|
-
<li
|
|
57
|
-
<li>ripgrep
|
|
58
|
-
<li
|
|
59
|
-
<li
|
|
60
|
-
<li>TTY polyfill
|
|
61
|
-
</ul>
|
|
62
|
-
|
|
63
|
-
<h3>macOS</h3>
|
|
64
|
-
<ul>
|
|
65
|
-
<li
|
|
66
|
-
<li>Voice Wake
|
|
67
|
-
<li>Keychain prefetch
|
|
68
|
-
<li
|
|
69
|
-
</ul>
|
|
70
|
-
|
|
71
|
-
<h3>Linux</h3>
|
|
72
|
-
<ul>
|
|
73
|
-
<li
|
|
74
|
-
<li>Tailscale Serve/Funnel
|
|
75
|
-
</ul>
|
|
76
|
-
|
|
77
|
-
<h2
|
|
78
|
-
<table>
|
|
79
|
-
<tr><th
|
|
80
|
-
<tr><td>stable</td><td><code>latest</code></td><td
|
|
81
|
-
<tr><td>beta</td><td><code>beta</code></td><td
|
|
82
|
-
<tr><td>dev</td><td><code>dev</code></td><td
|
|
83
|
-
</table>
|
|
84
|
-
|
|
85
|
-
<h2
|
|
86
|
-
<pre><code>/doctor #
|
|
87
|
-
/status #
|
|
88
|
-
|
|
89
|
-
<footer class="footer">
|
|
90
|
-
<span>Clew Code v0.2.
|
|
91
|
-
<div class="footer-links">
|
|
92
|
-
<a href="https://github.com/
|
|
93
|
-
<a href="https://github.com/
|
|
94
|
-
<a href="https://npmjs.com/package/clew-code">npm</a>
|
|
95
|
-
</div>
|
|
96
|
-
</footer>
|
|
97
|
-
</main>
|
|
98
|
-
<nav class="toc-sidebar"></nav>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
<script src="js/main.js"></script>
|
|
102
|
-
</body>
|
|
103
|
-
</html>
|
|
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="ติดตั้ง Clew ผ่าน npm, รันจาà¸à¸‹à¸à¸£à¹Œà¸ªà¹‚ค้ด, หรืà¸à¹ƒà¸Šà¹‰à¹„บนารีสำเร็จรูป">
|
|
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 รันบน Windows, macOS, Linux à¹à¸¥à¸° WSL2 รันไทม์: Bun 1.3+</p>
|
|
21
|
+
|
|
22
|
+
<h2>ข้à¸à¸à¸³à¸«à¸™à¸”เบื้à¸à¸‡à¸•้น</h2>
|
|
23
|
+
<ul>
|
|
24
|
+
<li><strong>Bun 1.3+</strong> — จำเป็นสำหรับทั้งà¸à¸²à¸£à¸•ิดตั้งà¹à¸šà¸š global à¹à¸¥à¸° build จาà¸à¸‹à¸à¸£à¹Œà¸ª</li>
|
|
25
|
+
<li>คีย์ API ขà¸à¸‡à¸œà¸¹à¹‰à¹ƒà¸«à¹‰à¸šà¸£à¸´à¸à¸²à¸£ AI à¸à¸¢à¹ˆà¸²à¸‡à¸™à¹‰à¸à¸¢à¸«à¸™à¸¶à¹ˆà¸‡à¸£à¸²à¸¢à¸à¸²à¸£</li>
|
|
26
|
+
</ul>
|
|
27
|
+
|
|
28
|
+
<h2>ผ่าน npm (global)</h2>
|
|
29
|
+
<pre><code>npm install -g clew-code
|
|
30
|
+
clew
|
|
31
|
+
|
|
32
|
+
# ตรวจสà¸à¸š
|
|
33
|
+
clew --version</code></pre>
|
|
34
|
+
<p><strong>สำคัà¸:</strong> à¹à¸žà¹‡à¸à¹€à¸à¸ˆ npm ติดตั้งเฉพาะตัวเรียà¸à¹ƒà¸Šà¹‰à¹€à¸—่านั้น คุณต้à¸à¸‡à¸•ิดตั้ง <a href="https://bun.sh">Bun</a> à¹à¸¢à¸à¸•่างหาà¸à¸à¹ˆà¸à¸™à¸£à¸±à¸™ <code>clew</code></p>
|
|
35
|
+
|
|
36
|
+
<h2>ผ่าน Bun (global)</h2>
|
|
37
|
+
<pre><code>bun install -g clew-code
|
|
38
|
+
clew</code></pre>
|
|
39
|
+
|
|
40
|
+
<h2>จาà¸à¸‹à¸à¸£à¹Œà¸ªà¹‚ค้ด</h2>
|
|
41
|
+
<pre><code>git clone https://github.com/ClewCode/ClewCode.git
|
|
42
|
+
cd ClewCode
|
|
43
|
+
bun install
|
|
44
|
+
bun run build
|
|
45
|
+
bun run start
|
|
46
|
+
|
|
47
|
+
# โหมดพัฒนาพร้à¸à¸¡ watch
|
|
48
|
+
bun run dev</code></pre>
|
|
49
|
+
|
|
50
|
+
<p>ผลลัพธ์ build ไปที่ <code>dist/</code> à¸à¸²à¸£ build ใช้ Bun bundler พร้à¸à¸¡ compile-time feature defines (<code>TRANSCRIPT_CLASSIFIER</code>, <code>CHICAGO_MCP</code>)</p>
|
|
51
|
+
|
|
52
|
+
<h2>หมายเหตุเฉพาะà¹à¸žà¸¥à¸•ฟà¸à¸£à¹Œà¸¡</h2>
|
|
53
|
+
|
|
54
|
+
<h3>Windows</h3>
|
|
55
|
+
<ul>
|
|
56
|
+
<li>รà¸à¸‡à¸£à¸±à¸šà¸—ั้ง cmd à¹à¸¥à¸° PowerShell เป็น shell เป้าหมาย</li>
|
|
57
|
+
<li>ripgrep à¹à¸–มมาที่ <code>src/utils/vendor/ripgrep/x64-win32/rg.exe</code></li>
|
|
58
|
+
<li>à¹à¸™à¸°à¸™à¸³ WSL2 เพื่à¸à¸›à¸£à¸°à¸ªà¸šà¸à¸²à¸£à¸“์ที่ดีที่สุด</li>
|
|
59
|
+
<li>à¸à¸²à¸£à¸›à¸£à¸±à¸šà¸£à¸¹à¸›à¹à¸šà¸š argv Windows ใน <code>src/entry.ts</code></li>
|
|
60
|
+
<li>TTY polyfill สำหรับ Ink compatibility ใน <code>src/main.tsx</code></li>
|
|
61
|
+
</ul>
|
|
62
|
+
|
|
63
|
+
<h3>macOS</h3>
|
|
64
|
+
<ul>
|
|
65
|
+
<li>รà¸à¸‡à¸£à¸±à¸šà¸žà¸·à¹‰à¸™à¹€à¸¡à¸·à¸à¸‡à¸žà¸£à¹‰à¸à¸¡ интеграциÑà¹à¸–บเมนู (clew)</li>
|
|
66
|
+
<li>Voice Wake à¹à¸¥à¸° Talk Mode overlays</li>
|
|
67
|
+
<li>Keychain prefetch สำหรับà¸à¸²à¸£à¹€à¸£à¸´à¹ˆà¸¡ OAuth ที่เร็วขึ้น</li>
|
|
68
|
+
<li>เครื่à¸à¸‡à¸¡à¸·à¸ WebChat à¹à¸¥à¸° debug พร้à¸à¸¡à¹ƒà¸Šà¹‰à¸‡à¸²à¸™</li>
|
|
69
|
+
</ul>
|
|
70
|
+
|
|
71
|
+
<h3>Linux</h3>
|
|
72
|
+
<ul>
|
|
73
|
+
<li>รà¸à¸‡à¸£à¸±à¸šà¹€à¸•็มรูปà¹à¸šà¸šà¸œà¹ˆà¸²à¸™à¹€à¸—à¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥</li>
|
|
74
|
+
<li>Tailscale Serve/Funnel สำหรับà¸à¸²à¸£à¹€à¸‚้าถึงเà¸à¸•เวย์ระยะไà¸à¸¥</li>
|
|
75
|
+
</ul>
|
|
76
|
+
|
|
77
|
+
<h2>ช่à¸à¸‡à¸—างà¸à¸²à¸£à¹€à¸œà¸¢à¹à¸žà¸£à¹ˆ</h2>
|
|
78
|
+
<table>
|
|
79
|
+
<tr><th>ช่à¸à¸‡à¸—าง</th><th>npm Tag</th><th>คำà¸à¸˜à¸´à¸šà¸²à¸¢</th></tr>
|
|
80
|
+
<tr><td>stable</td><td><code>latest</code></td><td>รุ่นที่à¹à¸—็ภ(vYYYY.M.D)</td></tr>
|
|
81
|
+
<tr><td>beta</td><td><code>beta</code></td><td>รุ่นà¸à¹ˆà¸à¸™à¹€à¸œà¸¢à¹à¸žà¸£à¹ˆ (vYYYY.M.D-beta.N)</td></tr>
|
|
82
|
+
<tr><td>dev</td><td><code>dev</code></td><td>สาขา main ที่เคลื่à¸à¸™à¸—ี่</td></tr>
|
|
83
|
+
</table>
|
|
84
|
+
|
|
85
|
+
<h2>à¸à¸²à¸£à¸•รวจสà¸à¸šà¸à¸²à¸£à¸•ิดตั้ง</h2>
|
|
86
|
+
<pre><code>/doctor # รันà¸à¸²à¸£à¸•รวจสà¸à¸šà¸ªà¸ าพà¹à¸§à¸”ล้à¸à¸¡
|
|
87
|
+
/status # ตรวจสà¸à¸šà¹€à¸§à¸à¸£à¹Œà¸Šà¸±à¸™, โมเดล, บัà¸à¸Šà¸µ, à¸à¸²à¸£à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่ภAPI</code></pre>
|
|
88
|
+
|
|
89
|
+
<footer class="footer">
|
|
90
|
+
<span>Clew Code v0.2.7 — โà¸à¹€à¸žà¸™à¸‹à¸à¸£à¹Œà¸ª</span>
|
|
91
|
+
<div class="footer-links">
|
|
92
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
93
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
94
|
+
<a href="https://npmjs.com/package/clew-code">npm</a>
|
|
95
|
+
</div>
|
|
96
|
+
</footer>
|
|
97
|
+
</main>
|
|
98
|
+
<nav class="toc-sidebar"></nav>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
<script src="js/main.js"></script>
|
|
102
|
+
</body>
|
|
103
|
+
</html>
|
|
104
|
+
|
|
105
|
+
|