Files
fusion/packages/dashboard/src/index.ts
Fusion 6bfad343b0 feat(FN-2327): standardize dashboard runtime logging pipeline
- Add a shared runtime logger contract and dashboard runtime logger implementation for structured diagnostics
- Route dashboard CLI/runtime logs through the TUI sink and replace ad-hoc console diagnostics in server paths
- Update CLI and dashboard tests to assert structured runtime logging behavior across sync and error flows
- Document the structured logging architecture updates and include a changeset for @runfusion/fusion
2026-04-23 13:48:45 -07:00

41 lines
1.4 KiB
TypeScript

export { createServer, loadTlsCredentialsFromEnv, type ServerOptions } from "./server.js";
export {
createRuntimeLogger,
getRuntimeLogSink,
resetRuntimeLogSink,
setRuntimeLogSink,
type RuntimeLogContext,
type RuntimeLogger,
type RuntimeLogLevel,
type RuntimeLogSink,
} from "./runtime-logger.js";
export { createSkillsAdapter, getProjectSettingsPath, type SkillsAdapter, type DiscoveredSkill, type CatalogEntry, type CatalogFetchResult, type ToggleSkillResult, type UpstreamError, type UpstreamErrorCode, type SkillContent, type SkillFileEntry } from "./skills-adapter.js";
export { GitHubClient, isPrMergeReady, type PrMergeStatus, type PrCheckStatus, type ReviewDecision, type MergePrParams, type FindPrParams } from "./github.js";
export { rateLimit, RATE_LIMITS, type RateLimitOptions } from "./rate-limit.js";
export { GitHubPollingService, type GitHubPollingServiceOptions, type TaskWatchInput, type WatchedBadgeType } from "./github-poll.js";
export {
ApiError,
type ApiErrorResponse,
type SendErrorOptions,
sendErrorResponse,
catchHandler,
badRequest,
unauthorized,
notFound,
conflict,
rateLimited,
internalError,
} from "./api-error.js";
export {
type BadgePubSub,
type BadgePubSubEvents,
type BadgePubSubMessage,
type BadgePubSubFactory,
type BadgePubSubFactoryOptions,
InMemoryBadgePubSub,
RedisBadgePubSub,
createBadgePubSub,
} from "./badge-pubsub.js";
export * from "./plugins/index.js";