soothe-cli 1.3.0__tar.gz → 1.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/PKG-INFO +1 -1
  2. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/commands/binding.py +0 -1
  3. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_messages_mixin.py +4 -4
  4. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/textual_adapter.py +38 -19
  5. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/cognition_goal_tree.py +118 -41
  6. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/cognition_step.py +2 -5
  7. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/plan_quick_view_overlay.py +4 -19
  8. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/.gitignore +0 -0
  9. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/README.md +0 -0
  10. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/pyproject.toml +0 -0
  11. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/__init__.py +0 -0
  12. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/_cli_context.py +0 -0
  13. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/_env_vars.py +0 -0
  14. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/_version.py +0 -0
  15. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/card_wire.py +0 -0
  16. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/__init__.py +0 -0
  17. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/commands/__init__.py +0 -0
  18. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/commands/config_cmd.py +0 -0
  19. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/commands/cron_cmd.py +0 -0
  20. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/commands/loop_cmd.py +0 -0
  21. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/commands/run_cmd.py +0 -0
  22. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/commands/status_cmd.py +0 -0
  23. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/execution/__init__.py +0 -0
  24. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/execution/daemon.py +0 -0
  25. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/execution/daemon_errors.py +0 -0
  26. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/execution/headless.py +0 -0
  27. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/execution/headless_renderer.py +0 -0
  28. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/execution/launcher.py +0 -0
  29. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/main.py +0 -0
  30. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/cli/soothecli.py +0 -0
  31. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/commands/__init__.py +0 -0
  32. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/commands/command_registry.py +0 -0
  33. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/commands/command_router.py +0 -0
  34. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/commands/slash_commands.py +0 -0
  35. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/commands/subagent_routing.py +0 -0
  36. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/config/__init__.py +0 -0
  37. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/config/cli_config.py +0 -0
  38. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/config/loader.py +0 -0
  39. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/config/logging_setup.py +0 -0
  40. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/__init__.py +0 -0
  41. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/card.py +0 -0
  42. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/card_binder.py +0 -0
  43. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/markdown_theme.py +0 -0
  44. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/media_utils.py +0 -0
  45. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/mermaid_render.py +0 -0
  46. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/path_utils.py +0 -0
  47. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/preview_limits.py +0 -0
  48. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/shell_color.py +0 -0
  49. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/spinner_labels.py +0 -0
  50. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/text_extract.py +0 -0
  51. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/theme.py +0 -0
  52. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/tips.py +0 -0
  53. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/tool_display.py +0 -0
  54. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/display/unicode_security.py +0 -0
  55. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/loops/__init__.py +0 -0
  56. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/loops/sessions.py +0 -0
  57. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/model_config.py +0 -0
  58. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/project_utils.py +0 -0
  59. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/__init__.py +0 -0
  60. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/headless/processor.py +0 -0
  61. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/headless/processor_state.py +0 -0
  62. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/parse/tool_call_resolution.py +0 -0
  63. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/policy/tui_trace_log.py +0 -0
  64. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/duration_format.py +0 -0
  65. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/engine.py +0 -0
  66. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/id_format.py +0 -0
  67. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/renderer_base.py +0 -0
  68. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/renderer_protocol.py +0 -0
  69. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/step_id_format.py +0 -0
  70. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/presentation/subagent_task_display.py +0 -0
  71. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/state/file_tracker.py +0 -0
  72. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/state/session_stats.py +0 -0
  73. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/state/step_router.py +0 -0
  74. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/state/stream_accumulator.py +0 -0
  75. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/token_events_debug.py +0 -0
  76. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/token_usage.py +0 -0
  77. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/transport/session.py +0 -0
  78. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/turn/prepare.py +0 -0
  79. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/wire/chunk_filter.py +0 -0
  80. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/wire/message_text.py +0 -0
  81. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/runtime/wire/messages.py +0 -0
  82. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/__init__.py +0 -0
  83. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/_console_impl.py +0 -0
  84. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/bootstrap.py +0 -0
  85. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/core.py +0 -0
  86. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/glyphs.py +0 -0
  87. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/provider.py +0 -0
  88. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/shell_allow.py +0 -0
  89. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/skills_dirs.py +0 -0
  90. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/settings/stream_config.py +0 -0
  91. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/__init__.py +0 -0
  92. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/__init__.py +0 -0
  93. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_app.py +0 -0
  94. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_clarification.py +0 -0
  95. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_entrypoints.py +0 -0
  96. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_execution.py +0 -0
  97. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_history.py +0 -0
  98. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_model.py +0 -0
  99. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_model_params.py +0 -0
  100. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_startup.py +0 -0
  101. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_terminal.py +0 -0
  102. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_theme_prefs.py +0 -0
  103. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_types.py +0 -0
  104. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/_ui.py +0 -0
  105. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/app/app.tcss +0 -0
  106. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/composer_mode.py +0 -0
  107. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/file_change_notify.py +0 -0
  108. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/file_change_renderers.py +0 -0
  109. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/input.py +0 -0
  110. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/skills/__init__.py +0 -0
  111. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/skills/invocation.py +0 -0
  112. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/skills/load.py +0 -0
  113. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/__init__.py +0 -0
  114. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/_links.py +0 -0
  115. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/autocomplete.py +0 -0
  116. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/chat_input.py +0 -0
  117. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/clipboard.py +0 -0
  118. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/context_data.py +0 -0
  119. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/context_viewer.py +0 -0
  120. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/diff.py +0 -0
  121. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/editor.py +0 -0
  122. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/file_change_preview.py +0 -0
  123. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/help_screen.py +0 -0
  124. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/history.py +0 -0
  125. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/loading.py +0 -0
  126. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/loop_selector.py +0 -0
  127. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/mcp_viewer.py +0 -0
  128. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/message_store.py +0 -0
  129. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/__init__.py +0 -0
  130. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/_helpers.py +0 -0
  131. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/app.py +0 -0
  132. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/assistant.py +0 -0
  133. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/cognition_reason.py +0 -0
  134. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/cognition_step_activity.py +0 -0
  135. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/diff_message.py +0 -0
  136. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/error.py +0 -0
  137. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/skill.py +0 -0
  138. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/structured_ask_user.py +0 -0
  139. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/messages/user.py +0 -0
  140. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/model_selector.py +0 -0
  141. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/notification_settings.py +0 -0
  142. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/pinned_goal_bar.py +0 -0
  143. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/queued_goals_bar.py +0 -0
  144. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/router_profile_selector.py +0 -0
  145. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/status.py +0 -0
  146. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/theme_selector.py +0 -0
  147. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/tui/widgets/welcome.py +0 -0
  148. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/update_check.py +0 -0
  149. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/ux/__init__.py +0 -0
  150. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/ux/subagent_progress.py +0 -0
  151. {soothe_cli-1.3.0 → soothe_cli-1.3.1}/src/soothe_cli/ux/subagent_wire_display.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: soothe-cli
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: Soothe CLI client - communicates with daemon via WebSocket
5
5
  Project-URL: Homepage, https://github.com/mirasoth/soothe
6
6
  Project-URL: Documentation, https://soothe.readthedocs.io
@@ -135,7 +135,6 @@ def message_to_widget(data: MessageData) -> Widget:
135
135
  goal = str(snap.get("goal", "")).strip()
136
136
  w = CognitionGoalTreeMessage(
137
137
  goal=goal or " ",
138
- max_iterations=int(snap.get("max_iterations", 0)),
139
138
  id=data.id,
140
139
  )
141
140
  if snap:
@@ -875,15 +875,15 @@ class _MessagesMixin:
875
875
  )
876
876
  )
877
877
 
878
- _INTERRUPT_UI_MESSAGE = "Stream cancelled"
879
-
880
- async def _tear_down_interrupt_ui(self, message: str | None = None) -> None:
878
+ async def _tear_down_interrupt_ui(self) -> None:
881
879
  """Immediately stop in-flight step/goal UI when the user interrupts a turn.
882
880
 
883
881
  Daemon cancel and worker teardown can take several seconds; without an
884
882
  eager UI pass the thinking spinner stays live after interrupt.
885
883
  """
886
- label = message or self._INTERRUPT_UI_MESSAGE
884
+ from soothe_cli.tui.textual_adapter import STREAM_CANCELLED_MESSAGE
885
+
886
+ label = STREAM_CANCELLED_MESSAGE
887
887
  adapter = getattr(self, "_ui_adapter", None)
888
888
  if adapter is not None:
889
889
  if adapter._tool_to_step or adapter._tool_display_by_call_id:
@@ -165,7 +165,10 @@ from soothe_cli.tui.widgets.messages import (
165
165
  flush_deferred_tools_refreshes,
166
166
  reset_turn_tool_refresh_state,
167
167
  )
168
- from soothe_cli.tui.widgets.messages.cognition_goal_tree import _normalize_step_dependencies
168
+ from soothe_cli.tui.widgets.messages.cognition_goal_tree import (
169
+ _normalize_step_dependencies,
170
+ collect_running_step_stats,
171
+ )
169
172
  from soothe_cli.ux.subagent_wire_display import (
170
173
  SubagentWireRenderKind,
171
174
  classify_subagent_wire_render,
@@ -174,6 +177,8 @@ from soothe_cli.ux.subagent_wire_display import (
174
177
 
175
178
  logger = logging.getLogger(__name__)
176
179
 
180
+ STREAM_CANCELLED_MESSAGE = "Stream cancelled"
181
+
177
182
  # LLM call boundary — separates reasoning from different LLM calls
178
183
  LLM_CALL_BOUNDARY = "soothe.cognition.llm.call.boundary"
179
184
  # Plan-phase cognition card (not yet in soothe_client.core.events exports used by CLI).
@@ -382,6 +387,16 @@ class TextualUIAdapter:
382
387
  self._goal_tree_message: CognitionGoalTreeMessage | None = None
383
388
  """In-memory goal→steps state for the Ctrl+t plan quick view (not mounted in #messages)."""
384
389
 
390
+ def _sync_goal_tree_live_stats(self) -> None:
391
+ """Snapshot live step counters before a terminal footer freezes the plan."""
392
+ tree = self._goal_tree_message
393
+ if tree is None:
394
+ return
395
+ try:
396
+ tree.sync_running_live_stats(collect_running_step_stats(self._current_step_messages))
397
+ except Exception: # noqa: BLE001
398
+ logger.debug("failed to snapshot live goal tree stats", exc_info=True)
399
+
385
400
  def finalize_pending_tools_with_error(
386
401
  self,
387
402
  error: str,
@@ -399,6 +414,8 @@ class TextualUIAdapter:
399
414
  overwriting a terminal plan-panel footer (stream-end after a
400
415
  successful goal completion).
401
416
  """
417
+ tree = self._goal_tree_message
418
+ self._sync_goal_tree_live_stats()
402
419
  for tcid, step_w in list(self._tool_to_step.items()):
403
420
  step_w.set_tool_error(tcid, error, duration_ms=0)
404
421
  _clear_adapter_step_tool_registry(self, clear_step_messages=False)
@@ -409,8 +426,8 @@ class TextualUIAdapter:
409
426
  self._file_change_previews_shown.clear()
410
427
  self._file_change_widgets.clear()
411
428
  self._file_preview_assistant_id = None
412
- if interrupt_goal_tree and self._goal_tree_message is not None:
413
- self._goal_tree_message.set_interrupted(error)
429
+ if interrupt_goal_tree and tree is not None:
430
+ tree.set_interrupted(error)
414
431
 
415
432
  # Clear active streaming message to avoid stale "active" state in the store.
416
433
  if self._set_active_message:
@@ -432,6 +449,13 @@ class TextualUIAdapter:
432
449
  interrupt_goal_tree: When False, skip plan-panel `set_interrupted`
433
450
  (preserves a success footer after goal completion).
434
451
  """
452
+ tree = self._goal_tree_message
453
+ self._sync_goal_tree_live_stats()
454
+ display_message = (
455
+ tree.interrupted_status_label(message)
456
+ if tree is not None and interrupt_goal_tree
457
+ else message
458
+ )
435
459
  targets = {
436
460
  sid: step_msg
437
461
  for sid, step_msg in self._current_step_messages.items()
@@ -446,7 +470,7 @@ class TextualUIAdapter:
446
470
  if targets or not only_in_flight:
447
471
  _finalize_orphan_subagent_cards(self, success=False, summary=message)
448
472
  for step_msg in targets.values():
449
- step_msg.set_interrupted(message)
473
+ step_msg.set_interrupted(display_message)
450
474
  _clear_adapter_step_tool_registry(self)
451
475
  self._orphan_cards_by_invocation.clear()
452
476
  self._last_completed_main_step_execute_prose = ""
@@ -515,10 +539,10 @@ def _stream_end_pending_error_message(
515
539
  )
516
540
 
517
541
  if bool(getattr(daemon_session, "last_turn_cancellation_seen", False)):
518
- return "Stream cancelled"
542
+ return STREAM_CANCELLED_MESSAGE
519
543
  end_state = getattr(daemon_session, "last_turn_end_state", None)
520
544
  if end_state == "stopped":
521
- return "Stream cancelled"
545
+ return STREAM_CANCELLED_MESSAGE
522
546
  if end_state == "connection_lost":
523
547
  return "Connection lost during stream"
524
548
  err_msg = getattr(daemon_session, "last_turn_error_message", None) or ""
@@ -1695,20 +1719,16 @@ async def _ensure_goal_tree_message(
1695
1719
  adapter: TextualUIAdapter,
1696
1720
  *,
1697
1721
  goal: str = "",
1698
- max_iterations: int = 0,
1699
1722
  ) -> CognitionGoalTreeMessage:
1700
1723
  """Create or refresh in-memory goal tree state for the plan quick view."""
1701
1724
  tree = adapter._goal_tree_message
1702
1725
  if tree is not None:
1703
1726
  if goal.strip():
1704
1727
  tree._goal_text = goal.strip()
1705
- if max_iterations > 0:
1706
- tree._max_iterations = max_iterations
1707
1728
  tree.mark_loop_started()
1708
1729
  return tree
1709
1730
  widget = CognitionGoalTreeMessage(
1710
1731
  goal=goal.strip() or "Goal",
1711
- max_iterations=max_iterations,
1712
1732
  id=f"goal-tree-{uuid.uuid4().hex[:8]}",
1713
1733
  )
1714
1734
  widget.mark_loop_started()
@@ -2698,11 +2718,15 @@ async def _handle_interrupt_cleanup(
2698
2718
  # Mark tools as rejected AFTER saving state
2699
2719
  _reject_step_tool_rows(adapter)
2700
2720
 
2721
+ tree = adapter._goal_tree_message
2722
+ interrupt_label = STREAM_CANCELLED_MESSAGE
2723
+ adapter._sync_goal_tree_live_stats()
2724
+ if tree is not None:
2725
+ tree.set_interrupted(interrupt_label)
2726
+ interrupt_label = tree.interrupted_status_label(interrupt_label)
2701
2727
  for step_msg in list(adapter._current_step_messages.values()):
2702
- step_msg.set_interrupted("")
2728
+ step_msg.set_interrupted(interrupt_label)
2703
2729
  _clear_adapter_step_tool_registry(adapter)
2704
- if adapter._goal_tree_message is not None:
2705
- adapter._goal_tree_message.set_interrupted("Stream cancelled")
2706
2730
 
2707
2731
  adapter._last_completed_main_step_execute_prose = ""
2708
2732
  adapter._last_main_flushed_assistant_prose = ""
@@ -4202,12 +4226,7 @@ async def execute_task_textual(
4202
4226
  adapter._last_completed_main_step_execute_prose = ""
4203
4227
  adapter._last_main_flushed_assistant_prose = ""
4204
4228
  goal = str(data.get("goal", "")).strip()
4205
- max_iter = int(data.get("max_iterations", 0) or 0)
4206
- await _ensure_goal_tree_message(
4207
- adapter,
4208
- goal=goal,
4209
- max_iterations=max_iter,
4210
- )
4229
+ await _ensure_goal_tree_message(adapter, goal=goal)
4211
4230
  pending_text = pending_text_by_namespace.get(ns_key, "")
4212
4231
  if pending_text:
4213
4232
  await _flush_assistant_text_ns(
@@ -4,6 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import logging
6
6
  import re
7
+ from collections.abc import Mapping
7
8
  from time import time
8
9
  from typing import TYPE_CHECKING, Any
9
10
 
@@ -42,6 +43,8 @@ _MAX_GOAL_HEADER = 100
42
43
  _MAX_GOAL_STEP_DESC = 80
43
44
  _MAX_STEP_SUMMARY_TAIL = 80
44
45
  _MAX_DEPENDENCY_IDS = 3
46
+ _MAX_INTERRUPT_REASON = 64
47
+ _MAX_INTERRUPT_LABEL = 120
45
48
 
46
49
  _DONE_WITH_TOOLS_RE = re.compile(r"^Done(?:\s*\[\d+\s+tools?\])?$", re.IGNORECASE)
47
50
 
@@ -66,8 +69,8 @@ def _plan_quick_view_step_summary(
66
69
  ) -> str:
67
70
  """Return a Ctrl+T-safe step summary tail.
68
71
 
69
- Hides redundant `Done [N tools]` text (stats already show tool count) and
70
- legacy success payloads that still carry error-shaped summary strings.
72
+ Hides redundant `Done [N tools]` text and error-shaped summaries on
73
+ successful steps (the row stats already carry both).
71
74
  """
72
75
  tail = (summary or "").strip()
73
76
  if not tail or tail in ("Done", "Failed"):
@@ -91,6 +94,30 @@ def _normalize_step_dependencies(raw_deps: Any) -> tuple[str, ...]:
91
94
  return tuple(str(dep).strip() for dep in raw_deps if str(dep).strip())
92
95
 
93
96
 
97
+ def collect_running_step_stats(
98
+ step_cards: Mapping[str, Any],
99
+ ) -> dict[str, tuple[int, float | None, int, int]]:
100
+ """Read live tool, timing, and token counters from running step cards.
101
+
102
+ Each value is `(tool_count, started_at, input_tokens, output_tokens)`.
103
+ Called by the plan panel refresh and again at interrupt time, so the
104
+ interrupted-run snapshot does not depend on the panel being visible.
105
+ """
106
+ stats: dict[str, tuple[int, float | None, int, int]] = {}
107
+ for sid, card in step_cards.items():
108
+ if getattr(card, "_status", "") != "running":
109
+ continue
110
+ index = card._build_row_index()
111
+ started_at = card._start_time
112
+ stats[sid] = (
113
+ max(0, int(getattr(index, "main_tool_count", 0) or 0)),
114
+ started_at if isinstance(started_at, (int, float)) else None,
115
+ max(0, int(getattr(card, "_input_tokens", 0) or 0)),
116
+ max(0, int(getattr(card, "_output_tokens", 0) or 0)),
117
+ )
118
+ return stats
119
+
120
+
94
121
  class _StepLineState:
95
122
  """Mutable row state for the goal → steps aggregate."""
96
123
 
@@ -176,27 +203,25 @@ class CognitionGoalTreeMessage(Vertical):
176
203
  self,
177
204
  *,
178
205
  goal: str,
179
- max_iterations: int = 0,
180
206
  **kwargs: Any,
181
207
  ) -> None:
182
208
  """Initialize an empty goal tree (steps render as events arrive).
183
209
 
184
210
  Args:
185
211
  goal: Primary goal text (clipped for header).
186
- max_iterations: Retained for snapshot/restore parity; not rendered.
187
212
  **kwargs: Passed to `Vertical`.
188
213
  """
189
214
  super().__init__(**kwargs)
190
215
  self._goal_text = goal.strip()
191
- self._max_iterations = int(max_iterations)
192
216
  self._step_order: list[str] = []
193
217
  self._steps: dict[str, _StepLineState] = {}
194
218
  self._footer_plain: str = ""
195
219
  self._footer_visible: bool = False
196
- self._footer_tone: str = "muted" # success | error | muted (step/tool completion parity)
220
+ self._footer_tone: str = "muted"
197
221
  self._task_complexity: str = ""
198
222
  self._spinner_position: int = 0
199
223
  self._loop_started_at: float | None = None
224
+ self._loop_interrupted_at: float | None = None
200
225
  self._steps_static: Static | None = None
201
226
  # Goal-level accumulator for orphan usage chunks that arrive before any
202
227
  # step card is bound (parallel waves). ``goal_token_totals`` sums these
@@ -273,7 +298,7 @@ class CognitionGoalTreeMessage(Vertical):
273
298
  )
274
299
 
275
300
  def _goal_footer_styled_content(self) -> Content:
276
- """Footer content for loop finished / interrupted (parity with step/tool status lines).
301
+ """Footer content for loop finished / interrupted.
277
302
 
278
303
  The `done` (success) footer shares the title line's de-emphasized
279
304
  `SECONDARY_TEXT_STYLE` so the completion status blends with the
@@ -294,11 +319,50 @@ class CognitionGoalTreeMessage(Vertical):
294
319
  return Content.styled(f"{gutter}{plain}", theme.SECONDARY_TEXT_STYLE)
295
320
 
296
321
  def loop_elapsed_label(self) -> str | None:
297
- """Wall-clock elapsed while the goal loop is open, for the plan panel title."""
298
- if not self._loop_executing():
322
+ """Wall-clock elapsed for the plan panel title, frozen after an interrupt."""
323
+ if self._loop_executing():
324
+ return self._goal_elapsed_label()
325
+ if (
326
+ self._footer_visible
327
+ and self._footer_tone == "error"
328
+ and self._loop_interrupted_at is not None
329
+ ):
330
+ return self._goal_elapsed_label()
331
+ return None
332
+
333
+ def _goal_elapsed_label(self) -> str | None:
334
+ """Elapsed wall clock from loop start to now (or to the frozen interrupt)."""
335
+ started = self._loop_started_at
336
+ if started is None:
299
337
  return None
300
- started = self._loop_started_at or time()
301
- return format_running_elapsed(time() - started)
338
+ ended = self._loop_interrupted_at if self._loop_interrupted_at is not None else time()
339
+ return format_running_elapsed(max(0.0, ended - started))
340
+
341
+ def execution_stats_suffix(self) -> str:
342
+ """Compact snapshot of loop work: `2/5 steps · 7 tools · 12s · ↑1.2K ↓345`."""
343
+ parts: list[str] = []
344
+ total = len(self._step_order)
345
+ if total:
346
+ done = sum(1 for st in self._steps.values() if st.phase == "done")
347
+ parts.append(f"{done}/{total} steps")
348
+ tools = sum(max(0, int(st.tool_call_count)) for st in self._steps.values())
349
+ if tools:
350
+ parts.append(f"{tools} tools")
351
+ elapsed = self._goal_elapsed_label()
352
+ if elapsed:
353
+ parts.append(elapsed)
354
+ tokens = self.goal_token_suffix()
355
+ if tokens:
356
+ parts.append(tokens)
357
+ return " · ".join(parts)
358
+
359
+ def interrupted_status_label(self, reason: str) -> str:
360
+ """Compose `Stream cancelled · 2/5 steps · 7 tools · 12s · ↑1.2K ↓345`."""
361
+ label = self._clip((reason or "Interrupted").strip(), _MAX_INTERRUPT_REASON)
362
+ stats = self.execution_stats_suffix()
363
+ if stats:
364
+ label = f"{label} · {stats}"
365
+ return self._clip(label, _MAX_INTERRUPT_LABEL)
302
366
 
303
367
  def goal_token_totals(self) -> tuple[int, int]:
304
368
  """Cumulative `(input_tokens, output_tokens)` across all step rows.
@@ -350,6 +414,7 @@ class CognitionGoalTreeMessage(Vertical):
350
414
  """
351
415
  if self._loop_started_at is None or self._footer_visible:
352
416
  self._loop_started_at = started_at if started_at is not None else time()
417
+ self._loop_interrupted_at = None
353
418
  if self._footer_visible:
354
419
  self._footer_visible = False
355
420
  self._footer_plain = ""
@@ -390,10 +455,12 @@ class CognitionGoalTreeMessage(Vertical):
390
455
  if not parts:
391
456
  return ""
392
457
  return " · " + " · ".join(parts)
393
- if st.phase not in ("done", "error"):
458
+ if st.phase == "error":
459
+ parts = [format_duration_ms(st.duration_ms)]
460
+ elif st.phase == "done":
461
+ parts = [format_duration(max(0.001, st.duration_ms / 1000.0))]
462
+ else:
394
463
  return ""
395
- dur_s = max(0.001, st.duration_ms / 1000.0)
396
- parts = [format_duration(dur_s)]
397
464
  if st.tool_call_count > 0:
398
465
  parts.append(f"{st.tool_call_count} tools")
399
466
  parts.extend(token_parts)
@@ -434,14 +501,24 @@ class CognitionGoalTreeMessage(Vertical):
434
501
  step_label = display_step_id(st.step_id)
435
502
  step_prefix = f"{step_label}: " if step_label else ""
436
503
  dep_suffix = _dependency_suffix(st.dependencies)
437
- queued_suffix = " · queued" if st.phase == "queued" else ""
504
+ state_suffix = " · queued" if st.phase == "queued" else ""
505
+ if (
506
+ self._footer_visible
507
+ and self._footer_tone == "error"
508
+ and st.phase
509
+ in (
510
+ "pending",
511
+ "queued",
512
+ )
513
+ ):
514
+ state_suffix = " · not started"
438
515
  stats_suffix = self._step_stats_suffix(st)
439
516
  summary_suffix = self._step_summary_suffix(st)
440
517
  lead = f"{icon} {step_prefix}"
441
518
 
442
519
  def assemble(desc: str, *, include_summary: bool) -> str:
443
520
  summary = summary_suffix if include_summary else ""
444
- return f"{lead}{desc}{dep_suffix}{queued_suffix}{stats_suffix}{summary}"
521
+ return f"{lead}{desc}{dep_suffix}{state_suffix}{stats_suffix}{summary}"
445
522
 
446
523
  width = max_line_width or PLAN_QUICK_VIEW_STEP_LINE_MAX_CHARS
447
524
  desc = self._clip(st.description, _MAX_GOAL_STEP_DESC)
@@ -453,10 +530,10 @@ class CognitionGoalTreeMessage(Vertical):
453
530
  if len(line) <= width:
454
531
  return line
455
532
 
456
- fixed_len = len(f"{lead}{dep_suffix}{queued_suffix}{stats_suffix}")
533
+ fixed_len = len(f"{lead}{dep_suffix}{state_suffix}{stats_suffix}")
457
534
  budget = width - fixed_len
458
535
  clipped_desc = self._clip(st.description, budget)
459
- return f"{lead}{clipped_desc}{dep_suffix}{queued_suffix}{stats_suffix}"
536
+ return f"{lead}{clipped_desc}{dep_suffix}{state_suffix}{stats_suffix}"
460
537
 
461
538
  def _goal_tree_step_line_content(
462
539
  self,
@@ -464,7 +541,7 @@ class CognitionGoalTreeMessage(Vertical):
464
541
  *,
465
542
  max_line_width: int | None = None,
466
543
  ) -> Content:
467
- """One goal→step row: dim tree gutter, foreground body (parity with `CognitionStepMessage` tool rows)."""
544
+ """One goal→step row: dim tree gutter, foreground body."""
468
545
  try:
469
546
  colors = theme.get_theme_colors(self)
470
547
  except Exception: # noqa: BLE001
@@ -627,13 +704,13 @@ class CognitionGoalTreeMessage(Vertical):
627
704
  )
628
705
  return {
629
706
  "goal": self._goal_text,
630
- "max_iterations": self._max_iterations,
631
707
  "task_complexity": self._task_complexity,
632
708
  "steps": steps_out,
633
709
  "footer_visible": self._footer_visible,
634
710
  "footer_text": self._footer_plain,
635
711
  "footer_tone": self._footer_tone,
636
712
  "loop_started_at": self._loop_started_at,
713
+ "loop_interrupted_at": self._loop_interrupted_at,
637
714
  "goal_in_tokens": self._goal_in_tokens,
638
715
  "goal_out_tokens": self._goal_out_tokens,
639
716
  }
@@ -641,7 +718,6 @@ class CognitionGoalTreeMessage(Vertical):
641
718
  def _apply_snapshot(self, snap: dict[str, Any]) -> None:
642
719
  """Restore in-memory goal tree state from :meth:`snapshot_dict` output."""
643
720
  self._goal_text = str(snap.get("goal", self._goal_text))
644
- self._max_iterations = int(snap.get("max_iterations", self._max_iterations))
645
721
  raw_complexity = str(snap.get("task_complexity", "") or "").strip().lower()
646
722
  if raw_complexity in _TASK_COMPLEXITIES:
647
723
  self._task_complexity = raw_complexity
@@ -651,6 +727,8 @@ class CognitionGoalTreeMessage(Vertical):
651
727
  self._footer_tone = tone if tone in ("success", "error", "muted") else "muted"
652
728
  loop_started_raw = snap.get("loop_started_at")
653
729
  self._loop_started_at = float(loop_started_raw) if loop_started_raw is not None else None
730
+ interrupted_raw = snap.get("loop_interrupted_at")
731
+ self._loop_interrupted_at = float(interrupted_raw) if interrupted_raw is not None else None
654
732
  self._goal_in_tokens = max(0, int(snap.get("goal_in_tokens", 0)))
655
733
  self._goal_out_tokens = max(0, int(snap.get("goal_out_tokens", 0)))
656
734
  self._step_order = []
@@ -833,9 +911,6 @@ class CognitionGoalTreeMessage(Vertical):
833
911
  cs = (completion_summary or "").strip()
834
912
  if cs:
835
913
  parts.append(self._clip(cs, 100))
836
- # Append cumulative token suffix (parity with step rows / panel header).
837
- # ``goal_token_suffix`` returns "" when no tokens recorded, so the footer
838
- # stays clean for token-less runs.
839
914
  token_suffix = self.goal_token_suffix()
840
915
  if token_suffix:
841
916
  parts.append(token_suffix)
@@ -851,26 +926,28 @@ class CognitionGoalTreeMessage(Vertical):
851
926
  self._sync_goal_tree_widgets()
852
927
 
853
928
  def set_interrupted(self, message: str) -> None:
854
- """Mark running steps as failed and show a footer (stream cancel/error).
929
+ """Show a stats-bearing cancel/error footer and freeze the loop state.
855
930
 
856
- When the loop already finished successfully and no step is still
857
- open, preserve the success footer (late stream-end safety net must
858
- not overwrite a completed goal).
931
+ Completed rows keep their results, running rows keep their real
932
+ elapsed time and counters, and rows that never started stay pending.
933
+ A late stream-end safety net must not overwrite a success footer.
859
934
  """
860
- msg = (message or "Interrupted").strip()
861
- marked = False
862
- for sid in list(self._step_order):
863
- st = self._steps.get(sid)
864
- if st is not None and st.phase in ("pending", "queued", "running"):
865
- st.phase = "error"
866
- st.success = False
867
- st.duration_ms = 0
868
- st.summary = msg
869
- st.started_at = None
870
- marked = True
871
- if not marked and self._footer_visible and self._footer_tone == "success":
935
+ msg = (message or "").strip()
936
+ running_rows = [st for st in self._steps.values() if st.phase == "running"]
937
+ if not running_rows and self._footer_visible and self._footer_tone == "success":
872
938
  return
873
- self._footer_plain = self._clip(msg, 120)
939
+ if self._loop_interrupted_at is None:
940
+ self._loop_interrupted_at = time()
941
+ stopped_at = self._loop_interrupted_at
942
+ for st in running_rows:
943
+ st.phase = "error"
944
+ st.success = False
945
+ if st.started_at is not None:
946
+ st.duration_ms = max(0, int((stopped_at - st.started_at) * 1000))
947
+ st.started_at = None
948
+ summary = st.summary.strip()
949
+ st.summary = f"{summary} (interrupted)" if summary else "interrupted"
950
+ self._footer_plain = self.interrupted_status_label(msg)
874
951
  self._footer_visible = True
875
952
  self._footer_tone = "error"
876
953
  self._sync_goal_tree_widgets()
@@ -1482,11 +1482,8 @@ class CognitionStepMessage(Vertical):
1482
1482
  except Exception: # noqa: BLE001 # Unmounted widget (tests / no Textual app)
1483
1483
  colors = theme.DARK_COLORS
1484
1484
  if self._status_widget:
1485
- if message.strip():
1486
- self._status_widget.update(Content.styled(message, colors.error))
1487
- self._status_widget.display = True
1488
- else:
1489
- self._status_widget.display = False
1485
+ self._status_widget.update(Content.styled(message, colors.error))
1486
+ self._status_widget.display = True
1490
1487
  self._auto_collapse_on_terminal()
1491
1488
 
1492
1489
  def _sync_task_row_status_from_subagent(self, task_key: str, success: bool) -> None:
@@ -20,6 +20,7 @@ from soothe_cli.display.tool_display import display_width, truncate_to_width
20
20
  from soothe_cli.runtime.presentation.id_format import compact_id_suffix
21
21
  from soothe_cli.settings import get_glyphs
22
22
  from soothe_cli.tui.widgets.messages._helpers import _RUNNING_SPINNER_INTERVAL_SECONDS
23
+ from soothe_cli.tui.widgets.messages.cognition_goal_tree import collect_running_step_stats
23
24
 
24
25
  if TYPE_CHECKING:
25
26
  from textual.app import ComposeResult
@@ -114,24 +115,6 @@ def get_live_goal_tree(app: Any) -> CognitionGoalTreeMessage | None:
114
115
  return tree
115
116
 
116
117
 
117
- def _goal_tree_running_live_stats(
118
- adapter: Any,
119
- ) -> dict[str, tuple[int, float | None, int, int]]:
120
- """Collect live tool counts, start times, and token counts from running step cards."""
121
- stats: dict[str, tuple[int, float | None, int, int]] = {}
122
- for sid, card in getattr(adapter, "_current_step_messages", {}).items():
123
- if card._status != "running":
124
- continue
125
- idx = card._build_row_index()
126
- stats[sid] = (
127
- idx.main_tool_count,
128
- card._start_time,
129
- card._input_tokens,
130
- card._output_tokens,
131
- )
132
- return stats
133
-
134
-
135
118
  class PlanQuickViewOverlay(Vertical):
136
119
  """In-flow plan panel above the thinking row and chat input.
137
120
 
@@ -340,7 +323,9 @@ class PlanQuickViewOverlay(Vertical):
340
323
  try:
341
324
  adapter = getattr(self.app, "_ui_adapter", None)
342
325
  if adapter is not None:
343
- tree.sync_running_live_stats(_goal_tree_running_live_stats(adapter))
326
+ tree.sync_running_live_stats(
327
+ collect_running_step_stats(getattr(adapter, "_current_step_messages", {}))
328
+ )
344
329
  tree.tick_running_spinner()
345
330
  max_line_width = self._plan_quick_view_line_width()
346
331
  self._content.update(tree.plan_quick_view_content(max_line_width=max_line_width))
File without changes
File without changes
File without changes