opencode/packages
Aiden Cline 93cc5e8dff refactor(opencode): model truncation limits as Option
Replace the `{ enabled: boolean; maxLines: number; maxBytes: number }`
shape with `Option<{ maxLines: number; maxBytes: number }>` so the absence
of limits is represented by the type system instead of a boolean flag with
dead numeric fields.

- Truncate.limits() now returns Effect<Option<Limits>>.
- Truncate.output() short-circuits on None instead of checking .enabled.
- shell tool gates rolling buffer, disk spill, and tail truncation on
  Option.isSome(limits); behavior unchanged when truncation is enabled.
- ShellPrompt.render and helpers accept Option<Limits>; the truncation
  guidance line is omitted when None.
- Tests updated to assert Option.isSome / Option.isNone.
2026-05-24 23:06:06 -05:00
..
app sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
console sync 2026-05-23 10:27:07 -04:00
containers chore: Upgrade Bun to the final non-rust version (#27648) 2026-05-18 09:24:26 +10:00
core chore(opencode): bump amazon bedrock provider (#29052) 2026-05-23 21:06:00 -05:00
desktop fix(desktop): avoid white flash when restoring window (#28247) 2026-05-23 14:42:40 +10:00
docs
effect-drizzle-sqlite sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
enterprise sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
extensions/zed sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
function sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
http-recorder sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
identity
llm chore: generate 2026-05-24 01:08:00 +00:00
opencode refactor(opencode): model truncation limits as Option 2026-05-24 23:06:06 -05:00
plugin sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
script refactor: replace bun semver with npm semver package 2026-03-09 15:29:55 -04:00
sdk merge origin/dev into issue-13770-tool-output-docs 2026-05-23 21:23:36 -05:00
slack sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
storybook Remove unused app ID schema (#27105) 2026-05-12 13:09:23 -04:00
ui sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
web merge origin/dev into issue-13770-tool-output-docs 2026-05-23 21:23:36 -05:00