@redaksjon/protokoll 1.0.31 → 1.0.32-dev.20260406075412.ae7e0b8
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/engineLogging.js
CHANGED
|
@@ -208,7 +208,7 @@ function isProtokolUri(uri) {
|
|
|
208
208
|
return uri.startsWith(`${SCHEME}://`);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
const VERSION = "1.0.
|
|
211
|
+
const VERSION = "1.0.32-dev.20260406075412.ae7e0b8 (working/ae7e0b8 2026-04-06 07:49:23 +0000) linux arm64 v24.14.1";
|
|
212
212
|
const PROGRAM_NAME = "protokoll";
|
|
213
213
|
const DATE_FORMAT_YEAR_MONTH_DAY_HOURS_MINUTES_SECONDS = "YYYY-M-D-HHmmss";
|
|
214
214
|
const DEFAULT_AUDIO_EXTENSIONS = ["mp3", "mp4", "mpeg", "mpga", "m4a", "wav", "webm", "qta"];
|
|
@@ -1007,6 +1007,25 @@ async function initializeServerConfig(roots, mode = "local") {
|
|
|
1007
1007
|
};
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
|
+
async function reloadServerConfig(roots, mode = "local") {
|
|
1011
|
+
await initializeServerConfig(roots, mode);
|
|
1012
|
+
}
|
|
1013
|
+
function clearServerConfig() {
|
|
1014
|
+
serverConfig = {
|
|
1015
|
+
mode: "local",
|
|
1016
|
+
context: null,
|
|
1017
|
+
workspaceRoot: null,
|
|
1018
|
+
inputDirectory: null,
|
|
1019
|
+
outputDirectory: null,
|
|
1020
|
+
processedDirectory: null,
|
|
1021
|
+
inputStorage: null,
|
|
1022
|
+
outputStorage: null,
|
|
1023
|
+
storageConfig: DEFAULT_STORAGE_CONFIG,
|
|
1024
|
+
configFilePath: null,
|
|
1025
|
+
configFile: null,
|
|
1026
|
+
initialized: false
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1010
1029
|
function getServerConfig() {
|
|
1011
1030
|
if (!serverConfig.initialized) {
|
|
1012
1031
|
throw new Error("Server configuration not initialized. Call initializeServerConfig() first.");
|
|
@@ -1075,6 +1094,7 @@ function isRemoteMode() {
|
|
|
1075
1094
|
|
|
1076
1095
|
const serverConfig$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1077
1096
|
__proto__: null,
|
|
1097
|
+
clearServerConfig,
|
|
1078
1098
|
getContext,
|
|
1079
1099
|
getInputDirectory,
|
|
1080
1100
|
getInputStorage,
|
|
@@ -1087,7 +1107,8 @@ const serverConfig$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
1087
1107
|
getWorkspaceRoot: getWorkspaceRoot$2,
|
|
1088
1108
|
initializeServerConfig,
|
|
1089
1109
|
isInitialized,
|
|
1090
|
-
isRemoteMode
|
|
1110
|
+
isRemoteMode,
|
|
1111
|
+
reloadServerConfig
|
|
1091
1112
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1092
1113
|
|
|
1093
1114
|
const directResources = [
|
|
@@ -10622,5 +10643,5 @@ async function configureEngineLoggingBridge() {
|
|
|
10622
10643
|
}
|
|
10623
10644
|
}
|
|
10624
10645
|
|
|
10625
|
-
export { DEFAULT_CONFIG_FILE as D, handleListResources as a, handleReadResource as b, configureEngineLoggingBridge as c, getPrompt as d,
|
|
10646
|
+
export { DEFAULT_CONFIG_FILE as D, handleListResources as a, handleReadResource as b, configureEngineLoggingBridge as c, getPrompt as d, initializeServerConfig as e, getCachedRoots as f, getPrompts as g, handleToolCall as h, initializeWorkingDirectoryFromArgsAndConfig as i, getOutputDirectory as j, getOutputStorage as k, getServerConfig as l, markTranscriptIndexDirtyForStorage as m, getStorageConfig as n, getContext as o, createQuietLogger as p, parseUri as q, handleReadTranscript as r, setRoots as s, tools as t, readTranscriptsListResource as u, isInitialized as v, setWorkerInstance as w };
|
|
10626
10647
|
//# sourceMappingURL=engineLogging.js.map
|