@maximoai/maximo-syntax-cli 0.1.29 → 0.1.30
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 +31 -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:32:22.784Z",
|
|
123987
123987
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
123988
123988
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
123989
123989
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -237396,7 +237396,10 @@ 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 other URL (e.g. ai-image-output.maximo.ai) the image will be broken.
|
|
237401
|
+
- Use the full https://api.mytabulon.com/uploads/... or https://api.maximoai.co/uploads/... URL verbatim, one markdown image per URL returned.
|
|
237402
|
+
- Do NOT shorten, re-encode, or change the domain/path. The URL must be pasted exactly as shown.
|
|
237400
237403
|
`;
|
|
237401
237404
|
}
|
|
237402
237405
|
var IMAGE_GENERATION_TOOL_NAME = "ImageGeneration";
|
|
@@ -276767,7 +276770,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
|
|
|
276767
276770
|
import { homedir as homedir22 } from "os";
|
|
276768
276771
|
import { join as join65 } from "path";
|
|
276769
276772
|
function getCurrentRealVersion() {
|
|
276770
|
-
return "0.1.
|
|
276773
|
+
return "0.1.30";
|
|
276771
276774
|
}
|
|
276772
276775
|
async function getRolloutConfig() {
|
|
276773
276776
|
try {
|
|
@@ -347255,13 +347258,23 @@ var init_ImageGenerationTool = __esm(() => {
|
|
|
347255
347258
|
},
|
|
347256
347259
|
mapToolResultToToolResultBlockParam(output, toolUseID) {
|
|
347257
347260
|
const { prompt, images } = output;
|
|
347258
|
-
const
|
|
347259
|
-
|
|
347261
|
+
const lines = [];
|
|
347262
|
+
lines.push(`Generated image${images.length === 1 ? "" : "s"} for prompt: "${prompt}"`);
|
|
347263
|
+
if (!images || images.length === 0) {
|
|
347264
|
+
lines.push("No images were returned — tell the user generation failed and ask to try again.");
|
|
347265
|
+
} else {
|
|
347266
|
+
for (let i3 = 0;i3 < images.length; i3++) {
|
|
347267
|
+
const url3 = images[i3]?.url;
|
|
347268
|
+
if (url3) {
|
|
347269
|
+
lines.push(`Image ${i3 + 1} URL: ${url3}`);
|
|
347270
|
+
}
|
|
347271
|
+
}
|
|
347272
|
+
lines.push("IMPORTANT: Use the exact URL(s) above verbatim in your markdown. Do NOT invent, shorten, or change the domain/path. Example: ");
|
|
347273
|
+
}
|
|
347274
|
+
const blocks = [
|
|
347275
|
+
{ type: "text", text: lines.join(`
|
|
347276
|
+
`) }
|
|
347260
347277
|
];
|
|
347261
|
-
const blocks = textContent.map((text) => ({
|
|
347262
|
-
type: "text",
|
|
347263
|
-
text
|
|
347264
|
-
}));
|
|
347265
347278
|
for (const image of images ?? []) {
|
|
347266
347279
|
if (image?.url) {
|
|
347267
347280
|
blocks.push({
|
|
@@ -366163,7 +366176,7 @@ function getAnthropicEnvMetadata() {
|
|
|
366163
366176
|
function getBuildAgeMinutes() {
|
|
366164
366177
|
if (false)
|
|
366165
366178
|
;
|
|
366166
|
-
const buildTime = new Date("2026-08-07T23:
|
|
366179
|
+
const buildTime = new Date("2026-08-07T23:32:22.784Z").getTime();
|
|
366167
366180
|
if (isNaN(buildTime))
|
|
366168
366181
|
return;
|
|
366169
366182
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -432241,7 +432254,7 @@ function getRecentActivitySync() {
|
|
|
432241
432254
|
return cachedActivity;
|
|
432242
432255
|
}
|
|
432243
432256
|
function getLogoDisplayData() {
|
|
432244
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
432257
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.30" ?? "99.0.0";
|
|
432245
432258
|
const serverUrl = getDirectConnectServerUrl();
|
|
432246
432259
|
const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
|
|
432247
432260
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -461706,7 +461719,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
461706
461719
|
var call57 = async () => {
|
|
461707
461720
|
return {
|
|
461708
461721
|
type: "text",
|
|
461709
|
-
value: `${"99.0.0"} (built ${"2026-08-07T23:
|
|
461722
|
+
value: `${"99.0.0"} (built ${"2026-08-07T23:32:22.784Z"})`
|
|
461710
461723
|
};
|
|
461711
461724
|
}, version2, version_default;
|
|
461712
461725
|
var init_version = __esm(() => {
|
|
@@ -536238,7 +536251,7 @@ function SetupRow({ children }) {
|
|
|
536238
536251
|
}
|
|
536239
536252
|
function WelcomeV2() {
|
|
536240
536253
|
const { columns } = useTerminalSize();
|
|
536241
|
-
const version3 = "0.1.
|
|
536254
|
+
const version3 = "0.1.30";
|
|
536242
536255
|
const width = Math.max(48, Math.min(columns || 92, 92));
|
|
536243
536256
|
const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
|
|
536244
536257
|
return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
|
|
@@ -556174,7 +556187,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
556174
556187
|
pendingHookMessages
|
|
556175
556188
|
}, renderAndRun);
|
|
556176
556189
|
}
|
|
556177
|
-
}).version("0.1.
|
|
556190
|
+
}).version("0.1.30 (Maximo Syntax)", "-v, --version", "Output the version number");
|
|
556178
556191
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
556179
556192
|
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
556193
|
if (canUserConfigureAdvisor()) {
|
|
@@ -556713,7 +556726,7 @@ function validateProviderEnvOrExit() {
|
|
|
556713
556726
|
async function main2() {
|
|
556714
556727
|
const args = process.argv.slice(2);
|
|
556715
556728
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
556716
|
-
console.log(`${"0.1.
|
|
556729
|
+
console.log(`${"0.1.30"} (Maximo Syntax)`);
|
|
556717
556730
|
return;
|
|
556718
556731
|
}
|
|
556719
556732
|
validateProviderEnvOrExit();
|
|
@@ -556790,4 +556803,4 @@ async function main2() {
|
|
|
556790
556803
|
}
|
|
556791
556804
|
main2();
|
|
556792
556805
|
|
|
556793
|
-
//# debugId=
|
|
556806
|
+
//# debugId=ECA6B8E49CFA68BB64756E2164756E21
|