ai-zero-token 1.0.9 → 1.0.10

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/README.md CHANGED
@@ -47,6 +47,35 @@ http://127.0.0.1:8787/v1
47
47
 
48
48
  Use any non-empty API key value when a client requires one. Authentication is handled by the local gateway.
49
49
 
50
+ ## Desktop Preview
51
+
52
+ This repository now includes an Electron desktop preview. It starts the existing local gateway from the desktop main process and loads the current web console:
53
+
54
+ ```bash
55
+ npm run desktop
56
+ ```
57
+
58
+ Build desktop release artifacts:
59
+
60
+ ```bash
61
+ npm run dist:mac
62
+ npm run dist:win
63
+ ```
64
+
65
+ See [docs/DESKTOP_RELEASE.md](docs/DESKTOP_RELEASE.md) for release notes.
66
+
67
+ The first desktop version keeps the current default listener:
68
+
69
+ ```text
70
+ 0.0.0.0:8787
71
+ ```
72
+
73
+ For local clients, keep using:
74
+
75
+ ```text
76
+ http://127.0.0.1:8787/v1
77
+ ```
78
+
50
79
  ## Web Console
51
80
 
52
81
  The web console is the recommended entry point:
package/README.zh-CN.md CHANGED
@@ -47,6 +47,35 @@ http://127.0.0.1:8787/v1
47
47
 
48
48
  如果客户端必须填写 API Key,可以填任意非空占位值;真正起作用的是本地网关里的账号授权。
49
49
 
50
+ ## 桌面端预览
51
+
52
+ 当前仓库已提供 Electron 桌面端预览入口。它会在桌面主进程中启动现有本地网关,并直接加载当前管理页:
53
+
54
+ ```bash
55
+ npm run desktop
56
+ ```
57
+
58
+ 构建桌面端发布包:
59
+
60
+ ```bash
61
+ npm run dist:mac
62
+ npm run dist:win
63
+ ```
64
+
65
+ 发布说明见 [docs/DESKTOP_RELEASE.md](docs/DESKTOP_RELEASE.md)。
66
+
67
+ 桌面端第一版沿用现有默认监听策略:
68
+
69
+ ```text
70
+ 0.0.0.0:8787
71
+ ```
72
+
73
+ 本机客户端仍建议使用:
74
+
75
+ ```text
76
+ http://127.0.0.1:8787/v1
77
+ ```
78
+
50
79
  ## 管理页
51
80
 
52
81
  管理页是推荐入口,可以完成: