@proxysoul/soulforge 2.14.3 → 2.14.4
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 +38 -18
- package/dist/workers/io.worker.js +38 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -57924,7 +57924,7 @@ var package_default;
|
|
|
57924
57924
|
var init_package = __esm(() => {
|
|
57925
57925
|
package_default = {
|
|
57926
57926
|
name: "@proxysoul/soulforge",
|
|
57927
|
-
version: "2.14.
|
|
57927
|
+
version: "2.14.4",
|
|
57928
57928
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
57929
57929
|
repository: {
|
|
57930
57930
|
type: "git",
|
|
@@ -82838,23 +82838,37 @@ async function installLazygit() {
|
|
|
82838
82838
|
}
|
|
82839
82839
|
async function installProxy(version2) {
|
|
82840
82840
|
const v = version2 ?? await resolveProxyVersion();
|
|
82841
|
-
const
|
|
82842
|
-
|
|
82843
|
-
|
|
82844
|
-
version: v,
|
|
82845
|
-
getAsset: (key) => {
|
|
82846
|
-
const suffix = PROXY_SUFFIXES[key];
|
|
82847
|
-
const asset = `CLIProxyAPI_${v}_${suffix}.tar.gz`;
|
|
82848
|
-
return {
|
|
82849
|
-
url: `https://github.com/router-for-me/CLIProxyAPI/releases/download/v${v}/${asset}`,
|
|
82850
|
-
binPath: join14(INSTALLS_DIR, `cliproxyapi-${v}`, "cli-proxy-api")
|
|
82851
|
-
};
|
|
82852
|
-
}
|
|
82841
|
+
const buildAsset = (suffix) => ({
|
|
82842
|
+
url: `https://github.com/router-for-me/CLIProxyAPI/releases/download/v${v}/CLIProxyAPI_${v}_${suffix}.tar.gz`,
|
|
82843
|
+
binPath: join14(INSTALLS_DIR, `cliproxyapi-${v}`, "cli-proxy-api")
|
|
82853
82844
|
});
|
|
82854
|
-
|
|
82855
|
-
path
|
|
82856
|
-
|
|
82857
|
-
|
|
82845
|
+
try {
|
|
82846
|
+
const path = await installBinary({
|
|
82847
|
+
name: "cliproxyapi",
|
|
82848
|
+
binName: "cli-proxy-api",
|
|
82849
|
+
version: v,
|
|
82850
|
+
getAsset: (key) => buildAsset(PROXY_SUFFIXES[key])
|
|
82851
|
+
});
|
|
82852
|
+
return {
|
|
82853
|
+
path,
|
|
82854
|
+
version: v
|
|
82855
|
+
};
|
|
82856
|
+
} catch (err2) {
|
|
82857
|
+
const legacyDiffers = Object.keys(PROXY_SUFFIXES).some((k) => PROXY_SUFFIXES[k] !== PROXY_SUFFIXES_LEGACY[k]);
|
|
82858
|
+
const msg = err2 instanceof Error ? err2.message : String(err2);
|
|
82859
|
+
if (!legacyDiffers || !msg.includes("404"))
|
|
82860
|
+
throw err2;
|
|
82861
|
+
const path = await installBinary({
|
|
82862
|
+
name: "cliproxyapi",
|
|
82863
|
+
binName: "cli-proxy-api",
|
|
82864
|
+
version: v,
|
|
82865
|
+
getAsset: (key) => buildAsset(PROXY_SUFFIXES_LEGACY[key])
|
|
82866
|
+
});
|
|
82867
|
+
return {
|
|
82868
|
+
path,
|
|
82869
|
+
version: v
|
|
82870
|
+
};
|
|
82871
|
+
}
|
|
82858
82872
|
}
|
|
82859
82873
|
function getUserFontDir() {
|
|
82860
82874
|
const os = platform2();
|
|
@@ -82974,7 +82988,7 @@ async function installFont(fontId) {
|
|
|
82974
82988
|
}
|
|
82975
82989
|
return font.family;
|
|
82976
82990
|
}
|
|
82977
|
-
var SOULFORGE_DIR2, BIN_DIR, INSTALLS_DIR, FONTS_DIR, NVIM_VERSION = "0.11.1", RG_VERSION = "14.1.1", FD_VERSION = "10.2.0", LAZYGIT_VERSION = "0.44.1", FALLBACK_PROXY_VERSION = "6.9.29", PROXY_RELEASES_URL = "https://api.github.com/repos/router-for-me/CLIProxyAPI/releases/latest", NERD_FONTS, NVIM_ASSETS, RUST_TRIPLETS, FD_TRIPLETS, PROXY_SUFFIXES, LAZYGIT_SUFFIXES;
|
|
82991
|
+
var SOULFORGE_DIR2, BIN_DIR, INSTALLS_DIR, FONTS_DIR, NVIM_VERSION = "0.11.1", RG_VERSION = "14.1.1", FD_VERSION = "10.2.0", LAZYGIT_VERSION = "0.44.1", FALLBACK_PROXY_VERSION = "6.9.29", PROXY_RELEASES_URL = "https://api.github.com/repos/router-for-me/CLIProxyAPI/releases/latest", NERD_FONTS, NVIM_ASSETS, RUST_TRIPLETS, FD_TRIPLETS, PROXY_SUFFIXES, PROXY_SUFFIXES_LEGACY, LAZYGIT_SUFFIXES;
|
|
82978
82992
|
var init_install = __esm(() => {
|
|
82979
82993
|
SOULFORGE_DIR2 = join14(homedir11(), ".soulforge");
|
|
82980
82994
|
BIN_DIR = join14(SOULFORGE_DIR2, "bin");
|
|
@@ -83035,6 +83049,12 @@ var init_install = __esm(() => {
|
|
|
83035
83049
|
"linux-arm64": "aarch64-unknown-linux-gnu"
|
|
83036
83050
|
};
|
|
83037
83051
|
PROXY_SUFFIXES = {
|
|
83052
|
+
"darwin-arm64": "darwin_aarch64",
|
|
83053
|
+
"darwin-x64": "darwin_amd64",
|
|
83054
|
+
"linux-x64": "linux_amd64",
|
|
83055
|
+
"linux-arm64": "linux_aarch64"
|
|
83056
|
+
};
|
|
83057
|
+
PROXY_SUFFIXES_LEGACY = {
|
|
83038
83058
|
"darwin-arm64": "darwin_arm64",
|
|
83039
83059
|
"darwin-x64": "darwin_amd64",
|
|
83040
83060
|
"linux-x64": "linux_amd64",
|
|
@@ -49520,7 +49520,7 @@ var package_default;
|
|
|
49520
49520
|
var init_package = __esm(() => {
|
|
49521
49521
|
package_default = {
|
|
49522
49522
|
name: "@proxysoul/soulforge",
|
|
49523
|
-
version: "2.14.
|
|
49523
|
+
version: "2.14.4",
|
|
49524
49524
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
49525
49525
|
repository: {
|
|
49526
49526
|
type: "git",
|
|
@@ -73834,31 +73834,51 @@ function createSymlink(target, link) {
|
|
|
73834
73834
|
}
|
|
73835
73835
|
async function installProxy(version2) {
|
|
73836
73836
|
const v = version2 ?? await resolveProxyVersion();
|
|
73837
|
-
const
|
|
73838
|
-
|
|
73839
|
-
|
|
73840
|
-
version: v,
|
|
73841
|
-
getAsset: (key) => {
|
|
73842
|
-
const suffix = PROXY_SUFFIXES[key];
|
|
73843
|
-
const asset = `CLIProxyAPI_${v}_${suffix}.tar.gz`;
|
|
73844
|
-
return {
|
|
73845
|
-
url: `https://github.com/router-for-me/CLIProxyAPI/releases/download/v${v}/${asset}`,
|
|
73846
|
-
binPath: join8(INSTALLS_DIR, `cliproxyapi-${v}`, "cli-proxy-api")
|
|
73847
|
-
};
|
|
73848
|
-
}
|
|
73837
|
+
const buildAsset = (suffix) => ({
|
|
73838
|
+
url: `https://github.com/router-for-me/CLIProxyAPI/releases/download/v${v}/CLIProxyAPI_${v}_${suffix}.tar.gz`,
|
|
73839
|
+
binPath: join8(INSTALLS_DIR, `cliproxyapi-${v}`, "cli-proxy-api")
|
|
73849
73840
|
});
|
|
73850
|
-
|
|
73851
|
-
path
|
|
73852
|
-
|
|
73853
|
-
|
|
73841
|
+
try {
|
|
73842
|
+
const path = await installBinary({
|
|
73843
|
+
name: "cliproxyapi",
|
|
73844
|
+
binName: "cli-proxy-api",
|
|
73845
|
+
version: v,
|
|
73846
|
+
getAsset: (key) => buildAsset(PROXY_SUFFIXES[key])
|
|
73847
|
+
});
|
|
73848
|
+
return {
|
|
73849
|
+
path,
|
|
73850
|
+
version: v
|
|
73851
|
+
};
|
|
73852
|
+
} catch (err) {
|
|
73853
|
+
const legacyDiffers = Object.keys(PROXY_SUFFIXES).some((k) => PROXY_SUFFIXES[k] !== PROXY_SUFFIXES_LEGACY[k]);
|
|
73854
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
73855
|
+
if (!legacyDiffers || !msg.includes("404"))
|
|
73856
|
+
throw err;
|
|
73857
|
+
const path = await installBinary({
|
|
73858
|
+
name: "cliproxyapi",
|
|
73859
|
+
binName: "cli-proxy-api",
|
|
73860
|
+
version: v,
|
|
73861
|
+
getAsset: (key) => buildAsset(PROXY_SUFFIXES_LEGACY[key])
|
|
73862
|
+
});
|
|
73863
|
+
return {
|
|
73864
|
+
path,
|
|
73865
|
+
version: v
|
|
73866
|
+
};
|
|
73867
|
+
}
|
|
73854
73868
|
}
|
|
73855
|
-
var SOULFORGE_DIR, BIN_DIR, INSTALLS_DIR, FONTS_DIR, FALLBACK_PROXY_VERSION = "6.9.29", PROXY_RELEASES_URL = "https://api.github.com/repos/router-for-me/CLIProxyAPI/releases/latest", PROXY_SUFFIXES;
|
|
73869
|
+
var SOULFORGE_DIR, BIN_DIR, INSTALLS_DIR, FONTS_DIR, FALLBACK_PROXY_VERSION = "6.9.29", PROXY_RELEASES_URL = "https://api.github.com/repos/router-for-me/CLIProxyAPI/releases/latest", PROXY_SUFFIXES, PROXY_SUFFIXES_LEGACY;
|
|
73856
73870
|
var init_install = __esm(() => {
|
|
73857
73871
|
SOULFORGE_DIR = join8(homedir6(), ".soulforge");
|
|
73858
73872
|
BIN_DIR = join8(SOULFORGE_DIR, "bin");
|
|
73859
73873
|
INSTALLS_DIR = join8(SOULFORGE_DIR, "installs");
|
|
73860
73874
|
FONTS_DIR = join8(SOULFORGE_DIR, "fonts");
|
|
73861
73875
|
PROXY_SUFFIXES = {
|
|
73876
|
+
"darwin-arm64": "darwin_aarch64",
|
|
73877
|
+
"darwin-x64": "darwin_amd64",
|
|
73878
|
+
"linux-x64": "linux_amd64",
|
|
73879
|
+
"linux-arm64": "linux_aarch64"
|
|
73880
|
+
};
|
|
73881
|
+
PROXY_SUFFIXES_LEGACY = {
|
|
73862
73882
|
"darwin-arm64": "darwin_arm64",
|
|
73863
73883
|
"darwin-x64": "darwin_amd64",
|
|
73864
73884
|
"linux-x64": "linux_amd64",
|