@maximoai/maximo-syntax-cli 0.1.27 → 0.1.28
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 +14 -14
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -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-
|
|
123986
|
+
buildTime: "2026-08-06T12:40:18.165Z",
|
|
123987
123987
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
123988
123988
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
123989
123989
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -276750,7 +276750,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
|
|
|
276750
276750
|
import { homedir as homedir22 } from "os";
|
|
276751
276751
|
import { join as join65 } from "path";
|
|
276752
276752
|
function getCurrentRealVersion() {
|
|
276753
|
-
return "0.1.
|
|
276753
|
+
return "0.1.28";
|
|
276754
276754
|
}
|
|
276755
276755
|
async function getRolloutConfig() {
|
|
276756
276756
|
try {
|
|
@@ -365919,7 +365919,7 @@ function getAnthropicEnvMetadata() {
|
|
|
365919
365919
|
function getBuildAgeMinutes() {
|
|
365920
365920
|
if (false)
|
|
365921
365921
|
;
|
|
365922
|
-
const buildTime = new Date("2026-08-
|
|
365922
|
+
const buildTime = new Date("2026-08-06T12:40:18.165Z").getTime();
|
|
365923
365923
|
if (isNaN(buildTime))
|
|
365924
365924
|
return;
|
|
365925
365925
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -431997,7 +431997,7 @@ function getRecentActivitySync() {
|
|
|
431997
431997
|
return cachedActivity;
|
|
431998
431998
|
}
|
|
431999
431999
|
function getLogoDisplayData() {
|
|
432000
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
432000
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.28" ?? "99.0.0";
|
|
432001
432001
|
const serverUrl = getDirectConnectServerUrl();
|
|
432002
432002
|
const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
|
|
432003
432003
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -461462,7 +461462,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
461462
461462
|
var call57 = async () => {
|
|
461463
461463
|
return {
|
|
461464
461464
|
type: "text",
|
|
461465
|
-
value: `${"99.0.0"} (built ${"2026-08-
|
|
461465
|
+
value: `${"99.0.0"} (built ${"2026-08-06T12:40:18.165Z"})`
|
|
461466
461466
|
};
|
|
461467
461467
|
}, version2, version_default;
|
|
461468
461468
|
var init_version = __esm(() => {
|
|
@@ -535994,7 +535994,7 @@ function SetupRow({ children }) {
|
|
|
535994
535994
|
}
|
|
535995
535995
|
function WelcomeV2() {
|
|
535996
535996
|
const { columns } = useTerminalSize();
|
|
535997
|
-
const version3 = "0.1.
|
|
535997
|
+
const version3 = "0.1.28";
|
|
535998
535998
|
const width = Math.max(48, Math.min(columns || 92, 92));
|
|
535999
535999
|
const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
|
|
536000
536000
|
return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
|
|
@@ -554344,13 +554344,13 @@ async function run() {
|
|
|
554344
554344
|
}).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) => {
|
|
554345
554345
|
const n3 = Number(v);
|
|
554346
554346
|
return Number.isFinite(n3) ? n3 : undefined;
|
|
554347
|
-
}).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 (low, medium, high, max)`).argParser((rawValue) => {
|
|
554348
|
-
const
|
|
554349
|
-
const allowed = ["low", "medium", "high", "max"];
|
|
554350
|
-
if (!allowed.includes(
|
|
554347
|
+
}).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) => {
|
|
554348
|
+
const normalized = rawValue.trim().toLowerCase().replace(/[-_\s]+/g, "").replace(/^extrahigh$/, "xhigh").replace(/^ultra$/, "xhigh").replace(/^maximum$/, "max").replace(/^med$/, "medium");
|
|
554349
|
+
const allowed = ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
|
|
554350
|
+
if (!allowed.includes(normalized)) {
|
|
554351
554351
|
throw new InvalidArgumentError(`It must be one of: ${allowed.join(", ")}`);
|
|
554352
554352
|
}
|
|
554353
|
-
return
|
|
554353
|
+
return normalized;
|
|
554354
554354
|
})).option("--agent <agent>", `Agent for the current session. Overrides the 'agent' setting.`).option("--betas <betas...>", "Beta headers to include in API requests (API key users only)").option("--fallback-model <model>", "Enable automatic fallback to specified model when default model is overloaded (only works with --print)").addOption(new Option("--workload <tag>", "Workload tag for billing-header attribution (cc_workload). Process-scoped; set by SDK daemon callers that spawn subprocesses for cron work. (only works with --print)").hideHelp()).option("--settings <file-or-json>", "Path to a settings JSON file or a JSON string to load additional settings from").option("--add-dir <directories...>", "Additional directories to allow tool access to").option("--ide", "Automatically connect to IDE on startup if exactly one valid IDE is available", () => true).option("--strict-mcp-config", "Only use MCP servers from --mcp-config, ignoring all other MCP configurations", () => true).option("--session-id <uuid>", "Use a specific session ID for the conversation (must be a valid UUID)").option("-n, --name <name>", "Set a display name for this session (shown in /resume and terminal title)").option("--agents <json>", `JSON object defining custom agents (e.g. '{"reviewer": {"description": "Reviews code", "prompt": "You are a code reviewer"}}')`).option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").option("--plugin-dir <path>", "Load plugins from a directory for this session only (repeatable: --plugin-dir A --plugin-dir B)", (val, prev) => [...prev, val], []).option("--disable-slash-commands", "Disable all skills", () => true).option("--chrome", "Enable Maximo in Chrome integration").option("--no-chrome", "Disable Maximo in Chrome integration").option("--file <specs...>", "File resources to download at startup. Format: file_id:relative_path (e.g., --file file_abc:doc.txt file_def:img.png)").action(async (prompt, options2) => {
|
|
554355
554355
|
profileCheckpoint("action_handler_start");
|
|
554356
554356
|
if (options2.bare) {
|
|
@@ -555930,7 +555930,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
555930
555930
|
pendingHookMessages
|
|
555931
555931
|
}, renderAndRun);
|
|
555932
555932
|
}
|
|
555933
|
-
}).version("0.1.
|
|
555933
|
+
}).version("0.1.28 (Maximo Syntax)", "-v, --version", "Output the version number");
|
|
555934
555934
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
555935
555935
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
555936
555936
|
if (canUserConfigureAdvisor()) {
|
|
@@ -556469,7 +556469,7 @@ function validateProviderEnvOrExit() {
|
|
|
556469
556469
|
async function main2() {
|
|
556470
556470
|
const args = process.argv.slice(2);
|
|
556471
556471
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
556472
|
-
console.log(`${"0.1.
|
|
556472
|
+
console.log(`${"0.1.28"} (Maximo Syntax)`);
|
|
556473
556473
|
return;
|
|
556474
556474
|
}
|
|
556475
556475
|
validateProviderEnvOrExit();
|
|
@@ -556546,4 +556546,4 @@ async function main2() {
|
|
|
556546
556546
|
}
|
|
556547
556547
|
main2();
|
|
556548
556548
|
|
|
556549
|
-
//# debugId=
|
|
556549
|
+
//# debugId=7807FD4B411D5FA764756E2164756E21
|