|
@@ -3,6 +3,8 @@ export { type BookConfig, type Platform, type Genre, type BookStatus, BookConfig
|
|
|
export { type ChapterMeta, type ChapterStatus, ChapterMetaSchema, ChapterStatusSchema } from "./models/chapter.js";
|
|
export { type ChapterMeta, type ChapterStatus, ChapterMetaSchema, ChapterStatusSchema } from "./models/chapter.js";
|
|
|
export { type ProjectConfig, type LLMConfig, type NotifyChannel, ProjectConfigSchema, LLMConfigSchema } from "./models/project.js";
|
|
export { type ProjectConfig, type LLMConfig, type NotifyChannel, ProjectConfigSchema, LLMConfigSchema } from "./models/project.js";
|
|
|
export { type CurrentState, type ParticleLedger, type PendingHooks, type PendingHook, type LedgerEntry } from "./models/state.js";
|
|
export { type CurrentState, type ParticleLedger, type PendingHooks, type PendingHook, type LedgerEntry } from "./models/state.js";
|
|
|
|
|
+export { type GenreProfile, type ParsedGenreProfile, GenreProfileSchema, parseGenreProfile } from "./models/genre-profile.js";
|
|
|
|
|
+export { type BookRules, type ParsedBookRules, BookRulesSchema, parseBookRules } from "./models/book-rules.js";
|
|
|
|
|
|
|
|
// LLM
|
|
// LLM
|
|
|
export { createLLMClient, chatCompletion, type LLMResponse, type LLMMessage } from "./llm/provider.js";
|
|
export { createLLMClient, chatCompletion, type LLMResponse, type LLMMessage } from "./llm/provider.js";
|
|
@@ -12,9 +14,11 @@ export { BaseAgent, type AgentContext } from "./agents/base.js";
|
|
|
export { ArchitectAgent, type ArchitectOutput } from "./agents/architect.js";
|
|
export { ArchitectAgent, type ArchitectOutput } from "./agents/architect.js";
|
|
|
export { WriterAgent, type WriteChapterInput, type WriteChapterOutput } from "./agents/writer.js";
|
|
export { WriterAgent, type WriteChapterInput, type WriteChapterOutput } from "./agents/writer.js";
|
|
|
export { ContinuityAuditor, type AuditResult, type AuditIssue } from "./agents/continuity.js";
|
|
export { ContinuityAuditor, type AuditResult, type AuditIssue } from "./agents/continuity.js";
|
|
|
-export { ReviserAgent, type ReviseOutput } from "./agents/reviser.js";
|
|
|
|
|
|
|
+export { ReviserAgent, type ReviseOutput, type ReviseMode } from "./agents/reviser.js";
|
|
|
export { RadarAgent, type RadarResult, type RadarRecommendation } from "./agents/radar.js";
|
|
export { RadarAgent, type RadarResult, type RadarRecommendation } from "./agents/radar.js";
|
|
|
export { FanqieRadarSource, QidianRadarSource, TextRadarSource, type RadarSource, type PlatformRankings, type RankingEntry } from "./agents/radar-source.js";
|
|
export { FanqieRadarSource, QidianRadarSource, TextRadarSource, type RadarSource, type PlatformRankings, type RankingEntry } from "./agents/radar-source.js";
|
|
|
|
|
+export { readGenreProfile, readBookRules, listAvailableGenres, getBuiltinGenresDir } from "./agents/rules-reader.js";
|
|
|
|
|
+export { buildWriterSystemPrompt } from "./agents/writer-prompts.js";
|
|
|
|
|
|
|
|
// Pipeline
|
|
// Pipeline
|
|
|
export { PipelineRunner, type PipelineConfig, type ChapterPipelineResult, type DraftResult, type ReviseResult, type TruthFiles, type BookStatusInfo } from "./pipeline/runner.js";
|
|
export { PipelineRunner, type PipelineConfig, type ChapterPipelineResult, type DraftResult, type ReviseResult, type TruthFiles, type BookStatusInfo } from "./pipeline/runner.js";
|