@stryke/capnp 0.12.94 → 0.12.96

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/bin/capnpc.cjs CHANGED
@@ -43,7 +43,7 @@ let __stryke_fs_json = require("@stryke/fs/json");
43
43
  let __stryke_fs_list_files = require("@stryke/fs/list-files");
44
44
  let __stryke_path_append = require("@stryke/path/append");
45
45
 
46
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
46
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
47
47
  var DEFAULT_COLOR_CONFIG = {
48
48
  light: {
49
49
  background: "#fafafa",
@@ -2239,7 +2239,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2239
2239
  }));
2240
2240
 
2241
2241
  //#endregion
2242
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2242
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2243
2243
  var import_source = /* @__PURE__ */ __toESM(require_source(), 1);
2244
2244
  var chalkDefault = {
2245
2245
  hex: (_) => (message) => message,
@@ -2271,14 +2271,14 @@ var getChalk = () => {
2271
2271
  };
2272
2272
 
2273
2273
  //#endregion
2274
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2274
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2275
2275
  function isUnicodeSupported() {
2276
2276
  if (process.platform !== "win32") return process.env.TERM !== "linux";
2277
2277
  return Boolean(process.env.WT_SESSION) || Boolean(process.env.TERMINUS_SUBLIME) || process.env.ConEmuTask === "{cmd::Cmder}" || process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2278
2278
  }
2279
2279
 
2280
2280
  //#endregion
2281
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
2281
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
2282
2282
  var LogLevel = {
2283
2283
  SILENT: 0,
2284
2284
  FATAL: 10,
@@ -2305,7 +2305,7 @@ var LogLevelLabel = {
2305
2305
  };
2306
2306
 
2307
2307
  //#endregion
2308
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
2308
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
2309
2309
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
2310
2310
  var CONSOLE_ICONS = {
2311
2311
  [LogLevelLabel.ERROR]: useIcon("✘", "×"),
@@ -2320,13 +2320,13 @@ var CONSOLE_ICONS = {
2320
2320
  };
2321
2321
 
2322
2322
  //#endregion
2323
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2324
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2325
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2323
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-JZAYHDV3.js
2324
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
2325
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
2326
2326
  };
2327
2327
 
2328
2328
  //#endregion
2329
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
2329
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
2330
2330
  var getLogLevel = (label) => {
2331
2331
  switch (label) {
2332
2332
  case "all": return LogLevel.ALL;
@@ -2343,7 +2343,7 @@ var getLogLevel = (label) => {
2343
2343
  };
2344
2344
 
2345
2345
  //#endregion
2346
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-XHJNCOIU.js
2346
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-TOMKPXJE.js
2347
2347
  var daysInYear = 365.2425;
2348
2348
  -(Math.pow(10, 8) * 24 * 60 * 60 * 1e3);
2349
2349
  var secondsInDay = 3600 * 24;
@@ -2863,53 +2863,54 @@ var enUS = {
2863
2863
  firstWeekContainsDate: 1
2864
2864
  }
2865
2865
  };
2866
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
2866
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
2867
+ const { chalk: _chalk = getChalk(), fullDateTime = false, hideDateTime = false } = options;
2867
2868
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
2868
2869
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
2869
2870
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) return (_) => {};
2870
2871
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) return (message) => {
2871
2872
  console.error(`
2872
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2873
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2873
2874
  `);
2874
2875
  };
2875
2876
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) return (message) => {
2876
2877
  console.error(`
2877
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2878
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2878
2879
  `);
2879
2880
  };
2880
2881
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) return (message) => {
2881
2882
  console.warn(`
2882
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2883
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2883
2884
  `);
2884
2885
  };
2885
2886
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) return (message) => {
2886
2887
  console.info(`
2887
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2888
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2888
2889
  `);
2889
2890
  };
2890
2891
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) return (message) => {
2891
2892
  console.info(`
2892
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2893
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2893
2894
  `);
2894
2895
  };
2895
2896
  if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) return (message) => {
2896
2897
  console.debug(`
2897
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2898
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2898
2899
  `);
2899
2900
  };
2900
2901
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) return (message) => {
2901
2902
  console.debug(`
2902
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2903
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2903
2904
  `);
2904
2905
  };
2905
2906
  if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) return (message) => {
2906
2907
  console.debug(`
2907
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2908
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2908
2909
  `);
2909
2910
  };
2910
2911
  return (message) => {
2911
2912
  console.log(`
2912
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2913
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2913
2914
  `);
2914
2915
  };
2915
2916
  };
@@ -2944,7 +2945,7 @@ var _isFunction = (value) => {
2944
2945
  var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("🗲");
2945
2946
 
2946
2947
  //#endregion
2947
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-JWLOTPPR.js
2948
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-PN7H7GUE.js
2948
2949
  var exitWithError = (config) => {
2949
2950
  writeFatal("Exiting script with an error status...", config);
2950
2951
  process.exit(1);
@@ -2979,7 +2980,7 @@ Stacktrace: ${error.stack}`, config);
2979
2980
  };
2980
2981
 
2981
2982
  //#endregion
2982
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2983
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2983
2984
  var MAX_PATH_SEARCH_DEPTH = 30;
2984
2985
  var depth = 0;
2985
2986
  function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
@@ -2990,7 +2991,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
2990
2991
  }
2991
2992
 
2992
2993
  //#endregion
2993
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2994
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2994
2995
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
2995
2996
  function normalizeWindowsPath(input = "") {
2996
2997
  if (!input) return input;
@@ -3072,7 +3073,7 @@ var isAbsolute = function(p) {
3072
3073
  };
3073
3074
 
3074
3075
  //#endregion
3075
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3076
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3076
3077
  var rootFiles = [
3077
3078
  "storm-workspace.json",
3078
3079
  "storm-workspace.yaml",
package/bin/capnpc.mjs CHANGED
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
44
44
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
45
45
 
46
46
  //#endregion
47
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
47
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
48
48
  var DEFAULT_COLOR_CONFIG = {
49
49
  light: {
50
50
  background: "#fafafa",
@@ -2240,7 +2240,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2240
2240
  }));
2241
2241
 
2242
2242
  //#endregion
2243
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2243
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2244
2244
  var import_source = /* @__PURE__ */ __toESM(require_source(), 1);
2245
2245
  var chalkDefault = {
2246
2246
  hex: (_) => (message) => message,
@@ -2272,14 +2272,14 @@ var getChalk = () => {
2272
2272
  };
2273
2273
 
2274
2274
  //#endregion
2275
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2275
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2276
2276
  function isUnicodeSupported() {
2277
2277
  if (process.platform !== "win32") return process.env.TERM !== "linux";
2278
2278
  return Boolean(process.env.WT_SESSION) || Boolean(process.env.TERMINUS_SUBLIME) || process.env.ConEmuTask === "{cmd::Cmder}" || process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2279
2279
  }
2280
2280
 
2281
2281
  //#endregion
2282
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
2282
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
2283
2283
  var LogLevel = {
2284
2284
  SILENT: 0,
2285
2285
  FATAL: 10,
@@ -2306,7 +2306,7 @@ var LogLevelLabel = {
2306
2306
  };
2307
2307
 
2308
2308
  //#endregion
2309
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
2309
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
2310
2310
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
2311
2311
  var CONSOLE_ICONS = {
2312
2312
  [LogLevelLabel.ERROR]: useIcon("✘", "×"),
@@ -2321,13 +2321,13 @@ var CONSOLE_ICONS = {
2321
2321
  };
2322
2322
 
2323
2323
  //#endregion
2324
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2325
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2326
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2324
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-JZAYHDV3.js
2325
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
2326
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
2327
2327
  };
2328
2328
 
2329
2329
  //#endregion
2330
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
2330
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
2331
2331
  var getLogLevel = (label) => {
2332
2332
  switch (label) {
2333
2333
  case "all": return LogLevel.ALL;
@@ -2344,7 +2344,7 @@ var getLogLevel = (label) => {
2344
2344
  };
2345
2345
 
2346
2346
  //#endregion
2347
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-XHJNCOIU.js
2347
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-TOMKPXJE.js
2348
2348
  var daysInYear = 365.2425;
2349
2349
  -(Math.pow(10, 8) * 24 * 60 * 60 * 1e3);
2350
2350
  var secondsInDay = 3600 * 24;
@@ -2864,53 +2864,54 @@ var enUS = {
2864
2864
  firstWeekContainsDate: 1
2865
2865
  }
2866
2866
  };
2867
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
2867
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
2868
+ const { chalk: _chalk = getChalk(), fullDateTime = false, hideDateTime = false } = options;
2868
2869
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
2869
2870
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
2870
2871
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) return (_) => {};
2871
2872
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) return (message) => {
2872
2873
  console.error(`
2873
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2874
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2874
2875
  `);
2875
2876
  };
2876
2877
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) return (message) => {
2877
2878
  console.error(`
2878
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2879
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2879
2880
  `);
2880
2881
  };
2881
2882
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) return (message) => {
2882
2883
  console.warn(`
2883
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2884
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2884
2885
  `);
2885
2886
  };
2886
2887
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) return (message) => {
2887
2888
  console.info(`
2888
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2889
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2889
2890
  `);
2890
2891
  };
2891
2892
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) return (message) => {
2892
2893
  console.info(`
2893
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2894
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2894
2895
  `);
2895
2896
  };
2896
2897
  if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) return (message) => {
2897
2898
  console.debug(`
2898
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2899
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2899
2900
  `);
2900
2901
  };
2901
2902
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) return (message) => {
2902
2903
  console.debug(`
2903
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2904
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2904
2905
  `);
2905
2906
  };
2906
2907
  if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) return (message) => {
2907
2908
  console.debug(`
2908
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2909
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2909
2910
  `);
2910
2911
  };
2911
2912
  return (message) => {
2912
2913
  console.log(`
2913
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2914
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2914
2915
  `);
2915
2916
  };
2916
2917
  };
@@ -2945,7 +2946,7 @@ var _isFunction = (value) => {
2945
2946
  var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("🗲");
2946
2947
 
2947
2948
  //#endregion
2948
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-JWLOTPPR.js
2949
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-PN7H7GUE.js
2949
2950
  var exitWithError = (config) => {
2950
2951
  writeFatal("Exiting script with an error status...", config);
2951
2952
  process.exit(1);
@@ -2980,7 +2981,7 @@ Stacktrace: ${error.stack}`, config);
2980
2981
  };
2981
2982
 
2982
2983
  //#endregion
2983
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2984
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2984
2985
  var MAX_PATH_SEARCH_DEPTH = 30;
2985
2986
  var depth = 0;
2986
2987
  function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
@@ -2991,7 +2992,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
2991
2992
  }
2992
2993
 
2993
2994
  //#endregion
2994
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2995
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2995
2996
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
2996
2997
  function normalizeWindowsPath(input = "") {
2997
2998
  if (!input) return input;
@@ -3073,7 +3074,7 @@ var isAbsolute = function(p) {
3073
3074
  };
3074
3075
 
3075
3076
  //#endregion
3076
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.78_zod@4.3.6/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3077
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.1_zod@4.4.1/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3077
3078
  var rootFiles = [
3078
3079
  "storm-workspace.json",
3079
3080
  "storm-workspace.yaml",