ironcode-ai 1.12.1 → 1.12.2

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/README.md +55 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -24,6 +24,31 @@
24
24
 
25
25
  ## 🎉 What's New
26
26
 
27
+ ### Feb 15, 2026 - Code Changes Panel
28
+
29
+ **Code changes viewer with inline comments and hunk revert:**
30
+
31
+ - 🔍 **Code Changes Panel** - View git diffs in a side panel without leaving your session. Open via command palette or `<leader>r` keybind
32
+ - â†Šī¸ **Revert Diff Hunk** - Press `r` to revert individual diff hunks. Supports both uncommitted and staged changes
33
+ - đŸ’Ŧ **Inline Comments** - Press `c` to add comments on specific diff lines. Navigate with `n/p`, dismiss with `d`, send to chat with `f`
34
+ - 🔄 **Mode Cycling** - Press `m` to cycle between Uncommitted, Staged, and vs-Main diff views
35
+ - 📊 **Change Counts in Hint Bar** - The prompt hint bar now shows `<leader>r changes +N -N` with live addition/deletion counts
36
+ - 🤖 **Auto-open on `/review`** - The code changes panel automatically opens alongside when the `/review` command runs as a subtask
37
+ - 🎨 **Hunk Highlighting** - The current hunk is subtly highlighted in the diff view for easy identification
38
+
39
+ **Keybinds:**
40
+
41
+ - `j/k`: Navigate files
42
+ - `↑↓`: Navigate diff lines
43
+ - `r`: Revert current hunk
44
+ - `c`: Add comment on current line
45
+ - `n/p`: Navigate between comments
46
+ - `d`: Dismiss selected comment
47
+ - `f`: Send comment to chat
48
+ - `m`: Cycle mode (uncommitted/staged/vs-main)
49
+ - `g`: Refresh diffs
50
+ - `Esc`: Close panel
51
+
27
52
  ### Feb 15, 2026 - AI SDK v6 Integration
28
53
 
29
54
  **Leveraging new AI SDK v6 features for better debugging and token efficiency:**
@@ -110,6 +135,7 @@ IronCode is a **high-performance CLI fork** of [OpenCode](https://github.com/ano
110
135
 
111
136
  - âŒ¨ī¸ **CLI-First**: Powerful terminal UI optimized for command-line workflows
112
137
  - đŸŽ¯ **Git Source Control**: Full Git integration - stage, commit, diff, push without leaving TUI
138
+ - 🔍 **Code Changes Panel**: Diff viewer with inline comments, hunk revert, and live change counts
113
139
  - 🏠 **100% Local**: No cloud services, works completely offline
114
140
  - 🔒 **Privacy First**: Your code never leaves your machine
115
141
  - đŸŽ¯ **Lightweight**: Stripped down to core functionality - CLI only
@@ -475,6 +501,33 @@ gh auth login
475
501
  git config --global credential.helper '!gh auth git-credential'
476
502
  ```
477
503
 
504
+ ### Code Changes Panel
505
+
506
+ IronCode includes a code changes viewer for reviewing diffs with inline comments:
507
+
508
+ **Open Code Changes Panel:**
509
+
510
+ - Press `<leader>r` (default: `Ctrl+X` then `R`)
511
+ - Or use command palette (`Ctrl+P`) → "View code changes"
512
+ - Auto-opens when `/review` command runs
513
+
514
+ **Features:**
515
+
516
+ - **Diff Viewer** - Color-coded diffs with hunk highlighting
517
+ - `j/k`: Navigate between files
518
+ - `↑↓`: Navigate diff lines
519
+ - `m`: Cycle mode (Uncommitted → Staged → vs Main)
520
+ - `g`: Refresh diffs
521
+ - **Revert Hunk** - Undo individual changes
522
+ - `r`: Revert the current diff hunk (works for both uncommitted and staged)
523
+ - Active hunk is highlighted for easy identification
524
+ - **Inline Comments** - Add notes to specific diff lines
525
+ - `c`: Add a comment on the current line
526
+ - `n/p`: Navigate between comments
527
+ - `d`: Dismiss selected comment
528
+ - `f`: Send comment to chat for AI to address
529
+ - **Change Counts** - The hint bar shows live `+N -N` counts of total additions/deletions
530
+
478
531
  ### Provider-Specific Tools
479
532
 
480
533
  Enable native server-side tools from AI providers. These tools run on the provider's infrastructure (not locally), giving the model direct access to web search, code execution, and more.
@@ -699,6 +752,7 @@ Contributions are welcome! Please read [CONTRIBUTING.md](./CONTRIBUTING.md) befo
699
752
 
700
753
  **Recent Contributions:**
701
754
 
755
+ - ✅ **Code Changes Panel** (Diff viewer with hunk revert & inline comments - Feb 2026)
702
756
  - ✅ **Git Source Control UI** (Full TUI integration with libgit2 - Feb 2026)
703
757
  - ✅ **Streaming read optimization** (1.2-1.6x faster, 99.7% memory savings - Feb 2026)
704
758
  - ✅ **Grep streaming optimization** (90-99% memory reduction, GB-file capability - Feb 2026)
@@ -789,5 +843,5 @@ _Benchmarked on IronCode repository (dev branch, 100 iterations)_
789
843
 
790
844
  ## Acknowledgments
791
845
 
792
- - **OpenCode Team**: For creating the original open-source AI coding agent
846
+ - **IronCode Team**: For creating the original open-source AI coding agent
793
847
  - All contributors to this fork
package/package.json CHANGED
@@ -6,11 +6,11 @@
6
6
  "scripts": {
7
7
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
8
8
  },
9
- "version": "1.12.1",
9
+ "version": "1.12.2",
10
10
  "license": "MIT",
11
11
  "optionalDependencies": {
12
- "ironcode-linux-x64-modern": "1.12.1",
13
- "ironcode-windows-x64-modern": "1.12.1",
14
- "ironcode-darwin-arm64": "1.12.1"
12
+ "ironcode-linux-x64-modern": "1.12.2",
13
+ "ironcode-windows-x64-modern": "1.12.2",
14
+ "ironcode-darwin-arm64": "1.12.2"
15
15
  }
16
16
  }