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/configuration.html
CHANGED
|
@@ -1,166 +1,145 @@
|
|
|
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>Configuration — Clew</title>
|
|
7
|
-
<meta name="description" content="Comprehensive configuration guide for Clew — CLI flags, environment variables, settings file, and in-session commands.">
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</
|
|
35
|
-
|
|
36
|
-
</
|
|
37
|
-
<
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<tr><
|
|
47
|
-
<tr><td><code
|
|
48
|
-
<tr><td><code>--
|
|
49
|
-
<tr><td><code
|
|
50
|
-
<tr><td><code>--
|
|
51
|
-
<tr><td><code>--
|
|
52
|
-
<tr><td><code>--
|
|
53
|
-
<tr><td><code>--
|
|
54
|
-
<tr><td><code>--
|
|
55
|
-
<tr><td><code>--
|
|
56
|
-
<tr><td><code>--
|
|
57
|
-
<tr><td><code>--
|
|
58
|
-
<tr><td><code>--
|
|
59
|
-
<tr><td><code>--
|
|
60
|
-
<tr><td><code>--
|
|
61
|
-
<tr><td><code>--
|
|
62
|
-
<tr><td><code>--
|
|
63
|
-
<tr><td><code>--
|
|
64
|
-
<tr><td><code>--
|
|
65
|
-
<tr><td><code>--
|
|
66
|
-
<tr><td><code>--
|
|
67
|
-
<tr><td><code>--
|
|
68
|
-
<tr><td><code>--
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<tr><
|
|
79
|
-
<tr><td><code
|
|
80
|
-
<tr><td><code
|
|
81
|
-
<tr><td><code
|
|
82
|
-
<tr><td><code
|
|
83
|
-
<tr><td><code
|
|
84
|
-
<tr><td><code
|
|
85
|
-
<tr><td><code
|
|
86
|
-
<tr><td><code
|
|
87
|
-
<tr><td><code
|
|
88
|
-
<tr><td><code
|
|
89
|
-
<tr><td><code
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
<
|
|
98
|
-
<
|
|
99
|
-
<
|
|
100
|
-
<
|
|
101
|
-
<
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
<
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
<tr><
|
|
110
|
-
<tr><td><code
|
|
111
|
-
<tr><td><code
|
|
112
|
-
<tr><td><code
|
|
113
|
-
<tr><td><code
|
|
114
|
-
<tr><td><code
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<
|
|
119
|
-
<
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
</
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<
|
|
134
|
-
<
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
/
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
<h2>Build Configuration</h2>
|
|
147
|
-
<p>Build via <code>bun run build</code> with compile-time feature defines:</p>
|
|
148
|
-
<pre><code># In src/main.tsx:
|
|
149
|
-
--define.TRANSCRIPT_CLASSIFIER=true # Enables auto permission mode
|
|
150
|
-
--define.CHICAGO_MCP=true # Enables Chicago MCP features
|
|
151
|
-
--define.VOICE_MODE=true # Enables voice input support</code></pre>
|
|
152
|
-
|
|
153
|
-
<footer class="footer">
|
|
154
|
-
<span>Clew v0.1.2 — Open Source</span>
|
|
155
|
-
<div class="footer-links">
|
|
156
|
-
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
157
|
-
<a href="https://github.com/JonusNattapong/ClewCode/issues">Issues</a>
|
|
158
|
-
</div>
|
|
159
|
-
</footer>
|
|
160
|
-
</main>
|
|
161
|
-
<nav class="toc-sidebar"></nav>
|
|
162
|
-
</div>
|
|
163
|
-
</div>
|
|
164
|
-
<script src="js/main.js"></script>
|
|
165
|
-
</body>
|
|
166
|
-
</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>Configuration — Clew</title>
|
|
7
|
+
<meta name="description" content="Comprehensive configuration guide for Clew — CLI flags, environment variables, settings file, and in-session commands.">
|
|
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>Configuration</span></div>
|
|
19
|
+
<h1>Configuration</h1>
|
|
20
|
+
<p class="section-subtitle">Clew is configured through CLI flags (Commander.js), environment variables, a JSON settings file (<code>~/.clawdbot/moltbot.json</code> validated with TypeBox), and in-session slash commands.</p>
|
|
21
|
+
|
|
22
|
+
<h2>CLI Flags</h2>
|
|
23
|
+
<p>Defined in <code>src/main.tsx</code> with Commander.js <code>.option()</code> and <code>.addOption()</code>:</p>
|
|
24
|
+
<table>
|
|
25
|
+
<tr><th>Flag</th><th>Description</th></tr>
|
|
26
|
+
<tr><td><code>-p, --print</code></td><td>Print response and exit (useful for pipes). Skips workspace trust dialog.</td></tr>
|
|
27
|
+
<tr><td><code>--bare</code></td><td>Minimal mode: skip hooks, LSP, plugins, attribution, auto-memory, keychain reads, CLAUDE.md discovery. Sets CLAUDE_CODE_SIMPLE=1.</td></tr>
|
|
28
|
+
<tr><td><code>-d, --debug [filter]</code></td><td>Enable debug mode with optional category filtering (e.g., "api,hooks" or "!1p,!file")</td></tr>
|
|
29
|
+
<tr><td><code>--debug-file <path></code></td><td>Write debug logs to a file</td></tr>
|
|
30
|
+
<tr><td><code>--verbose</code></td><td>Override verbose mode setting from config</td></tr>
|
|
31
|
+
<tr><td><code>--model <model></code></td><td>Model for the current session (alias or full ID)</td></tr>
|
|
32
|
+
<tr><td><code>--effort <level></code></td><td>Effort level: low, medium, high, max</td></tr>
|
|
33
|
+
<tr><td><code>--agent <agent></code></td><td>Agent for the current session</td></tr>
|
|
34
|
+
<tr><td><code>--permission-mode <mode></code></td><td>Permission mode (default, ask, plan, auto, acceptEdits, bypassPermissions, dontAsk)</td></tr>
|
|
35
|
+
<tr><td><code>--dangerously-skip-permissions</code></td><td>Bypass all permission checks (sandbox only)</td></tr>
|
|
36
|
+
<tr><td><code>--allow-dangerously-skip-permissions</code></td><td>Enable bypass as an option without enabling by default</td></tr>
|
|
37
|
+
<tr><td><code>--allowedTools, --allowed-tools</code></td><td>Comma/space-separated tool names to allow (e.g., "Bash(git:*) Edit")</td></tr>
|
|
38
|
+
<tr><td><code>--disallowedTools, --disallowed-tools</code></td><td>Comma/space-separated tool names to deny</td></tr>
|
|
39
|
+
<tr><td><code>--tools <tools...></code></td><td>Specify available tools from built-in set</td></tr>
|
|
40
|
+
<tr><td><code>--mcp-config <configs...></code></td><td>Load MCP servers from JSON files or strings</td></tr>
|
|
41
|
+
<tr><td><code>--strict-mcp-config</code></td><td>Only use MCP servers from --mcp-config</td></tr>
|
|
42
|
+
<tr><td><code>--plugin-dir <path></code></td><td>Load plugins from a directory (repeatable)</td></tr>
|
|
43
|
+
<tr><td><code>--settings <file-or-json></code></td><td>Path to a settings JSON file or JSON string</td></tr>
|
|
44
|
+
<tr><td><code>--add-dir <directories...></code></td><td>Additional directories to allow tool access</td></tr>
|
|
45
|
+
<tr><td><code>--system-prompt <prompt></code></td><td>Custom system prompt</td></tr>
|
|
46
|
+
<tr><td><code>--system-prompt-file <file></code></td><td>Read system prompt from a file</td></tr>
|
|
47
|
+
<tr><td><code>--append-system-prompt <prompt></code></td><td>Append to default system prompt</td></tr>
|
|
48
|
+
<tr><td><code>--continue, -c</code></td><td>Continue the most recent conversation</td></tr>
|
|
49
|
+
<tr><td><code>--resume, -r [value]</code></td><td>Resume a conversation by session ID or picker</td></tr>
|
|
50
|
+
<tr><td><code>--fork-session</code></td><td>When resuming, create a new session ID</td></tr>
|
|
51
|
+
<tr><td><code>--session-id <uuid></code></td><td>Use a specific session ID</td></tr>
|
|
52
|
+
<tr><td><code>--name, -n <name></code></td><td>Display name for this session</td></tr>
|
|
53
|
+
<tr><td><code>--agents <json></code></td><td>JSON defining custom agents</td></tr>
|
|
54
|
+
<tr><td><code>--output-format <format></code></td><td>text, json, or stream-json (with --print)</td></tr>
|
|
55
|
+
<tr><td><code>--input-format <format></code></td><td>text or stream-json (with --print)</td></tr>
|
|
56
|
+
<tr><td><code>--json-schema <schema></code></td><td>JSON Schema for structured output validation</td></tr>
|
|
57
|
+
<tr><td><code>--thinking <mode></code></td><td>Thinking mode: enabled, adaptive, disabled</td></tr>
|
|
58
|
+
<tr><td><code>--max-turns <turns></code></td><td>Max agentic turns in non-interactive mode</td></tr>
|
|
59
|
+
<tr><td><code>--max-budget-usd <amount></code></td><td>Max API spend (print mode only)</td></tr>
|
|
60
|
+
<tr><td><code>--fallback-model <model></code></td><td>Fallback when primary model is overloaded</td></tr>
|
|
61
|
+
<tr><td><code>--betas <betas...></code></td><td>Beta headers for API requests</td></tr>
|
|
62
|
+
<tr><td><code>--ide</code></td><td>Auto-connect to IDE on startup</td></tr>
|
|
63
|
+
<tr><td><code>--chrome / --no-chrome</code></td><td>Enable/disable Claude in Chrome integration</td></tr>
|
|
64
|
+
<tr><td><code>--computer</code></td><td>Enable Computer Use tool (Windows only)</td></tr>
|
|
65
|
+
<tr><td><code>--no-session-persistence</code></td><td>Disable session save to disk (print mode only)</td></tr>
|
|
66
|
+
<tr><td><code>--disable-slash-commands</code></td><td>Disable all skills</td></tr>
|
|
67
|
+
<tr><td><code>--prefill <text></code></td><td>Pre-fill prompt input without submitting</td></tr>
|
|
68
|
+
<tr><td><code>--file <specs...></code></td><td>Download file resources at startup</td></tr>
|
|
69
|
+
</table>
|
|
70
|
+
|
|
71
|
+
<h2>Environment Variables</h2>
|
|
72
|
+
|
|
73
|
+
<h3>Provider API Keys</h3>
|
|
74
|
+
<p>27 providers — set one or more. See <a href="providers.html">Providers page</a> for the full list.</p>
|
|
75
|
+
|
|
76
|
+
<h3>Runtime & Feature Flags</h3>
|
|
77
|
+
<table>
|
|
78
|
+
<tr><th>Variable</th><th>Purpose</th></tr>
|
|
79
|
+
<tr><td><code>DEBUG</code></td><td>Debug logging with optional category filter</td></tr>
|
|
80
|
+
<tr><td><code>NO_COLOR</code> / <code>FORCE_COLOR</code></td><td>Terminal color control</td></tr>
|
|
81
|
+
<tr><td><code>BRIDGE_MODE=1</code></td><td>Enable WebSocket bridge for remote control</td></tr>
|
|
82
|
+
<tr><td><code>VOICE_MODE=1</code></td><td>Enable voice mode</td></tr>
|
|
83
|
+
<tr><td><code>KAIROS=1</code></td><td>Enable proactive/brief/assistant features</td></tr>
|
|
84
|
+
<tr><td><code>ENABLE_LSP_TOOL=1</code></td><td>Enable LSP tool integration</td></tr>
|
|
85
|
+
<tr><td><code>ENABLE_COMPUTER_USE=1</code></td><td>Enable Computer Use tool (Windows)</td></tr>
|
|
86
|
+
<tr><td><code>CLAUDECODE_NO_RESPAWN</code></td><td>Disable process respawn</td></tr>
|
|
87
|
+
<tr><td><code>CODE_INDEX=1</code></td><td>Enable fuzzy code search tool</td></tr>
|
|
88
|
+
<tr><td><code>AGENT_TRIGGERS=1</code></td><td>Enable autonomous scheduled task triggers</td></tr>
|
|
89
|
+
<tr><td><code>SENTRY_DSN</code></td><td>Enable Sentry error reporting (opt-in)</td></tr>
|
|
90
|
+
<tr><td><code>TAVILY_API_KEY</code></td><td>Tavily web search (highest priority)</td></tr>
|
|
91
|
+
<tr><td><code>BRAVE_API_KEY</code></td><td>Brave web search</td></tr>
|
|
92
|
+
<tr><td><code>SERPER_API_KEY</code></td><td>Serper web search</td></tr>
|
|
93
|
+
<tr><td><code>SEARXNG_INSTANCE_URL</code></td><td>Self-hosted SearXNG URL</td></tr>
|
|
94
|
+
</table>
|
|
95
|
+
|
|
96
|
+
<h2>Settings File</h2>
|
|
97
|
+
<p>Config file at <code>~/.clawdbot/moltbot.json</code> (TypeBox-validated). Stores:</p>
|
|
98
|
+
<ul>
|
|
99
|
+
<li>Default provider and model</li>
|
|
100
|
+
<li>Permission mode and rules</li>
|
|
101
|
+
<li>Workspace directories</li>
|
|
102
|
+
<li>Plugin and MCP server configs</li>
|
|
103
|
+
<li>Theme and UI preferences</li>
|
|
104
|
+
<li>Session persistence settings</li>
|
|
105
|
+
</ul>
|
|
106
|
+
|
|
107
|
+
<h2>Config Paths</h2>
|
|
108
|
+
<table>
|
|
109
|
+
<tr><th>Path</th><th>Content</th></tr>
|
|
110
|
+
<tr><td><code>~/.clawdbot/moltbot.json</code></td><td>Main configuration (TypeBox schema)</td></tr>
|
|
111
|
+
<tr><td><code>~/.clawdbot/credentials/</code></td><td>Stored credentials</td></tr>
|
|
112
|
+
<tr><td><code>~/.clawdbot/sessions/</code></td><td>Session persistence</td></tr>
|
|
113
|
+
<tr><td><code>~/.clawdbot/logs/</code></td><td>Debug and error logs</td></tr>
|
|
114
|
+
<tr><td><code>~/.claude/skills/</code></td><td>User-installed skills</td></tr>
|
|
115
|
+
<tr><td><code>.claude/skills/</code></td><td>Project-level skills</td></tr>
|
|
116
|
+
</table>
|
|
117
|
+
|
|
118
|
+
<h2>In-Session Configuration</h2>
|
|
119
|
+
<pre><code>/config # Open config panel (aliases: settings)
|
|
120
|
+
/theme # Change the theme
|
|
121
|
+
/color # Set prompt bar color
|
|
122
|
+
/keybindings # Edit keybindings
|
|
123
|
+
/permissions # Manage permission rules</code></pre>
|
|
124
|
+
|
|
125
|
+
<h2>Build Configuration</h2>
|
|
126
|
+
<p>Build via <code>bun run build</code> with compile-time feature defines:</p>
|
|
127
|
+
<pre><code># In src/main.tsx:
|
|
128
|
+
--define.TRANSCRIPT_CLASSIFIER=true # Enables auto permission mode
|
|
129
|
+
--define.CHICAGO_MCP=true # Enables Chicago MCP features
|
|
130
|
+
--define.VOICE_MODE=true # Enables voice input support</code></pre>
|
|
131
|
+
|
|
132
|
+
<footer class="footer">
|
|
133
|
+
<span>Clew Code v0.2.4 — Open Source</span>
|
|
134
|
+
<div class="footer-links">
|
|
135
|
+
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
136
|
+
<a href="https://github.com/JonusNattapong/ClewCode/issues">Issues</a>
|
|
137
|
+
</div>
|
|
138
|
+
</footer>
|
|
139
|
+
</main>
|
|
140
|
+
<nav class="toc-sidebar"></nav>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<script src="js/main.js"></script>
|
|
144
|
+
</body>
|
|
145
|
+
</html>
|
|
@@ -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="configuration.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>
|
|
@@ -112,7 +91,7 @@
|
|
|
112
91
|
/permissions # จัดการกฎสิทธิ์</code></pre>
|
|
113
92
|
|
|
114
93
|
<footer class="footer">
|
|
115
|
-
<span>Clew v0.
|
|
94
|
+
<span>Clew Code v0.2.4 — โอเพนซอร์ส</span>
|
|
116
95
|
<div class="footer-links">
|
|
117
96
|
<a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
|
|
118
97
|
<a href="https://github.com/JonusNattapong/ClewCode/issues">ปัญหา</a>
|
package/docs/css/styles.css
CHANGED
|
@@ -188,6 +188,28 @@ kbd {
|
|
|
188
188
|
.header-nav a:hover { color: var(--text-primary); background: var(--bg-hover); text-decoration: none; }
|
|
189
189
|
.header-nav a.active { color: var(--accent); background: var(--accent-muted); }
|
|
190
190
|
|
|
191
|
+
/* ── Lang Select ─────────────────────────────────────────────────────────── */
|
|
192
|
+
.lang-select {
|
|
193
|
+
appearance: none;
|
|
194
|
+
-webkit-appearance: none;
|
|
195
|
+
padding: 6px 28px 6px 10px;
|
|
196
|
+
border: 1px solid var(--border-subtle);
|
|
197
|
+
border-radius: 6px;
|
|
198
|
+
font-size: var(--text-sm);
|
|
199
|
+
font-family: inherit;
|
|
200
|
+
color: var(--text-secondary);
|
|
201
|
+
background: var(--bg-surface);
|
|
202
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
|
|
203
|
+
background-repeat: no-repeat;
|
|
204
|
+
background-position: right 8px center;
|
|
205
|
+
cursor: pointer;
|
|
206
|
+
transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease;
|
|
207
|
+
min-width: 56px;
|
|
208
|
+
}
|
|
209
|
+
.lang-select:hover { border-color: var(--border); color: var(--text-primary); }
|
|
210
|
+
.lang-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-muted); }
|
|
211
|
+
.lang-select option { color: var(--text-primary); background: var(--bg-surface); }
|
|
212
|
+
|
|
191
213
|
/* ── Layout ────────────────────────────────────────────────────────────── */
|
|
192
214
|
.app { display: flex; min-height: 100vh; }
|
|
193
215
|
|