ai-zero-token 1.0.9 → 2.0.0

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.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0 - 2026-05-04
4
+
5
+ - Added the Electron desktop app, with a local gateway boot path and the management UI embedded in the desktop shell.
6
+ - Added desktop download entry points in the app shell and README, pointing to GitHub Releases for future installers.
7
+ - Added the React desktop admin UI structure under `admin-ui/` with launch, overview, account, tester, logs, docs, network, and settings pages.
8
+ - Added desktop release packaging with `electron-builder`, including macOS and Windows targets and unpacked `release/` artifacts.
9
+ - Added desktop design and frontend architecture docs to keep the new UI consistent as it grows.
10
+
3
11
  ## 1.0.8 - 2026-04-29
4
12
 
5
13
  - Removed local Free-plan blocking for image generation and editing; upstream account limits now decide availability.
package/README.md CHANGED
@@ -47,6 +47,38 @@ 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
+ Desktop installers will be published on GitHub Releases after each tagged release:
67
+
68
+ - [GitHub Releases](https://github.com/fchangjun/AI-Zero-Token/releases)
69
+
70
+ The first desktop version keeps the current default listener:
71
+
72
+ ```text
73
+ 0.0.0.0:8787
74
+ ```
75
+
76
+ For local clients, keep using:
77
+
78
+ ```text
79
+ http://127.0.0.1:8787/v1
80
+ ```
81
+
50
82
  ## Web Console
51
83
 
52
84
  The web console is the recommended entry point:
package/README.zh-CN.md CHANGED
@@ -47,6 +47,38 @@ 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
+ 桌面端安装包会在每次打标签发布后上传到 GitHub Releases:
67
+
68
+ - [GitHub Releases](https://github.com/fchangjun/AI-Zero-Token/releases)
69
+
70
+ 桌面端第一版沿用现有默认监听策略:
71
+
72
+ ```text
73
+ 0.0.0.0:8787
74
+ ```
75
+
76
+ 本机客户端仍建议使用:
77
+
78
+ ```text
79
+ http://127.0.0.1:8787/v1
80
+ ```
81
+
50
82
  ## 管理页
51
83
 
52
84
  管理页是推荐入口,可以完成:
@@ -0,0 +1,9 @@
1
+ <svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="10" y="10" width="108" height="108" rx="26" fill="#111827"/>
3
+ <rect x="18" y="18" width="92" height="92" rx="20" fill="#FFFFFF" fill-opacity=".08"/>
4
+ <path d="M39 36h50c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12H39c-6.627 0-12-5.373-12-12V48c0-6.627 5.373-12 12-12Z" fill="#F8FAFC"/>
5
+ <path d="M42 54h20M42 66h34M42 78h25" stroke="#111827" stroke-width="7" stroke-linecap="round"/>
6
+ <path d="M83 53l8 11-8 11-8-11 8-11Z" fill="#2563EB"/>
7
+ <path d="M71 36c3.2-9.2 11-14 23-14 0 12-4.9 19.9-14.7 23.7" stroke="#22C55E" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M48 92c-3.2 9.2-11 14-23 14 0-12 4.9-19.9 14.7-23.7" stroke="#F59E0B" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
9
+ </svg>