@redaksjon/protokoll 1.0.16 → 1.0.17-dev.20260220204516.f251778
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/configDiscovery.js
CHANGED
|
@@ -232,7 +232,7 @@ const uri = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
232
232
|
parseUri
|
|
233
233
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
234
234
|
|
|
235
|
-
const VERSION = "1.0.
|
|
235
|
+
const VERSION = "1.0.17-dev.20260220204516.f251778 (working/f251778 2026-02-20 12:44:18 -0800) linux arm64 v24.13.1";
|
|
236
236
|
const PROGRAM_NAME = "protokoll";
|
|
237
237
|
const DATE_FORMAT_YEAR_MONTH_DAY_HOURS_MINUTES_SECONDS = "YYYY-M-D-HHmmss";
|
|
238
238
|
const DEFAULT_AUDIO_EXTENSIONS = ["mp3", "mp4", "mpeg", "mpga", "m4a", "wav", "webm", "qta"];
|
|
@@ -968,12 +968,11 @@ async function readTranscriptsListResource(options) {
|
|
|
968
968
|
if (projectId && isInitialized()) {
|
|
969
969
|
const context = getContext();
|
|
970
970
|
if (context) {
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
} catch {
|
|
971
|
+
const project = context.getProject(projectId);
|
|
972
|
+
if (project) {
|
|
973
|
+
projectName = project.name;
|
|
974
|
+
} else {
|
|
975
|
+
projectName = projectId;
|
|
977
976
|
}
|
|
978
977
|
}
|
|
979
978
|
}
|
|
@@ -4744,7 +4743,7 @@ async function handleGetEnhancementLog(args) {
|
|
|
4744
4743
|
const absolutePath = await resolveTranscriptPath$1(args.transcriptPath, args.contextDirectory);
|
|
4745
4744
|
const transcript = PklTranscript.open(absolutePath, { readOnly: true });
|
|
4746
4745
|
try {
|
|
4747
|
-
const allEntries =
|
|
4746
|
+
const allEntries = transcript.getEnhancementLog(args.phase ? { phase: args.phase } : void 0);
|
|
4748
4747
|
const limit = args.limit ?? 100;
|
|
4749
4748
|
const offset = args.offset ?? 0;
|
|
4750
4749
|
const total = allEntries.length;
|