mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 22:59:28 +08:00
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:
3 files changed
+7
-7
No files matched your search
@@ -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`;否则严格按结构化状态处理 |
|
||||
| 默认 | ✅ 是 | 用户点名时 |
|
||||
|
||||
Reference in new issue
Block a user