anomalyco / anomalyco/opencode

[FEATURE]: Export Options: configurable defaults or remember last-used values

Open
#44,707 0 comments 0 reactions 1 assignee View on GitHub

@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):

  1. Remember last-used values for the current session (or persist them), like most apps' export dialogs.
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.