swarm-code 0.1.12 → 0.1.14

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.
@@ -599,7 +599,9 @@ async function cmdConfigure(config, resolved, rl) {
599
599
  else if (val.startsWith("google/") || val.startsWith("gemini"))
600
600
  requiredProvider = "google";
601
601
  const check = requiredProvider ? keyChecks[requiredProvider] : undefined;
602
- if (check && !process.env[check.env]) {
602
+ const envVal = check ? process.env[check.env] : undefined;
603
+ const hasRealKey = envVal && envVal !== "ollama-local";
604
+ if (check && !hasRealKey) {
603
605
  out.write(`\n ${dim(`${requiredProvider} requires an API key (${check.url})`)}\n`);
604
606
  const key = await ask(` ${coral(symbols.arrow)} ${check.env}: `);
605
607
  if (key) {
@@ -295,6 +295,7 @@ async function readHiddenInput(prompt) {
295
295
  const origRawMode = process.stdin.isRaw;
296
296
  if (process.stdin.isTTY)
297
297
  process.stdin.setRawMode(true);
298
+ process.stdin.resume();
298
299
  process.stderr.write(prompt);
299
300
  const cleanup = () => {
300
301
  process.stdin.removeListener("data", onData);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swarm-code",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Open-source swarm-native coding agent orchestrator — spawns parallel coding agents in isolated git worktrees, built on RLM (arXiv:2512.24601)",
5
5
  "type": "module",
6
6
  "bin": {