Repository navigation
Conversation
…equester or approver A request router plugin reads every setting of a request from the connection config an admin saved, or a routing rule's. A host had no way to know that one of those settings, such as a quality profile or a root folder, could instead be chosen per request, so the choice could only be made by the admin in advance. RequestRouterDescriptor.requester_options lists the config fields that may be chosen per request. Each names a select with dynamic_options, an optional media type and label, and a chooser_field: a select in the same form in which an admin says per server who chooses (admin, requester or approver). The host offers the values ListConfigOptions returns, checks the pick against them and passes it as that key of RouterConnection.config, so the plugin's RPCs do not change. Manifest validation checks the declaration against the admin form. Hosts that predate the field drop it and never offer the choice. AI disclosure: written with Claude Fable 5.2 in Claude Code. go test ./... and go vet pass locally. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 11, 2026
… scope the compatibility note A requester option's pick is a ConfigOption value, which is a string. A select may sit on a numeric json_schema property, and setting the pick there would change the type the plugin reads. Manifest validation now refuses a requester option whose field is not a string property. The compatibility note said older hosts ignore the field. That holds for loading a manifest, which every SDK version does leniently. It now also names the two stricter paths: Silo's read of a bare binary's manifest, and stored capability metadata on an SDK older than v0.13.1. AI disclosure: written with Claude Fable 5.2 in Claude Code. go vet and go test pass locally; pkg/pluginproto was regenerated with buf. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Problem
Related issue: Silo-Community/silo-plugins-requests-seerr#10
That issue is filed against the Seerr plugin, but the fix spans several repos: this SDK contract, silo-server and the plugin. There is no SDK issue yet; CONTRIBUTING asks for one before a protobuf change, so one may be needed.
A request router plugin reads every setting of a request from the connection config an admin saved, or from a routing rule. A host cannot tell that one of those settings, such as a quality profile or a root folder, could be chosen per request. Today only the admin can choose, and only in advance. Someone with one download server that serves several uses cannot say which profile or folder a title should get, even though the requester or the approving admin knows.
Approach
RequestRouterDescriptor.requester_optionslists the config fields that may be chosen per request. Each entry names:field: a select withdynamic_options, the setting being chosen;chooser_field: a select in the same admin form where the admin says, per server, who chooses (admin,requesterorapprover).The host offers the values
ListConfigOptionsreturns, checks the pick against them and passes it as that key ofRouterConnection.config. The plugin's RPCs do not change.chooser_fieldis a select rather than a boolean so one setting can be left to the admin, the requester or the approver without another field. Manifest validation checks thatfieldis a select withdynamic_optionsand thatchooser_fieldis a static select offering only those three values.Validation
Not run:
buf generate(no diff check) and anything outside this repo. The host side is grtn91/silo-server#1; the first plugin to declare options is grtn91/silo-plugins-requests-seerr#1.Risks
docs/compatibility.md.Checklist
AI Disclosure
🤖 Generated with Claude Code