Commit Graph

17 Commits

Author SHA1 Message Date
Youzini-afk
6116d7bc6d fix: auto align legacy planner fake-default profiles 2026-04-23 17:52:21 +08:00
Youzini-afk
493b41fc63 refactor: planner prompt split into 13 modular blocks aligned with extract structure
- ena-planner-presets.js: split monolithic system prompt into 7 content constants (heading, role, identity-ack, info-ack, format, rules, seed)
- prompt-profiles.js: rewrite buildPlannerDefaultTaskProfileTemplate() to 13-block template, version 4->5 triggers auto-refresh
- prompt-profiles.js: fix getBuiltinBlockDefinitions() to show generic builtins for planner task type
- ena-planner.js: extend resolvePlannerBuiltinBlockContent() with generic sourceKey aliases
- ena-planner.js: add userPersona and storyTimeContext to planner block context
- tests: update planner block structure assertions
2026-04-23 17:26:11 +08:00
Youzini-afk
28ccaab0ac Simplify ENA planner API preset selection 2026-04-23 16:43:53 +08:00
Youzini-afk
efff3b15b3 Integrate ENA planner task profiles 2026-04-23 16:26:32 +08:00
Youzini-afk
a86f91991d feat: integrate ena planner into native bme panel 2026-04-23 15:25:25 +08:00
Youzini-afk
eda4fff0c5 fix: harden ena planner mobile button actions 2026-04-17 22:56:46 +08:00
Hao19911125
d475b121da Reuse main timeout for Ena planner requests 2026-04-09 22:14:08 +08:00
Youzini-afk
feec17f3e3 Reorganize modules into layered directories 2026-04-08 01:17:57 +08:00
Hao19911125
07c1763b52 Avoid misleading Ena planner EJS warnings 2026-04-07 12:19:33 +08:00
Hao19911125
f7f408da4a fix(planner): align recall timeout with global setting 2026-04-06 23:59:43 +08:00
Youzini-afk
8320e3e7f6 Add debug log toggle and silence diagnostic logs 2026-04-06 11:26:37 +08:00
Hao19911125
438577959b Bypass trivial planner and empty-turn hooks 2026-04-05 22:28:41 +08:00
Hao19911125
22c46e0f38 Clarify Ena Planner EJS fallback logs 2026-04-04 22:37:49 +08:00
Youzini-afk
48c8a7169c Fix sync fallback, hide recovery, and planner roles 2026-04-03 13:17:29 +08:00
Hao19911125
2d9718ddc6 Default Ena Planner to disabled for new users 2026-04-02 22:05:44 +08:00
Hao19911125
f7255d1418 Add planner recall handoff reuse 2026-04-02 19:06:24 +08:00
Hao19911125
c75083a456 Add Ena Planner integration for ST-BME 2026-04-02 15:56:24 +08:00