@proxysoul/soulforge 2.13.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +276 -264
- package/dist/workers/io.worker.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41578,7 +41578,7 @@ var package_default;
|
|
|
41578
41578
|
var init_package = __esm(() => {
|
|
41579
41579
|
package_default = {
|
|
41580
41580
|
name: "@proxysoul/soulforge",
|
|
41581
|
-
version: "2.13.
|
|
41581
|
+
version: "2.13.1",
|
|
41582
41582
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
41583
41583
|
repository: {
|
|
41584
41584
|
type: "git",
|
|
@@ -83460,9 +83460,11 @@ function invalidateProviderModelCache(providerId) {
|
|
|
83460
83460
|
modelCache.delete(providerId);
|
|
83461
83461
|
groupedCache.delete(providerId);
|
|
83462
83462
|
}
|
|
83463
|
-
async function fetchProviderModels(providerId
|
|
83463
|
+
async function fetchProviderModels(providerId, {
|
|
83464
|
+
bypassCache = false
|
|
83465
|
+
} = {}) {
|
|
83464
83466
|
const entry = modelCache.get(providerId);
|
|
83465
|
-
if (entry && Date.now() - entry.ts <= MODEL_CACHE_TTL)
|
|
83467
|
+
if (!bypassCache && entry && Date.now() - entry.ts <= MODEL_CACHE_TTL)
|
|
83466
83468
|
return {
|
|
83467
83469
|
models: entry.models
|
|
83468
83470
|
};
|
|
@@ -83532,9 +83534,11 @@ function getCachedGroupedModels(providerId) {
|
|
|
83532
83534
|
function titleCase(s) {
|
|
83533
83535
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
|
83534
83536
|
}
|
|
83535
|
-
async function fetchGroupedModels(providerId
|
|
83537
|
+
async function fetchGroupedModels(providerId, {
|
|
83538
|
+
bypassCache = false
|
|
83539
|
+
} = {}) {
|
|
83536
83540
|
const entry = groupedCache.get(providerId);
|
|
83537
|
-
if (entry && Date.now() - entry.ts <= MODEL_CACHE_TTL)
|
|
83541
|
+
if (!bypassCache && entry && Date.now() - entry.ts <= MODEL_CACHE_TTL)
|
|
83538
83542
|
return entry.result;
|
|
83539
83543
|
if (providerId === "vercel_gateway")
|
|
83540
83544
|
return fetchVercelGatewayGrouped();
|
|
@@ -381274,13 +381278,25 @@ var init_agent_results = __esm(() => {
|
|
|
381274
381278
|
function resolveRetrySettings(raw, opts = {}) {
|
|
381275
381279
|
const defaultBase = opts.agent ? DEFAULT_AGENT_BASE_DELAY_MS : DEFAULT_CHAT_BASE_DELAY_MS;
|
|
381276
381280
|
const obj = raw && typeof raw === "object" ? raw : null;
|
|
381277
|
-
const maxRetries =
|
|
381281
|
+
const maxRetries = clampIntMin(obj?.maxAttempts, MIN_MAX_ATTEMPTS, DEFAULT_MAX_RETRIES, "retry.maxAttempts");
|
|
381278
381282
|
const baseDelayMs = clampInt(obj?.baseDelayMs, MIN_BASE_DELAY_MS, MAX_BASE_DELAY_MS, defaultBase, "retry.baseDelayMs");
|
|
381279
381283
|
return {
|
|
381280
381284
|
maxRetries,
|
|
381281
381285
|
baseDelayMs
|
|
381282
381286
|
};
|
|
381283
381287
|
}
|
|
381288
|
+
function clampIntMin(value, min, fallback, key2) {
|
|
381289
|
+
if (value === undefined)
|
|
381290
|
+
return fallback;
|
|
381291
|
+
if (typeof value !== "number" || !Number.isFinite(value)) {
|
|
381292
|
+
if (key2 && !warnedKeys.has(key2)) {
|
|
381293
|
+
warnedKeys.add(key2);
|
|
381294
|
+
logBackgroundError("config", `${key2}: expected a finite number, got ${typeof value === "object" ? JSON.stringify(value) : String(value)} (${typeof value}). Using default ${String(fallback)}.`);
|
|
381295
|
+
}
|
|
381296
|
+
return fallback;
|
|
381297
|
+
}
|
|
381298
|
+
return Math.max(min, Math.round(value));
|
|
381299
|
+
}
|
|
381284
381300
|
function clampInt(value, min, max, fallback, key2) {
|
|
381285
381301
|
if (value === undefined)
|
|
381286
381302
|
return fallback;
|
|
@@ -381293,7 +381309,7 @@ function clampInt(value, min, max, fallback, key2) {
|
|
|
381293
381309
|
}
|
|
381294
381310
|
return Math.min(max, Math.max(min, Math.round(value)));
|
|
381295
381311
|
}
|
|
381296
|
-
var DEFAULT_AGENT_BASE_DELAY_MS = 2000, DEFAULT_CHAT_BASE_DELAY_MS = 1000, DEFAULT_MAX_RETRIES = 3, MIN_MAX_ATTEMPTS = 1,
|
|
381312
|
+
var DEFAULT_AGENT_BASE_DELAY_MS = 2000, DEFAULT_CHAT_BASE_DELAY_MS = 1000, DEFAULT_MAX_RETRIES = 3, MIN_MAX_ATTEMPTS = 1, MIN_BASE_DELAY_MS = 250, MAX_BASE_DELAY_MS = 60000, warnedKeys;
|
|
381297
381313
|
var init_settings = __esm(() => {
|
|
381298
381314
|
init_errors();
|
|
381299
381315
|
warnedKeys = new Set;
|
|
@@ -477341,7 +477357,7 @@ ${description}`,
|
|
|
477341
477357
|
queueMicrotaskFlush();
|
|
477342
477358
|
}
|
|
477343
477359
|
});
|
|
477344
|
-
const STALL_MAX_RETRIES =
|
|
477360
|
+
const STALL_MAX_RETRIES = resolveRetrySettings(effectiveConfig2.retry).maxRetries;
|
|
477345
477361
|
let stallWatchdog = null;
|
|
477346
477362
|
let unsubStallWatch1 = null;
|
|
477347
477363
|
let unsubStallWatch2 = null;
|
|
@@ -508040,189 +508056,185 @@ function flattenGrouped(r4) {
|
|
|
508040
508056
|
return out2;
|
|
508041
508057
|
}
|
|
508042
508058
|
function useAllProviderModels(active) {
|
|
508043
|
-
const
|
|
508044
|
-
|
|
508045
|
-
|
|
508046
|
-
|
|
508047
|
-
|
|
508048
|
-
|
|
508049
|
-
|
|
508050
|
-
|
|
508051
|
-
|
|
508059
|
+
const [providerData, setProviderData] = import_react100.useState(() => {
|
|
508060
|
+
const init2 = {};
|
|
508061
|
+
for (const cfg of PROVIDER_CONFIGS) {
|
|
508062
|
+
if (cfg.grouped) {
|
|
508063
|
+
const cached2 = getCachedGroupedModels(cfg.id);
|
|
508064
|
+
init2[cfg.id] = cached2 ? {
|
|
508065
|
+
items: flattenGrouped(cached2),
|
|
508066
|
+
loading: false
|
|
508067
|
+
} : {
|
|
508068
|
+
items: [],
|
|
508069
|
+
loading: true
|
|
508070
|
+
};
|
|
508071
|
+
} else {
|
|
508072
|
+
const cached_0 = getCachedModels(cfg.id);
|
|
508073
|
+
init2[cfg.id] = cached_0 ? {
|
|
508074
|
+
items: cached_0,
|
|
508075
|
+
loading: false
|
|
508076
|
+
} : {
|
|
508077
|
+
items: [],
|
|
508078
|
+
loading: true
|
|
508079
|
+
};
|
|
508052
508080
|
}
|
|
508053
|
-
|
|
508054
|
-
|
|
508055
|
-
|
|
508056
|
-
|
|
508057
|
-
|
|
508058
|
-
|
|
508059
|
-
|
|
508060
|
-
|
|
508061
|
-
|
|
508062
|
-
|
|
508063
|
-
|
|
508064
|
-
|
|
508065
|
-
|
|
508066
|
-
|
|
508067
|
-
|
|
508068
|
-
|
|
508069
|
-
|
|
508070
|
-
|
|
508071
|
-
|
|
508072
|
-
|
|
508073
|
-
|
|
508074
|
-
|
|
508075
|
-
|
|
508076
|
-
|
|
508077
|
-
|
|
508081
|
+
}
|
|
508082
|
+
return init2;
|
|
508083
|
+
});
|
|
508084
|
+
const [availability, setAvailability] = import_react100.useState(() => {
|
|
508085
|
+
const cached_1 = getCachedProviderStatuses();
|
|
508086
|
+
const map2 = new Map;
|
|
508087
|
+
if (cached_1) {
|
|
508088
|
+
for (const s2 of cached_1)
|
|
508089
|
+
map2.set(s2.id, s2.available);
|
|
508090
|
+
} else {
|
|
508091
|
+
for (const cfg_0 of PROVIDER_CONFIGS) {
|
|
508092
|
+
const sk = cfg_0.envVar ? ENV_SK[cfg_0.envVar] : null;
|
|
508093
|
+
map2.set(cfg_0.id, sk ? hasSecret(sk).set : true);
|
|
508094
|
+
}
|
|
508095
|
+
}
|
|
508096
|
+
return map2;
|
|
508097
|
+
});
|
|
508098
|
+
import_react100.useEffect(() => {
|
|
508099
|
+
if (!active)
|
|
508100
|
+
return;
|
|
508101
|
+
const init_0 = {};
|
|
508102
|
+
for (const cfg_1 of PROVIDER_CONFIGS) {
|
|
508103
|
+
if (cfg_1.grouped) {
|
|
508104
|
+
const cached_2 = getCachedGroupedModels(cfg_1.id);
|
|
508105
|
+
init_0[cfg_1.id] = cached_2 ? {
|
|
508106
|
+
items: flattenGrouped(cached_2),
|
|
508107
|
+
loading: false
|
|
508108
|
+
} : {
|
|
508109
|
+
items: [],
|
|
508110
|
+
loading: true
|
|
508111
|
+
};
|
|
508112
|
+
} else {
|
|
508113
|
+
const cached_3 = getCachedModels(cfg_1.id);
|
|
508114
|
+
init_0[cfg_1.id] = cached_3 ? {
|
|
508115
|
+
items: cached_3,
|
|
508116
|
+
loading: false
|
|
508117
|
+
} : {
|
|
508118
|
+
items: [],
|
|
508119
|
+
loading: true
|
|
508120
|
+
};
|
|
508078
508121
|
}
|
|
508079
|
-
|
|
508080
|
-
|
|
508081
|
-
|
|
508082
|
-
|
|
508122
|
+
}
|
|
508123
|
+
setProviderData((prev) => {
|
|
508124
|
+
const initKeys = Object.keys(init_0);
|
|
508125
|
+
const prevKeys = Object.keys(prev);
|
|
508126
|
+
if (initKeys.length !== prevKeys.length)
|
|
508127
|
+
return init_0;
|
|
508128
|
+
for (const k5 of prevKeys) {
|
|
508129
|
+
if (!(k5 in init_0))
|
|
508083
508130
|
return init_0;
|
|
508084
|
-
}
|
|
508085
|
-
for (const k5 of prevKeys) {
|
|
508086
|
-
if (!(k5 in init_0)) {
|
|
508087
|
-
return init_0;
|
|
508088
|
-
}
|
|
508089
|
-
}
|
|
508090
|
-
for (const k_0 of initKeys) {
|
|
508091
|
-
const a2 = prev[k_0];
|
|
508092
|
-
const b5 = init_0[k_0];
|
|
508093
|
-
if (!a2 || !b5 || a2.loading !== b5.loading || a2.items !== b5.items || a2.error !== b5.error) {
|
|
508094
|
-
return init_0;
|
|
508095
|
-
}
|
|
508096
|
-
}
|
|
508097
|
-
return prev;
|
|
508098
|
-
});
|
|
508099
|
-
const cachedStatuses2 = getCachedProviderStatuses();
|
|
508100
|
-
if (cachedStatuses2) {
|
|
508101
|
-
const map_0 = new Map;
|
|
508102
|
-
for (const s_0 of cachedStatuses2) {
|
|
508103
|
-
map_0.set(s_0.id, s_0.available);
|
|
508104
|
-
}
|
|
508105
|
-
setAvailability(map_0);
|
|
508106
508131
|
}
|
|
508107
|
-
|
|
508108
|
-
|
|
508109
|
-
|
|
508110
|
-
|
|
508111
|
-
|
|
508112
|
-
const map_1 = new Map;
|
|
508113
|
-
for (const s_1 of statuses) {
|
|
508114
|
-
map_1.set(s_1.id, s_1.available);
|
|
508132
|
+
for (const k_0 of initKeys) {
|
|
508133
|
+
const a2 = prev[k_0];
|
|
508134
|
+
const b5 = init_0[k_0];
|
|
508135
|
+
if (!a2 || !b5 || a2.loading !== b5.loading || a2.items !== b5.items || a2.error !== b5.error) {
|
|
508136
|
+
return init_0;
|
|
508115
508137
|
}
|
|
508116
|
-
setAvailability(map_1);
|
|
508117
|
-
}).catch(_temp322);
|
|
508118
|
-
if (!anyStale) {
|
|
508119
|
-
return () => {
|
|
508120
|
-
dead = true;
|
|
508121
|
-
};
|
|
508122
508138
|
}
|
|
508123
|
-
|
|
508124
|
-
|
|
508125
|
-
|
|
508126
|
-
|
|
508127
|
-
|
|
508128
|
-
|
|
508129
|
-
|
|
508130
|
-
|
|
508131
|
-
|
|
508132
|
-
|
|
508133
|
-
|
|
508134
|
-
|
|
508135
|
-
|
|
508136
|
-
|
|
508139
|
+
return prev;
|
|
508140
|
+
});
|
|
508141
|
+
const cachedStatuses2 = getCachedProviderStatuses();
|
|
508142
|
+
if (cachedStatuses2) {
|
|
508143
|
+
const map_0 = new Map;
|
|
508144
|
+
for (const s_0 of cachedStatuses2)
|
|
508145
|
+
map_0.set(s_0.id, s_0.available);
|
|
508146
|
+
setAvailability(map_0);
|
|
508147
|
+
}
|
|
508148
|
+
let dead = false;
|
|
508149
|
+
checkProviders().then((statuses) => {
|
|
508150
|
+
if (dead)
|
|
508151
|
+
return;
|
|
508152
|
+
const map_1 = new Map;
|
|
508153
|
+
for (const s_1 of statuses)
|
|
508154
|
+
map_1.set(s_1.id, s_1.available);
|
|
508155
|
+
setAvailability(map_1);
|
|
508156
|
+
}).catch(() => {
|
|
508157
|
+
return;
|
|
508158
|
+
});
|
|
508159
|
+
const now2 = Date.now();
|
|
508160
|
+
const shouldBgRefresh = now2 - lastBgRefresh >= BG_REFRESH_COOLDOWN;
|
|
508161
|
+
const toFetch = [];
|
|
508162
|
+
for (const cfg_2 of PROVIDER_CONFIGS) {
|
|
508163
|
+
const wasCached = !init_0[cfg_2.id]?.loading;
|
|
508164
|
+
if (wasCached && !shouldBgRefresh)
|
|
508165
|
+
continue;
|
|
508166
|
+
toFetch.push({
|
|
508167
|
+
cfg: cfg_2,
|
|
508168
|
+
wasCached
|
|
508169
|
+
});
|
|
508170
|
+
}
|
|
508171
|
+
if (toFetch.length > 0) {
|
|
508172
|
+
const results = new Map;
|
|
508173
|
+
let pending = toFetch.length;
|
|
508174
|
+
const flush2 = () => {
|
|
508175
|
+
if (dead)
|
|
508176
|
+
return;
|
|
508177
|
+
setProviderData((p2) => {
|
|
508178
|
+
const next = {
|
|
508179
|
+
...p2
|
|
508180
|
+
};
|
|
508181
|
+
for (const [id, val] of results) {
|
|
508182
|
+
next[id] = {
|
|
508183
|
+
items: val.items,
|
|
508184
|
+
loading: false,
|
|
508185
|
+
error: val.error
|
|
508186
|
+
};
|
|
508137
508187
|
}
|
|
508188
|
+
return next;
|
|
508189
|
+
});
|
|
508190
|
+
if (shouldBgRefresh)
|
|
508191
|
+
lastBgRefresh = Date.now();
|
|
508192
|
+
};
|
|
508193
|
+
const done = (id_0, items, error48) => {
|
|
508194
|
+
results.set(id_0, {
|
|
508195
|
+
items,
|
|
508196
|
+
error: error48
|
|
508197
|
+
});
|
|
508198
|
+
if (--pending === 0)
|
|
508199
|
+
flush2();
|
|
508200
|
+
};
|
|
508201
|
+
for (const {
|
|
508202
|
+
cfg: cfg_3,
|
|
508203
|
+
wasCached: wasCached_0
|
|
508204
|
+
} of toFetch) {
|
|
508205
|
+
const fail = () => {
|
|
508206
|
+
if (!wasCached_0)
|
|
508207
|
+
done(cfg_3.id, []);
|
|
508208
|
+
else if (--pending === 0)
|
|
508209
|
+
flush2();
|
|
508138
508210
|
};
|
|
508139
|
-
|
|
508140
|
-
|
|
508141
|
-
|
|
508211
|
+
if (cfg_3.grouped) {
|
|
508212
|
+
fetchGroupedModels(cfg_3.id, {
|
|
508213
|
+
bypassCache: wasCached_0
|
|
508214
|
+
}).then((r4) => done(cfg_3.id, flattenGrouped(r4), r4.error)).catch(fail);
|
|
508142
508215
|
} else {
|
|
508143
|
-
fetchProviderModels(
|
|
508216
|
+
fetchProviderModels(cfg_3.id, {
|
|
508217
|
+
bypassCache: wasCached_0
|
|
508218
|
+
}).then((r_0) => done(cfg_3.id, r_0.models, r_0.error)).catch(fail);
|
|
508144
508219
|
}
|
|
508145
508220
|
}
|
|
508146
|
-
return () => {
|
|
508147
|
-
dead = true;
|
|
508148
|
-
};
|
|
508149
|
-
};
|
|
508150
|
-
t1 = [active];
|
|
508151
|
-
$5[0] = active;
|
|
508152
|
-
$5[1] = t0;
|
|
508153
|
-
$5[2] = t1;
|
|
508154
|
-
} else {
|
|
508155
|
-
t0 = $5[1];
|
|
508156
|
-
t1 = $5[2];
|
|
508157
|
-
}
|
|
508158
|
-
import_react100.useEffect(t0, t1);
|
|
508159
|
-
const anyLoading = Object.values(providerData).some(_temp417);
|
|
508160
|
-
let t2;
|
|
508161
|
-
if ($5[3] !== anyLoading || $5[4] !== availability || $5[5] !== providerData) {
|
|
508162
|
-
t2 = {
|
|
508163
|
-
providerData,
|
|
508164
|
-
availability,
|
|
508165
|
-
anyLoading
|
|
508166
|
-
};
|
|
508167
|
-
$5[3] = anyLoading;
|
|
508168
|
-
$5[4] = availability;
|
|
508169
|
-
$5[5] = providerData;
|
|
508170
|
-
$5[6] = t2;
|
|
508171
|
-
} else {
|
|
508172
|
-
t2 = $5[6];
|
|
508173
|
-
}
|
|
508174
|
-
return t2;
|
|
508175
|
-
}
|
|
508176
|
-
function _temp417(p_0) {
|
|
508177
|
-
return p_0.loading;
|
|
508178
|
-
}
|
|
508179
|
-
function _temp322() {}
|
|
508180
|
-
function _temp230() {
|
|
508181
|
-
const cached_1 = getCachedProviderStatuses();
|
|
508182
|
-
const map2 = new Map;
|
|
508183
|
-
if (cached_1) {
|
|
508184
|
-
for (const s2 of cached_1) {
|
|
508185
|
-
map2.set(s2.id, s2.available);
|
|
508186
|
-
}
|
|
508187
|
-
} else {
|
|
508188
|
-
for (const cfg_0 of PROVIDER_CONFIGS) {
|
|
508189
|
-
const sk = cfg_0.envVar ? ENV_SK[cfg_0.envVar] : null;
|
|
508190
|
-
map2.set(cfg_0.id, sk ? hasSecret(sk).set : true);
|
|
508191
508221
|
}
|
|
508192
|
-
|
|
508193
|
-
|
|
508194
|
-
}
|
|
508195
|
-
|
|
508196
|
-
const
|
|
508197
|
-
|
|
508198
|
-
|
|
508199
|
-
|
|
508200
|
-
|
|
508201
|
-
|
|
508202
|
-
loading: false
|
|
508203
|
-
} : {
|
|
508204
|
-
items: [],
|
|
508205
|
-
loading: true
|
|
508206
|
-
};
|
|
508207
|
-
} else {
|
|
508208
|
-
const cached_0 = getCachedModels(cfg.id);
|
|
508209
|
-
init2[cfg.id] = cached_0 ? {
|
|
508210
|
-
items: cached_0,
|
|
508211
|
-
loading: false
|
|
508212
|
-
} : {
|
|
508213
|
-
items: [],
|
|
508214
|
-
loading: true
|
|
508215
|
-
};
|
|
508216
|
-
}
|
|
508217
|
-
}
|
|
508218
|
-
return init2;
|
|
508222
|
+
return () => {
|
|
508223
|
+
dead = true;
|
|
508224
|
+
};
|
|
508225
|
+
}, [active]);
|
|
508226
|
+
const anyLoading = import_react100.useMemo(() => Object.values(providerData).some((p_0) => p_0.loading), [providerData]);
|
|
508227
|
+
return {
|
|
508228
|
+
providerData,
|
|
508229
|
+
availability,
|
|
508230
|
+
anyLoading
|
|
508231
|
+
};
|
|
508219
508232
|
}
|
|
508220
|
-
var
|
|
508233
|
+
var import_react100, BG_REFRESH_COOLDOWN = 1e4, lastBgRefresh = 0, ENV_SK;
|
|
508221
508234
|
var init_useAllProviderModels = __esm(() => {
|
|
508222
508235
|
init_models();
|
|
508223
508236
|
init_provider();
|
|
508224
508237
|
init_secrets();
|
|
508225
|
-
import_compiler_runtime59 = __toESM(require_compiler_runtime(), 1);
|
|
508226
508238
|
import_react100 = __toESM(require_react(), 1);
|
|
508227
508239
|
ENV_SK = {
|
|
508228
508240
|
ANTHROPIC_API_KEY: "anthropic-api-key",
|
|
@@ -508244,7 +508256,7 @@ function fmtCtx(n) {
|
|
|
508244
508256
|
return `${String(Math.round(n / 1000))}k`;
|
|
508245
508257
|
}
|
|
508246
508258
|
function HeaderRow2(t0) {
|
|
508247
|
-
const $5 =
|
|
508259
|
+
const $5 = import_compiler_runtime59.c(54);
|
|
508248
508260
|
const {
|
|
508249
508261
|
entry,
|
|
508250
508262
|
active,
|
|
@@ -508427,7 +508439,7 @@ function HeaderRow2(t0) {
|
|
|
508427
508439
|
return t13;
|
|
508428
508440
|
}
|
|
508429
508441
|
function ModelRow2(t0) {
|
|
508430
|
-
const $5 =
|
|
508442
|
+
const $5 = import_compiler_runtime59.c(50);
|
|
508431
508443
|
const {
|
|
508432
508444
|
entry,
|
|
508433
508445
|
active,
|
|
@@ -509123,7 +509135,7 @@ function LlmSelector({
|
|
|
509123
509135
|
}, undefined, true, undefined, this)
|
|
509124
509136
|
}, undefined, false, undefined, this);
|
|
509125
509137
|
}
|
|
509126
|
-
var
|
|
509138
|
+
var import_compiler_runtime59, import_react102, MAX_W2 = 72;
|
|
509127
509139
|
var init_LlmSelector = __esm(async () => {
|
|
509128
509140
|
init_icons();
|
|
509129
509141
|
init_models();
|
|
@@ -509138,7 +509150,7 @@ var init_LlmSelector = __esm(async () => {
|
|
|
509138
509150
|
init_core4(),
|
|
509139
509151
|
init_react2()
|
|
509140
509152
|
]);
|
|
509141
|
-
|
|
509153
|
+
import_compiler_runtime59 = __toESM(require_compiler_runtime(), 1);
|
|
509142
509154
|
import_react102 = __toESM(require_react(), 1);
|
|
509143
509155
|
});
|
|
509144
509156
|
|
|
@@ -509167,7 +509179,7 @@ function chunk(text3, color, attrs) {
|
|
|
509167
509179
|
return c;
|
|
509168
509180
|
}
|
|
509169
509181
|
function SessionPicker(t0) {
|
|
509170
|
-
const $5 =
|
|
509182
|
+
const $5 = import_compiler_runtime60.c(161);
|
|
509171
509183
|
const {
|
|
509172
509184
|
visible,
|
|
509173
509185
|
cwd: cwd2,
|
|
@@ -509281,11 +509293,11 @@ function SessionPicker(t0) {
|
|
|
509281
509293
|
return;
|
|
509282
509294
|
}
|
|
509283
509295
|
if (evt.name === "backspace" || evt.name === "delete") {
|
|
509284
|
-
setRenameValue(
|
|
509296
|
+
setRenameValue(_temp79);
|
|
509285
509297
|
return;
|
|
509286
509298
|
}
|
|
509287
509299
|
if (evt.name === "space") {
|
|
509288
|
-
setRenameValue(
|
|
509300
|
+
setRenameValue(_temp230);
|
|
509289
509301
|
return;
|
|
509290
509302
|
}
|
|
509291
509303
|
if (evt.name && evt.name.length === 1 && !evt.ctrl && !evt.meta) {
|
|
@@ -509334,7 +509346,7 @@ function SessionPicker(t0) {
|
|
|
509334
509346
|
return;
|
|
509335
509347
|
}
|
|
509336
509348
|
if (evt.name === "backspace" || evt.name === "delete") {
|
|
509337
|
-
setQuery(
|
|
509349
|
+
setQuery(_temp322);
|
|
509338
509350
|
resetScroll();
|
|
509339
509351
|
return;
|
|
509340
509352
|
}
|
|
@@ -509363,7 +509375,7 @@ function SessionPicker(t0) {
|
|
|
509363
509375
|
return;
|
|
509364
509376
|
}
|
|
509365
509377
|
if (evt.name === "space") {
|
|
509366
|
-
setQuery(
|
|
509378
|
+
setQuery(_temp417);
|
|
509367
509379
|
resetScroll();
|
|
509368
509380
|
return;
|
|
509369
509381
|
}
|
|
@@ -509923,19 +509935,19 @@ function SessionPicker(t0) {
|
|
|
509923
509935
|
function _temp513(s_0, x4) {
|
|
509924
509936
|
return s_0 + x4.sizeBytes;
|
|
509925
509937
|
}
|
|
509926
|
-
function
|
|
509938
|
+
function _temp417(prev_6) {
|
|
509927
509939
|
return `${prev_6} `;
|
|
509928
509940
|
}
|
|
509929
|
-
function
|
|
509941
|
+
function _temp322(prev_4) {
|
|
509930
509942
|
return prev_4.slice(0, -1);
|
|
509931
509943
|
}
|
|
509932
|
-
function
|
|
509944
|
+
function _temp230(prev_0) {
|
|
509933
509945
|
return `${prev_0} `;
|
|
509934
509946
|
}
|
|
509935
|
-
function
|
|
509947
|
+
function _temp79(prev) {
|
|
509936
509948
|
return prev.slice(0, -1);
|
|
509937
509949
|
}
|
|
509938
|
-
var
|
|
509950
|
+
var import_compiler_runtime60, import_react104, POPUP_CHROME = 8;
|
|
509939
509951
|
var init_SessionPicker = __esm(async () => {
|
|
509940
509952
|
init_icons();
|
|
509941
509953
|
init_manager5();
|
|
@@ -509947,7 +509959,7 @@ var init_SessionPicker = __esm(async () => {
|
|
|
509947
509959
|
init_core4(),
|
|
509948
509960
|
init_react2()
|
|
509949
509961
|
]);
|
|
509950
|
-
|
|
509962
|
+
import_compiler_runtime60 = __toESM(require_compiler_runtime(), 1);
|
|
509951
509963
|
import_react104 = __toESM(require_react(), 1);
|
|
509952
509964
|
});
|
|
509953
509965
|
|
|
@@ -509970,7 +509982,7 @@ function fmtMem(mb) {
|
|
|
509970
509982
|
return mb >= 1024 ? `${(mb / 1024).toFixed(1)} GB` : `${String(mb)} MB`;
|
|
509971
509983
|
}
|
|
509972
509984
|
function BarRow(t0) {
|
|
509973
|
-
const $5 =
|
|
509985
|
+
const $5 = import_compiler_runtime61.c(51);
|
|
509974
509986
|
const {
|
|
509975
509987
|
label,
|
|
509976
509988
|
pct,
|
|
@@ -510146,7 +510158,7 @@ function BarRow(t0) {
|
|
|
510146
510158
|
return t14;
|
|
510147
510159
|
}
|
|
510148
510160
|
function EntryRow(t0) {
|
|
510149
|
-
const $5 =
|
|
510161
|
+
const $5 = import_compiler_runtime61.c(17);
|
|
510150
510162
|
const {
|
|
510151
510163
|
label,
|
|
510152
510164
|
value,
|
|
@@ -510226,7 +510238,7 @@ function EntryRow(t0) {
|
|
|
510226
510238
|
return t8;
|
|
510227
510239
|
}
|
|
510228
510240
|
function SectionHeader(t0) {
|
|
510229
|
-
const $5 =
|
|
510241
|
+
const $5 = import_compiler_runtime61.c(6);
|
|
510230
510242
|
const {
|
|
510231
510243
|
label,
|
|
510232
510244
|
color,
|
|
@@ -510263,7 +510275,7 @@ function SectionHeader(t0) {
|
|
|
510263
510275
|
return t3;
|
|
510264
510276
|
}
|
|
510265
510277
|
function Spacer(t0) {
|
|
510266
|
-
const $5 =
|
|
510278
|
+
const $5 = import_compiler_runtime61.c(3);
|
|
510267
510279
|
const {
|
|
510268
510280
|
innerW
|
|
510269
510281
|
} = t0;
|
|
@@ -511051,7 +511063,7 @@ function StatusDashboard({
|
|
|
511051
511063
|
]
|
|
511052
511064
|
}, undefined, true, undefined, this);
|
|
511053
511065
|
}
|
|
511054
|
-
var
|
|
511066
|
+
var import_compiler_runtime61, import_react106, CHROME_ROWS13 = 6, TABS;
|
|
511055
511067
|
var init_StatusDashboard = __esm(async () => {
|
|
511056
511068
|
init_instance();
|
|
511057
511069
|
init_icons();
|
|
@@ -511070,14 +511082,14 @@ var init_StatusDashboard = __esm(async () => {
|
|
|
511070
511082
|
init_core4(),
|
|
511071
511083
|
init_react2()
|
|
511072
511084
|
]);
|
|
511073
|
-
|
|
511085
|
+
import_compiler_runtime61 = __toESM(require_compiler_runtime(), 1);
|
|
511074
511086
|
import_react106 = __toESM(require_react(), 1);
|
|
511075
511087
|
TABS = ["Context", "System"];
|
|
511076
511088
|
});
|
|
511077
511089
|
|
|
511078
511090
|
// src/components/modals/TabNamePopup.tsx
|
|
511079
511091
|
function TabNamePopup(t0) {
|
|
511080
|
-
const $5 =
|
|
511092
|
+
const $5 = import_compiler_runtime62.c(24);
|
|
511081
511093
|
const {
|
|
511082
511094
|
visible,
|
|
511083
511095
|
placeholder,
|
|
@@ -511122,7 +511134,7 @@ function TabNamePopup(t0) {
|
|
|
511122
511134
|
return;
|
|
511123
511135
|
}
|
|
511124
511136
|
if (evt.name === "backspace" || evt.name === "delete") {
|
|
511125
|
-
setValue2(
|
|
511137
|
+
setValue2(_temp80);
|
|
511126
511138
|
return;
|
|
511127
511139
|
}
|
|
511128
511140
|
if (evt.name && evt.name.length === 1 && !evt.ctrl && !evt.meta) {
|
|
@@ -511232,16 +511244,16 @@ function TabNamePopup(t0) {
|
|
|
511232
511244
|
}
|
|
511233
511245
|
return t10;
|
|
511234
511246
|
}
|
|
511235
|
-
function
|
|
511247
|
+
function _temp80(prev) {
|
|
511236
511248
|
return prev.slice(0, -1);
|
|
511237
511249
|
}
|
|
511238
|
-
var
|
|
511250
|
+
var import_compiler_runtime62, import_react108, POPUP_WIDTH = 44;
|
|
511239
511251
|
var init_TabNamePopup = __esm(async () => {
|
|
511240
511252
|
init_theme();
|
|
511241
511253
|
init_shared2();
|
|
511242
511254
|
init_jsx_dev_runtime();
|
|
511243
511255
|
await init_react2();
|
|
511244
|
-
|
|
511256
|
+
import_compiler_runtime62 = __toESM(require_compiler_runtime(), 1);
|
|
511245
511257
|
import_react108 = __toESM(require_react(), 1);
|
|
511246
511258
|
});
|
|
511247
511259
|
|
|
@@ -511250,7 +511262,7 @@ function trunc(s2, max) {
|
|
|
511250
511262
|
return s2.length > max ? `${s2.slice(0, max - 1)}\u2026` : s2;
|
|
511251
511263
|
}
|
|
511252
511264
|
function Hr3(t0) {
|
|
511253
|
-
const $5 =
|
|
511265
|
+
const $5 = import_compiler_runtime63.c(9);
|
|
511254
511266
|
const {
|
|
511255
511267
|
w: w5,
|
|
511256
511268
|
bg: bg2,
|
|
@@ -511293,7 +511305,7 @@ function Hr3(t0) {
|
|
|
511293
511305
|
return t3;
|
|
511294
511306
|
}
|
|
511295
511307
|
function Gap2(t0) {
|
|
511296
|
-
const $5 =
|
|
511308
|
+
const $5 = import_compiler_runtime63.c(4);
|
|
511297
511309
|
const {
|
|
511298
511310
|
w: w5,
|
|
511299
511311
|
bg: bg2,
|
|
@@ -511325,7 +511337,7 @@ function Gap2(t0) {
|
|
|
511325
511337
|
return t2;
|
|
511326
511338
|
}
|
|
511327
511339
|
function ChangelogSection(t0) {
|
|
511328
|
-
const $5 =
|
|
511340
|
+
const $5 = import_compiler_runtime63.c(21);
|
|
511329
511341
|
const {
|
|
511330
511342
|
releases,
|
|
511331
511343
|
maxLines,
|
|
@@ -512610,7 +512622,7 @@ function UpdateModal({
|
|
|
512610
512622
|
}, undefined, true, undefined, this)
|
|
512611
512623
|
}, undefined, false, undefined, this);
|
|
512612
512624
|
}
|
|
512613
|
-
var
|
|
512625
|
+
var import_compiler_runtime63, import_react110, UPGRADE_QUIPS, LATEST_QUIPS, CHANGELOG_ERROR_QUIPS, SPINNER2, GHOST_FADE, WISP, MAX_LOG = 50, BOLD6, ITALIC4, DIM3, TYPE_BADGE;
|
|
512614
512626
|
var init_UpdateModal = __esm(async () => {
|
|
512615
512627
|
init_icons();
|
|
512616
512628
|
init_theme();
|
|
@@ -512623,7 +512635,7 @@ var init_UpdateModal = __esm(async () => {
|
|
|
512623
512635
|
init_core4(),
|
|
512624
512636
|
init_react2()
|
|
512625
512637
|
]);
|
|
512626
|
-
|
|
512638
|
+
import_compiler_runtime63 = __toESM(require_compiler_runtime(), 1);
|
|
512627
512639
|
import_react110 = __toESM(require_react(), 1);
|
|
512628
512640
|
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"];
|
|
512629
512641
|
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."];
|
|
@@ -512671,7 +512683,7 @@ function getAgentAccessColors(t2) {
|
|
|
512671
512683
|
};
|
|
512672
512684
|
}
|
|
512673
512685
|
function EditorSettings(t0) {
|
|
512674
|
-
const $5 =
|
|
512686
|
+
const $5 = import_compiler_runtime64.c(83);
|
|
512675
512687
|
const {
|
|
512676
512688
|
visible,
|
|
512677
512689
|
settings,
|
|
@@ -513129,7 +513141,7 @@ function EditorSettings(t0) {
|
|
|
513129
513141
|
}
|
|
513130
513142
|
return t23;
|
|
513131
513143
|
}
|
|
513132
|
-
var
|
|
513144
|
+
var import_compiler_runtime64, import_react112, AGENT_ACCESS_MODES, AGENT_ACCESS_LABELS, MAX_POPUP_WIDTH9 = 70, CHROME_ROWS14 = 8, ITEMS, ALL_ON, ALL_OFF;
|
|
513133
513145
|
var init_EditorSettings = __esm(async () => {
|
|
513134
513146
|
init_theme();
|
|
513135
513147
|
init_usePopupScroll();
|
|
@@ -513139,7 +513151,7 @@ var init_EditorSettings = __esm(async () => {
|
|
|
513139
513151
|
init_core4(),
|
|
513140
513152
|
init_react2()
|
|
513141
513153
|
]);
|
|
513142
|
-
|
|
513154
|
+
import_compiler_runtime64 = __toESM(require_compiler_runtime(), 1);
|
|
513143
513155
|
import_react112 = __toESM(require_react(), 1);
|
|
513144
513156
|
AGENT_ACCESS_MODES = ["on", "off", "when-open"];
|
|
513145
513157
|
AGENT_ACCESS_LABELS = {
|
|
@@ -513908,7 +513920,7 @@ function langLabel(pkg) {
|
|
|
513908
513920
|
return `${pkg.languages.slice(0, 2).join(", ")} +${pkg.languages.length - 2}`;
|
|
513909
513921
|
}
|
|
513910
513922
|
function PackageRow(t0) {
|
|
513911
|
-
const $5 =
|
|
513923
|
+
const $5 = import_compiler_runtime65.c(49);
|
|
513912
513924
|
const {
|
|
513913
513925
|
status,
|
|
513914
513926
|
isActive,
|
|
@@ -514652,7 +514664,7 @@ function LspInstallSearch({
|
|
|
514652
514664
|
]
|
|
514653
514665
|
}, undefined, true, undefined, this);
|
|
514654
514666
|
}
|
|
514655
|
-
var
|
|
514667
|
+
var import_compiler_runtime65, import_react114, MAX_POPUP_WIDTH10 = 110, CHROME_ROWS15 = 10, TABS2, TAB_LABELS, CATEGORY_FILTERS;
|
|
514656
514668
|
var init_LspInstallSearch = __esm(async () => {
|
|
514657
514669
|
init_installer();
|
|
514658
514670
|
init_server_registry();
|
|
@@ -514664,7 +514676,7 @@ var init_LspInstallSearch = __esm(async () => {
|
|
|
514664
514676
|
init_core4(),
|
|
514665
514677
|
init_react2()
|
|
514666
514678
|
]);
|
|
514667
|
-
|
|
514679
|
+
import_compiler_runtime65 = __toESM(require_compiler_runtime(), 1);
|
|
514668
514680
|
import_react114 = __toESM(require_react(), 1);
|
|
514669
514681
|
TABS2 = ["search", "installed", "updates", "disabled", "recommended"];
|
|
514670
514682
|
TAB_LABELS = {
|
|
@@ -514833,7 +514845,7 @@ function mcpFooterHints(view, isForm, detailDisabled) {
|
|
|
514833
514845
|
}];
|
|
514834
514846
|
}
|
|
514835
514847
|
function MCPSettings(t0) {
|
|
514836
|
-
const $5 =
|
|
514848
|
+
const $5 = import_compiler_runtime66.c(162);
|
|
514837
514849
|
const {
|
|
514838
514850
|
visible,
|
|
514839
514851
|
mcpManager,
|
|
@@ -514855,7 +514867,7 @@ function MCPSettings(t0) {
|
|
|
514855
514867
|
const toolPageSize = Math.max(3, Math.floor(maxVisibleRows / 2));
|
|
514856
514868
|
let t1;
|
|
514857
514869
|
if ($5[0] !== projectServers) {
|
|
514858
|
-
t1 = new Set(projectServers.map(
|
|
514870
|
+
t1 = new Set(projectServers.map(_temp81));
|
|
514859
514871
|
$5[0] = projectServers;
|
|
514860
514872
|
$5[1] = t1;
|
|
514861
514873
|
} else {
|
|
@@ -514871,7 +514883,7 @@ function MCPSettings(t0) {
|
|
|
514871
514883
|
t22 = $5[3];
|
|
514872
514884
|
}
|
|
514873
514885
|
const scopeOf = t22;
|
|
514874
|
-
const runtimeServers = useMCPStore(
|
|
514886
|
+
const runtimeServers = useMCPStore(_temp231);
|
|
514875
514887
|
let t3;
|
|
514876
514888
|
if ($5[4] !== runtimeServers) {
|
|
514877
514889
|
t3 = Object.values(runtimeServers);
|
|
@@ -514883,7 +514895,7 @@ function MCPSettings(t0) {
|
|
|
514883
514895
|
const serverList = t3;
|
|
514884
514896
|
let t4;
|
|
514885
514897
|
if ($5[6] !== serverList) {
|
|
514886
|
-
t4 = serverList.flatMap(
|
|
514898
|
+
t4 = serverList.flatMap(_temp323);
|
|
514887
514899
|
$5[6] = serverList;
|
|
514888
514900
|
$5[7] = t4;
|
|
514889
514901
|
} else {
|
|
@@ -514892,7 +514904,7 @@ function MCPSettings(t0) {
|
|
|
514892
514904
|
const allTools = t4;
|
|
514893
514905
|
let t5;
|
|
514894
514906
|
if ($5[8] !== serverList) {
|
|
514895
|
-
t5 = serverList.filter(
|
|
514907
|
+
t5 = serverList.filter(_temp418);
|
|
514896
514908
|
$5[8] = serverList;
|
|
514897
514909
|
$5[9] = t5;
|
|
514898
514910
|
} else {
|
|
@@ -515743,23 +515755,23 @@ function _temp68() {}
|
|
|
515743
515755
|
function _temp514(e) {
|
|
515744
515756
|
return !e;
|
|
515745
515757
|
}
|
|
515746
|
-
function
|
|
515758
|
+
function _temp418(s_2) {
|
|
515747
515759
|
return s_2.status === "ready";
|
|
515748
515760
|
}
|
|
515749
|
-
function
|
|
515761
|
+
function _temp323(s_1) {
|
|
515750
515762
|
return s_1.tools.map((ti) => ({
|
|
515751
515763
|
...ti,
|
|
515752
515764
|
serverStatus: s_1.status
|
|
515753
515765
|
}));
|
|
515754
515766
|
}
|
|
515755
|
-
function
|
|
515767
|
+
function _temp231(s_0) {
|
|
515756
515768
|
return s_0.servers;
|
|
515757
515769
|
}
|
|
515758
|
-
function
|
|
515770
|
+
function _temp81(s2) {
|
|
515759
515771
|
return s2.name;
|
|
515760
515772
|
}
|
|
515761
515773
|
function Sep(t0) {
|
|
515762
|
-
const $5 =
|
|
515774
|
+
const $5 = import_compiler_runtime66.c(2);
|
|
515763
515775
|
const {
|
|
515764
515776
|
w: w5
|
|
515765
515777
|
} = t0;
|
|
@@ -515776,7 +515788,7 @@ function Sep(t0) {
|
|
|
515776
515788
|
return t1;
|
|
515777
515789
|
}
|
|
515778
515790
|
function ServerDetail(t0) {
|
|
515779
|
-
const $5 =
|
|
515791
|
+
const $5 = import_compiler_runtime66.c(102);
|
|
515780
515792
|
const {
|
|
515781
515793
|
server: server2,
|
|
515782
515794
|
scope,
|
|
@@ -516264,7 +516276,7 @@ function _temp112(t_0) {
|
|
|
516264
516276
|
return t_0.name;
|
|
516265
516277
|
}
|
|
516266
516278
|
function DetailRow(t0) {
|
|
516267
|
-
const $5 =
|
|
516279
|
+
const $5 = import_compiler_runtime66.c(15);
|
|
516268
516280
|
const {
|
|
516269
516281
|
label,
|
|
516270
516282
|
value,
|
|
@@ -516339,7 +516351,7 @@ function DetailRow(t0) {
|
|
|
516339
516351
|
return t6;
|
|
516340
516352
|
}
|
|
516341
516353
|
function FormBody(t0) {
|
|
516342
|
-
const $5 =
|
|
516354
|
+
const $5 = import_compiler_runtime66.c(81);
|
|
516343
516355
|
const {
|
|
516344
516356
|
draft,
|
|
516345
516357
|
setDraft,
|
|
@@ -516683,7 +516695,7 @@ function FormBody(t0) {
|
|
|
516683
516695
|
}
|
|
516684
516696
|
return t23;
|
|
516685
516697
|
}
|
|
516686
|
-
var
|
|
516698
|
+
var import_compiler_runtime66, import_react116, STATUS_LABEL, TRANSPORTS, TRANSPORT_LABEL, EMPTY, LABEL, HINT, MAX_WIDTH = 96, CHROME_ROWS16 = 8, MCP_TABS, TabRow, EmptyState, ServerCard, ToolBrowser;
|
|
516687
516699
|
var init_MCPSettings = __esm(async () => {
|
|
516688
516700
|
init_icons();
|
|
516689
516701
|
init_theme();
|
|
@@ -516695,7 +516707,7 @@ var init_MCPSettings = __esm(async () => {
|
|
|
516695
516707
|
init_core4(),
|
|
516696
516708
|
init_react2()
|
|
516697
516709
|
]);
|
|
516698
|
-
|
|
516710
|
+
import_compiler_runtime66 = __toESM(require_compiler_runtime(), 1);
|
|
516699
516711
|
import_react116 = __toESM(require_react(), 1);
|
|
516700
516712
|
STATUS_LABEL = {
|
|
516701
516713
|
disconnected: "offline",
|
|
@@ -516746,7 +516758,7 @@ var init_MCPSettings = __esm(async () => {
|
|
|
516746
516758
|
ic: "mcp_tool"
|
|
516747
516759
|
}];
|
|
516748
516760
|
TabRow = import_react116.memo(function TabRow2(t0) {
|
|
516749
|
-
const $5 =
|
|
516761
|
+
const $5 = import_compiler_runtime66.c(6);
|
|
516750
516762
|
const {
|
|
516751
516763
|
view,
|
|
516752
516764
|
innerW
|
|
@@ -516794,7 +516806,7 @@ var init_MCPSettings = __esm(async () => {
|
|
|
516794
516806
|
return t22;
|
|
516795
516807
|
});
|
|
516796
516808
|
EmptyState = import_react116.memo(function EmptyState2(t0) {
|
|
516797
|
-
const $5 =
|
|
516809
|
+
const $5 = import_compiler_runtime66.c(32);
|
|
516798
516810
|
const {
|
|
516799
516811
|
innerW
|
|
516800
516812
|
} = t0;
|
|
@@ -516974,7 +516986,7 @@ var init_MCPSettings = __esm(async () => {
|
|
|
516974
516986
|
return t15;
|
|
516975
516987
|
});
|
|
516976
516988
|
ServerCard = import_react116.memo(function ServerCard2(t0) {
|
|
516977
|
-
const $5 =
|
|
516989
|
+
const $5 = import_compiler_runtime66.c(87);
|
|
516978
516990
|
const {
|
|
516979
516991
|
server: server2,
|
|
516980
516992
|
scope,
|
|
@@ -517368,7 +517380,7 @@ var init_MCPSettings = __esm(async () => {
|
|
|
517368
517380
|
return t26;
|
|
517369
517381
|
});
|
|
517370
517382
|
ToolBrowser = import_react116.memo(function ToolBrowser2(t0) {
|
|
517371
|
-
const $5 =
|
|
517383
|
+
const $5 = import_compiler_runtime66.c(73);
|
|
517372
517384
|
const {
|
|
517373
517385
|
tools,
|
|
517374
517386
|
filter: filter7,
|
|
@@ -517829,7 +517841,7 @@ function detectInitialScope(project) {
|
|
|
517829
517841
|
return "global";
|
|
517830
517842
|
}
|
|
517831
517843
|
function ProviderSettings(t0) {
|
|
517832
|
-
const $5 =
|
|
517844
|
+
const $5 = import_compiler_runtime67.c(115);
|
|
517833
517845
|
const {
|
|
517834
517846
|
visible,
|
|
517835
517847
|
globalConfig: globalConfig2,
|
|
@@ -518398,7 +518410,7 @@ function ProviderSettings(t0) {
|
|
|
518398
518410
|
}
|
|
518399
518411
|
return t28;
|
|
518400
518412
|
}
|
|
518401
|
-
var
|
|
518413
|
+
var import_compiler_runtime67, import_react118, MAX_POPUP_WIDTH11 = 88, CHROME_ROWS17 = 7, TABS3, TAB_LABELS2, TAB_ICONS, CLAUDE_ITEMS, OPENAI_ITEMS, GENERAL_ITEMS, TAB_ITEMS, DEFAULTS;
|
|
518402
518414
|
var init_ProviderSettings = __esm(async () => {
|
|
518403
518415
|
init_icons();
|
|
518404
518416
|
init_theme();
|
|
@@ -518409,7 +518421,7 @@ var init_ProviderSettings = __esm(async () => {
|
|
|
518409
518421
|
init_core4(),
|
|
518410
518422
|
init_react2()
|
|
518411
518423
|
]);
|
|
518412
|
-
|
|
518424
|
+
import_compiler_runtime67 = __toESM(require_compiler_runtime(), 1);
|
|
518413
518425
|
import_react118 = __toESM(require_react(), 1);
|
|
518414
518426
|
TABS3 = ["claude", "openai", "general"];
|
|
518415
518427
|
TAB_LABELS2 = {
|
|
@@ -519254,7 +519266,7 @@ var init_RepoMapStatusPopup = __esm(async () => {
|
|
|
519254
519266
|
|
|
519255
519267
|
// src/components/settings/RouterSettings.tsx
|
|
519256
519268
|
function RouterSettings(t0) {
|
|
519257
|
-
const $5 =
|
|
519269
|
+
const $5 = import_compiler_runtime68.c(78);
|
|
519258
519270
|
const {
|
|
519259
519271
|
visible,
|
|
519260
519272
|
router: router2,
|
|
@@ -519672,7 +519684,7 @@ function RouterSettings(t0) {
|
|
|
519672
519684
|
}
|
|
519673
519685
|
return t21;
|
|
519674
519686
|
}
|
|
519675
|
-
var
|
|
519687
|
+
var import_compiler_runtime68, import_react122, MAX_POPUP_WIDTH12 = 76, CHROME_ROWS18 = 12, ROWS, SELECTABLE, SectionHeader2, SlotRowView, PickerRowView;
|
|
519676
519688
|
var init_RouterSettings = __esm(async () => {
|
|
519677
519689
|
init_icons();
|
|
519678
519690
|
init_theme();
|
|
@@ -519683,7 +519695,7 @@ var init_RouterSettings = __esm(async () => {
|
|
|
519683
519695
|
init_core4(),
|
|
519684
519696
|
init_react2()
|
|
519685
519697
|
]);
|
|
519686
|
-
|
|
519698
|
+
import_compiler_runtime68 = __toESM(require_compiler_runtime(), 1);
|
|
519687
519699
|
import_react122 = __toESM(require_react(), 1);
|
|
519688
519700
|
ROWS = [
|
|
519689
519701
|
{
|
|
@@ -519772,7 +519784,7 @@ var init_RouterSettings = __esm(async () => {
|
|
|
519772
519784
|
return acc;
|
|
519773
519785
|
}, []);
|
|
519774
519786
|
SectionHeader2 = import_react122.memo(function SectionHeader3(t0) {
|
|
519775
|
-
const $5 =
|
|
519787
|
+
const $5 = import_compiler_runtime68.c(25);
|
|
519776
519788
|
const {
|
|
519777
519789
|
title,
|
|
519778
519790
|
subtitle,
|
|
@@ -519900,7 +519912,7 @@ var init_RouterSettings = __esm(async () => {
|
|
|
519900
519912
|
return t10;
|
|
519901
519913
|
});
|
|
519902
519914
|
SlotRowView = import_react122.memo(function SlotRowView2(t0) {
|
|
519903
|
-
const $5 =
|
|
519915
|
+
const $5 = import_compiler_runtime68.c(25);
|
|
519904
519916
|
const {
|
|
519905
519917
|
slot,
|
|
519906
519918
|
modelId,
|
|
@@ -520008,7 +520020,7 @@ var init_RouterSettings = __esm(async () => {
|
|
|
520008
520020
|
return t12;
|
|
520009
520021
|
});
|
|
520010
520022
|
PickerRowView = import_react122.memo(function PickerRowView2(t0) {
|
|
520011
|
-
const $5 =
|
|
520023
|
+
const $5 = import_compiler_runtime68.c(28);
|
|
520012
520024
|
const {
|
|
520013
520025
|
picker,
|
|
520014
520026
|
value,
|
|
@@ -520115,7 +520127,7 @@ var init_RouterSettings = __esm(async () => {
|
|
|
520115
520127
|
import { existsSync as existsSync40 } from "fs";
|
|
520116
520128
|
import { join as join51 } from "path";
|
|
520117
520129
|
function SearchSkillRow(t0) {
|
|
520118
|
-
const $5 =
|
|
520130
|
+
const $5 = import_compiler_runtime69.c(33);
|
|
520119
520131
|
const {
|
|
520120
520132
|
skill,
|
|
520121
520133
|
isSelected,
|
|
@@ -520256,7 +520268,7 @@ function SearchSkillRow(t0) {
|
|
|
520256
520268
|
return t12;
|
|
520257
520269
|
}
|
|
520258
520270
|
function InstalledSkillRow(t0) {
|
|
520259
|
-
const $5 =
|
|
520271
|
+
const $5 = import_compiler_runtime69.c(24);
|
|
520260
520272
|
const {
|
|
520261
520273
|
skill,
|
|
520262
520274
|
isSelected,
|
|
@@ -520364,7 +520376,7 @@ function InstalledSkillRow(t0) {
|
|
|
520364
520376
|
return t10;
|
|
520365
520377
|
}
|
|
520366
520378
|
function ActiveSkillRow(t0) {
|
|
520367
|
-
const $5 =
|
|
520379
|
+
const $5 = import_compiler_runtime69.c(18);
|
|
520368
520380
|
const {
|
|
520369
520381
|
name: name31,
|
|
520370
520382
|
isSelected,
|
|
@@ -520447,7 +520459,7 @@ function ActiveSkillRow(t0) {
|
|
|
520447
520459
|
return t8;
|
|
520448
520460
|
}
|
|
520449
520461
|
function ScopeRow(t0) {
|
|
520450
|
-
const $5 =
|
|
520462
|
+
const $5 = import_compiler_runtime69.c(19);
|
|
520451
520463
|
const {
|
|
520452
520464
|
label,
|
|
520453
520465
|
description,
|
|
@@ -520534,7 +520546,7 @@ function ScopeRow(t0) {
|
|
|
520534
520546
|
return t8;
|
|
520535
520547
|
}
|
|
520536
520548
|
function SkillSearch(t0) {
|
|
520537
|
-
const $5 =
|
|
520549
|
+
const $5 = import_compiler_runtime69.c(116);
|
|
520538
520550
|
const {
|
|
520539
520551
|
visible,
|
|
520540
520552
|
contextManager,
|
|
@@ -520611,7 +520623,7 @@ function SkillSearch(t0) {
|
|
|
520611
520623
|
const filterQuery = query2.toLowerCase().trim();
|
|
520612
520624
|
let t6;
|
|
520613
520625
|
if ($5[5] !== installed) {
|
|
520614
|
-
t6 = new Set(installed.map(
|
|
520626
|
+
t6 = new Set(installed.map(_temp86));
|
|
520615
520627
|
$5[5] = installed;
|
|
520616
520628
|
$5[6] = t6;
|
|
520617
520629
|
} else {
|
|
@@ -520676,7 +520688,7 @@ function SkillSearch(t0) {
|
|
|
520676
520688
|
setCursor(0);
|
|
520677
520689
|
refreshInstalled();
|
|
520678
520690
|
refreshActive();
|
|
520679
|
-
listPopularSkills().then((r4) => setPopular(r4)).catch(
|
|
520691
|
+
listPopularSkills().then((r4) => setPopular(r4)).catch(_temp232);
|
|
520680
520692
|
}
|
|
520681
520693
|
};
|
|
520682
520694
|
t12 = [visible, setCursor, refreshActive, refreshInstalled];
|
|
@@ -520826,7 +520838,7 @@ function SkillSearch(t0) {
|
|
|
520826
520838
|
return;
|
|
520827
520839
|
}
|
|
520828
520840
|
if (evt.name === "up" || evt.name === "down") {
|
|
520829
|
-
setScopeCursor(
|
|
520841
|
+
setScopeCursor(_temp324);
|
|
520830
520842
|
return;
|
|
520831
520843
|
}
|
|
520832
520844
|
if (evt.name === "return") {
|
|
@@ -520899,7 +520911,7 @@ function SkillSearch(t0) {
|
|
|
520899
520911
|
return;
|
|
520900
520912
|
}
|
|
520901
520913
|
if (evt.name === "backspace" || evt.name === "delete") {
|
|
520902
|
-
setQuery(
|
|
520914
|
+
setQuery(_temp419);
|
|
520903
520915
|
resetScroll();
|
|
520904
520916
|
return;
|
|
520905
520917
|
}
|
|
@@ -521402,17 +521414,17 @@ function SkillSearch(t0) {
|
|
|
521402
521414
|
function _temp515(prev_3) {
|
|
521403
521415
|
return `${prev_3} `;
|
|
521404
521416
|
}
|
|
521405
|
-
function
|
|
521417
|
+
function _temp419(prev_2) {
|
|
521406
521418
|
return prev_2.slice(0, -1);
|
|
521407
521419
|
}
|
|
521408
|
-
function
|
|
521420
|
+
function _temp324(prev) {
|
|
521409
521421
|
return prev === 0 ? 1 : 0;
|
|
521410
521422
|
}
|
|
521411
|
-
function
|
|
521412
|
-
function
|
|
521423
|
+
function _temp232() {}
|
|
521424
|
+
function _temp86(s2) {
|
|
521413
521425
|
return s2.name;
|
|
521414
521426
|
}
|
|
521415
|
-
var
|
|
521427
|
+
var import_compiler_runtime69, import_react124, MAX_POPUP_WIDTH13 = 100, CHROME_ROWS19 = 9, TABS4, TAB_LABELS3;
|
|
521416
521428
|
var init_SkillSearch = __esm(async () => {
|
|
521417
521429
|
init_manager2();
|
|
521418
521430
|
init_theme();
|
|
@@ -521423,7 +521435,7 @@ var init_SkillSearch = __esm(async () => {
|
|
|
521423
521435
|
init_core4(),
|
|
521424
521436
|
init_react2()
|
|
521425
521437
|
]);
|
|
521426
|
-
|
|
521438
|
+
import_compiler_runtime69 = __toESM(require_compiler_runtime(), 1);
|
|
521427
521439
|
import_react124 = __toESM(require_react(), 1);
|
|
521428
521440
|
TABS4 = ["search", "installed", "active"];
|
|
521429
521441
|
TAB_LABELS3 = {
|
|
@@ -521435,7 +521447,7 @@ var init_SkillSearch = __esm(async () => {
|
|
|
521435
521447
|
|
|
521436
521448
|
// src/components/settings/ToolsPopup.tsx
|
|
521437
521449
|
function ToolsPopup(t0) {
|
|
521438
|
-
const $5 =
|
|
521450
|
+
const $5 = import_compiler_runtime70.c(18);
|
|
521439
521451
|
const {
|
|
521440
521452
|
visible,
|
|
521441
521453
|
disabledTools,
|
|
@@ -521551,7 +521563,7 @@ function ToolsPopup(t0) {
|
|
|
521551
521563
|
}
|
|
521552
521564
|
return t2;
|
|
521553
521565
|
}
|
|
521554
|
-
var
|
|
521566
|
+
var import_compiler_runtime70, import_react126, MAX_POPUP_WIDTH14 = 100, CHROME_ROWS20 = 5, ALL_TOOLS, ToolRow3;
|
|
521555
521567
|
var init_ToolsPopup = __esm(async () => {
|
|
521556
521568
|
init_theme();
|
|
521557
521569
|
init_constants2();
|
|
@@ -521559,14 +521571,14 @@ var init_ToolsPopup = __esm(async () => {
|
|
|
521559
521571
|
init_shared2();
|
|
521560
521572
|
init_jsx_dev_runtime();
|
|
521561
521573
|
await init_react2();
|
|
521562
|
-
|
|
521574
|
+
import_compiler_runtime70 = __toESM(require_compiler_runtime(), 1);
|
|
521563
521575
|
import_react126 = __toESM(require_react(), 1);
|
|
521564
521576
|
ALL_TOOLS = Object.entries(TOOL_CATALOG).map(([name31, desc]) => ({
|
|
521565
521577
|
name: name31,
|
|
521566
521578
|
desc
|
|
521567
521579
|
}));
|
|
521568
521580
|
ToolRow3 = import_react126.memo(function ToolRow4(t0) {
|
|
521569
|
-
const $5 =
|
|
521581
|
+
const $5 = import_compiler_runtime70.c(21);
|
|
521570
521582
|
const {
|
|
521571
521583
|
tool: tool4,
|
|
521572
521584
|
enabled,
|
|
@@ -521690,7 +521702,7 @@ function lerpHex3(a2, b5, tVal) {
|
|
|
521690
521702
|
return `#${hex3(r4)}${hex3(g3)}${hex3(bl)}`;
|
|
521691
521703
|
}
|
|
521692
521704
|
function ShutdownSplash(t0) {
|
|
521693
|
-
const $5 =
|
|
521705
|
+
const $5 = import_compiler_runtime71.c(39);
|
|
521694
521706
|
const {
|
|
521695
521707
|
phase,
|
|
521696
521708
|
sessionId,
|
|
@@ -521713,7 +521725,7 @@ function ShutdownSplash(t0) {
|
|
|
521713
521725
|
let t3;
|
|
521714
521726
|
if ($5[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
521715
521727
|
t2 = () => {
|
|
521716
|
-
const timer = setInterval(() => setTick(
|
|
521728
|
+
const timer = setInterval(() => setTick(_temp88), 80);
|
|
521717
521729
|
return () => clearInterval(timer);
|
|
521718
521730
|
};
|
|
521719
521731
|
t3 = [];
|
|
@@ -521927,11 +521939,11 @@ function ShutdownSplash(t0) {
|
|
|
521927
521939
|
}
|
|
521928
521940
|
return t13;
|
|
521929
521941
|
}
|
|
521930
|
-
function
|
|
521942
|
+
function _temp88(t2) {
|
|
521931
521943
|
return t2 + 1;
|
|
521932
521944
|
}
|
|
521933
521945
|
function CheckpointLegend(t0) {
|
|
521934
|
-
const $5 =
|
|
521946
|
+
const $5 = import_compiler_runtime71.c(35);
|
|
521935
521947
|
const {
|
|
521936
521948
|
tabId,
|
|
521937
521949
|
fallbackSpacer
|
|
@@ -523369,7 +523381,7 @@ function App({
|
|
|
523369
523381
|
]
|
|
523370
523382
|
}, undefined, true, undefined, this);
|
|
523371
523383
|
}
|
|
523372
|
-
var
|
|
523384
|
+
var import_compiler_runtime71, import_react128, ABORT_ON_LOADING, DEFAULT_TASK_ROUTER, SHUTDOWN_STEPS, KITTY_PROTOCOL_RESPONSE_RE;
|
|
523373
523385
|
var init_App = __esm(async () => {
|
|
523374
523386
|
init_shallow2();
|
|
523375
523387
|
init_config();
|
|
@@ -523442,7 +523454,7 @@ var init_App = __esm(async () => {
|
|
|
523442
523454
|
init_SkillSearch(),
|
|
523443
523455
|
init_ToolsPopup()
|
|
523444
523456
|
]);
|
|
523445
|
-
|
|
523457
|
+
import_compiler_runtime71 = __toESM(require_compiler_runtime(), 1);
|
|
523446
523458
|
import_react128 = __toESM(require_react(), 1);
|
|
523447
523459
|
startMemoryPoll();
|
|
523448
523460
|
ABORT_ON_LOADING = new Set(["/clear", "/compact", "/plan", "/session clear", "/session compact", "/session plan"]);
|
|
@@ -49515,7 +49515,7 @@ var package_default;
|
|
|
49515
49515
|
var init_package = __esm(() => {
|
|
49516
49516
|
package_default = {
|
|
49517
49517
|
name: "@proxysoul/soulforge",
|
|
49518
|
-
version: "2.13.
|
|
49518
|
+
version: "2.13.1",
|
|
49519
49519
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
49520
49520
|
repository: {
|
|
49521
49521
|
type: "git",
|