@proxysoul/soulforge 1.8.1 → 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.
Files changed (2) hide show
  1. package/dist/index.js +9 -9
  2. 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.1",
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",
@@ -438807,9 +438807,7 @@ function useChat({
438807
438807
  contextWindow: compactCtxWindow
438808
438808
  } = await buildProviderOptions(compactModelId, effectiveConfig);
438809
438809
  if (compactCtxWindow > 0) {
438810
- const prev = pinnedContextWindow.current.get(compactModelId) ?? 0;
438811
- if (compactCtxWindow > prev)
438812
- pinnedContextWindow.current.set(compactModelId, compactCtxWindow);
438810
+ pinnedContextWindow.current.set(compactModelId, compactCtxWindow);
438813
438811
  }
438814
438812
  let summary;
438815
438813
  let compactUsage;
@@ -439697,16 +439695,15 @@ ${description}`,
439697
439695
  if (!result) {
439698
439696
  throw new Error("Stream aborted before result was assigned");
439699
439697
  }
439700
- const STALL_CHUNK_MS = 120000;
439701
- const STALL_FIRST_CHUNK_MS = 300000;
439698
+ const STALL_CHUNK_MS = 300000;
439699
+ const STALL_FIRST_CHUNK_MS = 600000;
439702
439700
  const STALL_TOOL_MAX_MS = 900000;
439703
439701
  let lastActivityTs = Date.now();
439704
439702
  let lastToolActivityTs = Date.now();
439705
439703
  let toolsInFlight = 0;
439706
- let gotFirstChunk = false;
439704
+ let gotFirstContent = false;
439707
439705
  let betweenSteps = false;
439708
439706
  const markActivity = () => {
439709
- gotFirstChunk = true;
439710
439707
  lastActivityTs = Date.now();
439711
439708
  };
439712
439709
  const markToolStart = () => {
@@ -439750,7 +439747,7 @@ ${description}`,
439750
439747
  if (Date.now() - lastToolActivityTs <= STALL_TOOL_MAX_MS)
439751
439748
  return;
439752
439749
  } else {
439753
- const threshold = !gotFirstChunk || betweenSteps ? STALL_FIRST_CHUNK_MS : STALL_CHUNK_MS;
439750
+ const threshold = !gotFirstContent || betweenSteps ? STALL_FIRST_CHUNK_MS : STALL_CHUNK_MS;
439754
439751
  if (Date.now() - lastActivityTs <= threshold)
439755
439752
  return;
439756
439753
  }
@@ -439793,6 +439790,7 @@ ${description}`,
439793
439790
  break;
439794
439791
  }
439795
439792
  case "reasoning-delta": {
439793
+ gotFirstContent = true;
439796
439794
  appendReasoningContent(part.text);
439797
439795
  break;
439798
439796
  }
@@ -439800,6 +439798,7 @@ ${description}`,
439800
439798
  markReasoningDone();
439801
439799
  break;
439802
439800
  case "text-delta": {
439801
+ gotFirstContent = true;
439803
439802
  if (hasNativeReasoning) {
439804
439803
  appendText(part.text);
439805
439804
  } else {
@@ -439825,6 +439824,7 @@ ${description}`,
439825
439824
  break;
439826
439825
  }
439827
439826
  case "tool-input-start": {
439827
+ gotFirstContent = true;
439828
439828
  markToolStart();
439829
439829
  segmentsDirty.current = true;
439830
439830
  toolCallsDirty.current = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proxysoul/soulforge",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "Graph-powered code intelligence — multi-agent coding with codebase-aware AI",
5
5
  "repository": {
6
6
  "type": "git",