@inference-gateway/cli 0.199.1 → 0.199.3

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 +28 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -359,7 +359,7 @@ infer chat --web
359
359
  infer chat --web --port 8080 # Custom port
360
360
  ```
361
361
 
362
- **Features:** Model selection, real-time streaming, scrollable history, three agent modes (Standard/Plan/Auto-Accept).
362
+ **Features:** Model selection, real-time streaming, scrollable history, four agent modes (Standard/Plan/Auto-Accept/Auto+Judge).
363
363
  Select text by holding Shift (Option on macOS terminals) while dragging.
364
364
 
365
365
  **Web Mode Features:**
@@ -547,7 +547,9 @@ use the `gh` CLI through Bash (or the built-in `/scm` shortcuts) for GitHub oper
547
547
  | Tool | Purpose | Approval |
548
548
  | ------ | --------- | ---------- |
549
549
  | **WebSearch** | Search the web (DuckDuckGo/Google) | Yes |
550
- | **WebFetch** | Fetch content from a URL | Yes |
550
+ | **WebFetch** | Fetch content from a URL | No |
551
+
552
+ `WebFetch` does not require approval by default; set `tools.web_fetch.require_approval: true` to require it.
551
553
 
552
554
  **Subagents** (the `Agent` tool and its companions, enabled by default):
553
555
 
@@ -648,7 +650,7 @@ Create a minimal configuration:
648
650
  # .infer/config.yaml
649
651
  gateway:
650
652
  url: http://localhost:8080
651
- docker: true # Use Docker mode (or false for binary mode)
653
+ standalone_binary: true # Run the gateway as a standalone binary (false = Docker container)
652
654
 
653
655
  tools:
654
656
  enabled: true
@@ -657,14 +659,21 @@ tools:
657
659
 
658
660
  agent:
659
661
  model: "deepseek/deepseek-v4-pro"
660
- system_prompt: "You are a helpful assistant" # Base identity
661
- custom_instructions: "" # Additional instructions appended to system prompt
662
662
  max_turns: 50
663
663
 
664
664
  chat:
665
665
  theme: tokyo-night
666
666
  ```
667
667
 
668
+ System prompts and custom instructions live in `prompts.yaml`, not `config.yaml`:
669
+
670
+ ```yaml
671
+ # .infer/prompts.yaml
672
+ agent:
673
+ system_prompt: "You are a helpful assistant" # Base identity
674
+ custom_instructions: "" # Additional instructions appended to system prompt
675
+ ```
676
+
668
677
  ### Configuration Layers
669
678
 
670
679
  1. **Environment Variables** (`INFER_*`) - Highest priority
@@ -682,18 +691,18 @@ export INFER_AGENT_MODEL="openai/gpt-4"
682
691
  # Or via config file
683
692
  infer config set agent.model "deepseek/deepseek-v4-pro"
684
693
 
685
- # Or via command flag
686
- infer chat --model "anthropic/claude-4"
694
+ # Or via command flag (headless mode)
695
+ infer headless --model "anthropic/claude-4" "Summarize this repository"
687
696
  ```
688
697
 
689
698
  ### Key Configuration Options
690
699
 
691
700
  - **gateway.url** - Gateway URL (default: `http://localhost:8080`)
692
- - **gateway.docker** - Use Docker mode vs binary mode (default: `true`)
701
+ - **gateway.standalone_binary** - Run the gateway as a standalone binary instead of a Docker container (default: `true`)
693
702
  - **tools.enabled** - Enable/disable all tools (default: `true`)
694
703
  - **agent.model** - Default model for agent operations
695
- - **agent.system_prompt** - Base identity for the agent (e.g., `"You are a helpful assistant"`)
696
- - **agent.custom_instructions** - Additional instructions appended after the system prompt
704
+ - **prompts.agent.system_prompt** (prompts.yaml) - Base identity for the agent (e.g., `"You are a helpful assistant"`)
705
+ - **prompts.agent.custom_instructions** (prompts.yaml) - Additional instructions appended after the system prompt
697
706
  - **agent.max_turns** - Maximum turns for agent sessions (default: `50`)
698
707
  - **chat.theme** - Chat interface theme (default: `tokyo-night`)
699
708
  - **chat.status_bar.enabled** - Enable/disable status bar (default: `true`)
@@ -855,7 +864,8 @@ approval**; override per tool with `tools.<name>.require_approval`.
855
864
  | ------ | ------------------- | --------- |
856
865
  | Write, Edit, MultiEdit, Delete | Yes | Create / modify / remove files |
857
866
  | Schedule, Agent | Yes | Side effects (scheduled jobs, spawned subprocesses) |
858
- | WebSearch, WebFetch | Yes | Make external requests (global default) |
867
+ | WebSearch | Yes | Make external requests (global default) |
868
+ | WebFetch | No | Explicitly exempt - override with `tools.web_fetch.require_approval` |
859
869
  | A2A_SubmitTask | Yes | Dispatches work to another agent |
860
870
  | Bash | Optional | Governed by the per-mode bash allow-list |
861
871
  | Wait | No | Passive utility - blocks until condition met, no side effects |
@@ -931,9 +941,9 @@ actions.
931
941
  **Project setup:**
932
942
 
933
943
  - `/init` - Generate an `AGENTS.md` by analyzing the project
934
- - `/init-github-action` - Set up a GitHub Action via an interactive wizard. Generates `.github/workflows/infer.yml`
935
- pinned to the latest `infer-action` (issue/comment-triggered plus a manual `workflow_dispatch` mode, 15-minute job
936
- timeout); pre-scans common locations for your GitHub App `.pem` key so selecting it is instant
944
+ - `/install-opentask [owner/repo] [extra context...]` - Install the OpenTask GitHub workflow via the chat agent:
945
+ creates or updates `.github/workflows/tasks.yml` for `infer-action` on an install branch, then opens a pull
946
+ request (pass `[owner/repo]` to target a repo other than the current checkout)
937
947
 
938
948
  **Git Shortcuts** (created by `infer init`):
939
949
 
@@ -1340,7 +1350,10 @@ hooks:
1340
1350
  ## Global Flags
1341
1351
 
1342
1352
  - `-v, --verbose`: Enable verbose output
1343
- - `--config <path>`: Specify custom config file path
1353
+ - `--no-colors`: Disable ANSI colors in command output (colors are also auto-disabled when stdout is not a terminal or `NO_COLOR` is set)
1354
+ - `--tools-bash-allow-append <cmds>`: Comma/newline-separated commands added to the bash allow-list in every mode
1355
+ (`standard`, `plan`, `auto`); `INFER_TOOLS_BASH_ALLOW_APPEND` takes precedence
1356
+ - `--reminders-file <path>`: Path to a reminders YAML file, overriding project `.infer/` and `~/.infer/` reminders
1344
1357
 
1345
1358
  ## Examples
1346
1359
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inference-gateway/cli",
3
- "version": "0.199.1",
3
+ "version": "0.199.3",
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"