Tags: damoahdominic/occ
Tags
fix: bundle app tile emojis inside extension media folder The ../../void_icons/emojis path breaks in the packaged app. Copy the 9 needed PNGs into extensions/openclaw/media/emojis/ and point localResourceRoots + emojiBaseUri there instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: close sidebar after gateway is running, not on setup start Move the void.sidebar.close from the runSetup handler to the polling tick: the sidebar now closes only once the gateway is confirmed running after the first-install onboarding flow. MoltPilot stays visible during the gateway start command. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: hide MoltPilot sidebar when onboarding setup starts Close the Void/MoltPilot sidebar as soon as the user triggers the free-tier setup flow, keeping the UI clean during install. The sidebar re-opens naturally when void.openChatWithMessage fires on setup completion. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: escape \n in proceedAutoSetup handler to prevent script parse fa… …ilure Two showLog calls inside the message event handler had literal \n (newline) inside single-quoted JS strings, breaking the entire webview script block and causing all functions to be undefined. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: escape \x1b in template literal to prevent script parse failure \x1b inside a TypeScript template literal produces a literal ESC byte (0x1B) in the HTML output, corrupting the <script> block so the JS parser fails entirely — no functions are defined, including startInstall. Use \\x1b so the output HTML contains the text \x1b which the JS regex engine interprets correctly. Also simplified regex to avoid [^[] edge case. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: Show Error Logs button on install failure + strip ANSI from logs - Add "Show Error Logs" button below "Ask MoltPilot to fix this" — appears only when installation fails, opens ~/.openclaw/occ-home.log directly in the editor for easy copy/paste back to MoltPilot - Strip ANSI escape codes in the webview appendLog (clean terminal colours from log display) and in writeLog (clean file on disk) - Hide Show Error Logs button on retry/re-run Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: persistent diagnostics log + Open Logs in Search Actions - writeLog() appends timestamped lines to ~/.openclaw/occ-home.log (auto-creates dir, rotates at 500KB by dropping oldest half) - All install output (tee) and setup output (wizardPost) written to log - Session markers: === runInstall START/END === and _runSetup START/END - CLI check result logged on every panel load: ok, cmd path, version - openLogs message handler opens the file in VS Code editor (or shows info message if file doesn't exist yet) - New "Diagnostics > Open Logs" item in Search Actions dropdown (searchable via "log", "diag", "debug") Log location: ~/.openclaw/occ-home.log Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: Windows Node.js install robustness and cleaner install log UI - Pre-compute Node.js zip inner dir to avoid | pipe being intercepted by cmd.exe when shell:true wraps PowerShell commands - Expand log box from 160px to 200px to comfortably show download output - Improve log line coloring: ✓ → green, ❌ → red, ⚠ → amber Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>