M1: composition root and harness run -p debug command

Adds the harness-app composition root wiring config, providers, tools, and the engine loop together, plus the harness run -p "<prompt>" debug command in harness-tui::main for driving a one-shot prompt end-to-end from the CLI.
This commit is contained in:
2026-07-10 16:19:38 +02:00
parent 9ed278bcb5
commit d83f8c84b7
5 changed files with 320 additions and 3 deletions
Generated
+7
View File
@@ -509,11 +509,16 @@ dependencies = [
name = "harness-app"
version = "0.1.0"
dependencies = [
"dirs",
"harness-core",
"harness-lsp",
"harness-mcp",
"harness-providers",
"harness-tools",
"tempfile",
"thiserror 2.0.18",
"tokio",
"tokio-util",
]
[[package]]
@@ -598,6 +603,8 @@ name = "harness-tui"
version = "0.1.0"
dependencies = [
"harness-app",
"harness-core",
"tokio",
]
[[package]]