@maximoai/maximo-syntax-cli 0.1.42 → 0.1.43
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 +39 -26
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -54629,7 +54629,7 @@ function buildHookSchemas() {
|
|
|
54629
54629
|
prompt: exports_external.string().describe("Prompt to evaluate with LLM. Use $ARGUMENTS placeholder for hook input JSON."),
|
|
54630
54630
|
if: IfConditionSchema(),
|
|
54631
54631
|
timeout: exports_external.number().positive().optional().describe("Timeout in seconds for this specific prompt evaluation"),
|
|
54632
|
-
model: exports_external.string().optional().describe('Model to use for this prompt hook (e.g., "maximo-pandora-3.
|
|
54632
|
+
model: exports_external.string().optional().describe('Model to use for this prompt hook (e.g., "maximo-pandora-3.9-nano"). If not specified, uses the active provider default.'),
|
|
54633
54633
|
statusMessage: exports_external.string().optional().describe("Custom status message to display in spinner while hook runs"),
|
|
54634
54634
|
once: exports_external.boolean().optional().describe("If true, hook runs once and is removed after execution")
|
|
54635
54635
|
});
|
|
@@ -54648,7 +54648,7 @@ function buildHookSchemas() {
|
|
|
54648
54648
|
prompt: exports_external.string().describe('Prompt describing what to verify (e.g. "Verify that unit tests ran and passed."). Use $ARGUMENTS placeholder for hook input JSON.'),
|
|
54649
54649
|
if: IfConditionSchema(),
|
|
54650
54650
|
timeout: exports_external.number().positive().optional().describe("Timeout in seconds for agent execution (default 60)"),
|
|
54651
|
-
model: exports_external.string().optional().describe('Model to use for this agent hook (e.g., "maximo-pandora-3.
|
|
54651
|
+
model: exports_external.string().optional().describe('Model to use for this agent hook (e.g., "maximo-pandora-3.9-nano"). If not specified, uses the active provider default.'),
|
|
54652
54652
|
statusMessage: exports_external.string().optional().describe("Custom status message to display in spinner while hook runs"),
|
|
54653
54653
|
once: exports_external.boolean().optional().describe("If true, hook runs once and is removed after execution")
|
|
54654
54654
|
});
|
|
@@ -108443,12 +108443,16 @@ function normalizeRetiredMytabulonModel(value) {
|
|
|
108443
108443
|
function chooseMytabulonDefaultModel(modelIds) {
|
|
108444
108444
|
return modelIds.find((id) => id === MYTABULON_DEFAULT_MODEL) ?? modelIds.find((id) => !RETIRED_MYTABULON_MODEL_SET.has(id)) ?? MYTABULON_DEFAULT_MODEL;
|
|
108445
108445
|
}
|
|
108446
|
-
var MYTABULON_DEFAULT_MODEL = "maximo-atlas-1.
|
|
108446
|
+
var MYTABULON_DEFAULT_MODEL = "maximo-atlas-1.4", RETIRED_MYTABULON_MODELS, RETIRED_MYTABULON_MODEL_SET;
|
|
108447
108447
|
var init_modelDefaults = __esm(() => {
|
|
108448
108448
|
RETIRED_MYTABULON_MODELS = [
|
|
108449
108449
|
"maximo-atlas-preview",
|
|
108450
108450
|
"maximo-atlas-1.1",
|
|
108451
|
-
"atlas-1.1"
|
|
108451
|
+
"atlas-1.1",
|
|
108452
|
+
"maximo-atlas-1.2",
|
|
108453
|
+
"atlas-1.2",
|
|
108454
|
+
"maximo-atlas-1.3",
|
|
108455
|
+
"atlas-1.3"
|
|
108452
108456
|
];
|
|
108453
108457
|
RETIRED_MYTABULON_MODEL_SET = new Set(RETIRED_MYTABULON_MODELS);
|
|
108454
108458
|
});
|
|
@@ -109731,7 +109735,7 @@ function getOpenAIProviderDefaultModel(fallback) {
|
|
|
109731
109735
|
return normalizeRetiredMytabulonModel(globalConfig2.mytabulonDefaultModel) || MYTABULON_DEFAULT_MODEL;
|
|
109732
109736
|
}
|
|
109733
109737
|
if (baseUrl.includes("maximoai.co")) {
|
|
109734
|
-
return "maximo-pandora-3.
|
|
109738
|
+
return "maximo-pandora-3.9-nano";
|
|
109735
109739
|
}
|
|
109736
109740
|
if (baseUrl.includes("openrouter.ai/api/v1")) {
|
|
109737
109741
|
return globalConfig2.openAIModel || "openai/gpt-5.4";
|
|
@@ -109857,12 +109861,21 @@ function getDefaultMainLoopModel() {
|
|
|
109857
109861
|
}
|
|
109858
109862
|
function firstPartyNameToCanonical(name) {
|
|
109859
109863
|
name = name.toLowerCase();
|
|
109864
|
+
if (name.includes("maximo-pandora-3.9-nano")) {
|
|
109865
|
+
return "maximo-pandora-3.9-nano";
|
|
109866
|
+
}
|
|
109860
109867
|
if (name.includes("maximo-pandora-3.8-nano")) {
|
|
109861
109868
|
return "maximo-pandora-3.8-nano";
|
|
109862
109869
|
}
|
|
109863
109870
|
if (name.includes("maximo-pandora-3.7-nano")) {
|
|
109864
109871
|
return "maximo-pandora-3.7-nano";
|
|
109865
109872
|
}
|
|
109873
|
+
if (name.includes("maximo-atlas-1.4")) {
|
|
109874
|
+
return "maximo-atlas-1.4";
|
|
109875
|
+
}
|
|
109876
|
+
if (name.includes("maximo-atlas-1.3")) {
|
|
109877
|
+
return "maximo-atlas-1.3";
|
|
109878
|
+
}
|
|
109866
109879
|
if (name.includes("maximo-atlas-1.2")) {
|
|
109867
109880
|
return "maximo-atlas-1.2";
|
|
109868
109881
|
}
|
|
@@ -109946,14 +109959,14 @@ function getMaximoAiUserDefaultModelDescription(fastMode = false) {
|
|
|
109946
109959
|
const nanoModel = cachedOptions.find((opt) => opt.label.toLowerCase().includes("nano") || String(opt.value || "").toLowerCase().includes("nano")) || cachedOptions[cachedOptions.length - 1];
|
|
109947
109960
|
return `${nanoModel.label} · Fast & efficient`;
|
|
109948
109961
|
}
|
|
109949
|
-
const defaultModel = getOpenAIProviderDefaultModel(String(cachedOptions[0].value || "maximo-pandora-3.
|
|
109962
|
+
const defaultModel = getOpenAIProviderDefaultModel(String(cachedOptions[0].value || "maximo-pandora-3.9-nano"));
|
|
109950
109963
|
const preferredModel = cachedOptions.find((option) => option.value === defaultModel) || cachedOptions[0];
|
|
109951
109964
|
return `${preferredModel.label} · Optimized for coding`;
|
|
109952
109965
|
}
|
|
109953
109966
|
if (fastMode) {
|
|
109954
|
-
return "Pandora 3.
|
|
109967
|
+
return "Pandora 3.9 Nano · Fast & efficient";
|
|
109955
109968
|
}
|
|
109956
|
-
return getOpenAIProviderDefaultModel("maximo-pandora-3.
|
|
109969
|
+
return getOpenAIProviderDefaultModel("maximo-pandora-3.9-nano") === MYTABULON_DEFAULT_MODEL ? "Atlas 1.4 · Included with MyTabulon Coding Plan" : "Pandora 3.9 Nano · Optimized for coding";
|
|
109957
109970
|
}
|
|
109958
109971
|
if (isMaxSubscriber() || isTeamPremiumSubscriber()) {
|
|
109959
109972
|
if (isOpus1mMergeEnabled()) {
|
|
@@ -124077,7 +124090,7 @@ var init_metadata = __esm(() => {
|
|
|
124077
124090
|
isMaximoAiAuth: isMaximoAISubscriber(),
|
|
124078
124091
|
version: "99.0.0",
|
|
124079
124092
|
versionBase: getVersionBase(),
|
|
124080
|
-
buildTime: "2026-09-
|
|
124093
|
+
buildTime: "2026-09-22T00:55:47.019Z",
|
|
124081
124094
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
124082
124095
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
124083
124096
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -170182,8 +170195,8 @@ How to use the statusLine command:
|
|
|
170182
170195
|
"transcript_path": "string", // Path to the conversation transcript
|
|
170183
170196
|
"cwd": "string", // Current working directory
|
|
170184
170197
|
"model": {
|
|
170185
|
-
"id": "string", // Model ID (e.g., "maximo-pandora-3.
|
|
170186
|
-
"display_name": "string" // Display name (e.g., "Pandora 3.
|
|
170198
|
+
"id": "string", // Model ID (e.g., "maximo-pandora-3.9-nano")
|
|
170199
|
+
"display_name": "string" // Display name (e.g., "Pandora 3.9 Nano")
|
|
170187
170200
|
},
|
|
170188
170201
|
"workspace": {
|
|
170189
170202
|
"current_dir": "string", // Current working directory path
|
|
@@ -277009,7 +277022,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
|
|
|
277009
277022
|
import { homedir as homedir22 } from "os";
|
|
277010
277023
|
import { join as join65 } from "path";
|
|
277011
277024
|
function getCurrentRealVersion() {
|
|
277012
|
-
return "0.1.
|
|
277025
|
+
return "0.1.43";
|
|
277013
277026
|
}
|
|
277014
277027
|
async function getRolloutConfig() {
|
|
277015
277028
|
try {
|
|
@@ -278451,7 +278464,7 @@ async function installOAuthTokens(tokens) {
|
|
|
278451
278464
|
process.env.MAXIMO_SYNTAX_USE_OPENAI = "true";
|
|
278452
278465
|
process.env.OPENAI_BASE_URL = "https://api.maximoai.co/v1";
|
|
278453
278466
|
process.env.OPENAI_API_KEY = tokens.accessToken;
|
|
278454
|
-
process.env.OPENAI_MODEL = "maximo-pandora-3.
|
|
278467
|
+
process.env.OPENAI_MODEL = "maximo-pandora-3.9-nano";
|
|
278455
278468
|
} else {
|
|
278456
278469
|
const apiKey = await createAndStoreApiKey(tokens.accessToken);
|
|
278457
278470
|
if (!apiKey) {
|
|
@@ -282097,7 +282110,7 @@ var init_coreSchemas = __esm(() => {
|
|
|
282097
282110
|
tools: exports_external.array(exports_external.string()).optional().describe("Array of allowed tool names. If omitted, inherits all tools from parent"),
|
|
282098
282111
|
disallowedTools: exports_external.array(exports_external.string()).optional().describe("Array of tool names to explicitly disallow for this agent"),
|
|
282099
282112
|
prompt: exports_external.string().describe("The agent's system prompt"),
|
|
282100
|
-
model: exports_external.string().optional().describe("Model ID from the active provider (e.g. 'maximo-pandora-3.
|
|
282113
|
+
model: exports_external.string().optional().describe("Model ID from the active provider (e.g. 'maximo-pandora-3.9-nano') or 'inherit'. If omitted or 'inherit', uses the main model"),
|
|
282101
282114
|
mcpServers: exports_external.array(AgentMcpServerSpecSchema2()).optional(),
|
|
282102
282115
|
criticalSystemReminder_EXPERIMENTAL: exports_external.string().optional().describe("Experimental: Critical reminder added to system prompt"),
|
|
282103
282116
|
skills: exports_external.array(exports_external.string()).optional().describe("Array of skill names to preload into the agent context"),
|
|
@@ -288116,7 +288129,7 @@ function OAuthStatusMessage(t0) {
|
|
|
288116
288129
|
process.env.MAXIMO_SYNTAX_USE_OPENAI = "1";
|
|
288117
288130
|
process.env.OPENAI_API_KEY = apiKey;
|
|
288118
288131
|
process.env.OPENAI_BASE_URL = "https://api.maximoai.co/v1";
|
|
288119
|
-
process.env.OPENAI_MODEL = "maximo-pandora-3.
|
|
288132
|
+
process.env.OPENAI_MODEL = "maximo-pandora-3.9-nano";
|
|
288120
288133
|
const { saveGlobalConfig: saveGlobalConfig2 } = (init_config2(), __toCommonJS(exports_config));
|
|
288121
288134
|
saveGlobalConfig2((current) => ({
|
|
288122
288135
|
...current,
|
|
@@ -365420,7 +365433,7 @@ var init_tokenBudget2 = __esm(() => {
|
|
|
365420
365433
|
});
|
|
365421
365434
|
|
|
365422
365435
|
// src/services/goal/types.ts
|
|
365423
|
-
var GOAL_EVALUATOR_MODEL = "maximo-pandora-3.
|
|
365436
|
+
var GOAL_EVALUATOR_MODEL = "maximo-pandora-3.9-nano", GOAL_CLASSIFIER_MAX_RUNS_DEFAULT = 6, GOAL_EVALUATOR_BLOCKER_STREAK = 3, GOAL_STALL_THRESHOLD = 2, GOAL_EVALUATOR_TIMEOUT_MS = 30000, GOAL_VERIFIER_TIMEOUT_MS = 90000, GOAL_HISTORY_MAX = 64, GOAL_TRANSCRIPT_MAX_CHARS, GOAL_ITEM_MAX_CHARS;
|
|
365424
365437
|
var init_types10 = __esm(() => {
|
|
365425
365438
|
GOAL_TRANSCRIPT_MAX_CHARS = 32 * 1024;
|
|
365426
365439
|
GOAL_ITEM_MAX_CHARS = 4 * 1024;
|
|
@@ -367724,7 +367737,7 @@ function getAnthropicEnvMetadata() {
|
|
|
367724
367737
|
function getBuildAgeMinutes() {
|
|
367725
367738
|
if (false)
|
|
367726
367739
|
;
|
|
367727
|
-
const buildTime = new Date("2026-09-
|
|
367740
|
+
const buildTime = new Date("2026-09-22T00:55:47.019Z").getTime();
|
|
367728
367741
|
if (isNaN(buildTime))
|
|
367729
367742
|
return;
|
|
367730
367743
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -405948,7 +405961,7 @@ function Doctor(t0) {
|
|
|
405948
405961
|
},
|
|
405949
405962
|
{
|
|
405950
405963
|
name: "MAXIMO_SYNTAX_MAX_OUTPUT_TOKENS",
|
|
405951
|
-
...getModelMaxOutputTokens(process.env.OPENAI_MODEL || "maximo-pandora-3.
|
|
405964
|
+
...getModelMaxOutputTokens(process.env.OPENAI_MODEL || "maximo-pandora-3.9-nano")
|
|
405952
405965
|
}
|
|
405953
405966
|
];
|
|
405954
405967
|
t4 = envVars.map(_temp85).filter(_temp93);
|
|
@@ -433969,7 +433982,7 @@ function getRecentActivitySync() {
|
|
|
433969
433982
|
return cachedActivity;
|
|
433970
433983
|
}
|
|
433971
433984
|
function getLogoDisplayData() {
|
|
433972
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
433985
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.43" ?? "99.0.0";
|
|
433973
433986
|
const serverUrl = getDirectConnectServerUrl();
|
|
433974
433987
|
const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
|
|
433975
433988
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -463491,7 +463504,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
463491
463504
|
var call57 = async () => {
|
|
463492
463505
|
return {
|
|
463493
463506
|
type: "text",
|
|
463494
|
-
value: `${"99.0.0"} (built ${"2026-09-
|
|
463507
|
+
value: `${"99.0.0"} (built ${"2026-09-22T00:55:47.019Z"})`
|
|
463495
463508
|
};
|
|
463496
463509
|
}, version2, version_default;
|
|
463497
463510
|
var init_version = __esm(() => {
|
|
@@ -489541,7 +489554,7 @@ function applySafeConfigEnvironmentVariables() {
|
|
|
489541
489554
|
} else if (baseUrl.includes("opencode.ai/zen/")) {
|
|
489542
489555
|
process.env.OPENAI_MODEL = "deepseek-v4-flash";
|
|
489543
489556
|
} else {
|
|
489544
|
-
process.env.OPENAI_MODEL = "maximo-pandora-3.
|
|
489557
|
+
process.env.OPENAI_MODEL = "maximo-pandora-3.9-nano";
|
|
489545
489558
|
}
|
|
489546
489559
|
}
|
|
489547
489560
|
}
|
|
@@ -539481,7 +539494,7 @@ function SetupRow({ children }) {
|
|
|
539481
539494
|
}
|
|
539482
539495
|
function WelcomeV2() {
|
|
539483
539496
|
const { columns } = useTerminalSize();
|
|
539484
|
-
const version3 = "0.1.
|
|
539497
|
+
const version3 = "0.1.43";
|
|
539485
539498
|
const width = Math.max(48, Math.min(columns || 92, 92));
|
|
539486
539499
|
const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
|
|
539487
539500
|
return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
|
|
@@ -557855,7 +557868,7 @@ async function run() {
|
|
|
557855
557868
|
}).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) => {
|
|
557856
557869
|
const n3 = Number(v);
|
|
557857
557870
|
return Number.isFinite(n3) ? n3 : undefined;
|
|
557858
|
-
}).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.
|
|
557871
|
+
}).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.9-nano' or 'maximo-atlas-1.4').`).addOption(new Option("--effort <level>", `Effort level for the current session (minimal, low, medium, high, xhigh, max, ultra)`).argParser((rawValue) => {
|
|
557859
557872
|
const normalized = rawValue.trim().toLowerCase().replace(/[-_\s]+/g, "").replace(/^extrahigh$/, "xhigh").replace(/^ultra$/, "xhigh").replace(/^maximum$/, "max").replace(/^med$/, "medium");
|
|
557860
557873
|
const allowed = ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
|
|
557861
557874
|
if (!allowed.includes(normalized)) {
|
|
@@ -559441,7 +559454,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
559441
559454
|
pendingHookMessages
|
|
559442
559455
|
}, renderAndRun);
|
|
559443
559456
|
}
|
|
559444
|
-
}).version("0.1.
|
|
559457
|
+
}).version("0.1.43 (Maximo Syntax)", "-v, --version", "Output the version number");
|
|
559445
559458
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
559446
559459
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
559447
559460
|
if (canUserConfigureAdvisor()) {
|
|
@@ -559980,7 +559993,7 @@ function validateProviderEnvOrExit() {
|
|
|
559980
559993
|
async function main2() {
|
|
559981
559994
|
const args = process.argv.slice(2);
|
|
559982
559995
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
559983
|
-
console.log(`${"0.1.
|
|
559996
|
+
console.log(`${"0.1.43"} (Maximo Syntax)`);
|
|
559984
559997
|
return;
|
|
559985
559998
|
}
|
|
559986
559999
|
validateProviderEnvOrExit();
|
|
@@ -560057,4 +560070,4 @@ async function main2() {
|
|
|
560057
560070
|
}
|
|
560058
560071
|
main2();
|
|
560059
560072
|
|
|
560060
|
-
//# debugId=
|
|
560073
|
+
//# debugId=CB53469D58B7999264756E2164756E21
|