Skip to content

fix(session): WebUI /clear fallback, memory paths, runtime metadata#284

Merged
duguwanglong merged 1 commit into
devfrom
fix/webui-clear-prompt-memory-metadata
May 18, 2026
Merged

fix(session): WebUI /clear fallback, memory paths, runtime metadata#284
duguwanglong merged 1 commit into
devfrom
fix/webui-clear-prompt-memory-metadata

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented May 18, 2026

Summary

  • Fix WebUI /clear when no screen-clear callback is registered: pass only _clear_screen so slash handling still emits the "Screen cleared." fallback instead of an empty assistant path.
  • Memory bootstrap instructions now include the resolved on-disk memory root and clarify daily/YYYY-MM-DD.md for any date; tests updated.
  • System prompt runtime tail block can include model_id and provider_id; add grounding/precision copy for security ops; run_workflow tool text asks for missing inputs.

…metadata

Pass only a registered clear callback into slash commands so /clear still
emits the fallback message on WebUI. Document the resolved memory root and
arbitrary daily note paths; surface model/provider in runtime metadata; align
tool copy and tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@xiami762 xiami762 requested a review from duguwanglong May 18, 2026 10:29
@duguwanglong duguwanglong merged commit fae9fda into dev May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants