Tags: damoahdominic/occ
Tags
feat: add OCC Legacy model constants and patch openclaw.json after setup - Define OCC_LEGACY_MODEL_* constants (cost, contextWindow, maxTokens) - After free-tier onboard succeeds, recursively patch openclaw.json to inject correct pricing and context window for occ-legacy model - Remove ✅ OpenClaw detected status line from OCC Home dashboard - Add 20px margin-top to checks info bar - Add search icon to Quick Actions button, rename to Search Actions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: use env var to check AZURE_CLIENT_ID in workflow if condition secrets context is not available in GitHub Actions `if` expressions. Map secret to a job-level env var and check that instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: use env var to check AZURE_CLIENT_ID in workflow if condition secrets context is not available in GitHub Actions `if` expressions. Map secret to a job-level env var and check that instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ci: add macOS Intel (x64) build job Adds build-macos-x64 job running on macos-13 (last Intel GitHub Actions runner). Mirrors the existing arm64 job: compile → bundle → minify → package (vscode-darwin-x64-min-ci) → sign → notarize → staple → release. Produces OCcode-darwin-x64-signed.zip uploaded as artifact and attached to GitHub Releases alongside the arm64 build. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: restore missing closing braces in webview message handler Removing the installLog/installState blocks also removed the closing } of the versionResult else-if and the outer if/else chain, breaking the JS with 'Unexpected token )'. Restored both braces. Also added void.sidebar.open before openChatWithMessage in the openclaw.install command, with try/catch error surfacing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: AI-driven install — chat handles installation and password - openclaw.install command now opens the AI chat in Agent mode with a pre-built install prompt instead of running a silent background process - AI uses the terminal tool to run npm install -g openclaw - If a permission error occurs, AI asks the user for their password in the chat and uses it with sudo — no VS Code popup, no hidden dialog - Removed the install console UI from the home panel (CSS, HTML, JS) since the AI chat is now the installation interface Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: use openclaw.json as the single install detection signal ~/.openclaw/openclaw.json is the definitive indicator that OpenClaw is installed and initialised. Removed multi-path binary search. - _update(): isInstalled = openclaw.json exists - _quickInstallCheck(): same single existsSync - FileSystemWatcher now watches openclaw.json specifically, not the whole dir - UI label updated to show the exact file being checked Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: event-driven install detection — no polling overhead - FileSystemWatcher on ~/.openclaw fires immediately on create/delete (catches install and full removal with zero latency) - Polling loop now runs a cheap existsSync fast-check every 10s instead of spawning the CLI process every 30s — no process overhead at all - Full _testOpenClawCli() spawn only triggered when fast-check detects a state change (rare), keeping CPU impact near zero Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: live install detection + co-pilot system prompt Detection: - onDidChangeViewState → re-runs _update() whenever panel becomes visible - Polling checks CLI status every 30s; if installed state changed, re-renders panel - isInstalled now requires a valid semver version string from the binary — a stale binary that exits 0 without printing a version no longer counts System prompt: - All modes: users are non-technical, never show commands to run manually - Agent mode: must use terminal tool to execute commands immediately - Normal mode: if a command is needed, direct user to Agent mode (⚡) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: website download links auto-update from latest GitHub release Split page into server + client components: - page.tsx: server component, fetches /repos/damoahdominic/occ/releases/latest via GitHub API, revalidates every 5 minutes - page-client.tsx: existing client component, now accepts downloadUrls prop - Falls back to /releases/latest if API is unreachable - No more hardcoded version numbers — every release is live automatically Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>