Skip to content

Refactor API $$ as a native DSH plugin - #8

Open
ArcanePivot wants to merge 4 commits into
mainfrom
refactor/native-cordis-plugin
Open

Refactor API $$ as a native DSH plugin#8
ArcanePivot wants to merge 4 commits into
mainfrom
refactor/native-cordis-plugin

Conversation

@ArcanePivot

Copy link
Copy Markdown
Owner

改动

  • 将覆盖 DSH 核心 bundle 的旧安装方式重构为原生 Cordis 插件,不再修改宿主文件。
  • 保留 API $$ 的余额、今日消费、Flash/Pro 分模型 token 与费用、日/周/月图表和中英文响应式界面。
  • 内置 DeepSeek 官方当前价格及 2026-08-17 生效的峰谷价格展示。
  • 提供 v0.4 旧数据迁移、幂等安装与完整卸载;卸载插件后不留 manifest、配置或 node_modules 残留,历史 usage 数据仍可保留。
  • 增加 Linux/macOS 与 Windows 生命周期 CI,并补全 README、安装指南和效果图。

验证

  • pnpm run verify:类型检查、8/8 单元测试、构建、打包检查通过。
  • pnpm run test:legacy:旧数据迁移通过。
  • pnpm run test:lifecycle:macos:安装、重复安装、卸载、重复卸载通过。
  • Windows 10 / PowerShell 5.1 / DSH 0.1.0-rc.6 真机生命周期验证通过。
  • PC02 实际 DSH 已完成原生插件迁移,7 个历史会话逐文件 SHA-256 一致。
  • 桌面与手机、中英文共 6 个视口完成视觉检查,无溢出或控制台错误。
  • pnpm audit --prod --audit-level=high:无已知漏洞。

说明

本 PR 遵循 DSH 原生社区插件结构和 dsh-plugin 发布约定,不宣称已获得官方认证徽章。

@ArcanePivot ArcanePivot changed the title Refactor API 51459 as a native DSH plugin Refactor API $$ as a native DSH plugin Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant