superbased 2.0.0 → 2.0.2
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 +98 -25
- package/SUPERBASED_SKILL.md +45 -2
- package/dist/headless/headless/cli.js +6 -1
- package/mcp-server/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# SuperBased
|
|
2
2
|
|
|
3
3
|
**Agent eyes, ears, and hands — cross-platform, works offline.**
|
|
4
|
-
|
|
4
|
+
72 MCP tools — full GUI automation (click / type / hotkey / scroll / drag / hover / AX-invoke / form-fill / dialog-handle / find-image / tab-management / find-in-page / virtual-desktop / tray-click) plus orientation tooling (workspace_sync / project / accessibility_tree / window_bounds / undo_last / progressive-disclosure dispatcher / stt_status), on top of screen capture / OCR / gallery / recording / monitor — with built-in humanization v2 (Bezier-curved cursor approaches with sin-shaped velocity envelope, gaussian click-target jitter, gamma-distributed inter-key timing, per-key + click hold variation, optional typo+correct sequences, per-process cross-session salt). Sign in for cloud AI.
|
|
5
5
|
|
|
6
6
|
## Three-line quickstart
|
|
7
7
|
|
|
@@ -134,71 +134,144 @@ superbased --version Show version
|
|
|
134
134
|
superbased --help Show all commands
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
The API server runs on `http://127.0.0.1:47592` and exposes
|
|
137
|
+
The API server runs on `http://127.0.0.1:47592` and exposes **72 MCP tools + 13 resources**. See [SUPERBASED_SKILL.md](./SUPERBASED_SKILL.md) for the full per-tool reference (parameters, return shapes, examples, error codes, decision guide, plus a CAPTCHA-solving Common Workflows section).
|
|
138
138
|
|
|
139
139
|
---
|
|
140
140
|
|
|
141
|
-
## All
|
|
141
|
+
## All 72 tools
|
|
142
142
|
|
|
143
143
|
<details>
|
|
144
|
-
<summary>Capture & View (
|
|
144
|
+
<summary>Capture & View (8)</summary>
|
|
145
145
|
|
|
146
|
+
- `superbased_screenshot` — preferred screenshot (window targeting + resolution control in one call)
|
|
147
|
+
- `superbased_capture_image` — advanced screenshot (region / explicit mode)
|
|
146
148
|
- `superbased_capture` — screenshot (metadata-only response)
|
|
147
|
-
- `
|
|
149
|
+
- `superbased_gallery_image` — retrieve a saved image inline
|
|
148
150
|
- `superbased_window_list` — list all open windows with active/minimized state
|
|
149
|
-
- `
|
|
151
|
+
- `superbased_display_list` — enumerate all connected displays (virtual-screen bounds, DPI, color space)
|
|
152
|
+
- `superbased_find_image` — visual template match (locate a small PNG on screen)
|
|
153
|
+
- `superbased_capture_template` — capture a region as a reusable template (with DPI + theme metadata sidecar)
|
|
150
154
|
</details>
|
|
151
155
|
|
|
152
156
|
<details>
|
|
153
|
-
<summary>
|
|
157
|
+
<summary>AI & OCR (5)</summary>
|
|
154
158
|
|
|
155
|
-
- `superbased_ai` — AI vision analysis (Claude/GPT/Gemini via backend
|
|
156
|
-
- `superbased_ocr` — local Tesseract OCR
|
|
159
|
+
- `superbased_ai` — AI vision analysis (Claude/GPT/Gemini via backend; slash commands `/extract`, `/summarize`, `/code`, `/explain`, `/translate`, `/table`, `/edit`, `/reformat`)
|
|
160
|
+
- `superbased_ocr` — local Tesseract OCR (no data leaves the machine)
|
|
157
161
|
- `superbased_compress_text` — text → token-efficient images
|
|
158
|
-
- `
|
|
159
|
-
- `
|
|
160
|
-
- `superbased_ai_usage` — daily AI quota status
|
|
162
|
+
- `superbased_describe_frames` — AI description per recording frame (sign-in)
|
|
163
|
+
- `superbased_narrate` — prose narrative summary of a session (sign-in)
|
|
161
164
|
</details>
|
|
162
165
|
|
|
163
166
|
<details>
|
|
164
|
-
<summary>
|
|
167
|
+
<summary>Recording & Visual QA (5)</summary>
|
|
165
168
|
|
|
166
|
-
- `superbased_recording` — start / stop / pause / monitor
|
|
169
|
+
- `superbased_recording` — start / stop / pause / monitor (4 modes: interaction / periodic / smart change-detect / monitor with AI alerts)
|
|
167
170
|
- `superbased_sessions` — list past sessions, get frames
|
|
168
171
|
- `superbased_export` — ZIP / Markdown / PDF / HTML / GIF
|
|
169
172
|
- `superbased_diff` — visual regression between two sessions
|
|
170
|
-
- `superbased_describe_frames` — AI description per frame (sign-in)
|
|
171
|
-
- `superbased_narrate` — prose narrative summary (sign-in)
|
|
172
173
|
- `superbased_baseline` — set / get / history of workflow baselines
|
|
173
174
|
</details>
|
|
174
175
|
|
|
175
176
|
<details>
|
|
176
|
-
<summary>
|
|
177
|
+
<summary>Dictation & Voice (4)</summary>
|
|
177
178
|
|
|
178
179
|
- `superbased_dictate` — transcribe with cleanup (file, base64, or live mic; sign-in)
|
|
179
180
|
- `superbased_transcribe` — raw Whisper transcription (sign-in)
|
|
180
181
|
- `superbased_dictation_history` — past transcriptions
|
|
182
|
+
- `superbased_stt_status` — local STT engine probe (sherpa binary/model state, cloud signed-in, native availability, auto-resolved-to)
|
|
181
183
|
</details>
|
|
182
184
|
|
|
183
185
|
<details>
|
|
184
|
-
<summary>
|
|
186
|
+
<summary>GUI Automation — Primitives (13)</summary>
|
|
187
|
+
|
|
188
|
+
The agent's hands. All write tools accept `humanize: 'off' | 'light' | 'human' | 'paranoid'` per call (default `'light'` via `humanInputDefault` setting). All gated behind `guiAutomation.enabled` (master toggle, default OFF) + per-action toggles + `confirm: true` flag.
|
|
189
|
+
|
|
190
|
+
- `superbased_click` — click at coords OR resolved element (label / automationId / role+name); modifiers + clickCount (1/2/3) + button (left/right/middle); per-call humanization
|
|
191
|
+
- `superbased_type` — type text into focused field (clearFirst, delayMs, ime for JKC, label-resolved targeting)
|
|
192
|
+
- `superbased_hotkey` — keyboard shortcut (auto-classifies PostMessage vs SendInput delivery)
|
|
193
|
+
- `superbased_scroll` — wheel / keys / auto; vertical or horizontal axis; per-page or per-tick
|
|
194
|
+
- `superbased_drag` — press → interpolate → release with modifier wrap; multi-waypoint paths
|
|
195
|
+
- `superbased_hover` — move + dwell for tooltips and hover-reveal UIs
|
|
196
|
+
- `superbased_pixel_color` — read RGBA at coords with optional expected+tolerance match
|
|
197
|
+
- `superbased_mouse_position` — current cursor coords (no synthesis)
|
|
198
|
+
- `superbased_wait` — sleep N ms server-side (no per-iteration approval cost)
|
|
199
|
+
- `superbased_wait_for` — server-side polling for window appearance, pixel match, AX state
|
|
200
|
+
- `superbased_locate` — resolve label/AX/template to screen coords without acting
|
|
201
|
+
- `superbased_ui_dump` — screenshot + OCR text elements + AX tree merged (every visible element with center coords) — flat element list, optimized for "find me a clickable thing"
|
|
202
|
+
- `superbased_accessibility_tree` — raw native AX/UIA tree (hierarchical) for tree traversal, parent/child queries, full attribute access. Requires optional native binding (`@superbased/macos-ax` / `@superbased/win-uia`)
|
|
203
|
+
</details>
|
|
185
204
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
- `
|
|
190
|
-
- `
|
|
205
|
+
<details>
|
|
206
|
+
<summary>GUI Automation — Orchestration (4)</summary>
|
|
207
|
+
|
|
208
|
+
- `superbased_sequence` — **preferred for any multi-step flow.** ONE approval, ONE activation, N steps. Step types: click, type, hotkey, scroll, drag, hover, screenshot, wait, wait_for, assert, locate, ax_invoke, find_image, form_fill, dialog_handle, find_in_page, tab_management, virtual_desktop, tray_click. Always end with a `screenshot` step.
|
|
209
|
+
- `superbased_scroll_to` — scroll-until-found loop (one call; up to maxPages PageDown iterations)
|
|
210
|
+
- `superbased_scroll_capture` — multi-page scroll + frame stitching with calibration (Windows; the MCP equivalent of Cmd+Shift+A)
|
|
211
|
+
- `superbased_find_title_bar_drag_region` — pickup-safety helper for window-drag scenarios
|
|
212
|
+
</details>
|
|
213
|
+
|
|
214
|
+
<details>
|
|
215
|
+
<summary>GUI Automation — Semantic + Macros (5)</summary>
|
|
216
|
+
|
|
217
|
+
- `superbased_ax_invoke` — UIA pattern invocation (Invoke / Toggle / SelectionItem.Select / Value.SetValue / ExpandCollapse). Top of the AX reliability pyramid; bypasses synthesized clicks.
|
|
218
|
+
- `superbased_form_fill` — one-call macro over AX-resolve + ValuePattern.SetValue (fast path) or click + clearFirst + type (fallback). Optional Tab-between, optional Submit. Shared sessionId audit trail.
|
|
219
|
+
- `superbased_dialog_handle` — auto-detect modal foreground; confirm / dismiss / fill_path
|
|
220
|
+
- `superbased_context_menu_select` — right-click + popup-detect + click matched menu item (one approval for the 4-call dance)
|
|
221
|
+
- `superbased_drag_file` — Windows scaffold (full OLE DoDragDrop deferred)
|
|
222
|
+
</details>
|
|
223
|
+
|
|
224
|
+
<details>
|
|
225
|
+
<summary>GUI Automation — Window + Launch + Browser (8)</summary>
|
|
226
|
+
|
|
227
|
+
- `superbased_window_state` — minimize / maximize / restore / close / always_on_top_on/off/toggle / move_to_display
|
|
228
|
+
- `superbased_window_bounds` — read window rect + minimized/maximized state (PURE QUERY — no activation, no focus change). For "is this window in the top-left yet?" reasoning without disturbing foreground.
|
|
229
|
+
- `superbased_resize_window` — device presets (iphone-se / ipad-pro-13 / desktop-hd / etc.) + custom W×H + optional X/Y reposition; `contentArea: true` for browser device-emulation
|
|
230
|
+
- `superbased_focus_window` — standalone focus (rare — never as setup before another tool; per-tool window targeting handles this in one approval)
|
|
231
|
+
- `superbased_launch_app` — spawn process with `launchAllowlist` gate (substring or sha256:hex pin)
|
|
232
|
+
- `superbased_open_url` — open URL in default or specific browser; optional `waitForLoad`
|
|
233
|
+
- `superbased_tab_management` — new / close / next / prev / switch_to (browser tab control via Ctrl+T/W/Tab/Shift+Tab/N)
|
|
234
|
+
- `superbased_find_in_page` — Ctrl+F + query + Enter / Shift+Enter + optional Escape (close-after)
|
|
235
|
+
</details>
|
|
236
|
+
|
|
237
|
+
<details>
|
|
238
|
+
<summary>GUI Automation — Specialized + Meta (6)</summary>
|
|
239
|
+
|
|
240
|
+
- `superbased_tray_click` — click a Windows system-tray icon by tooltip match (walks Shell_TrayWnd cross-process via VirtualAllocEx + ReadProcessMemory; optional `includeOverflow`)
|
|
241
|
+
- `superbased_virtual_desktop` — switch desktops (Win+Ctrl+Left/Right on Windows; Ctrl+Left/Right on macOS Spaces)
|
|
242
|
+
- `superbased_doctor_gui_automation` — hermetic probe (launches Notepad/TextEdit and runs every primitive, reports per-tool {ok, durationMs, errorCode})
|
|
243
|
+
- `superbased_dry_run` — cross-tool preview wrapper (`{tool, args}` returns `{errorCode: 'DRYRUN'}` without dispatching)
|
|
244
|
+
- `superbased_replay` — replay a range of `~/.superbased/audit.log` entries via `superbased_sequence` (default-safe `dryRun: true`)
|
|
245
|
+
- `superbased_undo_last` — reverse the last action from this process's in-memory stack. `type` undoes via Backspace count; `click`/`hotkey`/`scroll`/`focus_window` are popped but return `not_reversible` (call again to walk back further).
|
|
246
|
+
</details>
|
|
247
|
+
|
|
248
|
+
<details>
|
|
249
|
+
<summary>Orientation + Discovery (3)</summary>
|
|
250
|
+
|
|
251
|
+
- `superbased_project` — "where am I" snapshot for agents: cwd, git branch + status + ahead/behind, detected framework(s), recent captures, active recording (if any), last dictation preview. **Recommended first call** for many agent sessions — gives enough context to pick the right tool without extra round-trips.
|
|
252
|
+
- `superbased_workspace_sync` — one-call bundled snapshot: fullscreen capture (base64 PNG) + OCR text (truncated 4000 chars) + active window metadata + timestamp + project dir. Replaces the `capture → ocr → window_list` chain with a single round-trip. Read-only; does NOT persist to gallery.
|
|
253
|
+
- `superbased_tools` — progressive-disclosure dispatcher. When `progressiveDisclosure.enabled = true` in settings, only 15 core tools appear in `tools/list`; this tool reveals the hidden tools by category (capture / record / dictate / interact / window / layout / ax / ai / edit / clipboard / system). For trimming agent token cost without restricting access.
|
|
191
254
|
</details>
|
|
192
255
|
|
|
193
256
|
<details>
|
|
194
|
-
<summary>
|
|
257
|
+
<summary>Settings, Gallery, Auth, System (11)</summary>
|
|
195
258
|
|
|
259
|
+
- `superbased_gallery` — list / get / search / stats
|
|
260
|
+
- `superbased_gallery_update` — update tags or notes
|
|
261
|
+
- `superbased_settings` — view or change settings
|
|
262
|
+
- `superbased_presets` — manage AI instruction presets
|
|
196
263
|
- `superbased_health` — server status + capabilities
|
|
197
264
|
- `superbased_auth` — sign-in state
|
|
198
265
|
- `superbased_license` — plan limits + device info
|
|
266
|
+
- `superbased_ai_usage` — daily AI quota status
|
|
267
|
+
- `superbased_redact` — auto-redact secrets / PII
|
|
268
|
+
- `superbased_annotate` — rectangles, highlights, blur, text labels, arrows
|
|
269
|
+
- `superbased_clipboard` — read or write the system clipboard (text + images)
|
|
199
270
|
</details>
|
|
200
271
|
|
|
201
|
-
Plus
|
|
272
|
+
**Plus 13 MCP resources** for live status + subscribable event streams: `superbased://status`, `settings`, `presets`, `captures/recent`, `auth`, `license`, `recording`, `recording/monitor`, `analytics/summary`, `ai/usage`, plus three subscribable watcher streams (clipboard, active-window, file-watcher, screen-region).
|
|
273
|
+
|
|
274
|
+
**Humanization v2** (default `'light'`, opt out via `humanInputDefault: 'off'`) — Bezier-curved cursor approaches with sin-shaped velocity envelope, gaussian click-target jitter, gamma-distributed inter-key timing, click + key hold variation (50–110ms vs ~5ms atomic), pre-click settle dwell + tremor, optional typo+correct sequences (paranoid only), per-process cross-session salt mixed into seeds, inter-action catch-up pause. Defeats CAPTCHA-style trajectory and timing classifiers. Opt-in idle cursor drift via `humanInputIdleDrift` setting. CAPTCHA-solving workflow patterns documented in [SUPERBASED_SKILL.md](./SUPERBASED_SKILL.md) Common Workflows section.
|
|
202
275
|
|
|
203
276
|
---
|
|
204
277
|
|
package/SUPERBASED_SKILL.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: superbased
|
|
3
|
-
description: Use this skill when you need to see, capture, OCR, record, diff, annotate, redact, dictate, compress, or DRIVE the user's actual desktop. Provides
|
|
3
|
+
description: Use this skill when you need to see, capture, OCR, record, diff, annotate, redact, dictate, compress, or DRIVE the user's actual desktop. Provides 72 MCP tools — eyes (capture / OCR / window targeting incl. minimized / gallery search / clipboard image read / display enumeration / visual template match), ears (voice dictation + cloud transcription), hands (click / type incl. JKC / IME Unicode path / hotkey / scroll / drag incl. waypoint path / hover / pixel_color / resize_window / window_state / launch_app / open_url / virtual_desktop / tray_click / context_menu_select / ax_invoke / form_fill / dialog_handle / find_in_page / tab_management / focus_window / mouse_position / wait / wait_for / OCR-based locator / sequence), and automation meta (dry_run wrapper / replay from audit log / doctor hermetic probe — S7 additions; all write-action tools OFF by default behind a master toggle, per-action + group (safe/write/destructive) toggles, protected-apps blocklist, protected-process geofence (SuperBased self-targeting refused), confirm-flag gate, and NDJSON audit log). Plus recording sessions (smart change-detect / periodic / monitor with AI alerts), visual regression diff, baseline management, frame description / narration, token compression (text → optimized images), and PII / secrets redaction. Cross-platform (Windows / macOS / Linux). Most tools work without an account; cloud AI vision, transcription, and frame narration require sign-in. Backed by a local HTTP API on port 47592 — works alongside the SuperBased desktop app or standalone via the `superbased` npm package.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SuperBased — Screen Capture & AI Tools via MCP
|
|
7
7
|
|
|
8
8
|
SuperBased gives you eyes on the user's screen. Use it to see what's visible, capture screenshots, analyze UI, extract text, record sessions, monitor for errors, and more — all via MCP tools.
|
|
9
9
|
|
|
10
|
-
> Skill metadata: `name: superbased` ·
|
|
10
|
+
> Skill metadata: `name: superbased` · 72 MCP tools, 13 resources · install: `npm install -g superbased` · cross-platform · most tools work without an account.
|
|
11
11
|
|
|
12
12
|
## When to Use SuperBased
|
|
13
13
|
|
|
@@ -1282,6 +1282,49 @@ Bring a window to the foreground by name substring (case-insensitive). Use ONLY
|
|
|
1282
1282
|
| `processName` | string | Exact process executable name (e.g. "Notepad", "Notepad.exe") |
|
|
1283
1283
|
| `hwnd` | string | Direct window handle from `superbased_window_list` |
|
|
1284
1284
|
|
|
1285
|
+
#### superbased_window_bounds
|
|
1286
|
+
Read a window's current screen rect + minimized / maximized state. **PURE QUERY — no activation, no focus change, no side effects.** Use when the agent needs to reason about positioning ("is this window in the top-left corner yet?", "does the target fit on the primary display?") without disturbing the user's foreground. Fills the gap where agents previously had to chain `superbased_focus_window` + fullscreen screenshot or trigger `superbased_resize_window` just to learn a rect. Rect is in virtual-screen physical pixels — directly usable as input to `resize_window` / `click` / `drag` / `screenshot` region. Windows: `GetWindowRect` + `IsIconic` + `IsZoomed` via one PowerShell call. macOS: `osascript` position + size + `AXMinimized` + `AXFullScreen` via System Events AX. Not gated by `confirm` (same policy as `window_list` / `mouse_position` — reads don't need approval).
|
|
1287
|
+
|
|
1288
|
+
| Parameter | Type | Description |
|
|
1289
|
+
|-----------|------|-------------|
|
|
1290
|
+
| `window` | string | Window-title needle (scored matcher). Use `superbased_window_list` to enumerate. |
|
|
1291
|
+
| `processName` | string | Exact process executable name. Highest-precision non-hwnd target. |
|
|
1292
|
+
| `hwnd` | string | Direct window handle (from a prior tool's `details.matchedWindow.hwnd` or `superbased_window_list`). Bypasses scoring — preferred for chained operations where the title may drift. |
|
|
1293
|
+
|
|
1294
|
+
**Returns**: `{ ok, details: { hwnd, rect:{x,y,width,height}, minimized, maximized, matchedWindow } }` on success. Returns `WINDOW_NOT_FOUND` errorCode when no matching window resolves.
|
|
1295
|
+
|
|
1296
|
+
#### superbased_accessibility_tree (Phase 8.1)
|
|
1297
|
+
Return the **native** accessibility tree for a running application — macOS `AXUIElement` via `@superbased/macos-ax`, Windows UIA via `@superbased/win-uia`. More reliable than OCR for structured UI dumps: roles, labels, values, bounding rects, and full hierarchy come straight from the OS. **Different from `superbased_ui_dump`** — `ui_dump` merges OCR text + AX into a flat element list optimized for "find me a clickable thing"; `accessibility_tree` returns the raw hierarchical structure for agents that need to walk the tree (e.g. "find the second row inside the third group inside the data table"). Requires the optional native binding installed (`npm install -g superbased --include=optional`) AND Accessibility permission granted on macOS (System Settings > Privacy & Security > Accessibility).
|
|
1298
|
+
|
|
1299
|
+
| Parameter | Type | Description |
|
|
1300
|
+
|-----------|------|-------------|
|
|
1301
|
+
| `pid` | number | Target process id. Required on darwin; optional on win32 (defaults to foreground). |
|
|
1302
|
+
| `hwnd` | number | Windows window handle (win32 only). Mutually exclusive with `pid`. |
|
|
1303
|
+
| `maxDepth` | number | Tree walker depth limit (default 24, max 64). Lower values reduce latency + JSON size on rich GUIs (e.g. complex Electron apps with thousands of nodes). |
|
|
1304
|
+
| `includeAttributes` | boolean | Include the full per-node attribute list (default false). Noisy but useful for debugging which UIA / AX attribute holds the value you want. |
|
|
1305
|
+
|
|
1306
|
+
**Returns**: `{ ok, tree?: { role, title, value, frame:{x,y,width,height}, children: [...], attributes? }, error?, message? }`. On macOS without the binding installed: `{ ok:false, error: 'binding_not_installed', hint: 'npm install -g superbased --include=optional' }`. On macOS without Accessibility permission: `{ ok:false, error: 'ACCESSIBILITY_NOT_GRANTED', hint: 'System Settings > Privacy & Security > Accessibility — add SuperBased' }`.
|
|
1307
|
+
|
|
1308
|
+
**When to use vs `superbased_ui_dump`:** prefer `ui_dump` for the common "I want to click something" path (returns flat elements with screen-space `center.{x,y}` ready to feed into `click`). Use `accessibility_tree` when you need parent/child relationships, AX-pattern availability, or the full attribute set per node — e.g. tree traversal in a treeview, finding the Nth row of a grid, querying a control's `IsEnabled` / `IsKeyboardFocusable` state.
|
|
1309
|
+
|
|
1310
|
+
#### superbased_undo_last (Phase 5.4)
|
|
1311
|
+
Reverse the last GUI automation action from this server process's in-memory stack. **`type` actions undo via Backspace keystrokes** matching the typed length (so `type "hello"` → undo presses Backspace 5×). **`click`, `hotkey`, `scroll`, `focus_window` actions are recorded but NOT reversible** — they pop from the stack and return `ok:false, error:"not_reversible"` so calling `undo_last` again reverses the NEXT-most-recent action (lets the agent walk back through a chain skipping non-reversible entries). Returns `ok:false, error:"stack_empty"` when nothing to undo. **Stack is per-process and does not persist** — clears on process restart. Useful as a safety net in agent loops where the agent realizes it just typed into the wrong field.
|
|
1312
|
+
|
|
1313
|
+
No parameters. No safety gate (action-is-reversal of an already-approved action).
|
|
1314
|
+
|
|
1315
|
+
**Returns**: `{ ok, action?, count?, ... }` on success (e.g. `{ ok:true, action:"type", count:5 }` after undoing a `type "hello"`). `{ ok:false, error:"not_reversible"|"stack_empty", ... }` otherwise.
|
|
1316
|
+
|
|
1317
|
+
**Limitations**: doesn't reverse cross-process state. If `type "hello"` triggered an autocomplete that filled additional characters, the Backspace count will under-delete. If the field was cleared by an unrelated event between the type and the undo, the Backspaces will eat the wrong characters. Treat as best-effort, especially across user-driven foreground changes.
|
|
1318
|
+
|
|
1319
|
+
#### superbased_tools (Phase 5.5)
|
|
1320
|
+
Progressive-disclosure dispatcher. **When `progressiveDisclosure.enabled = true` in settings, only the 15 core tools appear in the standard `tools/list` MCP response; the other ~57 tools are hidden but still callable.** Call this with a category to get the names + descriptions of the hidden tools in that group. Useful for token-cost reduction in agents that load every tool definition into context — the hidden tools stay discoverable but don't bloat the initial schema dump.
|
|
1321
|
+
|
|
1322
|
+
| Parameter | Type | Description |
|
|
1323
|
+
|-----------|------|-------------|
|
|
1324
|
+
| `category` | enum | One of: `capture` / `record` / `dictate` / `interact` / `window` / `layout` / `ax` / `ai` / `edit` / `clipboard` / `system`. Omit for the full index across all categories. |
|
|
1325
|
+
|
|
1326
|
+
**Returns**: `{ ok, categories: [{ name, count, tools: [{ name, description }] }], coreTools: [...] }`. The returned schemas are **names + descriptions only**; once an agent knows a hidden tool name, it can call it directly and the MCP server accepts the call. The progressive-disclosure feature is about trimming `tools/list` token cost, **not access restriction**.
|
|
1327
|
+
|
|
1285
1328
|
#### superbased_mouse_position
|
|
1286
1329
|
Read the current cursor position. Read-only; no safety gate.
|
|
1287
1330
|
|
|
@@ -251,7 +251,12 @@ MCP integration (recommended):
|
|
|
251
251
|
|
|
252
252
|
Without auth (free):
|
|
253
253
|
- Screen capture, OCR, gallery, token compression
|
|
254
|
-
-
|
|
254
|
+
- Full GUI automation (click, type, hotkey, scroll, drag, hover,
|
|
255
|
+
AX-invoke, form-fill, dialog-handle, find-image, tab-management,
|
|
256
|
+
find-in-page, virtual-desktop, tray-click, sequence)
|
|
257
|
+
- Humanization v2 (Bezier cursor approaches, gamma keystroke timing,
|
|
258
|
+
click-target jitter, click + key hold variation)
|
|
259
|
+
- 72 MCP tools + 13 resources for AI coding assistants
|
|
255
260
|
|
|
256
261
|
With auth (sign in for):
|
|
257
262
|
- AI analysis (vision, code review, etc.)
|
package/mcp-server/package.json
CHANGED