Headless enhancement: add stream-json as input-format/output-format to support programmatically use (#926)

This commit is contained in:
Kdump
2025-11-21 09:26:05 +08:00
committed by GitHub
parent 442a9aed58
commit 9e5387f159
50 changed files with 14559 additions and 534 deletions

View File

@@ -6,9 +6,15 @@
import type { SessionMetrics } from '../telemetry/uiTelemetry.js';
export enum InputFormat {
TEXT = 'text',
STREAM_JSON = 'stream-json',
}
export enum OutputFormat {
TEXT = 'text',
JSON = 'json',
STREAM_JSON = 'stream-json',
}
export interface JsonError {