DeepSeek Harness Control Center 0.1.4
中文
0.1.4 将项目从单纯的钱包信息展示,整理成更完整的 DeepSeek Harness 监控、提醒、充值与会话控制中心。产品展示名已更新为 DeepSeek Harness Control Center;为避免破坏现有安装、升级和本地数据,npm 包名、插件加载 ID、接口路径与本地存储兼容标识仍保持 deepseek-harness-wallet。
更自然的布局与操作
- 钱包标签现在可以留在输入框、自由移动,或吸附到输入框底部、页面左右边缘和主内容分隔线。
- 拖动时会显示吸附预览;不同区域之间可以一次连续拖到目标位置,不再被中间吸附点“卡住”。
- 左右侧吸附会使用紧凑的纵向布局,数据放在对应标签下方;横向吸附保持紧凑横排。
- 侧边框进一步收窄,但没有缩小基础字体。
- 当输入框太窄而放不下完整标签时,会保留可点击的 44px 余额/token 值,避免压到模型选择器或出现横向溢出。
- 控制面板新增 75%–125% 比例滑块,并可分别控制官方数据和第三方 token 显示;系统不会允许两者同时隐藏成空标签。
- 详情面板可以拖动并记住位置,窗口尺寸变化后会自动回到可视范围内。
- “最小化”会直接变成可自由移动的圆点,不再保留重复的第二种浮动状态。
更可靠的对话完成提醒
- 提醒可选择常驻,或在指定秒数后自动关闭。
- 多个对话同时完成时会按队列显示,并对重复事件去重。
- 多标签页之间通过锁或本地租约协调,避免同一完成事件弹出多次。
- 点击系统提醒可回到相应对话;系统通知不可用、被拒绝或桌面桥接失败时,会自动退回页面内提醒。
- 兼容同步、异步、无返回值和带原生点击/关闭回调的 Electron/Tauri 类通知桥接。
官方、第三方数据与充值
- 继续显示 DeepSeek 官方余额、本会话按实际发生时价格累计的预估花费、官方 token 与第三方 token 合计。
- 计费数据按会话和供应商隔离,第三方 token 不会计入 DeepSeek 花费,后续峰谷价切换也不会改写历史估算。
- 余额提醒只比较 CNY 余额,不混合不同币种。
- 充值入口固定指向 DeepSeek 官方充值域名,首次使用仍会先显示目标域名供确认。
- “清除本会话钱包数据”只清除当前会话在本插件中的余额衍生花费与 token 统计,不会删除对话。
永久删除会话:明确的宿主能力边界
- 插件新增永久删除偏好与能力检测,但只有 DSH 宿主真正声明并实现删除链路时才会启用;不支持的宿主会显示不可用状态,不会提供失效按钮。
- npm 包和仓库新增
integrations/dsh-session-delete/Agent 宿主适配资料:中英文说明、完整 Agent 提示词、兼容清单、只读预检、上游与许可证声明,以及固定基线参考补丁。 - 参考补丁严格对标 DSH 提交
47f943859bef60e4160492346772ded9b24f765a(源码根版本0.1.0-rc.5),覆盖session.delete、客户端 runtime、JSONL/SQLite 删除、运行状态/所有权/子会话检查、空闲 runtime 释放、Workspace 与归档引用清理、共享附件保留、路径安全、侧边栏入口、独立确认框和错误保留。 - 其他 DSH 版本必须由 Agent 阅读当前源码后按语义迁移,禁止强套补丁。封闭源码或无法重新构建的桌面端不能据此声称支持。
- 该能力不是 DeepSeek 官方功能,也不是 npm 插件单独拥有的删除引擎。
跨平台与发布质量
- GitHub Actions 现在覆盖 Windows、Ubuntu/Linux、macOS × Node 22.19/24。
- 三个平台都会在固定 DSH 基线上检查参考补丁;Ubuntu 还会运行 DSH 类型检查与永久删除链路的定向测试。
- 新增 npm OIDC Trusted Publishing 工作流:正式 GitHub Release 自动发布,手动重跑会核对已有正式标签与包版本,不使用长期 npm token,也不会把预发布版本发布到
latest。 - 自动化插件测试扩展至 44 项,覆盖布局、吸附、缩放、显隐、提醒队列、跨标签页协调、桌面退回、能力检测、HTTP 边界、文档和包内容。
- npm 包实行精确文件清单校验,共 14 个发布文件,并包含完整 Agent 适配资料。
验证范围
- 实际环境验证:Windows + Edge + 当前 DSH Web。
- 自动化兼容验证:Windows、Ubuntu/Linux、macOS,Node 22.19 与 24。
- Chrome、Firefox、Safari,以及 Electron/Tauri 类桌面端按标准 Web 能力和宿主适配契约设计,但本次没有宣称逐一完成真实设备验证。
- 人工检查未删除真实会话,也未发送产生费用的模型请求。
完整安装、升级、兼容性和信任边界说明请查看 README。npm 安装与升级仍使用:
dsh plugin --profile web add deepseek-harness-wallet
dsh plugin --profile web update deepseek-harness-walletEnglish
Version 0.1.4 develops the project from a wallet summary into a broader DeepSeek Harness monitoring, alerts, recharge, and session control center. The public product name is now DeepSeek Harness Control Center. To preserve existing installations, upgrades, and local data, the npm package name, plugin loader ID, API path, and local-storage compatibility identity remain deepseek-harness-wallet.
More natural placement and interaction
- The wallet chip can stay in the composer, move freely, or snap to the composer bottom, viewport sides, and the main-content divider.
- Dragging previews the destination and can cross regions in one continuous gesture without being trapped by an intermediate snap.
- Side docks use a compact vertical layout with each value below its matching label; horizontal targets keep a compact row.
- Side frames are narrower without reducing the base font size.
- When a narrow composer cannot fit the full home chip, a clickable 44px balance/token value remains visible instead of overlapping the model selector or causing horizontal overflow.
- The control panel now includes a 75%–125% live scale slider and independent official/third-party visibility controls, while preventing an empty all-hidden state.
- The details panel is draggable, remembers its position, and is clamped back into the viewport after window-size changes.
- “Minimize” now goes directly to a freely movable dot rather than retaining a redundant second floating mode.
More reliable conversation-completion reminders
- Reminders can remain until manually dismissed or close after a selected delay.
- Simultaneous completions are queued and duplicate events are suppressed.
- Tabs coordinate through Web Locks or a renewable local-storage lease so one completion does not notify repeatedly.
- Clicking a system notification opens the relevant conversation. If system notifications are unavailable, denied, or rejected by a desktop bridge, the event falls back to an in-page reminder.
- Desktop compatibility covers synchronous, asynchronous, fire-and-forget, and native callback notification bridges for Electron/Tauri-style hosts.
Official data, third-party usage, and recharge
- The chip continues to show the live DeepSeek balance, current-session official spend accumulated at the price active for each usage event, official tokens, and third-party token totals.
- Accounting remains isolated by conversation and provider: third-party tokens never become DeepSeek spend, and later pricing-window changes do not rewrite historical estimates.
- Low-balance checks compare only a CNY balance and never combine currencies.
- Recharge navigation remains fixed to DeepSeek's official top-up domain, with the destination shown before the first visit.
- “Clear current-session wallet data” removes only this plugin's spend/token counters for the open conversation; it does not delete the conversation.
Permanent session deletion with an explicit host boundary
- The plugin adds a permanent-deletion preference and capability discovery, but enables the feature only when the surrounding DSH host advertises and implements a real deletion path. Unsupported hosts expose a disabled state rather than a dead action.
- The repository and npm package now include an Agent host-integration kit at
integrations/dsh-session-delete/: English and Chinese guides, a complete Agent prompt, compatibility manifest, read-only preflight, upstream/license notice, and a fixed-baseline reference patch. - The patch targets DSH commit
47f943859bef60e4160492346772ded9b24f765a(root version0.1.0-rc.5) and coverssession.delete, the client runtime, JSONL/SQLite deletion, running/ownership/subagent safety, idle-runtime release, Workspace/archive cleanup, shared-attachment retention, path safety, sidebar entry, an independent confirmation dialog, and retryable error display. - Other DSH versions must be read and adapted semantically by an Agent; the patch must not be forced onto a mismatched tree. Closed-source or non-rebuildable desktop applications cannot claim support through this kit.
- This is neither an official DeepSeek feature nor a deletion engine owned by the npm plugin alone.
Cross-platform and release quality
- GitHub Actions now covers Windows, Ubuntu/Linux, and macOS with Node 22.19 and 24.
- All three systems check the reference patch against the fixed DSH baseline; Ubuntu additionally runs the DSH typecheck and focused deletion-chain tests.
- A new npm OIDC Trusted Publishing workflow publishes formal GitHub Releases, validates manual reruns against an existing stable tag, uses no long-lived npm token, and never promotes prereleases to
latest. - The plugin suite now contains 44 automated tests covering layout, snapping, scaling, visibility, reminder queueing, cross-tab coordination, desktop fallbacks, capability gating, HTTP boundaries, documentation, and package contents.
- The npm archive is checked against an exact 14-file allowlist and includes the complete Agent integration kit.
Verification scope
- Real environment: Windows + Edge + the current DSH Web build.
- Automated compatibility: Windows, Ubuntu/Linux, and macOS on Node 22.19 and 24.
- Chrome, Firefox, Safari, and Electron/Tauri-style desktop hosts are designed around standard Web capabilities and the documented host adapter, but this release does not claim physical-device testing for every combination.
- Human-flow checks did not delete a real session or send a paid model request.
See the README for complete installation, upgrade, compatibility, and trust-boundary details. npm installation and upgrade continue to use:
dsh plugin --profile web add deepseek-harness-wallet
dsh plugin --profile web update deepseek-harness-wallet