@swmansion/argent 0.14.1-next.6 → 0.14.1-next.7

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 CHANGED
@@ -9,18 +9,32 @@
9
9
  [![Ad](https://swm-delivery.com/www/images/zone-gh-argent-2?n=1)](https://swm-delivery.com/www/delivery/ck-slug.php?zoneid=zone-gh-argent-2&n=1)
10
10
  [![Ad](https://swm-delivery.com/www/images/zone-gh-argent-3?n=1)](https://swm-delivery.com/www/delivery/ck-slug.php?zoneid=zone-gh-argent-3&n=1)
11
11
 
12
- **[Argent](https://argent.swmansion.com)** is an **agentic toolkit** that gives your AI assistant direct access to iOS Simulators and Android Emulators. Ask it to tap a button, run a profiler or reproduce an issue manually - all from within your CLI, without switching context.
12
+ **[Argent](https://argent.swmansion.com)** is an **agentic toolkit** that gives your AI assistant direct access to iOS Simulators, Android emulators and physical devices, TVs (Apple TV, Android TV, Fire TV) and Electron/Chromium desktop and web apps. Ask it to tap a button, run a profiler or reproduce an issue manually - all from within your CLI, without switching context.
13
13
 
14
14
  ```bash
15
15
  npx @swmansion/argent init
16
16
  ```
17
17
 
18
+ ## Supported platforms
19
+
20
+ Argent drives a growing set of targets through a single toolkit, each with the right interaction model - touch, remote or mouse:
21
+
22
+ | Platform | Targets | Interaction |
23
+ | ----------------- | ----------------------------------------------------------------------- | ---------------- |
24
+ | **iOS** | Simulators | Touch / gesture |
25
+ | **Android** | Emulators (AVDs) and physical devices over adb | Touch / gesture |
26
+ | **TV** | Apple TV (tvOS), Android TV / Google TV, Amazon Fire TV (Vega) | D-pad / remote |
27
+ | **Desktop & web** | Electron and Chromium apps (incl. React Native Web / Expo web) over CDP | Mouse / keyboard |
28
+
18
29
  ## Capabilities
19
30
 
20
- - **Autonomous iOS and Android development** - Allow your agent to work with iOS and Android apps on its own - let it build, open, interact with the app and debug it. Ask for reproducing issues, testing features manually, profiling your app and much more, without ever interrupting your work.
21
- - **UI interaction** - Give your agent full control toolkit - tapping, swiping, pinching, typing, gestures, hardware buttons and all other gears included. Let it navigate your app exactly as a user would, without lifting a finger.
22
- - **Profiling with batteries included** - Argent can perform and analyze both React-Native and Xcode Instruments profiling sessions. Get comprehensive summaries and ask to optimise your app where you find fit.
23
- - **Debugging and diagnostics** - Let your agent inspect logs, capture crash reports, and reproduce failing states on the simulator, so you can jump straight to the fix.
31
+ - **Autonomous mobile, TV and desktop development** - Allow your agent to work with iOS, Android, TV and Electron/web apps on its own - let it build, open, interact with the app and debug it. Ask for reproducing issues, testing features manually, profiling your app and much more, without ever interrupting your work.
32
+ - **UI interaction** - Give your agent the full control toolkit - tapping, swiping, pinching, typing, gestures and hardware buttons on mobile; the directional remote on TV; mouse, scroll and drag on desktop/web. Let it navigate your app exactly as a user would, without lifting a finger.
33
+ - **Record & replay flows** - Capture a sequence of interactions once and let your agent replay it deterministically, so manual repros and smoke tests become repeatable.
34
+ - **Visual regression** - Diff two screenshots (or a saved baseline against a live capture) with OCR- and font-aware comparison to catch unintended UI changes.
35
+ - **Profiling with batteries included** - Argent can perform and analyze React Native (Hermes), React DevTools and native (Xcode Instruments / Android Perfetto) profiling sessions - down to fiber renders, CPU hotspots and cross-correlated commit-vs-hang reports. Get comprehensive summaries and ask to optimise your app where you find fit.
36
+ - **Debugging and diagnostics** - Let your agent inspect logs, capture network traffic (JS `fetch` and native), evaluate JS in the running app, walk the native UIKit and React component trees, and reproduce failing states - so you can jump straight to the fix.
37
+ - **Desktop & web control** - For Electron and Chromium apps your agent can drive tabs, read and write cookies and storage, walk the DOM and inspect network over the Chrome DevTools Protocol.
24
38
  - **React Native out of the box** - Argent works with React Native apps natively, so your agent can build, launch, and iterate on your RN project the same way it would any native app - no extra setup required.
25
39
 
26
40
  > **Tip:** Once installed, ask your assistant _"What can Argent do?"_ - it will walk you through all capabilities available.
@@ -37,8 +51,10 @@ npx @swmansion/argent init
37
51
  #### Prerequisites
38
52
 
39
53
  - **Node.js 20.11** or later
40
- - For iOS: macOS with **Xcode** installed
41
- - For Android: **Android SDK Platform Tools** (`adb`) on `PATH`, and the **Android Emulator** package if you want to boot AVDs from Argent. Create AVDs via Android Studio or `avdmanager`.
54
+ - For iOS / tvOS: macOS with **Xcode** installed (Apple TV uses tvOS simulators — Xcode downloads the tvOS runtime on demand)
55
+ - For Android / Android TV: **Android SDK Platform Tools** (`adb`) on `PATH`, and the **Android Emulator** package if you want to boot AVDs from Argent. Create AVDs via Android Studio or `avdmanager`.
56
+ - For Fire TV (Vega): the **Vega SDK** (`vega` CLI) on `PATH`
57
+ - For Electron / Chromium: nothing extra to control an already-running app - just launch it with `--remote-debugging-port`, or let Argent spawn your Electron app for you
42
58
 
43
59
  ##### Linux host: extra prerequisites for Android emulators
44
60
 
@@ -100,18 +116,24 @@ argent init
100
116
 
101
117
  ## CLI Reference
102
118
 
103
- | Command | Description |
104
- | ------------------ | ---------------------------------------------------------------------- |
105
- | `argent init` | Install globally and configure MCP in the current workspace |
106
- | `argent install` | Alias for `init` command |
107
- | `argent update` | Pull the latest version and refresh workspace configuration |
108
- | `argent remove` | Unregister the MCP server and uninstall the package |
109
- | `argent uninstall` | Alias for `remove` command |
110
- | `argent mcp` | Start MCP server instance, used internally by agent |
111
- | `argent enable` | Enable a predefined feature flag (`--scope project` for project-local) |
112
- | `argent disable` | Disable a feature flag (`--scope project` for project-local) |
113
- | `argent flags` | List available feature flags and their state |
114
- | `argent telemetry` | Manage anonymous telemetry: `status` / `enable` / `disable` |
119
+ | Command | Description |
120
+ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
121
+ | `argent init` | Install globally and configure MCP in the current workspace |
122
+ | `argent install` | Alias for `init` command |
123
+ | `argent update` | Pull the latest version and refresh workspace configuration |
124
+ | `argent remove` | Unregister the MCP server and uninstall the package |
125
+ | `argent uninstall` | Alias for `remove` command |
126
+ | `argent mcp` | Start MCP server instance, used internally by agent |
127
+ | `argent tools` | List tools exposed by the tool-server (`describe <name>` for details) |
128
+ | `argent run` | Invoke a tool by name |
129
+ | `argent server` | Manage the shared tool-server: `start` / `status` / `stop` / `logs` |
130
+ | `argent lens` | Open Argent Lens bound to a fresh coding-agent session — Claude by default, `--agent` selects codex/gemini/opencode/cursor (macOS; behind the `argent-lens` flag — run `argent enable argent-lens` first) |
131
+ | `argent link` | Route client requests to a remote tool-server |
132
+ | `argent unlink` | Remove the persisted remote tool-server link |
133
+ | `argent enable` | Enable a predefined feature flag (`--scope project` for project-local) |
134
+ | `argent disable` | Disable a feature flag (`--scope project` for project-local) |
135
+ | `argent flags` | List available feature flags and their state |
136
+ | `argent telemetry` | Manage anonymous telemetry: `status` / `enable` / `disable` |
115
137
 
116
138
  ## Supported Editors
117
139
 
@@ -123,7 +145,7 @@ argent init
123
145
  | Cursor | `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (global) |
124
146
  | VS Code | `.vscode/mcp.json` |
125
147
  | Windsurf | `~/.codeium/windsurf/mcp_config.json` (global) |
126
- | Zed | `.zed/settings.json` |
148
+ | Zed | `.zed/settings.json` (project) or `~/.config/zed/settings.json` (global) |
127
149
  | Gemini CLI | `.gemini/settings.json` |
128
150
  | Codex CLI | `.codex/config.toml` (project) or `~/.codex/config.toml` (global) |
129
151
  | Hermes | `~/.hermes/config.yaml` (global) |
package/dist/cli.d.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  * argent run <tool> [flags] Invoke a tool by name
20
20
  * argent server start [flags] Spawn a long-lived tool-server (foreground by default)
21
21
  * argent server status|stop|logs Manage the shared tool-server
22
- * argent lens Open Argent Lens bound to a fresh claude session (macOS)
22
+ * argent lens Open Argent Lens bound to a fresh coding-agent session (macOS)
23
23
  * argent link [flags] Route client requests to a remote tool-server
24
24
  * argent unlink Remove the persisted remote link
25
25
  * argent enable <flag> Enable a feature flag (global by default)
package/dist/cli.js CHANGED
@@ -19,7 +19,7 @@
19
19
  * argent run <tool> [flags] Invoke a tool by name
20
20
  * argent server start [flags] Spawn a long-lived tool-server (foreground by default)
21
21
  * argent server status|stop|logs Manage the shared tool-server
22
- * argent lens Open Argent Lens bound to a fresh claude session (macOS)
22
+ * argent lens Open Argent Lens bound to a fresh coding-agent session (macOS)
23
23
  * argent link [flags] Route client requests to a remote tool-server
24
24
  * argent unlink Remove the persisted remote link
25
25
  * argent enable <flag> Enable a feature flag (global by default)
@@ -63,7 +63,7 @@ Commands:
63
63
  tools List tools exposed by the tool-server
64
64
  run Invoke a tool by name (use \`argent run <tool> --help\` for flags)
65
65
  server Manage the shared tool-server (start / status / stop / logs)
66
- lens Open Argent Lens bound to a fresh claude session (macOS)
66
+ lens Open Argent Lens bound to a fresh coding-agent session (macOS)
67
67
  link Route client requests to a remote tool-server
68
68
  unlink Remove the persisted remote tool-server link
69
69
  enable Enable a feature flag (global by default, --scope project for project)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.14.1-next.6",
3
+ "version": "0.14.1-next.7",
4
4
  "description": "MCP server for iOS Simulator and Android Emulator control",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {