RT15548
|
11e48f8dc5
|
纳入小白板内容+世界书读取逻辑修正 (#23) (#25)
* Strip everything before and including </think> (handles unclosed think blocks)
* Log 样式优化
* Log样式优化
* 小白板内容曝露给ena-planner
* 小白板内容曝露给ena-planner
* 修正世界书宏读取问题
* 修正summary触发绿灯的问题
* 向量存储到ST端
* 向量存储到ST端
* 向量到ST服务器
* 向量存储到ST端
* backup file名称修正
* 存取向量逻辑修正
* 切聊天时清掉旧 summary
* 新增向量备份管理 UI(清单 + Modal)
- vector-io.js:新增 fetchManifest / upsertManifestEntry / deleteServerBackup 等清单管理函数;backupToServer 成功后自动写入 LWB_BackupManifest.json
- story-summary.html:在服务器 IO 区域新增「管理」按钮及独立 Modal 弹窗
- story-summary-ui.js:新增备份列表渲染、删除确认、只读模式降级逻辑
- story-summary.js:新增 VECTOR_LIST_BACKUPS / VECTOR_DELETE_BACKUP 消息处理
* 备份管理 Modal 移至父窗口,修复层级与配色问题
- Modal 从 iframe 移到父窗口 DOM(z-index:100000),不再被 settings modal 遮挡
- 改为白底深色文字,配色清晰可读
- 删除逻辑直接在父窗口调用,无需跨帧消息
- 简化 story-summary-ui.js,移除 modal 相关代码
* 删除聊天时自动清理服务器向量备份
- vector-io.js:导出 getBackupFilename
- story-summary.js:监听 CHAT_DELETED / GROUP_CHAT_DELETED,静默删除对应 zip 和清单条目
* 修复 serverPath 含前导斜杠导致删除失败的问题
buildSafeServerPath 比较前 strip 前导 /,upsertManifestEntry 写入前同样 normalize,
确保清单和校验逻辑使用统一格式
* normalizeManifestEntry 读取时同步 strip serverPath 前导斜杠
补全斜杠 normalize 的覆盖点:写入(upsertManifestEntry)、校验(buildSafeServerPath)、
读取(normalizeManifestEntry)三处统一,旧清单条目自动修正
* 重要NPC生成路径:拆分添加按钮 + 完整角色档案模板
- 陌路人卡片"添加"按钮拆为"重要"(importantNpc)和"背景板"(npc)两个
- 新增 importantNpc 生成路径,传递 npcType 贯穿 genAddCt → CHECK_STRANGER_WORLDBOOK_RESULT → GENERATE_NPC_RESULT
- 新增 importantNpc JSON 模板:白描外貌、世界观适配、性格调色盘+衍生、台词示例、结构化二次解释
- 新增 importantNpc UAUA 提示词:内嵌白描规则+正反示范、调色盘衍生写法指导
* 高级设置模板编辑器加注授权声明
* 授权声明仅在重要NPC生成模板下显示
---------
Co-authored-by: Hao19911125 <99091644+Hao19911125@users.noreply.github.com>
Co-authored-by: LittleWhiteBox Dev <dev@littlewhitebox.local>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-19 00:50:14 +08:00 |
|
RT15548
|
c3bb162a10
|
feat: updates to test branch
|
2026-02-25 23:58:05 +08:00 |
|
Hao19911125
|
54598d40d7
|
new (#14)
* Update story-summary.js
* Update settings.html
* Update index.js
* Create ena-planner
* Delete modules/ena-planner
* Add files via upload
* Update manifest.json
* Rename ena-planner.js.js to ena-planner.js
* Rename ena-planner.css.css to ena-planner.css
* Update ena-planner.js
* Create sync-upstream.yml
* Update ena-planner.js
* Update ena-planner.js
* Update ena-planner.css
* Update ena-planner.js
* Update ena-planner.js
* Update ena-planner.js
* Update ena-planner.js
* Update ena-planner.js
* Update ena-planner.js
* Update manifest.json
* Delete .github/workflows/sync-upstream.yml
---------
Co-authored-by: Hao19911125 <hao19911125@users.noreply.github.com>
Co-authored-by: GH Action - Upstream Sync <action@github.com>
Co-authored-by: RT15548 <168917470+RT15548@users.noreply.github.com>
|
2026-02-24 18:20:22 +08:00 |
|
RT15548
|
a56ae37d4e
|
fix: persist story-summary relationships and sync local changes
Add functions to parse relationships and merge facts
|
2026-02-24 15:31:12 +08:00 |
|
RT15548
|
a86aa999c3
|
feat(story-summary): default hide summarized to enabled
|
2026-02-24 13:53:34 +08:00 |
|
RT15548
|
4bbc2f9fd5
|
Add files via upload
|
2026-02-17 22:45:01 +08:00 |
|
RT15548
|
59e7301bf8
|
Add files via upload
|
2026-02-17 15:24:39 +08:00 |
|
RT15548
|
cd9fe53f84
|
2.0变量 , 向量总结正式推送
|
2026-02-16 00:30:59 +08:00 |
|
RT15548
|
29b0ae5824
|
Add files via upload
|
2026-01-21 14:45:03 +08:00 |
|
RT15548
|
67872c20b9
|
Add files via upload
|
2026-01-21 12:00:37 +08:00 |
|
Air
|
844707e16d
|
增加强制插入功能和NoAss标记
|
2026-01-19 19:08:38 +08:00 |
|
EVA09
|
47eccd0e7a
|
Merge branch 'RT15548:main' into main
|
2026-01-19 12:43:39 +08:00 |
|
RT15548
|
03ba508a31
|
1.18更新
|
2026-01-18 20:04:43 +08:00 |
|
EVA09
|
7e0f2404bb
|
Fix depth assignment in story-summary.js
|
2026-01-15 10:12:15 +08:00 |
|
EVA09
|
c3efac8def
|
强制将总结深度下降到最后
|
2026-01-15 09:55:38 +08:00 |
|
RT15548
|
be797d7293
|
aaa
|
2025-12-23 00:29:25 +08:00 |
|
RT15548
|
74fc36c2b9
|
Add files via upload
|
2025-12-21 01:47:38 +08:00 |
|
RT15548
|
593fce3c8c
|
啊
|
2025-12-19 02:19:10 +08:00 |
|