mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 13:20:22 +08:00
fix: 发布 1.1.46,略过有问题的 1.1.45。
工作区说明改回不能压过 system,地区闸门只认大陆、香港、澳门域名,并重新加密默认提示词。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
96c54b8431
commit
81c48bf465
7 files changed
+323
-452
No files matched your search
+7
-7
@@ -1,10 +1,11 @@
|
||||
# 1.1.45
|
||||
# 1.1.46
|
||||
|
||||
## 中文
|
||||
|
||||
- 版本升级到 1.1.45。
|
||||
- 版本升级到 1.1.46。1.1.45 有问题,略过,不要安装。
|
||||
- 默认提示词按 `default-prompt-inject.md` 重新加密写入。
|
||||
- 修复注入不稳定:第二轮或任务做到一半人设失效、被当成 `project_instructions` 拆掉的问题。
|
||||
- 工作区替换稿免责声明补丁不再被主 intro 的完成标记冒充跳过;替换稿与作用域 intro 与主 intro 对齐。
|
||||
- 工作区替换稿和作用域说明改回 0.1.7 的优先级:不能压过 system、developer 和用户原话。主 intro 的反软拒绝句保持不变。已经叠上的作用域强句整段收成这一句。
|
||||
- 进模型前剥掉外层 ChatML / `<project_instructions>` 壳,避免模型把真实 system 注入当成项目说明。
|
||||
- 组装后的系统提示段统一保证 `text` 为字符串;不再会话钉死整段 sections,避免第二轮 `renderPrompt` 读 `undefined.length` 直接死掉并报 `(gateway/internal)`。
|
||||
- `agent/pre-step` 始终把 `decision.messages` 规范成数组,避免第二轮发送时读空 messages 炸掉。
|
||||
@@ -12,14 +13,14 @@
|
||||
- 回退后 `deriveMessages` / `systemNodes` 对缺 `content` 做兜底,避免回退再发送时 `(gateway/internal)`。
|
||||
- 清洗进度:未定位宿主时不再显示吓人的 `0/63`;本机不需要或组件未装的项计入已就绪,避免假的 `48/63`。
|
||||
- 点「应用」就会写入默认提示词并注入,框空时用内置默认,不必先点保存。
|
||||
- 更新并重新加密默认提示词。
|
||||
- 修复回退:`snapshotEvents()` 为空时不再读 `undefined.length`,避免 `(gateway/internal)` 报错导致回退无效。
|
||||
|
||||
## English
|
||||
|
||||
- Version 1.1.45.
|
||||
- Version 1.1.46. Skip 1.1.45; that version has bugs. Do not install it.
|
||||
- Reseal the default prompt from `default-prompt-inject.md`.
|
||||
- Fix unstable inject: persona dropping on the second turn or mid-task, including cases where the model treated the system inject as `project_instructions` and rejected it.
|
||||
- The replacement workspace-intro patch no longer skips because of the main intro's completion marker; replacement and scope intros match the main intro.
|
||||
- Replacement and scope workspace intros match 0.1.7 again: they do not override system, developer, or direct user instructions. The main intro anti-soft-refuse text stays. A stacked scope paragraph is collapsed back to that one sentence.
|
||||
- Strip outer ChatML / `<project_instructions>` wrappers before the text reaches the model, so a real system inject is not read as project instructions.
|
||||
- Sanitize assembled system-prompt sections so `text` is always a string; stop pinning full sections for a session, which could make the second turn crash in `renderPrompt` on `undefined.length` with `(gateway/internal)`.
|
||||
- Always normalize `decision.messages` to an array in `agent/pre-step`, so a second send does not die on a missing messages list.
|
||||
@@ -27,7 +28,6 @@
|
||||
- After rewind, `deriveMessages` / `systemNodes` tolerate missing `content`, so resend no longer fails with `(gateway/internal)`.
|
||||
- Clean progress: do not show a scary `0/63` before the host is located; items not needed on this install count as ready, so a fake `48/63` no longer appears.
|
||||
- Apply writes and injects the default prompt; an empty box uses the bundled default, so a separate Save is not required.
|
||||
- Refresh and re-encrypt the bundled default prompt.
|
||||
- Fix rewind: empty `snapshotEvents()` no longer reads `undefined.length`, so undo no longer fails with `(gateway/internal)`.
|
||||
|
||||
# 1.1.44
|
||||
|
||||
Reference in new issue
Block a user