kantban-cli 0.1.28 → 0.1.29

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 CHANGED
@@ -31,10 +31,10 @@ async function main() {
31
31
  }
32
32
  case "pipeline": {
33
33
  if (args[0] === "stop") {
34
- const { stopPipeline } = await import("./pipeline-CA5Q3SPA.js");
34
+ const { stopPipeline } = await import("./pipeline-BVKJFYQS.js");
35
35
  await stopPipeline(args.slice(1));
36
36
  } else {
37
- const { runPipeline } = await import("./pipeline-CA5Q3SPA.js");
37
+ const { runPipeline } = await import("./pipeline-BVKJFYQS.js");
38
38
  await runPipeline(client, args);
39
39
  }
40
40
  break;
@@ -3811,7 +3811,7 @@ var GeminiProvider = class _GeminiProvider {
3811
3811
  writeFileSync3(wrapperPath, this.generateHookWrapper(hookPath, "BeforeToolSelection", join2(dir, ".kantban-hook-config.json")), { mode: 493 });
3812
3812
  hooks.BeforeToolSelection = [{ matcher: "*", hooks: [{ type: "command", command: wrapperPath, timeout: 3e4 }] }];
3813
3813
  }
3814
- if (request.maxTurns) {
3814
+ if (request.maxTurns && request.mcpConfig) {
3815
3815
  hookConfig.maxTurns = request.maxTurns;
3816
3816
  hookConfig.turnFile = join2(dir, ".kantban-turn-counter");
3817
3817
  const wrapperPath = join2(dir, ".kantban-hook-after-agent.sh");
@@ -4839,4 +4839,4 @@ export {
4839
4839
  runPipeline,
4840
4840
  stopPipeline
4841
4841
  };
4842
- //# sourceMappingURL=pipeline-CA5Q3SPA.js.map
4842
+ //# sourceMappingURL=pipeline-BVKJFYQS.js.map