Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

964 B
Raw Blame
import type {} from '@deepseek-ai/dsh-agent-preset-registry/types'
import type { SessionProjectionMap as ClientProjectionMap } from '@deepseek-ai/dsh-api-session-controller/client'
import type { SessionProjectionMap } from '@deepseek-ai/dsh-session-projection/types'
import { describe, expect, expectTypeOf, it } from 'vitest'
import { SESSION_SCHEDULE_ORIGIN_PROJECTION } from '../packages/dsh-tauri-scheduler/src/shared/constants'

describe('session projection augmentation contracts', () => {
  it('keeps scheduler and upstream projections identical through canonical and client exports', () => {
    expect(SESSION_SCHEDULE_ORIGIN_PROJECTION).toBe('dsh-tauri-scheduler.origin')
    expectTypeOf<SessionProjectionMap[typeof SESSION_SCHEDULE_ORIGIN_PROJECTION]>().toEqualTypeOf<boolean>()
    expectTypeOf<SessionProjectionMap['agentPreset']>().toEqualTypeOf<string | null>()
    expectTypeOf<ClientProjectionMap>().toEqualTypeOf<SessionProjectionMap>()
  })
})