mirror of
https://github.com/zhu1090093659/dsh-web.git
synced 2026-09-28 22:38:17 +08:00
The preset center now lives in its own repository (dsh-presets) and is consumed here as the published npm package @linxin666/dsh-client-ui-preset-center, the way the skin center, the pet plugin and the community plugin index already are. - packages/dsh-preset-center leaves this tree (plugin sources, tests and the presets/ catalog; history stays in this repository); - the aggregate mounts it through an external rows: entry (web-ui-preset-center) with a hand-written ^0.4.1 range, and ./preset-center stays in the exports map as a tombstone so profiles written against the patchFrom era keep importing; - market-inputs.lock.json gains a presets input pinned to the satellites/dsh-presets gitlink, and scripts/market-build reads .market-inputs/presets with the in-repo fallback kept for the fixture tests; - scripts/sync-shared.mjs stops mirroring five host helpers into the package (101 -> 96 copies); the lib fingerprints, coverage baseline, test-standards baseline, runtime-deps scan and i18n audit each shrink by one package; - the contribution gate has no exception left: reject-non-content-pr.yml redirects a 新预设收录 declaration to dsh-presets, and the PR template, CONTRIBUTING.md, PR_TRIAGE.md and ISSUE_TRIAGE.md now state that this repository accepts no external contribution directly; - docs, the family-satellite owning note and the two preset notes follow, and the new Agent Note records the split. Gated by: typecheck, aggregate:check, libs:check, sync-shared:check, runtime-deps:check, i18n:check, emoji:check, docs:check, market:check, test:standards, test:scripts (340 tests), test (every package) and build. Not yet safe to merge on its own: the satellites/dsh-presets gitlink needs that repository to exist on GitHub, so the satellite commits and this pin have to be pushed together.
7.7 KiB
7.7 KiB
提 PR 前请阅读 CONTRIBUTING.md 与 AGENTS.md; 提交信息用 Conventional Commits(
type(scope): subject),禁止 emoji。 本仓库不再接受外部内容贡献:皮肤增加、宠物增加、社区插件索引登记与 agent 预设收录已全部迁至各自的独立仓(dsh-skins / dsh-pet / dsh-community-plugins / dsh-presets);在本仓按这些类别提交的 PR 会被自动关闭并重定向到对应仓库。 其余改动(修复 / 增强 / 全新功能 / 文档 / 测试 / 维护)不接受直接 PR,请先提 Issue 讨论;仓库所有者、机器人与拥有写权限的协作者(维护者)不受此限制,可直接提交任意改动。 仅文档类 PR(标题以docs:开头或勾选「仅文档」)不接受,会被自动关闭;文档改动请先提 Issue 讨论(仓库所有者、机器人与拥有写权限的协作者不受此限制)。
摘要(Summary)
涉及包(Affected Packages)
- 任务看板
packages/dsh-task-board - Git 图谱
packages/dsh-git-graph - 右侧面板
packages/dsh-aionui-panel - 远程 Web UI
packages/dsh-remote-web-ui - SSH 远程运维
packages/dsh-ssh - 宠物(dsh-pet 仓)
- 预设中心(dsh-presets 仓)
- 皮肤 / 皮肤中心(dsh-skins 仓)
- 聚合包 / 设置
packages/dsh-web-all/packages/dsh-web-settings - 其他(请说明)
PR 类别(PR Category)
- 皮肤 / 皮肤中心(新皮肤收录、皮肤样式)—— 已迁至 dsh-skins 仓,本仓提交会被自动关闭并重定向
- 插件功能(任务看板 / Git 图谱 / 右侧面板 / 远程 Web UI / SSH / 设置 / 聚合包)
- 社区插件索引 —— 已迁至 dsh-community-plugins 仓,本仓提交会被自动关闭并重定向
- 预设 / 预设中心 —— 已迁至 dsh-presets 仓,本仓提交会被自动关闭并重定向
- 维护 / 其他
PR 类型(PR Type)
- 面向用户的功能或行为变更
- Bug 修复
- 视觉修复(UI / 视觉类问题的修复)
- 增强 / 优化(现有功能的改进、性能 / 体验优化)
- 新皮肤收录(内容贡献,在 dsh-skins 仓提交;本仓提交会被自动关闭并重定向)
- 新宠物收录(内容贡献,在 dsh-pet 仓提交;本仓提交会被自动关闭并重定向)
- 新预设收录(内容贡献,在 dsh-presets 仓提交;本仓提交会被自动关闭并重定向)
- 维护 / 重构
最新代码确认(Latest Codebase Confirmation)
- 我已基于最新
dev分支开发,或在提交前已 rebase / 合并最新dev。
同步命令:
测试证据与上游同步(Test Evidence & Upstream Sync)
- 我提供了自己本地测试的证据(执行的命令 / 测试结果 / 运行截图)。
- 我已同步上游最新
dev分支(git fetch origin && git rebase origin/dev),并附上同步后重新测试通过的证据(视觉 / 用户可见变更附截图)。
视觉修复要求(Visual Fix Requirements)
- 我提供了修复完成后的截图(完成态或修复前后对比)。
- 修复使用的 AI 模型支持图像输入(多模态模型);未使用 AI 编码时此项视为满足。
AI 编码披露(AI Coding Disclosure)
- 完全 AI 编码:全部编程改动由 AI 产出,并由贡献者接受 / 审查。
- 部分 AI 辅助:AI 帮助编写或修改了部分编程改动。
- 未使用 AI 编码辅助。
使用的 AI 模型:
使用的编码 Agent 工具:
仓库规范检查(Repo Rules)
- 未修改 DSH 官方源码,仅基于官方 NPM SDK(
@deepseek-ai/*)开发。 - 未新增指向 DSH 源码 checkout 的 tsconfig
extends/paths/references。 - 新增包目录以
dsh-前缀命名(如packages/dsh-xxx)。 - 所有新增 / 修改文件不含任何 emoji 字符。
- 改动包 README 时同步维护中英双语三件套(
README.md/README.zh.md/README.i18n.yaml)并运行pnpm docs:check。
贡献者版权声明(Contributor Copyright)
新预设收录(New Agent Preset)
本地验证(Local Validation)
执行的命令:
# 示例:改动包目录内 pnpm build,涉及聚合包时跑 aggregate:check
pnpm build
结果摘要:
用户可见变更证据(Local Feature Evidence)
证据: