terminal-smart-cli 0.97.25 → 0.97.26

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/lib/agent.js +5 -0
  2. package/package.json +1 -1
package/lib/agent.js CHANGED
@@ -553,6 +553,11 @@ function mutationBatchConflicts(toolCalls, cwd) {
553
553
  for (const tc of (Array.isArray(toolCalls) ? toolCalls : [])) {
554
554
  const name = tc && tc.function && tc.function.name;
555
555
  if (!FILE_MUTATORS.has(name)) continue;
556
+ // Anchor edits are deterministic and this loop executes tool calls in
557
+ // order. Blocking a batch of independent source-code anchors made capable
558
+ // models stall on normal multi-part UI changes. Whole-file/document/sheet
559
+ // mutations remain protected because their batches can overwrite state.
560
+ if (name === 'editar_arquivo') continue;
556
561
  let input = {}; try { input = JSON.parse(tc.function.arguments || '{}'); } catch (_) {}
557
562
  const raw = input.caminho || input.path || input.arquivo;
558
563
  if (!raw) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-smart-cli",
3
- "version": "0.97.25",
3
+ "version": "0.97.26",
4
4
  "description": "Terminal Smart no seu terminal — pergunte, analise logs por pipe e orquestre agentes de IA. Comando: ts",
5
5
  "bin": {
6
6
  "ts": "bin/ts.js"