@melius-ai/cli 0.16.1 → 0.16.2
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
|
@@ -16595,7 +16595,7 @@ function isMajorUpgrade(current, latest) {
|
|
|
16595
16595
|
return l[0] > c14[0];
|
|
16596
16596
|
}
|
|
16597
16597
|
function shouldShowUpgradeNotice(ctx = {}) {
|
|
16598
|
-
const current = ctx.current ?? "0.16.
|
|
16598
|
+
const current = ctx.current ?? "0.16.2";
|
|
16599
16599
|
const latest = ctx.latest ?? serverLatestVersion;
|
|
16600
16600
|
const env = ctx.env ?? process.env;
|
|
16601
16601
|
const isTty = ctx.isTty ?? Boolean(process.stderr.isTTY);
|
|
@@ -16616,7 +16616,7 @@ Upgrade: npm install -g @melius-ai/cli@latest (or: brew update && brew upgrade
|
|
|
16616
16616
|
function printUpgradeNoticeIfNeeded(ctx = {}) {
|
|
16617
16617
|
try {
|
|
16618
16618
|
if (!shouldShowUpgradeNotice(ctx)) return;
|
|
16619
|
-
const current = ctx.current ?? "0.16.
|
|
16619
|
+
const current = ctx.current ?? "0.16.2";
|
|
16620
16620
|
const latest = ctx.latest ?? serverLatestVersion;
|
|
16621
16621
|
process.stderr.write(formatUpgradeNotice(current, latest));
|
|
16622
16622
|
} catch {
|
|
@@ -20963,7 +20963,7 @@ function withDefaultHelp(args) {
|
|
|
20963
20963
|
}
|
|
20964
20964
|
function createProgram() {
|
|
20965
20965
|
const program2 = new Command();
|
|
20966
|
-
program2.name("mel").description("Mel \u2014 Melius agent CLI").version("0.16.
|
|
20966
|
+
program2.name("mel").description("Mel \u2014 Melius agent CLI").version("0.16.2").showSuggestionAfterError(true).option("--json", "Force JSON output (default)").option("--text", "Human-readable output").option(
|
|
20967
20967
|
"--fields <fields>",
|
|
20968
20968
|
"Select specific output fields (comma-separated)"
|
|
20969
20969
|
).option("--quiet", "Suppress output, exit code only").option("--verbose", "Log request/response metadata to stderr").addHelpText(
|
package/dist/src/index.js
CHANGED