clew-code 0.2.22 → 0.2.24

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.
@@ -1,156 +1,157 @@
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>Commands — Clew Code</title>
7
- <meta name="description" href="All slash commands available 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>
14
- <header class="header"></header>
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">Commands</span></div>
22
-
23
- <h1>Commands</h1>
24
- <p class="sub">Clew Code provides 30+ slash commands for managing providers, sessions, mesh networking, MCP, plugins, and more.</p>
25
-
26
- <h2 id="session">Session Commands</h2>
27
- <table>
28
- <thead>
29
- <tr><th>Command</th><th>Description</th></tr>
30
- </thead>
31
- <tbody>
32
- <tr><td><code>/status</code></td><td>Show current provider, model, session, and context info</td></tr>
33
- <tr><td><code>/doctor</code></td><td>Run system diagnostics</td></tr>
34
- <tr><td><code>/context</code></td><td>Show active context usage breakdown</td></tr>
35
- <tr><td><code>/compact</code></td><td>Compress conversation history (multi-pass compaction)</td></tr>
36
- <tr><td><code>/clear</code></td><td>Clear conversation or caches</td></tr>
37
- <tr><td><code>/exit</code></td><td>Exit the REPL</td></tr>
38
- <tr><td><code>/help</code></td><td>List all available commands</td></tr>
39
- <tr><td><code>/resume</code></td><td>Resume a previous session</td></tr>
40
- </tbody>
41
- </table>
42
-
43
- <h2 id="provider">Provider &amp; Model Commands</h2>
44
- <table>
45
- <thead>
46
- <tr><th>Command</th><th>Description</th></tr>
47
- </thead>
48
- <tbody>
49
- <tr><td><code>/model</code></td><td>Switch provider or model. Use <code>/model list</code> to see available models</td></tr>
50
- <tr><td><code>/effort</code></td><td>Set reasoning effort (low/medium/high) for supported providers</td></tr>
51
- <tr><td><code>/fast</code></td><td>Toggle fast/turbo mode</td></tr>
52
- </tbody>
53
- </table>
54
-
55
- <h2 id="mesh">Mesh &amp; Networking Commands</h2>
56
- <table>
57
- <thead>
58
- <tr><th>Command</th><th>Description</th></tr>
59
- </thead>
60
- <tbody>
61
- <tr><td><code>/mesh discover</code></td><td>Find other Clew instances on the LAN</td></tr>
62
- <tr><td><code>/mesh share</code></td><td>Share this instance as a worker</td></tr>
63
- <tr><td><code>/mesh run &lt;peer&gt; &lt;cmd&gt;</code></td><td>Run a command on a remote peer</td></tr>
64
- <tr><td><code>/mesh send &lt;peer&gt; &lt;msg&gt;</code></td><td>Send a message to a peer</td></tr>
65
- <tr><td><code>/mesh list</code></td><td>List discovered peers</td></tr>
66
- <tr><td><code>/mesh info &lt;peer&gt;</code></td><td>Show peer details</td></tr>
67
- <tr><td><code>/mesh help</code></td><td>Mesh command reference</td></tr>
68
- </tbody>
69
- </table>
70
-
71
- <h2 id="mcp">MCP Commands</h2>
72
- <table>
73
- <thead>
74
- <tr><th>Command</th><th>Description</th></tr>
75
- </thead>
76
- <tbody>
77
- <tr><td><code>/mcp list</code></td><td>List connected MCP servers and tools</td></tr>
78
- <tr><td><code>/mcp add</code></td><td>Add an MCP server configuration</td></tr>
79
- <tr><td><code>/mcp remove</code></td><td>Remove an MCP server</td></tr>
80
- </tbody>
81
- </table>
82
-
83
- <h2 id="code">Code &amp; Review Commands</h2>
84
- <table>
85
- <thead>
86
- <tr><th>Command</th><th>Description</th></tr>
87
- </thead>
88
- <tbody>
89
- <tr><td><code>/code-review</code></td><td>Review changed files for bugs</td></tr>
90
- <tr><td><code>/simplify</code></td><td>Cleanup-focused code review</td></tr>
91
- <tr><td><code>/pr</code></td><td>PR management (create/list/view/review/merge/status)</td></tr>
92
- <tr><td><code>/diff</code></td><td>Show git diff</td></tr>
93
- </tbody>
94
- </table>
95
-
96
- <h2 id="plugin">Plugin &amp; Extension Commands</h2>
97
- <table>
98
- <thead>
99
- <tr><th>Command</th><th>Description</th></tr>
100
- </thead>
101
- <tbody>
102
- <tr><td><code>/plugin</code></td><td>Plugin and hook management (install, list, remove)</td></tr>
103
- <tr><td><code>/skills</code></td><td>List and manage skills</td></tr>
104
- <tr><td><code>/hooks</code></td><td>View active hooks</td></tr>
105
- </tbody>
106
- </table>
107
-
108
- <h2 id="autonomous">Autonomous &amp; Agent Commands</h2>
109
- <table>
110
- <thead>
111
- <tr><th>Command</th><th>Description</th></tr>
112
- </thead>
113
- <tbody>
114
- <tr><td><code>/loop</code></td><td>24/7 autonomous agent loop (start, stop, status)</td></tr>
115
- <tr><td><code>/daemon</code></td><td>Autonomous daemon dashboard</td></tr>
116
- <tr><td><code>/task</code></td><td>Manage scheduled tasks</td></tr>
117
- <tr><td><code>/agent</code></td><td>Background agent dispatch and subcommands</td></tr>
118
- <tr><td><code>/agents</code></td><td>Agent dashboard (TUI operational view)</td></tr>
119
- </tbody>
120
- </table>
121
-
122
- <h2 id="memory">Memory Commands</h2>
123
- <table>
124
- <thead>
125
- <tr><th>Command</th><th>Description</th></tr>
126
- </thead>
127
- <tbody>
128
- <tr><td><code>/memory save</code></td><td>Save session summary to long-term memory</td></tr>
129
- <tr><td><code>/memory timeline</code></td><td>Show chronological session history</td></tr>
130
- <tr><td><code>/memory stats</code></td><td>Activity density chart</td></tr>
131
- <tr><td><code>/memory digest</code></td><td>Show weekly/monthly digests</td></tr>
132
- <tr><td><code>/memory search</code></td><td>Search stored memory entries</td></tr>
133
- </tbody>
134
- </table>
135
-
136
- <h2 id="other">Other Commands</h2>
137
- <table>
138
- <thead>
139
- <tr><th>Command</th><th>Description</th></tr>
140
- </thead>
141
- <tbody>
142
- <tr><td><code>/remote</code></td><td>WebSocket remote control (listen, connect, token)</td></tr>
143
- <tr><td><code>/bridge</code></td><td>Bridge mode configuration</td></tr>
144
- <tr><td><code>/config</code></td><td>Open configuration panel</td></tr>
145
- <tr><td><code>/theme</code></td><td>Switch theme</td></tr>
146
- <tr><td><code>/permissions</code></td><td>Change permission mode</td></tr>
147
- <tr><td><code>/export</code></td><td>Export session</td></tr>
148
- <tr><td><code>/recap</code></td><td>Session recap</td></tr>
149
- </tbody>
150
- </table>
151
- </div>
152
- </div>
153
-
154
- <script src="js/main.js"></script>
155
- </body>
156
- </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>Commands — Clew Code</title>
7
+ <meta name="description" href="All slash commands available 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>
14
+ <header class="header"></header>
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">Commands</span></div>
22
+
23
+ <h1>Commands</h1>
24
+ <p class="sub">Clew Code provides 35+ slash commands for managing providers, sessions, mesh networking, MCP, plugins, and more.</p>
25
+
26
+ <h2 id="session">Session Commands</h2>
27
+ <table>
28
+ <thead>
29
+ <tr><th>Command</th><th>Description</th></tr>
30
+ </thead>
31
+ <tbody>
32
+ <tr><td><code>/status</code></td><td>Show current provider, model, session, and context info</td></tr>
33
+ <tr><td><code>/doctor</code></td><td>Run system diagnostics</td></tr>
34
+ <tr><td><code>/context</code></td><td>Show active context usage breakdown</td></tr>
35
+ <tr><td><code>/compact</code></td><td>Compress conversation history (multi-pass compaction)</td></tr>
36
+ <tr><td><code>/clear</code></td><td>Clear conversation or caches</td></tr>
37
+ <tr><td><code>/exit</code></td><td>Exit the REPL</td></tr>
38
+ <tr><td><code>/help</code></td><td>List all available commands</td></tr>
39
+ <tr><td><code>/resume</code></td><td>Resume a previous session</td></tr>
40
+ </tbody>
41
+ </table>
42
+
43
+ <h2 id="provider">Provider &amp; Model Commands</h2>
44
+ <table>
45
+ <thead>
46
+ <tr><th>Command</th><th>Description</th></tr>
47
+ </thead>
48
+ <tbody>
49
+ <tr><td><code>/model</code></td><td>Switch provider or model. Use <code>/model list</code> to see available models</td></tr>
50
+ <tr><td><code>/effort</code></td><td>Set reasoning effort (low/medium/high) for supported providers</td></tr>
51
+ <tr><td><code>/fast</code></td><td>Toggle fast/turbo mode</td></tr>
52
+ </tbody>
53
+ </table>
54
+
55
+ <h2 id="mesh">Mesh &amp; Networking Commands</h2>
56
+ <table>
57
+ <thead>
58
+ <tr><th>Command</th><th>Description</th></tr>
59
+ </thead>
60
+ <tbody>
61
+ <tr><td><code>/mesh discover</code></td><td>Find other Clew instances on the LAN</td></tr>
62
+ <tr><td><code>/mesh share</code></td><td>Share this instance as a worker</td></tr>
63
+ <tr><td><code>/mesh run &lt;peer&gt; &lt;cmd&gt;</code></td><td>Run a command on a remote peer</td></tr>
64
+ <tr><td><code>/mesh send &lt;peer&gt; &lt;msg&gt;</code></td><td>Send a message to a peer</td></tr>
65
+ <tr><td><code>/mesh list</code></td><td>List discovered peers</td></tr>
66
+ <tr><td><code>/mesh info &lt;peer&gt;</code></td><td>Show peer details</td></tr>
67
+ <tr><td><code>/mesh help</code></td><td>Mesh command reference</td></tr>
68
+ </tbody>
69
+ </table>
70
+
71
+ <h2 id="mcp">MCP Commands</h2>
72
+ <table>
73
+ <thead>
74
+ <tr><th>Command</th><th>Description</th></tr>
75
+ </thead>
76
+ <tbody>
77
+ <tr><td><code>/mcp list</code></td><td>List connected MCP servers and tools</td></tr>
78
+ <tr><td><code>/mcp add</code></td><td>Add an MCP server configuration</td></tr>
79
+ <tr><td><code>/mcp remove</code></td><td>Remove an MCP server</td></tr>
80
+ </tbody>
81
+ </table>
82
+
83
+ <h2 id="code">Code &amp; Review Commands</h2>
84
+ <table>
85
+ <thead>
86
+ <tr><th>Command</th><th>Description</th></tr>
87
+ </thead>
88
+ <tbody>
89
+ <tr><td><code>/code-review</code></td><td>Review changed files for bugs</td></tr>
90
+ <tr><td><code>/simplify</code></td><td>Cleanup-focused code review</td></tr>
91
+ <tr><td><code>/pr</code></td><td>PR management (create/list/view/review/merge/status)</td></tr>
92
+ <tr><td><code>/diff</code></td><td>Show git diff</td></tr>
93
+ </tbody>
94
+ </table>
95
+
96
+ <h2 id="plugin">Plugin &amp; Extension Commands</h2>
97
+ <table>
98
+ <thead>
99
+ <tr><th>Command</th><th>Description</th></tr>
100
+ </thead>
101
+ <tbody>
102
+ <tr><td><code>/plugin</code></td><td>Plugin and hook management (install, list, remove)</td></tr>
103
+ <tr><td><code>/skills</code></td><td>List and manage skills</td></tr>
104
+ <tr><td><code>/hooks</code></td><td>View active hooks</td></tr>
105
+ </tbody>
106
+ </table>
107
+
108
+ <h2 id="autonomous">Autonomous &amp; Agent Commands</h2>
109
+ <table>
110
+ <thead>
111
+ <tr><th>Command</th><th>Description</th></tr>
112
+ </thead>
113
+ <tbody>
114
+ <tr><td><code>/loop</code></td><td>24/7 autonomous agent loop (start, stop, status)</td></tr>
115
+ <tr><td><code>/daemon</code></td><td>Autonomous daemon dashboard</td></tr>
116
+ <tr><td><code>/task</code></td><td>Manage scheduled tasks</td></tr>
117
+ <tr><td><code>/agent</code></td><td>Background agent dispatch and subcommands</td></tr>
118
+ <tr><td><code>/agents</code></td><td>Agent dashboard (TUI operational view)</td></tr>
119
+ </tbody>
120
+ </table>
121
+
122
+ <h2 id="memory">Memory Commands</h2>
123
+ <table>
124
+ <thead>
125
+ <tr><th>Command</th><th>Description</th></tr>
126
+ </thead>
127
+ <tbody>
128
+ <tr><td><code>/memory save</code></td><td>Save session summary to long-term memory</td></tr>
129
+ <tr><td><code>/memory timeline</code></td><td>Show chronological session history</td></tr>
130
+ <tr><td><code>/memory stats</code></td><td>Activity density chart</td></tr>
131
+ <tr><td><code>/memory digest</code></td><td>Show weekly/monthly digests</td></tr>
132
+ <tr><td><code>/memory search</code></td><td>Search stored memory entries</td></tr>
133
+ </tbody>
134
+ </table>
135
+
136
+ <h2 id="other">Other Commands</h2>
137
+ <table>
138
+ <thead>
139
+ <tr><th>Command</th><th>Description</th></tr>
140
+ </thead>
141
+ <tbody>
142
+ <tr><td><code>/remote</code></td><td>WebSocket remote control (listen, connect, token)</td></tr>
143
+ <tr><td><code>/bridge</code></td><td>Bridge mode configuration</td></tr>
144
+ <tr><td><code>/config</code></td><td>Open configuration panel</td></tr>
145
+ <tr><td><code>/theme</code></td><td>Switch theme</td></tr>
146
+ <tr><td><code>/mode</code></td><td>Switch execution mode — safe, yolo, afk, review-only, browser-safe</td></tr>
147
+ <tr><td><code>/permissions</code></td><td>Change permission mode</td></tr>
148
+ <tr><td><code>/export</code></td><td>Export session</td></tr>
149
+ <tr><td><code>/recap</code></td><td>Session recap</td></tr>
150
+ </tbody>
151
+ </table>
152
+ </div>
153
+ </div>
154
+
155
+ <script src="js/main.js"></script>
156
+ </body>
157
+ </html>