28 Commits
Author SHA1 Message Date
叫我小杨同学andCursor 76e64d65e0 fix: 发布 1.1.65,截图报告与默认提示词
接入上游截图登记和六段报告,默认提示词按当前文稿重新加密。缺外部工具或密钥时技能仍可加载。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-08 16:52:44 +08:00
叫我小杨同学andCursor f51c1d6ddc fix: 发布 1.1.61,多宿主 Apply 与 #73/#74、极简 preset
- Apply/reapply 同时写 npm-global 与桌面宿主;#73 地区闸门误拦;#74 提示词落盘与 resolveInjectText

- 极简 #80 官方 shell;agent-preset/selected 优先;adaptInjectForMinimalPreset;refusal-recover 扩展

- identity 注入去重与组装;默认提示词重加密 asset-table.js

Closes #73. Closes #74.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 18:13:19 +08:00
叫我小杨同学andCursor 8079d69bfb chore: close-issues script via GitHub API (no gh read:org)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 23:36:43 +08:00
叫我小杨同学andCursor 8244e6320f chore: add gh script to close issues for 1.1.60
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 23:34:41 +08:00
叫我小杨同学andCursor af13e8c201 fix: 发布 1.1.60,极简/PTC 清洗、回退轮次与桌面补丁
- 反转 run_code/沙箱/plan 拦截(#60/#61/#63);minimal 补 agent-instructions(#26)

- 回退按当前轮定位(rewind + #74/#75);Apply 写入 client 包避免取消重启

- 默认提示词重新加密;#66/#67/#69/#71/#70 与 README #68 安装说明

Closes #66, #67, #69, #70, #71. Docs for #68.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 23:32:54 +08:00
叫我小杨同学andCursor 6f37daa01d fix: 发布 1.1.55,重启后提示词稳定注入且不再误取消
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:49:49 +08:00
叫我小杨同学andCursor 4da6d2eaf4 fix: 发布 1.1.54,官方桌面启动不再 INACTIVE_EFFECT(#58–#61)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 14:19:25 +08:00
叫我小杨同学andCursor c67b012bd7 fix: 发布 1.1.53,修应用后无限重启与市场 git 安装(#58–#61)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 13:54:38 +08:00
叫我小杨同学andCursor 53d472f3c7 fix: 发布 1.1.38,红队守住目标并修好模式不显示
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 18:15:28 +08:00
叫我小杨同学andCursor 065d00633b fix: 发布 1.1.35,技能路径跟随安装目录
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 21:45:47 +08:00
叫我小杨同学andCursor 7fc64e4b45 fix: 发布 1.1.34,知识库列出本机模板,更新包在三端都能解压
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 18:28:55 +08:00
叫我小杨同学andCursor 56007e9ec0 fix: 去掉测试版通道,版本号保持 1.1.33
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 18:16:40 +08:00
叫我小杨同学andCursor c08fd47eba fix: 发布 1.1.32,按测试版接上演练台布局,设置页不再显示
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 17:59:03 +08:00
叫我小杨同学andCursor f988474f2f fix: 发布 1.1.31,演练台进入正式版,回退不再在侧边栏堆分支
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 17:35:43 +08:00
叫我小杨同学andCursor 00b4c6f93d fix: 发布 1.1.28,修更新 http 302 与测试版列表被正式号藏空
- 归档下载改直连 codeload,并手动跟随 301/302,避免 Electron 下 github.com/archive 报 http 302
- 前端 keepListedVersion 与后端一致:beta tip / beta 分支始终可见;tip SHA 失败时 raw/jsDelivr 回退

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 15:21:11 +08:00
叫我小杨同学andCursor b6324250bd fix: 发布 1.1.26,正式版同号不再藏掉测试通道 tip
beta 分支头始终可见,避免 1.1.25 正式把并行测试版(含红队)整通道过滤掉。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 09:56:51 +08:00
叫我小杨同学andCursor fc9215379f fix: 发布 1.1.25,保护用户 profile cordis.patch.yml 不被 bak 回滚(#43)
从 targetFiles/backup/revert 移除用户 patch 层,并清理历史误建 bak,避免升级自愈覆盖用户 insert。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 00:46:54 +08:00
叫我小杨同学andCursor 05b64bf82f fix: 发布 1.1.24,修源码版桌面误判与 apps/cli 误写(#40 / #41)
pathLooksDesktop 需安装形态才判桌面;源码 apps/cli 跳过 hide-console;revertAll 无 bak 只跳过不删。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-27 23:45:32 +08:00
Musan 82a3cf0f90 fix: #1/#2/#3 补 skipIfMarked,修掉提示词每次 apply 叠加 +841 字符的回归
(本提交基于 v1.1.22 / 58c950a;此前的 8c3fdc9 基于 1.1.23-beta.1,
  因上游把 beta 移出 master,故在 1.1.22 上重建)

现象
  #1 / #2 / #3 的替换链里,新版文本以旧版文本为**前缀**:

    const STRONG_SCOPE    = STRONG_SCOPE_BODY + 授权尾 + 反拒绝尾     // 最新
    const STRONG_SCOPE_V1 = STRONG_SCOPE_BODY                         // 旧
    const STRONG_SCOPE_V2 = STRONG_SCOPE_BODY + 授权尾                 // 中间版
    // #3 的替换 ③: STRONG_SCOPE_V2 → STRONG_SCOPE   ← 产物仍以 V2 开头,永远命中

  于是每次 apply 都在同一处再叠一层。用插件自己的 applyReplacementsToText 连跑 5 次:

    run1..run5: changed=true  Δlen=+841 each   标记出现=2,4,6,8,10

  #1 / #2 结构相同(STRONG_INTRO / _V1 / _V2)。宿主
  dsh-agent-instructions/lib/index.js 已实测被叠到 57556 字符(原 53262,多 5 层)。

根因
  markers 默认只参与"报状态",不参与"防重复应用":

    if (patch.skipIfMarked && patchApplied(source, patch)) { … 跳过 … }

  全 44 项里只有 #41 / #42 / #45 设了 skipIfMarked,而 #1 / #2 / #3 的 markers
  (["ACTIVE and MANDATORY for the stated scope", "Do not soft-refuse or hard-refuse"])
  在文件中明明都命中,却因为 skipIfMarked 为假而完全不生效。

  两者相加 = 每个 autoApplyOnStart 周期给 system prompt 多叠 841×2~3 字符,
  每次重启继续累加(不崩溃,但提示词线性膨胀、指令重复)。

修复
  与 #41/#42/#45 一致,给 #1 / #2 / #3 补 `skipIfMarked: true`。
  新增 scripts/test-patch-idempotence.mjs(npm run test:idempotence):
  静态断言三者都带该字段,并对 #3 重复应用 5 轮断言逐字节不变;
  同时摘掉 skipIfMarked 复现叠加,确保测试真的覆盖到这个回归。

验证
  修复前:连跑 5 次 → 每次 +841 字符,永不收敛
  修复后:第 1 次 apply 落地,再连跑多次 applied=0 且逐字节不变
  测试:npm run test:idempotence → ok(#3 收敛长度=1957,无守卫时 3 轮累计增长=2523)

兼容性
  纯增量:只加一个布尔字段 + 一个测试脚本,不改变任何 pattern / replace / markers。
2026-09-27 23:38:33 +08:00
叫我小杨同学andCursor 5d6cf35dac fix: bash 超时注记改成 YAML 注释,避免启动校验失败 (#36)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 12:22:07 +08:00
叫我小杨同学andCursor 1693532d99 feat: 发布 1.1.15
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 09:23:05 +08:00
叫我小杨同学andCursor b2c2fad6fd feat: 发布 1.1.14
回退清队列会等 updateQueue 结束,条目已经不在时不再把宿主打成未处理异常。兜底回退按钮记下时间,轮询不会把同一次回退再打开一遍。开放回合切在最后一个已闭合回合,不再多丢上一轮;等不到结束仍然直接失败。

同时写入 1.1.13 之后已在 master 上的修复:bash 超时补丁不再每次启动多补一个 0,正式版追上的测试版不再列出,phase-1 不再清空 runtime context。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:51:22 +08:00
叫我小杨同学andCursor 52b4d087c1 fix: 正式版追上后隐藏旧测试版,phase-1 不再清上下文
版本列表按正式版上限藏掉已追上的测试版;提交号对不上时按本机版本号标当前。phase-1 不再清空 contexts,也不改消息白名单。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 13:05:28 +08:00
叫我小杨同学andCursor aca53d45e1 fix: 插件重装改用 tar.gz,避免没装 git 时解析失败 (#30)
pnpm 解析 github: 和 git+https 会执行 git ls-remote。插件自己的更新改为 GitHub archive 包,不依赖本机 git。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 00:08:22 +08:00
叫我小杨同学andCursor f3afd9a5cb fix: 版本按提交号标当前,并拦住跨站调用与旧 pin 补丁
同版本号的旧标签不再显示当前。本机接口拒绝跨站请求,更新只接受已知 ref。#41 去掉 dsh-purge:committed 短路。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 00:15:14 +08:00
叫我小杨同学andCursor 566fc3683c fix: 停用钉住上一条系统提示,避免梁神预设每步膨胀 (#29)
每轮只把注入折进 persona。钉最近全文会和每轮追加的 section 叠成线性增长,前缀缓存失效。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 00:04:26 +08:00
叫我小杨同学andCursor f16ba86ad1 feat: 发布 1.1.9,将提示词从仓库中下线
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-19 00:51:25 +08:00
叫我小杨同学andCursor 6432288056 feat: 发布 1.1.8,默认提示词内置进插件,源 md 不进仓库
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-19 00:03:03 +08:00