@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 790 B
TypeScript
import { type ErrorShellReplacement, type TruncatableAssistantMessage, type TtsrNudgeMessage } from "./remediation.ts";
import type { DetectionResolution } from "./types.ts";
export interface StreamRemediationInput {
readonly resolution: DetectionResolution;
readonly streamKind: "text" | "thinking" | "tool";
}
export interface StreamRemediationOutcome {
readonly replacement: ErrorShellReplacement | TruncatableAssistantMessage;
readonly nudge: TtsrNudgeMessage | null;
readonly owner: string;
readonly observedRules: readonly string[];
readonly retryMode: "nudge" | "provider-error";
}
export declare function buildStreamRemediation(pending: StreamRemediationInput, message: unknown): StreamRemediationOutcome;
//# sourceMappingURL=stream-remediation.d.ts.map