diff --git a/.aoci/baseline.json b/.aoci/baseline.json index 942c403e..7925f674 100644 --- a/.aoci/baseline.json +++ b/.aoci/baseline.json @@ -1,7 +1,7 @@ { "version": 1, "created_at": "2026-11-19T05:53:26Z", - "updated_at": "2026-11-20T10:44:13Z", + "updated_at": "2026-11-20T13:37:23Z", "files": { ".agents/skills/changelog-card-publish/SKILL.md": { "role": "index", @@ -311,15 +311,15 @@ }, ".github/workflows/update-visual-baselines.yml": { "role": "index", - "sha256": "337dc5296a75179117225dc39301867b3e21cb8899beabc3e1ae2180d5baf8e5", - "size": 3977, - "normalized_sha256": "337dc5296a75179117225dc39301867b3e21cb8899beabc3e1ae2180d5baf8e5" + "sha256": "e40ef7f76a516b911e87f146443665089120372b3a2d458cec2267244410d881", + "size": 3978, + "normalized_sha256": "e40ef7f76a516b911e87f146443665089120372b3a2d458cec2267244410d881" }, ".github/workflows/webui-ci.yml": { "role": "index", - "sha256": "d145b227385b4c57b26af11ffc25cc5736fa83adf6cc7975a5ee98d78a5ae298", - "size": 6267, - "normalized_sha256": "d145b227385b4c57b26af11ffc25cc5736fa83adf6cc7975a5ee98d78a5ae298" + "sha256": "e0fc34743b755a56961b72c701b9f3a201649873f7cff853fe5e07557cdea50b", + "size": 6268, + "normalized_sha256": "e0fc34743b755a56961b72c701b9f3a201649873f7cff853fe5e07557cdea50b" }, ".gitignore": { "role": "index", @@ -749,15 +749,15 @@ }, "README.md": { "role": "index", - "sha256": "700ab9c2c1d50e19bcfa06352317356de4eaac125ba2c7c60620b305dbbfff2b", - "size": 10399, - "normalized_sha256": "700ab9c2c1d50e19bcfa06352317356de4eaac125ba2c7c60620b305dbbfff2b" + "sha256": "fe69e95184d0ed3fded5d59807f23408a722aabf0af9b5f2b6a6e6659e75b759", + "size": 10400, + "normalized_sha256": "fe69e95184d0ed3fded5d59807f23408a722aabf0af9b5f2b6a6e6659e75b759" }, "README_ZH.md": { "role": "index", - "sha256": "b65f5f21b16e1385d380377d26177d4cc828dc709bc74e5464b02659800df182", - "size": 9738, - "normalized_sha256": "b65f5f21b16e1385d380377d26177d4cc828dc709bc74e5464b02659800df182" + "sha256": "6a22ecc0e3a8bbffa342d05cae54dd09aff5dc70f4a30ee8d76e79488511a167", + "size": 9739, + "normalized_sha256": "6a22ecc0e3a8bbffa342d05cae54dd09aff5dc70f4a30ee8d76e79488511a167" }, "SECURITY.md": { "role": "index", @@ -773,9 +773,9 @@ }, "aoci.code.txt": { "role": "index", - "sha256": "a8c909897c9fd56baac348d81d13888fe6a67cface1601909d50041cacd43ff7", - "size": 638265, - "normalized_sha256": "a8c909897c9fd56baac348d81d13888fe6a67cface1601909d50041cacd43ff7" + "sha256": "461b6c2b30b8b731582f35723ea78c3cda71f8687e651c6aabb4b95324dc711a", + "size": 638342, + "normalized_sha256": "461b6c2b30b8b731582f35723ea78c3cda71f8687e651c6aabb4b95324dc711a" }, "aoci.meta.txt": { "role": "index", @@ -924,9 +924,9 @@ }, "docs/installation.md": { "role": "index", - "sha256": "668b1ce5ee5c9b96cd2a5384f82bf059a26e9a2b6b6d95d565254e0421606bc5", - "size": 13733, - "normalized_sha256": "668b1ce5ee5c9b96cd2a5384f82bf059a26e9a2b6b6d95d565254e0421606bc5" + "sha256": "87ccff10faf12c4682aaf58f51f493cea66696109213d8b166a5f3b2919a2f8d", + "size": 13735, + "normalized_sha256": "87ccff10faf12c4682aaf58f51f493cea66696109213d8b166a5f3b2919a2f8d" }, "docs/maintainers.md": { "role": "index", @@ -1140,9 +1140,9 @@ }, "package.json": { "role": "index", - "sha256": "36e566e563cb4071ef3200a5eaa07e8796189ef01d236e8cfc1d149e562230ff", - "size": 3910, - "normalized_sha256": "36e566e563cb4071ef3200a5eaa07e8796189ef01d236e8cfc1d149e562230ff" + "sha256": "d2029d72dd16bbe09e7634248aa9cf1d1ee8e36fe941e2c740f0eecfc494b04c", + "size": 3412, + "normalized_sha256": "d2029d72dd16bbe09e7634248aa9cf1d1ee8e36fe941e2c740f0eecfc494b04c" }, "packages/agent-core/package.json": { "role": "index", @@ -31280,15 +31280,15 @@ }, "pnpm-lock.yaml": { "role": "observe", - "sha256": "191de049eae2276a8742a8673e423c524051e932f555c5b30ba79de44683ce1a", + "sha256": "0f18b7c807876024dcd5f3dc734ffeaac2f313550657eb3dd3302dd63cf8884f", "size": 325615, - "normalized_sha256": "191de049eae2276a8742a8673e423c524051e932f555c5b30ba79de44683ce1a" + "normalized_sha256": "0f18b7c807876024dcd5f3dc734ffeaac2f313550657eb3dd3302dd63cf8884f" }, "pnpm-workspace.yaml": { "role": "index", - "sha256": "7aee9e0cf42db40701270cfffdecec2f2dfa7dd41c657879c365fa4f3a0379f4", - "size": 1131, - "normalized_sha256": "7aee9e0cf42db40701270cfffdecec2f2dfa7dd41c657879c365fa4f3a0379f4" + "sha256": "fd103bbe6e1724be5a358d277bdd51d69805b3f5db41546e65a22bb8a1b4de6c", + "size": 1577, + "normalized_sha256": "fd103bbe6e1724be5a358d277bdd51d69805b3f5db41546e65a22bb8a1b4de6c" }, "release/dependency-licenses.json": { "role": "index", diff --git a/.github/workflows/update-visual-baselines.yml b/.github/workflows/update-visual-baselines.yml index 6410f95e..d10309d1 100644 --- a/.github/workflows/update-visual-baselines.yml +++ b/.github/workflows/update-visual-baselines.yml @@ -37,7 +37,7 @@ jobs: persist-credentials: true - uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 with: - version: 9.12.0 + version: 10.34.9 - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: "24" diff --git a/.github/workflows/webui-ci.yml b/.github/workflows/webui-ci.yml index 1a9c2495..f10787d7 100644 --- a/.github/workflows/webui-ci.yml +++ b/.github/workflows/webui-ci.yml @@ -48,7 +48,7 @@ jobs: fi - uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 with: - version: 9.12.0 + version: 10.34.9 - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: "24" diff --git a/.npmrc b/.npmrc index 3d4e2c0f..214c29d1 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ registry=https://registry.npmjs.org/ -node-linker=hoisted diff --git a/README.md b/README.md index 78c34f39..dd63c099 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Plugins and Mini Apps can depend on platform capabilities, additional setup, or ## Build from source -You need Git, a supported Node.js version, and **pnpm 9.12.0**. On Windows, keep the checkout on a local NTFS volume outside cloud-synced folders. +You need Git, a supported Node.js version, and **pnpm 10.34.9**. On Windows, keep the checkout on a local NTFS volume outside cloud-synced folders. ```bash git clone https://github.com/mcode-webui/minimax-code.git diff --git a/README_ZH.md b/README_ZH.md index d60cebcb..b2b6e9d2 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -135,7 +135,7 @@ npm uninstall --global @minimax-webui/minimax-code ## 从源码构建 -需要 Git、支持的 Node.js 版本以及 **pnpm 9.12.0**。Windows 上请把仓库放在本地 NTFS 卷中,并避开云同步目录。 +需要 Git、支持的 Node.js 版本以及 **pnpm 10.34.9**。Windows 上请把仓库放在本地 NTFS 卷中,并避开云同步目录。 ```bash git clone https://github.com/mcode-webui/minimax-code.git diff --git a/aoci.code.txt b/aoci.code.txt index bd7ab875..c6acfa09 100644 --- a/aoci.code.txt +++ b/aoci.code.txt @@ -11,13 +11,13 @@ CONTRIBUTING.md[SG4S]: F:Defines contributor eligibility, review workflow, verif LICENSE[SG4T]: F:Grants the MIT license for MiniMax Code. | R:- | A:- | S:- LICENSE-STATUS.md[SG4T]: F:Records license coverage and third-party exceptions for the published source. | R:- | A:- | S:- NOTICE[SG4T]: F:Records MiniMax Code copyright and distribution notices. | R:- | A:- | S:- -README.md[SG4S]: F:Introduces MiniMax Code and explains installation, source builds from main, account or model setup, and supported workflows. | R:- | A:- | S:- -README_ZH.md[SG4S]: F:Explains MiniMax Code installation, source builds from main, sign-in, model configuration and usage in Chinese. | R:- | A:- | S:- +README.md[SG4S]: F:Introduces MiniMax Code installation, source builds and usage. | R:code:package.json | A:- | S:Source builds require pnpm 10.34.9. +README_ZH.md[SG4S]: F:Documents MiniMax Code installation, builds and usage in Chinese. | R:code:package.json | A:- | S:Source builds require pnpm 10.34.9. SECURITY.md[SG4T]: F:Defines security reporting and source, account, and managed-service boundaries. | R:- | A:- | S:- THIRD_PARTY_NOTICES.md[SG4T]: F:Preserves third-party license and attribution notices, including AI Node Canvas. | R:- | A:- | S:- -package.json[FV5T]: F:Declares workspace dependencies and root scripts for builds, releases, and verification. | R:- | A:- | S:- +package.json[FV5T]: F:Declares root scripts, dependency versions and the pnpm version for the distribution. | R:code:pnpm-workspace.yaml | A:- | S:Workspace install policy lives in pnpm-workspace.yaml. playwright.config.mjs[FQ4T]: F:Configures WebUI browser gates, fixture server, font environment and output directories. | R:code:packages/webui/test/browser/server.mjs | A:- | S:The Windows workaround replaces the pinned disabled-features switch to retain Playwright defaults. -pnpm-workspace.yaml[SE4T]: F:Declares pnpm workspace package roots. | R:- | A:- | S:- +pnpm-workspace.yaml[FV4T]: F:Declares workspace members, hoisted linking, dependency overrides and build script policy. | R:code:package.json | A:- | S:Uses pnpm 10 allowBuilds for native install scripts. tsconfig.node.json[SE4T]: F:Configures TypeScript for Node-side code. | R:- | A:- | S:- tsconfig.standalone.json[SE4L]: F:Configures standalone TypeScript checking and workspace path aliases. | R:- | A:- | S:- vitest.oss.config.mjs[SE4T]: F:Configures the public distribution Vitest environment and module resolution. | R:- | A:- | S:- @@ -110,7 +110,7 @@ webui-npm-preview.yml[FV4S]: F:Defines legacy npm preview package verification f ===//.github/workflows/=== webui-ci.yml[FV4S]: F:Runs independent WebUI checks, unit and integration tests, browser shards, and package jobs on three operating systems. | R:code:package.json,code:playwright.config.mjs,code:.github/workflows/update-visual-baselines.yml | A:- | S:macOS uses windowed Chromium. Linux skips recommended FFmpeg packages and allows a longer install for slow mirrors. Diagnostics isolate platform, lane and attempt. -update-visual-baselines.yml[FV4S]: F:Re-records the per-platform Playwright visual baselines of the named WebUI browser specs on the three CI runners and commits each runner's own pixels. | R:code:.github/workflows/webui-ci.yml | A:- | S:The refresh selects the browser mode the CI compares with — windowed Chromium on macOS — in a step of its own, because a step cannot read back the environment file it writes. +update-visual-baselines.yml[FV4S]: F:Regenerates WebUI Playwright visual baselines on three native CI runners. | R:code:.github/workflows/webui-ci.yml,code:package.json | A:- | S:Select windowed Chromium on macOS before the test step. The installer uses pnpm 10.34.9. ===//.plan/browser-use/board/=== .notes-numbers[FV4T]: F:Records the tracker link for the Browser Use notes board. | R:- | A:- | S:- @@ -197,7 +197,7 @@ architecture.md[SG4T]: F:Explains package boundaries and integration among clien demo.md[SG4T]: F:Walks through a recorded product demo that turns a request into a verified code change. | R:- | A:- | S:- examples.md[SG4M]: F:Provides practical examples for editing code, running tests, and using a custom model. | R:- | A:- | S:- hooks.md[SG4T]: F:Specifies how hook messages reach the TUI and model context, including event limits. | R:- | A:- | S:- -installation.md[SG4S]: F:Documents checksum-verified release archive installation and source builds. | R:- | A:- | S:- +installation.md[SG4S]: F:Documents checksum-verified archive installation and source builds. | R:code:package.json | A:- | S:Source builds require pnpm 10.34.9. maintainers.md[SG4T]: F:Defines maintainer responsibilities, issue triage, and release and review ownership. | R:- | A:- | S:- open-source-status.md[SG4T]: F:Records the public source release baseline, supported scope, and evidence boundaries. | R:- | A:- | S:- performance-ci.md[SG4S]: F:Defines performance CI profiles, suite selection, and required comparison evidence. | R:- | A:- | S:- diff --git a/docs/installation.md b/docs/installation.md index eaa64b2a..99337660 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -39,7 +39,7 @@ For npm, use the command in the README: it explicitly selects the public registr This guide builds the 0.6.3 source preview. Workspace/local build manifests remain `private: true` to prevent accidental publishing. A source checkout may contain additional reviewed distribution changes; matching version strings alone do not establish byte-for-byte or build-provenance equivalence with the official npm tarball. Use the committed source revision and release receipt to identify a source build. -For a source build, you need Git, Node.js 22.19+ (22.x), 24.2+ (24.x), 25, or 26, and pnpm 9.12.0. Regular CI uses Node.js 24 across Linux and macOS. The weekly and manual compatibility matrix covers Node.js 22.19.0, 24.2.0, 25, and 26 on both platforms. Windows CI and source-candidate validation are temporarily paused while their checks are made reliable. Initial installation and build require access to public npm. +For a source build, you need Git, Node.js 22.19+ (22.x), 24.2+ (24.x), 25, or 26, and pnpm 10.34.9. Regular CI uses Node.js 24 across Linux and macOS. The weekly and manual compatibility matrix covers Node.js 22.19.0, 24.2.0, 25, and 26 on both platforms. Windows CI and source-candidate validation are temporarily paused while their checks are made reliable. Initial installation and build require access to public npm. On Windows, check out this repository on a local NTFS volume before running `pnpm install`. The repository uses pnpm workspace links for vendored packages, and those links require NTFS junctions. FAT32/exFAT volumes, network shares, and other non-local Windows volumes cannot create the required junctions. The preflight command below verifies the volume and stops with a clear message before pnpm creates workspace links; run it immediately before `pnpm install`. It queries structured volume properties through Windows PowerShell and CIM, without requiring an elevated shell or parsing localized `fsutil` output. If PowerShell or CIM is unavailable or blocked, verification fails with the query error. A local NTFS volume can still contain a cloud-synced folder, which the preflight cannot identify reliably; keep the checkout outside OneDrive, Google Drive, Dropbox, and similar synced folders. @@ -49,7 +49,7 @@ Node 24.0 and 24.1 are unsupported: their bundled libuv can return inconsistent git clone https://github.com/MiniMax-AI/minimax-code.git cd minimax-code corepack enable -corepack prepare pnpm@9.12.0 --activate +corepack prepare pnpm@10.34.9 --activate node scripts/check-windows-source-location.mjs pnpm install --frozen-lockfile pnpm build diff --git a/package.json b/package.json index 08b098b7..1363fe73 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "description": "Standalone MiniMax Code TUI with managed accounts, BYOK models, cloud tools, plugins and ACP.", - "packageManager": "pnpm@9.12.0", + "packageManager": "pnpm@10.34.9", "engines": { "node": ">=22.19 <23 || >=24.2 <27" }, @@ -71,24 +71,5 @@ "vitest": "4.1.11", "yaml": "2.9.0" }, - "pnpm": { - "onlyBuiltDependencies": [ - "better-sqlite3", - "esbuild", - "node-pty" - ], - "overrides": { - "react": "18.3.1", - "react-dom": "18.3.1", - "@modelcontextprotocol/sdk>@hono/node-server": "2.0.12", - "minimatch@>=10.2.5>brace-expansion": "5.0.9", - "ajv>fast-uri": "3.1.6", - "express-rate-limit>ip-address": "10.4.0", - "vitest": "4.1.11", - "@vitest/coverage-v8": "4.1.11", - "vite": "7.3.6", - "hono": "4.13.5" - } - }, "license": "MIT" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 438c1998..91df089d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -632,10 +632,6 @@ importers: zod: specifier: ^3 version: 3.25.76 - optionalDependencies: - '@larksuiteoapi/node-sdk': - specifier: ^1.60.0 - version: 1.73.3 devDependencies: '@types/js-yaml': specifier: ^4 @@ -658,6 +654,10 @@ importers: vitest: specifier: 4.1.11 version: 4.1.11(@opentelemetry/api@1.9.0)(@types/node@20.19.43)(@vitest/coverage-v8@4.1.11)(vite@7.3.6(@types/node@20.19.43)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) + optionalDependencies: + '@larksuiteoapi/node-sdk': + specifier: ^1.60.0 + version: 1.73.3 packages/local-runtime-v2: dependencies: @@ -886,10 +886,6 @@ importers: ws: specifier: ^8.20.0 version: 8.21.3 - optionalDependencies: - '@mariozechner/clipboard': - specifier: 0.3.9 - version: 0.3.9 devDependencies: '@earendil-works/pi-ai': specifier: workspace:* @@ -918,6 +914,10 @@ importers: vitest: specifier: 4.1.11 version: 4.1.11(@opentelemetry/api@1.9.0)(@types/node@20.19.43)(@vitest/coverage-v8@4.1.11)(vite@7.3.6(@types/node@20.19.43)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.1)) + optionalDependencies: + '@mariozechner/clipboard': + specifier: 0.3.9 + version: 0.3.9 packages/webui: dependencies: @@ -1167,10 +1167,6 @@ importers: yaml: specifier: 2.9.0 version: 2.9.0 - optionalDependencies: - '@mariozechner/clipboard': - specifier: 0.3.9 - version: 0.3.9 devDependencies: '@types/cross-spawn': specifier: 6.0.6 @@ -1199,6 +1195,10 @@ importers: vitest: specifier: 4.1.11 version: 4.1.11(@opentelemetry/api@1.9.0)(@types/node@24.12.4)(@vitest/coverage-v8@4.1.11)(vite@7.3.6(@types/node@24.12.4)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.0)) + optionalDependencies: + '@mariozechner/clipboard': + specifier: 0.3.9 + version: 0.3.9 third_party/pi-mono/packages/tui: dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d5fa7ce1..b02f4680 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -32,3 +32,25 @@ packages: - packages/oauth-core - packages/oauth-lease-protocol - packages/mcode-tools-host + +nodeLinker: hoisted + +allowBuilds: + '@google/genai': false + better-sqlite3: true + canvas: false + esbuild: true + node-pty: true + protobufjs: false + +overrides: + react: 18.3.1 + react-dom: 18.3.1 + '@modelcontextprotocol/sdk>@hono/node-server': 2.0.12 + 'minimatch@>=10.2.5>brace-expansion': 5.0.9 + 'ajv>fast-uri': 3.1.6 + 'express-rate-limit>ip-address': 10.4.0 + vitest: 4.1.11 + '@vitest/coverage-v8': 4.1.11 + vite: 7.3.6 + hono: 4.13.5