ironcode-ai 1.12.3 → 1.13.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/README.md +32 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -24,6 +24,33 @@
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
+
27
54
  ### Feb 18, 2026 - Editor & Terminal Improvements
28
55
 
29
56
  **External editor with auto-install + redesigned built-in terminal:**
@@ -160,6 +187,7 @@ IronCode is a **high-performance CLI fork** of [OpenCode](https://github.com/ano
160
187
  - 🔍 **Code Changes Panel**: Diff viewer with inline comments, hunk revert, and live change counts
161
188
  - 📝 **External Editor**: Opens `$EDITOR`/nvim with auto-install popup if not found
162
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
163
191
  - 🏠 **100% Local**: No cloud services, works completely offline
164
192
  - 🔒 **Privacy First**: Your code never leaves your machine
165
193
  - 🎯 **Lightweight**: Stripped down to core functionality - CLI only
@@ -268,6 +296,7 @@ IronCode rewrites key operations in native Rust with **measured real-world perfo
268
296
  - ✅ **Bash Parser**: Native tree-sitter bash command parsing (50-100x faster than WASM, 0.020ms per command)
269
297
  - ✅ **Directory Listing**: Fast recursive directory traversal
270
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
271
300
  - ✅ **System Stats**: CPU and memory monitoring
272
301
 
273
302
  **Benefits:**
@@ -726,6 +755,7 @@ IronCode is built with:
726
755
  - File I/O with zero-copy optimization
727
756
  - Pattern matching and regex search
728
757
  - Git repository information
758
+ - Code search with BM25 + tree-sitter symbol extraction
729
759
  - System resource monitoring
730
760
 
731
761
  ### Native Rust Architecture
@@ -745,6 +775,7 @@ IronCode is built with:
745
775
  │ │ • File I/O (zero-copy) │ │
746
776
  │ │ • Glob/Grep (optimized) │ │
747
777
  │ │ • Git operations (libgit2) │ │
778
+ │ │ • BM25 + tree-sitter search │ │
748
779
  │ │ • System stats (sysinfo) │ │
749
780
  │ └─────────────────────────────────┘ │
750
781
  └─────────────────────────────────────────┘
@@ -776,6 +807,7 @@ Contributions are welcome! Please read [CONTRIBUTING.md](./CONTRIBUTING.md) befo
776
807
 
777
808
  **Recent Contributions:**
778
809
 
810
+ - ✅ **Local Code Search** (BM25 + tree-sitter semantic search, 7 languages, offline - Feb 2026)
779
811
  - ✅ **Editor & Terminal** (External editor with auto-install + redesigned terminal with autosuggest - Feb 2026)
780
812
  - ✅ **Code Changes Panel** (Diff viewer with hunk revert & inline comments - Feb 2026)
781
813
  - ✅ **Git Source Control UI** (Full TUI integration with libgit2 - 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.3",
9
+ "version": "1.13.1",
10
10
  "license": "MIT",
11
11
  "optionalDependencies": {
12
- "ironcode-linux-x64-modern": "1.12.3",
13
- "ironcode-windows-x64-modern": "1.12.3",
14
- "ironcode-darwin-arm64": "1.12.3"
12
+ "ironcode-darwin-arm64": "1.13.1",
13
+ "ironcode-linux-x64-modern": "1.13.1",
14
+ "ironcode-windows-x64-modern": "1.13.1"
15
15
  }
16
16
  }