feat: bootstrap cli-agent runtime and wire executor, transport, chat, and recovery seams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-06-05 03:24:41 -07:00
parent 85f70148a1
commit 58723312d8
13 changed files with 793 additions and 0 deletions

View File

@@ -800,6 +800,16 @@ export class ProjectEngine {
return this.runtime.getSelfHealingManager();
}
/**
* Get the bootstrapped CLI Agent Executor runtime (PTY manager + telemetry hub
* + adapter registry + resume coordinator), or undefined when the experimental
* flag is off. The dashboard reads this to resolve the project's TelemetryHub
* (hook route) and supply the cli-session transport dependency.
*/
getCliAgentRuntime() {
return this.runtime.getCliAgentRuntime();
}
/** Get the project working directory. */
getWorkingDirectory(): string {
return this.config.workingDirectory;