diff --git a/packages/client/ui-plugin-manager/README.i18n.yaml b/packages/client/ui-plugin-manager/README.i18n.yaml index 59210c7cf4..6df591a84c 100644 --- a/packages/client/ui-plugin-manager/README.i18n.yaml +++ b/packages/client/ui-plugin-manager/README.i18n.yaml @@ -33,8 +33,8 @@ en: e9da90f03691101b zh: 902cda935a4ce3c8 /deepseek-ai-dsh-client-ui-plugin-manager/use-this-package/detail-page-extension-points: - en: c7cd3de96e538815 - zh: ca603c132c0885fb + en: 651eb33f2e1c5c42 + zh: ba679af009805c3e /deepseek-ai-dsh-client-ui-plugin-manager/use-this-package/page-tabs: en: fc469bab4fbd6028 zh: 8f5a04e1b9a46471 diff --git a/packages/client/ui-plugin-manager/README.md b/packages/client/ui-plugin-manager/README.md index a17f8baf53..6f900ca168 100644 --- a/packages/client/ui-plugin-manager/README.md +++ b/packages/client/ui-plugin-manager/README.md @@ -110,7 +110,7 @@ ctx.slots.inject('plugins.detail.section', () => ctx.slots.register({ A row's page exists only while a `plugins.row.config` entry names the row, so a contribution meant for a row renders on the page that configuration opens. -Component lists and detail pages show current startup diagnostics from the Host inventory. The diagnostic remains visible after reopening the page and disappears when the component recovers. +Component lists and detail pages show current startup diagnostics from the Host inventory. The diagnostic remains visible after reopening the page and disappears when the component recovers. Component and source rows use the shared l3 separator color. ### Page tabs diff --git a/packages/client/ui-plugin-manager/README.zh.md b/packages/client/ui-plugin-manager/README.zh.md index 23b36bb372..5f269f064c 100644 --- a/packages/client/ui-plugin-manager/README.zh.md +++ b/packages/client/ui-plugin-manager/README.zh.md @@ -110,7 +110,7 @@ ctx.slots.inject('plugins.detail.section', () => ctx.slots.register({ 行页只在某个 `plugins.row.config` 条目点名这一行时存在,因此给行的贡献渲染在该配置打开的页面上。 -组件列表和详情页显示 Host 清单中的当前启动诊断。重新打开页面后仍能看到原因,组件恢复后诊断消失。 +组件列表和详情页显示 Host 清单中的当前启动诊断。重新打开页面后仍能看到原因,组件恢复后诊断消失。 组件列表与来源信息使用共享 l3 分割线颜色。 ### 页面标签页 diff --git a/packages/client/ui-plugin-manager/src/client/PluginManagerPage.module.css b/packages/client/ui-plugin-manager/src/client/PluginManagerPage.module.css index 6e779d10df..1c6d1213f2 100644 --- a/packages/client/ui-plugin-manager/src/client/PluginManagerPage.module.css +++ b/packages/client/ui-plugin-manager/src/client/PluginManagerPage.module.css @@ -1525,7 +1525,7 @@ label.registryOption { gap: 16px; min-height: 44px; padding: 8px 2px; - border-bottom: 0.5px solid var(--dsw-alias-border-l2); + border-bottom: 0.5px solid var(--dsw-alias-border-l3); } .facts dt { @@ -1570,7 +1570,7 @@ label.registryOption { .row { padding: 12px 2px; - border-bottom: 0.5px solid var(--dsw-alias-border-l2); + border-bottom: 0.5px solid var(--dsw-alias-border-l3); } .row:last-child { diff --git a/packages/experimental/cua/README.i18n.yaml b/packages/experimental/cua/README.i18n.yaml index 063f5b0005..762d055260 100644 --- a/packages/experimental/cua/README.i18n.yaml +++ b/packages/experimental/cua/README.i18n.yaml @@ -18,8 +18,8 @@ en: db09ea66bf04180c zh: 9b3a573e83443482 /deepseek-ai-dsh-cua/use-this-package/permission-controls: - en: d09b38ae381f92b0 - zh: f169fbfb4828a842 + en: 6b4b3ae85c92d3df + zh: 501807b4e7c7a434 /deepseek-ai-dsh-cua/understand-the-implementation: en: be463bdd095cc2a9 zh: 23248be7a2f0b1db diff --git a/packages/experimental/cua/README.md b/packages/experimental/cua/README.md index 16449b82cc..f5d2bd73b3 100644 --- a/packages/experimental/cua/README.md +++ b/packages/experimental/cua/README.md @@ -43,6 +43,8 @@ Actions return `dispatched:true, verified:false`; read fresh state to verify the ### Permission controls +Permission groups use the shared l3 border color and 32px section spacing, matching the plugin page’s component and source sections. + The [Computer Use bundle](../cua-bundle/README.md) mounts this page with its native provider. **Authorize computer use** groups the new-session default, PTC execution mode, Accessibility, and Screen Recording inside one border, with dividers between the rows. Each system-permission row shows the system-reported responsible application’s `.app` bundle filename and icon together in a bordered label. **Manage applications computer use can access** places the application lists inside a separate bordered group. Choose **Request permission**, find that application in the macOS permission list, and enable its switch; if macOS names another application, follow that prompt. With no detected source, the page directs the user to the application named by macOS. Each system-permission row has one control: **Request permission** when access is missing, or an outlined **Allowed** button with a settings icon after authorization. Clicking it opens the corresponding privacy pane, where the user can revoke access; hovering shows **Open System Settings**. Unknown status uses the same button with an **Unknown** label; pending initial observations retain a single placeholder. The page refreshes on entry, when the window regains focus, and after permission actions. A failed query offers **Retry**. Follow any macOS quit-and-reopen prompt and restart DSH as needed. System-permission operations affect the computer running DSH. When accessing DSH remotely, complete authorization on that computer. diff --git a/packages/experimental/cua/README.zh.md b/packages/experimental/cua/README.zh.md index 02eb936c0c..079000c5e5 100644 --- a/packages/experimental/cua/README.zh.md +++ b/packages/experimental/cua/README.zh.md @@ -43,6 +43,8 @@ kind: "package-reference" ### 权限控件 +权限分组使用共享 l3 边框色,区块间距与插件页的组件和来源信息区块统一为 32px。 + [Computer Use 组合](../cua-bundle/README.zh.md)将本页与原生 provider 一起挂载。“给 Computer Use 授权”把新会话默认模式、PTC 执行方式、辅助功能和屏幕录制放在同一个边框内,四排之间使用分隔线。两条系统权限要求在能识别责任应用时,把该应用的 `.app` 包名称和图标放在同一个标签中。“管理 Computer Use 可访问的应用”使用独立边框包住应用列表。点击“申请权限”,在 macOS 权限列表中找到该应用并开启对应开关;若 macOS 显示其他名称,以系统提示为准。来源无法识别时,页面引导用户查找系统提示的应用。每条系统权限要求只显示一个控件:未授权时为“申请权限”,已授权时为带设置图标的“已允许”描边按钮,点击直接进入对应隐私设置页,由用户撤销权限,悬停提示“打开系统设置”。无法确认状态时使用同样的按钮,文字为“未确认”。首次查询期间保留一个占位。进入详情页、返回窗口或完成授权操作后会自动刷新;查询失败时可点击“重试”。若系统要求退出并重新打开应用,请按提示操作并重新启动 DSH。 系统权限操作作用于运行 DSH 的电脑。远程访问时,请在该电脑上完成授权。 diff --git a/packages/experimental/cua/src/client/PermissionPanel.module.css b/packages/experimental/cua/src/client/PermissionPanel.module.css index 2db3d674d2..3b96fd18a8 100644 --- a/packages/experimental/cua/src/client/PermissionPanel.module.css +++ b/packages/experimental/cua/src/client/PermissionPanel.module.css @@ -1,7 +1,7 @@ -.panels { display: grid; gap: 24px; margin: 18px 0; font-size: 13px; } +.panels { display: grid; gap: 32px; margin: 0; font-size: 13px; } .panel { display: grid; gap: 12px; min-width: 0; } -.card { min-width: 0; border: 0.5px solid var(--dsw-alias-border-l1); border-radius: var(--dsw-radius-md); } -.card > * + * { border-top: 0.5px solid var(--dsw-alias-border-l1); } +.card { min-width: 0; border: 0.5px solid var(--dsw-alias-border-l3); border-radius: var(--dsw-radius-md); } +.card > * + * { border-top: 0.5px solid var(--dsw-alias-border-l3); } .panel p { margin: 0; color: var(--dsw-alias-label-secondary); line-height: 1.6; } .panel h3 { margin: 0; font-size: 14px; font-weight: 500; } .panel h4 { margin: 0; font-size: 13px; font-weight: 500; color: var(--dsw-alias-label-secondary); }