@proxysoul/soulforge 2.9.2 → 2.9.5
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 +245 -207
- package/dist/workers/intelligence.worker.js +132 -160
- package/dist/workers/io.worker.js +3 -3
- package/package.json +5 -8
- package/dist/native/libopentui.so +0 -0
- package/dist/parser.worker.js +0 -891
|
@@ -29329,7 +29329,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
29329
29329
|
exports.useTransition = function() {
|
|
29330
29330
|
return resolveDispatcher().useTransition();
|
|
29331
29331
|
};
|
|
29332
|
-
exports.version = "19.2.
|
|
29332
|
+
exports.version = "19.2.5";
|
|
29333
29333
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
29334
29334
|
})();
|
|
29335
29335
|
});
|
|
@@ -204389,6 +204389,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
204389
204389
|
|
|
204390
204390
|
// node_modules/tinyglobby/dist/index.cjs
|
|
204391
204391
|
var require_dist2 = __commonJS((exports) => {
|
|
204392
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
204392
204393
|
var __create2 = Object.create;
|
|
204393
204394
|
var __defProp5 = Object.defineProperty;
|
|
204394
204395
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
|
@@ -204412,29 +204413,26 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204412
204413
|
enumerable: true
|
|
204413
204414
|
}) : target, mod));
|
|
204414
204415
|
var fs2 = __require("fs");
|
|
204415
|
-
fs2 = __toESM2(fs2);
|
|
204416
204416
|
var path = __require("path");
|
|
204417
|
-
path = __toESM2(path);
|
|
204418
204417
|
var url = __require("url");
|
|
204419
|
-
url = __toESM2(url);
|
|
204420
204418
|
var fdir = require_dist();
|
|
204421
|
-
fdir = __toESM2(fdir);
|
|
204422
204419
|
var picomatch = require_picomatch2();
|
|
204423
204420
|
picomatch = __toESM2(picomatch);
|
|
204424
204421
|
var isReadonlyArray = Array.isArray;
|
|
204422
|
+
var BACKSLASHES = /\\/g;
|
|
204425
204423
|
var isWin = process.platform === "win32";
|
|
204426
204424
|
var ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
|
|
204427
204425
|
function getPartialMatcher(patterns, options = {}) {
|
|
204428
204426
|
const patternsCount = patterns.length;
|
|
204429
204427
|
const patternsParts = Array(patternsCount);
|
|
204430
204428
|
const matchers = Array(patternsCount);
|
|
204431
|
-
|
|
204432
|
-
for (
|
|
204429
|
+
let i4, j2;
|
|
204430
|
+
for (i4 = 0;i4 < patternsCount; i4++) {
|
|
204433
204431
|
const parts2 = splitPattern(patterns[i4]);
|
|
204434
204432
|
patternsParts[i4] = parts2;
|
|
204435
204433
|
const partsCount = parts2.length;
|
|
204436
204434
|
const partMatchers = Array(partsCount);
|
|
204437
|
-
for (
|
|
204435
|
+
for (j2 = 0;j2 < partsCount; j2++)
|
|
204438
204436
|
partMatchers[j2] = (0, picomatch.default)(parts2[j2], options);
|
|
204439
204437
|
matchers[i4] = partMatchers;
|
|
204440
204438
|
}
|
|
@@ -204442,20 +204440,19 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204442
204440
|
const inputParts = input.split("/");
|
|
204443
204441
|
if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input))
|
|
204444
204442
|
return true;
|
|
204445
|
-
for (
|
|
204443
|
+
for (i4 = 0;i4 < patternsCount; i4++) {
|
|
204446
204444
|
const patternParts = patternsParts[i4];
|
|
204447
204445
|
const matcher = matchers[i4];
|
|
204448
204446
|
const inputPatternCount = inputParts.length;
|
|
204449
204447
|
const minParts = Math.min(inputPatternCount, patternParts.length);
|
|
204450
|
-
|
|
204448
|
+
j2 = 0;
|
|
204451
204449
|
while (j2 < minParts) {
|
|
204452
204450
|
const part = patternParts[j2];
|
|
204453
204451
|
if (part.includes("/"))
|
|
204454
204452
|
return true;
|
|
204455
|
-
|
|
204456
|
-
if (!match)
|
|
204453
|
+
if (!matcher[j2](inputParts[j2]))
|
|
204457
204454
|
break;
|
|
204458
|
-
if (
|
|
204455
|
+
if (!options.noglobstar && part === "**")
|
|
204459
204456
|
return true;
|
|
204460
204457
|
j2++;
|
|
204461
204458
|
}
|
|
@@ -204470,7 +204467,7 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204470
204467
|
function buildFormat(cwd, root2, absolute) {
|
|
204471
204468
|
if (cwd === root2 || root2.startsWith(`${cwd}/`)) {
|
|
204472
204469
|
if (absolute) {
|
|
204473
|
-
const start2 =
|
|
204470
|
+
const start2 = cwd.length + +!isRoot(cwd);
|
|
204474
204471
|
return (p2, isDir) => p2.slice(start2, isDir ? -1 : undefined) || ".";
|
|
204475
204472
|
}
|
|
204476
204473
|
const prefix = root2.slice(cwd.length + 1);
|
|
@@ -204494,29 +204491,27 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204494
204491
|
}
|
|
204495
204492
|
return (p2) => {
|
|
204496
204493
|
const result = path.posix.relative(cwd, `${root2}/${p2}`);
|
|
204497
|
-
|
|
204498
|
-
return `${result}/`;
|
|
204499
|
-
return result || ".";
|
|
204494
|
+
return p2[p2.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
|
|
204500
204495
|
};
|
|
204501
204496
|
}
|
|
204502
204497
|
var splitPatternOptions = { parts: true };
|
|
204503
|
-
function splitPattern(path$
|
|
204498
|
+
function splitPattern(path$1) {
|
|
204504
204499
|
var _result$parts;
|
|
204505
|
-
const result = picomatch.default.scan(path$
|
|
204506
|
-
return ((_result$parts = result.parts) === null || _result$parts === undefined ? undefined : _result$parts.length) ? result.parts : [path$
|
|
204500
|
+
const result = picomatch.default.scan(path$1, splitPatternOptions);
|
|
204501
|
+
return ((_result$parts = result.parts) === null || _result$parts === undefined ? undefined : _result$parts.length) ? result.parts : [path$1];
|
|
204507
204502
|
}
|
|
204508
204503
|
var ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
|
|
204509
204504
|
function convertPosixPathToPattern(path$2) {
|
|
204510
204505
|
return escapePosixPath(path$2);
|
|
204511
204506
|
}
|
|
204512
|
-
function convertWin32PathToPattern(path$
|
|
204513
|
-
return escapeWin32Path(path$
|
|
204507
|
+
function convertWin32PathToPattern(path$3) {
|
|
204508
|
+
return escapeWin32Path(path$3).replace(ESCAPED_WIN32_BACKSLASHES, "/");
|
|
204514
204509
|
}
|
|
204515
204510
|
var convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern;
|
|
204516
204511
|
var POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
|
|
204517
204512
|
var WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
|
|
204518
|
-
var escapePosixPath = (path$
|
|
204519
|
-
var escapeWin32Path = (path$
|
|
204513
|
+
var escapePosixPath = (path$4) => path$4.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
|
204514
|
+
var escapeWin32Path = (path$5) => path$5.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
|
204520
204515
|
var escapePath = isWin ? escapeWin32Path : escapePosixPath;
|
|
204521
204516
|
function isDynamicPattern(pattern, options) {
|
|
204522
204517
|
if ((options === null || options === undefined ? undefined : options.caseSensitiveMatch) === false)
|
|
@@ -204527,32 +204522,33 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204527
204522
|
function log(...tasks) {
|
|
204528
204523
|
console.log(`[tinyglobby ${(/* @__PURE__ */ new Date()).toLocaleTimeString("es")}]`, ...tasks);
|
|
204529
204524
|
}
|
|
204525
|
+
function ensureStringArray(value) {
|
|
204526
|
+
return typeof value === "string" ? [value] : value !== null && value !== undefined ? value : [];
|
|
204527
|
+
}
|
|
204530
204528
|
var PARENT_DIRECTORY = /^(\/?\.\.)+/;
|
|
204531
204529
|
var ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g;
|
|
204532
|
-
|
|
204533
|
-
|
|
204530
|
+
function normalizePattern(pattern, opts, props, isIgnore) {
|
|
204531
|
+
var _PARENT_DIRECTORY$exe;
|
|
204532
|
+
const cwd = opts.cwd;
|
|
204534
204533
|
let result = pattern;
|
|
204535
|
-
if (pattern.
|
|
204534
|
+
if (pattern[pattern.length - 1] === "/")
|
|
204536
204535
|
result = pattern.slice(0, -1);
|
|
204537
|
-
if (
|
|
204536
|
+
if (result[result.length - 1] !== "*" && opts.expandDirectories)
|
|
204538
204537
|
result += "/**";
|
|
204539
204538
|
const escapedCwd = escapePath(cwd);
|
|
204540
|
-
|
|
204541
|
-
|
|
204542
|
-
else
|
|
204543
|
-
result = path.posix.normalize(result);
|
|
204544
|
-
const parentDirectoryMatch = PARENT_DIRECTORY.exec(result);
|
|
204539
|
+
result = (0, path.isAbsolute)(result.replace(ESCAPING_BACKSLASHES, "")) ? path.posix.relative(escapedCwd, result) : path.posix.normalize(result);
|
|
204540
|
+
const parentDir = (_PARENT_DIRECTORY$exe = PARENT_DIRECTORY.exec(result)) === null || _PARENT_DIRECTORY$exe === undefined ? undefined : _PARENT_DIRECTORY$exe[0];
|
|
204545
204541
|
const parts2 = splitPattern(result);
|
|
204546
|
-
if (
|
|
204547
|
-
const n = (
|
|
204542
|
+
if (parentDir) {
|
|
204543
|
+
const n = (parentDir.length + 1) / 3;
|
|
204548
204544
|
let i4 = 0;
|
|
204549
204545
|
const cwdParts = escapedCwd.split("/");
|
|
204550
204546
|
while (i4 < n && parts2[i4 + n] === cwdParts[cwdParts.length + i4 - n]) {
|
|
204551
204547
|
result = result.slice(0, (n - i4 - 1) * 3) + result.slice((n - i4) * 3 + parts2[i4 + n].length + 1) || ".";
|
|
204552
204548
|
i4++;
|
|
204553
204549
|
}
|
|
204554
|
-
const potentialRoot = path.posix.join(cwd,
|
|
204555
|
-
if (
|
|
204550
|
+
const potentialRoot = path.posix.join(cwd, parentDir.slice(i4 * 3));
|
|
204551
|
+
if (potentialRoot[0] !== "." && props.root.length > potentialRoot.length) {
|
|
204556
204552
|
props.root = potentialRoot;
|
|
204557
204553
|
props.depthOffset = -n + i4;
|
|
204558
204554
|
}
|
|
@@ -204568,7 +204564,7 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204568
204564
|
newCommonPath.pop();
|
|
204569
204565
|
break;
|
|
204570
204566
|
}
|
|
204571
|
-
if (part !== props.commonPath[i4] || isDynamicPattern(part)
|
|
204567
|
+
if (i4 === parts2.length - 1 || part !== props.commonPath[i4] || isDynamicPattern(part))
|
|
204572
204568
|
break;
|
|
204573
204569
|
newCommonPath.push(part);
|
|
204574
204570
|
}
|
|
@@ -204578,167 +204574,143 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
204578
204574
|
}
|
|
204579
204575
|
return result;
|
|
204580
204576
|
}
|
|
204581
|
-
function processPatterns(
|
|
204582
|
-
if (typeof patterns === "string")
|
|
204583
|
-
patterns = [patterns];
|
|
204584
|
-
if (typeof ignore === "string")
|
|
204585
|
-
ignore = [ignore];
|
|
204577
|
+
function processPatterns(options, patterns, props) {
|
|
204586
204578
|
const matchPatterns = [];
|
|
204587
204579
|
const ignorePatterns = [];
|
|
204588
|
-
for (const pattern of ignore) {
|
|
204580
|
+
for (const pattern of options.ignore) {
|
|
204589
204581
|
if (!pattern)
|
|
204590
204582
|
continue;
|
|
204591
204583
|
if (pattern[0] !== "!" || pattern[1] === "(")
|
|
204592
|
-
ignorePatterns.push(normalizePattern(pattern,
|
|
204584
|
+
ignorePatterns.push(normalizePattern(pattern, options, props, true));
|
|
204593
204585
|
}
|
|
204594
204586
|
for (const pattern of patterns) {
|
|
204595
204587
|
if (!pattern)
|
|
204596
204588
|
continue;
|
|
204597
204589
|
if (pattern[0] !== "!" || pattern[1] === "(")
|
|
204598
|
-
matchPatterns.push(normalizePattern(pattern,
|
|
204590
|
+
matchPatterns.push(normalizePattern(pattern, options, props, false));
|
|
204599
204591
|
else if (pattern[1] !== "!" || pattern[2] === "(")
|
|
204600
|
-
ignorePatterns.push(normalizePattern(pattern.slice(1),
|
|
204592
|
+
ignorePatterns.push(normalizePattern(pattern.slice(1), options, props, true));
|
|
204601
204593
|
}
|
|
204602
204594
|
return {
|
|
204603
204595
|
match: matchPatterns,
|
|
204604
204596
|
ignore: ignorePatterns
|
|
204605
204597
|
};
|
|
204606
204598
|
}
|
|
204607
|
-
function
|
|
204608
|
-
|
|
204609
|
-
const path$2 = paths[i4];
|
|
204610
|
-
paths[i4] = relative2(path$2);
|
|
204611
|
-
}
|
|
204612
|
-
return paths;
|
|
204613
|
-
}
|
|
204614
|
-
function normalizeCwd(cwd) {
|
|
204615
|
-
if (!cwd)
|
|
204616
|
-
return process.cwd().replace(BACKSLASHES, "/");
|
|
204617
|
-
if (cwd instanceof URL)
|
|
204618
|
-
return (0, url.fileURLToPath)(cwd).replace(BACKSLASHES, "/");
|
|
204619
|
-
return path.default.resolve(cwd).replace(BACKSLASHES, "/");
|
|
204620
|
-
}
|
|
204621
|
-
function getCrawler(patterns, inputOptions = {}) {
|
|
204622
|
-
const options = process.env.TINYGLOBBY_DEBUG ? {
|
|
204623
|
-
...inputOptions,
|
|
204624
|
-
debug: true
|
|
204625
|
-
} : inputOptions;
|
|
204626
|
-
const cwd = normalizeCwd(options.cwd);
|
|
204627
|
-
if (options.debug)
|
|
204628
|
-
log("globbing with:", {
|
|
204629
|
-
patterns,
|
|
204630
|
-
options,
|
|
204631
|
-
cwd
|
|
204632
|
-
});
|
|
204633
|
-
if (Array.isArray(patterns) && patterns.length === 0)
|
|
204634
|
-
return [{
|
|
204635
|
-
sync: () => [],
|
|
204636
|
-
withPromise: async () => []
|
|
204637
|
-
}, false];
|
|
204599
|
+
function buildCrawler(options, patterns) {
|
|
204600
|
+
const cwd = options.cwd;
|
|
204638
204601
|
const props = {
|
|
204639
204602
|
root: cwd,
|
|
204640
|
-
commonPath: null,
|
|
204641
204603
|
depthOffset: 0
|
|
204642
204604
|
};
|
|
204643
|
-
const processed = processPatterns(
|
|
204644
|
-
...options,
|
|
204645
|
-
patterns
|
|
204646
|
-
}, cwd, props);
|
|
204605
|
+
const processed = processPatterns(options, patterns, props);
|
|
204647
204606
|
if (options.debug)
|
|
204648
204607
|
log("internal processing patterns:", processed);
|
|
204608
|
+
const { absolute, caseSensitiveMatch, debug, dot, followSymbolicLinks, onlyDirectories } = options;
|
|
204609
|
+
const root2 = props.root.replace(BACKSLASHES, "");
|
|
204649
204610
|
const matchOptions = {
|
|
204650
|
-
dot
|
|
204611
|
+
dot,
|
|
204651
204612
|
nobrace: options.braceExpansion === false,
|
|
204652
|
-
nocase:
|
|
204613
|
+
nocase: !caseSensitiveMatch,
|
|
204653
204614
|
noextglob: options.extglob === false,
|
|
204654
204615
|
noglobstar: options.globstar === false,
|
|
204655
204616
|
posix: true
|
|
204656
204617
|
};
|
|
204657
|
-
const matcher = (0, picomatch.default)(processed.match,
|
|
204658
|
-
...matchOptions,
|
|
204659
|
-
ignore: processed.ignore
|
|
204660
|
-
});
|
|
204618
|
+
const matcher = (0, picomatch.default)(processed.match, matchOptions);
|
|
204661
204619
|
const ignore = (0, picomatch.default)(processed.ignore, matchOptions);
|
|
204662
204620
|
const partialMatcher = getPartialMatcher(processed.match, matchOptions);
|
|
204663
|
-
const format = buildFormat(cwd,
|
|
204664
|
-
const
|
|
204665
|
-
const
|
|
204666
|
-
|
|
204667
|
-
|
|
204668
|
-
|
|
204621
|
+
const format = buildFormat(cwd, root2, absolute);
|
|
204622
|
+
const excludeFormatter = absolute ? format : buildFormat(cwd, root2, true);
|
|
204623
|
+
const excludePredicate = (_3, p2) => {
|
|
204624
|
+
const relativePath = excludeFormatter(p2, true);
|
|
204625
|
+
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
|
|
204626
|
+
};
|
|
204627
|
+
let maxDepth;
|
|
204628
|
+
if (options.deep !== undefined)
|
|
204629
|
+
maxDepth = Math.round(options.deep - props.depthOffset);
|
|
204630
|
+
const crawler = new fdir.fdir({
|
|
204631
|
+
filters: [debug ? (p2, isDirectory) => {
|
|
204632
|
+
const path2 = format(p2, isDirectory);
|
|
204633
|
+
const matches2 = matcher(path2) && !ignore(path2);
|
|
204669
204634
|
if (matches2)
|
|
204670
|
-
log(`matched ${
|
|
204635
|
+
log(`matched ${path2}`);
|
|
204671
204636
|
return matches2;
|
|
204672
|
-
} : (p2, isDirectory) =>
|
|
204673
|
-
|
|
204674
|
-
|
|
204675
|
-
|
|
204676
|
-
|
|
204677
|
-
|
|
204678
|
-
|
|
204679
|
-
log(`crawling ${p2}`);
|
|
204637
|
+
} : (p2, isDirectory) => {
|
|
204638
|
+
const path2 = format(p2, isDirectory);
|
|
204639
|
+
return matcher(path2) && !ignore(path2);
|
|
204640
|
+
}],
|
|
204641
|
+
exclude: debug ? (_3, p2) => {
|
|
204642
|
+
const skipped = excludePredicate(_3, p2);
|
|
204643
|
+
log(`${skipped ? "skipped" : "crawling"} ${p2}`);
|
|
204680
204644
|
return skipped;
|
|
204681
|
-
} :
|
|
204682
|
-
|
|
204683
|
-
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
|
|
204684
|
-
},
|
|
204685
|
-
fs: options.fs ? {
|
|
204686
|
-
readdir: options.fs.readdir || fs2.default.readdir,
|
|
204687
|
-
readdirSync: options.fs.readdirSync || fs2.default.readdirSync,
|
|
204688
|
-
realpath: options.fs.realpath || fs2.default.realpath,
|
|
204689
|
-
realpathSync: options.fs.realpathSync || fs2.default.realpathSync,
|
|
204690
|
-
stat: options.fs.stat || fs2.default.stat,
|
|
204691
|
-
statSync: options.fs.statSync || fs2.default.statSync
|
|
204692
|
-
} : undefined,
|
|
204645
|
+
} : excludePredicate,
|
|
204646
|
+
fs: options.fs,
|
|
204693
204647
|
pathSeparator: "/",
|
|
204694
|
-
relativePaths:
|
|
204695
|
-
|
|
204648
|
+
relativePaths: !absolute,
|
|
204649
|
+
resolvePaths: absolute,
|
|
204650
|
+
includeBasePath: absolute,
|
|
204651
|
+
resolveSymlinks: followSymbolicLinks,
|
|
204652
|
+
excludeSymlinks: !followSymbolicLinks,
|
|
204653
|
+
excludeFiles: onlyDirectories,
|
|
204654
|
+
includeDirs: onlyDirectories || !options.onlyFiles,
|
|
204655
|
+
maxDepth,
|
|
204696
204656
|
signal: options.signal
|
|
204697
|
-
};
|
|
204698
|
-
if (options.deep !== undefined)
|
|
204699
|
-
fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset);
|
|
204700
|
-
if (options.absolute) {
|
|
204701
|
-
fdirOptions.relativePaths = false;
|
|
204702
|
-
fdirOptions.resolvePaths = true;
|
|
204703
|
-
fdirOptions.includeBasePath = true;
|
|
204704
|
-
}
|
|
204705
|
-
if (options.followSymbolicLinks === false) {
|
|
204706
|
-
fdirOptions.resolveSymlinks = false;
|
|
204707
|
-
fdirOptions.excludeSymlinks = true;
|
|
204708
|
-
}
|
|
204709
|
-
if (options.onlyDirectories) {
|
|
204710
|
-
fdirOptions.excludeFiles = true;
|
|
204711
|
-
fdirOptions.includeDirs = true;
|
|
204712
|
-
} else if (options.onlyFiles === false)
|
|
204713
|
-
fdirOptions.includeDirs = true;
|
|
204714
|
-
props.root = props.root.replace(BACKSLASHES, "");
|
|
204715
|
-
const root2 = props.root;
|
|
204657
|
+
}).crawl(root2);
|
|
204716
204658
|
if (options.debug)
|
|
204717
|
-
log("internal properties:",
|
|
204718
|
-
|
|
204719
|
-
|
|
204659
|
+
log("internal properties:", {
|
|
204660
|
+
...props,
|
|
204661
|
+
root: root2
|
|
204662
|
+
});
|
|
204663
|
+
return [crawler, cwd !== root2 && !absolute && buildRelative(cwd, root2)];
|
|
204720
204664
|
}
|
|
204721
|
-
|
|
204722
|
-
if (
|
|
204723
|
-
|
|
204724
|
-
|
|
204725
|
-
|
|
204726
|
-
|
|
204727
|
-
|
|
204728
|
-
|
|
204729
|
-
|
|
204730
|
-
|
|
204731
|
-
|
|
204732
|
-
|
|
204733
|
-
|
|
204665
|
+
function formatPaths(paths, mapper) {
|
|
204666
|
+
if (mapper)
|
|
204667
|
+
for (let i4 = paths.length - 1;i4 >= 0; i4--)
|
|
204668
|
+
paths[i4] = mapper(paths[i4]);
|
|
204669
|
+
return paths;
|
|
204670
|
+
}
|
|
204671
|
+
var defaultOptions = {
|
|
204672
|
+
caseSensitiveMatch: true,
|
|
204673
|
+
cwd: process.cwd(),
|
|
204674
|
+
debug: !!process.env.TINYGLOBBY_DEBUG,
|
|
204675
|
+
expandDirectories: true,
|
|
204676
|
+
followSymbolicLinks: true,
|
|
204677
|
+
onlyFiles: true
|
|
204678
|
+
};
|
|
204679
|
+
function getOptions2(options) {
|
|
204680
|
+
const opts = {
|
|
204681
|
+
...defaultOptions,
|
|
204682
|
+
...options
|
|
204683
|
+
};
|
|
204684
|
+
opts.cwd = (opts.cwd instanceof URL ? (0, url.fileURLToPath)(opts.cwd) : (0, path.resolve)(opts.cwd)).replace(BACKSLASHES, "/");
|
|
204685
|
+
opts.ignore = ensureStringArray(opts.ignore);
|
|
204686
|
+
opts.fs && (opts.fs = {
|
|
204687
|
+
readdir: opts.fs.readdir || fs2.readdir,
|
|
204688
|
+
readdirSync: opts.fs.readdirSync || fs2.readdirSync,
|
|
204689
|
+
realpath: opts.fs.realpath || fs2.realpath,
|
|
204690
|
+
realpathSync: opts.fs.realpathSync || fs2.realpathSync,
|
|
204691
|
+
stat: opts.fs.stat || fs2.stat,
|
|
204692
|
+
statSync: opts.fs.statSync || fs2.statSync
|
|
204693
|
+
});
|
|
204694
|
+
if (opts.debug)
|
|
204695
|
+
log("globbing with options:", opts);
|
|
204696
|
+
return opts;
|
|
204697
|
+
}
|
|
204698
|
+
function getCrawler(globInput, inputOptions = {}) {
|
|
204699
|
+
var _ref;
|
|
204700
|
+
if (globInput && (inputOptions === null || inputOptions === undefined ? undefined : inputOptions.patterns))
|
|
204734
204701
|
throw new Error("Cannot pass patterns as both an argument and an option");
|
|
204735
|
-
const isModern = isReadonlyArray(
|
|
204736
|
-
const
|
|
204737
|
-
const
|
|
204738
|
-
|
|
204739
|
-
|
|
204740
|
-
|
|
204741
|
-
|
|
204702
|
+
const isModern = isReadonlyArray(globInput) || typeof globInput === "string";
|
|
204703
|
+
const patterns = ensureStringArray((_ref = isModern ? globInput : globInput.patterns) !== null && _ref !== undefined ? _ref : "**/*");
|
|
204704
|
+
const options = getOptions2(isModern ? inputOptions : globInput);
|
|
204705
|
+
return patterns.length > 0 ? buildCrawler(options, patterns) : [];
|
|
204706
|
+
}
|
|
204707
|
+
async function glob(globInput, options) {
|
|
204708
|
+
const [crawler, relative2] = getCrawler(globInput, options);
|
|
204709
|
+
return crawler ? formatPaths(await crawler.withPromise(), relative2) : [];
|
|
204710
|
+
}
|
|
204711
|
+
function globSync(globInput, options) {
|
|
204712
|
+
const [crawler, relative2] = getCrawler(globInput, options);
|
|
204713
|
+
return crawler ? formatPaths(crawler.sync(), relative2) : [];
|
|
204742
204714
|
}
|
|
204743
204715
|
exports.convertPathToPattern = convertPathToPattern;
|
|
204744
204716
|
exports.escapePath = escapePath;
|
|
@@ -1441,7 +1441,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1441
1441
|
exports.useTransition = function() {
|
|
1442
1442
|
return resolveDispatcher().useTransition();
|
|
1443
1443
|
};
|
|
1444
|
-
exports.version = "19.2.
|
|
1444
|
+
exports.version = "19.2.5";
|
|
1445
1445
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1446
1446
|
})();
|
|
1447
1447
|
});
|
|
@@ -24064,7 +24064,7 @@ var import_oidc, import_oidc2, marker17 = "vercel.ai.gateway.error", symbol18, _
|
|
|
24064
24064
|
"ai-model-id": this.modelId
|
|
24065
24065
|
};
|
|
24066
24066
|
}
|
|
24067
|
-
}, gatewayRerankingResponseSchema, parallelSearchInputSchema, parallelSearchOutputSchema, parallelSearchToolFactory, parallelSearch = (config2 = {}) => parallelSearchToolFactory(config2), perplexitySearchInputSchema, perplexitySearchOutputSchema, perplexitySearchToolFactory, perplexitySearch = (config2 = {}) => perplexitySearchToolFactory(config2), gatewayTools, VERSION2 = "3.0.
|
|
24067
|
+
}, gatewayRerankingResponseSchema, parallelSearchInputSchema, parallelSearchOutputSchema, parallelSearchToolFactory, parallelSearch = (config2 = {}) => parallelSearchToolFactory(config2), perplexitySearchInputSchema, perplexitySearchOutputSchema, perplexitySearchToolFactory, perplexitySearch = (config2 = {}) => perplexitySearchToolFactory(config2), gatewayTools, VERSION2 = "3.0.94", AI_GATEWAY_PROTOCOL_VERSION = "0.0.1", gateway;
|
|
24068
24068
|
var init_dist4 = __esm(() => {
|
|
24069
24069
|
init_dist3();
|
|
24070
24070
|
init_dist();
|
|
@@ -28769,7 +28769,7 @@ var import_api, import_api2, __defProp2, __export2 = (target, all) => {
|
|
|
28769
28769
|
const bytes = typeof data === "string" ? convertBase64ToUint8Array(data) : data;
|
|
28770
28770
|
const id3Size = (bytes[6] & 127) << 21 | (bytes[7] & 127) << 14 | (bytes[8] & 127) << 7 | bytes[9] & 127;
|
|
28771
28771
|
return bytes.slice(id3Size + 10);
|
|
28772
|
-
}, VERSION3 = "6.0.
|
|
28772
|
+
}, VERSION3 = "6.0.154", download = async ({
|
|
28773
28773
|
url: url2,
|
|
28774
28774
|
maxBytes,
|
|
28775
28775
|
abortSignal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proxysoul/soulforge",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.5",
|
|
4
4
|
"description": "Graph-powered code intelligence — multi-agent coding with codebase-aware AI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,21 +71,21 @@
|
|
|
71
71
|
"@ai-sdk/mcp": "^1.0.35",
|
|
72
72
|
"@ai-sdk/mistral": "^3.0.30",
|
|
73
73
|
"@ai-sdk/openai": "3.0.52",
|
|
74
|
-
"@ai-sdk/xai": "3.0.
|
|
75
|
-
"@anthropic-ai/sdk": "0.
|
|
74
|
+
"@ai-sdk/xai": "3.0.82",
|
|
75
|
+
"@anthropic-ai/sdk": "0.86.1",
|
|
76
76
|
"@llmgateway/ai-sdk-provider": "3.5.0",
|
|
77
77
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
78
78
|
"@mozilla/readability": "0.6.0",
|
|
79
79
|
"@openrouter/ai-sdk-provider": "2.5.0",
|
|
80
80
|
"@opentui/react": "0.1.97",
|
|
81
|
-
"ai": "6.0.
|
|
81
|
+
"ai": "6.0.154",
|
|
82
82
|
"ghostty-opentui": "1.4.10",
|
|
83
83
|
"isbinaryfile": "6.0.0",
|
|
84
84
|
"linkedom": "0.18.12",
|
|
85
85
|
"linkify-it": "5.0.0",
|
|
86
86
|
"marked": "17.0.5",
|
|
87
87
|
"neovim": "5.4.0",
|
|
88
|
-
"react": "19.2.
|
|
88
|
+
"react": "19.2.5",
|
|
89
89
|
"shiki": "4.0.2",
|
|
90
90
|
"strip-ansi": "7.2.0",
|
|
91
91
|
"tree-sitter-wasms": "0.1.13",
|
|
@@ -94,8 +94,5 @@
|
|
|
94
94
|
"web-tree-sitter": "0.25.10",
|
|
95
95
|
"zod": "4.3.6",
|
|
96
96
|
"zustand": "5.0.12"
|
|
97
|
-
},
|
|
98
|
-
"overrides": {
|
|
99
|
-
"@opentui/core": "0.1.96"
|
|
100
97
|
}
|
|
101
98
|
}
|
|
Binary file
|