@workclaw/cli 1.0.317 → 1.0.318
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.
|
@@ -762,7 +762,7 @@ async function createBoxCommand(options) {
|
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
764
|
function registerCommands$1(program2) {
|
|
765
|
-
program2.command("box").description("盒子设备安装(无需登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--app-key <appKey>", "App Key").option("--app-secret <appSecret>", "App Secret").option("--
|
|
765
|
+
program2.command("box").description("盒子设备安装(无需登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--app-key <appKey>", "App Key").option("--app-secret <appSecret>", "App Secret").option("--customIp <ip>", "自定义后端 IP(仅 custom 环境生效)").option("--ws-url <url>", "自定义 WebSocket URL(仅 custom 环境生效,默认自动生成)").option("--plugin-version <plugin-version>", "插件版本号(默认最新版)").option("--openclaw-path <path>", "OpenClaw 安装目录路径(默认 ~/.openclaw)").option("--debug", "开启调试日志").action(createBoxCommand);
|
|
766
766
|
}
|
|
767
767
|
const ERROR_CODES = {
|
|
768
768
|
PHONE_REQUIRED: "PHONE_REQUIRED",
|
|
@@ -5392,7 +5392,7 @@ async function createLocalCommand(options) {
|
|
|
5392
5392
|
}
|
|
5393
5393
|
}
|
|
5394
5394
|
function registerCommands(program2) {
|
|
5395
|
-
program2.command("local").description("本地账户安装(需要登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--phone <phone>", "手机号码").option("--user-pass <userPass>", "用户密码").option("--
|
|
5395
|
+
program2.command("local").description("本地账户安装(需要登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--phone <phone>", "手机号码").option("--user-pass <userPass>", "用户密码").option("--customIp <ip>", "自定义后端 IP(仅 custom 环境生效)").option("--ws-url <url>", "自定义 WebSocket URL(仅 custom 环境生效,默认自动生成)").option("--plugin-version <plugin-version>", "插件版本号(默认最新版)").option("--openclaw-path <path>", "OpenClaw 安装目录路径(默认 ~/.openclaw)").option("--debug", "开启调试日志").action(createLocalCommand);
|
|
5396
5396
|
}
|
|
5397
5397
|
const __filename$1 = fileURLToPath(import.meta.url);
|
|
5398
5398
|
const __dirname$1 = dirname(__filename$1);
|
package/dist/index.js
CHANGED