Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLog·
𝙊𝙥𝙚𝙣𝘾𝙤𝙙𝙚 v1.15.5 released. TL;DR: native LLM runtime preview • virtualized session timelines • reliable event/SSE delivery • CLI/TUI resume + polish 𝗖𝗼𝗿𝗲 & 𝗟𝗟𝗠 • Added a preview native LLM runtime behind OPENCODE_EXPERIMENTAL_NATIVE_LLM. ▸ OpenAI/opencode API-key models can route through @opencode-ai/llm; unsupported cases fall back to the AI SDK path. ▸ The stream pipeline now normalizes AI SDK/native events into one internal LLM event shape, including richer usage + provider metadata handling. • Session processing now handles the unified event stream for text, reasoning, tool input, provider-executed tools, step usage, and errors. 𝗘𝘃𝗲𝗻𝘁𝘀, 𝗦𝘆𝗻𝗰 & 𝗪𝗼𝗿𝗸𝘀𝗽𝗮𝗰𝗲𝘀 • Fixed a bus subscription race by acquiring PubSub subscriptions eagerly. ▸ This closes a concrete /event SSE loss window where publishes could happen before lazy stream consumption began. • Sync publishing now runs through EffectBridge so forked bus/global events keep the right instance/workspace context. • v2 session listing now sorts/cursors by updated time, which makes desktop/session lists reflect recently active sessions correctly. 𝗪𝗲𝗯 / 𝗗𝗲𝘀𝗸𝘁𝗼𝗽 𝗨𝗜 • Session timeline rendering was reworked around virtualized rows and reusable timeline data. ▸ Large histories should mount faster, preserve scroll state better, and keep bottom anchoring stable while active tool/text rows resize. • Added OpenCode Go/free-limit usage dialogs in the app, with persisted “don’t show again” behavior. • Desktop now grants renderer notification permission and fixes update install flow to check/install the latest available update instead of relying on stale downloaded-version state. • UI fixes: clipboard copy fallback via execCommand, reasoning parts tolerate undefined text, question dock overflow is scrollable, and PWA theme-color tracks light/dark mode. 𝗖𝗟𝗜 / 𝗧𝗨𝗜 • opencode run --interactive can replay visible session history on resume via --replay and --replay-limit. ▸ The stream transport buffers live events during bootstrap so replayed history and new events don’t race each other. • TUI added syntax highlighting support for Elixir, F#, R, Make, Vim, XML, and Agda. • TUI polish/fixes: pasted prompt content is copied correctly, paste layout refreshes after large paste, long tool output collapses by terminal-aware line/char limits, paste summary badge contrast improves, and dialog prompt submit now uses the keybind system. 𝗥𝗲𝗳𝗲𝗿𝗲𝗻𝗰𝗲𝘀, 𝗣𝗹𝘂𝗴𝗶𝗻𝘀 & 𝗧𝗼𝗼𝗹𝘀 • Reference config normalization moved into a typed path with alias validation and clearer invalid-reference states. • Repository cloning/cache is now a service with typed cache/clone/fetch/checkout errors; repo_clone uses the shared cache path. • Session prompt internals were split into prompt reminders, reference prompt helpers, and tool resolution without changing the high-level loop behavior. • Plugin tool context ask now exposes a Promise-returning API, matching JS plugin expectations instead of leaking Effect into plugin tools. • models.dev loading moved away from a huge generated snapshot module toward cache/fetch plus optional build-global snapshot injection. Bundle size change macOS arm64 • Total: 101.7 MB -> 102.2 MB (+560.7 KB) • Bun runtime: 60.4 MB -> 60.8 MB (+384.7 KB) • CLI/TUI JS: 14.7 MB -> 14.8 MB (+152.7 KB) • Web UI assets: 16.6 MB -> 16.6 MB (+23.8 KB) • Native addons: 2.4 MB -> 2.4 MB (+48 B) • WASM: 7.5 MB -> 7.5 MB (no change) • Bundle metadata: 81.9 KB -> 81.4 KB (-588 B) Linux x64 • Total: 143.9 MB -> 137.2 MB (-6.8 MB) • Bun runtime: 96.2 MB -> 89.3 MB (-6.9 MB) • CLI/TUI JS: 14.7 MB -> 14.8 MB (+152.7 KB) • Web UI assets: 16.6 MB -> 16.6 MB (+23.8 KB) • Native addons: 8.9 MB -> 8.9 MB (+2.0 KB) • WASM: 7.5 MB -> 7.5 MB (no change) • Bundle metadata: 70.3 KB -> 68.2 KB (-2.1 KB) Windows x64 • Total: 153.1 MB -> 135.0 MB (-18.1 MB) • Bun runtime: 111.5 MB -> 93.2 MB (-18.3 MB) • CLI/TUI JS: 14.7 MB -> 14.8 MB (+152.7 KB) • Web UI assets: 16.6 MB -> 16.6 MB (+23.8 KB) • Native addons: 2.7 MB -> 2.7 MB (+1.0 KB) • WASM: 7.5 MB -> 7.5 MB (no change) • Bundle metadata: 68.2 KB -> 68.2 KB (no change) Compare: github.com/anomalyco/open…
English
1
1
37
2.5K
크롱
크롱@Krongggggg·
@OpenCodeLog 런타임 내재화로 가네. 결국 외부 API 치는 비용이랑 가용성 리스크 줄이겠다는 건데, 실험실 밖으로 나왔을 때 로컬 자원 얼마나 갉아먹을지가 관건일 듯.
한국어
0
0
0
94
Paylaş