clew-code 0.2.20 → 0.2.22
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 +1888 -1883
- package/docs/architecture.html +91 -148
- package/docs/assets/clew-agent-loop.png +0 -0
- package/docs/assets/clew-general-architecture.png +0 -0
- package/docs/assets/clew-mcp-architecture.png +0 -0
- package/docs/assets/clew-p2p-swarm.png +0 -0
- package/docs/changelog.html +150 -0
- package/docs/cli-reference.html +90 -0
- package/docs/commands.html +156 -265
- package/docs/configuration.html +85 -147
- package/docs/contributing.html +91 -0
- package/docs/css/styles.css +425 -425
- package/docs/daemon.html +62 -129
- package/docs/features/bridge-mode.html +61 -66
- package/docs/features/evals.html +57 -149
- package/docs/features/searxng-search.html +58 -118
- package/docs/features/sentry-setup.html +61 -124
- package/docs/index.html +137 -125
- package/docs/installation.html +77 -105
- package/docs/internals/growthbook-ab-testing.html +69 -91
- package/docs/internals/hidden-features.html +81 -143
- package/docs/js/main.js +29 -0
- package/docs/loop.html +69 -181
- package/docs/mcp.html +99 -247
- package/docs/models.html +69 -110
- package/docs/permission-model.html +86 -102
- package/docs/plugins.html +84 -102
- package/docs/providers.html +87 -127
- package/docs/quick-start.html +81 -93
- package/docs/research-memory.html +71 -102
- package/docs/security.html +71 -0
- package/docs/skills.html +67 -117
- package/docs/swarm.html +78 -236
- package/docs/tools.html +152 -151
- package/docs/troubleshooting.html +86 -106
- package/docs/voice-mode.html +79 -0
- package/package.json +1 -1
- package/docs/architecture.th.html +0 -79
- package/docs/clew-code-architecture.html +0 -1126
- package/docs/commands.th.html +0 -269
- package/docs/configuration.th.html +0 -108
- package/docs/daemon.th.html +0 -73
- package/docs/features/bridge-mode.th.html +0 -62
- package/docs/features/evals.th.html +0 -62
- package/docs/features/searxng-search.th.html +0 -67
- package/docs/features/sentry-setup.th.html +0 -69
- package/docs/features/swarm.html +0 -156
- package/docs/generated/providers.html +0 -625
- package/docs/generated/tools.html +0 -558
- package/docs/index.th.html +0 -292
- package/docs/installation.th.html +0 -105
- package/docs/internals/growthbook-ab-testing.th.html +0 -60
- package/docs/internals/hidden-features.th.html +0 -107
- package/docs/loop.th.html +0 -227
- package/docs/mcp.th.html +0 -207
- package/docs/models.th.html +0 -61
- package/docs/permission-model.th.html +0 -67
- package/docs/plugins.th.html +0 -79
- package/docs/prompts-and-features.html +0 -806
- package/docs/providers.th.html +0 -81
- package/docs/quick-start.th.html +0 -89
- package/docs/research-memory.th.html +0 -72
- package/docs/skills.th.html +0 -90
- package/docs/swarm.th.html +0 -280
- package/docs/tools.th.html +0 -84
- package/docs/troubleshooting.th.html +0 -85
|
@@ -1,92 +1,70 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<body>
|
|
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>A/B Testing — Clew Code</title>
|
|
7
|
+
<meta name="description" content="Feature flags and A/B testing with GrowthBook in Clew Code.">
|
|
8
|
+
<link rel="icon" type="image/svg+xml" href="../assets/clew.svg">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
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
|
+
</head>
|
|
13
|
+
<body>
|
|
15
14
|
<header class="header"></header>
|
|
16
|
-
<div
|
|
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
|
-
|
|
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
|
-
<li>Always provide a sensible default value (usually <code>false</code> for features not yet released)</li>
|
|
73
|
-
<li>Use descriptive, unique feature keys</li>
|
|
74
|
-
<li>Cache-aware design: do not rely on flag values being real-time; they are evaluated at session start</li>
|
|
75
|
-
<li>Clean up stale flags after experiments conclude</li>
|
|
76
|
-
</ul>
|
|
77
|
-
|
|
78
|
-
<footer class="footer">
|
|
79
|
-
<span>Clew Code 0.2.14 — Open Source</span>
|
|
80
|
-
<div class="footer-links">
|
|
81
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
82
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
83
|
-
</div>
|
|
84
|
-
</footer>
|
|
85
|
-
</main>
|
|
86
|
-
<nav class="toc-sidebar"></nav>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
<script src="../js/main.js"></script>
|
|
90
|
-
</body>
|
|
91
|
-
</html>
|
|
92
|
-
|
|
15
|
+
<div id="sidebarOverlay" class="sidebar-overlay"></div>
|
|
16
|
+
<aside id="sidebar" class="sidebar"></aside>
|
|
17
|
+
|
|
18
|
+
<div class="content-wrap">
|
|
19
|
+
<div class="content">
|
|
20
|
+
|
|
21
|
+
<div class="breadcrumbs"><a href="../index.html">Home</a><span class="sep">/</span><span class="current">A/B Testing</span></div>
|
|
22
|
+
|
|
23
|
+
<h1>A/B Testing with GrowthBook</h1>
|
|
24
|
+
<p class="sub">Feature flags and experimentation using GrowthBook.</p>
|
|
25
|
+
|
|
26
|
+
<h2 id="overview">Overview</h2>
|
|
27
|
+
<p>Clew Code integrates with <a href="https://www.growthbook.io/">GrowthBook</a> for feature flag management and A/B testing. This allows gradual rollout of new features, targeted experiments, and configuration-driven behavior changes.</p>
|
|
28
|
+
|
|
29
|
+
<h2 id="architecture">Architecture</h2>
|
|
30
|
+
<p>GrowthBook is integrated via the <code>@growthbook/growthbook</code> SDK. Feature flags are evaluated at runtime and can control:</p>
|
|
31
|
+
<ul>
|
|
32
|
+
<li>UI component visibility</li>
|
|
33
|
+
<li>Behavioral variations (e.g., different prompt templates)</li>
|
|
34
|
+
<li>Provider selection defaults</li>
|
|
35
|
+
<li>Beta feature access</li>
|
|
36
|
+
<li>Experimental tool availability</li>
|
|
37
|
+
</ul>
|
|
38
|
+
|
|
39
|
+
<h2 id="configuration">Configuration</h2>
|
|
40
|
+
<p>Set the GrowthBook API key in your environment:</p>
|
|
41
|
+
<pre><code class="language-bash">export GROWTHBOOK_API_KEY=your-api-key
|
|
42
|
+
</code></pre>
|
|
43
|
+
|
|
44
|
+
<p>Or configure in <code>.clew/settings.json</code>:</p>
|
|
45
|
+
<pre><code class="language-json">{
|
|
46
|
+
"growthbook": {
|
|
47
|
+
"apiKey": "your-api-key",
|
|
48
|
+
"attributes": {
|
|
49
|
+
"environment": "development"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
</code></pre>
|
|
54
|
+
|
|
55
|
+
<h2 id="current-flags">Current Feature Flags</h2>
|
|
56
|
+
<table>
|
|
57
|
+
<thead>
|
|
58
|
+
<tr><th>Flag</th><th>Purpose</th></tr>
|
|
59
|
+
</thead>
|
|
60
|
+
<tbody>
|
|
61
|
+
<tr><td><code>BRIDGE_MODE</code></td><td>Enable/disable Bridge v1 (CCR) functionality</td></tr>
|
|
62
|
+
<tr><td><code>tengu_ccr_bridge</code></td><td>GrowthBook-gated CCR bridge access</td></tr>
|
|
63
|
+
</tbody>
|
|
64
|
+
</table>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<script src="../js/main.js"></script>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|
|
@@ -1,144 +1,82 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<body>
|
|
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>Hidden Features — Clew Code</title>
|
|
7
|
+
<meta name="description" content="Undocumented features and power-user tips for Clew Code.">
|
|
8
|
+
<link rel="icon" type="image/svg+xml" href="../assets/clew.svg">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
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
|
+
</head>
|
|
13
|
+
<body>
|
|
15
14
|
<header class="header"></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
|
-
|
|
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
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<h2>Build-Time Feature Flags</h2>
|
|
85
|
-
<p>Set via <code>--define.FLAG_NAME=true</code> in <code>package.json</code> scripts. Tree-shaken out of builds that don't pass the flag.</p>
|
|
86
|
-
<table>
|
|
87
|
-
<tr><th>Flag</th><th>Description</th></tr>
|
|
88
|
-
<tr><td><code>TRANSCRIPT_CLASSIFIER</code></td><td>Enables "auto" permission mode where Claude uses a transcript-based classifier to decide which tools to auto-approve. Used in dev and release builds.</td></tr>
|
|
89
|
-
<tr><td><code>CHICAGO_MCP</code></td><td>Enables <strong>Computer Use</strong> � Claude controlling mouse, keyboard, and screen via the <code>@ant/computer-use-mcp</code> protocol. Codename comes from Anthropic's Chicago office. Can also be unlocked at runtime with <code>ENABLE_COMPUTER_USE=1</code>.</td></tr>
|
|
90
|
-
<tr><td><code>VOICE_MODE</code></td><td>Enables voice input/output support. Present in all build profiles (dev, start, release).</td></tr>
|
|
91
|
-
</table>
|
|
92
|
-
|
|
93
|
-
<h2>Runtime Features (No Compile-Time Gate)</h2>
|
|
94
|
-
<p>These features are always compiled in. They are enabled and configured entirely at runtime through environment variables or slash commands � no build-time flag needed.</p>
|
|
95
|
-
|
|
96
|
-
<h3>Clew Gateway (AI Provider Proxy)</h3>
|
|
97
|
-
<p>A self-hosted AI provider proxy. Run your own gateway instance (e.g. on Cloudflare Workers) and route all LLM calls through it for provider fallback, model routing, and usage tracking across multiple upstream providers.</p>
|
|
98
|
-
<table>
|
|
99
|
-
<tr><th>Env Variable</th><th>Description</th></tr>
|
|
100
|
-
<tr><td><code>CLEW_GATEWAY_URL</code></td><td>Gateway base URL (default: <code>http://localhost:8787/v1</code>)</td></tr>
|
|
101
|
-
<tr><td><code>CLEW_GATEWAY_KEY</code></td><td>Virtual API key (e.g. <code>clew_live_xxxxx</code>)</td></tr>
|
|
102
|
-
<tr><td><code>CLEW_MODEL</code></td><td>Optional default model alias (default: <code>clew-code</code>)</td></tr>
|
|
103
|
-
</table>
|
|
104
|
-
<p>Supports model listing, streaming, and returns metadata headers (<code>x-clew-provider</code>, <code>x-clew-fallback-used</code>, <code>x-clew-attempts</code>, <code>x-clew-fallback-chain</code>) for debugging. Select it like any other provider via <code>/model</code>.</p>
|
|
105
|
-
|
|
106
|
-
<h3>Ultracode (Dynamic Workflows)</h3>
|
|
107
|
-
<p>A session-level mode that sets effort to <code>xhigh</code> and lets Claude autonomously decide to spawn dynamic workflows (parallel subtasks + adversarial verifiers) for complex prompts. Based on Anthropic's dynamic-workflows announcement (May 2026). The first workflow in a session shows a token-cost confirmation; subsequent ones run silently.</p>
|
|
108
|
-
<pre><code>/effort ultracode # Enable via effort slider (interactive or direct)
|
|
109
|
-
/ultracode on # Enable ultracode mode for this session
|
|
110
|
-
/ultracode off # Disable ultracode mode
|
|
111
|
-
/ultracode status # Show current enabled/confirmed/count state
|
|
112
|
-
/ultracode confirm # Accept the first-run cost warning
|
|
113
|
-
/ultracode reset # Clear confirmation + workflow counter
|
|
114
|
-
/ultracode run <p> # Plan a dynamic workflow for prompt <p></code></pre>
|
|
115
|
-
|
|
116
|
-
<h2>Runtime Feature Detection</h2>
|
|
117
|
-
<p>Features are checked via <code>feature('FEATURE_NAME')</code> (compile-time) and <code>isEnvTruthy()</code> (runtime):</p>
|
|
118
|
-
<ul>
|
|
119
|
-
<li><code>PROACTIVE</code> / <code>KAIROS</code> — Proactive agent behavior</li>
|
|
120
|
-
<li><code>AGENT_TRIGGERS</code> — Scheduled and remote agent triggers</li>
|
|
121
|
-
<li><code>KAIROS_GITHUB_WEBHOOKS</code> — GitHub webhook subscriptions</li>
|
|
122
|
-
<li><code>KAIROS_PUSH_NOTIFICATION</code> — Push notification support</li>
|
|
123
|
-
<li><code>CONTEXT_COLLAPSE</code> — Context collapse inspection</li>
|
|
124
|
-
<li><code>MCP_SKILLS</code> — MCP-provided skills</li>
|
|
125
|
-
<li><code>CODE_INDEX</code> — Code indexing and search</li>
|
|
126
|
-
<li><code>COORDINATOR_MODE</code> — Multi-agent coordinator mode</li>
|
|
127
|
-
</ul>
|
|
128
|
-
|
|
129
|
-
<footer class="footer">
|
|
130
|
-
<span>Clew Code 0.2.14 — Open Source</span>
|
|
131
|
-
<div class="footer-links">
|
|
132
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
133
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
134
|
-
</div>
|
|
135
|
-
</footer>
|
|
136
|
-
</main>
|
|
137
|
-
<nav class="toc-sidebar"></nav>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
<script src="../js/main.js"></script>
|
|
141
|
-
</body>
|
|
142
|
-
</html>
|
|
143
|
-
|
|
144
|
-
|
|
15
|
+
<div id="sidebarOverlay" class="sidebar-overlay"></div>
|
|
16
|
+
<aside id="sidebar" class="sidebar"></aside>
|
|
17
|
+
|
|
18
|
+
<div class="content-wrap">
|
|
19
|
+
<div class="content">
|
|
20
|
+
|
|
21
|
+
<div class="breadcrumbs"><a href="../index.html">Home</a><span class="sep">/</span><span class="current">Hidden Features</span></div>
|
|
22
|
+
|
|
23
|
+
<h1>Hidden Features</h1>
|
|
24
|
+
<p class="sub">Power-user features and undocumented capabilities.</p>
|
|
25
|
+
|
|
26
|
+
<h2 id="thinkback">Thinkback</h2>
|
|
27
|
+
<p>Record and replay session interactions for debugging and analysis:</p>
|
|
28
|
+
<pre><code class="language-bash">❯ /thinkback # record a session
|
|
29
|
+
❯ /thinkback-play # replay a recorded session
|
|
30
|
+
</code></pre>
|
|
31
|
+
|
|
32
|
+
<h2 id="goal">Goal Tracking</h2>
|
|
33
|
+
<p>Set and track development goals across sessions:</p>
|
|
34
|
+
<pre><code class="language-bash">❯ /goal set "ship v0.3 by Friday"
|
|
35
|
+
❯ /goal status
|
|
36
|
+
❯ /goal list
|
|
37
|
+
</code></pre>
|
|
38
|
+
|
|
39
|
+
<h2 id="btw">BTW (By The Way)</h2>
|
|
40
|
+
<p>Leave contextual notes and reminders for future sessions:</p>
|
|
41
|
+
<pre><code class="language-bash">❯ /btw "remember to update the CI config"
|
|
42
|
+
</code></pre>
|
|
43
|
+
|
|
44
|
+
<h2 id="desktop-handoff">Desktop Handoff / Teleport</h2>
|
|
45
|
+
<p>Move a running session between machines:</p>
|
|
46
|
+
<pre><code class="language-bash">❯ /remote-setup # prepare for handoff
|
|
47
|
+
❯ /remote-env # transfer environment
|
|
48
|
+
</code></pre>
|
|
49
|
+
|
|
50
|
+
<h2 id="passes">Passes</h2>
|
|
51
|
+
<p>View pass/interaction history for the current session:</p>
|
|
52
|
+
<pre><code class="language-bash">❯ /passes
|
|
53
|
+
</code></pre>
|
|
54
|
+
|
|
55
|
+
<h2 id="recap">Recap</h2>
|
|
56
|
+
<p>Generate a summary of the current session's key decisions and actions:</p>
|
|
57
|
+
<pre><code class="language-bash">❯ /recap
|
|
58
|
+
</code></pre>
|
|
59
|
+
|
|
60
|
+
<h2 id="sandbox">Sandbox Toggle</h2>
|
|
61
|
+
<p>Toggle sandbox mode for secure command execution:</p>
|
|
62
|
+
<pre><code class="language-bash">❯ /sandbox on
|
|
63
|
+
❯ /sandbox off
|
|
64
|
+
</code></pre>
|
|
65
|
+
|
|
66
|
+
<h2 id="theme">Color Theme</h2>
|
|
67
|
+
<p>Customize the terminal color theme:</p>
|
|
68
|
+
<pre><code class="language-bash">❯ /theme # interactive theme picker
|
|
69
|
+
❯ /color # set specific colors
|
|
70
|
+
</code></pre>
|
|
71
|
+
|
|
72
|
+
<h2 id="scroll-speed">Scroll Speed</h2>
|
|
73
|
+
<p>Adjust terminal output scroll speed:</p>
|
|
74
|
+
<pre><code class="language-bash">❯ /scroll-speed fast
|
|
75
|
+
❯ /scroll-speed slow
|
|
76
|
+
</code></pre>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<script src="../js/main.js"></script>
|
|
81
|
+
</body>
|
|
82
|
+
</html>
|
package/docs/js/main.js
CHANGED
|
@@ -178,6 +178,7 @@
|
|
|
178
178
|
' <a href="' + rootPrefix + 'quick-start.html" class="sidebar-link"><span class="link-icon"></span>Quick Start</a>' +
|
|
179
179
|
' <a href="' + rootPrefix + 'installation.html" class="sidebar-link"><span class="link-icon"></span>Installation</a>' +
|
|
180
180
|
' <a href="' + rootPrefix + 'configuration.html" class="sidebar-link"><span class="link-icon"></span>Configuration</a>' +
|
|
181
|
+
' <a href="' + rootPrefix + 'cli-reference.html" class="sidebar-link"><span class="link-icon"></span>CLI Reference</a>' +
|
|
181
182
|
' <a href="' + rootPrefix + 'troubleshooting.html" class="sidebar-link"><span class="link-icon"></span>Troubleshooting</a>' +
|
|
182
183
|
' </nav>' +
|
|
183
184
|
'</div>' +
|
|
@@ -214,6 +215,7 @@
|
|
|
214
215
|
' <a href="' + rootPrefix + 'features/bridge-mode.html" class="sidebar-link"><span class="link-icon"></span>Bridge Mode</a>' +
|
|
215
216
|
' <a href="' + rootPrefix + 'features/evals.html" class="sidebar-link"><span class="link-icon"></span>Evaluation Harness</a>' +
|
|
216
217
|
' <a href="' + rootPrefix + 'features/sentry-setup.html" class="sidebar-link"><span class="link-icon"></span>Sentry Setup</a>' +
|
|
218
|
+
' <a href="' + rootPrefix + 'voice-mode.html" class="sidebar-link"><span class="link-icon"></span>Voice Mode</a>' +
|
|
217
219
|
' <a href="' + rootPrefix + 'swarm.html" class="sidebar-link"><span class="link-icon"></span>Swarm System</a>' +
|
|
218
220
|
' <a href="' + rootPrefix + 'loop.html" class="sidebar-link"><span class="link-icon"></span>Agent Loop</a>' +
|
|
219
221
|
' </nav>' +
|
|
@@ -224,6 +226,14 @@
|
|
|
224
226
|
' <a href="' + rootPrefix + 'internals/hidden-features.html" class="sidebar-link"><span class="link-icon"></span>Hidden Features</a>' +
|
|
225
227
|
' <a href="' + rootPrefix + 'internals/growthbook-ab-testing.html" class="sidebar-link"><span class="link-icon"></span>A/B Testing</a>' +
|
|
226
228
|
' </nav>' +
|
|
229
|
+
'</div>' +
|
|
230
|
+
'<div class="sidebar-section">' +
|
|
231
|
+
' <div class="sidebar-label">Community</div>' +
|
|
232
|
+
' <nav>' +
|
|
233
|
+
' <a href="' + rootPrefix + 'changelog.html" class="sidebar-link"><span class="link-icon"></span>Changelog</a>' +
|
|
234
|
+
' <a href="' + rootPrefix + 'security.html" class="sidebar-link"><span class="link-icon"></span>Security</a>' +
|
|
235
|
+
' <a href="' + rootPrefix + 'contributing.html" class="sidebar-link"><span class="link-icon"></span>Contributing</a>' +
|
|
236
|
+
' </nav>' +
|
|
227
237
|
'</div>';
|
|
228
238
|
}
|
|
229
239
|
|
|
@@ -405,4 +415,23 @@
|
|
|
405
415
|
}
|
|
406
416
|
|
|
407
417
|
buildTOC();
|
|
418
|
+
|
|
419
|
+
// ── Footer Injection ──
|
|
420
|
+
function injectFooter() {
|
|
421
|
+
var contentWrap = document.querySelector('.content-wrap');
|
|
422
|
+
if (!contentWrap || contentWrap.querySelector('.footer')) return;
|
|
423
|
+
|
|
424
|
+
var footer = document.createElement('div');
|
|
425
|
+
footer.className = 'footer';
|
|
426
|
+
footer.innerHTML =
|
|
427
|
+
'<span>Clew Code \u2014 GPL-3.0</span>' +
|
|
428
|
+
'<div class="footer-links">' +
|
|
429
|
+
' <a href="https://github.com/ClewCode/ClewCode">GitHub</a>' +
|
|
430
|
+
' <a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>' +
|
|
431
|
+
' <a href="https://www.npmjs.com/package/clew-code">npm</a>' +
|
|
432
|
+
'</div>';
|
|
433
|
+
contentWrap.appendChild(footer);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
injectFooter();
|
|
408
437
|
})();
|