@maximoai/maximo-syntax-cli 0.1.26 → 0.1.27

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +29 -19
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -108510,8 +108510,14 @@ function getCachedMaximoModelLimits(model) {
108510
108510
  };
108511
108511
  }
108512
108512
  function normalizeEffortName(value) {
108513
- const normalized = value.trim().toLowerCase().replace(/-/g, "");
108514
- return normalized === "xhigh" ? "xhigh" : normalized;
108513
+ const normalized = value.trim().toLowerCase().replace(/[-_\s]+/g, "");
108514
+ if (normalized === "extrahigh" || normalized === "ultra")
108515
+ return "xhigh";
108516
+ if (normalized === "maximum")
108517
+ return "max";
108518
+ if (normalized === "med")
108519
+ return "medium";
108520
+ return normalized;
108515
108521
  }
108516
108522
  function getCachedMaximoModelEffortConfig(model) {
108517
108523
  const maximoModel = getCachedMaximoModel(model);
@@ -123977,7 +123983,7 @@ var init_metadata = __esm(() => {
123977
123983
  isMaximoAiAuth: isMaximoAISubscriber(),
123978
123984
  version: "99.0.0",
123979
123985
  versionBase: getVersionBase(),
123980
- buildTime: "2026-08-05T15:53:48.427Z",
123986
+ buildTime: "2026-08-06T11:48:40.178Z",
123981
123987
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
123982
123988
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
123983
123989
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -166011,11 +166017,13 @@ function parseEffortValue(value) {
166011
166017
  if (typeof value === "number" && isValidNumericEffort(value)) {
166012
166018
  return value;
166013
166019
  }
166014
- const str = String(value).toLowerCase();
166015
- if (isEffortLevel(str)) {
166016
- return str;
166020
+ const raw = String(value).trim();
166021
+ const str = raw.toLowerCase().replace(/[-_\s]+/g, "");
166022
+ const normalized = str === "extrahigh" || str === "ultra" ? "xhigh" : str === "maximum" ? "max" : str === "med" ? "medium" : str;
166023
+ if (isEffortLevel(normalized)) {
166024
+ return normalized;
166017
166025
  }
166018
- const numericValue = parseInt(str, 10);
166026
+ const numericValue = parseInt(raw, 10);
166019
166027
  if (!isNaN(numericValue) && isValidNumericEffort(numericValue)) {
166020
166028
  return numericValue;
166021
166029
  }
@@ -276742,7 +276750,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
276742
276750
  import { homedir as homedir22 } from "os";
276743
276751
  import { join as join65 } from "path";
276744
276752
  function getCurrentRealVersion() {
276745
- return "0.1.26";
276753
+ return "0.1.27";
276746
276754
  }
276747
276755
  async function getRolloutConfig() {
276748
276756
  try {
@@ -365911,7 +365919,7 @@ function getAnthropicEnvMetadata() {
365911
365919
  function getBuildAgeMinutes() {
365912
365920
  if (false)
365913
365921
  ;
365914
- const buildTime = new Date("2026-08-05T15:53:48.427Z").getTime();
365922
+ const buildTime = new Date("2026-08-06T11:48:40.178Z").getTime();
365915
365923
  if (isNaN(buildTime))
365916
365924
  return;
365917
365925
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -431989,7 +431997,7 @@ function getRecentActivitySync() {
431989
431997
  return cachedActivity;
431990
431998
  }
431991
431999
  function getLogoDisplayData() {
431992
- const version2 = process.env.DEMO_VERSION ?? "0.1.26" ?? "99.0.0";
432000
+ const version2 = process.env.DEMO_VERSION ?? "0.1.27" ?? "99.0.0";
431993
432001
  const serverUrl = getDirectConnectServerUrl();
431994
432002
  const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
431995
432003
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -461454,7 +461462,7 @@ var init_bridge_kick = __esm(() => {
461454
461462
  var call57 = async () => {
461455
461463
  return {
461456
461464
  type: "text",
461457
- value: `${"99.0.0"} (built ${"2026-08-05T15:53:48.427Z"})`
461465
+ value: `${"99.0.0"} (built ${"2026-08-06T11:48:40.178Z"})`
461458
461466
  };
461459
461467
  }, version2, version_default;
461460
461468
  var init_version = __esm(() => {
@@ -466182,16 +466190,18 @@ function unsetEffortLevel() {
466182
466190
  };
466183
466191
  }
466184
466192
  function executeEffort(args) {
466185
- const normalized = args.toLowerCase();
466186
- if (normalized === "auto" || normalized === "unset") {
466193
+ const raw = args.trim();
466194
+ const normalized = raw.toLowerCase().replace(/[-_\s]+/g, "");
466195
+ const canonical = normalized === "extrahigh" || normalized === "ultra" ? "xhigh" : normalized === "maximum" ? "max" : normalized === "med" ? "medium" : normalized;
466196
+ if (canonical === "auto" || canonical === "unset") {
466187
466197
  return unsetEffortLevel();
466188
466198
  }
466189
- if (!isEffortLevel(normalized)) {
466199
+ if (!isEffortLevel(canonical)) {
466190
466200
  return {
466191
466201
  message: `Invalid argument: ${args}. Valid options are: minimal, low, medium, high, xhigh, max, ultra, auto`
466192
466202
  };
466193
466203
  }
466194
- return setEffortValue(normalized);
466204
+ return setEffortValue(canonical);
466195
466205
  }
466196
466206
  function ShowCurrentEffort(t0) {
466197
466207
  const {
@@ -535984,7 +535994,7 @@ function SetupRow({ children }) {
535984
535994
  }
535985
535995
  function WelcomeV2() {
535986
535996
  const { columns } = useTerminalSize();
535987
- const version3 = "0.1.26";
535997
+ const version3 = "0.1.27";
535988
535998
  const width = Math.max(48, Math.min(columns || 92, 92));
535989
535999
  const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
535990
536000
  return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
@@ -555920,7 +555930,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
555920
555930
  pendingHookMessages
555921
555931
  }, renderAndRun);
555922
555932
  }
555923
- }).version("0.1.26 (Maximo Syntax)", "-v, --version", "Output the version number");
555933
+ }).version("0.1.27 (Maximo Syntax)", "-v, --version", "Output the version number");
555924
555934
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
555925
555935
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
555926
555936
  if (canUserConfigureAdvisor()) {
@@ -556459,7 +556469,7 @@ function validateProviderEnvOrExit() {
556459
556469
  async function main2() {
556460
556470
  const args = process.argv.slice(2);
556461
556471
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
556462
- console.log(`${"0.1.26"} (Maximo Syntax)`);
556472
+ console.log(`${"0.1.27"} (Maximo Syntax)`);
556463
556473
  return;
556464
556474
  }
556465
556475
  validateProviderEnvOrExit();
@@ -556536,4 +556546,4 @@ async function main2() {
556536
556546
  }
556537
556547
  main2();
556538
556548
 
556539
- //# debugId=E4BA360C88235E0264756E2164756E21
556549
+ //# debugId=5C33CADA7413433764756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maximoai/maximo-syntax-cli",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Maximo Syntax CLI - A powerful AI-powered command-line interface for code development with any LLM",
5
5
  "type": "module",
6
6
  "bin": {