@melius-ai/cli 0.46.0 → 0.46.1
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/bin/mel.js
CHANGED
|
@@ -25955,7 +25955,7 @@ function isMajorUpgrade(current, latest) {
|
|
|
25955
25955
|
return l[0] > c20[0];
|
|
25956
25956
|
}
|
|
25957
25957
|
function shouldShowUpgradeNotice(ctx = {}) {
|
|
25958
|
-
const current = ctx.current ?? "0.46.
|
|
25958
|
+
const current = ctx.current ?? "0.46.1";
|
|
25959
25959
|
const latest = ctx.latest ?? serverLatestVersion;
|
|
25960
25960
|
const env = ctx.env ?? process.env;
|
|
25961
25961
|
const isTty = ctx.isTty ?? Boolean(process.stderr.isTTY);
|
|
@@ -25976,7 +25976,7 @@ Upgrade: npm install -g @melius-ai/cli@latest (or: brew update && brew upgrade
|
|
|
25976
25976
|
function printUpgradeNoticeIfNeeded(ctx = {}) {
|
|
25977
25977
|
try {
|
|
25978
25978
|
if (!shouldShowUpgradeNotice(ctx)) return;
|
|
25979
|
-
const current = ctx.current ?? "0.46.
|
|
25979
|
+
const current = ctx.current ?? "0.46.1";
|
|
25980
25980
|
const latest = ctx.latest ?? serverLatestVersion;
|
|
25981
25981
|
process.stderr.write(formatUpgradeNotice(current, latest));
|
|
25982
25982
|
} catch {
|
|
@@ -26083,7 +26083,7 @@ function createClient(config) {
|
|
|
26083
26083
|
"Bypass-Tunnel-Reminder": "true",
|
|
26084
26084
|
[CUSTOM_REQUEST_HEADERS.meliusClient]: buildMeliusClientHeader({
|
|
26085
26085
|
surface: "cli",
|
|
26086
|
-
version: "0.46.
|
|
26086
|
+
version: "0.46.1"
|
|
26087
26087
|
})
|
|
26088
26088
|
};
|
|
26089
26089
|
if (config.teamId) {
|
|
@@ -33288,7 +33288,7 @@ function withDefaultHelp(args) {
|
|
|
33288
33288
|
}
|
|
33289
33289
|
function createProgram() {
|
|
33290
33290
|
const program2 = new Command();
|
|
33291
|
-
program2.name("mel").description("Mel \u2014 Melius agent CLI").version("0.46.
|
|
33291
|
+
program2.name("mel").description("Mel \u2014 Melius agent CLI").version("0.46.1").showSuggestionAfterError(true).option("--json", "Force JSON output (default)").option("--text", "Human-readable output").option(
|
|
33292
33292
|
"--fields <fields>",
|
|
33293
33293
|
"Select specific output fields (comma-separated)"
|
|
33294
33294
|
).option("--quiet", "Suppress output, exit code only").option("--verbose", "Log request/response metadata to stderr").addHelpText(
|
package/dist/src/index.js
CHANGED