Releases: wangzexi/opencode
Releases · wangzexi/opencode
zexi electron build 20260606-0941 ca02599
zexi-electron-20260606-0941-ca02599 fix: adapt fork changes after upstream rebase
zexi electron build 20260518-0315 c03656b
fix: capture EffectBridge in Schedule timer + UI polish
- Schedule.Service: cron callback now runs the tick effect via an
EffectBridge captured during create(). Without this the cron fires from
a setTimeout context that has no InstanceRef, so bus.publish (which goes
through InstanceState) dies with "InstanceRef not provided" and the
schedule never injects its message.
- Hydrate-on-startup is dropped for now (annotated TODO): we don't yet
know how to recover the per-project instance context for each row after
a sidecar restart, so schedules don't survive the process for now.
- UI: fix i18n placeholders to {{count}} (double braces, what the i18n
helper expects), and switch popover text classes from non-existent
text-10-strong/text-11-regular/text-13-strong to the real
text-12-medium/text-12-regular/text-14-medium utilities.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
zexi electron build 20260518-0253 4cfe1ca
fix: flatten schedule tool parameters to a single object schema Some providers (e.g. DeepSeek) reject discriminated-union tool parameters with "schema must be a JSON Schema of 'type: \"object\"', got 'type: null'". Replace the union of CreateAction/DeleteAction/ListAction with one Struct that has `action` plus optional `expression`/`message`/`id` fields, then validate required combinations at runtime and return an actionable error back to the model when fields are missing. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>