@inference-gateway/cli 0.134.0 → 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 +48 -2
- package/bin/install.js +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -127,8 +127,8 @@ infer --help
|
|
|
127
127
|
|
|
128
128
|
> **Not recommended for production.** For production or CI, prefer the
|
|
129
129
|
> [install script](#using-install-script), [container image](#using-container-image), or
|
|
130
|
-
> [building from source](#build-from-source). Prebuilt binaries cover Linux and
|
|
131
|
-
> amd64/arm64
|
|
130
|
+
> [building from source](#build-from-source). Prebuilt binaries cover Linux, macOS, and Windows on
|
|
131
|
+
> amd64/arm64.
|
|
132
132
|
|
|
133
133
|
### Using Go Install
|
|
134
134
|
|
|
@@ -164,6 +164,8 @@ docker run -it --rm --network inference-gateway ghcr.io/inference-gateway/cli:la
|
|
|
164
164
|
|
|
165
165
|
### Using Install Script
|
|
166
166
|
|
|
167
|
+
**Linux/macOS:**
|
|
168
|
+
|
|
167
169
|
```bash
|
|
168
170
|
# Latest version
|
|
169
171
|
curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.sh | bash
|
|
@@ -175,10 +177,41 @@ curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.
|
|
|
175
177
|
curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.sh | bash -s -- --install-dir $HOME/.local/bin
|
|
176
178
|
```
|
|
177
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
|
+
|
|
178
200
|
### Manual Download
|
|
179
201
|
|
|
180
202
|
Download the latest release binary for your platform from the [releases page](https://github.com/inference-gateway/cli/releases).
|
|
181
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
|
+
|
|
182
215
|
**Verify the binary** (recommended for security):
|
|
183
216
|
|
|
184
217
|
```bash
|
|
@@ -208,6 +241,15 @@ go build -o infer cmd/infer/main.go
|
|
|
208
241
|
sudo mv infer /usr/local/bin/
|
|
209
242
|
```
|
|
210
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
|
+
|
|
211
253
|
## Quick Start
|
|
212
254
|
|
|
213
255
|
1. **Initialize your project**:
|
|
@@ -1374,6 +1416,10 @@ governed by `computer_use.enabled` plus the configured rate limits. On macOS an
|
|
|
1374
1416
|
progress window** can mirror what the agent is doing. For a sandboxed desktop to drive, see
|
|
1375
1417
|
[examples/computer-use](examples/computer-use/).
|
|
1376
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
|
+
|
|
1377
1423
|
## Persistent Memory
|
|
1378
1424
|
|
|
1379
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",
|