Files
freya/packages/freya-core/src/index.ts

85 lines
2.1 KiB
TypeScript
Raw Normal View History

// Context
2026-06-20 16:07:12 +01:00
export type { ContextEntry, ContextKey, ContextKeyPart } from "./context";
export { Context, contextKey, serializeKey } from "./context";
// Actions
2026-06-20 16:07:12 +01:00
export type { ActionDefinition } from "./action";
export { UnknownActionError } from "./action";
// Conversation
export {
2026-06-20 16:07:12 +01:00
AssistantMessagePayload,
AttachmentPayload,
AttachmentType,
ContextSummary,
ContextSummaryPayload,
ConversationEntryKind,
ConversationEntryMetadata,
ConversationEntryVisibility,
GenericObjectPayload,
JsonMessagePart,
MessagePart,
ModelRunMetadata,
TextMessagePart,
UserMessagePayload,
ConversationEntryPayload,
} from "./conversation";
// Feed
2026-06-20 16:07:12 +01:00
export type {
FeedItem,
FeedItemRenderer,
FeedItemSignals,
RenderedFeedItem,
Slot,
} from "./feed";
export { TimeRelevance } from "./feed";
// Feed Source
2026-06-20 16:07:12 +01:00
export type { FeedSource } from "./feed-source";
// Feed Post-Processor
2026-06-20 16:07:12 +01:00
export type {
FeedEnhancement,
FeedPostProcessor,
ItemGroup,
} from "./feed-post-processor";
// Feed Engine
2026-06-20 16:07:12 +01:00
export type {
FeedEngineConfig,
FeedResult,
FeedSubscriber,
SourceError,
} from "./feed-engine";
export { FeedEngine } from "./feed-engine";
// =============================================================================
// DEPRECATED - Use FeedSource + FeedEngine instead
// =============================================================================
// Data Source (deprecated - use FeedSource)
2026-06-20 16:07:12 +01:00
export type { DataSource } from "./data-source";
// Context Provider (deprecated - use FeedSource)
2026-06-20 16:07:12 +01:00
export type { ContextProvider } from "./context-provider";
// Context Bridge (deprecated - use FeedEngine)
2026-06-20 16:07:12 +01:00
export type { ProviderError, RefreshResult } from "./context-bridge";
export { ContextBridge } from "./context-bridge";
// Reconciler (deprecated - use FeedEngine)
export type {
2026-06-20 16:07:12 +01:00
ReconcileResult,
ReconcilerConfig,
SourceError as ReconcilerSourceError,
} from "./reconciler";
export { Reconciler } from "./reconciler";
// Feed Controller (deprecated - use FeedEngine)
export type {
2026-06-20 16:07:12 +01:00
FeedControllerConfig,
FeedSubscriber as FeedControllerSubscriber,
} from "./feed-controller";
export { FeedController } from "./feed-controller";