[PR #7342] refactor: session settings simplification #12358

Closed
opened 2026-02-16 18:17:16 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7342

State: closed
Merged: Yes


This PR refactors the session settings to use kv.signal instead of wrapped kv.get calls, eliminating the need for manual kv.set calls.

I also fixed a small kv.signal bug by checking only for undefined; previously, any falsy value would cause the key to reset to its default.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7342 **State:** closed **Merged:** Yes --- This PR refactors the session settings to use `kv.signal` instead of wrapped `kv.get` calls, eliminating the need for manual `kv.set` calls. I also fixed a small kv.signal bug by checking only for undefined; previously, any falsy value would cause the key to reset to its default.
yindo added the pull-request label 2026-02-16 18:17:16 -05:00
yindo closed this issue 2026-02-16 18:17:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12358