fix: 发布 1.1.45,稳住默认注入并修正清洗进度显示。

点应用即写入默认提示词,不必先保存。剥掉外层 project_instructions 壳并钉死会话系统提示,避免第二轮注入失效。未定位宿主不再显示 0/63,本机不需要的项计入已就绪。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-02 02:09:44 +08:00
1 parent 21dfd934a4
commit f2c244c78f
36 files changed
+2309 -738

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@
* 做法:按行扫描,删掉这两条**条目本身及其子行**(缩进更深的部分),其它内容原样保留;
* 若某个 `- insert:` 的子项被删空,连同那一行一起删。先备份再写回;幂等;支持 --dry-run。
*
* 用法(本插件内):
* node lib/redteam/migrate-legacy-rows.mjs [--profile web] [--dry-run]
* 用法:
* node node_modules/dsh-redteam-mode/lib/migrate-legacy-rows.mjs [--profile web] [--dry-run]
*/
import { copyFileSync, existsSync, readFileSync, writeFileSync } from 'node:fs'
import { homedir } from 'node:os'