webbee 0.7.36__tar.gz → 0.7.37__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 (222) hide show
  1. {webbee-0.7.36 → webbee-0.7.37}/CHANGELOG.md +15 -0
  2. {webbee-0.7.36 → webbee-0.7.37}/PKG-INFO +1 -1
  3. {webbee-0.7.36 → webbee-0.7.37}/pyproject.toml +1 -1
  4. webbee-0.7.37/src/webbee/__init__.py +1 -0
  5. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/blocks.py +40 -6
  6. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/expand.py +1 -1
  7. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/frames.py +26 -0
  8. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/i18n.py +5 -1
  9. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/render.py +127 -23
  10. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/repl.py +15 -0
  11. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/session.py +167 -78
  12. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/tools.py +3 -1
  13. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/ui_tokens.py +79 -10
  14. {webbee-0.7.36 → webbee-0.7.37}/tests/test_grid_golden.py +53 -18
  15. webbee-0.7.37/tests/test_guide_and_semantic_ux.py +353 -0
  16. {webbee-0.7.36 → webbee-0.7.37}/tests/test_i18n.py +1 -1
  17. {webbee-0.7.36 → webbee-0.7.37}/tests/test_render.py +3 -3
  18. webbee-0.7.37/tests/test_tool_ack.py +269 -0
  19. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tools_vision_websearch.py +52 -0
  20. {webbee-0.7.36 → webbee-0.7.37}/uv.lock +1 -1
  21. webbee-0.7.36/src/webbee/__init__.py +0 -1
  22. webbee-0.7.36/tests/test_tool_ack.py +0 -113
  23. {webbee-0.7.36 → webbee-0.7.37}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  24. {webbee-0.7.36 → webbee-0.7.37}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  25. {webbee-0.7.36 → webbee-0.7.37}/.github/pull_request_template.md +0 -0
  26. {webbee-0.7.36 → webbee-0.7.37}/.github/workflows/os-check.yml +0 -0
  27. {webbee-0.7.36 → webbee-0.7.37}/.github/workflows/publish.yml +0 -0
  28. {webbee-0.7.36 → webbee-0.7.37}/.gitignore +0 -0
  29. {webbee-0.7.36 → webbee-0.7.37}/LICENSE +0 -0
  30. {webbee-0.7.36 → webbee-0.7.37}/PRIVACY.md +0 -0
  31. {webbee-0.7.36 → webbee-0.7.37}/README.md +0 -0
  32. {webbee-0.7.36 → webbee-0.7.37}/SECURITY.md +0 -0
  33. {webbee-0.7.36 → webbee-0.7.37}/assets/architecture.png +0 -0
  34. {webbee-0.7.36 → webbee-0.7.37}/assets/demo.gif +0 -0
  35. {webbee-0.7.36 → webbee-0.7.37}/assets/hero.png +0 -0
  36. {webbee-0.7.36 → webbee-0.7.37}/assets/social-preview.png +0 -0
  37. {webbee-0.7.36 → webbee-0.7.37}/ci/__init__.py +0 -0
  38. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/__init__.py +0 -0
  39. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/drivers.py +0 -0
  40. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/fixture.py +0 -0
  41. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/fixture_long.py +0 -0
  42. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/fixture_wait.py +0 -0
  43. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/provision_user.py +0 -0
  44. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/registry.py +0 -0
  45. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/replay.py +0 -0
  46. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/run.py +0 -0
  47. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/scenarios_account.py +0 -0
  48. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/scenarios_code.py +0 -0
  49. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/scenarios_contract.py +0 -0
  50. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/scenarios_long.py +0 -0
  51. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/scenarios_wait.py +0 -0
  52. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/test_drivers.py +0 -0
  53. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/test_fixture.py +0 -0
  54. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/test_fixture_long.py +0 -0
  55. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/test_fixture_wait.py +0 -0
  56. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/test_registry.py +0 -0
  57. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/test_replay.py +0 -0
  58. {webbee-0.7.36 → webbee-0.7.37}/ci/field_gate/wipe.py +0 -0
  59. {webbee-0.7.36 → webbee-0.7.37}/ci/os_check.py +0 -0
  60. {webbee-0.7.36 → webbee-0.7.37}/dev-webbee +0 -0
  61. {webbee-0.7.36 → webbee-0.7.37}/install.sh +0 -0
  62. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/__main__.py +0 -0
  63. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/_launch.py +0 -0
  64. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/account.py +0 -0
  65. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/active_sessions.py +0 -0
  66. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/autoupdate.py +0 -0
  67. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/banner_art.py +0 -0
  68. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/boot.py +0 -0
  69. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/browser.py +0 -0
  70. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/checkpoints.py +0 -0
  71. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/cli.py +0 -0
  72. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/clipboard.py +0 -0
  73. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/clipboard_read.py +0 -0
  74. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/clipboard_session.py +0 -0
  75. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/coding_context.py +0 -0
  76. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/commands.py +0 -0
  77. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/config.py +0 -0
  78. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/consent.py +0 -0
  79. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/details.py +0 -0
  80. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/events.py +0 -0
  81. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/home.py +0 -0
  82. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/home_view.py +0 -0
  83. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/http.py +0 -0
  84. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/instance_lock.py +0 -0
  85. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/__init__.py +0 -0
  86. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/graph.py +0 -0
  87. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/outline.py +0 -0
  88. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/query.py +0 -0
  89. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/service.py +0 -0
  90. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/store.py +0 -0
  91. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/tree.py +0 -0
  92. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/intel/watch.py +0 -0
  93. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/jobs.py +0 -0
  94. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/jobs_panel.py +0 -0
  95. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/jobwatch.py +0 -0
  96. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/loop_errors.py +0 -0
  97. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/media.py +0 -0
  98. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/modals.py +0 -0
  99. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/mode_store.py +0 -0
  100. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/native_files.py +0 -0
  101. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/native_read.py +0 -0
  102. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/newtab_mode.py +0 -0
  103. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/output_pane.py +0 -0
  104. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/prefs.py +0 -0
  105. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/pricing_constants.py +0 -0
  106. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/queue_panel.py +0 -0
  107. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/reflow.py +0 -0
  108. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/remote.py +0 -0
  109. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/repo.py +0 -0
  110. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/selection.py +0 -0
  111. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/sessions.py +0 -0
  112. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/sizing.py +0 -0
  113. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/slots.py +0 -0
  114. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/stallwatch.py +0 -0
  115. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/steer.py +0 -0
  116. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/stream.py +0 -0
  117. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/tab_store.py +0 -0
  118. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/tabs.py +0 -0
  119. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/thread.py +0 -0
  120. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/tier_store.py +0 -0
  121. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/todo_panel.py +0 -0
  122. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/tokens.py +0 -0
  123. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/tui.py +0 -0
  124. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/update.py +0 -0
  125. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/urlopen.py +0 -0
  126. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/wallet.py +0 -0
  127. {webbee-0.7.36 → webbee-0.7.37}/src/webbee/worktrees.py +0 -0
  128. {webbee-0.7.36 → webbee-0.7.37}/tests/__init__.py +0 -0
  129. {webbee-0.7.36 → webbee-0.7.37}/tests/conftest.py +0 -0
  130. {webbee-0.7.36 → webbee-0.7.37}/tests/test_account.py +0 -0
  131. {webbee-0.7.36 → webbee-0.7.37}/tests/test_active_sessions.py +0 -0
  132. {webbee-0.7.36 → webbee-0.7.37}/tests/test_answer_delta.py +0 -0
  133. {webbee-0.7.36 → webbee-0.7.37}/tests/test_append_file.py +0 -0
  134. {webbee-0.7.36 → webbee-0.7.37}/tests/test_audit_2026_07_25_findings.py +0 -0
  135. {webbee-0.7.36 → webbee-0.7.37}/tests/test_autoupdate.py +0 -0
  136. {webbee-0.7.36 → webbee-0.7.37}/tests/test_blocks.py +0 -0
  137. {webbee-0.7.36 → webbee-0.7.37}/tests/test_checkpoints.py +0 -0
  138. {webbee-0.7.36 → webbee-0.7.37}/tests/test_checkpoints_nested_1030.py +0 -0
  139. {webbee-0.7.36 → webbee-0.7.37}/tests/test_cli.py +0 -0
  140. {webbee-0.7.36 → webbee-0.7.37}/tests/test_clipboard.py +0 -0
  141. {webbee-0.7.36 → webbee-0.7.37}/tests/test_clipboard_read.py +0 -0
  142. {webbee-0.7.36 → webbee-0.7.37}/tests/test_code_map_fresh.py +0 -0
  143. {webbee-0.7.36 → webbee-0.7.37}/tests/test_coding_context.py +0 -0
  144. {webbee-0.7.36 → webbee-0.7.37}/tests/test_commands.py +0 -0
  145. {webbee-0.7.36 → webbee-0.7.37}/tests/test_config.py +0 -0
  146. {webbee-0.7.36 → webbee-0.7.37}/tests/test_cpc_contract_stable.py +0 -0
  147. {webbee-0.7.36 → webbee-0.7.37}/tests/test_cpc_outline.py +0 -0
  148. {webbee-0.7.36 → webbee-0.7.37}/tests/test_cross_loop_token.py +0 -0
  149. {webbee-0.7.36 → webbee-0.7.37}/tests/test_details.py +0 -0
  150. {webbee-0.7.36 → webbee-0.7.37}/tests/test_events.py +0 -0
  151. {webbee-0.7.36 → webbee-0.7.37}/tests/test_expand.py +0 -0
  152. {webbee-0.7.36 → webbee-0.7.37}/tests/test_field_test_1113.py +0 -0
  153. {webbee-0.7.36 → webbee-0.7.37}/tests/test_freeze_fix.py +0 -0
  154. {webbee-0.7.36 → webbee-0.7.37}/tests/test_home.py +0 -0
  155. {webbee-0.7.36 → webbee-0.7.37}/tests/test_home_view.py +0 -0
  156. {webbee-0.7.36 → webbee-0.7.37}/tests/test_home_view_mouse.py +0 -0
  157. {webbee-0.7.36 → webbee-0.7.37}/tests/test_inspect_page.py +0 -0
  158. {webbee-0.7.36 → webbee-0.7.37}/tests/test_instance_lock.py +0 -0
  159. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_any_folder.py +0 -0
  160. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_cache_and_sync_worker.py +0 -0
  161. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_checksum_tree.py +0 -0
  162. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_chunker.py +0 -0
  163. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_embed.py +0 -0
  164. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_folder_1106.py +0 -0
  165. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_graph.py +0 -0
  166. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_no_numpy.py +0 -0
  167. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_query.py +0 -0
  168. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_service.py +0 -0
  169. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_store.py +0 -0
  170. {webbee-0.7.36 → webbee-0.7.37}/tests/test_intel_watch.py +0 -0
  171. {webbee-0.7.36 → webbee-0.7.37}/tests/test_jobs_1127.py +0 -0
  172. {webbee-0.7.36 → webbee-0.7.37}/tests/test_launch.py +0 -0
  173. {webbee-0.7.36 → webbee-0.7.37}/tests/test_loop_errors.py +0 -0
  174. {webbee-0.7.36 → webbee-0.7.37}/tests/test_marathon.py +0 -0
  175. {webbee-0.7.36 → webbee-0.7.37}/tests/test_modals_e2e.py +0 -0
  176. {webbee-0.7.36 → webbee-0.7.37}/tests/test_mode_and_remote_0_6_8.py +0 -0
  177. {webbee-0.7.36 → webbee-0.7.37}/tests/test_mode_store.py +0 -0
  178. {webbee-0.7.36 → webbee-0.7.37}/tests/test_native_files.py +0 -0
  179. {webbee-0.7.36 → webbee-0.7.37}/tests/test_newtab_mode.py +0 -0
  180. {webbee-0.7.36 → webbee-0.7.37}/tests/test_packaging.py +0 -0
  181. {webbee-0.7.36 → webbee-0.7.37}/tests/test_probe_cost.py +0 -0
  182. {webbee-0.7.36 → webbee-0.7.37}/tests/test_queue_manage_0337.py +0 -0
  183. {webbee-0.7.36 → webbee-0.7.37}/tests/test_read_never_waits_for_the_repo.py +0 -0
  184. {webbee-0.7.36 → webbee-0.7.37}/tests/test_reflow.py +0 -0
  185. {webbee-0.7.36 → webbee-0.7.37}/tests/test_remote_code_reads.py +0 -0
  186. {webbee-0.7.36 → webbee-0.7.37}/tests/test_repl.py +0 -0
  187. {webbee-0.7.36 → webbee-0.7.37}/tests/test_repo.py +0 -0
  188. {webbee-0.7.36 → webbee-0.7.37}/tests/test_resilient_http.py +0 -0
  189. {webbee-0.7.36 → webbee-0.7.37}/tests/test_result_fits_the_door.py +0 -0
  190. {webbee-0.7.36 → webbee-0.7.37}/tests/test_review_fixes_1030.py +0 -0
  191. {webbee-0.7.36 → webbee-0.7.37}/tests/test_session.py +0 -0
  192. {webbee-0.7.36 → webbee-0.7.37}/tests/test_session_review_1030.py +0 -0
  193. {webbee-0.7.36 → webbee-0.7.37}/tests/test_sessions.py +0 -0
  194. {webbee-0.7.36 → webbee-0.7.37}/tests/test_sizing.py +0 -0
  195. {webbee-0.7.36 → webbee-0.7.37}/tests/test_slots.py +0 -0
  196. {webbee-0.7.36 → webbee-0.7.37}/tests/test_ssh_guard.py +0 -0
  197. {webbee-0.7.36 → webbee-0.7.37}/tests/test_stallwatch.py +0 -0
  198. {webbee-0.7.36 → webbee-0.7.37}/tests/test_steer.py +0 -0
  199. {webbee-0.7.36 → webbee-0.7.37}/tests/test_stream.py +0 -0
  200. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tab_bar_stability.py +0 -0
  201. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tab_restore_0337.py +0 -0
  202. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tabs.py +0 -0
  203. {webbee-0.7.36 → webbee-0.7.37}/tests/test_terminal_ux_0336.py +0 -0
  204. {webbee-0.7.36 → webbee-0.7.37}/tests/test_thread.py +0 -0
  205. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tier_invalidation.py +0 -0
  206. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tier_store.py +0 -0
  207. {webbee-0.7.36 → webbee-0.7.37}/tests/test_todo_panel.py +0 -0
  208. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tokens.py +0 -0
  209. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tools.py +0 -0
  210. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tools_eol_cancel_1030.py +0 -0
  211. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tray_1126.py +0 -0
  212. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tui.py +0 -0
  213. {webbee-0.7.36 → webbee-0.7.37}/tests/test_tui_hardening.py +0 -0
  214. {webbee-0.7.36 → webbee-0.7.37}/tests/test_ui_tokens.py +0 -0
  215. {webbee-0.7.36 → webbee-0.7.37}/tests/test_update.py +0 -0
  216. {webbee-0.7.36 → webbee-0.7.37}/tests/test_update_badge_0340.py +0 -0
  217. {webbee-0.7.36 → webbee-0.7.37}/tests/test_urlopen.py +0 -0
  218. {webbee-0.7.36 → webbee-0.7.37}/tests/test_version.py +0 -0
  219. {webbee-0.7.36 → webbee-0.7.37}/tests/test_version_badge_corner.py +0 -0
  220. {webbee-0.7.36 → webbee-0.7.37}/tests/test_voice_outcome.py +0 -0
  221. {webbee-0.7.36 → webbee-0.7.37}/tests/test_wallet.py +0 -0
  222. {webbee-0.7.36 → webbee-0.7.37}/tests/test_worktrees.py +0 -0
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.37
4
+
5
+ * Inline Guide speech (`guide_inline`): renders live Guide remarks (`opening`, `beat`, `ack_steer`) directly inside the
6
+ turn feed in Webbee's signature gold (`#bf8000`) instead of burying them in the bottom toolbar, with clean fallback
7
+ promotion of live `answer_delta` lead-ins on older kernels.
8
+ * Brand gold & semantic tier/mode palette: restored Webbee gold (`#bf8000`) for brand headers and welcome banner while
9
+ keeping orange (`#ea580c`) strictly for `warning` / waiting-on-you items; tinted thoughts, step lines, and turn footer
10
+ provenance badges (`Guide` / `Smart` / `SuperSmart` / `UltraSmart`) by active model tier, tinted the user echo `❯`
11
+ arrow by active execution mode (`default` / `plan` / `autopilot`), and surfaced inline elapsed time on slow steps (`>= 2s`).
12
+ * Parallel tool ack decoupling & faster `view_image`: decoupled tool execution from the SSE ack loop so concurrent
13
+ read-tier calls never starve sibling acks, and skipped redundant `read_native` extraction in `view_image` when sending
14
+ native vision images.
15
+ * Localization & timestamp polish: localized Russian footer credit units (`кр`) and preserved full `HH:MM:SS` timestamps
16
+ in agent card headers.
17
+
3
18
  ## 0.7.36
4
19
 
5
20
  * Unified terminal grid (`terminal-grid-v2`): every transcript message now renders on one borderless 7-block grid
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: webbee
3
- Version: 0.7.36
3
+ Version: 0.7.37
4
4
  Summary: Webbee 🐝 — the Imperal Cloud coding agent in your terminal
5
5
  Project-URL: Homepage, https://imperal.io/webbee-code
6
6
  Project-URL: Documentation, https://docs.imperal.io
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "webbee"
3
- version = "0.7.36"
3
+ version = "0.7.37"
4
4
  description = "Webbee 🐝 — the Imperal Cloud coding agent in your terminal"
5
5
  readme = "README.md"
6
6
  license = "GPL-3.0-or-later"
@@ -0,0 +1 @@
1
+ __version__ = "0.7.37"
@@ -68,10 +68,23 @@ def _pad(renderable):
68
68
  return Padding(renderable, (0, 0, 0, _GUTTER))
69
69
 
70
70
 
71
- def short_session(session_id: str) -> str:
71
+ def short_session(session_id: str, *, max_len: int | None = None) -> str:
72
72
  """Compact a long session id while preserving its surface prefix and tail."""
73
73
  sid = _clean(session_id).strip().rstrip(".,;)")
74
- if not sid or len(sid) <= 24:
74
+ if not sid:
75
+ return ""
76
+ if max_len is not None:
77
+ cap = max(4, int(max_len))
78
+ if len(sid) <= cap:
79
+ return sid
80
+ prefix, sep, _ = sid.partition("-")
81
+ if sep and len(prefix) <= 10:
82
+ pref = f"{prefix}-…"
83
+ tail_n = cap - len(pref)
84
+ if tail_n >= 4:
85
+ return f"{pref}{sid[-tail_n:]}"
86
+ return f"…{sid[-(cap - 1):]}"
87
+ if len(sid) <= 24:
75
88
  return sid
76
89
  prefix, sep, _ = sid.partition("-")
77
90
  if sep and len(prefix) <= 10:
@@ -632,19 +645,40 @@ def agent_card(
632
645
  """Build a unified ``external`` block for an incoming message from another agent session."""
633
646
  active = i18n.resolve_lang(explicit=lang)
634
647
  msg = parse_agent_message(text, whole=whole, who=who, session=session, when=when)
635
- who_shown = msg.who if len(msg.who) <= 28 else msg.who[:27].rstrip() + "…"
648
+ who_base = msg.who if len(msg.who) <= 28 else msg.who[:27].rstrip() + "…"
636
649
  agent_lbl = i18n.t("external_agent", lang=active)
637
- short_sid = short_session(msg.session) if msg.session else ""
638
650
 
639
651
  def _head(console):
640
652
  acc_s = style_for("accent", console=console)
641
653
  muted_s = style_for("muted", console=console)
654
+ w = max(40, int(getattr(console, "width", 80) or 80))
655
+ copy_lbl = GLYPHS["copy"] if w <= 68 else f"{GLYPHS['copy']} {i18n.t('copy', lang=active)}"
656
+ # rule_line reserves: prefix (" ─ " = 4) + sep (" " = 2) + copy_lbl + " " (1) + min_right ("──" = 2)
657
+ avail = w - (9 + len(copy_lbl))
658
+ fixed_prefix = f"{GLYPHS['external']} {agent_lbl}"
659
+ when_part = f" · {msg.when}"
660
+ who_shown = who_base
661
+ short_sid = ""
662
+ if msg.session:
663
+ room_for_sid = avail - len(fixed_prefix) - 3 - len(who_shown) - 3 - len(when_part)
664
+ if room_for_sid >= 17:
665
+ short_sid = short_session(msg.session)
666
+ elif room_for_sid >= 5:
667
+ short_sid = short_session(msg.session, max_len=min(13, room_for_sid))
668
+ else:
669
+ # Guarantee full HH:MM:SS fits even with a long sender on narrow terminals
670
+ max_who = max(8, avail - len(fixed_prefix) - 3 - 3 - 5 - len(when_part))
671
+ if len(who_shown) > max_who:
672
+ who_shown = who_shown[: max_who - 1].rstrip() + "…"
673
+ room_for_sid = avail - len(fixed_prefix) - 3 - len(who_shown) - 3 - len(when_part)
674
+ if room_for_sid >= 5:
675
+ short_sid = short_session(msg.session, max_len=min(13, room_for_sid))
642
676
  head = Text()
643
- head.append(f"{GLYPHS['external']} {agent_lbl}", style=acc_s)
677
+ head.append(fixed_prefix, style=acc_s)
644
678
  head.append(f" · {who_shown}", style=acc_s)
645
679
  if short_sid:
646
680
  head.append(f" · {short_sid}", style=muted_s)
647
- head.append(f" · {msg.when}", style=muted_s)
681
+ head.append(when_part, style=muted_s)
648
682
  return head
649
683
 
650
684
  return build_card(
@@ -100,7 +100,7 @@ def _fmt_step_meta(tool: str, duration_ms, cost_cr, lang: str, clean) -> str:
100
100
  parts.append(_fmt_step_duration(duration_ms, lang))
101
101
  if cost_cr is not None:
102
102
  try:
103
- parts.append(f"{float(cost_cr):.2f} cr")
103
+ parts.append(i18n.t("footer_credits", lang=lang, credits=f"{float(cost_cr):.2f}"))
104
104
  except (TypeError, ValueError):
105
105
  pass
106
106
  return " · ".join(p for p in parts if p)
@@ -128,6 +128,32 @@ def clear_answer_delta(sink) -> None:
128
128
  pass
129
129
 
130
130
 
131
+ def show_guide_frame(sink, frame: dict, tag: str = "") -> None:
132
+ """Living Guide inline cue (frame ``guide``: phase ``opening`` | ``beat`` | ``ack_steer``).
133
+ Renders inline inside the turn transcript (not stuck in the bottom status bar).
134
+ Falls back to ``answer_delta`` on older/minimal sinks that have no ``guide_say``."""
135
+ if not isinstance(frame, dict):
136
+ return
137
+ text = frame.get("text")
138
+ if not isinstance(text, str) or not text.strip():
139
+ return
140
+ phase = str(frame.get("phase") or "opening").strip() or "opening"
141
+ shown = (tag + text) if tag else text
142
+ fn = getattr(sink, "guide_say", None)
143
+ if fn is None:
144
+ show_answer_delta(sink, {"text": shown})
145
+ return
146
+ try:
147
+ fn(shown, phase=phase)
148
+ except TypeError:
149
+ try:
150
+ fn(shown)
151
+ except Exception:
152
+ pass
153
+ except Exception:
154
+ pass
155
+
156
+
131
157
  def show_thinking(sink, tag: str, text: str, tier: str, frame: dict) -> None:
132
158
  """Hand a thinking frame to the sink: by its parts when the frame names them and the sink can take them -- the
133
159
  words for the person large, the step's protocol small, a provider's own reasoning not at all; whole, as
@@ -90,6 +90,7 @@ _CATALOG: dict[str, dict[str, str]] = {
90
90
  "empty_agent_message": "(empty agent message)",
91
91
  # Block labels: speech & question
92
92
  "speaker_webbee": "Webbee",
93
+ "speaker_guide": "Guide",
93
94
  "speaker_you": "You",
94
95
  "streaming_badge": "working",
95
96
  "needs_reply": "Waiting for your reply",
@@ -126,6 +127,7 @@ _CATALOG: dict[str, dict[str, str]] = {
126
127
  "stop_waits_on_you": "waits on you",
127
128
  "stop_open": "open",
128
129
  "plan_mode_source": "plan mode",
130
+ "guide_ack_steer": "got it",
129
131
  "plan_blocked_body": "Blocked {tool} in plan mode — Shift+Tab to allow changes",
130
132
  # Block labels: step / diff / plan
131
133
  "step_ok": "ok",
@@ -209,6 +211,7 @@ _CATALOG: dict[str, dict[str, str]] = {
209
211
  "empty_agent_message": "(пустое сообщение агента)",
210
212
  # Block labels: speech & question
211
213
  "speaker_webbee": "Webbee",
214
+ "speaker_guide": "Гид",
212
215
  "speaker_you": "Ты",
213
216
  "streaming_badge": "в работе",
214
217
  "needs_reply": "Нужен твой ответ",
@@ -217,7 +220,7 @@ _CATALOG: dict[str, dict[str, str]] = {
217
220
  "footer_actions_many": "действий: {count}",
218
221
  "footer_actions_compact": "{count} действ.",
219
222
  "footer_tokens": "{tokens} ток",
220
- "footer_credits": "{credits} cr",
223
+ "footer_credits": "{credits} кр",
221
224
  "footer_session": "сессия {tokens} ток",
222
225
  "duration_ms": "{ms}мс",
223
226
  "duration_s": "{s}с",
@@ -245,6 +248,7 @@ _CATALOG: dict[str, dict[str, str]] = {
245
248
  "stop_waits_on_you": "ждёт тебя",
246
249
  "stop_open": "открыто",
247
250
  "plan_mode_source": "режим плана",
251
+ "guide_ack_steer": "приняла",
248
252
  "plan_blocked_body": "Действие {tool} заблокировано в режиме плана — Shift+Tab разрешит изменения",
249
253
  # Block labels: step / diff / plan
250
254
  "step_ok": "готово",
@@ -20,8 +20,11 @@ from webbee.ui_tokens import (
20
20
  GridHeader,
21
21
  format_credits,
22
22
  is_narrow,
23
+ mode_role,
23
24
  renders_block,
24
25
  style_for,
26
+ tier_display_name,
27
+ tier_role,
25
28
  )
26
29
 
27
30
  _GUTTER = 2 # left margin (cols) — the single consistent transcript gutter.
@@ -208,9 +211,8 @@ _ACCENT = "cyan" # interactive chrome ONLY — live caret / mode / panel ur
208
211
 
209
212
 
210
213
  def _tier_thinking_style(tier: str, *, console=None) -> str:
211
- """Dual-contrast thinking style mapped to semantic roles (safe on dark, light, 16-color, NO_COLOR)."""
212
- role = "info" if tier == "supersmart" else ("brand" if tier == "ultrasmart" else "accent")
213
- base = style_for(role, console=console)
214
+ """Dual-contrast thinking style mapped to the active model tier hue (Smart teal / SuperSmart blue / UltraSmart magenta)."""
215
+ base = style_for(tier_role(tier, bold=False), console=console)
214
216
  if not base:
215
217
  return ""
216
218
  # Strip bold so reasoning reads calmer than headers while keeping dual-contrast hue.
@@ -218,9 +220,12 @@ def _tier_thinking_style(tier: str, *, console=None) -> str:
218
220
  return "italic " + " ".join(parts) if parts else "italic"
219
221
 
220
222
 
223
+ _SLOW_STEP_MS = 2000
224
+
225
+
221
226
  class _StepLine:
222
227
  """Reflow-safe unified ``step`` summary line (width-aware across 60/80/120 cols, no 2-col emojis,
223
- duration/cost moved out of the 1-line summary into the expanded detail block)."""
228
+ colored by active model tier, showing elapsed time inline only for slow steps >= 2s)."""
224
229
 
225
230
  def __init__(
226
231
  self,
@@ -233,6 +238,8 @@ class _StepLine:
233
238
  summary: str,
234
239
  expandable: bool,
235
240
  lang: str,
241
+ tier: str = "",
242
+ duration_ms: int = 0,
236
243
  ) -> None:
237
244
  self.idx = idx
238
245
  self.ok = ok
@@ -242,6 +249,8 @@ class _StepLine:
242
249
  self.summary = summary
243
250
  self.expandable = expandable
244
251
  self.lang = lang
252
+ self.tier = tier
253
+ self.duration_ms = int(duration_ms or 0)
245
254
 
246
255
  def __rich_console__(self, console, options):
247
256
  from rich.cells import cell_len
@@ -254,16 +263,17 @@ class _StepLine:
254
263
  mark_s = style_for("success" if self.ok else "danger", console=console)
255
264
  muted_s = style_for("muted", console=console)
256
265
  text_s = style_for("text", console=console)
257
- info_s = style_for("info", console=console)
266
+ tier_s = style_for(tier_role(self.tier, bold=False), console=console) if self.tier else style_for("info", console=console)
267
+ label_s = tier_s if self.tier else text_s
258
268
 
259
269
  line = Text()
260
270
  line.append(f"{mark} ", style=mark_s)
261
271
  line.append(f"{self.idx}. ", style=muted_s)
262
272
  if self.category and self.category != self.tool:
263
- line.append(self.category, style=text_s)
273
+ line.append(self.category, style=label_s)
264
274
  line.append(f" · {self.tool}", style=muted_s)
265
275
  else:
266
- line.append(self.tool, style=text_s)
276
+ line.append(self.tool, style=label_s)
267
277
 
268
278
  arg_clean = " ".join(self.arg.split())
269
279
  if arg_clean:
@@ -271,7 +281,11 @@ class _StepLine:
271
281
  budget = inner_w - cell_len(line.plain) - 3 - hint_reserve
272
282
  max_arg = max(8, min(20 if narrow else (28 if width <= 96 else 48), budget))
273
283
  arg_disp = arg_clean if len(arg_clean) <= max_arg else arg_clean[: max_arg - 1].rstrip() + "…"
274
- line.append(f" ({arg_disp})", style=info_s)
284
+ line.append(f" ({arg_disp})", style=tier_s)
285
+
286
+ if self.duration_ms >= _SLOW_STEP_MS:
287
+ dur_s = i18n.fmt_duration(self.duration_ms / 1000.0, lang=self.lang)
288
+ line.append(f" · {dur_s}", style=muted_s)
275
289
 
276
290
  hint_text = (
277
291
  GLYPHS["collapsed"]
@@ -491,6 +505,24 @@ class RichSink:
491
505
  self._kernel_notes: list[str] = [] # structured final.kernel_notes lines for the kernel block
492
506
  self._pending_start = 0.0 # monotonic start of active tool call
493
507
  self._live_at = 0.0 # throttle clock for live line redraws
508
+ self._active_tier = "" # active model tier for step/thought/footer tinting
509
+ self._active_mode = "" # active execution mode for user_echo ❯ arrow tinting
510
+ self._answered_by = "" # final.answered_by ('guide' | tier name)
511
+ self._final_model_tier = "" # final.model_tier from kernel
512
+ self._guide_lines_seen: list[str] = [] # dedup inline Guide remarks within a turn
513
+
514
+ def _resolve_active_tier(self, explicit: str = "") -> str:
515
+ val = (explicit or "").strip().lower()
516
+ if val:
517
+ return val
518
+ active = (getattr(self, "_active_tier", "") or "").strip().lower()
519
+ return active or "webbeesmart"
520
+
521
+ def _resolve_active_mode(self, explicit: str = "") -> str:
522
+ val = (explicit or "").strip().lower()
523
+ if val:
524
+ return val
525
+ return (getattr(self, "_active_mode", "") or "default").strip().lower()
494
526
 
495
527
  def _output_pane(self):
496
528
  pane = getattr(self.console, "_pane", None)
@@ -607,6 +639,9 @@ class RichSink:
607
639
  self._step_records = {}
608
640
  self._step_gap = False # the gap just below is the first step's own: none is added above its thought
609
641
  self._kernel_notes = []
642
+ self._answered_by = ""
643
+ self._final_model_tier = ""
644
+ self._guide_lines_seen = []
610
645
  self.clear_answer_delta()
611
646
  self.console.print() # breathing room between the user's message and the response
612
647
  self._nudge()
@@ -641,6 +676,10 @@ class RichSink:
641
676
  else []
642
677
  )
643
678
  self._kernel_notes = []
679
+ _answered_by = str(getattr(self, "_answered_by", "") or "").strip().lower()
680
+ self._answered_by = ""
681
+ _final_tier = str(getattr(self, "_final_model_tier", "") or "").strip().lower()
682
+ self._final_model_tier = ""
644
683
  self._busy = False
645
684
  # The kernel session's own queue only exists while a run is live —
646
685
  # once this turn returns COMPLETE or user-stopped, the terminal no
@@ -708,12 +747,33 @@ class RichSink:
708
747
  wide_parts.append(sess_str)
709
748
 
710
749
  trailing = i18n.t("waiting_reply", lang=lang) if _awaits_reply else ""
750
+ badge = None
751
+ if _answered_by == "guide":
752
+ badge = (i18n.t("speaker_guide", lang=lang), "brand")
753
+ else:
754
+ _known_tiers = ("webbeesmart", "supersmart", "ultrasmart")
755
+ _speaker_tier = (
756
+ _final_tier
757
+ if _final_tier in _known_tiers
758
+ else (
759
+ _answered_by
760
+ if _answered_by in _known_tiers
761
+ else (
762
+ str(getattr(self, "_active_tier", "") or "").strip().lower()
763
+ if str(getattr(self, "_active_tier", "") or "").strip().lower() in _known_tiers
764
+ else ""
765
+ )
766
+ )
767
+ )
768
+ if _speaker_tier:
769
+ badge = (tier_display_name(_speaker_tier), tier_role(_speaker_tier, bold=True))
711
770
  self.console.print(
712
771
  GridFooter(
713
772
  block_kind=block_kind,
714
773
  summary=" · ".join(wide_parts),
715
774
  summary_narrow=" · ".join(narrow_parts),
716
775
  trailing=trailing,
776
+ badge=badge,
717
777
  )
718
778
  )
719
779
  if _kernel_notes:
@@ -914,12 +974,14 @@ class RichSink:
914
974
  self._nudge()
915
975
 
916
976
  @renders_block("speech")
917
- def user_echo(self, text: str) -> None:
977
+ def user_echo(self, text: str, mode: str = "") -> None:
918
978
  """Commit the just-sent user message as a clean unboxed speech line
919
- using terminal-default text color (readable on dark and light themes)."""
979
+ using terminal-default text color (readable on dark and light themes)
980
+ and coloring the leading ``❯`` arrow by the active execution mode."""
920
981
  t_now = self._wall_hms()
982
+ arrow_style = self._style(mode_role(self._resolve_active_mode(mode)))
921
983
  line = Text()
922
- line.append(f"{GLYPHS['user']} ", style=self._style("brand"))
984
+ line.append(f"{GLYPHS['user']} ", style=arrow_style)
923
985
  line.append(_clean(text), style=self._style("text"))
924
986
  line.append(f" · {t_now}", style=self._style("muted"))
925
987
  self.console.print(_pad(line))
@@ -1145,9 +1207,56 @@ class RichSink:
1145
1207
  self.clear_answer_delta()
1146
1208
  self._nudge()
1147
1209
 
1210
+ def _promote_live_guide(self) -> None:
1211
+ """Promote any buffered Guide lead-in (from ``answer_delta`` on k82–k86) into
1212
+ an inline Guide remark in the transcript before the first step or thought."""
1213
+ lead = (getattr(self, "_live_answer", "") or "").strip()
1214
+ if not lead:
1215
+ return
1216
+ self.clear_answer_delta()
1217
+ self.guide_say(lead, phase="opening")
1218
+
1219
+ @renders_block("speech")
1220
+ def guide_say(self, text: str, *, phase: str = "opening") -> None:
1221
+ """Render a live inline Guide remark directly inside the turn stream
1222
+ (``opening`` / ``beat`` / ``ack_steer``) using Webbee's signature gold
1223
+ accent and zero vertical borders, keeping the bottom tray uncluttered."""
1224
+ clean = _clean(text).strip()
1225
+ if not clean:
1226
+ return
1227
+ seen = getattr(self, "_guide_lines_seen", None)
1228
+ if not isinstance(seen, list):
1229
+ seen = []
1230
+ self._guide_lines_seen = seen
1231
+ if seen and seen[-1] == clean:
1232
+ return
1233
+ if (getattr(self, "_live_answer", "") or "").strip() == clean:
1234
+ self.clear_answer_delta()
1235
+ seen.append(clean)
1236
+
1237
+ lang = self._ui_lang()
1238
+ t_now = self._wall_hms()
1239
+ brand_s = self._style("brand")
1240
+ muted_s = self._style("muted")
1241
+ text_s = self._style("text")
1242
+
1243
+ if getattr(self, "_step_gap", False):
1244
+ self.console.print()
1245
+ head = Text()
1246
+ head.append(f"{GLYPHS['brand']} ", style=brand_s)
1247
+ head.append(i18n.t("speaker_webbee", lang=lang), style=brand_s)
1248
+ if phase == "ack_steer":
1249
+ head.append(f" · {i18n.t('guide_ack_steer', lang=lang)}", style=muted_s)
1250
+ head.append(f" · {t_now}", style=muted_s)
1251
+ self.console.print(_pad(head))
1252
+ self.console.print(Padding(Text(clean, style=text_s), (0, 0, 0, BODY_INDENT)))
1253
+ self._step_gap = True
1254
+ self._nudge()
1255
+
1148
1256
  # ---- TurnSink -------------------------------------------------------
1149
1257
  @renders_block("step")
1150
1258
  def tool_start(self, tool: str, args: dict) -> None:
1259
+ self._promote_live_guide()
1151
1260
  self._tools += 1
1152
1261
  arg = call_subject(tool, args)
1153
1262
  self._pending = (tool, str(arg))
@@ -1231,6 +1340,8 @@ class RichSink:
1231
1340
  summary=clean_summary,
1232
1341
  expandable=is_expandable,
1233
1342
  lang=lang,
1343
+ tier=str(getattr(self, "_active_tier", "") or "").strip().lower(),
1344
+ duration_ms=duration_ms,
1234
1345
  )
1235
1346
  if is_expandable:
1236
1347
  from webbee.expand import Expandable, step_body
@@ -1558,10 +1669,13 @@ class RichSink:
1558
1669
 
1559
1670
  @renders_block("step")
1560
1671
  def thinking(self, text: str, tier: str = "", say: str = "", kind: str = "", lines=None) -> None:
1672
+ self._promote_live_guide()
1561
1673
  if self._current.startswith((f"{GLYPHS['thought']} ", "💭 ")):
1562
1674
  self._current = "" # the thought is finished: its live line gives way to the printed block
1563
1675
  lang = self._ui_lang()
1564
1676
  muted_s = self._style("muted")
1677
+ if tier:
1678
+ self._active_tier = str(tier).strip().lower()
1565
1679
  if kind:
1566
1680
  if kind == "native":
1567
1681
  return
@@ -1569,12 +1683,7 @@ class RichSink:
1569
1683
  if str(v or "").strip())
1570
1684
  if not (say or proto):
1571
1685
  return
1572
- if not tier:
1573
- try:
1574
- from webbee.tier_store import load_tier
1575
- tier = load_tier() or "webbeesmart"
1576
- except Exception:
1577
- tier = "webbeesmart"
1686
+ tier = self._resolve_active_tier(tier)
1578
1687
  t_now = self._wall_hms()
1579
1688
  if getattr(self, "_step_gap", False):
1580
1689
  self.console.print()
@@ -1599,12 +1708,7 @@ class RichSink:
1599
1708
  self._nudge()
1600
1709
  return
1601
1710
  if text:
1602
- if not tier:
1603
- try:
1604
- from webbee.tier_store import load_tier
1605
- tier = load_tier() or "webbeesmart"
1606
- except Exception:
1607
- tier = "webbeesmart"
1711
+ tier = self._resolve_active_tier(tier)
1608
1712
  style = _tier_thinking_style(tier, console=self.console)
1609
1713
  t_now = self._wall_hms()
1610
1714
  line = Text.assemble(
@@ -49,6 +49,9 @@ async def run_headless(cfg, mode: str, goal: str, *, marathon: bool, sink=None,
49
49
  agent_factory = lambda c, tp, ws, m: AgentSession(c, tp, ws, m) # noqa: E731
50
50
  agent = agent_factory(cfg, token_provider, workspace, mode)
51
51
 
52
+ sink._active_mode = mode
53
+ if getattr(agent, "model_tier", ""):
54
+ sink._active_tier = str(agent.model_tier)
52
55
  sink.note(f"🏁 Marathon launched: {goal}" if marathon else f"▶ {goal}")
53
56
  sink.begin_turn()
54
57
  try:
@@ -120,6 +123,8 @@ async def _inject_via_gateway(cfg, token_provider, agent, sink,
120
123
  except Exception:
121
124
  return False
122
125
  if ok:
126
+ if getattr(agent, "mode", ""):
127
+ sink._active_mode = str(agent.mode)
123
128
  sink.user_echo(text) # the transcript records the message as sent
124
129
  return ok
125
130
 
@@ -1079,6 +1084,7 @@ async def _home_input(text: str, *, slots: SlotManager, cfg, token_provider, mod
1079
1084
  # No dock: `run_turn` (repl's `_run_turn`) never echoes on its own
1080
1085
  # (it only runs the agent turn), so this IS the one echo the typed
1081
1086
  # line gets.
1087
+ new_slot.sink._active_mode = new_slot.mode
1082
1088
  new_slot.sink.user_echo(text)
1083
1089
  await run_turn(new_slot, text)
1084
1090
 
@@ -1633,6 +1639,7 @@ async def run_repl(cfg, mode: str = "default", *, once: bool = False, sink=None,
1633
1639
  # failed mid-turn inject still carries its steer_iid (tui.QueuedLine)
1634
1640
  # -- thread it so the kernel's dedup ring drops the twin if the
1635
1641
  # inject actually landed server-side (a plain typed line has none).
1642
+ slot.sink._active_mode = slot.mode
1636
1643
  slot.sink.user_echo(line)
1637
1644
  await _run_turn(slot, line, steer_iid=getattr(line, "iid", ""))
1638
1645
  return "continue"
@@ -1660,6 +1667,10 @@ async def run_repl(cfg, mode: str = "default", *, once: bool = False, sink=None,
1660
1667
  slot.label = label
1661
1668
  slot.label_pinned = True
1662
1669
  _sink = slot.sink
1670
+ _sink._active_mode = slot.mode
1671
+ _tier = getattr(slot.agent, "model_tier", "") or ""
1672
+ if _tier:
1673
+ _sink._active_tier = str(_tier)
1663
1674
  _sink.begin_turn()
1664
1675
  kw = {"surface": surface} if surface else {}
1665
1676
  if steer_iid:
@@ -1928,6 +1939,10 @@ async def run_repl(cfg, mode: str = "default", *, once: bool = False, sink=None,
1928
1939
  `submit`/`_steer_submit_on` above."""
1929
1940
  async def _drive() -> None:
1930
1941
  _sink = slot.sink
1942
+ _sink._active_mode = slot.mode
1943
+ _tier = getattr(slot.agent, "model_tier", "") or ""
1944
+ if _tier:
1945
+ _sink._active_tier = str(_tier)
1931
1946
  _sink.begin_turn()
1932
1947
  _note = getattr(_sink, "note", None)
1933
1948
  if _note is not None: