|
| 1 | +# opencode-drive |
| 2 | + |
| 3 | +## 1.4.3 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- 99561ad: Restore controlled tools against the current V2 plugin API and add typed runtime control for write calls. |
| 8 | + |
| 9 | +## 1.4.2 |
| 10 | + |
| 11 | +### Patch Changes |
| 12 | + |
| 13 | +- b524213: Render light box-drawing borders as continuous geometric primitives. |
| 14 | +- a24a09d: Defer recording font initialization so source-checkout scripts can start without loading a duplicate renderer. |
| 15 | + |
| 16 | +## 1.4.1 |
| 17 | + |
| 18 | +### Patch Changes |
| 19 | + |
| 20 | +- 6a8d52b: Prevent concurrent detached launchers from stealing prepared instance ownership and spawning competing daemon processes. |
| 21 | +- d71356f: Restore compatibility with current OpenCode V2 checkouts and packed Drive installations. Drive now uses V2's built-in simulation transport and provider shape, isolates scripted service ports and command forms, and compiles standalone scripts against the launching Drive toolchain without package installation or source-directory links. |
| 22 | + |
| 23 | +## 1.4.0 |
| 24 | + |
| 25 | +### Minor Changes |
| 26 | + |
| 27 | +- c20d147: Control arbitrary provider-backed tool lifecycles with dynamic registration, structured progress, success, failure, cancellation, and reconnect-safe replay. |
| 28 | + |
| 29 | +## 1.3.0 |
| 30 | + |
| 31 | +### Minor Changes |
| 32 | + |
| 33 | +- 7caebeb: Expose semantic UI snapshots, exact semantic node polling, and safe semantic-node clicks for compatible OpenCode endpoints. |
| 34 | + |
| 35 | +## 1.2.0 |
| 36 | + |
| 37 | +### Minor Changes |
| 38 | + |
| 39 | +- 4e0c002: Write screenshots and recordings beneath run- and restart-scoped media directories so named outputs cannot overwrite earlier runs. |
| 40 | + |
| 41 | +## 1.1.0 |
| 42 | + |
| 43 | +### Minor Changes |
| 44 | + |
| 45 | +- fad9f96: Allow scripts and library drivers to intercept declared tools and control concurrent invocations by call ID at runtime. |
| 46 | + |
| 47 | +### Patch Changes |
| 48 | + |
| 49 | +- 63d3464: Keep service and progress output out of visible TUI sessions and avoid reinstalling the OpenTUI preload package for development checkouts. |
| 50 | +- fd45cfe: Allow Drive runs to select a durable OpenCode database with the Effect-configured `OPENCODE_DRIVE_DB` setting while retaining `:memory:` as the default. |
| 51 | +- e66adc1: Preserve recorded frame timing during MP4 encoding and reduce work for dense or unchanged terminal output. |
| 52 | +- e7dff5f: Render diagonal quadrant block glyphs as exact terminal cell geometry in screenshots, recordings, and catalog frames. |
| 53 | +- 63d3464: Export recordings at 60 FPS by default and preserve the requested frame rate in generated MP4 files. |
| 54 | + |
| 55 | +## 1.0.0 |
| 56 | + |
| 57 | +### Major Changes |
| 58 | + |
| 59 | +- 1009394: Remove the Promise-based simulation clients. `SimulationClient`, `BackendSimulationClient`, `connectSimulation`, and `connectBackendSimulation` are gone, along with the `opencode-drive/experimental` entry point. The `opencode-drive/client` entry now exports only the canonical protocol schemas and default ports; the public API is Effect-only, as documented. The CLI drives instances through the Effect `SimulationConnector` directly. |
| 60 | + |
| 61 | +### Minor Changes |
| 62 | + |
| 63 | +- 9deab8d: Add the browser-safe `opencode-drive/frame` entry point: canonical cell geometry, OpenTUI text-attribute bits, the geometric block/bar glyph table, and baseline placement shared by the Drive PNG renderer and downstream canvas renderers. The PNG renderer now also draws the `┃` and `╹` structural bars geometrically instead of with fonts. |
| 64 | + |
| 65 | +### Patch Changes |
| 66 | + |
| 67 | +- 8481090: Settle simulated LLM responses cleanly when OpenCode terminates an invocation during interruption. Drive now uses the negotiated `llm.pending` capability to distinguish external termination from genuine response write failures. |
| 68 | + |
| 69 | +## 0.6.0 |
| 70 | + |
| 71 | +### Minor Changes |
| 72 | + |
| 73 | +- 58c4801: Return simulated background shells immediately, continue their handlers asynchronously, notify the session when they finish, and cancel them when Drive shuts down. |
| 74 | +- b5e8dfe: Make the script API Effect-only. Script setup and run callbacks, UI, LLM, filesystem, server, and TUI operations now return Effects; LLM serve handlers return Streams; and script cancellation uses Effect interruption without a Promise compatibility shim. |
| 75 | +- 775f799: Remove the tool handler `AbortSignal`. Foreground session interruption, transport disconnects, and Drive shutdown now surface uniformly as Effect interruption, and controller shutdown awaits handler finalizers. Detached background shell handlers remain active after launch and are interrupted during Drive shutdown. |
| 76 | +- 8e51796: Add deterministic shell, web fetch, and web search handlers with progress, success, failure, and interruption simulation. |
| 77 | +- 905f846: Add `opencode-drive script init` for generating an Effect-native starter script and show focused migration guidance when `check` finds Promise-style script callbacks. |
| 78 | +- d1bba54: Add first-class tool call input streaming through `Llm.toolCall` stream options. |
| 79 | +- 72f7aff: Expose the authenticated generated OpenCode SDK as `opencode` to drivers and scripts. |
| 80 | +- 37b4cd1: Give capabilities precise typed errors, validate UI predicates in canonical `ui.waitFor`, expose concrete failures through `Errors`, and keep pure response constructors exclusively under `Llm`. |
| 81 | +- 13ec474: Unify the Effect driver and `defineScript` around one canonical programmatic model. Both expose the generated SDK as `opencode`, the primary frontend as `tui`, additional frontends through `tuis`, and the primary UI as `ui`. Every `Tui` has the same `{ ui, close, recording }` shape and `{ recording, viewport }` options. Project setup now uses the shared `Project`, `Setup`, `SetupContext`, and `ProjectFileSystem` types. Remove duplicate script UI types, flattened frontend handles, partial settlement controls, root-level raw simulation exports, convenience CLI aliases, and the `wait` helper. |
| 82 | + |
| 83 | +### Patch Changes |
| 84 | + |
| 85 | +- c8f5b51: Attach one best-effort normalized terminal frame to UI polling timeout errors without retaining screenshot artifacts. |
| 86 | +- c8f5b51: Render OpenCode's full UI symbol set with deterministic bundled fallback fonts instead of platform fonts or hand-drawn symbol exceptions. |
| 87 | +- c8f5b51: Preserve the managed driver's `Scope.Scope` requirement when consumed from TypeScript workspace applications. |
| 88 | +- 40d2241: Render the background completion arrow correctly in exported recordings. |
| 89 | +- 11cbbfd: Preserve the canonical OpenCode UI command shapes for optional named screenshots and key presses. |
0 commit comments