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.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export { Audio } from "./audio";
|
2026-03-31 14:45:46 -07:00
|
|
|
export { CreateDropboxFileToolUI, DeleteDropboxFileToolUI } from "./dropbox";
|
2026-03-24 16:28:11 +05:30
|
|
|
export {
|
|
|
|
|
type GenerateImageArgs,
|
|
|
|
|
GenerateImageArgsSchema,
|
|
|
|
|
type GenerateImageResult,
|
|
|
|
|
GenerateImageResultSchema,
|
|
|
|
|
GenerateImageToolUI,
|
|
|
|
|
} from "./generate-image";
|
2025-12-23 01:16:25 -08:00
|
|
|
export { GeneratePodcastToolUI } from "./generate-podcast";
|
2026-02-11 17:55:52 +05:30
|
|
|
export { GenerateReportToolUI } from "./generate-report";
|
2026-02-24 13:18:39 +02:00
|
|
|
export { CreateGoogleDriveFileToolUI, DeleteGoogleDriveFileToolUI } from "./google-drive";
|
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";
|
2026-02-18 20:25:51 +02:00
|
|
|
export {
|
|
|
|
|
CreateLinearIssueToolUI,
|
|
|
|
|
DeleteLinearIssueToolUI,
|
|
|
|
|
UpdateLinearIssueToolUI,
|
|
|
|
|
} from "./linear";
|
|
|
|
|
export { CreateNotionPageToolUI, DeleteNotionPageToolUI, UpdateNotionPageToolUI } from "./notion";
|
2026-03-30 01:50:41 +05:30
|
|
|
export { CreateOneDriveFileToolUI, DeleteOneDriveFileToolUI } from "./onedrive";
|
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";
|
2026-02-25 01:50:28 -08:00
|
|
|
export {
|
|
|
|
|
type ExecuteArgs,
|
|
|
|
|
ExecuteArgsSchema,
|
|
|
|
|
type ExecuteResult,
|
|
|
|
|
ExecuteResultSchema,
|
|
|
|
|
SandboxExecuteToolUI,
|
|
|
|
|
} from "./sandbox-execute";
|
2026-01-20 15:04:07 -08:00
|
|
|
export {
|
2026-04-09 00:02:54 +05:30
|
|
|
type UpdateMemoryArgs,
|
|
|
|
|
UpdateMemoryArgsSchema,
|
|
|
|
|
type UpdateMemoryResult,
|
|
|
|
|
UpdateMemoryResultSchema,
|
|
|
|
|
UpdateMemoryToolUI,
|
2026-01-20 15:04:07 -08:00
|
|
|
} from "./user-memory";
|
2026-03-25 00:27:24 +05:30
|
|
|
export { GenerateVideoPresentationToolUI } from "./video-presentation";
|
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";
|