dsh-select-quote 0.3.15 → 0.3.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.
Files changed (2) hide show
  1. package/lib/client.js +1 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -21966,7 +21966,7 @@ function createAnnotationPersistence() {
21966
21966
  const inject = ["slots", "locale"];
21967
21967
  function apply(ctx) {
21968
21968
  ensureToolbarStyles();
21969
- ctx.effect(() => ctx.locale.addLanguage(LANGUAGE_RU), "dsh-select-quote: ru language");
21969
+ if (!ctx.locale.getSnapshot().locales.map((language) => language.id).includes(LANGUAGE_RU.id)) ctx.effect(() => ctx.locale.addLanguage(LANGUAGE_RU), "dsh-select-quote: ru language");
21970
21970
  ctx.effect(() => ctx.locale.register(LOCALE_NS, SHIPPED_DICTS), "dsh-select-quote: dictionaries (zh, en)");
21971
21971
  ctx.effect(() => ctx.locale.register(LOCALE_NS, LANGUAGE_RU.id, DICTIONARIES.ru), "dsh-select-quote: dictionary (ru)");
21972
21972
  bindLocale({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-select-quote",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "DeepSeek Harness web plugin: annotate text selected in the conversation — the selection rides along with your next message, is marked in the source text, and the model points back at it.",
5
5
  "keywords": [
6
6
  "deepseek",