Repository navigation
Conversation
|
This pull request can't be merged yet. The directory picker does not match what the README says, and the UI has no way to type a path. In "Using it" (lines 46 to 50), the README says the picker lists project directories under the distro home and under The discovery script in
The page only has Please make discovery match the documented "contains these files" behavior and a useful search depth, or update the README and let the user enter a path that the list missed. Ordinary file-based projects need to be selectable either way. |
Run the MiniMax Code agent inside a WSL distro and watch every turn stream in as a chat. You pick a distro and a working directory, and the app starts a real
mcode exec --output-format stream-jsoninside that distro, rendering the agent's messages, reasoning, tool calls and token usage as they arrive. It can also install the CLI into the distro and start the sign-in flow for you.Tested environment
surface.window, so it needs MiniMax Code 3.1.2 or later.What was tested
run_code,bash) into the transcript, with token count, duration and model in the footer.Not verified
wsl.exedoes not exist.Check results
npm run validatereportsplugins/jeisux92/minimax-in-wsl: OK— 0 errors, 0 warnings. This package contributes no remaining warnings; every warning printed by the run belongs to another author's package.npm run checkrunsvalidatefollowed by the repository test suite. On this Windows machine the suite reports 111 pass, 2 fail, 2 skipped. The two failures arefiles: a symlink inside the package is an errorandfiles: a package root that is itself a symlink is rejected before walking; both fail withEPERM: operation not permitted, symlinkwhile creating a symlink inside the Windows temp directory, which needs a privilege this account does not hold. I confirmed they fail identically on the untouched base commit, with these changes stashed away, and they exercise theplugins/tester/hello-miniappfixture in a temp directory, so they are pre-existing and unrelated to this package. On a host that can create symlinks they are expected to pass.Access declared
The package declares no
permissionsat all: it runs no Host Agent turns, reads no conversations, calls no connector or MCP tools, and uses no microphone, camera, notifications, Host navigation or file-extension handlers, so the plugin details show no switchable grants.Everything the app does touch stays inside the distro and is listed in the package README under
## Data & access: the CLI's own config and sign-in-state files (only thestatusfield is read, never the tokens), directory names below the distro home and/mnt/c/Users/*, aconversation.jsonin the Mini App's own data directory, and temporary files under/tmpthat are removed when a run ends. The Mini App's own process makes no outbound request; all network access is made by the CLI and by the official installer inside the distro (account.minimax.io, the MiniMax API endpoints,filecdn.minimax.chat,nodejs.organdregistry.npmjs.org).Written by MiniMax-M3.1-Flash
Package
plugins/jeisux92/minimax-in-wsl/— plugin IDminimax-in-wsl, display name "MiniMax in WSL", categoryCode. The directory name matches thenamein.minimax-plugin/plugin.json, and the ID is not used by any other package in the repository.The package is self-contained: no build step, no dependencies beyond the Node.js runtime the Client already provides, and no files outside the package directory.
How it works
wsl.mjswrapswsl.exe. Its output is UTF-16LE on this host, so the reader decodes it instead of treating the NUL bytes as text.bash -s -- <token>, so user text never reaches a command line and cannot alter the command.mcode.mjsorchestrates the CLI: the status probe, the workspace discovery, the npm health check, the official installer,mcode login --region <region> --no-browser, and themcode execruns. The stream-json contract was read from the published@minimax-ai/code-sdksource rather than guessed.server.mjsserves the client over the assigned loopback port and exposes the status, workspace, conversation, install, login, run and cancel routes. The cancel route tracks the run's process group.setsid, so it leads its own process group. A cancel signals that whole group, which is why a stopped turn does not leave a tool running in the background.--mcode-*CSS variables, light and dark themes, and no framework.Root README tables
One row at the top of the MiniApp table in each root README:
README.md:[MiniMax in WSL](plugins/jeisux92/minimax-in-wsl/) | Run the MiniMax Code agent inside WSL: pick a distro and a working directory, then watch every turn stream in as a chat with tool calls, token usage and a working Stop button | [jeisux92](https://github.com/jeisux92)README.zh-CN.md: the same row with the sentence in Chinese.Sensitive-information review
Every text file in the package was read and scanned for credentials, private endpoints, personal data and real business data. The matches that turned up are all false positives and were kept: internal run identifiers, OAuth field names, and the
/mnt/c/Users/*path pattern that the workspace picker searches. There are no API keys, tokens, passwords, private keys, e-mail addresses, phone numbers, real names, absolute local paths, real session records, logs or screenshots in the package. The only personal identifier is the GitHub handlejeisux92, used in theauthorfield and the MIT copyright line.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.