|
|
5424dae2d6
|
fix(story-summary): improve L0 cancellation and tuning
|
2026-04-03 09:45:19 +08:00 |
|
|
|
6601471aac
|
fix(story-summary): stabilize L0 extraction on upstream main
|
2026-04-02 17:00:00 +08:00 |
|
RT15548
|
69864d97b5
|
feat: iframe 支持外部链接渲染 + 剧情总结 Prompt 自定义 + 记忆包导入导出
[外挂卡片支持外链加载]
- 代码块直接写一个 URL 链接(或注释 <!-- xb-src: URL -->),小白盒会自动抓取并渲染成卡片
- 支持抓取失败自动降级为普通 iframe 直接显示
- 外链内容同样支持 {{xbgetvar::变量名}} 宏注入
[剧情总结 Prompt 全面开放自定义]
- 总结面板设置页新增 10 项 Prompt 编辑框,留空即使用默认值
- 包括:系统提示词、各段助手提示词、记忆注入模板等全部可改
- 记忆注入模板支持 {} 占位符替换成实际记忆内容
[剧情总结记忆包导入/导出]
- 新增「复制记忆包」按钮,一键把当前聊天的全部总结数据复制到剪贴板
- 新增「导入记忆包」按钮,把从别处复制来的记忆包 JSON 粘贴进来即可覆盖生效
- 方便跨设备、跨聊天迁移总结状态
|
2026-04-02 00:59:06 +08:00 |
|
RT15548
|
f08257a291
|
Delete modules/button-collapse.js
|
2026-04-01 23:48:49 +08:00 |
|
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
|
80f7e37843
|
fix JSON output template for stranger extraction
|
2026-03-18 22:40:20 +08:00 |
|
RT15548
|
fb65573a4f
|
3.15Update
本次调整:
wrapper-inline.js:新增数据中继(这可能不安全,但是别人提的意见)
scheduled-tasks.js:解除了插件必须等待上一个任务进程完成的限制,同时新增了一键清理进行中的任务(/xbtaskreset)。
xbgen流式命令:支持<varevent>和{{xbgetvar::}}语法
|
2026-03-15 01:25:56 +08:00 |
|
Hao19911125
|
d217323fdf
|
前文截掉</think>以前+Log显示优化 (#22)
* Strip everything before and including </think> (handles unclosed think blocks)
* Log 样式优化
* 小白板内容曝露给ena-planner
|
2026-03-02 23:37:51 +08:00 |
|
RT15548
|
c313a24354
|
Merge pull request #20 from RT15548/test
Ena-planner
|
2026-02-28 21:47:06 +08:00 |
|
RT15548
|
3048b2885a
|
Add files via upload
|
2026-02-28 21:44:17 +08:00 |
|
RT15548
|
0dcb29adad
|
Merge pull request #19 from Hao19911125/main
目前test 分支的planner建议
|
2026-02-28 21:24:44 +08:00 |
|
RT15548
|
2a7a7fa669
|
Merge branch 'test' into main
|
2026-02-28 21:24:17 +08:00 |
|
Hao19911125
|
6e2b3dcdaa
|
Update ena-planner.js
|
2026-02-28 11:50:03 +08:00 |
|
Hao19911125
|
19ffd157b4
|
自动去 message 层级获取变量+暴露整个 vars 对象
|
2026-02-28 11:32:00 +08:00 |
|
RT15548
|
69beb7ff0d
|
Update ena-planner.html
|
2026-02-26 16:15:53 +08:00 |
|
RT15548
|
b521419e21
|
Update subtitle to include creator's name
|
2026-02-26 16:13:03 +08:00 |
|
RT15548
|
c3bb162a10
|
feat: updates to test branch
|
2026-02-25 23:58:05 +08:00 |
|
RT15548
|
8bfa0dd537
|
Revert "update modules/ena-planner/ena-planner.js (#16)" (#17)
This reverts commit 5ea653e4ea.
|
2026-02-25 23:25:43 +08:00 |
|
Hao19911125
|
5ea653e4ea
|
update modules/ena-planner/ena-planner.js (#16)
* 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
* Update ena-planner.js for vector logic
* Update ena-planner.js for vector log and sequence
---------
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-25 23:12:27 +08:00 |
|
RT15548
|
daaee84ead
|
Merge branch 'test' into main
|
2026-02-25 23:11:53 +08:00 |
|
Hao19911125
|
c8fc81c3b7
|
Update ena-planner.js for vector log and sequence
|
2026-02-25 10:28:45 +08:00 |
|
Hao19911125
|
86e08348af
|
Update ena-planner.js for vector logic
|
2026-02-25 09:33:24 +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
|
333a3c839d
|
Delete .github/workflows/sync-upstream.yml
|
2026-02-24 18:05:28 +08:00 |
|
Hao19911125
|
514309b669
|
Update manifest.json
|
2026-02-24 15:54:56 +08:00 |
|
GH Action - Upstream Sync
|
70099bd297
|
Merge branch 'main' of https://github.com/RT15548/LittleWhiteBox
|
2026-02-24 07:52:17 +00: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 |
|
GH Action - Upstream Sync
|
5e3e5c24da
|
Merge branch 'main' of https://github.com/RT15548/LittleWhiteBox
|
2026-02-24 06:00:53 +00:00 |
|
RT15548
|
f1a5a9b82c
|
feat: Context Bridge — 模板 iframe 上下文桥接 Merge pull request #15 from ESSEX-CV9/main
feat: Context Bridge — 模板 iframe 上下文桥接
|
2026-02-24 13:56:12 +08:00 |
|
RT15548
|
a86aa999c3
|
feat(story-summary): default hide summarized to enabled
|
2026-02-24 13:53:34 +08:00 |
|
maybe
|
af8d01087e
|
feat: callGenrate支持拉去预设列表,和指定预设
|
2026-02-23 09:29:06 +08:00 |
|
maybe
|
b47731496e
|
feat:基于callGenerate增加assemblePrompt函数,用于单纯干跑获得提示词组装
|
2026-02-23 08:40:01 +08:00 |
|
maybe
|
3ff8584d68
|
fix:修复context bridge.js的导入路径层级问题
|
2026-02-23 03:50:24 +08:00 |
|
maybe
|
08ca1d36e7
|
feat:添加新的context bridge,允许iframe内模板获取酒馆事件通知
|
2026-02-23 03:34:14 +08:00 |
|
Hao19911125
|
d97dc0b2bf
|
Update ena-planner.js
|
2026-02-21 22:53:38 +08:00 |
|
Hao19911125
|
cfcc24142e
|
Update ena-planner.js
|
2026-02-21 22:32:04 +08:00 |
|
Hao19911125
|
1f387c6a3e
|
Update ena-planner.js
|
2026-02-21 22:03:52 +08:00 |
|
Hao19911125
|
6057fac25e
|
Update ena-planner.js
|
2026-02-21 21:47:21 +08:00 |
|
Hao19911125
|
0ceaa84759
|
Update ena-planner.js
|
2026-02-21 21:40:27 +08:00 |
|
Hao19911125
|
e7de320d2d
|
Update ena-planner.js
|
2026-02-21 21:36:01 +08:00 |
|
Hao19911125
|
85ee191261
|
Update ena-planner.css
|
2026-02-21 21:35:24 +08:00 |
|
Hao19911125
|
4b70468cfb
|
Update ena-planner.js
|
2026-02-21 21:32:55 +08:00 |
|
Hao19911125
|
f69dade415
|
Update ena-planner.js
|
2026-02-21 21:22:47 +08:00 |
|
Hao19911125
|
41fa00c2d0
|
Sync upstream: 四次元壁鉴权模式、修复世界推演
|
2026-02-21 20:50:53 +08:00 |
|
Hao19911125
|
adcfc38ded
|
Create sync-upstream.yml
|
2026-02-21 17:07:42 +08:00 |
|
RT15548
|
4ee528621f
|
修复-世界推演
|
2026-02-19 23:30:39 +08:00 |
|
RT15548
|
4e8424ed17
|
四次元壁鉴权模式,claude4.6预填充等等
|
2026-02-19 00:46:13 +08:00 |
|
Hao19911125
|
615c57dad0
|
Update ena-planner.js
|
2026-02-18 22:53:41 +08:00 |
|
Hao19911125
|
0112fd3f19
|
Rename ena-planner.css.css to ena-planner.css
|
2026-02-18 22:47:52 +08:00 |
|
Hao19911125
|
560f890e8d
|
Rename ena-planner.js.js to ena-planner.js
|
2026-02-18 22:47:36 +08:00 |
|