codexmate icon indicating copy to clipboard operation
codexmate copied to clipboard

导出会话超过上限会静默截断

Open ymkiux opened this issue 8 months ago • 0 comments

问题

导出会话默认上限 MAX_EXPORT_MESSAGES = 1000。超过后会停止读取,但输出里没有任何“已截断”提示。

影响

用户误以为导出完整,实际丢失上下文,影响回溯/归档。

建议

  • 在导出结果中加入 truncated: true/false 与 maxMessages
  • CLI 输出明确的“已截断”提示
  • 支持 --max-messages=Infinity|all 并在 README 说明

ymkiux avatar Mar 09 '26 05:03 ymkiux