rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:awol2005ex3/dsh-logo-custom
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness 自定义 Logo 插件 — 上传图片替换侧边栏左上角的品牌图标和文字。

sidebar.brand.mark 插槽(鱼形 Logo)sidebar.brand.name 插槽(品牌名称文字)cd dsh-logo-custom
npm install
npm run build
npx @deepseek-ai/dsh plugin --profile web add .
npx @deepseek-ai/dsh plugin --profile web add dsh-logo-custom
安装后 必须重启 DeepSeek Harness 才能生效:
npx @deepseek-ai/dsh --profile web restart
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
storageDir |
string | ~/.dsh/data/dsh-logo-custom |
图片存储目录 |
配置示例:
plugins:
dsh-logo-custom:
storageDir: /custom/path/to/logos
dsh-logo-custom/
├── package.json # 插件元数据 + dsh 配置
├── tsconfig.json # TypeScript 编译配置
├── cordis.patch.yml # Cordis 插件注册声明
├── scripts/
│ └── wrap-client.mjs # 浏览器半打包脚本
└── src/
├── index.ts # 宿主半:HTTP 路由 + 图片持久化
└── client.ts # 浏览器半:DOM 操作 + 上传面板
| 模块 | 运行环境 | 职责 |
|---|---|---|
| 宿主半 (Node) | 服务端 | 提供图片上传/获取的 HTTP 路由,图片持久化存储 |
| 浏览器半 (Client) | 浏览器 | MutationObserver 监听 DOM 变化替换品牌插槽,提供上传界面 |
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /dsh-logo-custom/logo |
获取品牌图标 |
| POST | /dsh-logo-custom/upload |
上传品牌图标 |
| DELETE | /dsh-logo-custom/logo |
删除品牌图标 |
| GET | /dsh-logo-custom/wordmark |
获取品牌文字图片 |
| POST | /dsh-logo-custom/wordmark-upload |
上传品牌文字图片 |
| DELETE | /dsh-logo-custom/wordmark |
删除品牌文字图片 |
[data-slot="sidebar.brand.mark"] /* 品牌图标容器 */
[data-slot="sidebar.brand.name"] /* 品牌名称容器 */
设置页槽位 settings.section / settings.plugin.item(无槽位时回退到设置页 DOM)
Apache License 2.0
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。