diff options
Diffstat (limited to 'help.html')
| -rw-r--r-- | help.html | 55 |
1 files changed, 50 insertions, 5 deletions
@@ -231,8 +231,8 @@ 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.5.11</span> - <span class="badge badge-new">28 core · 17 ext</span> + <span class="badge badge-v">v4.5.22</span> + <span class="badge badge-new">38 core · ext</span> <span style="color:var(--text2)">160+ commands</span> </div> </div> @@ -1012,7 +1012,8 @@ echo 'export NAME=WebX11' > greet.sh echo 'echo "Hello, $NAME!"' >> greet.sh <span class="cmt"># Run it</span> -script greet.sh</pre> +script greet.sh +sh greet.sh</pre> <h3>Shell Commands</h3> <div class="table-wrap"><table> @@ -1021,9 +1022,46 @@ script greet.sh</pre> <tr><td><code>unset <var></code></td><td>Remove a shell variable</td></tr> <tr><td><code>set</code></td><td>List all shell variables</td></tr> <tr><td><code>script <path.sh></code></td><td>Run a VFS script file</td></tr> + <tr><td><code>sh <path.sh></code></td><td>Alias for <code>script</code> — run a VFS script file</td></tr> + <tr><td><code>alias [name=value]</code></td><td>List aliases or set a custom alias name=command</td></tr> + <tr><td><code>unalias <name></code></td><td>Remove a custom alias</td></tr> </table></div> </section> + <!-- ── Floating UI ── --> + <section id="floating"> + <h2>🪄 Floating UI</h2> + <div class="callout callout-success"> + <span class="callout-title">Remixable floating buttons · Menus · Panels</span> + The Floating Module lets you or the AI spawn persistent floating UI elements that survive page reloads. All state is kept in localStorage. + </div> + <div class="table-wrap"><table> + <tr><th>Command</th><th>Description</th></tr> + <tr><td><code>floating-add btn <id> <label> <command></code></td><td>Spawn a floating button that runs a terminal command</td></tr> + <tr><td><code>floating-add menu <id> <label> btn:Sub|cmd ...</code></td><td>Spawn a collapsible floating menu with sub-buttons</td></tr> + <tr><td><code>floating-add panel <id> <title> <content></code></td><td>Spawn a floating text panel</td></tr> + <tr><td><code>floating-remove <id></code></td><td>Remove a floating element</td></tr> + <tr><td><code>floating-list</code></td><td>Show all floating elements with IDs and positions</td></tr> + <tr><td><code>floating-pos <id> <x|auto> <y|auto></code></td><td>Reposition a floating element</td></tr> + <tr><td><code>floating-toggle <id></code></td><td>Show/hide a floating element</td></tr> + <tr><td><code>floating-clear</code></td><td>Remove all floating elements</td></tr> + </table></div> + <pre><span class="cmt"># Create a button</span> +floating-add btn files "📁 Files" ls + +<span class="cmt"># Create a collapsible menu</span> +floating-add menu tools "🔧 Tools" btn:Help|help btn:Clear|clear + +<span class="cmt"># Create a status panel</span> +floating-add panel status "📊 Status" "Ready" + +<span class="cmt"># List all elements</span> +floating-list + +<span class="cmt"># Hide without removing</span> +floating-toggle files</pre> + </section> + <!-- ── Security ── --> <section id="security"> <h2>🔒 Security & Guardrails</h2> @@ -1135,15 +1173,22 @@ vfs-import</pre> <tr><td><code>agent-unregister <id></code></td><td>Remove an agent from the registry</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 <task></code></td><td>Delegate multi-step task to agent orchestrator</td></tr> + <tr><td><code>orchestrate-parallel <task></code></td><td>Decompose and run sub-tasks in parallel (auto-splits on "and"/"then")</td></tr> + <tr><td><code>orchestrate-decompose <task></code></td><td>Preview how a task would be split into sub-tasks</td></tr> + <tr><td><code>orchestrate-result</code></td><td>Show results of the last parallel batch</td></tr> <tr><td><code>orchestrator-status</code></td><td>Show orchestrator agent pool status</td></tr> <tr><td><code>orchestrator-list</code></td><td>List all spawned agents with full details</td></tr> <tr><td><code>orchestrator-spawn <role> [caps...]</code></td><td>Spawn a new worker agent</td></tr> <tr><td><code>orchestrator-sleep <id></code></td><td>Suspend agent to VFS (survives reload)</td></tr> <tr><td><code>orchestrator-wake <id></code></td><td>Restore agent from VFS sleep state</td></tr> <tr><td><code>orchestrator-kill <id></code></td><td>Terminate an agent and revoke leases</td></tr> - <tr><td><code>orchestrator-purge</code></td><td>Remove dead agents (>60s silent)</td></tr> - <tr><td><code>orchestrator-config <key> <value></code></td><td>Tune: spawn-limit, spawn-strategy, heartbeat-timeout, idle-timeout, restart-policy, a2a-polling, a2a-poll-interval, heartbeat-check, idle-sweep-interval, dead-purge-timeout (persisted)</td></tr> + <tr><td><code>orchestrator-purge</code></td><td>Remove dead agents (>60s silent)</td></tr> + <tr><td><code>orchestrator-config <key> <value></code></td><td>Tune: spawn-limit, spawn-strategy, heartbeat-timeout, idle-timeout, restart-policy, a2a-polling (on/off), a2a-poll-interval, heartbeat-check, idle-sweep-interval, dead-purge-timeout, consensus-size, consensus-strategy, consensus-timeout, pipeline-auto-fix, pipeline-stage-timeout (persisted)</td></tr> <tr><td><code>orchestrator-restart-policy <id> <policy></code></td><td>Set per-agent restart policy: on-failure, always, never</td></tr> + <tr><td><code>consensus <question></code></td><td>Consensus: spawn N agents, debate, resolve by majority vote</td></tr> + <tr><td><code>consensus-status</code></td><td>Show current/active consensus round status</td></tr> + <tr><td><code>consensus-history</code></td><td>Show past consensus rounds and resolutions</td></tr> + <tr><td><code>pipeline <test|deploy|verify|history|config></code></td><td>Autonomous CI/CD: test agents/modules, deploy (test→auto-fix→verify), history, config</td></tr> <tr><td><code>lease-create <agent-id> [duration] [task]</code></td><td>Create a time-bound lease for a worker 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>lease-revoke <id></code></td><td>Revoke an active lease</td></tr> |