fix(web-access): 外部浏览器登录态按隔离 Profile 如实描述 / describe external login state as the isolated profile (#224)

## 变更 / Changes


web-access「两个浏览器」对比表中,外部浏览器一栏的「登录态」写着「就是用户本人的登录态,无需导入」。这与同一技能的其他描述矛盾:compatibility
字段、L3-external 定义、`BrowserExternalLaunch` 说明都写明外部浏览器运行在 DesireCore 隔离外部
Profile 中,客户端 `BrowserExternalProbe` 返回的 `launchCommand` 与
`BrowserExternalLaunch` 实际使用的也是 DesireCore 专属的
`--user-data-dir`。外部浏览器里的登录态来自用户在这个隔离 Profile 中的手工登录,不是日常使用的浏览器
Profile。Agent 加载技能后若照这一行回答,会对用户作出错误承诺。

- 中英两份正文改为与技能其他段落一致的口径(只改这一行;「用户能看到吗」一行描述的是可见窗口与随时接管,仍然成立,未改)。
- 版本 3.7.0 → 3.7.1(`SKILL.md` 与
`catalog-metadata.v1.json`),让已安装的内置副本能收到更新。
- 两个 locale 都是 `translated_by: human`:中文源与英文译文已人工同步,`source_hash` 按
`scripts/i18n/translate.py` 的 `compute_source_hash` 刷新。

In the two-browser comparison table, the external column said the login
state is "literally the user's own session — nothing to import". That
contradicts the rest of the skill: the compatibility field, the
L3-external definition and the `BrowserExternalLaunch` row all describe
a DesireCore-isolated external profile, and the client's Probe
`launchCommand` and `BrowserExternalLaunch` use a DesireCore-specific
`--user-data-dir`. The external login state is whatever the user signed
into manually in that isolated profile, not their everyday browser
profile.

- Both locales now match the wording used elsewhere in the skill (only
this row; the visibility row still holds and is unchanged).
- Version 3.7.0 → 3.7.1 in `SKILL.md` and `catalog-metadata.v1.json` so
installed built-in copies receive the fix.
- Both locales are human translations: they were synchronized manually
and `source_hash` was refreshed with `compute_source_hash` from
`scripts/i18n/translate.py`.

## 验证 / Validation

- `validate-i18n.py`:0 error(106 条既有 warning,与本改动无关)
- `validate_catalog_metadata.py --require-complete`:0 error
- `translate.py --check skills/web-access`:en-US human-locked,无过期;全仓
`--check` 无 stale
- 改动只含通用措辞,不涉及任何组织或客户信息

Validation: `validate-i18n.py` and `validate_catalog_metadata.py
--require-complete` report 0 errors (106 pre-existing warnings);
`translate.py --check` reports no stale locale. The change contains
generic wording only.

主仓内置种子将在本 PR 合入后通过 `npm run sync-market` 同步。
The main repository's built-in seed will be refreshed with `npm run
sync-market` after this merges.
This commit is contained in:
yige authored and GitHub committed 2026-10-24 21:08:27 +08:00
1 parent 4e9cc94ca2
commit 0679dcd8f2
3 files changed
+7 -7

No files matched your search

+5 -5
View File
@@ -15,7 +15,7 @@ description: >-
新闻、网址、URL、找一下、搜一下、查一下、小红书、B站、微博、飞书、Twitter、
推特、X、知乎、公众号、已登录、登录状态。
license: MIT
version: 3.7.0
version: 3.7.1
compatibility: Requires a DesireCore build with the bundled external-browser Playwright runtime; Chrome/Edge/Chromium remains separately installed. Builds advertising BrowserExternalLaunch can start it through tool approval in an isolated profile; older builds require manual CDP startup.
type: procedural
risk_level: low
@@ -45,7 +45,7 @@ provides:
- LocalBookmarks
metadata:
author: desirecore
updated_at: '2026-10-22'
updated_at: '2026-10-24'
i18n:
default_locale: en-US
source_locale: zh-CN
@@ -57,14 +57,14 @@ metadata:
short_desc: 联网搜索、网页抓取、内置受管浏览器登录态访问与取文、研究调研工作流
description: 联网访问工具包——搜索公开页面、Jina 优化抓取、内置受管浏览器完成登录态访问与取文,以及用户点名时接管他自己的 Chrome/Edge/Chromium。 外部浏览器需单独安装并满足其使用条款;提供启动工具的客户端可经审批启动,旧客户端需手动开启调试。 支持新客户端按显式路径审批启动系统浏览器;原生启动与 CDP 自动化就绪分别核验,依赖从随包资产离线准备。
body: ./SKILL.zh-CN.md
source_hash: sha256:5a3b56b621b6edc3
source_hash: sha256:9c55a2059eeb4bf1
translated_by: human
en-US:
name: Web Access
short_desc: Web search, page fetching, logged-in access via the governed built-in browser, research workflows
description: A web-access toolkit — search public pages, fetch heavy pages via Jina Reader, reach and read logged-in sites through the governed built-in browser, and drive the user's named Chrome/Edge/Chromium over CDP on request. The external browser is separately installed and subject to its usage terms; clients with the launch tool support approved startup, while older clients require manual debugging startup. New clients support approved native launch by explicit executable path; native startup and CDP automation readiness are verified separately, with automation dependencies prepared from bundled offline assets.
body: ./SKILL.md
source_hash: sha256:5a3b56b621b6edc3
source_hash: sha256:9c55a2059eeb4bf1
translated_by: human
market:
icon: >-
@@ -309,7 +309,7 @@ DesireCore can drive **two** browsers. They are peer options:
| | L3 built-in governed browser | L3-external — the user's own browser |
|---|---|---|
| What it is | A browser instance inside the app (the governed built-in browser tools) | The user-named Chrome/Edge/Chromium on their machine, opened through governed CDP tools and attached via isolated Python Playwright only for advanced interaction |
| Login state | Isolated; needs `browser.import.*` granted by the Host before `BrowserImport` can pull cookies | **Literally the user's own session** — nothing to import |
| Login state | Isolated; needs `browser.import.*` granted by the Host before `BrowserImport` can pull cookies | The login state the user established manually in the DesireCore-isolated external profile — not their everyday browser profile; nothing is imported |
| Can the user see it | Agent tabs are offscreen by default; must be presented to the workbench | **It's their own window** — visible throughout, theirs to take over |
| Prerequisite | None | `BrowserExternalProbe` must report `ready`; otherwise follow its exact status guidance |
| Default | ✅ yes | When the user names it |