replicas-cli 0.3.417 → 0.3.418

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/dist/index.cjs +3 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -23531,7 +23531,7 @@ Only one recording at a time. Re-running \`start\` while one is active fails - c
23531
23531
  SIGINTs ffmpeg, verifies that the process has finalized the MP4, then prints the output path. A finalization timeout preserves the recording state so \`stop\` can be retried safely. To show the interaction in a PR or message, turn it into a short looping GIF with \`replicas media gif <path>\`, then upload with \`replicas media upload <path> --name "<name>"\`.
23532
23532
 
23533
23533
  ### \`replicas computer mac <tool> ['<json>'] [--screenshot PATH] [--session NAME]\`
23534
- Drives one app on the user's own Mac in the background, while they keep working: their cursor, focus and front window stay theirs. It works while they have this workspace open in the Replicas desktop app with computer use turned on; otherwise it says no Mac is connected. Each call runs one [Cua Driver tool](https://cua.ai/docs/cua-driver) and opens a live view of the window you're working in on this desktop, so the user can watch it in the \`Desktop\` tab.
23534
+ Drives one app on the user's own Mac in the background, while they keep working: their cursor, focus and front window stay theirs. It works over the desktop app's local control (see \`references/LOCAL-COMPUTER.md\`); when no Mac is connected, it says so and you ask with \`replicas local-control request\`. Each call runs one [Cua Driver tool](https://cua.ai/docs/cua-driver), and the user watches the window you're working in from the dashboard. If the driver reports missing Accessibility or Screen Recording permission, ask the user to allow Replicas in System Settings \u2192 Privacy & Security.
23535
23535
 
23536
23536
  Start with \`list_apps\` or \`launch_app '{"bundle_id":"com.apple.TextEdit"}'\` (never \`open\`, which brings the app forward), then \`get_window_state '{"pid":\u2026,"window_id":\u2026}'\` for the accessibility tree and a screenshot (\`--screenshot\` saves it), then act with \`click\`, \`type_text\`, \`press_key\`, \`set_value\` or \`scroll\` by \`element_token\`, and read the window again to verify. Type line breaks as a separate \`press_key\` Return: a newline inside \`type_text\` is dropped. Pass the same \`--session\` to keep element tokens valid across calls. Apps that open no window when launched in the background show one once you open a file with \`launch_app\`'s \`urls\`. \`get_guide\` explains everything else. Some actions, like a disabled menu item, need the app in front: ask the user before \`bring_to_front\`.
23537
23537
 
@@ -37719,6 +37719,7 @@ var init_display_message = __esm({
37719
37719
  init_final_response();
37720
37720
  init_chat_thread();
37721
37721
  init_parsers();
37722
+ init_utils();
37722
37723
  init_task_accumulator();
37723
37724
  }
37724
37725
  });
@@ -38349,7 +38350,7 @@ var CLI_VERSION;
38349
38350
  var init_cli_version = __esm({
38350
38351
  "../shared/src/cli-version.ts"() {
38351
38352
  "use strict";
38352
- CLI_VERSION = "0.3.417";
38353
+ CLI_VERSION = "0.3.418";
38353
38354
  }
38354
38355
  });
38355
38356
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.417",
3
+ "version": "0.3.418",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {