@maximoai/maximo-syntax-cli 0.1.29 → 0.1.31
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.
- package/dist/cli.mjs +30 -18
- 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 = "/
|
|
79662
|
+
var __filename = "/private/tmp/maximo-syntax-cli-copy/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 = "/
|
|
96493
|
+
var __dirname = "/private/tmp/maximo-syntax-cli-copy/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();
|
|
@@ -123983,7 +123983,7 @@ var init_metadata = __esm(() => {
|
|
|
123983
123983
|
isMaximoAiAuth: isMaximoAISubscriber(),
|
|
123984
123984
|
version: "99.0.0",
|
|
123985
123985
|
versionBase: getVersionBase(),
|
|
123986
|
-
buildTime: "2026-08-07T23:
|
|
123986
|
+
buildTime: "2026-08-07T23:35:22.462Z",
|
|
123987
123987
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
123988
123988
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
123989
123989
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -237396,7 +237396,9 @@ function getImageGenerationPrompt() {
|
|
|
237396
237396
|
Usage notes:
|
|
237397
237397
|
- Provide a detailed, descriptive prompt for best results (subject, style, composition, lighting)
|
|
237398
237398
|
- Optional: aspect_ratio (e.g. "16:9", "1:1", "4:3"), size ("1K", "2K", "4K"), output count
|
|
237399
|
-
- After generating, include the image in your response using markdown: 
|
|
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.
|
|
237401
|
+
- Use the full URL exactly as returned - verbatim, one markdown image per URL. Do NOT shorten, re-encode, or change any part of it.
|
|
237400
237402
|
`;
|
|
237401
237403
|
}
|
|
237402
237404
|
var IMAGE_GENERATION_TOOL_NAME = "ImageGeneration";
|
|
@@ -276767,7 +276769,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
|
|
|
276767
276769
|
import { homedir as homedir22 } from "os";
|
|
276768
276770
|
import { join as join65 } from "path";
|
|
276769
276771
|
function getCurrentRealVersion() {
|
|
276770
|
-
return "0.1.
|
|
276772
|
+
return "0.1.31";
|
|
276771
276773
|
}
|
|
276772
276774
|
async function getRolloutConfig() {
|
|
276773
276775
|
try {
|
|
@@ -347255,13 +347257,23 @@ var init_ImageGenerationTool = __esm(() => {
|
|
|
347255
347257
|
},
|
|
347256
347258
|
mapToolResultToToolResultBlockParam(output, toolUseID) {
|
|
347257
347259
|
const { prompt, images } = output;
|
|
347258
|
-
const
|
|
347259
|
-
|
|
347260
|
+
const lines = [];
|
|
347261
|
+
lines.push(`Generated image${images.length === 1 ? "" : "s"} for prompt: "${prompt}"`);
|
|
347262
|
+
if (!images || images.length === 0) {
|
|
347263
|
+
lines.push("No images were returned — tell the user generation failed and ask to try again.");
|
|
347264
|
+
} else {
|
|
347265
|
+
for (let i3 = 0;i3 < images.length; i3++) {
|
|
347266
|
+
const url3 = images[i3]?.url;
|
|
347267
|
+
if (url3) {
|
|
347268
|
+
lines.push(`Image ${i3 + 1} URL: ${url3}`);
|
|
347269
|
+
}
|
|
347270
|
+
}
|
|
347271
|
+
lines.push("IMPORTANT: Use the exact URL(s) above verbatim in your markdown. Do NOT invent, shorten, or change the domain/path. Example: ");
|
|
347272
|
+
}
|
|
347273
|
+
const blocks = [
|
|
347274
|
+
{ type: "text", text: lines.join(`
|
|
347275
|
+
`) }
|
|
347260
347276
|
];
|
|
347261
|
-
const blocks = textContent.map((text) => ({
|
|
347262
|
-
type: "text",
|
|
347263
|
-
text
|
|
347264
|
-
}));
|
|
347265
347277
|
for (const image of images ?? []) {
|
|
347266
347278
|
if (image?.url) {
|
|
347267
347279
|
blocks.push({
|
|
@@ -366163,7 +366175,7 @@ function getAnthropicEnvMetadata() {
|
|
|
366163
366175
|
function getBuildAgeMinutes() {
|
|
366164
366176
|
if (false)
|
|
366165
366177
|
;
|
|
366166
|
-
const buildTime = new Date("2026-08-07T23:
|
|
366178
|
+
const buildTime = new Date("2026-08-07T23:35:22.462Z").getTime();
|
|
366167
366179
|
if (isNaN(buildTime))
|
|
366168
366180
|
return;
|
|
366169
366181
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -432241,7 +432253,7 @@ function getRecentActivitySync() {
|
|
|
432241
432253
|
return cachedActivity;
|
|
432242
432254
|
}
|
|
432243
432255
|
function getLogoDisplayData() {
|
|
432244
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
432256
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.31" ?? "99.0.0";
|
|
432245
432257
|
const serverUrl = getDirectConnectServerUrl();
|
|
432246
432258
|
const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
|
|
432247
432259
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -461706,7 +461718,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
461706
461718
|
var call57 = async () => {
|
|
461707
461719
|
return {
|
|
461708
461720
|
type: "text",
|
|
461709
|
-
value: `${"99.0.0"} (built ${"2026-08-07T23:
|
|
461721
|
+
value: `${"99.0.0"} (built ${"2026-08-07T23:35:22.462Z"})`
|
|
461710
461722
|
};
|
|
461711
461723
|
}, version2, version_default;
|
|
461712
461724
|
var init_version = __esm(() => {
|
|
@@ -536238,7 +536250,7 @@ function SetupRow({ children }) {
|
|
|
536238
536250
|
}
|
|
536239
536251
|
function WelcomeV2() {
|
|
536240
536252
|
const { columns } = useTerminalSize();
|
|
536241
|
-
const version3 = "0.1.
|
|
536253
|
+
const version3 = "0.1.31";
|
|
536242
536254
|
const width = Math.max(48, Math.min(columns || 92, 92));
|
|
536243
536255
|
const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
|
|
536244
536256
|
return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
|
|
@@ -556174,7 +556186,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
556174
556186
|
pendingHookMessages
|
|
556175
556187
|
}, renderAndRun);
|
|
556176
556188
|
}
|
|
556177
|
-
}).version("0.1.
|
|
556189
|
+
}).version("0.1.31 (Maximo Syntax)", "-v, --version", "Output the version number");
|
|
556178
556190
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
556179
556191
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
556180
556192
|
if (canUserConfigureAdvisor()) {
|
|
@@ -556713,7 +556725,7 @@ function validateProviderEnvOrExit() {
|
|
|
556713
556725
|
async function main2() {
|
|
556714
556726
|
const args = process.argv.slice(2);
|
|
556715
556727
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
556716
|
-
console.log(`${"0.1.
|
|
556728
|
+
console.log(`${"0.1.31"} (Maximo Syntax)`);
|
|
556717
556729
|
return;
|
|
556718
556730
|
}
|
|
556719
556731
|
validateProviderEnvOrExit();
|
|
@@ -556790,4 +556802,4 @@ async function main2() {
|
|
|
556790
556802
|
}
|
|
556791
556803
|
main2();
|
|
556792
556804
|
|
|
556793
|
-
//# debugId=
|
|
556805
|
+
//# debugId=7F00062676B3958764756E2164756E21
|