ironcode-ai 1.20.10 → 1.20.11

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 +40 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -37,7 +37,7 @@ IronCode is a **high-performance CLI AI coding agent** — a fork of [OpenCode](
37
37
  - 💬 **Chat Integrations** — Control IronCode from Telegram, Discord, or Slack
38
38
  - 💻 **Built-in Terminal** — Fish-style autosuggest, tab completion, syntax highlighting
39
39
  - 📝 **External Editor** — Opens `$EDITOR`/nvim with auto-install if missing
40
- - 🧩 **Built-in Skills** — 13 opinionated slash commands: plan review, code review, QA (web + API), ship, retro, and more
40
+ - 🧩 **Built-in Skills** — 21 opinionated slash commands: plan review, code review, QA (web + API), ship, retro, caveman token compression, and more
41
41
  - 🛡️ **Security** — Prompt injection detection blocks malicious websites from manipulating the AI
42
42
  - 🔄 **Auto-Compact on Overflow** — When context limit is hit, automatically compacts conversation and retries
43
43
  - 🏠 **100% Local** — No cloud services, works completely offline
@@ -127,7 +127,7 @@ Press **`Ctrl+T`** to cycle between variants:
127
127
 
128
128
  ## Skills
129
129
 
130
- IronCode ships with **15 built-in skill workflows** — opinionated slash commands that switch the agent into a specialist mode. Instead of one generic assistant, you get: founder, tech lead, TDD coach, debugger, paranoid reviewer, release engineer, QA tester, security auditor, technical writer, and engineering manager.
130
+ IronCode ships with **21 built-in skill workflows** — opinionated slash commands that switch the agent into a specialist mode. Instead of one generic assistant, you get: founder, tech lead, TDD coach, debugger, paranoid reviewer, release engineer, QA tester, security auditor, technical writer, engineering manager, and a token-compression mode that cuts AI response costs by ~75%.
131
131
 
132
132
  | Skill | Mode | What it does |
133
133
  | ------------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -147,6 +147,44 @@ IronCode ships with **15 built-in skill workflows** — opinionated slash comman
147
147
  | `/document-release` | Technical writer | Post-ship doc update. Cross-references diff against README, ARCHITECTURE, CONTRIBUTING, CHANGELOG. |
148
148
  | `/retro` | Engineering manager | Team-aware weekly retro: commit analysis, session detection, per-person praise and growth areas. |
149
149
 
150
+ ### Caveman: Token Compression
151
+
152
+ Six skills that cut AI response tokens by ~65–75% — useful when you want fast, terse answers or need to stretch a long session's context budget.
153
+
154
+ | Skill | Trigger | What it does |
155
+ | --- | --- | --- |
156
+ | `/caveman` | `/caveman [lite\|full\|ultra\|wenyan-*]` | Activate compressed response mode. Persists until "stop caveman". |
157
+ | `/caveman-commit` | `/caveman-commit` | Generate terse commit messages. Conventional Commits format, ≤50 char subject. |
158
+ | `/caveman-review` | `/caveman-review` | One-line-per-finding PR review: `L42: 🔴 bug: user null. Add guard.` |
159
+ | `/caveman:compress` | `/caveman:compress <file>` | Compress a `.md`/`.txt` file to caveman prose. Saves ~46% input tokens. Backs up original first. |
160
+ | `/caveman-help` | `/caveman-help` | Reference card for all modes and commands. |
161
+ | `/cavecrew` | `/cavecrew` | Decision guide for spawning compressed subagents — keeps main context ~60% smaller per delegation. |
162
+
163
+ **Intensity levels** (for `/caveman`):
164
+
165
+ | Level | Style |
166
+ | --- | --- |
167
+ | `lite` | No filler/hedging. Full sentences. Professional but tight. |
168
+ | `full` | Drop articles, fragments OK, short synonyms. Default. |
169
+ | `ultra` | Abbreviate prose (DB/auth/req/res), arrows for causality (X → Y). |
170
+ | `wenyan-lite` | Semi-classical Chinese register. |
171
+ | `wenyan-full` | Full 文言文. 80–90% character reduction. |
172
+ | `wenyan-ultra` | Maximum classical compression. |
173
+
174
+ **Configure default mode** in `~/.config/ironcode/ironcode.json`:
175
+
176
+ ```json
177
+ {
178
+ "caveman": { "defaultMode": "ultra" }
179
+ }
180
+ ```
181
+
182
+ Or via env var: `export CAVEMAN_DEFAULT_MODE=ultra`
183
+
184
+ > Caveman automatically reverts to normal for security warnings and irreversible-action confirmations, then re-activates after.
185
+
186
+ ---
187
+
150
188
  ### Workflow
151
189
 
152
190
  ````
package/package.json CHANGED
@@ -6,13 +6,13 @@
6
6
  "scripts": {
7
7
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
8
8
  },
9
- "version": "1.20.10",
9
+ "version": "1.20.11",
10
10
  "license": "MIT",
11
11
  "optionalDependencies": {
12
- "ironcode-linux-x64-modern": "1.20.10",
13
- "ironcode-darwin-arm64": "1.20.10",
14
- "ironcode-linux-x64-baseline-musl": "1.20.10",
15
- "ironcode-windows-x64-modern": "1.20.10",
16
- "ironcode-linux-x64-baseline": "1.20.10"
12
+ "ironcode-linux-x64-modern": "1.20.11",
13
+ "ironcode-darwin-arm64": "1.20.11",
14
+ "ironcode-linux-x64-baseline-musl": "1.20.11",
15
+ "ironcode-windows-x64-modern": "1.20.11",
16
+ "ironcode-linux-x64-baseline": "1.20.11"
17
17
  }
18
18
  }