@dsh-plus/access-gate 0.3.26 → 0.3.28

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/lib/client.js CHANGED
@@ -121,7 +121,7 @@ window.__ModuleLoader__.load({
121
121
  const DSH_PLUS_BUNDLE = "@dsh-plus/bundle-main";
122
122
  /**
123
123
  * 把一张配置卡片注册进插件页的两个配置槽位。
124
- * 两个槽位都由 0.2.1-alpha.1 的插件页声明,任一缺席即报错——不做版本探测。
124
+ * 两个槽位都由 0.2.1-alpha.2 的插件页声明,任一缺席即报错——不做版本探测。
125
125
  */
126
126
  function injectPluginConfigCard(slots, reg) {
127
127
  const base = {
@@ -290,7 +290,7 @@ window.__ModuleLoader__.load({
290
290
  /**
291
291
  * 配置分节样式工厂(各插件 client 的公共收编版)。
292
292
  *
293
- * 目标宿主 dsh 0.2.1-alpha.1:插件页把配置视图放进已有页面级内边距的容器里
293
+ * 目标宿主 dsh 0.2.1-alpha.2:插件页把配置视图放进已有页面级内边距的容器里
294
294
  * (`div.detailSections[data-plugin-config]` 或 `section.detailSection[data-plugin-config]`),
295
295
  * 外层无边框——故这里输出的是**无边框分节**(小节标题 13px/600、字段 12px 0、
296
296
  * 横向零内边距、页脚非 sticky),度量对齐官方设置页
package/lib/index.js CHANGED
@@ -35,7 +35,7 @@ const Config = z.object({
35
35
  * 用户全程无感、免启动 token。
36
36
  *
37
37
  * 契约(对官方 client-connection browser-auth 逐行核实,见 docs/README.md
38
- * 「信任模型」;0.2.1-alpha.1 复核不变):
38
+ * 「信任模型」;0.2.1-alpha.2 复核不变):
39
39
  * - 签名密钥持久化于 $DSH_HOME/.credentials.yaml
40
40
  * (records → client-connection/browser-session → payload.secret,
41
41
  * base64url 无填充 32B;跨重启不变);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-plus/access-gate",
3
- "version": "0.3.26",
3
+ "version": "0.3.28",
4
4
  "description": "dsh-plus service+ui plugin: dsh web 全量访问围栏——与官方 browser-auth 合并:官方 cookie 为唯一凭据,可选 IP 附加围栏,未认证导航渲染 token 输入页(PWA 可恢复),loopback 管理通道",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -31,20 +31,20 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@dsh-plus/shared": "0.1.36"
34
+ "@dsh-plus/shared": "0.1.38"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@deepseek-ai/cordis": "^4.0.5-alpha.1",
38
- "@deepseek-ai/dsh-home-paths": "^0.2.1-alpha.1",
39
- "@deepseek-ai/dsh-settings": "^0.2.1-alpha.1",
38
+ "@deepseek-ai/dsh-home-paths": "^0.2.1-alpha.2",
39
+ "@deepseek-ai/dsh-settings": "^0.2.1-alpha.2",
40
40
  "@deepseek-ai/schemastery": "^3.18.5-alpha.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@deepseek-ai/cordis": "4.0.5-alpha.1",
44
- "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.1",
45
- "@deepseek-ai/dsh-home-paths": "0.2.1-alpha.1",
46
- "@deepseek-ai/dsh-host-webserver": "0.2.1-alpha.1",
47
- "@deepseek-ai/dsh-settings": "0.2.1-alpha.1",
44
+ "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.2",
45
+ "@deepseek-ai/dsh-home-paths": "0.2.1-alpha.2",
46
+ "@deepseek-ai/dsh-host-webserver": "0.2.1-alpha.2",
47
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.2",
48
48
  "@deepseek-ai/schemastery": "3.18.5-alpha.1",
49
49
  "@types/react": "~18.3.31",
50
50
  "react": "^18.2.0"
package/src/cookie.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * 用户全程无感、免启动 token。
8
8
  *
9
9
  * 契约(对官方 client-connection browser-auth 逐行核实,见 docs/README.md
10
- * 「信任模型」;0.2.1-alpha.1 复核不变):
10
+ * 「信任模型」;0.2.1-alpha.2 复核不变):
11
11
  * - 签名密钥持久化于 $DSH_HOME/.credentials.yaml
12
12
  * (records → client-connection/browser-session → payload.secret,
13
13
  * base64url 无填充 32B;跨重启不变);