@runeya/runeya 2.0.147 → 2.0.148
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/index.js +7 -7
- package/{install-gate-OJJEUU4E.js → install-gate-PWPGC63Z.js} +2 -2
- package/package.json +1 -1
- package/{src-KWO3CKZU.js → src-I5TPC6GW.js} +17 -5
- package/src-I5TPC6GW.js.map +1 -0
- package/src-KWO3CKZU.js.map +0 -1
- /package/{install-gate-OJJEUU4E.js.map → install-gate-PWPGC63Z.js.map} +0 -0
package/index.js
CHANGED
|
@@ -87,7 +87,7 @@ async function runDesktopInstaller(required) {
|
|
|
87
87
|
const { installDesktopLauncher, listDesktopLaunchers, uninstallDesktopLauncher, deriveIdentity } = await import("./desktop-launcher-GD4QPM66.js");
|
|
88
88
|
const { printInstallReport } = await import("./desktop-wizard-XIDDAG7L.js");
|
|
89
89
|
const { runInstallerPage } = await import("./desktop-installer-page-I5FHFDES.js");
|
|
90
|
-
const { createGlobalInstaller } = await import("./install-gate-
|
|
90
|
+
const { createGlobalInstaller } = await import("./install-gate-PWPGC63Z.js");
|
|
91
91
|
const current = { nodePath: process.execPath, cliEntry: fileURLToPath(import.meta.url) };
|
|
92
92
|
const outcome = await runInstallerPage({
|
|
93
93
|
openUrl: (url) => open(url),
|
|
@@ -143,7 +143,7 @@ if (subCommand === "install-desktop" || subCommand === "uninstall-desktop") {
|
|
|
143
143
|
}
|
|
144
144
|
const { name, id } = deriveIdentity(displayName, workingDir);
|
|
145
145
|
if (subCommand === "install-desktop") {
|
|
146
|
-
const { createGlobalInstaller, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-
|
|
146
|
+
const { createGlobalInstaller, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-PWPGC63Z.js");
|
|
147
147
|
if (process.env[SKIP_INSTALL_CHECK_ENV] !== "1") {
|
|
148
148
|
const target = { cliEntry: launcherBase.cliEntry };
|
|
149
149
|
const global = await (await createGlobalInstaller(target, version)).state();
|
|
@@ -178,7 +178,7 @@ if (subCommand === "install-desktop" || subCommand === "uninstall-desktop") {
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
if (subCommand === "instances") {
|
|
181
|
-
const { listInstances, killInstance, restartInstance } = await import("./src-
|
|
181
|
+
const { listInstances, killInstance, restartInstance } = await import("./src-I5TPC6GW.js");
|
|
182
182
|
const { runInstancesCommand } = await import("./instances-command-KZ5UGXOR.js");
|
|
183
183
|
process.exit(await runInstancesCommand(args.slice(1), {
|
|
184
184
|
listInstances,
|
|
@@ -193,7 +193,7 @@ if (subCommand === "instances") {
|
|
|
193
193
|
}));
|
|
194
194
|
}
|
|
195
195
|
if (subCommand === "mcp") {
|
|
196
|
-
const { listInstances } = await import("./src-
|
|
196
|
+
const { listInstances } = await import("./src-I5TPC6GW.js");
|
|
197
197
|
const { runExternalMcp } = await import("./external-NMKQPROK.js");
|
|
198
198
|
await runExternalMcp({ listInstances });
|
|
199
199
|
await new Promise(() => {
|
|
@@ -354,7 +354,7 @@ function listenWithRetry(server, port, host, wss, maxRetries = 20, delay = 500)
|
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
async function main() {
|
|
357
|
-
const { mustOpenInstaller, hasDesktop, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-
|
|
357
|
+
const { mustOpenInstaller, hasDesktop, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-PWPGC63Z.js");
|
|
358
358
|
if (mustOpenInstaller({
|
|
359
359
|
isFromDesktop,
|
|
360
360
|
isRestartHandoff: process.env.RUNEYA_RESTART_HANDOFF === "1",
|
|
@@ -386,7 +386,7 @@ async function main() {
|
|
|
386
386
|
console.warn(`[cli] Journal sur disque indisponible : ${err.message}`);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
const { createLocalServer, pullEnv, PullEnvError, registerInstance, registerCliLocation } = await import("./src-
|
|
389
|
+
const { createLocalServer, pullEnv, PullEnvError, registerInstance, registerCliLocation } = await import("./src-I5TPC6GW.js");
|
|
390
390
|
registerCliLocation({ execPath: process.execPath, cliEntry: fileURLToPath(import.meta.url) });
|
|
391
391
|
if (isPullEnv) {
|
|
392
392
|
if (!serviceArg) {
|
|
@@ -495,7 +495,7 @@ async function main() {
|
|
|
495
495
|
networkInfo,
|
|
496
496
|
setLanMode,
|
|
497
497
|
resolveTrayIcon
|
|
498
|
-
} = await import("./src-
|
|
498
|
+
} = await import("./src-I5TPC6GW.js");
|
|
499
499
|
tray = await startInstanceTray({
|
|
500
500
|
info: { cwd: process.cwd(), port, version, url: appUrl },
|
|
501
501
|
assetsDir: join(__dirname, "assets"),
|
|
@@ -19,7 +19,7 @@ function samePath(a, b, platform = process.platform) {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
async function createGlobalInstaller(current, runningVersion) {
|
|
22
|
-
const { resolveNpm, probeVersion, installRuneyaGlobally, installedRuneya, compareSemver, installPrefix, userPrefix } = await import("./src-
|
|
22
|
+
const { resolveNpm, probeVersion, installRuneyaGlobally, installedRuneya, compareSemver, installPrefix, userPrefix } = await import("./src-I5TPC6GW.js");
|
|
23
23
|
const npm = resolveNpm();
|
|
24
24
|
async function prefixes() {
|
|
25
25
|
const global = await probeVersion(npm, ["prefix", "-g"]);
|
|
@@ -57,4 +57,4 @@ export {
|
|
|
57
57
|
hasDesktop,
|
|
58
58
|
mustOpenInstaller
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=install-gate-
|
|
60
|
+
//# sourceMappingURL=install-gate-PWPGC63Z.js.map
|
package/package.json
CHANGED
|
@@ -6124,7 +6124,7 @@ import { TRPCError as TRPCError18 } from "@trpc/server";
|
|
|
6124
6124
|
|
|
6125
6125
|
// ../server/src/services/ai-client-mcp.ts
|
|
6126
6126
|
import { execFile as execFile4 } from "child_process";
|
|
6127
|
-
import { existsSync as existsSync2 } from "fs";
|
|
6127
|
+
import { existsSync as existsSync2, readdirSync } from "fs";
|
|
6128
6128
|
import { mkdir as mkdir5, readFile as readFile4, realpath } from "fs/promises";
|
|
6129
6129
|
import { homedir as homedir3 } from "os";
|
|
6130
6130
|
import { dirname as dirname4, join as join7 } from "path";
|
|
@@ -6145,9 +6145,21 @@ function vscodeUserDir(home) {
|
|
|
6145
6145
|
if (process.platform === "win32") return join7(process.env["APPDATA"] ?? join7(home, "AppData", "Roaming"), "Code", "User");
|
|
6146
6146
|
return join7(home, ".config", "Code", "User");
|
|
6147
6147
|
}
|
|
6148
|
-
function
|
|
6149
|
-
|
|
6150
|
-
|
|
6148
|
+
function listDir(dir) {
|
|
6149
|
+
try {
|
|
6150
|
+
return readdirSync(dir);
|
|
6151
|
+
} catch {
|
|
6152
|
+
return [];
|
|
6153
|
+
}
|
|
6154
|
+
}
|
|
6155
|
+
function claudeDesktopDir(home, platform = process.platform, vars = process.env, exists4 = existsSync2, list = listDir) {
|
|
6156
|
+
if (platform === "darwin") return join7(home, "Library", "Application Support", "Claude");
|
|
6157
|
+
if (platform === "win32") {
|
|
6158
|
+
const packages = join7(vars["LOCALAPPDATA"] ?? join7(home, "AppData", "Local"), "Packages");
|
|
6159
|
+
const store = list(packages).filter((name) => name.startsWith("Claude_")).map((name) => join7(packages, name, "LocalCache", "Roaming", "Claude")).find(exists4);
|
|
6160
|
+
if (store) return store;
|
|
6161
|
+
return join7(vars["APPDATA"] ?? join7(home, "AppData", "Roaming"), "Claude");
|
|
6162
|
+
}
|
|
6151
6163
|
return join7(home, ".config", "Claude");
|
|
6152
6164
|
}
|
|
6153
6165
|
var AI_CLIENTS = [
|
|
@@ -12080,4 +12092,4 @@ export {
|
|
|
12080
12092
|
stopProcess,
|
|
12081
12093
|
userPrefix
|
|
12082
12094
|
};
|
|
12083
|
-
//# sourceMappingURL=src-
|
|
12095
|
+
//# sourceMappingURL=src-I5TPC6GW.js.map
|