@redaksjon/protokoll 0.3.0 → 0.4.3
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/dist/mcp/prompts/batch_transcription.md +3 -0
- package/dist/mcp/prompts/edit_entity.md +9 -0
- package/dist/mcp/prompts/enrich_entity.md +3 -0
- package/dist/mcp/prompts/find_and_analyze.md +3 -0
- package/dist/mcp/prompts/review_transcript.md +13 -0
- package/dist/mcp/prompts/setup_project.md +12 -0
- package/dist/mcp/prompts/transcribe_with_context.md +8 -0
- package/dist/mcp/server.js +2314 -2416
- package/dist/mcp/server.js.map +1 -1
- package/dist/transcript.js +9 -9
- package/dist/transcript.js.map +1 -1
- package/package.json +1 -1
- package/.cursor/rules/definition-of-done.md +0 -90
- package/.cursor/rules/no-auto-summary-files.md +0 -43
- package/.cursor/rules/no-emoticons.md +0 -57
- package/nodemon.json +0 -14
- package/tsconfig.tsbuildinfo +0 -1
package/dist/transcript.js
CHANGED
|
@@ -18,7 +18,7 @@ import os__default from 'node:os';
|
|
|
18
18
|
import winston from 'winston';
|
|
19
19
|
import { IterationStrategyFactory } from '@riotprompt/riotprompt';
|
|
20
20
|
|
|
21
|
-
const VERSION = "0.3
|
|
21
|
+
const VERSION = "0.4.3 (HEAD/94e6969 T:v0.4.3 2026-01-21 16:26:11 -0800) linux x64 v24.12.0";
|
|
22
22
|
const PROGRAM_NAME = "protokoll";
|
|
23
23
|
const DEFAULT_DIFF = true;
|
|
24
24
|
const DEFAULT_LOG = false;
|
|
@@ -30,8 +30,8 @@ const DEFAULT_DEBUG = false;
|
|
|
30
30
|
const DEFAULT_CONTENT_TYPES = ["diff"];
|
|
31
31
|
const DEFAULT_INPUT_DIRECTORY = "./";
|
|
32
32
|
const DEFAULT_OUTPUT_DIRECTORY = "./";
|
|
33
|
-
const DEFAULT_AUDIO_EXTENSIONS = ["mp3", "mp4", "mpeg", "mpga", "m4a", "wav", "webm"];
|
|
34
|
-
const ALLOWED_AUDIO_EXTENSIONS = ["mp3", "mp4", "mpeg", "mpga", "m4a", "wav", "webm"];
|
|
33
|
+
const DEFAULT_AUDIO_EXTENSIONS = ["mp3", "mp4", "mpeg", "mpga", "m4a", "wav", "webm", "qta"];
|
|
34
|
+
const ALLOWED_AUDIO_EXTENSIONS = ["mp3", "mp4", "mpeg", "mpga", "m4a", "wav", "webm", "qta"];
|
|
35
35
|
const DEFAULT_OUTPUT_STRUCTURE = "month";
|
|
36
36
|
const DEFAULT_OUTPUT_FILENAME_OPTIONS = ["date", "time", "subject"];
|
|
37
37
|
const ALLOWED_OUTPUT_STRUCTURES = ["none", "year", "month", "day"];
|
|
@@ -4638,14 +4638,14 @@ const create$3 = async (config) => {
|
|
|
4638
4638
|
const routingProjects = contextProjects.filter((project) => project.active !== false).map((project) => ({
|
|
4639
4639
|
projectId: project.id,
|
|
4640
4640
|
destination: {
|
|
4641
|
-
path: project.routing
|
|
4642
|
-
structure: project.routing
|
|
4643
|
-
filename_options: project.routing
|
|
4641
|
+
path: project.routing?.destination || defaultPath,
|
|
4642
|
+
structure: project.routing?.structure || defaultStructure,
|
|
4643
|
+
filename_options: project.routing?.filename_options || defaultFilenameOptions,
|
|
4644
4644
|
createDirectories: true
|
|
4645
4645
|
},
|
|
4646
4646
|
classification: project.classification,
|
|
4647
4647
|
active: project.active,
|
|
4648
|
-
auto_tags: project.routing
|
|
4648
|
+
auto_tags: project.routing?.auto_tags
|
|
4649
4649
|
}));
|
|
4650
4650
|
logger.debug("Loaded %d projects from context for routing", routingProjects.length);
|
|
4651
4651
|
const routingConfig = {
|
|
@@ -6695,7 +6695,7 @@ const listTranscripts = async (options) => {
|
|
|
6695
6695
|
let content;
|
|
6696
6696
|
try {
|
|
6697
6697
|
content = await fs$1.readFile(filePath, "utf-8");
|
|
6698
|
-
} catch
|
|
6698
|
+
} catch {
|
|
6699
6699
|
continue;
|
|
6700
6700
|
}
|
|
6701
6701
|
if (search) {
|
|
@@ -6798,5 +6798,5 @@ const registerTranscriptCommands = (program) => {
|
|
|
6798
6798
|
});
|
|
6799
6799
|
};
|
|
6800
6800
|
|
|
6801
|
-
export { ALLOWED_OUTPUT_FILENAME_OPTIONS as A, listTranscripts as B,
|
|
6801
|
+
export { ALLOWED_OUTPUT_FILENAME_OPTIONS as A, listTranscripts as B, DEFAULT_TEMP_DIRECTORY as C, DEFAULT_REASONING_LEVEL as D, create$p as E, create$d as F, processFeedback as G, applyChanges as H, combineTranscripts as I, editTranscript as J, parseTranscript as K, createCompletion as L, contentFetcher as M, projectAssist as N, PROGRAM_NAME as P, VERSION as V, PROTOKOLL_DEFAULTS as a, DEFAULT_MAX_AUDIO_SIZE as b, create$w as c, create$1 as d, DEFAULT_INTERMEDIATE_DIRECTORY as e, ALLOWED_OUTPUT_STRUCTURES as f, getLogger as g, ALLOWED_AUDIO_EXTENSIONS as h, DEFAULT_OUTPUT_DIRECTORY as i, DEFAULT_INPUT_DIRECTORY as j, DEFAULT_OUTPUT_FILENAME_OPTIONS as k, DEFAULT_OUTPUT_STRUCTURE as l, DEFAULT_AUDIO_EXTENSIONS as m, DEFAULT_TIMEZONE as n, DEFAULT_CONFIG_DIR as o, create$2 as p, create$u as q, create as r, setLogLevel as s, DEFAULT_CONTEXT_DIR_NAME as t, DEFAULT_CONTEXT_CONFIG_FILE_NAME as u, DEFAULT_MODEL as v, DEFAULT_TRANSCRIPTION_MODEL as w, registerActionCommands as x, registerFeedbackCommands as y, registerTranscriptCommands as z };
|
|
6802
6802
|
//# sourceMappingURL=transcript.js.map
|