Skip to content

Commit ecd8dbe

Browse files
committed
sandboxy: fix misleading --name resume messaging
The end-of-session status line ('Resume with: sandboxy run <agent> --name <name>') and the --name help ('preserves rootfs and resumes conversation') both imply --name resumes the agent's conversation. It does not: the agent is launched from its definition's plain launchCommand plus passthrough args, so every run starts a fresh conversation. --name only reuses and preserves the instance rootfs. Conversation state lives agent-side (e.g. cline stores sessions under ~/.cline, which its agent definition mounts from the host) and resumes via the agent's own flag, e.g. 'sandboxy run cline --id <session-id>'. Correct both strings accordingly; help text and one printed status line only, no behavior change.
1 parent 8be8e84 commit ecd8dbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/sandboxy/Sources/sandboxy/RunAgentCommand.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ private func runContainerSession(
760760
try stopped.save(appRoot: Sandboxy.appRoot)
761761

762762
ProgressUI.printStatus(
763-
"Instance \u{1b}[1m\(instanceName)\u{1b}[0m saved. Resume with: sandboxy run --name \(instanceName) \(agentName)"
763+
"Instance \u{1b}[1m\(instanceName)\u{1b}[0m saved. Reuse with: sandboxy run --name \(instanceName) \(agentName)"
764764
)
765765
}
766766

0 commit comments

Comments
 (0)