v1.3.11

v0.18.1 Release Notes

Released


v0.18.0 -> v0.18.1

Summary


Removes the legacy <summary> block stripping in stdout streaming and adds explicit user-side trigger prompts so summary generation and merging reliably produce raw JSON output.
翻譯移除 stdout 串流中舊有的 <summary> 區塊過濾邏輯,並新增明確的 user 端觸發提示,使摘要生成與合併能穩定輸出純 JSON。

Changes


REFACTOR

  • Remove stripSummaryBlocks helper from runEvents and pass EventText content through unchanged
  • Switch GetSummaryPrompt to use the new SummaryContext template instead of SummaryPrompt
  • Reorder imports in getSession.go to follow stdlib grouping convention

翻譯
  • 從 runEvents 移除 stripSummaryBlocks 輔助函式,EventText 內容直接輸出
  • GetSummaryPrompt 改用新的 SummaryContext 模板取代 SummaryPrompt
  • 調整 getSession.go 的 import 順序以符合標準庫分組慣例


UPDATE

  • Append explicit user message in generatePass when last history entry is from assistant, instructing the model to emit raw JSON summary
  • Append explicit user trigger message in mergePass to enforce raw JSON output during summary merging

翻譯
  • 在 generatePass 中當最後一筆歷史為 assistant 時,附加明確的 user 訊息要求輸出純 JSON 摘要
  • 在 mergePass 附加明確的 user 觸發訊息,強制摘要合併時輸出純 JSON


ADD

  • Embed new prompts/summary_context.md template via configs.SummaryContext

翻譯
  • 透過 configs.SummaryContext 嵌入新的 prompts/summary_context.md 模板




Files Changed


FileStatusTag
cmd/app/runEvents.goModifiedREFACTOR
configs/configs.goModifiedADD
internal/agents/exec/generateSummary.goModifiedUPDATE
internal/agents/exec/getSession.goModifiedREFACTOR
internal/session/summary.goModifiedREFACTOR



Generated by SKILL