deepseek-harness-desktop-app/eval/fixtures/dsh-profile-bundle

606Star32Fork6Issue0Watching

给 dsh-profile-plugin-service 测试套件使用的最小 Profile Bundle 固定夹具;声明一个名为 Fixture Ocean 的示例主题。

机审证据安装命令仓库已核验dsh-plugin Topic许可证READMEAI 百科

此插件是大仓库 vibeinging/deepseek-harness-desktop-app 的子包,星数与活跃度统计的是整个仓库。

语言
JavaScript
License
MIT
分支
dev
agentic-workflowsai-agentai-workbenchdata-analysisdeepseek-harnessdesktop-appdshdsh-plugin

安装

$ dsh plugin --profile web add github:vibeinging/deepseek-harness-desktop-app/eval/fixtures/dsh-profile-bundle

在终端中运行以上命令,通过 dsh CLI 安装此插件。可在右上角切换 Profile。 第一次用 dsh?看这篇新手教程

对话式安装

帮我安装 DeepSeek Harness 插件 vibeinging/deepseek-harness-desktop-app/eval/fixtures/dsh-profile-bundle:先查看仓库 https://github.com/vibeinging/deepseek-harness-desktop-app.git 确认安全性,然后执行安装命令并验证插件加载成功。

把这段指令粘贴给 DSH Web GUI 里的助手,由它代你完成安装与验证。

一句话定位

这是仓库内 eval/fixtures/dsh-profile-bundle 目录的最小化 Profile Bundle 固定夹具,给项目自身的 dsh-profile-plugin-service 单元测试充当可控的本地输入。把它装到 Web Profile 后,会让 profile:dsh-work-profile-fixture:fixture-ocean 这条示例主题进入目录,但不会注入任何运行时补丁。

核心能力

  • 提供一个空的 dsh.bundle.patch 容器(cordis.patch.yml 内容为 []),让 Bundle 装配骨架可被解析
  • 通过 dshWork.themes 字段声明一份 schema_version=1 的主题描述(含主色、Mantine 十阶色板、背景预设与面板透明度)
  • 作为 DshProfilePluginService 预检(preflight)的本地可安装输入,验证 file: 来源解析与 status=ready 结果
  • 用于验证主题描述路径不能越过 Bundle 目录的越界检查(DSH_PROFILE_THEME_PATH_OUTSIDE_ROOT
  • 用于验证安装后 catalog.profile_themes 中能正确附加来源 Bundle 元数据(source_bundle.package_name === "dsh-work-profile-fixture"

技术实现

  • 语言: JSON / YAML(纯数据,无可执行代码)
  • 关键依赖: 无(无 dependencies / peerDependencies 声明)
  • 架构模式: 通过 package.json#dsh.bundle.patch 声明 Bundle 补丁入口 + 通过 package.json#dshWork.themes 声明主题描述入口;两者均只承载数据,不在运行时执行代码
  • 入口文件: eval/fixtures/dsh-profile-bundle/package.json

适用场景

想本地手测一次 DSH Profile Bundle 的安装流程、又不想引入第三方仓库的开发者可以装它来观察主题在目录里的呈现方式;或运行 npm run test:unit 时作为 dsh-profile-plugin-service.test.mjs 的固定输入。本插件不适合作为日常使用的生产功能。

前置依赖与兼容性

依赖最低版本说明
DSH0.1.0-rc.6由父项目 README 声明的当前发布线
Node未声明本夹具不强制 Node 版本,平台宿主自行决定
平台跨平台仅读取 package.jsonthemes.json,无原生模块、无系统调用
原生模块

安装方式

dsh plugin --profile web add github:vibeinging/deepseek-harness-desktop-app/eval/fixtures/dsh-profile-bundle

配置项

本插件无需额外配置。它不暴露运行时配置面,只作为被系统读取的数据固定夹具。

常见问题

Q: 这个插件装上之后我能看到什么变化?

A: 安装不会改变任何运行时行为,因为 cordis.patch.yml 内容是空数组 []。你只能在 Web Profile 的主题目录里看到一条名为 profile:dsh-work-profile-fixture:fixture-ocean 的样本主题条目。

Q: 它会影响应用外观吗?

A: 它声明了 bgImage: deep-seapanelOpacity: 88,但需要在主题库主动切换到 Fixture Ocean 才会真正影响外观;安装动作本身不会自动启用它。

Q: 主题里都包含哪些设定?

A: 只有一个主题 Fixture Ocean:主色 #336699、完整的 10 阶 Mantine 色板、背景预设 deep-sea、面板透明度 88。所有字段都满足 schema_version=1 的安全约束,不会触发 rawCssbgImage 不合法、appName 被禁等校验错误。

Q: 能往 themes.json 里加原始 CSS 或自定义 appName 吗?

A: 不能。profile_theme_manifest.js 在校验流程会抛 DSH_PROFILE_THEME_RAW_CSS_FORBIDDENDSH_PROFILE_THEME_APP_NAME_FORBIDDEN;同样,bgImage 必须使用 deep-seaauroradawnforest 等内置背景预设之一。

Q: 这个包和官方主题包 dsh-theme-pack 有什么区别?

A: dsh-theme-pack 是应用自有 Theme Bundle(managed_by: appcan_uninstall: false),提供 professional-blueanime-blue 两个主题;本包只是一个最小化的可重写示例 fixture,可以正常卸载。

Q: 卸载后仓库还在吗?

A: 卸载只从当前 Web Profile 移除 Bundle 条目与依赖项;eval/fixtures/dsh-profile-bundle 目录作为仓库内置固定夹具始终保留。

上手难度

入门 — 它没有可执行代码、没有用户配置面,知道一条 dsh plugin ... add github:... 命令就能用。

已知问题与限制

  • cordis.patch.yml 内容为空数组,安装到 Profile 后不会向 DSH 运行时插入任何 patch(eval/fixtures/dsh-profile-bundle/cordis.patch.yml:1
  • package.json 标记为 "private": true,无法通过 npm publish 发到公共 registry;安装只能走 GitHub 精确 commit 或本地 file: 路径(eval/fixtures/dsh-profile-bundle/package.json:4
  • 没有独立 README,所能参考的只有父项目 README.md 里的"插件中心"章节

收录徽章

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/vibeinging/deepseek-harness-desktop-app/eval/fixtures/dsh-profile-bundle)

把这段 markdown 粘贴到你的 GitHub README,链接回本插件详情页。徽章只声明已被本站收录,不代表安全认证。

返回插件目录
deepseek-harness-desktop-app/eval/fixtures/dsh-profile-bundle — DeepSeek Harness 插件 | deepseek-plugin.org