156 Commits

Author SHA1 Message Date
Leyang dec1d1c552 Merge pull request #45 from web-infra-dev/agent/use-harmony-launch-command
docs(harmony): use package launcher for app startup
2026-08-14 11:28:17 +08:00
quanru 3328147aa8 docs(harmony): use package launcher for app startup
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
2026-08-14 10:37:17 +08:00
Leyang 20b167c7c5 Merge pull request #39 from quanruzhuoxiu/agent/observe-cli-guidance
docs(skills): document foreground recording and recorded assertions
2026-08-05 20:42:47 +08:00
Leyang 773a09df58 Merge pull request #43 from web-infra-dev/docs/bridge-file-upload-permission
docs(browser): mention Bridge file upload permission
2026-08-03 16:28:31 +08:00
quanruzhuoxiu 5e49c34f8f docs(vitest): remove Bridge upload guidance 2026-08-03 15:47:23 +08:00
quanru 4227cfbfa4 docs(browser): mention Bridge file upload permission 2026-08-01 20:51:36 +08:00
Leyang 6a7496f431 docs(skills): document aiAct prompt-based file uploads
docs(skills): document aiAct prompt-based file uploads
2026-07-29 15:19:19 +08:00
Leyang ddfbd543dc Merge pull request #42 from web-infra-dev/zzy/skills-upload-directory-authorization
docs(skills): require upload directory authorization
2026-07-29 15:18:52 +08:00
EAGzzyCSL 4e4a09c058 docs(skills): require upload directory authorization 2026-07-29 12:39:17 +08:00
quanruzhuoxiu fee96bcd47 docs(skills): document file-backed recordings 2026-07-27 14:09:11 +08:00
quanruzhuoxiu ed18d7cde6 docs(skills): stop recordings with ctrl-c 2026-07-27 12:05:00 +08:00
quanruzhuoxiu be4ba56f79 docs(skills): split recording and assertion guidance 2026-07-27 11:17:58 +08:00
quanruzhuoxiu 7259c8d9e1 Merge branch 'main' into agent/observe-cli-guidance 2026-07-27 10:59:21 +08:00
Leyang 83bf1241d7 Merge pull request #40 from quanruzhuoxiu/agent/cdp-extra-http-headers
docs(skills): document CDP request headers
2026-07-24 14:17:54 +08:00
quanruzhuoxiu 1e682e3f72 docs(browser): use repeated CDP header flags 2026-07-24 11:21:59 +08:00
quanruzhuoxiu 05d0c98afb docs(skills): document CDP request headers 2026-07-23 19:35:20 +08:00
quanruzhuoxiu 22e7955511 Document observe CLI workflows 2026-07-22 20:21:52 +08:00
quanruzhuoxiu 563fc1f79c docs(skills): document aiAct file uploads 2026-07-21 11:01:48 +08:00
Leyang 6a364ecc37 Merge pull request #37 from web-infra-dev/docs/assert-message-flag
docs: document assert --message flag across automation skills
2026-06-08 15:52:46 +08:00
Leyang 45d15462ae Merge pull request #36 from web-infra-dev/feat/deep-locate-deep-think-flags
docs: document --deep-locate / --deep-think flags in device skills
2026-06-08 14:23:36 +08:00
quanru 22bee34586 docs: drop version annotation from assert --message note 2026-06-05 16:31:50 +08:00
quanru bbf4ad3038 docs: document assert --message flag across automation skills
Adds the optional --message flag (custom failure message) to the assert
command docs for ios, android, web, computer, and harmony automation
skills, matching the CLI/MCP support added in web-infra-dev/midscene#2604
(issue #2351).
2026-06-05 16:01:58 +08:00
Leyang a9211f4bd5 Merge pull request #34 from web-infra-dev/docs/bridge-mode-clarify
docs(browser): clarify bridge mode handshake direction
2026-06-05 14:59:12 +08:00
quanru 1c7cb74130 docs: drop VL-model requirement note from deep locate 2026-06-05 14:52:39 +08:00
quanru ac6f5893e6 docs: document --deep-locate / --deep-think flags in device skills
Add an "Improve Precision (Deep Locate / Deep Think)" section to the five
device skills (browser, android, ios, computer, harmony) so agents know how
to recover from location drift / offset and improve act planning.

These global CLI flags are now supported by the device CLIs (and MCP) — see
web-infra-dev/midscene#2446. Deep locate requires a visual-language model.
2026-06-05 13:11:46 +08:00
quanru b2b55dcc7e docs(browser): clarify bridge mode handshake and drop misleading precheck
The previous "bridge precheck" curl claimed to check whether the
extension was listening on 127.0.0.1:3766. That's the wrong direction:
in bridge mode the CLI starts the server on 3766, and the extension is
the client that connects in. The check therefore always failed before
the CLI was started and gave a false negative for a perfectly working
setup.

- Remove the bridge precheck from the precheck section and explain why
  bridge has no usable precheck, plus what log lines to watch instead.
- Document the CLI-as-server handshake direction in the Bridge mode
  important notes, including what the "Listening" indicator actually
  means in the extension UI.
- Add the active-tab caveat: chrome://, chrome-extension://, and the
  Chrome Web Store cannot be operated by the extension and surface as
  "Cannot access a chrome:// URL".
- Clarify connect/connect --url behavior in bridge mode (operates on
  current tab, does not open a new tab).
- Broaden the "Chrome" wording to "Chrome or any Chromium-based browser
  that supports Chrome extensions (Edge, Arc, Dia, ...)".
2026-06-05 09:43:41 +08:00
yuyutaotao 2be5ec2b3f Merge pull request #33 from web-infra-dev/codex/android-scrcpy-cli-skill
[codex] Update Android scrcpy CLI skill guidance
2026-05-28 14:52:06 +08:00
ottomao 77896a6afe docs: update android scrcpy cli guidance 2026-05-26 16:54:09 +08:00
Leyang a47db3a5af Merge pull request #32 from web-infra-dev/docs/cli-assert-image-prompt
docs(skills): document assert --images on platform CLIs
2026-05-25 16:21:51 +08:00
quanru 2a21a7bb3b docs(skills): switch assert image examples to --image/--image-name pairs
The CLI shape that lands in @midscene/*@1.9.0 was reshaped from a
single `--images JSON` flag into paired `--image` / `--image-name`
flags so agents don't need to assemble JSON in their shells (see
web-infra-dev/midscene#2523). Update the assert examples in each
platform SKILL.md (android / ios / harmony / browser / computer) to
the released flag shape and add a multi-image example showing how
repeated `--image` and `--image-name` pair by position.

The version pin is unchanged — the API redesign rides on the same
unreleased 1.9.0 cut as the original `--images` work.
2026-05-25 14:39:21 +08:00
quanru fbcfff3eb0 docs(skills): document assert --images on platform CLIs
The platform CLIs (@midscene/android, @midscene/ios, @midscene/harmony,
@midscene/web, @midscene/computer) gained multimodal `--images` and
`--convertHttpImage2Base64` flags on the `assert` subcommand. Add a short
example block to each platform SKILL.md right after the basic
`assert --prompt` examples, mirroring the existing `tap --locate` image
guidance. Each example notes the @1.9.0+ version requirement so agents
following the skill against older releases get a clear pointer instead
of a silent "Unknown option" failure.

The vitest-midscene-e2e skill is left untouched because it explicitly
funnels users through `aiAct` rather than `aiAssert`.
2026-05-21 18:51:19 +08:00
Leyang e3df695192 Merge pull request #31 from web-infra-dev/docs/ios-external-wda-session-skill
docs(ios): document external WDA session option
2026-05-21 11:44:58 +08:00
quanru d23b4202f1 ci(workflow): pin skill check actions 2026-05-21 11:42:18 +08:00
quanru 0b423fc321 docs(ios): document external WDA session option 2026-05-21 11:30:41 +08:00
Leyang 129f9a1fce Merge pull request #29 from web-infra-dev/feat/computer-skill-rdp
docs(computer): document RDP mode in computer-automation skill
2026-05-13 19:04:02 +08:00
quanru 8131d0b200 docs(computer): refine RDP guidance with verification findings
After end-to-end CLI verification against a real RDP host, sharpen the
RDP section to reflect what users actually hit:

- Clarify `--desktop-width/--desktop-height` are requests, not guarantees;
  point at `listdisplays --host ...` to confirm the negotiated size.
- Distinguish `list_displays` (platform tool, local-only) from
  `listdisplays` (action tool, RDP-aware), so users know which to call
  in RDP mode.
- Document latency expectations per CLI invocation (~5 s cold start for
  non-AI commands; 8–20 s for `act`/`assert`/`tap --locate`).
- Add connect-failure diagnostics: first stderr line is the actionable
  error (`connect_failed: ERRCONNECT_*`); enumerate common causes and
  fixes.
- Remind callers that every subsequent CLI command must repeat the
  `--host/--username/--password` flags since each invocation is stateless.
2026-05-13 18:53:57 +08:00
quanru b6d9023b57 docs(computer): document RDP mode in computer-automation skill
Add a dedicated "Connect via RDP" subsection that lists every RDP
flag exposed by `@midscene/computer@1 connect` (host, port, username,
password, domain, security-protocol, ignore-certificate, admin-session,
desktop-width, desktop-height), shows a minimum example, and calls out
mode-specific differences (displayId/list_displays semantics, helper
binary, credential hygiene). Update the SKILL.md description and
triggers so RDP/remote-desktop intents route to this skill.
2026-05-12 19:32:32 +08:00
yuyutaotao 70c325067b Merge pull request #28 from web-infra-dev/feat/skills-for-assertion
update skills for computer
2026-05-12 18:59:22 +08:00
ottomao bcb6e21a75 Merge branch 'main' into feat/skills-for-assertion 2026-05-12 18:57:06 +08:00
ottomao 600c6c1dd8 update skills for desktop 2026-05-12 18:56:55 +08:00
yuyutaotao f36878ba95 Merge pull request #27 from web-infra-dev/feat/skills-for-assertion
update skills for ui assertion
2026-04-29 19:03:23 +08:00
ottomao d30bb28095 update skills for ui assertion 2026-04-29 17:40:05 +08:00
yuyutaotao 636e6263a0 Merge pull request #26 from web-infra-dev/codex/add-npx-y-to-skill-examples
docs: add -y to npx examples in skills
2026-04-20 15:38:37 +08:00
quanruzhuoxiu cf31254f9c docs: add -y to npx examples in skills 2026-04-20 15:25:38 +08:00
Otto Mao f5b8486b17 Merge pull request #25 from web-infra-dev/feat/skills-for-report-tool
add skills for report-tool
2026-04-09 10:42:46 +08:00
ottomao 87f1ace37f add skills for report-tool 2026-04-08 19:52:48 +08:00
Otto Mao 62aed9a4af Merge pull request #24 from web-infra-dev/codex/computer-minimize-not-close
[codex] add minimize-only window rule to computer skill
2026-04-03 16:44:18 +08:00
quanruzhuoxiu 95fcc7adde docs: add minimize-only rule for computer skill 2026-04-03 16:34:00 +08:00
Otto Mao 9b4ac6f12b Merge pull request #23 from web-infra-dev/feat/auto-launch-chrome-on-precheck-fail
feat: auto-launch Chrome when CDP/Bridge precheck fails
2026-04-02 16:34:38 +08:00
quanruzhuoxiu 66b26c8315 feat: auto-launch Chrome when CDP/Bridge precheck fails
Instead of immediately falling back to Puppeteer mode when both CDP and
Bridge prechecks fail, try opening Chrome first using a platform-appropriate
shell command, wait briefly, then re-run the precheck before falling back.
2026-04-01 19:57:45 +08:00