multica/packages/sdk
Naiyuan Qing 1819f4196d fix(sdk): add AgentErrorEvent to StreamPayload type
StreamPayload.event was missing the agent_error event type, causing
TypeScript errors in useGatewayChat and useLocalChat where the
comparison payload.event.type === "agent_error" had no type overlap.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:04:13 +08:00
..
src fix(sdk): add AgentErrorEvent to StreamPayload type 2026-02-09 08:04:13 +08:00
package.json refactor(sdk): unify message types with pi-ai source of truth 2026-02-04 17:13:01 +08:00
tsconfig.json fix(sdk): point exports to source and remove .js import suffixes 2026-02-02 16:58:23 +08:00