@addozhang/dsh-discord 0.6.4-rc.1 → 0.6.4-rc.2

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.
Files changed (2) hide show
  1. package/lib/client.js +5 -5
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1352,8 +1352,7 @@ function TokenSetup(props) {
1352
1352
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("button", { type: "button", disabled: connecting || !props.tokenConfigured && token.trim() === "", onClick: submit, children: connecting ? t("discordTokenConnecting") : t("discordTokenConnect") })
1353
1353
  ] }),
1354
1354
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { "data-dsh-discord-field-help": "", children: props.tokenConfigured ? t("discordTokenReconnectHint") : t("discordTokenHelp") }),
1355
- error !== "" && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { "data-dsh-discord-token-error": "", children: error }),
1356
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { "data-dsh-discord-card-footer-link": "", style: { margin: "8px 0 0", fontSize: 12, opacity: 0.6 }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", { href: "https://github.com/addozhang/dsh-discord", target: "_blank", rel: "noopener noreferrer", children: "\u2B50 Feedback & docs" }) })
1355
+ error !== "" && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { "data-dsh-discord-token-error": "", children: error })
1357
1356
  ] });
1358
1357
  }
1359
1358
  function DiscordSettingsCard(props) {
@@ -1375,7 +1374,7 @@ function DiscordSettingsCard(props) {
1375
1374
  { value: "auto", label: t("discordLanguageAuto") },
1376
1375
  ...LANGUAGE_CHOICES
1377
1376
  ];
1378
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
1377
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
1379
1378
  PluginCard,
1380
1379
  {
1381
1380
  copy,
@@ -1472,10 +1471,11 @@ function DiscordSettingsCard(props) {
1472
1471
  props.resetField(LANGUAGE_FIELD);
1473
1472
  }
1474
1473
  }
1475
- )
1474
+ ),
1475
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { "data-dsh-discord-card-footer-link": "", style: { margin: "6px 2px 0", fontSize: 12, opacity: 0.6 }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", { href: "https://github.com/addozhang/dsh-discord", target: "_blank", rel: "noopener noreferrer", children: "\u2B50 Feedback & docs" }) })
1476
1476
  ]
1477
1477
  }
1478
- );
1478
+ ) });
1479
1479
  }
1480
1480
 
1481
1481
  // src/client/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@addozhang/dsh-discord",
3
- "version": "0.6.4-rc.1",
3
+ "version": "0.6.4-rc.2",
4
4
  "description": "Discord adapter for DeepSeek Harness · DeepSeek Harness 的 Discord 适配器",
5
5
  "license": "MIT",
6
6
  "type": "module",