@aiiware/aii 0.2.5 → 0.3.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.
- package/README.md +19 -0
- package/bin/aii +416 -374
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -142,6 +142,25 @@ Or use environment variables: `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `DEEPSEEK_A
|
|
|
142
142
|
| `--no-streaming` | Disable streaming output |
|
|
143
143
|
| `--quiet` | Minimal output |
|
|
144
144
|
| `--verbose` | Show detailed stats |
|
|
145
|
+
| `--no-context` | Disable context management |
|
|
146
|
+
|
|
147
|
+
## Context Window Management (v0.3.0)
|
|
148
|
+
|
|
149
|
+
Prevents "token limit exceeded" errors in long conversations with intelligent auto-summarization.
|
|
150
|
+
|
|
151
|
+
**Status Bar Indicator**: Shows real-time usage with color-coded alerts (🟢 🟡 🔴)
|
|
152
|
+
|
|
153
|
+
**Dynamic Thresholds**: Automatically adjusts based on each model's output capacity
|
|
154
|
+
|
|
155
|
+
- Claude Sonnet (32% output) → 63% critical threshold
|
|
156
|
+
- Gemini Flash (3% output) → 92% critical threshold
|
|
157
|
+
|
|
158
|
+
**Auto-Summarization**: Older messages summarized when reaching critical threshold (~70%), preserving recent ~30K tokens in full
|
|
159
|
+
|
|
160
|
+
**Commands**:
|
|
161
|
+
|
|
162
|
+
- `/context` - View detailed usage breakdown
|
|
163
|
+
- `/context clear` - Manually trigger summarization
|
|
145
164
|
|
|
146
165
|
## System Commands
|
|
147
166
|
|