manifest: recognize the available_models config key - #311
Open
jmm-ant wants to merge 2 commits into
Open
Conversation
Adds available_models to the KEYS validator (comma-separated ids or JSON
array of ids / {id,label} objects, mirroring the add-in's parser) and
documents it in manifest.md and bootstrap.md. Replaces the retired
disabled_models/additional_models pair from anthropics#294: available_models is a
single override list, so admins state the full picker rather than diffs.
No-Verification-Needed: exercised build-manifest.mjs directly against valid and invalid inputs
mihilmy
previously approved these changes
Aug 7, 2026
No-Verification-Needed: version bump only
jmm-ant
enabled auto-merge (squash)
August 7, 2026 20:26
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
Adds
available_modelsto the install plugin'sKEYSvalidator inbuild-manifest.mjs, and documents it incommands/manifest.md(org-wide manifest layer) andcommands/bootstrap.md(per-user layer).Why
The add-in now reads a single
available_modelsoverride for the model picker (anthropics/office-agent#2354, merged 2026-08-05), replacing the retireddisabled_models/additional_modelspair that #294 targeted before it closed. Without this entry the build script throwsunknown keyand admins cannot deliver the key at all.Format
Comma-separated model ids, or JSON — an array of ids and/or
{id, label}objects (lone object = single-entry shorthand). Mirrors the add-in'sparseModelIdEntries: validator warns where the runtime would silently drop an entry, and hard-fails only on invalid JSON.Tested
Ran
build-manifest.mjsdirectly: comma and JSON forms build and URL-encode into the manifest; a{label}-only entry warnsmissing string "id"; malformed JSON fails with the parse error.