ideacode 1.3.0 → 1.3.1

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/repl.js +7 -0
  2. package/package.json +1 -1
package/dist/repl.js CHANGED
@@ -703,6 +703,13 @@ export function Repl({ apiKey, cwd, onQuit }) {
703
703
  const runParallelBatch = async (batch) => {
704
704
  if (batch.length === 0)
705
705
  return;
706
+ if (batch.length === 1) {
707
+ const planned = batch[0];
708
+ setLoadingLabel(`Running ${planned.toolName}…`);
709
+ const result = await runTool(planned.toolName, planned.toolArgs);
710
+ renderToolOutcome(planned, result);
711
+ return;
712
+ }
706
713
  setLoadingLabel(`Running ${batch.length} tools in parallel…`);
707
714
  const started = Date.now();
708
715
  const groupedTools = Array.from(batch.reduce((acc, planned) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ideacode",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "CLI TUI for AI agents via OpenRouter — agentic loop, tools, markdown",
5
5
  "type": "module",
6
6
  "repository": {