Skip to content

fix(session): restore compact slash arguments#28630

Open
nexxeln wants to merge 7 commits into
devfrom
nxl/compaction-args
Open

fix(session): restore compact slash arguments#28630
nexxeln wants to merge 7 commits into
devfrom
nxl/compaction-args

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented May 21, 2026

summary

  • restore typed /compact <instructions> and /summarize <instructions> handling in the TUI submit path
  • keep /compact autocomplete editable so Tab inserts /compact instead of immediately running compaction
  • persist optional compaction instructions and append them to the compaction prompt
  • cover compaction prompt behavior with a focused test

testing

  • ~/.bun/bin/bun test test/session/compaction.test.ts from packages/opencode
  • ~/.bun/bin/bun typecheck from packages/opencode
  • PATH="$HOME/.bun/bin:$PATH" git push ran pre-push bun turbo typecheck

Note: SDK regeneration intentionally skipped; CI handles it. Web/Dex changes intentionally excluded.

@nexxeln nexxeln requested a review from adamdotdevin as a code owner May 21, 2026 10:04
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