@deepseek-ai/dsh-cua-bundle 0.2.2-rc.1 → 0.2.2-rc.2
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.i18n.yaml +6 -6
- package/README.md +5 -5
- package/README.zh.md +5 -5
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js.map +1 -0
- package/package.json +8 -6
- package/src/index.ts +2 -0
package/README.i18n.yaml
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
en: 9084fb48d0f6489c
|
|
10
10
|
zh: ce692972d91cf663
|
|
11
11
|
/deepseek-ai-dsh-cua-bundle/summary:
|
|
12
|
-
en:
|
|
13
|
-
zh:
|
|
12
|
+
en: 0d93f44a8ce7404c
|
|
13
|
+
zh: 6a73ed42d0efc9ea
|
|
14
14
|
/deepseek-ai-dsh-cua-bundle/table-of-contents:
|
|
15
15
|
en: b563e4ec4727d0de
|
|
16
16
|
zh: d0228da978238e05
|
|
17
17
|
/deepseek-ai-dsh-cua-bundle/use-this-package:
|
|
18
|
-
en:
|
|
19
|
-
zh:
|
|
18
|
+
en: 5c025a58990bb2eb
|
|
19
|
+
zh: c3d1280ccbdfe214
|
|
20
20
|
/deepseek-ai-dsh-cua-bundle/understand-the-implementation:
|
|
21
21
|
en: b1011db52cfc17cd
|
|
22
22
|
zh: 6fa8798fedc5c0b6
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
en: 417c40acd93df532
|
|
40
40
|
zh: 69cc5cf7140c75a9
|
|
41
41
|
/deepseek-ai-dsh-cua-bundle/known-limitations-and-deferred-work:
|
|
42
|
-
en:
|
|
43
|
-
zh:
|
|
42
|
+
en: 559776e398bb7c47
|
|
43
|
+
zh: 27adfd2cacad1ee6
|
|
44
44
|
/deepseek-ai-dsh-cua-bundle/known-limitations-and-deferred-work/dev-note:
|
|
45
45
|
en: 0a1253c6f7b5e8b9
|
|
46
46
|
zh: ce96645b3e75874e
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
Enable macOS Computer Use from Plugins for existing and new PTC sessions. Windows support is in development. This bundle remains in `experimental` until that support is complete, then moves to the `computer-use` group. It
|
|
12
|
+
Enable macOS Computer Use from Plugins for existing and new PTC sessions. Windows support is in development. This bundle remains in `experimental` until that support is complete, then moves to the `computer-use` group. It ships with DSH switched off and appears in the Experimental plugins list on macOS Hosts; disabled profiles prepare no native components and register neither CUA tools nor their model guidance.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@ Enable macOS Computer Use from Plugins for existing and new PTC sessions. Window
|
|
|
24
24
|
<a id="use-this-package"></a>
|
|
25
25
|
## Use this package
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
On macOS, open **Plugins → More** and switch on **Computer use** in the Experimental plugins list. The bundle ships with DSH and updates with it, so enabling it downloads nothing. Published packages contain the signed and notarized helper; users need no compiler. Source Web and development Desktop prepare an ad-hoc helper when enabled. Open its details, choose PTC if needed, and grant Accessibility and Screen Recording to `DSH Computer Use.app`. An enabled bundle also appears in the main plugin list; switching it off returns it to the Experimental plugins list only. For source Web, run these commands from the repository root:
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
30
|
pnpm run build
|
|
@@ -33,11 +33,11 @@ pnpm dsh web
|
|
|
33
33
|
|
|
34
34
|
For the source Desktop launcher and its separate development profile, follow [Desktop development](../../../apps/desktop/README.md). Enable Computer Use in each profile that needs it.
|
|
35
35
|
|
|
36
|
-
The switch saves bundle selection in the profile’s `package.json`. Computer Use is installed only in PTC sessions. Enabling through
|
|
36
|
+
The switch saves bundle selection in the profile’s `package.json`. Computer Use is installed only in PTC sessions. Enabling through its card or detail page offers setup guidance when system permissions need attention. The detail page offers **Set to PTC** for the new-session default; existing sessions keep their preset. The switch leaves PTC execution mode and other settings unchanged. The detail page’s **Use persistent mode** action separately enables in-memory state across PTC calls; its effects and reload behavior are described in the [permission page](../cua/README.md). Native preparation runs when the provider loads and reuses the source-hashed executable when available.
|
|
37
37
|
|
|
38
38
|
Disabling unloads the provider and withdraws CUA tools from its Agent scopes. Runtime configuration, the new-session default and saved grants remain.
|
|
39
39
|
|
|
40
|
-
Computer Use is available only on a macOS DSH Host. The native provider is an optional dependency installed only on macOS;
|
|
40
|
+
Computer Use is available only on a macOS DSH Host. The native provider is an optional dependency installed only on macOS; shared CUA and Client packages remain in the installation. Other Hosts hide the bundle from default plugin lists and model recommendations and refuse enablement before saving settings. Explicit profile dependencies and saved selections remain visible for management. An already selected bundle is skipped at startup with a diagnostic and remains available for deselection; saved user settings remain. A browser on another operating system can connect to a supported Mac Host.
|
|
41
41
|
|
|
42
42
|
If preparation fails, the saved selection remains and CUA operations stay unavailable. Refresh or reopen the plugin page to read the component diagnostic, correct its cause, then restart DSH.
|
|
43
43
|
|
|
@@ -85,7 +85,7 @@ CUA activation and removal change the PTC SDK and system guidance; subsequent re
|
|
|
85
85
|
|
|
86
86
|
<a id="known-limitations-and-deferred-work"></a>
|
|
87
87
|
|
|
88
|
-
-
|
|
88
|
+
- System permissions require the user’s approval in macOS; enabling the bundle does not grant them.
|
|
89
89
|
- PTC execution is shared by the profile and is configured independently. A Host without HMR applies saved changes at restart.
|
|
90
90
|
|
|
91
91
|
<a id="dev-note"></a>
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-bundle"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
从插件页为已有和新建 PTC 会话开启 macOS Computer Use。Windows 支持正在开发中。本组合包暂放在 `experimental`,待 Windows 支持完成后迁回 `computer-use`
|
|
12
|
+
从插件页为已有和新建 PTC 会话开启 macOS Computer Use。Windows 支持正在开发中。本组合包暂放在 `experimental`,待 Windows 支持完成后迁回 `computer-use` 组。随 DSH 提供且默认关闭,在 macOS Host 的实验性插件列表中显示;关闭时不准备本机组件、不注册 CUA 工具或添加其模型指引。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@ kind: "package-bundle"
|
|
|
24
24
|
<a id="use-this-package"></a>
|
|
25
25
|
## 使用本包
|
|
26
26
|
|
|
27
|
-
在 macOS
|
|
27
|
+
在 macOS 上打开“插件 → 更多”,在实验性插件列表中开启 Computer Use。组合包随 DSH 提供并随之升级,开启时无需下载。发布包包含已签名和公证的 helper,用户无需编译工具。源码 Web 和开发 Desktop 在开启时准备临时签名的 helper。打开它的详情,按需设置 PTC,并为 `DSH Computer Use.app` 授予辅助功能和屏幕录制权限。开启后组合包也会出现在插件主列表中,关闭后只留在实验性插件列表。源码 Web 在仓库根目录运行以下命令:
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
30
|
pnpm run build
|
|
@@ -33,11 +33,11 @@ pnpm dsh web
|
|
|
33
33
|
|
|
34
34
|
源码 Desktop 的启动方式和独立开发配置档见[桌面开发说明](../../../apps/desktop/README.zh.md)。需要使用 Computer Use 的配置档分别开启该功能。
|
|
35
35
|
|
|
36
|
-
开关将组合包选择保存到 profile 的 `package.json`。Computer Use 仅安装在 PTC
|
|
36
|
+
开关将组合包选择保存到 profile 的 `package.json`。Computer Use 仅安装在 PTC 会话中。通过卡片或详情页启用时,系统权限未就绪会显示设置引导。详情页提供“设为 PTC”按钮来修改新会话默认模式,已有会话保留原 preset。开关保持 PTC 执行方式和其他设置不变。详情页的“设为持久化”按钮单独开启 PTC 跨调用的内存状态保留,作用范围和重载行为见[权限页面](../cua/README.zh.md)。提供方加载时准备本机组件,已有与源码摘要匹配的可执行文件时直接复用。
|
|
37
37
|
|
|
38
38
|
关闭会卸载提供方,并从其 Agent 作用域中撤回 CUA 工具。执行器配置、新会话默认值和已保存的授权保留。
|
|
39
39
|
|
|
40
|
-
Computer Use 仅支持 macOS DSH Host。原生提供方是仅在 macOS
|
|
40
|
+
Computer Use 仅支持 macOS DSH Host。原生提供方是仅在 macOS 安装的可选依赖,共享 CUA 和 Client 包仍随安装提供。其他 Host 默认不在插件列表和模型推荐中展示此组合包,并在保存设置前拒绝启用。profile 显式安装的依赖和已保存的选择仍保留管理入口。已选中的组合包会在启动时跳过并报告原因,仍可取消选择;已保存的用户设置保留。其他操作系统上的浏览器可以连接受支持的 Mac Host。
|
|
41
41
|
|
|
42
42
|
准备失败时,已保存的选择保留,CUA 操作不可用。刷新或重新打开插件页查看组件诊断,修复后重启 DSH。
|
|
43
43
|
|
|
@@ -85,7 +85,7 @@ CUA 生效和卸载会改变 PTC SDK 与系统指引,后续请求使用更新
|
|
|
85
85
|
|
|
86
86
|
<a id="known-limitations-and-deferred-work"></a>
|
|
87
87
|
|
|
88
|
-
-
|
|
88
|
+
- 系统权限需用户在 macOS 中确认,开启组合包不会自动授予权限。
|
|
89
89
|
- PTC 执行方式由 profile 共享,需单独配置。未启用 HMR 的 Host 在重启时应用已保存的变更。
|
|
90
90
|
|
|
91
91
|
<a id="dev-note"></a>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-cua-bundle",
|
|
3
3
|
"description": "Optional macOS Computer Use and permission setup",
|
|
4
|
-
"version": "0.2.2-rc.
|
|
4
|
+
"version": "0.2.2-rc.2",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -30,12 +30,14 @@
|
|
|
30
30
|
"docs",
|
|
31
31
|
"lib/index.js",
|
|
32
32
|
"cordis.patch.yml",
|
|
33
|
-
"lib/types/**/*.d.ts"
|
|
33
|
+
"lib/types/**/*.d.ts",
|
|
34
|
+
"lib/types/**/*.d.ts.map",
|
|
35
|
+
"lib/**/*.js.map",
|
|
36
|
+
"src"
|
|
34
37
|
],
|
|
35
38
|
"license": "MIT",
|
|
36
39
|
"dsh": {
|
|
37
40
|
"bundle": {
|
|
38
|
-
"listedByDefault": false,
|
|
39
41
|
"patch": "./cordis.patch.yml",
|
|
40
42
|
"platforms": [
|
|
41
43
|
"darwin"
|
|
@@ -43,8 +45,8 @@
|
|
|
43
45
|
}
|
|
44
46
|
},
|
|
45
47
|
"dependencies": {
|
|
46
|
-
"@deepseek-ai/dsh-computer-use": "0.2.2-rc.
|
|
47
|
-
"@deepseek-ai/dsh-cua": "0.2.2-rc.
|
|
48
|
+
"@deepseek-ai/dsh-computer-use": "0.2.2-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-cua": "0.2.2-rc.2"
|
|
48
50
|
},
|
|
49
51
|
"peerDependencies": {
|
|
50
52
|
"@deepseek-ai/cordis": "~4.1.0"
|
|
@@ -56,6 +58,6 @@
|
|
|
56
58
|
"@deepseek-ai/cordis-plugin-loader": "~1.1.0"
|
|
57
59
|
},
|
|
58
60
|
"optionalDependencies": {
|
|
59
|
-
"@deepseek-ai/dsh-experimental-cua-macos": "0.2.2-rc.
|
|
61
|
+
"@deepseek-ai/dsh-experimental-cua-macos": "0.2.2-rc.2"
|
|
60
62
|
}
|
|
61
63
|
}
|
package/src/index.ts
ADDED