@swmansion/argent 0.34.1-next.1 → 0.34.1-next.11
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/bin/argent-android-devtools-0.4.0.apk +0 -0
- package/bin/darwin/argent-macos-helper +0 -0
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/bin/network-inspector/network-inspector.jar +0 -0
- package/bin/tcp/ax-service +0 -0
- package/dist/cli-cmds.mjs +60 -23
- package/dist/client.js +13 -10
- package/dist/installer-help.js +4 -0
- package/dist/installer-help.js.map +1 -1
- package/dist/installer.mjs +186 -156
- package/dist/mcp-server.mjs +16 -12
- package/dist/tool-server.cjs +881 -495
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/macos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/macos/libNativeDevtoolsMacos.dylib +0 -0
- package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
- package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
- package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +1 -1
- package/rules/argent.md +6 -23
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swmansion/argent",
|
|
3
|
-
"version": "0.34.1-next.
|
|
3
|
+
"version": "0.34.1-next.11",
|
|
4
4
|
"mcpName": "io.github.software-mansion/argent",
|
|
5
5
|
"description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
|
|
6
6
|
"license": "Apache-2.0",
|
package/rules/argent.md
CHANGED
|
@@ -1,34 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: What to do when this project uses Argent but Argent is not available in this environment
|
|
3
3
|
alwaysApply: true
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Argent
|
|
6
|
+
This project uses Argent, through its `argent` MCP server, to drive, test and profile apps on simulators, emulators, phones, TVs and Chromium. The server's own instructions carry the usage guidance.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
- use the platform the user named; otherwise prefer a device `list-devices` shows already running, and don't default to iOS; in a single-platform project boot that platform.
|
|
10
|
-
- if tap fails twice, stop retrying and re-run a discovery tool
|
|
11
|
-
- Prefer mcp-tool calls over raw commands like `xcrun` or `adb`; use them as fallback.
|
|
12
|
-
- Interaction tools return screenshot and element tree automatically; an identical earlier tree is named by its tree id, not repeated.
|
|
13
|
-
- prefer `launch-app` or `open-url` than tapping icons on home screen.
|
|
14
|
-
- If a task can require a saved e2e test, load `argent-create-e2e` (`argent-qa-e2e` for acceptance tests) before the first launch or in-app action; recording is not retroactive.
|
|
15
|
-
- Load the matching `argent-*` skill before React Native build/debug, profiling, a physical phone, a Mac app or a TV.
|
|
16
|
-
- Do not stop simulator servers when a task finishes: the next task reuses them. Call `stop-all-simulator-servers` when the user asks to clean up or ends the session, or when a skill tells you to recycle a device's services, with devices this session used. One tool-server is shared by every other agent, so unscoped call tears down their devices too. Never stop a Metro the user started unless they ask.
|
|
17
|
-
- Use the `await-ui-element` tool to block until the UI settles instead of polling using screenshot.
|
|
18
|
-
- The `argent` CLI manages the toolkit: `argent --help` lists commands, `argent --version` shows the installed version.
|
|
8
|
+
Check once per session whether argent is available; do not re-probe before later calls:
|
|
19
9
|
|
|
20
|
-
|
|
21
|
-
Run this check once per session. Do not re-probe before later calls.
|
|
22
|
-
Confirm argent is available:
|
|
23
|
-
|
|
24
|
-
1. Are `mcp__argent__*` tools in your tool list? If none, argent is not available.
|
|
10
|
+
1. Are argent tools (such as `mcp__argent__*`) in your tool list? If none, argent is not available.
|
|
25
11
|
2. If unsure, run `command -v argent`. Non-zero exit = the CLI is not on PATH.
|
|
26
12
|
|
|
27
|
-
If argent
|
|
13
|
+
If argent is available, ignore this rule.
|
|
28
14
|
|
|
29
|
-
If argent is
|
|
30
|
-
Tell the user once, and ask if you should continue without argent:
|
|
15
|
+
If argent is absent, treat it as an expected state, not an error to retry. Do not call argent tools, run `argent` commands or attempt any argent workflow. Tell the user once, and ask if you should continue without argent:
|
|
31
16
|
|
|
32
17
|
> Argent isn't installed in this environment. To enable the mobile/Chromium tooling this repo is configured for, run `npx @swmansion/argent@latest init -y` (or `npm i -g @swmansion/argent@latest && argent init -y`).
|
|
33
|
-
|
|
34
|
-
</availability_check>
|