@kvell007/embed-labs-cli 0.1.0-alpha.91 → 0.1.0-alpha.92
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 +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ const LEGACY_CODEX_PLUGIN_NAMES = [
|
|
|
45
45
|
const LEGACY_CODEX_MARKETPLACE_NAMES = new Set(["embed-labs-plugins", "plugins", "Plugins", "deve"]);
|
|
46
46
|
const PLUGIN_INSTALL_USAGE = "Usage: embed plugin install <codex|opencode|trae|all> [--release-dir <dir>] [--release-url <url>] [--target <dir>] [--codex-target <dir>] [--opencode-target <dir>] [--trae-target <dir>] [--force] [--json]";
|
|
47
47
|
const PLUGIN_UPDATE_CHECK_USAGE = "Usage: embed plugin update check [--release-url <url>] [--target <dir>] [--codex-target <dir>] [--opencode-target <dir>] [--json]";
|
|
48
|
-
const PLUGIN_UPDATE_USAGE = "Usage: embed plugin update
|
|
48
|
+
const PLUGIN_UPDATE_USAGE = "Usage: embed plugin update [codex|opencode|trae|all] [--release-url <url>] [--target <dir>] [--codex-target <dir>] [--opencode-target <dir>] [--trae-target <dir>] [--json]";
|
|
49
49
|
const CLOUD_TASK_ARTIFACTS_USAGE = "Usage: embed cloud task artifacts <task_id> [--json]";
|
|
50
50
|
const CLOUD_TASK_EVIDENCE_USAGE = "Usage: embed cloud task evidence <task_id> [--json]";
|
|
51
51
|
const ARTIFACT_STATUS_USAGE = "Usage: embed artifact status <artifact_id> [--json]";
|
|
@@ -343,7 +343,7 @@ async function main(argv) {
|
|
|
343
343
|
const result = await pluginUpdateCheck(parsed);
|
|
344
344
|
return output(parsed, result, renderPluginUpdateCheck, result.ok ? 0 : 2);
|
|
345
345
|
}
|
|
346
|
-
if (["codex", "opencode", "trae", "all"].includes(parsed.command[2]
|
|
346
|
+
if (!parsed.command[2] || ["codex", "opencode", "trae", "all"].includes(parsed.command[2])) {
|
|
347
347
|
const result = await pluginUpdate(parsed);
|
|
348
348
|
return output(parsed, result, renderPluginInstall, result.ok ? 0 : 2);
|
|
349
349
|
}
|
|
@@ -2025,8 +2025,8 @@ async function pluginUpdate(parsed) {
|
|
|
2025
2025
|
if (unknownFlag) {
|
|
2026
2026
|
return fail("invalid_args", `Unknown flag --${unknownFlag}. ${PLUGIN_UPDATE_USAGE}`);
|
|
2027
2027
|
}
|
|
2028
|
-
const target = parsed.command[2];
|
|
2029
|
-
if (!
|
|
2028
|
+
const target = parsed.command[2] ?? "all";
|
|
2029
|
+
if (!["codex", "opencode", "trae", "all"].includes(target)) {
|
|
2030
2030
|
return fail("invalid_args", PLUGIN_UPDATE_USAGE);
|
|
2031
2031
|
}
|
|
2032
2032
|
const unexpected = parsed.command.slice(3);
|
|
@@ -8792,7 +8792,7 @@ Install local AI client plugins explicitly:
|
|
|
8792
8792
|
embedlabs plugin install opencode
|
|
8793
8793
|
embedlabs plugin install trae
|
|
8794
8794
|
embedlabs plugin update check
|
|
8795
|
-
embedlabs plugin update
|
|
8795
|
+
embedlabs plugin update
|
|
8796
8796
|
|
|
8797
8797
|
For Trae, restart Trae after install. The installer writes mcp.json and a local
|
|
8798
8798
|
Gallery cache entry so the Embed Labs MCP icon can appear in Trae builds that
|
|
@@ -8863,7 +8863,7 @@ Usage:
|
|
|
8863
8863
|
embed plugin list [--release-dir <dir>] [--release-url <url>] [--json]
|
|
8864
8864
|
embed plugin install <codex|opencode|trae|all> [--release-dir <dir>] [--release-url <url>] [--target <dir>] [--codex-target <dir>] [--opencode-target <dir>] [--trae-target <dir>] [--force] [--json]
|
|
8865
8865
|
embed plugin update check [--release-url <url>] [--target <dir>] [--codex-target <dir>] [--opencode-target <dir>] [--trae-target <dir>] [--json]
|
|
8866
|
-
embed plugin update
|
|
8866
|
+
embed plugin update [codex|opencode|trae|all] [--release-url <url>] [--target <dir>] [--codex-target <dir>] [--opencode-target <dir>] [--trae-target <dir>] [--json]
|
|
8867
8867
|
embed service modes [--json]
|
|
8868
8868
|
embed model list [--json]
|
|
8869
8869
|
embed model default [--json]
|