mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-09 20:07:43 +08:00
test: classify shared continuation fixture as client
This commit is contained in:
@@ -8,7 +8,7 @@ import { expect, it, onTestFinished, vi } from 'vitest'
|
|||||||
|
|
||||||
import { continuationProjectionDefinition as definition } from '../src/continuation.ts'
|
import { continuationProjectionDefinition as definition } from '../src/continuation.ts'
|
||||||
import { paginate } from '../src/history.ts'
|
import { paginate } from '../src/history.ts'
|
||||||
import { continuationTurn as turn } from './continuation-fixture.ts'
|
import { continuationTurn as turn } from './continuation-fixture.client.ts'
|
||||||
|
|
||||||
const failed = (code: string): TurnEndReason => ({ kind: 'error', error: { code, message: code } })
|
const failed = (code: string): TurnEndReason => ({ kind: 'error', error: { code, message: code } })
|
||||||
function fold(events: readonly SessionEvent[]) {
|
function fold(events: readonly SessionEvent[]) {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import { createUserMessage, LlmAttemptId } from '@deepseek-ai/dsh-llm'
|
|||||||
import { MutableSessionEventSource } from '@deepseek-ai/dsh-api-session-controller/client'
|
import { MutableSessionEventSource } from '@deepseek-ai/dsh-api-session-controller/client'
|
||||||
import type { SessionEventWindow } from '@deepseek-ai/dsh-api-session-controller/client'
|
import type { SessionEventWindow } from '@deepseek-ai/dsh-api-session-controller/client'
|
||||||
import type { InboxWireState } from '@deepseek-ai/dsh-agent/types'
|
import type { InboxWireState } from '@deepseek-ai/dsh-agent/types'
|
||||||
import { continuationTurn } from '../../../api/session-controller/tests/continuation-fixture.ts'
|
import { continuationTurn } from '../../../api/session-controller/tests/continuation-fixture.client.ts'
|
||||||
|
|
||||||
declare module '@deepseek-ai/dsh-client-ui-slots' {
|
declare module '@deepseek-ai/dsh-client-ui-slots' {
|
||||||
interface SlotMap {
|
interface SlotMap {
|
||||||
|
|||||||
@@ -29,8 +29,6 @@
|
|||||||
"packages/experimental/*/src/css-modules.d.ts",
|
"packages/experimental/*/src/css-modules.d.ts",
|
||||||
"packages/client/*/tests/**/*.ts",
|
"packages/client/*/tests/**/*.ts",
|
||||||
"packages/client/*/tests/**/*.tsx",
|
"packages/client/*/tests/**/*.tsx",
|
||||||
// Shared Session event data has no Host Context augmentation.
|
|
||||||
"packages/api/session-controller/tests/continuation-fixture.ts",
|
|
||||||
"benchmarks/**/*.client.ts",
|
"benchmarks/**/*.client.ts",
|
||||||
"benchmarks/**/*.client.tsx",
|
"benchmarks/**/*.client.tsx",
|
||||||
"benchmarks/support/**/*.ts",
|
"benchmarks/support/**/*.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user