@maximoai/maximo-syntax-cli 0.1.50 → 0.1.51
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/README.md +4 -0
- package/dist/cli.mjs +26 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -385,3 +385,7 @@ Maximo Syntax CLI is an independent community project and is not affiliated with
|
|
|
385
385
|
## License
|
|
386
386
|
|
|
387
387
|
MIT
|
|
388
|
+
|
|
389
|
+
### Temporary auto-mode full access (0.1.51)
|
|
390
|
+
|
|
391
|
+
Auto mode temporarily allows every tool permission request without consulting the classifier or permission rules. The classifier implementation is retained. Set `MAXIMO_AUTO_MODE_FULL_ACCESS=0` before launching to restore its normal decision flow. Other permission modes, tool input validation, and computer save/restore behavior are unchanged.
|
package/dist/cli.mjs
CHANGED
|
@@ -124100,7 +124100,7 @@ var init_metadata = __esm(() => {
|
|
|
124100
124100
|
isMaximoAiAuth: isMaximoAISubscriber(),
|
|
124101
124101
|
version: "99.0.0",
|
|
124102
124102
|
versionBase: getVersionBase(),
|
|
124103
|
-
buildTime: "2026-10-
|
|
124103
|
+
buildTime: "2026-10-08T20:29:25.759Z",
|
|
124104
124104
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
124105
124105
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
124106
124106
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -277379,7 +277379,7 @@ import { access as access3, writeFile as writeFile13 } from "fs/promises";
|
|
|
277379
277379
|
import { homedir as homedir22 } from "os";
|
|
277380
277380
|
import { join as join65 } from "path";
|
|
277381
277381
|
function getCurrentRealVersion() {
|
|
277382
|
-
return "0.1.
|
|
277382
|
+
return "0.1.51";
|
|
277383
277383
|
}
|
|
277384
277384
|
async function getRolloutConfig() {
|
|
277385
277385
|
try {
|
|
@@ -368094,7 +368094,7 @@ function getAnthropicEnvMetadata() {
|
|
|
368094
368094
|
function getBuildAgeMinutes() {
|
|
368095
368095
|
if (false)
|
|
368096
368096
|
;
|
|
368097
|
-
const buildTime = new Date("2026-10-
|
|
368097
|
+
const buildTime = new Date("2026-10-08T20:29:25.759Z").getTime();
|
|
368098
368098
|
if (isNaN(buildTime))
|
|
368099
368099
|
return;
|
|
368100
368100
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -385781,6 +385781,20 @@ var init_shouldUseSandbox = __esm(() => {
|
|
|
385781
385781
|
init_bashPermissions();
|
|
385782
385782
|
});
|
|
385783
385783
|
|
|
385784
|
+
// src/utils/permissions/autoModeFullAccess.ts
|
|
385785
|
+
function autoModeFullAccessDecision(mode, input) {
|
|
385786
|
+
if (mode !== "auto")
|
|
385787
|
+
return;
|
|
385788
|
+
if (["0", "false", "off"].includes((process.env.MAXIMO_AUTO_MODE_FULL_ACCESS ?? "").toLowerCase())) {
|
|
385789
|
+
return;
|
|
385790
|
+
}
|
|
385791
|
+
return {
|
|
385792
|
+
behavior: "allow",
|
|
385793
|
+
updatedInput: input,
|
|
385794
|
+
decisionReason: { type: "mode", mode: "auto" }
|
|
385795
|
+
};
|
|
385796
|
+
}
|
|
385797
|
+
|
|
385784
385798
|
// src/tools/VerifyPlanExecutionTool/constants.ts
|
|
385785
385799
|
var exports_constants = {};
|
|
385786
385800
|
__export(exports_constants, {
|
|
@@ -386308,6 +386322,9 @@ function getUpdatedInputOrFallback(permissionResult, fallback) {
|
|
|
386308
386322
|
return ("updatedInput" in permissionResult ? permissionResult.updatedInput : undefined) ?? fallback;
|
|
386309
386323
|
}
|
|
386310
386324
|
var classifierDecisionModule, autoModeStateModule3, CLASSIFIER_FAIL_CLOSED_REFRESH_MS, PERMISSION_RULE_SOURCES, hasPermissionsToUseTool = async (tool, input, context7, assistantMessage, toolUseID) => {
|
|
386325
|
+
const fullAccess = autoModeFullAccessDecision(context7.getAppState().toolPermissionContext.mode, input);
|
|
386326
|
+
if (fullAccess)
|
|
386327
|
+
return fullAccess;
|
|
386311
386328
|
const result = await hasPermissionsToUseToolInner(tool, input, context7);
|
|
386312
386329
|
if (result.behavior === "allow") {
|
|
386313
386330
|
const appState = context7.getAppState();
|
|
@@ -434349,7 +434366,7 @@ function getRecentActivitySync() {
|
|
|
434349
434366
|
return cachedActivity;
|
|
434350
434367
|
}
|
|
434351
434368
|
function getLogoDisplayData() {
|
|
434352
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
434369
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.51" ?? "99.0.0";
|
|
434353
434370
|
const serverUrl = getDirectConnectServerUrl();
|
|
434354
434371
|
const displayPath = process.env.DEMO_VERSION ? "/code/maximo" : getDisplayPath(getCwd());
|
|
434355
434372
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -463876,7 +463893,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
463876
463893
|
var call57 = async () => {
|
|
463877
463894
|
return {
|
|
463878
463895
|
type: "text",
|
|
463879
|
-
value: `${"99.0.0"} (built ${"2026-10-
|
|
463896
|
+
value: `${"99.0.0"} (built ${"2026-10-08T20:29:25.759Z"})`
|
|
463880
463897
|
};
|
|
463881
463898
|
}, version2, version_default;
|
|
463882
463899
|
var init_version = __esm(() => {
|
|
@@ -539866,7 +539883,7 @@ function SetupRow({ children }) {
|
|
|
539866
539883
|
}
|
|
539867
539884
|
function WelcomeV2() {
|
|
539868
539885
|
const { columns } = useTerminalSize();
|
|
539869
|
-
const version3 = "0.1.
|
|
539886
|
+
const version3 = "0.1.51";
|
|
539870
539887
|
const width = Math.max(48, Math.min(columns || 92, 92));
|
|
539871
539888
|
const stacked = width < OCTOPUS_COMPACT_WIDTH + 42;
|
|
539872
539889
|
return /* @__PURE__ */ jsx_runtime479.jsx(ThemedBox_default, {
|
|
@@ -559826,7 +559843,7 @@ Usage: maximo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
559826
559843
|
pendingHookMessages
|
|
559827
559844
|
}, renderAndRun);
|
|
559828
559845
|
}
|
|
559829
|
-
}).version("0.1.
|
|
559846
|
+
}).version("0.1.51 (Maximo Syntax)", "-v, --version", "Output the version number");
|
|
559830
559847
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
559831
559848
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
559832
559849
|
if (canUserConfigureAdvisor()) {
|
|
@@ -560365,7 +560382,7 @@ function validateProviderEnvOrExit() {
|
|
|
560365
560382
|
async function main2() {
|
|
560366
560383
|
const args = process.argv.slice(2);
|
|
560367
560384
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
560368
|
-
console.log(`${"0.1.
|
|
560385
|
+
console.log(`${"0.1.51"} (Maximo Syntax)`);
|
|
560369
560386
|
return;
|
|
560370
560387
|
}
|
|
560371
560388
|
validateProviderEnvOrExit();
|
|
@@ -560442,4 +560459,4 @@ async function main2() {
|
|
|
560442
560459
|
}
|
|
560443
560460
|
main2();
|
|
560444
560461
|
|
|
560445
|
-
//# debugId=
|
|
560462
|
+
//# debugId=69F6B4FB0CFDE55B64756E2164756E21
|