mulmocast-preprocessor 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli/commands/query.js +81 -4
- package/lib/cli/utils.d.ts +1 -1
- package/lib/core/ai/command/query/index.d.ts +1 -1
- package/lib/core/ai/command/query/interactive.d.ts +31 -1
- package/lib/core/ai/command/query/interactive.js +78 -2
- package/lib/core/ai/command/query/prompts.d.ts +6 -2
- package/lib/core/ai/command/query/prompts.js +13 -1
- package/lib/core/ai/command/summarize/index.d.ts +1 -1
- package/lib/core/ai/command/summarize/prompts.d.ts +1 -1
- package/lib/core/ai/llm.d.ts +1 -1
- package/lib/core/ai/llm.js +96 -7
- package/lib/core/ai/utils/fetcher.d.ts +25 -0
- package/lib/core/ai/utils/fetcher.js +122 -0
- package/lib/core/preprocessing/filter.d.ts +2 -2
- package/lib/core/preprocessing/process.d.ts +3 -2
- package/lib/core/preprocessing/profiles.d.ts +2 -1
- package/lib/core/preprocessing/variant.d.ts +2 -2
- package/lib/index.d.ts +6 -3
- package/lib/index.js +5 -3
- package/lib/types/index.d.ts +0 -1928
- package/lib/types/index.js +1 -42
- package/lib/types/query.d.ts +2 -0
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -4,10 +4,13 @@ export { filterBySection, filterByTags, stripExtendedFields } from "./core/prepr
|
|
|
4
4
|
export { listProfiles } from "./core/preprocessing/profiles.js";
|
|
5
5
|
export { summarizeScript } from "./core/ai/command/summarize/index.js";
|
|
6
6
|
export { queryScript } from "./core/ai/command/query/index.js";
|
|
7
|
-
export { createInteractiveSession, sendInteractiveQuery, clearHistory, getHistory } from "./core/ai/command/query/interactive.js";
|
|
8
|
-
export
|
|
7
|
+
export { createInteractiveSession, sendInteractiveQuery, sendInteractiveQueryWithFetch, clearHistory, getHistory, getReferences, findReference, fetchReference, parseSuggestedFetch, removeSuggestFetchMarkers, } from "./core/ai/command/query/interactive.js";
|
|
8
|
+
export { fetchUrlContent } from "./core/ai/utils/fetcher.js";
|
|
9
|
+
export type { FetchedContent } from "./core/ai/utils/fetcher.js";
|
|
10
|
+
export type { BeatVariant, BeatMeta, ExtendedBeat, ExtendedScript, OutputProfile, Reference, FAQ, ScriptMeta, MulmoImageAsset, } from "@mulmocast/extended-types";
|
|
11
|
+
export { beatVariantSchema, beatMetaSchema, extendedBeatSchema, extendedScriptSchema, outputProfileSchema, referenceSchema, faqSchema, scriptMetaSchema, } from "@mulmocast/extended-types";
|
|
12
|
+
export type { ProcessOptions, ProfileInfo } from "./types/index.js";
|
|
9
13
|
export type { SummarizeOptions, SummarizeResult, LLMProvider, SummarizeFormat, ProviderConfig } from "./types/summarize.js";
|
|
10
14
|
export type { QueryOptions, QueryResult, ConversationMessage, InteractiveQuerySession } from "./types/query.js";
|
|
11
|
-
export { beatVariantSchema, beatMetaSchema, extendedBeatSchema, extendedScriptSchema, outputProfileSchema } from "./types/index.js";
|
|
12
15
|
export { summarizeOptionsSchema, llmProviderSchema, summarizeFormatSchema } from "./types/summarize.js";
|
|
13
16
|
export { queryOptionsSchema } from "./types/query.js";
|
package/lib/index.js
CHANGED
|
@@ -6,8 +6,10 @@ export { listProfiles } from "./core/preprocessing/profiles.js";
|
|
|
6
6
|
// AI API
|
|
7
7
|
export { summarizeScript } from "./core/ai/command/summarize/index.js";
|
|
8
8
|
export { queryScript } from "./core/ai/command/query/index.js";
|
|
9
|
-
export { createInteractiveSession, sendInteractiveQuery, clearHistory, getHistory } from "./core/ai/command/query/interactive.js";
|
|
10
|
-
//
|
|
11
|
-
export {
|
|
9
|
+
export { createInteractiveSession, sendInteractiveQuery, sendInteractiveQueryWithFetch, clearHistory, getHistory, getReferences, findReference, fetchReference, parseSuggestedFetch, removeSuggestFetchMarkers, } from "./core/ai/command/query/interactive.js";
|
|
10
|
+
// Utilities
|
|
11
|
+
export { fetchUrlContent } from "./core/ai/utils/fetcher.js";
|
|
12
|
+
export { beatVariantSchema, beatMetaSchema, extendedBeatSchema, extendedScriptSchema, outputProfileSchema, referenceSchema, faqSchema, scriptMetaSchema, } from "@mulmocast/extended-types";
|
|
13
|
+
// Schemas (local)
|
|
12
14
|
export { summarizeOptionsSchema, llmProviderSchema, summarizeFormatSchema } from "./types/summarize.js";
|
|
13
15
|
export { queryOptionsSchema } from "./types/query.js";
|