feat(workbuddy): WorkBuddy 功能优化 - #112
Merged
Merged
Conversation
Optimize the WorkBuddy plugin: - Start confirmation: a new @OpenGUI task opens the workbench first; the user signs in (unregistered numbers register automatically), picks the model from the top dropdown and an Android device with a live preview, then clicks 开始执行. Nothing is bound or operated before that. - Workbench: execution steps beside the phone (collapsible, scrollable, animated), run log with model thinking folded into the next device action, readable action names, takeover as pause / 恢复控制, report card and comment review; the workbench stays in view when a task ends and the chat ends with report links. - Models: admin-configured phone models via the backend catalog and proxy, per-model coordinate space (Qwen/Doubao 0-1000), retry on transient model failures. - Account service: the official CoreMate service is bundled by default (src/service-config.ts); OPENGUI_ACCOUNT_SERVICE_URL overrides it. The READMEs disclose the data sent and CLAUDE.md records the exception. - Reliability: Android 13+ clipboard overlay dismissal, empty-field readback proof, user-wait lease handling, structured error codes. - Dependencies: npm audit fix for fast-uri, hono and ip-address. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rence - Skip POSIX-only assertions on Windows: APK staged-file permission bits, the Linux sysfs fixture (interface names such as 1-2:1.0) and iOS simulator container-path identity tests (simulators are macOS-only). - smoke:packed reads the native simctl reference after packed discovery has started CoreSimulator, waits up to 60s, and reports a failed read instead of treating it as an empty simulator list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…packed discovery The reference read (60s timeout) runs first so a cold CoreSimulator start on CI cannot leave packed discovery empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…unavailable Hosted macOS runners can take minutes to start CoreSimulator. Wait up to 120s for the reference and, if it still cannot be read, log and skip only the iOS parity comparison instead of failing packaged startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A socket-heavy input diagnosis fixture takes about 1s locally but can exceed the 5s default on hosted Windows CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
WorkBuddy 插件功能优化。本 PR 只包含
workbuddy-plugin/,另加根目录CLAUDE.md中关于插件默认账号服务的说明;不涉及server/和deepseek-harness-plugin/。主要改动
src/service-config.ts,每次构建都会写入安装包;可用OPENGUI_ACCOUNT_SERVICE_URL改为其他服务。CLAUDE.md已记录这一例外。npm audit fix,升级 fast-uri、hono、ip-address 以修复中危漏洞。验证
npm run check:55 个测试文件、444 个用例,构建和发布校验均通过。npm run pack:release、scripts/test-publish.mjs、npm run test:native:通过。npm audit --omit=dev --audit-level=moderate:0 个漏洞。合并前建议
🤖 Generated with Claude Code