适配 DSH 0.1.2-alpha.1

This commit is contained in:
yexi committed 2026-08-30 14:54:48 +08:00
1 parent 62d0bcd274
commit 057e473a6c
45 files changed
+653 -468

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import assert from 'node:assert/strict'
import { readFile } from 'node:fs/promises'
import { test } from 'node:test'
const manifest = JSON.parse(await readFile(new URL('../package.json', import.meta.url), 'utf8'))
test('declares the alpha.1 client renderer and settings dependencies', () => {
assert.deepEqual(manifest.dsh.client.inject, [
'@deepseek-ai/dsh-client-connection',
'@deepseek-ai/dsh-client-locale',
'@deepseek-ai/dsh-api-remotes',
'@deepseek-ai/dsh-client-ui-renderer',
'@deepseek-ai/dsh-client-ui-settings',
'@deepseek-ai/dsh-client-ui-settings-plugins',
])
assert.equal(manifest.dsh.client.platform, 'web')
assert.equal(manifest.dsh.bundle.patch, './cordis.patch.yml')
})