@proxysoul/soulforge 2.20.20 → 2.20.21
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 +24 -99
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -72638,7 +72638,7 @@ var package_default;
|
|
|
72638
72638
|
var init_package = __esm(() => {
|
|
72639
72639
|
package_default = {
|
|
72640
72640
|
name: "@proxysoul/soulforge",
|
|
72641
|
-
version: "2.20.
|
|
72641
|
+
version: "2.20.21",
|
|
72642
72642
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
72643
72643
|
repository: {
|
|
72644
72644
|
type: "git",
|
|
@@ -72734,7 +72734,7 @@ var init_package = __esm(() => {
|
|
|
72734
72734
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
72735
72735
|
"@mozilla/readability": "0.6.0",
|
|
72736
72736
|
"@openrouter/ai-sdk-provider": "2.9.1",
|
|
72737
|
-
"@opentui/react": "0.4.
|
|
72737
|
+
"@opentui/react": "0.4.2",
|
|
72738
72738
|
ai: "^6.0.208",
|
|
72739
72739
|
"ghostty-opentui": "1.5.0",
|
|
72740
72740
|
ignore: "^7.0.5",
|
|
@@ -72756,12 +72756,12 @@ var init_package = __esm(() => {
|
|
|
72756
72756
|
zustand: "5.0.14"
|
|
72757
72757
|
},
|
|
72758
72758
|
optionalDependencies: {
|
|
72759
|
-
"@opentui/core-darwin-arm64": "0.4.
|
|
72760
|
-
"@opentui/core-darwin-x64": "0.4.
|
|
72761
|
-
"@opentui/core-linux-arm64": "0.4.
|
|
72762
|
-
"@opentui/core-linux-x64": "0.4.
|
|
72763
|
-
"@opentui/core-win32-arm64": "0.4.
|
|
72764
|
-
"@opentui/core-win32-x64": "0.4.
|
|
72759
|
+
"@opentui/core-darwin-arm64": "0.4.2",
|
|
72760
|
+
"@opentui/core-darwin-x64": "0.4.2",
|
|
72761
|
+
"@opentui/core-linux-arm64": "0.4.2",
|
|
72762
|
+
"@opentui/core-linux-x64": "0.4.2",
|
|
72763
|
+
"@opentui/core-win32-arm64": "0.4.2",
|
|
72764
|
+
"@opentui/core-win32-x64": "0.4.2"
|
|
72765
72765
|
}
|
|
72766
72766
|
};
|
|
72767
72767
|
});
|
|
@@ -396099,7 +396099,7 @@ var init_chunk_bdqvmfwv = __esm(async () => {
|
|
|
396099
396099
|
react_devtools_core_default.connectToDevTools();
|
|
396100
396100
|
});
|
|
396101
396101
|
|
|
396102
|
-
// node_modules/@opentui/react/chunk-
|
|
396102
|
+
// node_modules/@opentui/react/chunk-tgg3x73e.js
|
|
396103
396103
|
import {
|
|
396104
396104
|
ASCIIFontRenderable,
|
|
396105
396105
|
BoxRenderable,
|
|
@@ -396272,7 +396272,7 @@ function createRoot(renderer) {
|
|
|
396272
396272
|
var import_react2, import_react3, import_react4, import_jsx_dev_runtime, import_react_reconciler, import_constants, import_react5, import_constants2, textNodeKeys, SpanRenderable, TextModifierRenderable, BoldSpanRenderable, ItalicSpanRenderable, UnderlineSpanRenderable, LineBreakRenderable, LinkRenderable, baseComponents, componentCatalogue, AppContext, useAppContext = () => {
|
|
396273
396273
|
return import_react2.useContext(AppContext);
|
|
396274
396274
|
}, ErrorBoundary, package_default2, idCounter, currentUpdatePriority, hostConfig, reconciler, _r, flushSync, createPortal;
|
|
396275
|
-
var
|
|
396275
|
+
var init_chunk_tgg3x73e = __esm(async () => {
|
|
396276
396276
|
init_chunk_2mx7fq49();
|
|
396277
396277
|
import_react2 = __toESM(require_react(), 1);
|
|
396278
396278
|
import_react3 = __toESM(require_react(), 1);
|
|
@@ -396386,7 +396386,7 @@ var init_chunk_fm0c65gm = __esm(async () => {
|
|
|
396386
396386
|
};
|
|
396387
396387
|
package_default2 = {
|
|
396388
396388
|
name: "@opentui/react",
|
|
396389
|
-
version: "0.4.
|
|
396389
|
+
version: "0.4.2",
|
|
396390
396390
|
description: "React renderer for building terminal user interfaces using OpenTUI core",
|
|
396391
396391
|
license: "MIT",
|
|
396392
396392
|
repository: {
|
|
@@ -396953,7 +396953,7 @@ var import_react6, import_react7, import_react8, import_react9, import_react10,
|
|
|
396953
396953
|
};
|
|
396954
396954
|
var init_react2 = __esm(async () => {
|
|
396955
396955
|
init_chunk_2mx7fq49();
|
|
396956
|
-
await
|
|
396956
|
+
await init_chunk_tgg3x73e();
|
|
396957
396957
|
import_react6 = __toESM(require_react(), 1);
|
|
396958
396958
|
import_react7 = __toESM(require_react(), 1);
|
|
396959
396959
|
import_react8 = __toESM(require_react(), 1);
|
|
@@ -404243,67 +404243,6 @@ function flushEmergencySession() {
|
|
|
404243
404243
|
}
|
|
404244
404244
|
var _snapshot = null;
|
|
404245
404245
|
|
|
404246
|
-
// src/core/terminal/resize-handler.ts
|
|
404247
|
-
function setupTerminalResize(r) {
|
|
404248
|
-
r.addInputHandler((sequence) => {
|
|
404249
|
-
const m2 = sequence.match(/^\x1b\[48;(\d+);(\d+)(?:;\d+;\d+)?t$/);
|
|
404250
|
-
if (!m2?.[1] || !m2[2])
|
|
404251
|
-
return false;
|
|
404252
|
-
const rows = Number.parseInt(m2[1], 10);
|
|
404253
|
-
const cols = Number.parseInt(m2[2], 10);
|
|
404254
|
-
if (rows > 0 && cols > 0)
|
|
404255
|
-
r.resize(cols, rows);
|
|
404256
|
-
return true;
|
|
404257
|
-
});
|
|
404258
|
-
if (process.stdout.isTTY) {
|
|
404259
|
-
process.stdout.write("\x1B[?2048h");
|
|
404260
|
-
}
|
|
404261
|
-
const onResize = () => {
|
|
404262
|
-
const cols = process.stdout.columns;
|
|
404263
|
-
const rows = process.stdout.rows;
|
|
404264
|
-
if (!cols || !rows)
|
|
404265
|
-
return;
|
|
404266
|
-
if (cols !== r.terminalWidth || rows !== r.terminalHeight) {
|
|
404267
|
-
r.resize(cols, rows);
|
|
404268
|
-
}
|
|
404269
|
-
};
|
|
404270
|
-
process.stdout.on("resize", onResize);
|
|
404271
|
-
const onSigwinch = () => {
|
|
404272
|
-
setTimeout(() => {
|
|
404273
|
-
const cols = process.stdout.columns;
|
|
404274
|
-
const rows = process.stdout.rows;
|
|
404275
|
-
if (!cols || !rows)
|
|
404276
|
-
return;
|
|
404277
|
-
if (cols !== r.terminalWidth || rows !== r.terminalHeight) {
|
|
404278
|
-
r.resize(cols, rows);
|
|
404279
|
-
}
|
|
404280
|
-
}, 50);
|
|
404281
|
-
};
|
|
404282
|
-
process.on("SIGWINCH", onSigwinch);
|
|
404283
|
-
const resizePoll = setInterval(() => {
|
|
404284
|
-
try {
|
|
404285
|
-
const cols = process.stdout.columns;
|
|
404286
|
-
const rows = process.stdout.rows;
|
|
404287
|
-
if (!cols || !rows)
|
|
404288
|
-
return;
|
|
404289
|
-
if (cols !== r.terminalWidth || rows !== r.terminalHeight) {
|
|
404290
|
-
r.resize(cols, rows);
|
|
404291
|
-
}
|
|
404292
|
-
} catch {}
|
|
404293
|
-
}, 1000);
|
|
404294
|
-
resizePoll.unref?.();
|
|
404295
|
-
return () => {
|
|
404296
|
-
process.stdout.removeListener("resize", onResize);
|
|
404297
|
-
process.removeListener("SIGWINCH", onSigwinch);
|
|
404298
|
-
clearInterval(resizePoll);
|
|
404299
|
-
if (process.stdout.isTTY) {
|
|
404300
|
-
try {
|
|
404301
|
-
process.stdout.write("\x1B[?2048l");
|
|
404302
|
-
} catch {}
|
|
404303
|
-
}
|
|
404304
|
-
};
|
|
404305
|
-
}
|
|
404306
|
-
|
|
404307
404246
|
// src/stores/statusbar.ts
|
|
404308
404247
|
import { execFile as execFile2 } from "child_process";
|
|
404309
404248
|
function matchCopilotPricing(model) {
|
|
@@ -405200,7 +405139,7 @@ function restoreTerminal() {
|
|
|
405200
405139
|
}
|
|
405201
405140
|
} catch {}
|
|
405202
405141
|
try {
|
|
405203
|
-
process.stdout.write("\x1B[?
|
|
405142
|
+
process.stdout.write("\x1B[?25h\x1B[0m");
|
|
405204
405143
|
} catch {}
|
|
405205
405144
|
}
|
|
405206
405145
|
function runCleanup() {
|
|
@@ -405505,9 +405444,6 @@ async function start2(opts) {
|
|
|
405505
405444
|
} catch {}
|
|
405506
405445
|
r.setMaxListeners(30);
|
|
405507
405446
|
r.keyInput.setMaxListeners(30);
|
|
405508
|
-
if (process.stdout.isTTY) {
|
|
405509
|
-
setupTerminalResize(r);
|
|
405510
|
-
}
|
|
405511
405447
|
{
|
|
405512
405448
|
const { extend: extend3 } = await init_react2().then(() => exports_react);
|
|
405513
405449
|
const { TextTableRenderable } = await import("@opentui/core");
|
|
@@ -475545,7 +475481,7 @@ function mapNvimMode(raw2) {
|
|
|
475545
475481
|
return raw2;
|
|
475546
475482
|
}
|
|
475547
475483
|
}
|
|
475548
|
-
function useNeovim(active, nvimPath, nvimConfig, onExit, hasTabBar = true, splitPct = 60) {
|
|
475484
|
+
function useNeovim(active, nvimPath, nvimConfig, onExit, hasTabBar = true, splitPct = 60, termWidth = 120, termHeight = 40) {
|
|
475549
475485
|
const nvimRef = import_react38.useRef(null);
|
|
475550
475486
|
const mountedRef = import_react38.useRef(true);
|
|
475551
475487
|
const launchingRef = import_react38.useRef(false);
|
|
@@ -475573,9 +475509,7 @@ function useNeovim(active, nvimPath, nvimConfig, onExit, hasTabBar = true, split
|
|
|
475573
475509
|
launchingRef.current = false;
|
|
475574
475510
|
return;
|
|
475575
475511
|
}
|
|
475576
|
-
const
|
|
475577
|
-
const termRows = process.stdout.rows ?? 40;
|
|
475578
|
-
const dims = getEditorDimensions(termCols, termRows, hasTabBar, splitPct);
|
|
475512
|
+
const dims = getEditorDimensions(termWidth, termHeight, hasTabBar, splitPct);
|
|
475579
475513
|
launchNeovim(nvimPath ?? "nvim", dims.cols, dims.rows, nvimConfig).then((nvim) => {
|
|
475580
475514
|
if (!mountedRef.current) {
|
|
475581
475515
|
shutdownNeovim(nvim).catch(() => {});
|
|
@@ -475610,26 +475544,17 @@ function useNeovim(active, nvimPath, nvimConfig, onExit, hasTabBar = true, split
|
|
|
475610
475544
|
}).finally(() => {
|
|
475611
475545
|
launchingRef.current = false;
|
|
475612
475546
|
});
|
|
475613
|
-
}, [active, nvimPath, nvimConfig, hasTabBar, splitPct, launchGeneration]);
|
|
475547
|
+
}, [active, nvimPath, nvimConfig, hasTabBar, splitPct, launchGeneration, termWidth, termHeight]);
|
|
475614
475548
|
import_react38.useEffect(() => {
|
|
475615
475549
|
if (!ready || !active)
|
|
475616
475550
|
return;
|
|
475617
|
-
const
|
|
475618
|
-
|
|
475619
|
-
|
|
475620
|
-
|
|
475621
|
-
|
|
475622
|
-
|
|
475623
|
-
|
|
475624
|
-
nvim.pty.resize(d3.cols, d3.rows);
|
|
475625
|
-
setNvimDims({ cols: d3.cols, rows: d3.rows });
|
|
475626
|
-
};
|
|
475627
|
-
onResize();
|
|
475628
|
-
process.stdout.on("resize", onResize);
|
|
475629
|
-
return () => {
|
|
475630
|
-
process.stdout.removeListener("resize", onResize);
|
|
475631
|
-
};
|
|
475632
|
-
}, [ready, active, hasTabBar, splitPct]);
|
|
475551
|
+
const nvim = nvimRef.current;
|
|
475552
|
+
if (!nvim || !mountedRef.current)
|
|
475553
|
+
return;
|
|
475554
|
+
const d3 = getEditorDimensions(termWidth, termHeight, hasTabBar, splitPct);
|
|
475555
|
+
nvim.pty.resize(d3.cols, d3.rows);
|
|
475556
|
+
setNvimDims({ cols: d3.cols, rows: d3.rows });
|
|
475557
|
+
}, [ready, active, hasTabBar, splitPct, termWidth, termHeight]);
|
|
475633
475558
|
import_react38.useEffect(() => {
|
|
475634
475559
|
if (!ready || !active)
|
|
475635
475560
|
return;
|
|
@@ -514076,7 +514001,7 @@ function App({
|
|
|
514076
514001
|
clearSelection: clearNvimSelection,
|
|
514077
514002
|
openFile: nvimOpen,
|
|
514078
514003
|
error: nvimError
|
|
514079
|
-
} = useNeovim(true, effectiveConfig.nvimPath, effectiveConfig.nvimConfig, closeEditor, hasTabBarRef.current, editorSplitRef.current);
|
|
514004
|
+
} = useNeovim(true, effectiveConfig.nvimPath, effectiveConfig.nvimConfig, closeEditor, hasTabBarRef.current, editorSplitRef.current, termWidth, termHeight);
|
|
514080
514005
|
const pendingEditorFileRef = import_react167.useRef(null);
|
|
514081
514006
|
import_react167.useEffect(() => {
|
|
514082
514007
|
if (nvimReady && pendingEditorFileRef.current) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proxysoul/soulforge",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.21",
|
|
4
4
|
"description": "Graph-powered code intelligence — multi-agent coding with codebase-aware AI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
97
97
|
"@mozilla/readability": "0.6.0",
|
|
98
98
|
"@openrouter/ai-sdk-provider": "2.9.1",
|
|
99
|
-
"@opentui/react": "0.4.
|
|
99
|
+
"@opentui/react": "0.4.2",
|
|
100
100
|
"ai": "^6.0.208",
|
|
101
101
|
"ghostty-opentui": "1.5.0",
|
|
102
102
|
"ignore": "^7.0.5",
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
"zustand": "5.0.14"
|
|
119
119
|
},
|
|
120
120
|
"optionalDependencies": {
|
|
121
|
-
"@opentui/core-darwin-arm64": "0.4.
|
|
122
|
-
"@opentui/core-darwin-x64": "0.4.
|
|
123
|
-
"@opentui/core-linux-arm64": "0.4.
|
|
124
|
-
"@opentui/core-linux-x64": "0.4.
|
|
125
|
-
"@opentui/core-win32-arm64": "0.4.
|
|
126
|
-
"@opentui/core-win32-x64": "0.4.
|
|
121
|
+
"@opentui/core-darwin-arm64": "0.4.2",
|
|
122
|
+
"@opentui/core-darwin-x64": "0.4.2",
|
|
123
|
+
"@opentui/core-linux-arm64": "0.4.2",
|
|
124
|
+
"@opentui/core-linux-x64": "0.4.2",
|
|
125
|
+
"@opentui/core-win32-arm64": "0.4.2",
|
|
126
|
+
"@opentui/core-win32-x64": "0.4.2"
|
|
127
127
|
}
|
|
128
128
|
}
|