@kvell007/embed-labs-cli 0.1.0-alpha.31 → 0.1.0-alpha.33
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/README.md +8 -1
- package/dist/index.js +18 -14
- package/dist/index.js.map +1 -1
- package/dist/local-toolchain.js +201 -41
- package/dist/local-toolchain.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -52,11 +52,18 @@ embedlabs plugin install all
|
|
|
52
52
|
Clean reinstall:
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
npm uninstall -g embedlabs
|
|
55
|
+
npm uninstall -g embedlabs
|
|
56
56
|
npm install -g embedlabs@latest
|
|
57
57
|
embedlabs plugin install all --force
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
If an early test build was installed under legacy alias names, remove those
|
|
61
|
+
aliases once with:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npm uninstall -g embedlabs-cli embedboard embedboard-cli
|
|
65
|
+
```
|
|
66
|
+
|
|
60
67
|
Future organization-scope install after final release approval:
|
|
61
68
|
|
|
62
69
|
```bash
|
package/dist/index.js
CHANGED
|
@@ -97,12 +97,12 @@ const BUILD_IMAGE_BOOT_LOGO_USAGE = "Usage: embed build image boot-logo --logo <
|
|
|
97
97
|
const IMAGE_BOOT_LOGO_COMPOSE_USAGE = "Usage: embed image boot-logo compose --package <boot-logo-package.json> --base-image <boot.img|image.img> --output <image> [--manifest <manifest.json>] [--force] [--json]";
|
|
98
98
|
const BUILD_IMAGE_DTB_USAGE = "Usage: embed build image dtb --dtb <local.dtb|local.dts> [--input-format auto|dtb|dts] [--account <account_id>] [--project <project_id>] [--board taishanpi] [--variant 1M-RK3566] [--output <package.json>] [--json]";
|
|
99
99
|
const IMAGE_DTB_COMPOSE_USAGE = "Usage: embed image dtb compose --package <dtb-package.json> --base-image <boot.img|image.img> --output <image> [--manifest <manifest.json>] [--force] [--json]";
|
|
100
|
-
const LOCAL_TOOLCHAIN_LIST_USAGE = "Usage: embed local toolchain list [--board taishanpi-1m-rk3566] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]";
|
|
101
|
-
const LOCAL_TOOLCHAIN_INSTALLED_USAGE = "Usage: embed local toolchain installed [--board taishanpi-1m-rk3566] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]";
|
|
102
|
-
const LOCAL_TOOLCHAIN_LATEST_USAGE = "Usage: embed local toolchain latest [--board taishanpi-1m-rk3566] [--channel stable] [--metadata-root <path>] [--json]";
|
|
100
|
+
const LOCAL_TOOLCHAIN_LIST_USAGE = "Usage: embed local toolchain list [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]";
|
|
101
|
+
const LOCAL_TOOLCHAIN_INSTALLED_USAGE = "Usage: embed local toolchain installed [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]";
|
|
102
|
+
const LOCAL_TOOLCHAIN_LATEST_USAGE = "Usage: embed local toolchain latest [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--json]";
|
|
103
103
|
const LOCAL_TOOLCHAIN_CURRENT_USAGE = "Usage: embed local toolchain current [--install-root <path>] [--json]";
|
|
104
|
-
const LOCAL_TOOLCHAIN_INSTALL_USAGE = "Usage: embed local toolchain install [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--source-url <tar.gz-url>|--source-release-root <path>] [--install-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--force] [--json]\nDefault source: the production download channel at download.embedboard.com.";
|
|
105
|
-
const LOCAL_TOOLCHAIN_VALIDATE_USAGE = "Usage: embed local toolchain validate [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor] [--release-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]";
|
|
104
|
+
const LOCAL_TOOLCHAIN_INSTALL_USAGE = "Usage: embed local toolchain install [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--source-url <tar.gz-url>|--source-release-root <path>] [--install-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--force] [--json]\nDefault source: the production download channel at download.embedboard.com.";
|
|
105
|
+
const LOCAL_TOOLCHAIN_VALIDATE_USAGE = "Usage: embed local toolchain validate [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--release-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]";
|
|
106
106
|
const LOCAL_COMPILE_TAISHANPI_USAGE = "Usage: embed local compile taishanpi --source <main.c|main.cpp> --output <artifact> [--release-root <path>] [--account <account_id>] [--json]";
|
|
107
107
|
const LOCAL_BUILD_QT_SMOKE_USAGE = "Usage: embed local build qt-smoke --build-dir <dir> [--source <qt-smoke-dir>] [--release-root <path>] [--account <account_id>] [--json]";
|
|
108
108
|
const AUTH_DEVICE_STATUS_USAGE = "Usage: embed auth device status [--json]";
|
|
@@ -7007,8 +7007,10 @@ function localToolchainComponentGroups(components) {
|
|
|
7007
7007
|
const groups = new Set();
|
|
7008
7008
|
for (const component of components) {
|
|
7009
7009
|
const text = `${component.id} ${component.role ?? ""}`.toLowerCase();
|
|
7010
|
-
if (text.includes("
|
|
7011
|
-
groups.add("compiler
|
|
7010
|
+
if (text.includes("arm-none-eabi") || text.includes("bare-metal") || text.includes("compiler"))
|
|
7011
|
+
groups.add("compiler/ARM 裸机编译器");
|
|
7012
|
+
if (text.includes("pico-sdk") || text.includes("sdk-core"))
|
|
7013
|
+
groups.add("pico-sdk/C/C++ SDK");
|
|
7012
7014
|
if (text.includes("sysroot") || text.includes("cross"))
|
|
7013
7015
|
groups.add("sysroot/交叉运行库");
|
|
7014
7016
|
if (text.includes("qt"))
|
|
@@ -7017,8 +7019,10 @@ function localToolchainComponentGroups(components) {
|
|
|
7017
7019
|
groups.add("boot-flash/启动与烧写工具");
|
|
7018
7020
|
if (text.includes("image") || text.includes("rootfs"))
|
|
7019
7021
|
groups.add("images/镜像资源");
|
|
7020
|
-
if (text.includes("
|
|
7021
|
-
groups.add("
|
|
7022
|
+
if (text.includes("initial-firmware"))
|
|
7023
|
+
groups.add("initial-firmware/初始化镜像");
|
|
7024
|
+
if (text.includes("rp2350-monitor"))
|
|
7025
|
+
groups.add("rp2350-monitor/可选硬件监控镜像");
|
|
7022
7026
|
if (text.includes("meta"))
|
|
7023
7027
|
groups.add("metadata/知识与脚本元数据");
|
|
7024
7028
|
}
|
|
@@ -8162,13 +8166,13 @@ Usage:
|
|
|
8162
8166
|
embed build image generate --workspace <workspace_id> --prompt <request> [--account <account_id>] [--image-profile <profile_id>] [--provider stub|openai|bai|cc|claude-code] [--model <model>] [--execution-mode cloud_worker|dry_run] [--worker-pool <pool>] [--json]
|
|
8163
8167
|
embed build image boot-logo --logo <local_image> [--account <account_id>] [--project <project_id>] [--board taishanpi] [--variant 1M-RK3566] [--kernel-logo <local_image>] [--rotate -90] [--scale 100] [--output <package.json>] [--json]
|
|
8164
8168
|
embed image boot-logo compose --package <boot-logo-package.json> --base-image <boot.img|image.img> --output <image> [--manifest <manifest.json>] [--force] [--json]
|
|
8165
|
-
embed local toolchain list [--board taishanpi-1m-rk3566] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]
|
|
8166
|
-
embed local toolchain installed [--board taishanpi-1m-rk3566] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]
|
|
8167
|
-
embed local toolchain latest [--board taishanpi-1m-rk3566] [--channel stable] [--metadata-root <path>] [--json]
|
|
8169
|
+
embed local toolchain list [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]
|
|
8170
|
+
embed local toolchain installed [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--install-root <path>] [--json]
|
|
8171
|
+
embed local toolchain latest [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--json]
|
|
8168
8172
|
embed local toolchain current [--install-root <path>] [--json]
|
|
8169
|
-
embed local toolchain install [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--source-url <tar.gz-url>|--source-release-root <path>] [--install-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--force] [--json]
|
|
8173
|
+
embed local toolchain install [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--channel stable] [--metadata-root <path>] [--source-url <tar.gz-url>|--source-release-root <path>] [--install-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--force] [--json]
|
|
8170
8174
|
Defaults to the production download channel at download.embedboard.com.
|
|
8171
|
-
embed local toolchain validate [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor] [--release-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]
|
|
8175
|
+
embed local toolchain validate [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--release-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]
|
|
8172
8176
|
embed local compile taishanpi --source <main.c|main.cpp> --output <artifact> [--release-root <path>] [--account <account_id>] [--json]
|
|
8173
8177
|
embed local build qt-smoke --build-dir <dir> [--source <qt-smoke-dir>] [--release-root <path>] [--account <account_id>] [--json]
|
|
8174
8178
|
embed debug tools [--json]
|