juno-code 1.0.14 → 1.0.15
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/bin/cli.js +2 -1
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/cli.mjs +2 -1
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ var __export = (target, all) => {
|
|
|
75
75
|
exports.version = void 0;
|
|
76
76
|
var init_version = __esm({
|
|
77
77
|
"src/version.ts"() {
|
|
78
|
-
exports.version = "1.0.
|
|
78
|
+
exports.version = "1.0.15";
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
function isHeadlessEnvironment() {
|
|
@@ -10980,7 +10980,8 @@ var MCPConfigLoader = class {
|
|
|
10980
10980
|
});
|
|
10981
10981
|
if (serverConfig.env) {
|
|
10982
10982
|
for (const [envKey, envValue] of Object.entries(serverConfig.env)) {
|
|
10983
|
-
|
|
10983
|
+
const isUrl = /^[a-z][a-z0-9+.-]*:\/\//i.test(envValue);
|
|
10984
|
+
if (!isUrl && envValue.includes("/") && !path5__namespace.isAbsolute(envValue)) {
|
|
10984
10985
|
serverConfig.env[envKey] = path5__namespace.resolve(configDir, "..", envValue);
|
|
10985
10986
|
}
|
|
10986
10987
|
}
|