@kenkaiiii/ggcoder 5.51.1 → 5.51.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-sidecar.js +7 -0
- package/dist/app-sidecar.js.map +1 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +28 -3
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/ask-user.d.ts +7 -1
- package/dist/core/ask-user.d.ts.map +1 -1
- package/dist/core/ask-user.js +4 -0
- package/dist/core/ask-user.js.map +1 -1
- package/dist/core/parked-requests.d.ts +6 -2
- package/dist/core/parked-requests.d.ts.map +1 -1
- package/dist/core/parked-requests.js +2 -2
- package/dist/core/parked-requests.js.map +1 -1
- package/package.json +4 -4
package/dist/app-sidecar.js
CHANGED
|
@@ -3526,6 +3526,13 @@ async function createSession(deps, opts) {
|
|
|
3526
3526
|
json(res, 400, { error: "empty prompt" });
|
|
3527
3527
|
return;
|
|
3528
3528
|
}
|
|
3529
|
+
// A typed prompt supersedes any question parked on the user: they
|
|
3530
|
+
// answered with a message of their own. Release the blocked tool call
|
|
3531
|
+
// NOW — otherwise it waits out its ten-minute timeout while this very
|
|
3532
|
+
// message sits behind it as steering that only drains once the tool
|
|
3533
|
+
// returns, so the turn looks frozen. The webview closes the band on
|
|
3534
|
+
// send; a racing /ask POST just 409s.
|
|
3535
|
+
asks.cancelAll({ action: "cancel", superseded: true });
|
|
3529
3536
|
if (runLifecycle.running &&
|
|
3530
3537
|
runLifecycle.isCancellationRequested(runLifecycle.generation)) {
|
|
3531
3538
|
json(res, 409, {
|