anomalyco / anomalyco/opencode
[FEATURE]: Export Options: configurable defaults or remember last-used values
@kommander is already working on this.
Since Aug 24, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The TUI Export Options dialog (from /export) always opens with hardcoded defaults: Include thinking, Include tool details, and Include assistant metadata checked, Open without saving unchecked. The values are passed as literal arguments to DialogExportOptions.show(...) from the session export handler in packages/tui/src/routes/session/index.tsx — they are neither configurable nor remembered from the previous export.
This is a follow-up to #33263, which was auto-closed by the stale bot after 60 days but is still relevant.
Proposals (either would solve it):
- Remember last-used values for the current session (or persist them), like most apps' export dialogs.
- Config keys, e.g.:
{
"export": {
"thinking": true,
"toolDetails": true,
"assistantMetadata": true,
"openWithoutSaving": true
}
}
Use case: I almost always want Open without saving — pipe the transcript straight into $EDITOR without dropping a file into the project cwd — so every export currently costs an extra tab → space toggle before confirming.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.