refactor: prune bash implementation surface

This commit is contained in:
Tianyi Cui
2026-07-14 03:37:51 +08:00
parent a0359bc4a9
commit 8c8b422f17
13 changed files with 88 additions and 109 deletions

View File

@@ -229,7 +229,6 @@ export type BashTaskStatus = 'running' | 'completed' | 'killed'
/** A tracked background task handle. */
export interface BashTask {
readonly id: BashTaskId
readonly command: string
status: BashTaskStatus
/** Exit code once finished (null = killed by signal / still running). */
exitCode: number | null

View File

@@ -34,7 +34,6 @@ class StubExecutor extends BashExecutor {
start(spec: BashExecSpec): BashTask {
const task: BashTask = {
id: BashTaskId(`stub-${this.tasks.size + 1}`),
command: spec.command,
status: 'running',
exitCode: null,
signal: null,