@lynn123411/dsh-subagent-judge-dispatch 0.6.15 → 0.6.16

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/lib/client.js CHANGED
@@ -222,6 +222,7 @@ var en = {
222
222
  "reason.unavailable-route": "the selected model or effort is unavailable",
223
223
  "reason.no-match": "no configured type applies",
224
224
  "reason.no-authorized-route": "none of the configured types has a model in the current DSH catalog",
225
+ "reason.catalog-unavailable": "could not verify rule models against the DSH catalog",
225
226
  "reason.unidentified-task": "the original task could not be identified",
226
227
  "reason.explicit-route": "the delegation already specified a model",
227
228
  "reason.recorded-route": "the subagent already selected or used a model",
@@ -452,6 +453,7 @@ var zh = {
452
453
  "reason.unavailable-route": "\u9009\u4E2D\u7684\u6A21\u578B\u6216\u63A8\u7406\u7B49\u7EA7\u5F53\u524D\u4E0D\u53EF\u7528",
453
454
  "reason.no-match": "\u6CA1\u6709\u9002\u7528\u7684\u4EFB\u52A1\u7C7B\u578B",
454
455
  "reason.no-authorized-route": "\u89C4\u5219\u4E2D\u6CA1\u6709\u6A21\u578B\u51FA\u73B0\u5728\u5F53\u524D DSH \u76EE\u5F55\u91CC",
456
+ "reason.catalog-unavailable": "\u672A\u80FD\u8BFB\u53D6 DSH \u6A21\u578B\u76EE\u5F55\u4EE5\u6838\u5BF9\u89C4\u5219",
455
457
  "reason.unidentified-task": "\u627E\u4E0D\u5230\u8FD9\u6B21\u6D3E\u51FA\u7684\u539F\u4EFB\u52A1",
456
458
  "reason.explicit-route": "\u6D3E\u4EFB\u52A1\u65F6\u5DF2\u6307\u5B9A\u6A21\u578B",
457
459
  "reason.recorded-route": "\u5B50\u4EE3\u7406\u5DF2\u9009\u62E9\u6216\u4F7F\u7528\u8FC7\u6A21\u578B",
@@ -639,6 +641,7 @@ function detailType(entry, t) {
639
641
  return t("log.detailMissing");
640
642
  }
641
643
  function LogDetails({ entry, t }) {
644
+ const taskText = entry.taskText?.replace(/^Timeline: tree=tree-[a-f0-9]+; tasks=[\w-]+(?:,[ \t]*[\w-]+)*\.(?:\s+|$)/, "");
642
645
  const phases = PHASES.flatMap((phase) => {
643
646
  const ms = entry.phaseTimingsMs?.[phase];
644
647
  return ms === void 0 ? [] : [{ phase, ms }];
@@ -682,7 +685,7 @@ function LogDetails({ entry, t }) {
682
685
  ] }),
683
686
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
684
687
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dt", { children: t("log.detailTask") }),
685
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dd", { className: "dsh-judge-log-saved-text", children: entry.taskText === void 0 ? t("log.detailMissing") : entry.taskText.trim() === "" ? t("log.detailBlankTask") : entry.taskText })
688
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("dd", { className: "dsh-judge-log-saved-text", children: taskText === void 0 ? t("log.detailMissing") : taskText.trim() === "" ? t("log.detailBlankTask") : taskText })
686
689
  ] })
687
690
  ] }) });
688
691
  }