Streamed tool-call JSON can deliver `_i` as an object, number, or boolean before schema validation lands. The optional-chain in #updateWorkingMessageFromIntent only guarded null/undefined, so any non-string value crashed the UI with 'intent?.trim is not a function'. Accept `unknown` and bail unless typeof intent === 'string', mirroring the typed guard in agent-loop's extractIntent. Drop the misleading `as string | undefined` cast at the streaming call site. Fixes #900
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: