dsh-rewind-plugin 0.18.1 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +0 -8
- package/README.md +0 -5
- package/lib/client.js +459 -313
- package/lib/index.js +58 -5
- package/lib/types/client/candidates.d.ts +4 -6
- package/lib/types/client/hidden.d.ts +30 -36
- package/lib/types/client/index.d.ts +1 -7
- package/lib/types/client/locales.d.ts +58 -46
- package/lib/types/client/portals.d.ts +3 -65
- package/lib/types/client/visibility.d.ts +89 -0
- package/lib/types/locales.d.ts +80 -20
- package/locale/ja.json +6 -0
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -159,14 +159,6 @@ This plugin deliberately stays lightweight and focused on one thing — "convers
|
|
|
159
159
|
> This project and DeepSeek Harness are both in developer preview. Pin exact
|
|
160
160
|
> versions in reproducible environments and review the behavior notes above.
|
|
161
161
|
|
|
162
|
-
## Client contract
|
|
163
|
-
|
|
164
|
-
Third-party DOM plugins that need to know which transcript rows a rewind
|
|
165
|
-
withdrew should consume the stable, locale-independent helpers exported from
|
|
166
|
-
`dsh-rewind-plugin/client` — never parse
|
|
167
|
-
`outcome.text`. The `data-dsh-rewind-hidden` attribute marks withdrawn rows
|
|
168
|
-
(observational only). Details: [docs/contract/client-contract.md](docs/contract/client-contract.md).
|
|
169
|
-
|
|
170
162
|
## Known issues
|
|
171
163
|
|
|
172
164
|
1. **Exported logs are complete** — a rewind only removes messages from the model context and the view; the exported session log (`/export`) still contains **withdrawn messages**. This plugin cannot alter exports.
|
package/README.md
CHANGED
|
@@ -143,11 +143,6 @@ rm <dsh home>/snapshot-cleanup-last-sweep.json
|
|
|
143
143
|
> 本项目与 DeepSeek Harness 均处于开发者预览阶段。可复现环境请 pin 精确版本,
|
|
144
144
|
> 并阅读上述行为说明。
|
|
145
145
|
|
|
146
|
-
## 客户端契约
|
|
147
|
-
|
|
148
|
-
需要获知哪些转录行被回退撤回的第三方 DOM 插件,应使用 `dsh-rewind-plugin/client` 导出的稳定、与本地化无关的纯函数,切勿解析 `outcome.text`。`data-dsh-rewind-hidden` 属性标记被撤回的行(仅观测性)。
|
|
149
|
-
详见:[docs/contract/client-contract.zh.md](docs/contract/client-contract.zh.md)。
|
|
150
|
-
|
|
151
146
|
## 已知问题
|
|
152
147
|
|
|
153
148
|
1. **导出的日志是完整内容**——回退只是把消息从模型上下文和视图中移除,`/export` 导出的会话日志包含**已撤回的消息**。本插件无法改动导出。
|