rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
PROJECT README
v1.1.8 · Codex Pro 周额度界面优化: 明确识别为 Pro 的当前账号仅显示周额度,桌宠面板、设置预览与统计同步精简;其他或未知套餐保留双额度。只调整桌宠显示,不改变轮换、预热或消费保护。
最新版:v1.1.8 · Codex Pro 周额度界面优化 · 使用指南 · 更新记录 · 安装包 · 原设计快照
陪你工作的 Windows 二次元桌宠:查看 DeepSeek 余额与 Codex 额度,六款人物与五种卡片自由搭配,支持简洁模式和本机统计。只安装桌宠一包,完整内置订阅管理。
originalImages.clear(),会话图片保留;等待目标账号在线目录核验通过后才开始原步骤重试。usage_limit_reached、完整零用量和无生成内容三重证据;目标须支持同模型,单步骤最多八个不同订阅主体。断网、认证错误、一般限流及未知结果不换号重发。导入 v1.1.6 后完整退出 DSH(含托盘)并重开,不清理账号、聊天和保护文件。入口:设置 → 订阅管理(桌宠内置)→ 账号 → 账号轮换与自动继续。发布不自动安装或启用;详见账号轮换指南。
导入 v1.1.5 后完整退出 DSH(含托盘)并重开,不清理账号、聊天或保护文件。详见更新记录与使用指南。
导入 v1.1.4 安装包后完整退出 DSH(含托盘)并重开。账号仍仅在“订阅管理(桌宠内置)”管理;新预热入口在“设置 → 桌宠 → Codex → 多账号预热(实验性)”。不会迁移旧授权、清空保护记录或因升级自动调用模型。详见使用指南与新预热/重置卡指南。
v1.1.3: 账号、模型和实际连接统一到 订阅管理(桌宠内置),不再运行第二套账号引擎。恢复经典/文字简洁面板的当前账号显示、明确授权后的点击切号,以及明确授权后的单当前账号自动预热。新授权独立确认,外观自动保存不夹带;旧凭据、聊天与预热保护记录保留。旧路由兼容同一完整适配器及可验证压缩检查点,不改写历史或自动重发。多账号批量 warmup 仅有下一版方案,本版不实现或启用;超大上下文仍需按使用指南缩减。
A Windows companion for DeepSeek balances and Codex quotas, with six skins, five card themes, compact mode and local statistics. Version 1.1.3 uses one embedded subscription manager for accounts, models and connections. It restores account display, authorized panel switching and opt-in warm-up for the current account. Old grants are not new consent. It does not resend history, migrate credentials or bypass context limits. Multi-account warm-up is a next-version proposal, not a feature in this release.
发布前完整离线回归 902 项通过;用户反馈本机验收完成,不将其泛化为所有账号与全部远端能力保证。发布过程不新增真实模型/额度/兑换调用,不自动重启。
dsh-codex-subscription@2.6.8 完整前后端内置,保留账号/额度、模型/运行、图片/草图、维护、输入框、搜索和工具贡献,而非零散 provider alias。进入 设置 → 订阅管理(桌宠内置);桌宠原功能仍在 设置 → 桌宠。升级到 v1.1.3: 只导入桌宠安装包,停用独立 dsh-codex-subscription 和旧独立账号插件后,完整退出 DSH(包括托盘)再重开。内置分支沿用原订阅账号库;旧桌宠账号目录仅保留、不再挂载独立引擎,可解析旧路由后续请求跟随内置订阅当前账号。请核对当前账号;不迁移凭据、不重写历史、不清除预热或兑换保护。新切号与预热授权必须在 设置 → 桌宠 → Codex → 订阅协作 · 账号与预热 单独确认;升级不代为启用。完整内置分支保留原后台读取和可配置工具行为,不应将下面历史版本的“浏览不查询”泛化为整个订阅管理的网络承诺。
设置截图保留历史版本样式:旧桌宠账号管理和多账号预热页不代表 v1.1.3 当前入口,当前账号/模型在内置订阅管理,本版仅支持单当前账号预热。面板使用生产 WPF 与内置人物素材渲染,设置使用真实 React 组件隔离渲染;邮箱、额度和预算均为合成演示,不含真实账号或用户数据。Panels use production WPF; settings screenshots are historical isolated React demos. Multi-account warm-up is not available in v1.1.3. All accounts and values are synthetic.





市场展示顺序由仓库根目录的 screenshots.json 声明;图片更新在市场下一次目录构建与客户端刷新后显示。The catalogue discovers these images from the repository declaration on its next build.
兼容 / Compatibility: 面向 DSH
0.2.0-rc.1、0.2.0-rc.2;DeepSeek 功能已在 Windows +0.2.0-rc.2实机验证,rc.1尚待实机回归。Codex 额度需要宿主公共进程内连接;旧路径需支持的订阅插件,官方路径已内置于桌宠,安装包声明所需公开组件。旧独立账号包请在插件管理中停用后自行完整重启 DSH,不要删除账号数据或 grant。仅有 DSH 版本号不保证接口或真实账号资格可用。This is an unofficial community project, not a DeepSeek product.
v0.6.4 更新: 新增「陪伴与舒适」:安静模式、经典/温和反馈、减少动态、关闭闪光/暴击标记、关闭用量飘字。安静停止在播视觉效果,真实余额、额度和统计继续更新,退出不补播;温和使用中性姿态与轻量确认。默认仍为经典,新开关关闭;保留六款人物、五款双模式信息框、右键无交互、拖动与原有预热偏好。升级不启用预热、不新增模型请求;升级后请完整退出并重启 DSH 一次。
在 v1.0.5 图片卸载控制修复的基础上,对照原订阅连接补齐封装层兼容性,不重做设置界面,也不自动迁移账号或重发请求。
完整修复、验证与剩余代理/请求字段/WS 等差异见 兼容性清单、更新记录 和 v1.0.6 使用指南。以下为历史版本当时的记录,其中“replay 待验证”已由本版离线专项覆盖,但仍待真实长会话验收。
更新原因: 上一版只改了账号页,未完整实现选定方案;可选安装器的服务访问还可能隐藏设置入口。长会话内容错误则暴露了图片卸载控制信息丢失,最小短文本连接测试没有覆盖此类场景。
操作与边界见 v1.0.5 使用指南、更新原因和明细、隐私说明。下面的 v1.0.4 连接结果仅是当时最小请求的历史记录。
完整操作见 v1.0.4 使用指南,验证边界见 产品评审 与 隐私说明。升级保留账号、凭据、偏好及未知预热记录;公共依赖版本不变,请自行完整退出(含托盘)并重开 DSH。不会因升级、浏览设置或这次开发测试自动新增消费授权。
以下是历史版本记录,早期“待真实核验”描述按其当时状态保留,不覆盖上面的限定实测结论。
codex-models-v0.163.0。这不是实账号恢复证明,gpt-6.1-sol 仍待真实账号核验,不虚构入口或自动重试结果未知的预热。完整操作见 v1.0.3 使用指南,实现和仍待核验/暂缓事项见 账号管理待办。升级保留原偏好、账号、凭据和每日记录;请自行完整退出(含托盘)并重开 DSH。公共 SDK 依赖版本不变,不自动重启、不新增消费授权。
以下保留各历史版本的交付记录;早期“常驻保存按钮”“P1 待实现”等说明不代表 v1.0.3 当前状态。
本轮由产品、UX、架构共同评审,先修核心管理体验,不追平参考产品所有能力:单账号故障保留健康账号和固定模型入口;额度显示本机接收/重置时间,失败保留明确标旧的读数;移除采用目标确认和目录代际校验;真实 RPC 冲突穿过代理保留 409,草稿不丢失、不自动重试。全局服务故障仍整体关闭并冻结旧快照写入,不伪装成单账号故障。
不新增后台额度查询、自动切号、模型重试或预热授权,不把默认账号、DSH 默认模型和已有会话混为一谈。完整对照证据、首版验收与下一增量的改名/批量刷新待办见 账号管理产品评审。离线通过不代表真实账号权限已验证;升级后自行完整重启 DSH。
普通外观、单位、休眠与刷新间隔等偏好在停止编辑约 450ms 后自动保存,状态区区分等待、保存中、已保存与失败;保存中继续编辑不会丢草稿。每账号的可见模型、首选模型与推理档位也自动保存,但不会自动设置 DSH 全局默认。初次读取不写入,跨子页面保留草稿;关闭整个设置组件会取消尚未发出的保存,请先确认已保存。
预热开关/时间、账号来源、桌宠切号入口和逐账号预热授权仍须明确确认;不会被普通偏好自动保存夹带。网络失败暂停自动重试,409 冲突保留草稿并要求明确放弃后重读;本地无效输入修正后可以恢复自动保存。偏好落盘与桌宠应用回执仍是不同状态。
对于账号在线目录确实返回、可见且支持的模型,若只省略可选上下文字段,不再因此过滤整个模型;使用明确标注的本地 8192-token 请求预算,不宣称服务端真实上限。无效的已提供上限仍拒绝,不添加服务端未返回的 slug,不把未知价格当免费,也不保证真实权限。可在「账号管理 → 模型 → 更新账号目录」核对 gpt-6.1-sol 是未返回、被隐藏、本地关闭还是能力不兼容;没有用真实账号/额度/模型调用验证。
参考 Codex 订阅插件公开设置交互,只借鉴编辑即保存与状态反馈,不读取它的授权或账号。完整安装、自动保存、账号/模型/额度与预热流程见 使用指南。新版仅安装桌宠一个包;旧独立账号插件请停用或卸载并保留数据,再自行完整重启 DSH。
@deepseek-ai/dsh-llm-pi-ai@0.2.0-rc.2、@earendil-works/pi-ai@0.87.1。不再另发/要求安装账号插件,仍可选择旧订阅后端。codex-accounts/account-* 凭据命名空间、原账号目录、模型路由、预算与偏好。已安装旧独立插件时先停用旧包,再手动完整重启一次;旧 owner 仍在运行时新版不会抢占服务或中断在途请求。不要删除目录或授权。attachments/fs,离线复现并修复带截图历史在发送前失败;保留普通消息、工具调用/结果、图像与已报告用量,通用 temperature/stop 默认值不再误伤 Codex 通道。纯文本旧路径本可运行,不把所有失败都冒称同一原因。失败分层提示且不转发原始上游错误,取消/撤销仍结算 SDK 已报告用量,不假称成功或未发送。gpt-6.1-sol,也不把未知价格当免费。兼容接口可能变化;目录、额度与请求成功是不同状态。内置 SDK 缺少的新模型可按已观察 slug 在重启后重新验证,持久 hints 不是权限,撤销即失效。账号键:gpt-…,保留旧 账号键:模型哈希 已有会话兼容,不静默换账号或回退模型。该账号未返回某模型时不能凭此设置获得权限。此轮参考本机已有 Codex 订阅插件的公开模型目录与设置流程,不读取其账号/凭据。验证采用私有 Temp、合成账号/HTTP/SSE、真实已安装官方 SDK 的离线序列化和隔离 React/Edge 窄屏截图;不等同真实订阅权限或服务器兼容验收。测试没有真实 OAuth/额度/模型调用、依赖安装、自动重启或关机;旧授权、预热预算和未知结果暂停规则保留。测试与发布证据见本版 Release,不把离线测试当作真实账号权限或运行宿主已验收。
再次收到「无法读取」截图后,宿主日志与当前公开 Cordis 4.0.4 的实际启动复现确认另有启动错误:apply() 的 Promise 返回了普通 service 对象。Cordis 仅收集函数/空值作为生命周期 effect,因 TypeError: Invalid effect 自动卸载插件和已经注册的通道;因此仅重启不能修复这个代码错误。
本地修复让入口完成注册后返回空值,service 仍由原有 lifetime effect 负责清理。传输/双插件测试不再把插件返回值当作服务 API;通过实际管理通道访问,并增加独立包的生命周期返回值回归。另用本机实际公开 Cordis 执行真实 Context.plugin()、依赖注入、通道存活和卸载检查,未替换生命周期收集器。缺路由提示也不再一概归因于未重启。
此修复已合入 v1.0.0;没有代登录、读取真实凭据/额度、调用模型或自动重启 DSH。真实账号授权仍需用户自行验收。以下旧版本记录保留历史双包说明,不是新版安装要求。
更新原因: 独立服务只注册了浏览器 HTTP 路由,而桌宠通过宿主进程内 Shared Fetch 注册表访问;两套注册表相互独立,导致插件已安装仍读取失败。本次同时发布桌宠 0.7.4 与独立账号服务 0.1.1,补齐真实内部通道,不以安装成功冒充已能登录。
定向验收与公开下载/本地复制证据写入本次 Release;仅合成账号、私有 Temp、真实公开宿主接口契约 mock,以及真实 React + 隔离 Edge 页面。没有执行完整测试套件,也不把这些结果当作真实 OAuth/运行宿主验收。界面截图中的账号和额度全部为合成数据。
Update rationale: the HTTP-only account service was absent from DSH's separate in-process Fetch registry. Desktop 0.7.4 + account service 0.1.1 register both transports with correct admission/lifecycle, harden cancellation and stale callbacks, simplify account management, and keep save/navigation visible at the top. Login polling is GET-only after explicit consent; budgets, defaults and full-trigger restrictions remain unchanged. Synthetic incremental tests and isolated browser checks are not live-account validation.
更新原因: 默认官方 Codex OAuth 的单账号槽位不等于框架不能支持多账号;此前桌宠账号/额度/每日预热必须借助第三方订阅插件。本次新增独立插件 dsh-plugin-codex-accounts@0.1.0,复用官方公开 OAuth/适配器组件完成自有账号目录、账号固定请求和桌宠生产接线,不把 OpenAI Platform API Key 计费当成 ChatGPT 订阅额度。
dsh-plugin-codex-accounts.tgz 与桌宠 dsh-plugin-simple-pet.tgz。账号服务显式依赖 @deepseek-ai/dsh-llm-pi-ai@0.2.0-rc.2 和 @earendil-works/pi-ai@0.87.1;不依赖第三方订阅插件,但不是零库依赖。桌宠自身仍无生产依赖,安装桌宠不会隐式安装/启用账号服务。clientObservedAt 不是服务器采样证明,缺失账号回显、分钟/百分比舍入及后端延迟不伪装成精确满额。启动满额/5h 满额自动预热仍禁用。codex-accounts 独立模型路由的默认只影响后续新请求;在途 A 请求固定 A,不改宿主/第三方的 openai-codex 激活账号。面板仍需显式开启管理和至少两个可读 OAuth 绑定,点击轮换本服务新请求默认,显示用户昵称。旧后端的面板邮箱/全局切号语义保持原样。warmup-safety.js,旧导出不变。此前每日16:00任务已取消,未建立新定时。新增服务分离 OAuth/目录/额度/官方 driver,避免继续把账号存储塞进桌宠入口。后台新暂停优先于旧“保存成功”文案。验证只用合成账号、私有 Temp、公开库假 OAuth 和双插件真实接线 mock;未真实登录/读取账号额度、调用模型、安装依赖、升级运行宿主或重启,也未跑全量测试。发布前源码定向通过 499 项 Node 检查与 76,414 项隔离 WPF 断言;源码/模拟通过不等于真实账号/完整宿主验收。兼容额度端点与 OAuth 资格仍受上游变更及政策约束,不能承诺一定开启新5h窗口。安装与安全边界见 独立账号插件说明。
Official-component account service: this community plugin uses ChatGPT Codex subscription OAuth, not a Platform API key. Install the independent account-service asset explicitly; choose the saved official backend without migrating existing credentials or automation grants. Account-fixed refresh/request isolation, reported quota observations and opt-in daily warm-up are wired to the desktop client. Existing third-party paths remain the default. Exact-full startup/reset triggers remain unavailable. Validation used mocks/private temporary data only, not live authentication, billing calls or host restarts.
更新原因: 设置选项增长后长页难以查找;此前仅在本地交付的独立账号每日预热、面板邮箱/切号和依赖安装入口尚未进入稳定包。本次按用户要求统一发布这些增量,并明确满额触发的公共接口证据缺口,不把不可用能力当作开关交付。
设置顶部按「常规 / 外观与动效 / 账号管理 / 自动预热 / 用量统计」切换,不再把所有选项堆在同一长页;支持左右方向键、Home/End,窄屏自动换行。跨页保留普通及多账号草稿,不隐式保存、安装依赖或读取绑定目录。通用偏好与原单账号计划统一显式保存,多账号授权仍独立保存并保留 CAS/冲突保护。
多账号新增触发能力说明:每日预算计划可用;「启动检测各账号满额」与「5h 刷新为满额自动预热」当前明确禁用,不是假开关。已核验的通用订阅 0.9.9 公共 usage 不提供原始获取时间、缓存失败回退状态、账号回显或保留的窗口时长;force 失败仍可能成功返回旧快照,不能根据收到时间、100% 或重置时刻变化触发收费请求。既有额外未知额度授权仅适用于每天一次逻辑预算,不能扩大为启动/每窗口授权。后台只读响应返回触发能力,伪造这些配置字段仍严格拒绝;没有新增额度轮询或模型调用。接口证据和未来接入条件见 多账号限制说明。
v0.7.2 源码发布前定向检查通过 437 项 Node 检查 + 76,414 项隔离 WPF 断言(仅新/受影响内容,未跑全量)。独立 Edge + 真实 React 的合成数据页面检查通过,包含 380px 外层容器换行、不溢出和切页零新增请求;不是已运行宿主或真实账号验证。
v0.7.2 partitions settings into five keyboard-accessible top-navigation pages and preserves drafts across navigation. Daily multi-account scheduling remains available, but startup-full/reset-full controls are visibly unavailable because the reviewed public quota contract cannot prove sample freshness or the exact five-hour window. Development and release validation made no real account/model calls, dependency installation or automatic restart; no broader billing consent was enabled. Real refreshed-host validation remains outstanding.
dsh-codex-subscription@2.6.8 或 dsh-plugin-subscriptions@0.9.9 绑定。设置提供用户主动确认的通用订阅插件 0.9.9 安装入口,通过宿主公共 pluginManager 执行;不是开关自动安装。已有同名插件(包括旧版、禁用版)不升级、降级或自动启用;缺安装 API/权限则提示手动使用 Plugins 管理。不开启构建脚本授权,待审脚本/需重启不伪报就绪。宿主缺少原子 ifAbsent,其他操作并发安装仍有竞态,勿同时管理同一依赖。v0.7.2 panel management is explicit opt-in: settings provide dependency help/installation, while the WPF card shows the public email and cycles accounts on one click without a second dialog. Fresh two-account controller checks, reviewed exact versions, shared-account warnings and unknown-result quarantine remain. A memory-only capability-authenticated loopback channel carries the panel email; no account email or channel secret is persisted. Installation is explicit, public-host-only, avoids changing existing same-name addons and grants no build scripts. Real host/account and installation validation were not performed.
dsh-plugin-subscriptions@0.9.9 公共独立账号模型目录与宿主模型 API。需自行在该插件开启账号的独立模型入口;桌宠不安装或开启它。本机只有 dsh-codex-subscription@2.6.8 时仍不可用;不是所有 Codex 订阅插件都支持此功能。新版面板管理提供显式依赖安装入口,但不会自动安装,也不代为开启独立模型。listModels('codex') 枚举精确独立条目,发送前重新校验账号、模型与解析结果;只按该条目调用,不拼接路由、不改默认/激活账号、不回退 Pool 或其他账号。删除/撤销绑定则跳过。force 也可能返回缓存,所以默认跳过;需对每账号额外勾选“额度新鲜度无法证明时仍按每日预算尝试”。此限制不是 HTTP 次数、Token 或费用硬上限,底层同账号重试和宿主中间件仍由其管理,不保证开启官方窗口。multi-warmup.json 仅存账号/精确模型哈希、授权、日期和尝试终态;遮罩邮箱仅在设置页内存显示,不写原始账号、模型绑定 ID、邮箱、令牌或回复。当前仅 mock/私有临时文件测试;未真实访问账号、发送模型请求、安装订阅插件或重启 DSH。真实宿主/绑定账号效果尚未验收;本增量已纳入 v0.7.2,安装或升级不会代为开启。v0.7.2: opt-in daily multi-account warm-up via reviewed subscriptions 0.9.9 public independent model entries, never shared-account rotation or Pool fallback. Separate explicit per-account grants, at most eight accounts and one logical request/account/day; unknown quota freshness requires extra consent. This is not a hard HTTP/token/cost cap. Persist claims before dispatch; unknown outcomes pause all automation, without retry or startup catch-up. Defaults stay off; no live account/model validation or automatic restart was performed.
版本号更正: 此功能版本按用户要求从此前的 v0.8.0 调整为 v0.7.1;运行代码相同。本次仅校验版本、包内容及发布指向,不重复执行下述已通过的功能测试;旧标签仅保留历史。
按用户新要求,第二任务提前到今天完成可安全交付的部分,原 2026-10-16 16:00 Europe/Copenhagen 定时已取消。
dsh-codex-subscription@2.6.8 使用公共 account/select;通用插件 dsh-plugin-subscriptions@0.9.9 使用公共 setDefault。仅这些已静态核验的精确版本启用写能力,未知版本保留只读查询;不自动安装、升级或登录。通用默认账号不是 Pool 每次请求的执行账号保证。v0.7.1 adds explicit, separately confirmed shared active/default account switching in native settings, gated on two fresh valid bound accounts and reviewed exact addon versions. It does not add a WPF action button or enable multi-account warm-up. Unknown write outcomes quarantine subsequent local switching and automatic warm-up until the user verifies upstream and fully restarts DSH; a timeout cannot cancel an already sent mutation. Existing opt-in schedules are preserved, and may resume after a successfully verified switch. The originally scheduled follow-up was cancelled and its safe increment delivered today. No live account/model tests or full-suite claim. See scope and remaining decisions.
更新原因: 多账号用户需要知道额度属于哪个来源及账号;但切换公共订阅账号会影响 DSH 共享连接,收费预热还需要可靠账号绑定。经产品、UX、架构评审,本次先交付只读识别,不把高副作用操作藏进普通设置保存。
a***@e***.com · #abcdef01,不是完整邮箱。通用插件的“默认账号”不保证是某次模型请求的实际执行账号。v0.7.0 delivers read-only Codex identity: anonymous active/default account IDs on the WPF panel and masked optional email in native DSH settings. Raw and masked emails remain outside persisted pet snapshots/ledgers/preferences/logs. Existing status/usage reads are reused; no extra upstream polling, account changes or LLM requests. A default account is not a guarantee of the account selected by a model pool. No switching button or multi-account warm-up ships yet. Future switching requires at least two Codex accounts already bound in a supported subscription addon, a fresh validated same-source list and a supported public mutation API. One/unknown/stale account state must disable the control. The original 2026-10-16 16:00 Europe/Copenhagen follow-up was subsequently cancelled; v0.7.1 delivers its safe increment early and keeps unsafe or undecided parts unavailable with reasons.
为什么更新: 希望只看余额/额度、不显示人物和动效;同时让安装前就能知道 Codex 数据来源,而不是把保存配置或安装桌宠误认为已经具备订阅查询能力。
dsh-codex-subscription 或 dsh-plugin-subscriptions,并要求宿主提供公共进程内连接适配器。二选一,不是必须同时安装;两个受支持接口都不可用时无法查询。只登录 Codex CLI/只有 OAuth 模型不等于具备此额度接口。桌宠不自动安装依赖、不收集订阅令牌。dsh-codex-subscription 的新鲜活动账号报告及可用的宿主 openai-codex 调用;仅第二个插件的默认/缓存额度不会触发预热。所有预热选项仍默认关闭,升级不启用。v0.6.6 adds opt-in panel-only compact mode, suppressing all visual effects while retaining themes, sizes, dragging, live data and previous choices. Codex quota requires either dsh-codex-subscription or dsh-plugin-subscriptions, enabled and signed in, plus the host public connection adapter; both are not required. DeepSeek does not require these Codex addons. Existing warm-up needs the dedicated addon's fresh active-account report and the host Codex model service; a cached/default-account report alone cannot trigger it. No account-switch button, email display or multi-account warm-up is implemented. Only focused checks run; no live model request or automatic restart.
为什么更新: 旧版「保存成功」只代表写盘,不代表桌宠窗口已完成配置和视觉应用;按 mtime 跳过或提前缓存还可能遗漏变更和失败重试。新版分开显示草稿、已保存和最近成功应用,避免误报。
v0.6.5 rationale: saving previously proved only a disk write, not successful native application. Distinguish an atomic preference save from a recent successful native application. An owned process/run/profile, the full raw revision, all 17 effective values and a short renewable lease must agree. Reuse existing refresh/tick timers, fail closed on stale or failed evidence, and keep drafts separate. Only focused checks run; no live model requests, telemetry or automatic host restart. Released as v0.6.5 following user authorization; marketplace synchronization does not imply merging. Live host-page acceptance remains pending.
cardTheme 不绑定 skin。六款人物可与五款信息框任意组合;旧配置缺省时仍用原蓝色,不改变人物、位置或预热开关。settings.json 与独立统计文件;拖动只写 position.json,避免覆盖后台保存的选项。多页面冲突拒绝覆盖;损坏的设置文件保持原样,页面提示重新读取。打开页面不调用模型,升级不自动打开预热。-Preview -PreviewSettings 显式开发回归。File.Replace 的普通 $null 备份路径绑定成空字符串;改为传入真正的 null,已有配置下可正常启动并原子保存。| 模式 | 悬浮卡片 | 用量飘字与统计 |
|---|---|---|
| DeepSeek 计费模式 | 当前官方路由的钱包余额、缓存命中率、峰谷价格 | 人民币 / Token 飘字;原有统计保留 |
| Codex 订阅模式 | 5 小时 / 周剩余额度、重置时间、数据状态 | Token / 实测额度百分比飘字;独立 Token 统计,不显示人民币与峰谷价格 |
在 DSH → 设置 → 桌宠 中切换模式并保存。切换只改变桌宠显示,不改变 DSH 的模型、提供商或登录账号。 六款皮肤、位置、统计与桌宠拖动继续保留;旧弹窗仅用于开发预览。
deepseek-official、deepseek-account、openai-codex 与 codex 路由;没有通知或自定义价格规则。动作由 WPF 原生动画播放,状态轮询不限制动作帧率。在 Windows 上安装 DSH。DeepSeek 凭据在 DSH 内配置;Codex 额度须安装、启用并登录 dsh-codex-subscription 或 dsh-plugin-subscriptions(二选一),且宿主有公共连接接口,详见上方使用条件。凭据由 DSH / 订阅插件管理,无需填入桌宠。
从 v0.7.2 发布页 下载源码 ZIP 并解压到长期保留的目录,或运行:
git clone --branch v0.7.2 https://github.com/YangShen-SWE/dsh-plugin-simple-pet.git
安装完整目录,将路径换成实际解压路径。不要只复制某个脚本;所有运行文件和 assets/ 都需保留。
dsh plugin --profile desktop add "file:C:/path/to/dsh-plugin-simple-pet"
如果以前安装过 @local/dsh-simpledesktoppet 或 @local/dsh-deepseek-pet,先禁用/移除旧插件,避免重复处理事件。升级已有安装时,重新安装新目录或通过市场更新,不能只修改源码副本。
保存当前任务后,完全退出并重新启动 DSH(包含后台/托盘进程),让新版 Node 后端加载。只刷新网页、关闭桌宠、重新打开桌宠或重启旧安装副本都不等于升级后台。
在插件管理中启用 dsh-plugin-simple-pet,桌宠随插件自动启动;停用插件时关闭由插件启动的窗口。进入 DSH → 设置 → 桌宠,切换计费模式、形象、尺寸、飘字单位与睡眠时间并保存。关闭设置页不退出桌宠;右键不执行操作,停用插件可关闭桌宠。运行期间不要移动或删除安装目录。
默认安装目录通常是 %USERPROFILE%\.dsh\profiles\desktop\node_modules\dsh-plugin-simple-pet\。桌宠为单实例,正常使用不需额外运行启动脚本。仅排查窗口时,可在已安装目录运行:
powershell.exe -NoProfile -ExecutionPolicy Bypass -STA -File .\pet.ps1 -DshProfile desktop
DSH → 设置 → 桌宠 → 计费模式 → Codex 订阅模式。卡片展示剩余额度与本机时区的重置时间;未知显示 —,过期或失败标为上次额度。
dsh-codex-subscription: 通过其公开状态 / 用量接口跟随激活账号,查询前后核对账号,丢弃切号期间的结果。不默认查询 Codex CLI 账号,也不擅自切换账号。dsh-plugin-subscriptions: 显示其默认 Codex 账号,标为「默认账号 · 可能缓存」。模型池/独立模型实际使用账号没有公开关联,不能保证与默认账号一致;上游没有原始刷新时间,不生成其百分比飘字。启动就绪等待、周期满额检测、过期空闲截止时间支持和默认 5 秒/可自定义检测间隔已包含在 v0.5.1。请更新实际安装副本并完整重启 DSH;下载旧安装包或仅修改源码不会更新已经运行的后台。
DSH → 设置 → 桌宠 → Codex 自动预热,在任一计费显示模式下均可设置。没有手动预热按钮;三个开关独立,默认都关闭(升级保留原有开关偏好,新启动开关默认关闭):
HH:mm,例如 09:30,保存时间并启用每日开关。按运行 DSH 的电脑本地时区执行,不固定为北京时间或哥本哈根时间;设置文件变化时重新读取,按下一目标时间安排单次定时器;复用额度刷新(默认每 5 秒,可在设置中调整)作为兜底。只在持续运行、及时观察到指定时刻后,于该分钟内最多尝试一次;启动或恢复运行时已错过时刻不会补发。修改时间、失败、重启不会重试当天已记录的尝试。dsh-codex-subscription 当前活动账号的新鲜 5h 报告。除单次截止定时器外,按用户设置的检测间隔(默认 5 秒)强制刷新并检查满额新窗口,覆盖提前恢复,以及一直为 100% 但可靠重置时间改变的情况,不必等待旧截止时间。同一已知窗口最多尝试一次,持续 100% 不会每次检测都发送;只有每日开关不会开启周期满额请求。旧缓存、未知额度、周额度耗尽或默认账号报告不会触发;多个条件同时命中合并为一次调用。如果上游百分比与已尝试窗口标识都不变,无法证明再次官方刷新,不绕过去重。desktop 配置执行,其他配置不会因共享设置被自动启用。DSH 与插件必须运行;不会唤醒电脑,不补执行长时间休眠、离线期间错过的任务。夏令时不存在的时间跳过,重复时间不重复执行。关闭设置、退出桌宠窗口或切换显示模式不会停用任务;要停止自动请求,请关闭开关或禁用插件。修改相关设置会取消正在进行的请求,已发送部分可能计入额度。llm.stream,显式指定 openai-codex 与可用目录内模型;优先当前默认的 Codex 模型,否则使用 Codex 目录首项,并选择已报告支持的最低推理档。只发送固定短提示 Reply only OK.,不附带聊天历史、系统提示、会话 ID 或工具,不创建聊天或运行工具;不改动全局模型、账号或订阅插件设置。maxTokens 上限。约 60 秒发出取消信号,认证或清理阶段可能等待更久;未结束时不会并发启动下一次。测试只用模拟服务,不会自动发起真实付费调用。例如本机 09:30 请求,只有在服务器确实从该请求开启新 5h 窗口时,才可能在 14:30 重置;已有窗口不会因此重新锚定。成功、跳过、失败、上次尝试和下一每日时间在设置中显示;服务器额度报告始终是依据。第一次升级需完整重启 DSH 加载新版后端;之后更改设置不需重启。
| 现象 | 检查方法 |
|---|---|
| 更新后仍是旧版/提示「请重启 DSH 更新桌宠」 | 先更新实际安装副本,再完整退出并重启 DSH 后台;只刷新网页或重开桌宠不够。 |
| 「等待 DSH 数据」或「等待 DSH 加载统计」 | 确认 DSH 与桌宠插件运行;升级后完整重启 DSH。 |
| 「未发现支持的订阅接口」 | 确认宿主提供公共连接适配器,订阅插件已安装并启用;仅接入 OAuth 模型不足以提供额度。 |
| 「请在订阅插件登录」 | 在对应订阅插件登录/选择账号,不需把 Codex 凭据交给桌宠。 |
| 「上次额度 · 待更新」/「默认账号 · 可能缓存」 | 数据过期、查询失败或上游缺少刷新时间;等待刷新,不将旧数值视为实时额度。 |
| 今日总量为 0 | 确认所选模式对应支持的路由,新插件加载后至少完成一次模型调用;历史调用可能不在统计内。 |
| DeepSeek 余额无法查询 | 检查 DSH 的 API Key/账号登录及对应余额服务。 |
| 看不到悬浮窗 | 完整重启 DSH,确认插件启用;检查是否已有桌宠进程,必要时在安装目录手动运行脚本查看报错。 |
本机数据位于 %LOCALAPPDATA%\DshSimpleDesktopPet\:state-desktop.json 保存余额、额度与最近事件,stats-desktop.json 保存 DeepSeek 用量,stats-codex-desktop.json 单独保存 Codex Token,settings.json 保存偏好并保留旧坐标,position.json 保存桌宠最新拖动位置,warmup.json 保存自动预热的尝试键、时间及错过的每日时刻,防止重启后重复;已有日志损坏或无法读取时停止发送,不静默重建。旧目录与数据保留;状态不保存 API Key、Codex 令牌或对话正文。额度查询走订阅插件公共只读接口;启用预热才通过宿主模型接口发送固定极短提示,账号标识仅保存短哈希;完整说明见 隐私说明。
价格表按 DeepSeek 官方价格页 于 2026-09-29 核对,官方改价后需更新代码。源码与文档为 MIT 许可;十二张角色图集及四张生成源图另见 美术授权。保留 AI 来源信息,人工视觉检查不等于绝无相似或法律保证。本项目交互受 dsh-damage-pulse 启发,但未打包其源码或素材,与 DeepSeek 及上游无隶属关系。
运行 npm test 检查计费、路由、额度、统计和 UI;受限沙箱可用 node --test --test-isolation=none。v0.6.0 的源码与解包安装包回归均包括 80 项测试及 2631 项原生断言(设置 1706、尺寸 438、真实素材 454、额度展示 33)。Codex 接口与切号行为使用公开 DTO 的模拟回归;这些测试不读取真实账号数据,也不等于所有宿主/账号已完成实时额度验收。
powershell.exe -NoProfile -ExecutionPolicy Bypass -STA -File .\pet.ps1 -Preview 可查看独立模拟动效;加 -PreviewSleep 看睡眠、-PreviewSettings 看模拟统计,不修改真实余额。
Optional quiet mode cancels active visual effects while real balances, quotas, ledgers and activity/cursors continue updating; leaving static mode does not replay old events. Gentle feedback reuses neutral frames with a 450ms/1px confirmation, merges presentation only and avoids wounded/feeding/spend-reward poses. Independent reduced-motion, flash and floating-text controls preserve their saved values when quiet overrides them. Classic remains the default and all four new switches default off. Use DSH → Settings → 桌宠 → 陪伴与舒适, edit drafts, then explicitly save. Preserve skins, themes, drag positions, accounts/models and opt-in warm-up safeguards; no additional model calls or pet interactions. Source and extracted packages each pass 40 focused checks including 8344 native assertions; no full regression is claimed. Live host-page and subjective comfort acceptance still require a full restart. Only original marketplace PR #6267 is synchronized; merge status depends on actual repository permissions and checks.
Five independent card palettes (original sea blue, forest green, caramel brown, violet gray and paper white) pair freely with all six character skins. Every palette supports both DeepSeek balance/cache/peak pricing and Codex five-hour/weekly quotas/reset/status. The host-native gallery shows both modes and a live character/card combination using explicitly labeled synthetic values; previews make no model calls. cardTheme is independent of skin; old saves retain the original blue. Explicit revision-checked saves hot-reload without moving the pet or touching position storage, account/model selection or warm-up switches. Right-click remains inert. Only the new-feature suite is run: 13 tests and 54222 isolated native assertions over 480 combinations, plus build/package audits; no full regression or live model calls. Real WPF rendering is verified; refreshed live host settings still need post-restart visual acceptance. Fully restart DSH once after upgrading. Only the original marketplace PR #6267 is retained and synchronized; the other two submissions are closed. Synchronization does not imply approval or merger.
Settings and statistics now live in DSH → Settings → 桌宠, using the host's theme and settings sidebar instead of a standalone popup. Select options as drafts, then explicitly save; the pet hot-reloads them in roughly one second. Keep the original preferences/ledgers and opt-in warm-up flags. Dragging writes only a separate position file; atomic saves reject stale revisions and never overwrite malformed JSON. Opening the page makes no model calls. Restart DSH once after updating the local installed plugin to load its new client and API routes. Right-click does nothing and opens no menu or window; existing left-button dragging stays. The old WPF settings window requires explicit developer flags -Preview -PreviewSettings. Existing marketplace PRs are synchronized for v0.6.1; this does not imply approval or merger. The earlier settings-migration regression passed 123 tests / 2847 native assertions on source and installed copies; this release runs only focused right-click checks plus build/package verification, not the full suite. The refreshed live host page still needs post-restart visual verification.
File.Replace, preserving atomic saves and existing preferences.Use Windows and DSH. Configure DeepSeek in DSH; for Codex quota, install/enable and sign in to either dsh-codex-subscription or dsh-plugin-subscriptions, with the host public connection adapter available. Never give the pet Codex credentials.
Download the source ZIP from v0.7.2, or clone the tagged version to a permanent directory. Install the whole directory:
dsh plugin --profile desktop add "file:C:/path/to/dsh-plugin-simple-pet"
Disable/remove old @local/dsh-simpledesktoppet or @local/dsh-deepseek-pet copies. To upgrade, update the installed copy via the market or reinstall the updated folder.
Save running work, fully quit DSH including its background/tray process, and relaunch it. Refreshing the browser or reopening the pet does not update the loaded Node backend.
Enable dsh-plugin-simple-pet. DSH owns the pet window lifecycle. Open DSH → Settings → 桌宠 for preferences/statistics. Right-click is inert; closing settings does not close the pet. Left-button dragging remains; disable the plugin to close its pet. Keep the installed directory in place.
The original PR #6267 is merged. Its latest stable tarball URL follows a newly published stable Release with the same asset name; no new marketplace PR is needed for each release. A source push alone does not update that asset. Catalogue notes/screenshots refresh on scheduled probes and client cache refresh; description changes still need an entry PR, here the existing #7391. Catalogue refresh does not auto-upgrade an installed plugin: use Update/reinstall and fully restart DSH. The pet remains single-instance.
The host must expose the public in-process connection adapter and a supported addon must be enabled. dsh-codex-subscription follows its active account, checked before and after the query. dsh-plugin-subscriptions exposes a default account, not necessarily the pool's selected account; its report is labeled potentially cached and never generates percent animations without an original refresh timestamp.
Unknown quota is —, not 0% or 100%. Reset times use your local time zone. Queries start when the backend loads and repeat every 5 seconds by default. Settings → Codex quota checks accepts an integer interval of 1–3600 seconds; saving rearms the timer without restarting or enabling warm-up. Busy queries do not overlap, and upstream refresh limits still apply. Percent feedback measures decreases between fresh reports for the same account/window; it is not a Token conversion or guaranteed per-turn attribution. Resets and account changes are not spending. Missing reliable reports fall back to Token feedback.
“请重启 DSH 更新桌宠” means an old backend snapshot lacks Codex fields: update the installed copy and fully restart DSH, not the subscription login. “等待 DSH 数据” means no initial snapshot yet. Other statuses distinguish signed-out, unsupported, switching and stale data. Codex Token charts count DSH-reported usage only; account quota may also reflect other clients.
Startup-readiness waiting, periodic full-quota detection, expired-idle-deadline support and the configurable five-second polling default ship in v0.5.1. Update the installed copy and fully restart DSH; updating source alone does not update a running installed backend.
Settings has independent, default-off daily local HH:mm, observed 5-hour reset, and startup at 100% quota switches, with no manual request button. The startup switch and revised scheduling ship in v0.5.0; existing switches keep their saved preferences, and the new startup switch defaults off. Startup waits until the active-account quota is usable, then requires fresh 100% five-hour quota, usable weekly quota and a known deadline. An expired idle deadline is permitted: a post-call refresh records the actual new window, with conservative same-account suppression if it remains unknown. Durable account/window claims prevent repeated requests on restart. The reset switch also force-refreshes and checks for full new windows at the configured interval (5 seconds by default), including early restoration or a changed deadline while quota remains 100%; daily alone does not opt into this behavior. Sustained 100% never causes a request on every quota check. If both percentage and the already-claimed window identifier stay unchanged, the API cannot prove a new provider-wide reset, so deduplication is not bypassed. Only the Windows desktop profile executes the shared local schedule; other profiles do not opt in. Settings-file changes wake the scheduler, which uses one-shot deadline timers plus the configurable quota refresh. A target already missed at startup/wake is suppressed, including subsequent ticks and restarts; the computer is never woken. Closing the pet or changing display mode does not disable the backend schedule; turn off the switches or disable the plugin to stop it.
A fresh, forced active-account quota check and durable attempt claim precede a direct openai-codex stream. It uses an available Codex model (current Codex default if available, otherwise the first catalog entry) and the lowest advertised supported reasoning effort. Only Reply only OK. is sent: no session, history, system prompt or tools. Model/account/addon preferences are not changed. A daily date or observed reset deadline is attempted at most once; simultaneous triggers coalesce. Unknown/stale/exhausted quotas or account changes skip dispatch. Reported usage, including failed-call usage, enters the separate Codex ledger.
The public API cannot pin an account during dispatch, impose an enforceable Codex token cap, or forbid every existing transport retry. The pet retries only proven-unsent failures, at most three attempts five seconds apart. Once model invocation begins, an uncertain failure or timeout stops the occurrence and shows a warning instead of resending. Existing addon WebSocket/middleware behavior may still retry internally. A 60-second cancellation signal does not guarantee an authentication/cleanup deadline. Reset reports, not success or token counts, determine window timing: 09:30 does not guarantee a 14:30 reset. Tests use mocks only; no live billable verification was performed. Warm-up remains opt-in in v0.5.1; existing preferences are preserved and no switch is enabled by the upgrade. Fully restart DSH once after updating the installed backend.
The DeepSeek card queries the signed-in account wallet at startup and switches wallets according to actual official deepseek-account / deepseek-official calls. It estimates deductions between official balance checks; unknown prices stay unpriced. Token amounts include reported context/cache, not only your last prompt. Today's totals use local dates; old history may be incomplete.
Data and preferences stay under %LOCALAPPDATA%\DshSimpleDesktopPet\, with separate DeepSeek/Codex ledgers. No prompt/response bodies or credentials are stored. Codex quota uses public read-only addon RPC and hashes account identifiers; opt-in warm-up sends only a fixed short prompt through the host LLM service and stores attempt timestamps/keys, not response bodies. See PRIVACY.md, artwork terms, and CHANGELOG.md. There is no telemetry or cloud sync.
Run npm test (or node --test --test-isolation=none in restricted sandboxes). Both the v0.6.0 source and extracted installation package pass 80 tests and 2631 native assertions (1706 settings, 438 size, 454 actual-asset and 33 quota-presentation assertions). Codex/account-switch tests use synthetic public DTOs, not live credentials; passing them is not a claim of live quota verification on every host/account. Isolated preview mode uses synthetic events and does not change live balance data.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。