{"_id":"@dfy-plugins/dsh-archive-manager","_rev":"2-ea1151ce7a978c644a8128f9c21989a9","name":"@dfy-plugins/dsh-archive-manager","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.3":{"name":"@dfy-plugins/dsh-archive-manager","version":"0.1.3","keywords":["deepseek-harness","dsh-plugin"],"license":"MIT","_id":"@dfy-plugins/dsh-archive-manager@0.1.3","maintainers":[{"name":"xiaoxiao44443","email":"xiaoxiao44443@163.com"}],"homepage":"https://github.com/xiaoxiao44443/dfy-dsh-plugins#readme","bugs":{"url":"https://github.com/xiaoxiao44443/dfy-dsh-plugins/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"}},"dist":{"shasum":"67b89d954e8ce99a3d3a56279e8d96d029c85c65","tarball":"https://registry.npmjs.org/@dfy-plugins/dsh-archive-manager/-/dsh-archive-manager-0.1.3.tgz","fileCount":9,"integrity":"sha512-2MfJeer01XbGp8gkDivjQhHtNxSFaKTKoFiI41bmklm23rcoXh3iC627sCSa4kCiL33MtTX0pay5XSINjFJ6ZA==","signatures":[{"sig":"MEUCIQChAWdJSh3ZPO7YPP/wUaMr5KD4+Ia3NCmsD10oilvAKAIgfPmgxE11T29DW0eRIyB7soUPArbv6FHeyxL6S86/TD8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44966},"main":"lib/index.js","type":"module","_from":"file:/Users/xiao/Projects/dfy-dsh-plugins/release/npm/dfy-plugins-dsh-archive-manager-0.1.3.tgz","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"default":"./lib/client.js"},"./package.json":"./package.json"},"scripts":{"test":"tsc -p tsconfig.json && node --test","build":"tsc -p tsconfig.json && node scripts/build-client.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit"},"_npmUser":{"name":"xiaoxiao44443","email":"xiaoxiao44443@163.com"},"_resolved":"/Users/xiao/Projects/dfy-dsh-plugins/release/npm/dfy-plugins-dsh-archive-manager-0.1.3.tgz","_integrity":"sha512-2MfJeer01XbGp8gkDivjQhHtNxSFaKTKoFiI41bmklm23rcoXh3iC627sCSa4kCiL33MtTX0pay5XSINjFJ6ZA==","repository":{"url":"git+https://github.com/xiaoxiao44443/dfy-dsh-plugins.git","type":"git","directory":"plugins/archive-manager"},"_npmVersion":"11.13.0","description":"归档对话管理：按项目查看、取消归档或永久删除已归档的对话。","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.24.0","typescript":"^5.5.0","@types/node":"^24.0.0","@types/react":"^19.0.0","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-host-webserver":"^0.1.1-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-host-webserver":"^0.1.1-rc.2 || ^0.1.2-alpha.1 || ^0.1.5-alpha.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-archive-manager_0.1.3_1789009086461_0.6349928333553068","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"_id":"@dfy-plugins/dsh-archive-manager@0.1.4","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"}},"bugs":{"url":"https://github.com/xiaoxiao44443/dfy-dsh-plugins/issues"},"dist":{"shasum":"5f12df042f9e64c912168d94b791bafecb35cce3","tarball":"https://registry.npmjs.org/@dfy-plugins/dsh-archive-manager/-/dsh-archive-manager-0.1.4.tgz","fileCount":11,"integrity":"sha512-Sj1Ka2BaM8rsdxMuYZMdA9jmXch22Xd1zbwEiFzkYtIGZLaDMP1kJRaAV+vVse3H5p8rRkUdFM8yDcMuVDueVA==","signatures":[{"sig":"MEYCIQDCZUw1VOYCnDPxkK/+jw2XOrAIjPif8nmtemagxdJQgAIhAJff0XrjBw7M3gsERyZlk/G/6XRLPBdNSR2QMbWlLFH5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC1EjDRXD7ZHaRdP3G4BUVYrdcn8ngHuM/zwKwfeXBfGAiEA318mz/37caINxtPbsiuBDYhennu3zXy0nFdCCgOzUg0="}],"unpackedSize":44919},"main":"lib/index.js","name":"@dfy-plugins/dsh-archive-manager","type":"module","_from":"file:E:/项目文件/dfy-dsh-plugins/release/npm/dfy-plugins-dsh-archive-manager-0.1.4.tgz","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"default":"./lib/client.js"},"./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"license":"MIT","scripts":{"test":"tsc -p tsconfig.json && node --test","build":"tsc -p tsconfig.json && node scripts/build-client.mjs","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit"},"version":"0.1.4","_npmUser":{"name":"xiaoxiao44443","email":"xiaoxiao44443@163.com"},"homepage":"https://github.com/xiaoxiao44443/dfy-dsh-plugins#readme","keywords":["deepseek-harness","dsh-plugin"],"_resolved":"E:\\项目文件\\dfy-dsh-plugins\\release\\npm\\dfy-plugins-dsh-archive-manager-0.1.4.tgz","_integrity":"sha512-Sj1Ka2BaM8rsdxMuYZMdA9jmXch22Xd1zbwEiFzkYtIGZLaDMP1kJRaAV+vVse3H5p8rRkUdFM8yDcMuVDueVA==","repository":{"url":"git+https://github.com/xiaoxiao44443/dfy-dsh-plugins.git","type":"git","directory":"plugins/archive-manager"},"_npmVersion":"11.16.0","description":"归档对话管理：按项目查看、取消归档或永久删除已归档的对话。","directories":{},"maintainers":[{"name":"xiaoxiao44443","email":"xiaoxiao44443@163.com"}],"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.24.0","typescript":"^6.0.3","@types/node":"^24.0.0","@types/react":"^19.0.0","@deepseek-ai/cordis":"^4.0.3","@deepseek-ai/dsh-host-webserver":"0.1.7-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.3","@deepseek-ai/dsh-host-webserver":">=0.1.7-alpha.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-archive-manager_0.1.4_1790088686566_0.07657514290651046"}}},"time":{"created":"2026-09-10T02:58:06.281Z","modified":"2026-09-22T14:51:27.013Z","0.1.3":"2026-09-10T02:58:06.588Z","0.1.4":"2026-09-22T14:51:26.671Z"},"bugs":{"url":"https://github.com/xiaoxiao44443/dfy-dsh-plugins/issues"},"license":"MIT","homepage":"https://github.com/xiaoxiao44443/dfy-dsh-plugins#readme","keywords":["deepseek-harness","dsh-plugin"],"repository":{"url":"git+https://github.com/xiaoxiao44443/dfy-dsh-plugins.git","type":"git","directory":"plugins/archive-manager"},"description":"归档对话管理：按项目查看、取消归档或永久删除已归档的对话。","maintainers":[{"name":"xiaoxiao44443","email":"xiaoxiao44443@163.com"}],"readme":"# @dfy-plugins/dsh-archive-manager\r\n\r\nDeepSeek Harness 归档会话管理插件：在「设置」里新增「归档管理」页，\r\n按项目列出已归档的对话，并支持取消归档、永久删除单条或全部删除。\r\n\r\n- Host 半区：注册列表、取消归档、单条删除和全部删除四个 HTTP 路由，读取 `$DSH_HOME/sessions`、\r\n  工作区信息与会话投影缓存；状态变更通过 Harness 工作区注册表实时发布\r\n- Client 半区：注册 `settings.section` 设置页（id: `archives`，标签「归档管理」）\r\n\r\n## 构建与测试\r\n\r\n```bash\r\npnpm install\r\npnpm run typecheck   # host + client 类型检查\r\npnpm run build       # tsc -> lib/index.js + esbuild 打包 -> lib/client.js\r\npnpm test            # node --test（归档逻辑，基于临时目录）\r\n```\r\n\r\n## 安装\r\n\r\n```bash\r\ndsh plugin --profile web add /path/to/dfy-dsh-plugins/plugins/archive-manager\r\n```\r\n\r\n`dsh.bundle.patch` 让插件加入 Profile 层栈；`dsh.client` 让浏览器端扫描并加载\r\n`./client` bundle。重启 DeepSeek Harness 后生效。\r\n\r\n## 使用\r\n\r\n设置 →「归档管理」：按项目查看对话标题和最后活动时间；点击「取消归档」可立即\r\n恢复到原项目与原位置，点击垃圾桶并确认后永久删除。删除只针对**已归档**对话；\r\n右上角的「全部删除」会在二次确认后永久删除当前全部归档对话，未归档对话会被拒绝。\r\n永久删除会保留不可见的归档标记，防止当前 Host 内存中的旧\r\n索引短暂显示为无法打开的对话；归档页会按磁盘记录过滤，不会再次显示该条目。\r\n","readmeFilename":"README.md"}