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
|
@@ -1,99 +1,99 @@
|
|
|
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>Bridge Mode — Remote Control & Collaboration — Clew</title>
|
|
7
|
-
<meta name="description" content="WebSocket remote control and collaboration for Clew.">
|
|
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
|
-
<div class="header-inner">
|
|
17
|
-
<a href="../index.html" class="logo">
|
|
18
|
-
<span>Clew Code</span>
|
|
19
|
-
</a>
|
|
20
|
-
<nav class="header-nav">
|
|
21
|
-
<a href="../index.html">Home</a>
|
|
22
|
-
<a href="../index.html#features">Features</a>
|
|
23
|
-
<a href="../index.html#commands">Commands</a>
|
|
24
|
-
<a href="../quick-start.html" class="active">Docs</a>
|
|
25
|
-
<a href="https://github.com/ClewCode/ClewCode" target="_blank">GitHub</a>
|
|
26
|
-
<div class="lang-wrap">
|
|
27
|
-
<button class="lang-btn">ðŸŒ</button>
|
|
28
|
-
<div class="lang-menu">
|
|
29
|
-
<a href="../../readme/README.zh.md">䏿–‡</a>
|
|
30
|
-
<a href="../../readme/README.th.md">ไทย</a>
|
|
31
|
-
<a href="../../readme/README.ja.md">日本語</a>
|
|
32
|
-
<a href="../../readme/README.ko.md">한êµì–´</a>
|
|
33
|
-
<a href="../../readme/README.es.md">Español</a>
|
|
34
|
-
<a href="../../readme/README.fr.md">Français</a>
|
|
35
|
-
<a href="../../readme/README.de.md">Deutsch</a>
|
|
36
|
-
<a href="../../readme/README.pt.md">Português</a>
|
|
37
|
-
<a href="../../readme/README.vi.md">Tiếng Việt</a>
|
|
38
|
-
<a href="../../readme/README.id.md">Bahasa Indonesia</a>
|
|
39
|
-
<a href="../../readme/README.ru.md">РуÑÑкий</a>
|
|
40
|
-
<a href="../../readme/README.hi.md">हिनà¥à¤¦à¥€</a>
|
|
41
|
-
<a href="../../README.md">English</a>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</nav>
|
|
45
|
-
<button class="menu-btn" id="menuToggle" aria-label="Toggle navigation"><span></span><span></span><span></span></button>
|
|
46
|
-
</div>
|
|
47
|
-
</header>
|
|
48
|
-
<div class="app">
|
|
49
|
-
<aside class="sidebar" id="sidebar"></aside>
|
|
50
|
-
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
51
|
-
<div class="content-wrap">
|
|
52
|
-
<main class="content">
|
|
53
|
-
<div class="breadcrumbs"><a href="../index.html">Home</a><span class="sep">/</span><a href="../index.html#features">Features</a><span class="sep">/</span><span>Bridge Mode</span></div>
|
|
54
|
-
<h1>Bridge Mode</h1>
|
|
55
|
-
<p class="section-subtitle">Remote Control & Remote Collaboration</p>
|
|
56
|
-
|
|
57
|
-
<div class="callout callout-info">
|
|
58
|
-
<strong>Bridge Mode</strong> exposes a remote control surface over a WebSocket connection. It is designed to be used by a mobile/web app to send commands and receive information from a running Clew session.
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
<h2>Architecture</h2>
|
|
62
|
-
<p>Bridge mode creates a WebSocket server that runs alongside the main Clew session. Remote clients connect to this server and can send slash commands, receive responses, and interact with the running session. The bridge also supports session sharing for team collaboration.</p>
|
|
63
|
-
|
|
64
|
-
<h2>Quick Start</h2>
|
|
65
|
-
<pre><code># Enable bridge mode
|
|
66
|
-
export BRIDGE_MODE=1
|
|
67
|
-
claude --bridge
|
|
68
|
-
|
|
69
|
-
# Connect from another terminal
|
|
70
|
-
claude --remote ws://localhost:18790</code></pre>
|
|
71
|
-
|
|
72
|
-
<h2>Features</h2>
|
|
73
|
-
<ul>
|
|
74
|
-
<li><strong>Remote Control</strong> — Send commands from mobile/web/CLI clients</li>
|
|
75
|
-
<li><strong>Session Sharing</strong> — Share your session with team members</li>
|
|
76
|
-
<li><strong>Team Onboarding</strong> — Invite teammates to collaborate</li>
|
|
77
|
-
<li><strong>Secure</strong> — OAuth-based authentication for remote connections</li>
|
|
78
|
-
</ul>
|
|
79
|
-
|
|
80
|
-
<div class="callout callout-warn">
|
|
81
|
-
<strong>Security Note</strong>
|
|
82
|
-
Bridge mode is designed for trusted networks. Use appropriate security measures when exposing the WebSocket server to external networks.
|
|
83
|
-
</div>
|
|
84
|
-
|
|
85
|
-
<footer class="footer">
|
|
86
|
-
<span>Clew Code
|
|
87
|
-
<div class="footer-links">
|
|
88
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
89
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
90
|
-
</div>
|
|
91
|
-
</footer>
|
|
92
|
-
</main>
|
|
93
|
-
<nav class="toc-sidebar"></nav>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<script src="../js/main.js"></script>
|
|
97
|
-
</body>
|
|
98
|
-
</html>
|
|
99
|
-
|
|
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>Bridge Mode — Remote Control & Collaboration — Clew</title>
|
|
7
|
+
<meta name="description" content="WebSocket remote control and collaboration for Clew.">
|
|
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
|
+
<div class="header-inner">
|
|
17
|
+
<a href="../index.html" class="logo">
|
|
18
|
+
<span>Clew Code</span>
|
|
19
|
+
</a>
|
|
20
|
+
<nav class="header-nav">
|
|
21
|
+
<a href="../index.html">Home</a>
|
|
22
|
+
<a href="../index.html#features">Features</a>
|
|
23
|
+
<a href="../index.html#commands">Commands</a>
|
|
24
|
+
<a href="../quick-start.html" class="active">Docs</a>
|
|
25
|
+
<a href="https://github.com/ClewCode/ClewCode" target="_blank">GitHub</a>
|
|
26
|
+
<div class="lang-wrap">
|
|
27
|
+
<button class="lang-btn">ðŸŒ</button>
|
|
28
|
+
<div class="lang-menu">
|
|
29
|
+
<a href="../../readme/README.zh.md">䏿–‡</a>
|
|
30
|
+
<a href="../../readme/README.th.md">ไทย</a>
|
|
31
|
+
<a href="../../readme/README.ja.md">日本語</a>
|
|
32
|
+
<a href="../../readme/README.ko.md">한êµì–´</a>
|
|
33
|
+
<a href="../../readme/README.es.md">Español</a>
|
|
34
|
+
<a href="../../readme/README.fr.md">Français</a>
|
|
35
|
+
<a href="../../readme/README.de.md">Deutsch</a>
|
|
36
|
+
<a href="../../readme/README.pt.md">Português</a>
|
|
37
|
+
<a href="../../readme/README.vi.md">Tiếng Việt</a>
|
|
38
|
+
<a href="../../readme/README.id.md">Bahasa Indonesia</a>
|
|
39
|
+
<a href="../../readme/README.ru.md">РуÑÑкий</a>
|
|
40
|
+
<a href="../../readme/README.hi.md">हिनà¥à¤¦à¥€</a>
|
|
41
|
+
<a href="../../README.md">English</a>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</nav>
|
|
45
|
+
<button class="menu-btn" id="menuToggle" aria-label="Toggle navigation"><span></span><span></span><span></span></button>
|
|
46
|
+
</div>
|
|
47
|
+
</header>
|
|
48
|
+
<div class="app">
|
|
49
|
+
<aside class="sidebar" id="sidebar"></aside>
|
|
50
|
+
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
51
|
+
<div class="content-wrap">
|
|
52
|
+
<main class="content">
|
|
53
|
+
<div class="breadcrumbs"><a href="../index.html">Home</a><span class="sep">/</span><a href="../index.html#features">Features</a><span class="sep">/</span><span>Bridge Mode</span></div>
|
|
54
|
+
<h1>Bridge Mode</h1>
|
|
55
|
+
<p class="section-subtitle">Remote Control & Remote Collaboration</p>
|
|
56
|
+
|
|
57
|
+
<div class="callout callout-info">
|
|
58
|
+
<strong>Bridge Mode</strong> exposes a remote control surface over a WebSocket connection. It is designed to be used by a mobile/web app to send commands and receive information from a running Clew session.
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<h2>Architecture</h2>
|
|
62
|
+
<p>Bridge mode creates a WebSocket server that runs alongside the main Clew session. Remote clients connect to this server and can send slash commands, receive responses, and interact with the running session. The bridge also supports session sharing for team collaboration.</p>
|
|
63
|
+
|
|
64
|
+
<h2>Quick Start</h2>
|
|
65
|
+
<pre><code># Enable bridge mode
|
|
66
|
+
export BRIDGE_MODE=1
|
|
67
|
+
claude --bridge
|
|
68
|
+
|
|
69
|
+
# Connect from another terminal
|
|
70
|
+
claude --remote ws://localhost:18790</code></pre>
|
|
71
|
+
|
|
72
|
+
<h2>Features</h2>
|
|
73
|
+
<ul>
|
|
74
|
+
<li><strong>Remote Control</strong> — Send commands from mobile/web/CLI clients</li>
|
|
75
|
+
<li><strong>Session Sharing</strong> — Share your session with team members</li>
|
|
76
|
+
<li><strong>Team Onboarding</strong> — Invite teammates to collaborate</li>
|
|
77
|
+
<li><strong>Secure</strong> — OAuth-based authentication for remote connections</li>
|
|
78
|
+
</ul>
|
|
79
|
+
|
|
80
|
+
<div class="callout callout-warn">
|
|
81
|
+
<strong>Security Note</strong>
|
|
82
|
+
Bridge mode is designed for trusted networks. Use appropriate security measures when exposing the WebSocket server to external networks.
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<footer class="footer">
|
|
86
|
+
<span>Clew Code 0.2.13</span>
|
|
87
|
+
<div class="footer-links">
|
|
88
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
89
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
90
|
+
</div>
|
|
91
|
+
</footer>
|
|
92
|
+
</main>
|
|
93
|
+
<nav class="toc-sidebar"></nav>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<script src="../js/main.js"></script>
|
|
97
|
+
</body>
|
|
98
|
+
</html>
|
|
99
|
+
|
|
@@ -1,90 +1,90 @@
|
|
|
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>โหมด Bridge — à¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¹à¸¥à¸°à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™ — Clew</title>
|
|
7
|
-
<meta name="description" content="à¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¹à¸¥à¸°à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™à¸œà¹ˆà¸²à¸™ WebSocket สำหรับ Clew">
|
|
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">
|
|
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/ClewCode/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="bridge-mode.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>
|
|
44
|
-
<div class="app">
|
|
45
|
-
<aside class="sidebar" id="sidebar"></aside>
|
|
46
|
-
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
47
|
-
<div class="content-wrap">
|
|
48
|
-
<main class="content">
|
|
49
|
-
<div class="breadcrumbs"><a href="../index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><a href="../index.th.html#features">ฟีเจà¸à¸£à¹Œ</a><span class="sep">/</span><span>โหมด Bridge</span></div>
|
|
50
|
-
<h1>โหมด Bridge</h1>
|
|
51
|
-
<p class="section-subtitle">à¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¹à¸¥à¸°à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™</p>
|
|
52
|
-
|
|
53
|
-
<div class="callout callout-info">
|
|
54
|
-
<strong>โหมด Bridge</strong> เผยพื้นผิวà¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¸œà¹ˆà¸²à¸™à¸à¸²à¸£à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่ภWebSocket à¸à¸à¸à¹à¸šà¸šà¹ƒà¸«à¹‰à¹ƒà¸Šà¹‰à¹‚ดยà¹à¸à¸›à¸¡à¸·à¸à¸–ืà¸/เว็บเพื่à¸à¸ªà¹ˆà¸‡à¸„ำสั่งà¹à¸¥à¸°à¸£à¸±à¸šà¸‚้à¸à¸¡à¸¹à¸¥à¸ˆà¸²à¸à¹€à¸‹à¸ªà¸Šà¸±à¸™ Clew ที่à¸à¸³à¸¥à¸±à¸‡à¸£à¸±à¸™
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<h2>สถาปัตยà¸à¸£à¸£à¸¡</h2>
|
|
58
|
-
<p>โหมด Bridge สร้างเซิร์ฟเวà¸à¸£à¹Œ WebSocket ที่ทำงานควบคู่à¸à¸±à¸šà¹€à¸‹à¸ªà¸Šà¸±à¸™ Clew หลัภไคลเà¸à¸™à¸•์ระยะไà¸à¸¥à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่à¸à¸à¸±à¸šà¹€à¸‹à¸´à¸£à¹Œà¸Ÿà¹€à¸§à¸à¸£à¹Œà¸™à¸µà¹‰à¹à¸¥à¸°à¸ªà¸²à¸¡à¸²à¸£à¸–ส่งคำสั่ง slash, รับคำตà¸à¸š, à¹à¸¥à¸°à¹‚ต้ตà¸à¸šà¸à¸±à¸šà¹€à¸‹à¸ªà¸Šà¸±à¸™à¸—ี่à¸à¸³à¸¥à¸±à¸‡à¸£à¸±à¸™ Bridge ยังรà¸à¸‡à¸£à¸±à¸šà¸à¸²à¸£à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™à¹€à¸›à¹‡à¸™à¸—ีม</p>
|
|
59
|
-
|
|
60
|
-
<h2>เริ่มต้นใช้งาน</h2>
|
|
61
|
-
<pre><code># เปิดใช้งานโหมด bridge
|
|
62
|
-
export BRIDGE_MODE=1
|
|
63
|
-
claude --bridge
|
|
64
|
-
|
|
65
|
-
# เชื่à¸à¸¡à¸•่à¸à¸ˆà¸²à¸à¹€à¸—à¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥à¸à¸·à¹ˆà¸™
|
|
66
|
-
claude --remote ws://localhost:18790</code></pre>
|
|
67
|
-
|
|
68
|
-
<h2>ฟีเจà¸à¸£à¹Œ</h2>
|
|
69
|
-
<ul>
|
|
70
|
-
<li><strong>ควบคุมระยะไà¸à¸¥</strong> — ส่งคำสั่งจาà¸à¹„คลเà¸à¸™à¸•์มืà¸à¸–ืà¸/เว็บ/CLI</li>
|
|
71
|
-
<li><strong>à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™</strong> — à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™à¸‚à¸à¸‡à¸„ุณà¸à¸±à¸šà¸ªà¸¡à¸²à¸Šà¸´à¸à¸—ีม</li>
|
|
72
|
-
<li><strong>เริ่มต้นทีม</strong> — เชิà¸à¹€à¸žà¸·à¹ˆà¸à¸™à¸£à¹ˆà¸§à¸¡à¸—ีมมาทำงานร่วมà¸à¸±à¸™</li>
|
|
73
|
-
<li><strong>ปลà¸à¸”ภัย</strong> — à¸à¸²à¸£à¸£à¸±à¸šà¸£à¸à¸‡à¸„วามถูà¸à¸•้à¸à¸‡à¹à¸šà¸š OAuth สำหรับà¸à¸²à¸£à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่à¸à¸£à¸°à¸¢à¸°à¹„à¸à¸¥</li>
|
|
74
|
-
</ul>
|
|
75
|
-
|
|
76
|
-
<footer class="footer">
|
|
77
|
-
<span>Clew Code
|
|
78
|
-
<div class="footer-links">
|
|
79
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
80
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
81
|
-
</div>
|
|
82
|
-
</footer>
|
|
83
|
-
</main>
|
|
84
|
-
<nav class="toc-sidebar"></nav>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
<script src="../js/main.js"></script>
|
|
88
|
-
</body>
|
|
89
|
-
</html>
|
|
90
|
-
|
|
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>โหมด Bridge — à¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¹à¸¥à¸°à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™ — Clew</title>
|
|
7
|
+
<meta name="description" content="à¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¹à¸¥à¸°à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™à¸œà¹ˆà¸²à¸™ WebSocket สำหรับ Clew">
|
|
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">
|
|
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/ClewCode/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="bridge-mode.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>
|
|
44
|
+
<div class="app">
|
|
45
|
+
<aside class="sidebar" id="sidebar"></aside>
|
|
46
|
+
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
|
47
|
+
<div class="content-wrap">
|
|
48
|
+
<main class="content">
|
|
49
|
+
<div class="breadcrumbs"><a href="../index.th.html">หน้าà¹à¸£à¸</a><span class="sep">/</span><a href="../index.th.html#features">ฟีเจà¸à¸£à¹Œ</a><span class="sep">/</span><span>โหมด Bridge</span></div>
|
|
50
|
+
<h1>โหมด Bridge</h1>
|
|
51
|
+
<p class="section-subtitle">à¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¹à¸¥à¸°à¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™</p>
|
|
52
|
+
|
|
53
|
+
<div class="callout callout-info">
|
|
54
|
+
<strong>โหมด Bridge</strong> เผยพื้นผิวà¸à¸²à¸£à¸„วบคุมระยะไà¸à¸¥à¸œà¹ˆà¸²à¸™à¸à¸²à¸£à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่ภWebSocket à¸à¸à¸à¹à¸šà¸šà¹ƒà¸«à¹‰à¹ƒà¸Šà¹‰à¹‚ดยà¹à¸à¸›à¸¡à¸·à¸à¸–ืà¸/เว็บเพื่à¸à¸ªà¹ˆà¸‡à¸„ำสั่งà¹à¸¥à¸°à¸£à¸±à¸šà¸‚้à¸à¸¡à¸¹à¸¥à¸ˆà¸²à¸à¹€à¸‹à¸ªà¸Šà¸±à¸™ Clew ที่à¸à¸³à¸¥à¸±à¸‡à¸£à¸±à¸™
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<h2>สถาปัตยà¸à¸£à¸£à¸¡</h2>
|
|
58
|
+
<p>โหมด Bridge สร้างเซิร์ฟเวà¸à¸£à¹Œ WebSocket ที่ทำงานควบคู่à¸à¸±à¸šà¹€à¸‹à¸ªà¸Šà¸±à¸™ Clew หลัภไคลเà¸à¸™à¸•์ระยะไà¸à¸¥à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่à¸à¸à¸±à¸šà¹€à¸‹à¸´à¸£à¹Œà¸Ÿà¹€à¸§à¸à¸£à¹Œà¸™à¸µà¹‰à¹à¸¥à¸°à¸ªà¸²à¸¡à¸²à¸£à¸–ส่งคำสั่ง slash, รับคำตà¸à¸š, à¹à¸¥à¸°à¹‚ต้ตà¸à¸šà¸à¸±à¸šà¹€à¸‹à¸ªà¸Šà¸±à¸™à¸—ี่à¸à¸³à¸¥à¸±à¸‡à¸£à¸±à¸™ Bridge ยังรà¸à¸‡à¸£à¸±à¸šà¸à¸²à¸£à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸—ำงานร่วมà¸à¸±à¸™à¹€à¸›à¹‡à¸™à¸—ีม</p>
|
|
59
|
+
|
|
60
|
+
<h2>เริ่มต้นใช้งาน</h2>
|
|
61
|
+
<pre><code># เปิดใช้งานโหมด bridge
|
|
62
|
+
export BRIDGE_MODE=1
|
|
63
|
+
claude --bridge
|
|
64
|
+
|
|
65
|
+
# เชื่à¸à¸¡à¸•่à¸à¸ˆà¸²à¸à¹€à¸—à¸à¸£à¹Œà¸¡à¸´à¸™à¸±à¸¥à¸à¸·à¹ˆà¸™
|
|
66
|
+
claude --remote ws://localhost:18790</code></pre>
|
|
67
|
+
|
|
68
|
+
<h2>ฟีเจà¸à¸£à¹Œ</h2>
|
|
69
|
+
<ul>
|
|
70
|
+
<li><strong>ควบคุมระยะไà¸à¸¥</strong> — ส่งคำสั่งจาà¸à¹„คลเà¸à¸™à¸•์มืà¸à¸–ืà¸/เว็บ/CLI</li>
|
|
71
|
+
<li><strong>à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™</strong> — à¹à¸Šà¸£à¹Œà¹€à¸‹à¸ªà¸Šà¸±à¸™à¸‚à¸à¸‡à¸„ุณà¸à¸±à¸šà¸ªà¸¡à¸²à¸Šà¸´à¸à¸—ีม</li>
|
|
72
|
+
<li><strong>เริ่มต้นทีม</strong> — เชิà¸à¹€à¸žà¸·à¹ˆà¸à¸™à¸£à¹ˆà¸§à¸¡à¸—ีมมาทำงานร่วมà¸à¸±à¸™</li>
|
|
73
|
+
<li><strong>ปลà¸à¸”ภัย</strong> — à¸à¸²à¸£à¸£à¸±à¸šà¸£à¸à¸‡à¸„วามถูà¸à¸•้à¸à¸‡à¹à¸šà¸š OAuth สำหรับà¸à¸²à¸£à¹€à¸Šà¸·à¹ˆà¸à¸¡à¸•่à¸à¸£à¸°à¸¢à¸°à¹„à¸à¸¥</li>
|
|
74
|
+
</ul>
|
|
75
|
+
|
|
76
|
+
<footer class="footer">
|
|
77
|
+
<span>Clew Code 0.2.13</span>
|
|
78
|
+
<div class="footer-links">
|
|
79
|
+
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
80
|
+
<a href="https://github.com/ClewCode/ClewCode/issues">ปัà¸à¸«à¸²</a>
|
|
81
|
+
</div>
|
|
82
|
+
</footer>
|
|
83
|
+
</main>
|
|
84
|
+
<nav class="toc-sidebar"></nav>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
<script src="../js/main.js"></script>
|
|
88
|
+
</body>
|
|
89
|
+
</html>
|
|
90
|
+
|