@maximoai/maximo-syntax-cli 0.1.37 → 0.1.39

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 +222 -38
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -108412,14 +108412,23 @@ var init_betas = __esm(() => {
108412
108412
 
108413
108413
  // src/utils/model/modelDefaults.ts
108414
108414
  function normalizeRetiredMytabulonModel(value) {
108415
- if (value === RETIRED_MYTABULON_MODEL)
108415
+ if (value !== undefined && RETIRED_MYTABULON_MODEL_SET.has(value)) {
108416
108416
  return MYTABULON_DEFAULT_MODEL;
108417
+ }
108417
108418
  return value;
108418
108419
  }
108419
108420
  function chooseMytabulonDefaultModel(modelIds) {
108420
- return modelIds.find((id) => id === MYTABULON_DEFAULT_MODEL) ?? modelIds.find((id) => id !== RETIRED_MYTABULON_MODEL) ?? MYTABULON_DEFAULT_MODEL;
108421
- }
108422
- var MYTABULON_DEFAULT_MODEL = "maximo-atlas-1.2", RETIRED_MYTABULON_MODEL = "maximo-atlas-preview";
108421
+ return modelIds.find((id) => id === MYTABULON_DEFAULT_MODEL) ?? modelIds.find((id) => !RETIRED_MYTABULON_MODEL_SET.has(id)) ?? MYTABULON_DEFAULT_MODEL;
108422
+ }
108423
+ var MYTABULON_DEFAULT_MODEL = "maximo-atlas-1.2", RETIRED_MYTABULON_MODELS, RETIRED_MYTABULON_MODEL_SET;
108424
+ var init_modelDefaults = __esm(() => {
108425
+ RETIRED_MYTABULON_MODELS = [
108426
+ "maximo-atlas-preview",
108427
+ "maximo-atlas-1.1",
108428
+ "atlas-1.1"
108429
+ ];
108430
+ RETIRED_MYTABULON_MODEL_SET = new Set(RETIRED_MYTABULON_MODELS);
108431
+ });
108423
108432
 
108424
108433
  // src/services/api/maximoModels.ts
108425
108434
  function normalizedBaseUrl(baseUrl) {
@@ -109025,6 +109034,7 @@ var init_maximoModels = __esm(() => {
109025
109034
  init_config2();
109026
109035
  init_log3();
109027
109036
  init_auth2();
109037
+ init_modelDefaults();
109028
109038
  CACHE_TTL = 5 * 60 * 1000;
109029
109039
  OPENCODE_CHAT_COMPLETION_MODELS = {
109030
109040
  zen: new Set([
@@ -110194,6 +110204,7 @@ var init_model = __esm(() => {
110194
110204
  init_context();
110195
110205
  init_envUtils();
110196
110206
  init_modelStrings();
110207
+ init_modelDefaults();
110197
110208
  init_modelCost();
110198
110209
  init_settings2();
110199
110210
  init_providers();
@@ -124000,7 +124011,7 @@ var init_metadata = __esm(() => {
124000
124011
  isMaximoAiAuth: isMaximoAISubscriber(),
124001
124012
  version: "99.0.0",
124002
124013
  versionBase: getVersionBase(),
124003
- buildTime: "2026-08-15T17:55:08.183Z",
124014
+ buildTime: "2026-08-23T12:37:37.196Z",
124004
124015
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
124005
124016
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
124006
124017
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -125510,6 +125521,7 @@ function createDefaultGlobalConfig() {
125510
125521
  verbose: false,
125511
125522
  editorMode: "normal",
125512
125523
  autoCompactEnabled: true,
125524
+ autoCompactPercent: 40,
125513
125525
  showTurnDuration: true,
125514
125526
  hasSeenTasksHint: false,
125515
125527
  hasUsedStash: false,
@@ -126239,6 +126251,7 @@ var init_config2 = __esm(() => {
126239
126251
  "editorMode",
126240
126252
  "hasUsedBackslashReturn",
126241
126253
  "autoCompactEnabled",
126254
+ "autoCompactPercent",
126242
126255
  "showTurnDuration",
126243
126256
  "diffTool",
126244
126257
  "env",
@@ -276774,7 +276787,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
276774
276787
  import { homedir as homedir22 } from "os";
276775
276788
  import { join as join65 } from "path";
276776
276789
  function getCurrentRealVersion() {
276777
- return "0.1.37";
276790
+ return "0.1.39";
276778
276791
  }
276779
276792
  async function getRolloutConfig() {
276780
276793
  try {
@@ -366607,6 +366620,65 @@ async function* queryLoop(params, consumedCommandUuids) {
366607
366620
  });
366608
366621
  return { reason: "max_turns", turnCount: nextTurnCount };
366609
366622
  }
366623
+ const inTurnCandidate = [...messagesForQuery, ...assistantMessages, ...toolResults];
366624
+ const mainThreadNoAgent = !toolUseContext.agentId && !querySource.startsWith("agent:");
366625
+ if (mainThreadNoAgent && !toolUseContext.abortController.signal.aborted && !shouldPreventContinuation && isAutoCompactEnabled() && tokenCountWithEstimation(inTurnCandidate) - snipTokensFreed >= getAutoCompactThreshold(toolUseContext.options.mainLoopModel) + IN_TURN_COMPACT_SAFETY_MARGIN_TOKENS) {
366626
+ queryCheckpoint("query_in_turn_autocompact_start");
366627
+ const { compactionResult: inTurnResult, consecutiveFailures: inTurnFailures } = await deps.autocompact(inTurnCandidate, toolUseContext, {
366628
+ systemPrompt,
366629
+ userContext,
366630
+ systemContext,
366631
+ toolUseContext,
366632
+ forkContextMessages: inTurnCandidate
366633
+ }, querySource, tracking, snipTokensFreed);
366634
+ queryCheckpoint("query_in_turn_autocompact_end");
366635
+ if (inTurnResult) {
366636
+ logEvent("tengu_auto_compact_succeeded", {
366637
+ originalMessageCount: inTurnCandidate.length,
366638
+ compactedMessageCount: inTurnResult.summaryMessages.length + inTurnResult.attachments.length + inTurnResult.hookResults.length + (inTurnResult.messagesToKeep?.length ?? 0),
366639
+ preCompactTokenCount: inTurnResult.preCompactTokenCount,
366640
+ postCompactTokenCount: inTurnResult.postCompactTokenCount,
366641
+ truePostCompactTokenCount: inTurnResult.truePostCompactTokenCount,
366642
+ compactionInputTokens: inTurnResult.compactionUsage?.input_tokens,
366643
+ compactionOutputTokens: inTurnResult.compactionUsage?.output_tokens,
366644
+ compactionCacheReadTokens: inTurnResult.compactionUsage?.cache_read_input_tokens ?? 0,
366645
+ compactionCacheCreationTokens: inTurnResult.compactionUsage?.cache_creation_input_tokens ?? 0,
366646
+ compactionTotalTokens: inTurnResult.compactionUsage ? inTurnResult.compactionUsage.input_tokens + (inTurnResult.compactionUsage.cache_creation_input_tokens ?? 0) + (inTurnResult.compactionUsage.cache_read_input_tokens ?? 0) + inTurnResult.compactionUsage.output_tokens : 0,
366647
+ queryChainId: queryChainIdForAnalytics,
366648
+ queryDepth: queryTracking.depth,
366649
+ midTurn: true
366650
+ });
366651
+ tracking = {
366652
+ compacted: true,
366653
+ turnId: deps.uuid(),
366654
+ turnCounter: 0,
366655
+ consecutiveFailures: 0
366656
+ };
366657
+ const postCompactMessages = buildPostCompactMessages(inTurnResult);
366658
+ for (const message of postCompactMessages) {
366659
+ yield message;
366660
+ }
366661
+ toolResults.length = 0;
366662
+ state = {
366663
+ messages: postCompactMessages,
366664
+ toolUseContext: { ...updatedToolUseContext, queryTracking },
366665
+ autoCompactTracking: tracking,
366666
+ turnCount: nextTurnCount,
366667
+ maxOutputTokensRecoveryCount: 0,
366668
+ hasAttemptedReactiveCompact: false,
366669
+ pendingToolUseSummary: nextPendingToolUseSummary,
366670
+ maxOutputTokensOverride: undefined,
366671
+ stopHookActive,
366672
+ transition: { reason: "next_turn" }
366673
+ };
366674
+ continue;
366675
+ } else if (inTurnFailures !== undefined) {
366676
+ tracking = {
366677
+ ...tracking ?? { compacted: false, turnId: "", turnCounter: 0 },
366678
+ consecutiveFailures: inTurnFailures
366679
+ };
366680
+ }
366681
+ }
366610
366682
  queryCheckpoint("query_recursive_call");
366611
366683
  const next = {
366612
366684
  messages: [...messagesForQuery, ...assistantMessages, ...toolResults],
@@ -366628,7 +366700,7 @@ async function* queryLoop(params, consumedCommandUuids) {
366628
366700
  __callDispose(__stack, _err, _hasErr);
366629
366701
  }
366630
366702
  }
366631
- var reactiveCompact = null, skillPrefetch = null, MAX_OUTPUT_TOKENS_RECOVERY_LIMIT = 3;
366703
+ var reactiveCompact = null, skillPrefetch = null, IN_TURN_COMPACT_SAFETY_MARGIN_TOKENS = 2000, MAX_OUTPUT_TOKENS_RECOVERY_LIMIT = 3;
366632
366704
  var init_query2 = __esm(() => {
366633
366705
  init_withRetry();
366634
366706
  init_autoCompact();
@@ -366737,7 +366809,7 @@ function getAnthropicEnvMetadata() {
366737
366809
  function getBuildAgeMinutes() {
366738
366810
  if (false)
366739
366811
  ;
366740
- const buildTime = new Date("2026-08-15T17:55:08.183Z").getTime();
366812
+ const buildTime = new Date("2026-08-23T12:37:37.196Z").getTime();
366741
366813
  if (isNaN(buildTime))
366742
366814
  return;
366743
366815
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -367831,6 +367903,68 @@ Please provide your summary following this structure, ensuring precision and tho
367831
367903
  REMINDER: Do NOT call any tools. Respond with plain text only — ` + "an <analysis> block followed by a <summary> block. " + "Tool calls will be rejected and you will fail the task.";
367832
367904
  });
367833
367905
 
367906
+ // src/services/compact/turnSlicing.ts
367907
+ function isRealUserPrompt(message) {
367908
+ if (message.type !== "user") {
367909
+ return false;
367910
+ }
367911
+ if (message.isMeta || message.isCompactSummary || message.isVisibleInTranscriptOnly || message.isVirtual) {
367912
+ return false;
367913
+ }
367914
+ const content = message.message.content;
367915
+ if (typeof content === "string") {
367916
+ return true;
367917
+ }
367918
+ return Array.isArray(content) && !content.some((block2) => block2.type === "tool_result");
367919
+ }
367920
+ function turnContainsUnansweredMedia(messages) {
367921
+ let sawAssistant = false;
367922
+ for (const message of messages) {
367923
+ if (message.type === "assistant") {
367924
+ sawAssistant = true;
367925
+ continue;
367926
+ }
367927
+ if (!sawAssistant || message.type !== "user" || typeof message.message.content === "string") {
367928
+ continue;
367929
+ }
367930
+ const hasMedia = message.message.content.some((block2) => block2?.type === "image" || block2?.type === "document");
367931
+ if (hasMedia) {
367932
+ return true;
367933
+ }
367934
+ }
367935
+ return false;
367936
+ }
367937
+ function selectTailTurns(messages, keepTurns = 3) {
367938
+ const groups = [];
367939
+ let current2 = [];
367940
+ for (const message of messages) {
367941
+ if (isRealUserPrompt(message) && current2.length > 0) {
367942
+ groups.push(current2);
367943
+ current2 = [message];
367944
+ } else {
367945
+ current2.push(message);
367946
+ }
367947
+ }
367948
+ if (current2.length > 0) {
367949
+ groups.push(current2);
367950
+ }
367951
+ if (groups.length < 2) {
367952
+ return { kept: [], summarizedCount: messages.length };
367953
+ }
367954
+ const keepGroupCount = Math.min(keepTurns, groups.length - 1);
367955
+ const keptGroups = groups.slice(groups.length - keepGroupCount);
367956
+ const summarizedGroups = groups.slice(0, groups.length - keepGroupCount);
367957
+ const kept = keptGroups.flat();
367958
+ const summarizedCount = summarizedGroups.reduce((sum, group) => sum + group.length, 0);
367959
+ if (summarizedCount < 1 || kept.length > messages.length * 0.6) {
367960
+ return { kept: [], summarizedCount: messages.length };
367961
+ }
367962
+ if (turnContainsUnansweredMedia(kept)) {
367963
+ return { kept: [], summarizedCount: messages.length };
367964
+ }
367965
+ return { kept, summarizedCount };
367966
+ }
367967
+
367834
367968
  // src/services/compact/compact.ts
367835
367969
  function stripImagesFromMessages(messages) {
367836
367970
  return messages.map((message) => {
@@ -368081,19 +368215,24 @@ async function compactConversation(messages, context6, cacheSafeParams, suppress
368081
368215
  ].sort();
368082
368216
  }
368083
368217
  const transcriptPath = getTranscriptPath();
368218
+ const { kept: keptTail } = selectTailTurns(messages);
368084
368219
  const summaryMessages = [
368085
368220
  createUserMessage({
368086
- content: getCompactUserSummaryMessage(summary, suppressFollowUpQuestions, transcriptPath),
368221
+ content: getCompactUserSummaryMessage(summary, suppressFollowUpQuestions, transcriptPath, keptTail.length > 0),
368087
368222
  isCompactSummary: true,
368088
368223
  isVisibleInTranscriptOnly: true
368089
368224
  })
368090
368225
  ];
368226
+ if (keptTail.length > 0) {
368227
+ boundaryMarker.compactMetadata = annotateBoundaryWithPreservedSegment(boundaryMarker, summaryMessages.at(-1).uuid, keptTail).compactMetadata;
368228
+ }
368091
368229
  const compactionCallTotalTokens = tokenCountFromLastAPIResponse([
368092
368230
  summaryResponse
368093
368231
  ]);
368094
368232
  const truePostCompactTokenCount = roughTokenCountEstimationForMessages([
368095
368233
  boundaryMarker,
368096
368234
  ...summaryMessages,
368235
+ ...keptTail,
368097
368236
  ...postCompactFileAttachments,
368098
368237
  ...hookMessages
368099
368238
  ]);
@@ -368147,6 +368286,7 @@ async function compactConversation(messages, context6, cacheSafeParams, suppress
368147
368286
  return {
368148
368287
  boundaryMarker,
368149
368288
  summaryMessages,
368289
+ messagesToKeep: keptTail.length > 0 ? keptTail : undefined,
368150
368290
  attachments: postCompactFileAttachments,
368151
368291
  hookResults: hookMessages,
368152
368292
  userDisplayMessage: combinedUserDisplayMessage || undefined,
@@ -369282,9 +369422,24 @@ function getEffectiveContextWindowSize(model) {
369282
369422
  const reservedTokensForSummary = getCompactSummaryMaxOutputTokensForModel(model, contextWindow);
369283
369423
  return Math.max(0, contextWindow - reservedTokensForSummary);
369284
369424
  }
369285
- function usesMaximoModelLimits(model) {
369286
- const limits = getCachedMaximoModelLimits(model);
369287
- return Boolean(limits?.contextWindow && limits.maxOutputTokens);
369425
+ function clampAutoCompactPercent(value) {
369426
+ if (!Number.isFinite(value))
369427
+ return AUTOCOMPACT_DEFAULT_PERCENT;
369428
+ return Math.min(AUTOCOMPACT_MAX_PERCENT, Math.max(AUTOCOMPACT_MIN_PERCENT, Math.floor(value)));
369429
+ }
369430
+ function getAutoCompactPercent() {
369431
+ const envPercent = process.env.MAXIMO_SYNTAX_AUTOCOMPACT_PCT;
369432
+ if (envPercent) {
369433
+ const parsed = parseFloat(envPercent);
369434
+ if (!isNaN(parsed) && parsed > 0 && parsed <= 100) {
369435
+ return clampAutoCompactPercent(parsed);
369436
+ }
369437
+ }
369438
+ const configured = getGlobalConfig().autoCompactPercent;
369439
+ if (typeof configured === "number") {
369440
+ return clampAutoCompactPercent(configured);
369441
+ }
369442
+ return AUTOCOMPACT_DEFAULT_PERCENT;
369288
369443
  }
369289
369444
  function getMaximoOutputRatio(model) {
369290
369445
  const limits = getCachedMaximoModelLimits(model);
@@ -369301,17 +369456,15 @@ function getThresholdBufferTokens(model, threshold, fallback) {
369301
369456
  return Math.floor(Math.min(threshold, threshold * outputRatio));
369302
369457
  }
369303
369458
  function getAutoCompactThreshold(model) {
369304
- const effectiveContextWindow = getEffectiveContextWindowSize(model);
369305
- const autocompactThreshold = usesMaximoModelLimits(model) ? effectiveContextWindow : effectiveContextWindow - AUTOCOMPACT_BUFFER_TOKENS;
369306
- const envPercent = process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE;
369307
- if (envPercent) {
369308
- const parsed = parseFloat(envPercent);
369309
- if (!isNaN(parsed) && parsed > 0 && parsed <= 100) {
369310
- const percentageThreshold = Math.floor(effectiveContextWindow * (parsed / 100));
369311
- return Math.min(percentageThreshold, autocompactThreshold);
369459
+ let contextWindow = getContextWindowForModel(model, getSdkBetas());
369460
+ const autoCompactWindow = process.env.MAXIMO_SYNTAX_AUTO_COMPACT_WINDOW;
369461
+ if (autoCompactWindow) {
369462
+ const parsed = parseInt(autoCompactWindow, 10);
369463
+ if (!isNaN(parsed) && parsed > 0) {
369464
+ contextWindow = Math.min(contextWindow, parsed);
369312
369465
  }
369313
369466
  }
369314
- return Math.max(0, autocompactThreshold);
369467
+ return Math.max(0, Math.floor(contextWindow * (getAutoCompactPercent() / 100)));
369315
369468
  }
369316
369469
  function calculateTokenWarningState(tokenUsage, model) {
369317
369470
  const autoCompactThreshold = getAutoCompactThreshold(model);
@@ -369407,6 +369560,10 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
369407
369560
  return { wasCompacted: false };
369408
369561
  }
369409
369562
  const model = toolUseContext.options.mainLoopModel;
369563
+ if (skipInitialAutoCompact) {
369564
+ skipInitialAutoCompact = false;
369565
+ return { wasCompacted: false };
369566
+ }
369410
369567
  const shouldCompact = await shouldAutoCompact(messages, model, querySource, snipTokensFreed);
369411
369568
  if (!shouldCompact) {
369412
369569
  return { wasCompacted: false };
@@ -369418,16 +369575,18 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
369418
369575
  autoCompactThreshold: getAutoCompactThreshold(model),
369419
369576
  querySource
369420
369577
  };
369421
- const sessionMemoryResult = await trySessionMemoryCompaction(messages, toolUseContext.agentId, recompactionInfo.autoCompactThreshold);
369422
- if (sessionMemoryResult) {
369423
- setLastSummarizedMessageId(undefined);
369424
- runPostCompactCleanup(querySource);
369425
- if (false) {}
369426
- markPostCompaction();
369427
- return {
369428
- wasCompacted: true,
369429
- compactionResult: sessionMemoryResult
369430
- };
369578
+ if (!isEnvTruthy(process.env.MAXIMO_SYNTAX_DISABLE_KEEP_TAIL_COMPACT)) {
369579
+ const sessionMemoryResult = await trySessionMemoryCompaction(messages, toolUseContext.agentId, recompactionInfo.autoCompactThreshold);
369580
+ if (sessionMemoryResult) {
369581
+ setLastSummarizedMessageId(undefined);
369582
+ runPostCompactCleanup(querySource);
369583
+ if (false) {}
369584
+ markPostCompaction();
369585
+ return {
369586
+ wasCompacted: true,
369587
+ compactionResult: sessionMemoryResult
369588
+ };
369589
+ }
369431
369590
  }
369432
369591
  try {
369433
369592
  const compactionResult = await compactConversation(messages, toolUseContext, cacheSafeParams, true, undefined, true, recompactionInfo);
@@ -369450,7 +369609,7 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
369450
369609
  return { wasCompacted: false, consecutiveFailures: nextFailures };
369451
369610
  }
369452
369611
  }
369453
- var AUTOCOMPACT_BUFFER_TOKENS = 13000, WARNING_THRESHOLD_BUFFER_TOKENS = 20000, ERROR_THRESHOLD_BUFFER_TOKENS = 20000, MANUAL_COMPACT_BUFFER_TOKENS = 3000, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3;
369612
+ var AUTOCOMPACT_DEFAULT_PERCENT = 40, AUTOCOMPACT_MIN_PERCENT = 10, AUTOCOMPACT_MAX_PERCENT = 70, WARNING_THRESHOLD_BUFFER_TOKENS = 20000, ERROR_THRESHOLD_BUFFER_TOKENS = 20000, MANUAL_COMPACT_BUFFER_TOKENS = 3000, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3, skipInitialAutoCompact;
369454
369613
  var init_autoCompact = __esm(() => {
369455
369614
  init_state();
369456
369615
  init_state();
@@ -369468,6 +369627,7 @@ var init_autoCompact = __esm(() => {
369468
369627
  init_compact();
369469
369628
  init_postCompactCleanup();
369470
369629
  init_sessionMemoryCompact();
369630
+ skipInitialAutoCompact = isEnvTruthy(process.env.MAXIMO_SYNTAX_SKIP_FIRST_AUTOCOMPACT);
369471
369631
  });
369472
369632
 
369473
369633
  // src/utils/analyzeContext.ts
@@ -397357,6 +397517,11 @@ var init_autoUpdateSchedulerSetup = __esm(() => {
397357
397517
  });
397358
397518
 
397359
397519
  // src/components/Settings/Config.tsx
397520
+ function clampAutoCompactPercentSetting(value) {
397521
+ if (typeof value !== "number" || !Number.isFinite(value))
397522
+ return 40;
397523
+ return Math.min(70, Math.max(10, Math.round(value)));
397524
+ }
397360
397525
  function Config({
397361
397526
  onClose,
397362
397527
  context: context6,
@@ -397505,6 +397670,24 @@ function Config({
397505
397670
  });
397506
397671
  }
397507
397672
  },
397673
+ {
397674
+ id: "autoCompactPercent",
397675
+ label: "Auto-compact threshold (% of context)",
397676
+ value: String(clampAutoCompactPercentSetting(globalConfig2.autoCompactPercent)),
397677
+ options: ["10", "20", "30", "40", "50", "60", "70"],
397678
+ type: "enum",
397679
+ onChange(autoCompactPercent) {
397680
+ const percent = Number(autoCompactPercent);
397681
+ saveGlobalConfig((current2) => ({
397682
+ ...current2,
397683
+ autoCompactPercent: percent
397684
+ }));
397685
+ setGlobalConfig({
397686
+ ...getGlobalConfig(),
397687
+ autoCompactPercent: percent
397688
+ });
397689
+ }
397690
+ },
397508
397691
  {
397509
397692
  id: "spinnerTipsEnabled",
397510
397693
  label: "Show tips",
@@ -432815,7 +432998,7 @@ function getRecentActivitySync() {
432815
432998
  return cachedActivity;
432816
432999
  }
432817
433000
  function getLogoDisplayData() {
432818
- const version2 = process.env.DEMO_VERSION ?? "0.1.37" ?? "99.0.0";
433001
+ const version2 = process.env.DEMO_VERSION ?? "0.1.39" ?? "99.0.0";
432819
433002
  const serverUrl = getDirectConnectServerUrl();
432820
433003
  const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
432821
433004
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -462280,7 +462463,7 @@ var init_bridge_kick = __esm(() => {
462280
462463
  var call57 = async () => {
462281
462464
  return {
462282
462465
  type: "text",
462283
- value: `${"99.0.0"} (built ${"2026-08-15T17:55:08.183Z"})`
462466
+ value: `${"99.0.0"} (built ${"2026-08-23T12:37:37.196Z"})`
462284
462467
  };
462285
462468
  }, version2, version_default;
462286
462469
  var init_version = __esm(() => {
@@ -487473,6 +487656,7 @@ var init_managedEnv = __esm(() => {
487473
487656
  init_managedEnvConstants();
487474
487657
  init_mtls();
487475
487658
  init_proxy();
487659
+ init_modelDefaults();
487476
487660
  init_constants2();
487477
487661
  init_settings2();
487478
487662
  TRUSTED_SETTING_SOURCES = [
@@ -536812,7 +536996,7 @@ function SetupRow({ children }) {
536812
536996
  }
536813
536997
  function WelcomeV2() {
536814
536998
  const { columns } = useTerminalSize();
536815
- const version3 = "0.1.37";
536999
+ const version3 = "0.1.39";
536816
537000
  const width = Math.max(48, Math.min(columns || 92, 92));
536817
537001
  const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
536818
537002
  return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
@@ -556748,7 +556932,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
556748
556932
  pendingHookMessages
556749
556933
  }, renderAndRun);
556750
556934
  }
556751
- }).version("0.1.37 (Maximo Syntax)", "-v, --version", "Output the version number");
556935
+ }).version("0.1.39 (Maximo Syntax)", "-v, --version", "Output the version number");
556752
556936
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
556753
556937
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
556754
556938
  if (canUserConfigureAdvisor()) {
@@ -557287,7 +557471,7 @@ function validateProviderEnvOrExit() {
557287
557471
  async function main2() {
557288
557472
  const args = process.argv.slice(2);
557289
557473
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
557290
- console.log(`${"0.1.37"} (Maximo Syntax)`);
557474
+ console.log(`${"0.1.39"} (Maximo Syntax)`);
557291
557475
  return;
557292
557476
  }
557293
557477
  validateProviderEnvOrExit();
@@ -557364,4 +557548,4 @@ async function main2() {
557364
557548
  }
557365
557549
  main2();
557366
557550
 
557367
- //# debugId=FF97CF4ACB87F2D964756E2164756E21
557551
+ //# debugId=8818C1A459D7EBB064756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maximoai/maximo-syntax-cli",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
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": {