@mearl/provider 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/package.json +3 -3
package/README.en.md
CHANGED
|
@@ -218,7 +218,7 @@ as advertised by the Extension. The current Extension exposes only time zones.
|
|
|
218
218
|
The channel applies domain authorization and page-control conflict checks without registering automation pages or granting ordinary page actions, arbitrary code execution, or closure.
|
|
219
219
|
Independent packages use `@mearl/provider-<id>`. EgoLite has native Space management and human handoff. The [mearl-ego Skill](../../skills/mearl-ego/SKILL.md) uses existing tools with the Mearl extension for simulation and debugging, without this Provider enhancement channel.
|
|
220
220
|
|
|
221
|
-
Implement read-only `getEnhancementTarget({ browserId, tabId }, context)`.
|
|
221
|
+
Implement read-only `getEnhancementTarget({ browserId, tabId }, context)`. When a user controls the page, return
|
|
222
222
|
`{ tabId, ready: false }`; when Agent control is confirmed, return
|
|
223
223
|
`{ tabId, ready: true, mainFrameId, url }`. A current physical `targetId` may replace `mainFrameId`.
|
|
224
224
|
Identity must come from the current browser target. When both are given, the host verifies both. Target-ID-only mode requires host target verification support.
|
package/README.md
CHANGED
|
@@ -218,7 +218,7 @@ Extension 的环境增强,依次调用 `bind`、`invoke`、`release`。这条
|
|
|
218
218
|
它沿用域授权和现有页面控制冲突检查,不登记自动化页面,不提供普通页面操作、任意代码执行或关闭权限。
|
|
219
219
|
独立 Provider 包使用 `@mearl/provider-<id>` 命名。EgoLite 已有原生 Space 管理和人工交接,通过 [mearl-ego Skill](../../skills/mearl-ego/SKILL.md) 配合 Mearl 扩展进行端模拟与调试;该流程直接调用现有工具,不使用本节的 Provider 增强通道。
|
|
220
220
|
|
|
221
|
-
实现必须提供只读的 `getEnhancementTarget({ browserId, tabId }, context)
|
|
221
|
+
实现必须提供只读的 `getEnhancementTarget({ browserId, tabId }, context)`:页面由用户控制时返回
|
|
222
222
|
`{ tabId, ready: false }`;确认 Agent 可操作时返回
|
|
223
223
|
`{ tabId, ready: true, mainFrameId, url }`,也可用当前物理 `targetId` 代替 `mainFrameId`。
|
|
224
224
|
身份必须来自当前浏览器目标;提供两项时,当前宿主同时核验两项。仅提供 target ID 时,需要宿主具备相应的目标核验能力。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/provider",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Unified contracts and runtime utilities for built-in and external Mearl browser providers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"registry": "https://registry.npmjs.org"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@mearl/
|
|
40
|
-
"@mearl/
|
|
39
|
+
"@mearl/browser-core": "3.0.1",
|
|
40
|
+
"@mearl/daemon-core": "3.0.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^24.9.1",
|