@inference-gateway/cli 0.133.1 → 0.135.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 +62 -2
- package/bin/install.js +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -94,6 +94,8 @@ An agentic command-line assistant that writes code, understands project context,
|
|
|
94
94
|
with a separate configurable system prompt - off by default - [Learn more →](docs/heartbeat.md)
|
|
95
95
|
- **Agent Skills**: Drop-in `SKILL.md` instruction folders the agent discovers and loads on demand;
|
|
96
96
|
install them straight from GitHub with `infer skills install` - on by default - [Learn more →](docs/skills.md)
|
|
97
|
+
- **Plugins**: Install Claude Code-format plugins (skills + an always-on `AGENTS.md` ruleset) from GitHub with
|
|
98
|
+
`infer plugins install owner/repo` - content only, plugin code is never executed - [Learn more →](docs/plugins.md)
|
|
97
99
|
- **Persistent Memory**: Cross-session memory stored as individual Markdown fact-files with an
|
|
98
100
|
auto-maintained `MEMORY.md` index that is injected at session start - on by default - [Learn more →](#persistent-memory)
|
|
99
101
|
- **Subagents**: Spawn parallel `infer agent` subprocesses from chat with the `Agent` tool to fan out
|
|
@@ -125,8 +127,8 @@ infer --help
|
|
|
125
127
|
|
|
126
128
|
> **Not recommended for production.** For production or CI, prefer the
|
|
127
129
|
> [install script](#using-install-script), [container image](#using-container-image), or
|
|
128
|
-
> [building from source](#build-from-source). Prebuilt binaries cover Linux and
|
|
129
|
-
> amd64/arm64
|
|
130
|
+
> [building from source](#build-from-source). Prebuilt binaries cover Linux, macOS, and Windows on
|
|
131
|
+
> amd64/arm64.
|
|
130
132
|
|
|
131
133
|
### Using Go Install
|
|
132
134
|
|
|
@@ -162,6 +164,8 @@ docker run -it --rm --network inference-gateway ghcr.io/inference-gateway/cli:la
|
|
|
162
164
|
|
|
163
165
|
### Using Install Script
|
|
164
166
|
|
|
167
|
+
**Linux/macOS:**
|
|
168
|
+
|
|
165
169
|
```bash
|
|
166
170
|
# Latest version
|
|
167
171
|
curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.sh | bash
|
|
@@ -173,10 +177,41 @@ curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.
|
|
|
173
177
|
curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.sh | bash -s -- --install-dir $HOME/.local/bin
|
|
174
178
|
```
|
|
175
179
|
|
|
180
|
+
**Windows (PowerShell 5.1+ / pwsh):**
|
|
181
|
+
|
|
182
|
+
```powershell
|
|
183
|
+
# Latest version
|
|
184
|
+
.\install.ps1
|
|
185
|
+
|
|
186
|
+
# Specific version
|
|
187
|
+
.\install.ps1 -Version v0.1.0
|
|
188
|
+
|
|
189
|
+
# Custom installation directory
|
|
190
|
+
$env:INSTALL_DIR = "C:\tools"; .\install.ps1
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Or run directly from GitHub:
|
|
194
|
+
|
|
195
|
+
```powershell
|
|
196
|
+
# Download and run
|
|
197
|
+
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/inference-gateway/cli/main/install.ps1'))
|
|
198
|
+
```
|
|
199
|
+
|
|
176
200
|
### Manual Download
|
|
177
201
|
|
|
178
202
|
Download the latest release binary for your platform from the [releases page](https://github.com/inference-gateway/cli/releases).
|
|
179
203
|
|
|
204
|
+
Available binaries:
|
|
205
|
+
|
|
206
|
+
| Platform | Binary |
|
|
207
|
+
| -------- | ------ |
|
|
208
|
+
| Linux amd64 | `infer-linux-amd64` |
|
|
209
|
+
| Linux arm64 | `infer-linux-arm64` |
|
|
210
|
+
| macOS amd64 (Intel) | `infer-darwin-amd64` |
|
|
211
|
+
| macOS arm64 (Apple Silicon) | `infer-darwin-arm64` |
|
|
212
|
+
| Windows amd64 | `infer-windows-amd64.exe` |
|
|
213
|
+
| Windows arm64 | `infer-windows-arm64.exe` |
|
|
214
|
+
|
|
180
215
|
**Verify the binary** (recommended for security):
|
|
181
216
|
|
|
182
217
|
```bash
|
|
@@ -206,6 +241,15 @@ go build -o infer cmd/infer/main.go
|
|
|
206
241
|
sudo mv infer /usr/local/bin/
|
|
207
242
|
```
|
|
208
243
|
|
|
244
|
+
On Windows, build with:
|
|
245
|
+
|
|
246
|
+
```powershell
|
|
247
|
+
git clone https://github.com/inference-gateway/cli.git
|
|
248
|
+
cd cli
|
|
249
|
+
go build -o infer.exe cmd/infer/main.go
|
|
250
|
+
# The binary is at .\infer.exe
|
|
251
|
+
```
|
|
252
|
+
|
|
209
253
|
## Quick Start
|
|
210
254
|
|
|
211
255
|
1. **Initialize your project**:
|
|
@@ -611,6 +655,18 @@ infer skills uninstall pdf # Remove a skill by name
|
|
|
611
655
|
|
|
612
656
|
See [Agent Skills](#agent-skills) and [docs/skills.md](docs/skills.md) for the format.
|
|
613
657
|
|
|
658
|
+
**`infer plugins`** - Manage Claude Code-format plugins (skills + instruction rulesets)
|
|
659
|
+
|
|
660
|
+
```bash
|
|
661
|
+
infer plugins install DietrichGebert/ponytail # Install a plugin from GitHub
|
|
662
|
+
infer plugins list # List installed plugins
|
|
663
|
+
infer plugins disable ponytail # Unload its skills + instructions
|
|
664
|
+
infer plugins update # Re-fetch all plugins
|
|
665
|
+
infer plugins remove ponytail # Remove entirely
|
|
666
|
+
```
|
|
667
|
+
|
|
668
|
+
See [docs/plugins.md](docs/plugins.md) for the mapping and security model.
|
|
669
|
+
|
|
614
670
|
**`infer export`** - Export a conversation to a Markdown file
|
|
615
671
|
|
|
616
672
|
```bash
|
|
@@ -1360,6 +1416,10 @@ governed by `computer_use.enabled` plus the configured rate limits. On macOS an
|
|
|
1360
1416
|
progress window** can mirror what the agent is doing. For a sandboxed desktop to drive, see
|
|
1361
1417
|
[examples/computer-use](examples/computer-use/).
|
|
1362
1418
|
|
|
1419
|
+
> **⚠️ Windows note:** Computer use (mouse, keyboard, screenshot tools) is **not supported on Windows**.
|
|
1420
|
+
> The agent will log a warning and disable these tools when running on Windows. All other features
|
|
1421
|
+
> work normally.
|
|
1422
|
+
|
|
1363
1423
|
## Persistent Memory
|
|
1364
1424
|
|
|
1365
1425
|
The agent keeps a durable, cross-session memory: individual Markdown **fact-files** under a global
|
package/bin/install.js
CHANGED
|
@@ -20,7 +20,7 @@ const BASE_URL =
|
|
|
20
20
|
`https://github.com/${REPO}/releases/download/v${version}`;
|
|
21
21
|
|
|
22
22
|
// Maps Node's process.platform / process.arch onto the release asset names.
|
|
23
|
-
const PLATFORMS = { linux: "linux", darwin: "darwin" };
|
|
23
|
+
const PLATFORMS = { linux: "linux", darwin: "darwin", win32: "windows" };
|
|
24
24
|
const ARCHES = { x64: "amd64", arm64: "arm64" };
|
|
25
25
|
|
|
26
26
|
const binName = process.platform === "win32" ? "infer.exe" : "infer";
|
|
@@ -37,7 +37,7 @@ function resolveAsset() {
|
|
|
37
37
|
if (!goos || !goarch) {
|
|
38
38
|
fail(
|
|
39
39
|
`unsupported platform ${process.platform}/${process.arch}. ` +
|
|
40
|
-
`Prebuilt binaries are published for linux and
|
|
40
|
+
`Prebuilt binaries are published for linux, darwin, and win32 on amd64/arm64 only. ` +
|
|
41
41
|
`Install from source instead: https://github.com/${REPO}#installation`
|
|
42
42
|
);
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inference-gateway/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.135.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"
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"os": [
|
|
42
42
|
"linux",
|
|
43
|
-
"darwin"
|
|
43
|
+
"darwin",
|
|
44
|
+
"win32"
|
|
44
45
|
],
|
|
45
46
|
"cpu": [
|
|
46
47
|
"x64",
|