mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-10-26 16:55:08 +00:00
- ui-entry-customization、voice-input 不再把 pluginNavigation 当必需服务:服务不在时隐藏「浏览插件」与「打开 / 查看详情」按钮,插件照常启动
- plugin-manager 每次授权时刷新已加载的列表
- settings-account 账号设置分区与 sign-in 一并按 account/watch 门控,revision 恢复 master 原样
- schedule 会话头部提醒另按会话 useAccess('schedule/list') 渲染
- 导出 staticAccessPlugin;补 whenAccess 归属、撤权与读者页启动测试
- 同步 README、web-server 子系统文档、webserver 包描述与 Agent Note
13 lines
729 B
TypeScript
13 lines
729 B
TypeScript
// @vitest-environment jsdom
|
|
/** A page whose Peer may not list plugin bundles still boots, and the More menus keep their other rows. */
|
|
import { expect } from 'vitest'
|
|
import { createClientTest, webApp } from '@deepseek-ai/dsh-client-test-runtime/src/assembly/index.ts'
|
|
|
|
const withoutPluginManager = createClientTest({ roster: webApp }, { access: action => action !== 'pluginManager/listBundles' })
|
|
|
|
withoutPluginManager('boots the shipped Web client without the Plugins page navigation', async ({ start }) => {
|
|
const c = await start()
|
|
expect(c.ctx.get('pluginNavigation')).toBeUndefined()
|
|
expect(c.ctx.slots.entries('sidebar.panellist.actions').map(entry => entry.options.id)).toContain('entry-customization')
|
|
}, 60_000)
|