Repository navigation
feat: sync and release MiniMax Code 0.8.0 - #631
Merged
Merged
Conversation
Synchronize the reviewed 0.8.0 standalone CLI, TUI, ACP, and embedded local runtime changes while preserving standalone distribution boundaries, default-off telemetry privacy guarantees, and third-party license notices.
| ): string { | ||
| const read = | ||
| kind === 'text' | ||
| ? `(element) => ${pageTextExpression(readV2)}` |
| const argJson = JSON.stringify(args.arg ?? null); | ||
| const call = args.isFunction === true ? `(${source})(${argJson})` : `(() => (${source}))()`; | ||
| const make = | ||
| args.isFunction === true ? `() => (${source}\n)(${argJson})` : `() => (${source}\n)`; |
| const isNodeBinShim = /node_modules[\\/]\.bin[\\/][^\\/]+\.cmd$/iu.test(command); | ||
| const commandLine = [ | ||
| escapeWindowsCmdCommand(command), | ||
| ...cmdArgs.map((arg) => quoteWindowsCmdArg(arg, isNodeBinShim)), |
| expect(big.error?.code).toBe('EVALUATE_RESULT_TOO_LARGE'); | ||
| const long = (await run( | ||
| new ScriptPageTransport(), | ||
| `return await page.evaluate(() => ${JSON.stringify('y'.repeat(70 * 1024))}.length);`, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Synchronize and prepare the standalone MiniMax Code 0.8.0 source release across the interactive TUI, headless
mcode exec,mcode acp/@minimax-ai/code-acp, and the embedded Local Runtime V2 packages while preserving all standalone distribution boundaries and default-off telemetry privacy guarantees.Highlights
Advisor (
/advisorand--advisor): pair the active session model with a second advisor model that the agent can consult on architectural trade-offs and complex decisions (beta.advisor: falseinconfig.yamldisables it).Remote MCP OAuth: authorize OAuth-protected remote MCP servers from
/mcpormcode mcp login <name>/mcode mcp logout <name>across user-configured servers, project.mcp.jsonservers (--project), and local Plugin servers (--plugin), including manual redirect-URL completion over SSH or--no-browser.Custom Provider & Multimodal Improvements:
/modelonboarding andmcode provider add --api-format google-generative-ai), inline audio and PDF inputs for models declaring them, and video support over OpenAI Chat Completions and Responses (input_video), with automatic audio-track stripping viamediabunnywhen sending video to models without audio input.options.apiKeysinconfig.yaml, surfaced in/providerandmcode provider list.thinking.effortOptionskeywords (off,minimal,low,medium,high,xhigh,max,ultra), and←/→effort switching in/modelwhile a search query is active.PTC & Browser Use:
run_codesource-length limit and adding opt-in session-localstore/load(beta.ptcStore: true) and reusable scripts viasave_run_code_script/import()(beta.ptcScripts: true).mark_tab(page.keep()) one-turn carryover, isolated subagent profiles, and a dedicatedbrowser-program-workerQuickJS runtime (browser.page(),browser.tabs(),browser.panel()).ACP & CLI Startup:
@minimax-ai/code-acpupgraded to a zero-dependency self-bootstrapping launcher;mcode acpbinds stdio immediately to answerinitializewhile loading the Runtime in the background, reservessession/newIDs lazily until first use, exposes region-aware terminal andMCODE_PROVIDER_API_KEYauth methods, supports per-member delegation messaging/transcript/stop, and includes token/turn metadata under_meta["minimax-code/turn"].smartCleanupretention sweeps are skipped onmcode acpandmcode exec, and auth lease projection runs in parallel with built-in tool setup.Safety, Resilience & UX:
writerefuses to overwrite unread or externally modified files; writes to MCode's own state directories and nested MCode launches insidedelete_guardsandboxes are blocked before creating lock or ownership state.<dataDir>/run/mt-<id>/(0700) auth lease broker runtime directories with concurrent refresh fencing.pasted-text.txtattachment with single-keystrokeBackspaceremoval and undo; per-message attachment cap raised from 10 to 20 (100 MiB total).opt/<formula>Node toolchain path resolution across upgrades; per-sectionconfig.yamlfallback with user-facing notices; hard-link filesystem preflight check; Vela[V]status line updated to emit raw RuntimesessionandturnIDs while keepingrequestas a 6-character opaque ref.PR labels:
enhancement,cli,tui,dependencies,perf:fullValidation
b6acc331947b59ae605b0c5b4e0cfefe61fafd0f,darwin/arm64, Nodev26.4.0, profilefullviaMCODE_VERIFY_REPORT_DIR=/tmp/mcode-verify-0.8.0 pnpm verify— 17/17 applicable gates PASS in 174.4s, plus all 3 Gitleaks scans PASS with 0 findings):check:source: PASS (4,897 reviewed source files, workspace exports, plugin contract, and native helper integrity verified)check:tsconfig: PASS (168 standalone package paths)export source preview: PASStest:release-tools: PASS (56 passed, 1 platform-skipped)lint:tui: PASS (0 errors)typecheck: PASS (0 errors)build: PASS (standalone CLI,mcode-tools,image-preview-worker,quickjs-worker, andbrowser-program-worker)check:standalone: PASStest:artifact: PASS (6/6 passed, includingbrowser-program-worker.jsexecution)test:capabilities: PASS (305 test files passed)typecheck:code-sdk&test:code-sdk: PASS (81/81 passed)test:status-contract: PASS (9/9 passed)test:smoke: PASS (21/21 passed)test:byok: PASS (4/4 end-to-end CLI/SQLite/hook/cancellation suites passed)test:policy: PASS (214/214 passed)test:sandbox: PASS (48/48 passed)gitleaks(git, exported source archive, anddist/): PASS (0 findings)perf:fullapplied (touches session history/compaction, streaming retry/loop guards, and the tool execution loop; CIperformancefull suite will run on this PR head).pnpm verify --profile windowson NTFS/PowerShell) and Linux Node 24 matrix jobs were not run locally on macOS and rely on GitHub Actions CI.test:release-package(profile: package) requires a tagged release tarball and was skipped in source verification.Publication and contribution checks
release/public-source.json; new tests are declared intest/vitest-suites.jsonwhere applicable.Maintainer handoff
Publication scope or license changes (if any):
es-module-lexer@1.7.0(MIT) topnpm-lock.yamland refreshedrelease/dependency-licenses.json.THIRD_PARTY_NOTICES.md,packages/tui/THIRD_PARTY_NOTICES.md,packages/agent-core/THIRD_PARTY_NOTICES.md, andpackages/local-runtime-v2/THIRD_PARTY_NOTICES.mdwith complete English notices for QuickJS /quickjs-emscripten(MIT),mediabunny(MPL-2.0), and MIT-licensed stream loop / BYOK key-rotation safeguards.release/extraction.jsonretains its 32 package roots and selective baseline (sourceRevisionunchanged because desktop-only / internal-only modules remain outside this selective standalone sync).Shared-source port: complete.