@maximoai/maximo-syntax-cli 0.1.25 → 0.1.26

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 +23 -16
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -123977,7 +123977,7 @@ var init_metadata = __esm(() => {
123977
123977
  isMaximoAiAuth: isMaximoAISubscriber(),
123978
123978
  version: "99.0.0",
123979
123979
  versionBase: getVersionBase(),
123980
- buildTime: "2026-08-05T14:40:10.954Z",
123980
+ buildTime: "2026-08-05T15:53:48.427Z",
123981
123981
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
123982
123982
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
123983
123983
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -276742,7 +276742,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
276742
276742
  import { homedir as homedir22 } from "os";
276743
276743
  import { join as join65 } from "path";
276744
276744
  function getCurrentRealVersion() {
276745
- return "0.1.25";
276745
+ return "0.1.26";
276746
276746
  }
276747
276747
  async function getRolloutConfig() {
276748
276748
  try {
@@ -299955,6 +299955,7 @@ async function getMessagesForSlashCommand(commandName, args, setToolJSX, context
299955
299955
  }),
299956
299956
  ...metaMessages
299957
299957
  ],
299958
+ resultText: typeof result === "string" ? result : undefined,
299958
299959
  shouldQuery: options2?.shouldQuery ?? false,
299959
299960
  command,
299960
299961
  nextInput: options2?.nextInput,
@@ -299965,6 +299966,8 @@ async function getMessagesForSlashCommand(commandName, args, setToolJSX, context
299965
299966
  ...context6,
299966
299967
  canUseTool
299967
299968
  }, args)).then((jsx115) => {
299969
+ if (doneWasCalled)
299970
+ return;
299968
299971
  if (jsx115 == null)
299969
299972
  return;
299970
299973
  if (context6.options.isNonInteractiveSession) {
@@ -299975,8 +299978,6 @@ async function getMessagesForSlashCommand(commandName, args, setToolJSX, context
299975
299978
  });
299976
299979
  return;
299977
299980
  }
299978
- if (doneWasCalled)
299979
- return;
299980
299981
  setToolJSX({
299981
299982
  jsx: jsx115,
299982
299983
  shouldHidePromptInput: true,
@@ -363688,6 +363689,7 @@ function historyEntry(event, detail, extra) {
363688
363689
  };
363689
363690
  }
363690
363691
  function notify2() {
363692
+ cachedStatusDirty = true;
363691
363693
  for (const l of listeners) {
363692
363694
  try {
363693
363695
  l();
@@ -363748,8 +363750,9 @@ function subscribeGoal(listener2) {
363748
363750
  function getGoalStatusSnapshot() {
363749
363751
  if (!current)
363750
363752
  return null;
363751
- accountElapsed();
363752
- return {
363753
+ if (!cachedStatusDirty && cachedStatusSnapshot)
363754
+ return cachedStatusSnapshot;
363755
+ cachedStatusSnapshot = {
363753
363756
  status: current.status,
363754
363757
  phase: current.phase,
363755
363758
  objective: current.objective,
@@ -363757,8 +363760,11 @@ function getGoalStatusSnapshot() {
363757
363760
  tokenBudget: current.tokenBudget,
363758
363761
  totalWorkerRounds: current.totalWorkerRounds,
363759
363762
  totalVerifyRounds: current.totalVerifyRounds,
363760
- pauseMessage: current.pauseMessage
363763
+ pauseMessage: current.pauseMessage,
363764
+ elapsedMs: current.elapsedMs
363761
363765
  };
363766
+ cachedStatusDirty = false;
363767
+ return cachedStatusSnapshot;
363762
363768
  }
363763
363769
  function makeScratchDir(goalId) {
363764
363770
  const dir = join87(tmpdir6(), `maximo-goal-${goalId}`);
@@ -364051,7 +364057,7 @@ ${g.lastClassifierGaps}`);
364051
364057
  return lines.join(`
364052
364058
  `);
364053
364059
  }
364054
- var current = null, listeners;
364060
+ var current = null, listeners, cachedStatusSnapshot = null, cachedStatusDirty = true;
364055
364061
  var init_goalTracker = __esm(() => {
364056
364062
  init_types10();
364057
364063
  listeners = new Set;
@@ -365905,7 +365911,7 @@ function getAnthropicEnvMetadata() {
365905
365911
  function getBuildAgeMinutes() {
365906
365912
  if (false)
365907
365913
  ;
365908
- const buildTime = new Date("2026-08-05T14:40:10.954Z").getTime();
365914
+ const buildTime = new Date("2026-08-05T15:53:48.427Z").getTime();
365909
365915
  if (isNaN(buildTime))
365910
365916
  return;
365911
365917
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -431983,7 +431989,7 @@ function getRecentActivitySync() {
431983
431989
  return cachedActivity;
431984
431990
  }
431985
431991
  function getLogoDisplayData() {
431986
- const version2 = process.env.DEMO_VERSION ?? "0.1.25" ?? "99.0.0";
431992
+ const version2 = process.env.DEMO_VERSION ?? "0.1.26" ?? "99.0.0";
431987
431993
  const serverUrl = getDirectConnectServerUrl();
431988
431994
  const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
431989
431995
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -461448,7 +461454,7 @@ var init_bridge_kick = __esm(() => {
461448
461454
  var call57 = async () => {
461449
461455
  return {
461450
461456
  type: "text",
461451
- value: `${"99.0.0"} (built ${"2026-08-05T14:40:10.954Z"})`
461457
+ value: `${"99.0.0"} (built ${"2026-08-05T15:53:48.427Z"})`
461452
461458
  };
461453
461459
  }, version2, version_default;
461454
461460
  var init_version = __esm(() => {
@@ -466424,6 +466430,7 @@ var init_goal3 = __esm(() => {
466424
466430
  name: "goal",
466425
466431
  description: "Set, manage, or check an autonomous goal (works across turns with independent completion verification)",
466426
466432
  argumentHint: "<objective> [--budget <tokens>] | status | pause | resume | clear",
466433
+ supportsNonInteractive: true,
466427
466434
  load: () => Promise.resolve().then(() => (init_goal2(), exports_goal2))
466428
466435
  };
466429
466436
  goal_default = goal;
@@ -535977,7 +535984,7 @@ function SetupRow({ children }) {
535977
535984
  }
535978
535985
  function WelcomeV2() {
535979
535986
  const { columns } = useTerminalSize();
535980
- const version3 = "0.1.25";
535987
+ const version3 = "0.1.26";
535981
535988
  const width = Math.max(48, Math.min(columns || 92, 92));
535982
535989
  const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
535983
535990
  return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
@@ -555217,7 +555224,7 @@ ${customInstructions}` : customInstructions;
555217
555224
  `);
555218
555225
  process.exit(1);
555219
555226
  }
555220
- const commandsHeadless = disableSlashCommands ? [] : commands.filter((command8) => command8.type === "prompt" && !command8.disableNonInteractive || command8.type === "local" && command8.supportsNonInteractive);
555227
+ const commandsHeadless = disableSlashCommands ? [] : commands.filter((command8) => command8.type === "prompt" && !command8.disableNonInteractive || command8.type === "local" && command8.supportsNonInteractive || command8.type === "local-jsx" && command8.supportsNonInteractive === true);
555221
555228
  const defaultState = getDefaultAppState();
555222
555229
  const headlessInitialState = {
555223
555230
  ...defaultState,
@@ -555913,7 +555920,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
555913
555920
  pendingHookMessages
555914
555921
  }, renderAndRun);
555915
555922
  }
555916
- }).version("0.1.25 (Maximo Syntax)", "-v, --version", "Output the version number");
555923
+ }).version("0.1.26 (Maximo Syntax)", "-v, --version", "Output the version number");
555917
555924
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
555918
555925
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
555919
555926
  if (canUserConfigureAdvisor()) {
@@ -556452,7 +556459,7 @@ function validateProviderEnvOrExit() {
556452
556459
  async function main2() {
556453
556460
  const args = process.argv.slice(2);
556454
556461
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
556455
- console.log(`${"0.1.25"} (Maximo Syntax)`);
556462
+ console.log(`${"0.1.26"} (Maximo Syntax)`);
556456
556463
  return;
556457
556464
  }
556458
556465
  validateProviderEnvOrExit();
@@ -556529,4 +556536,4 @@ async function main2() {
556529
556536
  }
556530
556537
  main2();
556531
556538
 
556532
- //# debugId=432E05AA608D384C64756E2164756E21
556539
+ //# debugId=E4BA360C88235E0264756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maximoai/maximo-syntax-cli",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
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": {