webbee 0.7.36__tar.gz → 0.7.38__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.38}/CHANGELOG.md +22 -0
  2. {webbee-0.7.36 → webbee-0.7.38}/PKG-INFO +3 -3
  3. {webbee-0.7.36 → webbee-0.7.38}/pyproject.toml +3 -3
  4. webbee-0.7.38/src/webbee/__init__.py +1 -0
  5. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/account.py +2 -0
  6. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/blocks.py +40 -6
  7. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/expand.py +1 -1
  8. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/frames.py +26 -0
  9. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/i18n.py +7 -1
  10. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/render.py +146 -25
  11. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/repl.py +26 -0
  12. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/session.py +194 -81
  13. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/tools.py +3 -1
  14. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/ui_tokens.py +79 -10
  15. {webbee-0.7.36 → webbee-0.7.38}/tests/test_account.py +6 -13
  16. {webbee-0.7.36 → webbee-0.7.38}/tests/test_grid_golden.py +100 -18
  17. webbee-0.7.38/tests/test_guide_and_semantic_ux.py +637 -0
  18. {webbee-0.7.36 → webbee-0.7.38}/tests/test_i18n.py +1 -1
  19. {webbee-0.7.36 → webbee-0.7.38}/tests/test_render.py +3 -3
  20. {webbee-0.7.36 → webbee-0.7.38}/tests/test_session.py +35 -0
  21. webbee-0.7.38/tests/test_tool_ack.py +269 -0
  22. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tools_vision_websearch.py +52 -0
  23. {webbee-0.7.36 → webbee-0.7.38}/uv.lock +3 -3
  24. webbee-0.7.36/src/webbee/__init__.py +0 -1
  25. webbee-0.7.36/tests/test_tool_ack.py +0 -113
  26. {webbee-0.7.36 → webbee-0.7.38}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  27. {webbee-0.7.36 → webbee-0.7.38}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  28. {webbee-0.7.36 → webbee-0.7.38}/.github/pull_request_template.md +0 -0
  29. {webbee-0.7.36 → webbee-0.7.38}/.github/workflows/os-check.yml +0 -0
  30. {webbee-0.7.36 → webbee-0.7.38}/.github/workflows/publish.yml +0 -0
  31. {webbee-0.7.36 → webbee-0.7.38}/.gitignore +0 -0
  32. {webbee-0.7.36 → webbee-0.7.38}/LICENSE +0 -0
  33. {webbee-0.7.36 → webbee-0.7.38}/PRIVACY.md +0 -0
  34. {webbee-0.7.36 → webbee-0.7.38}/README.md +0 -0
  35. {webbee-0.7.36 → webbee-0.7.38}/SECURITY.md +0 -0
  36. {webbee-0.7.36 → webbee-0.7.38}/assets/architecture.png +0 -0
  37. {webbee-0.7.36 → webbee-0.7.38}/assets/demo.gif +0 -0
  38. {webbee-0.7.36 → webbee-0.7.38}/assets/hero.png +0 -0
  39. {webbee-0.7.36 → webbee-0.7.38}/assets/social-preview.png +0 -0
  40. {webbee-0.7.36 → webbee-0.7.38}/ci/__init__.py +0 -0
  41. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/__init__.py +0 -0
  42. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/drivers.py +0 -0
  43. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/fixture.py +0 -0
  44. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/fixture_long.py +0 -0
  45. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/fixture_wait.py +0 -0
  46. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/provision_user.py +0 -0
  47. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/registry.py +0 -0
  48. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/replay.py +0 -0
  49. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/run.py +0 -0
  50. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/scenarios_account.py +0 -0
  51. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/scenarios_code.py +0 -0
  52. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/scenarios_contract.py +0 -0
  53. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/scenarios_long.py +0 -0
  54. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/scenarios_wait.py +0 -0
  55. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/test_drivers.py +0 -0
  56. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/test_fixture.py +0 -0
  57. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/test_fixture_long.py +0 -0
  58. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/test_fixture_wait.py +0 -0
  59. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/test_registry.py +0 -0
  60. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/test_replay.py +0 -0
  61. {webbee-0.7.36 → webbee-0.7.38}/ci/field_gate/wipe.py +0 -0
  62. {webbee-0.7.36 → webbee-0.7.38}/ci/os_check.py +0 -0
  63. {webbee-0.7.36 → webbee-0.7.38}/dev-webbee +0 -0
  64. {webbee-0.7.36 → webbee-0.7.38}/install.sh +0 -0
  65. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/__main__.py +0 -0
  66. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/_launch.py +0 -0
  67. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/active_sessions.py +0 -0
  68. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/autoupdate.py +0 -0
  69. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/banner_art.py +0 -0
  70. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/boot.py +0 -0
  71. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/browser.py +0 -0
  72. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/checkpoints.py +0 -0
  73. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/cli.py +0 -0
  74. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/clipboard.py +0 -0
  75. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/clipboard_read.py +0 -0
  76. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/clipboard_session.py +0 -0
  77. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/coding_context.py +0 -0
  78. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/commands.py +0 -0
  79. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/config.py +0 -0
  80. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/consent.py +0 -0
  81. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/details.py +0 -0
  82. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/events.py +0 -0
  83. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/home.py +0 -0
  84. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/home_view.py +0 -0
  85. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/http.py +0 -0
  86. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/instance_lock.py +0 -0
  87. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/__init__.py +0 -0
  88. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/graph.py +0 -0
  89. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/outline.py +0 -0
  90. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/query.py +0 -0
  91. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/service.py +0 -0
  92. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/store.py +0 -0
  93. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/tree.py +0 -0
  94. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/intel/watch.py +0 -0
  95. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/jobs.py +0 -0
  96. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/jobs_panel.py +0 -0
  97. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/jobwatch.py +0 -0
  98. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/loop_errors.py +0 -0
  99. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/media.py +0 -0
  100. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/modals.py +0 -0
  101. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/mode_store.py +0 -0
  102. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/native_files.py +0 -0
  103. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/native_read.py +0 -0
  104. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/newtab_mode.py +0 -0
  105. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/output_pane.py +0 -0
  106. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/prefs.py +0 -0
  107. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/pricing_constants.py +0 -0
  108. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/queue_panel.py +0 -0
  109. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/reflow.py +0 -0
  110. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/remote.py +0 -0
  111. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/repo.py +0 -0
  112. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/selection.py +0 -0
  113. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/sessions.py +0 -0
  114. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/sizing.py +0 -0
  115. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/slots.py +0 -0
  116. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/stallwatch.py +0 -0
  117. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/steer.py +0 -0
  118. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/stream.py +0 -0
  119. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/tab_store.py +0 -0
  120. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/tabs.py +0 -0
  121. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/thread.py +0 -0
  122. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/tier_store.py +0 -0
  123. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/todo_panel.py +0 -0
  124. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/tokens.py +0 -0
  125. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/tui.py +0 -0
  126. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/update.py +0 -0
  127. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/urlopen.py +0 -0
  128. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/wallet.py +0 -0
  129. {webbee-0.7.36 → webbee-0.7.38}/src/webbee/worktrees.py +0 -0
  130. {webbee-0.7.36 → webbee-0.7.38}/tests/__init__.py +0 -0
  131. {webbee-0.7.36 → webbee-0.7.38}/tests/conftest.py +0 -0
  132. {webbee-0.7.36 → webbee-0.7.38}/tests/test_active_sessions.py +0 -0
  133. {webbee-0.7.36 → webbee-0.7.38}/tests/test_answer_delta.py +0 -0
  134. {webbee-0.7.36 → webbee-0.7.38}/tests/test_append_file.py +0 -0
  135. {webbee-0.7.36 → webbee-0.7.38}/tests/test_audit_2026_07_25_findings.py +0 -0
  136. {webbee-0.7.36 → webbee-0.7.38}/tests/test_autoupdate.py +0 -0
  137. {webbee-0.7.36 → webbee-0.7.38}/tests/test_blocks.py +0 -0
  138. {webbee-0.7.36 → webbee-0.7.38}/tests/test_checkpoints.py +0 -0
  139. {webbee-0.7.36 → webbee-0.7.38}/tests/test_checkpoints_nested_1030.py +0 -0
  140. {webbee-0.7.36 → webbee-0.7.38}/tests/test_cli.py +0 -0
  141. {webbee-0.7.36 → webbee-0.7.38}/tests/test_clipboard.py +0 -0
  142. {webbee-0.7.36 → webbee-0.7.38}/tests/test_clipboard_read.py +0 -0
  143. {webbee-0.7.36 → webbee-0.7.38}/tests/test_code_map_fresh.py +0 -0
  144. {webbee-0.7.36 → webbee-0.7.38}/tests/test_coding_context.py +0 -0
  145. {webbee-0.7.36 → webbee-0.7.38}/tests/test_commands.py +0 -0
  146. {webbee-0.7.36 → webbee-0.7.38}/tests/test_config.py +0 -0
  147. {webbee-0.7.36 → webbee-0.7.38}/tests/test_cpc_contract_stable.py +0 -0
  148. {webbee-0.7.36 → webbee-0.7.38}/tests/test_cpc_outline.py +0 -0
  149. {webbee-0.7.36 → webbee-0.7.38}/tests/test_cross_loop_token.py +0 -0
  150. {webbee-0.7.36 → webbee-0.7.38}/tests/test_details.py +0 -0
  151. {webbee-0.7.36 → webbee-0.7.38}/tests/test_events.py +0 -0
  152. {webbee-0.7.36 → webbee-0.7.38}/tests/test_expand.py +0 -0
  153. {webbee-0.7.36 → webbee-0.7.38}/tests/test_field_test_1113.py +0 -0
  154. {webbee-0.7.36 → webbee-0.7.38}/tests/test_freeze_fix.py +0 -0
  155. {webbee-0.7.36 → webbee-0.7.38}/tests/test_home.py +0 -0
  156. {webbee-0.7.36 → webbee-0.7.38}/tests/test_home_view.py +0 -0
  157. {webbee-0.7.36 → webbee-0.7.38}/tests/test_home_view_mouse.py +0 -0
  158. {webbee-0.7.36 → webbee-0.7.38}/tests/test_inspect_page.py +0 -0
  159. {webbee-0.7.36 → webbee-0.7.38}/tests/test_instance_lock.py +0 -0
  160. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_any_folder.py +0 -0
  161. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_cache_and_sync_worker.py +0 -0
  162. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_checksum_tree.py +0 -0
  163. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_chunker.py +0 -0
  164. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_embed.py +0 -0
  165. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_folder_1106.py +0 -0
  166. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_graph.py +0 -0
  167. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_no_numpy.py +0 -0
  168. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_query.py +0 -0
  169. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_service.py +0 -0
  170. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_store.py +0 -0
  171. {webbee-0.7.36 → webbee-0.7.38}/tests/test_intel_watch.py +0 -0
  172. {webbee-0.7.36 → webbee-0.7.38}/tests/test_jobs_1127.py +0 -0
  173. {webbee-0.7.36 → webbee-0.7.38}/tests/test_launch.py +0 -0
  174. {webbee-0.7.36 → webbee-0.7.38}/tests/test_loop_errors.py +0 -0
  175. {webbee-0.7.36 → webbee-0.7.38}/tests/test_marathon.py +0 -0
  176. {webbee-0.7.36 → webbee-0.7.38}/tests/test_modals_e2e.py +0 -0
  177. {webbee-0.7.36 → webbee-0.7.38}/tests/test_mode_and_remote_0_6_8.py +0 -0
  178. {webbee-0.7.36 → webbee-0.7.38}/tests/test_mode_store.py +0 -0
  179. {webbee-0.7.36 → webbee-0.7.38}/tests/test_native_files.py +0 -0
  180. {webbee-0.7.36 → webbee-0.7.38}/tests/test_newtab_mode.py +0 -0
  181. {webbee-0.7.36 → webbee-0.7.38}/tests/test_packaging.py +0 -0
  182. {webbee-0.7.36 → webbee-0.7.38}/tests/test_probe_cost.py +0 -0
  183. {webbee-0.7.36 → webbee-0.7.38}/tests/test_queue_manage_0337.py +0 -0
  184. {webbee-0.7.36 → webbee-0.7.38}/tests/test_read_never_waits_for_the_repo.py +0 -0
  185. {webbee-0.7.36 → webbee-0.7.38}/tests/test_reflow.py +0 -0
  186. {webbee-0.7.36 → webbee-0.7.38}/tests/test_remote_code_reads.py +0 -0
  187. {webbee-0.7.36 → webbee-0.7.38}/tests/test_repl.py +0 -0
  188. {webbee-0.7.36 → webbee-0.7.38}/tests/test_repo.py +0 -0
  189. {webbee-0.7.36 → webbee-0.7.38}/tests/test_resilient_http.py +0 -0
  190. {webbee-0.7.36 → webbee-0.7.38}/tests/test_result_fits_the_door.py +0 -0
  191. {webbee-0.7.36 → webbee-0.7.38}/tests/test_review_fixes_1030.py +0 -0
  192. {webbee-0.7.36 → webbee-0.7.38}/tests/test_session_review_1030.py +0 -0
  193. {webbee-0.7.36 → webbee-0.7.38}/tests/test_sessions.py +0 -0
  194. {webbee-0.7.36 → webbee-0.7.38}/tests/test_sizing.py +0 -0
  195. {webbee-0.7.36 → webbee-0.7.38}/tests/test_slots.py +0 -0
  196. {webbee-0.7.36 → webbee-0.7.38}/tests/test_ssh_guard.py +0 -0
  197. {webbee-0.7.36 → webbee-0.7.38}/tests/test_stallwatch.py +0 -0
  198. {webbee-0.7.36 → webbee-0.7.38}/tests/test_steer.py +0 -0
  199. {webbee-0.7.36 → webbee-0.7.38}/tests/test_stream.py +0 -0
  200. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tab_bar_stability.py +0 -0
  201. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tab_restore_0337.py +0 -0
  202. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tabs.py +0 -0
  203. {webbee-0.7.36 → webbee-0.7.38}/tests/test_terminal_ux_0336.py +0 -0
  204. {webbee-0.7.36 → webbee-0.7.38}/tests/test_thread.py +0 -0
  205. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tier_invalidation.py +0 -0
  206. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tier_store.py +0 -0
  207. {webbee-0.7.36 → webbee-0.7.38}/tests/test_todo_panel.py +0 -0
  208. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tokens.py +0 -0
  209. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tools.py +0 -0
  210. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tools_eol_cancel_1030.py +0 -0
  211. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tray_1126.py +0 -0
  212. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tui.py +0 -0
  213. {webbee-0.7.36 → webbee-0.7.38}/tests/test_tui_hardening.py +0 -0
  214. {webbee-0.7.36 → webbee-0.7.38}/tests/test_ui_tokens.py +0 -0
  215. {webbee-0.7.36 → webbee-0.7.38}/tests/test_update.py +0 -0
  216. {webbee-0.7.36 → webbee-0.7.38}/tests/test_update_badge_0340.py +0 -0
  217. {webbee-0.7.36 → webbee-0.7.38}/tests/test_urlopen.py +0 -0
  218. {webbee-0.7.36 → webbee-0.7.38}/tests/test_version.py +0 -0
  219. {webbee-0.7.36 → webbee-0.7.38}/tests/test_version_badge_corner.py +0 -0
  220. {webbee-0.7.36 → webbee-0.7.38}/tests/test_voice_outcome.py +0 -0
  221. {webbee-0.7.36 → webbee-0.7.38}/tests/test_wallet.py +0 -0
  222. {webbee-0.7.36 → webbee-0.7.38}/tests/test_worktrees.py +0 -0
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.38
4
+
5
+ * First-words latency in turn footer: displays time to first visible words (`first X.Xs` / `отклик X.Xс`, compact `X.Xs/Y.Ys` on narrow terminals) alongside total turn duration, triggered by the first inline Guide remark or `answer_delta` chunk.
6
+ * Complete Guide & tier provenance on marathon turns: preserves `answered_by` and `model_tier` on `marathon_complete` and `marathon_paused` (including held milestone finals), adds localized `ack_steer` header badge (`got it` / `приняла`), and covers `k89`–`k92` flows with unit and golden tests across 60/80/120 columns.
7
+ * Faster turn start (~0.9s saved per turn): extracts `imperal_id` into `Account` from boot `/v1/auth/me`, caches it on `AgentSession`, passes it from slot creation, and clears/refreshes the cache on `/logout` and `/login` instead of issuing a fresh `whoami()` HTTP call on every turn.
8
+ * Dependency bump: requires `imperal-mcp>=0.9.25` and `imperal-sdk[universal-index]>=6.16.0` for structured agent thread parameters (`reply_to`, `about`, `expects`) in `message_session`.
9
+
10
+ ## 0.7.37
11
+
12
+ * Inline Guide speech (`guide_inline`): renders live Guide remarks (`opening`, `beat`, `ack_steer`) directly inside the
13
+ turn feed in Webbee's signature gold (`#bf8000`) instead of burying them in the bottom toolbar, with clean fallback
14
+ promotion of live `answer_delta` lead-ins on older kernels.
15
+ * Brand gold & semantic tier/mode palette: restored Webbee gold (`#bf8000`) for brand headers and welcome banner while
16
+ keeping orange (`#ea580c`) strictly for `warning` / waiting-on-you items; tinted thoughts, step lines, and turn footer
17
+ provenance badges (`Guide` / `Smart` / `SuperSmart` / `UltraSmart`) by active model tier, tinted the user echo `❯`
18
+ arrow by active execution mode (`default` / `plan` / `autopilot`), and surfaced inline elapsed time on slow steps (`>= 2s`).
19
+ * Parallel tool ack decoupling & faster `view_image`: decoupled tool execution from the SSE ack loop so concurrent
20
+ read-tier calls never starve sibling acks, and skipped redundant `read_native` extraction in `view_image` when sending
21
+ native vision images.
22
+ * Localization & timestamp polish: localized Russian footer credit units (`кр`) and preserved full `HH:MM:SS` timestamps
23
+ in agent card headers.
24
+
3
25
  ## 0.7.36
4
26
 
5
27
  * 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.38
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
@@ -31,8 +31,8 @@ Requires-Python: >=3.7
31
31
  Requires-Dist: asyncssh>=2.14; python_version >= '3.10'
32
32
  Requires-Dist: httpx-sse>=0.4; python_version >= '3.10'
33
33
  Requires-Dist: httpx>=0.27; python_version >= '3.10'
34
- Requires-Dist: imperal-mcp>=0.9.24; python_version >= '3.10'
35
- Requires-Dist: imperal-sdk[universal-index]>=6.14.0; python_version >= '3.10'
34
+ Requires-Dist: imperal-mcp>=0.9.25; python_version >= '3.10'
35
+ Requires-Dist: imperal-sdk[universal-index]>=6.16.0; python_version >= '3.10'
36
36
  Requires-Dist: pillow>=10; python_version >= '3.10'
37
37
  Requires-Dist: prompt-toolkit>=3; python_version >= '3.10'
38
38
  Requires-Dist: rich>=13.7; python_version >= '3.10'
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "webbee"
3
- version = "0.7.36"
3
+ version = "0.7.38"
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"
@@ -13,8 +13,8 @@ dependencies = [
13
13
  # release on a Python 3.12 it sets up once with uv -- `uv` comes as a wheel on 3.8+,
14
14
  # 3.7 fetches it with uv's own installer.
15
15
  'uv>=0.4; python_version >= "3.8" and python_version < "3.10"',
16
- 'imperal-mcp>=0.9.24; python_version >= "3.10"', # raised to the newest at each release
17
- 'imperal-sdk[universal-index]>=6.14.0; python_version >= "3.10"',
16
+ 'imperal-mcp>=0.9.25; python_version >= "3.10"', # raised to the newest at each release
17
+ 'imperal-sdk[universal-index]>=6.16.0; python_version >= "3.10"',
18
18
  'asyncssh>=2.14; python_version >= "3.10"',
19
19
  'httpx>=0.27; python_version >= "3.10"',
20
20
  'httpx-sse>=0.4; python_version >= "3.10"',
@@ -0,0 +1 @@
1
+ __version__ = "0.7.38"
@@ -14,6 +14,7 @@ class Account:
14
14
  dev_tier: str = ""
15
15
  member_since: str = ""
16
16
  lang: str = ""
17
+ imperal_id: str = ""
17
18
 
18
19
 
19
20
  def _fmt_month(iso: str) -> str:
@@ -101,4 +102,5 @@ async def fetch_account(cfg, token_provider, *, get=None) -> Account:
101
102
  dev_tier=str(dev.get("tier", "") or attrs.get("developer_tier", "") or ""),
102
103
  member_since=_fmt_month(str(me.get("created_at", "") or dev.get("registered_at", "") or "")),
103
104
  lang=str(raw_lang or ""),
105
+ imperal_id=str(me.get("imperal_id") or me.get("id") or ""),
104
106
  )
@@ -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",
@@ -100,6 +101,7 @@ _CATALOG: dict[str, dict[str, str]] = {
100
101
  "footer_tokens": "{tokens} tok",
101
102
  "footer_credits": "{credits} cr",
102
103
  "footer_session": "session {tokens} tok",
104
+ "footer_first_words": "first {first}",
103
105
  "duration_ms": "{ms}ms",
104
106
  "duration_s": "{s}s",
105
107
  # Welcome banner
@@ -126,6 +128,7 @@ _CATALOG: dict[str, dict[str, str]] = {
126
128
  "stop_waits_on_you": "waits on you",
127
129
  "stop_open": "open",
128
130
  "plan_mode_source": "plan mode",
131
+ "guide_ack_steer": "got it",
129
132
  "plan_blocked_body": "Blocked {tool} in plan mode — Shift+Tab to allow changes",
130
133
  # Block labels: step / diff / plan
131
134
  "step_ok": "ok",
@@ -209,6 +212,7 @@ _CATALOG: dict[str, dict[str, str]] = {
209
212
  "empty_agent_message": "(пустое сообщение агента)",
210
213
  # Block labels: speech & question
211
214
  "speaker_webbee": "Webbee",
215
+ "speaker_guide": "Гид",
212
216
  "speaker_you": "Ты",
213
217
  "streaming_badge": "в работе",
214
218
  "needs_reply": "Нужен твой ответ",
@@ -217,8 +221,9 @@ _CATALOG: dict[str, dict[str, str]] = {
217
221
  "footer_actions_many": "действий: {count}",
218
222
  "footer_actions_compact": "{count} действ.",
219
223
  "footer_tokens": "{tokens} ток",
220
- "footer_credits": "{credits} cr",
224
+ "footer_credits": "{credits} кр",
221
225
  "footer_session": "сессия {tokens} ток",
226
+ "footer_first_words": "отклик {first}",
222
227
  "duration_ms": "{ms}мс",
223
228
  "duration_s": "{s}с",
224
229
  # Welcome banner
@@ -245,6 +250,7 @@ _CATALOG: dict[str, dict[str, str]] = {
245
250
  "stop_waits_on_you": "ждёт тебя",
246
251
  "stop_open": "открыто",
247
252
  "plan_mode_source": "режим плана",
253
+ "guide_ack_steer": "приняла",
248
254
  "plan_blocked_body": "Действие {tool} заблокировано в режиме плана — Shift+Tab разрешит изменения",
249
255
  # Block labels: step / diff / plan
250
256
  "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)
@@ -591,6 +623,8 @@ class RichSink:
591
623
  def begin_turn(self) -> None:
592
624
  self._tools = 0
593
625
  self._started = self._clock()
626
+ self._first_words_at: float | None = None
627
+ self._last_first_words_s: float | None = None
594
628
  self._current = ""
595
629
  self._pending = ("", "")
596
630
  self.tokens = 0 # per-turn live counters (usage frames are per-turn cumulative)
@@ -607,6 +641,9 @@ class RichSink:
607
641
  self._step_records = {}
608
642
  self._step_gap = False # the gap just below is the first step's own: none is added above its thought
609
643
  self._kernel_notes = []
644
+ self._answered_by = ""
645
+ self._final_model_tier = ""
646
+ self._guide_lines_seen = []
610
647
  self.clear_answer_delta()
611
648
  self.console.print() # breathing room between the user's message and the response
612
649
  self._nudge()
@@ -641,6 +678,10 @@ class RichSink:
641
678
  else []
642
679
  )
643
680
  self._kernel_notes = []
681
+ _answered_by = str(getattr(self, "_answered_by", "") or "").strip().lower()
682
+ self._answered_by = ""
683
+ _final_tier = str(getattr(self, "_final_model_tier", "") or "").strip().lower()
684
+ self._final_model_tier = ""
644
685
  self._busy = False
645
686
  # The kernel session's own queue only exists while a run is live —
646
687
  # once this turn returns COMPLETE or user-stopped, the terminal no
@@ -685,6 +726,12 @@ class RichSink:
685
726
  self.console.print(Copyable(header, final_text.strip()))
686
727
  self.console.print(Padding(Markdown(final_text), (0, 0, 0, 4)))
687
728
  elapsed = self._elapsed()
729
+ _first_at = getattr(self, "_first_words_at", None)
730
+ self._first_words_at = None
731
+ _first_s: float | None = None
732
+ if _first_at is not None and self._started is not None:
733
+ _first_s = max(0.0, min(elapsed, float(_first_at) - float(self._started)))
734
+ self._last_first_words_s = _first_s
688
735
  self.session_tokens += self.tokens
689
736
  self.session_credits += self.credits
690
737
  elapsed_str = i18n.fmt_elapsed(elapsed, lang=lang)
@@ -699,8 +746,13 @@ class RichSink:
699
746
  else ""
700
747
  )
701
748
 
702
- wide_parts = [elapsed_str, actions_wide, tok_str]
703
- narrow_parts = [elapsed_str, actions_narrow, tok_str]
749
+ if _first_s is not None:
750
+ first_str = i18n.fmt_elapsed(_first_s, lang=lang)
751
+ wide_parts = [i18n.t("footer_first_words", lang=lang, first=first_str), elapsed_str, actions_wide, tok_str]
752
+ narrow_parts = [f"{first_str}/{elapsed_str}", actions_narrow, tok_str]
753
+ else:
754
+ wide_parts = [elapsed_str, actions_wide, tok_str]
755
+ narrow_parts = [elapsed_str, actions_narrow, tok_str]
704
756
  if cr_str:
705
757
  wide_parts.append(cr_str)
706
758
  narrow_parts.append(cr_str)
@@ -708,12 +760,33 @@ class RichSink:
708
760
  wide_parts.append(sess_str)
709
761
 
710
762
  trailing = i18n.t("waiting_reply", lang=lang) if _awaits_reply else ""
763
+ badge = None
764
+ if _answered_by == "guide":
765
+ badge = (i18n.t("speaker_guide", lang=lang), "brand")
766
+ else:
767
+ _known_tiers = ("webbeesmart", "supersmart", "ultrasmart")
768
+ _speaker_tier = (
769
+ _final_tier
770
+ if _final_tier in _known_tiers
771
+ else (
772
+ _answered_by
773
+ if _answered_by in _known_tiers
774
+ else (
775
+ str(getattr(self, "_active_tier", "") or "").strip().lower()
776
+ if str(getattr(self, "_active_tier", "") or "").strip().lower() in _known_tiers
777
+ else ""
778
+ )
779
+ )
780
+ )
781
+ if _speaker_tier:
782
+ badge = (tier_display_name(_speaker_tier), tier_role(_speaker_tier, bold=True))
711
783
  self.console.print(
712
784
  GridFooter(
713
785
  block_kind=block_kind,
714
786
  summary=" · ".join(wide_parts),
715
787
  summary_narrow=" · ".join(narrow_parts),
716
788
  trailing=trailing,
789
+ badge=badge,
717
790
  )
718
791
  )
719
792
  if _kernel_notes:
@@ -914,12 +987,14 @@ class RichSink:
914
987
  self._nudge()
915
988
 
916
989
  @renders_block("speech")
917
- def user_echo(self, text: str) -> None:
990
+ def user_echo(self, text: str, mode: str = "") -> None:
918
991
  """Commit the just-sent user message as a clean unboxed speech line
919
- using terminal-default text color (readable on dark and light themes)."""
992
+ using terminal-default text color (readable on dark and light themes)
993
+ and coloring the leading ``❯`` arrow by the active execution mode."""
920
994
  t_now = self._wall_hms()
995
+ arrow_style = self._style(mode_role(self._resolve_active_mode(mode)))
921
996
  line = Text()
922
- line.append(f"{GLYPHS['user']} ", style=self._style("brand"))
997
+ line.append(f"{GLYPHS['user']} ", style=arrow_style)
923
998
  line.append(_clean(text), style=self._style("text"))
924
999
  line.append(f" · {t_now}", style=self._style("muted"))
925
1000
  self.console.print(_pad(line))
@@ -1145,9 +1220,58 @@ class RichSink:
1145
1220
  self.clear_answer_delta()
1146
1221
  self._nudge()
1147
1222
 
1223
+ def _promote_live_guide(self) -> None:
1224
+ """Promote any buffered Guide lead-in (from ``answer_delta`` on k82–k86) into
1225
+ an inline Guide remark in the transcript before the first step or thought."""
1226
+ lead = (getattr(self, "_live_answer", "") or "").strip()
1227
+ if not lead:
1228
+ return
1229
+ self.clear_answer_delta()
1230
+ self.guide_say(lead, phase="opening")
1231
+
1232
+ @renders_block("speech")
1233
+ def guide_say(self, text: str, *, phase: str = "opening") -> None:
1234
+ """Render a live inline Guide remark directly inside the turn stream
1235
+ (``opening`` / ``beat`` / ``ack_steer``) using Webbee's signature gold
1236
+ accent and zero vertical borders, keeping the bottom tray uncluttered."""
1237
+ clean = _clean(text).strip()
1238
+ if not clean:
1239
+ return
1240
+ if getattr(self, "_first_words_at", None) is None and getattr(self, "_started", None) is not None:
1241
+ self._first_words_at = self._clock()
1242
+ seen = getattr(self, "_guide_lines_seen", None)
1243
+ if not isinstance(seen, list):
1244
+ seen = []
1245
+ self._guide_lines_seen = seen
1246
+ if seen and seen[-1] == clean:
1247
+ return
1248
+ if (getattr(self, "_live_answer", "") or "").strip() == clean:
1249
+ self.clear_answer_delta()
1250
+ seen.append(clean)
1251
+
1252
+ lang = self._ui_lang()
1253
+ t_now = self._wall_hms()
1254
+ brand_s = self._style("brand")
1255
+ muted_s = self._style("muted")
1256
+ text_s = self._style("text")
1257
+
1258
+ if getattr(self, "_step_gap", False):
1259
+ self.console.print()
1260
+ head = Text()
1261
+ head.append(f"{GLYPHS['brand']} ", style=brand_s)
1262
+ head.append(i18n.t("speaker_webbee", lang=lang), style=brand_s)
1263
+ if phase == "ack_steer":
1264
+ head.append(f" · {i18n.t('guide_ack_steer', lang=lang)}", style=muted_s)
1265
+ head.append(f" · {t_now}", style=muted_s)
1266
+ self.console.print(_pad(head))
1267
+ self.console.print(Padding(Text(clean, style=text_s), (0, 0, 0, BODY_INDENT)))
1268
+ self._step_gap = True
1269
+ self._nudge()
1270
+
1148
1271
  # ---- TurnSink -------------------------------------------------------
1149
1272
  @renders_block("step")
1150
1273
  def tool_start(self, tool: str, args: dict) -> None:
1274
+ self._promote_live_guide()
1151
1275
  self._tools += 1
1152
1276
  arg = call_subject(tool, args)
1153
1277
  self._pending = (tool, str(arg))
@@ -1177,6 +1301,8 @@ class RichSink:
1177
1301
  clean = _clean(text)
1178
1302
  if not clean:
1179
1303
  return
1304
+ if clean.strip() and getattr(self, "_first_words_at", None) is None and getattr(self, "_started", None) is not None:
1305
+ self._first_words_at = self._clock()
1180
1306
  self._live_answer += clean
1181
1307
  pane = self._output_pane()
1182
1308
  if pane is not None:
@@ -1231,6 +1357,8 @@ class RichSink:
1231
1357
  summary=clean_summary,
1232
1358
  expandable=is_expandable,
1233
1359
  lang=lang,
1360
+ tier=str(getattr(self, "_active_tier", "") or "").strip().lower(),
1361
+ duration_ms=duration_ms,
1234
1362
  )
1235
1363
  if is_expandable:
1236
1364
  from webbee.expand import Expandable, step_body
@@ -1558,10 +1686,13 @@ class RichSink:
1558
1686
 
1559
1687
  @renders_block("step")
1560
1688
  def thinking(self, text: str, tier: str = "", say: str = "", kind: str = "", lines=None) -> None:
1689
+ self._promote_live_guide()
1561
1690
  if self._current.startswith((f"{GLYPHS['thought']} ", "💭 ")):
1562
1691
  self._current = "" # the thought is finished: its live line gives way to the printed block
1563
1692
  lang = self._ui_lang()
1564
1693
  muted_s = self._style("muted")
1694
+ if tier:
1695
+ self._active_tier = str(tier).strip().lower()
1565
1696
  if kind:
1566
1697
  if kind == "native":
1567
1698
  return
@@ -1569,12 +1700,7 @@ class RichSink:
1569
1700
  if str(v or "").strip())
1570
1701
  if not (say or proto):
1571
1702
  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"
1703
+ tier = self._resolve_active_tier(tier)
1578
1704
  t_now = self._wall_hms()
1579
1705
  if getattr(self, "_step_gap", False):
1580
1706
  self.console.print()
@@ -1599,12 +1725,7 @@ class RichSink:
1599
1725
  self._nudge()
1600
1726
  return
1601
1727
  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"
1728
+ tier = self._resolve_active_tier(tier)
1608
1729
  style = _tier_thinking_style(tier, console=self.console)
1609
1730
  t_now = self._wall_hms()
1610
1731
  line = Text.assemble(