# feat: 完成 OpenNexus 第三阶段生产化能力与首版候选发布 #46

Merged
Kronecker merged 25 commits from feat/phase3-completion into main 2026-09-12 15:25:30 +08:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 4feeee4d1a - Show all commits
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "notes-agent-frontend", "name": "notes-agent-frontend",
"private": true, "private": true,
"version": "0.2.0", "version": "0.3.0-alpha.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
@@ -5,6 +5,9 @@ import { decodeThemePackage, fetchThemePackage, inspectThemePackage, installThem
import paper from '@/assets/themes/paper-moments.theme?raw' import paper from '@/assets/themes/paper-moments.theme?raw'
afterEach(() => vi.unstubAllGlobals()) afterEach(() => vi.unstubAllGlobals())
it('uses the desktop release version for compatibility checks', () => {
expect(THEME_APP_VERSION).toBe('0.3.0-alpha.1')
})
it.each(['999.0.0', 'bad', '0.2'])('rejects unsupported minimum app version %s at inspection and install', async version => { it.each(['999.0.0', 'bad', '0.2'])('rejects unsupported minimum app version %s at inspection and install', async version => {
const source = paper.replace(/min_app_version:.*\r?\n/, `min_app_version: ${version}\n`) const source = paper.replace(/min_app_version:.*\r?\n/, `min_app_version: ${version}\n`)
expect((await inspectThemePackage(source)).compatible).toBe(false) expect((await inspectThemePackage(source)).compatible).toBe(false)