Skip to content

sync: merge main into release#7649

Merged
louis-jan merged 60 commits intorelease/v0.7.8from
sync/merge-main-into-release
Mar 7, 2026
Merged

sync: merge main into release#7649
louis-jan merged 60 commits intorelease/v0.7.8from
sync/merge-main-into-release

Conversation

@louis-jan
Copy link
Copy Markdown
Contributor

@louis-jan louis-jan commented Mar 7, 2026

Summary

This PR merges recent changes from main into the release/v0.7.8 branch.

Changes included

Features

  • feat: spawn openclaw in pre-installed bun (feat: spawn openclaw in pre-installed bun #7624) — Agent gateway now spawns on the bundled Bun runtime; Bun is prioritized over Node.js when using direct process mode. Fixes Linux path resolution for the Bun gateway binary.

Bug Fixes

UI / UX

Docs

  • Comprehensive Jan documentation update covering: local engines & servers, Hub, settings & API server, Jan CLI, providers, CC integration screenshots, file upload, model download management, and switching assistants in projects.

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

urmauur and others added 30 commits March 5, 2026 18:09
# Conflicts:
#	web-app/src/containers/dialogs/EnableProgressDialog.tsx
fix: conditional menu chat with agent
chore: auto download model, and remove default thread and project
Copilot AI review requested due to automatic review settings March 7, 2026 09:11
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 7, 2026

Preview URL: https://46bd6251.docs-9ba.pages.dev

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 7, 2026

Barecheck - Code coverage report

Total: 21.89%

Your code coverage diff: 0.01% ▴

✅ All code changes are covered

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR merges recent main-branch work into the release branch, primarily updating OpenClaw integration (runtime + model sync), adding agent-chat UX/shortcuts, and significantly restructuring/refreshing Desktop docs.

Changes:

  • Update OpenClaw status/config surfaces (rename node_versionruntime_version, pass Jan API key/base URL, sync model contextWindow, track OpenClaw running state in app store).
  • Add “New Agent Chat” entry points (sidebar item + keyboard shortcut) and adjust agent-mode UI behavior (especially around Projects).
  • Large docs IA/content refresh (new Integrations section, new pages/components, many page rewrites, and removal of old MCP examples pages).

Reviewed changes

Copilot reviewed 97 out of 138 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
web-app/src/utils/openclaw.ts Updates OpenClaw running-state handling and adds contextWindow to bulk model sync payloads.
web-app/src/types/openclaw.ts Renames status field to runtime_version.
web-app/src/routes/settings/remote-access.tsx Updates settings UI to display runtime version and adjusts OpenClaw card title key.
web-app/src/routes/settings/local-api-server.tsx Enforces minimum context size logic when starting server/models and refactors some layout.
web-app/src/providers/KeyboardShortcuts.tsx Adds NEW_AGENT_CHAT shortcut handling and adjusts “New Chat” behavior to clear agent mode.
web-app/src/locales/zh-TW/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/zh-CN/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/vn/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/ru/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/pt-BR/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/pl/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/ja/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/id/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/fr/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/en/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/de-DE/settings.json Adds new OpenClaw-related translation keys.
web-app/src/locales/cs/settings.json Adds new OpenClaw-related translation keys.
web-app/src/lib/shortcuts/types.ts Adds NEW_AGENT_CHAT action.
web-app/src/lib/shortcuts/const.ts Defines platform shortcut binding for NEW_AGENT_CHAT.
web-app/src/hooks/useAppState.ts Adds openClawRunning state and setter.
web-app/src/containers/dialogs/EnableProgressDialog.tsx Passes Jan base URL/API key into OpenClaw enable/config flows; updates runtime wording.
web-app/src/containers/SetupScreen.tsx Removes default thread/project seeding and auto-starts the “Quick Start” download flow.
web-app/src/containers/ChatInput.tsx Disables agent-mode UI in Projects and gates OpenClaw agent toggle behavior.
web-app/src/components/ui/textarea.tsx Adds wrap-anywhere to improve long-token wrapping.
web-app/src/components/left-sidebar/index.tsx Wraps download management + trigger for layout adjustments.
web-app/src/components/left-sidebar/NavMain.tsx Adds “New Agent Chat” nav item and OpenClaw availability gating; adjusts new chat behavior.
web-app/src/components/animated-icon/bot.tsx Introduces animated Bot icon for sidebar.
web-app/public/images/model-provider/xai.svg Replaces xAI provider icon asset.
web-app/package.json Bumps motion dependency version.
src-tauri/src/openclaw_cli.rs Adds --jan-api-key CLI argument to OpenClaw configure command.
src-tauri/src/main.rs Updates CLI status output label to “Runtime Version”.
src-tauri/src/core/openclaw/sandbox_direct.rs Refactors OpenClaw process spawning; adds Bun interpreter/shebang handling and fallback mode.
src-tauri/src/core/openclaw/models.rs Renames status field to runtime version; adds Jan API key + model context window to data models; updates error enums.
src-tauri/src/core/openclaw/mod.rs Adds OpenClaw runtime dir + bundled Bun resolution + PATH augmentation + node shim helpers.
src-tauri/src/core/openclaw/cli.rs Switches CLI management to use bundled Bun/openclaw bin when present; runtime version checks.
docs/src/pages/docs/desktop/settings.mdx Updates screenshots/paths and trims/restructures settings documentation.
docs/src/pages/docs/desktop/server-troubleshooting.mdx Updates logs access instructions and screenshots.
docs/src/pages/docs/desktop/server-settings.mdx Removes old server settings page.
docs/src/pages/docs/desktop/remote-models/openrouter.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/openai.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/mistralai.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/huggingface.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/groq.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/google.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/anthropic.mdx Updates provider screenshot reference.
docs/src/pages/docs/desktop/remote-models/_meta.json Removes Cohere entry; adds Azure OpenAI entry.
docs/src/pages/docs/desktop/remote-models/azure.mdx Adds new Azure OpenAI provider page.
docs/src/pages/docs/desktop/quickstart.mdx Rewrites quickstart flow and adds DocCards-based navigation.
docs/src/pages/docs/desktop/projects.mdx Adds new Projects page.
docs/src/pages/docs/desktop/model-parameters.mdx Renames to “Model Settings” and updates content/screenshots.
docs/src/pages/docs/desktop/manage-models.mdx Rewrites model management (Hub + engine cards + cloud provider cards).
docs/src/pages/docs/desktop/local-engine/mlx.mdx Adds MLX engine page.
docs/src/pages/docs/desktop/local-engine/llama-cpp.mdx Updates llama.cpp engine docs, screenshots, and backend IDs.
docs/src/pages/docs/desktop/local-engine/_meta.json Adds local-engine nav meta for llama-cpp + mlx.
docs/src/pages/docs/desktop/integrations/openclaw.mdx Adds OpenClaw integration/agents documentation.
docs/src/pages/docs/desktop/integrations/mcp-servers.mdx Adds MCP Servers integration page.
docs/src/pages/docs/desktop/integrations/claude-code.mdx Adds Claude Code integration page.
docs/src/pages/docs/desktop/integrations/_meta.json Adds Integrations nav meta.
docs/src/pages/docs/desktop/install/windows.mdx Rewrites Windows install page and introduces DownloadButton usage.
docs/src/pages/docs/desktop/install/mac.mdx Rewrites macOS install page and introduces DownloadButton usage.
docs/src/pages/docs/desktop/install/linux.mdx Rewrites Linux install page and introduces DownloadButton usage.
docs/src/pages/docs/desktop/install/_meta.json Adds install section nav meta.
docs/src/pages/docs/desktop/index.mdx Rewrites desktop overview and introduces DocCards-based entry points.
docs/src/pages/docs/desktop/file-upload.mdx Adds file upload documentation page.
docs/src/pages/docs/desktop/data-folder.mdx Updates data folder page content and examples.
docs/src/pages/docs/desktop/cli.mdx Adds Jan CLI documentation page.
docs/src/pages/docs/desktop/api-server.mdx Updates local API server page and screenshots.
docs/src/pages/docs/desktop/api-preference.mdx Adds API Reference page (OpenAI/Anthropic-compatible endpoints).
docs/src/pages/docs/desktop/agents.mdx Adds Agents page (OpenClaw-focused).
docs/src/pages/docs/desktop/_meta.json Reorganizes desktop docs navigation/sections.
docs/src/components/DownloadButton/index.tsx Adds DownloadButton component.
docs/src/components/DocCard/index.tsx Adds DocCard/DocCards components for docs navigation.
README.md Updates dev prerequisites (Yarn version, MetalToolchain note).
CONTRIBUTING.md Updates dev prerequisites (Yarn version, MetalToolchain note) and minor formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread web-app/src/components/animated-icon/bot.tsx
Comment thread web-app/src/routes/settings/local-api-server.tsx
Comment thread web-app/src/routes/settings/local-api-server.tsx
Comment thread src-tauri/src/core/openclaw/sandbox_direct.rs
Comment thread docs/src/pages/docs/desktop/data-folder.mdx
Comment thread docs/src/pages/docs/desktop/integrations/mcp-servers.mdx
Comment thread web-app/src/components/left-sidebar/NavMain.tsx
Comment thread web-app/src/components/left-sidebar/NavMain.tsx
Comment thread src-tauri/src/core/openclaw/cli.rs
@louis-jan louis-jan merged commit e85da6f into release/v0.7.8 Mar 7, 2026
19 of 20 checks passed
@louis-jan louis-jan deleted the sync/merge-main-into-release branch March 7, 2026 10:25
@github-project-automation github-project-automation Bot moved this to QA in Jan Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: QA

Development

Successfully merging this pull request may close these issues.

6 participants