@kynver-app/runtime 0.1.105 → 0.1.106

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/index.js CHANGED
@@ -350,7 +350,9 @@ function redactHomePath(value) {
350
350
  if (resolved.startsWith(`${home}${path2.sep}`)) {
351
351
  return `~/${path2.relative(home, resolved).split(path2.sep).join("/")}`;
352
352
  }
353
- return resolved.replace(/^\/home\/[^/]+(?=\/|$)/, "~").replace(/^\/Users\/[^/]+(?=\/|$)/, "~");
353
+ const posix = resolved.replace(/\\/g, "/");
354
+ const redacted = posix.replace(/^\/home\/[^/]+(?=\/|$)/, "~").replace(/^\/Users\/[^/]+(?=\/|$)/, "~").replace(/^[A-Za-z]:\/home\/[^/]+(?=\/|$)/i, "~").replace(/^[A-Za-z]:\/Users\/[^/]+(?=\/|$)/i, "~");
355
+ return redacted;
354
356
  }
355
357
  function displayUserPath(value) {
356
358
  return redactHomePath(value);
@@ -3048,14 +3050,14 @@ var WORKER_PERSONA_CATALOG = [
3048
3050
  {
3049
3051
  slug: "lorentz",
3050
3052
  displayName: "Lorentz",
3051
- description: "Review / testing \u2014 pre-landing and post-landing verification, report + deep review.",
3053
+ description: "Deep/adversarial review lane expert for risk, correctness, and safety gates. Run adversarial review and validation gating.",
3052
3054
  dispatchLane: "review",
3053
3055
  defaultRoleLane: "report_reviewer"
3054
3056
  },
3055
3057
  {
3056
3058
  slug: "dalton",
3057
3059
  displayName: "Dalton",
3058
- description: "Landing / merge execution \u2014 merge-ready PR landing and merge evidence only (no implementation).",
3060
+ description: "Landing-only \u2014 merge-ready handoff and final verification evidence; no implementation ownership.",
3059
3061
  dispatchLane: "landing",
3060
3062
  defaultRoleLane: "implementer"
3061
3063
  }
@@ -8212,7 +8214,7 @@ function expandHomePath2(filePath) {
8212
8214
  function discoverProductionDbEnvFilePaths(options = {}) {
8213
8215
  const env = options.env ?? process.env;
8214
8216
  const cwd = options.cwd ?? process.cwd();
8215
- const home = options.homeDir ?? homedir12();
8217
+ const home = options.homeDir ?? (env.HOME?.trim() || env.USERPROFILE?.trim() || homedir12());
8216
8218
  const seen = /* @__PURE__ */ new Set();
8217
8219
  const out = [];
8218
8220
  const push = (candidate) => {