Commit graph

3 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
64cbff3f68 fix(agent): refuse an opencode switch that is neither 1 nor 0
With opencode on by default, any SURFSENSE_LOCAL_OPENCODE_ENABLED other than
"1" turned it off: "true", "yes", and the empty string an unset CI variable
gives all built an installer without the agent, and stage.mjs blamed "=0" as
it removed the stage. Now unset or empty keeps the default, 1 and 0 decide,
and anything else stops the build. The off message prints the value it read.
2026-10-07 13:31:46 -07:00
DESKTOP-RTLN3BA\$punk
799a683296 feat(agent): ship opencode in every installer
Every model may now choose the agent, so every build stages opencode and
ripgrep: ENABLED_BY_DEFAULT is true, and SURFSENSE_LOCAL_OPENCODE_ENABLED=0
leaves them out of one build. The docs that said installers carry no agent now
say they do, and packaging.md records the Windows stage's size (185 MB
unpacked, 44 MB as xz) and that electron-builder signs opencode and rg with the
app's inherited entitlements, whose allow-jit Bun needs.
2026-10-07 13:09:12 -07:00
CREDO23
df22622907 feat(agent): keep opencode off until a model passes the agent test 2026-10-03 07:40:31 +02:00