kantban-cli 0.1.34 → 0.1.35

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-L4HFDBM4.js");
34
+ const { stopPipeline } = await import("./pipeline-ZI7Y25IA.js");
35
35
  await stopPipeline(args.slice(1));
36
36
  } else {
37
- const { runPipeline } = await import("./pipeline-L4HFDBM4.js");
37
+ const { runPipeline } = await import("./pipeline-ZI7Y25IA.js");
38
38
  await runPipeline(client, args);
39
39
  }
40
40
  break;
@@ -3649,7 +3649,8 @@ var GeminiProvider = class _GeminiProvider {
3649
3649
  supportedModels: [
3650
3650
  { id: "gemini-2.5-flash-lite", displayName: "Flash Lite", tier: "fast" },
3651
3651
  { id: "gemini-2.5-flash", displayName: "Flash", tier: "default" },
3652
- { id: "gemini-2.5-pro", displayName: "Pro 2.5", tier: "thorough" }
3652
+ { id: "gemini-2.5-pro", displayName: "Pro 2.5", tier: "thorough" },
3653
+ { id: "gemini-3.1-pro-preview", displayName: "Pro 3.1", tier: "thorough" }
3653
3654
  ],
3654
3655
  streamFormat: "jsonl"
3655
3656
  };
@@ -3714,18 +3715,23 @@ var GeminiProvider = class _GeminiProvider {
3714
3715
  parser.onError = (err) => process.stderr.write(`[gemini-jsonl] ${err.message}
3715
3716
  `);
3716
3717
  let stderr = "";
3718
+ let lastStderrLine = "";
3717
3719
  let gotStdout = false;
3718
3720
  child.stdout?.on("data", (chunk) => {
3719
3721
  gotStdout = true;
3720
3722
  parser.feed(chunk.toString());
3721
3723
  });
3722
3724
  child.stderr?.on("data", (chunk) => {
3723
- stderr += chunk.toString();
3725
+ const text = chunk.toString();
3726
+ stderr += text;
3727
+ const lines = text.split("\n").filter((l) => l.trim());
3728
+ if (lines.length) lastStderrLine = lines[lines.length - 1];
3724
3729
  });
3725
3730
  child.stdin?.end();
3726
3731
  const startupTimer = setTimeout(() => {
3727
3732
  if (!gotStdout) {
3728
- process.stderr.write(`[gemini] No output after ${GEMINI_STARTUP_TIMEOUT_MS / 1e3}s \u2014 model may be unavailable, killing process
3733
+ const hint = stderr.includes("429") || stderr.includes("RESOURCE_EXHAUSTED") ? "model is rate-limited (429)" : stderr.includes("Attempt") ? "retrying API errors" : "model may be unavailable";
3734
+ process.stderr.write(`[gemini] No output after ${GEMINI_STARTUP_TIMEOUT_MS / 1e3}s \u2014 ${hint}. Last stderr: ${lastStderrLine.slice(0, 200)}
3729
3735
  `);
3730
3736
  try {
3731
3737
  child.kill("SIGTERM");
@@ -4868,4 +4874,4 @@ export {
4868
4874
  runPipeline,
4869
4875
  stopPipeline
4870
4876
  };
4871
- //# sourceMappingURL=pipeline-L4HFDBM4.js.map
4877
+ //# sourceMappingURL=pipeline-ZI7Y25IA.js.map