Skip to content

Filter internal ChatPeek output from exports#5

Open
yfrbl wants to merge 1 commit intovl3c:masterfrom
yfrbl:feat/filter-internal-chatpeek-output
Open

Filter internal ChatPeek output from exports#5
yfrbl wants to merge 1 commit intovl3c:masterfrom
yfrbl:feat/filter-internal-chatpeek-output

Conversation

@yfrbl
Copy link

@yfrbl yfrbl commented Mar 23, 2026

This PR tightens ChatPeek's Markdown export so shared conversations only include user-visible content by default.

Changes:

  • hide reasoning traces (thoughts, reasoning_recap) unless explicitly enabled
  • hide model editable context unless explicitly enabled
  • hide tool output unless explicitly enabled
  • drop internal tool invocation payloads from Assistant code blocks, including open/search_query-style JSON
  • omit redacted tool placeholder messages such as The output of this plugin was redacted.
  • add CLI flags to opt back in when needed
  • update tests and README to document the new behavior

Verified with the full test suite (124 tests, OK).

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.

1 participant