ironcode-ai 1.12.2 → 1.13.0

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 +57 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -24,6 +24,55 @@
24
24
 
25
25
  ## 🎉 What's New
26
26
 
27
+ ### Feb 23, 2026 - Local Code Search (BM25 + tree-sitter)
28
+
29
+ **Offline semantic code search — no embeddings, no ML model download required:**
30
+
31
+ - **`search_codebase` tool** - New AI tool that finds functions, classes, and symbols by concept rather than exact text
32
+ - BM25 full-text ranking (same algorithm used by Elasticsearch/Lucene)
33
+ - tree-sitter AST parsing — extracts named symbols (functions, classes, interfaces, enums, methods, etc.) per language
34
+ - Understands camelCase/snake_case: `getUserById` → tokens `[get, user, by, id]`
35
+ - Auto-indexes on first use, incremental updates via file watcher
36
+ - ~400ms initial indexing, <1ms search on indexed data
37
+ - Zero binary size overhead (no ML model bundled)
38
+
39
+ - **Languages supported:** TypeScript, JavaScript, Python, Rust, Go, Java, C#
40
+
41
+ - **AI behavior improved:** Model now prefers `search_codebase` for conceptual queries and reserves grep for exact text matching — no more `\b(auth|login|token|...)\b` mega-patterns
42
+
43
+ - **Grep tool guidance updated:** Explicit instruction to use `search_codebase` instead of complex OR-patterns
44
+
45
+ **Performance (tested on IronCode src, ~1638 symbols):**
46
+
47
+ | Metric | Value |
48
+ | ------------------ | ----------------------------- |
49
+ | Initial index time | ~450ms |
50
+ | Search time | <1ms |
51
+ | Memory overhead | ~0 (BM25 inverted index only) |
52
+ | Binary size added | 0 MB (no ML model) |
53
+
54
+ ### Feb 18, 2026 - Editor & Terminal Improvements
55
+
56
+ **External editor with auto-install + redesigned built-in terminal:**
57
+
58
+ - **`/editor` - External Editor Integration**
59
+ - Opens `$VISUAL` or `$EDITOR` or `nvim` by default
60
+ - Auto-detects if editor is installed via `which`
61
+ - Shows install popup if Neovim not found (cross-platform: brew, apt, dnf, pacman, apk, winget, choco, scoop)
62
+ - One-click install button directly from the popup
63
+
64
+ - **`/terminal` - Redesigned Built-in Terminal**
65
+ - Clean terminal-like UI with no header/footer chrome
66
+ - Prompt at bottom with `~/path $ ` prefix (like real shell)
67
+ - Block cursor with left/right movement
68
+ - Streaming output (stdout/stderr appear in real-time)
69
+ - Syntax highlighting for file output (`cat file.ts`, `head file.py`, etc.)
70
+ - Fish-style history autosuggest (dim text, accept with Right/End)
71
+ - Tab completion for file/directory paths (single match auto-completes, multiple shows common prefix + options)
72
+ - Shell keybindings: Ctrl+A/E (home/end), Ctrl+U/K (clear line), Ctrl+W (delete word), Ctrl+L (clear screen)
73
+ - `cd` with directory validation, `clear`, `exit` commands
74
+ - Color-coded output: commands (primary+bold), errors (red), info (dim)
75
+
27
76
  ### Feb 15, 2026 - Code Changes Panel
28
77
 
29
78
  **Code changes viewer with inline comments and hunk revert:**
@@ -136,6 +185,9 @@ IronCode is a **high-performance CLI fork** of [OpenCode](https://github.com/ano
136
185
  - ⌨️ **CLI-First**: Powerful terminal UI optimized for command-line workflows
137
186
  - 🎯 **Git Source Control**: Full Git integration - stage, commit, diff, push without leaving TUI
138
187
  - 🔍 **Code Changes Panel**: Diff viewer with inline comments, hunk revert, and live change counts
188
+ - 📝 **External Editor**: Opens `$EDITOR`/nvim with auto-install popup if not found
189
+ - 💻 **Built-in Terminal**: Real terminal feel with syntax highlighting, fish-style autosuggest, and tab completion
190
+ - 🔎 **Local Code Search**: BM25 + tree-sitter semantic search across your codebase — offline, zero latency, no ML model required
139
191
  - 🏠 **100% Local**: No cloud services, works completely offline
140
192
  - 🔒 **Privacy First**: Your code never leaves your machine
141
193
  - 🎯 **Lightweight**: Stripped down to core functionality - CLI only
@@ -244,6 +296,7 @@ IronCode rewrites key operations in native Rust with **measured real-world perfo
244
296
  - ✅ **Bash Parser**: Native tree-sitter bash command parsing (50-100x faster than WASM, 0.020ms per command)
245
297
  - ✅ **Directory Listing**: Fast recursive directory traversal
246
298
  - ✅ **VCS Info**: Lightning-fast git repository information (libgit2 vs subprocess)
299
+ - ✅ **Code Search (BM25)**: Local semantic code search with tree-sitter symbol extraction — finds functions by concept, not just exact text
247
300
  - ✅ **System Stats**: CPU and memory monitoring
248
301
 
249
302
  **Benefits:**
@@ -702,6 +755,7 @@ IronCode is built with:
702
755
  - File I/O with zero-copy optimization
703
756
  - Pattern matching and regex search
704
757
  - Git repository information
758
+ - Code search with BM25 + tree-sitter symbol extraction
705
759
  - System resource monitoring
706
760
 
707
761
  ### Native Rust Architecture
@@ -721,6 +775,7 @@ IronCode is built with:
721
775
  │ │ • File I/O (zero-copy) │ │
722
776
  │ │ • Glob/Grep (optimized) │ │
723
777
  │ │ • Git operations (libgit2) │ │
778
+ │ │ • BM25 + tree-sitter search │ │
724
779
  │ │ • System stats (sysinfo) │ │
725
780
  │ └─────────────────────────────────┘ │
726
781
  └─────────────────────────────────────────┘
@@ -752,6 +807,8 @@ Contributions are welcome! Please read [CONTRIBUTING.md](./CONTRIBUTING.md) befo
752
807
 
753
808
  **Recent Contributions:**
754
809
 
810
+ - ✅ **Local Code Search** (BM25 + tree-sitter semantic search, 7 languages, offline - Feb 2026)
811
+ - ✅ **Editor & Terminal** (External editor with auto-install + redesigned terminal with autosuggest - Feb 2026)
755
812
  - ✅ **Code Changes Panel** (Diff viewer with hunk revert & inline comments - Feb 2026)
756
813
  - ✅ **Git Source Control UI** (Full TUI integration with libgit2 - Feb 2026)
757
814
  - ✅ **Streaming read optimization** (1.2-1.6x faster, 99.7% memory savings - Feb 2026)
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.2",
9
+ "version": "1.13.0",
10
10
  "license": "MIT",
11
11
  "optionalDependencies": {
12
- "ironcode-linux-x64-modern": "1.12.2",
13
- "ironcode-windows-x64-modern": "1.12.2",
14
- "ironcode-darwin-arm64": "1.12.2"
12
+ "ironcode-darwin-arm64": "1.13.0",
13
+ "ironcode-linux-x64-modern": "1.13.0",
14
+ "ironcode-windows-x64-modern": "1.13.0"
15
15
  }
16
16
  }