Skip to content

[BUG] /export has completely stopped working #46596

Description

@njr0

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

/export foo

is creating an empty file.

Similarly, /export with no arguments, selecting export to clipboard, is not even clearing the clipboard.

What Should Happen?

It should export the conversion. (Used to work.)

Error Messages/Logs

Steps to Reproduce

  1. Type /export foo. Creates foo.txt but empty.
  2. Type /export, choose clipboard. Clipboard remains unchanged.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.101

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions