@aiiware/aii 0.16.32 → 0.16.34

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 (3) hide show
  1. package/README.md +9 -1
  2. package/bin/aii +543 -543
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ An autonomous AI assistant that lives in your terminal. Ask it anything — it r
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
- <strong>npm:</strong> <code>@aiiware/aii</code> · <strong>Version:</strong> 0.16.32 · <strong>Node.js:</strong> >= 18
12
+ <strong>npm:</strong> <code>@aiiware/aii</code> · <strong>Version:</strong> 0.16.34 · <strong>Node.js:</strong> >= 18
13
13
  </p>
14
14
 
15
15
  ---
@@ -440,6 +440,14 @@ Config lives in `~/.aii/`:
440
440
  | `secrets.yaml` | API keys (file mode 0600) |
441
441
  | `mcp_servers.json` | MCP server configuration |
442
442
 
443
+ **Session retention.** Past interactive sessions are saved under `~/.aii/sessions/`. On startup, Aii prunes them to the most-recent `sessions.keep` (default **50**) so the directory stays bounded. Set `sessions.keep: 0` to keep all sessions (unlimited):
444
+
445
+ ```yaml
446
+ # ~/.aii/config.yaml
447
+ sessions:
448
+ keep: 50 # most-recent sessions to retain; 0 = unlimited
449
+ ```
450
+
443
451
  Environment variables also work: `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `DEEPSEEK_API_KEY`, etc.
444
452
 
445
453
  ---