replicas-cli 0.3.318 → 0.3.320
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.cjs +7 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17006,7 +17006,8 @@ var init_v1 = __esm({
|
|
|
17006
17006
|
});
|
|
17007
17007
|
respondToolInputRequestSchema = external_exports.object({
|
|
17008
17008
|
requestId: external_exports.string().min(1),
|
|
17009
|
-
selectionId: external_exports.string().min(1)
|
|
17009
|
+
selectionId: external_exports.string().min(1),
|
|
17010
|
+
source: external_exports.enum(CLIENT_MESSAGE_SOURCES).optional()
|
|
17010
17011
|
});
|
|
17011
17012
|
}
|
|
17012
17013
|
});
|
|
@@ -17825,7 +17826,8 @@ var init_push = __esm({
|
|
|
17825
17826
|
organizationId: external_exports.string().uuid(),
|
|
17826
17827
|
/** Seconds since the last keyboard or mouse input on this computer. A phone leaves it out: it only reports what it has open. */
|
|
17827
17828
|
idleSeconds: external_exports.number().min(0).optional(),
|
|
17828
|
-
seenWorkspaceIds: external_exports.array(external_exports.string().uuid()).max(20)
|
|
17829
|
+
seenWorkspaceIds: external_exports.array(external_exports.string().uuid()).max(20),
|
|
17830
|
+
seenChats: external_exports.array(external_exports.object({ workspaceId: external_exports.string().uuid(), chatId: external_exports.string().min(1).max(100) })).max(20).optional()
|
|
17829
17831
|
});
|
|
17830
17832
|
PUSH_NOTIFICATION_KINDS = [...WORKSPACE_ATTENTION_REASONS, "finished"];
|
|
17831
17833
|
pushQuestionSchema = external_exports.object({ id: external_exports.string().max(64), options: external_exports.array(external_exports.object({ id: external_exports.string().max(64), label: external_exports.string().min(1).max(60) })).min(1).max(4) });
|
|
@@ -32101,7 +32103,7 @@ var CLI_VERSION;
|
|
|
32101
32103
|
var init_cli_version = __esm({
|
|
32102
32104
|
"../shared/src/cli-version.ts"() {
|
|
32103
32105
|
"use strict";
|
|
32104
|
-
CLI_VERSION = "0.3.
|
|
32106
|
+
CLI_VERSION = "0.3.320";
|
|
32105
32107
|
}
|
|
32106
32108
|
});
|
|
32107
32109
|
|
|
@@ -49435,7 +49437,7 @@ var init_src2 = __esm({
|
|
|
49435
49437
|
envMcps.command("list <env>").description("List MCP servers").action(run(envMcpsListCommand));
|
|
49436
49438
|
envMcps.command("add <env> <name>").description("Add a remote (--url) or stdio (--command) MCP server").option("-u, --url <url>", "Remote server URL").addOption(new import_commander.Option("--transport <transport>", "Remote transport").choices(["http", "sse"])).option("-H, --header <key=value>", "HTTP header (repeatable)", collect, []).option("-c, --command <command>", "Executable for a stdio server").option("--arg <arg>", "Argument for the stdio command (repeatable)", collect, []).option("--env <key=value>", "Environment variable for the stdio command (repeatable)", collect, []).action(run(envMcpsAddCommand));
|
|
49437
49439
|
envMcps.command("remove <env> <name-or-id>").description("Remove an MCP server").action(run(envMcpsRemoveCommand));
|
|
49438
|
-
envDevices = environment.command("devices"
|
|
49440
|
+
envDevices = environment.command("devices").description("Computers the agent reaches over SSH, like a Mac mini or your own laptop");
|
|
49439
49441
|
envDevices.command("list <env>").description("List devices").action(run(envDevicesListCommand));
|
|
49440
49442
|
envDevices.command("add <env> <name>").description("Add a device and print the command that allows its key on the device").option("--host <host>", "Hostname or IP, such as its Tailscale name. Leave it out to connect from the device instead").requiredOption("--user <user>", "Account the agent signs in as").option("--port <port>", "SSH port (default 22)", (value) => {
|
|
49441
49443
|
const port = Number(value);
|
|
@@ -49444,7 +49446,7 @@ var init_src2 = __esm({
|
|
|
49444
49446
|
}).option("--screen-password <password>", "Screen Sharing password, so the agent can see and control the screen").action(run(envDevicesAddCommand));
|
|
49445
49447
|
envDevices.command("remove <env> <name-or-id>").description("Remove a device and delete its key").action(run(envDevicesRemoveCommand));
|
|
49446
49448
|
envDevices.command("reset <env> <name-or-id>").description("Replace the connect token of a device that connects from itself and forget its SSH identity, for a leaked token or a reinstalled device").action(run(envDevicesResetCommand));
|
|
49447
|
-
program.command("device"
|
|
49449
|
+
program.command("device").description("Run on one of your computers so Replicas workspaces can reach it").command("connect").description("Keep this computer reachable from the workspaces that have it, without opening ports or a tailnet. Asks for the token from the device's settings, or reads REPLICAS_DEVICE_TOKEN").action(run(deviceConnectCommand));
|
|
49448
49450
|
envWarmPool = environment.command("warm-pool").description("Keep pre-warmed workspaces ready for an environment");
|
|
49449
49451
|
envWarmPool.command("enable <env>").description("Enable the warm pool").action(run(envWarmPoolCommand(true)));
|
|
49450
49452
|
envWarmPool.command("disable <env>").description("Disable the warm pool").action(run(envWarmPoolCommand(false)));
|