dsh-session-guard 4.2.4 → 4.2.6

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/CHANGELOG.ja.md CHANGED
@@ -18,47 +18,47 @@
18
18
  - `dsh.plugin.json` の `engines.dsh` を同じ 16 ホスト列挙に統一(従来は範囲 `>=0.2.0-rc.1 <0.2.1-0`。ゲートは `package.json` のみを読むが、両リストは一致すべき)。
19
19
  - README の互換記述を列挙に同期(zh/de/es/fr/it/ru)。このリリースに動作変更はありません。
20
20
 
21
- ## 4.2.0 — 2026-10-17
22
-
23
- ### 追加
24
- - 法定祝日対応(src/holidays.js + src/holiday-store.js)。内置 2026 確定スナップショット:39 行 = 33 休日 + 6 振替出勤日(出典 holiday-cn、国務院公告)。厳格 parse(ゼロ埋め日付、isOffDay 真偽、跨年拒否);判定字段のみ sha256 指紋(上流の文言/順序変更は偽差異を出さない)。キャッシュファイル $DSH_HOME/.dsh/session-guard/holidays/<year>.json はロード時に指紋照合、不一致は破棄して内置フォールバック + 再取得。自動更新:起動時 + 每小时 ensureFresh;対象年は北京当年、11/12 月は翌年も(年末公告はリリース無しで反映);jsDelivr 主 / raw.githubusercontent 副、10s タイムアウト;指紋変化時のみ原子的書込;24h 再取得抑制;全链路 fail-open。DSH_SESSION_GUARD_HOLIDAY_FETCH=0 で離线内置固定。
25
- - 宣言式開关 holidayMode / holidayAutoFetch(どちらも既定 ON)。/session-guard/status に holidayMode + holidays[](年/出典/指紋/取得时刻/件数)を追加。
26
-
27
- ### 変更
28
- - weekendMode を休息日语义へ昇格:法定祝日は终日オフピーク、振替出勤周末は通常どおりピーク判定、nextOffPeakInstant の先読み 7 -> 14 日で表対応。holidayMap は readCfg 経由で cfg に載り、shouldPause 消费链(scheduler tick / request-guard / step-gate / wiring)はシグネチャ不変で自动生效。
29
-
30
- ### 修正
31
- - family claim rank 1 -> 2、冻结权重表(唯一真源 _tools/family-rank.mjs)と整合。
32
-
33
- ## 4.1.16 — 2026-10-14(マニフェスト整合/欠落していた 4.1.15 の補記)
34
-
35
- ### 修正
36
-
37
- - `dsh.plugin.json` の版数を `package.json` と一致させた。公開済みの 4.1.15 ターボールは
38
- まだ 4.1.14 と書かれていた(レジストリから実際にダウンロードして確認)。
39
- - 動作変更なし。
40
- - テストの構造ピンが退役済みの歯車入口をまだ要求しており、4.1.15 以来スイートが赤だった。
41
- 不在を断言する側へ修正した。
42
-
43
- ## 4.1.15 — 2026-10-08(補記:リリース当時この項が書かれていませんでした)
44
-
45
- ### 削除
46
-
47
- - シェルレベルの `shell.overlay` シート注入を廃止:右下固定の歯車ボタンと浮層レイヤーを除去
48
- (`src/client/shell-overlay.tsx` を削除)。設定への入口はホストの設定ページのみを頼る。
49
-
50
- ## 4.1.14 — 2026-10-08
51
-
52
- ### 削除
53
-
54
- ## 4.1.13 — 2026-10-08
55
-
56
- ### 修正 — ≤0.1.5 でのブリッジ記述子スケルトン(5セルゲートで発覚)
57
-
58
- - **≤0.1.5 ホストの describe `value` はフィールドスケルトン**(実測:`{enabled:{},…}`、実値は `base`+`user` 層)。旧世代で `descriptor.value` をそのまま消費すると `officialProviders` が `{}` になり `?? []` を素通りして `ListRow` の `values.join` が throw、`dsh-family.tab` スロット全体が殉葬していた。`descriptorPlainValue()` がスケルトンを検出して `{...base, ...user}` を再構築。
59
- - **カード字段消毒(多層防御)**:スロットは一つの描画エラーで全族タブが死ぬため、`ListRow` 入力を `toList()` で無毒化、`拦截方式` セレクトは非 `error` 値を `hold` にフォールバック。
60
- - 5セルファームゲートで検証:0.1.0/0.1.5 はブリッジ経由、0.1.7 は configForms 経由でシード値 `321123` の読み返しを確認。
61
-
21
+ ## 4.2.0 — 2026-10-17
22
+
23
+ ### 追加
24
+ - 法定祝日対応(src/holidays.js + src/holiday-store.js)。内置 2026 確定スナップショット:39 行 = 33 休日 + 6 振替出勤日(出典 holiday-cn、国務院公告)。厳格 parse(ゼロ埋め日付、isOffDay 真偽、跨年拒否);判定字段のみ sha256 指紋(上流の文言/順序変更は偽差異を出さない)。キャッシュファイル $DSH_HOME/.dsh/session-guard/holidays/<year>.json はロード時に指紋照合、不一致は破棄して内置フォールバック + 再取得。自動更新:起動時 + 每小时 ensureFresh;対象年は北京当年、11/12 月は翌年も(年末公告はリリース無しで反映);jsDelivr 主 / raw.githubusercontent 副、10s タイムアウト;指紋変化時のみ原子的書込;24h 再取得抑制;全链路 fail-open。DSH_SESSION_GUARD_HOLIDAY_FETCH=0 で離线内置固定。
25
+ - 宣言式開关 holidayMode / holidayAutoFetch(どちらも既定 ON)。/session-guard/status に holidayMode + holidays[](年/出典/指紋/取得时刻/件数)を追加。
26
+
27
+ ### 変更
28
+ - weekendMode を休息日语义へ昇格:法定祝日は终日オフピーク、振替出勤周末は通常どおりピーク判定、nextOffPeakInstant の先読み 7 -> 14 日で表対応。holidayMap は readCfg 経由で cfg に載り、shouldPause 消费链(scheduler tick / request-guard / step-gate / wiring)はシグネチャ不変で自动生效。
29
+
30
+ ### 修正
31
+ - family claim rank 1 -> 2、冻结权重表(唯一真源 _tools/family-rank.mjs)と整合。
32
+
33
+ ## 4.1.16 — 2026-10-14(マニフェスト整合/欠落していた 4.1.15 の補記)
34
+
35
+ ### 修正
36
+
37
+ - `dsh.plugin.json` の版数を `package.json` と一致させた。公開済みの 4.1.15 ターボールは
38
+ まだ 4.1.14 と書かれていた(レジストリから実際にダウンロードして確認)。
39
+ - 動作変更なし。
40
+ - テストの構造ピンが退役済みの歯車入口をまだ要求しており、4.1.15 以来スイートが赤だった。
41
+ 不在を断言する側へ修正した。
42
+
43
+ ## 4.1.15 — 2026-10-08(補記:リリース当時この項が書かれていませんでした)
44
+
45
+ ### 削除
46
+
47
+ - シェルレベルの `shell.overlay` シート注入を廃止:右下固定の歯車ボタンと浮層レイヤーを除去
48
+ (`src/client/shell-overlay.tsx` を削除)。設定への入口はホストの設定ページのみを頼る。
49
+
50
+ ## 4.1.14 — 2026-10-08
51
+
52
+ ### 削除
53
+
54
+ ## 4.1.13 — 2026-10-08
55
+
56
+ ### 修正 — ≤0.1.5 でのブリッジ記述子スケルトン(5セルゲートで発覚)
57
+
58
+ - **≤0.1.5 ホストの describe `value` はフィールドスケルトン**(実測:`{enabled:{},…}`、実値は `base`+`user` 層)。旧世代で `descriptor.value` をそのまま消費すると `officialProviders` が `{}` になり `?? []` を素通りして `ListRow` の `values.join` が throw、`dsh-family.tab` スロット全体が殉葬していた。`descriptorPlainValue()` がスケルトンを検出して `{...base, ...user}` を再構築。
59
+ - **カード字段消毒(多層防御)**:スロットは一つの描画エラーで全族タブが死ぬため、`ListRow` 入力を `toList()` で無毒化、`拦截方式` セレクトは非 `error` 値を `hold` にフォールバック。
60
+ - 5セルファームゲートで検証:0.1.0/0.1.5 はブリッジ経由、0.1.7 は configForms 経由でシード値 `321123` の読み返しを確認。
61
+
62
62
  ## 4.0.0 — 2026-09-29
63
63
 
64
64
  ### Changed
package/CHANGELOG.ko.md CHANGED
@@ -18,47 +18,47 @@
18
18
  - `dsh.plugin.json`의 `engines.dsh`를 동일한 16호스트 열거로 통일(기존 범위 `>=0.2.0-rc.1 <0.2.1-0`였음. 게이트는 `package.json`만 읽지만 두 목록은 일치해야 함).
19
19
  - README 호환 서술(zh/de/es/fr/it/ru)을 열거와 동기화. 이 릴리스에는 동작 변경 없음.
20
20
 
21
- ## 4.2.0 — 2026-10-17
22
-
23
- ### 추가
24
- - 법정 공휴 인식(src/holidays.js + src/holiday-store.js). 내장 2026 확정 스냅샷: 39행 = 33 휴일 + 6 보근 근무일(출처 holiday-cn, 국무원 공고). 엄격한 파싱(제로패딩 날짜, isOffDay 불리언, 연도 초과 거부); 판정 필드만 sha256 지문(상문구/순서 변경은 오탐 없음). 캐시 파일 $DSH_HOME/.dsh/session-guard/holidays/<year>.json 은 로드 시 지문 자체 검증 — 불일치 시 폐기 후 내장 폴백 + 재조회. 자동 갱신: 시작 시 + 매시간 ensureFresh; 관련 연도 = 베이징 현재 연도, 11/12 월은 이듬해 추가(jsDelivr 주, raw.githubusercontent 보조, 10s 타임아웃); 지문 변화 시에만 원자적 tmp+rename 기록; 24h 재조회 억제; 전 구간 fail-open. DSH_SESSION_GUARD_HOLIDAY_FETCH=0 오프라인 고정.
25
- - 선언식 스위치 holidayMode / holidayAutoFetch(기본 켜짐). /session-guard/status 가 holidayMode + 연도별 holidays[](출처/지문/조회시각/건수) 노출.
26
-
27
- ### 변경
28
- - weekendMode 를 휴식일 의미로 승격: 법정 공휴는 종일 비봉우리, 보근 주말은 정상 봉우리 판정, nextOffPeakInstant 선탐색 7 -> 14 일, 표 인지. holidayMap 은 readCfg 로 cfg 에 실려 shouldPause 소비 체인(스케줄러/request-guard/step-gate/wiring)이 서명 변경 없이 자동 적용.
29
-
30
- ### 수정
31
- - family claim rank 1 -> 2, 동결 가중 랭크 표(_tools/family-rank.mjs 단일 진원)와 정렬.
32
-
33
- ## 4.1.16 — 2026-10-14 (매니페스트 정리, 누락된 4.1.15 항목 보충)
34
-
35
- ### 수정
36
-
37
- - `dsh.plugin.json` 버전을 `package.json` 과 일치시켰습니다. 게시된 4.1.15 tarball 은
38
- 여전히 4.1.14 였습니다 (레지스트리에서 직접 내려받아 확인).
39
- - 동작 변경 없음.
40
- - 구조 핀이 이미 폐지된 톱니 진입점을 요구해서 4.1.15 이후 테스트가 빨랬습니다.
41
- 부존재를 단언하는 쪽으로 고쳤습니다.
42
-
43
- ## 4.1.15 — 2026-10-08 (보충: 배포 당시에 이 항목이 기록되지 않았습니다)
44
-
45
- ### 삭제
46
-
47
- - 셸 레벨 `shell.overlay` 슬롯 주입 폐지: 오른쪽 아래 고정 톱니 버튼과 부유 레이어 제거
48
- (`src/client/shell-overlay.tsx` 삭제). 설정 진입점은 호스트 설정 페이지에만 의존합니다.
49
-
50
- ## 4.1.14 — 2026-10-08
51
-
52
- ### 제거
53
-
54
- ## 4.1.13 — 2026-10-08
55
-
56
- ### 수정 — ≤0.1.5 브리지 디스크립터 스켈레톤(5셀 게이트 발견)
57
-
58
- - **≤0.1.5 호스트의 describe `value`는 필드 스켈레톤**(실측: `{enabled:{},…}`, 실값은 `base`+`user` 레이어). 구세대에서 `descriptor.value`를 그대로 쓰면 `officialProviders`가 `{}`가 되어 `?? []`를 통과하고 `ListRow`의 `values.join`이 throw, `dsh-family.tab` 슬롯 전체가 순직.`descriptorPlainValue()`가 스켈레톤을 감지해 `{...base, ...user}`로 재구성.
59
- - **카드 필드 소독(다층 방어)**: 슬롯은 렌더 오류 하나로 전체 탭이 죽으므로 `ListRow` 입력을 `toList()`로 무독화, `拦截方式` 셀렉트는 non-`error` 값을 `hold`로 폴백.
60
- - 5셀 팜 게이트 검증: 0.1.0/0.1.5는 브리지 경유, 0.1.7은 configForms 경유로 시드값 `321123` 재판독 확인.
61
-
21
+ ## 4.2.0 — 2026-10-17
22
+
23
+ ### 추가
24
+ - 법정 공휴 인식(src/holidays.js + src/holiday-store.js). 내장 2026 확정 스냅샷: 39행 = 33 휴일 + 6 보근 근무일(출처 holiday-cn, 국무원 공고). 엄격한 파싱(제로패딩 날짜, isOffDay 불리언, 연도 초과 거부); 판정 필드만 sha256 지문(상문구/순서 변경은 오탐 없음). 캐시 파일 $DSH_HOME/.dsh/session-guard/holidays/<year>.json 은 로드 시 지문 자체 검증 — 불일치 시 폐기 후 내장 폴백 + 재조회. 자동 갱신: 시작 시 + 매시간 ensureFresh; 관련 연도 = 베이징 현재 연도, 11/12 월은 이듬해 추가(jsDelivr 주, raw.githubusercontent 보조, 10s 타임아웃); 지문 변화 시에만 원자적 tmp+rename 기록; 24h 재조회 억제; 전 구간 fail-open. DSH_SESSION_GUARD_HOLIDAY_FETCH=0 오프라인 고정.
25
+ - 선언식 스위치 holidayMode / holidayAutoFetch(기본 켜짐). /session-guard/status 가 holidayMode + 연도별 holidays[](출처/지문/조회시각/건수) 노출.
26
+
27
+ ### 변경
28
+ - weekendMode 를 휴식일 의미로 승격: 법정 공휴는 종일 비봉우리, 보근 주말은 정상 봉우리 판정, nextOffPeakInstant 선탐색 7 -> 14 일, 표 인지. holidayMap 은 readCfg 로 cfg 에 실려 shouldPause 소비 체인(스케줄러/request-guard/step-gate/wiring)이 서명 변경 없이 자동 적용.
29
+
30
+ ### 수정
31
+ - family claim rank 1 -> 2, 동결 가중 랭크 표(_tools/family-rank.mjs 단일 진원)와 정렬.
32
+
33
+ ## 4.1.16 — 2026-10-14 (매니페스트 정리, 누락된 4.1.15 항목 보충)
34
+
35
+ ### 수정
36
+
37
+ - `dsh.plugin.json` 버전을 `package.json` 과 일치시켰습니다. 게시된 4.1.15 tarball 은
38
+ 여전히 4.1.14 였습니다 (레지스트리에서 직접 내려받아 확인).
39
+ - 동작 변경 없음.
40
+ - 구조 핀이 이미 폐지된 톱니 진입점을 요구해서 4.1.15 이후 테스트가 빨랬습니다.
41
+ 부존재를 단언하는 쪽으로 고쳤습니다.
42
+
43
+ ## 4.1.15 — 2026-10-08 (보충: 배포 당시에 이 항목이 기록되지 않았습니다)
44
+
45
+ ### 삭제
46
+
47
+ - 셸 레벨 `shell.overlay` 슬롯 주입 폐지: 오른쪽 아래 고정 톱니 버튼과 부유 레이어 제거
48
+ (`src/client/shell-overlay.tsx` 삭제). 설정 진입점은 호스트 설정 페이지에만 의존합니다.
49
+
50
+ ## 4.1.14 — 2026-10-08
51
+
52
+ ### 제거
53
+
54
+ ## 4.1.13 — 2026-10-08
55
+
56
+ ### 수정 — ≤0.1.5 브리지 디스크립터 스켈레톤(5셀 게이트 발견)
57
+
58
+ - **≤0.1.5 호스트의 describe `value`는 필드 스켈레톤**(실측: `{enabled:{},…}`, 실값은 `base`+`user` 레이어). 구세대에서 `descriptor.value`를 그대로 쓰면 `officialProviders`가 `{}`가 되어 `?? []`를 통과하고 `ListRow`의 `values.join`이 throw, `dsh-family.tab` 슬롯 전체가 순직.`descriptorPlainValue()`가 스켈레톤을 감지해 `{...base, ...user}`로 재구성.
59
+ - **카드 필드 소독(다층 방어)**: 슬롯은 렌더 오류 하나로 전체 탭이 죽으므로 `ListRow` 입력을 `toList()`로 무독화, `拦截方式` 셀렉트는 non-`error` 값을 `hold`로 폴백.
60
+ - 5셀 팜 게이트 검증: 0.1.0/0.1.5는 브리지 경유, 0.1.7은 configForms 경유로 시드값 `321123` 재판독 확인.
61
+
62
62
  ## 4.0.0 — 2026-09-29
63
63
 
64
64
  ### Changed
package/CHANGELOG.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Changelog
2
-
3
- 4.2.3: host enumeration addendum for DSH 0.2.1-rc.3 (declaration-only bump; contract plane zero diff).
4
-
5
- ## 4.2.2 (2026-10-18)
6
-
7
- - hosts: 追加 0.2.1-rc.2 声明面枚举(34/34 @deepseek-ai/* 宿主 peer 逐包 npm 实测 rc.2 在版;本插件不触 ctx.web provider 与 conversation.input.model.label 槽,代码零改动,纯元数据发版;农场 rc.2 格挂账待命)
2
+
3
+ 4.2.3: host enumeration addendum for DSH 0.2.1-rc.3 (declaration-only bump; contract plane zero diff).
4
+
5
+ ## 4.2.2 (2026-10-18)
6
+
7
+ - hosts: 追加 0.2.1-rc.2 声明面枚举(34/34 @deepseek-ai/* 宿主 peer 逐包 npm 实测 rc.2 在版;本插件不触 ctx.web provider 与 conversation.input.model.label 槽,代码零改动,纯元数据发版;农场 rc.2 格挂账待命)
8
8
 
9
9
  All notable changes to `dsh-session-guard` are recorded here. Versions follow semver.
10
10
 
@@ -26,40 +26,40 @@ All notable changes to `dsh-session-guard` are recorded here. Versions follow se
26
26
  the gate only reads `package.json`, but the two lists must not diverge.
27
27
  - README compatibility statements (zh/de/es/fr/it/ru) synced to the enumeration. No behaviour change in this release.
28
28
 
29
- ## 4.2.0 — 2026-10-17
30
-
31
- ### Added
32
- - Statutory-holiday awareness (src/holidays.js + src/holiday-store.js). Builtin 2026 finalized snapshot: 39 rows = 33 rest days + 6 make-up workdays (source: holiday-cn, State Council notices). Strict parse (zero-padded dates, boolean isOffDay, cross-year rows rejected); sha256 fingerprint over the decision fields only — upstream copy/reorder edits cause no false churn. The cache file $DSH_HOME/.dsh/session-guard/holidays/<year>.json self-verifies its fingerprint at load: mismatch discards the cache (builtin fallback) and triggers a re-fetch. Auto refresh: startup check + hourly ensureFresh; relevant years = Beijing current year, Nov/Dec also add next year (the State Council publishes next year in late December, so it lands without a release); jsDelivr primary, raw.githubusercontent fallback, 10 s timeout; refetch only on fingerprint change, then atomic tmp+rename write; 24 h no-refetch budget; consistent hits only bump the check timestamp; fail-open end to end. DSH_SESSION_GUARD_HOLIDAY_FETCH=0 pins offline/builtin mode (tests ride it).
33
- - Declarative settings switches holidayMode and holidayAutoFetch (both default on; auto-form on 0.1.7+). /session-guard/status now exposes holidayMode + holidays[] per year (source / fingerprint / fetchedAt / entry count).
34
-
35
- ### Changed
36
- - weekendMode upgraded to rest-day semantics: statutory holidays (including ones landing on workdays) are off-peak all day; make-up-workday weekends enter peak gating normally; nextOffPeakInstant lookahead widened 7 -> 14 days and is table-aware. holidayMap rides cfg via readCfg, so shouldPause consumers (scheduler tick / request-guard / step-gate / wiring release timers) pick it up with zero signature churn.
37
-
38
- ### Fixed
39
- - Family claim rank 1 -> 2, aligned with the frozen weighted rank ladder (single source _tools/family-rank.mjs).
40
-
41
- ## 4.1.16 — 2026-10-14 (metadata alignment; backfill the missing 4.1.15 entry)
42
-
43
- ### Fixed
44
-
45
- - `dsh.plugin.json` now carries the same version as `package.json`. The published 4.1.15 tarball
46
- still said 4.1.14 (verified by downloading it from the registry), so the two manifests disagreed in a released artifact.
47
- - No behaviour change in this release.
48
- - Test suite repaired: the structural pin in `tests/settings-bridge.test.mjs` still demanded the
49
- retired gear entry, so the suite had been red since 4.1.15; it now asserts the opposite (absence).
50
-
51
- ## 4.1.15 — 2026-10-08 (backfilled: this entry was never written at release time)
52
-
53
- ### Removed
54
-
55
- - The shell-level `shell.overlay` slot injection: the fixed bottom-right gear button and its
56
- positioned floating layer are gone (`src/client/shell-overlay.tsx` deleted). The settings entry
57
- now relies on the host settings page alone.
58
-
59
- ## 4.1.14 — 2026-10-08
60
-
61
- ### Removed
62
-
29
+ ## 4.2.0 — 2026-10-17
30
+
31
+ ### Added
32
+ - Statutory-holiday awareness (src/holidays.js + src/holiday-store.js). Builtin 2026 finalized snapshot: 39 rows = 33 rest days + 6 make-up workdays (source: holiday-cn, State Council notices). Strict parse (zero-padded dates, boolean isOffDay, cross-year rows rejected); sha256 fingerprint over the decision fields only — upstream copy/reorder edits cause no false churn. The cache file $DSH_HOME/.dsh/session-guard/holidays/<year>.json self-verifies its fingerprint at load: mismatch discards the cache (builtin fallback) and triggers a re-fetch. Auto refresh: startup check + hourly ensureFresh; relevant years = Beijing current year, Nov/Dec also add next year (the State Council publishes next year in late December, so it lands without a release); jsDelivr primary, raw.githubusercontent fallback, 10 s timeout; refetch only on fingerprint change, then atomic tmp+rename write; 24 h no-refetch budget; consistent hits only bump the check timestamp; fail-open end to end. DSH_SESSION_GUARD_HOLIDAY_FETCH=0 pins offline/builtin mode (tests ride it).
33
+ - Declarative settings switches holidayMode and holidayAutoFetch (both default on; auto-form on 0.1.7+). /session-guard/status now exposes holidayMode + holidays[] per year (source / fingerprint / fetchedAt / entry count).
34
+
35
+ ### Changed
36
+ - weekendMode upgraded to rest-day semantics: statutory holidays (including ones landing on workdays) are off-peak all day; make-up-workday weekends enter peak gating normally; nextOffPeakInstant lookahead widened 7 -> 14 days and is table-aware. holidayMap rides cfg via readCfg, so shouldPause consumers (scheduler tick / request-guard / step-gate / wiring release timers) pick it up with zero signature churn.
37
+
38
+ ### Fixed
39
+ - Family claim rank 1 -> 2, aligned with the frozen weighted rank ladder (single source _tools/family-rank.mjs).
40
+
41
+ ## 4.1.16 — 2026-10-14 (metadata alignment; backfill the missing 4.1.15 entry)
42
+
43
+ ### Fixed
44
+
45
+ - `dsh.plugin.json` now carries the same version as `package.json`. The published 4.1.15 tarball
46
+ still said 4.1.14 (verified by downloading it from the registry), so the two manifests disagreed in a released artifact.
47
+ - No behaviour change in this release.
48
+ - Test suite repaired: the structural pin in `tests/settings-bridge.test.mjs` still demanded the
49
+ retired gear entry, so the suite had been red since 4.1.15; it now asserts the opposite (absence).
50
+
51
+ ## 4.1.15 — 2026-10-08 (backfilled: this entry was never written at release time)
52
+
53
+ ### Removed
54
+
55
+ - The shell-level `shell.overlay` slot injection: the fixed bottom-right gear button and its
56
+ positioned floating layer are gone (`src/client/shell-overlay.tsx` deleted). The settings entry
57
+ now relies on the host settings page alone.
58
+
59
+ ## 4.1.14 — 2026-10-08
60
+
61
+ ### Removed
62
+
63
63
  ## 4.1.13 — 2026-10-08
64
64
 
65
65
  ### Fixed — bridge descriptor skeleton on ≤0.1.5 (five-cell gate catch, 2026-10-08)
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` 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.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.
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.en.md CHANGED
@@ -344,13 +344,13 @@ npm test # node --test tests/*.test.mjs (timezone/weekend/state-machine/sessio
344
344
  | `src/index.js` | Host apply (settings/routes/tick/provide service/retry + request guard wiring) |
345
345
  | `src/client/` | Browser half (status badge + settings card + four-language dictionaries) |
346
346
 
347
-
348
- ## Statutory holidays and make-up workdays (4.2.0+)
349
-
350
- weekendMode now means rest-day aware: statutory holidays (including ones landing on workdays) are off-peak all day; make-up-workday weekends enter the peak windows normally. The data source is the holiday-cn finalized snapshot — builtin 2026 with all 39 rows (33 rest days + 6 make-up workdays, State Council notices) — plus startup check and hourly refresh: jsDelivr primary with raw.githubusercontent fallback, 10 s timeout; the Beijing current year is fetched, and Nov/Dec also track next year (late-December notices land without a plugin release). Cache lives at $DSH_HOME/.dsh/session-guard/holidays/<year>.json, self-verified by a sha256 fingerprint over the decision fields only (upstream copy edits cause no false churn); mismatch discards the cache and falls back to builtin. Only fingerprint changes write (atomic tmp+rename); 24 h refetch budget; fail-open across the entire chain.
351
-
352
- Settings: holidayMode (rest-day awareness, default on) and holidayAutoFetch (network refresh, default on); pin offline mode with DSH_SESSION_GUARD_HOLIDAY_FETCH=0. /session-guard/status exposes year / source / fingerprint / fetchedAt / entry count.
353
-
347
+
348
+ ## Statutory holidays and make-up workdays (4.2.0+)
349
+
350
+ weekendMode now means rest-day aware: statutory holidays (including ones landing on workdays) are off-peak all day; make-up-workday weekends enter the peak windows normally. The data source is the holiday-cn finalized snapshot — builtin 2026 with all 39 rows (33 rest days + 6 make-up workdays, State Council notices) — plus startup check and hourly refresh: jsDelivr primary with raw.githubusercontent fallback, 10 s timeout; the Beijing current year is fetched, and Nov/Dec also track next year (late-December notices land without a plugin release). Cache lives at $DSH_HOME/.dsh/session-guard/holidays/<year>.json, self-verified by a sha256 fingerprint over the decision fields only (upstream copy edits cause no false churn); mismatch discards the cache and falls back to builtin. Only fingerprint changes write (atomic tmp+rename); 24 h refetch budget; fail-open across the entire chain.
351
+
352
+ Settings: holidayMode (rest-day awareness, default on) and holidayAutoFetch (network refresh, default on); pin offline mode with DSH_SESSION_GUARD_HOLIDAY_FETCH=0. /session-guard/status exposes year / source / fingerprint / fetchedAt / entry count.
353
+
354
354
  ## License
355
355
 
356
356
  MIT — see [LICENSE](LICENSE).
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`; 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.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.
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` ; 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.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.
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`; 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.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.
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 线统一为 19 档精确枚举 `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`;`@deepseek-ai/cordis` peer 下限对齐宿主线的 `^4.0.4`。
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`。
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
  >
@@ -368,13 +368,13 @@ npm test # node --test tests/*.test.mjs(时区/周末/状态机/会话门/
368
368
  | `src/index.js` | host apply(设置/路由/tick/提供服务/重试接线/请求守卫) |
369
369
  | `src/client/` | 浏览器 half(**暂停会话按钮** + 状态徽标 + 设置卡片) |
370
370
 
371
-
372
- ## 法定节假日与调休(4.2.0+)
373
-
374
- weekendMode 升级为休息日语义:法定假日(含落在工作日的)全天非峰;调休补班的周末照常走入峰窗口。数据源为 holiday-cn 定稿快照——内置 2026 全年 39 条(33 放假日 + 6 补班日,国务院公告),启动核对 + 每小时自动刷新:jsDelivr 主源、raw.githubusercontent 备源,10s 超时;按北京当年抓取,11/12 月追加次年(年底公告无需发版即自动进表);缓存落 $DSH_HOME/.dsh/session-guard/holidays/<year>.json,加载时以 sha256 指纹(只覆盖判定字段,上游改文案不引起伪变化)自校验,不符即弃用回退内置并重抓;仅指纹变化才原子写盘(tmp+rename),24 小时内不重抓;全链路 fail-open。
375
-
376
- 设置项:holidayMode(休息日识别,默认开)、holidayAutoFetch(联网自动刷新,默认开);离线可用环境变量 DSH_SESSION_GUARD_HOLIDAY_FETCH=0 钉死内置档。/session-guard/status 透出年份/来源/指纹/抓取时间/条数。
377
-
371
+
372
+ ## 法定节假日与调休(4.2.0+)
373
+
374
+ weekendMode 升级为休息日语义:法定假日(含落在工作日的)全天非峰;调休补班的周末照常走入峰窗口。数据源为 holiday-cn 定稿快照——内置 2026 全年 39 条(33 放假日 + 6 补班日,国务院公告),启动核对 + 每小时自动刷新:jsDelivr 主源、raw.githubusercontent 备源,10s 超时;按北京当年抓取,11/12 月追加次年(年底公告无需发版即自动进表);缓存落 $DSH_HOME/.dsh/session-guard/holidays/<year>.json,加载时以 sha256 指纹(只覆盖判定字段,上游改文案不引起伪变化)自校验,不符即弃用回退内置并重抓;仅指纹变化才原子写盘(tmp+rename),24 小时内不重抓;全链路 fail-open。
375
+
376
+ 设置项:holidayMode(休息日识别,默认开)、holidayAutoFetch(联网自动刷新,默认开);离线可用环境变量 DSH_SESSION_GUARD_HOLIDAY_FETCH=0 钉死内置档。/session-guard/status 透出年份/来源/指纹/抓取时间/条数。
377
+
378
378
  ## License
379
379
 
380
380
  MIT — 见 [LICENSE](LICENSE)。
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`; нижняя граница peer-зависимости `@deepseek-ai/cordis` выровнена по `^4.0.4` хостовой линии.
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` хостовой линии.
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.4",
4
- "main": "./src/index.js",
5
- "description": "高峰自动会话门:step 级门控 + 周末模式 + 高峰自动暂停 + 官方源二维判定 + 会话级冻结 + 后端自动重试。",
6
- "engines": {
7
- "dsh": "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"
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.6",
4
+ "main": "./src/index.js",
5
+ "description": "高峰自动会话门:step 级门控 + 周末模式 + 高峰自动暂停 + 官方源二维判定 + 会话级冻结 + 后端自动重试。",
6
+ "engines": {
7
+ "dsh": "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"
8
+ },
9
+ "contributes": {
10
+ "tools": [],
11
+ "skills": []
12
+ },
13
+ "client": {
14
+ "main": "./lib/client.js"
15
+ }
16
+ }
package/lib/client.js CHANGED
@@ -845,8 +845,9 @@ window.__ModuleLoader__.load({
845
845
  * 贡献卡(含本插件自己的,因为接管时本插件也声明了该子席位)按 order
846
846
  * 依次 renderSlot —— 卡片本身是默认展开的抽屉,整节即一页抽屉。
847
847
  *
848
- * 与 thinking-levels 的 FamilySettingsSection 的差别仅在不需要 thinking-
849
- * levels 自己的卡(宿主不在了,它的卡也不在):渲染循环没有 own-tab 特例。
848
+ * 与 thinking-levels 的 FamilySettingsSection 一致:接管时本插件既是 owner 又是成员,
849
+ * 自宣 dsh-family.tab 不触发自身 inject(账本恒无本卡),故本卡作 OWN 行内联直挂
850
+ * (props.renderOwn/ownId),其余成员仍走账本。缺 renderOwn 时退回纯账本渲染(向后兼容)。
850
851
  */
851
852
  const NO_TABS = [];
852
853
  function GuardFamilySection(props) {
@@ -857,12 +858,18 @@ window.__ModuleLoader__.load({
857
858
  return raw.subscribe(() => setPolled(raw.getSnapshot()));
858
859
  });
859
860
  const tabs = props.useTabs !== void 0 ? props.useTabs((value) => value) : polled;
861
+ const ownId = props.ownId ?? "__own__";
862
+ const rows = props.renderOwn ? [{
863
+ id: ownId,
864
+ order: Number.NEGATIVE_INFINITY,
865
+ label: ownId
866
+ }, ...tabs.filter((tab) => tab.id !== ownId)] : tabs;
860
867
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
861
868
  style: {
862
869
  display: "grid",
863
870
  gap: "12px"
864
871
  },
865
- children: tabs.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: props.renderSlot ? props.renderSlot("dsh-family.tab", {}, {
872
+ children: rows.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: props.renderOwn && row.id === ownId ? props.renderOwn() : props.renderSlot ? props.renderSlot("dsh-family.tab", {}, {
866
873
  only: row.id,
867
874
  fallback: null
868
875
  }) : props.renderContributor?.(row.id) ?? null }, row.id))
@@ -988,7 +995,9 @@ window.__ModuleLoader__.load({
988
995
  label: () => "起子插件设置",
989
996
  inject: () => ({
990
997
  hooks: makeGuardFamilyTabsHooks(ctx.slots),
991
- renderContributor
998
+ renderContributor,
999
+ ownId: "session-guard",
1000
+ renderOwn: () => (0, react.createElement)(SessionGuardCard, { scope: currentScope() })
992
1001
  })
993
1002
  };
994
1003
  try {