@maximoai/maximo-syntax-cli 0.1.31 → 0.1.33

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 +531 -266
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -79659,7 +79659,7 @@ var require_eventsource = __commonJS((exports, module) => {
79659
79659
 
79660
79660
  // node_modules/undici/index.js
79661
79661
  var require_undici = __commonJS((exports, module) => {
79662
- var __filename = "/private/tmp/maximo-syntax-cli-copy/node_modules/undici/index.js";
79662
+ var __filename = "/Users/johnsondaniel/Documents/maximo-syntax-cli/node_modules/undici/index.js";
79663
79663
  var Client = require_client();
79664
79664
  var Dispatcher = require_dispatcher();
79665
79665
  var Pool = require_pool();
@@ -96490,7 +96490,7 @@ var require_package = __commonJS((exports, module) => {
96490
96490
 
96491
96491
  // node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
96492
96492
  var require_dist_cjs78 = __commonJS((exports) => {
96493
- var __dirname = "/private/tmp/maximo-syntax-cli-copy/node_modules/@aws-sdk/util-user-agent-node/dist-cjs";
96493
+ var __dirname = "/Users/johnsondaniel/Documents/maximo-syntax-cli/node_modules/@aws-sdk/util-user-agent-node/dist-cjs";
96494
96494
  var node_os = __require("node:os");
96495
96495
  var node_process = __require("node:process");
96496
96496
  var utilConfigProvider = require_dist_cjs63();
@@ -108410,6 +108410,17 @@ var init_betas = __esm(() => {
108410
108410
  ]);
108411
108411
  });
108412
108412
 
108413
+ // src/utils/model/modelDefaults.ts
108414
+ function normalizeRetiredMytabulonModel(value) {
108415
+ if (value === RETIRED_MYTABULON_MODEL)
108416
+ return MYTABULON_DEFAULT_MODEL;
108417
+ return value;
108418
+ }
108419
+ 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";
108423
+
108413
108424
  // src/services/api/maximoModels.ts
108414
108425
  function normalizedBaseUrl(baseUrl) {
108415
108426
  return (baseUrl || "").replace(/\/+$/, "").toLowerCase();
@@ -108822,7 +108833,7 @@ async function refreshMyTabulonAccount({
108822
108833
  };
108823
108834
  }
108824
108835
  function persistMyTabulonState(apiKey, baseUrl, models, account) {
108825
- const defaultModel = models.find((model) => model.id === "maximo-atlas-preview")?.id || models[0]?.id || "maximo-atlas-preview";
108836
+ const defaultModel = chooseMytabulonDefaultModel(models.map((model) => model.id));
108826
108837
  process.env.MAXIMO_SYNTAX_USE_OPENAI = "1";
108827
108838
  process.env.OPENAI_API_KEY = apiKey;
108828
108839
  process.env.OPENAI_BASE_URL = baseUrl;
@@ -109674,13 +109685,13 @@ function isMaximoAIProvider() {
109674
109685
  return false;
109675
109686
  }
109676
109687
  function getOpenAIProviderDefaultModel(fallback) {
109677
- if (process.env.OPENAI_MODEL) {
109678
- return process.env.OPENAI_MODEL;
109679
- }
109680
109688
  const globalConfig2 = getGlobalConfig();
109681
109689
  const baseUrl = process.env.OPENAI_BASE_URL || globalConfig2.openAIBaseUrl || "";
109690
+ if (process.env.OPENAI_MODEL) {
109691
+ return normalizeRetiredMytabulonModel(process.env.OPENAI_MODEL) || process.env.OPENAI_MODEL;
109692
+ }
109682
109693
  if (baseUrl.includes("api.mytabulon.com")) {
109683
- return globalConfig2.mytabulonDefaultModel || "maximo-atlas-preview";
109694
+ return normalizeRetiredMytabulonModel(globalConfig2.mytabulonDefaultModel) || MYTABULON_DEFAULT_MODEL;
109684
109695
  }
109685
109696
  if (baseUrl.includes("maximoai.co")) {
109686
109697
  return "maximo-pandora-3.8-nano";
@@ -109716,6 +109727,9 @@ function getUserSpecifiedModelSetting() {
109716
109727
  const settings = getSettings_DEPRECATED() || {};
109717
109728
  specifiedModel = process.env.ANTHROPIC_MODEL || process.env.GEMINI_MODEL || settings.model || process.env.OPENAI_MODEL || undefined;
109718
109729
  }
109730
+ if (typeof specifiedModel === "string") {
109731
+ specifiedModel = normalizeRetiredMytabulonModel(specifiedModel);
109732
+ }
109719
109733
  if (specifiedModel && !isModelAllowed(specifiedModel)) {
109720
109734
  return;
109721
109735
  }
@@ -109812,6 +109826,9 @@ function firstPartyNameToCanonical(name) {
109812
109826
  if (name.includes("maximo-pandora-3.7-nano")) {
109813
109827
  return "maximo-pandora-3.7-nano";
109814
109828
  }
109829
+ if (name.includes("maximo-atlas-1.2")) {
109830
+ return "maximo-atlas-1.2";
109831
+ }
109815
109832
  if (name.includes("maximo-atlas-preview")) {
109816
109833
  return "maximo-atlas-preview";
109817
109834
  }
@@ -109899,7 +109916,7 @@ function getMaximoAiUserDefaultModelDescription(fastMode = false) {
109899
109916
  if (fastMode) {
109900
109917
  return "Pandora 3.8 Nano · Fast & efficient";
109901
109918
  }
109902
- return getOpenAIProviderDefaultModel("maximo-pandora-3.8-nano") === "maximo-atlas-preview" ? "Atlas Preview · Included with MyTabulon Coding Plan" : "Pandora 3.8 Nano · Optimized for coding";
109919
+ return getOpenAIProviderDefaultModel("maximo-pandora-3.8-nano") === MYTABULON_DEFAULT_MODEL ? "Atlas 1.2 · Included with MyTabulon Coding Plan" : "Pandora 3.8 Nano · Optimized for coding";
109903
109920
  }
109904
109921
  if (isMaxSubscriber() || isTeamPremiumSubscriber()) {
109905
109922
  if (isOpus1mMergeEnabled()) {
@@ -123983,7 +124000,7 @@ var init_metadata = __esm(() => {
123983
124000
  isMaximoAiAuth: isMaximoAISubscriber(),
123984
124001
  version: "99.0.0",
123985
124002
  versionBase: getVersionBase(),
123986
- buildTime: "2026-08-07T23:35:22.462Z",
124003
+ buildTime: "2026-08-13T12:57:41.293Z",
123987
124004
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
123988
124005
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
123989
124006
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -165964,6 +165981,9 @@ function getSupportedEffortLevelsForModel(model) {
165964
165981
  return providerConfig.supportedEfforts.filter(isEffortLevel);
165965
165982
  }
165966
165983
  const m = model.toLowerCase();
165984
+ if (m.includes("maximo-atlas-1.2")) {
165985
+ return ["low", "medium", "high", "xhigh", "max"];
165986
+ }
165967
165987
  if (m.includes("opus-4-6")) {
165968
165988
  return ["low", "medium", "high", "max"];
165969
165989
  }
@@ -237397,8 +237417,9 @@ Usage notes:
237397
237417
  - Provide a detailed, descriptive prompt for best results (subject, style, composition, lighting)
237398
237418
  - Optional: aspect_ratio (e.g. "16:9", "1:1", "4:3"), size ("1K", "2K", "4K"), output count
237399
237419
  - After generating, include the image in your response using markdown: ![description](exact_url_from_tool_result)
237400
- - 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. If you use any hallucinated or reconstructed URL the image will be broken.
237420
+ - 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.
237401
237421
  - Use the full URL exactly as returned - verbatim, one markdown image per URL. Do NOT shorten, re-encode, or change any part of it.
237422
+ - If the tool result contains "No images were returned" you MUST report the failure verbatim and MUST NOT output any ![...](https://...) at all.
237402
237423
  `;
237403
237424
  }
237404
237425
  var IMAGE_GENERATION_TOOL_NAME = "ImageGeneration";
@@ -276769,7 +276790,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
276769
276790
  import { homedir as homedir22 } from "os";
276770
276791
  import { join as join65 } from "path";
276771
276792
  function getCurrentRealVersion() {
276772
- return "0.1.31";
276793
+ return "0.1.33";
276773
276794
  }
276774
276795
  async function getRolloutConfig() {
276775
276796
  try {
@@ -345962,6 +345983,247 @@ var init_BriefTool = __esm(() => {
345962
345983
  });
345963
345984
  });
345964
345985
 
345986
+ // src/tools/AutomationTool/host.ts
345987
+ import { createConnection as createConnection2 } from "node:net";
345988
+ import { randomUUID as randomUUID18 } from "node:crypto";
345989
+ function safeErrorMessage(error42) {
345990
+ if (typeof error42 === "string" && error42.trim())
345991
+ return error42.trim();
345992
+ if (error42 && typeof error42 === "object" && typeof error42.message === "string") {
345993
+ return error42.message.trim() || "The desktop automation host rejected the request.";
345994
+ }
345995
+ return "The desktop automation host rejected the request.";
345996
+ }
345997
+ function getAutomationHostEnvironment(environment = process.env) {
345998
+ const pipe2 = environment.MAXIMO_SYNTAX_AUTOMATION_HOST_PIPE?.trim();
345999
+ const capability = environment.MAXIMO_SYNTAX_AUTOMATION_HOST_CAPABILITY?.trim();
346000
+ if (!pipe2 || !capability)
346001
+ return null;
346002
+ return {
346003
+ pipe: pipe2,
346004
+ capability,
346005
+ threadId: environment.MAXIMO_SYNTAX_DESKTOP_THREAD_ID?.trim() || undefined,
346006
+ projectId: environment.MAXIMO_SYNTAX_DESKTOP_PROJECT_ID?.trim() || undefined,
346007
+ workspaceRoot: environment.MAXIMO_SYNTAX_DESKTOP_WORKSPACE_ROOT?.trim() || undefined
346008
+ };
346009
+ }
346010
+ async function callAutomationHost(action2, argumentsValue, host = getAutomationHostEnvironment()) {
346011
+ if (!host) {
346012
+ throw new Error("Automations are only available while Maximo Syntax is running inside the desktop app.");
346013
+ }
346014
+ const requestId = randomUUID18();
346015
+ const request = JSON.stringify({
346016
+ id: requestId,
346017
+ capability: host.capability,
346018
+ action: action2,
346019
+ arguments: argumentsValue,
346020
+ context: {
346021
+ threadId: host.threadId,
346022
+ projectId: host.projectId,
346023
+ workspaceRoot: host.workspaceRoot
346024
+ }
346025
+ });
346026
+ return new Promise((resolve31, reject2) => {
346027
+ const socket = createConnection2(host.pipe);
346028
+ let settled = false;
346029
+ let responseText = "";
346030
+ const finish = (error42, value) => {
346031
+ if (settled)
346032
+ return;
346033
+ settled = true;
346034
+ clearTimeout(timeout);
346035
+ socket.destroy();
346036
+ if (error42)
346037
+ reject2(error42);
346038
+ else
346039
+ resolve31(value);
346040
+ };
346041
+ const timeout = setTimeout(() => {
346042
+ finish(new Error("The desktop automation host did not respond in time."));
346043
+ }, REQUEST_TIMEOUT_MS);
346044
+ socket.setEncoding("utf8");
346045
+ socket.on("connect", () => socket.write(`${request}
346046
+ `));
346047
+ socket.on("data", (chunk) => {
346048
+ responseText += chunk;
346049
+ if (Buffer.byteLength(responseText, "utf8") > MAX_RESPONSE_BYTES) {
346050
+ finish(new Error("The desktop automation response was too large."));
346051
+ return;
346052
+ }
346053
+ const newline2 = responseText.indexOf(`
346054
+ `);
346055
+ if (newline2 < 0)
346056
+ return;
346057
+ try {
346058
+ const response = JSON.parse(responseText.slice(0, newline2));
346059
+ if (response.id !== requestId) {
346060
+ finish(new Error("The desktop automation host returned a mismatched response."));
346061
+ } else if (response.ok === false || response.error) {
346062
+ finish(new Error(safeErrorMessage(response.error)));
346063
+ } else {
346064
+ finish(undefined, response.result);
346065
+ }
346066
+ } catch (error42) {
346067
+ finish(new Error(error42 instanceof Error ? `Invalid response from the desktop automation host: ${error42.message}` : "Invalid response from the desktop automation host."));
346068
+ }
346069
+ });
346070
+ socket.on("error", (error42) => {
346071
+ finish(new Error(`Could not reach the desktop automation host: ${error42.message}`));
346072
+ });
346073
+ socket.on("close", () => {
346074
+ if (!settled)
346075
+ finish(new Error("The desktop automation host closed the connection."));
346076
+ });
346077
+ });
346078
+ }
346079
+ var MAX_RESPONSE_BYTES, REQUEST_TIMEOUT_MS = 15000;
346080
+ var init_host = __esm(() => {
346081
+ MAX_RESPONSE_BYTES = 4 * 1024 * 1024;
346082
+ });
346083
+
346084
+ // src/tools/AutomationTool/AutomationTool.ts
346085
+ var actionSchema, scheduleSchema, inputSchema20, outputSchema17, MUTATING_ACTIONS, AutomationTool;
346086
+ var init_AutomationTool = __esm(() => {
346087
+ init_v4();
346088
+ init_Tool();
346089
+ init_host();
346090
+ actionSchema = exports_external.enum([
346091
+ "create",
346092
+ "list",
346093
+ "get",
346094
+ "update",
346095
+ "pause",
346096
+ "resume",
346097
+ "delete",
346098
+ "run_now",
346099
+ "list_runs",
346100
+ "cancel_run",
346101
+ "mark_runs_read"
346102
+ ]);
346103
+ scheduleSchema = exports_external.strictObject({
346104
+ type: exports_external.enum(["manual", "once", "interval", "daily", "weekdays", "weekly", "cron"]),
346105
+ run_at: exports_external.string().optional().describe("ISO timestamp for a one-time automation."),
346106
+ every_minutes: exports_external.number().int().min(1).max(525600).optional(),
346107
+ time_of_day: exports_external.string().optional().describe('Local 24-hour time such as "09:00".'),
346108
+ day_of_week: exports_external.number().int().min(0).max(6).optional().describe("0 is Sunday and 6 is Saturday."),
346109
+ expression: exports_external.string().optional().describe("Standard five-field cron expression."),
346110
+ timezone: exports_external.string().optional().describe('IANA timezone such as "Africa/Lagos".')
346111
+ }).optional();
346112
+ inputSchema20 = lazySchema(() => exports_external.strictObject({
346113
+ action: actionSchema.describe("The automation operation to perform."),
346114
+ automation_id: exports_external.string().optional(),
346115
+ run_id: exports_external.string().optional(),
346116
+ limit: exports_external.number().int().min(1).max(200).optional().describe("Run-history page size for list_runs. Defaults to 50."),
346117
+ offset: exports_external.number().int().min(0).max(1000).optional().describe("Run-history offset for list_runs. Defaults to 0."),
346118
+ name: exports_external.string().max(160).optional(),
346119
+ description: exports_external.string().max(2000).optional(),
346120
+ prompt: exports_external.string().max(1e5).optional(),
346121
+ schedule: scheduleSchema,
346122
+ destination: exports_external.enum(["new_chat", "dedicated_chat", "existing_chat"]).optional(),
346123
+ thread_id: exports_external.string().optional().describe("Required when destination is existing_chat."),
346124
+ model: exports_external.string().optional(),
346125
+ effort: exports_external.enum(["low", "medium", "high", "xhigh", "max"]).optional(),
346126
+ permission_mode: exports_external.enum(["default", "acceptEdits", "auto", "full", "bypassPermissions", "plan"]).optional().describe("Desktop permission policy. full and bypassPermissions both grant unrestricted command access."),
346127
+ workspace_mode: exports_external.enum(["auto", "local", "worktree"]).optional(),
346128
+ allow_local_fallback: exports_external.boolean().optional(),
346129
+ notification_policy: exports_external.enum(["all", "failures_only", "none"]).optional(),
346130
+ max_runtime_minutes: exports_external.number().int().min(1).max(1440).optional(),
346131
+ enabled: exports_external.boolean().optional()
346132
+ }));
346133
+ outputSchema17 = lazySchema(() => exports_external.object({
346134
+ success: exports_external.boolean(),
346135
+ action: actionSchema,
346136
+ result: exports_external.unknown().optional()
346137
+ }));
346138
+ MUTATING_ACTIONS = new Set([
346139
+ "create",
346140
+ "update",
346141
+ "pause",
346142
+ "resume",
346143
+ "delete",
346144
+ "run_now",
346145
+ "cancel_run",
346146
+ "mark_runs_read"
346147
+ ]);
346148
+ AutomationTool = buildTool({
346149
+ name: "Automation",
346150
+ searchHint: "schedule manage background recurring work",
346151
+ shouldDefer: true,
346152
+ maxResultSizeChars: 1e5,
346153
+ get inputSchema() {
346154
+ return inputSchema20();
346155
+ },
346156
+ get outputSchema() {
346157
+ return outputSchema17();
346158
+ },
346159
+ isEnabled() {
346160
+ return getAutomationHostEnvironment() !== null;
346161
+ },
346162
+ isConcurrencySafe(input) {
346163
+ return !MUTATING_ACTIONS.has(input.action);
346164
+ },
346165
+ isReadOnly(input) {
346166
+ return !MUTATING_ACTIONS.has(input.action);
346167
+ },
346168
+ isDestructive(input) {
346169
+ return input.action === "delete" || input.action === "cancel_run";
346170
+ },
346171
+ toAutoClassifierInput(input) {
346172
+ return `${input.action}: ${input.name ?? input.automation_id ?? input.run_id ?? "automations"}`;
346173
+ },
346174
+ async description() {
346175
+ return "Create and fully manage persistent desktop automations. Automations can run once, on an interval, daily, on weekdays, weekly, or from a five-field cron schedule; run in a new, dedicated, or existing chat; use the project checkout or an isolated git worktree; and keep durable run history. Use this only when the user explicitly asks to schedule or manage future/background work. Never silently turn an ordinary request into an automation.";
346176
+ },
346177
+ async prompt() {
346178
+ return `Use Automation when the user explicitly asks to schedule, repeat, pause, resume, inspect, run, or delete background work in Maximo Syntax Desktop.
346179
+
346180
+ For create, provide name, prompt, and schedule. The current desktop project is used automatically. Default to destination=new_chat and workspace_mode=auto unless the user says otherwise. Use existing_chat only with a thread_id. Preserve the user's timezone intent; use an IANA timezone. Use action=list or list_runs before changing an ambiguous automation; list returns compact prompt previews, while get returns the complete definition. Paginate list_runs with limit and offset when needed. You may edit an automation that is currently executing, including this automation, when the user's request requires it. Never create an automation merely because work could be repeated.`;
346181
+ },
346182
+ async validateInput(input) {
346183
+ if (input.action === "create" && (!input.name?.trim() || !input.prompt?.trim() || !input.schedule)) {
346184
+ return {
346185
+ result: false,
346186
+ message: "create requires name, prompt, and schedule",
346187
+ errorCode: 1
346188
+ };
346189
+ }
346190
+ if (["get", "update", "pause", "resume", "delete", "run_now", "list_runs", "mark_runs_read"].includes(input.action) && !input.automation_id) {
346191
+ return {
346192
+ result: false,
346193
+ message: `${input.action} requires automation_id`,
346194
+ errorCode: 2
346195
+ };
346196
+ }
346197
+ if (input.action === "cancel_run" && !input.run_id) {
346198
+ return { result: false, message: "cancel_run requires run_id", errorCode: 3 };
346199
+ }
346200
+ if (input.destination === "existing_chat" && !input.thread_id) {
346201
+ return {
346202
+ result: false,
346203
+ message: "destination=existing_chat requires thread_id",
346204
+ errorCode: 4
346205
+ };
346206
+ }
346207
+ return { result: true };
346208
+ },
346209
+ renderToolUseMessage() {
346210
+ return null;
346211
+ },
346212
+ async call(input) {
346213
+ const { action: action2, ...argumentsValue } = input;
346214
+ const result = await callAutomationHost(action2, argumentsValue);
346215
+ return { data: { success: true, action: action2, result } };
346216
+ },
346217
+ mapToolResultToToolResultBlockParam(output, toolUseID) {
346218
+ return {
346219
+ tool_use_id: toolUseID,
346220
+ type: "tool_result",
346221
+ content: JSON.stringify(output.result ?? { success: output.success }, null, 2)
346222
+ };
346223
+ }
346224
+ });
346225
+ });
346226
+
345965
346227
  // src/utils/task/outputFormatting.ts
345966
346228
  function getMaxTaskOutputLength() {
345967
346229
  const result = validateBoundedIntEnvVar("TASK_MAX_OUTPUT_LENGTH", process.env.TASK_MAX_OUTPUT_LENGTH, TASK_MAX_OUTPUT_DEFAULT, TASK_MAX_OUTPUT_UPPER_LIMIT);
@@ -346417,7 +346679,7 @@ function TaskOutputResultDisplay(t0) {
346417
346679
  }
346418
346680
  return t5;
346419
346681
  }
346420
- var import_react_compiler_runtime118, jsx_runtime140, inputSchema20, TaskOutputTool;
346682
+ var import_react_compiler_runtime118, jsx_runtime140, inputSchema21, TaskOutputTool;
346421
346683
  var init_TaskOutputTool = __esm(() => {
346422
346684
  init_v4();
346423
346685
  init_FallbackToolUseErrorMessage();
@@ -346438,7 +346700,7 @@ var init_TaskOutputTool = __esm(() => {
346438
346700
  init_BashToolResultMessage();
346439
346701
  import_react_compiler_runtime118 = __toESM(require_dist4(), 1);
346440
346702
  jsx_runtime140 = __toESM(require_jsx_runtime(), 1);
346441
- inputSchema20 = lazySchema(() => exports_external.strictObject({
346703
+ inputSchema21 = lazySchema(() => exports_external.strictObject({
346442
346704
  task_id: exports_external.string().describe("The task ID to get output from"),
346443
346705
  block: semanticBoolean(exports_external.boolean().default(true)).describe("Whether to wait for completion"),
346444
346706
  timeout: exports_external.number().min(0).max(600000).default(30000).describe("Max wait time in ms")
@@ -346453,7 +346715,7 @@ var init_TaskOutputTool = __esm(() => {
346453
346715
  return "Task Output";
346454
346716
  },
346455
346717
  get inputSchema() {
346456
- return inputSchema20();
346718
+ return inputSchema21();
346457
346719
  },
346458
346720
  async description() {
346459
346721
  return "[Deprecated] — prefer Read on the task output file path";
@@ -346797,7 +347059,7 @@ function resolveWebSearchEndpoint(baseUrl) {
346797
347059
  }
346798
347060
  return { url: `${trimmed.replace(/\/v1$/, "")}/v1/api/web-search`, path: "/v1/api/web-search" };
346799
347061
  }
346800
- var inputSchema21, searchResultSchema, outputSchema17, WebSearchTool;
347062
+ var inputSchema22, searchResultSchema, outputSchema18, WebSearchTool;
346801
347063
  var init_WebSearchTool = __esm(() => {
346802
347064
  init_v4();
346803
347065
  init_maximoModels();
@@ -346805,7 +347067,7 @@ var init_WebSearchTool = __esm(() => {
346805
347067
  init_log3();
346806
347068
  init_prompt5();
346807
347069
  init_UI16();
346808
- inputSchema21 = lazySchema(() => exports_external.strictObject({
347070
+ inputSchema22 = lazySchema(() => exports_external.strictObject({
346809
347071
  query: exports_external.string().min(2).describe("The search query to use"),
346810
347072
  allowed_domains: exports_external.array(exports_external.string()).optional().describe("Only include search results from these domains"),
346811
347073
  blocked_domains: exports_external.array(exports_external.string()).optional().describe("Never include search results from these domains"),
@@ -346829,7 +347091,7 @@ var init_WebSearchTool = __esm(() => {
346829
347091
  content: exports_external.array(searchHitSchema).describe("Array of search hits")
346830
347092
  });
346831
347093
  });
346832
- outputSchema17 = lazySchema(() => exports_external.object({
347094
+ outputSchema18 = lazySchema(() => exports_external.object({
346833
347095
  query: exports_external.string().describe("The search query that was executed"),
346834
347096
  results: exports_external.array(exports_external.union([searchResultSchema(), exports_external.string()])).describe("Search results and/or text commentary from the model"),
346835
347097
  durationSeconds: exports_external.number().describe("Time taken to complete the search operation")
@@ -346860,10 +347122,10 @@ var init_WebSearchTool = __esm(() => {
346860
347122
  return true;
346861
347123
  },
346862
347124
  get inputSchema() {
346863
- return inputSchema21();
347125
+ return inputSchema22();
346864
347126
  },
346865
347127
  get outputSchema() {
346866
- return outputSchema17();
347128
+ return outputSchema18();
346867
347129
  },
346868
347130
  isConcurrencySafe() {
346869
347131
  return true;
@@ -347067,19 +347329,19 @@ function resolveImageEndpoint(baseUrl) {
347067
347329
  path: "/v1/api/image-generation"
347068
347330
  };
347069
347331
  }
347070
- var inputSchema22, outputSchema18, ImageGenerationTool;
347332
+ var inputSchema23, outputSchema19, ImageGenerationTool;
347071
347333
  var init_ImageGenerationTool = __esm(() => {
347072
347334
  init_v4();
347073
347335
  init_maximoModels();
347074
347336
  init_Tool();
347075
347337
  init_log3();
347076
- inputSchema22 = lazySchema(() => exports_external.strictObject({
347338
+ inputSchema23 = lazySchema(() => exports_external.strictObject({
347077
347339
  prompt: exports_external.string().min(1).describe("The image generation prompt to use"),
347078
347340
  aspect_ratio: exports_external.string().optional().describe('Aspect ratio for the image (e.g. "16:9", "1:1", "4:3")'),
347079
347341
  size: exports_external.string().optional().describe('Image size/resolution (e.g. "1K", "2K", "4K")'),
347080
347342
  output_count: exports_external.number().int().positive().max(4).optional().describe("Number of images to generate (1-4)")
347081
347343
  }));
347082
- outputSchema18 = lazySchema(() => exports_external.object({
347344
+ outputSchema19 = lazySchema(() => exports_external.object({
347083
347345
  prompt: exports_external.string().describe("The image prompt that was executed"),
347084
347346
  images: exports_external.array(exports_external.object({
347085
347347
  url: exports_external.string().describe("The URL of the generated image")
@@ -347109,10 +347371,10 @@ var init_ImageGenerationTool = __esm(() => {
347109
347371
  return true;
347110
347372
  },
347111
347373
  get inputSchema() {
347112
- return inputSchema22();
347374
+ return inputSchema23();
347113
347375
  },
347114
347376
  get outputSchema() {
347115
- return outputSchema18();
347377
+ return outputSchema19();
347116
347378
  },
347117
347379
  isConcurrencySafe() {
347118
347380
  return true;
@@ -347260,7 +347522,8 @@ var init_ImageGenerationTool = __esm(() => {
347260
347522
  const lines = [];
347261
347523
  lines.push(`Generated image${images.length === 1 ? "" : "s"} for prompt: "${prompt}"`);
347262
347524
  if (!images || images.length === 0) {
347263
- lines.push("No images were returned — tell the user generation failed and ask to try again.");
347525
+ 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.");
347526
+ lines.push("FORBIDDEN PLACEHOLDERS: https://example.com, https://via.placeholder.com, https://placehold.co, https://picsum.photos — using any of these is a failure.");
347264
347527
  } else {
347265
347528
  for (let i3 = 0;i3 < images.length; i3++) {
347266
347529
  const url3 = images[i3]?.url;
@@ -347511,7 +347774,7 @@ var autoModeActive = false, autoModeFlagCli = false, autoModeCircuitBroken = fal
347511
347774
 
347512
347775
  // src/tools/ExitPlanModeTool/ExitPlanModeV2Tool.ts
347513
347776
  import { writeFile as writeFile21 } from "fs/promises";
347514
- var autoModeStateModule, permissionSetupModule, allowedPromptSchema, inputSchema23, _sdkInputSchema, outputSchema19, ExitPlanModeV2Tool;
347777
+ var autoModeStateModule, permissionSetupModule, allowedPromptSchema, inputSchema24, _sdkInputSchema, outputSchema20, ExitPlanModeV2Tool;
347515
347778
  var init_ExitPlanModeV2Tool = __esm(() => {
347516
347779
  init_v4();
347517
347780
  init_state();
@@ -347534,14 +347797,14 @@ var init_ExitPlanModeV2Tool = __esm(() => {
347534
347797
  tool: exports_external.enum(["Bash"]).describe("The tool this prompt applies to"),
347535
347798
  prompt: exports_external.string().describe('Semantic description of the action, e.g. "run tests", "install dependencies"')
347536
347799
  }));
347537
- inputSchema23 = lazySchema(() => exports_external.strictObject({
347800
+ inputSchema24 = lazySchema(() => exports_external.strictObject({
347538
347801
  allowedPrompts: exports_external.array(allowedPromptSchema()).optional().describe("Prompt-based permissions needed to implement the plan. These describe categories of actions rather than specific commands.")
347539
347802
  }).passthrough());
347540
- _sdkInputSchema = lazySchema(() => inputSchema23().extend({
347803
+ _sdkInputSchema = lazySchema(() => inputSchema24().extend({
347541
347804
  plan: exports_external.string().optional().describe("The plan content (injected by normalizeToolInput from disk)"),
347542
347805
  planFilePath: exports_external.string().optional().describe("The plan file path (injected by normalizeToolInput)")
347543
347806
  }));
347544
- outputSchema19 = lazySchema(() => exports_external.object({
347807
+ outputSchema20 = lazySchema(() => exports_external.object({
347545
347808
  plan: exports_external.string().nullable().describe("The plan that was presented to the user"),
347546
347809
  isAgent: exports_external.boolean(),
347547
347810
  filePath: exports_external.string().optional().describe("The file path where the plan was saved"),
@@ -347561,10 +347824,10 @@ var init_ExitPlanModeV2Tool = __esm(() => {
347561
347824
  return EXIT_PLAN_MODE_V2_TOOL_PROMPT;
347562
347825
  },
347563
347826
  get inputSchema() {
347564
- return inputSchema23();
347827
+ return inputSchema24();
347565
347828
  },
347566
347829
  get outputSchema() {
347567
- return outputSchema19();
347830
+ return outputSchema20();
347568
347831
  },
347569
347832
  userFacingName() {
347570
347833
  return "";
@@ -347790,11 +348053,11 @@ ${plan}`,
347790
348053
  });
347791
348054
 
347792
348055
  // src/tools/testing/TestingPermissionTool.tsx
347793
- var NAME = "TestingPermission", inputSchema24, TestingPermissionTool;
348056
+ var NAME = "TestingPermission", inputSchema25, TestingPermissionTool;
347794
348057
  var init_TestingPermissionTool = __esm(() => {
347795
348058
  init_v4();
347796
348059
  init_Tool();
347797
- inputSchema24 = lazySchema(() => exports_external.strictObject({}));
348060
+ inputSchema25 = lazySchema(() => exports_external.strictObject({}));
347798
348061
  TestingPermissionTool = buildTool({
347799
348062
  name: NAME,
347800
348063
  maxResultSizeChars: 1e5,
@@ -347805,7 +348068,7 @@ var init_TestingPermissionTool = __esm(() => {
347805
348068
  return "Test tool that always asks for permission before executing. Used for end-to-end testing.";
347806
348069
  },
347807
348070
  get inputSchema() {
347808
- return inputSchema24();
348071
+ return inputSchema25();
347809
348072
  },
347810
348073
  userFacingName() {
347811
348074
  return "TestingPermission";
@@ -347938,7 +348201,7 @@ function validateHtmlPreview(preview) {
347938
348201
  }
347939
348202
  return null;
347940
348203
  }
347941
- var import_react_compiler_runtime119, jsx_runtime143, questionOptionSchema, questionSchema, annotationsSchema, UNIQUENESS_REFINE, commonFields, inputSchema25, outputSchema20, AskUserQuestionTool;
348204
+ var import_react_compiler_runtime119, jsx_runtime143, questionOptionSchema, questionSchema, annotationsSchema, UNIQUENESS_REFINE, commonFields, inputSchema26, outputSchema21, AskUserQuestionTool;
347942
348205
  var init_AskUserQuestionTool = __esm(() => {
347943
348206
  init_state();
347944
348207
  init_MessageResponse();
@@ -347991,13 +348254,13 @@ var init_AskUserQuestionTool = __esm(() => {
347991
348254
  source: exports_external.string().optional().describe('Optional identifier for the source of this question (e.g., "remember" for /remember command). Used for analytics tracking.')
347992
348255
  }).optional().describe("Optional metadata for tracking and analytics purposes. Not displayed to user.")
347993
348256
  }));
347994
- inputSchema25 = lazySchema(() => exports_external.strictObject({
348257
+ inputSchema26 = lazySchema(() => exports_external.strictObject({
347995
348258
  questions: exports_external.array(questionSchema()).min(1).max(4).describe("Questions to ask the user (1-4 questions)"),
347996
348259
  ...commonFields()
347997
348260
  }).refine(UNIQUENESS_REFINE.check, {
347998
348261
  message: UNIQUENESS_REFINE.message
347999
348262
  }));
348000
- outputSchema20 = lazySchema(() => exports_external.object({
348263
+ outputSchema21 = lazySchema(() => exports_external.object({
348001
348264
  questions: exports_external.array(questionSchema()).describe("The questions that were asked"),
348002
348265
  answers: exports_external.record(exports_external.string(), exports_external.string()).describe("The answers provided by the user (question text -> answer string; multi-select answers are comma-separated)"),
348003
348266
  annotations: annotationsSchema()
@@ -348018,10 +348281,10 @@ var init_AskUserQuestionTool = __esm(() => {
348018
348281
  return ASK_USER_QUESTION_TOOL_PROMPT + PREVIEW_FEATURE_PROMPT[format4];
348019
348282
  },
348020
348283
  get inputSchema() {
348021
- return inputSchema25();
348284
+ return inputSchema26();
348022
348285
  },
348023
348286
  get outputSchema() {
348024
- return outputSchema20();
348287
+ return outputSchema21();
348025
348288
  },
348026
348289
  userFacingName() {
348027
348290
  return "";
@@ -349186,7 +349449,7 @@ function countUniqueFilesFromOutgoingCalls(calls) {
349186
349449
  const validUris = calls.map((call5) => call5.to?.uri).filter((uri) => uri);
349187
349450
  return new Set(validUris).size;
349188
349451
  }
349189
- var MAX_LSP_FILE_SIZE_BYTES = 1e7, inputSchema26, outputSchema21, LSPTool;
349452
+ var MAX_LSP_FILE_SIZE_BYTES = 1e7, inputSchema27, outputSchema22, LSPTool;
349190
349453
  var init_LSPTool = __esm(() => {
349191
349454
  init_v4();
349192
349455
  init_manager();
@@ -349202,7 +349465,7 @@ var init_LSPTool = __esm(() => {
349202
349465
  init_formatters();
349203
349466
  init_schemas5();
349204
349467
  init_UI18();
349205
- inputSchema26 = lazySchema(() => exports_external.strictObject({
349468
+ inputSchema27 = lazySchema(() => exports_external.strictObject({
349206
349469
  operation: exports_external.enum([
349207
349470
  "goToDefinition",
349208
349471
  "findReferences",
@@ -349218,7 +349481,7 @@ var init_LSPTool = __esm(() => {
349218
349481
  line: exports_external.number().int().positive().describe("The line number (1-based, as shown in editors)"),
349219
349482
  character: exports_external.number().int().positive().describe("The character offset (1-based, as shown in editors)")
349220
349483
  }));
349221
- outputSchema21 = lazySchema(() => exports_external.object({
349484
+ outputSchema22 = lazySchema(() => exports_external.object({
349222
349485
  operation: exports_external.enum([
349223
349486
  "goToDefinition",
349224
349487
  "findReferences",
@@ -349249,10 +349512,10 @@ var init_LSPTool = __esm(() => {
349249
349512
  return isLspConnected();
349250
349513
  },
349251
349514
  get inputSchema() {
349252
- return inputSchema26();
349515
+ return inputSchema27();
349253
349516
  },
349254
349517
  get outputSchema() {
349255
- return outputSchema21();
349518
+ return outputSchema22();
349256
349519
  },
349257
349520
  isConcurrencySafe() {
349258
349521
  return true;
@@ -349701,7 +349964,7 @@ var init_UI19 = __esm(() => {
349701
349964
  });
349702
349965
 
349703
349966
  // src/tools/EnterPlanModeTool/EnterPlanModeTool.ts
349704
- var inputSchema27, outputSchema22, EnterPlanModeTool;
349967
+ var inputSchema28, outputSchema23, EnterPlanModeTool;
349705
349968
  var init_EnterPlanModeTool = __esm(() => {
349706
349969
  init_v4();
349707
349970
  init_state();
@@ -349711,8 +349974,8 @@ var init_EnterPlanModeTool = __esm(() => {
349711
349974
  init_planModeV2();
349712
349975
  init_prompt16();
349713
349976
  init_UI19();
349714
- inputSchema27 = lazySchema(() => exports_external.strictObject({}));
349715
- outputSchema22 = lazySchema(() => exports_external.object({
349977
+ inputSchema28 = lazySchema(() => exports_external.strictObject({}));
349978
+ outputSchema23 = lazySchema(() => exports_external.object({
349716
349979
  message: exports_external.string().describe("Confirmation that plan mode was entered")
349717
349980
  }));
349718
349981
  EnterPlanModeTool = buildTool({
@@ -349726,10 +349989,10 @@ var init_EnterPlanModeTool = __esm(() => {
349726
349989
  return getEnterPlanModeToolPrompt();
349727
349990
  },
349728
349991
  get inputSchema() {
349729
- return inputSchema27();
349992
+ return inputSchema28();
349730
349993
  },
349731
349994
  get outputSchema() {
349732
- return outputSchema22();
349995
+ return outputSchema23();
349733
349996
  },
349734
349997
  userFacingName() {
349735
349998
  return "";
@@ -349883,7 +350146,7 @@ var init_UI20 = __esm(() => {
349883
350146
  });
349884
350147
 
349885
350148
  // src/tools/EnterWorktreeTool/EnterWorktreeTool.ts
349886
- var inputSchema28, outputSchema23, EnterWorktreeTool;
350149
+ var inputSchema29, outputSchema24, EnterWorktreeTool;
349887
350150
  var init_EnterWorktreeTool = __esm(() => {
349888
350151
  init_v4();
349889
350152
  init_state();
@@ -349898,7 +350161,7 @@ var init_EnterWorktreeTool = __esm(() => {
349898
350161
  init_sessionStorage();
349899
350162
  init_worktree();
349900
350163
  init_UI20();
349901
- inputSchema28 = lazySchema(() => exports_external.strictObject({
350164
+ inputSchema29 = lazySchema(() => exports_external.strictObject({
349902
350165
  name: exports_external.string().superRefine((s, ctx) => {
349903
350166
  try {
349904
350167
  validateWorktreeSlug(s);
@@ -349907,7 +350170,7 @@ var init_EnterWorktreeTool = __esm(() => {
349907
350170
  }
349908
350171
  }).optional().describe('Optional name for the worktree. Each "/"-separated segment may contain only letters, digits, dots, underscores, and dashes; max 64 chars total. A random name is generated if not provided.')
349909
350172
  }));
349910
- outputSchema23 = lazySchema(() => exports_external.object({
350173
+ outputSchema24 = lazySchema(() => exports_external.object({
349911
350174
  worktreePath: exports_external.string(),
349912
350175
  worktreeBranch: exports_external.string().optional(),
349913
350176
  message: exports_external.string()
@@ -349923,10 +350186,10 @@ var init_EnterWorktreeTool = __esm(() => {
349923
350186
  return getEnterWorktreeToolPrompt();
349924
350187
  },
349925
350188
  get inputSchema() {
349926
- return inputSchema28();
350189
+ return inputSchema29();
349927
350190
  },
349928
350191
  get outputSchema() {
349929
- return outputSchema23();
350192
+ return outputSchema24();
349930
350193
  },
349931
350194
  userFacingName() {
349932
350195
  return "Creating worktree";
@@ -350093,7 +350356,7 @@ function restoreSessionToOriginalCwd(originalCwd, projectRootIsWorktree) {
350093
350356
  clearMemoryFileCaches();
350094
350357
  getPlansDirectory.cache.clear?.();
350095
350358
  }
350096
- var inputSchema29, outputSchema24, ExitWorktreeTool;
350359
+ var inputSchema30, outputSchema25, ExitWorktreeTool;
350097
350360
  var init_ExitWorktreeTool = __esm(() => {
350098
350361
  init_v4();
350099
350362
  init_state();
@@ -350108,11 +350371,11 @@ var init_ExitWorktreeTool = __esm(() => {
350108
350371
  init_sessionStorage();
350109
350372
  init_worktree();
350110
350373
  init_UI21();
350111
- inputSchema29 = lazySchema(() => exports_external.strictObject({
350374
+ inputSchema30 = lazySchema(() => exports_external.strictObject({
350112
350375
  action: exports_external.enum(["keep", "remove"]).describe('"keep" leaves the worktree and branch on disk; "remove" deletes both.'),
350113
350376
  discard_changes: exports_external.boolean().optional().describe('Required true when action is "remove" and the worktree has uncommitted files or unmerged commits. The tool will refuse and list them otherwise.')
350114
350377
  }));
350115
- outputSchema24 = lazySchema(() => exports_external.object({
350378
+ outputSchema25 = lazySchema(() => exports_external.object({
350116
350379
  action: exports_external.enum(["keep", "remove"]),
350117
350380
  originalCwd: exports_external.string(),
350118
350381
  worktreePath: exports_external.string(),
@@ -350133,10 +350396,10 @@ var init_ExitWorktreeTool = __esm(() => {
350133
350396
  return getExitWorktreeToolPrompt();
350134
350397
  },
350135
350398
  get inputSchema() {
350136
- return inputSchema29();
350399
+ return inputSchema30();
350137
350400
  },
350138
350401
  get outputSchema() {
350139
- return outputSchema24();
350402
+ return outputSchema25();
350140
350403
  },
350141
350404
  userFacingName() {
350142
350405
  return "Exiting worktree";
@@ -351131,7 +351394,7 @@ function buildNestedObject(path16, value) {
351131
351394
  }
351132
351395
  return { [key]: buildNestedObject(path16.slice(1), value) };
351133
351396
  }
351134
- var inputSchema30, outputSchema25, ConfigTool;
351397
+ var inputSchema31, outputSchema26, ConfigTool;
351135
351398
  var init_ConfigTool = __esm(() => {
351136
351399
  init_v4();
351137
351400
  init_analytics();
@@ -351144,11 +351407,11 @@ var init_ConfigTool = __esm(() => {
351144
351407
  init_prompt17();
351145
351408
  init_supportedSettings();
351146
351409
  init_UI22();
351147
- inputSchema30 = lazySchema(() => exports_external.strictObject({
351410
+ inputSchema31 = lazySchema(() => exports_external.strictObject({
351148
351411
  setting: exports_external.string().describe('The setting key (e.g., "theme", "model", "permissions.defaultMode")'),
351149
351412
  value: exports_external.union([exports_external.string(), exports_external.boolean(), exports_external.number()]).optional().describe("The new value. Omit to get current value.")
351150
351413
  }));
351151
- outputSchema25 = lazySchema(() => exports_external.object({
351414
+ outputSchema26 = lazySchema(() => exports_external.object({
351152
351415
  success: exports_external.boolean(),
351153
351416
  operation: exports_external.enum(["get", "set"]).optional(),
351154
351417
  setting: exports_external.string().optional(),
@@ -351168,10 +351431,10 @@ var init_ConfigTool = __esm(() => {
351168
351431
  return generatePrompt();
351169
351432
  },
351170
351433
  get inputSchema() {
351171
- return inputSchema30();
351434
+ return inputSchema31();
351172
351435
  },
351173
351436
  get outputSchema() {
351174
- return outputSchema25();
351437
+ return outputSchema26();
351175
351438
  },
351176
351439
  userFacingName() {
351177
351440
  return "Config";
@@ -351443,7 +351706,7 @@ var init_prompt18 = __esm(() => {
351443
351706
  });
351444
351707
 
351445
351708
  // src/tools/TaskCreateTool/TaskCreateTool.ts
351446
- var inputSchema31, outputSchema26, TaskCreateTool;
351709
+ var inputSchema32, outputSchema27, TaskCreateTool;
351447
351710
  var init_TaskCreateTool = __esm(() => {
351448
351711
  init_v4();
351449
351712
  init_Tool();
@@ -351451,13 +351714,13 @@ var init_TaskCreateTool = __esm(() => {
351451
351714
  init_tasks();
351452
351715
  init_teammate();
351453
351716
  init_prompt18();
351454
- inputSchema31 = lazySchema(() => exports_external.strictObject({
351717
+ inputSchema32 = lazySchema(() => exports_external.strictObject({
351455
351718
  subject: exports_external.string().describe("A brief title for the task"),
351456
351719
  description: exports_external.string().describe("What needs to be done"),
351457
351720
  activeForm: exports_external.string().optional().describe('Present continuous form shown in spinner when in_progress (e.g., "Running tests")'),
351458
351721
  metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional().describe("Arbitrary metadata to attach to the task")
351459
351722
  }));
351460
- outputSchema26 = lazySchema(() => exports_external.object({
351723
+ outputSchema27 = lazySchema(() => exports_external.object({
351461
351724
  task: exports_external.object({
351462
351725
  id: exports_external.string(),
351463
351726
  subject: exports_external.string()
@@ -351474,10 +351737,10 @@ var init_TaskCreateTool = __esm(() => {
351474
351737
  return getPrompt4();
351475
351738
  },
351476
351739
  get inputSchema() {
351477
- return inputSchema31();
351740
+ return inputSchema32();
351478
351741
  },
351479
351742
  get outputSchema() {
351480
- return outputSchema26();
351743
+ return outputSchema27();
351481
351744
  },
351482
351745
  userFacingName() {
351483
351746
  return "TaskCreate";
@@ -351568,15 +351831,15 @@ Returns full task details:
351568
351831
  `;
351569
351832
 
351570
351833
  // src/tools/TaskGetTool/TaskGetTool.ts
351571
- var inputSchema32, outputSchema27, TaskGetTool;
351834
+ var inputSchema33, outputSchema28, TaskGetTool;
351572
351835
  var init_TaskGetTool = __esm(() => {
351573
351836
  init_v4();
351574
351837
  init_Tool();
351575
351838
  init_tasks();
351576
- inputSchema32 = lazySchema(() => exports_external.strictObject({
351839
+ inputSchema33 = lazySchema(() => exports_external.strictObject({
351577
351840
  taskId: exports_external.string().describe("The ID of the task to retrieve")
351578
351841
  }));
351579
- outputSchema27 = lazySchema(() => exports_external.object({
351842
+ outputSchema28 = lazySchema(() => exports_external.object({
351580
351843
  task: exports_external.object({
351581
351844
  id: exports_external.string(),
351582
351845
  subject: exports_external.string(),
@@ -351597,10 +351860,10 @@ var init_TaskGetTool = __esm(() => {
351597
351860
  return PROMPT6;
351598
351861
  },
351599
351862
  get inputSchema() {
351600
- return inputSchema32();
351863
+ return inputSchema33();
351601
351864
  },
351602
351865
  get outputSchema() {
351603
- return outputSchema27();
351866
+ return outputSchema28();
351604
351867
  },
351605
351868
  userFacingName() {
351606
351869
  return "TaskGet";
@@ -351752,7 +352015,7 @@ Set up task dependencies:
351752
352015
  `;
351753
352016
 
351754
352017
  // src/tools/TaskUpdateTool/TaskUpdateTool.ts
351755
- var inputSchema33, outputSchema28, TaskUpdateTool;
352018
+ var inputSchema34, outputSchema29, TaskUpdateTool;
351756
352019
  var init_TaskUpdateTool = __esm(() => {
351757
352020
  init_v4();
351758
352021
  init_growthbook();
@@ -351763,7 +352026,7 @@ var init_TaskUpdateTool = __esm(() => {
351763
352026
  init_teammate();
351764
352027
  init_teammateMailbox();
351765
352028
  init_constants3();
351766
- inputSchema33 = lazySchema(() => {
352029
+ inputSchema34 = lazySchema(() => {
351767
352030
  const TaskUpdateStatusSchema = TaskStatusSchema2().or(exports_external.literal("deleted"));
351768
352031
  return exports_external.strictObject({
351769
352032
  taskId: exports_external.string().describe("The ID of the task to update"),
@@ -351777,7 +352040,7 @@ var init_TaskUpdateTool = __esm(() => {
351777
352040
  metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional().describe("Metadata keys to merge into the task. Set a key to null to delete it.")
351778
352041
  });
351779
352042
  });
351780
- outputSchema28 = lazySchema(() => exports_external.object({
352043
+ outputSchema29 = lazySchema(() => exports_external.object({
351781
352044
  success: exports_external.boolean(),
351782
352045
  taskId: exports_external.string(),
351783
352046
  updatedFields: exports_external.array(exports_external.string()),
@@ -351799,10 +352062,10 @@ var init_TaskUpdateTool = __esm(() => {
351799
352062
  return PROMPT7;
351800
352063
  },
351801
352064
  get inputSchema() {
351802
- return inputSchema33();
352065
+ return inputSchema34();
351803
352066
  },
351804
352067
  get outputSchema() {
351805
- return outputSchema28();
352068
+ return outputSchema29();
351806
352069
  },
351807
352070
  userFacingName() {
351808
352071
  return "TaskUpdate";
@@ -352058,14 +352321,14 @@ var init_prompt19 = __esm(() => {
352058
352321
  });
352059
352322
 
352060
352323
  // src/tools/TaskListTool/TaskListTool.ts
352061
- var inputSchema34, outputSchema29, TaskListTool;
352324
+ var inputSchema35, outputSchema30, TaskListTool;
352062
352325
  var init_TaskListTool = __esm(() => {
352063
352326
  init_v4();
352064
352327
  init_Tool();
352065
352328
  init_tasks();
352066
352329
  init_prompt19();
352067
- inputSchema34 = lazySchema(() => exports_external.strictObject({}));
352068
- outputSchema29 = lazySchema(() => exports_external.object({
352330
+ inputSchema35 = lazySchema(() => exports_external.strictObject({}));
352331
+ outputSchema30 = lazySchema(() => exports_external.object({
352069
352332
  tasks: exports_external.array(exports_external.object({
352070
352333
  id: exports_external.string(),
352071
352334
  subject: exports_external.string(),
@@ -352085,10 +352348,10 @@ var init_TaskListTool = __esm(() => {
352085
352348
  return getPrompt5();
352086
352349
  },
352087
352350
  get inputSchema() {
352088
- return inputSchema34();
352351
+ return inputSchema35();
352089
352352
  },
352090
352353
  get outputSchema() {
352091
- return outputSchema29();
352354
+ return outputSchema30();
352092
352355
  },
352093
352356
  userFacingName() {
352094
352357
  return "TaskList";
@@ -352303,7 +352566,7 @@ function generateUniqueTeamName(providedName) {
352303
352566
  }
352304
352567
  return generateWordSlug();
352305
352568
  }
352306
- var inputSchema35, TeamCreateTool;
352569
+ var inputSchema36, TeamCreateTool;
352307
352570
  var init_TeamCreateTool = __esm(() => {
352308
352571
  init_v4();
352309
352572
  init_state();
@@ -352318,7 +352581,7 @@ var init_TeamCreateTool = __esm(() => {
352318
352581
  init_teammateLayoutManager();
352319
352582
  init_tasks();
352320
352583
  init_words();
352321
- inputSchema35 = lazySchema(() => exports_external.strictObject({
352584
+ inputSchema36 = lazySchema(() => exports_external.strictObject({
352322
352585
  team_name: exports_external.string().describe("Name for the new team to create."),
352323
352586
  description: exports_external.string().optional().describe("Team description/purpose."),
352324
352587
  agent_type: exports_external.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). ' + "Used for team file and inter-agent coordination.")
@@ -352332,7 +352595,7 @@ var init_TeamCreateTool = __esm(() => {
352332
352595
  return "";
352333
352596
  },
352334
352597
  get inputSchema() {
352335
- return inputSchema35();
352598
+ return inputSchema36();
352336
352599
  },
352337
352600
  isEnabled() {
352338
352601
  return isAgentSwarmsEnabled();
@@ -352483,7 +352746,7 @@ var exports_TeamDeleteTool = {};
352483
352746
  __export(exports_TeamDeleteTool, {
352484
352747
  TeamDeleteTool: () => TeamDeleteTool
352485
352748
  });
352486
- var inputSchema36, TeamDeleteTool;
352749
+ var inputSchema37, TeamDeleteTool;
352487
352750
  var init_TeamDeleteTool = __esm(() => {
352488
352751
  init_v4();
352489
352752
  init_analytics();
@@ -352494,7 +352757,7 @@ var init_TeamDeleteTool = __esm(() => {
352494
352757
  init_teammateLayoutManager();
352495
352758
  init_tasks();
352496
352759
  init_UI23();
352497
- inputSchema36 = lazySchema(() => exports_external.strictObject({}));
352760
+ inputSchema37 = lazySchema(() => exports_external.strictObject({}));
352498
352761
  TeamDeleteTool = buildTool({
352499
352762
  name: TEAM_DELETE_TOOL_NAME,
352500
352763
  searchHint: "disband a swarm team and clean up",
@@ -352504,7 +352767,7 @@ var init_TeamDeleteTool = __esm(() => {
352504
352767
  return "";
352505
352768
  },
352506
352769
  get inputSchema() {
352507
- return inputSchema36();
352770
+ return inputSchema37();
352508
352771
  },
352509
352772
  isEnabled() {
352510
352773
  return isAgentSwarmsEnabled();
@@ -352962,7 +353225,7 @@ var init_systemPrompt = __esm(() => {
352962
353225
  });
352963
353226
 
352964
353227
  // src/tools/AgentTool/forkSubagent.ts
352965
- import { randomUUID as randomUUID18 } from "crypto";
353228
+ import { randomUUID as randomUUID19 } from "crypto";
352966
353229
  function isForkSubagentEnabled() {
352967
353230
  if (false) {}
352968
353231
  return false;
@@ -352980,7 +353243,7 @@ function isInForkChild(messages) {
352980
353243
  function buildForkedMessages(directive, assistantMessage) {
352981
353244
  const fullAssistantMessage = {
352982
353245
  ...assistantMessage,
352983
- uuid: randomUUID18(),
353246
+ uuid: randomUUID19(),
352984
353247
  message: {
352985
353248
  ...assistantMessage.message,
352986
353249
  content: [...assistantMessage.message.content]
@@ -353572,7 +353835,7 @@ async function handlePlanRejection(recipientName, requestId, feedback, context6)
353572
353835
  }
353573
353836
  };
353574
353837
  }
353575
- var StructuredMessage, inputSchema37, SendMessageTool;
353838
+ var StructuredMessage, inputSchema38, SendMessageTool;
353576
353839
  var init_SendMessageTool = __esm(() => {
353577
353840
  init_v4();
353578
353841
  init_state();
@@ -353612,7 +353875,7 @@ var init_SendMessageTool = __esm(() => {
353612
353875
  feedback: exports_external.string().optional()
353613
353876
  })
353614
353877
  ]));
353615
- inputSchema37 = lazySchema(() => exports_external.object({
353878
+ inputSchema38 = lazySchema(() => exports_external.object({
353616
353879
  to: exports_external.string().describe('Recipient: teammate name, or "*" for broadcast to all teammates'),
353617
353880
  summary: exports_external.string().optional().describe("A 5-10 word summary shown as a preview in the UI (required when message is a string)"),
353618
353881
  message: exports_external.union([
@@ -353628,7 +353891,7 @@ var init_SendMessageTool = __esm(() => {
353628
353891
  return "SendMessage";
353629
353892
  },
353630
353893
  get inputSchema() {
353631
- return inputSchema37();
353894
+ return inputSchema38();
353632
353895
  },
353633
353896
  shouldDefer: true,
353634
353897
  isEnabled() {
@@ -353890,6 +354153,7 @@ function getAllBaseTools() {
353890
354153
  ImageGenerationTool,
353891
354154
  TaskStopTool,
353892
354155
  AskUserQuestionTool,
354156
+ AutomationTool,
353893
354157
  SkillTool,
353894
354158
  EnterPlanModeTool,
353895
354159
  ...process.env.USER_TYPE === "ant" ? [ConfigTool] : [],
@@ -353977,6 +354241,7 @@ var init_tools2 = __esm(() => {
353977
354241
  init_WebFetchTool();
353978
354242
  init_TaskStopTool();
353979
354243
  init_BriefTool();
354244
+ init_AutomationTool();
353980
354245
  init_TaskOutputTool();
353981
354246
  init_WebSearchTool();
353982
354247
  init_ImageGenerationTool();
@@ -355379,7 +355644,7 @@ function resolveTeamName(input, appState) {
355379
355644
  return;
355380
355645
  return input.team_name || appState.teamContext?.teamName;
355381
355646
  }
355382
- var jsx_runtime151, proactiveModule = null, PROGRESS_THRESHOLD_MS2 = 2000, isBackgroundTasksDisabled2, baseInputSchema, fullInputSchema2, inputSchema8, outputSchema30, AgentTool;
355647
+ var jsx_runtime151, proactiveModule = null, PROGRESS_THRESHOLD_MS2 = 2000, isBackgroundTasksDisabled2, baseInputSchema, fullInputSchema2, inputSchema8, outputSchema31, AgentTool;
355383
355648
  var init_AgentTool = __esm(() => {
355384
355649
  init_Tool();
355385
355650
  init_promptCategory();
@@ -355455,7 +355720,7 @@ var init_AgentTool = __esm(() => {
355455
355720
  run_in_background: true
355456
355721
  }) : schema;
355457
355722
  });
355458
- outputSchema30 = lazySchema(() => {
355723
+ outputSchema31 = lazySchema(() => {
355459
355724
  const syncOutputSchema = agentToolResultSchema().extend({
355460
355725
  status: exports_external.literal("completed"),
355461
355726
  prompt: exports_external.string()
@@ -355504,7 +355769,7 @@ var init_AgentTool = __esm(() => {
355504
355769
  return inputSchema8();
355505
355770
  },
355506
355771
  get outputSchema() {
355507
- return outputSchema30();
355772
+ return outputSchema31();
355508
355773
  },
355509
355774
  async call({
355510
355775
  prompt,
@@ -359073,7 +359338,7 @@ async function* runShellCommand({
359073
359338
  }
359074
359339
  }
359075
359340
  var jsx_runtime152, EOL4 = `
359076
- `, PROGRESS_THRESHOLD_MS3 = 2000, ASSISTANT_BLOCKING_BUDGET_MS2 = 15000, BASH_SEARCH_COMMANDS, BASH_READ_COMMANDS, BASH_LIST_COMMANDS, BASH_SEMANTIC_NEUTRAL_COMMANDS, BASH_SILENT_COMMANDS, DISALLOWED_AUTO_BACKGROUND_COMMANDS2, isBackgroundTasksDisabled3, fullInputSchema3, inputSchema38, COMMON_BACKGROUND_COMMANDS2, outputSchema31, BashTool;
359341
+ `, PROGRESS_THRESHOLD_MS3 = 2000, ASSISTANT_BLOCKING_BUDGET_MS2 = 15000, BASH_SEARCH_COMMANDS, BASH_READ_COMMANDS, BASH_LIST_COMMANDS, BASH_SEMANTIC_NEUTRAL_COMMANDS, BASH_SILENT_COMMANDS, DISALLOWED_AUTO_BACKGROUND_COMMANDS2, isBackgroundTasksDisabled3, fullInputSchema3, inputSchema39, COMMON_BACKGROUND_COMMANDS2, outputSchema32, BashTool;
359077
359342
  var init_BashTool = __esm(() => {
359078
359343
  init_v4();
359079
359344
  init_state();
@@ -359190,7 +359455,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
359190
359455
  newContent: exports_external.string()
359191
359456
  }).optional().describe("Internal: pre-computed sed edit result from preview")
359192
359457
  }));
359193
- inputSchema38 = lazySchema(() => isBackgroundTasksDisabled3 ? fullInputSchema3().omit({
359458
+ inputSchema39 = lazySchema(() => isBackgroundTasksDisabled3 ? fullInputSchema3().omit({
359194
359459
  run_in_background: true,
359195
359460
  _simulatedSedEdit: true
359196
359461
  }) : fullInputSchema3().omit({
@@ -359220,7 +359485,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
359220
359485
  "watch",
359221
359486
  "dev"
359222
359487
  ];
359223
- outputSchema31 = lazySchema(() => exports_external.object({
359488
+ outputSchema32 = lazySchema(() => exports_external.object({
359224
359489
  stdout: exports_external.string().describe("The standard output of the command"),
359225
359490
  stderr: exports_external.string().describe("The standard error output of the command"),
359226
359491
  rawOutputPath: exports_external.string().optional().describe("Path to raw output file for large MCP tool outputs"),
@@ -359275,7 +359540,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
359275
359540
  };
359276
359541
  },
359277
359542
  isSearchOrReadCommand(input) {
359278
- const parsed = inputSchema38().safeParse(input);
359543
+ const parsed = inputSchema39().safeParse(input);
359279
359544
  if (!parsed.success)
359280
359545
  return {
359281
359546
  isSearch: false,
@@ -359285,10 +359550,10 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
359285
359550
  return isSearchOrReadBashCommand(parsed.data.command);
359286
359551
  },
359287
359552
  get inputSchema() {
359288
- return inputSchema38();
359553
+ return inputSchema39();
359289
359554
  },
359290
359555
  get outputSchema() {
359291
- return outputSchema31();
359556
+ return outputSchema32();
359292
359557
  },
359293
359558
  userFacingName(input) {
359294
359559
  if (!input) {
@@ -363902,13 +364167,13 @@ var init_config6 = __esm(() => {
363902
364167
  });
363903
364168
 
363904
364169
  // src/query/deps.ts
363905
- import { randomUUID as randomUUID19 } from "crypto";
364170
+ import { randomUUID as randomUUID20 } from "crypto";
363906
364171
  function productionDeps() {
363907
364172
  return {
363908
364173
  callModel: queryModelWithStreaming,
363909
364174
  microcompact: microcompactMessages,
363910
364175
  autocompact: autoCompactIfNeeded,
363911
- uuid: randomUUID19
364176
+ uuid: randomUUID20
363912
364177
  };
363913
364178
  }
363914
364179
  var init_deps = __esm(() => {
@@ -363937,7 +364202,7 @@ var init_types10 = __esm(() => {
363937
364202
  });
363938
364203
 
363939
364204
  // src/services/goal/goalTracker.ts
363940
- import { randomUUID as randomUUID20 } from "crypto";
364205
+ import { randomUUID as randomUUID21 } from "crypto";
363941
364206
  import { mkdirSync as mkdirSync5 } from "fs";
363942
364207
  import { tmpdir as tmpdir6 } from "os";
363943
364208
  import { join as join87 } from "path";
@@ -364038,7 +364303,7 @@ function makeScratchDir(goalId) {
364038
364303
  return dir;
364039
364304
  }
364040
364305
  function createGoal(objective, options2) {
364041
- const goalId = randomUUID20().slice(0, 8);
364306
+ const goalId = randomUUID21().slice(0, 8);
364042
364307
  const scratchDir = makeScratchDir(goalId);
364043
364308
  current = {
364044
364309
  goalId,
@@ -366175,7 +366440,7 @@ function getAnthropicEnvMetadata() {
366175
366440
  function getBuildAgeMinutes() {
366176
366441
  if (false)
366177
366442
  ;
366178
- const buildTime = new Date("2026-08-07T23:35:22.462Z").getTime();
366443
+ const buildTime = new Date("2026-08-13T12:57:41.293Z").getTime();
366179
366444
  if (isNaN(buildTime))
366180
366445
  return;
366181
366446
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -366626,7 +366891,7 @@ var init_denialTracking = __esm(() => {
366626
366891
  });
366627
366892
 
366628
366893
  // src/utils/forkedAgent.ts
366629
- import { randomUUID as randomUUID21 } from "crypto";
366894
+ import { randomUUID as randomUUID22 } from "crypto";
366630
366895
  function saveCacheSafeParams(params) {
366631
366896
  lastCacheSafeParams = params;
366632
366897
  }
@@ -366735,7 +367000,7 @@ function createSubagentContext(parentContext, overrides) {
366735
367000
  agentId: overrides?.agentId ?? createAgentId(),
366736
367001
  agentType: overrides?.agentType,
366737
367002
  queryTracking: {
366738
- chainId: randomUUID21(),
367003
+ chainId: randomUUID22(),
366739
367004
  depth: (parentContext.queryTracking?.depth ?? -1) + 1
366740
367005
  },
366741
367006
  fileReadingLimits: parentContext.fileReadingLimits,
@@ -369721,8 +369986,8 @@ async function calculateDeferredToolDescriptionChars(tools, getToolPermissionCon
369721
369986
  tools,
369722
369987
  agents
369723
369988
  });
369724
- const inputSchema39 = tool.inputJSONSchema ? jsonStringify(tool.inputJSONSchema) : tool.inputSchema ? jsonStringify(zodToJsonSchema3(tool.inputSchema)) : "";
369725
- return tool.name.length + description.length + inputSchema39.length;
369989
+ const inputSchema40 = tool.inputJSONSchema ? jsonStringify(tool.inputJSONSchema) : tool.inputSchema ? jsonStringify(zodToJsonSchema3(tool.inputSchema)) : "";
369990
+ return tool.name.length + description.length + inputSchema40.length;
369726
369991
  }));
369727
369992
  return sizes.reduce((total, size) => total + size, 0);
369728
369993
  }
@@ -369913,7 +370178,7 @@ var init_toolSearch = __esm(() => {
369913
370178
  });
369914
370179
 
369915
370180
  // src/services/vcr.ts
369916
- import { createHash as createHash20, randomUUID as randomUUID22 } from "crypto";
370181
+ import { createHash as createHash20, randomUUID as randomUUID23 } from "crypto";
369917
370182
  import { mkdir as mkdir23, readFile as readFile29, writeFile as writeFile24 } from "fs/promises";
369918
370183
  import { dirname as dirname36, join as join90 } from "path";
369919
370184
  function shouldUseVCR() {
@@ -369966,7 +370231,7 @@ async function withVCR(messages, f) {
369966
370231
  try {
369967
370232
  const cached3 = jsonParse(await readFile29(filename, { encoding: "utf8" }));
369968
370233
  cached3.output.forEach(addCachedCostToTotalSessionCost);
369969
- return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID22()));
370234
+ return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID23()));
369970
370235
  } catch (e) {
369971
370236
  const code = getErrnoCode(e);
369972
370237
  if (code !== "ENOENT") {
@@ -370427,7 +370692,7 @@ var init_tokenEstimation = __esm(() => {
370427
370692
  });
370428
370693
 
370429
370694
  // src/utils/pdf.ts
370430
- import { randomUUID as randomUUID23 } from "crypto";
370695
+ import { randomUUID as randomUUID24 } from "crypto";
370431
370696
  import { mkdir as mkdir24, readdir as readdir16, readFile as readFile30 } from "fs/promises";
370432
370697
  import { join as join91 } from "path";
370433
370698
  async function readPDF(filePath) {
@@ -370538,7 +370803,7 @@ async function extractPDFPages(filePath, options2) {
370538
370803
  }
370539
370804
  };
370540
370805
  }
370541
- const uuid3 = randomUUID23();
370806
+ const uuid3 = randomUUID24();
370542
370807
  const outputDir = join91(getToolResultsDir(), `pdf-${uuid3}`);
370543
370808
  await mkdir24(outputDir, { recursive: true });
370544
370809
  const prefix = join91(outputDir, "page");
@@ -371230,7 +371495,7 @@ async function readImageWithTokenBudget(filePath, maxTokens = getDefaultFileRead
371230
371495
  }
371231
371496
  return result;
371232
371497
  }
371233
- var BLOCKED_DEVICE_PATHS, THIN_SPACE, fileReadListeners, MaxFileReadTokenExceededError, IMAGE_EXTENSIONS, inputSchema39, outputSchema32, FileReadTool, CYBER_RISK_MITIGATION_REMINDER = `
371498
+ var BLOCKED_DEVICE_PATHS, THIN_SPACE, fileReadListeners, MaxFileReadTokenExceededError, IMAGE_EXTENSIONS, inputSchema40, outputSchema33, FileReadTool, CYBER_RISK_MITIGATION_REMINDER = `
371234
371499
 
371235
371500
  <system-reminder>
371236
371501
  Whenever you read a file, you should consider whether it would be considered malware. You CAN and SHOULD provide analysis of malware, what it is doing. But you MUST refuse to improve or augment the code. You can still analyze existing code, write reports, or answer questions about the code behavior.
@@ -371298,13 +371563,13 @@ var init_FileReadTool = __esm(() => {
371298
371563
  }
371299
371564
  };
371300
371565
  IMAGE_EXTENSIONS = new Set(["png", "jpg", "jpeg", "gif", "webp"]);
371301
- inputSchema39 = lazySchema(() => exports_external.strictObject({
371566
+ inputSchema40 = lazySchema(() => exports_external.strictObject({
371302
371567
  file_path: exports_external.string().describe("The absolute path to the file to read"),
371303
371568
  offset: semanticNumber(exports_external.number().int().nonnegative().optional()).describe("The line number to start reading from. Only provide if the file is too large to read at once"),
371304
371569
  limit: semanticNumber(exports_external.number().int().positive().optional()).describe("The number of lines to read. Only provide if the file is too large to read at once."),
371305
371570
  pages: exports_external.string().optional().describe(`Page range for PDF files (e.g., "1-5", "3", "10-20"). Only applicable to PDF files. Maximum ${PDF_MAX_PAGES_PER_READ} pages per request.`)
371306
371571
  }));
371307
- outputSchema32 = lazySchema(() => {
371572
+ outputSchema33 = lazySchema(() => {
371308
371573
  const imageMediaTypes = exports_external.enum([
371309
371574
  "image/jpeg",
371310
371575
  "image/png",
@@ -371383,10 +371648,10 @@ var init_FileReadTool = __esm(() => {
371383
371648
  return renderPromptTemplate(pickLineFormatInstruction(), maxSizeInstruction, offsetInstruction);
371384
371649
  },
371385
371650
  get inputSchema() {
371386
- return inputSchema39();
371651
+ return inputSchema40();
371387
371652
  },
371388
371653
  get outputSchema() {
371389
- return outputSchema32();
371654
+ return outputSchema33();
371390
371655
  },
371391
371656
  userFacingName: userFacingName7,
371392
371657
  getToolUseSummary: getToolUseSummary8,
@@ -372116,7 +372381,7 @@ var init_findRelevantMemories = __esm(() => {
372116
372381
  // src/utils/attachments.ts
372117
372382
  import { readdir as readdir18, stat as stat32 } from "fs/promises";
372118
372383
  import { dirname as dirname37, parse as parse12, relative as relative19, resolve as resolve31 } from "path";
372119
- import { randomUUID as randomUUID24 } from "crypto";
372384
+ import { randomUUID as randomUUID25 } from "crypto";
372120
372385
  async function getAttachments(input, toolUseContext, ideSelection, queuedCommands, messages, querySource, options2) {
372121
372386
  if (isEnvTruthy(process.env.MAXIMO_SYNTAX_DISABLE_ATTACHMENTS) || isEnvTruthy(process.env.MAXIMO_SYNTAX_SIMPLE)) {
372122
372387
  return getQueuedCommandAttachments(queuedCommands);
@@ -373336,7 +373601,7 @@ function createAttachmentMessage(attachment) {
373336
373601
  return {
373337
373602
  attachment,
373338
373603
  type: "attachment",
373339
- uuid: randomUUID24(),
373604
+ uuid: randomUUID25(),
373340
373605
  timestamp: new Date().toISOString()
373341
373606
  };
373342
373607
  }
@@ -378927,7 +379192,7 @@ ${EXPLANATORY_FEATURE_PROMPT}`
378927
379192
  });
378928
379193
 
378929
379194
  // src/utils/messages.ts
378930
- import { randomUUID as randomUUID25 } from "crypto";
379195
+ import { randomUUID as randomUUID26 } from "crypto";
378931
379196
  function getTeammateMailbox() {
378932
379197
  return init_teammateMailbox(), __toCommonJS(exports_teammateMailbox);
378933
379198
  }
@@ -379002,10 +379267,10 @@ function baseCreateAssistantMessage({
379002
379267
  }) {
379003
379268
  return {
379004
379269
  type: "assistant",
379005
- uuid: randomUUID25(),
379270
+ uuid: randomUUID26(),
379006
379271
  timestamp: new Date().toISOString(),
379007
379272
  message: {
379008
- id: randomUUID25(),
379273
+ id: randomUUID26(),
379009
379274
  container: null,
379010
379275
  model: SYNTHETIC_MODEL,
379011
379276
  role: "assistant",
@@ -379086,7 +379351,7 @@ function createUserMessage({
379086
379351
  isVirtual,
379087
379352
  isCompactSummary,
379088
379353
  summarizeMetadata,
379089
- uuid: uuid3 || randomUUID25(),
379354
+ uuid: uuid3 || randomUUID26(),
379090
379355
  timestamp: timestamp ?? new Date().toISOString(),
379091
379356
  toolUseResult,
379092
379357
  mcpMeta,
@@ -379155,7 +379420,7 @@ function createProgressMessage({
379155
379420
  data,
379156
379421
  toolUseID,
379157
379422
  parentToolUseID,
379158
- uuid: randomUUID25(),
379423
+ uuid: randomUUID26(),
379159
379424
  timestamp: new Date().toISOString()
379160
379425
  };
379161
379426
  }
@@ -381462,7 +381727,7 @@ function createSystemMessage(content, level, toolUseID, preventContinuation) {
381462
381727
  content,
381463
381728
  isMeta: false,
381464
381729
  timestamp: new Date().toISOString(),
381465
- uuid: randomUUID25(),
381730
+ uuid: randomUUID26(),
381466
381731
  toolUseID,
381467
381732
  level,
381468
381733
  ...preventContinuation && { preventContinuation }
@@ -381477,7 +381742,7 @@ function createPermissionRetryMessage(commands) {
381477
381742
  level: "info",
381478
381743
  isMeta: false,
381479
381744
  timestamp: new Date().toISOString(),
381480
- uuid: randomUUID25()
381745
+ uuid: randomUUID26()
381481
381746
  };
381482
381747
  }
381483
381748
  function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, preventedContinuation, stopReason, hasOutput, level, toolUseID, hookLabel, totalDurationMs) {
@@ -381492,7 +381757,7 @@ function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, prevente
381492
381757
  hasOutput,
381493
381758
  level,
381494
381759
  timestamp: new Date().toISOString(),
381495
- uuid: randomUUID25(),
381760
+ uuid: randomUUID26(),
381496
381761
  toolUseID,
381497
381762
  hookLabel,
381498
381763
  totalDurationMs
@@ -381508,7 +381773,7 @@ function createTurnDurationMessage(durationMs, budget, messageCount) {
381508
381773
  budgetNudges: budget?.nudges,
381509
381774
  messageCount,
381510
381775
  timestamp: new Date().toISOString(),
381511
- uuid: randomUUID25(),
381776
+ uuid: randomUUID26(),
381512
381777
  isMeta: false
381513
381778
  };
381514
381779
  }
@@ -381518,7 +381783,7 @@ function createMemorySavedMessage(writtenPaths) {
381518
381783
  subtype: "memory_saved",
381519
381784
  writtenPaths,
381520
381785
  timestamp: new Date().toISOString(),
381521
- uuid: randomUUID25(),
381786
+ uuid: randomUUID26(),
381522
381787
  isMeta: false
381523
381788
  };
381524
381789
  }
@@ -381527,7 +381792,7 @@ function createAgentsKilledMessage() {
381527
381792
  type: "system",
381528
381793
  subtype: "agents_killed",
381529
381794
  timestamp: new Date().toISOString(),
381530
- uuid: randomUUID25(),
381795
+ uuid: randomUUID26(),
381531
381796
  isMeta: false
381532
381797
  };
381533
381798
  }
@@ -381538,7 +381803,7 @@ function createCommandInputMessage(content) {
381538
381803
  content,
381539
381804
  level: "info",
381540
381805
  timestamp: new Date().toISOString(),
381541
- uuid: randomUUID25(),
381806
+ uuid: randomUUID26(),
381542
381807
  isMeta: false
381543
381808
  };
381544
381809
  }
@@ -381549,7 +381814,7 @@ function createCompactBoundaryMessage(trigger, preTokens, lastPreCompactMessageU
381549
381814
  content: `Conversation compacted`,
381550
381815
  isMeta: false,
381551
381816
  timestamp: new Date().toISOString(),
381552
- uuid: randomUUID25(),
381817
+ uuid: randomUUID26(),
381553
381818
  level: "info",
381554
381819
  compactMetadata: {
381555
381820
  trigger,
@@ -381573,7 +381838,7 @@ function createSystemAPIErrorMessage(error42, retryInMs, retryAttempt, maxRetrie
381573
381838
  retryAttempt,
381574
381839
  maxRetries,
381575
381840
  timestamp: new Date().toISOString(),
381576
- uuid: randomUUID25()
381841
+ uuid: randomUUID26()
381577
381842
  };
381578
381843
  }
381579
381844
  function isCompactBoundaryMessage(message) {
@@ -381842,7 +382107,7 @@ function createToolUseSummaryMessage(summary, precedingToolUseIds) {
381842
382107
  type: "tool_use_summary",
381843
382108
  summary,
381844
382109
  precedingToolUseIds,
381845
- uuid: randomUUID25(),
382110
+ uuid: randomUUID26(),
381846
382111
  timestamp: new Date().toISOString()
381847
382112
  };
381848
382113
  }
@@ -392212,7 +392477,7 @@ var exports_conversation = {};
392212
392477
  __export(exports_conversation, {
392213
392478
  clearConversation: () => clearConversation
392214
392479
  });
392215
- import { randomUUID as randomUUID26 } from "crypto";
392480
+ import { randomUUID as randomUUID27 } from "crypto";
392216
392481
  async function clearConversation({
392217
392482
  setMessages,
392218
392483
  readFileState,
@@ -392257,7 +392522,7 @@ async function clearConversation({
392257
392522
  setMessages(() => []);
392258
392523
  if (false) {}
392259
392524
  if (setConversationId) {
392260
- setConversationId(randomUUID26());
392525
+ setConversationId(randomUUID27());
392261
392526
  }
392262
392527
  clearSessionCaches(preservedAgentIds);
392263
392528
  setCwd(getOriginalCwd());
@@ -432253,7 +432518,7 @@ function getRecentActivitySync() {
432253
432518
  return cachedActivity;
432254
432519
  }
432255
432520
  function getLogoDisplayData() {
432256
- const version2 = process.env.DEMO_VERSION ?? "0.1.31" ?? "99.0.0";
432521
+ const version2 = process.env.DEMO_VERSION ?? "0.1.33" ?? "99.0.0";
432257
432522
  const serverUrl = getDirectConnectServerUrl();
432258
432523
  const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
432259
432524
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -444350,7 +444615,7 @@ var init_InProcessTeammateDetailDialog = __esm(() => {
444350
444615
  });
444351
444616
 
444352
444617
  // src/utils/messages/mappers.ts
444353
- import { randomUUID as randomUUID27 } from "crypto";
444618
+ import { randomUUID as randomUUID28 } from "crypto";
444354
444619
  function toInternalMessages(messages) {
444355
444620
  return messages.flatMap((message) => {
444356
444621
  switch (message.type) {
@@ -444369,7 +444634,7 @@ function toInternalMessages(messages) {
444369
444634
  {
444370
444635
  type: "user",
444371
444636
  message: message.message,
444372
- uuid: message.uuid ?? randomUUID27(),
444637
+ uuid: message.uuid ?? randomUUID28(),
444373
444638
  timestamp: message.timestamp ?? new Date().toISOString(),
444374
444639
  isMeta: message.isSynthetic
444375
444640
  }
@@ -454654,7 +454919,7 @@ __export(exports_branch, {
454654
454919
  deriveFirstPrompt: () => deriveFirstPrompt,
454655
454920
  call: () => call50
454656
454921
  });
454657
- import { randomUUID as randomUUID28 } from "crypto";
454922
+ import { randomUUID as randomUUID29 } from "crypto";
454658
454923
  import { mkdir as mkdir34, readFile as readFile43, writeFile as writeFile39 } from "fs/promises";
454659
454924
  function deriveFirstPrompt(firstUserMessage) {
454660
454925
  const content = firstUserMessage?.message?.content;
@@ -454666,7 +454931,7 @@ function deriveFirstPrompt(firstUserMessage) {
454666
454931
  return raw.replace(/\s+/g, " ").trim().slice(0, 100) || "Branched conversation";
454667
454932
  }
454668
454933
  async function createFork(customTitle) {
454669
- const forkSessionId = randomUUID28();
454934
+ const forkSessionId = randomUUID29();
454670
454935
  const originalSessionId = getSessionId();
454671
454936
  const projectDir = getProjectDir2(getOriginalCwd());
454672
454937
  const forkSessionPath = getTranscriptPathForSession(forkSessionId);
@@ -461718,7 +461983,7 @@ var init_bridge_kick = __esm(() => {
461718
461983
  var call57 = async () => {
461719
461984
  return {
461720
461985
  type: "text",
461721
- value: `${"99.0.0"} (built ${"2026-08-07T23:35:22.462Z"})`
461986
+ value: `${"99.0.0"} (built ${"2026-08-13T12:57:41.293Z"})`
461722
461987
  };
461723
461988
  }, version2, version_default;
461724
461989
  var init_version = __esm(() => {
@@ -477099,9 +477364,9 @@ var init_hookHelpers = __esm(() => {
477099
477364
  });
477100
477365
 
477101
477366
  // src/utils/hooks/execPromptHook.ts
477102
- import { randomUUID as randomUUID29 } from "crypto";
477367
+ import { randomUUID as randomUUID30 } from "crypto";
477103
477368
  async function execPromptHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, messages, toolUseID) {
477104
- const effectiveToolUseID = toolUseID || `hook-${randomUUID29()}`;
477369
+ const effectiveToolUseID = toolUseID || `hook-${randomUUID30()}`;
477105
477370
  try {
477106
477371
  const processedPrompt = addArgumentsToPrompt(hook.prompt, jsonInput);
477107
477372
  logForDebugging2(`Hooks: Processing prompt hook with prompt: ${processedPrompt}`);
@@ -477255,9 +477520,9 @@ var init_execPromptHook = __esm(() => {
477255
477520
  });
477256
477521
 
477257
477522
  // src/utils/hooks/execAgentHook.ts
477258
- import { randomUUID as randomUUID30 } from "crypto";
477523
+ import { randomUUID as randomUUID31 } from "crypto";
477259
477524
  async function execAgentHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, toolUseID, _messages, agentName) {
477260
- const effectiveToolUseID = toolUseID || `hook-${randomUUID30()}`;
477525
+ const effectiveToolUseID = toolUseID || `hook-${randomUUID31()}`;
477261
477526
  const transcriptPath = toolUseContext.agentId ? getAgentTranscriptPath(toolUseContext.agentId) : getTranscriptPath();
477262
477527
  const hookStartTime = Date.now();
477263
477528
  try {
@@ -477292,7 +477557,7 @@ When done, return your result using the ${SYNTHETIC_OUTPUT_TOOL_NAME} tool with:
477292
477557
  ]);
477293
477558
  const model = hook.model ?? getSmallFastModel();
477294
477559
  const MAX_AGENT_TURNS = 50;
477295
- const hookAgentId = asAgentId(`hook-agent-${randomUUID30()}`);
477560
+ const hookAgentId = asAgentId(`hook-agent-${randomUUID31()}`);
477296
477561
  const agentToolUseContext = {
477297
477562
  ...toolUseContext,
477298
477563
  agentId: hookAgentId,
@@ -477786,7 +478051,7 @@ __export(exports_hooks2, {
477786
478051
  });
477787
478052
  import { basename as basename42 } from "path";
477788
478053
  import { spawn as spawn7 } from "child_process";
477789
- import { randomUUID as randomUUID31 } from "crypto";
478054
+ import { randomUUID as randomUUID32 } from "crypto";
477790
478055
  function getSessionEndHookTimeoutMs() {
477791
478056
  const raw = process.env.MAXIMO_SYNTAX_SESSIONEND_HOOKS_TIMEOUT_MS;
477792
478057
  const parsed = raw ? parseInt(raw, 10) : NaN;
@@ -478824,7 +479089,7 @@ async function* executeHooks({
478824
479089
  parentToolUseID: toolUseID,
478825
479090
  toolUseID,
478826
479091
  timestamp: new Date().toISOString(),
478827
- uuid: randomUUID31()
479092
+ uuid: randomUUID32()
478828
479093
  }
478829
479094
  };
478830
479095
  }
@@ -478886,7 +479151,7 @@ async function* executeHooks({
478886
479151
  const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, {
478887
479152
  timeoutMs: commandTimeoutMs
478888
479153
  });
478889
- const hookId = randomUUID31();
479154
+ const hookId = randomUUID32();
478890
479155
  const hookStartMs = Date.now();
478891
479156
  const hookCommand = getHookDisplayText(hook);
478892
479157
  try {
@@ -479534,7 +479799,7 @@ async function executeHooksOutsideREPL({
479534
479799
  const callbackTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
479535
479800
  const { signal: abortSignal2, cleanup: cleanup2 } = createCombinedAbortSignal(signal, { timeoutMs: callbackTimeoutMs });
479536
479801
  try {
479537
- const toolUseID = randomUUID31();
479802
+ const toolUseID = randomUUID32();
479538
479803
  const json2 = await hook.callback(hookInput, toolUseID, abortSignal2, hookIndex);
479539
479804
  cleanup2?.();
479540
479805
  if (isAsyncHookJSONOutput(json2)) {
@@ -479645,7 +479910,7 @@ async function executeHooksOutsideREPL({
479645
479910
  const commandTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
479646
479911
  const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, { timeoutMs: commandTimeoutMs });
479647
479912
  try {
479648
- const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID31(), hookIndex, pluginRoot, pluginId);
479913
+ const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID32(), hookIndex, pluginRoot, pluginId);
479649
479914
  cleanup?.();
479650
479915
  if (result.aborted) {
479651
479916
  logForDebugging2(`${hookName} [${hook.command}] cancelled`);
@@ -479846,7 +480111,7 @@ async function* executeStopHooks(permissionMode, signal, timeoutMs = TOOL_HOOK_E
479846
480111
  };
479847
480112
  yield* executeHooks({
479848
480113
  hookInput,
479849
- toolUseID: randomUUID31(),
480114
+ toolUseID: randomUUID32(),
479850
480115
  signal,
479851
480116
  timeoutMs,
479852
480117
  toolUseContext,
@@ -479863,7 +480128,7 @@ async function* executeTeammateIdleHooks(teammateName, teamName, permissionMode,
479863
480128
  };
479864
480129
  yield* executeHooks({
479865
480130
  hookInput,
479866
- toolUseID: randomUUID31(),
480131
+ toolUseID: randomUUID32(),
479867
480132
  signal,
479868
480133
  timeoutMs
479869
480134
  });
@@ -479880,7 +480145,7 @@ async function* executeTaskCreatedHooks(taskId, taskSubject, taskDescription, te
479880
480145
  };
479881
480146
  yield* executeHooks({
479882
480147
  hookInput,
479883
- toolUseID: randomUUID31(),
480148
+ toolUseID: randomUUID32(),
479884
480149
  signal,
479885
480150
  timeoutMs,
479886
480151
  toolUseContext
@@ -479898,7 +480163,7 @@ async function* executeTaskCompletedHooks(taskId, taskSubject, taskDescription,
479898
480163
  };
479899
480164
  yield* executeHooks({
479900
480165
  hookInput,
479901
- toolUseID: randomUUID31(),
480166
+ toolUseID: randomUUID32(),
479902
480167
  signal,
479903
480168
  timeoutMs,
479904
480169
  toolUseContext
@@ -479917,7 +480182,7 @@ async function* executeUserPromptSubmitHooks(prompt, permissionMode, toolUseCont
479917
480182
  };
479918
480183
  yield* executeHooks({
479919
480184
  hookInput,
479920
- toolUseID: randomUUID31(),
480185
+ toolUseID: randomUUID32(),
479921
480186
  signal: toolUseContext.abortController.signal,
479922
480187
  timeoutMs: TOOL_HOOK_EXECUTION_TIMEOUT_MS,
479923
480188
  toolUseContext,
@@ -479934,7 +480199,7 @@ async function* executeSessionStartHooks(source, sessionId, agentType, model, si
479934
480199
  };
479935
480200
  yield* executeHooks({
479936
480201
  hookInput,
479937
- toolUseID: randomUUID31(),
480202
+ toolUseID: randomUUID32(),
479938
480203
  matchQuery: source,
479939
480204
  signal,
479940
480205
  timeoutMs,
@@ -479949,7 +480214,7 @@ async function* executeSetupHooks(trigger, signal, timeoutMs = TOOL_HOOK_EXECUTI
479949
480214
  };
479950
480215
  yield* executeHooks({
479951
480216
  hookInput,
479952
- toolUseID: randomUUID31(),
480217
+ toolUseID: randomUUID32(),
479953
480218
  matchQuery: trigger,
479954
480219
  signal,
479955
480220
  timeoutMs,
@@ -479965,7 +480230,7 @@ async function* executeSubagentStartHooks(agentId, agentType, signal, timeoutMs
479965
480230
  };
479966
480231
  yield* executeHooks({
479967
480232
  hookInput,
479968
- toolUseID: randomUUID31(),
480233
+ toolUseID: randomUUID32(),
479969
480234
  matchQuery: agentType,
479970
480235
  signal,
479971
480236
  timeoutMs
@@ -480328,7 +480593,7 @@ async function executeStatusLineCommand(statusLineInput, signal, timeoutMs = 500
480328
480593
  const abortSignal = signal || AbortSignal.timeout(timeoutMs);
480329
480594
  try {
480330
480595
  const jsonInput = jsonStringify(statusLineInput);
480331
- const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID31());
480596
+ const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID32());
480332
480597
  if (result.aborted) {
480333
480598
  return;
480334
480599
  }
@@ -480372,7 +480637,7 @@ async function executeFileSuggestionCommand(fileSuggestionInput, signal, timeout
480372
480637
  try {
480373
480638
  const jsonInput = jsonStringify(fileSuggestionInput);
480374
480639
  const hook = { type: "command", command: fileSuggestion.command };
480375
- const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID31());
480640
+ const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID32());
480376
480641
  if (result.aborted || result.status !== 0) {
480377
480642
  return [];
480378
480643
  }
@@ -482440,7 +482705,7 @@ function insertBlockAfterToolResults(content, block2) {
482440
482705
  }
482441
482706
 
482442
482707
  // src/services/api/maximo.ts
482443
- import { randomUUID as randomUUID32 } from "crypto";
482708
+ import { randomUUID as randomUUID33 } from "crypto";
482444
482709
  function getExtraBodyParams(betaHeaders) {
482445
482710
  const extraBodyStr = process.env.MAXIMO_SYNTAX_EXTRA_BODY;
482446
482711
  let result = {};
@@ -483223,7 +483488,7 @@ ${deferredToolList}
483223
483488
  if (!options2.agentId) {
483224
483489
  headlessProfilerCheckpoint("api_request_sent");
483225
483490
  }
483226
- clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID32() : undefined;
483491
+ clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID33() : undefined;
483227
483492
  const result = await anthropic.beta.messages.create({ ...params, stream: true }, {
483228
483493
  signal,
483229
483494
  ...clientRequestId && {
@@ -483453,7 +483718,7 @@ ${deferredToolList}
483453
483718
  },
483454
483719
  requestId: streamRequestId ?? undefined,
483455
483720
  type: "assistant",
483456
- uuid: randomUUID32(),
483721
+ uuid: randomUUID33(),
483457
483722
  timestamp: new Date().toISOString(),
483458
483723
  ...process.env.USER_TYPE === "ant" && research !== undefined && { research },
483459
483724
  ...advisorModel && { advisorModel }
@@ -483633,7 +483898,7 @@ ${deferredToolList}
483633
483898
  },
483634
483899
  requestId: streamRequestId ?? undefined,
483635
483900
  type: "assistant",
483636
- uuid: randomUUID32(),
483901
+ uuid: randomUUID33(),
483637
483902
  timestamp: new Date().toISOString(),
483638
483903
  ...process.env.USER_TYPE === "ant" && research !== undefined && {
483639
483904
  research
@@ -483687,7 +483952,7 @@ ${deferredToolList}
483687
483952
  },
483688
483953
  requestId: streamRequestId ?? undefined,
483689
483954
  type: "assistant",
483690
- uuid: randomUUID32(),
483955
+ uuid: randomUUID33(),
483691
483956
  timestamp: new Date().toISOString(),
483692
483957
  ...process.env.USER_TYPE === "ant" && research !== undefined && { research },
483693
483958
  ...advisorModel && { advisorModel }
@@ -486883,7 +487148,7 @@ function applySafeConfigEnvironmentVariables() {
486883
487148
  process.env.OPENAI_BASE_URL = baseUrl;
486884
487149
  if (!process.env.OPENAI_MODEL) {
486885
487150
  if (baseUrl.includes("api.mytabulon.com")) {
486886
- process.env.OPENAI_MODEL = globalConfig2.mytabulonDefaultModel || "maximo-atlas-preview";
487151
+ process.env.OPENAI_MODEL = normalizeRetiredMytabulonModel(globalConfig2.mytabulonDefaultModel) || MYTABULON_DEFAULT_MODEL;
486887
487152
  } else if (baseUrl.includes("openrouter.ai/api/v1")) {
486888
487153
  process.env.OPENAI_MODEL = "openai/gpt-5.4";
486889
487154
  } else if (baseUrl.includes("opencode.ai/zen/")) {
@@ -488806,7 +489071,7 @@ var init_inboundMessages = __esm(() => {
488806
489071
  });
488807
489072
 
488808
489073
  // src/utils/messages/systemInit.ts
488809
- import { randomUUID as randomUUID33 } from "crypto";
489074
+ import { randomUUID as randomUUID34 } from "crypto";
488810
489075
  function sdkCompatToolName(name) {
488811
489076
  return name === AGENT_TOOL_NAME ? LEGACY_AGENT_TOOL_NAME : name;
488812
489077
  }
@@ -488837,7 +489102,7 @@ function buildSystemInitMessage(inputs) {
488837
489102
  path: plugin2.path,
488838
489103
  source: plugin2.source
488839
489104
  })),
488840
- uuid: randomUUID33()
489105
+ uuid: randomUUID34()
488841
489106
  };
488842
489107
  if (false) {}
488843
489108
  initMessage.fast_mode_state = getFastModeState(inputs.model, inputs.fastMode);
@@ -488925,7 +489190,7 @@ __export(exports_MessageSelector, {
488925
489190
  messagesAfterAreOnlySynthetic: () => messagesAfterAreOnlySynthetic,
488926
489191
  MessageSelector: () => MessageSelector
488927
489192
  });
488928
- import { randomUUID as randomUUID34 } from "crypto";
489193
+ import { randomUUID as randomUUID35 } from "crypto";
488929
489194
  import * as path21 from "path";
488930
489195
  function isTextBlock2(block2) {
488931
489196
  return block2.type === "text";
@@ -488945,7 +489210,7 @@ function MessageSelector({
488945
489210
  const fileHistory = useAppState((s) => s.fileHistory);
488946
489211
  const [error42, setError] = import_react206.useState(undefined);
488947
489212
  const isFileHistoryEnabled = fileHistoryEnabled();
488948
- const currentUUID = import_react206.useMemo(randomUUID34, []);
489213
+ const currentUUID = import_react206.useMemo(randomUUID35, []);
488949
489214
  const messageOptions = import_react206.useMemo(() => [...messages.filter(selectableUserMessagesFilter), {
488950
489215
  ...createUserMessage({
488951
489216
  content: ""
@@ -494815,7 +495080,7 @@ var init_FileEditToolDiff = __esm(() => {
494815
495080
  });
494816
495081
 
494817
495082
  // src/hooks/useDiffInIDE.ts
494818
- import { randomUUID as randomUUID35 } from "crypto";
495083
+ import { randomUUID as randomUUID36 } from "crypto";
494819
495084
  import { basename as basename45 } from "path";
494820
495085
  function useDiffInIDE({
494821
495086
  onChange,
@@ -494826,7 +495091,7 @@ function useDiffInIDE({
494826
495091
  }) {
494827
495092
  const isUnmounted = import_react217.useRef(false);
494828
495093
  const [hasError, setHasError] = import_react217.useState(false);
494829
- const sha = import_react217.useMemo(() => randomUUID35().slice(0, 6), []);
495094
+ const sha = import_react217.useMemo(() => randomUUID36().slice(0, 6), []);
494830
495095
  const tabName = import_react217.useMemo(() => `✻ [Maximo Syntax] ${basename45(filePath)} (${sha}) ⧉`, [filePath, sha]);
494831
495096
  const shouldShowDiffInIDE = hasAccessToIDEExtensionDiffFeature(toolUseContext.options.mcpClients) && getGlobalConfig().diffTool === "auto" && !filePath.endsWith(".ipynb");
494832
495097
  const ideName = getConnectedIdeName(toolUseContext.options.mcpClients) ?? "IDE";
@@ -510233,7 +510498,7 @@ var init_teamDiscovery = __esm(() => {
510233
510498
  });
510234
510499
 
510235
510500
  // src/components/teams/TeamsDialog.tsx
510236
- import { randomUUID as randomUUID36 } from "crypto";
510501
+ import { randomUUID as randomUUID37 } from "crypto";
510237
510502
  function TeamsDialog({
510238
510503
  initialTeams,
510239
510504
  onDone
@@ -510857,7 +511122,7 @@ async function killTeammate(paneId, backendType, teamName, teammateId, teammateN
510857
511122
  },
510858
511123
  inbox: {
510859
511124
  messages: [...prev.inbox.messages, {
510860
- id: randomUUID36(),
511125
+ id: randomUUID37(),
510861
511126
  from: "system",
510862
511127
  text: jsonStringify({
510863
511128
  type: "teammate_terminated",
@@ -517139,7 +517404,7 @@ function normalizeControlMessageKeys(obj) {
517139
517404
  }
517140
517405
 
517141
517406
  // src/bridge/bridgeMessaging.ts
517142
- import { randomUUID as randomUUID37 } from "crypto";
517407
+ import { randomUUID as randomUUID38 } from "crypto";
517143
517408
  function isSDKMessage(value) {
517144
517409
  return value !== null && typeof value === "object" && "type" in value && typeof value.type === "string";
517145
517410
  }
@@ -517347,7 +517612,7 @@ function makeResultMessage(sessionId) {
517347
517612
  modelUsage: {},
517348
517613
  permission_denials: [],
517349
517614
  session_id: sessionId,
517350
- uuid: randomUUID37()
517615
+ uuid: randomUUID38()
517351
517616
  };
517352
517617
  }
517353
517618
 
@@ -517391,7 +517656,7 @@ var init_bridgeMessaging = __esm(() => {
517391
517656
  });
517392
517657
 
517393
517658
  // src/remote/SessionsWebSocket.ts
517394
- import { randomUUID as randomUUID38 } from "crypto";
517659
+ import { randomUUID as randomUUID39 } from "crypto";
517395
517660
  function isSessionsMessage(value) {
517396
517661
  if (typeof value !== "object" || value === null || !("type" in value)) {
517397
517662
  return false;
@@ -517575,7 +517840,7 @@ class SessionsWebSocket {
517575
517840
  }
517576
517841
  const controlRequest = {
517577
517842
  type: "control_request",
517578
- request_id: randomUUID38(),
517843
+ request_id: randomUUID39(),
517579
517844
  request
517580
517845
  };
517581
517846
  logForDebugging2(`[SessionsWebSocket] Sending control request: ${request.subtype}`);
@@ -517767,11 +518032,11 @@ var init_RemoteSessionManager = __esm(() => {
517767
518032
  });
517768
518033
 
517769
518034
  // src/remote/remotePermissionBridge.ts
517770
- import { randomUUID as randomUUID39 } from "crypto";
518035
+ import { randomUUID as randomUUID40 } from "crypto";
517771
518036
  function createSyntheticAssistantMessage(request, requestId) {
517772
518037
  return {
517773
518038
  type: "assistant",
517774
- uuid: randomUUID39(),
518039
+ uuid: randomUUID40(),
517775
518040
  message: {
517776
518041
  id: `remote-${requestId}`,
517777
518042
  type: "message",
@@ -518574,7 +518839,7 @@ var init_useDirectConnect = __esm(() => {
518574
518839
  });
518575
518840
 
518576
518841
  // src/hooks/useSSHSession.ts
518577
- import { randomUUID as randomUUID40 } from "crypto";
518842
+ import { randomUUID as randomUUID41 } from "crypto";
518578
518843
  function useSSHSession({
518579
518844
  session: session2,
518580
518845
  setMessages,
@@ -518672,7 +518937,7 @@ function useSSHSession({
518672
518937
  subtype: "informational",
518673
518938
  content: `SSH connection dropped — reconnecting (attempt ${attempt}/${max2})...`,
518674
518939
  timestamp: new Date().toISOString(),
518675
- uuid: randomUUID40(),
518940
+ uuid: randomUUID41(),
518676
518941
  level: "warning"
518677
518942
  };
518678
518943
  setMessages((prev) => [...prev, msg]);
@@ -520814,7 +521079,7 @@ var init_PermissionContext = __esm(() => {
520814
521079
  });
520815
521080
 
520816
521081
  // src/hooks/toolPermission/handlers/interactiveHandler.ts
520817
- import { randomUUID as randomUUID41 } from "crypto";
521082
+ import { randomUUID as randomUUID42 } from "crypto";
520818
521083
  function handleInteractivePermission(params, resolve42) {
520819
521084
  const {
520820
521085
  ctx,
@@ -520832,7 +521097,7 @@ function handleInteractivePermission(params, resolve42) {
520832
521097
  let userInteracted = false;
520833
521098
  let checkmarkTransitionTimer;
520834
521099
  let checkmarkAbortHandler;
520835
- const bridgeRequestId = bridgeCallbacks ? randomUUID41() : undefined;
521100
+ const bridgeRequestId = bridgeCallbacks ? randomUUID42() : undefined;
520836
521101
  let channelUnsubscribe;
520837
521102
  const permissionPromptStartTimeMs = Date.now();
520838
521103
  const displayInput = result.updatedInput ?? ctx.input;
@@ -521254,9 +521519,9 @@ function matchesKeepGoingKeyword(input) {
521254
521519
  }
521255
521520
 
521256
521521
  // src/utils/processUserInput/processTextPrompt.ts
521257
- import { randomUUID as randomUUID42 } from "crypto";
521522
+ import { randomUUID as randomUUID43 } from "crypto";
521258
521523
  function processTextPrompt(input, imageContentBlocks, imagePasteIds, attachmentMessages, uuid3, permissionMode, isMeta) {
521259
- const promptId = randomUUID42();
521524
+ const promptId = randomUUID43();
521260
521525
  setPromptId(promptId);
521261
521526
  const userPromptText = typeof input === "string" ? input : input.find((block2) => block2.type === "text")?.text || "";
521262
521527
  startInteractionSpan(userPromptText);
@@ -521390,7 +521655,7 @@ var exports_processBashCommand = {};
521390
521655
  __export(exports_processBashCommand, {
521391
521656
  processBashCommand: () => processBashCommand
521392
521657
  });
521393
- import { randomUUID as randomUUID43 } from "crypto";
521658
+ import { randomUUID as randomUUID44 } from "crypto";
521394
521659
  async function processBashCommand(inputString, precedingInputBlocks, attachmentMessages, context8, setToolJSX) {
521395
521660
  const usePowerShell = isPowerShellToolEnabled() && resolveDefaultShell() === "powershell";
521396
521661
  logEvent("tengu_input_bash", {
@@ -521454,7 +521719,7 @@ async function processBashCommand(inputString, precedingInputBlocks, attachmentM
521454
521719
  const mapped = await processToolResultBlock(shellTool, {
521455
521720
  ...data,
521456
521721
  stderr: ""
521457
- }, randomUUID43());
521722
+ }, randomUUID44());
521458
521723
  const stdout = typeof mapped.content === "string" ? mapped.content : escapeXml(data.stdout);
521459
521724
  return {
521460
521725
  messages: [createSyntheticUserCaveatMessage(), userMessage, ...attachmentMessages, createUserMessage({
@@ -521503,7 +521768,7 @@ var init_processBashCommand = __esm(() => {
521503
521768
  });
521504
521769
 
521505
521770
  // src/utils/processUserInput/processUserInput.ts
521506
- import { randomUUID as randomUUID44 } from "crypto";
521771
+ import { randomUUID as randomUUID45 } from "crypto";
521507
521772
  async function processUserInput({
521508
521773
  input,
521509
521774
  preExpansionInput,
@@ -521565,7 +521830,7 @@ Original prompt: ${input}`, "warning")
521565
521830
  type: "hook_additional_context",
521566
521831
  content: hookResult.additionalContexts.map(applyTruncation),
521567
521832
  hookName: "UserPromptSubmit",
521568
- toolUseID: `hook-${randomUUID44()}`,
521833
+ toolUseID: `hook-${randomUUID45()}`,
521569
521834
  hookEvent: "UserPromptSubmit"
521570
521835
  }));
521571
521836
  }
@@ -523071,7 +523336,7 @@ var init_sessionRestore = __esm(() => {
523071
523336
  });
523072
523337
 
523073
523338
  // src/hooks/useInboxPoller.ts
523074
- import { randomUUID as randomUUID45 } from "crypto";
523339
+ import { randomUUID as randomUUID46 } from "crypto";
523075
523340
  function getAgentNameToPoll(appState) {
523076
523341
  if (isInProcessTeammate()) {
523077
523342
  return;
@@ -523488,7 +523753,7 @@ function useInboxPoller({
523488
523753
  messages: [
523489
523754
  ...prev.inbox.messages,
523490
523755
  {
523491
- id: randomUUID45(),
523756
+ id: randomUUID46(),
523492
523757
  from: "system",
523493
523758
  text: jsonStringify({
523494
523759
  type: "teammate_terminated",
@@ -523528,7 +523793,7 @@ ${messageContent}
523528
523793
  messages: [
523529
523794
  ...prev.inbox.messages,
523530
523795
  ...regularMessages.map((m) => ({
523531
- id: randomUUID45(),
523796
+ id: randomUUID46(),
523532
523797
  from: m.from,
523533
523798
  text: m.text,
523534
523799
  timestamp: m.timestamp,
@@ -524432,7 +524697,7 @@ var init_submitTranscriptShare = __esm(() => {
524432
524697
  });
524433
524698
 
524434
524699
  // src/components/FeedbackSurvey/useSurveyState.tsx
524435
- import { randomUUID as randomUUID46 } from "crypto";
524700
+ import { randomUUID as randomUUID47 } from "crypto";
524436
524701
  function useSurveyState({
524437
524702
  hideThanksAfterMs,
524438
524703
  onOpen,
@@ -524443,7 +524708,7 @@ function useSurveyState({
524443
524708
  }) {
524444
524709
  const [state2, setState] = import_react300.useState("closed");
524445
524710
  const [lastResponse, setLastResponse] = import_react300.useState(null);
524446
- const appearanceId = import_react300.useRef(randomUUID46());
524711
+ const appearanceId = import_react300.useRef(randomUUID47());
524447
524712
  const lastResponseRef = import_react300.useRef(null);
524448
524713
  const showThanksThenClose = import_react300.useCallback(() => {
524449
524714
  setState("thanks");
@@ -524461,7 +524726,7 @@ function useSurveyState({
524461
524726
  return;
524462
524727
  }
524463
524728
  setState("open");
524464
- appearanceId.current = randomUUID46();
524729
+ appearanceId.current = randomUUID47();
524465
524730
  onOpen(appearanceId.current);
524466
524731
  }, [state2, onOpen]);
524467
524732
  const handleSelect = import_react300.useCallback((selected) => {
@@ -526675,13 +526940,13 @@ function permissionPromptToolResultToPermissionDecision(result, tool, input, too
526675
526940
  decisionReason
526676
526941
  };
526677
526942
  }
526678
- var inputSchema40, decisionClassificationField, PermissionAllowResultSchema, PermissionDenyResultSchema, outputSchema33;
526943
+ var inputSchema41, decisionClassificationField, PermissionAllowResultSchema, PermissionDenyResultSchema, outputSchema34;
526679
526944
  var init_PermissionPromptToolResultSchema = __esm(() => {
526680
526945
  init_v4();
526681
526946
  init_debug();
526682
526947
  init_PermissionUpdate();
526683
526948
  init_PermissionUpdateSchema();
526684
- inputSchema40 = lazySchema(() => v4_default.object({
526949
+ inputSchema41 = lazySchema(() => v4_default.object({
526685
526950
  tool_name: v4_default.string().describe("The name of the tool requesting permission"),
526686
526951
  input: v4_default.record(v4_default.string(), v4_default.unknown()).describe("The input for the tool"),
526687
526952
  tool_use_id: v4_default.string().optional().describe("The unique tool use request ID")
@@ -526704,7 +526969,7 @@ var init_PermissionPromptToolResultSchema = __esm(() => {
526704
526969
  toolUseID: v4_default.string().optional(),
526705
526970
  decisionClassification: decisionClassificationField()
526706
526971
  }));
526707
- outputSchema33 = lazySchema(() => v4_default.union([PermissionAllowResultSchema(), PermissionDenyResultSchema()]));
526972
+ outputSchema34 = lazySchema(() => v4_default.union([PermissionAllowResultSchema(), PermissionDenyResultSchema()]));
526708
526973
  });
526709
526974
 
526710
526975
  // src/cli/ndjsonSafeStringify.ts
@@ -526721,7 +526986,7 @@ var init_ndjsonSafeStringify = __esm(() => {
526721
526986
  });
526722
526987
 
526723
526988
  // src/cli/structuredIO.ts
526724
- import { randomUUID as randomUUID47 } from "crypto";
526989
+ import { randomUUID as randomUUID48 } from "crypto";
526725
526990
  function serializeDecisionReason(reason) {
526726
526991
  if (!reason) {
526727
526992
  return;
@@ -526971,7 +527236,7 @@ class StructuredIO {
526971
527236
  writeToStdout(ndjsonSafeStringify(message) + `
526972
527237
  `);
526973
527238
  }
526974
- async sendRequest(request, schema, signal, requestId = randomUUID47()) {
527239
+ async sendRequest(request, schema, signal, requestId = randomUUID48()) {
526975
527240
  const message = {
526976
527241
  type: "control_request",
526977
527242
  request_id: requestId,
@@ -527037,7 +527302,7 @@ class StructuredIO {
527037
527302
  parentSignal.addEventListener("abort", onParentAbort, { once: true });
527038
527303
  try {
527039
527304
  const hookPromise = executePermissionRequestHooksForSDK(tool.name, toolUseID, input, toolUseContext, mainPermissionResult.suggestions).then((decision) => ({ source: "hook", decision }));
527040
- const requestId = randomUUID47();
527305
+ const requestId = randomUUID48();
527041
527306
  onPermissionPrompt?.(buildRequiresActionDetails(tool, input, toolUseID, requestId));
527042
527307
  const sdkPromise = this.sendRequest({
527043
527308
  subtype: "can_use_tool",
@@ -527048,7 +527313,7 @@ class StructuredIO {
527048
527313
  decision_reason: serializeDecisionReason(mainPermissionResult.decisionReason),
527049
527314
  tool_use_id: toolUseID,
527050
527315
  agent_id: toolUseContext.agentId
527051
- }, outputSchema33(), hookAbortController.signal, requestId).then((result) => ({ source: "sdk", result }));
527316
+ }, outputSchema34(), hookAbortController.signal, requestId).then((result) => ({ source: "sdk", result }));
527052
527317
  const winner = await Promise.race([hookPromise, sdkPromise]);
527053
527318
  if (winner.source === "hook") {
527054
527319
  if (winner.decision) {
@@ -527117,9 +527382,9 @@ class StructuredIO {
527117
527382
  subtype: "can_use_tool",
527118
527383
  tool_name: SANDBOX_NETWORK_ACCESS_TOOL_NAME,
527119
527384
  input: { host: hostPattern.host },
527120
- tool_use_id: randomUUID47(),
527385
+ tool_use_id: randomUUID48(),
527121
527386
  description: `Allow network connection to ${hostPattern.host}?`
527122
- }, outputSchema33());
527387
+ }, outputSchema34());
527123
527388
  return result.behavior === "allow";
527124
527389
  } catch {
527125
527390
  return false;
@@ -531460,7 +531725,7 @@ __export(exports_REPL, {
531460
531725
  import { dirname as dirname60, join as join147 } from "path";
531461
531726
  import { tmpdir as tmpdir12 } from "os";
531462
531727
  import { writeFile as writeFile47 } from "fs/promises";
531463
- import { randomUUID as randomUUID48 } from "crypto";
531728
+ import { randomUUID as randomUUID49 } from "crypto";
531464
531729
  function TranscriptModeFooter(t0) {
531465
531730
  const $2 = import_react_compiler_runtime363.c(9);
531466
531731
  const {
@@ -532176,7 +532441,7 @@ function REPL({
532176
532441
  const [isMessageSelectorVisible, setIsMessageSelectorVisible] = import_react327.useState(false);
532177
532442
  const [messageSelectorPreselect, setMessageSelectorPreselect] = import_react327.useState(undefined);
532178
532443
  const [showCostDialog, setShowCostDialog] = import_react327.useState(false);
532179
- const [conversationId, setConversationId] = import_react327.useState(randomUUID48());
532444
+ const [conversationId, setConversationId] = import_react327.useState(randomUUID49());
532180
532445
  const [idleReturnPending, setIdleReturnPending] = import_react327.useState(null);
532181
532446
  const skipIdleCheckRef = import_react327.useRef(false);
532182
532447
  const lastQueryCompletionTimeRef = import_react327.useRef(lastQueryCompletionTime);
@@ -532969,7 +533234,7 @@ Error: sandbox required but unavailable: ${reason}
532969
533234
  } else {
532970
533235
  setMessages(() => [newMessage]);
532971
533236
  }
532972
- setConversationId(randomUUID48());
533237
+ setConversationId(randomUUID49());
532973
533238
  if (false) {}
532974
533239
  } else if (newMessage.type === "progress" && isEphemeralToolProgress(newMessage.data.type)) {
532975
533240
  setMessages((oldMessages) => {
@@ -533052,7 +533317,7 @@ Error: sandbox required but unavailable: ${reason}
533052
533317
  });
533053
533318
  if (!shouldQuery) {
533054
533319
  if (newMessages.some(isCompactBoundaryMessage)) {
533055
- setConversationId(randomUUID48());
533320
+ setConversationId(randomUUID49());
533056
533321
  if (false) {}
533057
533322
  }
533058
533323
  resetLoadingState();
@@ -533699,7 +533964,7 @@ Error: sandbox required but unavailable: ${reason}
533699
533964
  rewindToMessageIndex: messageIndex
533700
533965
  });
533701
533966
  setMessages(prev.slice(0, messageIndex));
533702
- setConversationId(randomUUID48());
533967
+ setConversationId(randomUUID49());
533703
533968
  resetMicrocompactState();
533704
533969
  if (false) {}
533705
533970
  setAppState((prev2) => ({
@@ -534898,7 +535163,7 @@ Note: ctrl + z now suspends Maximo Syntax, ctrl + _ undoes input.
534898
535163
  setMessages(postCompact);
534899
535164
  }
534900
535165
  if (false) {}
534901
- setConversationId(randomUUID48());
535166
+ setConversationId(randomUUID49());
534902
535167
  runPostCompactCleanup(context8.options.querySource);
534903
535168
  if (direction === "from") {
534904
535169
  const r = textForResubmit(message);
@@ -536250,7 +536515,7 @@ function SetupRow({ children }) {
536250
536515
  }
536251
536516
  function WelcomeV2() {
536252
536517
  const { columns } = useTerminalSize();
536253
- const version3 = "0.1.31";
536518
+ const version3 = "0.1.33";
536254
536519
  const width = Math.max(48, Math.min(columns || 92, 92));
536255
536520
  const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
536256
536521
  return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
@@ -542987,7 +543252,7 @@ function coalescePatches(base2, overlay) {
542987
543252
  var init_WorkerStateUploader = () => {};
542988
543253
 
542989
543254
  // src/cli/transports/ccrClient.ts
542990
- import { randomUUID as randomUUID49 } from "crypto";
543255
+ import { randomUUID as randomUUID50 } from "crypto";
542991
543256
  function alwaysValidStatus() {
542992
543257
  return true;
542993
543258
  }
@@ -543346,7 +543611,7 @@ class CCRClient {
543346
543611
  return {
543347
543612
  payload: {
543348
543613
  ...msg,
543349
- uuid: typeof msg.uuid === "string" ? msg.uuid : randomUUID49()
543614
+ uuid: typeof msg.uuid === "string" ? msg.uuid : randomUUID50()
543350
543615
  }
543351
543616
  };
543352
543617
  }
@@ -543370,7 +543635,7 @@ class CCRClient {
543370
543635
  payload: {
543371
543636
  type: eventType,
543372
543637
  ...payload,
543373
- uuid: typeof payload.uuid === "string" ? payload.uuid : randomUUID49()
543638
+ uuid: typeof payload.uuid === "string" ? payload.uuid : randomUUID50()
543374
543639
  },
543375
543640
  ...isCompaction && { is_compaction: true },
543376
543641
  ...agentId && { agent_id: agentId }
@@ -544878,7 +545143,7 @@ var init_queryContext = __esm(() => {
544878
545143
  });
544879
545144
 
544880
545145
  // src/QueryEngine.ts
544881
- import { randomUUID as randomUUID50 } from "crypto";
545146
+ import { randomUUID as randomUUID51 } from "crypto";
544882
545147
 
544883
545148
  class QueryEngine {
544884
545149
  config;
@@ -545175,7 +545440,7 @@ class QueryEngine {
545175
545440
  modelUsage: getModelUsage(),
545176
545441
  permission_denials: this.permissionDenials,
545177
545442
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
545178
- uuid: randomUUID50()
545443
+ uuid: randomUUID51()
545179
545444
  };
545180
545445
  return;
545181
545446
  }
@@ -545288,7 +545553,7 @@ class QueryEngine {
545288
545553
  event: message.event,
545289
545554
  session_id: getSessionId(),
545290
545555
  parent_tool_use_id: null,
545291
- uuid: randomUUID50()
545556
+ uuid: randomUUID51()
545292
545557
  };
545293
545558
  }
545294
545559
  break;
@@ -545320,7 +545585,7 @@ class QueryEngine {
545320
545585
  modelUsage: getModelUsage(),
545321
545586
  permission_denials: this.permissionDenials,
545322
545587
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
545323
- uuid: randomUUID50(),
545588
+ uuid: randomUUID51(),
545324
545589
  errors: [
545325
545590
  `Reached maximum number of turns (${message.attachment.maxTurns})`
545326
545591
  ]
@@ -545424,7 +545689,7 @@ class QueryEngine {
545424
545689
  modelUsage: getModelUsage(),
545425
545690
  permission_denials: this.permissionDenials,
545426
545691
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
545427
- uuid: randomUUID50(),
545692
+ uuid: randomUUID51(),
545428
545693
  errors: [`Reached maximum budget ($${maxBudgetUsd})`]
545429
545694
  };
545430
545695
  return;
@@ -545453,7 +545718,7 @@ class QueryEngine {
545453
545718
  modelUsage: getModelUsage(),
545454
545719
  permission_denials: this.permissionDenials,
545455
545720
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
545456
- uuid: randomUUID50(),
545721
+ uuid: randomUUID51(),
545457
545722
  errors: [
545458
545723
  `Failed to provide valid structured output after ${maxRetries} attempts`
545459
545724
  ]
@@ -545485,7 +545750,7 @@ class QueryEngine {
545485
545750
  modelUsage: getModelUsage(),
545486
545751
  permission_denials: this.permissionDenials,
545487
545752
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
545488
- uuid: randomUUID50(),
545753
+ uuid: randomUUID51(),
545489
545754
  errors: (() => {
545490
545755
  const all4 = getInMemoryErrors();
545491
545756
  const start = errorLogWatermark ? all4.lastIndexOf(errorLogWatermark) + 1 : 0;
@@ -545522,7 +545787,7 @@ class QueryEngine {
545522
545787
  permission_denials: this.permissionDenials,
545523
545788
  structured_output: structuredOutputFromTool,
545524
545789
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
545525
- uuid: randomUUID50()
545790
+ uuid: randomUUID51()
545526
545791
  };
545527
545792
  }
545528
545793
  interrupt() {
@@ -545699,7 +545964,7 @@ var init_idleTimeout = __esm(() => {
545699
545964
  });
545700
545965
 
545701
545966
  // src/bridge/inboundAttachments.ts
545702
- import { randomUUID as randomUUID51 } from "crypto";
545967
+ import { randomUUID as randomUUID52 } from "crypto";
545703
545968
  import { mkdir as mkdir45, writeFile as writeFile50 } from "fs/promises";
545704
545969
  import { basename as basename58, join as join150 } from "path";
545705
545970
  function debug(msg) {
@@ -545744,7 +546009,7 @@ async function resolveOne(att) {
545744
546009
  return;
545745
546010
  }
545746
546011
  const safeName = sanitizeFileName(att.file_name);
545747
- const prefix = (att.file_uuid.slice(0, 8) || randomUUID51().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
546012
+ const prefix = (att.file_uuid.slice(0, 8) || randomUUID52().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
545748
546013
  const dir = uploadsDir();
545749
546014
  const outPath = join150(dir, `${prefix}-${safeName}`);
545750
546015
  try {
@@ -545808,11 +546073,11 @@ var init_inboundAttachments = __esm(() => {
545808
546073
  });
545809
546074
 
545810
546075
  // src/utils/sessionUrl.ts
545811
- import { randomUUID as randomUUID52 } from "crypto";
546076
+ import { randomUUID as randomUUID53 } from "crypto";
545812
546077
  function parseSessionIdentifier(resumeIdentifier) {
545813
546078
  if (resumeIdentifier.toLowerCase().endsWith(".jsonl")) {
545814
546079
  return {
545815
- sessionId: randomUUID52(),
546080
+ sessionId: randomUUID53(),
545816
546081
  ingressUrl: null,
545817
546082
  isUrl: false,
545818
546083
  jsonlFile: resumeIdentifier,
@@ -545831,7 +546096,7 @@ function parseSessionIdentifier(resumeIdentifier) {
545831
546096
  try {
545832
546097
  const url3 = new URL(resumeIdentifier);
545833
546098
  return {
545834
- sessionId: randomUUID52(),
546099
+ sessionId: randomUUID53(),
545835
546100
  ingressUrl: url3.href,
545836
546101
  isUrl: true,
545837
546102
  jsonlFile: null,
@@ -546440,7 +546705,7 @@ var init_bridgePointer = __esm(() => {
546440
546705
  });
546441
546706
 
546442
546707
  // src/bridge/replBridge.ts
546443
- import { randomUUID as randomUUID53 } from "crypto";
546708
+ import { randomUUID as randomUUID54 } from "crypto";
546444
546709
  async function initBridgeCore(params) {
546445
546710
  const {
546446
546711
  dir,
@@ -546497,9 +546762,9 @@ async function initBridgeCore(params) {
546497
546762
  spawnMode: "single-session",
546498
546763
  verbose: false,
546499
546764
  sandbox: false,
546500
- bridgeId: randomUUID53(),
546765
+ bridgeId: randomUUID54(),
546501
546766
  workerType,
546502
- environmentId: randomUUID53(),
546767
+ environmentId: randomUUID54(),
546503
546768
  reuseEnvironmentId: prior?.environmentId,
546504
546769
  apiBaseUrl: baseUrl,
546505
546770
  sessionIngressUrl
@@ -548349,7 +548614,7 @@ __export(exports_print, {
548349
548614
  import { readFile as readFile53, stat as stat52 } from "fs/promises";
548350
548615
  import { dirname as dirname64 } from "path";
548351
548616
  import { cwd as cwd2 } from "process";
548352
- import { randomUUID as randomUUID54 } from "crypto";
548617
+ import { randomUUID as randomUUID55 } from "crypto";
548353
548618
  function trackReceivedMessageUuid(uuid3) {
548354
548619
  if (receivedMessageUuids.has(uuid3)) {
548355
548620
  return false;
@@ -548469,7 +548734,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
548469
548734
  hook_id: event.hookId,
548470
548735
  hook_name: event.hookName,
548471
548736
  hook_event: event.hookEvent,
548472
- uuid: randomUUID54(),
548737
+ uuid: randomUUID55(),
548473
548738
  session_id: getSessionId()
548474
548739
  };
548475
548740
  case "progress":
@@ -548482,7 +548747,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
548482
548747
  stdout: event.stdout,
548483
548748
  stderr: event.stderr,
548484
548749
  output: event.output,
548485
- uuid: randomUUID54(),
548750
+ uuid: randomUUID55(),
548486
548751
  session_id: getSessionId()
548487
548752
  };
548488
548753
  case "response":
@@ -548497,7 +548762,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
548497
548762
  stderr: event.stderr,
548498
548763
  exit_code: event.exitCode,
548499
548764
  outcome: event.outcome,
548500
- uuid: randomUUID54(),
548765
+ uuid: randomUUID55(),
548501
548766
  session_id: getSessionId()
548502
548767
  };
548503
548768
  }
@@ -548515,7 +548780,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
548515
548780
  decision: event.decision,
548516
548781
  classifier: event.classifier,
548517
548782
  reason: event.reason,
548518
- uuid: randomUUID54(),
548783
+ uuid: randomUUID55(),
548519
548784
  session_id: getSessionId()
548520
548785
  });
548521
548786
  });
@@ -548709,7 +548974,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
548709
548974
  subtype: "status",
548710
548975
  status: null,
548711
548976
  permissionMode: newMode,
548712
- uuid: randomUUID54(),
548977
+ uuid: randomUUID55(),
548713
548978
  session_id: getSessionId()
548714
548979
  });
548715
548980
  }
@@ -548730,7 +548995,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
548730
548995
  isAuthenticating: status2.isAuthenticating,
548731
548996
  output: status2.output,
548732
548997
  error: status2.error,
548733
- uuid: randomUUID54(),
548998
+ uuid: randomUUID55(),
548734
548999
  session_id: getSessionId()
548735
549000
  });
548736
549001
  });
@@ -548741,7 +549006,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
548741
549006
  output.enqueue({
548742
549007
  type: "rate_limit_event",
548743
549008
  rate_limit_info: rateLimitInfo,
548744
- uuid: randomUUID54(),
549009
+ uuid: randomUUID55(),
548745
549010
  session_id: getSessionId()
548746
549011
  });
548747
549012
  }
@@ -548757,7 +549022,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
548757
549022
  enqueue({
548758
549023
  mode: "prompt",
548759
549024
  value: turnInterruptionState.message.message.content,
548760
- uuid: randomUUID54()
549025
+ uuid: randomUUID55()
548761
549026
  });
548762
549027
  }
548763
549028
  const modelOptions = getModelOptions();
@@ -548851,7 +549116,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
548851
549116
  subtype: "elicitation_complete",
548852
549117
  mcp_server_name: serverName,
548853
549118
  elicitation_id: elicitationId,
548854
- uuid: randomUUID54(),
549119
+ uuid: randomUUID55(),
548855
549120
  session_id: getSessionId()
548856
549121
  });
548857
549122
  });
@@ -549199,7 +549464,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
549199
549464
  duration_ms: durationMsMatch ? parseInt(durationMsMatch[1], 10) : 0
549200
549465
  } : undefined,
549201
549466
  session_id: getSessionId(),
549202
- uuid: randomUUID54()
549467
+ uuid: randomUUID55()
549203
549468
  });
549204
549469
  }
549205
549470
  }
@@ -549273,7 +549538,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
549273
549538
  subtype: "status",
549274
549539
  status: status2,
549275
549540
  session_id: getSessionId(),
549276
- uuid: randomUUID54()
549541
+ uuid: randomUUID55()
549277
549542
  });
549278
549543
  }
549279
549544
  })) {
@@ -549321,7 +549586,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
549321
549586
  const suggestionMsg = {
549322
549587
  type: "prompt_suggestion",
549323
549588
  suggestion: result.suggestion,
549324
- uuid: randomUUID54(),
549589
+ uuid: randomUUID55(),
549325
549590
  session_id: getSessionId()
549326
549591
  };
549327
549592
  const lastEmittedEntry = {
@@ -549411,7 +549676,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
549411
549676
  usage: EMPTY_USAGE,
549412
549677
  modelUsage: {},
549413
549678
  permission_denials: [],
549414
- uuid: randomUUID54(),
549679
+ uuid: randomUUID55(),
549415
549680
  errors: [
549416
549681
  errorMessage(error42),
549417
549682
  ...getInMemoryErrors().map((_) => _.error)
@@ -549495,7 +549760,7 @@ ${m.text}
549495
549760
  enqueue({
549496
549761
  mode: "prompt",
549497
549762
  value: formatted,
549498
- uuid: randomUUID54()
549763
+ uuid: randomUUID55()
549499
549764
  });
549500
549765
  run();
549501
549766
  return;
@@ -549506,7 +549771,7 @@ ${m.text}
549506
549771
  enqueue({
549507
549772
  mode: "prompt",
549508
549773
  value: SHUTDOWN_TEAM_PROMPT,
549509
- uuid: randomUUID54()
549774
+ uuid: randomUUID55()
549510
549775
  });
549511
549776
  run();
549512
549777
  return;
@@ -549530,7 +549795,7 @@ ${m.text}
549530
549795
  enqueue({
549531
549796
  mode: "prompt",
549532
549797
  value: SHUTDOWN_TEAM_PROMPT,
549533
- uuid: randomUUID54()
549798
+ uuid: randomUUID55()
549534
549799
  });
549535
549800
  run();
549536
549801
  } else {
@@ -550281,7 +550546,7 @@ ${m.text}
550281
550546
  subtype: "bridge_state",
550282
550547
  state: state2,
550283
550548
  detail,
550284
- uuid: randomUUID54(),
550549
+ uuid: randomUUID55(),
550285
550550
  session_id: getSessionId()
550286
550551
  });
550287
550552
  },
@@ -550439,7 +550704,7 @@ function createCanUseToolWithPermissionPrompt(permissionPromptTool) {
550439
550704
  if (!permissionToolResultBlockParam.content || !Array.isArray(permissionToolResultBlockParam.content) || !permissionToolResultBlockParam.content[0] || permissionToolResultBlockParam.content[0].type !== "text" || typeof permissionToolResultBlockParam.content[0].text !== "string") {
550440
550705
  throw new Error('Permission prompt tool returned an invalid result. Expected a single text block param with type="text" and a string text value.');
550441
550706
  }
550442
- return permissionPromptToolResultToPermissionDecision(outputSchema33().parse(safeParseJSON(permissionToolResultBlockParam.content[0].text)), permissionPromptTool, input, toolUseContext);
550707
+ return permissionPromptToolResultToPermissionDecision(outputSchema34().parse(safeParseJSON(permissionToolResultBlockParam.content[0].text)), permissionPromptTool, input, toolUseContext);
550443
550708
  };
550444
550709
  return canUseTool;
550445
550710
  }
@@ -550589,7 +550854,7 @@ async function handleInitializeRequest(request, requestId, initialized5, output,
550589
550854
  isAuthenticating: status2.isAuthenticating,
550590
550855
  output: status2.output,
550591
550856
  error: status2.error,
550592
- uuid: randomUUID54(),
550857
+ uuid: randomUUID55(),
550593
550858
  session_id: getSessionId()
550594
550859
  });
550595
550860
  }
@@ -550788,7 +551053,7 @@ function emitLoadError(message, outputFormat) {
550788
551053
  usage: EMPTY_USAGE,
550789
551054
  modelUsage: {},
550790
551055
  permission_denials: [],
550791
- uuid: randomUUID54(),
551056
+ uuid: randomUUID55(),
550792
551057
  errors: [message]
550793
551058
  };
550794
551059
  process.stdout.write(jsonStringify(errorResult) + `
@@ -552184,11 +552449,11 @@ async function startMCPServer(cwd3, debug2, verbose) {
552184
552449
  const tools = getTools(toolPermissionContext);
552185
552450
  return {
552186
552451
  tools: await Promise.all(tools.map(async (tool) => {
552187
- let outputSchema34;
552452
+ let outputSchema35;
552188
552453
  if (tool.outputSchema) {
552189
552454
  const convertedSchema = zodToJsonSchema3(tool.outputSchema);
552190
552455
  if (typeof convertedSchema === "object" && convertedSchema !== null && "type" in convertedSchema && convertedSchema.type === "object") {
552191
- outputSchema34 = convertedSchema;
552456
+ outputSchema35 = convertedSchema;
552192
552457
  }
552193
552458
  }
552194
552459
  return {
@@ -552199,7 +552464,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
552199
552464
  agents: []
552200
552465
  }),
552201
552466
  inputSchema: zodToJsonSchema3(tool.inputSchema),
552202
- outputSchema: outputSchema34
552467
+ outputSchema: outputSchema35
552203
552468
  };
552204
552469
  }))
552205
552470
  };
@@ -554600,7 +554865,7 @@ async function run() {
554600
554865
  }).hideHelp()).option("--replay-user-messages", "Re-emit user messages from stdin back on stdout for acknowledgment (only works with --input-format=stream-json and --output-format=stream-json)", () => true).addOption(new Option("--enable-auth-status", "Enable auth status messages in SDK mode").default(false).hideHelp()).option("--allowedTools, --allowed-tools <tools...>", 'Comma or space-separated list of tool names to allow (e.g. "Bash(git:*) Edit")').option("--tools <tools...>", 'Specify the list of available tools from the built-in set. Use "" to disable all tools, "default" to use all tools, or specify tool names (e.g. "Bash,Edit,Read").').option("--disallowedTools, --disallowed-tools <tools...>", 'Comma or space-separated list of tool names to deny (e.g. "Bash(git:*) Edit")').option("--mcp-config <configs...>", "Load MCP servers from JSON files or strings (space-separated)").addOption(new Option("--permission-prompt-tool <tool>", "MCP tool to use for permission prompts (only works with --print)").argParser(String).hideHelp()).addOption(new Option("--system-prompt <prompt>", "System prompt to use for the session").argParser(String)).addOption(new Option("--system-prompt-file <file>", "Read system prompt from a file").argParser(String).hideHelp()).addOption(new Option("--append-system-prompt <prompt>", "Append a system prompt to the default system prompt").argParser(String)).addOption(new Option("--append-system-prompt-file <file>", "Read system prompt from a file and append to the default system prompt").argParser(String).hideHelp()).addOption(new Option("--permission-mode <mode>", "Permission mode to use for the session").argParser(String).choices(PERMISSION_MODES)).option("-c, --continue", "Continue the most recent conversation in the current directory", () => true).option("-r, --resume [value]", "Resume a conversation by session ID, or open interactive picker with optional search term", (value) => value || true).option("--fork-session", "When resuming, create a new session ID instead of reusing the original (use with --resume or --continue)", () => true).addOption(new Option("--prefill <text>", "Pre-fill the prompt input with text without submitting it").hideHelp()).addOption(new Option("--deep-link-origin", "Signal that this session was launched from a deep link").hideHelp()).addOption(new Option("--deep-link-repo <slug>", "Repo slug the deep link ?repo= parameter resolved to the current cwd").hideHelp()).addOption(new Option("--deep-link-last-fetch <ms>", "FETCH_HEAD mtime in epoch ms, precomputed by the deep link trampoline").argParser((v) => {
554601
554866
  const n3 = Number(v);
554602
554867
  return Number.isFinite(n3) ? n3 : undefined;
554603
- }).hideHelp()).option("--from-pr [value]", "Resume a session linked to a PR by PR number/URL, or open interactive picker with optional search term", (value) => value || true).option("--no-session-persistence", "Disable session persistence - sessions will not be saved to disk and cannot be resumed (only works with --print)").addOption(new Option("--resume-session-at <message id>", "When resuming, only messages up to and including the assistant message with <message.id> (use with --resume in print mode)").argParser(String).hideHelp()).addOption(new Option("--rewind-files <user-message-id>", "Restore files to state at the specified user message and exit (requires --resume)").hideHelp()).option("--model <model>", `Model for the current session. Use a model from the active provider (e.g. 'maximo-pandora-3.8-nano' or 'maximo-atlas-preview').`).addOption(new Option("--effort <level>", `Effort level for the current session (minimal, low, medium, high, xhigh, max, ultra)`).argParser((rawValue) => {
554868
+ }).hideHelp()).option("--from-pr [value]", "Resume a session linked to a PR by PR number/URL, or open interactive picker with optional search term", (value) => value || true).option("--no-session-persistence", "Disable session persistence - sessions will not be saved to disk and cannot be resumed (only works with --print)").addOption(new Option("--resume-session-at <message id>", "When resuming, only messages up to and including the assistant message with <message.id> (use with --resume in print mode)").argParser(String).hideHelp()).addOption(new Option("--rewind-files <user-message-id>", "Restore files to state at the specified user message and exit (requires --resume)").hideHelp()).option("--model <model>", `Model for the current session. Use a model from the active provider (e.g. 'maximo-pandora-3.8-nano' or 'maximo-atlas-1.2').`).addOption(new Option("--effort <level>", `Effort level for the current session (minimal, low, medium, high, xhigh, max, ultra)`).argParser((rawValue) => {
554604
554869
  const normalized = rawValue.trim().toLowerCase().replace(/[-_\s]+/g, "").replace(/^extrahigh$/, "xhigh").replace(/^ultra$/, "xhigh").replace(/^maximum$/, "max").replace(/^med$/, "medium");
554605
554870
  const allowed = ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
554606
554871
  if (!allowed.includes(normalized)) {
@@ -556186,7 +556451,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
556186
556451
  pendingHookMessages
556187
556452
  }, renderAndRun);
556188
556453
  }
556189
- }).version("0.1.31 (Maximo Syntax)", "-v, --version", "Output the version number");
556454
+ }).version("0.1.33 (Maximo Syntax)", "-v, --version", "Output the version number");
556190
556455
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
556191
556456
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
556192
556457
  if (canUserConfigureAdvisor()) {
@@ -556725,7 +556990,7 @@ function validateProviderEnvOrExit() {
556725
556990
  async function main2() {
556726
556991
  const args = process.argv.slice(2);
556727
556992
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
556728
- console.log(`${"0.1.31"} (Maximo Syntax)`);
556993
+ console.log(`${"0.1.33"} (Maximo Syntax)`);
556729
556994
  return;
556730
556995
  }
556731
556996
  validateProviderEnvOrExit();
@@ -556802,4 +557067,4 @@ async function main2() {
556802
557067
  }
556803
557068
  main2();
556804
557069
 
556805
- //# debugId=7F00062676B3958764756E2164756E21
557070
+ //# debugId=A40DFA0841863D9C64756E2164756E21