fix: apply ts-build-config adjustment to new packages

This commit is contained in:
imccyu
2026-06-22 00:51:41 +08:00
parent 74cdd9a2e5
commit 88b75181ad
26 changed files with 76 additions and 60 deletions

View File

@@ -4,7 +4,7 @@ import LlmService, { CallId } from '@deepseek-ai/dsh-llm'
import type { Message, ToolSchema } from '@deepseek-ai/dsh-llm'
import * as LlmDeepSeek from '@deepseek-ai/dsh-llm-deepseek'
import type { Config } from '@deepseek-ai/dsh-llm-deepseek'
import { assemble, type AssembledResult } from './assemble.ts'
import { assemble, type AssembledResult } from './assemble'
/**
* Real-API e2e for the hand-rolled adapter: V4 Flash + V4 Pro across

View File

@@ -5,7 +5,7 @@ import { Context } from 'cordis'
import LlmService, { LlmError } from '@deepseek-ai/dsh-llm'
import * as LlmDeepSeek from '@deepseek-ai/dsh-llm-deepseek'
import { DeepSeekAdapter, httpErrorCode } from '@deepseek-ai/dsh-llm-deepseek'
import { assemble } from './assemble.ts'
import { assemble } from './assemble'
/** One scripted behavior for the next request the mock server receives. */
type Behavior =

View File

@@ -5,7 +5,7 @@ import type { Message, ToolSchema } from '@deepseek-ai/dsh-llm'
import * as LlmPiAi from '@deepseek-ai/dsh-llm-pi-ai'
import type { Config } from '@deepseek-ai/dsh-llm-pi-ai'
import * as LlmDeepSeek from '@deepseek-ai/dsh-llm-deepseek'
import { assemble, type AssembledResult } from './assemble.ts'
import { assemble, type AssembledResult } from './assemble'
/**
* Real-API e2e for the pi-ai-backed adapter: V4 Flash + V4 Pro across all

View File

@@ -5,7 +5,7 @@ import { Context } from 'cordis'
import LlmService, { CallId, LlmError } from '@deepseek-ai/dsh-llm'
import * as LlmPiAi from '@deepseek-ai/dsh-llm-pi-ai'
import { buildModel, PiAiAdapter } from '@deepseek-ai/dsh-llm-pi-ai'
import { assemble } from './assemble.ts'
import { assemble } from './assemble'
/** Scripted SSE responses, one per request (OpenAI chat-completions shape). */
interface MockServer {

View File

@@ -6,8 +6,8 @@
* @module @deepseek-ai/dsh-llm/assembler
*/
import { CallId } from './brand.ts'
import { assertNever } from './never.ts'
import { CallId } from './brand'
import { assertNever } from './never'
import type { ContentBlock, FinishReason, Message, StreamChunk, TokenUsage } from './types'
interface PartialBlock {