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

@@ -17,11 +17,11 @@ import { Context } from 'cordis'
import z from 'schemastery'
import { BashExecutor } from '@deepseek-ai/dsh-bash'
import type { BashExecRequest, BashExecSpec, BashRunResult, BashTask, BashTaskRead } from '@deepseek-ai/dsh-bash'
import { runBash } from './run.ts'
import type { RunInternals, RunningBash } from './run.ts'
import { runBash } from './run'
import type { RunInternals, RunningBash } from './run'
export { DEFAULT_GRACE_MS, ENV_OVERRIDES, killGroup, OutputCollector, runBash } from './run.ts'
export type { RunInternals, RunningBash, SpawnOutcome, SpawnSpec } from './run.ts'
export { DEFAULT_GRACE_MS, ENV_OVERRIDES, killGroup, OutputCollector, runBash } from './run'
export type { RunInternals, RunningBash, SpawnOutcome, SpawnSpec } from './run'
/** Plugin config (all optional — `static Config` supplies the defaults). */
export interface Config {