mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 18:40:29 +00:00
Renamed SessionEntry to SessionMessage for clearer, more intuitive API terminology that better represents the message-based nature of session interactions. Exposed 22 new session lifecycle event types in the JavaScript SDK including prompted, step started/ended, text/reasoning/tool deltas, tool calls with progress tracking, retries, and compaction events. This enables SDK consumers to build real-time UIs that accurately reflect agent session state as it evolves, providing users with visibility into thinking steps, tool execution, and retries. |
||
|---|---|---|
| .. | ||
| example | ||
| script | ||
| src | ||
| package.json | ||
| sst-env.d.ts | ||
| tsconfig.json | ||