mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(client): restore branded running copy
This commit is contained in:
@@ -27,7 +27,7 @@ export const zh = {
|
||||
'chat.loadError': '历史加载失败:{message}({code})',
|
||||
'chat.loadOlder': '加载更早',
|
||||
'chat.toBottom': '回到底部',
|
||||
'chat.deepDiving': '正在深入处理…',
|
||||
'chat.deepDiving': '深度求索中...',
|
||||
'fileOpen.title': '无法打开文件',
|
||||
'fileOpen.unknown': '无法打开此文件',
|
||||
'fileOpen.folderTitle': '无法打开文件夹',
|
||||
|
||||
@@ -914,7 +914,7 @@ describe('ChatView', () => {
|
||||
const view = render(<h.ChatView {...h.props} />)
|
||||
expect(view.getByTestId('tool-seat-r1')).toBeTruthy()
|
||||
expect(h.toolOwners[0]?.block).toMatchObject({ callId: 'r1', argsRaw: '{"command":"cmd-r1"}' })
|
||||
expect(view.getByRole('status').textContent).toBe('正在深入处理…')
|
||||
expect(view.getByRole('status').textContent).toBe('深度求索中...')
|
||||
})
|
||||
|
||||
it('keeps the Tool renderer mounted when a running call settles into log order', () => {
|
||||
@@ -974,7 +974,7 @@ describe('ChatView', () => {
|
||||
const view = render(<h.ChatView {...h.props} />)
|
||||
// Freshly mounted (as after a reload) yet already past the 15s gate.
|
||||
const status = view.getByRole('status')
|
||||
expect(status.textContent).toMatch(/^正在深入处理…2分0\d秒$/)
|
||||
expect(status.textContent).toMatch(/^深度求索中\.\.\.2分0\d秒$/)
|
||||
expect(status.querySelector('[aria-hidden="true"]')).not.toBeNull()
|
||||
act(() => {
|
||||
h.setSession({ queue: [{
|
||||
@@ -986,7 +986,7 @@ describe('ChatView', () => {
|
||||
text: 'also',
|
||||
}] })
|
||||
})
|
||||
expect(status.textContent).toMatch(/^正在深入处理…2分0\d秒$/)
|
||||
expect(status.textContent).toMatch(/^深度求索中\.\.\.2分0\d秒$/)
|
||||
})
|
||||
|
||||
it('hands each ordered root call to the keyed business-node slot', () => {
|
||||
|
||||
Reference in New Issue
Block a user