dsh-session-guard 4.2.8 → 4.2.9

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/INSTALL.it.md ADDED
@@ -0,0 +1,117 @@
1
+ # Guida all'installazione (CLI DSH ufficiale)
2
+
3
+ Questa guida usa solo il comando ufficiale `dsh plugin` di DSH.
4
+
5
+ - [Guida all'installazione in italiano](./INSTALL.it.md)
6
+ - [English installation guide](./INSTALL.md)
7
+ - [中文安装指南](./INSTALL.zh.md)
8
+ - [日本語インストールガイド](./INSTALL.ja.md)
9
+ - [한국어 설치 안내](./INSTALL.ko.md)
10
+ - [Guide d'installation en français](./INSTALL.fr.md)
11
+ - [Installationsanleitung auf Deutsch](./INSTALL.de.md)
12
+ - [Руководство по установке на русском](./INSTALL.ru.md)
13
+ - [Guía de instalación en español](./INSTALL.es.md)
14
+ - [English README](./README.en.md)
15
+ - [中文 README](./README.md)
16
+ - [日本語 README](./README.ja.md)
17
+ - [한국어 README](./README.ko.md)
18
+ - [README en français](./README.fr.md)
19
+ - [README auf Deutsch](./README.de.md)
20
+ - [README in italiano](./README.it.md)
21
+ - [README in russo](./README.ru.md)
22
+ - [README en español](./README.es.md)
23
+ - [Changelog](./CHANGELOG.md)
24
+ - [日本語 changelog](./CHANGELOG.ja.md)
25
+ - [한국어 changelog](./CHANGELOG.ko.md)
26
+ - [Changelog en français](./CHANGELOG.fr.md)
27
+ - [Changelog auf Deutsch](./CHANGELOG.de.md)
28
+ - [Changelog in italiano](./CHANGELOG.it.md)
29
+ - [Changelog in russo](./CHANGELOG.ru.md)
30
+ - [Changelog en español](./CHANGELOG.es.md)
31
+
32
+ ## 0. Prerequisiti
33
+
34
+ ```bash
35
+ echo "DSH_HOME=${DSH_HOME:-$HOME/.dsh}"
36
+ dsh --version
37
+ ```
38
+
39
+ ## 1. Installare
40
+
41
+ ```bash
42
+ dsh plugin --profile web add dsh-session-guard@dsh-0.1.5
43
+
44
+ # oppure direttamente dal branch git
45
+ dsh plugin --profile web add github:drscrewdriver/dsh-session-guard#compat/0.1.5
46
+ ```
47
+
48
+ `compat/0.1.5` è la linea dedicata a DSH `0.1.5-rc.x`: numero di versione npm **`3.0.0`**, dist-tag
49
+ **`dsh-0.1.5`**, con `engines.dsh = >=0.1.5-rc.2 <0.2.0-0` **sia** in `package.json` **che** in
50
+ `dsh.plugin.json`.
51
+
52
+ Gli host DSH `0.1.2-rc.x` devono usare il branch **`legacy/0.1.2`** (dist-tag npm `dsh-0.1.2`,
53
+ versione `0.3.1`). **`main` è congelato a `0.2.0-beta.1` e non è più il branch di rilascio della
54
+ linea 0.1.2.**
55
+
56
+ > ⚠️ Non affidarsi al nome di pacchetto nudo `dsh-session-guard`: il tag `latest` di npm non può servire
57
+ > due linee di versione mutuamente esclusive (i loro intervalli `engines.dsh` sono esclusivi secondo il
58
+ > matching semver delle prerelease) — indicare sempre esplicitamente il dist-tag.
59
+
60
+ Riavviare dsh web e ricaricare la pagina.
61
+
62
+ ## 2. Verificare
63
+
64
+ Aprire **Impostazioni → Plugin → session-guard**. Interruttori: `enabled`, `providerGuard`, `guardSubagents`,
65
+ `offPeakAutoResume`, `weekendMode`, `deferredResume`, `queueFallback`, `retryEnabled`; campi testo/lista:
66
+ `officialProviders`, `officialBaseURLs`, `deferredResumeText`.
67
+
68
+ Controllare il badge di stato nell'interfaccia di sessione — mostra la fase corrente (`高峰·拦官方` / `高峰·全部暂停`
69
+ / `谷时` / `周末`).
70
+
71
+ Verificare il giudizio sulla sorgente ufficiale per una route (route dell'host, senza riavvio):
72
+
73
+ ```bash
74
+ curl -s 'http://127.0.0.1:3080/session-guard/provider?provider=deepseek-official'
75
+ # {"ok":true,"verdict":{"provider":"deepseek-official","official":true,"matchedBy":"endpoint","endpoint":"https://api.deepseek.com"}}
76
+ ```
77
+
78
+ Eseguire la suite di test (senza rete, senza credenziali):
79
+
80
+ ```bash
81
+ npm test
82
+ ```
83
+
84
+ ## 3. Aggiornare
85
+
86
+ ```bash
87
+ dsh plugin --profile web remove dsh-session-guard
88
+ dsh plugin --profile web add dsh-session-guard@dsh-0.1.5
89
+ ```
90
+
91
+ Riavviare dsh web e ricaricare la pagina. Le impostazioni vivono in `$DSH_HOME/settings.yaml` nel namespace
92
+ `session-guard` e sopravvivono all'aggiornamento; le nuove chiavi (`providerGuard`, `deferredMode`, …)
93
+ restano sui valori predefiniti finché non vengono toccate.
94
+
95
+ Dal **plugin** `0.1.3` / `0.1.4-beta.1` al **plugin** `0.1.5-beta.1` l'unico cambio di comportamento è che nelle ore di punta vengono
96
+ bloccati **per impostazione predefinita solo** gli obiettivi di sorgente ufficiale. Per tornare al vecchio comportamento generalizzato
97
+ impostare `providerGuard: false` (o restringere il giudizio con `officialProviders` / `officialBaseURLs`).
98
+ (Queste sono versioni del plugin, non di DSH — non confonderle con gli intervalli dell'host indicati sopra.)
99
+
100
+ ## 4. Risoluzione dei problemi
101
+
102
+ | Sintomo | Verifica |
103
+ |---|---|
104
+ | Le sessioni continuano a girare in punta | `GET /session-guard/status` → `phase` deve essere `peak`; `GET /session-guard/settings` → `enabled: true` |
105
+ | Un provider locale viene bloccato in punta | `GET /session-guard/provider?provider=<id>` → `matchedBy` dovrebbe essere `endpoint`/`unknown` con `official: false`. Se è `explicit`, rimuovere l'id da `officialProviders` |
106
+ | Una richiesta ufficiale NON viene bloccata | `matchedBy: 'endpoint'` con `official: false` significa che la `baseURL` della route non è in `officialBaseURLs`; aggiungere lì l'host, oppure aggiungere l'id della route a `officialProviders` |
107
+ | Le richieste restano sospese invece di fallire | È la modalità `hold`, voluta per progetto. Per un errore esplicito impostare `deferredMode: 'error'`, oppure abbassare `deferredMaxHoldMs` |
108
+ | Dopo la punta nulla si riprende | `deferredResume` deve essere attivo (o eseguire `/resume`); `offPeakAutoResume` governa la ripresa a livello di sessione |
109
+ | Diagnostica del giudizio non disponibile | `GET /session-guard/diag` → `providerGuard`, `configurableProviders`, `held`, `deferred` |
110
+
111
+ ## 5. Disinstallare
112
+
113
+ ```bash
114
+ dsh plugin --profile web remove dsh-session-guard
115
+ ```
116
+
117
+ Riavviare dsh web. Le richieste trattenute vengono rilasciate (respinte) allo scaricamento — nessuna perdita di promise.
package/INSTALL.ru.md ADDED
@@ -0,0 +1,117 @@
1
+ # Руководство по установке (официальный CLI DSH)
2
+
3
+ В этом руководстве используется только официальная команда DSH `dsh plugin`.
4
+
5
+ - [Руководство по установке на русском](./INSTALL.ru.md)
6
+ - [English installation guide](./INSTALL.md)
7
+ - [中文安装指南](./INSTALL.zh.md)
8
+ - [日本語インストールガイド](./INSTALL.ja.md)
9
+ - [한국어 설치 안내](./INSTALL.ko.md)
10
+ - [Guide d'installation en français](./INSTALL.fr.md)
11
+ - [Installationsanleitung auf Deutsch](./INSTALL.de.md)
12
+ - [Guida all'installazione in italiano](./INSTALL.it.md)
13
+ - [Guía de instalación en español](./INSTALL.es.md)
14
+ - [English README](./README.en.md)
15
+ - [中文 README](./README.md)
16
+ - [日本語 README](./README.ja.md)
17
+ - [한국어 README](./README.ko.md)
18
+ - [README en français](./README.fr.md)
19
+ - [README auf Deutsch](./README.de.md)
20
+ - [README in italiano](./README.it.md)
21
+ - [README на русском](./README.ru.md)
22
+ - [README en español](./README.es.md)
23
+ - [Changelog](./CHANGELOG.md)
24
+ - [日本語 changelog](./CHANGELOG.ja.md)
25
+ - [한국어 changelog](./CHANGELOG.ko.md)
26
+ - [Changelog en français](./CHANGELOG.fr.md)
27
+ - [Changelog auf Deutsch](./CHANGELOG.de.md)
28
+ - [Changelog in italiano](./CHANGELOG.it.md)
29
+ - [Changelog на русском](./CHANGELOG.ru.md)
30
+ - [Changelog en español](./CHANGELOG.es.md)
31
+
32
+ ## 0. Предварительные требования
33
+
34
+ ```bash
35
+ echo "DSH_HOME=${DSH_HOME:-$HOME/.dsh}"
36
+ dsh --version
37
+ ```
38
+
39
+ ## 1. Установка
40
+
41
+ ```bash
42
+ dsh plugin --profile web add dsh-session-guard@dsh-0.1.5
43
+
44
+ # или прямо из ветки git
45
+ dsh plugin --profile web add github:drscrewdriver/dsh-session-guard#compat/0.1.5
46
+ ```
47
+
48
+ `compat/0.1.5` — выделенная линия для DSH `0.1.5-rc.x`: номер версии npm-пакета **`3.0.0`**, dist-tag
49
+ **`dsh-0.1.5`**, с `engines.dsh = >=0.1.5-rc.2 <0.2.0-0` **одновременно** в `package.json` и
50
+ в `dsh.plugin.json`.
51
+
52
+ Хостам DSH `0.1.2-rc.x` следует использовать ветку **`legacy/0.1.2`** (npm dist-tag `dsh-0.1.2`,
53
+ версия `0.3.1`). **`main` заморожен на `0.2.0-beta.1` и больше не является веткой релизов
54
+ линии 0.1.2.**
55
+
56
+ > ⚠️ Не полагайтесь на «голое» имя пакета `dsh-session-guard`: тег `latest` в npm не может обслуживать
57
+ > сразу две взаимоисключающие линии версий (их диапазоны `engines.dsh` взаимоисключающи по правилам
58
+ > сопоставления prerelease в semver) — dist-tag всегда указывайте явно.
59
+
60
+ Перезапустите dsh web и обновите страницу.
61
+
62
+ ## 2. Проверка
63
+
64
+ Откройте **Настройки → Плагины → session-guard**. Переключатели: `enabled`, `providerGuard`, `guardSubagents`,
65
+ `offPeakAutoResume`, `weekendMode`, `deferredResume`, `queueFallback`, `retryEnabled`; текстовые/списковые поля:
66
+ `officialProviders`, `officialBaseURLs`, `deferredResumeText`.
67
+
68
+ Проверьте бейдж состояния в интерфейсе сессии — он показывает текущую фазу (`高峰·拦官方` / `高峰·全部暂停`
69
+ / `谷时` / `周末`).
70
+
71
+ Проверьте вердикт по официальному источнику для одного маршрута (маршрут хоста, перезапуск не нужен):
72
+
73
+ ```bash
74
+ curl -s 'http://127.0.0.1:3080/session-guard/provider?provider=deepseek-official'
75
+ # {"ok":true,"verdict":{"provider":"deepseek-official","official":true,"matchedBy":"endpoint","endpoint":"https://api.deepseek.com"}}
76
+ ```
77
+
78
+ Запустите набор тестов (без сети и учётных данных):
79
+
80
+ ```bash
81
+ npm test
82
+ ```
83
+
84
+ ## 3. Обновление
85
+
86
+ ```bash
87
+ dsh plugin --profile web remove dsh-session-guard
88
+ dsh plugin --profile web add dsh-session-guard@dsh-0.1.5
89
+ ```
90
+
91
+ Перезапустите dsh web и обновите страницу. Настройки лежат в `$DSH_HOME/settings.yaml` в пространстве
92
+ имён `session-guard` и переживают обновление; новые ключи (`providerGuard`, `deferredMode`, …)
93
+ держат значения по умолчанию, пока вы их не тронете.
94
+
95
+ С **плагина** `0.1.3` / `0.1.4-beta.1` на **плагин** `0.1.5-beta.1` единственное изменение поведения: в часы пик по умолчанию
96
+ блокируются **только** цели на официальных источниках. Чтобы вернуть прежнее тотальное поведение, задайте
97
+ `providerGuard: false` (или сузьте вердикт через `officialProviders` / `officialBaseURLs`).
98
+ (Это версии плагина, а не DSH — не путайте их с диапазонами хоста выше.)
99
+
100
+ ## 4. Устранение неполадок
101
+
102
+ | Симптом | Что проверить |
103
+ |---|---|
104
+ | Сессии продолжают работать в пик | `GET /session-guard/status` → `phase` должен быть `peak`; `GET /session-guard/settings` → `enabled: true` |
105
+ | Локальный провайдер блокируется в пик | `GET /session-guard/provider?provider=<id>` → `matchedBy` должно быть `endpoint`/`unknown` с `official: false`. Если стоит `explicit`, удалите id из `officialProviders` |
106
+ | Официальный запрос НЕ блокируется | `matchedBy: 'endpoint'` с `official: false` означает, что `baseURL` маршрута нет в `officialBaseURLs`; добавьте туда хост или добавьте id маршрута в `officialProviders` |
107
+ | Запросы зависают вместо ошибки | Так и задумано: это режим `hold`. Для явной ошибки задайте `deferredMode: 'error'` или уменьшите `deferredMaxHoldMs` |
108
+ | После пика ничего не возобновляется | `deferredResume` должен быть включён (или выполните `/resume`); за возобновление на уровне сессии отвечает `offPeakAutoResume` |
109
+ | Диагностика вердикта недоступна | `GET /session-guard/diag` → `providerGuard`, `configurableProviders`, `held`, `deferred` |
110
+
111
+ ## 5. Удаление
112
+
113
+ ```bash
114
+ dsh plugin --profile web remove dsh-session-guard
115
+ ```
116
+
117
+ Перезапустите dsh web. Удерживаемые запросы освобождаются (отклоняются) при выгрузке — утечек promise нет.
package/README.de.md CHANGED
@@ -55,7 +55,7 @@
55
55
  >
56
56
  > **Identität dieser Linie**: Zweig `compat/0.2.0`, npm-Versionsnummer **`4.0.0`** (semver), dist-tag **`dsh-0.2.0`**.
57
57
  > Die `engines.dsh` in `package.json` und `dsh.plugin.json` sowie die vier `@deepseek-ai/dsh-client-*`-Peers
58
- > sind einheitlich auf `0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5` gesetzt; die Untergrenze des `@deepseek-ai/cordis`-Peers entspricht dem `^4.0.4` der Host-Linie.
58
+ > sind einheitlich auf `>=0.1.0-rc.2 <0.3.0-0` gesetzt; die Untergrenze des `@deepseek-ai/cordis`-Peers entspricht dem `^4.0.4` der Host-Linie.
59
59
  > Früher benutzte das README „2.x / 3.x" als **Liniencoden** — das war eine Erzählkonvention, **keine aus der Registry
60
60
  > pullbare Versionsnummer** — maßgeblich sind ausschließlich die npm-Versionen `0.3.1` (0.1.2-Linie), `3.0.0`/`3.0.1` (0.1.5-Linie),
61
61
  > `3.2.4` (0.1.7-Linie) und `4.0.0` (0.2.0-Linie).
package/README.es.md CHANGED
@@ -55,7 +55,7 @@
55
55
  >
56
56
  > **Identidad de esta línea**: rama `compat/0.2.0`, número de versión npm **`4.0.0`** (semver), dist-tag **`dsh-0.2.0`**.
57
57
  > Los `engines.dsh` de `package.json` y `dsh.plugin.json` y los cuatro pares `@deepseek-ai/dsh-client-*`
58
- > se unifican en `0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5`; el límite inferior del par `@deepseek-ai/cordis` se alinea con el `^4.0.4` de la línea del host.
58
+ > se unifican en `>=0.1.0-rc.2 <0.3.0-0`; el límite inferior del par `@deepseek-ai/cordis` se alinea con el `^4.0.4` de la línea del host.
59
59
  > Históricamente el README usó «2.x / 3.x» como **apodos de línea**: era una costumbre narrativa, **no números de versión
60
60
  > descargables del registro** — guíate siempre por las versiones npm `0.3.1` (línea 0.1.2), `3.0.0`/`3.0.1` (línea 0.1.5),
61
61
  > `3.2.4` (línea 0.1.7) y `4.0.0` (línea 0.2.0).
package/README.fr.md CHANGED
@@ -55,7 +55,7 @@
55
55
  >
56
56
  > **Identité de cette ligne** : branche `compat/0.2.0`, numéro de version npm **`4.0.0`** (semver), dist-tag **`dsh-0.2.0`**.
57
57
  > Les `engines.dsh` de `package.json` et de `dsh.plugin.json` ainsi que les quatre peers `@deepseek-ai/dsh-client-*`
58
- > sont unifiés à `0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5` ; le plancher du peer `@deepseek-ai/cordis` est aligné sur le `^4.0.4` de la ligne hôte.
58
+ > sont unifiés à `>=0.1.0-rc.2 <0.3.0-0` ; le plancher du peer `@deepseek-ai/cordis` est aligné sur le `^4.0.4` de la ligne hôte.
59
59
  > Historiquement, le README utilisait « 2.x / 3.x » comme **surnoms de ligne** ; c'était une convention narrative, **pas des numéros de version téléchargeables depuis le registre** —
60
60
  > référez-vous toujours aux versions npm `0.3.1` (ligne 0.1.2), `3.0.0`/`3.0.1` (ligne 0.1.5), `3.2.4` (ligne 0.1.7) et `4.0.0` (ligne 0.2.0).
61
61
  >
package/README.it.md CHANGED
@@ -55,7 +55,7 @@
55
55
  >
56
56
  > **Identità di questa linea**: branch `compat/0.2.0`, numero di versione npm **`4.0.0`** (semver), dist-tag **`dsh-0.2.0`**.
57
57
  > I `engines.dsh` di `package.json` e `dsh.plugin.json` e i quattro peer `@deepseek-ai/dsh-client-*`
58
- > sono unificati a `0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5`; il floor del peer `@deepseek-ai/cordis` è allineato al `^4.0.4` della linea host.
58
+ > sono unificati a `>=0.1.0-rc.2 <0.3.0-0`; il floor del peer `@deepseek-ai/cordis` è allineato al `^4.0.4` della linea host.
59
59
  > In passato il README usava «2.x / 3.x» come **nomi in codice di linea**: era una convenzione narrativa, **non numeri di versione
60
60
  > scaricabili dal registry** — fare riferimento sempre alle versioni npm `0.3.1` (linea 0.1.2), `3.0.0`/`3.0.1` (linea 0.1.5),
61
61
  > `3.2.4` (linea 0.1.7) e `4.0.0` (linea 0.2.0).
package/README.md CHANGED
@@ -55,7 +55,7 @@
55
55
  >
56
56
  > **本线身份**:分支 `compat/0.2.0`,npm 版本号 **`4.0.0`**(semver),dist-tag **`dsh-0.2.0`**。
57
57
  > `package.json` 与 `dsh.plugin.json` 的 `engines.dsh` 与四个 `@deepseek-ai/dsh-client-*`
58
- > peer 线统一为 20 档精确枚举 `0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5`;`@deepseek-ai/cordis` peer 下限对齐宿主线的 `^4.0.4`。
58
+ > peer 线与 `engines.dsh` 统一为同一条有界区间 `>=0.1.0-rc.2 <0.3.0-0`(下限=0.1.0 线起点,上限带 `-0` 以堵在 `0.3.0-rc.*`);`@deepseek-ai/cordis` peer 下限对齐宿主线的 `^4.0.4`。
59
59
  > 历史上 README 曾用「2.x / 3.x」当**线代号**,那是叙述习惯,**不是注册表里可拉取的版本号** ——
60
60
  > 请一律以 npm 版本号 `0.3.1`(0.1.2 线)、`3.0.0`/`3.0.1`(0.1.5 线)、`3.2.4`(0.1.7 线)与 `4.0.0`(0.2.0 线)为准。
61
61
  >
package/README.ru.md CHANGED
@@ -55,7 +55,7 @@
55
55
  >
56
56
  > **Идентификация этой линии**: ветка `compat/0.2.0`, номер версии npm **`4.0.0`** (semver), dist-tag **`dsh-0.2.0`**.
57
57
  > `engines.dsh` в `package.json` и `dsh.plugin.json`, а также четыре peer-зависимости `@deepseek-ai/dsh-client-*`
58
- > единообразно приведены к `0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5`; нижняя граница peer-зависимости `@deepseek-ai/cordis` выровнена по `^4.0.4` хостовой линии.
58
+ > единообразно приведены к `>=0.1.0-rc.2 <0.3.0-0`; нижняя граница peer-зависимости `@deepseek-ai/cordis` выровнена по `^4.0.4` хостовой линии.
59
59
  > Раньше README использовало «2.x / 3.x» как **кодовые имена линий** — это была манера изложения, а **не номера версий, которые можно
60
60
  > получить из реестра**, — ориентируйтесь только на npm-версии `0.3.1` (линия 0.1.2), `3.0.0`/`3.0.1` (линия 0.1.5),
61
61
  > `3.2.4` (линия 0.1.7) и `4.0.0` (линия 0.2.0).
package/dsh.plugin.json CHANGED
@@ -1,16 +1,16 @@
1
- {
2
- "id": "dsh-external/dsh-session-guard",
3
- "version": "4.2.8",
4
- "main": "./src/index.js",
5
- "description": "高峰自动会话门:step 级门控 + 周末模式 + 高峰自动暂停 + 官方源二维判定 + 会话级冻结 + 后端自动重试。",
6
- "engines": {
7
- "dsh": ">=0.1.1-rc.2 <0.3.0"
8
- },
9
- "contributes": {
10
- "tools": [],
11
- "skills": []
12
- },
13
- "client": {
14
- "main": "./lib/client.js"
15
- }
16
- }
1
+ {
2
+ "id": "dsh-external/dsh-session-guard",
3
+ "version": "4.2.9",
4
+ "main": "./src/index.js",
5
+ "description": "高峰自动会话门:step 级门控 + 周末模式 + 高峰自动暂停 + 官方源二维判定 + 会话级冻结 + 后端自动重试。",
6
+ "engines": {
7
+ "dsh": ">=0.1.0-rc.2 <0.3.0-0"
8
+ },
9
+ "contributes": {
10
+ "tools": [],
11
+ "skills": []
12
+ },
13
+ "client": {
14
+ "main": "./lib/client.js"
15
+ }
16
+ }