@maximoai/maximo-syntax-cli 0.1.35 → 0.1.36

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 +18 -48
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -124000,7 +124000,7 @@ var init_metadata = __esm(() => {
124000
124000
  isMaximoAiAuth: isMaximoAISubscriber(),
124001
124001
  version: "99.0.0",
124002
124002
  versionBase: getVersionBase(),
124003
- buildTime: "2026-08-15T17:39:50.605Z",
124003
+ buildTime: "2026-08-15T17:46:38.288Z",
124004
124004
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
124005
124005
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
124006
124006
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -165977,20 +165977,10 @@ var init_thinking = __esm(() => {
165977
165977
  // src/utils/effort.ts
165978
165978
  function getSupportedEffortLevelsForModel(model) {
165979
165979
  const providerConfig = getCachedMaximoModelEffortConfig(model);
165980
- if (providerConfig) {
165981
- return providerConfig.supportedEfforts.filter(isEffortLevel);
165982
- }
165983
- const m = model.toLowerCase();
165984
- if (m.includes("maximo-atlas-1.2")) {
165985
- return ["low", "medium", "high", "xhigh", "max"];
165986
- }
165987
- if (m.includes("opus-4-6")) {
165988
- return ["low", "medium", "high", "max"];
165989
- }
165990
- if (m.includes("sonnet-4-6")) {
165991
- return ["low", "medium", "high"];
165980
+ if (!providerConfig) {
165981
+ return;
165992
165982
  }
165993
- return;
165983
+ return providerConfig.supportedEfforts;
165994
165984
  }
165995
165985
  function modelSupportsEffort(model) {
165996
165986
  if (isEnvTruthy(process.env.MAXIMO_SYNTAX_ALWAYS_ENABLE_EFFORT)) {
@@ -166010,23 +166000,6 @@ function modelSupportsEffort(model) {
166010
166000
  }
166011
166001
  return getAPIProvider() === "firstParty";
166012
166002
  }
166013
- function modelSupportsMaxEffort(model) {
166014
- const providerLevels = getSupportedEffortLevelsForModel(model);
166015
- if (providerLevels !== undefined) {
166016
- return providerLevels.includes("max");
166017
- }
166018
- const supported3P = get3PModelCapabilityOverride(model, "max_effort");
166019
- if (supported3P !== undefined) {
166020
- return supported3P;
166021
- }
166022
- if (model.toLowerCase().includes("opus-4-6")) {
166023
- return true;
166024
- }
166025
- if (process.env.USER_TYPE === "ant" && resolveAntModel(model)) {
166026
- return true;
166027
- }
166028
- return false;
166029
- }
166030
166003
  function isEffortLevel(value) {
166031
166004
  return EFFORT_LEVELS.includes(value);
166032
166005
  }
@@ -166081,8 +166054,6 @@ function resolveAppliedEffort(model, appStateEffortValue) {
166081
166054
  if (!supportedLevels.includes(resolved)) {
166082
166055
  return getDefaultEffortForModel(model) ?? supportedLevels[supportedLevels.length - 1];
166083
166056
  }
166084
- } else if (resolved === "max" && !modelSupportsMaxEffort(model)) {
166085
- return "high";
166086
166057
  }
166087
166058
  }
166088
166059
  return resolved;
@@ -277246,7 +277217,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
277246
277217
  import { homedir as homedir22 } from "os";
277247
277218
  import { join as join65 } from "path";
277248
277219
  function getCurrentRealVersion() {
277249
- return "0.1.35";
277220
+ return "0.1.36";
277250
277221
  }
277251
277222
  async function getRolloutConfig() {
277252
277223
  try {
@@ -354447,10 +354418,9 @@ function listSubagentDelegationCatalog() {
354447
354418
  return;
354448
354419
  seen.add(trimmed);
354449
354420
  const config2 = getCachedMaximoModelEffortConfig(trimmed);
354450
- const supported = config2?.supportedEfforts?.length ? config2.supportedEfforts : getSupportedEffortLevelsForModel(trimmed);
354451
354421
  entries.push({
354452
354422
  slug: trimmed,
354453
- efforts: supported ? [...supported] : [],
354423
+ efforts: config2?.supportedEfforts ? [...config2.supportedEfforts] : [],
354454
354424
  ...config2?.defaultEffort ? { defaultEffort: config2.defaultEffort } : {}
354455
354425
  });
354456
354426
  };
@@ -355748,7 +355718,7 @@ A call that omits \`description\` or \`prompt\` is rejected. Do not start the su
355748
355718
  Optional but supported on every spawn:
355749
355719
  - \`subagent_type\`: one of the types listed above. If omitted, ${forkEnabled ? "a fork of yourself is created" : "the general-purpose agent is used"}.
355750
355720
  - \`model\`: an exact slug from the live catalog below, a family alias (\`sonnet\`, \`opus\`, \`haiku\`), or \`inherit\`. Do not invent slugs. Omit to inherit the parent model. Compact list: ${availableModels}.
355751
- - \`effort\`: a level listed for that model in the catalog (plus display aliases like Extra High). Omit to inherit the parent effort. Never pass an effort the chosen model does not list.
355721
+ - \`effort\`: a level listed for that model in the catalog below. Omit to inherit the parent effort. Never pass an effort the chosen model does not list.
355752
355722
  - \`isolation\`: \`"none"\` (default, shared workspace) or \`"worktree"\` (isolated git worktree). Never pass any other value. \`"none"\` is valid and means "do not isolate".
355753
355723
  - \`run_in_background\`: \`true\` to return immediately and get a completion notification later.
355754
355724
 
@@ -355877,7 +355847,7 @@ ${agentListSection}
355877
355847
 
355878
355848
  ${forkEnabled ? `When using the ${AGENT_TOOL_NAME} tool, specify a subagent_type to use a specialized agent, or omit it to fork yourself — a fork inherits your full conversation context.` : `When using the ${AGENT_TOOL_NAME} tool, specify a subagent_type parameter to select which agent type to use. If omitted, the general-purpose agent is used.`}
355879
355849
 
355880
- Always pass both \`description\` (3-5 word title) and \`prompt\` (full task). You may set \`model\` to any available model slug and \`effort\` to any effort that model supports; omit them to inherit the parent. \`isolation\` accepts only \`"none"\` (default, shared workspace) or \`"worktree"\`.`;
355850
+ Always pass both \`description\` (3-5 word title) and \`prompt\` (full task). You may set \`model\` to a slug from the live catalog and \`effort\` to a level listed for that model; omit them to inherit the parent. \`isolation\` accepts only \`"none"\` (default, shared workspace) or \`"worktree"\`.`;
355881
355851
  if (isCoordinator) {
355882
355852
  return shared2;
355883
355853
  }
@@ -355906,7 +355876,7 @@ Usage notes:
355906
355876
  - Clearly tell the agent whether you expect it to write code or just to do research (search, file reads, web fetches, etc.)${forkEnabled ? "" : ", since it is not aware of the user's intent"}
355907
355877
  - If the agent description mentions that it should be used proactively, then you should try your best to use it without the user having to ask for it first. Use your judgement.
355908
355878
  - If the user specifies that they want you to run agents "in parallel", you MUST send a single message with multiple ${AGENT_TOOL_NAME} tool use content blocks. For example, if you need to launch both a build-validator agent and a test-runner agent in parallel, send a single message with both tool calls.
355909
- - You can optionally set \`model\` to any available model slug listed above (or \`inherit\`) and \`effort\` to any effort that model supports. Omit both to inherit the parent conversation's model and effort.
355879
+ - You can optionally set \`model\` to a slug from the live catalog (or \`inherit\`) and \`effort\` to a level listed for that model. Omit both to inherit the parent conversation's model and effort.
355910
355880
  - You can optionally set \`isolation: "none"\` (default, shared workspace) or \`isolation: "worktree"\` to run the agent in a temporary git worktree, giving it an isolated copy of the repository. The worktree is automatically cleaned up if the agent makes no changes; if changes are made, the worktree path and branch are returned in the result. Do not pass any isolation value other than \`"none"\` or \`"worktree"\`.${process.env.USER_TYPE === "ant" ? `
355911
355881
  - You can set \`isolation: "remote"\` to run the agent in a remote CCR environment. This is always a background task; you'll be notified when it completes. Use for long-running tasks that need a fresh sandbox.` : ""}${isInProcessTeammate() ? `
355912
355882
  - The run_in_background, name, team_name, and mode parameters are not available in this context. Only synchronous subagents are supported.` : isTeammate() ? `
@@ -355998,7 +355968,7 @@ var init_AgentTool = __esm(() => {
355998
355968
  prompt: exports_external.string().describe("The full task for the agent to perform. Required. The subagent starts with zero conversation context, so include everything it needs."),
355999
355969
  subagent_type: exports_external.string().optional().describe("The type of specialized agent to use for this task. Built-in types include general-purpose, Explore, and Plan when enabled. If omitted, the general-purpose agent is used (or a fork, when forking is enabled)."),
356000
355970
  model: exports_external.string().optional().describe(`Optional model slug for this subagent. Pass an exact slug from the live catalog in this tool's description, a family alias (sonnet, opus, haiku), or "inherit". If omitted, uses the agent definition's model or inherits the parent. Do not invent slugs.`),
356001
- effort: exports_external.string().optional().describe("Optional reasoning effort for this subagent. Pass a level listed for the chosen model in this tool's live catalog (minimal, low, medium, high, xhigh, max, ultra — plus Extra High / extra_high aliases). If omitted, inherits the parent effort or the agent definition's effort. Unsupported levels are clamped to that model's catalog."),
355971
+ effort: exports_external.string().optional().describe("Optional reasoning effort for this subagent. Pass a level from the chosen model's row in this tool's live catalog. If omitted, inherits the parent effort or the agent definition's effort. Do not invent effort names."),
356002
355972
  run_in_background: exports_external.boolean().optional().describe("Set to true to run this agent in the background. You will be notified when it completes.")
356003
355973
  }));
356004
355974
  fullInputSchema2 = lazySchema(() => {
@@ -366748,7 +366718,7 @@ function getAnthropicEnvMetadata() {
366748
366718
  function getBuildAgeMinutes() {
366749
366719
  if (false)
366750
366720
  ;
366751
- const buildTime = new Date("2026-08-15T17:39:50.605Z").getTime();
366721
+ const buildTime = new Date("2026-08-15T17:46:38.288Z").getTime();
366752
366722
  if (isNaN(buildTime))
366753
366723
  return;
366754
366724
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -432826,7 +432796,7 @@ function getRecentActivitySync() {
432826
432796
  return cachedActivity;
432827
432797
  }
432828
432798
  function getLogoDisplayData() {
432829
- const version2 = process.env.DEMO_VERSION ?? "0.1.35" ?? "99.0.0";
432799
+ const version2 = process.env.DEMO_VERSION ?? "0.1.36" ?? "99.0.0";
432830
432800
  const serverUrl = getDirectConnectServerUrl();
432831
432801
  const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
432832
432802
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -462291,7 +462261,7 @@ var init_bridge_kick = __esm(() => {
462291
462261
  var call57 = async () => {
462292
462262
  return {
462293
462263
  type: "text",
462294
- value: `${"99.0.0"} (built ${"2026-08-15T17:39:50.605Z"})`
462264
+ value: `${"99.0.0"} (built ${"2026-08-15T17:46:38.288Z"})`
462295
462265
  };
462296
462266
  }, version2, version_default;
462297
462267
  var init_version = __esm(() => {
@@ -482174,7 +482144,7 @@ function getUsingYourToolsSection(enabledTools) {
482174
482144
  `);
482175
482145
  }
482176
482146
  function getAgentToolSection() {
482177
- return isForkSubagentEnabled() ? `Calling ${AGENT_TOOL_NAME} without a subagent_type creates a fork, which runs in the background and keeps its tool output out of your context — so you can keep chatting with the user while it works. Reach for it when research or multi-step implementation work would otherwise fill your context with raw output you won't need again. **If you ARE the fork** — execute directly; do not re-delegate.` : `Use the ${AGENT_TOOL_NAME} tool with specialized agents when the task at hand matches the agent's description. Subagents are valuable for parallelizing independent queries or for protecting the main context window from excessive results, but they should not be used excessively when not needed. Importantly, avoid duplicating work that subagents are already doing - if you delegate research to a subagent, do not also perform the same searches yourself. Every ${AGENT_TOOL_NAME} call must include \`description\` (3-5 word title) and \`prompt\` (full task). You may set \`model\` to any available model slug and \`effort\` to any effort that model supports; omit them to inherit the parent. \`isolation\` is \`"none"\` (default) or \`"worktree"\` — never any other value.`;
482147
+ return isForkSubagentEnabled() ? `Calling ${AGENT_TOOL_NAME} without a subagent_type creates a fork, which runs in the background and keeps its tool output out of your context — so you can keep chatting with the user while it works. Reach for it when research or multi-step implementation work would otherwise fill your context with raw output you won't need again. **If you ARE the fork** — execute directly; do not re-delegate.` : `Use the ${AGENT_TOOL_NAME} tool with specialized agents when the task at hand matches the agent's description. Subagents are valuable for parallelizing independent queries or for protecting the main context window from excessive results, but they should not be used excessively when not needed. Importantly, avoid duplicating work that subagents are already doing - if you delegate research to a subagent, do not also perform the same searches yourself. Every ${AGENT_TOOL_NAME} call must include \`description\` (3-5 word title) and \`prompt\` (full task). You may set \`model\` to a slug from the live provider catalog and \`effort\` to a level that catalog lists for that model; omit them to inherit the parent. \`isolation\` is \`"none"\` (default) or \`"worktree"\` — never any other value.`;
482178
482148
  }
482179
482149
  function getDiscoverSkillsGuidance() {
482180
482150
  if (false) {}
@@ -536823,7 +536793,7 @@ function SetupRow({ children }) {
536823
536793
  }
536824
536794
  function WelcomeV2() {
536825
536795
  const { columns } = useTerminalSize();
536826
- const version3 = "0.1.35";
536796
+ const version3 = "0.1.36";
536827
536797
  const width = Math.max(48, Math.min(columns || 92, 92));
536828
536798
  const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
536829
536799
  return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
@@ -556759,7 +556729,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
556759
556729
  pendingHookMessages
556760
556730
  }, renderAndRun);
556761
556731
  }
556762
- }).version("0.1.35 (Maximo Syntax)", "-v, --version", "Output the version number");
556732
+ }).version("0.1.36 (Maximo Syntax)", "-v, --version", "Output the version number");
556763
556733
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
556764
556734
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
556765
556735
  if (canUserConfigureAdvisor()) {
@@ -557298,7 +557268,7 @@ function validateProviderEnvOrExit() {
557298
557268
  async function main2() {
557299
557269
  const args = process.argv.slice(2);
557300
557270
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
557301
- console.log(`${"0.1.35"} (Maximo Syntax)`);
557271
+ console.log(`${"0.1.36"} (Maximo Syntax)`);
557302
557272
  return;
557303
557273
  }
557304
557274
  validateProviderEnvOrExit();
@@ -557375,4 +557345,4 @@ async function main2() {
557375
557345
  }
557376
557346
  main2();
557377
557347
 
557378
- //# debugId=2CD0260EB03346DE64756E2164756E21
557348
+ //# debugId=137C1FE392A2B04A64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maximoai/maximo-syntax-cli",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "Maximo Syntax CLI - A powerful AI-powered command-line interface for code development with any LLM",
5
5
  "type": "module",
6
6
  "bin": {