Claude sessions within Docker Sandboxes (sbx run claude) are a bit opaque/difficult to access:
mkdir -p export/.claude && sbx cp ${session}:/home/agent/.claude/projects export/.claude/projects
HOME=export claude-extract --output ~/Desktop/"Claude logs" --list
It would be most excellent to hide the complexity of peeking inside those. I'm not sure what the proper UX would look like -- perhaps:
claude-extract --sandbox ${session} --list
Even better if it could include every sandbox seamlessly, but I'm not sure that's realistic. On my machine, every sbx invocation takes at least a couple seconds, so it would kill performance to enumerate/dump them all every time.
Claude sessions within Docker Sandboxes (
sbx run claude) are a bit opaque/difficult to access:It would be most excellent to hide the complexity of peeking inside those. I'm not sure what the proper UX would look like -- perhaps:
claude-extract --sandbox ${session} --listEven better if it could include every sandbox seamlessly, but I'm not sure that's realistic. On my machine, every
sbxinvocation takes at least a couple seconds, so it would kill performance to enumerate/dump them all every time.