@inference-gateway/cli 0.178.3 → 0.179.1

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 +15 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -542,10 +542,7 @@ use the `gh` CLI through Bash (or the built-in `/scm` shortcuts) for GitHub oper
542
542
 
543
543
  | Tool | Purpose | Approval |
544
544
  | ------ | --------- | ---------- |
545
- | **MouseMove** / **MouseClick** / **MouseScroll** | Control the mouse | No |
546
- | **KeyboardType** | Type text or send key combinations | No |
547
- | **GetFocusedApp** / **ActivateApp** | Query or focus an application | No |
548
- | **GetUIElements** / **PressUIElement** | Read the accessibility tree / press an element by title without moving the cursor (macOS) | No |
545
+ | **Computer** | Read the accessibility tree, press labelled controls, capture screenshots, and control mouse/keyboard | Configurable |
549
546
  | **GetLatestFrame** | Read the latest frame from a named source (screen, camera directory) | No |
550
547
 
551
548
  **Memory, scheduling & A2A** (each gated by its own flag):
@@ -1203,9 +1200,9 @@ infer skills uninstall pdf # Remove a skill folder by name
1203
1200
 
1204
1201
  ## Computer Use
1205
1202
 
1206
- When enabled, the agent can control the desktop - move and click the mouse, scroll, type text and key
1207
- combinations, focus applications, and read screenshots. The display backend is detected automatically
1208
- across **macOS**, **X11**, and **Wayland**.
1203
+ When enabled, the agent can inspect and control the desktop - read accessible controls, press them by
1204
+ label, capture screenshots, move and click the mouse, scroll, and type text or key combinations. The
1205
+ display backend is detected automatically across **macOS**, **Linux**, and **Windows**.
1209
1206
 
1210
1207
  Computer Use is **off by default**. Turn it on in `computer_use.yaml` (or `infer config set computer_use.enabled true`):
1211
1208
 
@@ -1218,20 +1215,21 @@ screenshot:
1218
1215
  streaming_enabled: true # also registers the GetLatestFrame tool
1219
1216
  ```
1220
1217
 
1221
- Tools: `MouseMove`, `MouseClick`, `MouseScroll`, `KeyboardType`, `GetFocusedApp`, `ActivateApp`,
1222
- `GetUIElements`, `PressUIElement`, and
1223
- `GetLatestFrame`. On macOS, `GetUIElements` and `PressUIElement` read the accessibility tree
1224
- directly - exact element titles and positions with no vision round-trip, and presses that never
1225
- move the cursor. They run silently in the background (bypassing the approval prompt) and are
1226
- governed by `computer_use.enabled` plus the configured rate limits. The
1218
+ Tools: `Computer` and `GetLatestFrame`. `Computer` is action-based. Its `accessibility` action is the
1219
+ preferred first observation on macOS: it returns compact `{role,label,state,bbox}` text in the same
1220
+ coordinate space as screenshots, without a screenshot or vision-model call. Its `press` action invokes
1221
+ an element's accessibility action by exact label without moving the cursor. Use `screenshot` only when
1222
+ the accessibility tree is unavailable, empty, or insufficient; the remaining actions control the
1223
+ pointer and keyboard.
1224
+
1225
+ The macOS AX bridge is implemented in Go with PureGo and runs in a short-lived helper process, so a
1226
+ native accessibility failure degrades to screenshot guidance without taking down the CLI. Linux AT-SPI
1227
+ and Windows UIA providers are not implemented yet and report that fallback explicitly. Computer-use
1228
+ actions are governed by `computer_use.enabled`, rate limits, and `computer_use.approval`. The
1227
1229
  [desktop app](https://github.com/inference-gateway/desktop) visualizes what the agent is doing
1228
1230
  (monitor, screen overlay, approvals). For a sandboxed desktop to drive, see
1229
1231
  [examples/computer-use](examples/computer-use/).
1230
1232
 
1231
- > **⚠️ Windows note:** Computer use (mouse, keyboard, screenshot tools) is **not supported on Windows**.
1232
- > The agent will log a warning and disable these tools when running on Windows. All other features
1233
- > work normally.
1234
-
1235
1233
  ## Frame Sources & Vision Annotation
1236
1234
 
1237
1235
  Cheap or text-only models (DeepSeek, small local models) can still "see". Named **frame sources**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inference-gateway/cli",
3
- "version": "0.178.3",
3
+ "version": "0.179.1",
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"