juno-code 1.0.13 → 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 +7 -6
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/cli.mjs +7 -6
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/bin/juno-code.sh +66 -0
- 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/dist/templates/scripts/bootstrap.sh +189 -0
- package/dist/templates/scripts/install_requirements.sh +126 -25
- package/package.json +5 -2
package/dist/bin/cli.mjs
CHANGED
|
@@ -4202,7 +4202,8 @@ var init_config2 = __esm({
|
|
|
4202
4202
|
});
|
|
4203
4203
|
if (serverConfig.env) {
|
|
4204
4204
|
for (const [envKey, envValue] of Object.entries(serverConfig.env)) {
|
|
4205
|
-
|
|
4205
|
+
const isUrl = /^[a-z][a-z0-9+.-]*:\/\//i.test(envValue);
|
|
4206
|
+
if (!isUrl && envValue.includes("/") && !path.isAbsolute(envValue)) {
|
|
4206
4207
|
serverConfig.env[envKey] = path.resolve(configDir, "..", envValue);
|
|
4207
4208
|
}
|
|
4208
4209
|
}
|
|
@@ -12890,18 +12891,17 @@ ${variables.EDITOR ? `using ${variables.EDITOR} as primary AI subagent` : ""}
|
|
|
12890
12891
|
const timestamp = (/* @__PURE__ */ new Date()).toISOString();
|
|
12891
12892
|
const __filename = fileURLToPath(import.meta.url);
|
|
12892
12893
|
const __dirname = path.dirname(__filename);
|
|
12893
|
-
|
|
12894
|
+
process.env.JUNO_TASK_MCP_SERVER_PATH || path.join(__dirname, "../../../roundtable_mcp_server/roundtable_mcp_server/server.py");
|
|
12894
12895
|
const mcpContent = {
|
|
12895
12896
|
mcpServers: {
|
|
12896
12897
|
"roundtable-ai": {
|
|
12897
12898
|
name: "roundtable-ai",
|
|
12898
|
-
command: "
|
|
12899
|
-
args: [
|
|
12899
|
+
command: "roundtable-ai",
|
|
12900
|
+
args: [],
|
|
12900
12901
|
timeout: 7200,
|
|
12901
12902
|
enable_default_progress_callback: true,
|
|
12902
12903
|
suppress_subprocess_logs: true,
|
|
12903
12904
|
env: {
|
|
12904
|
-
PYTHONPATH: path.resolve(__dirname, "../.."),
|
|
12905
12905
|
ROUNDTABLE_DEBUG: "false"
|
|
12906
12906
|
},
|
|
12907
12907
|
_metadata: {
|
|
@@ -13015,7 +13015,8 @@ ${variables.EDITOR ? `using ${variables.EDITOR} as primary AI subagent` : ""}
|
|
|
13015
13015
|
const { execSync } = await import('child_process');
|
|
13016
13016
|
try {
|
|
13017
13017
|
const output = execSync(installScript, {
|
|
13018
|
-
cwd:
|
|
13018
|
+
cwd: process.cwd(),
|
|
13019
|
+
// FIXED: Run from project root, not .juno_task
|
|
13019
13020
|
encoding: "utf8",
|
|
13020
13021
|
stdio: "pipe"
|
|
13021
13022
|
// Capture output instead of inheriting
|