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 CHANGED
@@ -4235,7 +4235,8 @@ var init_config2 = __esm({
4235
4235
  });
4236
4236
  if (serverConfig.env) {
4237
4237
  for (const [envKey, envValue] of Object.entries(serverConfig.env)) {
4238
- if (envValue.includes("/") && !path__namespace.isAbsolute(envValue)) {
4238
+ const isUrl = /^[a-z][a-z0-9+.-]*:\/\//i.test(envValue);
4239
+ if (!isUrl && envValue.includes("/") && !path__namespace.isAbsolute(envValue)) {
4239
4240
  serverConfig.env[envKey] = path__namespace.resolve(configDir, "..", envValue);
4240
4241
  }
4241
4242
  }
@@ -12923,18 +12924,17 @@ ${variables.EDITOR ? `using ${variables.EDITOR} as primary AI subagent` : ""}
12923
12924
  const timestamp = (/* @__PURE__ */ new Date()).toISOString();
12924
12925
  const __filename = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('cli.js', document.baseURI).href)));
12925
12926
  const __dirname = path__namespace.dirname(__filename);
12926
- const roundtablePath = process.env.JUNO_TASK_MCP_SERVER_PATH || path__namespace.join(__dirname, "../../../roundtable_mcp_server/roundtable_mcp_server/server.py");
12927
+ process.env.JUNO_TASK_MCP_SERVER_PATH || path__namespace.join(__dirname, "../../../roundtable_mcp_server/roundtable_mcp_server/server.py");
12927
12928
  const mcpContent = {
12928
12929
  mcpServers: {
12929
12930
  "roundtable-ai": {
12930
12931
  name: "roundtable-ai",
12931
- command: "python",
12932
- args: [roundtablePath],
12932
+ command: "roundtable-ai",
12933
+ args: [],
12933
12934
  timeout: 7200,
12934
12935
  enable_default_progress_callback: true,
12935
12936
  suppress_subprocess_logs: true,
12936
12937
  env: {
12937
- PYTHONPATH: path__namespace.resolve(__dirname, "../.."),
12938
12938
  ROUNDTABLE_DEBUG: "false"
12939
12939
  },
12940
12940
  _metadata: {
@@ -13048,7 +13048,8 @@ ${variables.EDITOR ? `using ${variables.EDITOR} as primary AI subagent` : ""}
13048
13048
  const { execSync } = await import('child_process');
13049
13049
  try {
13050
13050
  const output = execSync(installScript, {
13051
- cwd: junoTaskDir,
13051
+ cwd: process.cwd(),
13052
+ // FIXED: Run from project root, not .juno_task
13052
13053
  encoding: "utf8",
13053
13054
  stdio: "pipe"
13054
13055
  // Capture output instead of inheriting