Add Model Panel script (maintained fork of Model Deck) - #78
Open
MyJackCat wants to merge 2 commits into
Open
Conversation
Add model-panel script
Updated multiple script entries in index.json, including version changes and new scripts.
There was a problem hiding this comment.
Pull request overview
Adds Model Panel v0.1.0, a maintained fork of the existing Model Deck userscript, to restore compatibility with Codex++’s updated official model menu structure (notably the “Effort” rename and removed standalone Speed row).
Changes:
- Introduces
scripts/model-panel.js(Model Panel v0.1.0) implementing updated menu parsing and model/reasoning/fast selection UI. - Registers the new script in
index.jsonwith metadata, URL, and SHA-256.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scripts/model-panel.js | New userscript implementing the updated Model Panel fork for Codex++ model menu changes. |
| index.json | Adds the new model-panel marketplace entry (metadata + SHA). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+246
to
+249
| "id": "model-panel", | ||
| "name": "Model Panel", | ||
| "description": "Model Deck 的维护分支:适配新版 Codex++ 的 Effort 菜单命名,悬停官方模型按钮打开模型矩阵,支持用户置顶与全局预设。", | ||
| "version": "0.1.0", |
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.
Add Model Panel, a maintained fork of the existing
model-deckscript.The original
model-deckhas not been updated and now throws"官方模型菜单结构不可用" on the official model menu after the Codex++
26.819.11345 upgrade (the reasoning row was renamed to "Effort").
Model Panel v0.1.0 fixes that by recognizing the new
Effortprefix andhandling the removed standalone Speed row, while staying compatible with
earlier versions. Build artifact is
scripts/model-panel.jswith amatching SHA-256 in
index.json.Homepage: https://github.com/MyJackCat/model-panel