# @gavinc-cn/dsh-patch-draft-attachment

> 让输入框草稿里的截图 / 图片 / 文件在切换会话、刷新页面后还在：启动时对 dsh-client-ui-conversation 的 client bundle 打一个幂等文本补丁，把附件额外持久化到 localStorage + IndexedDB 并在会话重建时还原。

Latest version **0.1.0** (published 2026-11-18) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install @gavinc-cn/dsh-patch-draft-attachment
pnpm add @gavinc-cn/dsh-patch-draft-attachment
yarn add @gavinc-cn/dsh-patch-draft-attachment
bun add @gavinc-cn/dsh-patch-draft-attachment
```

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2026-11-18 |
| First published | 2026-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.7 KB |
| Maintainers | gavinc-cn |

## Links

- npm: https://www.npmjs.com/package/@gavinc-cn/dsh-patch-draft-attachment
- Repository: https://github.com/gavinc-cn/dsh-plugins
- Homepage: https://github.com/gavinc-cn/dsh-plugins/tree/master/packages/ui/dsh-patch-draft-attachment#readme
- npm.io page: https://npm.io/package/@gavinc-cn/dsh-patch-draft-attachment

---
_Source: https://npm.io/package/@gavinc-cn/dsh-patch-draft-attachment · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
