@proxysoul/soulforge 1.8.2 → 1.8.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/index.js +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58058,7 +58058,7 @@ var package_default;
|
|
|
58058
58058
|
var init_package = __esm(() => {
|
|
58059
58059
|
package_default = {
|
|
58060
58060
|
name: "@proxysoul/soulforge",
|
|
58061
|
-
version: "1.8.
|
|
58061
|
+
version: "1.8.3",
|
|
58062
58062
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
58063
58063
|
repository: {
|
|
58064
58064
|
type: "git",
|
|
@@ -439695,16 +439695,15 @@ ${description}`,
|
|
|
439695
439695
|
if (!result) {
|
|
439696
439696
|
throw new Error("Stream aborted before result was assigned");
|
|
439697
439697
|
}
|
|
439698
|
-
const STALL_CHUNK_MS =
|
|
439699
|
-
const STALL_FIRST_CHUNK_MS =
|
|
439698
|
+
const STALL_CHUNK_MS = 300000;
|
|
439699
|
+
const STALL_FIRST_CHUNK_MS = 600000;
|
|
439700
439700
|
const STALL_TOOL_MAX_MS = 900000;
|
|
439701
439701
|
let lastActivityTs = Date.now();
|
|
439702
439702
|
let lastToolActivityTs = Date.now();
|
|
439703
439703
|
let toolsInFlight = 0;
|
|
439704
|
-
let
|
|
439704
|
+
let gotFirstContent = false;
|
|
439705
439705
|
let betweenSteps = false;
|
|
439706
439706
|
const markActivity = () => {
|
|
439707
|
-
gotFirstChunk = true;
|
|
439708
439707
|
lastActivityTs = Date.now();
|
|
439709
439708
|
};
|
|
439710
439709
|
const markToolStart = () => {
|
|
@@ -439748,7 +439747,7 @@ ${description}`,
|
|
|
439748
439747
|
if (Date.now() - lastToolActivityTs <= STALL_TOOL_MAX_MS)
|
|
439749
439748
|
return;
|
|
439750
439749
|
} else {
|
|
439751
|
-
const threshold = !
|
|
439750
|
+
const threshold = !gotFirstContent || betweenSteps ? STALL_FIRST_CHUNK_MS : STALL_CHUNK_MS;
|
|
439752
439751
|
if (Date.now() - lastActivityTs <= threshold)
|
|
439753
439752
|
return;
|
|
439754
439753
|
}
|
|
@@ -439791,6 +439790,7 @@ ${description}`,
|
|
|
439791
439790
|
break;
|
|
439792
439791
|
}
|
|
439793
439792
|
case "reasoning-delta": {
|
|
439793
|
+
gotFirstContent = true;
|
|
439794
439794
|
appendReasoningContent(part.text);
|
|
439795
439795
|
break;
|
|
439796
439796
|
}
|
|
@@ -439798,6 +439798,7 @@ ${description}`,
|
|
|
439798
439798
|
markReasoningDone();
|
|
439799
439799
|
break;
|
|
439800
439800
|
case "text-delta": {
|
|
439801
|
+
gotFirstContent = true;
|
|
439801
439802
|
if (hasNativeReasoning) {
|
|
439802
439803
|
appendText(part.text);
|
|
439803
439804
|
} else {
|
|
@@ -439823,6 +439824,7 @@ ${description}`,
|
|
|
439823
439824
|
break;
|
|
439824
439825
|
}
|
|
439825
439826
|
case "tool-input-start": {
|
|
439827
|
+
gotFirstContent = true;
|
|
439826
439828
|
markToolStart();
|
|
439827
439829
|
segmentsDirty.current = true;
|
|
439828
439830
|
toolCallsDirty.current = true;
|