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
feat(auggie): add session resuming support and improve pause/skip handling
implement session resuming capability in Auggie engine by adding resumeSessionId and resumePrompt options
enhance step runner to properly distinguish between pause and skip abort scenarios
add session ID tracking and callback in Auggie execution
constdefaultPrompt='Continue from where you left off.';
59
+
60
+
if(!userPrompt){
61
+
returndefaultPrompt;
62
+
}
63
+
64
+
// Combine steering instruction with user's message
65
+
return`[USER STEERING] The user paused this session to give you new direction. Continue from where you left off, but prioritize the user's request: "${userPrompt}"`;
66
+
}
67
+
51
68
// Note: Auggie returns a single result object, not streaming events like OpenCode
52
69
// Therefore, we don't need complex formatting helpers like formatToolUse or formatStepEvent
53
70
@@ -71,11 +88,14 @@ export async function runAuggie(options: RunAuggieOptions): Promise<RunAuggieRes
71
88
const{
72
89
prompt,
73
90
workingDir,
91
+
resumeSessionId,
92
+
resumePrompt,
74
93
model,
75
94
env,
76
95
onData,
77
96
onErrorData,
78
97
onTelemetry,
98
+
onSessionId,
79
99
abortSignal,
80
100
timeout =1800000,
81
101
}=options;
@@ -91,13 +111,16 @@ export async function runAuggie(options: RunAuggieOptions): Promise<RunAuggieRes
0 commit comments