@kvell007/embed-labs-cli 0.1.0-alpha.21 → 0.1.0-alpha.22
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 +6 -2
- package/dist/index.js +732 -65
- package/dist/index.js.map +1 -1
- package/dist/local-toolchain.d.ts +2 -0
- package/dist/local-toolchain.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -93,6 +93,10 @@ export EMBED_API_TOKEN=<your_token>
|
|
|
93
93
|
embedlabs auth status
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
+
If `.embed-labs/auth.json` was copied from another computer, protected Cloud
|
|
97
|
+
requests fail before network I/O with `tool_integrity_check_failed` and the
|
|
98
|
+
message `工具完整性校验失败,请在当前电脑重新执行 embedlabs auth login --token <key>`.
|
|
99
|
+
|
|
96
100
|
For the current public API plus local TaishanPi verification path, see
|
|
97
101
|
`docs/runbooks/PUBLIC_CLI_USER_VERIFICATION.md`.
|
|
98
102
|
|
|
@@ -118,7 +122,7 @@ embed tool call chip.temperature --input-json '{"host":"198.19.77.2","user":"roo
|
|
|
118
122
|
embed flash plan --board <rp2350|taishanpi> --artifact ./artifact.bin
|
|
119
123
|
```
|
|
120
124
|
|
|
121
|
-
For
|
|
125
|
+
For local Cloud API development, override the production default:
|
|
122
126
|
|
|
123
127
|
```bash
|
|
124
128
|
EMBED_CLOUD_API_URL=http://127.0.0.1:18100 embed cloud status
|
|
@@ -260,7 +264,7 @@ preview records; they are not invoices and do not collect payment.
|
|
|
260
264
|
- `EMBED_BRIDGE_URL`: local bridge URL used by bridge-backed commands. Default:
|
|
261
265
|
`http://127.0.0.1:18083`.
|
|
262
266
|
- `EMBED_CLOUD_API_URL`: cloud API URL used by cloud-backed commands. Default:
|
|
263
|
-
`
|
|
267
|
+
`https://api.embedboard.com`.
|
|
264
268
|
- `EMBED_API_TOKEN`: auth token source for non-interactive sessions.
|
|
265
269
|
- `EMBED_AUTH_PROFILE`: profile name used with `EMBED_API_TOKEN`.
|
|
266
270
|
- `EMBED_AUTH_FILE`: token file path for `embed auth login`. Default:
|