webbee 0.7.33__tar.gz → 0.7.35__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 (212) hide show
  1. {webbee-0.7.33 → webbee-0.7.35}/CHANGELOG.md +15 -0
  2. {webbee-0.7.33 → webbee-0.7.35}/PKG-INFO +2 -2
  3. {webbee-0.7.33 → webbee-0.7.35}/pyproject.toml +2 -2
  4. webbee-0.7.35/src/webbee/__init__.py +1 -0
  5. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/commands.py +7 -0
  6. webbee-0.7.35/src/webbee/prefs.py +40 -0
  7. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/repl.py +13 -0
  8. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/session.py +53 -30
  9. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/tools.py +16 -5
  10. {webbee-0.7.33 → webbee-0.7.35}/tests/test_jobs_1127.py +62 -0
  11. {webbee-0.7.33 → webbee-0.7.35}/uv.lock +5 -5
  12. webbee-0.7.33/src/webbee/__init__.py +0 -1
  13. {webbee-0.7.33 → webbee-0.7.35}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  14. {webbee-0.7.33 → webbee-0.7.35}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  15. {webbee-0.7.33 → webbee-0.7.35}/.github/pull_request_template.md +0 -0
  16. {webbee-0.7.33 → webbee-0.7.35}/.github/workflows/os-check.yml +0 -0
  17. {webbee-0.7.33 → webbee-0.7.35}/.github/workflows/publish.yml +0 -0
  18. {webbee-0.7.33 → webbee-0.7.35}/.gitignore +0 -0
  19. {webbee-0.7.33 → webbee-0.7.35}/LICENSE +0 -0
  20. {webbee-0.7.33 → webbee-0.7.35}/PRIVACY.md +0 -0
  21. {webbee-0.7.33 → webbee-0.7.35}/README.md +0 -0
  22. {webbee-0.7.33 → webbee-0.7.35}/SECURITY.md +0 -0
  23. {webbee-0.7.33 → webbee-0.7.35}/assets/architecture.png +0 -0
  24. {webbee-0.7.33 → webbee-0.7.35}/assets/demo.gif +0 -0
  25. {webbee-0.7.33 → webbee-0.7.35}/assets/hero.png +0 -0
  26. {webbee-0.7.33 → webbee-0.7.35}/assets/social-preview.png +0 -0
  27. {webbee-0.7.33 → webbee-0.7.35}/ci/__init__.py +0 -0
  28. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/__init__.py +0 -0
  29. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/drivers.py +0 -0
  30. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/fixture.py +0 -0
  31. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/fixture_long.py +0 -0
  32. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/fixture_wait.py +0 -0
  33. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/provision_user.py +0 -0
  34. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/registry.py +0 -0
  35. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/replay.py +0 -0
  36. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/run.py +0 -0
  37. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/scenarios_account.py +0 -0
  38. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/scenarios_code.py +0 -0
  39. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/scenarios_contract.py +0 -0
  40. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/scenarios_long.py +0 -0
  41. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/scenarios_wait.py +0 -0
  42. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/test_drivers.py +0 -0
  43. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/test_fixture.py +0 -0
  44. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/test_fixture_long.py +0 -0
  45. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/test_fixture_wait.py +0 -0
  46. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/test_registry.py +0 -0
  47. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/test_replay.py +0 -0
  48. {webbee-0.7.33 → webbee-0.7.35}/ci/field_gate/wipe.py +0 -0
  49. {webbee-0.7.33 → webbee-0.7.35}/ci/os_check.py +0 -0
  50. {webbee-0.7.33 → webbee-0.7.35}/dev-webbee +0 -0
  51. {webbee-0.7.33 → webbee-0.7.35}/install.sh +0 -0
  52. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/__main__.py +0 -0
  53. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/_launch.py +0 -0
  54. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/account.py +0 -0
  55. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/active_sessions.py +0 -0
  56. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/autoupdate.py +0 -0
  57. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/banner_art.py +0 -0
  58. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/boot.py +0 -0
  59. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/browser.py +0 -0
  60. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/checkpoints.py +0 -0
  61. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/cli.py +0 -0
  62. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/clipboard.py +0 -0
  63. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/clipboard_read.py +0 -0
  64. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/clipboard_session.py +0 -0
  65. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/coding_context.py +0 -0
  66. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/config.py +0 -0
  67. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/consent.py +0 -0
  68. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/details.py +0 -0
  69. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/events.py +0 -0
  70. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/expand.py +0 -0
  71. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/frames.py +0 -0
  72. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/home.py +0 -0
  73. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/home_view.py +0 -0
  74. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/http.py +0 -0
  75. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/instance_lock.py +0 -0
  76. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/__init__.py +0 -0
  77. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/graph.py +0 -0
  78. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/outline.py +0 -0
  79. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/query.py +0 -0
  80. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/service.py +0 -0
  81. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/store.py +0 -0
  82. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/tree.py +0 -0
  83. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/intel/watch.py +0 -0
  84. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/jobs.py +0 -0
  85. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/jobs_panel.py +0 -0
  86. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/jobwatch.py +0 -0
  87. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/loop_errors.py +0 -0
  88. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/media.py +0 -0
  89. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/modals.py +0 -0
  90. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/mode_store.py +0 -0
  91. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/native_files.py +0 -0
  92. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/native_read.py +0 -0
  93. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/newtab_mode.py +0 -0
  94. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/output_pane.py +0 -0
  95. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/pricing_constants.py +0 -0
  96. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/queue_panel.py +0 -0
  97. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/reflow.py +0 -0
  98. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/remote.py +0 -0
  99. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/render.py +0 -0
  100. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/repo.py +0 -0
  101. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/selection.py +0 -0
  102. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/sessions.py +0 -0
  103. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/sizing.py +0 -0
  104. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/slots.py +0 -0
  105. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/stallwatch.py +0 -0
  106. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/steer.py +0 -0
  107. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/stream.py +0 -0
  108. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/tab_store.py +0 -0
  109. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/tabs.py +0 -0
  110. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/thread.py +0 -0
  111. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/tier_store.py +0 -0
  112. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/todo_panel.py +0 -0
  113. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/tokens.py +0 -0
  114. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/tui.py +0 -0
  115. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/update.py +0 -0
  116. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/urlopen.py +0 -0
  117. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/wallet.py +0 -0
  118. {webbee-0.7.33 → webbee-0.7.35}/src/webbee/worktrees.py +0 -0
  119. {webbee-0.7.33 → webbee-0.7.35}/tests/__init__.py +0 -0
  120. {webbee-0.7.33 → webbee-0.7.35}/tests/conftest.py +0 -0
  121. {webbee-0.7.33 → webbee-0.7.35}/tests/test_account.py +0 -0
  122. {webbee-0.7.33 → webbee-0.7.35}/tests/test_active_sessions.py +0 -0
  123. {webbee-0.7.33 → webbee-0.7.35}/tests/test_append_file.py +0 -0
  124. {webbee-0.7.33 → webbee-0.7.35}/tests/test_audit_2026_07_25_findings.py +0 -0
  125. {webbee-0.7.33 → webbee-0.7.35}/tests/test_autoupdate.py +0 -0
  126. {webbee-0.7.33 → webbee-0.7.35}/tests/test_checkpoints.py +0 -0
  127. {webbee-0.7.33 → webbee-0.7.35}/tests/test_checkpoints_nested_1030.py +0 -0
  128. {webbee-0.7.33 → webbee-0.7.35}/tests/test_cli.py +0 -0
  129. {webbee-0.7.33 → webbee-0.7.35}/tests/test_clipboard.py +0 -0
  130. {webbee-0.7.33 → webbee-0.7.35}/tests/test_clipboard_read.py +0 -0
  131. {webbee-0.7.33 → webbee-0.7.35}/tests/test_code_map_fresh.py +0 -0
  132. {webbee-0.7.33 → webbee-0.7.35}/tests/test_coding_context.py +0 -0
  133. {webbee-0.7.33 → webbee-0.7.35}/tests/test_commands.py +0 -0
  134. {webbee-0.7.33 → webbee-0.7.35}/tests/test_config.py +0 -0
  135. {webbee-0.7.33 → webbee-0.7.35}/tests/test_cpc_contract_stable.py +0 -0
  136. {webbee-0.7.33 → webbee-0.7.35}/tests/test_cpc_outline.py +0 -0
  137. {webbee-0.7.33 → webbee-0.7.35}/tests/test_cross_loop_token.py +0 -0
  138. {webbee-0.7.33 → webbee-0.7.35}/tests/test_details.py +0 -0
  139. {webbee-0.7.33 → webbee-0.7.35}/tests/test_events.py +0 -0
  140. {webbee-0.7.33 → webbee-0.7.35}/tests/test_expand.py +0 -0
  141. {webbee-0.7.33 → webbee-0.7.35}/tests/test_field_test_1113.py +0 -0
  142. {webbee-0.7.33 → webbee-0.7.35}/tests/test_freeze_fix.py +0 -0
  143. {webbee-0.7.33 → webbee-0.7.35}/tests/test_home.py +0 -0
  144. {webbee-0.7.33 → webbee-0.7.35}/tests/test_home_view.py +0 -0
  145. {webbee-0.7.33 → webbee-0.7.35}/tests/test_home_view_mouse.py +0 -0
  146. {webbee-0.7.33 → webbee-0.7.35}/tests/test_inspect_page.py +0 -0
  147. {webbee-0.7.33 → webbee-0.7.35}/tests/test_instance_lock.py +0 -0
  148. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_any_folder.py +0 -0
  149. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_cache_and_sync_worker.py +0 -0
  150. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_checksum_tree.py +0 -0
  151. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_chunker.py +0 -0
  152. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_embed.py +0 -0
  153. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_folder_1106.py +0 -0
  154. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_graph.py +0 -0
  155. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_no_numpy.py +0 -0
  156. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_query.py +0 -0
  157. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_service.py +0 -0
  158. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_store.py +0 -0
  159. {webbee-0.7.33 → webbee-0.7.35}/tests/test_intel_watch.py +0 -0
  160. {webbee-0.7.33 → webbee-0.7.35}/tests/test_launch.py +0 -0
  161. {webbee-0.7.33 → webbee-0.7.35}/tests/test_loop_errors.py +0 -0
  162. {webbee-0.7.33 → webbee-0.7.35}/tests/test_marathon.py +0 -0
  163. {webbee-0.7.33 → webbee-0.7.35}/tests/test_modals_e2e.py +0 -0
  164. {webbee-0.7.33 → webbee-0.7.35}/tests/test_mode_and_remote_0_6_8.py +0 -0
  165. {webbee-0.7.33 → webbee-0.7.35}/tests/test_mode_store.py +0 -0
  166. {webbee-0.7.33 → webbee-0.7.35}/tests/test_native_files.py +0 -0
  167. {webbee-0.7.33 → webbee-0.7.35}/tests/test_newtab_mode.py +0 -0
  168. {webbee-0.7.33 → webbee-0.7.35}/tests/test_packaging.py +0 -0
  169. {webbee-0.7.33 → webbee-0.7.35}/tests/test_probe_cost.py +0 -0
  170. {webbee-0.7.33 → webbee-0.7.35}/tests/test_queue_manage_0337.py +0 -0
  171. {webbee-0.7.33 → webbee-0.7.35}/tests/test_read_never_waits_for_the_repo.py +0 -0
  172. {webbee-0.7.33 → webbee-0.7.35}/tests/test_reflow.py +0 -0
  173. {webbee-0.7.33 → webbee-0.7.35}/tests/test_remote_code_reads.py +0 -0
  174. {webbee-0.7.33 → webbee-0.7.35}/tests/test_render.py +0 -0
  175. {webbee-0.7.33 → webbee-0.7.35}/tests/test_repl.py +0 -0
  176. {webbee-0.7.33 → webbee-0.7.35}/tests/test_repo.py +0 -0
  177. {webbee-0.7.33 → webbee-0.7.35}/tests/test_resilient_http.py +0 -0
  178. {webbee-0.7.33 → webbee-0.7.35}/tests/test_result_fits_the_door.py +0 -0
  179. {webbee-0.7.33 → webbee-0.7.35}/tests/test_review_fixes_1030.py +0 -0
  180. {webbee-0.7.33 → webbee-0.7.35}/tests/test_session.py +0 -0
  181. {webbee-0.7.33 → webbee-0.7.35}/tests/test_session_review_1030.py +0 -0
  182. {webbee-0.7.33 → webbee-0.7.35}/tests/test_sessions.py +0 -0
  183. {webbee-0.7.33 → webbee-0.7.35}/tests/test_sizing.py +0 -0
  184. {webbee-0.7.33 → webbee-0.7.35}/tests/test_slots.py +0 -0
  185. {webbee-0.7.33 → webbee-0.7.35}/tests/test_ssh_guard.py +0 -0
  186. {webbee-0.7.33 → webbee-0.7.35}/tests/test_stallwatch.py +0 -0
  187. {webbee-0.7.33 → webbee-0.7.35}/tests/test_steer.py +0 -0
  188. {webbee-0.7.33 → webbee-0.7.35}/tests/test_stream.py +0 -0
  189. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tab_bar_stability.py +0 -0
  190. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tab_restore_0337.py +0 -0
  191. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tabs.py +0 -0
  192. {webbee-0.7.33 → webbee-0.7.35}/tests/test_terminal_ux_0336.py +0 -0
  193. {webbee-0.7.33 → webbee-0.7.35}/tests/test_thread.py +0 -0
  194. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tier_invalidation.py +0 -0
  195. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tier_store.py +0 -0
  196. {webbee-0.7.33 → webbee-0.7.35}/tests/test_todo_panel.py +0 -0
  197. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tokens.py +0 -0
  198. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tool_ack.py +0 -0
  199. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tools.py +0 -0
  200. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tools_eol_cancel_1030.py +0 -0
  201. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tools_vision_websearch.py +0 -0
  202. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tray_1126.py +0 -0
  203. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tui.py +0 -0
  204. {webbee-0.7.33 → webbee-0.7.35}/tests/test_tui_hardening.py +0 -0
  205. {webbee-0.7.33 → webbee-0.7.35}/tests/test_update.py +0 -0
  206. {webbee-0.7.33 → webbee-0.7.35}/tests/test_update_badge_0340.py +0 -0
  207. {webbee-0.7.33 → webbee-0.7.35}/tests/test_urlopen.py +0 -0
  208. {webbee-0.7.33 → webbee-0.7.35}/tests/test_version.py +0 -0
  209. {webbee-0.7.33 → webbee-0.7.35}/tests/test_version_badge_corner.py +0 -0
  210. {webbee-0.7.33 → webbee-0.7.35}/tests/test_voice_outcome.py +0 -0
  211. {webbee-0.7.33 → webbee-0.7.35}/tests/test_wallet.py +0 -0
  212. {webbee-0.7.33 → webbee-0.7.35}/tests/test_worktrees.py +0 -0
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.35
4
+
5
+ * `/facts on|off`. The kernel's notes under an answer (what it checked and what it saw) are off by default and
6
+ come back with `/facts on`; the choice is kept between runs. The line saying the kernel did not check an answer
7
+ is always shown.
8
+ * Background jobs are at Webbee's hand from the first step, next to `bash`, and the session runs up to four of
9
+ them at once (an admin setting): a long test run, a build or a wait goes to a job while she goes on.
10
+
11
+ ## 0.7.34
12
+
13
+ * A command that outlasts its wait is no longer killed. When the time Webbee gave a command runs out, the command
14
+ runs on as a background job of the session and she is told its number, so she goes on with other work and
15
+ hears of its end. A test run cut a minute before its end used to start again from nothing. If the kernel cannot
16
+ take the job, the command is stopped as before.
17
+
3
18
  ## 0.7.33
4
19
 
5
20
  * The background strip. A narrow panel above the input shows the session's jobs on this machine: each running
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: webbee
3
- Version: 0.7.33
3
+ Version: 0.7.35
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
@@ -32,7 +32,7 @@ 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
34
  Requires-Dist: imperal-mcp>=0.9.24; python_version >= '3.10'
35
- Requires-Dist: imperal-sdk[universal-index]>=6.13.0; python_version >= '3.10'
35
+ Requires-Dist: imperal-sdk[universal-index]>=6.14.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.33"
3
+ version = "0.7.35"
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"
@@ -14,7 +14,7 @@ dependencies = [
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
16
  'imperal-mcp>=0.9.24; python_version >= "3.10"', # raised to the newest at each release
17
- 'imperal-sdk[universal-index]>=6.13.0; python_version >= "3.10"',
17
+ 'imperal-sdk[universal-index]>=6.14.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.35"
@@ -15,6 +15,7 @@ _HELP = """Commands:
15
15
  /mode [default|plan|autopilot] consent mode (no arg — show current)
16
16
  /model [webbeesmart|supersmart|ultrasmart] coding brain tier (no arg — show current)
17
17
  /cost (=/usage) tokens + credits this session
18
+ /facts [on|off] show the kernel's line of facts under each answer (off by default; no arg — show current)
18
19
  /status cwd · git · surface · tokens · version
19
20
  /new [path] open a new tab — a session in path (default: cwd)
20
21
  /tab N switch to tab N (see /tabs for the numbers)
@@ -158,6 +159,12 @@ def dispatch(line: str, ctx: CommandContext) -> SlashResult:
158
159
  message=(f"Queued ({len(ctx.queued)}) — runs in order, "
159
160
  f"one per finished turn:\n{lines}\n"
160
161
  f" /queue drop <n> · /queue edit <n> · /queue clear"))
162
+ if cmd == "/facts":
163
+ want = args[0].lower() if args else ""
164
+ if want not in ("", "on", "off"):
165
+ return SlashResult(handled=True, action="facts", arg="?",
166
+ message="Usage: /facts on | off (no argument shows the current choice)")
167
+ return SlashResult(handled=True, action="facts", arg=want)
161
168
  if cmd == "/jobs":
162
169
  return SlashResult(handled=True, action="jobs")
163
170
  if cmd == "/job":
@@ -0,0 +1,40 @@
1
+ """The person's own display choices, kept across restarts (one small file each under ``~/.cache/webbee``).
2
+
3
+ ``kernel_notes`` -- whether the kernel's line of facts is printed under Webbee's answers (the owner, 2026-11-27:
4
+ "in the terminal I would make kernel facts a setting, off by default, that can be switched on"). It is a choice of
5
+ the PERSON, not of a repository: one file for every workspace. It travels with each turn (``coding_context
6
+ ["kernel_notes"]``) and only changes what is printed -- the kernel checks an answer and hands a wrong one back
7
+ either way.
8
+
9
+ Fail-soft, like ``tier_store``: an unreadable folder reads as the default, a failed write is dropped."""
10
+ from __future__ import annotations
11
+
12
+ import os
13
+
14
+ _CACHE_DIR = os.path.expanduser("~/.cache/webbee") # test seam: monkeypatch this name
15
+ _KERNEL_NOTES = "kernel-notes"
16
+
17
+
18
+ def kernel_notes() -> bool:
19
+ """True when the person switched the kernel's line under an answer on. Off when never set or unreadable."""
20
+ try:
21
+ with open(os.path.join(_CACHE_DIR, _KERNEL_NOTES), "r", encoding="utf-8") as f:
22
+ return f.read().strip() == "on"
23
+ except Exception:
24
+ return False
25
+
26
+
27
+ def set_kernel_notes(on: bool) -> bool:
28
+ """Remember the choice; True when it was written. Off removes the file -- off is the state of no file."""
29
+ path = os.path.join(_CACHE_DIR, _KERNEL_NOTES)
30
+ try:
31
+ if not on:
32
+ if os.path.exists(path):
33
+ os.remove(path)
34
+ return True
35
+ os.makedirs(_CACHE_DIR, exist_ok=True)
36
+ with open(path, "w", encoding="utf-8") as f:
37
+ f.write("on")
38
+ return True
39
+ except Exception:
40
+ return False
@@ -1335,6 +1335,19 @@ async def run_repl(cfg, mode: str = "default", *, once: bool = False, sink=None,
1335
1335
  else:
1336
1336
  _say(slot, "Detail unavailable (expired or not recorded).")
1337
1337
  return "continue"
1338
+ if res.action == "facts":
1339
+ from webbee import prefs
1340
+ if res.arg == "?":
1341
+ _say(slot, res.message)
1342
+ elif res.arg in ("on", "off"):
1343
+ kept = await asyncio.to_thread(prefs.set_kernel_notes, res.arg == "on")
1344
+ _say(slot, ("Kernel facts under each answer: " + res.arg + " — from the next turn."
1345
+ + ("" if kept else " (could not be saved: it holds for this run only if set again)")))
1346
+ else:
1347
+ on = await asyncio.to_thread(prefs.kernel_notes)
1348
+ _say(slot, "Kernel facts under each answer: " + ("on" if on else "off")
1349
+ + " — /facts on shows the kernel's own line of what it saw; the check runs either way.")
1350
+ return "continue"
1338
1351
  if res.action == "jobs":
1339
1352
  _say(slot, await _jobs_text(slot))
1340
1353
  return "continue"
@@ -427,40 +427,56 @@ class AgentSession:
427
427
  (``SessionJobAdoptWorkflow``), its run folder takes the job's name, and the wait ends -- the process is
428
428
  not touched. Returns one line per command, saying what happened; [] when nothing is being waited for.
429
429
  A command the kernel did not take stays in the foreground, said with the reason."""
430
+ executor = self._executor
431
+ held = executor.held_running() if executor is not None and hasattr(executor, "held_running") else []
432
+ return [(await self._adopt(h))[1] for h in held]
433
+
434
+ async def _adopt(self, h) -> tuple:
435
+ """One waited command becomes a job of the session: ``(moved?, the line that says what happened)``. The
436
+ kernel gives the number and writes the record; the run folder takes the job's name; the wait ends. A
437
+ command the kernel did not take stays where it is."""
430
438
  from imperal_sdk import session_jobs as sj
431
439
 
432
440
  from webbee import jobs
433
- executor, sid = self._executor, self.session_id
434
- held = executor.held_running() if executor is not None and hasattr(executor, "held_running") else []
435
- said = []
436
- for h in held:
437
- title = " ".join(h.command.split())[:sj.TITLE_CHARS]
438
- got = await self._job_door(sid, "adopt", {"command": h.command[:2000], "title": title,
439
- "started_ts": h.started})
440
- try:
441
- n = int((got or {}).get("n") or 0)
442
- except (TypeError, ValueError):
443
- n = 0
444
- # the folder is the one the SDK names for this session and number -- what the answer says of it is
445
- # compared, never used
446
- if not (got or {}).get("ok") or n < 1 or (got or {}).get("dir") != sj.job_dir(sid, n):
447
- said.append("not sent to the background: "
448
- + (str((got or {}).get("error") or "the kernel gave it no job number")
449
- if got else "the kernel could not be reached") + f" -- `{title}` stays in front")
450
- continue
451
- if h.proc.poll() is not None:
452
- said.append(f"`{title}` ended before it was moved: its result is the call's own")
453
- continue
441
+ sid = self.session_id
442
+ title = " ".join(h.command.split())[:sj.TITLE_CHARS]
443
+ got = await self._job_door(sid, "adopt", {"command": h.command[:2000], "title": title,
444
+ "started_ts": h.started})
445
+ try:
446
+ n = int((got or {}).get("n") or 0)
447
+ except (TypeError, ValueError):
448
+ n = 0
449
+ # the folder is the one the SDK names for this session and number -- what the answer says of it is
450
+ # compared, never used
451
+ if not (got or {}).get("ok") or n < 1 or (got or {}).get("dir") != sj.job_dir(sid, n):
452
+ return False, ("not sent to the background: "
453
+ + (str((got or {}).get("error") or "the kernel gave it no job number")
454
+ if got else "the kernel could not be reached") + f" -- `{title}` stays in front")
455
+ if h.proc.poll() is not None:
456
+ return False, f"`{title}` ended before it was moved: its result is the call's own"
457
+ try:
458
+ jobs.link(h, sid, n, title)
459
+ except OSError as exc:
460
+ return False, (f"not sent to the background: {type(exc).__name__} naming job {sj.job_id(n)} on this "
461
+ f"machine -- `{title}` stays in front")
462
+ jobs.release(h, n)
463
+ return True, (f"{sj.job_id(n)} in the background: `{title}` -- /jobs lists, /job {n} shows its output, "
464
+ f"/job {n} cancel ends it")
465
+
466
+ def keep_on_timeout(self, loop):
467
+ """What the executor does with a command that outlasts its wait: ``(held) -> bool``, run from the
468
+ executor's own thread. The command is not stopped -- it becomes a job (``_adopt``, on the session's
469
+ loop); False when the kernel did not take it in time, and the executor then stops it as before."""
470
+ import asyncio as _asyncio
471
+
472
+ def keep(held) -> bool:
473
+ if loop is None or loop.is_closed() or not self.session_id:
474
+ return False
454
475
  try:
455
- jobs.link(h, sid, n, title)
456
- except OSError as exc:
457
- said.append(f"not sent to the background: {type(exc).__name__} naming job {sj.job_id(n)} on this "
458
- f"machine -- `{title}` stays in front")
459
- continue
460
- jobs.release(h, n)
461
- said.append(f"{sj.job_id(n)} in the background: `{title}` -- /jobs lists, /job {n} shows its output, "
462
- f"/job {n} cancel ends it")
463
- return said
476
+ return bool(_asyncio.run_coroutine_threadsafe(self._adopt(held), loop).result(timeout=30)[0])
477
+ except Exception:
478
+ return False
479
+ return keep
464
480
 
465
481
  async def post_mode(self, mode: str) -> bool:
466
482
  """Tell the running session its new coding mode (the kernel's ``set_mode``): autopilot is asked nothing
@@ -496,6 +512,9 @@ class AgentSession:
496
512
  coding_context = await asyncio.to_thread(build_coding_context, self.workspace_root, self._intel)
497
513
  if self.model_tier:
498
514
  coding_context = {**coding_context, "model_tier": self.model_tier}
515
+ from webbee import prefs
516
+ if prefs.kernel_notes(): # the person's `/facts on`: the kernel prints its line of facts under an answer
517
+ coding_context = {**coding_context, "kernel_notes": True}
499
518
  # the mode this turn runs under: in autopilot the kernel asks no consent at all (no card, no park); a switch
500
519
  # mid-turn reaches the running session through post_mode
501
520
  coding_context = {**coding_context, "mode": str(self.mode or "default")}
@@ -631,6 +650,10 @@ class AgentSession:
631
650
  _own_frames = False # -> True the instant ANY non-foreign frame lands
632
651
  from webbee.tools import _WRITE_TIER, PLAN_SAFE_TOOLS
633
652
  self._executor = executor # stop() kills what it still runs
653
+ try: # a command that outlasts its wait runs on as a job, never killed
654
+ executor.keep_on_timeout = self.keep_on_timeout(asyncio.get_running_loop())
655
+ except Exception:
656
+ pass
634
657
  store = _ResultStore(session_id, task_id)
635
658
  loop = asyncio.get_running_loop()
636
659
  # a running local command is seen live: the executor names each newest line of its output from its worker
@@ -159,15 +159,19 @@ def _whole_log(held) -> bytes:
159
159
  return b""
160
160
 
161
161
 
162
- def _backgrounded(held, out: str) -> dict:
163
- """The result of a command the person sent to the background while the agent's call was waiting for it. It did
164
- NOT finish: the result says so first and is never ``ok`` -- an unfinished command is no proof of anything."""
162
+ def _backgrounded(held, out: str, waited: int = 0) -> dict:
163
+ """The result of a command that went to the background while the agent's call was waiting for it -- sent there
164
+ by the person, or (``waited``: the call's own bound, in seconds) because it outlasted the wait. It did NOT
165
+ finish: the result says so first and is never ``ok`` -- an unfinished command is no proof of anything."""
165
166
  from imperal_sdk import session_jobs as sj
166
167
  jid = sj.job_id(held.job)
167
- head = (f"[SENT TO THE BACKGROUND BY THE PERSON -- NOT FINISHED: this command runs on as job {jid} of this "
168
+ why = (f"STILL RUNNING AFTER {int(waited)} s -- NOT STOPPED, NOT FINISHED" if waited
169
+ else "SENT TO THE BACKGROUND BY THE PERSON -- NOT FINISHED")
170
+ head = (f"[{why}: this command runs on as job {jid} of this "
168
171
  f"session on the person's own machine; its outcome is not known yet. job_status(id=\"{jid}\") reads "
169
172
  f"the end of its output, job_cancel(id=\"{jid}\") ends it, and this session is told when it ends. "
170
- "Do not run it again.]")
173
+ "Do not run it again"
174
+ + ("; go on with what does not need its result." if waited else ".") + "]")
171
175
  full = len(out)
172
176
  out = _truncated(out, _BASH_OUT_CAP)
173
177
  return {"ok": False, "content": head + ("\nits output until now:\n" + out if out.strip() else ""),
@@ -401,6 +405,9 @@ class LocalToolExecutor:
401
405
  # the commands this terminal WAITS for, by their process (webbee.jobs.Held): the person can send one to the
402
406
  # background -- the wait ends, the command runs on as a job
403
407
  self._held: dict = {}
408
+ # (held) -> bool, set by the session: a command that outlasts its wait becomes a job instead of being
409
+ # stopped; None (no session behind this executor): it is stopped, as before
410
+ self.keep_on_timeout = None
404
411
  # the surface's ear for a running command's output (the newest line, as it is printed); None: no one listens
405
412
  self.on_output = None
406
413
 
@@ -1074,6 +1081,10 @@ class LocalToolExecutor:
1074
1081
  tell = self.on_output
1075
1082
  raw, how = jobs.follow(held, timeout, (lambda piece: tell(_last_line(piece))) if tell else None)
1076
1083
  timed_out = how == "timeout"
1084
+ if timed_out and self.keep_on_timeout is not None and self.keep_on_timeout(held):
1085
+ # the wait is over, the work is not: it runs on as a job (2026-11-27 -- a timeout used to
1086
+ # kill a test run minutes before its end, and the next call started it from nothing)
1087
+ return _backgrounded(held, _decoded(raw or b""), waited=timeout)
1077
1088
  if timed_out:
1078
1089
  _stop_group(proc, posix)
1079
1090
  raw = _whole_log(held) or raw
@@ -186,6 +186,7 @@ class _Agent:
186
186
  from webbee.session import AgentSession
187
187
  self._executor, self.session_id, self.calls, self._answers = executor, SID, [], list(answers)
188
188
  self.background_running = AgentSession.background_running.__get__(self)
189
+ self._adopt = AgentSession._adopt.__get__(self)
189
190
 
190
191
  async def _job_door(self, sid, door, body):
191
192
  self.calls.append((sid, door, body))
@@ -465,3 +466,64 @@ def test_the_watch_hands_the_strip_every_job_with_its_state(home):
465
466
  assert [(r["n"], r["id"], r["title"], r["state"]) for r in rows] == [(1, "j1", "quick", "done"), (2, "j2", "nap", "running")]
466
467
  assert rows[0]["ended_at"] > 0 and rows[1]["ended_at"] == 0.0 and rows[1]["started"] > 0
467
468
  jobs.cancel(SID, 2, home)
469
+
470
+
471
+ def test_a_command_that_outlasts_its_wait_runs_on_as_a_job_when_the_kernel_takes_it(home, tmp_path):
472
+ """The owner, 2026-11-27: she must use child processes for waiting and tests. A timeout used to kill the run."""
473
+ from webbee.tools import LocalToolExecutor
474
+ ex = LocalToolExecutor(str(tmp_path))
475
+ taken = []
476
+
477
+ def keep(held):
478
+ jobs.link(held, SID, 7, "long")
479
+ jobs.release(held, 7)
480
+ taken.append(held)
481
+ return True
482
+ ex.keep_on_timeout = keep
483
+ out = ex.run("bash", {"command": "echo begun; sleep 30", "timeout": 1})
484
+ assert out["ok"] is False and out["backgrounded"] is True and out["job"] == "j7" and "timed_out" not in out
485
+ assert out["content"].startswith("[STILL RUNNING AFTER 1 s -- NOT STOPPED, NOT FINISHED") and "begun" in out["content"]
486
+ assert "go on with what does not need its result" in out["content"]
487
+ assert taken[0].proc.poll() is None and jobs.state_of(SID, 7, home)["state"] == sj.RUNNING # the work lives
488
+ jobs.cancel(SID, 7, home)
489
+ ex.keep_on_timeout = lambda held: False # the kernel did not take it: stopped, as before
490
+ slow = ex.run("bash", {"command": "echo x; sleep 30", "timeout": 1})
491
+ assert slow["timed_out"] and "backgrounded" not in slow
492
+
493
+
494
+ def test_the_session_hands_the_executor_a_way_to_keep_a_timed_out_command(home, tmp_path):
495
+ from webbee.session import AgentSession
496
+ from webbee.tools import LocalToolExecutor
497
+ ex = LocalToolExecutor(str(tmp_path))
498
+ agent = _Agent(ex, [{"ok": True, "n": 5, "dir": sj.job_dir(SID, 5)}, None])
499
+ agent.keep_on_timeout = AgentSession.keep_on_timeout.__get__(agent)
500
+
501
+ async def scenario():
502
+ loop = asyncio.get_running_loop()
503
+ ex.keep_on_timeout = agent.keep_on_timeout(loop)
504
+ first = await asyncio.to_thread(ex.run, "bash", {"command": "sleep 30", "timeout": 1})
505
+ second = await asyncio.to_thread(ex.run, "bash", {"command": "sleep 30", "timeout": 1})
506
+ return first, second
507
+ first, second = asyncio.run(scenario())
508
+ assert first.get("job") == "j5" and first["backgrounded"] and jobs.state_of(SID, 5, home)["state"] == sj.RUNNING
509
+ assert second.get("timed_out") is True # the kernel could not be reached: stopped
510
+ assert agent.keep_on_timeout(None)(object()) is False # no loop: nothing is promised
511
+ jobs.cancel(SID, 5, home)
512
+
513
+
514
+ def test_the_kernels_facts_under_an_answer_are_the_persons_choice_off_until_switched_on(tmp_path, monkeypatch):
515
+ """The owner, 2026-11-27: "kernel facts in the terminal -- a setting, off by default, that can be switched on"."""
516
+ from webbee import prefs
517
+ monkeypatch.setattr(prefs, "_CACHE_DIR", str(tmp_path / "cache"))
518
+ assert prefs.kernel_notes() is False # never set: off
519
+ assert prefs.set_kernel_notes(True) and prefs.kernel_notes() is True
520
+ assert prefs.set_kernel_notes(False) and prefs.kernel_notes() is False and not (tmp_path / "cache" / "kernel-notes").exists()
521
+ assert prefs.set_kernel_notes(False) # off twice is still off
522
+ monkeypatch.setattr(prefs, "_CACHE_DIR", "/proc/nowhere/at/all")
523
+ assert prefs.kernel_notes() is False and prefs.set_kernel_notes(True) is False # an unwritable home: said
524
+ ctx = CommandContext(mode="default", workspace="/w", version="0", surface="terminal", logged_in=True,
525
+ session_tokens=0, session_credits=0, git_branch="")
526
+ assert (dispatch("/facts", ctx).action, dispatch("/facts", ctx).arg) == ("facts", "")
527
+ assert dispatch("/facts ON", ctx).arg == "on" and dispatch("/facts off", ctx).arg == "off"
528
+ assert dispatch("/facts maybe", ctx).arg == "?" and "Usage" in dispatch("/facts maybe", ctx).message
529
+ assert "/facts [on|off]" in dispatch("/help", ctx).message
@@ -340,7 +340,7 @@ wheels = [
340
340
 
341
341
  [[package]]
342
342
  name = "imperal-sdk"
343
- version = "6.13.0"
343
+ version = "6.14.0"
344
344
  source = { registry = "https://pypi.org/simple" }
345
345
  dependencies = [
346
346
  { name = "click" },
@@ -348,9 +348,9 @@ dependencies = [
348
348
  { name = "pydantic" },
349
349
  { name = "pyjwt", extra = ["crypto"] },
350
350
  ]
351
- sdist = { url = "https://files.pythonhosted.org/packages/2d/38/baaa85c07da0b69e9e9b63d11972a8fe83deb87cfd8b9c83c6e1fa5b439f/imperal_sdk-6.13.0.tar.gz", hash = "sha256:5eb44ee241b834565a4c7aec69527c05f4672efcdd043abc5aa0aeb9377eebc4", size = 1039451, upload-time = "2026-11-27T16:56:13.215Z" }
351
+ sdist = { url = "https://files.pythonhosted.org/packages/a6/6a/def6b16df635b9e98ed2d4f86c3c8428bfc777a0f93b3e86a32613b23553/imperal_sdk-6.14.0.tar.gz", hash = "sha256:08b22dcfe5adcde577ee7a9adb60b07779ce58185d85225ec2abd5159834582b", size = 1039917, upload-time = "2026-11-27T21:39:17.24Z" }
352
352
  wheels = [
353
- { url = "https://files.pythonhosted.org/packages/b5/56/7d2d407e1ca70685e219eaefe13038f56555797fb16203bb31c9e6f13f6e/imperal_sdk-6.13.0-py3-none-any.whl", hash = "sha256:bbff672a221120664986cab6580a4e302ae08c7ce789179390900ef7c7b4f11d", size = 523225, upload-time = "2026-11-27T16:56:11.587Z" },
353
+ { url = "https://files.pythonhosted.org/packages/4f/63/a6234ea46e88a80b600dd749566cc4d61f9a3012810b76c5c1bf7d459ba9/imperal_sdk-6.14.0-py3-none-any.whl", hash = "sha256:e0e2786e44d05827120c4b921e0be36e9b00203ae5fac582bf27324e9f37299e", size = 523446, upload-time = "2026-11-27T21:39:15.562Z" },
354
354
  ]
355
355
 
356
356
  [package.optional-dependencies]
@@ -1700,7 +1700,7 @@ wheels = [
1700
1700
 
1701
1701
  [[package]]
1702
1702
  name = "webbee"
1703
- version = "0.7.33"
1703
+ version = "0.7.35"
1704
1704
  source = { editable = "." }
1705
1705
  dependencies = [
1706
1706
  { name = "asyncssh", marker = "python_full_version >= '3.10'" },
@@ -1727,7 +1727,7 @@ requires-dist = [
1727
1727
  { name = "httpx", marker = "python_full_version >= '3.10'", specifier = ">=0.27" },
1728
1728
  { name = "httpx-sse", marker = "python_full_version >= '3.10'", specifier = ">=0.4" },
1729
1729
  { name = "imperal-mcp", marker = "python_full_version >= '3.10'", specifier = ">=0.9.24" },
1730
- { name = "imperal-sdk", extras = ["universal-index"], marker = "python_full_version >= '3.10'", specifier = ">=6.13.0" },
1730
+ { name = "imperal-sdk", extras = ["universal-index"], marker = "python_full_version >= '3.10'", specifier = ">=6.14.0" },
1731
1731
  { name = "pillow", marker = "python_full_version >= '3.10'", specifier = ">=10" },
1732
1732
  { name = "prompt-toolkit", marker = "python_full_version >= '3.10'", specifier = ">=3" },
1733
1733
  { name = "rich", marker = "python_full_version >= '3.10'", specifier = ">=13.7" },
@@ -1 +0,0 @@
1
- __version__ = "0.7.33"
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