Skip to content

fix(session): restore compact slash arguments - #28630

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

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

Conversation

@nexxeln

@nexxeln nexxeln commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

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
@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant