aboutsummaryrefslogtreecommitdiff
path: root/help.html
diff options
context:
space:
mode:
Diffstat (limited to 'help.html')
-rw-r--r--help.html161
1 files changed, 149 insertions, 12 deletions
diff --git a/help.html b/help.html
index 484c20d..1c02628 100644
--- a/help.html
+++ b/help.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#0a0a14">
-<title>WebX11 v4.2 — Help</title>
+<title>WebX11 v4.3 — Help</title>
<style>
/* ── Reset & Base ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
@@ -231,9 +231,9 @@ footer .tagline{color:var(--accent2);margin-top:10px;font-weight:500}
<h1>WebX11 <span>Docs</span></h1>
</div>
<div class="header-meta">
- <span class="badge badge-v">v4.2</span>
- <span class="badge badge-new">26 core · 15 ext</span>
- <span style="color:var(--text2)">135+ commands</span>
+ <span class="badge badge-v">v4.3</span>
+ <span class="badge badge-new">18 core · 14 ext</span>
+ <span style="color:var(--text2)">145+ commands</span>
</div>
</div>
</header>
@@ -250,6 +250,7 @@ footer .tagline{color:var(--accent2);margin-top:10px;font-weight:500}
<a href="#web" class="nav-link">Search & Web</a>
<a href="#voice" class="nav-link">Voice & Sound</a>
<a href="#config" class="nav-link">Config</a>
+ <a href="#vault" class="nav-link">Vault</a>
<a href="#modules" class="nav-link">Modules</a>
<a href="#extras" class="nav-link">Extras</a>
<a href="#busybox" class="nav-link">BusyBox</a>
@@ -414,9 +415,9 @@ webx11.inputField // DOM input element</code></pre>
<!-- ── Overview ── -->
<section id="overview">
<h2>⛅ Overview</h2>
- <p>WebX11 v4.2 is a browser-based Unix-like terminal — dynamic modules, AI assistant (Ollama), persistent virtual filesystem, web search, voice input, code editor, and a full skill system. Everything runs client-side in your browser.</p>
+ <p>WebX11 v4.3 is a browser-based Unix-like terminal — dynamic modules, AI assistant (Ollama), persistent virtual filesystem, web search, voice input, code editor, and a full skill system. Everything runs client-side in your browser.</p>
<div class="feature-grid">
- <div class="feature-card"><h4>🧩 26 Core + 14 Ext</h4><p>Modules loaded at startup. Shell with pipes, redirects, vars, and scripts.</p></div>
+ <div class="feature-card"><h4>🧩 18 Core + 14 Ext</h4><p>Modules loaded at startup. Shell with pipes, redirects, vars, and scripts.</p></div>
<div class="feature-card"><h4>🤖 Agent with Tools</h4><p>28 tools — file ops, web search, skills, modules. Destructive action confirmations with inline bar + countdown.</p></div>
<div class="feature-card"><h4>📚 Skills System</h4><p>Persistent procedural memory. Create, patch, search, export skills for repeatable workflows.</p></div>
<div class="feature-card"><h4>💾 VFS + Sessions</h4><p>Virtual filesystem persists in localStorage. Save/load/export sessions.</p></div>
@@ -497,6 +498,17 @@ diff a.txt b.txt</pre>
<tr><td><code>preview</code></td><td>Preview HTML in iframe</td><td><code>preview test.html</code></td></tr>
<tr><td><code>factory-reset</code></td><td>Reset config</td><td><code>factory-reset</code></td></tr>
<tr><td><code>reset-vfs</code></td><td>Reset VFS</td><td><code>reset-vfs</code></td></tr>
+ <tr><td><code>logrotate</code></td><td>Rotate current.log to dated archive</td><td><code>logrotate</code></td></tr>
+ <tr><td><code>health-check</code></td><td>Audit VFS, modules, logs, trash, skills</td><td><code>health-check</code></td></tr>
+ <tr><td><code>memory-map-export</code></td><td>Generate memory map from /memory/index.json</td><td><code>memory-map-export</code></td></tr>
+ <tr><td><code>commands</code></td><td>List commands with module source</td><td><code>commands</code></td></tr>
+ <tr><td><code>check</code></td><td>System health + module requirements</td><td><code>check</code></td></tr>
+ <tr><td><code>checkpoint</code></td><td>Create VFS snapshot</td><td><code>checkpoint</code></td></tr>
+ <tr><td><code>checkpoint-list</code></td><td>List VFS checkpoints</td><td><code>checkpoint-list</code></td></tr>
+ <tr><td><code>rollback</code></td><td>Restore VFS from checkpoint</td><td><code>rollback</code></td></tr>
+ <tr><td><code>checkpoint-del</code></td><td>Delete a checkpoint</td><td><code>checkpoint-del</code></td></tr>
+ <tr><td><code>smart-prompt</code></td><td>Toggle context-aware prompt</td><td><code>smart-prompt</code></td></tr>
+ <tr><td><code>test</code></td><td>Run test suite</td><td><code>test auto</code></td></tr>
</table></div>
<h3>AI Assistant</h3>
@@ -509,6 +521,8 @@ diff a.txt b.txt</pre>
<tr><td><code>ai-allow</code></td><td>Allow pending destructive action</td><td><code>ai-allow</code></td></tr>
<tr><td><code>ai-deny</code></td><td>Deny pending destructive action</td><td><code>ai-deny</code></td></tr>
<tr><td><code>ai-stop</code></td><td>Cancel running AI request</td><td><code>ai-stop</code></td></tr>
+ <tr><td><code>ai-compress</code></td><td>Manually compress conversation context</td><td><code>ai-compress</code></td></tr>
+ <tr><td><code>debug</code></td><td>Toggle AI debug mode</td><td><code>debug</code></td></tr>
</table></div>
<h3>Smart Context</h3>
@@ -572,6 +586,10 @@ diff a.txt b.txt</pre>
<tr><td><code>rm</code></td><td>Delete file</td><td><code>rm temp.txt</code></td></tr>
<tr><td><code>mkdir</code></td><td>Create directory</td><td><code>mkdir projects</code></td></tr>
<tr><td><code>rmdir</code></td><td>Remove directory</td><td><code>rmdir empty</code></td></tr>
+ <tr><td><code>trash</code></td><td>Move file to trash</td><td><code>trash temp.txt</code></td></tr>
+ <tr><td><code>trash-dir</code></td><td>Move directory to trash</td><td><code>trash-dir olddir</code></td></tr>
+ <tr><td><code>ls-trash</code></td><td>List items in trash</td><td><code>ls-trash</code></td></tr>
+ <tr><td><code>empty-trash</code></td><td>Permanently delete all trash items</td><td><code>empty-trash</code></td></tr>
<tr><td><code>mv</code></td><td>Move/rename</td><td><code>mv old.txt new.txt</code></td></tr>
<tr><td><code>cp</code></td><td>Copy file</td><td><code>cp a.txt b.txt</code></td></tr>
<tr><td><code>touch</code></td><td>Create empty file</td><td><code>touch newfile.txt</code></td></tr>
@@ -588,6 +606,12 @@ diff a.txt b.txt</pre>
<tr><td><code>download</code></td><td>Download file</td><td><code>download file.txt</code></td></tr>
<tr><td><code>vfs-export</code></td><td>Download VFS as JSON</td><td><code>vfs-export</code></td></tr>
<tr><td><code>vfs-import</code></td><td>Import VFS from JSON</td><td><code>vfs-import</code></td></tr>
+ <tr><td><code>session-save</code></td><td>Save a session snapshot</td><td><code>session-save</code></td></tr>
+ <tr><td><code>session-load</code></td><td>Load a session snapshot</td><td><code>session-load mysession</code></td></tr>
+ <tr><td><code>session-list</code></td><td>List all saved sessions</td><td><code>session-list</code></td></tr>
+ <tr><td><code>session-delete</code></td><td>Delete a session</td><td><code>session-delete old</code></td></tr>
+ <tr><td><code>session-export</code></td><td>Export session as JSON download</td><td><code>session-export mysession</code></td></tr>
+ <tr><td><code>session-import</code></td><td>Import a session from file</td><td><code>session-import</code></td></tr>
</table></div>
</section>
@@ -782,11 +806,31 @@ ollamaconnect</pre>
</table></div>
</section>
+ <!-- ── Secret Vault ── -->
+ <section id="vault">
+ <h2>🔒 Secret Vault</h2>
+ <div class="callout callout-success">
+ <span class="callout-title">Encrypted Secrets Manager</span>
+ AES-256-GCM encrypted key-value storage in localStorage. Lock/unlock with a PIN — secrets are never stored in plain text. Vault status persists across sessions.
+ </div>
+ <div class="table-wrap"><table>
+ <tr><th>Command</th><th>Description</th></tr>
+ <tr><td><code>secret-set</code></td><td>Encrypt and store a secret</td></tr>
+ <tr><td><code>secret-get</code></td><td>Decrypt and display a secret value</td></tr>
+ <tr><td><code>secret-list</code></td><td>List all stored secret names</td></tr>
+ <tr><td><code>secret-del</code></td><td>Remove a stored secret</td></tr>
+ <tr><td><code>secret-lock</code></td><td>Lock the vault (clears key from memory)</td></tr>
+ <tr><td><code>secret-unlock</code></td><td>Unlock the vault with PIN</td></tr>
+ <tr><td><code>secret-setpin</code></td><td>Set or change vault PIN</td></tr>
+ <tr><td><code>secret-status</code></td><td>Show vault status (locked/unlocked/pin set)</td></tr>
+ </table></div>
+ </section>
+
<!-- ── Modules ── -->
<section id="modules">
<h2>🧩 Module System</h2>
<div class="callout callout-info">
- <span class="callout-title">26 Core + 14 Ext</span>
+ <span class="callout-title">25 Core + 17 Ext</span>
Modules loaded in dependency order at startup. Toggle ext modules with ⚙ gear on splash.
</div>
<h3>Commands</h3>
@@ -796,6 +840,9 @@ ollamaconnect</pre>
<tr><td><code>loadmod &lt;url&gt;</code></td><td>Load module from URL</td></tr>
<tr><td><code>removemod &lt;name&gt;</code></td><td>Remove a module</td></tr>
<tr><td><code>listmods</code></td><td>List all loaded modules</td></tr>
+ <tr><td><code>load-local</code></td><td>Load module from VFS or URL</td></tr>
+ <tr><td><code>loadlocal</code></td><td>Alias for load-local</td></tr>
+ <tr><td><code>startup-modules</code></td><td>Configure boot modules</td></tr>
</table></div>
<h3>Boot Order</h3>
@@ -826,8 +873,8 @@ ollamaconnect</pre>
<tr><td><code>webdav-backup</code></td><td>Backup VFS</td></tr>
<tr><td><code>webdav-restore</code></td><td>Restore VFS</td></tr>
<tr><td><code>webdav-backup-list</code></td><td>List backups</td></tr>
- <tr><td><code>webdav-browser</code></td><td>Visual file explorer modal</td></tr>
<tr><td><code>webdav-explorer</code></td><td>Interactive text browser</td></tr>
+ <tr><td><code>webdav-browser</code></td><td>Visual file explorer modal</td></tr>
</table></div>
<h3>Calculator & Cron</h3>
@@ -1004,6 +1051,67 @@ vfs-import</pre>
<p>~5–10MB per domain. Only URLs (not code) are stored for modules.</p>
</section>
+ <!-- ── WebDAV ── -->
+ <section id="webdav">
+ <h2>☁️ WebDAV</h2>
+ <p>Cloud sync with your WebX11 space. File-tree browser UI with bulk actions.</p>
+ <div class="table-wrap"><table>
+ <tr><th>Command</th><th>Description</th></tr>
+ <tr><td><code>webdav-config &lt;url&gt; &lt;token&gt;</code></td><td>Configure WebDAV connection</td></tr>
+ <tr><td><code>webdav-status</code></td><td>Show sync status and connection health</td></tr>
+ <tr><td><code>webdav-ls [path]</code></td><td>List remote files</td></tr>
+ <tr><td><code>webdav-push &lt;local&gt; [remote]</code></td><td>Upload file to cloud</td></tr>
+ <tr><td><code>webdav-pull &lt;remote&gt; [local]</code></td><td>Download file from cloud</td></tr>
+ <tr><td><code>webdav-browser</code></td><td>Open file-tree browser UI with checkboxes, context menu, inline rename</td></tr>
+ <tr><td><code>webdav-rm &lt;path&gt;</code></td><td>Delete remote file/directory</td></tr>
+ <tr><td><code>webdav-mkdir &lt;path&gt;</code></td><td>Create remote directory</td></tr>
+ <tr><td><code>webdav-rename &lt;old&gt; &lt;new&gt;</code></td><td>Rename remote file</td></tr>
+ <tr><td><code>webdav-move &lt;src&gt; &lt;dst&gt;</code></td><td>Move remote file (alias for rename)</td></tr>
+ <tr><td><code>webdav-backup</code></td><td>Backup entire space</td></tr>
+ </table></div>
+ <h3>Browser Features</h3>
+ <ul>
+ <li>Checkbox select + Select All toggle</li>
+ <li>Bulk action bar: Delete, Move, Download selected files</li>
+ <li>Inline rename: double-click filename</li>
+ <li>Right-click context menu with all operations</li>
+ <li>Breadcrumb navigation</li>
+ <li>Create-directory button</li>
+ <li>Keyboard shortcuts: <code>j</code>/<code>k</code> navigate, <code>Space</code> select, <code>Enter</code> open</li>
+ </ul>
+ </section>
+
+ <!-- ── Agents ── -->
+ <section id="agents">
+ <h2>🤖 Agent Orchestration</h2>
+ <p>Register, list, and delegate tasks to AI agents with lease-based lifecycle management.</p>
+ <div class="table-wrap"><table>
+ <tr><th>Command</th><th>Description</th></tr>
+ <tr><td><code>agent-list</code></td><td>List all registered agents with status</td></tr>
+ <tr><td><code>agent-register &lt;name&gt; &lt;model&gt;</code></td><td>Register a new AI agent</td></tr>
+ <tr><td><code>lease-list</code></td><td>Show active leases — agent tasks with status and TTL</td></tr>
+ <tr><td><code>orchestrate &lt;task&gt;</code></td><td>Delegate multi-step task to agent orchestrator</td></tr>
+ </table></div>
+ </section>
+
+ <!-- ── Debug ── -->
+ <section id="debug-panel">
+ <h2>🔧 Debug Panel</h2>
+ <p>Toggle the debug overlay to monitor system internals in real-time.</p>
+ <div class="table-wrap"><table>
+ <tr><th>Command</th><th>Description</th></tr>
+ <tr><td><code>debug</code></td><td>Toggle debug panel on/off</td></tr>
+ </table></div>
+ <h3>Debug Panel Shows</h3>
+ <ul>
+ <li><strong>Memory</strong> — localStorage usage, VFS size, session context size</li>
+ <li><strong>Events</strong> — registered event listeners, module event bindings</li>
+ <li><strong>Errors</strong> — recent JS errors with stack traces</li>
+ <li><strong>Modules</strong> — loaded count, broken references, cache state</li>
+ </ul>
+ <p>Useful for troubleshooting module load failures, VFS corruption, and AI context bloat.</p>
+ </section>
+
<!-- ── Security ── -->
<section id="security">
<h2>🔒 Security</h2>
@@ -1014,9 +1122,23 @@ vfs-import</pre>
<tr><td>No eval() on User Input</td><td>✅</td></tr>
<tr><td>Path Traversal Prevention</td><td>✅</td></tr>
<tr><td>Sandboxed File System</td><td>✅</td></tr>
- <tr><td>AI Destructive Confirmations</td><td>✅ Required + timeout</td></tr>
+ <tr><td>AI Destructive Confirmations</td><td>✅ Required + 120s countdown</td></tr>
<tr><td>Iframe Preview Sandbox</td><td>✅ allow-same-origin allow-scripts</td></tr>
</table></div>
+ <h3>Security Levels</h3>
+ <div class="table-wrap"><table>
+ <tr><th>Level</th><th>Behavior</th></tr>
+ <tr><td><code>0</code></td><td>Unrestricted — all commands allowed without confirmation</td></tr>
+ <tr><td><code>1</code> (default)</td><td>Confirm destructive actions (rm, overwrite, etc.)</td></tr>
+ <tr><td><code>2</code></td><td>Deny sensitive commands (rm -rf, encrypt operations)</td></tr>
+ <tr><td><code>3</code></td><td>Deny all dangerous commands (requires deliberate override)</td></tr>
+ </table></div>
+ <div class="table-wrap"><table>
+ <tr><th>Command</th><th>Description</th></tr>
+ <tr><td><code>security-level &lt;0-3&gt;</code></td><td>Set active security level</td></tr>
+ <tr><td><code>cmd-allow &lt;command&gt;</code></td><td>Add command to allowlist (bypasses restrictions)</td></tr>
+ <tr><td><code>cmd-deny &lt;command&gt;</code></td><td>Add command to denylist (always blocked)</td></tr>
+ </table></div>
<div class="callout callout-warning">
<span class="callout-title">⚠️ Module Loading</span>
Only load modules from trusted sources — they have full terminal access.
@@ -1052,7 +1174,7 @@ listmods</pre>
<section id="ref">
<h2>⚡ Quick Reference</h2>
<div class="quick-ref">
- <div class="quick-ref-title">WebX11 v4.2</div>
+ <div class="quick-ref-title">WebX11 v4.3</div>
<div class="quick-ref-grid">
<div class="quick-ref-item"><span class="cmd">help</span><span class="desc">Show all commands</span></div>
<div class="quick-ref-item"><span class="cmd">cls</span><span class="desc">Clear terminal</span></div>
@@ -1096,6 +1218,21 @@ listmods</pre>
<h2>📋 Changelog</h2>
<div class="version-item">
+ <div class="v-header"><span class="v-num">v4.3 — June 2026</span><span class="v-date">2026-06-02</span></div>
+ <ul>
+ <li><strong>WebDAV Browser</strong> — Modern file-tree UI with checkboxes, Select All, bulk actions (Delete, Move, Download), inline rename (double-click), context menu, breadcrumbs, keyboard shortcuts</li>
+ <li><strong>WebDAV commands</strong> — <code>webdav-browser</code>, <code>webdav-rm</code>, <code>webdav-mkdir</code>, <code>webdav-rename</code>, <code>webdav-move</code>, <code>webdav-backup</code></li>
+ <li><strong>Skill Pack System</strong> — Auto-loads 12 skills on startup, seed/reload support, skill-pack-core.js manages in-memory index</li>
+ <li><strong>Agent Orchestration</strong> — <code>agent-list</code>, <code>agent-register</code>, <code>lease-list</code>, <code>orchestrate</code> for multi-step delegation</li>
+ <li><strong>Security Layer</strong> — <code>security-level 0-3</code> with granular restrictions, <code>cmd-allow</code>/<code>cmd-deny</code> per-command access control</li>
+ <li><strong>Debug Panel</strong> — <code>debug</code> toggle shows memory, events, errors, module health</li>
+ <li><strong>Chat Cleanup</strong> — Removed <code>chat-setapi</code>, <code>chat-setmodel</code>, <code>chat-ask</code>; single <code>chat</code> command toggles overlay</li>
+ <li>Module count refactored: 18 core + 14 ext (was 25+17)</li>
+ <li>Cache: <code>skillpack1</code>/<code>chatfix1</code>/<code>webdav2</code> — hard refresh required</li>
+ </ul>
+ </div>
+
+ <div class="version-item">
<div class="v-header"><span class="v-num">v4.2.1 — May 2026</span><span class="v-date">2026-05-27</span></div>
<ul>
<li><strong>BusyBox</strong> — 16 new utility commands: <code>which</code>, <code>env</code>, <code>date</code>, <code>cal</code>, <code>yes</code>, <code>seq</code>, <code>base64</code>, <code>printf</code>, <code>cut</code>, <code>uniq</code>, <code>hostname</code>, <code>whoami</code>, <code>basename</code>, <code>dirname</code>, <code>sleep</code>, <code>expand</code></li>
@@ -1165,7 +1302,7 @@ listmods</pre>
<a href="./main.html">Launch WebX11</a>
<a href="https://ollama.com" target="_blank">Ollama</a>
</div>
- <p>WebX11 v4.2 · 2026</p>
+ <p>WebX11 v4.3 · 2026</p>
<p class="tagline">Happy Hacking 🖥️🤖🎤</p>
</footer>
@@ -1250,7 +1387,7 @@ document.querySelectorAll('.doc-tabs input').forEach(radio=>{
}
})();
-console.log('WebX11 v4.2 Docs — Modern');
+console.log('WebX11 v4.3 Docs — Modern');
</script>
</body>
</html>