feat(web): configure Prism role preferences and view capacity - #23
Merged
Merged
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
lukemaj
force-pushed
the
feat/21-prism-settings
branch
from
September 25, 2026 18:24
3276ee9 to
0c6ca61
Compare
lukemaj
force-pushed
the
feat/21-prism-settings
branch
from
September 25, 2026 18:33
c7ce678 to
0bef691
Compare
lukemaj
marked this pull request as ready for review
September 25, 2026 18:45
lukemaj
added a commit
that referenced
this pull request
Sep 27, 2026
* wip: add Prism role preferences and capacity settings (#21) * wip: edit easy medium and hard lanes for every Prism role * wip: derive Prism lanes from the exported schema * wip: serialize Prism saves through the settings snapshot * wip: retain Prism save guard across scope navigation
lukemaj
added a commit
that referenced
this pull request
Sep 27, 2026
* wip: add Prism role preferences and capacity settings (#21) * wip: edit easy medium and hard lanes for every Prism role * wip: derive Prism lanes from the exported schema * wip: serialize Prism saves through the settings snapshot * wip: retain Prism save guard across scope navigation
lukemaj
added a commit
that referenced
this pull request
Sep 27, 2026
* wip: add Prism role preferences and capacity settings (#21) * wip: edit easy medium and hard lanes for every Prism role * wip: derive Prism lanes from the exported schema * wip: serialize Prism saves through the settings snapshot * wip: retain Prism save guard across scope navigation
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.
Adds Settings → Prism (Model Router) directly below Providers. Each of the six roles shows easy, medium and hard lanes. Each lane stores an ordered list of enabled provider models and effort: primary first, then fallbacks. The same model can appear at different efforts. No capability tags.
The page uses the existing project/environment scope, preserves other lanes and role-kit fields, displays real provider usage windows and reset times, and links the recent-jobs placeholder to a thread's Agents panel. Saves and reset-to-environment share a guard that survives scope navigation and waits for the refreshed settings snapshot.
Closes #21; settings slice of toolboxmd/model-router#115. Rebased onto
mainafter #22 merged. This PR changes no server or contract files.Validation at
deafe1b0bdbf2741c696c35f3a2b6acd06285dfc:T3CODE_HOMEunder/tmp, separate ports), Playwright bundled Chromium: all 18 lanes, add/remove/reorder, distinct effort entries, independent drafts, save/reload, project override isolation and reset, real provider capacity, and Agents navigation. Zero page errors; narrow web viewport has no horizontal overflow.Upstream edits, recorded in both fork maintenance owners:
apps/web/src/components/settings/SettingsSidebarNav.tsxapps/web/src/components/settings/settingsSearch.tsapps/web/src/routeTree.gen.ts(generated)The route, page, logic, save state and tests are fork-owned files. No public website/SEO change. The fork has no version policy; upstream package versions remain unchanged.
Implemented with GPT-6-Astra in Codex; independently reviewed with GPT-6-Astra high in read-only Codex.