@proxysoul/soulforge 1.6.3 → 1.7.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/README.md +1 -1
- package/dist/index.js +1474 -1509
- package/dist/workers/intelligence.worker.js +49 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27639,6 +27639,18 @@ var init_anthropic = __esm(() => {
|
|
|
27639
27639
|
return result;
|
|
27640
27640
|
},
|
|
27641
27641
|
fallbackModels: [{
|
|
27642
|
+
id: "claude-opus-4-6",
|
|
27643
|
+
name: "Claude Opus 4.6"
|
|
27644
|
+
}, {
|
|
27645
|
+
id: "claude-sonnet-4-6",
|
|
27646
|
+
name: "Claude Sonnet 4.6"
|
|
27647
|
+
}, {
|
|
27648
|
+
id: "claude-opus-4-5",
|
|
27649
|
+
name: "Claude Opus 4.5"
|
|
27650
|
+
}, {
|
|
27651
|
+
id: "claude-sonnet-4-5",
|
|
27652
|
+
name: "Claude Sonnet 4.5"
|
|
27653
|
+
}, {
|
|
27642
27654
|
id: "claude-opus-4",
|
|
27643
27655
|
name: "Claude Opus 4"
|
|
27644
27656
|
}, {
|
|
@@ -44446,6 +44458,18 @@ var init_proxy = __esm(() => {
|
|
|
44446
44458
|
stopProxy();
|
|
44447
44459
|
},
|
|
44448
44460
|
fallbackModels: [{
|
|
44461
|
+
id: "claude-opus-4-6",
|
|
44462
|
+
name: "Claude Opus 4.6"
|
|
44463
|
+
}, {
|
|
44464
|
+
id: "claude-sonnet-4-6",
|
|
44465
|
+
name: "Claude Sonnet 4.6"
|
|
44466
|
+
}, {
|
|
44467
|
+
id: "claude-opus-4-5",
|
|
44468
|
+
name: "Claude Opus 4.5"
|
|
44469
|
+
}, {
|
|
44470
|
+
id: "claude-sonnet-4-5",
|
|
44471
|
+
name: "Claude Sonnet 4.5"
|
|
44472
|
+
}, {
|
|
44449
44473
|
id: "claude-sonnet-4-20250514",
|
|
44450
44474
|
name: "Claude Sonnet 4"
|
|
44451
44475
|
}, {
|
|
@@ -57814,7 +57838,7 @@ var package_default;
|
|
|
57814
57838
|
var init_package = __esm(() => {
|
|
57815
57839
|
package_default = {
|
|
57816
57840
|
name: "@proxysoul/soulforge",
|
|
57817
|
-
version: "1.
|
|
57841
|
+
version: "1.7.2",
|
|
57818
57842
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
57819
57843
|
repository: {
|
|
57820
57844
|
type: "git",
|
|
@@ -312475,6 +312499,8 @@ class RepoMap {
|
|
|
312475
312499
|
);
|
|
312476
312500
|
CREATE INDEX IF NOT EXISTS idx_refs_file ON refs(file_id);
|
|
312477
312501
|
CREATE INDEX IF NOT EXISTS idx_refs_name ON refs(name);
|
|
312502
|
+
CREATE INDEX IF NOT EXISTS idx_refs_source ON refs(source_file_id);
|
|
312503
|
+
CREATE INDEX IF NOT EXISTS idx_refs_import ON refs(import_source);
|
|
312478
312504
|
`);
|
|
312479
312505
|
try {
|
|
312480
312506
|
this.db.run("ALTER TABLE refs ADD COLUMN source_file_id INTEGER REFERENCES files(id) ON DELETE CASCADE");
|
|
@@ -312694,13 +312720,16 @@ class RepoMap {
|
|
|
312694
312720
|
});
|
|
312695
312721
|
}
|
|
312696
312722
|
const stale = [...existingFiles.keys()].filter((p) => !currentPaths.has(p));
|
|
312697
|
-
|
|
312723
|
+
const staleRatio = existingFiles.size > 0 ? stale.length / existingFiles.size : 0;
|
|
312724
|
+
if (stale.length > 0 && staleRatio < 0.8) {
|
|
312698
312725
|
const deleteFile = this.db.prepare("DELETE FROM files WHERE path = ?");
|
|
312699
312726
|
const tx = this.db.transaction(() => {
|
|
312700
312727
|
for (const p of stale)
|
|
312701
312728
|
deleteFile.run(p);
|
|
312702
312729
|
});
|
|
312703
312730
|
tx();
|
|
312731
|
+
} else if (stale.length > 0) {
|
|
312732
|
+
this.onError?.(`Skipped removing ${String(stale.length)} files \u2014 looks like a file listing error (${String(Math.round(staleRatio * 100))}% stale). Use /repo-map \u2192 [X] clear to force.`);
|
|
312704
312733
|
}
|
|
312705
312734
|
if (toIndex.length > 0) {
|
|
312706
312735
|
this.onProgress?.(0, toIndex.length);
|
|
@@ -312724,7 +312753,10 @@ class RepoMap {
|
|
|
312724
312753
|
}
|
|
312725
312754
|
this.onProgress?.(toIndex.length, toIndex.length);
|
|
312726
312755
|
}
|
|
312727
|
-
|
|
312756
|
+
const edgeCount = this.db.query("SELECT COUNT(*) as c FROM edges").get()?.c ?? 0;
|
|
312757
|
+
const fileCount = this.db.query("SELECT COUNT(*) as c FROM files").get()?.c ?? 0;
|
|
312758
|
+
const needsPostIndexing = toIndex.length > 0 || stale.length > 0 || fileCount > 0 && edgeCount === 0;
|
|
312759
|
+
if (needsPostIndexing) {
|
|
312728
312760
|
this.onProgress?.(-1, -1);
|
|
312729
312761
|
await tick();
|
|
312730
312762
|
await this.resolveUnresolvedRefs();
|
|
@@ -312737,6 +312769,7 @@ class RepoMap {
|
|
|
312737
312769
|
this.onProgress?.(-3, -3);
|
|
312738
312770
|
await tick();
|
|
312739
312771
|
await this.buildEdges();
|
|
312772
|
+
this.onProgress?.(-4, -4);
|
|
312740
312773
|
this.linkTestFiles();
|
|
312741
312774
|
this.rescueOrphans();
|
|
312742
312775
|
this.onProgress?.(-4, -4);
|
|
@@ -313359,6 +313392,8 @@ class RepoMap {
|
|
|
313359
313392
|
addEdge(row.source_file_id, row.target_file_id, Math.sqrt(row.ref_count) * 3, 3);
|
|
313360
313393
|
if (i2 % 500 === 499)
|
|
313361
313394
|
await tick();
|
|
313395
|
+
if (i2 % 2000 === 0)
|
|
313396
|
+
this.onProgress?.(-3, -3);
|
|
313362
313397
|
}
|
|
313363
313398
|
const refDfMap = new Map;
|
|
313364
313399
|
const dfRows = this.db.query("SELECT name, COUNT(DISTINCT file_id) AS ref_df FROM refs GROUP BY name").all();
|
|
@@ -313389,20 +313424,26 @@ class RepoMap {
|
|
|
313389
313424
|
addEdge(row.source_file_id, row.target_file_id, w, 1);
|
|
313390
313425
|
if (i2 % 500 === 499)
|
|
313391
313426
|
await tick();
|
|
313427
|
+
if (i2 % 2000 === 0)
|
|
313428
|
+
this.onProgress?.(-3, -3);
|
|
313392
313429
|
}
|
|
313430
|
+
this.onProgress?.(-3, -3);
|
|
313393
313431
|
await tick();
|
|
313432
|
+
const uniqueExportNames = new Set;
|
|
313433
|
+
const exportNameCounts = this.db.query("SELECT name, COUNT(DISTINCT file_id) as fc FROM symbols WHERE is_exported = 1 GROUP BY name HAVING fc = 1").all();
|
|
313434
|
+
for (const row of exportNameCounts)
|
|
313435
|
+
uniqueExportNames.add(row.name);
|
|
313394
313436
|
const inferredRows = this.db.query(`SELECT r.file_id AS source_file_id, s.file_id AS target_file_id,
|
|
313395
|
-
r.name, COUNT(*) AS ref_count
|
|
313396
|
-
(SELECT COUNT(DISTINCT s2.file_id) FROM symbols s2
|
|
313397
|
-
WHERE s2.name = r.name AND s2.is_exported = 1) AS def_count
|
|
313437
|
+
r.name, COUNT(*) AS ref_count
|
|
313398
313438
|
FROM refs r
|
|
313399
313439
|
JOIN symbols s ON r.name = s.name AND s.is_exported = 1
|
|
313400
313440
|
WHERE r.source_file_id IS NULL AND r.import_source IS NULL
|
|
313401
313441
|
AND r.file_id != s.file_id
|
|
313402
|
-
GROUP BY r.file_id, s.file_id, r.name
|
|
313403
|
-
HAVING def_count = 1`).all();
|
|
313442
|
+
GROUP BY r.file_id, s.file_id, r.name`).all();
|
|
313404
313443
|
for (let i2 = 0;i2 < inferredRows.length; i2++) {
|
|
313405
313444
|
const row = inferredRows[i2];
|
|
313445
|
+
if (!uniqueExportNames.has(row.name))
|
|
313446
|
+
continue;
|
|
313406
313447
|
const refDf = refDfMap.get(row.name) ?? 1;
|
|
313407
313448
|
const idf = Math.log((totalFiles - refDf + 0.5) / (refDf + 0.5));
|
|
313408
313449
|
if (idf <= 0)
|
|
@@ -313416,6 +313457,8 @@ class RepoMap {
|
|
|
313416
313457
|
addEdge(row.source_file_id, row.target_file_id, w, 1);
|
|
313417
313458
|
if (i2 % 500 === 499)
|
|
313418
313459
|
await tick();
|
|
313460
|
+
if (i2 % 2000 === 0)
|
|
313461
|
+
this.onProgress?.(-3, -3);
|
|
313419
313462
|
}
|
|
313420
313463
|
const cochangeRows = this.db.query("SELECT file_id_a, file_id_b, count FROM cochanges WHERE count >= 3").all();
|
|
313421
313464
|
for (const row of cochangeRows) {
|
|
@@ -313472,6 +313515,8 @@ class RepoMap {
|
|
|
313472
313515
|
try {
|
|
313473
313516
|
tx();
|
|
313474
313517
|
} catch {}
|
|
313518
|
+
if (i2 % 2000 === 0)
|
|
313519
|
+
this.onProgress?.(-3, -3);
|
|
313475
313520
|
if (i2 + BATCH < entries.length)
|
|
313476
313521
|
await tick();
|
|
313477
313522
|
}
|
|
@@ -313815,6 +313860,7 @@ class RepoMap {
|
|
|
313815
313860
|
}
|
|
313816
313861
|
const pairCounts = new Map;
|
|
313817
313862
|
const commits = logOutput.split("---COMMIT---").filter((s) => s.trim());
|
|
313863
|
+
const tick = () => new Promise((r) => setTimeout(r, 1));
|
|
313818
313864
|
for (let ci = 0;ci < commits.length; ci++) {
|
|
313819
313865
|
const commit = commits[ci];
|
|
313820
313866
|
const files = commit.split(`
|
|
@@ -313829,8 +313875,10 @@ class RepoMap {
|
|
|
313829
313875
|
pairCounts.set(key, (pairCounts.get(key) ?? 0) + 1);
|
|
313830
313876
|
}
|
|
313831
313877
|
}
|
|
313832
|
-
if (ci % 50 === 0)
|
|
313878
|
+
if (ci % 50 === 0) {
|
|
313833
313879
|
this.onProgress?.(-5, -5);
|
|
313880
|
+
await tick();
|
|
313881
|
+
}
|
|
313834
313882
|
}
|
|
313835
313883
|
if (pairCounts.size === 0)
|
|
313836
313884
|
return;
|
|
@@ -360684,10 +360732,11 @@ A Soul Map is loaded in context \u2014 every file, exported symbol, signature, l
|
|
|
360684
360732
|
4. Before editing a file with blast radius (\u2192N) > 10, call soul_impact to check dependents and cochanges. Cochanges reveal files that historically change together \u2014 you may need to update them too.
|
|
360685
360733
|
5. To find a symbol's definition or callers, use navigate \u2014 not grep.
|
|
360686
360734
|
6. To search code, use soul_grep \u2014 not grep. soul_grep has repo-map intercept and symbol context.
|
|
360687
|
-
7.
|
|
360688
|
-
8.
|
|
360689
|
-
9.
|
|
360690
|
-
10.
|
|
360735
|
+
7. Use navigate(symbols, file) or navigate(definition) to inspect dependency types \u2014 e.g. node_modules (*.d.ts), *.pyi stubs, *.rbi, C/C++ headers, *.java in jars. LSP resolves inheritance chains automatically and shows all members including inherited ones in one call.
|
|
360736
|
+
8. When editing, always provide lineStart from your read_file output \u2014 the range is derived from oldString line count. This is the most reliable edit method.
|
|
360737
|
+
9. After every edit, call project (typecheck/test) to verify.
|
|
360738
|
+
10. Batch ALL independent reads/searches in one parallel call. Never read the same file twice.
|
|
360739
|
+
11. Use multi_edit for multiple changes to the same file \u2014 it's atomic and runs diagnostics once.
|
|
360691
360740
|
Each tool call round-trip resends the full conversation \u2014 every extra round costs thousands of tokens.`, TOOL_GUIDANCE_NO_MAP = `# Tool usage
|
|
360692
360741
|
If you intend to call multiple tools with no dependencies between them, make all independent calls in the same block.
|
|
360693
360742
|
Each tool call round-trip resends the entire conversation \u2014 minimize the number of steps.`;
|
|
@@ -360777,7 +360826,7 @@ var init_intelligence_client = __esm(() => {
|
|
|
360777
360826
|
onProgress = null;
|
|
360778
360827
|
onScanComplete = null;
|
|
360779
360828
|
onStaleSymbols = null;
|
|
360780
|
-
static SCAN_IDLE_TIMEOUT =
|
|
360829
|
+
static SCAN_IDLE_TIMEOUT = 600000;
|
|
360781
360830
|
constructor(cwd2) {
|
|
360782
360831
|
const workerPath = IS_COMPILED2 ? join27(homedir17(), ".soulforge", "workers", "intelligence.worker.js") : IS_DIST2 ? join27(import.meta.dir, "workers", "intelligence.worker.js") : join27(import.meta.dir, "intelligence.worker.ts");
|
|
360783
360832
|
super(workerPath, {
|
|
@@ -361359,9 +361408,11 @@ class ContextManager {
|
|
|
361359
361408
|
this.repoMap.onProgress = (indexed, total) => {
|
|
361360
361409
|
const store = useRepoMapStore.getState();
|
|
361361
361410
|
const phaseLabels = {
|
|
361362
|
-
[-1]: "
|
|
361363
|
-
[-2]: "
|
|
361364
|
-
[-3]: "
|
|
361411
|
+
[-1]: "resolving refs",
|
|
361412
|
+
[-2]: "building call graph",
|
|
361413
|
+
[-3]: "building edges",
|
|
361414
|
+
[-4]: "linking tests",
|
|
361415
|
+
[-5]: "analyzing git history"
|
|
361365
361416
|
};
|
|
361366
361417
|
const label = phaseLabels[indexed] ?? `${String(indexed)}/${String(total)}`;
|
|
361367
361418
|
store.setScanProgress(label);
|
|
@@ -442687,36 +442738,21 @@ var init_diff2 = __esm(() => {
|
|
|
442687
442738
|
|
|
442688
442739
|
// src/components/chat/DiffView.tsx
|
|
442689
442740
|
import { readFile as readFile21 } from "fs/promises";
|
|
442690
|
-
function toUnifiedDiff(filePath,
|
|
442691
|
-
|
|
442692
|
-
|
|
442693
|
-
const newLines = newStr.split(`
|
|
442694
|
-
`);
|
|
442695
|
-
const header = [`--- a/${filePath}`, `+++ b/${filePath}`, `@@ -1,${String(oldLines.length)} +1,${String(newLines.length)} @@`];
|
|
442741
|
+
function toUnifiedDiff(filePath, diffLines) {
|
|
442742
|
+
let oldCount = 0;
|
|
442743
|
+
let newCount = 0;
|
|
442696
442744
|
const body4 = [];
|
|
442697
|
-
const
|
|
442698
|
-
|
|
442699
|
-
|
|
442700
|
-
|
|
442701
|
-
|
|
442702
|
-
if (
|
|
442703
|
-
|
|
442704
|
-
|
|
442705
|
-
|
|
442706
|
-
|
|
442707
|
-
|
|
442708
|
-
oi++;
|
|
442709
|
-
}
|
|
442710
|
-
}
|
|
442711
|
-
while (ni < maxNew) {
|
|
442712
|
-
body4.push(`+${newLines[ni]}`);
|
|
442713
|
-
ni++;
|
|
442714
|
-
}
|
|
442715
|
-
while (oi < maxOld) {
|
|
442716
|
-
body4.push(`-${oldLines[oi]}`);
|
|
442717
|
-
oi++;
|
|
442718
|
-
}
|
|
442719
|
-
return [...header, ...body4].join(`
|
|
442745
|
+
for (const line2 of diffLines) {
|
|
442746
|
+
if (line2.kind === "collapsed")
|
|
442747
|
+
continue;
|
|
442748
|
+
const prefix = line2.kind === "add" ? "+" : line2.kind === "remove" ? "-" : " ";
|
|
442749
|
+
body4.push(`${prefix}${line2.content}`);
|
|
442750
|
+
if (line2.kind !== "add")
|
|
442751
|
+
oldCount++;
|
|
442752
|
+
if (line2.kind !== "remove")
|
|
442753
|
+
newCount++;
|
|
442754
|
+
}
|
|
442755
|
+
return [`--- a/${filePath}`, `+++ b/${filePath}`, `@@ -1,${String(oldCount)} +1,${String(newCount)} @@`, ...body4].join(`
|
|
442720
442756
|
`);
|
|
442721
442757
|
}
|
|
442722
442758
|
function _temp15() {}
|
|
@@ -442730,7 +442766,7 @@ var init_DiffView = __esm(async () => {
|
|
|
442730
442766
|
import_compiler_runtime15 = __toESM(require_compiler_runtime(), 1);
|
|
442731
442767
|
import_react36 = __toESM(require_react(), 1);
|
|
442732
442768
|
DiffView = import_react36.memo(function DiffView2(t0) {
|
|
442733
|
-
const $5 = import_compiler_runtime15.c(
|
|
442769
|
+
const $5 = import_compiler_runtime15.c(75);
|
|
442734
442770
|
const {
|
|
442735
442771
|
filePath,
|
|
442736
442772
|
oldString,
|
|
@@ -442826,14 +442862,13 @@ var init_DiffView = __esm(async () => {
|
|
|
442826
442862
|
break bb1;
|
|
442827
442863
|
}
|
|
442828
442864
|
let t82;
|
|
442829
|
-
if ($5[13] !==
|
|
442830
|
-
t82 = toUnifiedDiff(filePath,
|
|
442831
|
-
$5[13] =
|
|
442832
|
-
$5[14] =
|
|
442833
|
-
$5[15] =
|
|
442834
|
-
$5[16] = t82;
|
|
442865
|
+
if ($5[13] !== computed.lines || $5[14] !== filePath) {
|
|
442866
|
+
t82 = toUnifiedDiff(filePath, computed.lines);
|
|
442867
|
+
$5[13] = computed.lines;
|
|
442868
|
+
$5[14] = filePath;
|
|
442869
|
+
$5[15] = t82;
|
|
442835
442870
|
} else {
|
|
442836
|
-
t82 = $5[
|
|
442871
|
+
t82 = $5[15];
|
|
442837
442872
|
}
|
|
442838
442873
|
t7 = t82;
|
|
442839
442874
|
}
|
|
@@ -442841,7 +442876,7 @@ var init_DiffView = __esm(async () => {
|
|
|
442841
442876
|
const viewMode = mode === "sidebyside" ? "split" : "unified";
|
|
442842
442877
|
if (mode === "compact") {
|
|
442843
442878
|
let t82;
|
|
442844
|
-
if ($5[
|
|
442879
|
+
if ($5[16] !== diffIcon || $5[17] !== iconColor) {
|
|
442845
442880
|
t82 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442846
442881
|
fg: iconColor,
|
|
442847
442882
|
children: [
|
|
@@ -442849,26 +442884,26 @@ var init_DiffView = __esm(async () => {
|
|
|
442849
442884
|
" "
|
|
442850
442885
|
]
|
|
442851
442886
|
}, undefined, true, undefined, this);
|
|
442852
|
-
$5[
|
|
442853
|
-
$5[
|
|
442854
|
-
$5[
|
|
442887
|
+
$5[16] = diffIcon;
|
|
442888
|
+
$5[17] = iconColor;
|
|
442889
|
+
$5[18] = t82;
|
|
442855
442890
|
} else {
|
|
442856
|
-
t82 = $5[
|
|
442891
|
+
t82 = $5[18];
|
|
442857
442892
|
}
|
|
442858
442893
|
let t92;
|
|
442859
|
-
if ($5[
|
|
442894
|
+
if ($5[19] !== filePath || $5[20] !== t2.textPrimary) {
|
|
442860
442895
|
t92 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442861
442896
|
fg: t2.textPrimary,
|
|
442862
442897
|
children: filePath
|
|
442863
442898
|
}, undefined, false, undefined, this);
|
|
442864
|
-
$5[
|
|
442865
|
-
$5[
|
|
442866
|
-
$5[
|
|
442899
|
+
$5[19] = filePath;
|
|
442900
|
+
$5[20] = t2.textPrimary;
|
|
442901
|
+
$5[21] = t92;
|
|
442867
442902
|
} else {
|
|
442868
|
-
t92 = $5[
|
|
442903
|
+
t92 = $5[21];
|
|
442869
442904
|
}
|
|
442870
442905
|
let t102;
|
|
442871
|
-
if ($5[
|
|
442906
|
+
if ($5[22] !== computed || $5[23] !== errorMessage || $5[24] !== success2 || $5[25] !== t2.error || $5[26] !== t2.success) {
|
|
442872
442907
|
t102 = !success2 ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442873
442908
|
fg: t2.error,
|
|
442874
442909
|
children: [
|
|
@@ -442893,17 +442928,17 @@ var init_DiffView = __esm(async () => {
|
|
|
442893
442928
|
}, undefined, true, undefined, this) : null
|
|
442894
442929
|
]
|
|
442895
442930
|
}, undefined, true, undefined, this) : null;
|
|
442896
|
-
$5[
|
|
442897
|
-
$5[
|
|
442898
|
-
$5[
|
|
442899
|
-
$5[
|
|
442900
|
-
$5[
|
|
442901
|
-
$5[
|
|
442931
|
+
$5[22] = computed;
|
|
442932
|
+
$5[23] = errorMessage;
|
|
442933
|
+
$5[24] = success2;
|
|
442934
|
+
$5[25] = t2.error;
|
|
442935
|
+
$5[26] = t2.success;
|
|
442936
|
+
$5[27] = t102;
|
|
442902
442937
|
} else {
|
|
442903
|
-
t102 = $5[
|
|
442938
|
+
t102 = $5[27];
|
|
442904
442939
|
}
|
|
442905
442940
|
let t112;
|
|
442906
|
-
if ($5[
|
|
442941
|
+
if ($5[28] !== t102 || $5[29] !== t82 || $5[30] !== t92) {
|
|
442907
442942
|
t112 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
442908
442943
|
minHeight: 1,
|
|
442909
442944
|
flexShrink: 0,
|
|
@@ -442916,64 +442951,64 @@ var init_DiffView = __esm(async () => {
|
|
|
442916
442951
|
]
|
|
442917
442952
|
}, undefined, true, undefined, this)
|
|
442918
442953
|
}, undefined, false, undefined, this);
|
|
442919
|
-
$5[
|
|
442920
|
-
$5[
|
|
442921
|
-
$5[
|
|
442922
|
-
$5[
|
|
442954
|
+
$5[28] = t102;
|
|
442955
|
+
$5[29] = t82;
|
|
442956
|
+
$5[30] = t92;
|
|
442957
|
+
$5[31] = t112;
|
|
442923
442958
|
} else {
|
|
442924
|
-
t112 = $5[
|
|
442959
|
+
t112 = $5[31];
|
|
442925
442960
|
}
|
|
442926
442961
|
return t112;
|
|
442927
442962
|
}
|
|
442928
442963
|
let t8;
|
|
442929
|
-
if ($5[
|
|
442964
|
+
if ($5[32] !== diffIcon || $5[33] !== iconColor) {
|
|
442930
442965
|
t8 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442931
442966
|
fg: iconColor,
|
|
442932
442967
|
children: diffIcon
|
|
442933
442968
|
}, undefined, false, undefined, this);
|
|
442934
|
-
$5[
|
|
442935
|
-
$5[
|
|
442936
|
-
$5[
|
|
442969
|
+
$5[32] = diffIcon;
|
|
442970
|
+
$5[33] = iconColor;
|
|
442971
|
+
$5[34] = t8;
|
|
442937
442972
|
} else {
|
|
442938
|
-
t8 = $5[
|
|
442973
|
+
t8 = $5[34];
|
|
442939
442974
|
}
|
|
442940
442975
|
let t9;
|
|
442941
|
-
if ($5[
|
|
442976
|
+
if ($5[35] !== t2.brand || $5[36] !== verb) {
|
|
442942
442977
|
t9 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442943
442978
|
fg: t2.brand,
|
|
442944
442979
|
children: verb
|
|
442945
442980
|
}, undefined, false, undefined, this);
|
|
442946
|
-
$5[
|
|
442947
|
-
$5[
|
|
442948
|
-
$5[
|
|
442981
|
+
$5[35] = t2.brand;
|
|
442982
|
+
$5[36] = verb;
|
|
442983
|
+
$5[37] = t9;
|
|
442949
442984
|
} else {
|
|
442950
|
-
t9 = $5[
|
|
442985
|
+
t9 = $5[37];
|
|
442951
442986
|
}
|
|
442952
442987
|
let t10;
|
|
442953
|
-
if ($5[
|
|
442988
|
+
if ($5[38] !== t2.border) {
|
|
442954
442989
|
t10 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442955
442990
|
fg: t2.border,
|
|
442956
442991
|
children: " \u2500 "
|
|
442957
442992
|
}, undefined, false, undefined, this);
|
|
442958
|
-
$5[
|
|
442959
|
-
$5[
|
|
442993
|
+
$5[38] = t2.border;
|
|
442994
|
+
$5[39] = t10;
|
|
442960
442995
|
} else {
|
|
442961
|
-
t10 = $5[
|
|
442996
|
+
t10 = $5[39];
|
|
442962
442997
|
}
|
|
442963
442998
|
let t11;
|
|
442964
|
-
if ($5[
|
|
442999
|
+
if ($5[40] !== filePath || $5[41] !== t2.textPrimary) {
|
|
442965
443000
|
t11 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
442966
443001
|
fg: t2.textPrimary,
|
|
442967
443002
|
children: filePath
|
|
442968
443003
|
}, undefined, false, undefined, this);
|
|
442969
|
-
$5[
|
|
442970
|
-
$5[
|
|
442971
|
-
$5[
|
|
443004
|
+
$5[40] = filePath;
|
|
443005
|
+
$5[41] = t2.textPrimary;
|
|
443006
|
+
$5[42] = t11;
|
|
442972
443007
|
} else {
|
|
442973
|
-
t11 = $5[
|
|
443008
|
+
t11 = $5[42];
|
|
442974
443009
|
}
|
|
442975
443010
|
let t12;
|
|
442976
|
-
if ($5[
|
|
443011
|
+
if ($5[43] !== computed || $5[44] !== success2 || $5[45] !== t2.error || $5[46] !== t2.success) {
|
|
442977
443012
|
t12 = success2 && computed ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
442978
443013
|
children: [
|
|
442979
443014
|
computed.added > 0 ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
@@ -442992,16 +443027,16 @@ var init_DiffView = __esm(async () => {
|
|
|
442992
443027
|
}, undefined, true, undefined, this) : null
|
|
442993
443028
|
]
|
|
442994
443029
|
}, undefined, true, undefined, this) : null;
|
|
442995
|
-
$5[
|
|
442996
|
-
$5[
|
|
442997
|
-
$5[
|
|
442998
|
-
$5[
|
|
442999
|
-
$5[
|
|
443030
|
+
$5[43] = computed;
|
|
443031
|
+
$5[44] = success2;
|
|
443032
|
+
$5[45] = t2.error;
|
|
443033
|
+
$5[46] = t2.success;
|
|
443034
|
+
$5[47] = t12;
|
|
443000
443035
|
} else {
|
|
443001
|
-
t12 = $5[
|
|
443036
|
+
t12 = $5[47];
|
|
443002
443037
|
}
|
|
443003
443038
|
let t13;
|
|
443004
|
-
if ($5[
|
|
443039
|
+
if ($5[48] !== t10 || $5[49] !== t11 || $5[50] !== t12 || $5[51] !== t8 || $5[52] !== t9) {
|
|
443005
443040
|
t13 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
443006
443041
|
truncate: true,
|
|
443007
443042
|
children: [
|
|
@@ -443013,17 +443048,17 @@ var init_DiffView = __esm(async () => {
|
|
|
443013
443048
|
t12
|
|
443014
443049
|
]
|
|
443015
443050
|
}, undefined, true, undefined, this);
|
|
443016
|
-
$5[
|
|
443017
|
-
$5[
|
|
443018
|
-
$5[
|
|
443019
|
-
$5[
|
|
443020
|
-
$5[
|
|
443021
|
-
$5[
|
|
443051
|
+
$5[48] = t10;
|
|
443052
|
+
$5[49] = t11;
|
|
443053
|
+
$5[50] = t12;
|
|
443054
|
+
$5[51] = t8;
|
|
443055
|
+
$5[52] = t9;
|
|
443056
|
+
$5[53] = t13;
|
|
443022
443057
|
} else {
|
|
443023
|
-
t13 = $5[
|
|
443058
|
+
t13 = $5[53];
|
|
443024
443059
|
}
|
|
443025
443060
|
let t14;
|
|
443026
|
-
if ($5[
|
|
443061
|
+
if ($5[54] !== t2.bgElevated || $5[55] !== t13) {
|
|
443027
443062
|
t14 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
443028
443063
|
height: 1,
|
|
443029
443064
|
flexShrink: 0,
|
|
@@ -443033,14 +443068,14 @@ var init_DiffView = __esm(async () => {
|
|
|
443033
443068
|
marginTop: -1,
|
|
443034
443069
|
children: t13
|
|
443035
443070
|
}, undefined, false, undefined, this);
|
|
443036
|
-
$5[
|
|
443037
|
-
$5[
|
|
443038
|
-
$5[
|
|
443071
|
+
$5[54] = t2.bgElevated;
|
|
443072
|
+
$5[55] = t13;
|
|
443073
|
+
$5[56] = t14;
|
|
443039
443074
|
} else {
|
|
443040
|
-
t14 = $5[
|
|
443075
|
+
t14 = $5[56];
|
|
443041
443076
|
}
|
|
443042
443077
|
let t15;
|
|
443043
|
-
if ($5[
|
|
443078
|
+
if ($5[57] !== computed || $5[58] !== errorMessage || $5[59] !== isLarge || $5[60] !== lang254 || $5[61] !== success2 || $5[62] !== t2.diffAddedBg || $5[63] !== t2.diffAddedSign || $5[64] !== t2.diffRemovedBg || $5[65] !== t2.diffRemovedSign || $5[66] !== t2.error || $5[67] !== t2.textMuted || $5[68] !== unifiedDiff || $5[69] !== viewMode) {
|
|
443044
443079
|
t15 = !success2 ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
443045
443080
|
paddingX: 1,
|
|
443046
443081
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
@@ -443074,25 +443109,25 @@ var init_DiffView = __esm(async () => {
|
|
|
443074
443109
|
addedSignColor: t2.diffAddedSign,
|
|
443075
443110
|
removedSignColor: t2.diffRemovedSign
|
|
443076
443111
|
}, undefined, false, undefined, this) : null;
|
|
443077
|
-
$5[
|
|
443078
|
-
$5[
|
|
443079
|
-
$5[
|
|
443080
|
-
$5[
|
|
443081
|
-
$5[
|
|
443082
|
-
$5[
|
|
443083
|
-
$5[
|
|
443084
|
-
$5[
|
|
443085
|
-
$5[
|
|
443086
|
-
$5[
|
|
443087
|
-
$5[
|
|
443088
|
-
$5[
|
|
443089
|
-
$5[
|
|
443090
|
-
$5[
|
|
443112
|
+
$5[57] = computed;
|
|
443113
|
+
$5[58] = errorMessage;
|
|
443114
|
+
$5[59] = isLarge;
|
|
443115
|
+
$5[60] = lang254;
|
|
443116
|
+
$5[61] = success2;
|
|
443117
|
+
$5[62] = t2.diffAddedBg;
|
|
443118
|
+
$5[63] = t2.diffAddedSign;
|
|
443119
|
+
$5[64] = t2.diffRemovedBg;
|
|
443120
|
+
$5[65] = t2.diffRemovedSign;
|
|
443121
|
+
$5[66] = t2.error;
|
|
443122
|
+
$5[67] = t2.textMuted;
|
|
443123
|
+
$5[68] = unifiedDiff;
|
|
443124
|
+
$5[69] = viewMode;
|
|
443125
|
+
$5[70] = t15;
|
|
443091
443126
|
} else {
|
|
443092
|
-
t15 = $5[
|
|
443127
|
+
t15 = $5[70];
|
|
443093
443128
|
}
|
|
443094
443129
|
let t16;
|
|
443095
|
-
if ($5[
|
|
443130
|
+
if ($5[71] !== t2.border || $5[72] !== t14 || $5[73] !== t15) {
|
|
443096
443131
|
t16 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
443097
443132
|
flexDirection: "column",
|
|
443098
443133
|
flexShrink: 0,
|
|
@@ -443104,12 +443139,12 @@ var init_DiffView = __esm(async () => {
|
|
|
443104
443139
|
t15
|
|
443105
443140
|
]
|
|
443106
443141
|
}, undefined, true, undefined, this);
|
|
443107
|
-
$5[
|
|
443108
|
-
$5[
|
|
443109
|
-
$5[
|
|
443110
|
-
$5[
|
|
443142
|
+
$5[71] = t2.border;
|
|
443143
|
+
$5[72] = t14;
|
|
443144
|
+
$5[73] = t15;
|
|
443145
|
+
$5[74] = t16;
|
|
443111
443146
|
} else {
|
|
443112
|
-
t16 = $5[
|
|
443147
|
+
t16 = $5[74];
|
|
443113
443148
|
}
|
|
443114
443149
|
return t16;
|
|
443115
443150
|
});
|
|
@@ -449933,98 +449968,29 @@ var init_ScanDivider = __esm(() => {
|
|
|
449933
449968
|
});
|
|
449934
449969
|
|
|
449935
449970
|
// src/components/layout/LandingPage.tsx
|
|
449936
|
-
function
|
|
449937
|
-
|
|
449938
|
-
if (h3
|
|
449939
|
-
|
|
449940
|
-
|
|
449941
|
-
|
|
449942
|
-
|
|
449943
|
-
|
|
449944
|
-
|
|
449945
|
-
|
|
449946
|
-
|
|
449947
|
-
|
|
449948
|
-
|
|
449949
|
-
|
|
449950
|
-
|
|
449951
|
-
|
|
449952
|
-
const $5 = import_compiler_runtime27.c(9);
|
|
449953
|
-
const {
|
|
449954
|
-
text: text3,
|
|
449955
|
-
from,
|
|
449956
|
-
to,
|
|
449957
|
-
revealedChars
|
|
449958
|
-
} = t0;
|
|
449959
|
-
const tk = useTheme();
|
|
449960
|
-
const len = text3.length;
|
|
449961
|
-
if (len === 0) {
|
|
449962
|
-
return null;
|
|
449963
|
-
}
|
|
449964
|
-
const reveal = revealedChars ?? len;
|
|
449965
|
-
let segments;
|
|
449966
|
-
if ($5[0] !== from || $5[1] !== len || $5[2] !== reveal || $5[3] !== text3 || $5[4] !== tk || $5[5] !== to) {
|
|
449967
|
-
segments = [];
|
|
449968
|
-
for (let i4 = 0;i4 < len; i4 = i4 + 4, i4) {
|
|
449969
|
-
const slice = text3.slice(i4, i4 + 4);
|
|
449970
|
-
const t2 = len > 1 ? i4 / (len - 1) : 0;
|
|
449971
|
-
if (i4 >= reveal) {
|
|
449972
|
-
segments.push({
|
|
449973
|
-
chars: slice.replace(/[^ ]/g, " "),
|
|
449974
|
-
color: tk.bgPopupHighlight
|
|
449975
|
-
});
|
|
449976
|
-
} else {
|
|
449977
|
-
if (i4 + 4 > reveal) {
|
|
449978
|
-
const visCount = reveal - i4;
|
|
449979
|
-
const vis = slice.slice(0, visCount);
|
|
449980
|
-
const hid = slice.slice(visCount).replace(/[^ ]/g, " ");
|
|
449981
|
-
segments.push({
|
|
449982
|
-
chars: vis + hid,
|
|
449983
|
-
color: lerpHex(from, to, t2)
|
|
449984
|
-
});
|
|
449985
|
-
} else {
|
|
449986
|
-
segments.push({
|
|
449987
|
-
chars: slice,
|
|
449988
|
-
color: lerpHex(from, to, t2)
|
|
449989
|
-
});
|
|
449990
|
-
}
|
|
449991
|
-
}
|
|
449992
|
-
}
|
|
449993
|
-
$5[0] = from;
|
|
449994
|
-
$5[1] = len;
|
|
449995
|
-
$5[2] = reveal;
|
|
449996
|
-
$5[3] = text3;
|
|
449997
|
-
$5[4] = tk;
|
|
449998
|
-
$5[5] = to;
|
|
449999
|
-
$5[6] = segments;
|
|
450000
|
-
} else {
|
|
450001
|
-
segments = $5[6];
|
|
450002
|
-
}
|
|
450003
|
-
let t1;
|
|
450004
|
-
if ($5[7] !== segments) {
|
|
450005
|
-
t1 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450006
|
-
flexDirection: "row",
|
|
450007
|
-
children: segments.map(_temp41)
|
|
450008
|
-
}, undefined, false, undefined, this);
|
|
450009
|
-
$5[7] = segments;
|
|
450010
|
-
$5[8] = t1;
|
|
450011
|
-
} else {
|
|
450012
|
-
t1 = $5[8];
|
|
450013
|
-
}
|
|
450014
|
-
return t1;
|
|
450015
|
-
}
|
|
450016
|
-
function _temp41(seg, i_0) {
|
|
450017
|
-
return /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450018
|
-
fg: seg.color,
|
|
450019
|
-
attributes: TextAttributes.BOLD,
|
|
450020
|
-
children: seg.chars
|
|
450021
|
-
}, i_0, false, undefined, this);
|
|
449971
|
+
function getTimeGreeting() {
|
|
449972
|
+
const h3 = new Date().getHours();
|
|
449973
|
+
if (h3 < 6)
|
|
449974
|
+
return "The forge burns at midnight.";
|
|
449975
|
+
if (h3 < 12)
|
|
449976
|
+
return "Morning forge session. Coffee recommended.";
|
|
449977
|
+
if (h3 < 17)
|
|
449978
|
+
return "Afternoon forging in progress.";
|
|
449979
|
+
if (h3 < 21)
|
|
449980
|
+
return "Evening session. The runes glow brighter at dusk.";
|
|
449981
|
+
return "Late night forging. The spirits are restless.";
|
|
449982
|
+
}
|
|
449983
|
+
function pickQuip() {
|
|
449984
|
+
if (Math.random() < 0.3)
|
|
449985
|
+
return getTimeGreeting();
|
|
449986
|
+
return IDLE_QUIPS[Math.floor(Math.random() * IDLE_QUIPS.length)];
|
|
450022
449987
|
}
|
|
450023
449988
|
function LandingPage(t0) {
|
|
450024
|
-
const $5 = import_compiler_runtime27.c(
|
|
449989
|
+
const $5 = import_compiler_runtime27.c(76);
|
|
450025
449990
|
const {
|
|
450026
449991
|
bootProviders,
|
|
450027
|
-
bootPrereqs
|
|
449992
|
+
bootPrereqs,
|
|
449993
|
+
activeModel
|
|
450028
449994
|
} = t0;
|
|
450029
449995
|
const tk = useTheme();
|
|
450030
449996
|
const {
|
|
@@ -450035,31 +450001,19 @@ function LandingPage(t0) {
|
|
|
450035
450001
|
const rows = height ?? 24;
|
|
450036
450002
|
const compact = rows < 20;
|
|
450037
450003
|
const showWordmark = columns >= 35;
|
|
450038
|
-
const
|
|
450039
|
-
const totalChars = WORDMARK2[0]?.length ?? 0;
|
|
450040
|
-
const [revealed, setRevealed] = import_react50.useState(0);
|
|
450041
|
-
const revealDone = revealed >= totalChars;
|
|
450004
|
+
const [tick, setTick] = import_react50.useState(0);
|
|
450042
450005
|
let t1;
|
|
450043
450006
|
let t2;
|
|
450044
|
-
if ($5[0] !==
|
|
450007
|
+
if ($5[0] !== tick) {
|
|
450045
450008
|
t1 = () => {
|
|
450046
|
-
if (
|
|
450009
|
+
if (tick >= 14) {
|
|
450047
450010
|
return;
|
|
450048
450011
|
}
|
|
450049
|
-
const timer = setInterval(() =>
|
|
450050
|
-
setRevealed((r4) => {
|
|
450051
|
-
const next = r4 + 2;
|
|
450052
|
-
if (next >= totalChars) {
|
|
450053
|
-
clearInterval(timer);
|
|
450054
|
-
return totalChars;
|
|
450055
|
-
}
|
|
450056
|
-
return next;
|
|
450057
|
-
});
|
|
450058
|
-
}, 25);
|
|
450012
|
+
const timer = setInterval(() => setTick(_temp41), 60);
|
|
450059
450013
|
return () => clearInterval(timer);
|
|
450060
450014
|
};
|
|
450061
|
-
t2 = [
|
|
450062
|
-
$5[0] =
|
|
450015
|
+
t2 = [tick];
|
|
450016
|
+
$5[0] = tick;
|
|
450063
450017
|
$5[1] = t1;
|
|
450064
450018
|
$5[2] = t2;
|
|
450065
450019
|
} else {
|
|
@@ -450068,296 +450022,231 @@ function LandingPage(t0) {
|
|
|
450068
450022
|
}
|
|
450069
450023
|
import_react50.useEffect(t1, t2);
|
|
450070
450024
|
let t3;
|
|
450071
|
-
if ($5[3] !==
|
|
450072
|
-
t3 =
|
|
450073
|
-
$5[3] =
|
|
450074
|
-
$5[4] =
|
|
450075
|
-
$5[5] = tk.brandDim;
|
|
450076
|
-
$5[6] = t3;
|
|
450025
|
+
if ($5[3] !== tick) {
|
|
450026
|
+
t3 = tick < GHOST_FADE.length ? GHOST_FADE[tick] ?? "\u2591" : icon("ghost");
|
|
450027
|
+
$5[3] = tick;
|
|
450028
|
+
$5[4] = t3;
|
|
450077
450029
|
} else {
|
|
450078
|
-
t3 = $5[
|
|
450030
|
+
t3 = $5[4];
|
|
450079
450031
|
}
|
|
450080
|
-
const
|
|
450081
|
-
const
|
|
450032
|
+
const ghostChar = t3;
|
|
450033
|
+
const wordmarkGarbled = tick < 5;
|
|
450034
|
+
const taglineReady = tick >= 6;
|
|
450035
|
+
const statusReady = tick >= 8;
|
|
450036
|
+
const hintsReady = tick >= 10;
|
|
450037
|
+
const wispFrame = WISP_FRAMES[tick % WISP_FRAMES.length] ?? "";
|
|
450082
450038
|
let t4;
|
|
450083
|
-
if ($5[7] !==
|
|
450084
|
-
t4 =
|
|
450085
|
-
|
|
450086
|
-
|
|
450087
|
-
|
|
450088
|
-
$5[7] = glowCycle.length;
|
|
450039
|
+
if ($5[5] !== tk.brand || $5[6] !== tk.brandAlt || $5[7] !== tk.brandDim) {
|
|
450040
|
+
t4 = [tk.brand, tk.brand, tk.brandAlt, tk.brand, tk.brand, tk.brandDim];
|
|
450041
|
+
$5[5] = tk.brand;
|
|
450042
|
+
$5[6] = tk.brandAlt;
|
|
450043
|
+
$5[7] = tk.brandDim;
|
|
450089
450044
|
$5[8] = t4;
|
|
450090
450045
|
} else {
|
|
450091
450046
|
t4 = $5[8];
|
|
450092
450047
|
}
|
|
450048
|
+
const glowCycle = t4;
|
|
450049
|
+
const [glowIdx, setGlowIdx] = import_react50.useState(0);
|
|
450093
450050
|
let t5;
|
|
450094
|
-
if ($5[9] !== glowCycle) {
|
|
450095
|
-
t5 = [glowCycle];
|
|
450096
|
-
$5[9] = glowCycle;
|
|
450097
|
-
$5[10] = t5;
|
|
450098
|
-
} else {
|
|
450099
|
-
t5 = $5[10];
|
|
450100
|
-
}
|
|
450101
|
-
import_react50.useEffect(t4, t5);
|
|
450102
|
-
const ghostColor = glowCycle[glowIdx] ?? tk.brand;
|
|
450103
|
-
const [fadeStep, setFadeStep] = import_react50.useState(0);
|
|
450104
450051
|
let t6;
|
|
450105
|
-
|
|
450106
|
-
|
|
450107
|
-
|
|
450108
|
-
if (fadeStep >= 3) {
|
|
450109
|
-
return;
|
|
450110
|
-
}
|
|
450111
|
-
if (!revealDone) {
|
|
450052
|
+
if ($5[9] !== glowCycle || $5[10] !== tick) {
|
|
450053
|
+
t5 = () => {
|
|
450054
|
+
if (tick < GHOST_FADE.length) {
|
|
450112
450055
|
return;
|
|
450113
450056
|
}
|
|
450114
|
-
const
|
|
450115
|
-
return () =>
|
|
450057
|
+
const timer_0 = setInterval(() => setGlowIdx((g3) => (g3 + 1) % glowCycle.length), 2500);
|
|
450058
|
+
return () => clearInterval(timer_0);
|
|
450116
450059
|
};
|
|
450117
|
-
|
|
450118
|
-
$5[
|
|
450119
|
-
$5[
|
|
450120
|
-
$5[
|
|
450121
|
-
$5[
|
|
450060
|
+
t6 = [tick, glowCycle];
|
|
450061
|
+
$5[9] = glowCycle;
|
|
450062
|
+
$5[10] = tick;
|
|
450063
|
+
$5[11] = t5;
|
|
450064
|
+
$5[12] = t6;
|
|
450122
450065
|
} else {
|
|
450123
|
-
|
|
450124
|
-
|
|
450066
|
+
t5 = $5[11];
|
|
450067
|
+
t6 = $5[12];
|
|
450125
450068
|
}
|
|
450126
|
-
import_react50.useEffect(
|
|
450069
|
+
import_react50.useEffect(t5, t6);
|
|
450070
|
+
const ghostColor = tick < GHOST_FADE.length ? tk.brand : glowCycle[glowIdx] ?? tk.brand;
|
|
450071
|
+
let t7;
|
|
450072
|
+
if ($5[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450073
|
+
t7 = pickQuip();
|
|
450074
|
+
$5[13] = t7;
|
|
450075
|
+
} else {
|
|
450076
|
+
t7 = $5[13];
|
|
450077
|
+
}
|
|
450078
|
+
const quip = t7;
|
|
450127
450079
|
let t8;
|
|
450128
|
-
if ($5[
|
|
450129
|
-
t8 = bootProviders.filter(
|
|
450130
|
-
$5[
|
|
450131
|
-
$5[
|
|
450080
|
+
if ($5[14] !== bootProviders) {
|
|
450081
|
+
t8 = bootProviders.filter(_temp211);
|
|
450082
|
+
$5[14] = bootProviders;
|
|
450083
|
+
$5[15] = t8;
|
|
450132
450084
|
} else {
|
|
450133
|
-
t8 = $5[
|
|
450085
|
+
t8 = $5[15];
|
|
450134
450086
|
}
|
|
450135
450087
|
const activeProviders = t8;
|
|
450136
450088
|
let t9;
|
|
450137
|
-
if ($5[
|
|
450138
|
-
t9 =
|
|
450139
|
-
$5[
|
|
450140
|
-
$5[
|
|
450089
|
+
if ($5[16] !== bootPrereqs) {
|
|
450090
|
+
t9 = bootPrereqs.filter(_temp311);
|
|
450091
|
+
$5[16] = bootPrereqs;
|
|
450092
|
+
$5[17] = t9;
|
|
450141
450093
|
} else {
|
|
450142
|
-
t9 = $5[
|
|
450094
|
+
t9 = $5[17];
|
|
450143
450095
|
}
|
|
450144
|
-
const
|
|
450096
|
+
const missingRequired = t9;
|
|
450145
450097
|
let t10;
|
|
450146
|
-
if ($5[
|
|
450147
|
-
t10 = bootPrereqs.
|
|
450148
|
-
$5[
|
|
450149
|
-
$5[
|
|
450098
|
+
if ($5[18] !== bootPrereqs) {
|
|
450099
|
+
t10 = bootPrereqs.every(_temp46);
|
|
450100
|
+
$5[18] = bootPrereqs;
|
|
450101
|
+
$5[19] = t10;
|
|
450150
450102
|
} else {
|
|
450151
|
-
t10 = $5[
|
|
450103
|
+
t10 = $5[19];
|
|
450152
450104
|
}
|
|
450153
|
-
const
|
|
450105
|
+
const allToolsOk = t10;
|
|
450106
|
+
const anyProvider = activeProviders.length > 0;
|
|
450107
|
+
const divW = Math.min(WORDMARK[0]?.length ?? 30, columns - 8);
|
|
450154
450108
|
let t11;
|
|
450155
|
-
if ($5[
|
|
450156
|
-
t11 =
|
|
450157
|
-
$5[
|
|
450158
|
-
$5[
|
|
450109
|
+
if ($5[20] !== activeModel) {
|
|
450110
|
+
t11 = activeModel ? getShortModelLabel(activeModel) : null;
|
|
450111
|
+
$5[20] = activeModel;
|
|
450112
|
+
$5[21] = t11;
|
|
450159
450113
|
} else {
|
|
450160
|
-
t11 = $5[
|
|
450114
|
+
t11 = $5[21];
|
|
450161
450115
|
}
|
|
450162
|
-
const
|
|
450163
|
-
const anyProvider = activeProviders.length > 0;
|
|
450164
|
-
const maxProviderWidth = Math.floor(columns * 0.6);
|
|
450116
|
+
const modelLabel = t11;
|
|
450165
450117
|
let t12;
|
|
450118
|
+
if ($5[22] !== ghostChar || $5[23] !== ghostColor) {
|
|
450119
|
+
t12 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450120
|
+
fg: ghostColor,
|
|
450121
|
+
attributes: BOLD3,
|
|
450122
|
+
children: ghostChar
|
|
450123
|
+
}, undefined, false, undefined, this);
|
|
450124
|
+
$5[22] = ghostChar;
|
|
450125
|
+
$5[23] = ghostColor;
|
|
450126
|
+
$5[24] = t12;
|
|
450127
|
+
} else {
|
|
450128
|
+
t12 = $5[24];
|
|
450129
|
+
}
|
|
450166
450130
|
let t13;
|
|
450131
|
+
if ($5[25] !== tk.brandDim || $5[26] !== wispFrame) {
|
|
450132
|
+
t13 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450133
|
+
fg: tk.brandDim,
|
|
450134
|
+
attributes: DIM3,
|
|
450135
|
+
children: wispFrame
|
|
450136
|
+
}, undefined, false, undefined, this);
|
|
450137
|
+
$5[25] = tk.brandDim;
|
|
450138
|
+
$5[26] = wispFrame;
|
|
450139
|
+
$5[27] = t13;
|
|
450140
|
+
} else {
|
|
450141
|
+
t13 = $5[27];
|
|
450142
|
+
}
|
|
450167
450143
|
let t14;
|
|
450144
|
+
if ($5[28] !== compact) {
|
|
450145
|
+
t14 = !compact && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450146
|
+
height: 1
|
|
450147
|
+
}, undefined, false, undefined, this);
|
|
450148
|
+
$5[28] = compact;
|
|
450149
|
+
$5[29] = t14;
|
|
450150
|
+
} else {
|
|
450151
|
+
t14 = $5[29];
|
|
450152
|
+
}
|
|
450168
450153
|
let t15;
|
|
450154
|
+
if ($5[30] !== showWordmark || $5[31] !== tk.brand || $5[32] !== wordmarkGarbled) {
|
|
450155
|
+
t15 = showWordmark ? WORDMARK.map((line2) => /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450156
|
+
fg: tk.brand,
|
|
450157
|
+
attributes: BOLD3,
|
|
450158
|
+
children: wordmarkGarbled ? garble(line2) : line2
|
|
450159
|
+
}, line2, false, undefined, this)) : /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450160
|
+
fg: tk.brand,
|
|
450161
|
+
attributes: BOLD3,
|
|
450162
|
+
children: wordmarkGarbled ? garble("SOULFORGE") : "SOULFORGE"
|
|
450163
|
+
}, undefined, false, undefined, this);
|
|
450164
|
+
$5[30] = showWordmark;
|
|
450165
|
+
$5[31] = tk.brand;
|
|
450166
|
+
$5[32] = wordmarkGarbled;
|
|
450167
|
+
$5[33] = t15;
|
|
450168
|
+
} else {
|
|
450169
|
+
t15 = $5[33];
|
|
450170
|
+
}
|
|
450169
450171
|
let t16;
|
|
450172
|
+
if ($5[34] !== taglineReady || $5[35] !== tk.textDim || $5[36] !== tk.textMuted) {
|
|
450173
|
+
t16 = taglineReady && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450174
|
+
flexDirection: "row",
|
|
450175
|
+
gap: 0,
|
|
450176
|
+
children: [
|
|
450177
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450178
|
+
fg: tk.textDim,
|
|
450179
|
+
children: "\u2500\u2500 "
|
|
450180
|
+
}, undefined, false, undefined, this),
|
|
450181
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450182
|
+
fg: tk.textMuted,
|
|
450183
|
+
attributes: ITALIC2,
|
|
450184
|
+
children: "Graph-Powered Code Intelligence"
|
|
450185
|
+
}, undefined, false, undefined, this),
|
|
450186
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450187
|
+
fg: tk.textDim,
|
|
450188
|
+
children: " \u2500\u2500"
|
|
450189
|
+
}, undefined, false, undefined, this)
|
|
450190
|
+
]
|
|
450191
|
+
}, undefined, true, undefined, this);
|
|
450192
|
+
$5[34] = taglineReady;
|
|
450193
|
+
$5[35] = tk.textDim;
|
|
450194
|
+
$5[36] = tk.textMuted;
|
|
450195
|
+
$5[37] = t16;
|
|
450196
|
+
} else {
|
|
450197
|
+
t16 = $5[37];
|
|
450198
|
+
}
|
|
450170
450199
|
let t17;
|
|
450200
|
+
if ($5[38] !== compact) {
|
|
450201
|
+
t17 = !compact && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450202
|
+
height: 1
|
|
450203
|
+
}, undefined, false, undefined, this);
|
|
450204
|
+
$5[38] = compact;
|
|
450205
|
+
$5[39] = t17;
|
|
450206
|
+
} else {
|
|
450207
|
+
t17 = $5[39];
|
|
450208
|
+
}
|
|
450171
450209
|
let t18;
|
|
450210
|
+
if ($5[40] !== divW) {
|
|
450211
|
+
t18 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(ScanDivider, {
|
|
450212
|
+
width: divW
|
|
450213
|
+
}, undefined, false, undefined, this);
|
|
450214
|
+
$5[40] = divW;
|
|
450215
|
+
$5[41] = t18;
|
|
450216
|
+
} else {
|
|
450217
|
+
t18 = $5[41];
|
|
450218
|
+
}
|
|
450172
450219
|
let t19;
|
|
450220
|
+
if ($5[42] !== compact || $5[43] !== taglineReady || $5[44] !== tk.brandAlt) {
|
|
450221
|
+
t19 = taglineReady && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450222
|
+
children: [
|
|
450223
|
+
!compact && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450224
|
+
height: 1
|
|
450225
|
+
}, undefined, false, undefined, this),
|
|
450226
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450227
|
+
fg: tk.brandAlt,
|
|
450228
|
+
attributes: ITALIC2,
|
|
450229
|
+
children: quip
|
|
450230
|
+
}, undefined, false, undefined, this)
|
|
450231
|
+
]
|
|
450232
|
+
}, undefined, true, undefined, this);
|
|
450233
|
+
$5[42] = compact;
|
|
450234
|
+
$5[43] = taglineReady;
|
|
450235
|
+
$5[44] = tk.brandAlt;
|
|
450236
|
+
$5[45] = t19;
|
|
450237
|
+
} else {
|
|
450238
|
+
t19 = $5[45];
|
|
450239
|
+
}
|
|
450173
450240
|
let t20;
|
|
450174
|
-
|
|
450175
|
-
|
|
450176
|
-
let t23;
|
|
450177
|
-
let t24;
|
|
450178
|
-
let t25;
|
|
450179
|
-
let t26;
|
|
450180
|
-
if ($5[23] !== activeProviders || $5[24] !== allToolsOk || $5[25] !== anyProvider || $5[26] !== bootPrereqs || $5[27] !== columns || $5[28] !== compact || $5[29] !== fadeStep || $5[30] !== ghostColor || $5[31] !== inactiveProviders || $5[32] !== maxProviderWidth || $5[33] !== missingRequired || $5[34] !== revealDone || $5[35] !== revealed || $5[36] !== showWordmark || $5[37] !== tk.bgPopupHighlight || $5[38] !== tk.brand || $5[39] !== tk.brandSecondary || $5[40] !== tk.success || $5[41] !== tk.textDim || $5[42] !== tk.textMuted || $5[43] !== tk.warning || $5[44] !== wordmarkW) {
|
|
450181
|
-
const {
|
|
450182
|
-
visible: visibleProviders,
|
|
450183
|
-
overflow: providerOverflow
|
|
450184
|
-
} = fitProviders(activeProviders, inactiveProviders, maxProviderWidth);
|
|
450185
|
-
const divW = Math.min(wordmarkW || 30, columns - 8);
|
|
450186
|
-
t22 = "column";
|
|
450187
|
-
t23 = 1;
|
|
450188
|
-
t24 = 1;
|
|
450189
|
-
t25 = 0;
|
|
450190
|
-
t26 = "center";
|
|
450191
|
-
t12 = "column";
|
|
450192
|
-
t13 = "center";
|
|
450193
|
-
t14 = 0;
|
|
450194
|
-
let t272;
|
|
450195
|
-
if ($5[60] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450196
|
-
t272 = icon("ghost");
|
|
450197
|
-
$5[60] = t272;
|
|
450198
|
-
} else {
|
|
450199
|
-
t272 = $5[60];
|
|
450200
|
-
}
|
|
450201
|
-
if ($5[61] !== ghostColor) {
|
|
450202
|
-
t15 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450203
|
-
fg: ghostColor,
|
|
450204
|
-
attributes: TextAttributes.BOLD,
|
|
450205
|
-
children: t272
|
|
450206
|
-
}, undefined, false, undefined, this);
|
|
450207
|
-
$5[61] = ghostColor;
|
|
450208
|
-
$5[62] = t15;
|
|
450209
|
-
} else {
|
|
450210
|
-
t15 = $5[62];
|
|
450211
|
-
}
|
|
450212
|
-
const t282 = compact ? 0 : 1;
|
|
450213
|
-
if ($5[63] !== t282) {
|
|
450214
|
-
t16 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450215
|
-
height: t282
|
|
450216
|
-
}, undefined, false, undefined, this);
|
|
450217
|
-
$5[63] = t282;
|
|
450218
|
-
$5[64] = t16;
|
|
450219
|
-
} else {
|
|
450220
|
-
t16 = $5[64];
|
|
450221
|
-
}
|
|
450222
|
-
if ($5[65] !== revealed || $5[66] !== showWordmark || $5[67] !== tk.brand || $5[68] !== tk.brandSecondary) {
|
|
450223
|
-
t17 = showWordmark ? WORDMARK2.map((line2, i4) => /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(GradientLine, {
|
|
450224
|
-
text: line2,
|
|
450225
|
-
from: tk.brand,
|
|
450226
|
-
to: tk.brandSecondary,
|
|
450227
|
-
revealedChars: revealed
|
|
450228
|
-
}, i4, false, undefined, this)) : /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450229
|
-
fg: tk.brand,
|
|
450230
|
-
attributes: TextAttributes.BOLD,
|
|
450231
|
-
children: "SOULFORGE"
|
|
450232
|
-
}, undefined, false, undefined, this);
|
|
450233
|
-
$5[65] = revealed;
|
|
450234
|
-
$5[66] = showWordmark;
|
|
450235
|
-
$5[67] = tk.brand;
|
|
450236
|
-
$5[68] = tk.brandSecondary;
|
|
450237
|
-
$5[69] = t17;
|
|
450238
|
-
} else {
|
|
450239
|
-
t17 = $5[69];
|
|
450240
|
-
}
|
|
450241
|
-
if ($5[70] !== revealDone || $5[71] !== tk.textDim || $5[72] !== tk.textMuted) {
|
|
450242
|
-
t18 = revealDone && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450243
|
-
flexDirection: "row",
|
|
450244
|
-
gap: 0,
|
|
450245
|
-
children: [
|
|
450246
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450247
|
-
fg: tk.textDim,
|
|
450248
|
-
children: "\u2500\u2500 "
|
|
450249
|
-
}, undefined, false, undefined, this),
|
|
450250
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450251
|
-
fg: tk.textMuted,
|
|
450252
|
-
attributes: TextAttributes.ITALIC,
|
|
450253
|
-
children: "Graph-Powered Code Intelligence"
|
|
450254
|
-
}, undefined, false, undefined, this),
|
|
450255
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450256
|
-
fg: tk.textDim,
|
|
450257
|
-
children: " \u2500\u2500"
|
|
450258
|
-
}, undefined, false, undefined, this)
|
|
450259
|
-
]
|
|
450260
|
-
}, undefined, true, undefined, this);
|
|
450261
|
-
$5[70] = revealDone;
|
|
450262
|
-
$5[71] = tk.textDim;
|
|
450263
|
-
$5[72] = tk.textMuted;
|
|
450264
|
-
$5[73] = t18;
|
|
450265
|
-
} else {
|
|
450266
|
-
t18 = $5[73];
|
|
450267
|
-
}
|
|
450268
|
-
const t292 = compact ? 0 : 1;
|
|
450269
|
-
if ($5[74] !== t292) {
|
|
450270
|
-
t19 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450271
|
-
height: t292
|
|
450272
|
-
}, undefined, false, undefined, this);
|
|
450273
|
-
$5[74] = t292;
|
|
450274
|
-
$5[75] = t19;
|
|
450275
|
-
} else {
|
|
450276
|
-
t19 = $5[75];
|
|
450277
|
-
}
|
|
450278
|
-
if ($5[76] !== divW) {
|
|
450279
|
-
t20 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(ScanDivider, {
|
|
450280
|
-
width: divW
|
|
450281
|
-
}, undefined, false, undefined, this);
|
|
450282
|
-
$5[76] = divW;
|
|
450283
|
-
$5[77] = t20;
|
|
450284
|
-
} else {
|
|
450285
|
-
t20 = $5[77];
|
|
450286
|
-
}
|
|
450287
|
-
t21 = fadeStep >= 1 && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450241
|
+
if ($5[46] !== activeProviders || $5[47] !== allToolsOk || $5[48] !== anyProvider || $5[49] !== compact || $5[50] !== missingRequired || $5[51] !== statusReady || $5[52] !== tk.textDim) {
|
|
450242
|
+
t20 = statusReady && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450288
450243
|
children: [
|
|
450289
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450290
|
-
height:
|
|
450244
|
+
!compact && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450245
|
+
height: 1
|
|
450291
450246
|
}, undefined, false, undefined, this),
|
|
450292
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(
|
|
450293
|
-
|
|
450294
|
-
|
|
450295
|
-
justifyContent: "center",
|
|
450296
|
-
flexWrap: "wrap",
|
|
450297
|
-
children: [
|
|
450298
|
-
visibleProviders.map((p_3, i_0) => /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450299
|
-
flexDirection: "row",
|
|
450300
|
-
gap: 0,
|
|
450301
|
-
children: [
|
|
450302
|
-
i_0 > 0 && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450303
|
-
fg: tk.bgPopupHighlight,
|
|
450304
|
-
children: " \xB7 "
|
|
450305
|
-
}, undefined, false, undefined, this),
|
|
450306
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450307
|
-
fg: p_3.available ? tk.success : tk.textDim,
|
|
450308
|
-
children: [
|
|
450309
|
-
providerIcon(p_3.id),
|
|
450310
|
-
" ",
|
|
450311
|
-
p_3.name
|
|
450312
|
-
]
|
|
450313
|
-
}, undefined, true, undefined, this)
|
|
450314
|
-
]
|
|
450315
|
-
}, p_3.id, true, undefined, this)),
|
|
450316
|
-
providerOverflow > 0 && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450317
|
-
children: [
|
|
450318
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450319
|
-
fg: tk.bgPopupHighlight,
|
|
450320
|
-
children: " \xB7 "
|
|
450321
|
-
}, undefined, false, undefined, this),
|
|
450322
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450323
|
-
fg: tk.textDim,
|
|
450324
|
-
children: [
|
|
450325
|
-
"+",
|
|
450326
|
-
providerOverflow
|
|
450327
|
-
]
|
|
450328
|
-
}, undefined, true, undefined, this)
|
|
450329
|
-
]
|
|
450330
|
-
}, undefined, true, undefined, this)
|
|
450331
|
-
]
|
|
450332
|
-
}, undefined, true, undefined, this),
|
|
450333
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450334
|
-
flexDirection: "row",
|
|
450335
|
-
gap: 0,
|
|
450336
|
-
justifyContent: "center",
|
|
450337
|
-
children: allToolsOk ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450338
|
-
fg: tk.textMuted,
|
|
450339
|
-
children: [
|
|
450340
|
-
icon("check"),
|
|
450341
|
-
" all tools ready"
|
|
450342
|
-
]
|
|
450343
|
-
}, undefined, true, undefined, this) : bootPrereqs.map((t32, i_1) => /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450344
|
-
flexDirection: "row",
|
|
450345
|
-
gap: 0,
|
|
450346
|
-
children: [
|
|
450347
|
-
i_1 > 0 && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450348
|
-
fg: tk.bgPopupHighlight,
|
|
450349
|
-
children: " \xB7 "
|
|
450350
|
-
}, undefined, false, undefined, this),
|
|
450351
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450352
|
-
fg: t32.installed ? tk.success : t32.prerequisite.required ? tk.brandSecondary : tk.warning,
|
|
450353
|
-
children: [
|
|
450354
|
-
t32.installed ? icon("check") : "\u25CB",
|
|
450355
|
-
" ",
|
|
450356
|
-
t32.prerequisite.name
|
|
450357
|
-
]
|
|
450358
|
-
}, undefined, true, undefined, this)
|
|
450359
|
-
]
|
|
450360
|
-
}, t32.prerequisite.name, true, undefined, this))
|
|
450247
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(StatusLine, {
|
|
450248
|
+
providers: activeProviders,
|
|
450249
|
+
allToolsOk
|
|
450361
450250
|
}, undefined, false, undefined, this),
|
|
450362
450251
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(IndexingStatus, {}, undefined, false, undefined, this),
|
|
450363
450252
|
(missingRequired.length > 0 || !anyProvider) && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
@@ -450366,186 +450255,220 @@ function LandingPage(t0) {
|
|
|
450366
450255
|
}, undefined, false, undefined, this)
|
|
450367
450256
|
]
|
|
450368
450257
|
}, undefined, true, undefined, this);
|
|
450369
|
-
$5[
|
|
450370
|
-
$5[
|
|
450371
|
-
$5[
|
|
450372
|
-
$5[
|
|
450373
|
-
$5[
|
|
450374
|
-
$5[
|
|
450375
|
-
$5[
|
|
450376
|
-
$5[30] = ghostColor;
|
|
450377
|
-
$5[31] = inactiveProviders;
|
|
450378
|
-
$5[32] = maxProviderWidth;
|
|
450379
|
-
$5[33] = missingRequired;
|
|
450380
|
-
$5[34] = revealDone;
|
|
450381
|
-
$5[35] = revealed;
|
|
450382
|
-
$5[36] = showWordmark;
|
|
450383
|
-
$5[37] = tk.bgPopupHighlight;
|
|
450384
|
-
$5[38] = tk.brand;
|
|
450385
|
-
$5[39] = tk.brandSecondary;
|
|
450386
|
-
$5[40] = tk.success;
|
|
450387
|
-
$5[41] = tk.textDim;
|
|
450388
|
-
$5[42] = tk.textMuted;
|
|
450389
|
-
$5[43] = tk.warning;
|
|
450390
|
-
$5[44] = wordmarkW;
|
|
450391
|
-
$5[45] = t12;
|
|
450392
|
-
$5[46] = t13;
|
|
450393
|
-
$5[47] = t14;
|
|
450394
|
-
$5[48] = t15;
|
|
450395
|
-
$5[49] = t16;
|
|
450396
|
-
$5[50] = t17;
|
|
450397
|
-
$5[51] = t18;
|
|
450398
|
-
$5[52] = t19;
|
|
450258
|
+
$5[46] = activeProviders;
|
|
450259
|
+
$5[47] = allToolsOk;
|
|
450260
|
+
$5[48] = anyProvider;
|
|
450261
|
+
$5[49] = compact;
|
|
450262
|
+
$5[50] = missingRequired;
|
|
450263
|
+
$5[51] = statusReady;
|
|
450264
|
+
$5[52] = tk.textDim;
|
|
450399
450265
|
$5[53] = t20;
|
|
450400
|
-
$5[54] = t21;
|
|
450401
|
-
$5[55] = t22;
|
|
450402
|
-
$5[56] = t23;
|
|
450403
|
-
$5[57] = t24;
|
|
450404
|
-
$5[58] = t25;
|
|
450405
|
-
$5[59] = t26;
|
|
450406
450266
|
} else {
|
|
450407
|
-
t12 = $5[45];
|
|
450408
|
-
t13 = $5[46];
|
|
450409
|
-
t14 = $5[47];
|
|
450410
|
-
t15 = $5[48];
|
|
450411
|
-
t16 = $5[49];
|
|
450412
|
-
t17 = $5[50];
|
|
450413
|
-
t18 = $5[51];
|
|
450414
|
-
t19 = $5[52];
|
|
450415
450267
|
t20 = $5[53];
|
|
450416
|
-
t21 = $5[54];
|
|
450417
|
-
t22 = $5[55];
|
|
450418
|
-
t23 = $5[56];
|
|
450419
|
-
t24 = $5[57];
|
|
450420
|
-
t25 = $5[58];
|
|
450421
|
-
t26 = $5[59];
|
|
450422
450268
|
}
|
|
450423
|
-
let
|
|
450424
|
-
if ($5[
|
|
450425
|
-
|
|
450269
|
+
let t21;
|
|
450270
|
+
if ($5[54] !== compact || $5[55] !== hintsReady || $5[56] !== modelLabel || $5[57] !== tk.brand || $5[58] !== tk.textDim || $5[59] !== tk.textFaint || $5[60] !== tk.textSecondary) {
|
|
450271
|
+
t21 = hintsReady && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450426
450272
|
children: [
|
|
450427
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450428
|
-
height: compact ? 0 : 1
|
|
450429
|
-
}, undefined, false, undefined, this),
|
|
450430
450273
|
!compact && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450431
450274
|
height: 1
|
|
450432
450275
|
}, undefined, false, undefined, this),
|
|
450433
450276
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450434
450277
|
flexDirection: "row",
|
|
450435
|
-
gap:
|
|
450278
|
+
gap: 0,
|
|
450436
450279
|
justifyContent: "center",
|
|
450437
|
-
flexWrap: "wrap",
|
|
450438
450280
|
children: [
|
|
450439
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(
|
|
450440
|
-
|
|
450441
|
-
|
|
450442
|
-
|
|
450443
|
-
|
|
450444
|
-
|
|
450445
|
-
|
|
450446
|
-
|
|
450447
|
-
|
|
450448
|
-
|
|
450449
|
-
|
|
450450
|
-
|
|
450451
|
-
|
|
450452
|
-
|
|
450453
|
-
|
|
450281
|
+
modelLabel && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450282
|
+
children: [
|
|
450283
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450284
|
+
fg: tk.textDim,
|
|
450285
|
+
children: "^L "
|
|
450286
|
+
}, undefined, false, undefined, this),
|
|
450287
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450288
|
+
fg: tk.brand,
|
|
450289
|
+
attributes: BOLD3,
|
|
450290
|
+
children: modelLabel
|
|
450291
|
+
}, undefined, false, undefined, this),
|
|
450292
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450293
|
+
fg: tk.textFaint,
|
|
450294
|
+
children: " \xB7 "
|
|
450295
|
+
}, undefined, false, undefined, this)
|
|
450296
|
+
]
|
|
450297
|
+
}, undefined, true, undefined, this),
|
|
450298
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450299
|
+
fg: tk.textDim,
|
|
450300
|
+
children: "/"
|
|
450454
450301
|
}, undefined, false, undefined, this),
|
|
450455
|
-
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(
|
|
450456
|
-
|
|
450302
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450303
|
+
fg: tk.textSecondary,
|
|
450304
|
+
children: "help"
|
|
450457
450305
|
}, undefined, false, undefined, this)
|
|
450458
450306
|
]
|
|
450459
450307
|
}, undefined, true, undefined, this)
|
|
450460
450308
|
]
|
|
450461
450309
|
}, undefined, true, undefined, this);
|
|
450462
|
-
$5[
|
|
450463
|
-
$5[
|
|
450464
|
-
$5[
|
|
450310
|
+
$5[54] = compact;
|
|
450311
|
+
$5[55] = hintsReady;
|
|
450312
|
+
$5[56] = modelLabel;
|
|
450313
|
+
$5[57] = tk.brand;
|
|
450314
|
+
$5[58] = tk.textDim;
|
|
450315
|
+
$5[59] = tk.textFaint;
|
|
450316
|
+
$5[60] = tk.textSecondary;
|
|
450317
|
+
$5[61] = t21;
|
|
450465
450318
|
} else {
|
|
450466
|
-
|
|
450319
|
+
t21 = $5[61];
|
|
450467
450320
|
}
|
|
450468
|
-
|
|
450469
|
-
|
|
450470
|
-
|
|
450471
|
-
|
|
450472
|
-
height: t28
|
|
450321
|
+
let t22;
|
|
450322
|
+
if ($5[62] !== compact) {
|
|
450323
|
+
t22 = compact ? null : /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450324
|
+
height: 1
|
|
450473
450325
|
}, undefined, false, undefined, this);
|
|
450474
|
-
$5[
|
|
450475
|
-
$5[
|
|
450326
|
+
$5[62] = compact;
|
|
450327
|
+
$5[63] = t22;
|
|
450476
450328
|
} else {
|
|
450477
|
-
|
|
450329
|
+
t22 = $5[63];
|
|
450478
450330
|
}
|
|
450479
|
-
let
|
|
450480
|
-
if ($5[
|
|
450481
|
-
|
|
450482
|
-
flexDirection:
|
|
450483
|
-
|
|
450484
|
-
|
|
450485
|
-
|
|
450486
|
-
|
|
450487
|
-
|
|
450488
|
-
|
|
450489
|
-
|
|
450490
|
-
|
|
450491
|
-
|
|
450492
|
-
|
|
450493
|
-
|
|
450494
|
-
|
|
450495
|
-
|
|
450496
|
-
|
|
450497
|
-
|
|
450498
|
-
|
|
450499
|
-
|
|
450500
|
-
|
|
450501
|
-
|
|
450502
|
-
|
|
450503
|
-
|
|
450504
|
-
|
|
450505
|
-
$5[91] = t20;
|
|
450506
|
-
$5[92] = t21;
|
|
450507
|
-
$5[93] = t27;
|
|
450508
|
-
$5[94] = t29;
|
|
450509
|
-
$5[95] = t30;
|
|
450510
|
-
} else {
|
|
450511
|
-
t30 = $5[95];
|
|
450512
|
-
}
|
|
450513
|
-
let t31;
|
|
450514
|
-
if ($5[96] !== t22 || $5[97] !== t23 || $5[98] !== t24 || $5[99] !== t25 || $5[100] !== t26 || $5[101] !== t30) {
|
|
450515
|
-
t31 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450516
|
-
flexDirection: t22,
|
|
450517
|
-
flexGrow: t23,
|
|
450518
|
-
flexShrink: t24,
|
|
450519
|
-
minHeight: t25,
|
|
450520
|
-
justifyContent: t26,
|
|
450521
|
-
children: t30
|
|
450331
|
+
let t23;
|
|
450332
|
+
if ($5[64] !== t12 || $5[65] !== t13 || $5[66] !== t14 || $5[67] !== t15 || $5[68] !== t16 || $5[69] !== t17 || $5[70] !== t18 || $5[71] !== t19 || $5[72] !== t20 || $5[73] !== t21 || $5[74] !== t22) {
|
|
450333
|
+
t23 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450334
|
+
flexDirection: "column",
|
|
450335
|
+
flexGrow: 1,
|
|
450336
|
+
flexShrink: 1,
|
|
450337
|
+
minHeight: 0,
|
|
450338
|
+
justifyContent: "center",
|
|
450339
|
+
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450340
|
+
flexDirection: "column",
|
|
450341
|
+
alignItems: "center",
|
|
450342
|
+
gap: 0,
|
|
450343
|
+
children: [
|
|
450344
|
+
t12,
|
|
450345
|
+
t13,
|
|
450346
|
+
t14,
|
|
450347
|
+
t15,
|
|
450348
|
+
t16,
|
|
450349
|
+
t17,
|
|
450350
|
+
t18,
|
|
450351
|
+
t19,
|
|
450352
|
+
t20,
|
|
450353
|
+
t21,
|
|
450354
|
+
t22
|
|
450355
|
+
]
|
|
450356
|
+
}, undefined, true, undefined, this)
|
|
450522
450357
|
}, undefined, false, undefined, this);
|
|
450523
|
-
$5[
|
|
450524
|
-
$5[
|
|
450525
|
-
$5[
|
|
450526
|
-
$5[
|
|
450527
|
-
$5[
|
|
450528
|
-
$5[
|
|
450529
|
-
$5[
|
|
450358
|
+
$5[64] = t12;
|
|
450359
|
+
$5[65] = t13;
|
|
450360
|
+
$5[66] = t14;
|
|
450361
|
+
$5[67] = t15;
|
|
450362
|
+
$5[68] = t16;
|
|
450363
|
+
$5[69] = t17;
|
|
450364
|
+
$5[70] = t18;
|
|
450365
|
+
$5[71] = t19;
|
|
450366
|
+
$5[72] = t20;
|
|
450367
|
+
$5[73] = t21;
|
|
450368
|
+
$5[74] = t22;
|
|
450369
|
+
$5[75] = t23;
|
|
450530
450370
|
} else {
|
|
450531
|
-
|
|
450371
|
+
t23 = $5[75];
|
|
450532
450372
|
}
|
|
450533
|
-
return
|
|
450534
|
-
}
|
|
450535
|
-
function _temp63(p_2) {
|
|
450536
|
-
return p_2.installed || !p_2.prerequisite.required;
|
|
450373
|
+
return t23;
|
|
450537
450374
|
}
|
|
450538
|
-
function
|
|
450539
|
-
return
|
|
450375
|
+
function _temp46(p_1) {
|
|
450376
|
+
return p_1.installed || !p_1.prerequisite.required;
|
|
450540
450377
|
}
|
|
450541
|
-
function
|
|
450542
|
-
return !p_0.
|
|
450378
|
+
function _temp311(p_0) {
|
|
450379
|
+
return !p_0.installed && p_0.prerequisite.required;
|
|
450543
450380
|
}
|
|
450544
|
-
function
|
|
450381
|
+
function _temp211(p2) {
|
|
450545
450382
|
return p2.available;
|
|
450546
450383
|
}
|
|
450547
|
-
function
|
|
450548
|
-
return
|
|
450384
|
+
function _temp41(t2) {
|
|
450385
|
+
return t2 + 1;
|
|
450386
|
+
}
|
|
450387
|
+
function StatusLine(t0) {
|
|
450388
|
+
const $5 = import_compiler_runtime27.c(17);
|
|
450389
|
+
const {
|
|
450390
|
+
providers,
|
|
450391
|
+
allToolsOk
|
|
450392
|
+
} = t0;
|
|
450393
|
+
const tk = useTheme();
|
|
450394
|
+
let t1;
|
|
450395
|
+
let t2;
|
|
450396
|
+
let t3;
|
|
450397
|
+
let t4;
|
|
450398
|
+
if ($5[0] !== providers || $5[1] !== tk.textMuted || $5[2] !== tk.warning) {
|
|
450399
|
+
const names = providers.slice(0, 4).map(_temp53);
|
|
450400
|
+
const overflow = providers.length > 4 ? providers.length - 4 : 0;
|
|
450401
|
+
t1 = "row";
|
|
450402
|
+
t2 = 0;
|
|
450403
|
+
t3 = "center";
|
|
450404
|
+
t4 = providers.length > 0 ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450405
|
+
fg: tk.textMuted,
|
|
450406
|
+
children: [
|
|
450407
|
+
names.join(" \xB7 "),
|
|
450408
|
+
overflow > 0 ? ` +${String(overflow)}` : ""
|
|
450409
|
+
]
|
|
450410
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450411
|
+
fg: tk.warning,
|
|
450412
|
+
children: "\u25CB no providers configured"
|
|
450413
|
+
}, undefined, false, undefined, this);
|
|
450414
|
+
$5[0] = providers;
|
|
450415
|
+
$5[1] = tk.textMuted;
|
|
450416
|
+
$5[2] = tk.warning;
|
|
450417
|
+
$5[3] = t1;
|
|
450418
|
+
$5[4] = t2;
|
|
450419
|
+
$5[5] = t3;
|
|
450420
|
+
$5[6] = t4;
|
|
450421
|
+
} else {
|
|
450422
|
+
t1 = $5[3];
|
|
450423
|
+
t2 = $5[4];
|
|
450424
|
+
t3 = $5[5];
|
|
450425
|
+
t4 = $5[6];
|
|
450426
|
+
}
|
|
450427
|
+
let t5;
|
|
450428
|
+
if ($5[7] !== allToolsOk || $5[8] !== tk.textFaint || $5[9] !== tk.textMuted) {
|
|
450429
|
+
t5 = allToolsOk && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
450430
|
+
children: [
|
|
450431
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450432
|
+
fg: tk.textFaint,
|
|
450433
|
+
children: " \xB7 "
|
|
450434
|
+
}, undefined, false, undefined, this),
|
|
450435
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450436
|
+
fg: tk.textMuted,
|
|
450437
|
+
children: "tools ready"
|
|
450438
|
+
}, undefined, false, undefined, this)
|
|
450439
|
+
]
|
|
450440
|
+
}, undefined, true, undefined, this);
|
|
450441
|
+
$5[7] = allToolsOk;
|
|
450442
|
+
$5[8] = tk.textFaint;
|
|
450443
|
+
$5[9] = tk.textMuted;
|
|
450444
|
+
$5[10] = t5;
|
|
450445
|
+
} else {
|
|
450446
|
+
t5 = $5[10];
|
|
450447
|
+
}
|
|
450448
|
+
let t6;
|
|
450449
|
+
if ($5[11] !== t1 || $5[12] !== t2 || $5[13] !== t3 || $5[14] !== t4 || $5[15] !== t5) {
|
|
450450
|
+
t6 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450451
|
+
flexDirection: t1,
|
|
450452
|
+
gap: t2,
|
|
450453
|
+
justifyContent: t3,
|
|
450454
|
+
children: [
|
|
450455
|
+
t4,
|
|
450456
|
+
t5
|
|
450457
|
+
]
|
|
450458
|
+
}, undefined, true, undefined, this);
|
|
450459
|
+
$5[11] = t1;
|
|
450460
|
+
$5[12] = t2;
|
|
450461
|
+
$5[13] = t3;
|
|
450462
|
+
$5[14] = t4;
|
|
450463
|
+
$5[15] = t5;
|
|
450464
|
+
$5[16] = t6;
|
|
450465
|
+
} else {
|
|
450466
|
+
t6 = $5[16];
|
|
450467
|
+
}
|
|
450468
|
+
return t6;
|
|
450469
|
+
}
|
|
450470
|
+
function _temp53(p2) {
|
|
450471
|
+
return p2.name.toLowerCase();
|
|
450549
450472
|
}
|
|
450550
450473
|
function IndexingStatus() {
|
|
450551
450474
|
const tk = useTheme();
|
|
@@ -450554,19 +450477,21 @@ function IndexingStatus() {
|
|
|
450554
450477
|
return {
|
|
450555
450478
|
status: s2.status,
|
|
450556
450479
|
files: s2.files,
|
|
450557
|
-
scanProgress: s2.scanProgress
|
|
450480
|
+
scanProgress: s2.scanProgress,
|
|
450481
|
+
lspStatus: s2.lspStatus
|
|
450558
450482
|
};
|
|
450559
450483
|
});
|
|
450560
450484
|
const spinnerRef = import_react50.useRef(0);
|
|
450561
450485
|
const [tick, setTick] = import_react50.useState(0);
|
|
450562
450486
|
import_react50.useEffect(() => useRepoMapStore.subscribe((s_0) => {
|
|
450563
450487
|
setState2((prev) => {
|
|
450564
|
-
if (prev.status === s_0.status && prev.files === s_0.files && prev.scanProgress === s_0.scanProgress)
|
|
450488
|
+
if (prev.status === s_0.status && prev.files === s_0.files && prev.scanProgress === s_0.scanProgress && prev.lspStatus === s_0.lspStatus)
|
|
450565
450489
|
return prev;
|
|
450566
450490
|
return {
|
|
450567
450491
|
status: s_0.status,
|
|
450568
450492
|
files: s_0.files,
|
|
450569
|
-
scanProgress: s_0.scanProgress
|
|
450493
|
+
scanProgress: s_0.scanProgress,
|
|
450494
|
+
lspStatus: s_0.lspStatus
|
|
450570
450495
|
};
|
|
450571
450496
|
});
|
|
450572
450497
|
}), []);
|
|
@@ -450582,7 +450507,8 @@ function IndexingStatus() {
|
|
|
450582
450507
|
const {
|
|
450583
450508
|
status,
|
|
450584
450509
|
files,
|
|
450585
|
-
scanProgress
|
|
450510
|
+
scanProgress,
|
|
450511
|
+
lspStatus
|
|
450586
450512
|
} = state;
|
|
450587
450513
|
const frame = SPINNER_FRAMES[spinnerRef.current % SPINNER_FRAMES.length] ?? "\u280B";
|
|
450588
450514
|
if (status === "scanning") {
|
|
@@ -450594,133 +450520,65 @@ function IndexingStatus() {
|
|
|
450594
450520
|
fg: tk.amber,
|
|
450595
450521
|
children: [
|
|
450596
450522
|
frame,
|
|
450597
|
-
" indexing
|
|
450598
|
-
scanProgress ? ` ${scanProgress}` : ""
|
|
450523
|
+
" indexing",
|
|
450524
|
+
scanProgress ? ` ${scanProgress}` : "\u2026"
|
|
450599
450525
|
]
|
|
450600
450526
|
}, undefined, true, undefined, this)
|
|
450601
450527
|
}, undefined, false, undefined, this);
|
|
450602
450528
|
}
|
|
450529
|
+
const parts2 = [];
|
|
450603
450530
|
if (status === "ready") {
|
|
450604
|
-
|
|
450605
|
-
|
|
450606
|
-
gap: 0,
|
|
450607
|
-
justifyContent: "center",
|
|
450608
|
-
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450609
|
-
fg: tk.textMuted,
|
|
450610
|
-
children: [
|
|
450611
|
-
icon("check"),
|
|
450612
|
-
" ",
|
|
450613
|
-
String(files),
|
|
450614
|
-
" files indexed"
|
|
450615
|
-
]
|
|
450616
|
-
}, undefined, true, undefined, this)
|
|
450617
|
-
}, undefined, false, undefined, this);
|
|
450618
|
-
}
|
|
450619
|
-
if (status === "error") {
|
|
450620
|
-
return /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450621
|
-
flexDirection: "row",
|
|
450622
|
-
gap: 0,
|
|
450623
|
-
justifyContent: "center",
|
|
450624
|
-
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450625
|
-
fg: tk.brandSecondary,
|
|
450626
|
-
children: "\u25CB indexing failed"
|
|
450627
|
-
}, undefined, false, undefined, this)
|
|
450628
|
-
}, undefined, false, undefined, this);
|
|
450629
|
-
}
|
|
450630
|
-
return null;
|
|
450631
|
-
}
|
|
450632
|
-
function Cmd(t0) {
|
|
450633
|
-
const $5 = import_compiler_runtime27.c(12);
|
|
450634
|
-
const {
|
|
450635
|
-
name: name21,
|
|
450636
|
-
arg
|
|
450637
|
-
} = t0;
|
|
450638
|
-
const tk = useTheme();
|
|
450639
|
-
let t1;
|
|
450640
|
-
if ($5[0] !== tk.brand) {
|
|
450641
|
-
t1 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450642
|
-
fg: tk.brand,
|
|
450643
|
-
children: "/"
|
|
450644
|
-
}, undefined, false, undefined, this);
|
|
450645
|
-
$5[0] = tk.brand;
|
|
450646
|
-
$5[1] = t1;
|
|
450647
|
-
} else {
|
|
450648
|
-
t1 = $5[1];
|
|
450649
|
-
}
|
|
450650
|
-
let t2;
|
|
450651
|
-
if ($5[2] !== name21 || $5[3] !== tk.textSecondary) {
|
|
450652
|
-
t2 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450653
|
-
fg: tk.textSecondary,
|
|
450654
|
-
children: name21
|
|
450655
|
-
}, undefined, false, undefined, this);
|
|
450656
|
-
$5[2] = name21;
|
|
450657
|
-
$5[3] = tk.textSecondary;
|
|
450658
|
-
$5[4] = t2;
|
|
450659
|
-
} else {
|
|
450660
|
-
t2 = $5[4];
|
|
450661
|
-
}
|
|
450662
|
-
let t3;
|
|
450663
|
-
if ($5[5] !== arg || $5[6] !== tk.textDim) {
|
|
450664
|
-
t3 = arg && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450665
|
-
fg: tk.textDim,
|
|
450531
|
+
parts2.push(/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450532
|
+
fg: tk.textMuted,
|
|
450666
450533
|
children: [
|
|
450534
|
+
icon("check"),
|
|
450667
450535
|
" ",
|
|
450668
|
-
|
|
450536
|
+
String(files),
|
|
450537
|
+
" files indexed"
|
|
450669
450538
|
]
|
|
450670
|
-
},
|
|
450671
|
-
|
|
450672
|
-
|
|
450673
|
-
|
|
450674
|
-
|
|
450675
|
-
|
|
450539
|
+
}, "idx", true, undefined, this));
|
|
450540
|
+
} else if (status === "error") {
|
|
450541
|
+
parts2.push(/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450542
|
+
fg: tk.brandSecondary,
|
|
450543
|
+
children: "\u25CB indexing failed"
|
|
450544
|
+
}, "idx", false, undefined, this));
|
|
450545
|
+
}
|
|
450546
|
+
if (lspStatus === "ready" && parts2.length > 0) {
|
|
450547
|
+
parts2.push(/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450548
|
+
fg: tk.textFaint,
|
|
450549
|
+
children: " \xB7 "
|
|
450550
|
+
}, "sep", false, undefined, this));
|
|
450551
|
+
parts2.push(/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450552
|
+
fg: tk.textMuted,
|
|
450553
|
+
children: "lsp ready"
|
|
450554
|
+
}, "lsp", false, undefined, this));
|
|
450555
|
+
} else if (lspStatus === "generating") {
|
|
450556
|
+
if (parts2.length > 0) {
|
|
450557
|
+
parts2.push(/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450558
|
+
fg: tk.textFaint,
|
|
450559
|
+
children: " \xB7 "
|
|
450560
|
+
}, "sep", false, undefined, this));
|
|
450561
|
+
}
|
|
450562
|
+
parts2.push(/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
450563
|
+
fg: tk.amber,
|
|
450564
|
+
children: "lsp warming up"
|
|
450565
|
+
}, "lsp", false, undefined, this));
|
|
450676
450566
|
}
|
|
450677
|
-
|
|
450678
|
-
|
|
450679
|
-
|
|
450680
|
-
|
|
450681
|
-
|
|
450682
|
-
|
|
450683
|
-
|
|
450684
|
-
|
|
450685
|
-
t3
|
|
450686
|
-
]
|
|
450687
|
-
}, undefined, true, undefined, this);
|
|
450688
|
-
$5[8] = t1;
|
|
450689
|
-
$5[9] = t2;
|
|
450690
|
-
$5[10] = t3;
|
|
450691
|
-
$5[11] = t4;
|
|
450692
|
-
} else {
|
|
450693
|
-
t4 = $5[11];
|
|
450694
|
-
}
|
|
450695
|
-
return t4;
|
|
450696
|
-
}
|
|
450697
|
-
function fitProviders(active, inactive, maxWidth) {
|
|
450698
|
-
const all2 = [...active, ...inactive];
|
|
450699
|
-
if (all2.length === 0)
|
|
450700
|
-
return {
|
|
450701
|
-
visible: [],
|
|
450702
|
-
overflow: 0
|
|
450703
|
-
};
|
|
450704
|
-
const visible = [];
|
|
450705
|
-
let usedWidth = 0;
|
|
450706
|
-
for (const p2 of all2) {
|
|
450707
|
-
const entryWidth = (visible.length > 0 ? 3 : 0) + 2 + p2.name.length;
|
|
450708
|
-
const overflowWidth = all2.length - visible.length > 1 ? 5 : 0;
|
|
450709
|
-
if (usedWidth + entryWidth + overflowWidth > maxWidth && visible.length >= 3) {
|
|
450710
|
-
break;
|
|
450711
|
-
}
|
|
450712
|
-
visible.push(p2);
|
|
450713
|
-
usedWidth += entryWidth;
|
|
450714
|
-
}
|
|
450715
|
-
return {
|
|
450716
|
-
visible,
|
|
450717
|
-
overflow: all2.length - visible.length
|
|
450718
|
-
};
|
|
450567
|
+
if (parts2.length === 0)
|
|
450568
|
+
return null;
|
|
450569
|
+
return /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
450570
|
+
flexDirection: "row",
|
|
450571
|
+
gap: 0,
|
|
450572
|
+
justifyContent: "center",
|
|
450573
|
+
children: parts2
|
|
450574
|
+
}, undefined, false, undefined, this);
|
|
450719
450575
|
}
|
|
450720
|
-
var import_compiler_runtime27, import_react50,
|
|
450576
|
+
var import_compiler_runtime27, import_react50, BOLD3, ITALIC2, DIM3, GHOST_FADE, IDLE_QUIPS;
|
|
450721
450577
|
var init_LandingPage = __esm(async () => {
|
|
450722
450578
|
init_icons();
|
|
450579
|
+
init_models();
|
|
450723
450580
|
init_theme();
|
|
450581
|
+
init_splash();
|
|
450724
450582
|
init_repomap();
|
|
450725
450583
|
init_ScanDivider();
|
|
450726
450584
|
init_shared2();
|
|
@@ -450731,7 +450589,11 @@ var init_LandingPage = __esm(async () => {
|
|
|
450731
450589
|
]);
|
|
450732
450590
|
import_compiler_runtime27 = __toESM(require_compiler_runtime(), 1);
|
|
450733
450591
|
import_react50 = __toESM(require_react(), 1);
|
|
450734
|
-
|
|
450592
|
+
BOLD3 = TextAttributes.BOLD;
|
|
450593
|
+
ITALIC2 = TextAttributes.ITALIC;
|
|
450594
|
+
DIM3 = TextAttributes.DIM;
|
|
450595
|
+
GHOST_FADE = ["\u2591", "\u2592", "\u2593"];
|
|
450596
|
+
IDLE_QUIPS = ["The forge awaits your command.", "The anvil is warm. What shall we build?", "The runes are aligned. Speak your intent.", "All spirits present and accounted for.", "The blade is sharp. The code is ready.", "Another day, another codebase to conquer.", "The ether hums with potential.", "Your codebase has been mapped. The forge sees all.", "The scrolls are indexed. Ask anything.", "Ready to transmute code into gold.", "The ghost remembers your last session.", "Forge hot. Tools sharp. Let's ship."];
|
|
450735
450597
|
});
|
|
450736
450598
|
|
|
450737
450599
|
// src/components/layout/LoadingStatus.tsx
|
|
@@ -450953,7 +450815,7 @@ var init_LoadingStatus = __esm(async () => {
|
|
|
450953
450815
|
});
|
|
450954
450816
|
|
|
450955
450817
|
// src/components/layout/SystemBanner.tsx
|
|
450956
|
-
function
|
|
450818
|
+
function hexToRgb2(hex3) {
|
|
450957
450819
|
const h3 = hex3.replace("#", "");
|
|
450958
450820
|
const n = h3.length === 3 ? h3.split("").map((c) => c + c).join("") : h3;
|
|
450959
450821
|
const v4 = Number.parseInt(n, 16);
|
|
@@ -450963,8 +450825,8 @@ function rgbToHex3(r4, g3, b5) {
|
|
|
450963
450825
|
return `#${[r4, g3, b5].map((c) => c.toString(16).padStart(2, "0")).join("")}`;
|
|
450964
450826
|
}
|
|
450965
450827
|
function lerpColor(from, to, t2) {
|
|
450966
|
-
const [r1, g1, b1] =
|
|
450967
|
-
const [r22, g22, b22] =
|
|
450828
|
+
const [r1, g1, b1] = hexToRgb2(from);
|
|
450829
|
+
const [r22, g22, b22] = hexToRgb2(to);
|
|
450968
450830
|
return rgbToHex3(Math.round(r1 + (r22 - r1) * t2), Math.round(g1 + (g22 - g1) * t2), Math.round(b1 + (b22 - b1) * t2));
|
|
450969
450831
|
}
|
|
450970
450832
|
function isError(text3) {
|
|
@@ -451881,7 +451743,7 @@ var init_TabInstance = __esm(async () => {
|
|
|
451881
451743
|
visible: false
|
|
451882
451744
|
};
|
|
451883
451745
|
TabInstance = import_react55.memo(function TabInstance2(t0) {
|
|
451884
|
-
const $5 = import_compiler_runtime30.c(
|
|
451746
|
+
const $5 = import_compiler_runtime30.c(191);
|
|
451885
451747
|
const {
|
|
451886
451748
|
tabId,
|
|
451887
451749
|
tabLabel,
|
|
@@ -452567,16 +452429,18 @@ var init_TabInstance = __esm(async () => {
|
|
|
452567
452429
|
t52 = $5[139];
|
|
452568
452430
|
}
|
|
452569
452431
|
let t53;
|
|
452570
|
-
if ($5[140] !== bootPrereqs || $5[141] !== bootProviders || $5[142] !== chat.
|
|
452432
|
+
if ($5[140] !== bootPrereqs || $5[141] !== bootProviders || $5[142] !== chat.activeModel || $5[143] !== chat.isCompacting || $5[144] !== chat.isLoading || $5[145] !== chat.liveToolCalls || $5[146] !== chat.messageQueue || $5[147] !== chat.streamSegments || $5[148] !== chatStyle || $5[149] !== codeExpanded || $5[150] !== effectiveConfig || $5[151] !== hasContent || $5[152] !== hiddenCount || $5[153] !== isStreaming || $5[154] !== reasoningExpanded || $5[155] !== scrollbarReady || $5[156] !== showReasoning || $5[157] !== t2 || $5[158] !== visibleMessages) {
|
|
452571
452433
|
t53 = !hasContent ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(LandingPage, {
|
|
452572
452434
|
bootProviders,
|
|
452573
|
-
bootPrereqs
|
|
452435
|
+
bootPrereqs,
|
|
452436
|
+
activeModel: chat.activeModel
|
|
452574
452437
|
}, undefined, false, undefined, this) : /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(AnimatedBorder, {
|
|
452575
452438
|
active: chat.isLoading || chat.isCompacting,
|
|
452576
452439
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("scrollbox", {
|
|
452577
452440
|
ref: scrollRef,
|
|
452578
452441
|
stickyScroll: true,
|
|
452579
452442
|
stickyStart: "bottom",
|
|
452443
|
+
focusable: false,
|
|
452580
452444
|
flexGrow: 1,
|
|
452581
452445
|
flexShrink: 1,
|
|
452582
452446
|
minHeight: 0,
|
|
@@ -452657,28 +452521,29 @@ var init_TabInstance = __esm(async () => {
|
|
|
452657
452521
|
}, undefined, false, undefined, this);
|
|
452658
452522
|
$5[140] = bootPrereqs;
|
|
452659
452523
|
$5[141] = bootProviders;
|
|
452660
|
-
$5[142] = chat.
|
|
452661
|
-
$5[143] = chat.
|
|
452662
|
-
$5[144] = chat.
|
|
452663
|
-
$5[145] = chat.
|
|
452664
|
-
$5[146] = chat.
|
|
452665
|
-
$5[147] =
|
|
452666
|
-
$5[148] =
|
|
452667
|
-
$5[149] =
|
|
452668
|
-
$5[150] =
|
|
452669
|
-
$5[151] =
|
|
452670
|
-
$5[152] =
|
|
452671
|
-
$5[153] =
|
|
452672
|
-
$5[154] =
|
|
452673
|
-
$5[155] =
|
|
452674
|
-
$5[156] =
|
|
452675
|
-
$5[157] =
|
|
452676
|
-
$5[158] =
|
|
452524
|
+
$5[142] = chat.activeModel;
|
|
452525
|
+
$5[143] = chat.isCompacting;
|
|
452526
|
+
$5[144] = chat.isLoading;
|
|
452527
|
+
$5[145] = chat.liveToolCalls;
|
|
452528
|
+
$5[146] = chat.messageQueue;
|
|
452529
|
+
$5[147] = chat.streamSegments;
|
|
452530
|
+
$5[148] = chatStyle;
|
|
452531
|
+
$5[149] = codeExpanded;
|
|
452532
|
+
$5[150] = effectiveConfig;
|
|
452533
|
+
$5[151] = hasContent;
|
|
452534
|
+
$5[152] = hiddenCount;
|
|
452535
|
+
$5[153] = isStreaming;
|
|
452536
|
+
$5[154] = reasoningExpanded;
|
|
452537
|
+
$5[155] = scrollbarReady;
|
|
452538
|
+
$5[156] = showReasoning;
|
|
452539
|
+
$5[157] = t2;
|
|
452540
|
+
$5[158] = visibleMessages;
|
|
452541
|
+
$5[159] = t53;
|
|
452677
452542
|
} else {
|
|
452678
|
-
t53 = $5[
|
|
452543
|
+
t53 = $5[159];
|
|
452679
452544
|
}
|
|
452680
452545
|
let t54;
|
|
452681
|
-
if ($5[
|
|
452546
|
+
if ($5[160] !== changesExpanded || $5[161] !== chat.messages || $5[162] !== cwd2 || $5[163] !== terminalsExpanded) {
|
|
452682
452547
|
t54 = (changesExpanded || terminalsExpanded) && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
452683
452548
|
flexDirection: "column",
|
|
452684
452549
|
width: "20%",
|
|
@@ -452690,16 +452555,16 @@ var init_TabInstance = __esm(async () => {
|
|
|
452690
452555
|
terminalsExpanded && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(TerminalsPanel, {}, undefined, false, undefined, this)
|
|
452691
452556
|
]
|
|
452692
452557
|
}, undefined, true, undefined, this);
|
|
452693
|
-
$5[
|
|
452694
|
-
$5[
|
|
452695
|
-
$5[
|
|
452696
|
-
$5[
|
|
452697
|
-
$5[
|
|
452558
|
+
$5[160] = changesExpanded;
|
|
452559
|
+
$5[161] = chat.messages;
|
|
452560
|
+
$5[162] = cwd2;
|
|
452561
|
+
$5[163] = terminalsExpanded;
|
|
452562
|
+
$5[164] = t54;
|
|
452698
452563
|
} else {
|
|
452699
|
-
t54 = $5[
|
|
452564
|
+
t54 = $5[164];
|
|
452700
452565
|
}
|
|
452701
452566
|
let t55;
|
|
452702
|
-
if ($5[
|
|
452567
|
+
if ($5[165] !== t53 || $5[166] !== t54) {
|
|
452703
452568
|
t55 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
452704
452569
|
flexGrow: 1,
|
|
452705
452570
|
flexShrink: 1,
|
|
@@ -452710,14 +452575,14 @@ var init_TabInstance = __esm(async () => {
|
|
|
452710
452575
|
t54
|
|
452711
452576
|
]
|
|
452712
452577
|
}, undefined, true, undefined, this);
|
|
452713
|
-
$5[
|
|
452714
|
-
$5[
|
|
452715
|
-
$5[
|
|
452578
|
+
$5[165] = t53;
|
|
452579
|
+
$5[166] = t54;
|
|
452580
|
+
$5[167] = t55;
|
|
452716
452581
|
} else {
|
|
452717
|
-
t55 = $5[
|
|
452582
|
+
t55 = $5[167];
|
|
452718
452583
|
}
|
|
452719
452584
|
let t56;
|
|
452720
|
-
if ($5[
|
|
452585
|
+
if ($5[168] !== chat || $5[169] !== cwd2 || $5[170] !== handleInputSubmit || $5[171] !== hasChangedFiles || $5[172] !== isFocused || $5[173] !== onAcceptPlan || $5[174] !== onCancelPlan || $5[175] !== onClearAndImplementPlan || $5[176] !== onExit || $5[177] !== onRevisePlan || $5[178] !== showPlanProgress || $5[179] !== t2 || $5[180] !== tabId || $5[181] !== tasks) {
|
|
452721
452586
|
t56 = chat.pendingPlanReview ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
452722
452587
|
flexShrink: 0,
|
|
452723
452588
|
paddingX: 1,
|
|
@@ -452843,26 +452708,26 @@ var init_TabInstance = __esm(async () => {
|
|
|
452843
452708
|
}, undefined, false, undefined, this)
|
|
452844
452709
|
]
|
|
452845
452710
|
}, undefined, true, undefined, this);
|
|
452846
|
-
$5[
|
|
452847
|
-
$5[
|
|
452848
|
-
$5[
|
|
452849
|
-
$5[
|
|
452850
|
-
$5[
|
|
452851
|
-
$5[
|
|
452852
|
-
$5[
|
|
452853
|
-
$5[
|
|
452854
|
-
$5[
|
|
452855
|
-
$5[
|
|
452856
|
-
$5[
|
|
452857
|
-
$5[
|
|
452858
|
-
$5[
|
|
452859
|
-
$5[
|
|
452860
|
-
$5[
|
|
452711
|
+
$5[168] = chat;
|
|
452712
|
+
$5[169] = cwd2;
|
|
452713
|
+
$5[170] = handleInputSubmit;
|
|
452714
|
+
$5[171] = hasChangedFiles;
|
|
452715
|
+
$5[172] = isFocused;
|
|
452716
|
+
$5[173] = onAcceptPlan;
|
|
452717
|
+
$5[174] = onCancelPlan;
|
|
452718
|
+
$5[175] = onClearAndImplementPlan;
|
|
452719
|
+
$5[176] = onExit;
|
|
452720
|
+
$5[177] = onRevisePlan;
|
|
452721
|
+
$5[178] = showPlanProgress;
|
|
452722
|
+
$5[179] = t2;
|
|
452723
|
+
$5[180] = tabId;
|
|
452724
|
+
$5[181] = tasks;
|
|
452725
|
+
$5[182] = t56;
|
|
452861
452726
|
} else {
|
|
452862
|
-
t56 = $5[
|
|
452727
|
+
t56 = $5[182];
|
|
452863
452728
|
}
|
|
452864
452729
|
let t57;
|
|
452865
|
-
if ($5[
|
|
452730
|
+
if ($5[183] !== t49 || $5[184] !== t50 || $5[185] !== t51 || $5[186] !== t52 || $5[187] !== t55 || $5[188] !== t56 || $5[189] !== visible) {
|
|
452866
452731
|
t57 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
452867
452732
|
visible,
|
|
452868
452733
|
flexDirection: "column",
|
|
@@ -452875,16 +452740,16 @@ var init_TabInstance = __esm(async () => {
|
|
|
452875
452740
|
t56
|
|
452876
452741
|
]
|
|
452877
452742
|
}, undefined, true, undefined, this);
|
|
452878
|
-
$5[
|
|
452879
|
-
$5[
|
|
452880
|
-
$5[
|
|
452881
|
-
$5[
|
|
452882
|
-
$5[
|
|
452883
|
-
$5[
|
|
452884
|
-
$5[
|
|
452885
|
-
$5[
|
|
452743
|
+
$5[183] = t49;
|
|
452744
|
+
$5[184] = t50;
|
|
452745
|
+
$5[185] = t51;
|
|
452746
|
+
$5[186] = t52;
|
|
452747
|
+
$5[187] = t55;
|
|
452748
|
+
$5[188] = t56;
|
|
452749
|
+
$5[189] = visible;
|
|
452750
|
+
$5[190] = t57;
|
|
452886
452751
|
} else {
|
|
452887
|
-
t57 = $5[
|
|
452752
|
+
t57 = $5[190];
|
|
452888
452753
|
}
|
|
452889
452754
|
return t57;
|
|
452890
452755
|
});
|
|
@@ -456851,7 +456716,7 @@ ${cmd}`);
|
|
|
456851
456716
|
}
|
|
456852
456717
|
const cmds_0 = [];
|
|
456853
456718
|
for (const s_0 of missing) {
|
|
456854
|
-
const c_0 = getInstallCommands(s_0.prerequisite.name).find(
|
|
456719
|
+
const c_0 = getInstallCommands(s_0.prerequisite.name).find(_temp63);
|
|
456855
456720
|
if (c_0) {
|
|
456856
456721
|
cmds_0.push(c_0);
|
|
456857
456722
|
}
|
|
@@ -457415,7 +457280,7 @@ function _temp82(s_2) {
|
|
|
457415
457280
|
function _temp72(s_1) {
|
|
457416
457281
|
return s_1.installed;
|
|
457417
457282
|
}
|
|
457418
|
-
function
|
|
457283
|
+
function _temp63(l3) {
|
|
457419
457284
|
return !l3.startsWith("#") && l3.trim().length > 0;
|
|
457420
457285
|
}
|
|
457421
457286
|
function _temp510(s2) {
|
|
@@ -457465,7 +457330,7 @@ function WebSearchSettings(t0) {
|
|
|
457465
457330
|
const innerW = popupWidth - 2;
|
|
457466
457331
|
const maxVisible = Math.max(4, Math.floor((termRows - 2) * 0.8) - CHROME_ROWS6);
|
|
457467
457332
|
const t2 = useTheme();
|
|
457468
|
-
const keys2 = useWebSearchStore(
|
|
457333
|
+
const keys2 = useWebSearchStore(_temp64);
|
|
457469
457334
|
const refresh = useWebSearchStore(_temp221);
|
|
457470
457335
|
const [cursor, setCursor] = import_react69.useState(0);
|
|
457471
457336
|
const [mode, setMode] = import_react69.useState("menu");
|
|
@@ -458466,7 +458331,7 @@ function _temp320(v_0) {
|
|
|
458466
458331
|
function _temp221(s_0) {
|
|
458467
458332
|
return s_0.refresh;
|
|
458468
458333
|
}
|
|
458469
|
-
function
|
|
458334
|
+
function _temp64(s2) {
|
|
458470
458335
|
return s2.keys;
|
|
458471
458336
|
}
|
|
458472
458337
|
var import_compiler_runtime39, import_react69, MAX_POPUP_WIDTH4 = 72, CHROME_ROWS6 = 10, useWebSearchStore, KEY_ITEMS2;
|
|
@@ -458515,12 +458380,12 @@ function SimpleModalLayer(t0) {
|
|
|
458515
458380
|
messages,
|
|
458516
458381
|
onSystemMessage
|
|
458517
458382
|
} = t0;
|
|
458518
|
-
const modalHelpPopup = useUIStore(
|
|
458383
|
+
const modalHelpPopup = useUIStore(_temp66);
|
|
458519
458384
|
const modalWebSearchSettings = useUIStore(_temp222);
|
|
458520
458385
|
const modalApiKeySettings = useUIStore(_temp321);
|
|
458521
458386
|
const modalSetup = useUIStore(_temp414);
|
|
458522
458387
|
const modalErrorLog = useUIStore(_temp512);
|
|
458523
|
-
const modalLspStatus = useUIStore(
|
|
458388
|
+
const modalLspStatus = useUIStore(_temp65);
|
|
458524
458389
|
const modalCompactionLog = useUIStore(_temp73);
|
|
458525
458390
|
let t1;
|
|
458526
458391
|
if ($5[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -458681,7 +458546,7 @@ function SimpleModalLayer(t0) {
|
|
|
458681
458546
|
function _temp73(s_5) {
|
|
458682
458547
|
return s_5.modals.compactionLog;
|
|
458683
458548
|
}
|
|
458684
|
-
function
|
|
458549
|
+
function _temp65(s_4) {
|
|
458685
458550
|
return s_4.modals.lspStatus;
|
|
458686
458551
|
}
|
|
458687
458552
|
function _temp512(s_3) {
|
|
@@ -458696,7 +458561,7 @@ function _temp321(s_1) {
|
|
|
458696
458561
|
function _temp222(s_0) {
|
|
458697
458562
|
return s_0.modals.webSearchSettings;
|
|
458698
458563
|
}
|
|
458699
|
-
function
|
|
458564
|
+
function _temp66(s2) {
|
|
458700
458565
|
return s2.modals.helpPopup;
|
|
458701
458566
|
}
|
|
458702
458567
|
var import_compiler_runtime40, closerCache, getCloser = (name21) => closerCache[name21] ??= () => useUIStore.getState().closeModal(name21);
|
|
@@ -458851,7 +458716,7 @@ function CommandPalette(t0) {
|
|
|
458851
458716
|
} = usePopupScroll(maxVisible);
|
|
458852
458717
|
let t22;
|
|
458853
458718
|
if ($5[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
458854
|
-
t22 = getCommandDefs().filter(
|
|
458719
|
+
t22 = getCommandDefs().filter(_temp67);
|
|
458855
458720
|
$5[8] = t22;
|
|
458856
458721
|
} else {
|
|
458857
458722
|
t22 = $5[8];
|
|
@@ -459414,7 +459279,7 @@ function _temp322(q_0) {
|
|
|
459414
459279
|
function _temp223(q4) {
|
|
459415
459280
|
return q4.slice(0, -1);
|
|
459416
459281
|
}
|
|
459417
|
-
function
|
|
459282
|
+
function _temp67(d3) {
|
|
459418
459283
|
return !d3.hidden;
|
|
459419
459284
|
}
|
|
459420
459285
|
function renderHighlightedCmd(cmd, indices, baseFg, hlFg, bg2, bold2) {
|
|
@@ -460363,7 +460228,7 @@ function DiagnosePopup(t0) {
|
|
|
460363
460228
|
return;
|
|
460364
460229
|
}
|
|
460365
460230
|
if (evt.name === "up") {
|
|
460366
|
-
setScrollOffset(
|
|
460231
|
+
setScrollOffset(_temp68);
|
|
460367
460232
|
return;
|
|
460368
460233
|
}
|
|
460369
460234
|
if (evt.name === "down") {
|
|
@@ -460701,7 +460566,7 @@ function DiagnosePopup(t0) {
|
|
|
460701
460566
|
}
|
|
460702
460567
|
return t30;
|
|
460703
460568
|
}
|
|
460704
|
-
function
|
|
460569
|
+
function _temp68(prev) {
|
|
460705
460570
|
return Math.max(0, prev - 1);
|
|
460706
460571
|
}
|
|
460707
460572
|
var import_compiler_runtime42, import_react75, CHROME_ROWS9 = 6, SPINNER;
|
|
@@ -460885,7 +460750,7 @@ var init_FooterNav = __esm(() => {
|
|
|
460885
460750
|
if ($5[0] !== t2.textDim) {
|
|
460886
460751
|
t22 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
460887
460752
|
fg: t2.textDim,
|
|
460888
|
-
children: " \u2502 esc
|
|
460753
|
+
children: " \u2502 esc close"
|
|
460889
460754
|
}, undefined, false, undefined, this);
|
|
460890
460755
|
$5[0] = t2.textDim;
|
|
460891
460756
|
$5[1] = t22;
|
|
@@ -461025,11 +460890,11 @@ var init_ProgressBar = __esm(() => {
|
|
|
461025
460890
|
});
|
|
461026
460891
|
|
|
461027
460892
|
// src/components/modals/wizard/theme.ts
|
|
461028
|
-
var
|
|
460893
|
+
var BOLD4, ITALIC3;
|
|
461029
460894
|
var init_theme2 = __esm(async () => {
|
|
461030
460895
|
await init_core4();
|
|
461031
|
-
|
|
461032
|
-
|
|
460896
|
+
BOLD4 = TextAttributes.BOLD;
|
|
460897
|
+
ITALIC3 = TextAttributes.ITALIC;
|
|
461033
460898
|
});
|
|
461034
460899
|
|
|
461035
460900
|
// src/components/modals/wizard/primitives.tsx
|
|
@@ -461136,7 +461001,7 @@ var init_primitives = __esm(async () => {
|
|
|
461136
461001
|
if ($5[0] !== bg2 || $5[1] !== ic || $5[2] !== t2.brand) {
|
|
461137
461002
|
t1 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
461138
461003
|
fg: t2.brand,
|
|
461139
|
-
attributes:
|
|
461004
|
+
attributes: BOLD4,
|
|
461140
461005
|
bg: bg2,
|
|
461141
461006
|
children: ic
|
|
461142
461007
|
}, undefined, false, undefined, this);
|
|
@@ -461151,7 +461016,7 @@ var init_primitives = __esm(async () => {
|
|
|
461151
461016
|
if ($5[4] !== bg2 || $5[5] !== t2.textPrimary || $5[6] !== title) {
|
|
461152
461017
|
t22 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
461153
461018
|
fg: t2.textPrimary,
|
|
461154
|
-
attributes:
|
|
461019
|
+
attributes: BOLD4,
|
|
461155
461020
|
bg: bg2,
|
|
461156
461021
|
children: [
|
|
461157
461022
|
" ",
|
|
@@ -461197,7 +461062,7 @@ var init_primitives = __esm(async () => {
|
|
|
461197
461062
|
if ($5[0] !== bg2 || $5[1] !== label || $5[2] !== t2.textMuted) {
|
|
461198
461063
|
t1 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
461199
461064
|
fg: t2.textMuted,
|
|
461200
|
-
attributes:
|
|
461065
|
+
attributes: BOLD4,
|
|
461201
461066
|
bg: bg2,
|
|
461202
461067
|
children: label
|
|
461203
461068
|
}, undefined, false, undefined, this);
|
|
@@ -461257,7 +461122,7 @@ var init_primitives = __esm(async () => {
|
|
|
461257
461122
|
if ($5[4] !== bg2 || $5[5] !== t2.textPrimary || $5[6] !== title) {
|
|
461258
461123
|
t22 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
461259
461124
|
fg: t2.textPrimary,
|
|
461260
|
-
attributes:
|
|
461125
|
+
attributes: BOLD4,
|
|
461261
461126
|
bg: bg2,
|
|
461262
461127
|
children: title
|
|
461263
461128
|
}, undefined, false, undefined, this);
|
|
@@ -461437,7 +461302,7 @@ var init_IntelligenceStep = __esm(async () => {
|
|
|
461437
461302
|
}, undefined, true, undefined, this),
|
|
461438
461303
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
461439
461304
|
fg: t2.textPrimary,
|
|
461440
|
-
attributes:
|
|
461305
|
+
attributes: BOLD4,
|
|
461441
461306
|
bg: bg2,
|
|
461442
461307
|
children: item.title
|
|
461443
461308
|
}, undefined, false, undefined, this),
|
|
@@ -461724,7 +461589,7 @@ var init_ReadyStep = __esm(async () => {
|
|
|
461724
461589
|
if ($5[38] !== t2.brandSecondary) {
|
|
461725
461590
|
t17 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
461726
461591
|
fg: t2.brandSecondary,
|
|
461727
|
-
attributes:
|
|
461592
|
+
attributes: ITALIC3,
|
|
461728
461593
|
children: "speak to the forge..."
|
|
461729
461594
|
}, undefined, false, undefined, this);
|
|
461730
461595
|
$5[38] = t2.brandSecondary;
|
|
@@ -461890,7 +461755,7 @@ function getStatusLabel(id) {
|
|
|
461890
461755
|
return parts2.join(" ");
|
|
461891
461756
|
}
|
|
461892
461757
|
function SetupStep(t0) {
|
|
461893
|
-
const $5 = import_compiler_runtime48.c(
|
|
461758
|
+
const $5 = import_compiler_runtime48.c(166);
|
|
461894
461759
|
const {
|
|
461895
461760
|
iw,
|
|
461896
461761
|
hasModel,
|
|
@@ -461898,6 +461763,14 @@ function SetupStep(t0) {
|
|
|
461898
461763
|
onSelectModel,
|
|
461899
461764
|
setActive
|
|
461900
461765
|
} = t0;
|
|
461766
|
+
let t1;
|
|
461767
|
+
if ($5[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
461768
|
+
t1 = PROVIDERS.some(_temp69);
|
|
461769
|
+
$5[0] = t1;
|
|
461770
|
+
} else {
|
|
461771
|
+
t1 = $5[0];
|
|
461772
|
+
}
|
|
461773
|
+
const anyKeySet = t1;
|
|
461901
461774
|
const t2 = useTheme();
|
|
461902
461775
|
const {
|
|
461903
461776
|
bg: popupBg,
|
|
@@ -461910,53 +461783,53 @@ function SetupStep(t0) {
|
|
|
461910
461783
|
const [flash, setFlash] = import_react82.useState(null);
|
|
461911
461784
|
const [selectedProvider, setSelectedProvider] = import_react82.useState(null);
|
|
461912
461785
|
const [, setTick] = import_react82.useState(0);
|
|
461913
|
-
let
|
|
461914
|
-
if ($5[
|
|
461915
|
-
|
|
461916
|
-
$5[
|
|
461917
|
-
$5[
|
|
461786
|
+
let t22;
|
|
461787
|
+
if ($5[1] !== setTick) {
|
|
461788
|
+
t22 = () => setTick(_temp224);
|
|
461789
|
+
$5[1] = setTick;
|
|
461790
|
+
$5[2] = t22;
|
|
461918
461791
|
} else {
|
|
461919
|
-
|
|
461792
|
+
t22 = $5[2];
|
|
461920
461793
|
}
|
|
461921
|
-
const refresh =
|
|
461922
|
-
let t22;
|
|
461794
|
+
const refresh = t22;
|
|
461923
461795
|
let t3;
|
|
461924
|
-
|
|
461925
|
-
|
|
461796
|
+
let t4;
|
|
461797
|
+
if ($5[3] !== phase || $5[4] !== setActive) {
|
|
461798
|
+
t3 = () => {
|
|
461926
461799
|
setActive(phase === "key");
|
|
461927
461800
|
};
|
|
461928
|
-
|
|
461929
|
-
$5[
|
|
461930
|
-
$5[
|
|
461931
|
-
$5[4] = t22;
|
|
461801
|
+
t4 = [phase, setActive];
|
|
461802
|
+
$5[3] = phase;
|
|
461803
|
+
$5[4] = setActive;
|
|
461932
461804
|
$5[5] = t3;
|
|
461805
|
+
$5[6] = t4;
|
|
461933
461806
|
} else {
|
|
461934
|
-
t22 = $5[4];
|
|
461935
461807
|
t3 = $5[5];
|
|
461808
|
+
t4 = $5[6];
|
|
461936
461809
|
}
|
|
461937
|
-
import_react82.useEffect(
|
|
461938
|
-
let t4;
|
|
461810
|
+
import_react82.useEffect(t3, t4);
|
|
461939
461811
|
let t5;
|
|
461940
|
-
|
|
461941
|
-
|
|
461812
|
+
let t6;
|
|
461813
|
+
if ($5[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
461814
|
+
t5 = () => {
|
|
461942
461815
|
setPhase("provider");
|
|
461943
461816
|
setCursor(0);
|
|
461944
461817
|
setInputValue("");
|
|
461945
461818
|
setFlash(null);
|
|
461946
461819
|
setSelectedProvider(null);
|
|
461947
461820
|
};
|
|
461948
|
-
|
|
461949
|
-
$5[6] = t4;
|
|
461821
|
+
t6 = [];
|
|
461950
461822
|
$5[7] = t5;
|
|
461823
|
+
$5[8] = t6;
|
|
461951
461824
|
} else {
|
|
461952
|
-
t4 = $5[6];
|
|
461953
461825
|
t5 = $5[7];
|
|
461826
|
+
t6 = $5[8];
|
|
461954
461827
|
}
|
|
461955
|
-
import_react82.useEffect(
|
|
461956
|
-
let t6;
|
|
461828
|
+
import_react82.useEffect(t5, t6);
|
|
461957
461829
|
let t7;
|
|
461958
|
-
|
|
461959
|
-
|
|
461830
|
+
let t8;
|
|
461831
|
+
if ($5[9] !== phase || $5[10] !== renderer2) {
|
|
461832
|
+
t7 = () => {
|
|
461960
461833
|
if (phase !== "key") {
|
|
461961
461834
|
return;
|
|
461962
461835
|
}
|
|
@@ -461971,19 +461844,19 @@ function SetupStep(t0) {
|
|
|
461971
461844
|
renderer2.keyInput.off("paste", handler4);
|
|
461972
461845
|
};
|
|
461973
461846
|
};
|
|
461974
|
-
|
|
461975
|
-
$5[
|
|
461976
|
-
$5[
|
|
461977
|
-
$5[10] = t6;
|
|
461847
|
+
t8 = [phase, renderer2];
|
|
461848
|
+
$5[9] = phase;
|
|
461849
|
+
$5[10] = renderer2;
|
|
461978
461850
|
$5[11] = t7;
|
|
461851
|
+
$5[12] = t8;
|
|
461979
461852
|
} else {
|
|
461980
|
-
t6 = $5[10];
|
|
461981
461853
|
t7 = $5[11];
|
|
461854
|
+
t8 = $5[12];
|
|
461982
461855
|
}
|
|
461983
|
-
import_react82.useEffect(
|
|
461984
|
-
let
|
|
461985
|
-
if ($5[
|
|
461986
|
-
|
|
461856
|
+
import_react82.useEffect(t7, t8);
|
|
461857
|
+
let t9;
|
|
461858
|
+
if ($5[13] !== cursor || $5[14] !== inputValue || $5[15] !== onSelectModel || $5[16] !== phase || $5[17] !== refresh || $5[18] !== selectedProvider) {
|
|
461859
|
+
t9 = (evt) => {
|
|
461987
461860
|
if (phase === "key") {
|
|
461988
461861
|
if (evt.name === "escape") {
|
|
461989
461862
|
setPhase("provider");
|
|
@@ -462004,7 +461877,7 @@ function SetupStep(t0) {
|
|
|
462004
461877
|
return;
|
|
462005
461878
|
}
|
|
462006
461879
|
if (evt.name === "backspace") {
|
|
462007
|
-
setInputValue(
|
|
461880
|
+
setInputValue(_temp323);
|
|
462008
461881
|
return;
|
|
462009
461882
|
}
|
|
462010
461883
|
if (evt.sequence && evt.sequence.length === 1 && !evt.ctrl && !evt.meta) {
|
|
@@ -462013,11 +461886,11 @@ function SetupStep(t0) {
|
|
|
462013
461886
|
return;
|
|
462014
461887
|
}
|
|
462015
461888
|
if (evt.name === "up") {
|
|
462016
|
-
setCursor(
|
|
461889
|
+
setCursor(_temp415);
|
|
462017
461890
|
return;
|
|
462018
461891
|
}
|
|
462019
461892
|
if (evt.name === "down") {
|
|
462020
|
-
setCursor(
|
|
461893
|
+
setCursor(_temp513);
|
|
462021
461894
|
return;
|
|
462022
461895
|
}
|
|
462023
461896
|
if (evt.name === "return") {
|
|
@@ -462034,233 +461907,233 @@ function SetupStep(t0) {
|
|
|
462034
461907
|
}
|
|
462035
461908
|
}
|
|
462036
461909
|
};
|
|
462037
|
-
$5[
|
|
462038
|
-
$5[
|
|
462039
|
-
$5[
|
|
462040
|
-
$5[
|
|
462041
|
-
$5[
|
|
462042
|
-
$5[
|
|
462043
|
-
$5[
|
|
461910
|
+
$5[13] = cursor;
|
|
461911
|
+
$5[14] = inputValue;
|
|
461912
|
+
$5[15] = onSelectModel;
|
|
461913
|
+
$5[16] = phase;
|
|
461914
|
+
$5[17] = refresh;
|
|
461915
|
+
$5[18] = selectedProvider;
|
|
461916
|
+
$5[19] = t9;
|
|
462044
461917
|
} else {
|
|
462045
|
-
|
|
461918
|
+
t9 = $5[19];
|
|
462046
461919
|
}
|
|
462047
|
-
useKeyboard(
|
|
461920
|
+
useKeyboard(t9);
|
|
462048
461921
|
const selected = PROVIDERS[cursor];
|
|
462049
|
-
let
|
|
462050
|
-
if ($5[
|
|
462051
|
-
|
|
462052
|
-
$5[
|
|
462053
|
-
$5[
|
|
461922
|
+
let t10;
|
|
461923
|
+
if ($5[20] !== inputValue) {
|
|
461924
|
+
t10 = inputValue.length > 0 ? `${"*".repeat(Math.max(0, inputValue.length - 4))}${inputValue.slice(-4)}` : "";
|
|
461925
|
+
$5[20] = inputValue;
|
|
461926
|
+
$5[21] = t10;
|
|
462054
461927
|
} else {
|
|
462055
|
-
|
|
461928
|
+
t10 = $5[21];
|
|
462056
461929
|
}
|
|
462057
|
-
const masked =
|
|
461930
|
+
const masked = t10;
|
|
462058
461931
|
if (phase === "key" && selectedProvider) {
|
|
462059
|
-
let
|
|
462060
|
-
if ($5[
|
|
462061
|
-
|
|
461932
|
+
let t112;
|
|
461933
|
+
if ($5[22] !== iw) {
|
|
461934
|
+
t112 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462062
461935
|
iw
|
|
462063
461936
|
}, undefined, false, undefined, this);
|
|
462064
|
-
$5[
|
|
462065
|
-
$5[
|
|
461937
|
+
$5[22] = iw;
|
|
461938
|
+
$5[23] = t112;
|
|
462066
461939
|
} else {
|
|
462067
|
-
|
|
461940
|
+
t112 = $5[23];
|
|
462068
461941
|
}
|
|
462069
|
-
const
|
|
462070
|
-
let
|
|
462071
|
-
if ($5[
|
|
462072
|
-
|
|
461942
|
+
const t122 = `Set ${selectedProvider.label} Key`;
|
|
461943
|
+
let t132;
|
|
461944
|
+
if ($5[24] !== iw || $5[25] !== t122) {
|
|
461945
|
+
t132 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(StepHeader, {
|
|
462073
461946
|
iw,
|
|
462074
461947
|
ic: "\u26BF",
|
|
462075
|
-
title:
|
|
461948
|
+
title: t122
|
|
462076
461949
|
}, undefined, false, undefined, this);
|
|
462077
|
-
$5[
|
|
462078
|
-
$5[24] = t112;
|
|
461950
|
+
$5[24] = iw;
|
|
462079
461951
|
$5[25] = t122;
|
|
461952
|
+
$5[26] = t132;
|
|
462080
461953
|
} else {
|
|
462081
|
-
|
|
461954
|
+
t132 = $5[26];
|
|
462082
461955
|
}
|
|
462083
|
-
let
|
|
462084
|
-
if ($5[
|
|
462085
|
-
|
|
461956
|
+
let t142;
|
|
461957
|
+
if ($5[27] !== iw) {
|
|
461958
|
+
t142 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462086
461959
|
iw
|
|
462087
461960
|
}, undefined, false, undefined, this);
|
|
462088
|
-
$5[
|
|
462089
|
-
$5[
|
|
461961
|
+
$5[27] = iw;
|
|
461962
|
+
$5[28] = t142;
|
|
462090
461963
|
} else {
|
|
462091
|
-
|
|
461964
|
+
t142 = $5[28];
|
|
462092
461965
|
}
|
|
462093
|
-
let
|
|
462094
|
-
if ($5[
|
|
462095
|
-
|
|
461966
|
+
let t152;
|
|
461967
|
+
if ($5[29] !== popupBg || $5[30] !== t2.textSecondary) {
|
|
461968
|
+
t152 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462096
461969
|
fg: t2.textSecondary,
|
|
462097
461970
|
bg: popupBg,
|
|
462098
461971
|
children: " Get your key at "
|
|
462099
461972
|
}, undefined, false, undefined, this);
|
|
462100
|
-
$5[
|
|
462101
|
-
$5[
|
|
462102
|
-
$5[
|
|
461973
|
+
$5[29] = popupBg;
|
|
461974
|
+
$5[30] = t2.textSecondary;
|
|
461975
|
+
$5[31] = t152;
|
|
462103
461976
|
} else {
|
|
462104
|
-
|
|
461977
|
+
t152 = $5[31];
|
|
462105
461978
|
}
|
|
462106
|
-
const
|
|
462107
|
-
const
|
|
462108
|
-
let
|
|
462109
|
-
if ($5[
|
|
462110
|
-
|
|
462111
|
-
$5[
|
|
462112
|
-
$5[
|
|
461979
|
+
const t162 = selectedProvider.url;
|
|
461980
|
+
const t172 = t2.info;
|
|
461981
|
+
let t182;
|
|
461982
|
+
if ($5[32] !== selectedProvider.url) {
|
|
461983
|
+
t182 = selectedProvider.url.replace("https://", "");
|
|
461984
|
+
$5[32] = selectedProvider.url;
|
|
461985
|
+
$5[33] = t182;
|
|
462113
461986
|
} else {
|
|
462114
|
-
|
|
461987
|
+
t182 = $5[33];
|
|
462115
461988
|
}
|
|
462116
|
-
let
|
|
462117
|
-
if ($5[
|
|
462118
|
-
|
|
462119
|
-
fg:
|
|
461989
|
+
let t192;
|
|
461990
|
+
if ($5[34] !== t2.info || $5[35] !== t182) {
|
|
461991
|
+
t192 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
461992
|
+
fg: t172,
|
|
462120
461993
|
attributes: TextAttributes.UNDERLINE,
|
|
462121
|
-
children:
|
|
461994
|
+
children: t182
|
|
462122
461995
|
}, undefined, false, undefined, this);
|
|
462123
|
-
$5[
|
|
462124
|
-
$5[34] = t172;
|
|
461996
|
+
$5[34] = t2.info;
|
|
462125
461997
|
$5[35] = t182;
|
|
461998
|
+
$5[36] = t192;
|
|
462126
461999
|
} else {
|
|
462127
|
-
|
|
462000
|
+
t192 = $5[36];
|
|
462128
462001
|
}
|
|
462129
|
-
let
|
|
462130
|
-
if ($5[
|
|
462131
|
-
|
|
462132
|
-
href:
|
|
462133
|
-
children:
|
|
462002
|
+
let t202;
|
|
462003
|
+
if ($5[37] !== selectedProvider.url || $5[38] !== t192) {
|
|
462004
|
+
t202 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("a", {
|
|
462005
|
+
href: t162,
|
|
462006
|
+
children: t192
|
|
462134
462007
|
}, undefined, false, undefined, this);
|
|
462135
|
-
$5[
|
|
462136
|
-
$5[37] = t182;
|
|
462008
|
+
$5[37] = selectedProvider.url;
|
|
462137
462009
|
$5[38] = t192;
|
|
462010
|
+
$5[39] = t202;
|
|
462138
462011
|
} else {
|
|
462139
|
-
|
|
462012
|
+
t202 = $5[39];
|
|
462140
462013
|
}
|
|
462141
|
-
let
|
|
462142
|
-
if ($5[
|
|
462143
|
-
|
|
462014
|
+
let t212;
|
|
462015
|
+
if ($5[40] !== popupBg || $5[41] !== t202) {
|
|
462016
|
+
t212 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462144
462017
|
bg: popupBg,
|
|
462145
|
-
children:
|
|
462018
|
+
children: t202
|
|
462146
462019
|
}, undefined, false, undefined, this);
|
|
462147
|
-
$5[
|
|
462148
|
-
$5[40] = t192;
|
|
462020
|
+
$5[40] = popupBg;
|
|
462149
462021
|
$5[41] = t202;
|
|
462022
|
+
$5[42] = t212;
|
|
462150
462023
|
} else {
|
|
462151
|
-
|
|
462024
|
+
t212 = $5[42];
|
|
462152
462025
|
}
|
|
462153
|
-
let
|
|
462154
|
-
if ($5[
|
|
462155
|
-
|
|
462026
|
+
let t223;
|
|
462027
|
+
if ($5[43] !== iw || $5[44] !== t152 || $5[45] !== t212) {
|
|
462028
|
+
t223 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462156
462029
|
w: iw,
|
|
462157
462030
|
children: [
|
|
462158
|
-
|
|
462159
|
-
|
|
462031
|
+
t152,
|
|
462032
|
+
t212
|
|
462160
462033
|
]
|
|
462161
462034
|
}, undefined, true, undefined, this);
|
|
462162
|
-
$5[
|
|
462163
|
-
$5[
|
|
462164
|
-
$5[44] = t202;
|
|
462035
|
+
$5[43] = iw;
|
|
462036
|
+
$5[44] = t152;
|
|
462165
462037
|
$5[45] = t212;
|
|
462038
|
+
$5[46] = t223;
|
|
462166
462039
|
} else {
|
|
462167
|
-
|
|
462040
|
+
t223 = $5[46];
|
|
462168
462041
|
}
|
|
462169
|
-
let
|
|
462170
|
-
if ($5[
|
|
462171
|
-
|
|
462042
|
+
let t232;
|
|
462043
|
+
if ($5[47] !== iw) {
|
|
462044
|
+
t232 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462172
462045
|
iw
|
|
462173
462046
|
}, undefined, false, undefined, this);
|
|
462174
|
-
$5[
|
|
462175
|
-
$5[
|
|
462047
|
+
$5[47] = iw;
|
|
462048
|
+
$5[48] = t232;
|
|
462176
462049
|
} else {
|
|
462177
|
-
|
|
462050
|
+
t232 = $5[48];
|
|
462178
462051
|
}
|
|
462179
|
-
let
|
|
462180
|
-
if ($5[
|
|
462181
|
-
|
|
462052
|
+
let t242;
|
|
462053
|
+
if ($5[49] !== popupBg || $5[50] !== t2.textMuted) {
|
|
462054
|
+
t242 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462182
462055
|
fg: t2.textMuted,
|
|
462183
462056
|
bg: popupBg,
|
|
462184
462057
|
children: " Paste your key:"
|
|
462185
462058
|
}, undefined, false, undefined, this);
|
|
462186
|
-
$5[
|
|
462187
|
-
$5[
|
|
462188
|
-
$5[
|
|
462059
|
+
$5[49] = popupBg;
|
|
462060
|
+
$5[50] = t2.textMuted;
|
|
462061
|
+
$5[51] = t242;
|
|
462189
462062
|
} else {
|
|
462190
|
-
|
|
462063
|
+
t242 = $5[51];
|
|
462191
462064
|
}
|
|
462192
|
-
let
|
|
462193
|
-
if ($5[
|
|
462194
|
-
|
|
462065
|
+
let t252;
|
|
462066
|
+
if ($5[52] !== iw || $5[53] !== t242) {
|
|
462067
|
+
t252 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462195
462068
|
w: iw,
|
|
462196
|
-
children:
|
|
462069
|
+
children: t242
|
|
462197
462070
|
}, undefined, false, undefined, this);
|
|
462198
|
-
$5[
|
|
462199
|
-
$5[52] = t232;
|
|
462071
|
+
$5[52] = iw;
|
|
462200
462072
|
$5[53] = t242;
|
|
462073
|
+
$5[54] = t252;
|
|
462201
462074
|
} else {
|
|
462202
|
-
|
|
462075
|
+
t252 = $5[54];
|
|
462203
462076
|
}
|
|
462204
|
-
const
|
|
462205
|
-
let
|
|
462206
|
-
if ($5[
|
|
462207
|
-
|
|
462077
|
+
const t262 = masked || " ";
|
|
462078
|
+
let t272;
|
|
462079
|
+
if ($5[55] !== popupHl || $5[56] !== t2.info || $5[57] !== t262) {
|
|
462080
|
+
t272 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462208
462081
|
bg: popupHl,
|
|
462209
462082
|
fg: t2.info,
|
|
462210
462083
|
children: [
|
|
462211
462084
|
" ",
|
|
462212
|
-
|
|
462085
|
+
t262
|
|
462213
462086
|
]
|
|
462214
462087
|
}, undefined, true, undefined, this);
|
|
462215
|
-
$5[
|
|
462216
|
-
$5[
|
|
462217
|
-
$5[56] = t252;
|
|
462088
|
+
$5[55] = popupHl;
|
|
462089
|
+
$5[56] = t2.info;
|
|
462218
462090
|
$5[57] = t262;
|
|
462091
|
+
$5[58] = t272;
|
|
462219
462092
|
} else {
|
|
462220
|
-
|
|
462093
|
+
t272 = $5[58];
|
|
462221
462094
|
}
|
|
462222
|
-
let
|
|
462223
|
-
if ($5[
|
|
462224
|
-
|
|
462095
|
+
let t282;
|
|
462096
|
+
if ($5[59] !== popupHl || $5[60] !== t2.brandSecondary) {
|
|
462097
|
+
t282 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462225
462098
|
bg: popupHl,
|
|
462226
462099
|
fg: t2.brandSecondary,
|
|
462227
462100
|
children: "_"
|
|
462228
462101
|
}, undefined, false, undefined, this);
|
|
462229
|
-
$5[
|
|
462230
|
-
$5[
|
|
462231
|
-
$5[
|
|
462102
|
+
$5[59] = popupHl;
|
|
462103
|
+
$5[60] = t2.brandSecondary;
|
|
462104
|
+
$5[61] = t282;
|
|
462232
462105
|
} else {
|
|
462233
|
-
|
|
462106
|
+
t282 = $5[61];
|
|
462234
462107
|
}
|
|
462235
|
-
let
|
|
462236
|
-
if ($5[
|
|
462237
|
-
|
|
462108
|
+
let t292;
|
|
462109
|
+
if ($5[62] !== iw || $5[63] !== t272 || $5[64] !== t282) {
|
|
462110
|
+
t292 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462238
462111
|
w: iw,
|
|
462239
462112
|
children: [
|
|
462240
|
-
|
|
462241
|
-
|
|
462113
|
+
t272,
|
|
462114
|
+
t282
|
|
462242
462115
|
]
|
|
462243
462116
|
}, undefined, true, undefined, this);
|
|
462244
|
-
$5[
|
|
462245
|
-
$5[62] = t262;
|
|
462117
|
+
$5[62] = iw;
|
|
462246
462118
|
$5[63] = t272;
|
|
462247
462119
|
$5[64] = t282;
|
|
462120
|
+
$5[65] = t292;
|
|
462248
462121
|
} else {
|
|
462249
|
-
|
|
462122
|
+
t292 = $5[65];
|
|
462250
462123
|
}
|
|
462251
|
-
let
|
|
462252
|
-
if ($5[
|
|
462253
|
-
|
|
462124
|
+
let t302;
|
|
462125
|
+
if ($5[66] !== iw) {
|
|
462126
|
+
t302 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462254
462127
|
iw
|
|
462255
462128
|
}, undefined, false, undefined, this);
|
|
462256
|
-
$5[
|
|
462257
|
-
$5[
|
|
462129
|
+
$5[66] = iw;
|
|
462130
|
+
$5[67] = t302;
|
|
462258
462131
|
} else {
|
|
462259
|
-
|
|
462132
|
+
t302 = $5[67];
|
|
462260
462133
|
}
|
|
462261
|
-
let
|
|
462262
|
-
if ($5[
|
|
462263
|
-
|
|
462134
|
+
let t31;
|
|
462135
|
+
if ($5[68] !== popupBg || $5[69] !== selectedProvider.envVar || $5[70] !== t2.textFaint) {
|
|
462136
|
+
t31 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462264
462137
|
fg: t2.textFaint,
|
|
462265
462138
|
bg: popupBg,
|
|
462266
462139
|
children: [
|
|
@@ -462268,120 +462141,120 @@ function SetupStep(t0) {
|
|
|
462268
462141
|
selectedProvider.envVar
|
|
462269
462142
|
]
|
|
462270
462143
|
}, undefined, true, undefined, this);
|
|
462271
|
-
$5[
|
|
462272
|
-
$5[
|
|
462273
|
-
$5[
|
|
462274
|
-
$5[
|
|
462144
|
+
$5[68] = popupBg;
|
|
462145
|
+
$5[69] = selectedProvider.envVar;
|
|
462146
|
+
$5[70] = t2.textFaint;
|
|
462147
|
+
$5[71] = t31;
|
|
462275
462148
|
} else {
|
|
462276
|
-
|
|
462149
|
+
t31 = $5[71];
|
|
462277
462150
|
}
|
|
462278
|
-
let
|
|
462279
|
-
if ($5[
|
|
462280
|
-
|
|
462151
|
+
let t32;
|
|
462152
|
+
if ($5[72] !== iw || $5[73] !== t31) {
|
|
462153
|
+
t32 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462281
462154
|
w: iw,
|
|
462282
|
-
children:
|
|
462155
|
+
children: t31
|
|
462283
462156
|
}, undefined, false, undefined, this);
|
|
462284
|
-
$5[
|
|
462285
|
-
$5[72] = t30;
|
|
462157
|
+
$5[72] = iw;
|
|
462286
462158
|
$5[73] = t31;
|
|
462159
|
+
$5[74] = t32;
|
|
462287
462160
|
} else {
|
|
462288
|
-
|
|
462161
|
+
t32 = $5[74];
|
|
462289
462162
|
}
|
|
462290
|
-
let
|
|
462291
|
-
if ($5[
|
|
462292
|
-
|
|
462163
|
+
let t33;
|
|
462164
|
+
if ($5[75] !== t112 || $5[76] !== t132 || $5[77] !== t142 || $5[78] !== t223 || $5[79] !== t232 || $5[80] !== t252 || $5[81] !== t292 || $5[82] !== t302 || $5[83] !== t32) {
|
|
462165
|
+
t33 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
462293
462166
|
children: [
|
|
462294
|
-
|
|
462295
|
-
t122,
|
|
462167
|
+
t112,
|
|
462296
462168
|
t132,
|
|
462297
|
-
|
|
462169
|
+
t142,
|
|
462298
462170
|
t223,
|
|
462299
|
-
|
|
462300
|
-
|
|
462301
|
-
|
|
462302
|
-
|
|
462171
|
+
t232,
|
|
462172
|
+
t252,
|
|
462173
|
+
t292,
|
|
462174
|
+
t302,
|
|
462175
|
+
t32
|
|
462303
462176
|
]
|
|
462304
462177
|
}, undefined, true, undefined, this);
|
|
462305
|
-
$5[
|
|
462306
|
-
$5[75] = t122;
|
|
462178
|
+
$5[75] = t112;
|
|
462307
462179
|
$5[76] = t132;
|
|
462308
|
-
$5[77] =
|
|
462180
|
+
$5[77] = t142;
|
|
462309
462181
|
$5[78] = t223;
|
|
462310
|
-
$5[79] =
|
|
462311
|
-
$5[80] =
|
|
462312
|
-
$5[81] =
|
|
462313
|
-
$5[82] =
|
|
462182
|
+
$5[79] = t232;
|
|
462183
|
+
$5[80] = t252;
|
|
462184
|
+
$5[81] = t292;
|
|
462185
|
+
$5[82] = t302;
|
|
462314
462186
|
$5[83] = t32;
|
|
462187
|
+
$5[84] = t33;
|
|
462315
462188
|
} else {
|
|
462316
|
-
|
|
462189
|
+
t33 = $5[84];
|
|
462317
462190
|
}
|
|
462318
|
-
return
|
|
462191
|
+
return t33;
|
|
462319
462192
|
}
|
|
462320
|
-
let t10;
|
|
462321
462193
|
let t11;
|
|
462322
462194
|
let t12;
|
|
462323
|
-
|
|
462324
|
-
|
|
462195
|
+
let t13;
|
|
462196
|
+
if ($5[85] !== iw) {
|
|
462197
|
+
t11 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462325
462198
|
iw
|
|
462326
462199
|
}, undefined, false, undefined, this);
|
|
462327
|
-
|
|
462200
|
+
t12 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(StepHeader, {
|
|
462328
462201
|
iw,
|
|
462329
462202
|
ic: "\u25C8",
|
|
462330
462203
|
title: "Choose a Provider"
|
|
462331
462204
|
}, undefined, false, undefined, this);
|
|
462332
|
-
|
|
462205
|
+
t13 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462333
462206
|
iw
|
|
462334
462207
|
}, undefined, false, undefined, this);
|
|
462335
|
-
$5[
|
|
462336
|
-
$5[85] = t10;
|
|
462208
|
+
$5[85] = iw;
|
|
462337
462209
|
$5[86] = t11;
|
|
462338
462210
|
$5[87] = t12;
|
|
462211
|
+
$5[88] = t13;
|
|
462339
462212
|
} else {
|
|
462340
|
-
t10 = $5[85];
|
|
462341
462213
|
t11 = $5[86];
|
|
462342
462214
|
t12 = $5[87];
|
|
462215
|
+
t13 = $5[88];
|
|
462343
462216
|
}
|
|
462344
|
-
let
|
|
462345
|
-
if ($5[
|
|
462346
|
-
|
|
462217
|
+
let t14;
|
|
462218
|
+
if ($5[89] !== popupBg || $5[90] !== t2.textSecondary) {
|
|
462219
|
+
t14 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462347
462220
|
fg: t2.textSecondary,
|
|
462348
462221
|
bg: popupBg,
|
|
462349
462222
|
children: " Select a provider and press \u23CE to set a key."
|
|
462350
462223
|
}, undefined, false, undefined, this);
|
|
462351
|
-
$5[
|
|
462352
|
-
$5[
|
|
462353
|
-
$5[
|
|
462224
|
+
$5[89] = popupBg;
|
|
462225
|
+
$5[90] = t2.textSecondary;
|
|
462226
|
+
$5[91] = t14;
|
|
462354
462227
|
} else {
|
|
462355
|
-
|
|
462228
|
+
t14 = $5[91];
|
|
462356
462229
|
}
|
|
462357
|
-
let
|
|
462358
|
-
if ($5[
|
|
462359
|
-
|
|
462230
|
+
let t15;
|
|
462231
|
+
if ($5[92] !== iw || $5[93] !== t14) {
|
|
462232
|
+
t15 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462360
462233
|
w: iw,
|
|
462361
|
-
children:
|
|
462234
|
+
children: t14
|
|
462362
462235
|
}, undefined, false, undefined, this);
|
|
462363
|
-
$5[
|
|
462364
|
-
$5[92] = t13;
|
|
462236
|
+
$5[92] = iw;
|
|
462365
462237
|
$5[93] = t14;
|
|
462238
|
+
$5[94] = t15;
|
|
462366
462239
|
} else {
|
|
462367
|
-
|
|
462240
|
+
t15 = $5[94];
|
|
462368
462241
|
}
|
|
462369
|
-
let
|
|
462370
|
-
if ($5[
|
|
462371
|
-
|
|
462242
|
+
let t16;
|
|
462243
|
+
if ($5[95] !== popupBg || $5[96] !== t2.textSecondary) {
|
|
462244
|
+
t16 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462372
462245
|
fg: t2.textSecondary,
|
|
462373
462246
|
bg: popupBg,
|
|
462374
462247
|
children: " "
|
|
462375
462248
|
}, undefined, false, undefined, this);
|
|
462376
|
-
$5[
|
|
462377
|
-
$5[
|
|
462378
|
-
$5[
|
|
462249
|
+
$5[95] = popupBg;
|
|
462250
|
+
$5[96] = t2.textSecondary;
|
|
462251
|
+
$5[97] = t16;
|
|
462379
462252
|
} else {
|
|
462380
|
-
|
|
462253
|
+
t16 = $5[97];
|
|
462381
462254
|
}
|
|
462382
|
-
let
|
|
462383
|
-
if ($5[
|
|
462384
|
-
|
|
462255
|
+
let t17;
|
|
462256
|
+
if ($5[98] !== t2.info) {
|
|
462257
|
+
t17 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("a", {
|
|
462385
462258
|
href: "https://llmgateway.io/dashboard?ref=6tjJR2H3X4E9RmVQiQwK",
|
|
462386
462259
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
462387
462260
|
fg: t2.info,
|
|
@@ -462389,71 +462262,71 @@ function SetupStep(t0) {
|
|
|
462389
462262
|
children: "llmgateway.io"
|
|
462390
462263
|
}, undefined, false, undefined, this)
|
|
462391
462264
|
}, undefined, false, undefined, this);
|
|
462392
|
-
$5[
|
|
462393
|
-
$5[
|
|
462265
|
+
$5[98] = t2.info;
|
|
462266
|
+
$5[99] = t17;
|
|
462394
462267
|
} else {
|
|
462395
|
-
|
|
462268
|
+
t17 = $5[99];
|
|
462396
462269
|
}
|
|
462397
|
-
let
|
|
462398
|
-
if ($5[
|
|
462399
|
-
|
|
462270
|
+
let t18;
|
|
462271
|
+
if ($5[100] !== popupBg || $5[101] !== t17) {
|
|
462272
|
+
t18 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462400
462273
|
bg: popupBg,
|
|
462401
|
-
children:
|
|
462274
|
+
children: t17
|
|
462402
462275
|
}, undefined, false, undefined, this);
|
|
462403
|
-
$5[
|
|
462404
|
-
$5[100] = t16;
|
|
462276
|
+
$5[100] = popupBg;
|
|
462405
462277
|
$5[101] = t17;
|
|
462278
|
+
$5[102] = t18;
|
|
462406
462279
|
} else {
|
|
462407
|
-
|
|
462280
|
+
t18 = $5[102];
|
|
462408
462281
|
}
|
|
462409
|
-
let
|
|
462410
|
-
if ($5[
|
|
462411
|
-
|
|
462282
|
+
let t19;
|
|
462283
|
+
if ($5[103] !== popupBg || $5[104] !== t2.textSecondary) {
|
|
462284
|
+
t19 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462412
462285
|
fg: t2.textSecondary,
|
|
462413
462286
|
bg: popupBg,
|
|
462414
462287
|
children: " gives you one key for all models."
|
|
462415
462288
|
}, undefined, false, undefined, this);
|
|
462416
|
-
$5[
|
|
462417
|
-
$5[
|
|
462418
|
-
$5[
|
|
462289
|
+
$5[103] = popupBg;
|
|
462290
|
+
$5[104] = t2.textSecondary;
|
|
462291
|
+
$5[105] = t19;
|
|
462419
462292
|
} else {
|
|
462420
|
-
|
|
462293
|
+
t19 = $5[105];
|
|
462421
462294
|
}
|
|
462422
|
-
let
|
|
462423
|
-
if ($5[
|
|
462424
|
-
|
|
462295
|
+
let t20;
|
|
462296
|
+
if ($5[106] !== iw || $5[107] !== t16 || $5[108] !== t18 || $5[109] !== t19) {
|
|
462297
|
+
t20 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462425
462298
|
w: iw,
|
|
462426
462299
|
children: [
|
|
462427
|
-
|
|
462428
|
-
|
|
462429
|
-
|
|
462300
|
+
t16,
|
|
462301
|
+
t18,
|
|
462302
|
+
t19
|
|
462430
462303
|
]
|
|
462431
462304
|
}, undefined, true, undefined, this);
|
|
462432
|
-
$5[
|
|
462433
|
-
$5[
|
|
462434
|
-
$5[107] = t17;
|
|
462305
|
+
$5[106] = iw;
|
|
462306
|
+
$5[107] = t16;
|
|
462435
462307
|
$5[108] = t18;
|
|
462436
462308
|
$5[109] = t19;
|
|
462309
|
+
$5[110] = t20;
|
|
462437
462310
|
} else {
|
|
462438
|
-
|
|
462311
|
+
t20 = $5[110];
|
|
462439
462312
|
}
|
|
462440
|
-
let
|
|
462441
|
-
if ($5[
|
|
462442
|
-
|
|
462313
|
+
let t21;
|
|
462314
|
+
if ($5[111] !== iw) {
|
|
462315
|
+
t21 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462443
462316
|
iw
|
|
462444
462317
|
}, undefined, false, undefined, this);
|
|
462445
|
-
$5[
|
|
462446
|
-
$5[
|
|
462318
|
+
$5[111] = iw;
|
|
462319
|
+
$5[112] = t21;
|
|
462447
462320
|
} else {
|
|
462448
|
-
|
|
462321
|
+
t21 = $5[112];
|
|
462449
462322
|
}
|
|
462450
|
-
let
|
|
462451
|
-
if ($5[
|
|
462452
|
-
|
|
462323
|
+
let t222;
|
|
462324
|
+
if ($5[113] !== cursor || $5[114] !== iw || $5[115] !== popupBg || $5[116] !== popupHl || $5[117] !== t2.success || $5[118] !== t2.textFaint || $5[119] !== t2.textPrimary || $5[120] !== t2.textSecondary) {
|
|
462325
|
+
t222 = PROVIDERS.map((p_0, i4) => {
|
|
462453
462326
|
const isSelected = i4 === cursor;
|
|
462454
462327
|
const bg2 = isSelected ? popupHl : popupBg;
|
|
462455
|
-
const configured = hasKey(
|
|
462456
|
-
const status = configured ? getStatusLabel(
|
|
462328
|
+
const configured = hasKey(p_0.id);
|
|
462329
|
+
const status = configured ? getStatusLabel(p_0.id) : "not set";
|
|
462457
462330
|
const isGateway = i4 === 0;
|
|
462458
462331
|
return /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462459
462332
|
w: iw,
|
|
@@ -462461,10 +462334,10 @@ function SetupStep(t0) {
|
|
|
462461
462334
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462462
462335
|
bg: bg2,
|
|
462463
462336
|
fg: isSelected ? t2.textPrimary : t2.textSecondary,
|
|
462464
|
-
attributes: isGateway ?
|
|
462337
|
+
attributes: isGateway ? BOLD4 : 0,
|
|
462465
462338
|
children: [
|
|
462466
462339
|
isSelected ? "\u203A " : " ",
|
|
462467
|
-
|
|
462340
|
+
p_0.label
|
|
462468
462341
|
]
|
|
462469
462342
|
}, undefined, true, undefined, this),
|
|
462470
462343
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
@@ -462476,23 +462349,23 @@ function SetupStep(t0) {
|
|
|
462476
462349
|
]
|
|
462477
462350
|
}, undefined, true, undefined, this)
|
|
462478
462351
|
]
|
|
462479
|
-
},
|
|
462352
|
+
}, p_0.id, true, undefined, this);
|
|
462480
462353
|
});
|
|
462481
|
-
$5[
|
|
462482
|
-
$5[
|
|
462483
|
-
$5[
|
|
462484
|
-
$5[
|
|
462485
|
-
$5[
|
|
462486
|
-
$5[
|
|
462487
|
-
$5[
|
|
462488
|
-
$5[
|
|
462489
|
-
$5[
|
|
462354
|
+
$5[113] = cursor;
|
|
462355
|
+
$5[114] = iw;
|
|
462356
|
+
$5[115] = popupBg;
|
|
462357
|
+
$5[116] = popupHl;
|
|
462358
|
+
$5[117] = t2.success;
|
|
462359
|
+
$5[118] = t2.textFaint;
|
|
462360
|
+
$5[119] = t2.textPrimary;
|
|
462361
|
+
$5[120] = t2.textSecondary;
|
|
462362
|
+
$5[121] = t222;
|
|
462490
462363
|
} else {
|
|
462491
|
-
|
|
462364
|
+
t222 = $5[121];
|
|
462492
462365
|
}
|
|
462493
|
-
let
|
|
462494
|
-
if ($5[
|
|
462495
|
-
|
|
462366
|
+
let t23;
|
|
462367
|
+
if ($5[122] !== iw || $5[123] !== popupBg || $5[124] !== selected || $5[125] !== t2.info || $5[126] !== t2.textFaint) {
|
|
462368
|
+
t23 = selected && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
462496
462369
|
children: [
|
|
462497
462370
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462498
462371
|
iw
|
|
@@ -462524,18 +462397,18 @@ function SetupStep(t0) {
|
|
|
462524
462397
|
}, undefined, true, undefined, this)
|
|
462525
462398
|
]
|
|
462526
462399
|
}, undefined, true, undefined, this);
|
|
462527
|
-
$5[
|
|
462528
|
-
$5[
|
|
462529
|
-
$5[
|
|
462530
|
-
$5[
|
|
462531
|
-
$5[
|
|
462532
|
-
$5[
|
|
462400
|
+
$5[122] = iw;
|
|
462401
|
+
$5[123] = popupBg;
|
|
462402
|
+
$5[124] = selected;
|
|
462403
|
+
$5[125] = t2.info;
|
|
462404
|
+
$5[126] = t2.textFaint;
|
|
462405
|
+
$5[127] = t23;
|
|
462533
462406
|
} else {
|
|
462534
|
-
|
|
462407
|
+
t23 = $5[127];
|
|
462535
462408
|
}
|
|
462536
|
-
let
|
|
462537
|
-
if ($5[
|
|
462538
|
-
|
|
462409
|
+
let t24;
|
|
462410
|
+
if ($5[128] !== activeModel || $5[129] !== hasModel || $5[130] !== iw || $5[131] !== popupBg || $5[132] !== t2.success || $5[133] !== t2.textPrimary) {
|
|
462411
|
+
t24 = hasModel && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
462539
462412
|
children: [
|
|
462540
462413
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462541
462414
|
iw
|
|
@@ -462545,13 +462418,13 @@ function SetupStep(t0) {
|
|
|
462545
462418
|
children: [
|
|
462546
462419
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462547
462420
|
fg: t2.success,
|
|
462548
|
-
attributes:
|
|
462421
|
+
attributes: BOLD4,
|
|
462549
462422
|
bg: popupBg,
|
|
462550
462423
|
children: " \u2713 "
|
|
462551
462424
|
}, undefined, false, undefined, this),
|
|
462552
462425
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462553
462426
|
fg: t2.textPrimary,
|
|
462554
|
-
attributes:
|
|
462427
|
+
attributes: BOLD4,
|
|
462555
462428
|
bg: popupBg,
|
|
462556
462429
|
children: activeModel
|
|
462557
462430
|
}, undefined, false, undefined, this)
|
|
@@ -462559,23 +462432,48 @@ function SetupStep(t0) {
|
|
|
462559
462432
|
}, undefined, true, undefined, this)
|
|
462560
462433
|
]
|
|
462561
462434
|
}, undefined, true, undefined, this);
|
|
462562
|
-
$5[
|
|
462563
|
-
$5[
|
|
462564
|
-
$5[
|
|
462565
|
-
$5[
|
|
462566
|
-
$5[
|
|
462567
|
-
$5[
|
|
462568
|
-
$5[
|
|
462435
|
+
$5[128] = activeModel;
|
|
462436
|
+
$5[129] = hasModel;
|
|
462437
|
+
$5[130] = iw;
|
|
462438
|
+
$5[131] = popupBg;
|
|
462439
|
+
$5[132] = t2.success;
|
|
462440
|
+
$5[133] = t2.textPrimary;
|
|
462441
|
+
$5[134] = t24;
|
|
462569
462442
|
} else {
|
|
462570
|
-
|
|
462443
|
+
t24 = $5[134];
|
|
462571
462444
|
}
|
|
462572
|
-
let
|
|
462573
|
-
if ($5[
|
|
462574
|
-
|
|
462445
|
+
let t25;
|
|
462446
|
+
if ($5[135] !== iw || $5[136] !== popupBg || $5[137] !== t2.brandSecondary) {
|
|
462447
|
+
t25 = anyKeySet && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
462448
|
+
children: [
|
|
462449
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462450
|
+
iw
|
|
462451
|
+
}, undefined, false, undefined, this),
|
|
462452
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462453
|
+
w: iw,
|
|
462454
|
+
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462455
|
+
fg: t2.brandSecondary,
|
|
462456
|
+
attributes: BOLD4,
|
|
462457
|
+
bg: popupBg,
|
|
462458
|
+
children: " \u2192 press right arrow to continue"
|
|
462459
|
+
}, undefined, false, undefined, this)
|
|
462460
|
+
}, undefined, false, undefined, this)
|
|
462461
|
+
]
|
|
462462
|
+
}, undefined, true, undefined, this);
|
|
462463
|
+
$5[135] = iw;
|
|
462464
|
+
$5[136] = popupBg;
|
|
462465
|
+
$5[137] = t2.brandSecondary;
|
|
462466
|
+
$5[138] = t25;
|
|
462467
|
+
} else {
|
|
462468
|
+
t25 = $5[138];
|
|
462469
|
+
}
|
|
462470
|
+
let t26;
|
|
462471
|
+
if ($5[139] !== flash || $5[140] !== iw || $5[141] !== popupBg || $5[142] !== t2.success) {
|
|
462472
|
+
t26 = flash && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462575
462473
|
w: iw,
|
|
462576
462474
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462577
462475
|
fg: t2.success,
|
|
462578
|
-
attributes:
|
|
462476
|
+
attributes: BOLD4,
|
|
462579
462477
|
bg: popupBg,
|
|
462580
462478
|
children: [
|
|
462581
462479
|
" ",
|
|
@@ -462583,97 +462481,102 @@ function SetupStep(t0) {
|
|
|
462583
462481
|
]
|
|
462584
462482
|
}, undefined, true, undefined, this)
|
|
462585
462483
|
}, undefined, false, undefined, this);
|
|
462586
|
-
$5[
|
|
462587
|
-
$5[
|
|
462588
|
-
$5[
|
|
462589
|
-
$5[
|
|
462590
|
-
$5[
|
|
462484
|
+
$5[139] = flash;
|
|
462485
|
+
$5[140] = iw;
|
|
462486
|
+
$5[141] = popupBg;
|
|
462487
|
+
$5[142] = t2.success;
|
|
462488
|
+
$5[143] = t26;
|
|
462591
462489
|
} else {
|
|
462592
|
-
|
|
462490
|
+
t26 = $5[143];
|
|
462593
462491
|
}
|
|
462594
|
-
let
|
|
462595
|
-
if ($5[
|
|
462596
|
-
|
|
462492
|
+
let t27;
|
|
462493
|
+
if ($5[144] !== iw) {
|
|
462494
|
+
t27 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
462597
462495
|
iw
|
|
462598
462496
|
}, undefined, false, undefined, this);
|
|
462599
|
-
$5[
|
|
462600
|
-
$5[
|
|
462497
|
+
$5[144] = iw;
|
|
462498
|
+
$5[145] = t27;
|
|
462601
462499
|
} else {
|
|
462602
|
-
|
|
462500
|
+
t27 = $5[145];
|
|
462603
462501
|
}
|
|
462604
|
-
let
|
|
462605
|
-
if ($5[
|
|
462606
|
-
|
|
462502
|
+
let t28;
|
|
462503
|
+
if ($5[146] !== popupBg || $5[147] !== t2.textFaint) {
|
|
462504
|
+
t28 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462607
462505
|
fg: t2.textFaint,
|
|
462608
462506
|
bg: popupBg,
|
|
462609
|
-
children: " \u2191\u2193 select \xB7 \u23CE set key \xB7 \u2192 next step"
|
|
462507
|
+
children: " \u2191\u2193 select \xB7 \u23CE set key \xB7 \u2192 next step \xB7 esc close"
|
|
462610
462508
|
}, undefined, false, undefined, this);
|
|
462611
|
-
$5[
|
|
462612
|
-
$5[
|
|
462613
|
-
$5[
|
|
462509
|
+
$5[146] = popupBg;
|
|
462510
|
+
$5[147] = t2.textFaint;
|
|
462511
|
+
$5[148] = t28;
|
|
462614
462512
|
} else {
|
|
462615
|
-
|
|
462513
|
+
t28 = $5[148];
|
|
462616
462514
|
}
|
|
462617
|
-
let
|
|
462618
|
-
if ($5[
|
|
462619
|
-
|
|
462515
|
+
let t29;
|
|
462516
|
+
if ($5[149] !== iw || $5[150] !== t28) {
|
|
462517
|
+
t29 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
462620
462518
|
w: iw,
|
|
462621
|
-
children:
|
|
462519
|
+
children: t28
|
|
462622
462520
|
}, undefined, false, undefined, this);
|
|
462623
|
-
$5[
|
|
462624
|
-
$5[
|
|
462625
|
-
$5[
|
|
462521
|
+
$5[149] = iw;
|
|
462522
|
+
$5[150] = t28;
|
|
462523
|
+
$5[151] = t29;
|
|
462626
462524
|
} else {
|
|
462627
|
-
|
|
462525
|
+
t29 = $5[151];
|
|
462628
462526
|
}
|
|
462629
|
-
let
|
|
462630
|
-
if ($5[
|
|
462631
|
-
|
|
462527
|
+
let t30;
|
|
462528
|
+
if ($5[152] !== t11 || $5[153] !== t12 || $5[154] !== t13 || $5[155] !== t15 || $5[156] !== t20 || $5[157] !== t21 || $5[158] !== t222 || $5[159] !== t23 || $5[160] !== t24 || $5[161] !== t25 || $5[162] !== t26 || $5[163] !== t27 || $5[164] !== t29) {
|
|
462529
|
+
t30 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
462632
462530
|
children: [
|
|
462633
|
-
t10,
|
|
462634
462531
|
t11,
|
|
462635
462532
|
t12,
|
|
462636
|
-
|
|
462637
|
-
|
|
462533
|
+
t13,
|
|
462534
|
+
t15,
|
|
462638
462535
|
t20,
|
|
462639
462536
|
t21,
|
|
462640
462537
|
t222,
|
|
462641
462538
|
t23,
|
|
462642
462539
|
t24,
|
|
462643
462540
|
t25,
|
|
462644
|
-
|
|
462541
|
+
t26,
|
|
462542
|
+
t27,
|
|
462543
|
+
t29
|
|
462645
462544
|
]
|
|
462646
462545
|
}, undefined, true, undefined, this);
|
|
462647
|
-
$5[
|
|
462648
|
-
$5[
|
|
462649
|
-
$5[
|
|
462650
|
-
$5[
|
|
462651
|
-
$5[
|
|
462652
|
-
$5[
|
|
462653
|
-
$5[
|
|
462654
|
-
$5[
|
|
462655
|
-
$5[
|
|
462656
|
-
$5[
|
|
462657
|
-
$5[
|
|
462658
|
-
$5[
|
|
462659
|
-
$5[
|
|
462546
|
+
$5[152] = t11;
|
|
462547
|
+
$5[153] = t12;
|
|
462548
|
+
$5[154] = t13;
|
|
462549
|
+
$5[155] = t15;
|
|
462550
|
+
$5[156] = t20;
|
|
462551
|
+
$5[157] = t21;
|
|
462552
|
+
$5[158] = t222;
|
|
462553
|
+
$5[159] = t23;
|
|
462554
|
+
$5[160] = t24;
|
|
462555
|
+
$5[161] = t25;
|
|
462556
|
+
$5[162] = t26;
|
|
462557
|
+
$5[163] = t27;
|
|
462558
|
+
$5[164] = t29;
|
|
462559
|
+
$5[165] = t30;
|
|
462660
462560
|
} else {
|
|
462661
|
-
|
|
462561
|
+
t30 = $5[165];
|
|
462662
462562
|
}
|
|
462663
|
-
return
|
|
462563
|
+
return t30;
|
|
462664
462564
|
}
|
|
462665
|
-
function
|
|
462565
|
+
function _temp513(c_0) {
|
|
462666
462566
|
return c_0 < PROVIDERS.length - 1 ? c_0 + 1 : 0;
|
|
462667
462567
|
}
|
|
462668
|
-
function
|
|
462568
|
+
function _temp415(c) {
|
|
462669
462569
|
return c > 0 ? c - 1 : PROVIDERS.length - 1;
|
|
462670
462570
|
}
|
|
462671
|
-
function
|
|
462571
|
+
function _temp323(v_0) {
|
|
462672
462572
|
return v_0.slice(0, -1);
|
|
462673
462573
|
}
|
|
462674
|
-
function
|
|
462574
|
+
function _temp224(n) {
|
|
462675
462575
|
return n + 1;
|
|
462676
462576
|
}
|
|
462577
|
+
function _temp69(p2) {
|
|
462578
|
+
return hasKey(p2.id);
|
|
462579
|
+
}
|
|
462677
462580
|
var import_compiler_runtime48, import_react82, PROVIDERS;
|
|
462678
462581
|
var init_SetupStep = __esm(async () => {
|
|
462679
462582
|
init_secrets();
|
|
@@ -462791,7 +462694,7 @@ var init_ShortcutsStep = __esm(async () => {
|
|
|
462791
462694
|
children: [
|
|
462792
462695
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
462793
462696
|
fg: s2.slash ? t2.brand : t2.info,
|
|
462794
|
-
attributes:
|
|
462697
|
+
attributes: BOLD4,
|
|
462795
462698
|
bg: bg2,
|
|
462796
462699
|
children: [
|
|
462797
462700
|
" ",
|
|
@@ -462842,7 +462745,7 @@ var init_ShortcutsStep = __esm(async () => {
|
|
|
462842
462745
|
if ($5[15] !== t2.info) {
|
|
462843
462746
|
t7 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
462844
462747
|
fg: t2.info,
|
|
462845
|
-
attributes:
|
|
462748
|
+
attributes: BOLD4,
|
|
462846
462749
|
children: "Ctrl+K"
|
|
462847
462750
|
}, undefined, false, undefined, this);
|
|
462848
462751
|
$5[15] = t2.info;
|
|
@@ -462916,7 +462819,7 @@ function opacityToIndex2(opacity) {
|
|
|
462916
462819
|
return idx >= 0 ? idx : OPACITY_LEVELS2.length - 1;
|
|
462917
462820
|
}
|
|
462918
462821
|
function ThemeStep(t0) {
|
|
462919
|
-
const $5 = import_compiler_runtime50.c(
|
|
462822
|
+
const $5 = import_compiler_runtime50.c(125);
|
|
462920
462823
|
const {
|
|
462921
462824
|
iw,
|
|
462922
462825
|
setActive
|
|
@@ -462934,7 +462837,7 @@ function ThemeStep(t0) {
|
|
|
462934
462837
|
t1 = $5[0];
|
|
462935
462838
|
}
|
|
462936
462839
|
const themes = t1;
|
|
462937
|
-
const currentName = useThemeStore(
|
|
462840
|
+
const currentName = useThemeStore(_temp70);
|
|
462938
462841
|
const isTransparent = useThemeStore(_temp225);
|
|
462939
462842
|
let t22;
|
|
462940
462843
|
if ($5[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -463143,7 +463046,7 @@ function ThemeStep(t0) {
|
|
|
463143
463046
|
t232 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463144
463047
|
fg: t2.info,
|
|
463145
463048
|
bg: popupBg,
|
|
463146
|
-
attributes:
|
|
463049
|
+
attributes: BOLD4,
|
|
463147
463050
|
children: "~/.soulforge/themes.json"
|
|
463148
463051
|
}, undefined, false, undefined, this);
|
|
463149
463052
|
$5[56] = popupBg;
|
|
@@ -463208,18 +463111,18 @@ function ThemeStep(t0) {
|
|
|
463208
463111
|
} else {
|
|
463209
463112
|
t16 = $5[72];
|
|
463210
463113
|
}
|
|
463211
|
-
const
|
|
463212
|
-
if ($5[73] !== diffLabel || $5[74] !== iw || $5[75] !==
|
|
463114
|
+
const t262 = diffOpacity < 100;
|
|
463115
|
+
if ($5[73] !== diffLabel || $5[74] !== iw || $5[75] !== t262) {
|
|
463213
463116
|
t17 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(OptionRow, {
|
|
463214
463117
|
iw,
|
|
463215
463118
|
label: "Diff BG",
|
|
463216
463119
|
value: diffLabel,
|
|
463217
463120
|
key_: "d",
|
|
463218
|
-
active:
|
|
463121
|
+
active: t262
|
|
463219
463122
|
}, undefined, false, undefined, this);
|
|
463220
463123
|
$5[73] = diffLabel;
|
|
463221
463124
|
$5[74] = iw;
|
|
463222
|
-
$5[75] =
|
|
463125
|
+
$5[75] = t262;
|
|
463223
463126
|
$5[76] = t17;
|
|
463224
463127
|
} else {
|
|
463225
463128
|
t17 = $5[76];
|
|
@@ -463273,7 +463176,7 @@ function ThemeStep(t0) {
|
|
|
463273
463176
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463274
463177
|
bg: bg2,
|
|
463275
463178
|
fg: th_3.brand,
|
|
463276
|
-
attributes:
|
|
463179
|
+
attributes: BOLD4,
|
|
463277
463180
|
children: "\u25A0\u25A0 "
|
|
463278
463181
|
}, undefined, false, undefined, this),
|
|
463279
463182
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
@@ -463351,43 +463254,70 @@ function ThemeStep(t0) {
|
|
|
463351
463254
|
t21 = $5[49];
|
|
463352
463255
|
}
|
|
463353
463256
|
let t222;
|
|
463354
|
-
if ($5[95] !== iw) {
|
|
463355
|
-
t222 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(
|
|
463356
|
-
iw
|
|
463257
|
+
if ($5[95] !== cursor || $5[96] !== iw || $5[97] !== maxVisible || $5[98] !== popupBg || $5[99] !== scrollOffset || $5[100] !== t2.textMuted) {
|
|
463258
|
+
t222 = themes.length > maxVisible && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
463259
|
+
w: iw,
|
|
463260
|
+
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463261
|
+
fg: t2.textMuted,
|
|
463262
|
+
bg: popupBg,
|
|
463263
|
+
children: [
|
|
463264
|
+
" ",
|
|
463265
|
+
scrollOffset > 0 ? "\u2191 " : " ",
|
|
463266
|
+
String(cursor + 1),
|
|
463267
|
+
"/",
|
|
463268
|
+
String(themes.length),
|
|
463269
|
+
scrollOffset + maxVisible < themes.length ? " \u2193" : ""
|
|
463270
|
+
]
|
|
463271
|
+
}, undefined, true, undefined, this)
|
|
463357
463272
|
}, undefined, false, undefined, this);
|
|
463358
|
-
$5[95] =
|
|
463359
|
-
$5[96] =
|
|
463273
|
+
$5[95] = cursor;
|
|
463274
|
+
$5[96] = iw;
|
|
463275
|
+
$5[97] = maxVisible;
|
|
463276
|
+
$5[98] = popupBg;
|
|
463277
|
+
$5[99] = scrollOffset;
|
|
463278
|
+
$5[100] = t2.textMuted;
|
|
463279
|
+
$5[101] = t222;
|
|
463360
463280
|
} else {
|
|
463361
|
-
t222 = $5[
|
|
463281
|
+
t222 = $5[101];
|
|
463362
463282
|
}
|
|
463363
463283
|
let t23;
|
|
463364
|
-
if ($5[
|
|
463365
|
-
t23 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(
|
|
463284
|
+
if ($5[102] !== iw) {
|
|
463285
|
+
t23 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(Gap, {
|
|
463286
|
+
iw
|
|
463287
|
+
}, undefined, false, undefined, this);
|
|
463288
|
+
$5[102] = iw;
|
|
463289
|
+
$5[103] = t23;
|
|
463290
|
+
} else {
|
|
463291
|
+
t23 = $5[103];
|
|
463292
|
+
}
|
|
463293
|
+
let t24;
|
|
463294
|
+
if ($5[104] !== popupBg || $5[105] !== t2.textDim) {
|
|
463295
|
+
t24 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463366
463296
|
fg: t2.textDim,
|
|
463367
463297
|
bg: popupBg,
|
|
463368
463298
|
children: " \u2191\u2193 preview \xB7 \u23CE apply \xB7 tab/m/d/b toggle options \xB7 \u2192 next"
|
|
463369
463299
|
}, undefined, false, undefined, this);
|
|
463370
|
-
$5[
|
|
463371
|
-
$5[
|
|
463372
|
-
$5[
|
|
463300
|
+
$5[104] = popupBg;
|
|
463301
|
+
$5[105] = t2.textDim;
|
|
463302
|
+
$5[106] = t24;
|
|
463373
463303
|
} else {
|
|
463374
|
-
|
|
463304
|
+
t24 = $5[106];
|
|
463375
463305
|
}
|
|
463376
|
-
let
|
|
463377
|
-
if ($5[
|
|
463378
|
-
|
|
463306
|
+
let t25;
|
|
463307
|
+
if ($5[107] !== iw || $5[108] !== t24) {
|
|
463308
|
+
t25 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
463379
463309
|
w: iw,
|
|
463380
|
-
children:
|
|
463310
|
+
children: t24
|
|
463381
463311
|
}, undefined, false, undefined, this);
|
|
463382
|
-
$5[
|
|
463383
|
-
$5[
|
|
463384
|
-
$5[
|
|
463312
|
+
$5[107] = iw;
|
|
463313
|
+
$5[108] = t24;
|
|
463314
|
+
$5[109] = t25;
|
|
463385
463315
|
} else {
|
|
463386
|
-
|
|
463316
|
+
t25 = $5[109];
|
|
463387
463317
|
}
|
|
463388
|
-
let
|
|
463389
|
-
if ($5[
|
|
463390
|
-
|
|
463318
|
+
let t26;
|
|
463319
|
+
if ($5[110] !== t11 || $5[111] !== t12 || $5[112] !== t13 || $5[113] !== t14 || $5[114] !== t15 || $5[115] !== t16 || $5[116] !== t17 || $5[117] !== t18 || $5[118] !== t19 || $5[119] !== t20 || $5[120] !== t21 || $5[121] !== t222 || $5[122] !== t23 || $5[123] !== t25) {
|
|
463320
|
+
t26 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(import_jsx_dev_runtime2.Fragment, {
|
|
463391
463321
|
children: [
|
|
463392
463322
|
t11,
|
|
463393
463323
|
t12,
|
|
@@ -463401,27 +463331,29 @@ function ThemeStep(t0) {
|
|
|
463401
463331
|
t20,
|
|
463402
463332
|
t21,
|
|
463403
463333
|
t222,
|
|
463404
|
-
|
|
463334
|
+
t23,
|
|
463335
|
+
t25
|
|
463405
463336
|
]
|
|
463406
463337
|
}, undefined, true, undefined, this);
|
|
463407
|
-
$5[
|
|
463408
|
-
$5[
|
|
463409
|
-
$5[
|
|
463410
|
-
$5[
|
|
463411
|
-
$5[
|
|
463412
|
-
$5[
|
|
463413
|
-
$5[
|
|
463414
|
-
$5[
|
|
463415
|
-
$5[
|
|
463416
|
-
$5[
|
|
463417
|
-
$5[
|
|
463418
|
-
$5[
|
|
463419
|
-
$5[
|
|
463420
|
-
$5[
|
|
463338
|
+
$5[110] = t11;
|
|
463339
|
+
$5[111] = t12;
|
|
463340
|
+
$5[112] = t13;
|
|
463341
|
+
$5[113] = t14;
|
|
463342
|
+
$5[114] = t15;
|
|
463343
|
+
$5[115] = t16;
|
|
463344
|
+
$5[116] = t17;
|
|
463345
|
+
$5[117] = t18;
|
|
463346
|
+
$5[118] = t19;
|
|
463347
|
+
$5[119] = t20;
|
|
463348
|
+
$5[120] = t21;
|
|
463349
|
+
$5[121] = t222;
|
|
463350
|
+
$5[122] = t23;
|
|
463351
|
+
$5[123] = t25;
|
|
463352
|
+
$5[124] = t26;
|
|
463421
463353
|
} else {
|
|
463422
|
-
|
|
463354
|
+
t26 = $5[124];
|
|
463423
463355
|
}
|
|
463424
|
-
return
|
|
463356
|
+
return t26;
|
|
463425
463357
|
}
|
|
463426
463358
|
function _temp416(name_0, tp_0, mOp_0, dOp_0, bdr_0) {
|
|
463427
463359
|
saveGlobalConfig({
|
|
@@ -463444,7 +463376,7 @@ function _temp324(name21, tp, mOp, dOp, bdr) {
|
|
|
463444
463376
|
function _temp225(s_0) {
|
|
463445
463377
|
return s_0.tokens.bgApp === "transparent";
|
|
463446
463378
|
}
|
|
463447
|
-
function
|
|
463379
|
+
function _temp70(s2) {
|
|
463448
463380
|
return s2.name;
|
|
463449
463381
|
}
|
|
463450
463382
|
function OptionRow(t0) {
|
|
@@ -463491,7 +463423,7 @@ function OptionRow(t0) {
|
|
|
463491
463423
|
if ($5[6] !== bg2 || $5[7] !== t4 || $5[8] !== value) {
|
|
463492
463424
|
t5 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463493
463425
|
fg: t4,
|
|
463494
|
-
attributes:
|
|
463426
|
+
attributes: BOLD4,
|
|
463495
463427
|
bg: bg2,
|
|
463496
463428
|
children: [
|
|
463497
463429
|
"[",
|
|
@@ -463543,7 +463475,7 @@ function OptionRow(t0) {
|
|
|
463543
463475
|
}
|
|
463544
463476
|
return t7;
|
|
463545
463477
|
}
|
|
463546
|
-
var import_compiler_runtime50, import_react85, OPACITY_LEVELS2, OPACITY_LABELS, BORDER_OPTIONS, BORDER_LABELS, CHROME_ROWS10 =
|
|
463478
|
+
var import_compiler_runtime50, import_react85, OPACITY_LEVELS2, OPACITY_LABELS, BORDER_OPTIONS, BORDER_LABELS, CHROME_ROWS10 = 19;
|
|
463547
463479
|
var init_ThemeStep = __esm(async () => {
|
|
463548
463480
|
init_config();
|
|
463549
463481
|
init_theme();
|
|
@@ -463650,7 +463582,7 @@ var init_WelcomeStep = __esm(async () => {
|
|
|
463650
463582
|
if ($5[3] !== bg2 || $5[4] !== t2.brand) {
|
|
463651
463583
|
t3 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463652
463584
|
fg: t2.brand,
|
|
463653
|
-
attributes:
|
|
463585
|
+
attributes: BOLD4,
|
|
463654
463586
|
bg: bg2,
|
|
463655
463587
|
children: [
|
|
463656
463588
|
" ",
|
|
@@ -463668,7 +463600,7 @@ var init_WelcomeStep = __esm(async () => {
|
|
|
463668
463600
|
if ($5[6] !== bg2 || $5[7] !== t2.textPrimary || $5[8] !== typed) {
|
|
463669
463601
|
t4 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463670
463602
|
fg: t2.textPrimary,
|
|
463671
|
-
attributes:
|
|
463603
|
+
attributes: BOLD4,
|
|
463672
463604
|
bg: bg2,
|
|
463673
463605
|
children: typed
|
|
463674
463606
|
}, undefined, false, undefined, this);
|
|
@@ -463726,7 +463658,7 @@ var init_WelcomeStep = __esm(async () => {
|
|
|
463726
463658
|
if ($5[21] !== bg2 || $5[22] !== t2.textSecondary) {
|
|
463727
463659
|
t9 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463728
463660
|
fg: t2.textSecondary,
|
|
463729
|
-
attributes:
|
|
463661
|
+
attributes: ITALIC3,
|
|
463730
463662
|
bg: bg2,
|
|
463731
463663
|
children: " Graph-Powered Code Intelligence"
|
|
463732
463664
|
}, undefined, false, undefined, this);
|
|
@@ -463799,7 +463731,7 @@ var init_WelcomeStep = __esm(async () => {
|
|
|
463799
463731
|
if ($5[36] !== bg2 || $5[37] !== t2.textMuted) {
|
|
463800
463732
|
t14 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463801
463733
|
fg: t2.textMuted,
|
|
463802
|
-
attributes:
|
|
463734
|
+
attributes: ITALIC3,
|
|
463803
463735
|
bg: bg2,
|
|
463804
463736
|
children: " Press \u2192 or Enter to begin setup"
|
|
463805
463737
|
}, undefined, false, undefined, this);
|
|
@@ -463960,7 +463892,7 @@ var init_WorkflowStep = __esm(async () => {
|
|
|
463960
463892
|
}, undefined, true, undefined, this),
|
|
463961
463893
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
463962
463894
|
fg: t2.textPrimary,
|
|
463963
|
-
attributes:
|
|
463895
|
+
attributes: BOLD4,
|
|
463964
463896
|
bg: bg2,
|
|
463965
463897
|
children: item.title
|
|
463966
463898
|
}, undefined, false, undefined, this),
|
|
@@ -464040,7 +463972,7 @@ var init_WorkflowStep = __esm(async () => {
|
|
|
464040
463972
|
if ($5[25] !== t2.info) {
|
|
464041
463973
|
t10 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
464042
463974
|
fg: t2.info,
|
|
464043
|
-
attributes:
|
|
463975
|
+
attributes: BOLD4,
|
|
464044
463976
|
children: "Ctrl+K"
|
|
464045
463977
|
}, undefined, false, undefined, this);
|
|
464046
463978
|
$5[25] = t2.info;
|
|
@@ -464113,7 +464045,7 @@ var init_WorkflowStep = __esm(async () => {
|
|
|
464113
464045
|
});
|
|
464114
464046
|
|
|
464115
464047
|
// src/components/modals/wizard/index.tsx
|
|
464116
|
-
function
|
|
464048
|
+
function _temp71(i4) {
|
|
464117
464049
|
return i4 + 1;
|
|
464118
464050
|
}
|
|
464119
464051
|
function _temp226(i_0) {
|
|
@@ -464185,7 +464117,7 @@ var init_wizard = __esm(async () => {
|
|
|
464185
464117
|
if ($5[3] !== onClose || $5[4] !== stepIdx) {
|
|
464186
464118
|
t3 = () => {
|
|
464187
464119
|
if (stepIdx < STEPS.length - 1) {
|
|
464188
|
-
setStepIdx(
|
|
464120
|
+
setStepIdx(_temp71);
|
|
464189
464121
|
} else {
|
|
464190
464122
|
onClose();
|
|
464191
464123
|
}
|
|
@@ -464529,7 +464461,7 @@ function GitCommitModal(t0) {
|
|
|
464529
464461
|
const lines = diff.split(`
|
|
464530
464462
|
`).length;
|
|
464531
464463
|
setDiffSummary(lines > 1 ? `${String(lines)} lines changed` : "no staged changes");
|
|
464532
|
-
}).catch(
|
|
464464
|
+
}).catch(_temp74);
|
|
464533
464465
|
};
|
|
464534
464466
|
t5 = [visible, cwd2];
|
|
464535
464467
|
$5[3] = cwd2;
|
|
@@ -465009,7 +464941,7 @@ Co-Authored-By: SoulForge <noreply@soulforge.com>` : message.trim();
|
|
|
465009
464941
|
function _temp227(prev) {
|
|
465010
464942
|
return !prev;
|
|
465011
464943
|
}
|
|
465012
|
-
function
|
|
464944
|
+
function _temp74() {}
|
|
465013
464945
|
var import_compiler_runtime54, import_react91, MAX_POPUP_WIDTH7 = 64;
|
|
465014
464946
|
var init_GitCommitModal = __esm(async () => {
|
|
465015
464947
|
init_status();
|
|
@@ -465111,7 +465043,7 @@ function GitMenu(t0) {
|
|
|
465111
465043
|
if (entries2.length === 0) {
|
|
465112
465044
|
onSystemMessage("No commits found.");
|
|
465113
465045
|
} else {
|
|
465114
|
-
const logText = entries2.map(
|
|
465046
|
+
const logText = entries2.map(_temp76).join(`
|
|
465115
465047
|
`);
|
|
465116
465048
|
onSystemMessage(logText);
|
|
465117
465049
|
}
|
|
@@ -465478,7 +465410,7 @@ function GitMenu(t0) {
|
|
|
465478
465410
|
}
|
|
465479
465411
|
return t23;
|
|
465480
465412
|
}
|
|
465481
|
-
function
|
|
465413
|
+
function _temp76(e) {
|
|
465482
465414
|
return `${e.hash} ${e.subject} (${e.date})`;
|
|
465483
465415
|
}
|
|
465484
465416
|
var import_compiler_runtime55, import_react93, MAX_POPUP_WIDTH8 = 54, CHROME_ROWS11 = 7, MENU_ITEMS;
|
|
@@ -465574,7 +465506,7 @@ function InfoPopup(t0) {
|
|
|
465574
465506
|
return;
|
|
465575
465507
|
}
|
|
465576
465508
|
if (evt.name === "up" || evt.name === "k") {
|
|
465577
|
-
setScrollOffset(
|
|
465509
|
+
setScrollOffset(_temp77);
|
|
465578
465510
|
return;
|
|
465579
465511
|
}
|
|
465580
465512
|
if (evt.name === "down" || evt.name === "j") {
|
|
@@ -465958,7 +465890,7 @@ function InfoPopup(t0) {
|
|
|
465958
465890
|
function _temp228(text3, max) {
|
|
465959
465891
|
return text3.length > max ? `${text3.slice(0, max - 1)}\u2026` : text3;
|
|
465960
465892
|
}
|
|
465961
|
-
function
|
|
465893
|
+
function _temp77(prev) {
|
|
465962
465894
|
return Math.max(0, prev - 1);
|
|
465963
465895
|
}
|
|
465964
465896
|
var import_compiler_runtime56, import_react95, CHROME_ROWS12 = 6;
|
|
@@ -465992,7 +465924,7 @@ function useAllProviderModels(active) {
|
|
|
465992
465924
|
t0 = $5[0];
|
|
465993
465925
|
}
|
|
465994
465926
|
const [providerData, setProviderData] = import_react96.useState(t0);
|
|
465995
|
-
const [availability, setAvailability] = import_react96.useState(
|
|
465927
|
+
const [availability, setAvailability] = import_react96.useState(_temp78);
|
|
465996
465928
|
let t1;
|
|
465997
465929
|
let t2;
|
|
465998
465930
|
if ($5[1] !== active) {
|
|
@@ -466091,7 +466023,7 @@ function _temp325(p_0) {
|
|
|
466091
466023
|
return p_0.loading;
|
|
466092
466024
|
}
|
|
466093
466025
|
function _temp229() {}
|
|
466094
|
-
function
|
|
466026
|
+
function _temp78() {
|
|
466095
466027
|
const cached2 = getCachedProviderStatuses();
|
|
466096
466028
|
const map2 = new Map;
|
|
466097
466029
|
if (cached2) {
|
|
@@ -466753,7 +466685,7 @@ function lpad(s2, w5) {
|
|
|
466753
466685
|
return s2.length >= w5 ? s2.slice(0, w5) : " ".repeat(w5 - s2.length) + s2;
|
|
466754
466686
|
}
|
|
466755
466687
|
function SessionPicker(t0) {
|
|
466756
|
-
const $5 = import_compiler_runtime58.c(
|
|
466688
|
+
const $5 = import_compiler_runtime58.c(137);
|
|
466757
466689
|
const {
|
|
466758
466690
|
visible,
|
|
466759
466691
|
cwd: cwd2,
|
|
@@ -466877,7 +466809,7 @@ function SessionPicker(t0) {
|
|
|
466877
466809
|
return;
|
|
466878
466810
|
}
|
|
466879
466811
|
if (evt.name === "backspace" || evt.name === "delete") {
|
|
466880
|
-
setQuery(
|
|
466812
|
+
setQuery(_temp79);
|
|
466881
466813
|
resetScroll();
|
|
466882
466814
|
return;
|
|
466883
466815
|
}
|
|
@@ -467140,80 +467072,80 @@ function SessionPicker(t0) {
|
|
|
467140
467072
|
} else {
|
|
467141
467073
|
t28 = $5[67];
|
|
467142
467074
|
}
|
|
467143
|
-
const t29 = t2.
|
|
467075
|
+
const t29 = t2.textSubtle;
|
|
467144
467076
|
let t30;
|
|
467145
|
-
if ($5[68] !==
|
|
467146
|
-
t30 =
|
|
467147
|
-
$5[68] =
|
|
467077
|
+
if ($5[68] !== innerW) {
|
|
467078
|
+
t30 = "\u2500".repeat(innerW - 4);
|
|
467079
|
+
$5[68] = innerW;
|
|
467148
467080
|
$5[69] = t30;
|
|
467149
467081
|
} else {
|
|
467150
467082
|
t30 = $5[69];
|
|
467151
467083
|
}
|
|
467152
467084
|
let t31;
|
|
467153
|
-
|
|
467154
|
-
|
|
467155
|
-
if ($5[70] === Symbol.for("react.memo_cache_sentinel")) {
|
|
467156
|
-
t31 = lpad("Msgs", COL_MSGS);
|
|
467157
|
-
t32 = lpad("Size", COL_SIZE);
|
|
467158
|
-
t33 = lpad("Updated", COL_TIME);
|
|
467159
|
-
$5[70] = t31;
|
|
467160
|
-
$5[71] = t32;
|
|
467161
|
-
$5[72] = t33;
|
|
467162
|
-
} else {
|
|
467163
|
-
t31 = $5[70];
|
|
467164
|
-
t32 = $5[71];
|
|
467165
|
-
t33 = $5[72];
|
|
467166
|
-
}
|
|
467167
|
-
let t34;
|
|
467168
|
-
if ($5[73] !== t2.textMuted || $5[74] !== t30) {
|
|
467169
|
-
t34 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467085
|
+
if ($5[70] !== t2.textSubtle || $5[71] !== t30) {
|
|
467086
|
+
t31 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467170
467087
|
fg: t29,
|
|
467171
467088
|
bg: POPUP_BG,
|
|
467172
|
-
|
|
467173
|
-
|
|
467174
|
-
|
|
467175
|
-
|
|
467176
|
-
|
|
467177
|
-
t32,
|
|
467178
|
-
t33
|
|
467179
|
-
]
|
|
467180
|
-
}, undefined, true, undefined, this);
|
|
467181
|
-
$5[73] = t2.textMuted;
|
|
467182
|
-
$5[74] = t30;
|
|
467183
|
-
$5[75] = t34;
|
|
467089
|
+
children: t30
|
|
467090
|
+
}, undefined, false, undefined, this);
|
|
467091
|
+
$5[70] = t2.textSubtle;
|
|
467092
|
+
$5[71] = t30;
|
|
467093
|
+
$5[72] = t31;
|
|
467184
467094
|
} else {
|
|
467185
|
-
|
|
467095
|
+
t31 = $5[72];
|
|
467186
467096
|
}
|
|
467187
|
-
let
|
|
467188
|
-
if ($5[
|
|
467189
|
-
|
|
467097
|
+
let t32;
|
|
467098
|
+
if ($5[73] !== innerW || $5[74] !== t31) {
|
|
467099
|
+
t32 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467190
467100
|
w: innerW,
|
|
467191
|
-
children:
|
|
467101
|
+
children: t31
|
|
467192
467102
|
}, undefined, false, undefined, this);
|
|
467193
|
-
$5[
|
|
467103
|
+
$5[73] = innerW;
|
|
467104
|
+
$5[74] = t31;
|
|
467105
|
+
$5[75] = t32;
|
|
467106
|
+
} else {
|
|
467107
|
+
t32 = $5[75];
|
|
467108
|
+
}
|
|
467109
|
+
const t33 = t2.textMuted;
|
|
467110
|
+
let t34;
|
|
467111
|
+
if ($5[76] !== titleColW) {
|
|
467112
|
+
t34 = rpad("Title", titleColW);
|
|
467113
|
+
$5[76] = titleColW;
|
|
467194
467114
|
$5[77] = t34;
|
|
467195
|
-
$5[78] = t35;
|
|
467196
467115
|
} else {
|
|
467197
|
-
|
|
467116
|
+
t34 = $5[77];
|
|
467198
467117
|
}
|
|
467199
|
-
|
|
467118
|
+
let t35;
|
|
467119
|
+
let t36;
|
|
467200
467120
|
let t37;
|
|
467201
|
-
if ($5[
|
|
467202
|
-
|
|
467203
|
-
|
|
467121
|
+
if ($5[78] === Symbol.for("react.memo_cache_sentinel")) {
|
|
467122
|
+
t35 = lpad("Msgs", COL_MSGS);
|
|
467123
|
+
t36 = lpad("Size", COL_SIZE);
|
|
467124
|
+
t37 = lpad("Updated", COL_TIME);
|
|
467125
|
+
$5[78] = t35;
|
|
467126
|
+
$5[79] = t36;
|
|
467204
467127
|
$5[80] = t37;
|
|
467205
467128
|
} else {
|
|
467129
|
+
t35 = $5[78];
|
|
467130
|
+
t36 = $5[79];
|
|
467206
467131
|
t37 = $5[80];
|
|
467207
467132
|
}
|
|
467208
467133
|
let t38;
|
|
467209
|
-
if ($5[81] !== t2.
|
|
467134
|
+
if ($5[81] !== t2.textMuted || $5[82] !== t34) {
|
|
467210
467135
|
t38 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467211
|
-
fg:
|
|
467136
|
+
fg: t33,
|
|
467212
467137
|
bg: POPUP_BG,
|
|
467213
|
-
|
|
467214
|
-
|
|
467215
|
-
|
|
467216
|
-
|
|
467138
|
+
attributes: TextAttributes.BOLD,
|
|
467139
|
+
children: [
|
|
467140
|
+
" ",
|
|
467141
|
+
t34,
|
|
467142
|
+
t35,
|
|
467143
|
+
t36,
|
|
467144
|
+
t37
|
|
467145
|
+
]
|
|
467146
|
+
}, undefined, true, undefined, this);
|
|
467147
|
+
$5[81] = t2.textMuted;
|
|
467148
|
+
$5[82] = t34;
|
|
467217
467149
|
$5[83] = t38;
|
|
467218
467150
|
} else {
|
|
467219
467151
|
t38 = $5[83];
|
|
@@ -467230,10 +467162,44 @@ function SessionPicker(t0) {
|
|
|
467230
467162
|
} else {
|
|
467231
467163
|
t39 = $5[86];
|
|
467232
467164
|
}
|
|
467233
|
-
const t40 =
|
|
467234
|
-
|
|
467235
|
-
|
|
467236
|
-
|
|
467165
|
+
const t40 = t2.textSubtle;
|
|
467166
|
+
let t41;
|
|
467167
|
+
if ($5[87] !== innerW) {
|
|
467168
|
+
t41 = "\u2500".repeat(innerW - 4);
|
|
467169
|
+
$5[87] = innerW;
|
|
467170
|
+
$5[88] = t41;
|
|
467171
|
+
} else {
|
|
467172
|
+
t41 = $5[88];
|
|
467173
|
+
}
|
|
467174
|
+
let t42;
|
|
467175
|
+
if ($5[89] !== t2.textSubtle || $5[90] !== t41) {
|
|
467176
|
+
t42 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467177
|
+
fg: t40,
|
|
467178
|
+
bg: POPUP_BG,
|
|
467179
|
+
children: t41
|
|
467180
|
+
}, undefined, false, undefined, this);
|
|
467181
|
+
$5[89] = t2.textSubtle;
|
|
467182
|
+
$5[90] = t41;
|
|
467183
|
+
$5[91] = t42;
|
|
467184
|
+
} else {
|
|
467185
|
+
t42 = $5[91];
|
|
467186
|
+
}
|
|
467187
|
+
let t43;
|
|
467188
|
+
if ($5[92] !== innerW || $5[93] !== t42) {
|
|
467189
|
+
t43 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467190
|
+
w: innerW,
|
|
467191
|
+
children: t42
|
|
467192
|
+
}, undefined, false, undefined, this);
|
|
467193
|
+
$5[92] = innerW;
|
|
467194
|
+
$5[93] = t42;
|
|
467195
|
+
$5[94] = t43;
|
|
467196
|
+
} else {
|
|
467197
|
+
t43 = $5[94];
|
|
467198
|
+
}
|
|
467199
|
+
const t44 = "column";
|
|
467200
|
+
const t45 = Math.min(filtered.length || 1, maxVisible);
|
|
467201
|
+
const t46 = "hidden";
|
|
467202
|
+
const t47 = filtered.length === 0 ? /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467237
467203
|
w: innerW,
|
|
467238
467204
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467239
467205
|
fg: t2.textMuted,
|
|
@@ -467253,53 +467219,50 @@ function SessionPicker(t0) {
|
|
|
467253
467219
|
return /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467254
467220
|
bg: bg2,
|
|
467255
467221
|
w: innerW,
|
|
467256
|
-
children:
|
|
467257
|
-
|
|
467258
|
-
|
|
467259
|
-
|
|
467260
|
-
|
|
467261
|
-
|
|
467262
|
-
|
|
467263
|
-
|
|
467264
|
-
|
|
467265
|
-
|
|
467266
|
-
|
|
467267
|
-
|
|
467268
|
-
|
|
467269
|
-
|
|
467270
|
-
|
|
467271
|
-
|
|
467272
|
-
|
|
467273
|
-
|
|
467274
|
-
|
|
467275
|
-
|
|
467276
|
-
|
|
467277
|
-
|
|
467278
|
-
|
|
467279
|
-
|
|
467280
|
-
|
|
467281
|
-
|
|
467282
|
-
}, undefined, false, undefined, this)
|
|
467283
|
-
]
|
|
467284
|
-
}, session_1.id, true, undefined, this);
|
|
467222
|
+
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467223
|
+
bg: bg2,
|
|
467224
|
+
children: [
|
|
467225
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
467226
|
+
fg: isActive ? t2.brand : t2.textFaint,
|
|
467227
|
+
children: isActive ? "> " : " "
|
|
467228
|
+
}, undefined, false, undefined, this),
|
|
467229
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
467230
|
+
fg: isActive ? t2.textPrimary : t2.textSecondary,
|
|
467231
|
+
children: rpad(title, titleColW)
|
|
467232
|
+
}, undefined, false, undefined, this),
|
|
467233
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
467234
|
+
fg: isActive ? t2.brandAlt : t2.textMuted,
|
|
467235
|
+
children: lpad(String(session_1.messageCount), COL_MSGS)
|
|
467236
|
+
}, undefined, false, undefined, this),
|
|
467237
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
467238
|
+
fg: isActive ? t2.textMuted : t2.textMuted,
|
|
467239
|
+
children: lpad(formatSize(session_1.sizeBytes), COL_SIZE)
|
|
467240
|
+
}, undefined, false, undefined, this),
|
|
467241
|
+
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
467242
|
+
fg: isActive ? t2.textMuted : t2.textDim,
|
|
467243
|
+
children: lpad(timeAgo(session_1.updatedAt), COL_TIME)
|
|
467244
|
+
}, undefined, false, undefined, this)
|
|
467245
|
+
]
|
|
467246
|
+
}, undefined, true, undefined, this)
|
|
467247
|
+
}, session_1.id, false, undefined, this);
|
|
467285
467248
|
});
|
|
467286
|
-
let
|
|
467287
|
-
if ($5[
|
|
467288
|
-
|
|
467289
|
-
flexDirection:
|
|
467290
|
-
height:
|
|
467291
|
-
overflow:
|
|
467292
|
-
children:
|
|
467249
|
+
let t48;
|
|
467250
|
+
if ($5[95] !== t45 || $5[96] !== t47) {
|
|
467251
|
+
t48 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
467252
|
+
flexDirection: t44,
|
|
467253
|
+
height: t45,
|
|
467254
|
+
overflow: t46,
|
|
467255
|
+
children: t47
|
|
467293
467256
|
}, undefined, false, undefined, this);
|
|
467294
|
-
$5[
|
|
467295
|
-
$5[
|
|
467296
|
-
$5[
|
|
467257
|
+
$5[95] = t45;
|
|
467258
|
+
$5[96] = t47;
|
|
467259
|
+
$5[97] = t48;
|
|
467297
467260
|
} else {
|
|
467298
|
-
|
|
467261
|
+
t48 = $5[97];
|
|
467299
467262
|
}
|
|
467300
|
-
let
|
|
467301
|
-
if ($5[
|
|
467302
|
-
|
|
467263
|
+
let t49;
|
|
467264
|
+
if ($5[98] !== cursor || $5[99] !== filtered.length || $5[100] !== innerW || $5[101] !== maxVisible || $5[102] !== scrollOffset || $5[103] !== t2.textMuted) {
|
|
467265
|
+
t49 = filtered.length > maxVisible && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467303
467266
|
w: innerW,
|
|
467304
467267
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467305
467268
|
fg: t2.textMuted,
|
|
@@ -467313,19 +467276,19 @@ function SessionPicker(t0) {
|
|
|
467313
467276
|
]
|
|
467314
467277
|
}, undefined, true, undefined, this)
|
|
467315
467278
|
}, undefined, false, undefined, this);
|
|
467316
|
-
$5[
|
|
467317
|
-
$5[
|
|
467318
|
-
$5[
|
|
467319
|
-
$5[
|
|
467320
|
-
$5[
|
|
467321
|
-
$5[
|
|
467322
|
-
$5[
|
|
467279
|
+
$5[98] = cursor;
|
|
467280
|
+
$5[99] = filtered.length;
|
|
467281
|
+
$5[100] = innerW;
|
|
467282
|
+
$5[101] = maxVisible;
|
|
467283
|
+
$5[102] = scrollOffset;
|
|
467284
|
+
$5[103] = t2.textMuted;
|
|
467285
|
+
$5[104] = t49;
|
|
467323
467286
|
} else {
|
|
467324
|
-
|
|
467287
|
+
t49 = $5[104];
|
|
467325
467288
|
}
|
|
467326
|
-
let
|
|
467327
|
-
if ($5[
|
|
467328
|
-
|
|
467289
|
+
let t50;
|
|
467290
|
+
if ($5[105] !== confirmClear || $5[106] !== innerW || $5[107] !== sessions.length || $5[108] !== t2.brandSecondary) {
|
|
467291
|
+
t50 = confirmClear && /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467329
467292
|
w: innerW,
|
|
467330
467293
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467331
467294
|
fg: t2.brandSecondary,
|
|
@@ -467338,61 +467301,61 @@ function SessionPicker(t0) {
|
|
|
467338
467301
|
]
|
|
467339
467302
|
}, undefined, true, undefined, this)
|
|
467340
467303
|
}, undefined, false, undefined, this);
|
|
467341
|
-
$5[
|
|
467342
|
-
$5[
|
|
467343
|
-
$5[
|
|
467344
|
-
$5[
|
|
467345
|
-
$5[
|
|
467304
|
+
$5[105] = confirmClear;
|
|
467305
|
+
$5[106] = innerW;
|
|
467306
|
+
$5[107] = sessions.length;
|
|
467307
|
+
$5[108] = t2.brandSecondary;
|
|
467308
|
+
$5[109] = t50;
|
|
467346
467309
|
} else {
|
|
467347
|
-
|
|
467310
|
+
t50 = $5[109];
|
|
467348
467311
|
}
|
|
467349
|
-
let
|
|
467350
|
-
if ($5[
|
|
467351
|
-
|
|
467312
|
+
let t51;
|
|
467313
|
+
if ($5[110] === Symbol.for("react.memo_cache_sentinel")) {
|
|
467314
|
+
t51 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467352
467315
|
children: ""
|
|
467353
467316
|
}, undefined, false, undefined, this);
|
|
467354
|
-
$5[
|
|
467317
|
+
$5[110] = t51;
|
|
467355
467318
|
} else {
|
|
467356
|
-
|
|
467319
|
+
t51 = $5[110];
|
|
467357
467320
|
}
|
|
467358
|
-
let
|
|
467359
|
-
if ($5[
|
|
467360
|
-
|
|
467321
|
+
let t52;
|
|
467322
|
+
if ($5[111] !== innerW) {
|
|
467323
|
+
t52 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467361
467324
|
w: innerW,
|
|
467362
|
-
children:
|
|
467325
|
+
children: t51
|
|
467363
467326
|
}, undefined, false, undefined, this);
|
|
467364
|
-
$5[
|
|
467365
|
-
$5[
|
|
467327
|
+
$5[111] = innerW;
|
|
467328
|
+
$5[112] = t52;
|
|
467366
467329
|
} else {
|
|
467367
|
-
|
|
467330
|
+
t52 = $5[112];
|
|
467368
467331
|
}
|
|
467369
|
-
let
|
|
467370
|
-
if ($5[
|
|
467371
|
-
|
|
467332
|
+
let t53;
|
|
467333
|
+
if ($5[113] !== t2.textDim) {
|
|
467334
|
+
t53 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
467372
467335
|
fg: t2.textDim,
|
|
467373
467336
|
bg: POPUP_BG,
|
|
467374
467337
|
children: "\u2191\u2193 navigate | \u23CE restore | ^D delete | ^X clear all | esc close"
|
|
467375
467338
|
}, undefined, false, undefined, this);
|
|
467376
|
-
$5[
|
|
467377
|
-
$5[
|
|
467339
|
+
$5[113] = t2.textDim;
|
|
467340
|
+
$5[114] = t53;
|
|
467378
467341
|
} else {
|
|
467379
|
-
|
|
467342
|
+
t53 = $5[114];
|
|
467380
467343
|
}
|
|
467381
|
-
let
|
|
467382
|
-
if ($5[
|
|
467383
|
-
|
|
467344
|
+
let t54;
|
|
467345
|
+
if ($5[115] !== innerW || $5[116] !== t53) {
|
|
467346
|
+
t54 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(PopupRow, {
|
|
467384
467347
|
w: innerW,
|
|
467385
|
-
children:
|
|
467348
|
+
children: t53
|
|
467386
467349
|
}, undefined, false, undefined, this);
|
|
467387
|
-
$5[
|
|
467388
|
-
$5[
|
|
467389
|
-
$5[
|
|
467350
|
+
$5[115] = innerW;
|
|
467351
|
+
$5[116] = t53;
|
|
467352
|
+
$5[117] = t54;
|
|
467390
467353
|
} else {
|
|
467391
|
-
|
|
467354
|
+
t54 = $5[117];
|
|
467392
467355
|
}
|
|
467393
|
-
let
|
|
467394
|
-
if ($5[
|
|
467395
|
-
|
|
467356
|
+
let t55;
|
|
467357
|
+
if ($5[118] !== t15 || $5[119] !== t16 || $5[120] !== t17 || $5[121] !== t18 || $5[122] !== t19 || $5[123] !== t21 || $5[124] !== t28 || $5[125] !== t32 || $5[126] !== t39 || $5[127] !== t43 || $5[128] !== t48 || $5[129] !== t49 || $5[130] !== t50 || $5[131] !== t52 || $5[132] !== t54) {
|
|
467358
|
+
t55 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("box", {
|
|
467396
467359
|
flexDirection: t15,
|
|
467397
467360
|
borderStyle: t16,
|
|
467398
467361
|
border: t17,
|
|
@@ -467401,45 +467364,47 @@ function SessionPicker(t0) {
|
|
|
467401
467364
|
children: [
|
|
467402
467365
|
t21,
|
|
467403
467366
|
t28,
|
|
467404
|
-
|
|
467367
|
+
t32,
|
|
467405
467368
|
t39,
|
|
467406
|
-
|
|
467407
|
-
t45,
|
|
467408
|
-
t46,
|
|
467369
|
+
t43,
|
|
467409
467370
|
t48,
|
|
467410
|
-
|
|
467371
|
+
t49,
|
|
467372
|
+
t50,
|
|
467373
|
+
t52,
|
|
467374
|
+
t54
|
|
467411
467375
|
]
|
|
467412
467376
|
}, undefined, true, undefined, this);
|
|
467413
|
-
$5[
|
|
467414
|
-
$5[
|
|
467415
|
-
$5[
|
|
467416
|
-
$5[
|
|
467417
|
-
$5[
|
|
467418
|
-
$5[
|
|
467419
|
-
$5[
|
|
467420
|
-
$5[
|
|
467421
|
-
$5[
|
|
467422
|
-
$5[
|
|
467423
|
-
$5[
|
|
467424
|
-
$5[
|
|
467425
|
-
$5[
|
|
467426
|
-
$5[
|
|
467427
|
-
$5[
|
|
467377
|
+
$5[118] = t15;
|
|
467378
|
+
$5[119] = t16;
|
|
467379
|
+
$5[120] = t17;
|
|
467380
|
+
$5[121] = t18;
|
|
467381
|
+
$5[122] = t19;
|
|
467382
|
+
$5[123] = t21;
|
|
467383
|
+
$5[124] = t28;
|
|
467384
|
+
$5[125] = t32;
|
|
467385
|
+
$5[126] = t39;
|
|
467386
|
+
$5[127] = t43;
|
|
467387
|
+
$5[128] = t48;
|
|
467388
|
+
$5[129] = t49;
|
|
467389
|
+
$5[130] = t50;
|
|
467390
|
+
$5[131] = t52;
|
|
467391
|
+
$5[132] = t54;
|
|
467392
|
+
$5[133] = t55;
|
|
467428
467393
|
} else {
|
|
467429
|
-
|
|
467394
|
+
t55 = $5[133];
|
|
467430
467395
|
}
|
|
467431
|
-
let
|
|
467432
|
-
if ($5[
|
|
467433
|
-
|
|
467434
|
-
children:
|
|
467396
|
+
let t56;
|
|
467397
|
+
if ($5[134] !== T1 || $5[135] !== t55) {
|
|
467398
|
+
t56 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV(T1, {
|
|
467399
|
+
children: t55
|
|
467435
467400
|
}, undefined, false, undefined, this);
|
|
467436
|
-
$5[
|
|
467437
|
-
$5[
|
|
467438
|
-
$5[
|
|
467401
|
+
$5[134] = T1;
|
|
467402
|
+
$5[135] = t55;
|
|
467403
|
+
$5[136] = t56;
|
|
467439
467404
|
} else {
|
|
467440
|
-
|
|
467405
|
+
t56 = $5[136];
|
|
467441
467406
|
}
|
|
467442
|
-
return
|
|
467407
|
+
return t56;
|
|
467443
467408
|
}
|
|
467444
467409
|
function _temp326(s_0, x4) {
|
|
467445
467410
|
return s_0 + x4.sizeBytes;
|
|
@@ -467447,7 +467412,7 @@ function _temp326(s_0, x4) {
|
|
|
467447
467412
|
function _temp230(prev_3) {
|
|
467448
467413
|
return `${prev_3} `;
|
|
467449
467414
|
}
|
|
467450
|
-
function
|
|
467415
|
+
function _temp79(prev_1) {
|
|
467451
467416
|
return prev_1.slice(0, -1);
|
|
467452
467417
|
}
|
|
467453
467418
|
var import_compiler_runtime58, import_react100, POPUP_CHROME = 8, COL_MSGS = 7, COL_SIZE = 7, COL_TIME = 11, COL_FIXED;
|
|
@@ -468577,7 +468542,7 @@ function UpdateModal(t0) {
|
|
|
468577
468542
|
if (!visible || tick >= 12) {
|
|
468578
468543
|
return;
|
|
468579
468544
|
}
|
|
468580
|
-
const timer = setInterval(() => setTick(
|
|
468545
|
+
const timer = setInterval(() => setTick(_temp80), 60);
|
|
468581
468546
|
return () => clearInterval(timer);
|
|
468582
468547
|
};
|
|
468583
468548
|
t5 = [visible, tick];
|
|
@@ -468790,7 +468755,7 @@ function UpdateModal(t0) {
|
|
|
468790
468755
|
t392 = $5[79];
|
|
468791
468756
|
}
|
|
468792
468757
|
arrowIc = t392;
|
|
468793
|
-
const ghostChar = tick <
|
|
468758
|
+
const ghostChar = tick < GHOST_FADE2.length ? GHOST_FADE2[tick] ?? "\u2591" : ghostIc;
|
|
468794
468759
|
const wispFrame = WISP[tick % WISP.length] ?? "";
|
|
468795
468760
|
const titleReady = tick >= 4;
|
|
468796
468761
|
let t402;
|
|
@@ -468832,7 +468797,7 @@ function UpdateModal(t0) {
|
|
|
468832
468797
|
bg: POPUP_BG,
|
|
468833
468798
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
468834
468799
|
fg: t2.success,
|
|
468835
|
-
attributes:
|
|
468800
|
+
attributes: BOLD5,
|
|
468836
468801
|
children: [
|
|
468837
468802
|
checkIc,
|
|
468838
468803
|
" Upgrade Complete!"
|
|
@@ -468861,7 +468826,7 @@ function UpdateModal(t0) {
|
|
|
468861
468826
|
t453 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
468862
468827
|
bg: POPUP_BG,
|
|
468863
468828
|
fg: t2.brandDim,
|
|
468864
|
-
attributes:
|
|
468829
|
+
attributes: DIM4,
|
|
468865
468830
|
children: [
|
|
468866
468831
|
" ",
|
|
468867
468832
|
"\u223F~\u223F"
|
|
@@ -468926,7 +468891,7 @@ function UpdateModal(t0) {
|
|
|
468926
468891
|
if ($5[106] !== latest || $5[107] !== t2.success) {
|
|
468927
468892
|
t503 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
468928
468893
|
fg: t2.success,
|
|
468929
|
-
attributes:
|
|
468894
|
+
attributes: BOLD5,
|
|
468930
468895
|
children: [
|
|
468931
468896
|
"v",
|
|
468932
468897
|
latest
|
|
@@ -468981,7 +468946,7 @@ function UpdateModal(t0) {
|
|
|
468981
468946
|
t542 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
468982
468947
|
bg: POPUP_BG,
|
|
468983
468948
|
fg: t2.textSecondary,
|
|
468984
|
-
attributes:
|
|
468949
|
+
attributes: ITALIC4,
|
|
468985
468950
|
children: [
|
|
468986
468951
|
" ",
|
|
468987
468952
|
"The forge has been retempered."
|
|
@@ -469059,7 +469024,7 @@ function UpdateModal(t0) {
|
|
|
469059
469024
|
if ($5[132] !== t2.success) {
|
|
469060
469025
|
t602 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
469061
469026
|
fg: t2.success,
|
|
469062
|
-
attributes:
|
|
469027
|
+
attributes: BOLD5,
|
|
469063
469028
|
children: [
|
|
469064
469029
|
" ",
|
|
469065
469030
|
arrowIc,
|
|
@@ -469235,7 +469200,7 @@ function UpdateModal(t0) {
|
|
|
469235
469200
|
t593 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
469236
469201
|
bg: POPUP_BG,
|
|
469237
469202
|
fg: t2.brand,
|
|
469238
|
-
attributes:
|
|
469203
|
+
attributes: BOLD5,
|
|
469239
469204
|
children: [
|
|
469240
469205
|
ghostIc,
|
|
469241
469206
|
" Upgrading SoulForge\u2026"
|
|
@@ -469262,7 +469227,7 @@ function UpdateModal(t0) {
|
|
|
469262
469227
|
t603 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
469263
469228
|
bg: POPUP_BG,
|
|
469264
469229
|
fg: t2.brandDim,
|
|
469265
|
-
attributes:
|
|
469230
|
+
attributes: DIM4,
|
|
469266
469231
|
children: [
|
|
469267
469232
|
" ",
|
|
469268
469233
|
"\u223F~\u223F"
|
|
@@ -469336,7 +469301,7 @@ function UpdateModal(t0) {
|
|
|
469336
469301
|
if ($5[217] !== t2.brandAlt || $5[218] !== t64) {
|
|
469337
469302
|
t65 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
469338
469303
|
fg: t623,
|
|
469339
|
-
attributes:
|
|
469304
|
+
attributes: ITALIC4,
|
|
469340
469305
|
children: [
|
|
469341
469306
|
" ",
|
|
469342
469307
|
t64
|
|
@@ -469570,7 +469535,7 @@ function UpdateModal(t0) {
|
|
|
469570
469535
|
t443 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
469571
469536
|
bg: POPUP_BG,
|
|
469572
469537
|
fg: t2.brandSecondary,
|
|
469573
|
-
attributes:
|
|
469538
|
+
attributes: BOLD5,
|
|
469574
469539
|
children: [
|
|
469575
469540
|
errorIc,
|
|
469576
469541
|
" The Forge Sputtered"
|
|
@@ -469598,7 +469563,7 @@ function UpdateModal(t0) {
|
|
|
469598
469563
|
t463 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
469599
469564
|
bg: POPUP_BG,
|
|
469600
469565
|
fg: t2.brandDim,
|
|
469601
|
-
attributes:
|
|
469566
|
+
attributes: DIM4,
|
|
469602
469567
|
children: [
|
|
469603
469568
|
" ",
|
|
469604
469569
|
"\u223F~\u223F"
|
|
@@ -469700,7 +469665,7 @@ function UpdateModal(t0) {
|
|
|
469700
469665
|
t562 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
469701
469666
|
bg: POPUP_BG,
|
|
469702
469667
|
fg: t2.textMuted,
|
|
469703
|
-
attributes:
|
|
469668
|
+
attributes: ITALIC4,
|
|
469704
469669
|
children: [
|
|
469705
469670
|
" ",
|
|
469706
469671
|
"The spirits suggest a manual approach:"
|
|
@@ -469755,7 +469720,7 @@ function UpdateModal(t0) {
|
|
|
469755
469720
|
t592,
|
|
469756
469721
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
469757
469722
|
fg: t2.brand,
|
|
469758
|
-
attributes:
|
|
469723
|
+
attributes: BOLD5,
|
|
469759
469724
|
children: trunc(upgradeCmd, iw - 10)
|
|
469760
469725
|
}, undefined, false, undefined, this)
|
|
469761
469726
|
]
|
|
@@ -469889,7 +469854,7 @@ function UpdateModal(t0) {
|
|
|
469889
469854
|
if ($5[326] !== ghostChar || $5[327] !== t2.brand) {
|
|
469890
469855
|
t443 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
469891
469856
|
fg: t2.brand,
|
|
469892
|
-
attributes:
|
|
469857
|
+
attributes: BOLD5,
|
|
469893
469858
|
children: [
|
|
469894
469859
|
" ",
|
|
469895
469860
|
ghostChar,
|
|
@@ -469914,7 +469879,7 @@ function UpdateModal(t0) {
|
|
|
469914
469879
|
if ($5[331] !== t2.textPrimary || $5[332] !== t453) {
|
|
469915
469880
|
t463 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
469916
469881
|
fg: t2.textPrimary,
|
|
469917
|
-
attributes:
|
|
469882
|
+
attributes: BOLD5,
|
|
469918
469883
|
children: t453
|
|
469919
469884
|
}, undefined, false, undefined, this);
|
|
469920
469885
|
$5[331] = t2.textPrimary;
|
|
@@ -469955,7 +469920,7 @@ function UpdateModal(t0) {
|
|
|
469955
469920
|
t493 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
469956
469921
|
bg: POPUP_BG,
|
|
469957
469922
|
fg: t2.brandDim,
|
|
469958
|
-
attributes:
|
|
469923
|
+
attributes: DIM4,
|
|
469959
469924
|
children: [
|
|
469960
469925
|
" ",
|
|
469961
469926
|
wispFrame
|
|
@@ -470031,7 +469996,7 @@ function UpdateModal(t0) {
|
|
|
470031
469996
|
if ($5[354] !== t2.success || $5[355] !== vCurrent) {
|
|
470032
469997
|
t562 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
470033
469998
|
fg: t2.success,
|
|
470034
|
-
attributes:
|
|
469999
|
+
attributes: BOLD5,
|
|
470035
470000
|
children: vCurrent
|
|
470036
470001
|
}, undefined, false, undefined, this);
|
|
470037
470002
|
$5[354] = t2.success;
|
|
@@ -470183,7 +470148,7 @@ function UpdateModal(t0) {
|
|
|
470183
470148
|
t69 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
470184
470149
|
bg: POPUP_BG,
|
|
470185
470150
|
fg: t2.brandAlt,
|
|
470186
|
-
attributes:
|
|
470151
|
+
attributes: ITALIC4,
|
|
470187
470152
|
children: [
|
|
470188
470153
|
" ",
|
|
470189
470154
|
quip_0
|
|
@@ -470327,7 +470292,7 @@ function UpdateModal(t0) {
|
|
|
470327
470292
|
if ($5[419] !== ghostChar || $5[420] !== t2.success) {
|
|
470328
470293
|
t422 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
470329
470294
|
fg: t2.success,
|
|
470330
|
-
attributes:
|
|
470295
|
+
attributes: BOLD5,
|
|
470331
470296
|
children: [
|
|
470332
470297
|
" ",
|
|
470333
470298
|
ghostChar,
|
|
@@ -470352,7 +470317,7 @@ function UpdateModal(t0) {
|
|
|
470352
470317
|
if ($5[424] !== t2.success || $5[425] !== t432) {
|
|
470353
470318
|
t442 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
470354
470319
|
fg: t2.success,
|
|
470355
|
-
attributes:
|
|
470320
|
+
attributes: BOLD5,
|
|
470356
470321
|
children: t432
|
|
470357
470322
|
}, undefined, false, undefined, this);
|
|
470358
470323
|
$5[424] = t2.success;
|
|
@@ -470392,7 +470357,7 @@ function UpdateModal(t0) {
|
|
|
470392
470357
|
t462 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
470393
470358
|
bg: POPUP_BG,
|
|
470394
470359
|
fg: t2.brandDim,
|
|
470395
|
-
attributes:
|
|
470360
|
+
attributes: DIM4,
|
|
470396
470361
|
children: [
|
|
470397
470362
|
" ",
|
|
470398
470363
|
wispFrame
|
|
@@ -470519,7 +470484,7 @@ function UpdateModal(t0) {
|
|
|
470519
470484
|
if ($5[458] !== t2.success || $5[459] !== vLatest) {
|
|
470520
470485
|
t53 = /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
470521
470486
|
fg: t2.success,
|
|
470522
|
-
attributes:
|
|
470487
|
+
attributes: BOLD5,
|
|
470523
470488
|
children: vLatest
|
|
470524
470489
|
}, undefined, false, undefined, this);
|
|
470525
470490
|
$5[458] = t2.success;
|
|
@@ -470643,7 +470608,7 @@ function UpdateModal(t0) {
|
|
|
470643
470608
|
children: /* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
470644
470609
|
bg: POPUP_BG,
|
|
470645
470610
|
fg: t2.brandAlt,
|
|
470646
|
-
attributes:
|
|
470611
|
+
attributes: BOLD5,
|
|
470647
470612
|
children: [
|
|
470648
470613
|
" ",
|
|
470649
470614
|
"Versions since yours"
|
|
@@ -470780,7 +470745,7 @@ function UpdateModal(t0) {
|
|
|
470780
470745
|
t14 = $5[501];
|
|
470781
470746
|
}
|
|
470782
470747
|
t10 = t2.brand;
|
|
470783
|
-
t11 =
|
|
470748
|
+
t11 = BOLD5;
|
|
470784
470749
|
t12 = trunc(upgradeCmd, iw - 10);
|
|
470785
470750
|
}
|
|
470786
470751
|
$5[22] = changelog;
|
|
@@ -470943,7 +470908,7 @@ function UpdateModal(t0) {
|
|
|
470943
470908
|
children: [
|
|
470944
470909
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("span", {
|
|
470945
470910
|
fg: t2.success,
|
|
470946
|
-
attributes:
|
|
470911
|
+
attributes: BOLD5,
|
|
470947
470912
|
children: [
|
|
470948
470913
|
" ",
|
|
470949
470914
|
arrowIc,
|
|
@@ -471124,10 +471089,10 @@ function _temp327(i_0) {
|
|
|
471124
471089
|
function _temp231(i4) {
|
|
471125
471090
|
return i4 + 1;
|
|
471126
471091
|
}
|
|
471127
|
-
function
|
|
471092
|
+
function _temp80(prev) {
|
|
471128
471093
|
return prev + 1;
|
|
471129
471094
|
}
|
|
471130
|
-
var import_compiler_runtime60, import_react104, UPGRADE_QUIPS, LATEST_QUIPS, SPINNER2,
|
|
471095
|
+
var import_compiler_runtime60, import_react104, UPGRADE_QUIPS, LATEST_QUIPS, SPINNER2, GHOST_FADE2, WISP, MAX_LOG = 50, BOLD5, ITALIC4, DIM4;
|
|
471131
471096
|
var init_UpdateModal = __esm(async () => {
|
|
471132
471097
|
init_icons();
|
|
471133
471098
|
init_theme();
|
|
@@ -471145,11 +471110,11 @@ var init_UpdateModal = __esm(async () => {
|
|
|
471145
471110
|
UPGRADE_QUIPS = ["Heating the forge\u2026", "Melting down the old version\u2026", "Pouring molten code into the mold\u2026", "Hammering out the bugs\u2026", "Quenching in liquid nitrogen\u2026", "Polishing the new blade\u2026", "Enchanting with fresh runes\u2026", "Consulting the package spirits\u2026", "Negotiating with the registry gods\u2026", "Bribing the dependency elves\u2026", "Aligning the semantic versions\u2026", "Reticulating splines\u2026", "Convincing npm to cooperate\u2026", "Performing arcane rituals\u2026", "Almost there, forgemaster\u2026"];
|
|
471146
471111
|
LATEST_QUIPS = ["The forge burns bright \u2014 you're on the cutting edge.", "No updates. The blade is already sharp.", "You're running the latest. The gods are pleased.", "Peak version achieved. Nothing to see here.", "Already forged to perfection.", "The scrolls confirm: you're up to date.", "No new runes to inscribe today.", "Your version is so fresh it's still warm."];
|
|
471147
471112
|
SPINNER2 = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
471148
|
-
|
|
471113
|
+
GHOST_FADE2 = ["\u2591", "\u2592", "\u2593"];
|
|
471149
471114
|
WISP = ["~\u223F~", "\u223F~\u223F", "\xB7\u223F\xB7", "\u223F\xB7\u223F"];
|
|
471150
|
-
|
|
471151
|
-
|
|
471152
|
-
|
|
471115
|
+
BOLD5 = TextAttributes.BOLD;
|
|
471116
|
+
ITALIC4 = TextAttributes.ITALIC;
|
|
471117
|
+
DIM4 = TextAttributes.DIM;
|
|
471153
471118
|
});
|
|
471154
471119
|
|
|
471155
471120
|
// src/components/settings/EditorSettings.tsx
|
|
@@ -476492,7 +476457,7 @@ function ShutdownSplash(t0) {
|
|
|
476492
476457
|
let t3;
|
|
476493
476458
|
if ($5[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
476494
476459
|
t2 = () => {
|
|
476495
|
-
const timer = setInterval(() => setTick(
|
|
476460
|
+
const timer = setInterval(() => setTick(_temp81), 80);
|
|
476496
476461
|
return () => clearInterval(timer);
|
|
476497
476462
|
};
|
|
476498
476463
|
t3 = [];
|
|
@@ -476689,7 +476654,7 @@ function ShutdownSplash(t0) {
|
|
|
476689
476654
|
}
|
|
476690
476655
|
return t14;
|
|
476691
476656
|
}
|
|
476692
|
-
function
|
|
476657
|
+
function _temp81(t2) {
|
|
476693
476658
|
return t2 + 1;
|
|
476694
476659
|
}
|
|
476695
476660
|
function nativeCopy(text3) {
|
|
@@ -477931,9 +477896,9 @@ if (isCompiledBinary) {
|
|
|
477931
477896
|
}
|
|
477932
477897
|
}
|
|
477933
477898
|
var RST4 = "\x1B[0m";
|
|
477934
|
-
var
|
|
477935
|
-
var
|
|
477936
|
-
var
|
|
477899
|
+
var BOLD6 = "\x1B[1m";
|
|
477900
|
+
var DIM5 = "\x1B[2m";
|
|
477901
|
+
var ITALIC5 = "\x1B[3m";
|
|
477937
477902
|
function rgb(hex3) {
|
|
477938
477903
|
let h3 = hex3.slice(1);
|
|
477939
477904
|
if (h3.length === 3)
|
|
@@ -478070,29 +478035,29 @@ function stopSpinner() {
|
|
|
478070
478035
|
process.stdout.write("\x1B[?25l\x1B[2J\x1B[H");
|
|
478071
478036
|
var earlyModules = Promise.all([Promise.resolve().then(() => (init_config(), exports_config)), Promise.resolve().then(() => (init_detect(), exports_detect)), Promise.resolve().then(() => (init_icons(), exports_icons)), Promise.resolve().then(() => (init_install(), exports_install))]);
|
|
478072
478037
|
for (const frame of ["\u2591", "\u2592", "\u2593", GHOST]) {
|
|
478073
|
-
center(ROW.ghost, frame, PURPLE2 +
|
|
478038
|
+
center(ROW.ghost, frame, PURPLE2 + BOLD6);
|
|
478074
478039
|
await sleep2(50);
|
|
478075
478040
|
}
|
|
478076
|
-
center(ROW.wisp, WISP_FRAMES[0] ?? "",
|
|
478041
|
+
center(ROW.wisp, WISP_FRAMES[0] ?? "", DIM5 + DIM_PURPLE);
|
|
478077
478042
|
var wispTick = 0;
|
|
478078
478043
|
var wispTimer = setInterval(() => {
|
|
478079
478044
|
wispTick++;
|
|
478080
|
-
center(ROW.wisp, WISP_FRAMES[wispTick % WISP_FRAMES.length] ?? "",
|
|
478045
|
+
center(ROW.wisp, WISP_FRAMES[wispTick % WISP_FRAMES.length] ?? "", DIM5 + DIM_PURPLE);
|
|
478081
478046
|
}, 500);
|
|
478082
478047
|
var narrow = cols < 40;
|
|
478083
478048
|
await sleep2(100);
|
|
478084
478049
|
if (narrow) {
|
|
478085
|
-
center(ROW.word + 1, "SOULFORGE", PURPLE2 +
|
|
478050
|
+
center(ROW.word + 1, "SOULFORGE", PURPLE2 + BOLD6);
|
|
478086
478051
|
} else {
|
|
478087
478052
|
for (let i4 = 0;i4 < 3; i4++) {
|
|
478088
478053
|
center(ROW.word + i4, garble(WORDMARK[i4] ?? ""), FAINT);
|
|
478089
478054
|
await sleep2(40);
|
|
478090
|
-
center(ROW.word + i4, WORDMARK[i4] ?? "", PURPLE2 +
|
|
478055
|
+
center(ROW.word + i4, WORDMARK[i4] ?? "", PURPLE2 + BOLD6);
|
|
478091
478056
|
await sleep2(30);
|
|
478092
478057
|
}
|
|
478093
478058
|
}
|
|
478094
478059
|
await sleep2(60);
|
|
478095
|
-
center(ROW.sub, `${SUBTLE}\u2500\u2500 ${RST4}${MUTED}${
|
|
478060
|
+
center(ROW.sub, `${SUBTLE}\u2500\u2500 ${RST4}${MUTED}${ITALIC5}Graph-Powered Code Intelligence${RST4}${SUBTLE} \u2500\u2500${RST4}`);
|
|
478096
478061
|
await sleep2(100);
|
|
478097
478062
|
var brandParts = getBrandSegments().map((s2) => ({
|
|
478098
478063
|
text: s2.text,
|