replicas-cli 0.3.232 → 0.3.233

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 +6 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -17517,6 +17517,11 @@ Only one recording at a time. Re-running \`start\` while one is active fails - c
17517
17517
  ### \`replicas computer record stop\`
17518
17518
  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>"\`.
17519
17519
 
17520
+ ### \`replicas computer mac <tool> ['<json>'] [--screenshot PATH] [--session NAME]\`
17521
+ 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.
17522
+
17523
+ 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\`.
17524
+
17520
17525
  ## Patterns
17521
17526
 
17522
17527
  ### Browser action / state loop
@@ -31408,7 +31413,7 @@ var CLI_VERSION;
31408
31413
  var init_cli_version = __esm({
31409
31414
  "../shared/src/cli-version.ts"() {
31410
31415
  "use strict";
31411
- CLI_VERSION = "0.3.232";
31416
+ CLI_VERSION = "0.3.233";
31412
31417
  }
31413
31418
  });
31414
31419
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.232",
3
+ "version": "0.3.233",
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": {