Skip to content

Resuming a ClaudeSdkClient conversation from another device #368

@martis-li

Description

@martis-li

I have a cloud application in which my worker process that is using ClaudeSDKClient (the Python API) could crash. I need to resume my conversation, but the worker's file system is essentially inaccessible.

How might I resume the conversation in another worker? From reading anthropics/claude-code#5135, I suspect the most viable workaround is to persist my own independent conversation logs and then munge them into a jsonl file in a spoofed directory on my new worker instance.

Is that true? If there's not a better solution, is one planned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions