Repository navigation
Conversation
AdhereZ
marked this pull request as ready for review
October 23, 2026 10:18
Docs-Impact: update plugin metadata version and author.
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.
改动概述 / Summary
新增独立可安装的
plugins/adherez/wechat-miniprogram-preview/(0.5.0-rc.1),并在根目录中英文作品列表登记。This package previews existing native WeChat Mini Programs and Mini Games inside the same MiniMax Code Mini App, rather than generating a replacement HTML application.Public-package preparation
Validation
npm run check: passed (repository validator plus 69 tests, zero errors).pnpm install --frozen-lockfile --ignore-scriptsandpnpm run build: passed; regenerated vendor bundles were byte-identical to the supplied bundles.node scripts/package.mjs ...: passed; isolated staged imports, Mini Program compilation, Canvas2D/WebGL demo compilation and basic program jsdom startup passed. LICENSE and both READMEs included; no source/test/dependency folders in the install ZIP.git diff --check: passed. Public-content scan found no user-specific paths/session IDs, private keys or token literals.Validator warnings
The new package has six
ENTRY_STDOUTwarnings, all from the source fixtures underminiapp/node/demo*/(game entry files, Mini Program app entry and three page entries). They are read/compiled as project data and executed inside the sandboxed browser preview. Their console messages are intentionally captured by the preview log bridge; they are never imported/executed as Host Node entry code. The actual Node entry usescontext.loggerand does not write to Host stdout. Keeping these logs demonstrates runtime diagnostics. Existing warnings on other contributors' packages are unchanged and out of scope.Tested environment and remaining evidence
Data and risk boundaries
Node reads only explicit project/source/resource paths and its own package; it does not modify projects or spawn processes. Durable state is stored only under opaque
context.dataDir. No Host credentials/history/database paths are read. The page declares no agentAccess and initiates no Agent turns. The surrounding chat can use the managed MCP endpoint.Node has no outbound network traffic. Project-authored HTTPS image URLs can contact arbitrary image hosts; this is disclosed, not described as a fully offline or hostile-code-safe sandbox.
wx.requestis unsupported and the iframe usesconnect-src 'none'. Application logs may contain project text. Takeover/discard/close remain explicitly confirmed actions; saved Storage does not preserve in-memory page stacks across restarts.Need help on this PR? Tag
@codesmith-botwith what you need.Branding update (9449c0b)
wechat-miniprogram-preview,不改变现有安装和数据身份。docs/assets.md, both READMEs and LICENSE disclose provenance, the rights boundary and no affiliation/endorsement. Attribution does not grant permission. Please confirm applicable permission or substitute a properly licensed icon before merging; keep this PR Draft.npm run check(69 repository tests; same six demo-console warnings), six focused HTTP/shell tests, and staging/package checks. It was not reinstalled into the contributor's live desktop profile.