@rynx-ai/cli 0.1.11-beta.4 → 0.1.11-beta.41
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/dist/autostart.d.ts +27 -0
- package/dist/autostart.js +229 -0
- package/dist/browser-cli-args.d.ts +7 -1
- package/dist/browser-cli-args.js +51 -6
- package/dist/commands/autostart.d.ts +1 -0
- package/dist/commands/autostart.js +58 -0
- package/dist/commands/browser.d.ts +4 -0
- package/dist/commands/browser.js +75 -6
- package/dist/commands/lifecycle.d.ts +3 -1
- package/dist/commands/lifecycle.js +22 -5
- package/dist/commands/plugin.js +52 -26
- package/dist/commands/setup.js +107 -17
- package/dist/commands/skills.js +2 -2
- package/dist/commands/update.js +2 -2
- package/dist/control-client.js +2 -0
- package/dist/desktop-browser-host-client.js +43 -10
- package/dist/progress-display.d.ts +7 -0
- package/dist/progress-display.js +78 -0
- package/dist/run-cli.js +4 -0
- package/dist/standalone.js +3 -0
- package/dist/systemd-service.d.ts +58 -0
- package/dist/systemd-service.js +636 -0
- package/dist/usage.d.ts +1 -1
- package/dist/usage.js +2 -1
- package/package.json +8 -7
- package/skill-guides/browser.md +41 -1
- package/skills/rynx-cli/SKILL.md +9 -4
package/dist/usage.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const USAGE = "Usage: rynx <command>\n\nGeneral:\n version [--json] | --version\n print the installed Rynx version\n\nSetup:\n setup [--non-interactive] [--default-runtime <codex|traex|claude>]\n [--host <host>] [--port <port>] [--log-level <level>]\n [--install-browser|--skip-browser] [--json]\n initialize configuration and local dependencies\n doctor read-only health check\n\nLifecycle:\n start | restart | stop | status | logs\n update [version] [--check] [--json]\n\nPlugins:\n market list\n market add <git-or-local-source> [--alias <id>]\n market refresh [market-id]\n market remove <market-id>\n plugin list\n plugin install <source|plugin@market> [--force] [--expect-digest <sha256-...>]\n plugin update <plugin@market> [--expect-digest <sha256-...>]\n plugin enable|disable|uninstall <plugin@market>\n plugin <plugin@market> <command> invoke a plugin-owned command\n\nAgents:\n agent list\n agent show <id>\n agent add <id>\n agent rm <id>\n\nBuiltin Skills:\n skills list [--json]\n skills get <browser|emulator> [--full] [--json]\n\nMaintenance:\n cleanup sessions [--dry-run]\n\nEmulator:\n emulator <args...>\n\nRemote Runtime:\n runtime share --address <host|ws-url> [--label <label>] [--json]\n runtime add --pairing-code <rynx://...> [--name <name>]\n runtime list [--json]\n runtime test <local|daemon-id> [--json]\n runtime forget <daemon-id>\n runtime clients list [--json]\n runtime clients revoke <grant-id>\n\nSessions:\n session fork <session-id> [--title <title>] [--json]\n\nBrowser:\n browser install|update|version|clean [...]\n browser open [url] [--session <id>] [--runtime <local|daemon-id>] [--json]\n browser status|pages|close [--session <id>] [--runtime <local|daemon-id>] [--json]\n browser endpoint [--ensure] [--session <local-id>] [--json]\n browser snapshot [--session <local-id>] [--json]\n browser navigate <url> [--session <local-id>] [--json]\n browser click (--ref <ref>|--selector <css>|--x <n> --y <n>) [--session <local-id>] [--json]\n browser type (--ref <ref>|--selector <css>) --text <text> [--session <local-id>] [--json]\n browser screenshot --output <absolute-path> [--session <local-id>] [--json]\n";
|
|
1
|
+
export declare const USAGE = "Usage: rynx <command>\n\nGeneral:\n version [--json] | --version\n print the installed Rynx version\n\nSetup:\n setup [--non-interactive] [--default-runtime <codex|traex|claude>]\n [--host <host>] [--port <port>] [--log-level <level>]\n [--install-browser|--skip-browser] [--json|--result-file <path>]\n initialize configuration and local dependencies\n doctor read-only health check\n\nLifecycle:\n start | restart | stop | status | logs\n autostart enable|disable|status\n update [version] [--check] [--json]\n\nPlugins:\n market list\n market add <git-or-local-source> [--alias <id>]\n market refresh [market-id]\n market remove <market-id>\n plugin list\n plugin install <source|plugin@market> [--force] [--expect-digest <sha256-...>]\n plugin update <plugin@market> [--expect-digest <sha256-...>]\n plugin enable|disable|uninstall <plugin@market>\n plugin <plugin@market> <command> invoke a plugin-owned command\n\nAgents:\n agent list\n agent show <id>\n agent add <id>\n agent rm <id>\n\nBuiltin Skills:\n skills list [--json]\n skills get <browser|emulator> [--full] [--json]\n\nMaintenance:\n cleanup sessions [--dry-run]\n\nEmulator:\n emulator <args...>\n\nRemote Runtime:\n runtime share --address <host|ws-url> [--label <label>] [--json]\n runtime add --pairing-code <rynx://...> [--name <name>]\n runtime list [--json]\n runtime test <local|daemon-id> [--json]\n runtime forget <daemon-id>\n runtime clients list [--json]\n runtime clients revoke <grant-id>\n\nSessions:\n session fork <session-id> [--title <title>] [--json]\n\nBrowser:\n browser install|update|version|clean [...]\n browser open [url] [--session <id>] [--runtime <local|daemon-id>] [--json]\n browser status|pages|close [--session <id>] [--runtime <local|daemon-id>] [--json]\n browser endpoint [--ensure] [--session <local-id>] [--json]\n browser snapshot [--session <local-id>] [--json]\n browser navigate <url> [--session <local-id>] [--json]\n browser click (--ref <ref>|--selector <css>|--x <n> --y <n>) [--session <local-id>] [--json]\n browser type (--ref <ref>|--selector <css>) --text <text> [--session <local-id>] [--json]\n browser screenshot --output <absolute-path> [--session <local-id>] [--json]\n";
|
package/dist/usage.js
CHANGED
|
@@ -7,12 +7,13 @@ General:
|
|
|
7
7
|
Setup:
|
|
8
8
|
setup [--non-interactive] [--default-runtime <codex|traex|claude>]
|
|
9
9
|
[--host <host>] [--port <port>] [--log-level <level>]
|
|
10
|
-
[--install-browser|--skip-browser] [--json]
|
|
10
|
+
[--install-browser|--skip-browser] [--json|--result-file <path>]
|
|
11
11
|
initialize configuration and local dependencies
|
|
12
12
|
doctor read-only health check
|
|
13
13
|
|
|
14
14
|
Lifecycle:
|
|
15
15
|
start | restart | stop | status | logs
|
|
16
|
+
autostart enable|disable|status
|
|
16
17
|
update [version] [--check] [--json]
|
|
17
18
|
|
|
18
19
|
Plugins:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rynx-ai/cli",
|
|
3
|
-
"version": "0.1.11-beta.
|
|
3
|
+
"version": "0.1.11-beta.41",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/rynx-ai/rynx.git",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=22"
|
|
13
|
+
"node": ">=22.16"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -51,11 +51,12 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@clack/prompts": "^1.6.0",
|
|
53
53
|
"ws": "^8.21.0",
|
|
54
|
-
"@rynx-ai/browser-cdp": "0.1.11-beta.
|
|
55
|
-
"@rynx-ai/core": "0.1.11-beta.
|
|
56
|
-
"@rynx-ai/daemon": "0.1.11-beta.
|
|
57
|
-
"@rynx-ai/emulator": "0.1.11-beta.
|
|
58
|
-
"@rynx-ai/protocol": "0.1.11-beta.
|
|
54
|
+
"@rynx-ai/browser-cdp": "0.1.11-beta.41",
|
|
55
|
+
"@rynx-ai/core": "0.1.11-beta.41",
|
|
56
|
+
"@rynx-ai/daemon": "0.1.11-beta.41",
|
|
57
|
+
"@rynx-ai/emulator": "0.1.11-beta.41",
|
|
58
|
+
"@rynx-ai/protocol": "0.1.11-beta.41",
|
|
59
|
+
"@rynx-ai/tmux": "0.1.11-beta.41"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@types/ws": "^8.18.1"
|
package/skill-guides/browser.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: browser
|
|
3
|
-
description: Use the bundled Rynx CLI to inspect and automate the Browser owned by the active Rynx Session
|
|
3
|
+
description: Use the bundled Rynx CLI to inspect and automate the Browser owned by the active Rynx Session, and to read or update the Session-wide Browser request-header policy, with safe failure handling.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Rynx Browser
|
|
@@ -61,6 +61,46 @@ rynx browser screenshot --output /absolute/path/page.png --json
|
|
|
61
61
|
Do not request or connect to the raw CDP endpoint unless diagnosing Rynx itself.
|
|
62
62
|
Do not close a Browser generation the user still needs.
|
|
63
63
|
|
|
64
|
+
## Session-wide request headers
|
|
65
|
+
|
|
66
|
+
Inspect the current policy when needed. Header values are redacted in the
|
|
67
|
+
managed Session CLI so secrets do not enter the Agent transcript:
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
rynx browser headers get --json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Set headers for every current and future Browser page in this Rynx Session.
|
|
74
|
+
The policy covers document and subresource requests to every origin:
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
rynx browser headers set \
|
|
78
|
+
--enable \
|
|
79
|
+
--header 'X-Environment: staging' \
|
|
80
|
+
--header 'X-Request-Source: rynx' \
|
|
81
|
+
--json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Changes take effect immediately. Existing pages use the new values on their
|
|
85
|
+
next request or refresh; requests already in flight are unchanged. Closing and
|
|
86
|
+
reopening the Session Browser keeps the policy. Deleting the Session or
|
|
87
|
+
restarting the resident daemon removes it, and a forked Session starts with no
|
|
88
|
+
header policy.
|
|
89
|
+
|
|
90
|
+
`set` reads the current policy internally, so `--disable` without `--header`
|
|
91
|
+
stops sending headers while retaining configured rows without exposing their
|
|
92
|
+
values. Use `--clear` to remove all rows. When an earlier `get` is the basis for
|
|
93
|
+
an edited update, pass its opaque revision with
|
|
94
|
+
`--expected-revision <revision>`; a conflict means another actor changed the
|
|
95
|
+
policy, so fetch it again instead of retrying stale values.
|
|
96
|
+
|
|
97
|
+
Header names are case-insensitively unique. Browser-controlled or unsafe names
|
|
98
|
+
such as `Authorization`, `Cookie`, `Host`, `Origin`, `Referer`, `User-Agent`,
|
|
99
|
+
`Content-Length`, `Proxy-*`, and `Sec-*` are rejected. Do not put header values
|
|
100
|
+
in logs, chat messages, or error reports. Both text and JSON CLI output use
|
|
101
|
+
`[redacted]`; use the Session settings UI when a human must inspect or edit a
|
|
102
|
+
sensitive value. Do not attempt to bypass this boundary from an active Session.
|
|
103
|
+
|
|
64
104
|
## Failure handling
|
|
65
105
|
|
|
66
106
|
- On endpoint access failure, follow **Sandbox boundary** and make no fallback
|
package/skills/rynx-cli/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rynx-cli
|
|
3
|
-
description: Use the bundled `rynx` CLI when a task needs to inspect or automate the Browser or Emulator owned by the active Rynx Session. Load the version-matched Browser or Emulator guide from the CLI before operating it. Prefer this over direct CDP, browser drivers, `serve-sim`, `simctl`, adb, guessed ports, or guessed App installations.
|
|
3
|
+
description: Use the bundled `rynx` CLI when a task needs to inspect or automate the Browser or Emulator owned by the active Rynx Session, or configure Session-wide Browser request headers. Load the version-matched Browser or Emulator guide from the CLI before operating it. Prefer this over direct CDP, browser drivers, Header-modifying extensions, `serve-sim`, `simctl`, adb, guessed ports, or guessed App installations.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Rynx CLI
|
|
@@ -21,9 +21,14 @@ rynx skills get browser
|
|
|
21
21
|
rynx skills get emulator
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Use `browser` for Browser inspection/automation and
|
|
25
|
-
inspection/control. Do not load an
|
|
26
|
-
|
|
24
|
+
Use `browser` for Browser inspection/automation and Session-wide Browser request
|
|
25
|
+
headers, and `emulator` for mobile device inspection/control. Do not load an
|
|
26
|
+
unrelated guide. These commands read guides shipped in the exact CLI npm
|
|
27
|
+
package and do not contact the daemon or network.
|
|
28
|
+
|
|
29
|
+
The managed Session CLI redacts configured Browser Header values. Do not try to
|
|
30
|
+
recover them through alternate endpoints or tools; a human can inspect or edit
|
|
31
|
+
sensitive values in Session settings.
|
|
27
32
|
|
|
28
33
|
If `rynx skills get <topic>` itself cannot execute, report its exact error and
|
|
29
34
|
stop. Do not scan `/Applications`, use `find` or `mdfind`, run `open`, `open -a`,
|