@inference-gateway/cli 0.183.5 → 0.185.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 +28 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,8 @@ An agentic command-line assistant that writes code, understands project context,
|
|
|
94
94
|
- **Remote Messaging Channels**: Control the agent from Telegram, WhatsApp, and other platforms via a pluggable channel system - [Learn more →](docs/channels.md)
|
|
95
95
|
- **Speech-to-Text (Whisper)**: Dictate into chat with `/voice` and transcribe inbound Telegram voice messages, locally and offline -
|
|
96
96
|
off by default - [Learn more →](docs/speech-to-text.md)
|
|
97
|
+
- **Text-to-Speech (Qwen3-TTS)**: Turn text into a spoken WAV locally and offline, with zero-shot voice cloning
|
|
98
|
+
from a short reference recording - off by default - [Learn more →](docs/text-to-speech.md)
|
|
97
99
|
- **Scheduled Tasks**: Ask the agent (over Telegram, etc.) to run a prompt on a cron schedule and deliver the result back through the same channel -
|
|
98
100
|
recurring ("send me a quote every morning") or one-off ("remind me at 6pm today") - [Learn more →](docs/scheduling.md)
|
|
99
101
|
- **Heartbeat (Periodic Wake-Up)**: Wake the agent on a fixed interval to check for pending todos and background work,
|
|
@@ -274,13 +276,16 @@ go build -o infer.exe ./cmd/infer
|
|
|
274
276
|
|
|
275
277
|
## Quick Start
|
|
276
278
|
|
|
277
|
-
1. **Initialize
|
|
279
|
+
1. **Initialize the userspace baseline**:
|
|
278
280
|
|
|
279
281
|
```bash
|
|
280
282
|
infer init
|
|
281
283
|
```
|
|
282
284
|
|
|
283
|
-
This creates
|
|
285
|
+
This creates the shared `~/.infer/` configuration directory. All state
|
|
286
|
+
(conversations, logs, history, artifacts) lives under `~/.infer/` too; a
|
|
287
|
+
project `.infer/` is an optional config override layer you create with
|
|
288
|
+
`infer config set --project` when a project needs different settings.
|
|
284
289
|
|
|
285
290
|
2. **Set up your environment** (create `.env` file):
|
|
286
291
|
|
|
@@ -316,11 +321,11 @@ The CLI provides several commands for different workflows. For detailed document
|
|
|
316
321
|
|
|
317
322
|
### Core Commands
|
|
318
323
|
|
|
319
|
-
**`infer init`** - Initialize
|
|
324
|
+
**`infer init`** - Initialize the userspace baseline configuration
|
|
320
325
|
|
|
321
326
|
```bash
|
|
322
|
-
infer init #
|
|
323
|
-
infer init --
|
|
327
|
+
infer init # Seed the shared ~/.infer/ baseline
|
|
328
|
+
infer init --overwrite # Re-seed the baseline files
|
|
324
329
|
```
|
|
325
330
|
|
|
326
331
|
**`infer chat`** - Start an interactive chat session with model selection
|
|
@@ -383,8 +388,8 @@ infer config set tools.enabled true
|
|
|
383
388
|
infer config set tools.bash.enabled true
|
|
384
389
|
infer config set tools.safety.require_approval true
|
|
385
390
|
|
|
386
|
-
# Write
|
|
387
|
-
infer config set agent.model "openai/gpt-4o" --
|
|
391
|
+
# Write a project-level override into ./.infer/config.yaml instead
|
|
392
|
+
infer config set agent.model "openai/gpt-4o" --project
|
|
388
393
|
```
|
|
389
394
|
|
|
390
395
|
> System prompts live in `prompts.yaml` (e.g. `prompts.agent.system_prompt`), not
|
|
@@ -462,7 +467,7 @@ See [docs/plugins.md](docs/plugins.md) for the mapping and security model.
|
|
|
462
467
|
|
|
463
468
|
```bash
|
|
464
469
|
infer conversations list # Find the session ID
|
|
465
|
-
infer export <session-id> # Writes
|
|
470
|
+
infer export <session-id> # Writes ~/.infer/projects/<slug>/exports/chat_export_<timestamp>.md
|
|
466
471
|
```
|
|
467
472
|
|
|
468
473
|
**`infer version`** - Display CLI version information
|
|
@@ -545,6 +550,15 @@ use the `gh` CLI through Bash (or the built-in `/scm` shortcuts) for GitHub oper
|
|
|
545
550
|
| **Computer** | Read the accessibility tree, press labelled controls, capture screenshots, and control mouse/keyboard | Configurable |
|
|
546
551
|
| **GetLatestFrame** | Read the latest frame from a named source (screen, camera directory) | No |
|
|
547
552
|
|
|
553
|
+
**Media** (each gated by its own flag; all output is written to disk, never played aloud):
|
|
554
|
+
|
|
555
|
+
| Tool | Purpose | Approval | Enabled by |
|
|
556
|
+
| ------ | --------- | ---------- | ------------ |
|
|
557
|
+
| **ImageGeneration** | Generate an image from a prompt into `~/.infer/projects/<project-slug>/artifacts/` | No | `tools.image_generation.enabled` |
|
|
558
|
+
| **ImageEdit** | Edit an existing image and save the result | No | `tools.image_edit.enabled` |
|
|
559
|
+
| **ImageVariation** | Produce a variation of an existing image | No | `tools.image_variation.enabled` |
|
|
560
|
+
| **TextToSpeech** | Synthesize speech to a WAV locally, optionally cloning a voice | No | `text_to_speech.enabled` |
|
|
561
|
+
|
|
548
562
|
**Memory, scheduling & A2A** (each gated by its own flag):
|
|
549
563
|
|
|
550
564
|
| Tool | Purpose | Approval | Enabled by |
|
|
@@ -829,6 +843,8 @@ approval**; override per tool with `tools.<name>.require_approval`.
|
|
|
829
843
|
| Wait | No | Passive utility - blocks until condition met, no side effects |
|
|
830
844
|
| Read, Grep, Tree | No | Read-only operations |
|
|
831
845
|
| Memory, TodoWrite | No | Local agent state (explicitly exempt) |
|
|
846
|
+
| Image tools | No | Output confined to `~/.infer/projects/<project-slug>/artifacts/` - override with `tools.<name>.require_approval` |
|
|
847
|
+
| TextToSpeech | No | Output confined to `text_to_speech.output_dir` - override with `text_to_speech.require_approval` |
|
|
832
848
|
| Computer-use tools | No | Run silently in the background |
|
|
833
849
|
| A2A_QueryAgent, A2A_QueryTask | No | Read-only A2A queries |
|
|
834
850
|
|
|
@@ -928,7 +944,7 @@ actions.
|
|
|
928
944
|
Create shortcuts that use LLMs to transform data:
|
|
929
945
|
|
|
930
946
|
```yaml
|
|
931
|
-
#
|
|
947
|
+
# ~/.infer/shortcuts/custom-example.yaml
|
|
932
948
|
shortcuts:
|
|
933
949
|
- name: analyze-diff
|
|
934
950
|
description: "Analyze git diff with AI"
|
|
@@ -951,10 +967,11 @@ shortcuts:
|
|
|
951
967
|
|
|
952
968
|
### Custom Shortcuts
|
|
953
969
|
|
|
954
|
-
Create custom shortcuts by adding YAML files to
|
|
970
|
+
Create custom shortcuts by adding YAML files to `~/.infer/shortcuts/` (a
|
|
971
|
+
project `./.infer/shortcuts/` is overlaid on top by name):
|
|
955
972
|
|
|
956
973
|
```yaml
|
|
957
|
-
#
|
|
974
|
+
# ~/.infer/shortcuts/custom-dev.yaml
|
|
958
975
|
shortcuts:
|
|
959
976
|
- name: tests
|
|
960
977
|
description: "Run all tests"
|