codexport 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { homedir, platform } from "node:os";
|
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { spawn } from "node:child_process";
|
|
13
13
|
import { parse as parseToml, stringify as stringifyToml } from "smol-toml";
|
|
14
|
-
const VERSION = "0.3.
|
|
14
|
+
const VERSION = "0.3.5";
|
|
15
15
|
const DEFAULT_PORT = 17342;
|
|
16
16
|
const DEFAULT_TIMEOUT_MS = 5_000;
|
|
17
17
|
const CODEXPORT_DIR = ".codexport";
|
|
@@ -499,7 +499,15 @@ function portableMcpLauncher(name, command, args, sourceHome, server) {
|
|
|
499
499
|
}
|
|
500
500
|
if (name === "discord-py-self" || commandName === "discord-py-self-mcp") {
|
|
501
501
|
const remainingArgs = allStrings(args) ? args : [];
|
|
502
|
-
return {
|
|
502
|
+
return {
|
|
503
|
+
command: "uvx",
|
|
504
|
+
args: ["--from", "git+https://github.com/Microck/discord.py-self-mcp.git", "discord-py-self-mcp", ...remainingArgs],
|
|
505
|
+
repair: {
|
|
506
|
+
whenMissing: "uvx",
|
|
507
|
+
command: "__codexport_install_uv",
|
|
508
|
+
args: []
|
|
509
|
+
}
|
|
510
|
+
};
|
|
503
511
|
}
|
|
504
512
|
if (name === "qmd" || commandName === "qmd") {
|
|
505
513
|
const remainingArgs = allStrings(args) ? args : [];
|