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 60f60b6
Browse filesBrowse the repository at this point in the historyBrowse files
* feat(management): web-search sidecar write gate and filtered option lists (#2188)
web-search-sidecar-options.ts is the one policy module both writing
routes share: PUT /api/sidecar-settings and the claude-code webSearch
override now refuse a model outside (runnable candidates ∪ auth slots),
naming the filter and attaching the allowed list. GET always carries
webSearchModels — [] means none; omission is reserved for older servers
so the dashboard's legacy fallback stays correct. The persisted model is
display-grandfathered like vision. The dashboard picker consumes the
server list instead of expanding the full openai+anthropic union.
* fix(management): echo webSearchModels on PUT and prove the HTTP contract
The dashboard rebuilds sidecar state from the PUT body; an omitted key
reads as old-server and falls back to the full union — exactly the
regression the gate exists to prevent. PUT now echoes the same helper
as GET. allowedModels lists the always-legal auth slots. The
claude-management known-good snapshot uses a slot id so its later
assertions run against real persisted state. HTTP tests cover
GET-always-present, PUT reject/accept/echo, and empty-string clear.
* test(sidecar): repin test 14 to the new web-search membership gate
* test(vision): use an auth-slot web-search id so the round-trip survives the gate
* fix(sidecar): bind web-search options to runnable backend pairs
Carry backend/model provenance on every server option and preserve it through the dashboard picker, including auth-slot rows absent from the ordinary model catalog.
Validate the effective explicit pair on both sidecar-settings and Claude override PUT paths, including partial updates, while retaining empty clears, grandfathered display rows, and PUT option echo.
Evidence: 50-pass four-suite management/sidecar gate; 9-pass GUI option regression; root tsc, GUI lint, and GUI production build green.
0 commit comments