@kenkaiiii/ggcoder 5.44.0 → 5.44.1
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 +6 -0
- package/dist/app-sidecar.js.map +1 -1
- package/dist/core/event-bus.d.ts +2 -0
- package/dist/core/event-bus.d.ts.map +1 -1
- package/dist/core/event-bus.js +1 -0
- package/dist/core/event-bus.js.map +1 -1
- package/dist/core/event-bus.test.d.ts +2 -0
- package/dist/core/event-bus.test.d.ts.map +1 -0
- package/dist/core/event-bus.test.js +33 -0
- package/dist/core/event-bus.test.js.map +1 -0
- package/dist/tools/edit.d.ts.map +1 -1
- package/dist/tools/edit.js +37 -4
- package/dist/tools/edit.js.map +1 -1
- package/dist/tools/edit.test.js +44 -0
- package/dist/tools/edit.test.js.map +1 -1
- package/package.json +4 -4
package/dist/app-sidecar.js
CHANGED
|
@@ -1641,6 +1641,12 @@ async function createSession(deps, opts) {
|
|
|
1641
1641
|
durationMs: String(d.durationMs),
|
|
1642
1642
|
isError: String(d.isError),
|
|
1643
1643
|
...(d.isError ? { result: d.result.slice(0, 500) } : {}),
|
|
1644
|
+
// Consecutive-failure count for schema rejections. Attempt 1 followed by
|
|
1645
|
+
// a success means the model self-corrected; reaching 3 means it looped
|
|
1646
|
+
// and the turn was ended. Grep this to tell the two apart.
|
|
1647
|
+
...(d.invalidArgAttempt === undefined
|
|
1648
|
+
? {}
|
|
1649
|
+
: { invalidArgAttempt: String(d.invalidArgAttempt) }),
|
|
1644
1650
|
});
|
|
1645
1651
|
broadcast("tool_call_end", d);
|
|
1646
1652
|
// Any tool can mutate the approved plan (including bash), so refresh after
|