You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8ced9d8
Browse filesBrowse the repository at this point in the historyBrowse files
feat: sync the Mini App contract with MiniMax Code 3.1.11 (#105)
* feat(check): validate the MiniMax Code 3.1.11 Mini App contract
- deviceAccess accepts "camera" and "notifications" (minimum 3.1.9);
hostAccess accepts only ["navigation.read"] (minimum 3.1.11, held in
NEXT_RELEASE so a late renumbering is one line).
- Minimums are the first release with installers for both macOS and
Windows: 3.1.5 shipped none, so session.read, toolAccess, deviceAccess,
engines, and the browser-permission gate move to 3.1.6; 3.1.8 shipped
no Windows installer, so camera and notifications start at 3.1.9.
- ACCESS_UNDECLARED reads the getUserMedia constraints (audio, video, or
either when not a literal), covers Notification, and reports
host.navigation reads without hostAccess. Browser permissions are one
diagnostic per file naming every missing device.
- apps references must exist and hold { schemaVersion: 1, provider }
with unique providers (MANIFEST_APP_INVALID); MANIFEST_APPS_IGNORED is
gone because clients from 3.1.9 read them.
- README version mentions rank a pre-release below its release.
* docs: publish the MiniMax Code 3.1.11 Mini App contract
- Camera and system notifications through deviceAccess (3.1.9), the
miniapp.host page API and hostAccess (3.1.11), local apps references,
and modeChangeReloadsPage on pop-out.
- Lifecycle: from 3.1.11 the service limit depends on memory, and the
Host reclaims only when the user opens a Mini App past the limit or
the system is short of memory; no idle timeout or keep-alive. Authors
persist as they go and finish dispose() within 2 s.
- Every 3.1.5 minimum becomes 3.1.6, because 3.1.5 shipped no
installers; AGENTS.md now says how to check a release on the CDN.
- The root READMEs explain why GitHub import of this repository fails.
- Sync the example's client-api.ts from the 3.1.11 creator skill.
Assisted-by: Claude Opus 5.5 (OpenCode)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ We welcome tools, games, and other interesting apps you have built for MiniMax C
6
6
7
7
1. Fork this repository and add your complete plugin package under `plugins/<your-github-username>/<plugin-id>/`. Use a lowercase GitHub username for the author directory.
8
8
2. Start from `examples/hello-miniapp/`. Include the hidden `.minimax-plugin/` directory, `package.json`, `miniapp/`, and all required runtime assets. The plugin must work when copied on its own, without depending on other directories in this repository. The exact rules are in `docs/package-contract.md`, `docs/runtime.md`, `docs/client.md`, `docs/agent.md`, `docs/tool.md`, and `docs/security.md`.
9
-
3. Add a short English `README.md`. You may also include `README.zh-CN.md` with links between the two versions. Explain what the app does, how to install and use it, tested client versions and operating systems, required configuration, file access, network requests, any Agent turns it runs, conversations it reads, tools it calls, and microphoneuse. Screenshots or GIFs are welcome. Declare in `miniapp/miniapp.json` exactly the access the code uses; `npm run check` reports calls without a declaration. If the app uses a feature that needs a newer client, such as `agentAccess`, `toolAccess`, `deviceAccess`, or `surface.window`, name a MiniMax Code version at or above its minimum under `## Tested environment` (see "Minimum client version" in `docs/package-contract.md`).
9
+
3. Add a short English `README.md`. You may also include `README.zh-CN.md` with links between the two versions. Explain what the app does, how to install and use it, tested client versions and operating systems, required configuration, file access, network requests, any Agent turns it runs, conversations it reads, tools it calls, microphone, camera, or notification use, and whether it reads which MiniMax Code page you are on. Screenshots or GIFs are welcome. Declare in `miniapp/miniapp.json` exactly the access the code uses; `npm run check` reports calls without a declaration. If the app uses a feature that needs a newer client, such as `agentAccess`, `toolAccess`, `deviceAccess`, `hostAccess`, or `surface.window`, name a MiniMax Code version at or above its minimum under `## Tested environment` (see "Minimum client version" in `docs/package-contract.md`).
10
10
4. Include a `LICENSE` you are entitled to use, and preserve required attribution for third-party code and assets.
11
11
5. Add an entry to the app tables in both root READMEs, run `npm run check` (Node.js 22 or later) until it reports no errors, and open a pull request.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ The preview uses synthetic data. The app interface is currently in Chinese. See
130
130
131
131
### Requirements
132
132
133
-
Use a MiniMax Code desktop version that supports MiniApps. Check the app's README for tested client versions, operating systems, configuration, and known limitations. Compatibility is documented per app. Apps that use newer capabilities need a newer client, and older versions cannot install them: running Agent tasks or opening in their own window needs MiniMax Code 3.1.2 or later; reading your conversations, calling your installed tools, or using the microphone needs 3.1.5 or later. From 3.1.5 you can switch off each permission an app declares, one by one, in its plugin details.
133
+
Use a MiniMax Code desktop version that supports MiniApps. Check the app's README for tested client versions, operating systems, configuration, and known limitations. Compatibility is documented per app. Apps that use newer capabilities need a newer client, and older versions cannot install them: running Agent tasks or opening in their own window needs MiniMax Code 3.1.2 or later; reading your conversations, calling your installed tools, or using the microphone needs 3.1.6 or later; using the camera or showing system notifications needs 3.1.9 or later; following which MiniMax Code page you are on needs 3.1.11 or later. From 3.1.6 you can switch off each permission an app declares, one by one, in its plugin details.
134
134
135
135
### 1. Download
136
136
@@ -163,7 +163,7 @@ The installed manifest must be at:
163
163
164
164
The author directory (`amszuidas/`) only groups contributions in the repository. Copy the plugin directory directly into the client's `plugins/` directory, without that extra author level.
165
165
166
-
These packages use **manual installation**. The client's GitHub plugin import feature does not support these MiniApp packages.
166
+
These packages use **manual installation**. Importing them with the client's GitHub plugin import does not work: the client downloads the whole repository, which is larger than its 128 MiB limit.
0 commit comments