fix(honcho): preserve deferred routing invariants
Thread logical session cwd through deferred Desktop/TUI builds, normalize absent cwd during construction, and share title provenance constants between SessionDB and Honcho. (cherry picked from commit 2693f4f27c776ac819d92c9b52e8a03ad2a985d8)
This commit is contained in:
+1
-1
@@ -2236,7 +2236,7 @@ def init_agent(
|
||||
setattr(agent, _name, _params[_name])
|
||||
for _name in _GATEWAY_IDENTITY_PARAMS:
|
||||
setattr(agent, f"_{_name}", _params[_name])
|
||||
agent.session_cwd = cwd
|
||||
agent.session_cwd = cwd or None
|
||||
# Shared iteration budget: parent creates, children inherit.
|
||||
agent.iteration_budget = iteration_budget or IterationBudget(max_iterations)
|
||||
# CLI replaces this with _cprint so raw ANSI status lines go through prompt_toolkit's
|
||||
|
||||
Reference in New Issue
Block a user