webbee 0.7.39__tar.gz → 0.7.41__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 (226) hide show
  1. {webbee-0.7.39 → webbee-0.7.41}/.github/workflows/os-check.yml +1 -1
  2. {webbee-0.7.39 → webbee-0.7.41}/CHANGELOG.md +13 -0
  3. {webbee-0.7.39 → webbee-0.7.41}/PKG-INFO +55 -28
  4. {webbee-0.7.39 → webbee-0.7.41}/README.md +52 -25
  5. {webbee-0.7.39 → webbee-0.7.41}/pyproject.toml +3 -3
  6. webbee-0.7.41/src/webbee/__init__.py +1 -0
  7. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/commands.py +6 -0
  8. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/http.py +57 -0
  9. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/i18n.py +40 -0
  10. webbee-0.7.41/src/webbee/instance_lock.py +191 -0
  11. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/modals.py +280 -6
  12. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/repl.py +322 -25
  13. webbee-0.7.41/src/webbee/rooms.py +270 -0
  14. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/session.py +171 -23
  15. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/slots.py +3 -0
  16. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/stallwatch.py +29 -4
  17. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/steer.py +16 -2
  18. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/stream.py +98 -10
  19. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/tools.py +5 -4
  20. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/tui.py +164 -43
  21. webbee-0.7.41/tests/test_one_executor.py +395 -0
  22. webbee-0.7.41/tests/test_resilient_http.py +83 -0
  23. webbee-0.7.41/tests/test_rooms.py +586 -0
  24. {webbee-0.7.39 → webbee-0.7.41}/tests/test_stallwatch.py +48 -0
  25. {webbee-0.7.39 → webbee-0.7.41}/tests/test_steer.py +51 -0
  26. {webbee-0.7.39 → webbee-0.7.41}/tests/test_stream.py +216 -0
  27. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tool_ack.py +162 -2
  28. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tools.py +31 -4
  29. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tui.py +73 -1
  30. {webbee-0.7.39 → webbee-0.7.41}/uv.lock +9 -9
  31. webbee-0.7.39/src/webbee/__init__.py +0 -1
  32. webbee-0.7.39/src/webbee/instance_lock.py +0 -83
  33. webbee-0.7.39/tests/test_resilient_http.py +0 -21
  34. {webbee-0.7.39 → webbee-0.7.41}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  35. {webbee-0.7.39 → webbee-0.7.41}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  36. {webbee-0.7.39 → webbee-0.7.41}/.github/pull_request_template.md +0 -0
  37. {webbee-0.7.39 → webbee-0.7.41}/.github/workflows/publish.yml +0 -0
  38. {webbee-0.7.39 → webbee-0.7.41}/.gitignore +0 -0
  39. {webbee-0.7.39 → webbee-0.7.41}/LICENSE +0 -0
  40. {webbee-0.7.39 → webbee-0.7.41}/PRIVACY.md +0 -0
  41. {webbee-0.7.39 → webbee-0.7.41}/SECURITY.md +0 -0
  42. {webbee-0.7.39 → webbee-0.7.41}/assets/architecture.png +0 -0
  43. {webbee-0.7.39 → webbee-0.7.41}/assets/demo.gif +0 -0
  44. {webbee-0.7.39 → webbee-0.7.41}/assets/hero.png +0 -0
  45. {webbee-0.7.39 → webbee-0.7.41}/assets/social-preview.png +0 -0
  46. {webbee-0.7.39 → webbee-0.7.41}/ci/__init__.py +0 -0
  47. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/__init__.py +0 -0
  48. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/drivers.py +0 -0
  49. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/fixture.py +0 -0
  50. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/fixture_long.py +0 -0
  51. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/fixture_wait.py +0 -0
  52. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/provision_user.py +0 -0
  53. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/registry.py +0 -0
  54. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/replay.py +0 -0
  55. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/run.py +0 -0
  56. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/scenarios_account.py +0 -0
  57. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/scenarios_code.py +0 -0
  58. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/scenarios_contract.py +0 -0
  59. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/scenarios_long.py +0 -0
  60. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/scenarios_wait.py +0 -0
  61. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/test_drivers.py +0 -0
  62. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/test_fixture.py +0 -0
  63. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/test_fixture_long.py +0 -0
  64. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/test_fixture_wait.py +0 -0
  65. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/test_registry.py +0 -0
  66. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/test_replay.py +0 -0
  67. {webbee-0.7.39 → webbee-0.7.41}/ci/field_gate/wipe.py +0 -0
  68. {webbee-0.7.39 → webbee-0.7.41}/ci/os_check.py +0 -0
  69. {webbee-0.7.39 → webbee-0.7.41}/dev-webbee +0 -0
  70. {webbee-0.7.39 → webbee-0.7.41}/install.sh +0 -0
  71. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/__main__.py +0 -0
  72. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/_launch.py +0 -0
  73. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/account.py +0 -0
  74. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/active_sessions.py +0 -0
  75. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/autoupdate.py +0 -0
  76. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/banner_art.py +0 -0
  77. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/blocks.py +0 -0
  78. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/boot.py +0 -0
  79. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/browser.py +0 -0
  80. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/checkpoints.py +0 -0
  81. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/cli.py +0 -0
  82. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/clipboard.py +0 -0
  83. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/clipboard_read.py +0 -0
  84. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/clipboard_session.py +0 -0
  85. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/coding_context.py +0 -0
  86. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/config.py +0 -0
  87. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/consent.py +0 -0
  88. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/details.py +0 -0
  89. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/events.py +0 -0
  90. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/expand.py +0 -0
  91. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/frames.py +0 -0
  92. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/home.py +0 -0
  93. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/home_view.py +0 -0
  94. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/__init__.py +0 -0
  95. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/graph.py +0 -0
  96. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/outline.py +0 -0
  97. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/query.py +0 -0
  98. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/service.py +0 -0
  99. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/store.py +0 -0
  100. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/tree.py +0 -0
  101. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/intel/watch.py +0 -0
  102. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/jobs.py +0 -0
  103. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/jobs_panel.py +0 -0
  104. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/jobwatch.py +0 -0
  105. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/loop_errors.py +0 -0
  106. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/media.py +0 -0
  107. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/mode_store.py +0 -0
  108. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/native_files.py +0 -0
  109. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/native_read.py +0 -0
  110. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/newtab_mode.py +0 -0
  111. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/output_pane.py +0 -0
  112. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/prefs.py +0 -0
  113. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/pricing_constants.py +0 -0
  114. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/queue_panel.py +0 -0
  115. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/reflow.py +0 -0
  116. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/remote.py +0 -0
  117. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/render.py +0 -0
  118. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/repo.py +0 -0
  119. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/selection.py +0 -0
  120. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/sessions.py +0 -0
  121. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/sizing.py +0 -0
  122. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/tab_store.py +0 -0
  123. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/tabs.py +0 -0
  124. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/thread.py +0 -0
  125. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/tier_store.py +0 -0
  126. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/todo_panel.py +0 -0
  127. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/tokens.py +0 -0
  128. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/ui_tokens.py +0 -0
  129. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/update.py +0 -0
  130. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/urlopen.py +0 -0
  131. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/wallet.py +0 -0
  132. {webbee-0.7.39 → webbee-0.7.41}/src/webbee/worktrees.py +0 -0
  133. {webbee-0.7.39 → webbee-0.7.41}/tests/__init__.py +0 -0
  134. {webbee-0.7.39 → webbee-0.7.41}/tests/conftest.py +0 -0
  135. {webbee-0.7.39 → webbee-0.7.41}/tests/test_account.py +0 -0
  136. {webbee-0.7.39 → webbee-0.7.41}/tests/test_active_sessions.py +0 -0
  137. {webbee-0.7.39 → webbee-0.7.41}/tests/test_answer_delta.py +0 -0
  138. {webbee-0.7.39 → webbee-0.7.41}/tests/test_append_file.py +0 -0
  139. {webbee-0.7.39 → webbee-0.7.41}/tests/test_audit_2026_07_25_findings.py +0 -0
  140. {webbee-0.7.39 → webbee-0.7.41}/tests/test_autoupdate.py +0 -0
  141. {webbee-0.7.39 → webbee-0.7.41}/tests/test_blocks.py +0 -0
  142. {webbee-0.7.39 → webbee-0.7.41}/tests/test_checkpoints.py +0 -0
  143. {webbee-0.7.39 → webbee-0.7.41}/tests/test_checkpoints_nested_1030.py +0 -0
  144. {webbee-0.7.39 → webbee-0.7.41}/tests/test_cli.py +0 -0
  145. {webbee-0.7.39 → webbee-0.7.41}/tests/test_clipboard.py +0 -0
  146. {webbee-0.7.39 → webbee-0.7.41}/tests/test_clipboard_read.py +0 -0
  147. {webbee-0.7.39 → webbee-0.7.41}/tests/test_code_map_fresh.py +0 -0
  148. {webbee-0.7.39 → webbee-0.7.41}/tests/test_coding_context.py +0 -0
  149. {webbee-0.7.39 → webbee-0.7.41}/tests/test_commands.py +0 -0
  150. {webbee-0.7.39 → webbee-0.7.41}/tests/test_config.py +0 -0
  151. {webbee-0.7.39 → webbee-0.7.41}/tests/test_cpc_contract_stable.py +0 -0
  152. {webbee-0.7.39 → webbee-0.7.41}/tests/test_cpc_outline.py +0 -0
  153. {webbee-0.7.39 → webbee-0.7.41}/tests/test_cross_loop_token.py +0 -0
  154. {webbee-0.7.39 → webbee-0.7.41}/tests/test_details.py +0 -0
  155. {webbee-0.7.39 → webbee-0.7.41}/tests/test_events.py +0 -0
  156. {webbee-0.7.39 → webbee-0.7.41}/tests/test_expand.py +0 -0
  157. {webbee-0.7.39 → webbee-0.7.41}/tests/test_field_test_1113.py +0 -0
  158. {webbee-0.7.39 → webbee-0.7.41}/tests/test_freeze_fix.py +0 -0
  159. {webbee-0.7.39 → webbee-0.7.41}/tests/test_grid_golden.py +0 -0
  160. {webbee-0.7.39 → webbee-0.7.41}/tests/test_guide_and_semantic_ux.py +0 -0
  161. {webbee-0.7.39 → webbee-0.7.41}/tests/test_home.py +0 -0
  162. {webbee-0.7.39 → webbee-0.7.41}/tests/test_home_view.py +0 -0
  163. {webbee-0.7.39 → webbee-0.7.41}/tests/test_home_view_mouse.py +0 -0
  164. {webbee-0.7.39 → webbee-0.7.41}/tests/test_i18n.py +0 -0
  165. {webbee-0.7.39 → webbee-0.7.41}/tests/test_inspect_page.py +0 -0
  166. {webbee-0.7.39 → webbee-0.7.41}/tests/test_instance_lock.py +0 -0
  167. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_any_folder.py +0 -0
  168. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_cache_and_sync_worker.py +0 -0
  169. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_checksum_tree.py +0 -0
  170. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_chunker.py +0 -0
  171. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_embed.py +0 -0
  172. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_folder_1106.py +0 -0
  173. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_graph.py +0 -0
  174. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_no_numpy.py +0 -0
  175. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_query.py +0 -0
  176. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_service.py +0 -0
  177. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_store.py +0 -0
  178. {webbee-0.7.39 → webbee-0.7.41}/tests/test_intel_watch.py +0 -0
  179. {webbee-0.7.39 → webbee-0.7.41}/tests/test_jobs_1127.py +0 -0
  180. {webbee-0.7.39 → webbee-0.7.41}/tests/test_launch.py +0 -0
  181. {webbee-0.7.39 → webbee-0.7.41}/tests/test_loop_errors.py +0 -0
  182. {webbee-0.7.39 → webbee-0.7.41}/tests/test_marathon.py +0 -0
  183. {webbee-0.7.39 → webbee-0.7.41}/tests/test_modals_e2e.py +0 -0
  184. {webbee-0.7.39 → webbee-0.7.41}/tests/test_mode_and_remote_0_6_8.py +0 -0
  185. {webbee-0.7.39 → webbee-0.7.41}/tests/test_mode_store.py +0 -0
  186. {webbee-0.7.39 → webbee-0.7.41}/tests/test_native_files.py +0 -0
  187. {webbee-0.7.39 → webbee-0.7.41}/tests/test_newtab_mode.py +0 -0
  188. {webbee-0.7.39 → webbee-0.7.41}/tests/test_packaging.py +0 -0
  189. {webbee-0.7.39 → webbee-0.7.41}/tests/test_probe_cost.py +0 -0
  190. {webbee-0.7.39 → webbee-0.7.41}/tests/test_queue_manage_0337.py +0 -0
  191. {webbee-0.7.39 → webbee-0.7.41}/tests/test_read_never_waits_for_the_repo.py +0 -0
  192. {webbee-0.7.39 → webbee-0.7.41}/tests/test_reflow.py +0 -0
  193. {webbee-0.7.39 → webbee-0.7.41}/tests/test_remote_code_reads.py +0 -0
  194. {webbee-0.7.39 → webbee-0.7.41}/tests/test_render.py +0 -0
  195. {webbee-0.7.39 → webbee-0.7.41}/tests/test_repl.py +0 -0
  196. {webbee-0.7.39 → webbee-0.7.41}/tests/test_repo.py +0 -0
  197. {webbee-0.7.39 → webbee-0.7.41}/tests/test_result_fits_the_door.py +0 -0
  198. {webbee-0.7.39 → webbee-0.7.41}/tests/test_review_fixes_1030.py +0 -0
  199. {webbee-0.7.39 → webbee-0.7.41}/tests/test_session.py +0 -0
  200. {webbee-0.7.39 → webbee-0.7.41}/tests/test_session_review_1030.py +0 -0
  201. {webbee-0.7.39 → webbee-0.7.41}/tests/test_sessions.py +0 -0
  202. {webbee-0.7.39 → webbee-0.7.41}/tests/test_sizing.py +0 -0
  203. {webbee-0.7.39 → webbee-0.7.41}/tests/test_slots.py +0 -0
  204. {webbee-0.7.39 → webbee-0.7.41}/tests/test_ssh_guard.py +0 -0
  205. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tab_bar_stability.py +0 -0
  206. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tab_restore_0337.py +0 -0
  207. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tabs.py +0 -0
  208. {webbee-0.7.39 → webbee-0.7.41}/tests/test_terminal_ux_0336.py +0 -0
  209. {webbee-0.7.39 → webbee-0.7.41}/tests/test_thread.py +0 -0
  210. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tier_invalidation.py +0 -0
  211. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tier_store.py +0 -0
  212. {webbee-0.7.39 → webbee-0.7.41}/tests/test_todo_panel.py +0 -0
  213. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tokens.py +0 -0
  214. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tools_eol_cancel_1030.py +0 -0
  215. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tools_vision_websearch.py +0 -0
  216. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tray_1126.py +0 -0
  217. {webbee-0.7.39 → webbee-0.7.41}/tests/test_tui_hardening.py +0 -0
  218. {webbee-0.7.39 → webbee-0.7.41}/tests/test_ui_tokens.py +0 -0
  219. {webbee-0.7.39 → webbee-0.7.41}/tests/test_update.py +0 -0
  220. {webbee-0.7.39 → webbee-0.7.41}/tests/test_update_badge_0340.py +0 -0
  221. {webbee-0.7.39 → webbee-0.7.41}/tests/test_urlopen.py +0 -0
  222. {webbee-0.7.39 → webbee-0.7.41}/tests/test_version.py +0 -0
  223. {webbee-0.7.39 → webbee-0.7.41}/tests/test_version_badge_corner.py +0 -0
  224. {webbee-0.7.39 → webbee-0.7.41}/tests/test_voice_outcome.py +0 -0
  225. {webbee-0.7.39 → webbee-0.7.41}/tests/test_wallet.py +0 -0
  226. {webbee-0.7.39 → webbee-0.7.41}/tests/test_worktrees.py +0 -0
@@ -42,7 +42,7 @@ jobs:
42
42
  - uses: actions/checkout@v4
43
43
  with:
44
44
  repository: imperalcloud/imperal-mcp
45
- ref: ${{ inputs.mcp_ref || github.event.inputs.mcp_ref || 'os-check' }}
45
+ ref: ${{ inputs.mcp_ref || github.event.inputs.mcp_ref || 'main' }}
46
46
  path: mcp
47
47
  - uses: actions/setup-python@v5
48
48
  with:
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.41
4
+
5
+ * One session, one executor: two Webbee windows in the same repository never run one session twice. Every process sends its own instance id (`X-Webbee-Instance`) on `/stream` and `/result`; the gateway keeps one executor per session, and a window that loses it gets a `superseded` notice, stops running tools and does not reconnect by itself. `/takeover` or Ctrl+R takes the session back explicitly.
6
+ * A second window in a repository no longer reopens the tabs another live window holds: each session is guarded by its own lock (`~/.cache/webbee/session-<id>.lock`), and the second window opens its own new tab and says why.
7
+ * Dependency bump: requires `imperal-mcp>=0.9.27`.
8
+
9
+ ## 0.7.40
10
+
11
+ * Tandem rooms footer & modal (`/room`, `/tandem`): live room chip in the bottom toolbar (`не в тандеме` / `<Room> · <role>` / `комнаты недоступны`), interactive modal dialog with cached button widgets, clean hover highlights, mouse-tracking restoration on close, and full `-s<slot>` session synchronization with `/v1/agents/rooms`.
12
+ * Sleep/wake connection resilience: added `WakeDetector` (`wall - mono` drift), TCP keepalive socket options, and `close_idle_connections()` on wake across `http.py`, `stream.py`, `steer.py`, and `stallwatch.py` (ignoring OS sleep drift so wake never triggers a false stall dump), plus immediate reconnect without backoff penalty and raw SSE `: heartbeat` tracking (`_SILENCE_LIMIT_S = 75s`).
13
+ * Duplicate `tool_request` ack & retry: re-ack in-flight duplicate `tool_request` frames immediately in `AgentSession._serve_stream` and retry transient 5xx/401/network errors in `_post_ack` to support kernel `local-tool-ack-park-v1` across sleep/reconnects.
14
+ * Dependency bump: requires `imperal-mcp>=0.9.26` and `imperal-sdk[universal-index]>=6.17.1`.
15
+
3
16
  ## 0.7.39
4
17
 
5
18
  * Direct turn start: send `"start_now": true` in `POST /v1/agent/sessions` so the gateway starts the workflow immediately instead of waiting for the first SSE connect (backward-compatible with older gateways).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: webbee
3
- Version: 0.7.39
3
+ Version: 0.7.41
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.25; python_version >= '3.10'
35
- Requires-Dist: imperal-sdk[universal-index]>=6.16.0; python_version >= '3.10'
34
+ Requires-Dist: imperal-mcp>=0.9.27; python_version >= '3.10'
35
+ Requires-Dist: imperal-sdk[universal-index]>=6.17.1; 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'
@@ -49,26 +49,33 @@ Provides-Extra: intel-embed-onnx
49
49
  Description-Content-Type: text/markdown
50
50
 
51
51
  <p align="center">
52
- <img src="assets/hero.png" alt="Webbee — The Open-Source ICNLI Coding Agent" width="100%" />
52
+ <img src="assets/hero.png" alt="Webbee - the open-source ICNLI coding agent" width="100%" />
53
53
  </p>
54
54
 
55
- <h1 align="center">Webbee 🐝 — The Open-Source ICNLI Coding Agent</h1>
55
+ <h1 align="center">Webbee Code 🐝</h1>
56
+
57
+ <h3 align="center">Part of Imperal - The Ecosystem for AI, Agents, and People</h3>
58
+
59
+ <p align="center">
60
+ <strong>The open-source coding agent for your terminal: it maps your code, checks what a change will touch, can undo any step, and shares one memory with the rest of Imperal.</strong>
61
+ </p>
56
62
 
57
63
  <p align="center">
58
64
  <a href="https://pypi.org/project/webbee/"><img src="https://img.shields.io/pypi/v/webbee" alt="PyPI" /></a>
59
65
  <a href="https://pypi.org/project/webbee/"><img src="https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-3776ab?logo=python&logoColor=white" alt="Python 3.7 - 3.14" /></a>
60
66
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="License: GPL v3" /></a>
61
67
  <a href="https://docs.imperal.io"><img src="https://img.shields.io/badge/docs-imperal.io-00afd7" alt="Docs" /></a>
62
- <a href="https://icnli.org"><img src="https://img.shields.io/badge/ICNLI-CC%20BY--SA%204.0-ff6b00" alt="Protocol: ICNLI" /></a>
68
+ <a href="https://icnli.org"><img src="https://img.shields.io/badge/protocol-ICNLI-ff6b00" alt="Protocol: ICNLI" /></a>
69
+ <a href="https://imperal.io"><img src="https://img.shields.io/badge/Imperal-Ecosystem-FFB800" alt="Imperal Ecosystem" /></a>
63
70
  </p>
64
71
 
65
72
  <p align="center">
66
- <strong>Python 3.7 – 3.14</strong> · <code>pipx install webbee</code> works on every one of them.
73
+ <strong>Python 3.7 - 3.14</strong> · <code>pipx install webbee</code> works on every one of them.
67
74
  </p>
68
75
 
69
- **Webbee** is the open-source terminal coding agent of [Imperal Cloud](https://imperal.io), powered by **[ICNLI](https://icnli.org)** (*Infrastructure Contextual Natural Language Interface*). It works directly in your local workspace (and over SSH): mapping your codebase with tree-sitter, checking blast radius before edits, isolating changes in worktrees or invisible Shadow Git checkpoints, verifying claims against real execution, and sharing one live memory across your terminal, IDE, web panel, and Telegram.
76
+ **Webbee** is the terminal coding agent of [Imperal Cloud](https://imperal.io), built on **[ICNLI](https://icnli.org)** (*Infrastructure Contextual Natural Language Interface*), the open protocol of the Imperal ecosystem. It works directly in your local workspace (and over SSH): mapping your codebase with tree-sitter, checking the blast radius before edits, isolating changes in worktrees or invisible Shadow Git checkpoints, checking its claims against what really ran, and sharing one live memory across your terminal, IDE, the web workspace, and Telegram.
70
77
 
71
- > **Open-Source Guarantee (GPLv3):** No locked silos, no hidden telemetry, no arbitrary execution barriers. The model proposes; the kernel verifies against real facts; **you hold the key**.
78
+ > **Open source (GPLv3):** no locked silos, no hidden telemetry. The model proposes, the facts decide, and **you hold the key**.
72
79
 
73
80
  ---
74
81
 
@@ -100,8 +107,8 @@ curl -LsSf https://raw.githubusercontent.com/imperalcloud/webbee-code/main/insta
100
107
 
101
108
  Works with **any Python from 3.7**:
102
109
 
103
- - **Python 3.10 or newer** — `webbee` runs directly on it.
104
- - **Python 3.7 – 3.9** (macOS ships 3.9, Ubuntu 20.04 has 3.8) — the install is light, and the first `webbee` command sets up the same release on its own Python 3.12 once (about 30–45 s, needs internet; it fetches `uv` to do it). Every start after that is immediate, and it is the full `webbee` — code index included. It lives in `~/.local/share/webbee/runtime` and changes nothing else on your system.
110
+ - **Python 3.10 or newer** - `webbee` runs directly on it.
111
+ - **Python 3.7 - 3.9** (macOS ships 3.9, Ubuntu 20.04 has 3.8) - the install is light, and the first `webbee` command sets up the same release on its own Python 3.12 once (about 30 to 45 s, needs internet; it fetches `uv` to do it). Every start after that is immediate, and it is the full `webbee`, code index included. It lives in `~/.local/share/webbee/runtime` and changes nothing else on your system.
105
112
 
106
113
  <details>
107
114
  <summary>Install troubleshooting</summary>
@@ -111,28 +118,28 @@ Works with **any Python from 3.7**:
111
118
  | `Cannot install webbee==… because these package versions have conflicting dependencies` / `ResolutionImpossible` | a `webbee` release older than `0.5.6` on Python below 3.10 | `pipx install "webbee>=0.5.6"` (or `pip install -U webbee`) |
112
119
  | `error: externally-managed-environment` | `pip install` into the system Python is blocked on Homebrew, Debian 12+, Ubuntu 23.04+ | `pipx install webbee` or `uv tool install webbee` |
113
120
  | `webbee: command not found` after install | the tool folder is not on `PATH` | `pipx ensurepath` (or `uv tool update-shell`), then open a new terminal |
114
- | `Could not set up webbee on Python 3.12` on the first start | Python 3.7–3.9 and no internet (or a proxy blocks `github.com` / `pypi.org`) | allow those hosts and start `webbee` again, or use the one-line installer above |
115
- | `No matching distribution found for webbee` | Python 3.6 or older | use the one-line installer above — it brings its own Python |
121
+ | `Could not set up webbee on Python 3.12` on the first start | Python 3.7 - 3.9 and no internet (or a proxy blocks `github.com` / `pypi.org`) | allow those hosts and start `webbee` again, or use the one-line installer above |
122
+ | `No matching distribution found for webbee` | Python 3.6 or older | use the one-line installer above; it brings its own Python |
116
123
 
117
124
  </details>
118
125
 
119
126
  ---
120
127
 
121
- ## 🏗️ How Webbee Works
128
+ ## 🏗️ What Webbee Gives You
122
129
 
123
130
  <p align="center">
124
- <img src="assets/architecture.png" alt="Webbee Architecture — Local Workspace Tools, Tree-sitter Code Map, Shadow Git, ICNLI Kernel, and Cross-Surface Memory" width="100%" />
131
+ <img src="assets/architecture.png" alt="Webbee: local workspace tools, tree-sitter code map, Shadow Git, ICNLI and cross-surface memory" width="100%" />
125
132
  </p>
126
133
 
127
- Under **[ICNLI](https://icnli.org)**, local execution stays on your machine while the kernel tracks verified state, proofs, and cross-surface memory:
134
+ Local execution stays on your machine; your Imperal Cloud account keeps the memory that every surface shares:
128
135
 
129
- - **Live Code Map (Tree-sitter + Call Graph):** Ships with code intelligence by default (`orient`, `outline`, `read_symbol`, `graph_slice`, `contract_slice`, `impact_of_change`, `search_code`, `grep_code`). Reads the exact symbol instead of dumping whole files, and checks callers before editing shared code — locally or over SSH.
130
- - **Shadow Git Time Machine & Isolated Worktrees:** Snapshots your workspace automatically before writes without touching your `.git` history. Inspect diffs or roll back any step via `/checkpoints`, `/rollback <ref>`, or the built-in checkpoint tools — or work in an isolated worktree so your main checkout stays clean.
131
- - **Fact-Checked Execution & Proofs:** Plan items close only on observed proofs (verified diffs, passing command exits, grounded findings). Claims that do not match what was actually read or run are caught before delivery.
132
- - **Autonomous Marathon & Headless Runs:** Run long-horizon autonomous tasks (`webbee --marathon "GOAL"`), single non-interactive turns for scripts/CI (`webbee --once "TASK"`), or interactive multi-tab coding sessions.
136
+ - **Live Code Map (Tree-sitter + Call Graph):** Ships with code intelligence by default (`orient`, `outline`, `read_symbol`, `graph_slice`, `contract_slice`, `impact_of_change`, `search_code`, `grep_code`). Reads the exact symbol instead of dumping whole files, and checks callers before editing shared code, locally or over SSH.
137
+ - **Shadow Git Time Machine & Isolated Worktrees:** Snapshots your workspace automatically before writes without touching your `.git` history. Inspect diffs or roll back any step via `/checkpoints`, `/rollback <ref>`, or the built-in checkpoint tools, or work in an isolated worktree so your main checkout stays clean.
138
+ - **Fact-Checked Work:** Plan items close only on observed results (a real diff, a command that exited 0, a finding with its sources). Claims that do not match what was actually read or run are caught before they reach you.
139
+ - **Long Autonomous & Headless Runs:** Run long autonomous tasks (`webbee --marathon "GOAL"`), single non-interactive turns for scripts and CI (`webbee --once "TASK"`), or interactive multi-tab coding sessions.
133
140
  - **Multi-Tab Terminal Workspace & Queueing:** Open parallel workspace tabs (`/new`, `/tab`, `/tabs`, `/close`, `/rename`), queue follow-up messages while Webbee works (`/queue`), attach local files (`/attach`), inspect step details (`/steps`), and switch model tiers (`/model` or `Ctrl+B`).
134
- - **One Brain Across Every Surface:** Shares your Imperal Cloud account, memory vault, and live sessions with **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)**, the [Imperal web panel](https://panel.imperal.io), and Telegram (`/notify [tg|panel|both|off]` mirrors a terminal session and lets you steer it remotely).
135
- - **Native Vision, Web Research & Extensions:** Inspect screenshots and diagrams (`view_image`), search the web and read docs (`web_search`, `read_url`), and use connected Imperal Cloud extensions directly from the terminal.
141
+ - **One Memory Across Every Surface:** Shares your Imperal Cloud account, memory, and live sessions with **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)**, the [Imperal web workspace](https://panel.imperal.io), and Telegram (`/notify [tg|panel|both|off]` mirrors a terminal session and lets you steer it remotely).
142
+ - **Native Vision, Web Research & Apps:** Inspect screenshots and diagrams (`view_image`), search the web and read docs (`web_search`, `read_url`), and use your connected Imperal Cloud apps directly from the terminal.
136
143
 
137
144
  ---
138
145
 
@@ -148,7 +155,7 @@ webbee
148
155
  # Start in a specific mode (default | plan | autopilot)
149
156
  webbee --mode autopilot
150
157
 
151
- # Launch an autonomous marathon toward a goal
158
+ # Launch a long autonomous run toward a goal
152
159
  webbee --marathon "Add pagination tests and fix failing assertions"
153
160
 
154
161
  # Run a single headless turn and exit (0 if answered, 1 otherwise)
@@ -184,7 +191,7 @@ Type `/help` inside Webbee for the full list:
184
191
 
185
192
  ## 🔒 Security & Privacy
186
193
 
187
- - **Approval gates:** Risky shell commands, destructive cloud tools, and rollbacks ask before running in `default` mode; billing/money actions require explicit approval in the Imperal panel.
194
+ - **Approval gates:** Risky shell commands, destructive cloud tools, and rollbacks ask before running in `default` mode; billing and money actions require explicit approval in the Imperal panel.
188
195
  - **PII masking:** Secrets, tokens, credentials in URLs, emails, phone numbers, card numbers, and SSNs are masked before reaching the model (and your email is masked on the terminal Home screen).
189
196
  - **No password handling:** Sign-in uses OAuth 2.0 Device Authorization Grant (RFC 8628) + PKCE over HTTPS, stored locally in `~/.imperal/credentials.json` (`0600`).
190
197
  - **Full details:** Read [PRIVACY.md](PRIVACY.md), [SECURITY.md](SECURITY.md), and [docs.imperal.io/en/guides/audit-and-security](https://docs.imperal.io/en/guides/audit-and-security/).
@@ -193,22 +200,42 @@ Type `/help` inside Webbee for the full list:
193
200
 
194
201
  ## 🦾 Using Claude Code, Cursor, Codex, or Gemini CLI?
195
202
 
196
- If you already love your existing coding shell and want to add the same live code map, Shadow Git checkpoints, cross-surface memory, and fact-checked execution to it, install **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)** ([PyPI](https://pypi.org/project/imperal-mcp/)):
203
+ If you already love your coding shell and want the same live code map, Shadow Git checkpoints, cross-surface memory, and fact-checked work in it, install **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)** ([PyPI](https://pypi.org/project/imperal-mcp/)):
197
204
 
198
205
  ```sh
199
206
  pipx install "imperal-mcp[code]" && imperal-mcp login && imperal-mcp setup
200
207
  ```
201
208
 
202
- `webbee` and `imperal-mcp` share one Imperal Cloud account, memory vault, and live session state — start work in Claude Code or Cursor, and pick it up in Webbee, the web panel, or Telegram.
209
+ `webbee` and `imperal-mcp` share one Imperal Cloud account, memory, and live session state: start work in Claude Code or Cursor, and pick it up in Webbee, the web workspace, or Telegram.
210
+
211
+ ---
212
+
213
+ ## 🌐 The Imperal Ecosystem
214
+
215
+ Imperal is one ecosystem that unites AI, agents, and people. Webbee Code is its agent in your terminal.
216
+
217
+ | Part | What it is | License |
218
+ | :--- | :--- | :--- |
219
+ | [Imperal Cloud](https://imperal.io) | The platform: accounts, memory, apps and the marketplace | Service |
220
+ | [imperal-panel](https://github.com/imperalcloud/imperal-panel) | The open web workspace for people and agents | AGPL-3.0 |
221
+ | **[Webbee Code](https://github.com/imperalcloud/webbee-code)** 📍 you are here | The open-source terminal coding agent | GPL-3.0-or-later |
222
+ | [imperal-mcp](https://github.com/imperalcloud/imperal-mcp) | Memory, a code map, undo and a fact check for Claude Code, Cursor, Codex, Gemini CLI and other MCP clients | GPL-3.0-only |
223
+ | [imperal-sdk](https://github.com/imperalcloud/imperal-sdk) | The Python SDK for apps and extensions | AGPL-3.0-only |
224
+ | [@imperal/ui-kit](https://github.com/imperalcloud/imperal-ui-kit) | The React renderer for declarative UI | Apache-2.0 |
225
+ | [@imperal/design-tokens](https://github.com/imperalcloud/imperal-design-tokens) | Shared design tokens and theme presets | Apache-2.0 |
226
+ | [ICNLI](https://icnli.org) | The open protocol of the ecosystem | CC BY-SA 4.0 |
203
227
 
204
228
  ---
205
229
 
206
230
  ## 🤝 Contributing & License
207
231
 
208
- Contributions, bug reports, and feature requests are welcome — use the [issue templates](.github/ISSUE_TEMPLATE/) or open a pull request.
232
+ Contributions, bug reports, and feature requests are welcome: use the [issue templates](.github/ISSUE_TEMPLATE/) or open a pull request.
209
233
 
210
234
  Webbee is free and open-source software licensed under the **GNU General Public License v3.0 or later** (`GPL-3.0-or-later`). See [LICENSE](LICENSE) for details.
211
235
 
212
236
  - **Homepage:** [imperal.io/webbee-code](https://imperal.io/webbee-code) · **Docs:** [docs.imperal.io](https://docs.imperal.io) · **Protocol:** [icnli.org](https://icnli.org) · **Privacy:** [PRIVACY.md](PRIVACY.md) · **Security:** [SECURITY.md](SECURITY.md)
213
237
 
214
- Developed with 🐝 by the [Imperal Cloud](https://imperal.io) team.
238
+ <p align="center">
239
+ <strong>Imperal - The Ecosystem for AI, Agents, and People.</strong><br/>
240
+ Created by Valentin Scerbacov and built with 🐝 at <a href="https://imperal.io">Imperal</a>.
241
+ </p>
@@ -1,24 +1,31 @@
1
1
  <p align="center">
2
- <img src="assets/hero.png" alt="Webbee — The Open-Source ICNLI Coding Agent" width="100%" />
2
+ <img src="assets/hero.png" alt="Webbee - the open-source ICNLI coding agent" width="100%" />
3
3
  </p>
4
4
 
5
- <h1 align="center">Webbee 🐝 — The Open-Source ICNLI Coding Agent</h1>
5
+ <h1 align="center">Webbee Code 🐝</h1>
6
+
7
+ <h3 align="center">Part of Imperal - The Ecosystem for AI, Agents, and People</h3>
8
+
9
+ <p align="center">
10
+ <strong>The open-source coding agent for your terminal: it maps your code, checks what a change will touch, can undo any step, and shares one memory with the rest of Imperal.</strong>
11
+ </p>
6
12
 
7
13
  <p align="center">
8
14
  <a href="https://pypi.org/project/webbee/"><img src="https://img.shields.io/pypi/v/webbee" alt="PyPI" /></a>
9
15
  <a href="https://pypi.org/project/webbee/"><img src="https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-3776ab?logo=python&logoColor=white" alt="Python 3.7 - 3.14" /></a>
10
16
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="License: GPL v3" /></a>
11
17
  <a href="https://docs.imperal.io"><img src="https://img.shields.io/badge/docs-imperal.io-00afd7" alt="Docs" /></a>
12
- <a href="https://icnli.org"><img src="https://img.shields.io/badge/ICNLI-CC%20BY--SA%204.0-ff6b00" alt="Protocol: ICNLI" /></a>
18
+ <a href="https://icnli.org"><img src="https://img.shields.io/badge/protocol-ICNLI-ff6b00" alt="Protocol: ICNLI" /></a>
19
+ <a href="https://imperal.io"><img src="https://img.shields.io/badge/Imperal-Ecosystem-FFB800" alt="Imperal Ecosystem" /></a>
13
20
  </p>
14
21
 
15
22
  <p align="center">
16
- <strong>Python 3.7 – 3.14</strong> · <code>pipx install webbee</code> works on every one of them.
23
+ <strong>Python 3.7 - 3.14</strong> · <code>pipx install webbee</code> works on every one of them.
17
24
  </p>
18
25
 
19
- **Webbee** is the open-source terminal coding agent of [Imperal Cloud](https://imperal.io), powered by **[ICNLI](https://icnli.org)** (*Infrastructure Contextual Natural Language Interface*). It works directly in your local workspace (and over SSH): mapping your codebase with tree-sitter, checking blast radius before edits, isolating changes in worktrees or invisible Shadow Git checkpoints, verifying claims against real execution, and sharing one live memory across your terminal, IDE, web panel, and Telegram.
26
+ **Webbee** is the terminal coding agent of [Imperal Cloud](https://imperal.io), built on **[ICNLI](https://icnli.org)** (*Infrastructure Contextual Natural Language Interface*), the open protocol of the Imperal ecosystem. It works directly in your local workspace (and over SSH): mapping your codebase with tree-sitter, checking the blast radius before edits, isolating changes in worktrees or invisible Shadow Git checkpoints, checking its claims against what really ran, and sharing one live memory across your terminal, IDE, the web workspace, and Telegram.
20
27
 
21
- > **Open-Source Guarantee (GPLv3):** No locked silos, no hidden telemetry, no arbitrary execution barriers. The model proposes; the kernel verifies against real facts; **you hold the key**.
28
+ > **Open source (GPLv3):** no locked silos, no hidden telemetry. The model proposes, the facts decide, and **you hold the key**.
22
29
 
23
30
  ---
24
31
 
@@ -50,8 +57,8 @@ curl -LsSf https://raw.githubusercontent.com/imperalcloud/webbee-code/main/insta
50
57
 
51
58
  Works with **any Python from 3.7**:
52
59
 
53
- - **Python 3.10 or newer** — `webbee` runs directly on it.
54
- - **Python 3.7 – 3.9** (macOS ships 3.9, Ubuntu 20.04 has 3.8) — the install is light, and the first `webbee` command sets up the same release on its own Python 3.12 once (about 30–45 s, needs internet; it fetches `uv` to do it). Every start after that is immediate, and it is the full `webbee` — code index included. It lives in `~/.local/share/webbee/runtime` and changes nothing else on your system.
60
+ - **Python 3.10 or newer** - `webbee` runs directly on it.
61
+ - **Python 3.7 - 3.9** (macOS ships 3.9, Ubuntu 20.04 has 3.8) - the install is light, and the first `webbee` command sets up the same release on its own Python 3.12 once (about 30 to 45 s, needs internet; it fetches `uv` to do it). Every start after that is immediate, and it is the full `webbee`, code index included. It lives in `~/.local/share/webbee/runtime` and changes nothing else on your system.
55
62
 
56
63
  <details>
57
64
  <summary>Install troubleshooting</summary>
@@ -61,28 +68,28 @@ Works with **any Python from 3.7**:
61
68
  | `Cannot install webbee==… because these package versions have conflicting dependencies` / `ResolutionImpossible` | a `webbee` release older than `0.5.6` on Python below 3.10 | `pipx install "webbee>=0.5.6"` (or `pip install -U webbee`) |
62
69
  | `error: externally-managed-environment` | `pip install` into the system Python is blocked on Homebrew, Debian 12+, Ubuntu 23.04+ | `pipx install webbee` or `uv tool install webbee` |
63
70
  | `webbee: command not found` after install | the tool folder is not on `PATH` | `pipx ensurepath` (or `uv tool update-shell`), then open a new terminal |
64
- | `Could not set up webbee on Python 3.12` on the first start | Python 3.7–3.9 and no internet (or a proxy blocks `github.com` / `pypi.org`) | allow those hosts and start `webbee` again, or use the one-line installer above |
65
- | `No matching distribution found for webbee` | Python 3.6 or older | use the one-line installer above — it brings its own Python |
71
+ | `Could not set up webbee on Python 3.12` on the first start | Python 3.7 - 3.9 and no internet (or a proxy blocks `github.com` / `pypi.org`) | allow those hosts and start `webbee` again, or use the one-line installer above |
72
+ | `No matching distribution found for webbee` | Python 3.6 or older | use the one-line installer above; it brings its own Python |
66
73
 
67
74
  </details>
68
75
 
69
76
  ---
70
77
 
71
- ## 🏗️ How Webbee Works
78
+ ## 🏗️ What Webbee Gives You
72
79
 
73
80
  <p align="center">
74
- <img src="assets/architecture.png" alt="Webbee Architecture — Local Workspace Tools, Tree-sitter Code Map, Shadow Git, ICNLI Kernel, and Cross-Surface Memory" width="100%" />
81
+ <img src="assets/architecture.png" alt="Webbee: local workspace tools, tree-sitter code map, Shadow Git, ICNLI and cross-surface memory" width="100%" />
75
82
  </p>
76
83
 
77
- Under **[ICNLI](https://icnli.org)**, local execution stays on your machine while the kernel tracks verified state, proofs, and cross-surface memory:
84
+ Local execution stays on your machine; your Imperal Cloud account keeps the memory that every surface shares:
78
85
 
79
- - **Live Code Map (Tree-sitter + Call Graph):** Ships with code intelligence by default (`orient`, `outline`, `read_symbol`, `graph_slice`, `contract_slice`, `impact_of_change`, `search_code`, `grep_code`). Reads the exact symbol instead of dumping whole files, and checks callers before editing shared code — locally or over SSH.
80
- - **Shadow Git Time Machine & Isolated Worktrees:** Snapshots your workspace automatically before writes without touching your `.git` history. Inspect diffs or roll back any step via `/checkpoints`, `/rollback <ref>`, or the built-in checkpoint tools — or work in an isolated worktree so your main checkout stays clean.
81
- - **Fact-Checked Execution & Proofs:** Plan items close only on observed proofs (verified diffs, passing command exits, grounded findings). Claims that do not match what was actually read or run are caught before delivery.
82
- - **Autonomous Marathon & Headless Runs:** Run long-horizon autonomous tasks (`webbee --marathon "GOAL"`), single non-interactive turns for scripts/CI (`webbee --once "TASK"`), or interactive multi-tab coding sessions.
86
+ - **Live Code Map (Tree-sitter + Call Graph):** Ships with code intelligence by default (`orient`, `outline`, `read_symbol`, `graph_slice`, `contract_slice`, `impact_of_change`, `search_code`, `grep_code`). Reads the exact symbol instead of dumping whole files, and checks callers before editing shared code, locally or over SSH.
87
+ - **Shadow Git Time Machine & Isolated Worktrees:** Snapshots your workspace automatically before writes without touching your `.git` history. Inspect diffs or roll back any step via `/checkpoints`, `/rollback <ref>`, or the built-in checkpoint tools, or work in an isolated worktree so your main checkout stays clean.
88
+ - **Fact-Checked Work:** Plan items close only on observed results (a real diff, a command that exited 0, a finding with its sources). Claims that do not match what was actually read or run are caught before they reach you.
89
+ - **Long Autonomous & Headless Runs:** Run long autonomous tasks (`webbee --marathon "GOAL"`), single non-interactive turns for scripts and CI (`webbee --once "TASK"`), or interactive multi-tab coding sessions.
83
90
  - **Multi-Tab Terminal Workspace & Queueing:** Open parallel workspace tabs (`/new`, `/tab`, `/tabs`, `/close`, `/rename`), queue follow-up messages while Webbee works (`/queue`), attach local files (`/attach`), inspect step details (`/steps`), and switch model tiers (`/model` or `Ctrl+B`).
84
- - **One Brain Across Every Surface:** Shares your Imperal Cloud account, memory vault, and live sessions with **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)**, the [Imperal web panel](https://panel.imperal.io), and Telegram (`/notify [tg|panel|both|off]` mirrors a terminal session and lets you steer it remotely).
85
- - **Native Vision, Web Research & Extensions:** Inspect screenshots and diagrams (`view_image`), search the web and read docs (`web_search`, `read_url`), and use connected Imperal Cloud extensions directly from the terminal.
91
+ - **One Memory Across Every Surface:** Shares your Imperal Cloud account, memory, and live sessions with **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)**, the [Imperal web workspace](https://panel.imperal.io), and Telegram (`/notify [tg|panel|both|off]` mirrors a terminal session and lets you steer it remotely).
92
+ - **Native Vision, Web Research & Apps:** Inspect screenshots and diagrams (`view_image`), search the web and read docs (`web_search`, `read_url`), and use your connected Imperal Cloud apps directly from the terminal.
86
93
 
87
94
  ---
88
95
 
@@ -98,7 +105,7 @@ webbee
98
105
  # Start in a specific mode (default | plan | autopilot)
99
106
  webbee --mode autopilot
100
107
 
101
- # Launch an autonomous marathon toward a goal
108
+ # Launch a long autonomous run toward a goal
102
109
  webbee --marathon "Add pagination tests and fix failing assertions"
103
110
 
104
111
  # Run a single headless turn and exit (0 if answered, 1 otherwise)
@@ -134,7 +141,7 @@ Type `/help` inside Webbee for the full list:
134
141
 
135
142
  ## 🔒 Security & Privacy
136
143
 
137
- - **Approval gates:** Risky shell commands, destructive cloud tools, and rollbacks ask before running in `default` mode; billing/money actions require explicit approval in the Imperal panel.
144
+ - **Approval gates:** Risky shell commands, destructive cloud tools, and rollbacks ask before running in `default` mode; billing and money actions require explicit approval in the Imperal panel.
138
145
  - **PII masking:** Secrets, tokens, credentials in URLs, emails, phone numbers, card numbers, and SSNs are masked before reaching the model (and your email is masked on the terminal Home screen).
139
146
  - **No password handling:** Sign-in uses OAuth 2.0 Device Authorization Grant (RFC 8628) + PKCE over HTTPS, stored locally in `~/.imperal/credentials.json` (`0600`).
140
147
  - **Full details:** Read [PRIVACY.md](PRIVACY.md), [SECURITY.md](SECURITY.md), and [docs.imperal.io/en/guides/audit-and-security](https://docs.imperal.io/en/guides/audit-and-security/).
@@ -143,22 +150,42 @@ Type `/help` inside Webbee for the full list:
143
150
 
144
151
  ## 🦾 Using Claude Code, Cursor, Codex, or Gemini CLI?
145
152
 
146
- If you already love your existing coding shell and want to add the same live code map, Shadow Git checkpoints, cross-surface memory, and fact-checked execution to it, install **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)** ([PyPI](https://pypi.org/project/imperal-mcp/)):
153
+ If you already love your coding shell and want the same live code map, Shadow Git checkpoints, cross-surface memory, and fact-checked work in it, install **[imperal-mcp](https://github.com/imperalcloud/imperal-mcp)** ([PyPI](https://pypi.org/project/imperal-mcp/)):
147
154
 
148
155
  ```sh
149
156
  pipx install "imperal-mcp[code]" && imperal-mcp login && imperal-mcp setup
150
157
  ```
151
158
 
152
- `webbee` and `imperal-mcp` share one Imperal Cloud account, memory vault, and live session state — start work in Claude Code or Cursor, and pick it up in Webbee, the web panel, or Telegram.
159
+ `webbee` and `imperal-mcp` share one Imperal Cloud account, memory, and live session state: start work in Claude Code or Cursor, and pick it up in Webbee, the web workspace, or Telegram.
160
+
161
+ ---
162
+
163
+ ## 🌐 The Imperal Ecosystem
164
+
165
+ Imperal is one ecosystem that unites AI, agents, and people. Webbee Code is its agent in your terminal.
166
+
167
+ | Part | What it is | License |
168
+ | :--- | :--- | :--- |
169
+ | [Imperal Cloud](https://imperal.io) | The platform: accounts, memory, apps and the marketplace | Service |
170
+ | [imperal-panel](https://github.com/imperalcloud/imperal-panel) | The open web workspace for people and agents | AGPL-3.0 |
171
+ | **[Webbee Code](https://github.com/imperalcloud/webbee-code)** 📍 you are here | The open-source terminal coding agent | GPL-3.0-or-later |
172
+ | [imperal-mcp](https://github.com/imperalcloud/imperal-mcp) | Memory, a code map, undo and a fact check for Claude Code, Cursor, Codex, Gemini CLI and other MCP clients | GPL-3.0-only |
173
+ | [imperal-sdk](https://github.com/imperalcloud/imperal-sdk) | The Python SDK for apps and extensions | AGPL-3.0-only |
174
+ | [@imperal/ui-kit](https://github.com/imperalcloud/imperal-ui-kit) | The React renderer for declarative UI | Apache-2.0 |
175
+ | [@imperal/design-tokens](https://github.com/imperalcloud/imperal-design-tokens) | Shared design tokens and theme presets | Apache-2.0 |
176
+ | [ICNLI](https://icnli.org) | The open protocol of the ecosystem | CC BY-SA 4.0 |
153
177
 
154
178
  ---
155
179
 
156
180
  ## 🤝 Contributing & License
157
181
 
158
- Contributions, bug reports, and feature requests are welcome — use the [issue templates](.github/ISSUE_TEMPLATE/) or open a pull request.
182
+ Contributions, bug reports, and feature requests are welcome: use the [issue templates](.github/ISSUE_TEMPLATE/) or open a pull request.
159
183
 
160
184
  Webbee is free and open-source software licensed under the **GNU General Public License v3.0 or later** (`GPL-3.0-or-later`). See [LICENSE](LICENSE) for details.
161
185
 
162
186
  - **Homepage:** [imperal.io/webbee-code](https://imperal.io/webbee-code) · **Docs:** [docs.imperal.io](https://docs.imperal.io) · **Protocol:** [icnli.org](https://icnli.org) · **Privacy:** [PRIVACY.md](PRIVACY.md) · **Security:** [SECURITY.md](SECURITY.md)
163
187
 
164
- Developed with 🐝 by the [Imperal Cloud](https://imperal.io) team.
188
+ <p align="center">
189
+ <strong>Imperal - The Ecosystem for AI, Agents, and People.</strong><br/>
190
+ Created by Valentin Scerbacov and built with 🐝 at <a href="https://imperal.io">Imperal</a>.
191
+ </p>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "webbee"
3
- version = "0.7.39"
3
+ version = "0.7.41"
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.25; python_version >= "3.10"', # raised to the newest at each release
17
- 'imperal-sdk[universal-index]>=6.16.0; python_version >= "3.10"',
16
+ 'imperal-mcp>=0.9.27; python_version >= "3.10"', # raised to the newest at each release
17
+ 'imperal-sdk[universal-index]>=6.17.1; 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.41"
@@ -14,6 +14,7 @@ _HELP = """Commands:
14
14
  /clear clear the screen + reset session counters
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
+ /room (=/tandem) [join <room> <role>|leave <room>|open <name> [goal]] tandem rooms (no arg — open menu)
17
18
  /cost (=/usage) tokens + credits this session
18
19
  /facts [on|off] show the kernel's line of facts under each answer (off by default; no arg — show current)
19
20
  /status cwd · git · surface · tokens · version
@@ -23,6 +24,7 @@ _HELP = """Commands:
23
24
  /tabs list open tabs
24
25
  /rename <name> rename the active tab (sticks -- auto-naming won't override it)
25
26
  /attach <path> attach a local file (or several, space-separated/glob) to the next message
27
+ /takeover reclaim control of a paused/superseded conversation
26
28
  /queue [clear] messages queued while Webbee works (clear drops them all)
27
29
  /steps [N] last turn's steps; N expands one (also: Up/Down + Enter)
28
30
  /jobs background jobs of this session on this machine
@@ -108,6 +110,8 @@ def dispatch(line: str, ctx: CommandContext) -> SlashResult:
108
110
  if cmd == "/attach":
109
111
  return SlashResult(handled=True, action="attach",
110
112
  arg=(" ".join(args) if args else ""))
113
+ if cmd == "/takeover":
114
+ return SlashResult(handled=True, action="takeover")
111
115
  if cmd == "/new":
112
116
  return SlashResult(handled=True, action="new_tab", arg=(" ".join(args) if args else ""))
113
117
  if cmd == "/tab":
@@ -193,6 +197,8 @@ def dispatch(line: str, ctx: CommandContext) -> SlashResult:
193
197
  message=f"Unknown mode '{want}'. Available: {', '.join(_MODES)}.")
194
198
  return SlashResult(handled=True, action="mode", new_mode=want,
195
199
  message=f"Mode → {want}.")
200
+ if cmd in ("/room", "/tandem"):
201
+ return SlashResult(handled=True, action="room", arg=" ".join(args))
196
202
  if cmd == "/model":
197
203
  pretty = ", ".join(_TIER_DISPLAY[t] for t in _TIERS)
198
204
  if not args:
@@ -68,3 +68,60 @@ def make_client(cfg, timeout: float = 10.0):
68
68
  transport=build_transport(),
69
69
  headers={"User-Agent": f"webbee/{__version__}"},
70
70
  )
71
+
72
+
73
+ def _is_conn_idle(conn) -> bool:
74
+ fn = getattr(conn, "is_idle", None)
75
+ if not callable(fn):
76
+ return False
77
+ try:
78
+ return bool(fn())
79
+ except Exception:
80
+ return False
81
+
82
+
83
+ async def close_idle_connections(client) -> int:
84
+ """Close every IDLE pooled connection on an httpx.AsyncClient without touching active streams.
85
+
86
+ httpcore measures ``keepalive_expiry`` against ``time.monotonic()``, which pauses during OS sleep
87
+ on macOS, leaving dead sockets looking fresh after wake. Closing idle connections on wake prevents
88
+ the first post-wake request from hanging on a dead keep-alive socket.
89
+ """
90
+ if client is None:
91
+ return 0
92
+ transports = []
93
+ primary = getattr(client, "_transport", None)
94
+ if primary is not None:
95
+ transports.append(primary)
96
+ mounts = getattr(client, "_mounts", None)
97
+ if isinstance(mounts, dict):
98
+ transports.extend(t for t in mounts.values() if t is not None)
99
+ closed = 0
100
+ for tr in transports:
101
+ pool = getattr(tr, "_pool", None)
102
+ if pool is None or not hasattr(pool, "_connections"):
103
+ continue
104
+ lock = getattr(pool, "_optional_thread_lock", None)
105
+ closing = []
106
+
107
+ def _partition():
108
+ kept = []
109
+ for conn in list(pool._connections):
110
+ if _is_conn_idle(conn):
111
+ closing.append(conn)
112
+ else:
113
+ kept.append(conn)
114
+ pool._connections = kept
115
+
116
+ if lock is not None:
117
+ with lock:
118
+ _partition()
119
+ else:
120
+ _partition()
121
+ for conn in closing:
122
+ try:
123
+ await conn.aclose()
124
+ closed += 1
125
+ except Exception:
126
+ pass
127
+ return closed
@@ -198,6 +198,26 @@ _CATALOG: dict[str, dict[str, str]] = {
198
198
  "badge_warn": "[!]",
199
199
  "badge_pay": "[$]",
200
200
  "badge_info": "[i]",
201
+ # Tandem rooms (footer button & /room)
202
+ "room_label": "room",
203
+ "room_none": "not in tandem",
204
+ "room_unavailable": "rooms unavailable",
205
+ "room_role_master": "master",
206
+ "room_role_leads": "leads",
207
+ "room_role_checks": "checks",
208
+ "room_role_helps": "helps",
209
+ "room_modal_title": "Tandem Rooms",
210
+ "room_new_btn": "+ New room",
211
+ "room_create_title": "Create Tandem Room",
212
+ "room_name_label": "Name:",
213
+ "room_goal_label": "Goal (optional):",
214
+ "room_create_btn": "Create",
215
+ "room_join_btn": "Join",
216
+ "room_leave_btn": "Leave",
217
+ "room_close_btn": "Close",
218
+ "room_back_btn": "Back",
219
+ "room_empty_list": "No rooms yet. Create one below.",
220
+ "room_loading": "Loading rooms...",
201
221
  },
202
222
  "ru": {
203
223
  # Common block chrome
@@ -320,6 +340,26 @@ _CATALOG: dict[str, dict[str, str]] = {
320
340
  "badge_warn": "[!]",
321
341
  "badge_pay": "[$]",
322
342
  "badge_info": "[i]",
343
+ # Тандем и комнаты (кнопка подвала и /room)
344
+ "room_label": "комната",
345
+ "room_none": "не в тандеме",
346
+ "room_unavailable": "комнаты недоступны",
347
+ "room_role_master": "мастер",
348
+ "room_role_leads": "ведёт",
349
+ "room_role_checks": "проверяет",
350
+ "room_role_helps": "помогает",
351
+ "room_modal_title": "Комнаты тандема",
352
+ "room_new_btn": "+ Новая комната",
353
+ "room_create_title": "Создать комнату",
354
+ "room_name_label": "Название:",
355
+ "room_goal_label": "Цель (необязательно):",
356
+ "room_create_btn": "Создать",
357
+ "room_join_btn": "Войти",
358
+ "room_leave_btn": "Выйти",
359
+ "room_close_btn": "Закрыть",
360
+ "room_back_btn": "Назад",
361
+ "room_empty_list": "Комнат пока нет. Создай первую ниже.",
362
+ "room_loading": "Загружаю комнаты...",
323
363
  },
324
364
  }
325
365