picocode-core 0.9.139 → 0.9.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/derive.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picocode-core",
3
- "version": "0.9.139",
3
+ "version": "0.9.140",
4
4
  "description": "The agent runtime behind pico: sessions, tools, subagents, MCP, memory, and model access",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/derive.js CHANGED
@@ -203,7 +203,7 @@ export function deriveState(events) {
203
203
  break
204
204
  case 'turn_transcript':
205
205
  for (const item of event.data.items || []) {
206
- const restored = { ...item, eventId: event.id }
206
+ const restored = { ...item, eventId: event.id, at: item.at ?? event.at ?? null }
207
207
  state.transcript.push(restored)
208
208
  if (restored.kind === 'tool' && restored.callId) state.toolItems.set(restored.callId, restored)
209
209
  }