- Remove backward-compatible aliases (TextBlock, ThinkingBlock, ToolCallBlock) and extractTextFromEvent from SDK — unused after prior refactors - Add explicit ContentBlock doc comment explaining the wider union tradeoff - Scope endStream tool interruption to the same agentId (prevents cross-agent interference in multi-agent scenarios) - Handle tool_execution_update event (no-op for now, avoids unhandled case) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
@multica/store
Zustand state management for Multica apps.
Usage
// From barrel
import { useHubStore, useMessagesStore, useGatewayStore } from '@multica/store'
// Per-file subpath import
import { useGatewayStore } from '@multica/store/gateway'
import { useHubStore } from '@multica/store/hub'
import { useMessagesStore } from '@multica/store/messages'
import { useHubInit } from '@multica/store/hub-init'
import { useDeviceId } from '@multica/store/device-id'