• edy's avatar
    fix(ui): show specific error reason when expert chat is not ready · 656a0cbd
    edy authored
    When ensureChatAvailable fails for expert mode, the error message
    previously used chatStatusMessage which shows "聊天服务已就绪" when
    the runtime/gateway are healthy — misleading the user when the real
    issue is project-level readiness (projectReady=false or missing
    currentProjectId).
    
    Now the error message identifies the actual failure:
    - 项目工作区未就绪 when projectReady is false
    - 未选择项目 when currentProjectId is missing
    - 本地运行时未就绪 when runtime is not running
    - 网关未连接 when gateway is not connected
    - Falls back to the original chatStatusMessage for uncovered cases
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    656a0cbd
Name
Last commit
Last update
apps Loading commit data...
build Loading commit data...
docs-new Loading commit data...
packages Loading commit data...
skills Loading commit data...
vendor/openclaw-runtime Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AGENTS.md Loading commit data...
CLAUDE.md Loading commit data...
README.md Loading commit data...
package.json Loading commit data...
pnpm-lock.yaml Loading commit data...
pnpm-workspace.yaml Loading commit data...
tsconfig.base.json Loading commit data...