ikie-cli 0.1.9 → 0.1.10

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/agent.js +2 -2
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -475,9 +475,9 @@ export class Agent {
475
475
  this.recordChangedFile(name, input, result);
476
476
  const ms = Date.now() - t0;
477
477
  let block;
478
- if ((name === 'edit_file' || name === 'write_file') && !result.startsWith('Error')) {
478
+ if (name === 'edit_file' && !result.startsWith('Error')) {
479
479
  const oldStr = String(input.old_string ?? '');
480
- const newStr = String(input.new_string ?? input.content ?? '');
480
+ const newStr = String(input.new_string ?? '');
481
481
  block = toolDiffBlock(oldStr, newStr, ms);
482
482
  }
483
483
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ikie-cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Agentic coding CLI — your terminal AI pair programmer",
5
5
  "type": "module",
6
6
  "bin": {