Repository navigation
feat: provider CA trust, model-alias preservation, default-selection fix (2.4.1:2) - #3
Conversation
|
#2 and our follow-up #4 (the Default-toggle, default-order and key-reference fixes from helix's last review) are both on |
c2cab66 to
8e10ca3
Compare
- Configure Provider CA action: import, replace or clear one public PEM CA. OpenCode receives it through NODE_EXTRA_CA_CERTS from a read-only mount at a fixed path; the reactive read restarts the daemon when the certificate changes. The certificate lives on the startos volume and is backed up. - Configure Model Providers: an existing model's display name and upstream modelID are kept when its provider is saved again, and more than one Default is rejected before either file is written.
8e10ca3 to
0cb704f
Compare
|
Rebased onto
Re-ran the box test against |
MattDHill
left a comment
There was a problem hiding this comment.
Approving 0cb704f. We tested it on our box as an update over the released 2.4.1:1. The update was clean and an aliased model survived a re-save. A private key and a leaf certificate were refused. A real CA mounted read-only with NODE_EXTRA_CA_CERTS set, and clearing it removed both. Health stayed green throughout. Thanks for the quick rebase. We'll update the README's quick-reference block for the CA action ourselves in a small follow-up.
Summary
Ships OpenCode 2.4.1:2 on top of the community audit and Configure Model Providers work (rebased onto
masterat34f31ca).startosvolume, is mounted read-only at a fixed path, and is handed to OpenCode throughNODE_EXTRA_CA_CERTS; because the mount is driven by a reactive.const()read, replacing the certificate re-runssetupMainand restarts the daemon. It is included in the service backup.modelID, displayname, and any other stored keys are preserved (e.g.deepseek -> deepseek-ai/DeepSeek-V4.1-Flash).modelfield; two defaults are rejected before anything is written.2.4.1:1shipped with an empty migration, so this is an in-place bump:current.tskeeps itsmigrationsblock andindex.tsis unchanged, with nov2_4_1_1.ts.Testing
Built in CI (
2.4.1:2, gitHash0cb704f) and installed on a StartOS 0.4.2 box (x86_64):2.4.1:1preserved an existing chat and aliased provider.deepseek-ai/DeepSeek-V4.1-Flash); re-saving the form keeps the storednameandmodelIDeven when the on-disk config is hand-written JSONC.UNABLE_TO_GET_ISSUER_CERT_LOCALLY); restore → succeeds again. Replacing the certificate restarts the daemon (thesetupMainre-run is visible in the service log).modelfield; two defaults are rejected with no write to either file.Prebuilt packages: https://github.com/jonbotx/opencode-startos/releases/tag/s9pk-2.4.1-2