@inference-gateway/cli 0.206.0 → 0.208.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 +24 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,7 +89,8 @@ An agentic command-line assistant that writes code, understands project context,
|
|
|
89
89
|
- **Model Thinking Visualization**: When models use extended thinking,
|
|
90
90
|
their internal reasoning process is displayed as collapsible blocks above responses (toggle with **ctrl+k** by default, configurable via `display_toggle_thinking`)
|
|
91
91
|
- **Extensible Shortcuts System**: Create custom commands with AI-powered snippets - [Learn more →](docs/shortcuts-guide.md)
|
|
92
|
-
- **MCP Server Support**: Direct integration with Model Context Protocol servers for extended tool capabilities
|
|
92
|
+
- **MCP Server Support**: Direct integration with Model Context Protocol servers for extended tool capabilities.
|
|
93
|
+
Servers must speak MCP `2026-07-28`; the gateway's `/mcp` works as a single entry for all its servers -
|
|
93
94
|
[Learn more →](docs/mcp-integration.md)
|
|
94
95
|
- **Web Terminal Interface**: Browser-based terminal access with tabbed sessions for remote access and multi-session workflows - [Learn more →](docs/web-terminal.md)
|
|
95
96
|
- **Remote Messaging Channels**: Control the agent from Telegram, WhatsApp, and other platforms via a pluggable channel system - [Learn more →](docs/channels.md)
|
|
@@ -634,6 +635,8 @@ use the `gh` CLI through Bash (or the built-in `/scm` shortcuts) for GitHub oper
|
|
|
634
635
|
| ------ | --------- | ---------- |
|
|
635
636
|
| **Computer** | Read the accessibility tree, press labelled controls, capture screenshots, and control mouse/keyboard | Configurable |
|
|
636
637
|
| **GetLatestFrame** | Read the latest frame from a named source (screen, camera directory) | No |
|
|
638
|
+
| **RecordStart** | Record the screen, a window, or a region to MP4 (needs `computer_use.recording.enabled`) | Configurable |
|
|
639
|
+
| **RecordStop** | Stop the recording and return the file path, duration, and size | Configurable |
|
|
637
640
|
|
|
638
641
|
**Media** (each gated by its own flag; all output is written to disk, never played aloud):
|
|
639
642
|
|
|
@@ -878,14 +881,14 @@ pricing:
|
|
|
878
881
|
# Disable cost tracking entirely
|
|
879
882
|
export INFER_PRICING_ENABLED=false
|
|
880
883
|
|
|
881
|
-
# Override specific model pricing (use underscores in model names)
|
|
882
|
-
export INFER_PRICING_CUSTOM_PRICES_OPENAI_GPT_4O_INPUT_PRICE_PER_MTOKEN=3.00
|
|
883
|
-
export INFER_PRICING_CUSTOM_PRICES_OPENAI_GPT_4O_OUTPUT_PRICE_PER_MTOKEN=12.00
|
|
884
|
-
|
|
885
884
|
# Hide cost from status bar
|
|
886
885
|
export INFER_CHAT_STATUS_BAR_INDICATORS_COST=false
|
|
887
886
|
```
|
|
888
887
|
|
|
888
|
+
> **Note:** `pricing.custom_prices` is a map keyed by `provider/model`, so its entries
|
|
889
|
+
> cannot be set through environment variables. Override per-model pricing only via
|
|
890
|
+
> the `custom_prices` block in `config.yaml` (shown above).
|
|
891
|
+
|
|
889
892
|
**Status Bar Configuration:**
|
|
890
893
|
|
|
891
894
|
```yaml
|
|
@@ -965,9 +968,12 @@ tools:
|
|
|
965
968
|
|
|
966
969
|
### Approval UI Controls
|
|
967
970
|
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
+
The approval box is an inline select: **left / right** moves between
|
|
972
|
+
**Approve**, **Reject** and **Auto-Approve**, **enter** confirms.
|
|
973
|
+
|
|
974
|
+
- **Left / Right** - Choose an option
|
|
975
|
+
- **Enter** - Confirm the highlighted choice
|
|
976
|
+
- **Esc** - Reject execution
|
|
971
977
|
|
|
972
978
|
## Shortcuts
|
|
973
979
|
|
|
@@ -1036,7 +1042,7 @@ actions.
|
|
|
1036
1042
|
- `/shells` - List running and recent background shell processes
|
|
1037
1043
|
- `/export` - Export the current conversation to markdown
|
|
1038
1044
|
- `/env` - Generate a `.env.example` with all provider API keys
|
|
1039
|
-
- `/agents [list|add|remove
|
|
1045
|
+
- `/agents [list|add|remove]` - Manage A2A agents
|
|
1040
1046
|
- `/skills [list|install|uninstall]` - Manage Agent Skills
|
|
1041
1047
|
|
|
1042
1048
|
### AI-Powered Snippets
|
|
@@ -1321,7 +1327,7 @@ When enabled, the agent can inspect and control the desktop - read accessible co
|
|
|
1321
1327
|
label, capture screenshots, move and click the mouse, scroll, and type text or key combinations. The
|
|
1322
1328
|
display backend is detected automatically across **macOS**, **Linux**, and **Windows**.
|
|
1323
1329
|
|
|
1324
|
-
Computer Use is **off by default**. Turn it on in `computer_use.yaml` (or `
|
|
1330
|
+
Computer Use is **off by default**. Turn it on in `computer_use.yaml` (or with `INFER_COMPUTER_USE_ENABLED=true`):
|
|
1325
1331
|
|
|
1326
1332
|
```yaml
|
|
1327
1333
|
# .infer/computer_use.yaml
|
|
@@ -1403,9 +1409,14 @@ Two lightweight extension points fire at fixed **agent-loop hook points** - `pre
|
|
|
1403
1409
|
`post_session`:
|
|
1404
1410
|
|
|
1405
1411
|
- **Reminders** (`reminders.yaml`) inject a `<system-reminder>` text block at a hook point, gated by a
|
|
1406
|
-
trigger (`always`, `interval`, `turns_before_max`,
|
|
1407
|
-
|
|
1408
|
-
the
|
|
1412
|
+
trigger (`always`, `interval`, `once_after`, `turns_before_max`, `once`, `on_failure`,
|
|
1413
|
+
`on_mode_change`, `on_repeated_failure`, `on_truncation`, `on_stalled_todos`, or
|
|
1414
|
+
`on_empty_response`; see the [configuration reference](docs/configuration-reference.md) for the
|
|
1415
|
+
full table). Reminders ship **enabled** with nine defaults: `todo-hygiene` (nudges the agent to
|
|
1416
|
+
keep a todo list), `mode-change-reminder`, `user-intent-focus`, `repeated-failure`,
|
|
1417
|
+
`todo-continuation`, `truncation-continuation`, `empty-response-continuation`, and the memory
|
|
1418
|
+
reminders `memory-consult` (points it at the memory index) and `memory-hygiene`; the memory ones
|
|
1419
|
+
are auto-pruned when memory is off.
|
|
1409
1420
|
- **Command Hooks** (`hooks.yaml`) run a shell command at a hook point - the executable sibling of
|
|
1410
1421
|
reminders. They are **off by default**; each command still faces the per-mode bash allow-list when
|
|
1411
1422
|
the agent runs it, so allow-list the command and set `enabled: true` to turn hooks on.
|