dsh-agent-plugins-market 0.14.3 → 0.14.4

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/client/client.js CHANGED
@@ -44457,15 +44457,18 @@ function ResourceDetail({ resource, t, showOriginal, onClose }) {
44457
44457
  entry.directory,
44458
44458
  entry.candidate
44459
44459
  ].join("/") === address.entryId);
44460
- if (row === void 0) return (0, react.createElement)(DetailModal, {
44461
- open: true,
44462
- title: resource.name,
44463
- closeLabel: t("epClose"),
44464
- onClose
44465
- }, (0, react.createElement)("p", {
44466
- role: error ? "alert" : "status",
44467
- className: panel_module_default.detailProse
44468
- }, error || t("epLoading")));
44460
+ if (row === void 0) {
44461
+ const answered = chain !== void 0;
44462
+ return (0, react.createElement)(DetailModal, {
44463
+ open: true,
44464
+ title: resource.name,
44465
+ closeLabel: t("epClose"),
44466
+ onClose
44467
+ }, (0, react.createElement)("p", {
44468
+ role: error !== "" || answered ? "alert" : "status",
44469
+ className: panel_module_default.detailProse
44470
+ }, error || t(answered ? "epInstructionMissing" : "epLoading")));
44471
+ }
44469
44472
  return (0, react.createElement)(InstructionDetail, {
44470
44473
  t: translate,
44471
44474
  row,
@@ -45931,6 +45934,7 @@ const extensionPresetsEn = {
45931
45934
  epReplace: "Replace session selection",
45932
45935
  epReplaceHint: "Replace this customized selection? Your session-only adjustments will be lost.",
45933
45936
  epLoadFailed: "Could not load extensions",
45937
+ epInstructionMissing: "This file is no longer in the session instruction chain.",
45934
45938
  epSessionInactive: "Extensions are not ready yet. Send a message in this session first.",
45935
45939
  epNotReady: "Session extensions are not ready",
45936
45940
  epInventoryPending: "Re-reading the catalog. Tools return on their own in a moment.",
@@ -46035,6 +46039,7 @@ const extensionPresetsZh = {
46035
46039
  epReplace: "替换会话选择",
46036
46040
  epReplaceHint: "替换已自定义的选择?仅属于本会话的调整将丢失。",
46037
46041
  epLoadFailed: "无法加载扩展",
46042
+ epInstructionMissing: "这个文件已不在该会话的提示词链条里。",
46038
46043
  epSessionInactive: "扩展尚未就绪,先给这个会话发一条消息",
46039
46044
  epNotReady: "会话扩展尚未就绪",
46040
46045
  epInventoryPending: "正在重新读取目录,工具稍后会自动恢复。",