refactor: ts in packages use extensionless import

This commit is contained in:
imccyu
2026-06-17 23:17:38 +08:00
parent 20773e12bd
commit 6f6e0517d4
22 changed files with 62 additions and 62 deletions

View File

@@ -24,7 +24,7 @@ export {
type InferArgs,
type DefineToolOptions,
type JsonSchemaObject,
} from './schema.ts'
} from './schema'
declare module 'cordis' {
interface Context {

View File

@@ -21,7 +21,7 @@
import type { ContentBlock } from '@deepseek-ai/dsh-llm'
import { assertNever, HarnessError } from '@deepseek-ai/dsh-llm'
import type { ToolCallPresentation, ToolDefinition, ToolExecution, ToolResult, ToolResultPresentation } from './index.ts'
import type { ToolCallPresentation, ToolDefinition, ToolExecution, ToolResult, ToolResultPresentation } from './index'
// ---------------------------------------------------------------------------
// SchemaSpec — the author-facing per-property type