@inference-gateway/cli 0.202.2 → 0.203.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 +14 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -297,19 +297,17 @@ DEEPSEEK_API_KEY=your_key_here
297
297
  ```
298
298
 
299
299
  Provider keys resolve in this order, first hit wins: the system environment, the
300
- project `.env`, then the userspace fallback `~/.infer/auth.json` - a flat JSON
300
+ project `.env`, then the userspace fallback `~/.infer/auth.yaml` - a flat YAML
301
301
  map of provider key env vars, so you can keep keys in one place across all
302
302
  projects (or run `infer` outside any project):
303
303
 
304
- ```json
305
- {
306
- "ANTHROPIC_API_KEY": "sk-ant-...",
307
- "OPENAI_API_KEY": "sk-..."
308
- }
304
+ ```yaml
305
+ ANTHROPIC_API_KEY: sk-ant-...
306
+ OPENAI_API_KEY: sk-...
309
307
  ```
310
308
 
311
- A missing `auth.json` changes nothing, and a malformed one is ignored with a
312
- logged warning. Keep the file private (`chmod 600 ~/.infer/auth.json`).
309
+ A missing `auth.yaml` changes nothing, and a malformed one is ignored with a
310
+ logged warning. Keep the file private (`chmod 600 ~/.infer/auth.yaml`).
313
311
 
314
312
  3. **Start chatting**:
315
313
 
@@ -918,6 +916,12 @@ actions.
918
916
 
919
917
  - `/new [title]` - Start a new conversation (optionally titled)
920
918
  - `/clear` - Save the current conversation and start a new one
919
+ - `/insights [since]` - Analyze past sessions for repeatable workflows worth a skill and recurring tool failures; saves a report to `~/.infer/insights/`
920
+ - `/reset [insights|confirm]` - Wipe the local runtime state (conversations, plans, scratch, artifacts, history, backups, exports, logs) of
921
+ **every project on this machine** and start a fresh session.
922
+ `/reset insights` analyzes the sessions first and previews the wipe.
923
+ `/reset confirm` performs it, but only after a preview in the same session - a cold `/reset confirm` previews instead of deleting.
924
+ Config and saved insights are preserved, remote stores are skipped.
921
925
  - `/compact` - Save the conversation and start a new session seeded with a summary
922
926
  - `/conversations` - Open the conversation selection dropdown
923
927
  - `/context` - Show context-window usage
@@ -956,7 +960,6 @@ actions.
956
960
 
957
961
  - `/scm issues` - List GitHub issues
958
962
  - `/scm issue <number>` - Show issue details
959
- - `/scm pr-create [context]` - Generate AI-powered PR plan
960
963
 
961
964
  **Other Shortcuts** (created by `infer init`):
962
965
 
@@ -1409,8 +1412,8 @@ infer chat
1409
1412
  # - Make changes
1410
1413
  # - Run tests
1411
1414
 
1412
- # Generate PR plan when ready
1413
- /scm pr-create Fixes the authentication timeout issue
1415
+ # Ask the agent to open the PR when ready
1416
+ > Create a pull request for these changes - it fixes the authentication timeout issue
1414
1417
  ```
1415
1418
 
1416
1419
  ### Configuration Example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inference-gateway/cli",
3
- "version": "0.202.2",
3
+ "version": "0.203.0",
4
4
  "description": "A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes.",
5
5
  "bin": {
6
6
  "infer": "bin/run.js"