replicas-cli 0.3.319 → 0.3.321
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 +8 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17802,7 +17802,7 @@ var init_workspace_attention = __esm({
|
|
|
17802
17802
|
});
|
|
17803
17803
|
|
|
17804
17804
|
// ../shared/src/routes/push.ts
|
|
17805
|
-
var registerPushDeviceRequestSchema, PUSH_HOLD_MINUTES, recordPushActivityRequestSchema, PUSH_NOTIFICATION_KINDS, pushQuestionSchema, pushNotificationDataSchema, registerLiveActivityRequestSchema;
|
|
17805
|
+
var registerPushDeviceRequestSchema, PUSH_HOLD_MINUTES, recordPushActivityRequestSchema, PUSH_NOTIFICATION_KINDS, pushQuestionSchema, pushNotificationDataSchema, registerLiveActivityRequestSchema, setLiveActivityStartTokenRequestSchema;
|
|
17806
17806
|
var init_push = __esm({
|
|
17807
17807
|
"../shared/src/routes/push.ts"() {
|
|
17808
17808
|
"use strict";
|
|
@@ -17845,8 +17845,11 @@ var init_push = __esm({
|
|
|
17845
17845
|
workspaceId: external_exports.string().uuid(),
|
|
17846
17846
|
chatId: external_exports.string().min(1).max(100),
|
|
17847
17847
|
/** The iOS activity's push token. Android leaves it out and gets FCM data messages on the device token. */
|
|
17848
|
-
pushToken: external_exports.string().regex(/^[0-9a-f]{64,400}$/i).optional()
|
|
17848
|
+
pushToken: external_exports.string().regex(/^[0-9a-f]{64,400}$/i).optional(),
|
|
17849
|
+
/** iOS only: when the card's turn started, in seconds. Cards keep their order by it. */
|
|
17850
|
+
startedAt: external_exports.number().positive().optional()
|
|
17849
17851
|
});
|
|
17852
|
+
setLiveActivityStartTokenRequestSchema = external_exports.object({ token: external_exports.string().regex(/^[0-9a-f]{64,400}$/i) });
|
|
17850
17853
|
}
|
|
17851
17854
|
});
|
|
17852
17855
|
|
|
@@ -32103,7 +32106,7 @@ var CLI_VERSION;
|
|
|
32103
32106
|
var init_cli_version = __esm({
|
|
32104
32107
|
"../shared/src/cli-version.ts"() {
|
|
32105
32108
|
"use strict";
|
|
32106
|
-
CLI_VERSION = "0.3.
|
|
32109
|
+
CLI_VERSION = "0.3.320";
|
|
32107
32110
|
}
|
|
32108
32111
|
});
|
|
32109
32112
|
|
|
@@ -49437,7 +49440,7 @@ var init_src2 = __esm({
|
|
|
49437
49440
|
envMcps.command("list <env>").description("List MCP servers").action(run(envMcpsListCommand));
|
|
49438
49441
|
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));
|
|
49439
49442
|
envMcps.command("remove <env> <name-or-id>").description("Remove an MCP server").action(run(envMcpsRemoveCommand));
|
|
49440
|
-
envDevices = environment.command("devices"
|
|
49443
|
+
envDevices = environment.command("devices").description("Computers the agent reaches over SSH, like a Mac mini or your own laptop");
|
|
49441
49444
|
envDevices.command("list <env>").description("List devices").action(run(envDevicesListCommand));
|
|
49442
49445
|
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) => {
|
|
49443
49446
|
const port = Number(value);
|
|
@@ -49446,7 +49449,7 @@ var init_src2 = __esm({
|
|
|
49446
49449
|
}).option("--screen-password <password>", "Screen Sharing password, so the agent can see and control the screen").action(run(envDevicesAddCommand));
|
|
49447
49450
|
envDevices.command("remove <env> <name-or-id>").description("Remove a device and delete its key").action(run(envDevicesRemoveCommand));
|
|
49448
49451
|
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));
|
|
49449
|
-
program.command("device"
|
|
49452
|
+
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));
|
|
49450
49453
|
envWarmPool = environment.command("warm-pool").description("Keep pre-warmed workspaces ready for an environment");
|
|
49451
49454
|
envWarmPool.command("enable <env>").description("Enable the warm pool").action(run(envWarmPoolCommand(true)));
|
|
49452
49455
|
envWarmPool.command("disable <env>").description("Disable the warm pool").action(run(envWarmPoolCommand(false)));
|