mulmocast-preprocessor 0.3.0 → 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/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 +1 -1
- package/lib/core/ai/command/query/prompts.d.ts +1 -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/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 +3 -2
- package/lib/index.js +2 -2
- package/lib/types/index.d.ts +0 -2006
- package/lib/types/index.js +1 -79
- package/package.json +3 -2
package/lib/cli/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtendedScript } from "
|
|
1
|
+
import type { ExtendedScript } from "@mulmocast/extended-types";
|
|
2
2
|
import type { QueryOptions, QueryResult } from "../../../../types/query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Main query function - answers a question based on script content
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtendedScript, Reference } from "
|
|
1
|
+
import type { ExtendedScript, Reference } from "@mulmocast/extended-types";
|
|
2
2
|
import type { QueryOptions, InteractiveQuerySession, ConversationMessage } from "../../../../types/query.js";
|
|
3
3
|
import { type FetchedContent } from "../../utils/fetcher.js";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtendedScript } from "
|
|
1
|
+
import type { ExtendedScript } from "@mulmocast/extended-types";
|
|
2
2
|
import type { SummarizeOptions, SummarizeResult } from "../../../../types/summarize.js";
|
|
3
3
|
/**
|
|
4
4
|
* Main summarize function - generates a summary of the entire script
|
package/lib/core/ai/llm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MulmoScript } from "mulmocast";
|
|
2
|
-
import type { ExtendedScript } from "
|
|
1
|
+
import type { MulmoScript } from "@mulmocast/types";
|
|
2
|
+
import type { ExtendedScript } from "@mulmocast/extended-types";
|
|
3
3
|
/**
|
|
4
4
|
* Filter beats by section (preserves meta for chaining)
|
|
5
5
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { MulmoScript } from "mulmocast";
|
|
2
|
-
import type { ExtendedScript
|
|
1
|
+
import type { MulmoScript } from "@mulmocast/types";
|
|
2
|
+
import type { ExtendedScript } from "@mulmocast/extended-types";
|
|
3
|
+
import type { ProcessOptions } from "../../types/index.js";
|
|
3
4
|
/**
|
|
4
5
|
* Main processing function
|
|
5
6
|
* Applies filters first (while meta exists), then profile
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { MulmoScript } from "mulmocast";
|
|
2
|
-
import type { ExtendedScript } from "
|
|
1
|
+
import type { MulmoScript } from "@mulmocast/types";
|
|
2
|
+
import type { ExtendedScript } from "@mulmocast/extended-types";
|
|
3
3
|
/**
|
|
4
4
|
* Apply profile to script and return standard MulmoScript
|
|
5
5
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -7,9 +7,10 @@ export { queryScript } from "./core/ai/command/query/index.js";
|
|
|
7
7
|
export { createInteractiveSession, sendInteractiveQuery, sendInteractiveQueryWithFetch, clearHistory, getHistory, getReferences, findReference, fetchReference, parseSuggestedFetch, removeSuggestFetchMarkers, } from "./core/ai/command/query/interactive.js";
|
|
8
8
|
export { fetchUrlContent } from "./core/ai/utils/fetcher.js";
|
|
9
9
|
export type { FetchedContent } from "./core/ai/utils/fetcher.js";
|
|
10
|
-
export type { BeatVariant, BeatMeta, ExtendedBeat, ExtendedScript, OutputProfile,
|
|
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";
|
|
11
13
|
export type { SummarizeOptions, SummarizeResult, LLMProvider, SummarizeFormat, ProviderConfig } from "./types/summarize.js";
|
|
12
14
|
export type { QueryOptions, QueryResult, ConversationMessage, InteractiveQuerySession } from "./types/query.js";
|
|
13
|
-
export { beatVariantSchema, beatMetaSchema, extendedBeatSchema, extendedScriptSchema, outputProfileSchema, referenceSchema, faqSchema, scriptMetaSchema, } from "./types/index.js";
|
|
14
15
|
export { summarizeOptionsSchema, llmProviderSchema, summarizeFormatSchema } from "./types/summarize.js";
|
|
15
16
|
export { queryOptionsSchema } from "./types/query.js";
|
package/lib/index.js
CHANGED
|
@@ -9,7 +9,7 @@ export { queryScript } from "./core/ai/command/query/index.js";
|
|
|
9
9
|
export { createInteractiveSession, sendInteractiveQuery, sendInteractiveQueryWithFetch, clearHistory, getHistory, getReferences, findReference, fetchReference, parseSuggestedFetch, removeSuggestFetchMarkers, } from "./core/ai/command/query/interactive.js";
|
|
10
10
|
// Utilities
|
|
11
11
|
export { fetchUrlContent } from "./core/ai/utils/fetcher.js";
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
export { beatVariantSchema, beatMetaSchema, extendedBeatSchema, extendedScriptSchema, outputProfileSchema, referenceSchema, faqSchema, scriptMetaSchema, } from "@mulmocast/extended-types";
|
|
13
|
+
// Schemas (local)
|
|
14
14
|
export { summarizeOptionsSchema, llmProviderSchema, summarizeFormatSchema } from "./types/summarize.js";
|
|
15
15
|
export { queryOptionsSchema } from "./types/query.js";
|