2025-12-21 19:07:46 +05:30
|
|
|
/**
|
|
|
|
|
* Tool UI Components
|
|
|
|
|
*
|
|
|
|
|
* This module exports custom UI components for assistant tools.
|
|
|
|
|
* These components are registered with assistant-ui to render
|
|
|
|
|
* rich UI when specific tools are called by the agent.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-12-23 01:16:25 -08:00
|
|
|
export {
|
|
|
|
|
Article,
|
|
|
|
|
ArticleErrorBoundary,
|
|
|
|
|
ArticleLoading,
|
|
|
|
|
type ArticleProps,
|
|
|
|
|
ArticleSkeleton,
|
|
|
|
|
parseSerializableArticle,
|
|
|
|
|
type SerializableArticle,
|
|
|
|
|
} from "./article";
|
2025-12-21 19:07:46 +05:30
|
|
|
export { Audio } from "./audio";
|
2025-12-22 22:54:22 +05:30
|
|
|
export {
|
2025-12-23 01:16:25 -08:00
|
|
|
type DeepAgentThinkingArgs,
|
|
|
|
|
type DeepAgentThinkingResult,
|
|
|
|
|
DeepAgentThinkingToolUI,
|
|
|
|
|
InlineThinkingDisplay,
|
|
|
|
|
type ThinkingStep,
|
2025-12-22 22:54:22 +05:30
|
|
|
} from "./deepagent-thinking";
|
2025-12-23 00:58:27 +05:30
|
|
|
export {
|
2025-12-23 01:16:25 -08:00
|
|
|
type DisplayImageArgs,
|
2025-12-27 13:44:23 -08:00
|
|
|
DisplayImageArgsSchema,
|
2025-12-23 01:16:25 -08:00
|
|
|
type DisplayImageResult,
|
2025-12-27 13:44:23 -08:00
|
|
|
DisplayImageResultSchema,
|
2025-12-23 01:16:25 -08:00
|
|
|
DisplayImageToolUI,
|
|
|
|
|
} from "./display-image";
|
|
|
|
|
export { GeneratePodcastToolUI } from "./generate-podcast";
|
2025-12-23 01:11:56 +05:30
|
|
|
export {
|
2025-12-23 01:16:25 -08:00
|
|
|
Image,
|
|
|
|
|
ImageErrorBoundary,
|
|
|
|
|
ImageLoading,
|
|
|
|
|
type ImageProps,
|
|
|
|
|
ImageSkeleton,
|
|
|
|
|
parseSerializableImage,
|
|
|
|
|
type SerializableImage,
|
2025-12-23 01:11:56 +05:30
|
|
|
} from "./image";
|
|
|
|
|
export {
|
2025-12-23 01:16:25 -08:00
|
|
|
type LinkPreviewArgs,
|
2025-12-27 13:44:23 -08:00
|
|
|
LinkPreviewArgsSchema,
|
2025-12-23 01:16:25 -08:00
|
|
|
type LinkPreviewResult,
|
2025-12-27 13:44:23 -08:00
|
|
|
LinkPreviewResultSchema,
|
2025-12-23 01:16:25 -08:00
|
|
|
LinkPreviewToolUI,
|
|
|
|
|
type MultiLinkPreviewArgs,
|
2025-12-27 13:44:23 -08:00
|
|
|
MultiLinkPreviewArgsSchema,
|
2025-12-23 01:16:25 -08:00
|
|
|
type MultiLinkPreviewResult,
|
2025-12-27 13:44:23 -08:00
|
|
|
MultiLinkPreviewResultSchema,
|
2025-12-23 01:16:25 -08:00
|
|
|
MultiLinkPreviewToolUI,
|
|
|
|
|
} from "./link-preview";
|
2025-12-23 01:49:29 +05:30
|
|
|
export {
|
2025-12-23 01:16:25 -08:00
|
|
|
MediaCard,
|
|
|
|
|
MediaCardErrorBoundary,
|
|
|
|
|
MediaCardLoading,
|
|
|
|
|
type MediaCardProps,
|
|
|
|
|
MediaCardSkeleton,
|
|
|
|
|
parseSerializableMediaCard,
|
|
|
|
|
type SerializableMediaCard,
|
|
|
|
|
} from "./media-card";
|
2025-12-26 14:37:23 +05:30
|
|
|
export {
|
|
|
|
|
Plan,
|
|
|
|
|
PlanErrorBoundary,
|
|
|
|
|
type PlanProps,
|
2025-12-27 13:44:23 -08:00
|
|
|
type PlanTodo,
|
2025-12-26 14:37:23 +05:30
|
|
|
parseSerializablePlan,
|
|
|
|
|
type SerializablePlan,
|
|
|
|
|
type TodoStatus,
|
|
|
|
|
} from "./plan";
|
2025-12-27 13:44:23 -08:00
|
|
|
export {
|
|
|
|
|
type ScrapeWebpageArgs,
|
|
|
|
|
ScrapeWebpageArgsSchema,
|
|
|
|
|
type ScrapeWebpageResult,
|
|
|
|
|
ScrapeWebpageResultSchema,
|
|
|
|
|
ScrapeWebpageToolUI,
|
|
|
|
|
} from "./scrape-webpage";
|
2026-01-20 15:04:07 -08:00
|
|
|
export {
|
|
|
|
|
type MemoryItem,
|
|
|
|
|
type RecallMemoryArgs,
|
|
|
|
|
RecallMemoryArgsSchema,
|
|
|
|
|
type RecallMemoryResult,
|
|
|
|
|
RecallMemoryResultSchema,
|
|
|
|
|
RecallMemoryToolUI,
|
|
|
|
|
type SaveMemoryArgs,
|
|
|
|
|
SaveMemoryArgsSchema,
|
|
|
|
|
type SaveMemoryResult,
|
|
|
|
|
SaveMemoryResultSchema,
|
|
|
|
|
SaveMemoryToolUI,
|
|
|
|
|
} from "./user-memory";
|
2025-12-27 13:44:23 -08:00
|
|
|
export { type WriteTodosData, WriteTodosSchema, WriteTodosToolUI } from "./write-todos";
|
feat(crypto): add SurfSense 2.0 Crypto Co-Pilot UI components
Frontend - Web Dashboard:
- Add crypto dashboard page with Watchlist, Alerts, Market, Profile tabs
- Add 11 tool-ui components for inline chat display
- Add crypto components (ChainIcon, SafetyBadge, PriceDisplay, etc.)
- Add modals (AddTokenModal, CreateAlertModal)
- Add mock data for development
Frontend - Browser Extension:
- Add shared components (ChainIcon, RiskBadge, PriceDisplay, SuggestionCard)
- Add crypto components (SafetyScoreDisplay, WatchlistPanel, AlertConfigModal)
- Add chat enhancements (WelcomeScreen, ThinkingStepsDisplay)
- Add widget components for inline display
- Enhance TokenInfoCard, ChatHeader, ChatInput, ChatInterface
Documentation:
- Add conversational UX specification
- Add UX analysis report
- Update extension UX design
This implements the Conversational UX paradigm where crypto features
are AI-callable tools that render inline in the chat interface.
2026-02-04 02:19:57 +07:00
|
|
|
|
|
|
|
|
// Crypto Tool UI Components - Conversational Crypto Advisor
|
|
|
|
|
export {
|
|
|
|
|
// Token Analysis
|
|
|
|
|
TokenAnalysisToolUI,
|
|
|
|
|
TokenAnalysisArgsSchema,
|
|
|
|
|
TokenAnalysisResultSchema,
|
|
|
|
|
type TokenAnalysisArgs,
|
|
|
|
|
type TokenAnalysisResult,
|
|
|
|
|
// Watchlist Display
|
|
|
|
|
WatchlistDisplayToolUI,
|
|
|
|
|
WatchlistDisplayArgsSchema,
|
|
|
|
|
WatchlistDisplayResultSchema,
|
|
|
|
|
type WatchlistDisplayArgs,
|
|
|
|
|
type WatchlistDisplayResult,
|
|
|
|
|
// Action Confirmation
|
|
|
|
|
ActionConfirmationToolUI,
|
|
|
|
|
ActionConfirmationArgsSchema,
|
|
|
|
|
ActionConfirmationResultSchema,
|
|
|
|
|
type ActionConfirmationArgs,
|
|
|
|
|
type ActionConfirmationResult,
|
|
|
|
|
// Alert Configuration
|
|
|
|
|
AlertConfigurationToolUI,
|
|
|
|
|
AlertConfigurationArgsSchema,
|
|
|
|
|
AlertConfigurationResultSchema,
|
|
|
|
|
type AlertConfigurationArgs,
|
|
|
|
|
type AlertConfigurationResult,
|
|
|
|
|
// Proactive Alert
|
|
|
|
|
ProactiveAlertToolUI,
|
|
|
|
|
ProactiveAlertArgsSchema,
|
|
|
|
|
ProactiveAlertResultSchema,
|
|
|
|
|
type ProactiveAlertArgs,
|
|
|
|
|
type ProactiveAlertResult,
|
|
|
|
|
} from "./crypto";
|