webbee 0.7.30__tar.gz → 0.7.32__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 (210) hide show
  1. {webbee-0.7.30 → webbee-0.7.32}/CHANGELOG.md +14 -0
  2. {webbee-0.7.30 → webbee-0.7.32}/PKG-INFO +1 -1
  3. {webbee-0.7.30 → webbee-0.7.32}/pyproject.toml +1 -1
  4. webbee-0.7.32/src/webbee/__init__.py +1 -0
  5. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/frames.py +8 -0
  6. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/render.py +23 -1
  7. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/repl.py +13 -1
  8. {webbee-0.7.30 → webbee-0.7.32}/tests/test_jobs_1127.py +23 -0
  9. {webbee-0.7.30 → webbee-0.7.32}/tests/test_render.py +22 -0
  10. {webbee-0.7.30 → webbee-0.7.32}/uv.lock +1 -1
  11. webbee-0.7.30/src/webbee/__init__.py +0 -1
  12. {webbee-0.7.30 → webbee-0.7.32}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  13. {webbee-0.7.30 → webbee-0.7.32}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  14. {webbee-0.7.30 → webbee-0.7.32}/.github/pull_request_template.md +0 -0
  15. {webbee-0.7.30 → webbee-0.7.32}/.github/workflows/os-check.yml +0 -0
  16. {webbee-0.7.30 → webbee-0.7.32}/.github/workflows/publish.yml +0 -0
  17. {webbee-0.7.30 → webbee-0.7.32}/.gitignore +0 -0
  18. {webbee-0.7.30 → webbee-0.7.32}/LICENSE +0 -0
  19. {webbee-0.7.30 → webbee-0.7.32}/PRIVACY.md +0 -0
  20. {webbee-0.7.30 → webbee-0.7.32}/README.md +0 -0
  21. {webbee-0.7.30 → webbee-0.7.32}/SECURITY.md +0 -0
  22. {webbee-0.7.30 → webbee-0.7.32}/assets/architecture.png +0 -0
  23. {webbee-0.7.30 → webbee-0.7.32}/assets/demo.gif +0 -0
  24. {webbee-0.7.30 → webbee-0.7.32}/assets/hero.png +0 -0
  25. {webbee-0.7.30 → webbee-0.7.32}/assets/social-preview.png +0 -0
  26. {webbee-0.7.30 → webbee-0.7.32}/ci/__init__.py +0 -0
  27. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/__init__.py +0 -0
  28. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/drivers.py +0 -0
  29. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/fixture.py +0 -0
  30. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/fixture_long.py +0 -0
  31. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/fixture_wait.py +0 -0
  32. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/provision_user.py +0 -0
  33. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/registry.py +0 -0
  34. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/replay.py +0 -0
  35. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/run.py +0 -0
  36. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/scenarios_account.py +0 -0
  37. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/scenarios_code.py +0 -0
  38. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/scenarios_contract.py +0 -0
  39. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/scenarios_long.py +0 -0
  40. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/scenarios_wait.py +0 -0
  41. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/test_drivers.py +0 -0
  42. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/test_fixture.py +0 -0
  43. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/test_fixture_long.py +0 -0
  44. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/test_fixture_wait.py +0 -0
  45. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/test_registry.py +0 -0
  46. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/test_replay.py +0 -0
  47. {webbee-0.7.30 → webbee-0.7.32}/ci/field_gate/wipe.py +0 -0
  48. {webbee-0.7.30 → webbee-0.7.32}/ci/os_check.py +0 -0
  49. {webbee-0.7.30 → webbee-0.7.32}/dev-webbee +0 -0
  50. {webbee-0.7.30 → webbee-0.7.32}/install.sh +0 -0
  51. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/__main__.py +0 -0
  52. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/_launch.py +0 -0
  53. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/account.py +0 -0
  54. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/active_sessions.py +0 -0
  55. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/autoupdate.py +0 -0
  56. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/banner_art.py +0 -0
  57. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/boot.py +0 -0
  58. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/browser.py +0 -0
  59. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/checkpoints.py +0 -0
  60. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/cli.py +0 -0
  61. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/clipboard.py +0 -0
  62. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/clipboard_read.py +0 -0
  63. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/clipboard_session.py +0 -0
  64. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/coding_context.py +0 -0
  65. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/commands.py +0 -0
  66. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/config.py +0 -0
  67. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/consent.py +0 -0
  68. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/details.py +0 -0
  69. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/events.py +0 -0
  70. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/expand.py +0 -0
  71. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/home.py +0 -0
  72. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/home_view.py +0 -0
  73. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/http.py +0 -0
  74. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/instance_lock.py +0 -0
  75. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/__init__.py +0 -0
  76. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/graph.py +0 -0
  77. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/outline.py +0 -0
  78. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/query.py +0 -0
  79. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/service.py +0 -0
  80. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/store.py +0 -0
  81. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/tree.py +0 -0
  82. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/intel/watch.py +0 -0
  83. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/jobs.py +0 -0
  84. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/jobwatch.py +0 -0
  85. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/loop_errors.py +0 -0
  86. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/media.py +0 -0
  87. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/modals.py +0 -0
  88. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/mode_store.py +0 -0
  89. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/native_files.py +0 -0
  90. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/native_read.py +0 -0
  91. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/newtab_mode.py +0 -0
  92. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/output_pane.py +0 -0
  93. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/pricing_constants.py +0 -0
  94. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/queue_panel.py +0 -0
  95. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/reflow.py +0 -0
  96. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/remote.py +0 -0
  97. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/repo.py +0 -0
  98. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/selection.py +0 -0
  99. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/session.py +0 -0
  100. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/sessions.py +0 -0
  101. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/sizing.py +0 -0
  102. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/slots.py +0 -0
  103. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/stallwatch.py +0 -0
  104. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/steer.py +0 -0
  105. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/stream.py +0 -0
  106. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/tab_store.py +0 -0
  107. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/tabs.py +0 -0
  108. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/thread.py +0 -0
  109. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/tier_store.py +0 -0
  110. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/todo_panel.py +0 -0
  111. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/tokens.py +0 -0
  112. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/tools.py +0 -0
  113. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/tui.py +0 -0
  114. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/update.py +0 -0
  115. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/urlopen.py +0 -0
  116. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/wallet.py +0 -0
  117. {webbee-0.7.30 → webbee-0.7.32}/src/webbee/worktrees.py +0 -0
  118. {webbee-0.7.30 → webbee-0.7.32}/tests/__init__.py +0 -0
  119. {webbee-0.7.30 → webbee-0.7.32}/tests/conftest.py +0 -0
  120. {webbee-0.7.30 → webbee-0.7.32}/tests/test_account.py +0 -0
  121. {webbee-0.7.30 → webbee-0.7.32}/tests/test_active_sessions.py +0 -0
  122. {webbee-0.7.30 → webbee-0.7.32}/tests/test_append_file.py +0 -0
  123. {webbee-0.7.30 → webbee-0.7.32}/tests/test_audit_2026_07_25_findings.py +0 -0
  124. {webbee-0.7.30 → webbee-0.7.32}/tests/test_autoupdate.py +0 -0
  125. {webbee-0.7.30 → webbee-0.7.32}/tests/test_checkpoints.py +0 -0
  126. {webbee-0.7.30 → webbee-0.7.32}/tests/test_checkpoints_nested_1030.py +0 -0
  127. {webbee-0.7.30 → webbee-0.7.32}/tests/test_cli.py +0 -0
  128. {webbee-0.7.30 → webbee-0.7.32}/tests/test_clipboard.py +0 -0
  129. {webbee-0.7.30 → webbee-0.7.32}/tests/test_clipboard_read.py +0 -0
  130. {webbee-0.7.30 → webbee-0.7.32}/tests/test_code_map_fresh.py +0 -0
  131. {webbee-0.7.30 → webbee-0.7.32}/tests/test_coding_context.py +0 -0
  132. {webbee-0.7.30 → webbee-0.7.32}/tests/test_commands.py +0 -0
  133. {webbee-0.7.30 → webbee-0.7.32}/tests/test_config.py +0 -0
  134. {webbee-0.7.30 → webbee-0.7.32}/tests/test_cpc_contract_stable.py +0 -0
  135. {webbee-0.7.30 → webbee-0.7.32}/tests/test_cpc_outline.py +0 -0
  136. {webbee-0.7.30 → webbee-0.7.32}/tests/test_cross_loop_token.py +0 -0
  137. {webbee-0.7.30 → webbee-0.7.32}/tests/test_details.py +0 -0
  138. {webbee-0.7.30 → webbee-0.7.32}/tests/test_events.py +0 -0
  139. {webbee-0.7.30 → webbee-0.7.32}/tests/test_expand.py +0 -0
  140. {webbee-0.7.30 → webbee-0.7.32}/tests/test_field_test_1113.py +0 -0
  141. {webbee-0.7.30 → webbee-0.7.32}/tests/test_freeze_fix.py +0 -0
  142. {webbee-0.7.30 → webbee-0.7.32}/tests/test_home.py +0 -0
  143. {webbee-0.7.30 → webbee-0.7.32}/tests/test_home_view.py +0 -0
  144. {webbee-0.7.30 → webbee-0.7.32}/tests/test_home_view_mouse.py +0 -0
  145. {webbee-0.7.30 → webbee-0.7.32}/tests/test_inspect_page.py +0 -0
  146. {webbee-0.7.30 → webbee-0.7.32}/tests/test_instance_lock.py +0 -0
  147. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_any_folder.py +0 -0
  148. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_cache_and_sync_worker.py +0 -0
  149. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_checksum_tree.py +0 -0
  150. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_chunker.py +0 -0
  151. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_embed.py +0 -0
  152. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_folder_1106.py +0 -0
  153. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_graph.py +0 -0
  154. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_no_numpy.py +0 -0
  155. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_query.py +0 -0
  156. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_service.py +0 -0
  157. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_store.py +0 -0
  158. {webbee-0.7.30 → webbee-0.7.32}/tests/test_intel_watch.py +0 -0
  159. {webbee-0.7.30 → webbee-0.7.32}/tests/test_launch.py +0 -0
  160. {webbee-0.7.30 → webbee-0.7.32}/tests/test_loop_errors.py +0 -0
  161. {webbee-0.7.30 → webbee-0.7.32}/tests/test_marathon.py +0 -0
  162. {webbee-0.7.30 → webbee-0.7.32}/tests/test_modals_e2e.py +0 -0
  163. {webbee-0.7.30 → webbee-0.7.32}/tests/test_mode_and_remote_0_6_8.py +0 -0
  164. {webbee-0.7.30 → webbee-0.7.32}/tests/test_mode_store.py +0 -0
  165. {webbee-0.7.30 → webbee-0.7.32}/tests/test_native_files.py +0 -0
  166. {webbee-0.7.30 → webbee-0.7.32}/tests/test_newtab_mode.py +0 -0
  167. {webbee-0.7.30 → webbee-0.7.32}/tests/test_packaging.py +0 -0
  168. {webbee-0.7.30 → webbee-0.7.32}/tests/test_probe_cost.py +0 -0
  169. {webbee-0.7.30 → webbee-0.7.32}/tests/test_queue_manage_0337.py +0 -0
  170. {webbee-0.7.30 → webbee-0.7.32}/tests/test_read_never_waits_for_the_repo.py +0 -0
  171. {webbee-0.7.30 → webbee-0.7.32}/tests/test_reflow.py +0 -0
  172. {webbee-0.7.30 → webbee-0.7.32}/tests/test_remote_code_reads.py +0 -0
  173. {webbee-0.7.30 → webbee-0.7.32}/tests/test_repl.py +0 -0
  174. {webbee-0.7.30 → webbee-0.7.32}/tests/test_repo.py +0 -0
  175. {webbee-0.7.30 → webbee-0.7.32}/tests/test_resilient_http.py +0 -0
  176. {webbee-0.7.30 → webbee-0.7.32}/tests/test_result_fits_the_door.py +0 -0
  177. {webbee-0.7.30 → webbee-0.7.32}/tests/test_review_fixes_1030.py +0 -0
  178. {webbee-0.7.30 → webbee-0.7.32}/tests/test_session.py +0 -0
  179. {webbee-0.7.30 → webbee-0.7.32}/tests/test_session_review_1030.py +0 -0
  180. {webbee-0.7.30 → webbee-0.7.32}/tests/test_sessions.py +0 -0
  181. {webbee-0.7.30 → webbee-0.7.32}/tests/test_sizing.py +0 -0
  182. {webbee-0.7.30 → webbee-0.7.32}/tests/test_slots.py +0 -0
  183. {webbee-0.7.30 → webbee-0.7.32}/tests/test_ssh_guard.py +0 -0
  184. {webbee-0.7.30 → webbee-0.7.32}/tests/test_stallwatch.py +0 -0
  185. {webbee-0.7.30 → webbee-0.7.32}/tests/test_steer.py +0 -0
  186. {webbee-0.7.30 → webbee-0.7.32}/tests/test_stream.py +0 -0
  187. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tab_bar_stability.py +0 -0
  188. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tab_restore_0337.py +0 -0
  189. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tabs.py +0 -0
  190. {webbee-0.7.30 → webbee-0.7.32}/tests/test_terminal_ux_0336.py +0 -0
  191. {webbee-0.7.30 → webbee-0.7.32}/tests/test_thread.py +0 -0
  192. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tier_invalidation.py +0 -0
  193. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tier_store.py +0 -0
  194. {webbee-0.7.30 → webbee-0.7.32}/tests/test_todo_panel.py +0 -0
  195. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tokens.py +0 -0
  196. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tool_ack.py +0 -0
  197. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tools.py +0 -0
  198. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tools_eol_cancel_1030.py +0 -0
  199. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tools_vision_websearch.py +0 -0
  200. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tray_1126.py +0 -0
  201. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tui.py +0 -0
  202. {webbee-0.7.30 → webbee-0.7.32}/tests/test_tui_hardening.py +0 -0
  203. {webbee-0.7.30 → webbee-0.7.32}/tests/test_update.py +0 -0
  204. {webbee-0.7.30 → webbee-0.7.32}/tests/test_update_badge_0340.py +0 -0
  205. {webbee-0.7.30 → webbee-0.7.32}/tests/test_urlopen.py +0 -0
  206. {webbee-0.7.30 → webbee-0.7.32}/tests/test_version.py +0 -0
  207. {webbee-0.7.30 → webbee-0.7.32}/tests/test_version_badge_corner.py +0 -0
  208. {webbee-0.7.30 → webbee-0.7.32}/tests/test_voice_outcome.py +0 -0
  209. {webbee-0.7.30 → webbee-0.7.32}/tests/test_wallet.py +0 -0
  210. {webbee-0.7.30 → webbee-0.7.32}/tests/test_worktrees.py +0 -0
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.32
4
+
5
+ * A step says what it is about. A call that names no file, pattern or command - a read of a stored output, a
6
+ recall, a message, a job - shows its own short arguments instead of an empty line.
7
+ * A long command output read back in pages no longer looks like a loop: each page says which output it is and
8
+ where it starts, and its result says which part came back ("chars 6000-12000 of 91234"). With the kernel
9
+ release that shows these reads as steps.
10
+
11
+ ## 0.7.31
12
+
13
+ * A message from another session that starts a turn on an idle terminal is shown as every agent message is:
14
+ whole, under a head line with its length. It was printed on one line as `you [agent]: ...`, as if you had
15
+ written it.
16
+
3
17
  ## 0.7.30
4
18
 
5
19
  * You see what Webbee herself sends. A message she writes to another session is shown in her own terminal: to
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: webbee
3
- Version: 0.7.30
3
+ Version: 0.7.32
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.30"
3
+ version = "0.7.32"
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.32"
@@ -41,6 +41,14 @@ def _summary_from_facts(facts: dict) -> str:
41
41
  count = facts.get("count")
42
42
  if count is None:
43
43
  return ""
44
+ if facts.get("offset") is not None and str(facts.get("entity_kind") or "") == "char":
45
+ # a page of a stored output: WHICH part of it -- the same page read twice shows the same numbers twice
46
+ try:
47
+ start, got = int(facts.get("offset") or 0), int(count)
48
+ whole = facts.get("total")
49
+ return f"chars {start}-{start + got}" + (f" of {int(whole)}" if whole is not None else "")
50
+ except (TypeError, ValueError):
51
+ pass
44
52
  kind = str(facts.get("entity_kind") or "").strip()
45
53
  if not kind:
46
54
  return str(count)
@@ -88,6 +88,28 @@ _KERNEL_TOOL = MappingProxyType({"vault_log_read": ("📖", "Read Output"), "rea
88
88
  "live_sessions": ("🧠", "Sessions"), "message_session": ("✉️", "Message")})
89
89
 
90
90
 
91
+ def call_subject(tool: str, args) -> str:
92
+ """PURE. What a call is ABOUT, for its line: the path, pattern or command it names; for a page of a stored
93
+ output -- which output and which part of it (the owner, 2026-11-27: a long output read back in pages showed
94
+ as the same line again and again, and looked like a loop); for any other call that names none of those, its
95
+ own short arguments. Never empty when the call said anything."""
96
+ a = args if isinstance(args, dict) else {}
97
+ named = a.get("path") or a.get("pattern") or a.get("command")
98
+ if named:
99
+ return str(named)
100
+ if (tool or "").strip().split("·")[-1] == "vault_log_read" and a.get("ref"):
101
+ name = str(a.get("ref")).rsplit("/", 1)[-1]
102
+ try:
103
+ start = int(a.get("offset") or 0)
104
+ except (TypeError, ValueError):
105
+ start = 0
106
+ part = f" from char {start}" if start else " from its start"
107
+ return name + part + (f" · lines with {str(a.get('grep'))!r}" if a.get("grep") else "")
108
+ shown = [f"{k}={v}" for k, v in a.items()
109
+ if isinstance(v, (str, int, float)) and not isinstance(v, bool) and str(v).strip()]
110
+ return " ".join(shown[:4])
111
+
112
+
91
113
  def _tool_meta(tool: str, args=None) -> tuple[str, str]:
92
114
  t = (tool or "").strip()
93
115
  if t in ("bash", "shell", "run_command") and isinstance(args, dict):
@@ -693,7 +715,7 @@ class RichSink:
693
715
  # ---- TurnSink -------------------------------------------------------
694
716
  def tool_start(self, tool: str, args: dict) -> None:
695
717
  self._tools += 1
696
- arg = args.get("path") or args.get("pattern") or args.get("command") or ""
718
+ arg = call_subject(tool, args)
697
719
  self._pending = (tool, str(arg))
698
720
  w = self.console.width
699
721
  self._current = f"{tool} {str(arg)[:trunc(w, 0.3, 40)]}".strip()
@@ -241,6 +241,18 @@ def _format_sessions_plain(rows) -> str:
241
241
  return "\n".join(out)
242
242
 
243
243
 
244
+ def _show_remote_line(sink, surface: str, text: str, iid: str = "") -> None:
245
+ """The line that starts a turn this terminal picked up while idle. A person's instruction from another surface
246
+ is shown as theirs (``you [telegram]: ...``). An AGENT'S message -- or a fact of the kernel -- is not the
247
+ person's: it gets the block every agent message gets, whole, under a head that says how long it is (the
248
+ owner, 2026-11-27: it was printed as ``you [agent]: ...`` on one line, as if the person had written it)."""
249
+ say = getattr(sink, "agent_message", None)
250
+ if surface == "agent" and say is not None:
251
+ say(" ".join(str(text).split())[:200], iid, whole=str(text), who="another session")
252
+ return
253
+ sink.foreign_turn(surface, "user", text)
254
+
255
+
244
256
  def _say(slot: SessionSlot, msg: str) -> None:
245
257
  """Reply into `slot`'s own surface regardless of whether it has a live
246
258
  sink -- a REAL session slot's `sink.note(msg)`, unchanged; a sink-less
@@ -1712,7 +1724,7 @@ async def run_repl(cfg, mode: str = "default", *, once: bool = False, sink=None,
1712
1724
  slot should this remote instruction land in" question to answer
1713
1725
  (was: `_steer_target(slots)`'s active-or-first-session guess, needed
1714
1726
  only because one process-wide poller had to pick SOME slot)."""
1715
- slot.sink.foreign_turn(surface, "user", text)
1727
+ _show_remote_line(slot.sink, surface, text, steer_iid)
1716
1728
  await _run_turn_on(slot, text, surface=surface, steer_iid=steer_iid)
1717
1729
 
1718
1730
  async def _attach_turn_on(slot: SessionSlot, attach_info: dict) -> None:
@@ -318,3 +318,26 @@ def test_a_home_that_cannot_hold_jobs_still_runs_the_command(home, tmp_path, mon
318
318
  ex = LocalToolExecutor(str(tmp_path))
319
319
  got = ex.run("bash", {"command": "echo still; [[ 1 == 1 ]] && exit 4"})
320
320
  assert (got["ok"], got["exit_code"], got["content"]) == (False, 4, "still\n\n[exit 4]") and ex.held_running() == []
321
+
322
+
323
+ def test_an_agents_message_that_starts_an_idle_terminals_turn_is_never_shown_as_the_persons_line():
324
+ """The owner, 2026-11-27: is an incoming message of another agent seen whole, with its length? In a running
325
+ turn it was; one that STARTED a turn on an idle terminal was printed as ``you [agent]: ...``."""
326
+ from webbee.repl import _show_remote_line
327
+
328
+ class _Sink:
329
+ def __init__(self):
330
+ self.calls = []
331
+
332
+ def agent_message(self, text, iid="", whole="", who=""):
333
+ self.calls.append(("agent", text, iid, whole, who))
334
+
335
+ def foreign_turn(self, surface, role, text):
336
+ self.calls.append(("foreign", surface, role, text))
337
+ s = _Sink()
338
+ body = "[MESSAGE FROM ANOTHER AGENT -- Webbee, conversation=marathon-x]\nline one\nline two " + "z" * 400
339
+ _show_remote_line(s, "agent", body, "agent.m9")
340
+ kind, first, iid, whole, who = s.calls[0]
341
+ assert (kind, iid, whole, who) == ("agent", "agent.m9", body, "another session") and len(first) == 200
342
+ _show_remote_line(s, "telegram", "deploy it", "t1")
343
+ assert s.calls[1] == ("foreign", "telegram", "user", "deploy it") # the person's own words stay theirs
@@ -1234,3 +1234,25 @@ def test_the_terminal_shows_what_its_own_agent_sent_whole_and_says_when_it_was_n
1234
1234
  s.agent_sent("", "x\x1b[31m", ok=True)
1235
1235
  assert "[agent] → another session · 1 chars" in s.console.export_text() or \
1236
1236
  "[agent] → another session ·" in s.console.export_text()
1237
+
1238
+
1239
+ def test_a_call_says_what_it_is_about_and_a_page_of_an_output_says_which_part():
1240
+ """Owner 2026-11-27: an output read back in pages showed as the same line again and again."""
1241
+ from webbee.frames import _summary_from_facts
1242
+ from webbee.render import call_subject
1243
+ assert call_subject("bash", {"command": "make test"}) == "make test"
1244
+ assert call_subject("read_file", {"path": "a.py", "offset": 3}) == "a.py"
1245
+ ref = "vault://logs/marathon-x/call_42.log"
1246
+ assert call_subject("vault_log_read", {"ref": ref}) == "call_42.log from its start"
1247
+ assert call_subject("vault_log_read", {"ref": ref, "offset": 12000, "limit": 6000}) == "call_42.log from char 12000"
1248
+ assert call_subject("vault_log_read", {"ref": ref, "grep": "FAILED"}) == "call_42.log from its start · lines with 'FAILED'"
1249
+ assert call_subject("recall", {"ref": "U3", "n": 2, "deep": True, "x": {"a": 1}}) == "ref=U3 n=2"
1250
+ assert call_subject("message_session", {"conversation": "mcp-x", "text": "hi"}) == "conversation=mcp-x text=hi"
1251
+ assert call_subject("live_sessions", {}) == "" and call_subject("x", None) == ""
1252
+ assert _summary_from_facts({"count": 6000, "entity_kind": "char", "offset": 12000, "total": 91234}) == \
1253
+ "chars 12000-18000 of 91234"
1254
+ assert _summary_from_facts({"count": 40, "entity_kind": "char", "offset": 0}) == "chars 0-40"
1255
+ assert _summary_from_facts({"count": 3, "entity_kind": "file"}) == "3 files" # every other step as before
1256
+ s = _sink()
1257
+ s.tool_start("vault_log_read", {"ref": ref, "offset": 6000})
1258
+ assert s._pending == ("vault_log_read", "call_42.log from char 6000")
@@ -1700,7 +1700,7 @@ wheels = [
1700
1700
 
1701
1701
  [[package]]
1702
1702
  name = "webbee"
1703
- version = "0.7.30"
1703
+ version = "0.7.32"
1704
1704
  source = { editable = "." }
1705
1705
  dependencies = [
1706
1706
  { name = "asyncssh", marker = "python_full_version >= '3.10'" },
@@ -1 +0,0 @@
1
- __version__ = "0.7.30"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes