@proxysoul/soulforge 1.8.0 → 1.8.2
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 +10 -8
- 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.2",
|
|
58062
58062
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
58063
58063
|
repository: {
|
|
58064
58064
|
type: "git",
|
|
@@ -434714,6 +434714,7 @@ function ContextBar({
|
|
|
434714
434714
|
const currentPctRef = import_react25.useRef(0);
|
|
434715
434715
|
const compactFrameRef = import_react25.useRef(0);
|
|
434716
434716
|
const wasCompactingRef = import_react25.useRef(false);
|
|
434717
|
+
const prevWindowRef = import_react25.useRef(0);
|
|
434717
434718
|
const workerRef = import_react25.useRef({
|
|
434718
434719
|
intel: "idle",
|
|
434719
434720
|
io: "idle"
|
|
@@ -434787,7 +434788,10 @@ function ContextBar({
|
|
|
434787
434788
|
const wk = workerRef.current;
|
|
434788
434789
|
const wkChanged = wk.intel === "crashed" || wk.intel === "restarting" || wk.io === "crashed" || wk.io === "restarting";
|
|
434789
434790
|
const compactChanged = isCompacting !== wasCompacting;
|
|
434790
|
-
|
|
434791
|
+
const windowChanged = target.windowTokens !== prevWindowRef.current;
|
|
434792
|
+
if (windowChanged)
|
|
434793
|
+
prevWindowRef.current = target.windowTokens;
|
|
434794
|
+
if (pct_0 === currentPctRef.current && !target.flash && !isCompacting && !compactChanged && !wkChanged && !windowChanged)
|
|
434791
434795
|
return;
|
|
434792
434796
|
currentPctRef.current = pct_0;
|
|
434793
434797
|
try {
|
|
@@ -438803,9 +438807,7 @@ function useChat({
|
|
|
438803
438807
|
contextWindow: compactCtxWindow
|
|
438804
438808
|
} = await buildProviderOptions(compactModelId, effectiveConfig);
|
|
438805
438809
|
if (compactCtxWindow > 0) {
|
|
438806
|
-
|
|
438807
|
-
if (compactCtxWindow > prev)
|
|
438808
|
-
pinnedContextWindow.current.set(compactModelId, compactCtxWindow);
|
|
438810
|
+
pinnedContextWindow.current.set(compactModelId, compactCtxWindow);
|
|
438809
438811
|
}
|
|
438810
438812
|
let summary;
|
|
438811
438813
|
let compactUsage;
|
|
@@ -469155,7 +469157,7 @@ function StatusDashboard({
|
|
|
469155
469157
|
visible,
|
|
469156
469158
|
initialTab,
|
|
469157
469159
|
onClose,
|
|
469158
|
-
|
|
469160
|
+
activeModel: activeModelProp,
|
|
469159
469161
|
contextManager,
|
|
469160
469162
|
tabMgr,
|
|
469161
469163
|
currentMode,
|
|
@@ -469212,7 +469214,7 @@ function StatusDashboard({
|
|
|
469212
469214
|
}
|
|
469213
469215
|
};
|
|
469214
469216
|
}, [visible, tab, pollWorkerMemory]);
|
|
469215
|
-
const modelId =
|
|
469217
|
+
const modelId = activeModelProp;
|
|
469216
469218
|
const tu = sb.tokenUsage;
|
|
469217
469219
|
const contextLines = import_react104.useMemo(() => {
|
|
469218
469220
|
const breakdown = contextManager.getContextBreakdown();
|
|
@@ -477894,7 +477896,7 @@ function App({
|
|
|
477894
477896
|
visible: modalStatusDashboard,
|
|
477895
477897
|
initialTab: statusDashboardTab,
|
|
477896
477898
|
onClose: getCloser2("statusDashboard"),
|
|
477897
|
-
|
|
477899
|
+
activeModel: activeModelForHeader,
|
|
477898
477900
|
contextManager,
|
|
477899
477901
|
tabMgr,
|
|
477900
477902
|
currentMode: activeChatRef.current?.forgeMode ?? "default",
|