apiblaze 0.20.26 → 0.20.28

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1024,7 +1024,7 @@ var import_commander = require("commander");
1024
1024
  var import_chalk54 = __toESM(require("chalk"));
1025
1025
 
1026
1026
  // package.json
1027
- var version = "0.20.26";
1027
+ var version = "0.20.28";
1028
1028
 
1029
1029
  // src/index.ts
1030
1030
  init_types();
@@ -2498,7 +2498,7 @@ function codexOneShot(_spec, prompt) {
2498
2498
  return { argv, status: r.status };
2499
2499
  }
2500
2500
  function codexInteractive(_spec, prompt) {
2501
- const argv = ["codex", "--skip-git-repo-check", prompt];
2501
+ const argv = ["codex", prompt];
2502
2502
  const r = run(argv[0], argv.slice(1), { interactive: true });
2503
2503
  return { argv, status: r.status };
2504
2504
  }
@@ -2560,7 +2560,7 @@ async function installAndDemo(cli, spec2, getQuestion, log = console.log) {
2560
2560
  const abilities = `What are the tool abilities of the MCP server "${spec2.name}"? List them briefly.`;
2561
2561
  log(`
2562
2562
  ${import_chalk12.default.dim("Checking what the API can do\u2026")}`);
2563
- log(` ${import_chalk12.default.dim("$")} ${renderCommand(cli.kind === "claude" ? ["claude", "-p", abilities, "--allowedTools", `mcp__${spec2.name}__*`] : ["codex", "exec", abilities])}
2563
+ log(` ${import_chalk12.default.dim("$")} ${renderCommand(cli.kind === "claude" ? ["claude", "-p", abilities, "--allowedTools", `mcp__${spec2.name}__*`] : ["codex", "exec", "--skip-git-repo-check", abilities])}
2564
2564
  `);
2565
2565
  const check = oneShot(spec2, abilities);
2566
2566
  if (check.status !== 0) {
@@ -2575,7 +2575,7 @@ async function installAndDemo(cli, spec2, getQuestion, log = console.log) {
2575
2575
  const ask = handoff ? cli.kind === "claude" ? claudeInteractive : codexInteractive : oneShot;
2576
2576
  log(`
2577
2577
  ${import_chalk12.default.dim(handoff ? `Opening ${cli.label} with your question \u2014 you'll stay in that session:` : `Your question, through ${cli.label}:`)}`);
2578
- const shown = cli.kind === "claude" ? handoff ? ["claude", question, "--allowedTools", `mcp__${spec2.name}__*`] : ["claude", "-p", question, "--allowedTools", `mcp__${spec2.name}__*`] : handoff ? ["codex", "--skip-git-repo-check", question] : ["codex", "exec", "--skip-git-repo-check", question];
2578
+ const shown = cli.kind === "claude" ? handoff ? ["claude", question, "--allowedTools", `mcp__${spec2.name}__*`] : ["claude", "-p", question, "--allowedTools", `mcp__${spec2.name}__*`] : handoff ? ["codex", question] : ["codex", "exec", "--skip-git-repo-check", question];
2579
2579
  log(` ${import_chalk12.default.dim("$")} ${renderCommand(shown)}
2580
2580
  `);
2581
2581
  const ans = ask(spec2, question);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apiblaze",
3
- "version": "0.20.26",
3
+ "version": "0.20.28",
4
4
  "description": "APIblaze CLI — Chat with your APIs, Manage your API keys, users and groups with the APIblaze serverless proxy",
5
5
  "keywords": [
6
6
  "apiblaze",