From 0679dcd8f2f1b9a7f511209d872cb08a46c51f67 Mon Sep 17 00:00:00 2001 From: Yige Date: Sat, 24 Oct 2026 21:08:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(web-access):=20=E5=A4=96=E9=83=A8=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=99=A8=E7=99=BB=E5=BD=95=E6=80=81=E6=8C=89=E9=9A=94?= =?UTF-8?q?=E7=A6=BB=20Profile=20=E5=A6=82=E5=AE=9E=E6=8F=8F=E8=BF=B0=20/?= =?UTF-8?q?=20describe=20external=20login=20state=20as=20the=20isolated=20?= =?UTF-8?q?profile=20(#224)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 变更 / 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. --- skills/web-access/SKILL.md | 10 +++++----- skills/web-access/SKILL.zh-CN.md | 2 +- skills/web-access/catalog-metadata.v1.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/skills/web-access/SKILL.md b/skills/web-access/SKILL.md index e0140d1..8d96a20 100644 --- a/skills/web-access/SKILL.md +++ b/skills/web-access/SKILL.md @@ -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 | diff --git a/skills/web-access/SKILL.zh-CN.md b/skills/web-access/SKILL.zh-CN.md index b6f4284..b1e9714 100644 --- a/skills/web-access/SKILL.zh-CN.md +++ b/skills/web-access/SKILL.zh-CN.md @@ -198,7 +198,7 @@ DesireCore 能驱动**两个**浏览器,它们是平级的选项: | | L3 内置受管浏览器 | L3-external 用户自己的浏览器 | |---|---|---| | 是什么 | 应用内的浏览器实例(内置受管浏览器工具) | 用户点名的 Chrome/Edge/Chromium;简单打开走受治理 CDP 工具,高级交互才经隔离 Python Playwright 接管 | -| 登录态 | 独立隔离;需 Host 授予 `browser.import.*` 才能用 `BrowserImport` 导 Cookie | **就是用户本人的登录态**,无需导入 | +| 登录态 | 独立隔离;需 Host 授予 `browser.import.*` 才能用 `BrowserImport` 导 Cookie | DesireCore 隔离外部 Profile 中由用户手工登录形成的状态,不是日常使用的浏览器 Profile;不导入任何内容 | | 用户能看到吗 | Agent 开的标签页默认离屏,需展示到工作台 | **就在用户自己的窗口里**,他能全程看着、随时接管 | | 前置条件 | 无 | `BrowserExternalProbe` 必须返回 `ready`;否则严格按结构化状态处理 | | 默认 | ✅ 是 | 用户点名时 | diff --git a/skills/web-access/catalog-metadata.v1.json b/skills/web-access/catalog-metadata.v1.json index 421be1c..612c6d0 100644 --- a/skills/web-access/catalog-metadata.v1.json +++ b/skills/web-access/catalog-metadata.v1.json @@ -32,7 +32,7 @@ }, "release": { "state": "known", - "version": "3.7.0", + "version": "3.7.1", "versionScheme": "semver" }, "timestamps": {