replicas-cli 0.2.473 → 0.2.474
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/index.mjs +10 -10
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8200,7 +8200,7 @@ function formatCodeHostRequestRef(url2, number4) {
|
|
|
8200
8200
|
|
|
8201
8201
|
// ../shared/src/default-skills/replicas-agent/abilities/computer.ts
|
|
8202
8202
|
var SECTION = `### Computer use (Linux desktop control)
|
|
8203
|
-
Drive the workspace's Linux desktop - open a browser, click, type, scroll, screenshot, record - via the \`replicas computer\` CLI. Every Replicas workspace boots with
|
|
8203
|
+
Drive the workspace's Linux desktop - open a browser, click, type, scroll, screenshot, record - via the \`replicas computer\` CLI. Every Replicas workspace boots with a live H.264 and Opus stream published as an authenticated preview, so a \`Desktop\` tab is always available in the dashboard. Use \`replicas computer info\` to get the viewer URL when you want to share it (e.g. point a user on Slack at the live stream).
|
|
8204
8204
|
|
|
8205
8205
|
**Reference:** \`references/COMPUTER-USE.md\`
|
|
8206
8206
|
|
|
@@ -8211,7 +8211,7 @@ Use this when:
|
|
|
8211
8211
|
- You want to record a screen capture of a task as proof to share back`;
|
|
8212
8212
|
var REFERENCE = `# Computer use (Linux desktop control)
|
|
8213
8213
|
|
|
8214
|
-
Every Replicas workspace boots with a full Linux desktop stack - Xvfb (1920\xD71080), openbox, tint2,
|
|
8214
|
+
Every Replicas workspace boots with a full Linux desktop stack - Xvfb (1920\xD71080), openbox, tint2, PulseAudio, ffmpeg, and Google Chrome. The engine auto-registers the H.264 and Opus viewer (port 6080) as an authenticated preview at startup, so the dashboard \`Desktop\` tab is live the moment the workspace is up. You drive the desktop through the \`replicas computer\` CLI.
|
|
8215
8215
|
|
|
8216
8216
|
Use this for anything the user can't reasonably do via an API - clicking around web apps, filling forms, testing UI changes, dragging files between desktop apps, recording a walkthrough.
|
|
8217
8217
|
|
|
@@ -8263,7 +8263,7 @@ replicas media upload /tmp/demo.mp4 --name "Demo recording"
|
|
|
8263
8263
|
## Command reference
|
|
8264
8264
|
|
|
8265
8265
|
### \`replicas computer info\`
|
|
8266
|
-
Prints the live
|
|
8266
|
+
Prints the live desktop viewer URL (\`https://6080-<hash>.tryreplicas.com/\`). The engine auto-registers this authenticated preview on startup; \`info\` just looks it up. Use it when you want to share the live stream URL with the user out-of-band (e.g. in a Slack reply) - the dashboard \`Desktop\` tab already points at the same URL automatically.
|
|
8267
8267
|
|
|
8268
8268
|
If invoked very early in the workspace lifecycle, \`info\` will poll briefly while the engine finishes registering the preview, then error if it's still not available.
|
|
8269
8269
|
|
|
@@ -8409,18 +8409,18 @@ Then embed the printed \`\` line in your chat reply. See \`MEDI
|
|
|
8409
8409
|
|
|
8410
8410
|
| Component | Where |
|
|
8411
8411
|
|---|---|
|
|
8412
|
-
| \`xvfb\`, \`openbox\`, \`tint2\`, \`
|
|
8412
|
+
| \`xvfb\`, \`openbox\`, \`tint2\`, \`pulseaudio\`, \`xautomation\`, \`xdotool\`, \`scrot\`, \`ffmpeg\`, \`google-chrome\` | Baked into the workspace image |
|
|
8413
8413
|
| \`replicas-computer\`, desktop assets, and service unit | Installed by \`replicas-computer setup\` during the image build |
|
|
8414
|
-
| Xvfb / openbox / tint2 /
|
|
8415
|
-
|
|
|
8414
|
+
| Xvfb / openbox / tint2 / PulseAudio / stream processes | Managed by \`replicas-computer.service\` |
|
|
8415
|
+
| Desktop stream URL (port 6080) | Registered by the engine on startup (authenticated) |
|
|
8416
8416
|
| Dashboard \`Desktop\` tab | Always available once the engine has registered the preview |
|
|
8417
8417
|
|
|
8418
8418
|
You can call any of the input tools (\`click\`, \`type\`, \`screenshot\`, etc.) immediately - the daemons are already running.
|
|
8419
8419
|
`;
|
|
8420
8420
|
var COMPUTER_ABILITY = {
|
|
8421
8421
|
label: "Computer use",
|
|
8422
|
-
description: "Drive the workspace's Linux desktop and stream a live
|
|
8423
|
-
bullet: "- Driving the workspace Linux desktop (open a browser, click, type, scroll, screenshot, record) and exposing a live
|
|
8422
|
+
description: "Drive the workspace's Linux desktop and stream a live H.264 and Opus viewer.",
|
|
8423
|
+
bullet: "- Driving the workspace Linux desktop (open a browser, click, type, scroll, screenshot, record) and exposing a live audio and video stream in the dashboard",
|
|
8424
8424
|
section: SECTION,
|
|
8425
8425
|
referenceFile: { name: "COMPUTER-USE.md", content: REFERENCE }
|
|
8426
8426
|
};
|
|
@@ -10084,7 +10084,7 @@ function formatTurnElapsed(ms) {
|
|
|
10084
10084
|
}
|
|
10085
10085
|
|
|
10086
10086
|
// ../shared/src/cli-version.ts
|
|
10087
|
-
var CLI_VERSION = "0.2.
|
|
10087
|
+
var CLI_VERSION = "0.2.474";
|
|
10088
10088
|
|
|
10089
10089
|
// ../shared/src/version.ts
|
|
10090
10090
|
function compareVersions(v1, v2) {
|
|
@@ -26564,7 +26564,7 @@ function messageForItem(item) {
|
|
|
26564
26564
|
};
|
|
26565
26565
|
}
|
|
26566
26566
|
if (item.type === "reasoning") {
|
|
26567
|
-
if (!item.text
|
|
26567
|
+
if (!item.text) return null;
|
|
26568
26568
|
return {
|
|
26569
26569
|
id: `reasoning-${item.id}`,
|
|
26570
26570
|
type: "reasoning",
|