chenjie1129/deepseek-harness-os-agent-plugin ↗★ 3
dsh-os-agent-plugin
提供火山引擎移动端Agent运行环境与配置界面 适合需要通过云手机实现自动化移动端操作和屏幕截图的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chenjie1129/deepseek-harness-os-agent-plugin說明文件
閱讀完整 README ↗Configuration
Configured under Settings → Plugins → OS Agent.
| Field | Notes |
|---|---|
| AccessKey / Secret Key | Default to the VOLC_ACCESSKEY and VOLC_SECRETKEY credential references; write-only in the browser |
| Product Id / PodId | Select the cloud-phone business and instance |
| Max steps | Integer, 1–500 (default 100) |
| Timeout | Seconds, 1–86,400 (default 120) |
| SystemPrompt | Optional extra instruction passed to Mobile Use |
| Show task screenshots | Off by default; captures step screenshots and shows validated attachments below status/result calls |
| TOS bucket / endpoint / region | Optional, but all three must be set together; required for screen recording |
The Volcengine account must have Mobile Use Agent enabled and permission to operate the configured cloud phone. TOS must be accessible when screen recording is requested.
Task screenshots
When Show task screenshots is on, new start requests set Volcengine's UseBase64Screenshot option. The plugin polls ListAgentRunCurrentStep in the background and preserves each distinct current-step snapshot as an ordered, visible task history. On completion it calls GetAgentResult with the documented IsDetail=true flag, which returns the run's complete ScreenShots collection rather than the default text-only result. The plugin accumulates and deduplicates those images, removes base64 and signed screenshot URLs from text output, validates PNG/JPEG/WebP/GIF bytes through Harness, and stores them as durable attachments.
When Volcengine returns a signed download URL instead of inline base64, the plugin downloads it server-side only over HTTPS from an allowlisted volces.com host, without forwarding credentials or the URL to the model. A bounded copy of validated preview data is persisted only in Tool presentation metadata for the clickable Web UI gallery; the model-facing Tool result remains text-only, so text-only DeepSeek adapters keep working. The result card shows both the ordered snapshots captured while the task ran and Volcengine's reported TotalSteps.
Volcengine's CallbackInfo is not a step-history or screenshot API: its documented callbacks report lifecycle status, failure, and interruption events. A callback receiver can be useful for a publicly reachable server, but it cannot replace IsDetail=true for screenshots or ListAgentRunCurrentStep snapshots for action history. This local Harness plugin therefore does not expose port 3080 as a public callback target.
The switch affects tasks started after it is enabled. Harness deployment image-count and byte limits still apply; the text result reports when images were absent, rejected, or capped. This feature is independent of screen_record and does not require TOS unless recording is also requested.