You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("session '%s' not found or already completed. To resume locally, use: depot claude --local --resume %s", opts.ResumeSessionID, opts.ResumeSessionID)
81
+
}
82
+
} elseiffoundSandbox.CompletedAt!=nil {
83
+
ifopts.Wait {
84
+
fmt.Fprintf(opts.Stdout, "Session %s has already completed.\n", opts.ResumeSessionID)
85
+
fmt.Fprintf(opts.Stdout, "\nTo resume the session locally, run:\n")
86
+
fmt.Fprintf(opts.Stdout, " depot claude --local --resume %s\n", opts.ResumeSessionID)
87
+
returnnil
88
+
}
89
+
} else {
90
+
// Sandbox is still running
79
91
if!opts.Wait {
80
92
fmt.Fprintf(opts.Stdout, "\n✓ Claude sandbox is already running for session %s!\n", opts.ResumeSessionID)
81
93
fmt.Fprintf(opts.Stdout, "\nTo wait for this session to complete, run:\n")
82
94
fmt.Fprintf(opts.Stdout, " depot claude --wait --resume %s\n", opts.ResumeSessionID)
83
95
returnnil
84
96
}
85
-
86
97
fmt.Fprintf(opts.Stderr, "Claude sandbox for session %s is already running, waiting for it to complete...\n", opts.ResumeSessionID)
0 commit comments