@maximoai/maximo-syntax-cli 0.1.50 → 0.1.52

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 (3) hide show
  1. package/README.md +4 -0
  2. package/dist/cli.mjs +275 -153
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -385,3 +385,7 @@ Maximo Syntax CLI is an independent community project and is not affiliated with
385
385
  ## License
386
386
 
387
387
  MIT
388
+
389
+ ### Temporary auto-mode full access (0.1.51)
390
+
391
+ Auto mode temporarily allows every tool permission request without consulting the classifier or permission rules. The classifier implementation is retained. Set `MAXIMO_AUTO_MODE_FULL_ACCESS=0` before launching to restore its normal decision flow. Other permission modes, tool input validation, and computer save/restore behavior are unchanged.
package/dist/cli.mjs CHANGED
@@ -124100,7 +124100,7 @@ var init_metadata = __esm(() => {
124100
124100
  isMaximoAiAuth: isMaximoAISubscriber(),
124101
124101
  version: "99.0.0",
124102
124102
  versionBase: getVersionBase(),
124103
- buildTime: "2026-10-08T13:00:55.078Z",
124103
+ buildTime: "2026-11-05T01:52:52.911Z",
124104
124104
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
124105
124105
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
124106
124106
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -237793,18 +237793,35 @@ Plan mode note: In plan mode, use this tool to clarify requirements or choose be
237793
237793
  // src/tools/ImageGenerationTool/prompt.ts
237794
237794
  function getImageGenerationPrompt() {
237795
237795
  return `
237796
- - Allows Maximo to generate images using the connected Maximo AI backend's image generation tool
237797
- - Generates images via the backend (Maximo AI API / MyTabulon) in a single API call
237798
- - Use this tool when the user asks for an image, illustration, logo, concept art, or any visual asset
237799
- - Returns the generated image URL(s) which Maximo should present to the user as markdown links/images
237800
-
237801
- Usage notes:
237802
- - Provide a detailed, descriptive prompt for best results (subject, style, composition, lighting)
237803
- - Optional: aspect_ratio (e.g. "16:9", "1:1", "4:3"), size ("1K", "2K", "4K"), output count
237804
- - After generating, include the image in your response using markdown: ![description](exact_url_from_tool_result)
237796
+ - Allows Maximo to generate new images and edit existing ones using the connected Maximo AI backend's image tool
237797
+ - Runs through the backend (Maximo AI API / MyTabulon) in a single API call
237798
+ - Use this tool when the user asks for an image, illustration, logo, concept art, or any visual asset, or wants to change, restyle, combine, or build on an existing image
237799
+ - Returns the image URL(s) which Maximo should present to the user as markdown links/images
237800
+
237801
+ Generating:
237802
+ - Provide a detailed, descriptive prompt (subject, style, composition, lighting)
237803
+
237804
+ Editing (MyTabulon logins only):
237805
+ - Pass the source images in images: local file paths, http(s) URLs, or data: URIs, up to 10. Supplying any image makes the request an edit, even if the user said generate, create, or draw.
237806
+ - For files already in the MyTabulon workspace, pass source_document_ids. An edit result's document IDs can be used to keep editing it.
237807
+ - Describe the change ("replace the background with a snowy mountain") rather than re-describing the whole scene
237808
+ - Leave aspect_ratio unset or "auto" so the output follows the first source image
237809
+
237810
+ Controls, all optional:
237811
+ - aspect_ratio: "auto", "21:9", "2:1", "16:9", "3:2", "7:5", "4:3", "5:4", "1:1", "4:5", "3:4", "5:7", "2:3", "9:16", "1:2", "9:21"
237812
+ - resolution: "512", "1K", "1.5K", "2K", "4K" (the plan sets the maximum; size is an older name for the same thing)
237813
+ - output_count: 1-8 images, capped by the plan
237814
+ - model: "mini" for fast everyday work, "pro" for premium, text-heavy, or brand-accurate work, "auto" to let the plan decide
237815
+ - output_format: "png" (default), "jpg", or "webp"; output_quality: 0-100 for jpg and webp
237816
+ - grounding: research the prompt on the web first. Useful for real people, places, and products. Off by default for edits.
237817
+ - safety_tolerance: 0 (strictest) to 2 (default)
237818
+ - title: a short name for the saved file
237819
+
237820
+ Results:
237821
+ - After the tool returns, include each image in your response using markdown: ![description](exact_url_from_tool_result)
237805
237822
  - CRITICAL: You MUST copy the URL(s) exactly as returned in the tool result text (lines like "Image 1 URL: https://..."). NEVER invent, guess, or reconstruct a URL — this includes https://example.com, https://via.placeholder.com, https://placehold.co, https://picsum.photos, or any placeholder. If you use any hallucinated/reconstructed/placeholder URL the image will be broken and the task fails.
237806
237823
  - Use the full URL exactly as returned - verbatim, one markdown image per URL. Do NOT shorten, re-encode, or change any part of it.
237807
- - If the tool result contains "No images were returned" you MUST report the failure verbatim and MUST NOT output any ![...](https://...) at all.
237824
+ - If the tool result contains "No images were returned" you MUST tell the user the reason it gives and MUST NOT output any ![...](https://...) at all.
237808
237825
  `;
237809
237826
  }
237810
237827
  var IMAGE_GENERATION_TOOL_NAME = "ImageGeneration";
@@ -277379,7 +277396,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
277379
277396
  import { homedir as homedir22 } from "os";
277380
277397
  import { join as join65 } from "path";
277381
277398
  function getCurrentRealVersion() {
277382
- return "0.1.50";
277399
+ return "0.1.52";
277383
277400
  }
277384
277401
  async function getRolloutConfig() {
277385
277402
  try {
@@ -347914,6 +347931,80 @@ REMINDER: You MUST include the sources above in your response to the user using
347914
347931
  });
347915
347932
  });
347916
347933
 
347934
+ // src/tools/ImageGenerationTool/imageRequest.ts
347935
+ import { readFile as readFile25 } from "node:fs/promises";
347936
+ import { extname as extname12 } from "node:path";
347937
+ function isImageEdit(input) {
347938
+ return Boolean(input.images?.length || input.source_document_ids?.length);
347939
+ }
347940
+ async function resolveSourceImage(source) {
347941
+ if (/^(https?:|data:)/i.test(source))
347942
+ return source;
347943
+ const filePath = expandPath(source);
347944
+ const mimeType = IMAGE_MIME_TYPES2[extname12(filePath).toLowerCase()];
347945
+ if (!mimeType) {
347946
+ throw new Error(`${source} is not an image file. Use a JPEG, PNG, GIF, or WebP file.`);
347947
+ }
347948
+ let file2;
347949
+ try {
347950
+ file2 = await readFile25(filePath);
347951
+ } catch {
347952
+ throw new Error(`Could not read ${source}. Check the path and try again.`);
347953
+ }
347954
+ if (file2.length > MAX_SOURCE_IMAGE_BYTES) {
347955
+ throw new Error(`${source} is over the 16 MB limit for a source image.`);
347956
+ }
347957
+ return `data:${mimeType};base64,${file2.toString("base64")}`;
347958
+ }
347959
+ async function buildImageRequestBody(input, isMyTabulon) {
347960
+ if (!isMyTabulon) {
347961
+ if (isImageEdit(input)) {
347962
+ throw new Error("Editing images needs a MyTabulon login. Maximo AI logins can only generate new images.");
347963
+ }
347964
+ const body = { prompt: input.prompt };
347965
+ for (const option of MAXIMO_AI_OPTIONS) {
347966
+ if (input[option] !== undefined)
347967
+ body[option] = input[option];
347968
+ }
347969
+ if (body.size === undefined && input.resolution !== undefined)
347970
+ body.size = input.resolution;
347971
+ return body;
347972
+ }
347973
+ const { images, ...rest } = input;
347974
+ if (!images?.length)
347975
+ return rest;
347976
+ return { ...rest, images: await Promise.all(images.map(resolveSourceImage)) };
347977
+ }
347978
+ function imageErrorMessage(status, rawText) {
347979
+ try {
347980
+ const parsed = JSON.parse(rawText);
347981
+ const nested = parsed.error && typeof parsed.error === "object" ? parsed.error.message : parsed.error;
347982
+ const message = parsed.message ?? nested;
347983
+ if (typeof message === "string" && message.trim())
347984
+ return message.trim();
347985
+ } catch {}
347986
+ return `The image backend returned HTTP ${status}.`;
347987
+ }
347988
+ var MAX_SOURCE_IMAGE_BYTES, IMAGE_MIME_TYPES2, MAXIMO_AI_OPTIONS;
347989
+ var init_imageRequest = __esm(() => {
347990
+ init_path2();
347991
+ MAX_SOURCE_IMAGE_BYTES = 16 * 1024 * 1024;
347992
+ IMAGE_MIME_TYPES2 = {
347993
+ ".avif": "image/avif",
347994
+ ".bmp": "image/bmp",
347995
+ ".gif": "image/gif",
347996
+ ".heic": "image/heic",
347997
+ ".heif": "image/heif",
347998
+ ".jpeg": "image/jpeg",
347999
+ ".jpg": "image/jpeg",
348000
+ ".png": "image/png",
348001
+ ".tif": "image/tiff",
348002
+ ".tiff": "image/tiff",
348003
+ ".webp": "image/webp"
348004
+ };
348005
+ MAXIMO_AI_OPTIONS = ["aspect_ratio", "size", "output_count"];
348006
+ });
348007
+
347917
348008
  // src/tools/ImageGenerationTool/ImageGenerationTool.ts
347918
348009
  function resolveImageEndpoint(baseUrl) {
347919
348010
  const trimmed = baseUrl.replace(/\/+$/, "");
@@ -347931,28 +348022,41 @@ var init_ImageGenerationTool = __esm(() => {
347931
348022
  init_maximoModels();
347932
348023
  init_Tool();
347933
348024
  init_log3();
348025
+ init_imageRequest();
347934
348026
  inputSchema23 = lazySchema(() => exports_external.strictObject({
347935
- prompt: exports_external.string().min(1).describe("The image generation prompt to use"),
347936
- aspect_ratio: exports_external.string().optional().describe('Aspect ratio for the image (e.g. "16:9", "1:1", "4:3")'),
347937
- size: exports_external.string().optional().describe('Image size/resolution (e.g. "1K", "2K", "4K")'),
347938
- output_count: exports_external.number().int().positive().max(4).optional().describe("Number of images to generate (1-4)")
348027
+ prompt: exports_external.string().min(1).describe("What to generate, or the edit to apply to the source images"),
348028
+ images: exports_external.array(exports_external.string().min(1)).max(10).optional().describe("Source images to edit or draw from: local file paths, http(s) URLs, or data: URIs. Any image makes this an edit (MyTabulon logins only)."),
348029
+ source_document_ids: exports_external.array(exports_external.string().min(1)).max(10).optional().describe("MyTabulon Files document IDs to edit or draw from"),
348030
+ aspect_ratio: exports_external.string().optional().describe('Aspect ratio: "auto", "21:9", "2:1", "16:9", "3:2", "7:5", "4:3", "5:4", "1:1", "4:5", "3:4", "5:7", "2:3", "9:16", "1:2", or "9:21". Leave unset for edits so the first source sets it.'),
348031
+ resolution: exports_external.string().optional().describe('Output resolution: "512", "1K", "1.5K", "2K", or "4K"'),
348032
+ size: exports_external.string().optional().describe('Older name for resolution (e.g. "1K", "2K", "4K")'),
348033
+ output_count: exports_external.number().int().positive().max(8).optional().describe("Number of images to make (1-8, capped by the plan)"),
348034
+ model: exports_external.enum(["auto", "mini", "pro"]).optional().describe('"mini" for fast everyday work, "pro" for premium or text-heavy work'),
348035
+ output_format: exports_external.enum(["png", "jpg", "webp"]).optional().describe("Output file format. Defaults to png."),
348036
+ output_quality: exports_external.number().int().min(0).max(100).optional().describe("Quality for jpg and webp output, 0-100"),
348037
+ grounding: exports_external.boolean().optional().describe("Research the prompt on the web before making the image"),
348038
+ safety_tolerance: exports_external.number().int().min(0).max(2).optional().describe("Moderation strictness: 0 is strictest, 2 is the default"),
348039
+ title: exports_external.string().optional().describe("Short name for the saved file")
347939
348040
  }));
347940
348041
  outputSchema19 = lazySchema(() => exports_external.object({
347941
348042
  prompt: exports_external.string().describe("The image prompt that was executed"),
347942
348043
  images: exports_external.array(exports_external.object({
347943
- url: exports_external.string().describe("The URL of the generated image")
348044
+ url: exports_external.string().describe("The URL of the generated image"),
348045
+ document_id: exports_external.string().nullable().optional().describe("The saved file's ID, usable as a source for another edit")
347944
348046
  })).describe("The generated image URLs"),
348047
+ edited: exports_external.boolean().optional().describe("True when source images were edited"),
348048
+ error: exports_external.string().optional().describe("Why no images were returned"),
347945
348049
  credits: exports_external.unknown().optional().describe("Credit/usage info from the backend"),
347946
348050
  modelUsed: exports_external.string().nullable().optional(),
347947
348051
  durationSeconds: exports_external.number().describe("Time taken to complete the image generation operation")
347948
348052
  }));
347949
348053
  ImageGenerationTool = buildTool({
347950
348054
  name: IMAGE_GENERATION_TOOL_NAME,
347951
- searchHint: "generate images with the connected Maximo backend",
348055
+ searchHint: "generate or edit images with the connected Maximo backend",
347952
348056
  maxResultSizeChars: 1e5,
347953
348057
  shouldDefer: true,
347954
348058
  async description(input) {
347955
- return `Maximo wants to generate an image for: ${input.prompt}`;
348059
+ return `Maximo wants to ${isImageEdit(input) ? "edit an image" : "generate an image"} for: ${input.prompt}`;
347956
348060
  },
347957
348061
  userFacingName() {
347958
348062
  return "Image Generation";
@@ -347998,11 +348102,13 @@ var init_ImageGenerationTool = __esm(() => {
347998
348102
  async prompt() {
347999
348103
  return getImageGenerationPrompt();
348000
348104
  },
348001
- renderToolUseMessage({ prompt }, { verbose }) {
348105
+ renderToolUseMessage(input, { verbose }) {
348106
+ const { prompt } = input;
348002
348107
  if (!prompt) {
348003
348108
  return null;
348004
348109
  }
348005
- return `${verbose ? "Generating image for: " : ""}"${prompt}"`;
348110
+ const action2 = isImageEdit(input) ? "Editing image: " : "Generating image for: ";
348111
+ return `${verbose ? action2 : ""}"${prompt}"`;
348006
348112
  },
348007
348113
  renderToolUseProgressMessage() {
348008
348114
  return null;
@@ -348026,18 +348132,22 @@ var init_ImageGenerationTool = __esm(() => {
348026
348132
  },
348027
348133
  async call(input, context6, _canUseTool, _parentMessage, onProgress) {
348028
348134
  const startTime2 = performance.now();
348029
- const { prompt, ...rest } = input;
348135
+ const { prompt } = input;
348136
+ const edited = isImageEdit(input);
348030
348137
  const baseUrl = getMaximoAIBaseUrl();
348031
348138
  const apiKey = getMaximoApiKey();
348032
348139
  const endpoint = resolveImageEndpoint(baseUrl);
348140
+ const failed = (error42) => ({
348141
+ data: {
348142
+ prompt,
348143
+ images: [],
348144
+ edited,
348145
+ ...error42 ? { error: error42 } : {},
348146
+ durationSeconds: (performance.now() - startTime2) / 1000
348147
+ }
348148
+ });
348033
348149
  if (!apiKey || !endpoint) {
348034
- return {
348035
- data: {
348036
- prompt,
348037
- images: [],
348038
- durationSeconds: (performance.now() - startTime2) / 1000
348039
- }
348040
- };
348150
+ return failed();
348041
348151
  }
348042
348152
  if (onProgress) {
348043
348153
  onProgress({
@@ -348045,7 +348155,12 @@ var init_ImageGenerationTool = __esm(() => {
348045
348155
  data: { type: "image_generation_started", prompt }
348046
348156
  });
348047
348157
  }
348048
- const requestBody = { prompt, ...rest };
348158
+ let requestBody;
348159
+ try {
348160
+ requestBody = await buildImageRequestBody(input, baseUrl.includes("api.mytabulon.com"));
348161
+ } catch (error42) {
348162
+ return failed(error42.message);
348163
+ }
348049
348164
  try {
348050
348165
  const response = await fetch(endpoint.url, {
348051
348166
  method: "POST",
@@ -348058,28 +348173,19 @@ var init_ImageGenerationTool = __esm(() => {
348058
348173
  });
348059
348174
  const rawText = await response.text();
348060
348175
  if (!response.ok) {
348061
- logError2(new Error(`Image generation request failed (${response.status}): ${rawText}`));
348062
- return {
348063
- data: {
348064
- prompt,
348065
- images: [],
348066
- durationSeconds: (performance.now() - startTime2) / 1000
348067
- }
348068
- };
348176
+ logError2(new Error(`Image generation request failed (${response.status}): ${rawText.slice(0, 2000)}`));
348177
+ return failed(imageErrorMessage(response.status, rawText));
348069
348178
  }
348070
348179
  let parsed;
348071
348180
  try {
348072
348181
  parsed = JSON.parse(rawText);
348073
348182
  } catch {
348074
- return {
348075
- data: {
348076
- prompt,
348077
- images: [],
348078
- durationSeconds: (performance.now() - startTime2) / 1000
348079
- }
348080
- };
348183
+ return failed();
348081
348184
  }
348082
- const images = Array.isArray(parsed?.images) ? parsed.images.map((image) => image && typeof image === "object" && typeof image.url === "string" ? { url: image.url } : null).filter((image) => Boolean(image)) : [];
348185
+ const images = Array.isArray(parsed?.images) ? parsed.images.map((image) => image && typeof image === "object" && typeof image.url === "string" ? {
348186
+ url: image.url,
348187
+ document_id: image.document_id ?? null
348188
+ } : null).filter((image) => Boolean(image)) : [];
348083
348189
  if (onProgress) {
348084
348190
  onProgress({
348085
348191
  toolUseID: "image-progress-2",
@@ -348094,6 +348200,7 @@ var init_ImageGenerationTool = __esm(() => {
348094
348200
  data: {
348095
348201
  prompt,
348096
348202
  images,
348203
+ edited,
348097
348204
  credits: parsed?.credits ?? null,
348098
348205
  modelUsed: parsed?.modelUsed ?? null,
348099
348206
  durationSeconds: (performance.now() - startTime2) / 1000
@@ -348104,27 +348211,25 @@ var init_ImageGenerationTool = __esm(() => {
348104
348211
  throw error42;
348105
348212
  }
348106
348213
  logError2(error42);
348107
- return {
348108
- data: {
348109
- prompt,
348110
- images: [],
348111
- durationSeconds: (performance.now() - startTime2) / 1000
348112
- }
348113
- };
348214
+ return failed();
348114
348215
  }
348115
348216
  },
348116
348217
  mapToolResultToToolResultBlockParam(output, toolUseID) {
348117
- const { prompt, images } = output;
348218
+ const { prompt, images, edited, error: error42 } = output;
348118
348219
  const lines = [];
348119
- lines.push(`Generated image${images.length === 1 ? "" : "s"} for prompt: "${prompt}"`);
348220
+ lines.push(`${edited ? "Edited" : "Generated"} image${images.length === 1 ? "" : "s"} for prompt: "${prompt}"`);
348120
348221
  if (!images || images.length === 0) {
348121
- lines.push("No images were returned — generation failed. Do NOT invent a URL (never use https://example.com, https://via.placeholder.com, https://placehold.co, https://picsum.photos, or https://ai-image-output...). Tell the user it failed, why it might have (check login: Maximo AI / MyTabulon required), and ask to try again.");
348222
+ const reason = error42 ? `Reason: ${error42} Tell the user this reason.` : "Tell the user it failed, why it might have (check login: Maximo AI / MyTabulon required), and ask to try again.";
348223
+ lines.push(`No images were returned — ${edited ? "the edit" : "generation"} failed. Do NOT invent a URL (never use https://example.com, https://via.placeholder.com, https://placehold.co, https://picsum.photos, or https://ai-image-output...). ${reason}`);
348122
348224
  lines.push("FORBIDDEN PLACEHOLDERS: https://example.com, https://via.placeholder.com, https://placehold.co, https://picsum.photos — using any of these is a failure.");
348123
348225
  } else {
348124
348226
  for (let i3 = 0;i3 < images.length; i3++) {
348125
348227
  const url3 = images[i3]?.url;
348126
348228
  if (url3) {
348127
348229
  lines.push(`Image ${i3 + 1} URL: ${url3}`);
348230
+ if (images[i3]?.document_id) {
348231
+ lines.push(`Image ${i3 + 1} document ID (for further edits): ${images[i3].document_id}`);
348232
+ }
348128
348233
  }
348129
348234
  }
348130
348235
  lines.push("IMPORTANT: Use the exact URL(s) above verbatim in your markdown. Do NOT invent, shorten, or change the domain/path. Example: ![alt text](<exact URL>)");
@@ -352272,7 +352377,7 @@ __export(exports_voice2, {
352272
352377
  _resetAlsaCardsForTesting: () => _resetAlsaCardsForTesting
352273
352378
  });
352274
352379
  import { spawn as spawn6, spawnSync as spawnSync3 } from "child_process";
352275
- import { readFile as readFile25 } from "fs/promises";
352380
+ import { readFile as readFile26 } from "fs/promises";
352276
352381
  function loadAudioNapi() {
352277
352382
  audioNapiPromise ??= (async () => {
352278
352383
  const t0 = Date.now();
@@ -352327,7 +352432,7 @@ function _resetArecordProbeForTesting() {
352327
352432
  arecordProbe = null;
352328
352433
  }
352329
352434
  function linuxHasAlsaCards() {
352330
- linuxAlsaCardsMemo ??= readFile25("/proc/asound/cards", "utf8").then((cards) => {
352435
+ linuxAlsaCardsMemo ??= readFile26("/proc/asound/cards", "utf8").then((cards) => {
352331
352436
  const c6 = cards.trim();
352332
352437
  return c6 !== "" && !c6.includes("no soundcards");
352333
352438
  }, () => false);
@@ -354128,7 +354233,7 @@ import {
354128
354233
  chmod as chmod7,
354129
354234
  mkdir as mkdir22,
354130
354235
  readdir as readdir14,
354131
- readFile as readFile26,
354236
+ readFile as readFile27,
354132
354237
  unlink as unlink13,
354133
354238
  writeFile as writeFile22
354134
354239
  } from "fs/promises";
@@ -354176,7 +354281,7 @@ async function registerSession() {
354176
354281
  async function updatePidFile(patch) {
354177
354282
  const pidFile = join85(getSessionsDir(), `${process.pid}.json`);
354178
354283
  try {
354179
- const data = jsonParse(await readFile26(pidFile, "utf8"));
354284
+ const data = jsonParse(await readFile27(pidFile, "utf8"));
354180
354285
  await writeFile22(pidFile, jsonStringify({ ...data, ...patch }));
354181
354286
  } catch (e) {
354182
354287
  logForDebugging2(`[concurrentSessions] updatePidFile failed: ${errorMessage(e)}`);
@@ -364828,7 +364933,7 @@ var init_config5 = __esm(() => {
364828
364933
 
364829
364934
  // src/utils/readFileInRange.ts
364830
364935
  import { createReadStream as createReadStream2, fstat } from "fs";
364831
- import { stat as fsStat3, readFile as readFile27 } from "fs/promises";
364936
+ import { stat as fsStat3, readFile as readFile28 } from "fs/promises";
364832
364937
  async function readFileInRange(filePath, offset = 0, maxLines, maxBytes, signal, options2) {
364833
364938
  signal?.throwIfAborted();
364834
364939
  const truncateOnByteLimit = options2?.truncateOnByteLimit ?? false;
@@ -364840,7 +364945,7 @@ async function readFileInRange(filePath, offset = 0, maxLines, maxBytes, signal,
364840
364945
  if (!truncateOnByteLimit && maxBytes !== undefined && stats.size > maxBytes) {
364841
364946
  throw new FileTooLargeError(stats.size, maxBytes);
364842
364947
  }
364843
- const text = await readFile27(filePath, { encoding: "utf8", signal });
364948
+ const text = await readFile28(filePath, { encoding: "utf8", signal });
364844
364949
  return readFileInRangeFast(text, stats.mtimeMs, offset, maxLines, truncateOnByteLimit ? maxBytes : undefined);
364845
364950
  }
364846
364951
  return readFileInRangeStreaming(filePath, offset, maxLines, maxBytes, truncateOnByteLimit, signal);
@@ -368094,7 +368199,7 @@ function getAnthropicEnvMetadata() {
368094
368199
  function getBuildAgeMinutes() {
368095
368200
  if (false)
368096
368201
  ;
368097
- const buildTime = new Date("2026-10-08T13:00:55.078Z").getTime();
368202
+ const buildTime = new Date("2026-11-05T01:52:52.911Z").getTime();
368098
368203
  if (isNaN(buildTime))
368099
368204
  return;
368100
368205
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -368807,7 +368912,7 @@ var init_types11 = __esm(() => {
368807
368912
  });
368808
368913
 
368809
368914
  // src/services/internalLogging.ts
368810
- import { readFile as readFile28 } from "fs/promises";
368915
+ import { readFile as readFile29 } from "fs/promises";
368811
368916
  async function logPermissionContextForAnts(toolPermissionContext, moment) {
368812
368917
  if (process.env.USER_TYPE !== "ant") {
368813
368918
  return;
@@ -368831,7 +368936,7 @@ var init_internalLogging = __esm(() => {
368831
368936
  const namespacePath = "/var/run/secrets/kubernetes.io/serviceaccount/namespace";
368832
368937
  const namespaceNotFound = "namespace not found";
368833
368938
  try {
368834
- const content = await readFile28(namespacePath, { encoding: "utf8" });
368939
+ const content = await readFile29(namespacePath, { encoding: "utf8" });
368835
368940
  return content.trim();
368836
368941
  } catch {
368837
368942
  return namespaceNotFound;
@@ -368845,7 +368950,7 @@ var init_internalLogging = __esm(() => {
368845
368950
  const containerIdNotFound = "container ID not found";
368846
368951
  const containerIdNotFoundInMountinfo = "container ID not found in mountinfo";
368847
368952
  try {
368848
- const mountinfo = (await readFile28(containerIdPath, { encoding: "utf8" })).trim();
368953
+ const mountinfo = (await readFile29(containerIdPath, { encoding: "utf8" })).trim();
368849
368954
  const containerIdPattern = /(?:\/docker\/containers\/|\/sandboxes\/)([0-9a-f]{64})/;
368850
368955
  const lines = mountinfo.split(`
368851
368956
  `);
@@ -370207,7 +370312,7 @@ var init_postCompactCleanup = __esm(() => {
370207
370312
  });
370208
370313
 
370209
370314
  // src/services/SessionMemory/prompts.ts
370210
- import { readFile as readFile29 } from "fs/promises";
370315
+ import { readFile as readFile30 } from "fs/promises";
370211
370316
  import { join as join89 } from "path";
370212
370317
  function getDefaultUpdatePrompt() {
370213
370318
  return `IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "note-taking", "session notes extraction", or these update instructions in the notes content.
@@ -370251,7 +370356,7 @@ REMEMBER: Use the Edit tool in parallel and stop. Do not continue after the edit
370251
370356
  async function loadSessionMemoryTemplate() {
370252
370357
  const templatePath = join89(getMaximoConfigHomeDir(), "session-memory", "config", "template.md");
370253
370358
  try {
370254
- return await readFile29(templatePath, { encoding: "utf-8" });
370359
+ return await readFile30(templatePath, { encoding: "utf-8" });
370255
370360
  } catch (e) {
370256
370361
  const code = getErrnoCode(e);
370257
370362
  if (code === "ENOENT") {
@@ -370264,7 +370369,7 @@ async function loadSessionMemoryTemplate() {
370264
370369
  async function loadSessionMemoryPrompt() {
370265
370370
  const promptPath = join89(getMaximoConfigHomeDir(), "session-memory", "config", "prompt.md");
370266
370371
  try {
370267
- return await readFile29(promptPath, { encoding: "utf-8" });
370372
+ return await readFile30(promptPath, { encoding: "utf-8" });
370268
370373
  } catch (e) {
370269
370374
  const code = getErrnoCode(e);
370270
370375
  if (code === "ENOENT") {
@@ -371958,7 +372063,7 @@ var init_toolSearch = __esm(() => {
371958
372063
 
371959
372064
  // src/services/vcr.ts
371960
372065
  import { createHash as createHash20, randomUUID as randomUUID23 } from "crypto";
371961
- import { mkdir as mkdir23, readFile as readFile30, writeFile as writeFile24 } from "fs/promises";
372066
+ import { mkdir as mkdir23, readFile as readFile31, writeFile as writeFile24 } from "fs/promises";
371962
372067
  import { dirname as dirname36, join as join90 } from "path";
371963
372068
  function shouldUseVCR() {
371964
372069
  if (false) {}
@@ -371974,7 +372079,7 @@ async function withFixture(input, fixtureName, f) {
371974
372079
  const hash2 = createHash20("sha1").update(jsonStringify(input)).digest("hex").slice(0, 12);
371975
372080
  const filename = join90(process.env.MAXIMO_SYNTAX_TEST_FIXTURES_ROOT ?? getCwd(), `fixtures/${fixtureName}-${hash2}.json`);
371976
372081
  try {
371977
- const cached3 = jsonParse(await readFile30(filename, { encoding: "utf8" }));
372082
+ const cached3 = jsonParse(await readFile31(filename, { encoding: "utf8" }));
371978
372083
  return cached3;
371979
372084
  } catch (e) {
371980
372085
  const code = getErrnoCode(e);
@@ -372008,7 +372113,7 @@ async function withVCR(messages, f) {
372008
372113
  const dehydratedInput = mapMessages(messagesForAPI.map((_) => _.message.content), dehydrateValue);
372009
372114
  const filename = join90(process.env.MAXIMO_SYNTAX_TEST_FIXTURES_ROOT ?? getCwd(), `fixtures/${dehydratedInput.map((_) => createHash20("sha1").update(jsonStringify(_)).digest("hex").slice(0, 6)).join("-")}.json`);
372010
372115
  try {
372011
- const cached3 = jsonParse(await readFile30(filename, { encoding: "utf8" }));
372116
+ const cached3 = jsonParse(await readFile31(filename, { encoding: "utf8" }));
372012
372117
  cached3.output.forEach(addCachedCostToTotalSessionCost);
372013
372118
  return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID23()));
372014
372119
  } catch (e) {
@@ -372472,7 +372577,7 @@ var init_tokenEstimation = __esm(() => {
372472
372577
 
372473
372578
  // src/utils/pdf.ts
372474
372579
  import { randomUUID as randomUUID24 } from "crypto";
372475
- import { mkdir as mkdir24, readdir as readdir16, readFile as readFile31 } from "fs/promises";
372580
+ import { mkdir as mkdir24, readdir as readdir16, readFile as readFile32 } from "fs/promises";
372476
372581
  import { join as join91 } from "path";
372477
372582
  async function readPDF(filePath) {
372478
372583
  try {
@@ -372494,7 +372599,7 @@ async function readPDF(filePath) {
372494
372599
  }
372495
372600
  };
372496
372601
  }
372497
- const fileBuffer = await readFile31(filePath);
372602
+ const fileBuffer = await readFile32(filePath);
372498
372603
  const header = fileBuffer.subarray(0, 5).toString("ascii");
372499
372604
  if (!header.startsWith("%PDF-")) {
372500
372605
  return {
@@ -376340,7 +376445,7 @@ import {
376340
376445
  chmod as chmod8,
376341
376446
  lstat as lstat5,
376342
376447
  readdir as readdir19,
376343
- readFile as readFile32,
376448
+ readFile as readFile33,
376344
376449
  rename as rename3,
376345
376450
  rm as rm5,
376346
376451
  stat as stat33,
@@ -376485,7 +376590,7 @@ async function collectFilesForZip(baseDir, relativePath, files, visited) {
376485
376590
  await collectFilesForZip(baseDir, relPath, files, visited);
376486
376591
  } else if (fileStat.isFile()) {
376487
376592
  try {
376488
- const content = await readFile32(fullPath);
376593
+ const content = await readFile33(fullPath);
376489
376594
  files[relPath] = [
376490
376595
  new Uint8Array(content),
376491
376596
  { os: 3, attrs: (fileStat.mode & 65535) << 16 }
@@ -376996,7 +377101,7 @@ var init_marketplaceHelpers = __esm(() => {
376996
377101
  });
376997
377102
 
376998
377103
  // src/utils/plugins/officialMarketplaceGcs.ts
376999
- import { chmod as chmod9, mkdir as mkdir25, readFile as readFile33, rename as rename4, rm as rm7, writeFile as writeFile27 } from "fs/promises";
377104
+ import { chmod as chmod9, mkdir as mkdir25, readFile as readFile34, rename as rename4, rm as rm7, writeFile as writeFile27 } from "fs/promises";
377000
377105
  import { dirname as dirname40, join as join96, resolve as resolve32, sep as sep22 } from "path";
377001
377106
  async function fetchOfficialMarketplaceFromGcs(installLocation, marketplacesCacheDir) {
377002
377107
  const cacheDir = resolve32(marketplacesCacheDir);
@@ -377021,7 +377126,7 @@ async function fetchOfficialMarketplaceFromGcs(installLocation, marketplacesCach
377021
377126
  throw new Error("latest pointer returned empty body");
377022
377127
  }
377023
377128
  const sentinelPath = join96(installLocation, ".gcs-sha");
377024
- const currentSha = await readFile33(sentinelPath, "utf8").then((s) => s.trim(), () => null);
377129
+ const currentSha = await readFile34(sentinelPath, "utf8").then((s) => s.trim(), () => null);
377025
377130
  if (currentSha === sha) {
377026
377131
  outcome = "noop";
377027
377132
  return sha;
@@ -379127,7 +379232,7 @@ var init_pluginInstallationHelpers = __esm(() => {
379127
379232
  import {
379128
379233
  copyFile as copyFile7,
379129
379234
  readdir as readdir21,
379130
- readFile as readFile34,
379235
+ readFile as readFile35,
379131
379236
  readlink as readlink2,
379132
379237
  realpath as realpath11,
379133
379238
  rename as rename6,
@@ -379527,7 +379632,7 @@ async function cachePlugin(source, options2) {
379527
379632
  let manifest;
379528
379633
  if (await pathExists(manifestPath)) {
379529
379634
  try {
379530
- const content = await readFile34(manifestPath, { encoding: "utf-8" });
379635
+ const content = await readFile35(manifestPath, { encoding: "utf-8" });
379531
379636
  const parsed = jsonParse(content);
379532
379637
  const result = PluginManifestSchema().safeParse(parsed);
379533
379638
  if (result.success) {
@@ -379551,7 +379656,7 @@ async function cachePlugin(source, options2) {
379551
379656
  }
379552
379657
  } else if (await pathExists(legacyManifestPath)) {
379553
379658
  try {
379554
- const content = await readFile34(legacyManifestPath, {
379659
+ const content = await readFile35(legacyManifestPath, {
379555
379660
  encoding: "utf-8"
379556
379661
  });
379557
379662
  const parsed = jsonParse(content);
@@ -379601,7 +379706,7 @@ async function loadPluginManifest(manifestPath, pluginName, source) {
379601
379706
  };
379602
379707
  }
379603
379708
  try {
379604
- const content = await readFile34(manifestPath, { encoding: "utf-8" });
379709
+ const content = await readFile35(manifestPath, { encoding: "utf-8" });
379605
379710
  const parsedJson = jsonParse(content);
379606
379711
  const result = PluginManifestSchema().safeParse(parsedJson);
379607
379712
  if (result.success) {
@@ -379627,7 +379732,7 @@ async function loadPluginHooks2(hooksConfigPath, pluginName) {
379627
379732
  if (!await pathExists(hooksConfigPath)) {
379628
379733
  throw new Error(`Hooks file not found at ${hooksConfigPath} for plugin ${pluginName}. If the manifest declares hooks, the file must exist.`);
379629
379734
  }
379630
- const content = await readFile34(hooksConfigPath, { encoding: "utf-8" });
379735
+ const content = await readFile35(hooksConfigPath, { encoding: "utf-8" });
379631
379736
  const rawHooksConfig = jsonParse(content);
379632
379737
  const validatedPluginHooks = PluginHooksSchema().parse(rawHooksConfig);
379633
379738
  return validatedPluginHooks.hooks;
@@ -379930,7 +380035,7 @@ function parsePluginSettings(raw) {
379930
380035
  async function loadPluginSettings(pluginPath, manifest) {
379931
380036
  const settingsJsonPath = join100(pluginPath, "settings.json");
379932
380037
  try {
379933
- const content = await readFile34(settingsJsonPath, { encoding: "utf-8" });
380038
+ const content = await readFile35(settingsJsonPath, { encoding: "utf-8" });
379934
380039
  const parsed = jsonParse(content);
379935
380040
  if (isRecord(parsed)) {
379936
380041
  const filtered = parsePluginSettings(parsed);
@@ -385781,6 +385886,20 @@ var init_shouldUseSandbox = __esm(() => {
385781
385886
  init_bashPermissions();
385782
385887
  });
385783
385888
 
385889
+ // src/utils/permissions/autoModeFullAccess.ts
385890
+ function autoModeFullAccessDecision(mode, input) {
385891
+ if (mode !== "auto")
385892
+ return;
385893
+ if (["0", "false", "off"].includes((process.env.MAXIMO_AUTO_MODE_FULL_ACCESS ?? "").toLowerCase())) {
385894
+ return;
385895
+ }
385896
+ return {
385897
+ behavior: "allow",
385898
+ updatedInput: input,
385899
+ decisionReason: { type: "mode", mode: "auto" }
385900
+ };
385901
+ }
385902
+
385784
385903
  // src/tools/VerifyPlanExecutionTool/constants.ts
385785
385904
  var exports_constants = {};
385786
385905
  __export(exports_constants, {
@@ -386308,6 +386427,9 @@ function getUpdatedInputOrFallback(permissionResult, fallback) {
386308
386427
  return ("updatedInput" in permissionResult ? permissionResult.updatedInput : undefined) ?? fallback;
386309
386428
  }
386310
386429
  var classifierDecisionModule, autoModeStateModule3, CLASSIFIER_FAIL_CLOSED_REFRESH_MS, PERMISSION_RULE_SOURCES, hasPermissionsToUseTool = async (tool, input, context7, assistantMessage, toolUseID) => {
386430
+ const fullAccess = autoModeFullAccessDecision(context7.getAppState().toolPermissionContext.mode, input);
386431
+ if (fullAccess)
386432
+ return fullAccess;
386311
386433
  const result = await hasPermissionsToUseToolInner(tool, input, context7);
386312
386434
  if (result.behavior === "allow") {
386313
386435
  const appState = context7.getAppState();
@@ -388127,7 +388249,7 @@ __export(exports_terminalSetup, {
388127
388249
  call: () => call5
388128
388250
  });
388129
388251
  import { randomBytes as randomBytes14 } from "crypto";
388130
- import { copyFile as copyFile8, mkdir as mkdir26, readFile as readFile35, writeFile as writeFile29 } from "fs/promises";
388252
+ import { copyFile as copyFile8, mkdir as mkdir26, readFile as readFile36, writeFile as writeFile29 } from "fs/promises";
388131
388253
  import { homedir as homedir29, platform as platform4 } from "os";
388132
388254
  import { dirname as dirname46, join as join104 } from "path";
388133
388255
  import { pathToFileURL as pathToFileURL7 } from "url";
@@ -388274,7 +388396,7 @@ async function installBindingsForVSCodeTerminal(editor = "VSCode", theme) {
388274
388396
  let keybindings = [];
388275
388397
  let fileExists = false;
388276
388398
  try {
388277
- content = await readFile35(keybindingsPath, {
388399
+ content = await readFile36(keybindingsPath, {
388278
388400
  encoding: "utf-8"
388279
388401
  });
388280
388402
  fileExists = true;
@@ -388423,7 +388545,7 @@ chars = "\\u001B\\r"`;
388423
388545
  let configExists = false;
388424
388546
  for (const path17 of configPaths) {
388425
388547
  try {
388426
- configContent = await readFile35(path17, {
388548
+ configContent = await readFile36(path17, {
388427
388549
  encoding: "utf-8"
388428
388550
  });
388429
388551
  configPath = path17;
@@ -388485,7 +388607,7 @@ async function installBindingsForZed(theme) {
388485
388607
  let keymapContent = "[]";
388486
388608
  let fileExists = false;
388487
388609
  try {
388488
- keymapContent = await readFile35(keymapPath, {
388610
+ keymapContent = await readFile36(keymapPath, {
388489
388611
  encoding: "utf-8"
388490
388612
  });
388491
388613
  fileExists = true;
@@ -388558,7 +388680,7 @@ var init_terminalSetup = __esm(() => {
388558
388680
 
388559
388681
  // src/utils/pasteStore.ts
388560
388682
  import { createHash as createHash22 } from "crypto";
388561
- import { mkdir as mkdir27, readdir as readdir22, readFile as readFile36, stat as stat37, unlink as unlink15, writeFile as writeFile30 } from "fs/promises";
388683
+ import { mkdir as mkdir27, readdir as readdir22, readFile as readFile37, stat as stat37, unlink as unlink15, writeFile as writeFile30 } from "fs/promises";
388562
388684
  import { join as join105 } from "path";
388563
388685
  function getPasteStoreDir() {
388564
388686
  return join105(getMaximoConfigHomeDir(), PASTE_STORE_DIR);
@@ -388583,7 +388705,7 @@ async function storePastedText(hash2, content) {
388583
388705
  async function retrievePastedText(hash2) {
388584
388706
  try {
388585
388707
  const pastePath = getPastePath(hash2);
388586
- return await readFile36(pastePath, { encoding: "utf8" });
388708
+ return await readFile37(pastePath, { encoding: "utf8" });
388587
388709
  } catch (error42) {
388588
388710
  if (!isENOENT(error42)) {
388589
388711
  logForDebugging2(`Failed to retrieve paste ${hash2}: ${error42}`);
@@ -392654,7 +392776,7 @@ var init_issue = __esm(() => {
392654
392776
  });
392655
392777
 
392656
392778
  // src/components/Feedback.tsx
392657
- import { readFile as readFile37, stat as stat38 } from "fs/promises";
392779
+ import { readFile as readFile38, stat as stat38 } from "fs/promises";
392658
392780
  function redactSensitiveInfo(text) {
392659
392781
  let redacted = text;
392660
392782
  redacted = redacted.replace(/"(sk-ant[^\s"']{24,})"/g, '"[REDACTED_API_KEY]"');
@@ -392691,7 +392813,7 @@ async function loadRawTranscriptJsonl() {
392691
392813
  });
392692
392814
  return null;
392693
392815
  }
392694
- return await readFile37(transcriptPath, "utf-8");
392816
+ return await readFile38(transcriptPath, "utf-8");
392695
392817
  } catch {
392696
392818
  return null;
392697
392819
  }
@@ -418491,7 +418613,7 @@ var init_AddMarketplace = __esm(() => {
418491
418613
 
418492
418614
  // src/utils/plugins/installCounts.ts
418493
418615
  import { randomBytes as randomBytes15 } from "crypto";
418494
- import { readFile as readFile38, rename as rename7, unlink as unlink17, writeFile as writeFile36 } from "fs/promises";
418616
+ import { readFile as readFile39, rename as rename7, unlink as unlink17, writeFile as writeFile36 } from "fs/promises";
418495
418617
  import { join as join116 } from "path";
418496
418618
  function getInstallCountsCachePath() {
418497
418619
  return join116(getPluginsDirectory(), INSTALL_COUNTS_CACHE_FILENAME);
@@ -418499,7 +418621,7 @@ function getInstallCountsCachePath() {
418499
418621
  async function loadInstallCountsCache() {
418500
418622
  const cachePath = getInstallCountsCachePath();
418501
418623
  try {
418502
- const content = await readFile38(cachePath, { encoding: "utf-8" });
418624
+ const content = await readFile39(cachePath, { encoding: "utf-8" });
418503
418625
  const parsed = jsonParse(content);
418504
418626
  if (typeof parsed !== "object" || parsed === null || !("version" in parsed) || !("fetchedAt" in parsed) || !("counts" in parsed)) {
418505
418627
  logForDebugging2("Install counts cache has invalid structure");
@@ -422914,7 +423036,7 @@ var init_ManageMarketplaces = __esm(() => {
422914
423036
 
422915
423037
  // src/utils/plugins/pluginFlagging.ts
422916
423038
  import { randomBytes as randomBytes16 } from "crypto";
422917
- import { readFile as readFile39, rename as rename8, unlink as unlink18, writeFile as writeFile37 } from "fs/promises";
423039
+ import { readFile as readFile40, rename as rename8, unlink as unlink18, writeFile as writeFile37 } from "fs/promises";
422918
423040
  import { join as join118 } from "path";
422919
423041
  function getFlaggedPluginsPath() {
422920
423042
  return join118(getPluginsDirectory(), FLAGGED_PLUGINS_FILENAME);
@@ -422941,7 +423063,7 @@ function parsePluginsData(content) {
422941
423063
  }
422942
423064
  async function readFromDisk() {
422943
423065
  try {
422944
- const content = await readFile39(getFlaggedPluginsPath(), {
423066
+ const content = await readFile40(getFlaggedPluginsPath(), {
422945
423067
  encoding: "utf-8"
422946
423068
  });
422947
423069
  return parsePluginsData(content);
@@ -426220,7 +426342,7 @@ function parsePluginArgs(args) {
426220
426342
  }
426221
426343
 
426222
426344
  // src/utils/plugins/validatePlugin.ts
426223
- import { readdir as readdir25, readFile as readFile41, stat as stat40 } from "fs/promises";
426345
+ import { readdir as readdir25, readFile as readFile42, stat as stat40 } from "fs/promises";
426224
426346
  import * as path20 from "path";
426225
426347
  function detectManifestType(filePath) {
426226
426348
  const fileName = path20.basename(filePath);
@@ -426260,7 +426382,7 @@ async function validatePluginManifest(filePath) {
426260
426382
  const absolutePath = path20.resolve(filePath);
426261
426383
  let content;
426262
426384
  try {
426263
- content = await readFile41(absolutePath, { encoding: "utf-8" });
426385
+ content = await readFile42(absolutePath, { encoding: "utf-8" });
426264
426386
  } catch (error42) {
426265
426387
  const code = getErrnoCode(error42);
426266
426388
  let message;
@@ -426384,7 +426506,7 @@ async function validateMarketplaceManifest(filePath) {
426384
426506
  const absolutePath = path20.resolve(filePath);
426385
426507
  let content;
426386
426508
  try {
426387
- content = await readFile41(absolutePath, { encoding: "utf-8" });
426509
+ content = await readFile42(absolutePath, { encoding: "utf-8" });
426388
426510
  } catch (error42) {
426389
426511
  const code = getErrnoCode(error42);
426390
426512
  let message;
@@ -426470,7 +426592,7 @@ async function validateMarketplaceManifest(filePath) {
426470
426592
  const pluginJsonPath = path20.join(marketplaceRoot, entry.source, ".maximo-plugin", "plugin.json");
426471
426593
  let manifestVersion;
426472
426594
  try {
426473
- const raw = await readFile41(pluginJsonPath, { encoding: "utf-8" });
426595
+ const raw = await readFile42(pluginJsonPath, { encoding: "utf-8" });
426474
426596
  const parsed2 = jsonParse(raw);
426475
426597
  if (typeof parsed2.version === "string") {
426476
426598
  manifestVersion = parsed2.version;
@@ -426587,7 +426709,7 @@ function validateComponentFile(filePath, content, fileType) {
426587
426709
  async function validateHooksJson(filePath) {
426588
426710
  let content;
426589
426711
  try {
426590
- content = await readFile41(filePath, { encoding: "utf-8" });
426712
+ content = await readFile42(filePath, { encoding: "utf-8" });
426591
426713
  } catch (e) {
426592
426714
  const code = getErrnoCode(e);
426593
426715
  if (code === "ENOENT") {
@@ -426680,7 +426802,7 @@ async function validatePluginContents(pluginDir) {
426680
426802
  for (const filePath of files) {
426681
426803
  let content;
426682
426804
  try {
426683
- content = await readFile41(filePath, { encoding: "utf-8" });
426805
+ content = await readFile42(filePath, { encoding: "utf-8" });
426684
426806
  } catch (e) {
426685
426807
  if (isENOENT(e))
426686
426808
  continue;
@@ -426749,7 +426871,7 @@ async function validateManifest2(filePath) {
426749
426871
  return validateMarketplaceManifest(filePath);
426750
426872
  case "unknown": {
426751
426873
  try {
426752
- const content = await readFile41(absolutePath, { encoding: "utf-8" });
426874
+ const content = await readFile42(absolutePath, { encoding: "utf-8" });
426753
426875
  const parsed = jsonParse(content);
426754
426876
  if (Array.isArray(parsed.plugins)) {
426755
426877
  return validateMarketplaceManifest(filePath);
@@ -433024,7 +433146,7 @@ ${args ? "Additional user input: " + args : ""}
433024
433146
  });
433025
433147
 
433026
433148
  // src/utils/releaseNotes.ts
433027
- import { mkdir as mkdir32, readFile as readFile42, writeFile as writeFile38 } from "fs/promises";
433149
+ import { mkdir as mkdir32, readFile as readFile43, writeFile as writeFile38 } from "fs/promises";
433028
433150
  import { dirname as dirname52, join as join121 } from "path";
433029
433151
  function getChangelogCachePath() {
433030
433152
  return join121(getMaximoConfigHomeDir(), "cache", "changelog.md");
@@ -433074,7 +433196,7 @@ async function getStoredChangelog() {
433074
433196
  }
433075
433197
  const cachePath = getChangelogCachePath();
433076
433198
  try {
433077
- const content = await readFile42(cachePath, "utf-8");
433199
+ const content = await readFile43(cachePath, "utf-8");
433078
433200
  changelogMemoryCache = content;
433079
433201
  return content;
433080
433202
  } catch {
@@ -434349,7 +434471,7 @@ function getRecentActivitySync() {
434349
434471
  return cachedActivity;
434350
434472
  }
434351
434473
  function getLogoDisplayData() {
434352
- const version2 = process.env.DEMO_VERSION ?? "0.1.50" ?? "99.0.0";
434474
+ const version2 = process.env.DEMO_VERSION ?? "0.1.52" ?? "99.0.0";
434353
434475
  const serverUrl = getDirectConnectServerUrl();
434354
434476
  const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
434355
434477
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -449643,7 +449765,7 @@ __export(exports_thinkback, {
449643
449765
  playAnimation: () => playAnimation,
449644
449766
  call: () => call40
449645
449767
  });
449646
- import { readFile as readFile43 } from "fs/promises";
449768
+ import { readFile as readFile44 } from "fs/promises";
449647
449769
  import { join as join123 } from "path";
449648
449770
  function getMarketplaceName() {
449649
449771
  return OFFICIAL_MARKETPLACE_NAME;
@@ -449670,7 +449792,7 @@ async function playAnimation(skillDir) {
449670
449792
  const dataPath = join123(skillDir, "year_in_review.js");
449671
449793
  const playerPath = join123(skillDir, "player.js");
449672
449794
  try {
449673
- await readFile43(dataPath);
449795
+ await readFile44(dataPath);
449674
449796
  } catch (e) {
449675
449797
  if (isENOENT(e)) {
449676
449798
  return {
@@ -449685,7 +449807,7 @@ async function playAnimation(skillDir) {
449685
449807
  };
449686
449808
  }
449687
449809
  try {
449688
- await readFile43(playerPath);
449810
+ await readFile44(playerPath);
449689
449811
  } catch (e) {
449690
449812
  if (isENOENT(e)) {
449691
449813
  return {
@@ -456813,7 +456935,7 @@ __export(exports_branch, {
456813
456935
  call: () => call50
456814
456936
  });
456815
456937
  import { randomUUID as randomUUID29 } from "crypto";
456816
- import { mkdir as mkdir34, readFile as readFile44, writeFile as writeFile39 } from "fs/promises";
456938
+ import { mkdir as mkdir34, readFile as readFile45, writeFile as writeFile39 } from "fs/promises";
456817
456939
  function deriveFirstPrompt(firstUserMessage) {
456818
456940
  const content = firstUserMessage?.message?.content;
456819
456941
  if (!content)
@@ -456832,7 +456954,7 @@ async function createFork(customTitle) {
456832
456954
  await mkdir34(projectDir, { recursive: true, mode: 448 });
456833
456955
  let transcriptContent;
456834
456956
  try {
456835
- transcriptContent = await readFile44(currentTranscriptPath);
456957
+ transcriptContent = await readFile45(currentTranscriptPath);
456836
456958
  } catch {
456837
456959
  throw new Error("No conversation to branch");
456838
456960
  }
@@ -463199,7 +463321,7 @@ var init_rewind = __esm(() => {
463199
463321
 
463200
463322
  // src/utils/heapDumpService.ts
463201
463323
  import { createWriteStream as createWriteStream3, writeFileSync as writeFileSync4 } from "fs";
463202
- import { readdir as readdir26, readFile as readFile45, writeFile as writeFile40 } from "fs/promises";
463324
+ import { readdir as readdir26, readFile as readFile46, writeFile as writeFile40 } from "fs/promises";
463203
463325
  import { join as join126 } from "path";
463204
463326
  import { pipeline as pipeline2 } from "stream/promises";
463205
463327
  import {
@@ -463224,7 +463346,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
463224
463346
  } catch {}
463225
463347
  let smapsRollup;
463226
463348
  try {
463227
- smapsRollup = await readFile45("/proc/self/smaps_rollup", "utf8");
463349
+ smapsRollup = await readFile46("/proc/self/smaps_rollup", "utf8");
463228
463350
  } catch {}
463229
463351
  const nativeMemory = usage.rss - usage.heapUsed;
463230
463352
  const bytesPerSecond = uptimeSeconds > 0 ? usage.rss / uptimeSeconds : 0;
@@ -463876,7 +463998,7 @@ var init_bridge_kick = __esm(() => {
463876
463998
  var call57 = async () => {
463877
463999
  return {
463878
464000
  type: "text",
463879
- value: `${"99.0.0"} (built ${"2026-10-08T13:00:55.078Z"})`
464001
+ value: `${"99.0.0"} (built ${"2026-11-05T01:52:52.911Z"})`
463880
464002
  };
463881
464003
  }, version2, version_default;
463882
464004
  var init_version = __esm(() => {
@@ -465196,7 +465318,7 @@ var init_setupPortable = __esm(() => {
465196
465318
  });
465197
465319
 
465198
465320
  // src/utils/claudeInChrome/setup.ts
465199
- import { chmod as chmod10, mkdir as mkdir36, readFile as readFile46, writeFile as writeFile41 } from "fs/promises";
465321
+ import { chmod as chmod10, mkdir as mkdir36, readFile as readFile47, writeFile as writeFile41 } from "fs/promises";
465200
465322
  import { homedir as homedir35 } from "os";
465201
465323
  import { join as join128 } from "path";
465202
465324
  import { fileURLToPath as fileURLToPath6 } from "url";
@@ -465305,7 +465427,7 @@ async function installChromeNativeHostManifest(manifestBinaryPath) {
465305
465427
  let anyManifestUpdated = false;
465306
465428
  for (const manifestDir of manifestDirs) {
465307
465429
  const manifestPath = join128(manifestDir, NATIVE_HOST_MANIFEST_NAME);
465308
- const existingContent = await readFile46(manifestPath, "utf-8").catch(() => null);
465430
+ const existingContent = await readFile47(manifestPath, "utf-8").catch(() => null);
465309
465431
  if (existingContent === manifestContent) {
465310
465432
  continue;
465311
465433
  }
@@ -465368,7 +465490,7 @@ ${command7}
465368
465490
  # Generated by Maximo Syntax - do not edit manually
465369
465491
  exec ${command7}
465370
465492
  `;
465371
- const existingContent = await readFile46(wrapperPath, "utf-8").catch(() => null);
465493
+ const existingContent = await readFile47(wrapperPath, "utf-8").catch(() => null);
465372
465494
  if (existingContent === scriptContent) {
465373
465495
  return wrapperPath;
465374
465496
  }
@@ -472597,13 +472719,13 @@ import {
472597
472719
  mkdir as mkdir39,
472598
472720
  mkdtemp,
472599
472721
  readdir as readdir28,
472600
- readFile as readFile47,
472722
+ readFile as readFile48,
472601
472723
  rm as rm10,
472602
472724
  unlink as unlink21,
472603
472725
  writeFile as writeFile43
472604
472726
  } from "fs/promises";
472605
472727
  import { tmpdir as tmpdir10 } from "os";
472606
- import { extname as extname14, join as join135 } from "path";
472728
+ import { extname as extname15, join as join135 } from "path";
472607
472729
  function getAnalysisModel() {
472608
472730
  return getDefaultOpusModel();
472609
472731
  }
@@ -472620,7 +472742,7 @@ function getSessionMetaDir() {
472620
472742
  return join135(getDataDir(), "session-meta");
472621
472743
  }
472622
472744
  function getLanguageFromPath(filePath) {
472623
- const ext = extname14(filePath).toLowerCase();
472745
+ const ext = extname15(filePath).toLowerCase();
472624
472746
  return EXTENSION_TO_LANGUAGE[ext] || null;
472625
472747
  }
472626
472748
  function extractToolStats(log) {
@@ -472964,7 +473086,7 @@ async function formatTranscriptWithSummarization(log) {
472964
473086
  async function loadCachedFacets(sessionId) {
472965
473087
  const facetPath = join135(getFacetsDir(), `${sessionId}.json`);
472966
473088
  try {
472967
- const content = await readFile47(facetPath, { encoding: "utf-8" });
473089
+ const content = await readFile48(facetPath, { encoding: "utf-8" });
472968
473090
  const parsed = jsonParse(content);
472969
473091
  if (!isValidSessionFacets(parsed)) {
472970
473092
  try {
@@ -472990,7 +473112,7 @@ async function saveFacets(facets) {
472990
473112
  async function loadCachedSessionMeta(sessionId) {
472991
473113
  const metaPath = join135(getSessionMetaDir(), `${sessionId}.json`);
472992
473114
  try {
472993
- const content = await readFile47(metaPath, { encoding: "utf-8" });
473115
+ const content = await readFile48(metaPath, { encoding: "utf-8" });
472994
473116
  return jsonParse(content);
472995
473117
  } catch {
472996
473118
  return null;
@@ -475348,7 +475470,7 @@ import {
475348
475470
  open as fsOpen2,
475349
475471
  mkdir as mkdir40,
475350
475472
  readdir as readdir29,
475351
- readFile as readFile48,
475473
+ readFile as readFile49,
475352
475474
  stat as stat42,
475353
475475
  unlink as unlink22,
475354
475476
  writeFile as writeFile44
@@ -475404,7 +475526,7 @@ async function writeAgentMetadata(agentId, metadata) {
475404
475526
  async function readAgentMetadata(agentId) {
475405
475527
  const path21 = getAgentMetadataPath(agentId);
475406
475528
  try {
475407
- const raw = await readFile48(path21, "utf-8");
475529
+ const raw = await readFile49(path21, "utf-8");
475408
475530
  return JSON.parse(raw);
475409
475531
  } catch (e) {
475410
475532
  if (isFsInaccessible(e))
@@ -475427,7 +475549,7 @@ async function writeRemoteAgentMetadata(taskId, metadata) {
475427
475549
  async function readRemoteAgentMetadata(taskId) {
475428
475550
  const path21 = getRemoteAgentMetadataPath(taskId);
475429
475551
  try {
475430
- const raw = await readFile48(path21, "utf-8");
475552
+ const raw = await readFile49(path21, "utf-8");
475431
475553
  return JSON.parse(raw);
475432
475554
  } catch (e) {
475433
475555
  if (isFsInaccessible(e))
@@ -475460,7 +475582,7 @@ async function listRemoteAgentMetadata() {
475460
475582
  if (!entry.isFile() || !entry.name.endsWith(".meta.json"))
475461
475583
  continue;
475462
475584
  try {
475463
- const raw = await readFile48(join136(dir, entry.name), "utf-8");
475585
+ const raw = await readFile49(join136(dir, entry.name), "utf-8");
475464
475586
  results.push(JSON.parse(raw));
475465
475587
  } catch (e) {
475466
475588
  logForDebugging2(`listRemoteAgentMetadata: skipping ${entry.name}: ${String(e)}`);
@@ -475802,7 +475924,7 @@ class Project {
475802
475924
  logForDebugging2(`Skipping tombstone removal: session file too large (${formatFileSize(fileSize)})`, { level: "warn" });
475803
475925
  return;
475804
475926
  }
475805
- const content = await readFile48(this.sessionFile, { encoding: "utf-8" });
475927
+ const content = await readFile49(this.sessionFile, { encoding: "utf-8" });
475806
475928
  const lines = content.split(`
475807
475929
  `).filter((line) => {
475808
475930
  if (!line.trim())
@@ -476615,7 +476737,7 @@ async function loadTranscriptFromFile(filePath) {
476615
476737
  worktreeSession: worktreeStates.has(sessionId) ? worktreeStates.get(sessionId) : undefined
476616
476738
  };
476617
476739
  }
476618
- const content = await readFile48(filePath, { encoding: "utf-8" });
476740
+ const content = await readFile49(filePath, { encoding: "utf-8" });
476619
476741
  let parsed;
476620
476742
  try {
476621
476743
  parsed = jsonParse(content);
@@ -477277,7 +477399,7 @@ async function loadTranscriptFile(filePath, opts) {
477277
477399
  }
477278
477400
  }
477279
477401
  }
477280
- buf ??= await readFile48(filePath);
477402
+ buf ??= await readFile49(filePath);
477281
477403
  if (!opts?.keepAllLeaves && !hasPreservedSegment && !isEnvTruthy(process.env.MAXIMO_SYNTAX_DISABLE_PRECOMPACT_SKIP) && buf.length > SKIP_PRECOMPACT_THRESHOLD) {
477282
477404
  buf = walkChainBeforeParse(buf);
477283
477405
  }
@@ -483678,7 +483800,7 @@ import {
483678
483800
  copyFile as copyFile10,
483679
483801
  mkdir as mkdir42,
483680
483802
  readdir as readdir30,
483681
- readFile as readFile49,
483803
+ readFile as readFile50,
483682
483804
  stat as stat45,
483683
483805
  symlink as symlink6,
483684
483806
  utimes as utimes2
@@ -483821,7 +483943,7 @@ async function getOrCreateWorktree(repoRoot, slug, options2) {
483821
483943
  async function copyWorktreeIncludeFiles(repoRoot, worktreePath) {
483822
483944
  let includeContent;
483823
483945
  try {
483824
- includeContent = await readFile49(join140(repoRoot, ".worktreeinclude"), "utf-8");
483946
+ includeContent = await readFile50(join140(repoRoot, ".worktreeinclude"), "utf-8");
483825
483947
  } catch {
483826
483948
  return [];
483827
483949
  }
@@ -490243,7 +490365,7 @@ __export(exports_upstreamproxy, {
490243
490365
  getUpstreamProxyEnv: () => getUpstreamProxyEnv,
490244
490366
  SESSION_TOKEN_PATH: () => SESSION_TOKEN_PATH
490245
490367
  });
490246
- import { mkdir as mkdir44, readFile as readFile50, unlink as unlink25, writeFile as writeFile45 } from "fs/promises";
490368
+ import { mkdir as mkdir44, readFile as readFile51, unlink as unlink25, writeFile as writeFile45 } from "fs/promises";
490247
490369
  import { homedir as homedir38 } from "os";
490248
490370
  import { join as join142 } from "path";
490249
490371
  async function initUpstreamProxy(opts) {
@@ -490324,7 +490446,7 @@ function resetUpstreamProxyForTests() {
490324
490446
  }
490325
490447
  async function readToken(path21) {
490326
490448
  try {
490327
- const raw = await readFile50(path21, "utf8");
490449
+ const raw = await readFile51(path21, "utf8");
490328
490450
  return raw.trim() || null;
490329
490451
  } catch (err2) {
490330
490452
  if (isENOENT(err2))
@@ -490365,7 +490487,7 @@ async function downloadCaBundle(baseUrl, systemCaPath, outPath) {
490365
490487
  return false;
490366
490488
  }
490367
490489
  const ccrCa = await resp.text();
490368
- const systemCa = await readFile50(systemCaPath, "utf8").catch(() => "");
490490
+ const systemCa = await readFile51(systemCaPath, "utf8").catch(() => "");
490369
490491
  await mkdir44(join142(outPath, ".."), { recursive: true });
490370
490492
  await writeFile45(outPath, systemCa + `
490371
490493
  ` + ccrCa, "utf8");
@@ -527578,7 +527700,7 @@ var init_useDynamicConfig = __esm(() => {
527578
527700
  });
527579
527701
 
527580
527702
  // src/components/FeedbackSurvey/submitTranscriptShare.ts
527581
- import { readFile as readFile51, stat as stat48 } from "fs/promises";
527703
+ import { readFile as readFile52, stat as stat48 } from "fs/promises";
527582
527704
  async function submitTranscriptShare(messages, trigger, appearanceId) {
527583
527705
  try {
527584
527706
  logForDebugging2("Collecting transcript for sharing", { level: "info" });
@@ -527590,7 +527712,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
527590
527712
  const transcriptPath = getTranscriptPath();
527591
527713
  const { size } = await stat48(transcriptPath);
527592
527714
  if (size <= MAX_TRANSCRIPT_READ_BYTES) {
527593
- rawTranscriptJsonl = await readFile51(transcriptPath, "utf-8");
527715
+ rawTranscriptJsonl = await readFile52(transcriptPath, "utf-8");
527594
527716
  } else {
527595
527717
  logForDebugging2(`Skipping raw transcript read: file too large (${size} bytes)`, { level: "warn" });
527596
527718
  }
@@ -531165,7 +531287,7 @@ var init_binaryCheck = __esm(() => {
531165
531287
  });
531166
531288
 
531167
531289
  // src/utils/plugins/lspRecommendation.ts
531168
- import { extname as extname15 } from "path";
531290
+ import { extname as extname16 } from "path";
531169
531291
  function isOfficialMarketplace(name) {
531170
531292
  return ALLOWED_OFFICIAL_MARKETPLACE_NAMES.has(name.toLowerCase());
531171
531293
  }
@@ -531255,7 +531377,7 @@ async function getMatchingLspPlugins(filePath) {
531255
531377
  logForDebugging2("[lspRecommendation] Recommendations are disabled");
531256
531378
  return [];
531257
531379
  }
531258
- const ext = extname15(filePath).toLowerCase();
531380
+ const ext = extname16(filePath).toLowerCase();
531259
531381
  if (!ext) {
531260
531382
  logForDebugging2("[lspRecommendation] No file extension found");
531261
531383
  return [];
@@ -531448,7 +531570,7 @@ var init_usePluginRecommendationBase = __esm(() => {
531448
531570
  });
531449
531571
 
531450
531572
  // src/hooks/useLspPluginRecommendation.tsx
531451
- import { extname as extname16, join as join146 } from "path";
531573
+ import { extname as extname17, join as join146 } from "path";
531452
531574
  function useLspPluginRecommendation() {
531453
531575
  const $2 = import_react_compiler_runtime350.c(12);
531454
531576
  const trackedFiles = useAppState(_temp208);
@@ -531494,7 +531616,7 @@ function useLspPluginRecommendation() {
531494
531616
  pluginId: match.pluginId,
531495
531617
  pluginName: match.pluginName,
531496
531618
  pluginDescription: match.description,
531497
- fileExtension: extname16(filePath),
531619
+ fileExtension: extname17(filePath),
531498
531620
  shownAt: Date.now()
531499
531621
  };
531500
531622
  }
@@ -539866,7 +539988,7 @@ function SetupRow({ children }) {
539866
539988
  }
539867
539989
  function WelcomeV2() {
539868
539990
  const { columns } = useTerminalSize();
539869
- const version3 = "0.1.50";
539991
+ const version3 = "0.1.52";
539870
539992
  const width = Math.max(48, Math.min(columns || 92, 92));
539871
539993
  const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
539872
539994
  return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
@@ -549485,11 +549607,11 @@ var init_sessionUrl = __esm(() => {
549485
549607
  });
549486
549608
 
549487
549609
  // src/utils/plugins/zipCacheAdapters.ts
549488
- import { readFile as readFile52 } from "fs/promises";
549610
+ import { readFile as readFile53 } from "fs/promises";
549489
549611
  import { join as join151 } from "path";
549490
549612
  async function readZipCacheKnownMarketplaces() {
549491
549613
  try {
549492
- const content = await readFile52(getZipCacheKnownMarketplacesPath(), "utf-8");
549614
+ const content = await readFile53(getZipCacheKnownMarketplacesPath(), "utf-8");
549493
549615
  const parsed = KnownMarketplacesFileSchema().safeParse(jsonParse(content));
549494
549616
  if (!parsed.success) {
549495
549617
  logForDebugging2(`Invalid known_marketplaces.json in zip cache: ${parsed.error.message}`, { level: "error" });
@@ -549522,7 +549644,7 @@ async function readMarketplaceJsonContent(dir) {
549522
549644
  ];
549523
549645
  for (const candidate of candidates) {
549524
549646
  try {
549525
- return await readFile52(candidate, "utf-8");
549647
+ return await readFile53(candidate, "utf-8");
549526
549648
  } catch {}
549527
549649
  }
549528
549650
  return null;
@@ -549975,7 +550097,7 @@ __export(exports_bridgePointer, {
549975
550097
  clearBridgePointer: () => clearBridgePointer,
549976
550098
  BRIDGE_POINTER_TTL_MS: () => BRIDGE_POINTER_TTL_MS
549977
550099
  });
549978
- import { mkdir as mkdir46, readFile as readFile53, stat as stat51, unlink as unlink27, writeFile as writeFile51 } from "fs/promises";
550100
+ import { mkdir as mkdir46, readFile as readFile54, stat as stat51, unlink as unlink27, writeFile as writeFile51 } from "fs/promises";
549979
550101
  import { dirname as dirname63, join as join152 } from "path";
549980
550102
  function getBridgePointerPath(dir) {
549981
550103
  return join152(getProjectsDir(), sanitizePath2(dir), "bridge-pointer.json");
@@ -549996,7 +550118,7 @@ async function readBridgePointer(dir) {
549996
550118
  let mtimeMs;
549997
550119
  try {
549998
550120
  mtimeMs = (await stat51(path23)).mtimeMs;
549999
- raw = await readFile53(path23, "utf8");
550121
+ raw = await readFile54(path23, "utf8");
550000
550122
  } catch {
550001
550123
  return null;
550002
550124
  }
@@ -551986,7 +552108,7 @@ __export(exports_print, {
551986
552108
  createCanUseToolWithPermissionPrompt: () => createCanUseToolWithPermissionPrompt,
551987
552109
  canBatchWith: () => canBatchWith
551988
552110
  });
551989
- import { readFile as readFile54, stat as stat52 } from "fs/promises";
552111
+ import { readFile as readFile55, stat as stat52 } from "fs/promises";
551990
552112
  import { dirname as dirname64 } from "path";
551991
552113
  import { cwd as cwd2 } from "process";
551992
552114
  import { randomUUID as randomUUID55 } from "crypto";
@@ -553355,7 +553477,7 @@ ${m.text}
553355
553477
  const normalizedPath = expandPath(message.request.path);
553356
553478
  const diskMtime = Math.floor((await stat52(normalizedPath)).mtimeMs);
553357
553479
  if (diskMtime <= message.request.mtime) {
553358
- const raw = await readFile54(normalizedPath, "utf-8");
553480
+ const raw = await readFile55(normalizedPath, "utf-8");
553359
553481
  const content = (raw.charCodeAt(0) === 65279 ? raw.slice(1) : raw).replaceAll(`\r
553360
553482
  `, `
553361
553483
  `);
@@ -555943,7 +556065,7 @@ __export(exports_claudeDesktop, {
555943
556065
  readMaximoDesktopMcpServers: () => readMaximoDesktopMcpServers,
555944
556066
  getMaximoDesktopConfigPath: () => getMaximoDesktopConfigPath
555945
556067
  });
555946
- import { readdir as readdir32, readFile as readFile55, stat as stat53 } from "fs/promises";
556068
+ import { readdir as readdir32, readFile as readFile56, stat as stat53 } from "fs/promises";
555947
556069
  import { homedir as homedir43 } from "os";
555948
556070
  import { join as join153 } from "path";
555949
556071
  async function getMaximoDesktopConfigPath() {
@@ -555991,7 +556113,7 @@ async function readMaximoDesktopMcpServers() {
555991
556113
  const configPath = await getMaximoDesktopConfigPath();
555992
556114
  let configContent;
555993
556115
  try {
555994
- configContent = await readFile55(configPath, { encoding: "utf8" });
556116
+ configContent = await readFile56(configPath, { encoding: "utf8" });
555995
556117
  } catch (e) {
555996
556118
  const code = getErrnoCode(e);
555997
556119
  if (code === "ENOENT") {
@@ -559826,7 +559948,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
559826
559948
  pendingHookMessages
559827
559949
  }, renderAndRun);
559828
559950
  }
559829
- }).version("0.1.50 (Maximo Syntax)", "-v, --version", "Output the version number");
559951
+ }).version("0.1.52 (Maximo Syntax)", "-v, --version", "Output the version number");
559830
559952
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
559831
559953
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
559832
559954
  if (canUserConfigureAdvisor()) {
@@ -560365,7 +560487,7 @@ function validateProviderEnvOrExit() {
560365
560487
  async function main2() {
560366
560488
  const args = process.argv.slice(2);
560367
560489
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
560368
- console.log(`${"0.1.50"} (Maximo Syntax)`);
560490
+ console.log(`${"0.1.52"} (Maximo Syntax)`);
560369
560491
  return;
560370
560492
  }
560371
560493
  validateProviderEnvOrExit();
@@ -560442,4 +560564,4 @@ async function main2() {
560442
560564
  }
560443
560565
  main2();
560444
560566
 
560445
- //# debugId=D8B83BE5151A9FD464756E2164756E21
560567
+ //# debugId=9EE7305DD07F686A64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maximoai/maximo-syntax-cli",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
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": {