Add Prompt Rules and Model Router plugins - #73
Merged
luispater merged 1 commit intoAug 12, 2026
Conversation
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.
What
Register two native CLIProxyAPI plugins:
Both
v0.2.1releases register dedicated configuration pages in CPA's Plugins frontend, with typed editors and parser-backed validation. The pages reuse CPAMC's persisted authenticated session, load automatically, and follow CPAMC's selected light, white, or dark theme; a key fallback appears only when no usable key is persisted.This PR changes only
registry.jsonand omits the legacyversionfield so CPA resolves the latest published release.Release evidence
Prompt Rules
v0.2.1checksums.txtprompt-rules_0.2.0_darwin_amd64.zipprompt-rules_0.2.0_darwin_arm64.zipprompt-rules_0.2.0_linux_amd64.zipprompt-rules_0.2.0_linux_arm64.zipprompt-rules_0.2.0_windows_amd64.zipModel Router
v0.2.1checksums.txtmodel-router_0.2.0_darwin_amd64.zipmodel-router_0.2.0_darwin_arm64.zipmodel-router_0.2.0_linux_amd64.zipmodel-router_0.2.0_linux_arm64.zipmodel-router_0.2.0_windows_amd64.zipBoth releases are public, non-draft, and non-prerelease. I verified that each checksum manifest has one SHA-256 entry per archive, each downloaded archive matches its checksum, and each zip contains exactly one correctly named dynamic library at its root.
Validation
jq empty registry.jsongo test ./internal/pluginstoreinrouter-for-me/CLIProxyAPI0.2.1metadatav0.2.1releases