multica/packages/core/src/index.ts
Naiyuan Qing eb4e1f57b1 feat(desktop): persist onboarding state to file system
- Add AppState module in core for managing app state persistence
- Add app-state IPC handlers for reading/writing onboarding state
- Hydrate onboarding state from file system on app startup
- Prevent flash by showing blank screen during hydration
- Update onboarding store to sync with file system
- Improve MulticaIcon with enhanced animation states
- Minor UI fixes in chat and device list components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-12 10:53:04 +08:00

61 lines
1.5 KiB
TypeScript

/**
* @multica/core - Core package
*
* Contains: Agent, Hub, Channels, Cron, Heartbeat, Media, Client
*/
// Re-export from submodules
export * from './agent/index.js'
export * from './hub/index.js'
export * from './channels/index.js'
export * from './cron/index.js'
export * from './heartbeat/index.js'
export * from './media/index.js'
export * from './app-state.js'
// Client exports (selective to avoid conflicts with agent/events)
export {
GatewayClient,
type ConnectionState,
type RoutedMessage,
type SendErrorResponse,
HelloAction,
HelloResponseAction,
RequestAction,
ResponseAction,
StreamAction,
ExecApprovalRequestAction,
type HelloPayload,
type HelloResponsePayload,
type RequestPayload,
type ResponsePayload,
type ResponseSuccessPayload,
type ResponseErrorPayload,
type StreamPayload,
type ExecApprovalRequestPayload,
type ApprovalDecision,
isResponseSuccess,
isResponseError,
type AgentMessageItem,
DEFAULT_MESSAGES_LIMIT,
type GetAgentMessagesParams,
type GetAgentMessagesResult,
type GetHubInfoResult,
type ListAgentsResult,
type CreateAgentParams,
type CreateAgentResult,
type DeleteAgentParams,
type DeleteAgentResult,
type UpdateGatewayParams,
type UpdateGatewayResult,
type VerifyParams,
type VerifyResult,
type ResolveExecApprovalParams,
type ResolveExecApprovalResult,
type ContentBlock,
type TextContent,
type ThinkingContent,
type ToolCall,
type ImageContent,
extractThinkingFromEvent,
} from './client/index.js'