New settings page #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'd like a settings page, accessible through a little gear icon in the upper right.
Initial settings:
Any other settings I'm not thinking of.
Shipped as the OpenSpec change
settings-page(archived asopenspec/changes/archive/2026-09-14-settings-page/). It adds a new main spec,settings, and updatesagent-delegation. Commit0a7e6a9.A ⚙ at the upper right of the header opens
#/settingson every screen and at every width.What you can set
opencode.jsongets"apiKey": "{file:<path>}", which opencode resolves (checked withopencode debug config)./modelsand turns the ids it lists into one-click model choices./metricsis only scraped when the kind is vLLM.reader/explore/testimplementation steps may use, and how many at once. 0 turns delegation off: nothing in the task permission, and no delegation policy in the prompt.OSF_RUN_CAP.When a change applies
runs/<id>/settings.json), including across an osfd restart.How it's stored: each save is one
human.settingsevent on the log with the complete saved map, so every change is audited. Anything never saved falls back to the old env var or constant, so an install that never opens the page behaves exactly as before. Saves are all-or-nothing, with a message per invalid field.Tested
nullforgets, the key never echoed, Test connection against a live/models).e2e/settings.spec.tsagainst the fake osfd, 7 tests: gear from the runs list, a run and a phone; Save disabled until a change; a change surviving a reload; an out-of-range context saving nothing; the ladder hint; Test connection; the thinking default ticking the checkbox. Full Playwright suite: 33 passed, 3 skipped for live osfd.opencode.jsonhad the saved model, URL and onlytestas a subagent. After I saved a different model and restarted again, that run kept its original model and roster.Not included: settings for a separate inference gate process (when
OSF_GATE_URLis set the page says so), approval levels, and notifications. Those stay in the environment.