Youzini-afk
48c8a7169c
Fix sync fallback, hide recovery, and planner roles
2026-04-03 13:17:29 +08:00
youzini
820dc8c77e
Merge pull request #2 from Hao19911125/main
...
剧情编排+修复
2026-04-03 12:59:25 +08:00
Hao19911125
97e454449b
Preserve hidden context for extraction
2026-04-03 12:36:29 +08:00
Hao19911125
f48b84af9e
Fix timer wrapper safety in event bindings
2026-04-03 11:50:52 +08:00
Hao19911125
6a91e5c958
Fix message received microtask scheduling
2026-04-03 11:14:25 +08:00
Hao19911125
da52869ae8
Fix processed message hash migration
2026-04-03 10:45:05 +08:00
Hao19911125
e505f6ac50
Guard auto extraction microtask scheduling
2026-04-03 07:10:01 +08:00
Hao19911125
2a6d15e036
Fix reroll history consistency
2026-04-03 00:22:53 +08:00
Hao19911125
bff7ad8421
Remove tilde from sync filenames to fix upload 400 errors
...
The ST file upload API rejects '~' characters. Replace tilde separators
with hyphens and strip '~' from the filename sanitization allowlist.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 22:49:18 +08:00
Hao19911125
2fbc46d8a1
Fix manual hide apply and clear panel actions
2026-04-02 22:32:06 +08:00
Hao19911125
5a5f495536
Sanitize sync backup filenames for remote upload
2026-04-02 22:15:01 +08:00
Hao19911125
2d9718ddc6
Default Ena Planner to disabled for new users
2026-04-02 22:05:44 +08:00
Hao19911125
2f843fd443
Make clear hide unhide the full chat
2026-04-02 21:54:50 +08:00
Hao19911125
2e3d08cfa2
Ignore managed hide flag in history hashes
2026-04-02 21:49:59 +08:00
Hao19911125
6ad234cd06
Fix hide scheduler timer binding
2026-04-02 21:42:00 +08:00
Hao19911125
e77233f020
Merge branch 'Youzini-afk:main' into main
2026-04-02 21:34:36 +08:00
Hao19911125
56d342fd45
Add native hide support for old-message hiding
2026-04-02 21:33:20 +08:00
Youzini-afk
c5edbf6046
Fix extraction defer and dry-run recall guards
2026-04-02 19:46:18 +08:00
Youzini-afk
839cad7aff
fix: advance extraction history after core success
2026-04-02 19:33:07 +08:00
Hao19911125
59a0014df0
Merge pull request #3 from Hao19911125/codex/planner-recall-handoff-reuse
...
Add planner recall handoff reuse
2026-04-02 19:08:19 +08:00
Hao19911125
f7255d1418
Add planner recall handoff reuse
2026-04-02 19:06:24 +08:00
Hao19911125
ee7f13523b
Merge pull request #2 from Hao19911125/codex/ena-planner-bme
...
Expose Ena Planner settings in panel
2026-04-02 16:14:10 +08:00
Hao19911125
c63081eb3e
Merge branch 'Youzini-afk:main' into main
2026-04-02 16:12:32 +08:00
Hao19911125
69844e0693
Expose Ena Planner settings in panel
2026-04-02 16:10:54 +08:00
Youzini-afk
03ec52d4c5
feat: add message hiding assistant
2026-04-02 16:05:29 +08:00
Hao19911125
fc8a5ffaec
Merge pull request #1 from Hao19911125/codex/ena-planner-bme
...
Add Ena Planner integration for ST-BME
2026-04-02 16:01:08 +08:00
Hao19911125
c75083a456
Add Ena Planner integration for ST-BME
2026-04-02 15:56:24 +08:00
Youzini-afk
c711ff17f7
fix: harden auto extraction trigger flow
2026-04-02 14:46:09 +08:00
Youzini-afk
6f8554e11a
feat: improve retrieval recall and maintenance undo
2026-04-01 22:37:29 +08:00
Youzini-afk
1dc87245a7
fix: 修复图谱可读性检查在ST插件环境下误判
...
1. isGraphReadableForRecall: 移除loadState!==LOADING时的硬性阻断,
改为始终检查运行时图谱结构。持久化状态机可能因getCurrentChatId()
返回空而卡在NO_CHAT,但图谱数据已通过IndexedDB probe加载
2. hasReadableRuntimeGraphForRecall: 放宽chatId匹配要求,
当chatId不可用时(ST插件环境),只要图谱有节点/边就允许召回
2026-04-01 17:05:47 +08:00
Youzini-afk
3790f26082
diag+fix: 添加recall诊断日志 + 修复用户输入获取
...
诊断:recall-controller.js 添加图谱/设置/可读性状态日志
修复:buildGenerationAfterCommandsRecallInput 允许normal类型在chat中有用户消息时继续
修复:buildNormalGenerationRecallInput 添加 getLatestUserChatMessage 兜底
2026-04-01 16:55:52 +08:00
Youzini-afk
b75203d6c8
fix: 修复GENERATION_AFTER_COMMANDS无法获取用户输入的两个关键bug
...
1. buildGenerationAfterCommandsRecallInput: 对normal类型不再因targetUserMessageIndex
非有限值而提前返回,改为检查chat中是否存在任何用户消息后决定是否执行
2. buildNormalGenerationRecallInput: 新增getLatestUserChatMessage兜底——
当GENERATION_AFTER_COMMANDS触发时ST可能已追加空assistant消息导致
getLastNonSystemChatMessage返回assistant,现在通过反向扫描找到真正的用户消息
(与shujuku参考实现一致)
2026-04-01 16:44:19 +08:00
Youzini-afk
d8aa795867
diag: 添加召回管线诊断日志 [ST-BME:DIAG]
2026-04-01 16:33:28 +08:00
Youzini-afk
ddc654eb1a
fix: 修复召回拦截管线三个致命bug
...
1. recordRecallSentUserMessage 不再在 MESSAGE_SENT 阶段清空
pendingRecallSendIntent/pendingHostGenerationInputSnapshot/transactions,
避免 GENERATION_AFTER_COMMANDS 找不到用户输入而跳过召回
2. resolveGenerationRecallDeliveryMode 将 GENERATION_AFTER_COMMANDS
从 deferred 改为 immediate,使召回完成后通过 setExtensionPrompt 即时注入
3. onGenerationAfterCommandsController 在 immediate 模式下完成
runRecall 后直接返回(注入已在 applyRecallInjection 内完成),
GENERATE_BEFORE_COMBINE_PROMPTS 保留 deferred rewrite 兜底
2026-04-01 16:16:31 +08:00
Youzini-afk
83f8f24f1c
fix: defer recall injection to pre-send rewrite
2026-04-01 15:24:42 +08:00
Youzini-afk
bf3a24261b
fix: stabilize recall persistence regression coverage
2026-04-01 01:37:20 +08:00
Youzini-afk
7d71d1015e
fix: harden history recovery and graph persistence regressions
2026-03-31 22:48:48 +08:00
Youzini-afk
1098c33a93
fix: finalize phase0 and phase1 persistence regressions
2026-03-31 20:04:42 +08:00
Youzini-afk
d5b4b7e1dc
fix: freeze recall input from host lifecycle
2026-03-31 16:33:40 +08:00
Youzini-afk
d8710f45f1
fix: restore before-combine recall gating
2026-03-31 15:22:08 +08:00
Youzini-afk
4c58121cce
fix: restore before-combine recall interception provisional binding
2026-03-31 13:55:26 +08:00
Youzini-afk
4925810064
fix: rerender expanded recall card content on persisted update
2026-03-31 13:13:16 +08:00
Youzini-afk
b0f9d191bd
fix: finalize deepfix p2 recall binding and p3 validation matrix
2026-03-31 03:53:53 +08:00
Youzini-afk
a2bed39e28
fix: deep repair p0-p1 persistence runtime merge and integrity
2026-03-31 02:38:27 +08:00
Youzini-afk
10c6db258b
refactor: deepen indexeddb-first load path and finalize phase ef docs/scripts
2026-03-30 20:00:38 +08:00
Youzini-afk
1c76ad7a11
feat: switch ST-BME runtime to indexeddb-primary with sync hardening
2026-03-30 18:38:58 +08:00
Youzini-afk
1fd9da738f
fix: add recall card persistence and mount diagnostic logs for end-to-end visibility
2026-03-29 22:39:48 +08:00
Youzini-afk
4bf571ba37
fix: harden metadata readiness and add persistence self-heal reconcile
2026-03-29 21:39:58 +08:00
Youzini-afk
16e1427fe1
fix(recall-ui): dedupe observer/timer refresh attempts
2026-03-29 21:08:24 +08:00
root
e09b116a71
fix: stabilize recall card mounting and refresh timing
2026-03-29 20:45:08 +08:00