Add endpoint policy and redirect-safe ephemeral HTTP client, error mapping, catalog cache and version checks, streaming chat with phase timeouts/cancellation, provisional Hy-MT3 prompt/language/request factory, warm-up policy, and sprachmittler-cli models/show/translate. Recapture the 7B fixtures; defer the 1.8B VERIFY items; document ADR-016. Also fix the signature checker's pipefail SIGPIPE issue.
16 lines
480 B
Swift
16 lines
480 B
Swift
import ArgumentParser
|
|
|
|
/// Headless harness for Sprachmittler. See docs/IMPLEMENTATION_PLAN.md T1.6, T2.7 and T7.1.
|
|
@main
|
|
struct SprachmittlerCLI: AsyncParsableCommand {
|
|
static let configuration = CommandConfiguration(
|
|
commandName: "sprachmittler-cli",
|
|
abstract: "Headless translator and test harness for Sprachmittler.",
|
|
subcommands: [
|
|
ModelsCommand.self,
|
|
ShowCommand.self,
|
|
TranslateCommand.self,
|
|
]
|
|
)
|
|
}
|