webbee 0.7.40__tar.gz → 0.7.42__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 (225) hide show
  1. {webbee-0.7.40 → webbee-0.7.42}/CHANGELOG.md +12 -0
  2. {webbee-0.7.40 → webbee-0.7.42}/PKG-INFO +54 -27
  3. {webbee-0.7.40 → webbee-0.7.42}/README.md +52 -25
  4. {webbee-0.7.40 → webbee-0.7.42}/pyproject.toml +2 -2
  5. webbee-0.7.42/src/webbee/__init__.py +1 -0
  6. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/commands.py +3 -0
  7. webbee-0.7.42/src/webbee/instance_lock.py +191 -0
  8. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/repl.py +162 -31
  9. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/session.py +140 -14
  10. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/slots.py +2 -0
  11. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/steer.py +39 -3
  12. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/stream.py +2 -0
  13. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/thread.py +17 -1
  14. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/tui.py +23 -3
  15. webbee-0.7.42/tests/test_one_executor.py +395 -0
  16. {webbee-0.7.40 → webbee-0.7.42}/tests/test_session.py +17 -0
  17. {webbee-0.7.40 → webbee-0.7.42}/tests/test_steer.py +105 -0
  18. {webbee-0.7.40 → webbee-0.7.42}/uv.lock +8 -8
  19. webbee-0.7.40/src/webbee/__init__.py +0 -1
  20. webbee-0.7.40/src/webbee/instance_lock.py +0 -83
  21. {webbee-0.7.40 → webbee-0.7.42}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  22. {webbee-0.7.40 → webbee-0.7.42}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  23. {webbee-0.7.40 → webbee-0.7.42}/.github/pull_request_template.md +0 -0
  24. {webbee-0.7.40 → webbee-0.7.42}/.github/workflows/os-check.yml +0 -0
  25. {webbee-0.7.40 → webbee-0.7.42}/.github/workflows/publish.yml +0 -0
  26. {webbee-0.7.40 → webbee-0.7.42}/.gitignore +0 -0
  27. {webbee-0.7.40 → webbee-0.7.42}/LICENSE +0 -0
  28. {webbee-0.7.40 → webbee-0.7.42}/PRIVACY.md +0 -0
  29. {webbee-0.7.40 → webbee-0.7.42}/SECURITY.md +0 -0
  30. {webbee-0.7.40 → webbee-0.7.42}/assets/architecture.png +0 -0
  31. {webbee-0.7.40 → webbee-0.7.42}/assets/demo.gif +0 -0
  32. {webbee-0.7.40 → webbee-0.7.42}/assets/hero.png +0 -0
  33. {webbee-0.7.40 → webbee-0.7.42}/assets/social-preview.png +0 -0
  34. {webbee-0.7.40 → webbee-0.7.42}/ci/__init__.py +0 -0
  35. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/__init__.py +0 -0
  36. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/drivers.py +0 -0
  37. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/fixture.py +0 -0
  38. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/fixture_long.py +0 -0
  39. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/fixture_wait.py +0 -0
  40. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/provision_user.py +0 -0
  41. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/registry.py +0 -0
  42. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/replay.py +0 -0
  43. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/run.py +0 -0
  44. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/scenarios_account.py +0 -0
  45. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/scenarios_code.py +0 -0
  46. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/scenarios_contract.py +0 -0
  47. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/scenarios_long.py +0 -0
  48. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/scenarios_wait.py +0 -0
  49. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/test_drivers.py +0 -0
  50. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/test_fixture.py +0 -0
  51. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/test_fixture_long.py +0 -0
  52. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/test_fixture_wait.py +0 -0
  53. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/test_registry.py +0 -0
  54. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/test_replay.py +0 -0
  55. {webbee-0.7.40 → webbee-0.7.42}/ci/field_gate/wipe.py +0 -0
  56. {webbee-0.7.40 → webbee-0.7.42}/ci/os_check.py +0 -0
  57. {webbee-0.7.40 → webbee-0.7.42}/dev-webbee +0 -0
  58. {webbee-0.7.40 → webbee-0.7.42}/install.sh +0 -0
  59. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/__main__.py +0 -0
  60. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/_launch.py +0 -0
  61. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/account.py +0 -0
  62. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/active_sessions.py +0 -0
  63. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/autoupdate.py +0 -0
  64. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/banner_art.py +0 -0
  65. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/blocks.py +0 -0
  66. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/boot.py +0 -0
  67. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/browser.py +0 -0
  68. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/checkpoints.py +0 -0
  69. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/cli.py +0 -0
  70. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/clipboard.py +0 -0
  71. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/clipboard_read.py +0 -0
  72. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/clipboard_session.py +0 -0
  73. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/coding_context.py +0 -0
  74. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/config.py +0 -0
  75. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/consent.py +0 -0
  76. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/details.py +0 -0
  77. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/events.py +0 -0
  78. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/expand.py +0 -0
  79. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/frames.py +0 -0
  80. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/home.py +0 -0
  81. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/home_view.py +0 -0
  82. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/http.py +0 -0
  83. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/i18n.py +0 -0
  84. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/__init__.py +0 -0
  85. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/graph.py +0 -0
  86. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/outline.py +0 -0
  87. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/query.py +0 -0
  88. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/service.py +0 -0
  89. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/store.py +0 -0
  90. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/tree.py +0 -0
  91. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/intel/watch.py +0 -0
  92. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/jobs.py +0 -0
  93. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/jobs_panel.py +0 -0
  94. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/jobwatch.py +0 -0
  95. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/loop_errors.py +0 -0
  96. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/media.py +0 -0
  97. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/modals.py +0 -0
  98. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/mode_store.py +0 -0
  99. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/native_files.py +0 -0
  100. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/native_read.py +0 -0
  101. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/newtab_mode.py +0 -0
  102. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/output_pane.py +0 -0
  103. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/prefs.py +0 -0
  104. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/pricing_constants.py +0 -0
  105. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/queue_panel.py +0 -0
  106. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/reflow.py +0 -0
  107. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/remote.py +0 -0
  108. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/render.py +0 -0
  109. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/repo.py +0 -0
  110. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/rooms.py +0 -0
  111. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/selection.py +0 -0
  112. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/sessions.py +0 -0
  113. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/sizing.py +0 -0
  114. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/stallwatch.py +0 -0
  115. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/tab_store.py +0 -0
  116. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/tabs.py +0 -0
  117. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/tier_store.py +0 -0
  118. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/todo_panel.py +0 -0
  119. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/tokens.py +0 -0
  120. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/tools.py +0 -0
  121. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/ui_tokens.py +0 -0
  122. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/update.py +0 -0
  123. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/urlopen.py +0 -0
  124. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/wallet.py +0 -0
  125. {webbee-0.7.40 → webbee-0.7.42}/src/webbee/worktrees.py +0 -0
  126. {webbee-0.7.40 → webbee-0.7.42}/tests/__init__.py +0 -0
  127. {webbee-0.7.40 → webbee-0.7.42}/tests/conftest.py +0 -0
  128. {webbee-0.7.40 → webbee-0.7.42}/tests/test_account.py +0 -0
  129. {webbee-0.7.40 → webbee-0.7.42}/tests/test_active_sessions.py +0 -0
  130. {webbee-0.7.40 → webbee-0.7.42}/tests/test_answer_delta.py +0 -0
  131. {webbee-0.7.40 → webbee-0.7.42}/tests/test_append_file.py +0 -0
  132. {webbee-0.7.40 → webbee-0.7.42}/tests/test_audit_2026_07_25_findings.py +0 -0
  133. {webbee-0.7.40 → webbee-0.7.42}/tests/test_autoupdate.py +0 -0
  134. {webbee-0.7.40 → webbee-0.7.42}/tests/test_blocks.py +0 -0
  135. {webbee-0.7.40 → webbee-0.7.42}/tests/test_checkpoints.py +0 -0
  136. {webbee-0.7.40 → webbee-0.7.42}/tests/test_checkpoints_nested_1030.py +0 -0
  137. {webbee-0.7.40 → webbee-0.7.42}/tests/test_cli.py +0 -0
  138. {webbee-0.7.40 → webbee-0.7.42}/tests/test_clipboard.py +0 -0
  139. {webbee-0.7.40 → webbee-0.7.42}/tests/test_clipboard_read.py +0 -0
  140. {webbee-0.7.40 → webbee-0.7.42}/tests/test_code_map_fresh.py +0 -0
  141. {webbee-0.7.40 → webbee-0.7.42}/tests/test_coding_context.py +0 -0
  142. {webbee-0.7.40 → webbee-0.7.42}/tests/test_commands.py +0 -0
  143. {webbee-0.7.40 → webbee-0.7.42}/tests/test_config.py +0 -0
  144. {webbee-0.7.40 → webbee-0.7.42}/tests/test_cpc_contract_stable.py +0 -0
  145. {webbee-0.7.40 → webbee-0.7.42}/tests/test_cpc_outline.py +0 -0
  146. {webbee-0.7.40 → webbee-0.7.42}/tests/test_cross_loop_token.py +0 -0
  147. {webbee-0.7.40 → webbee-0.7.42}/tests/test_details.py +0 -0
  148. {webbee-0.7.40 → webbee-0.7.42}/tests/test_events.py +0 -0
  149. {webbee-0.7.40 → webbee-0.7.42}/tests/test_expand.py +0 -0
  150. {webbee-0.7.40 → webbee-0.7.42}/tests/test_field_test_1113.py +0 -0
  151. {webbee-0.7.40 → webbee-0.7.42}/tests/test_freeze_fix.py +0 -0
  152. {webbee-0.7.40 → webbee-0.7.42}/tests/test_grid_golden.py +0 -0
  153. {webbee-0.7.40 → webbee-0.7.42}/tests/test_guide_and_semantic_ux.py +0 -0
  154. {webbee-0.7.40 → webbee-0.7.42}/tests/test_home.py +0 -0
  155. {webbee-0.7.40 → webbee-0.7.42}/tests/test_home_view.py +0 -0
  156. {webbee-0.7.40 → webbee-0.7.42}/tests/test_home_view_mouse.py +0 -0
  157. {webbee-0.7.40 → webbee-0.7.42}/tests/test_i18n.py +0 -0
  158. {webbee-0.7.40 → webbee-0.7.42}/tests/test_inspect_page.py +0 -0
  159. {webbee-0.7.40 → webbee-0.7.42}/tests/test_instance_lock.py +0 -0
  160. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_any_folder.py +0 -0
  161. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_cache_and_sync_worker.py +0 -0
  162. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_checksum_tree.py +0 -0
  163. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_chunker.py +0 -0
  164. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_embed.py +0 -0
  165. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_folder_1106.py +0 -0
  166. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_graph.py +0 -0
  167. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_no_numpy.py +0 -0
  168. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_query.py +0 -0
  169. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_service.py +0 -0
  170. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_store.py +0 -0
  171. {webbee-0.7.40 → webbee-0.7.42}/tests/test_intel_watch.py +0 -0
  172. {webbee-0.7.40 → webbee-0.7.42}/tests/test_jobs_1127.py +0 -0
  173. {webbee-0.7.40 → webbee-0.7.42}/tests/test_launch.py +0 -0
  174. {webbee-0.7.40 → webbee-0.7.42}/tests/test_loop_errors.py +0 -0
  175. {webbee-0.7.40 → webbee-0.7.42}/tests/test_marathon.py +0 -0
  176. {webbee-0.7.40 → webbee-0.7.42}/tests/test_modals_e2e.py +0 -0
  177. {webbee-0.7.40 → webbee-0.7.42}/tests/test_mode_and_remote_0_6_8.py +0 -0
  178. {webbee-0.7.40 → webbee-0.7.42}/tests/test_mode_store.py +0 -0
  179. {webbee-0.7.40 → webbee-0.7.42}/tests/test_native_files.py +0 -0
  180. {webbee-0.7.40 → webbee-0.7.42}/tests/test_newtab_mode.py +0 -0
  181. {webbee-0.7.40 → webbee-0.7.42}/tests/test_packaging.py +0 -0
  182. {webbee-0.7.40 → webbee-0.7.42}/tests/test_probe_cost.py +0 -0
  183. {webbee-0.7.40 → webbee-0.7.42}/tests/test_queue_manage_0337.py +0 -0
  184. {webbee-0.7.40 → webbee-0.7.42}/tests/test_read_never_waits_for_the_repo.py +0 -0
  185. {webbee-0.7.40 → webbee-0.7.42}/tests/test_reflow.py +0 -0
  186. {webbee-0.7.40 → webbee-0.7.42}/tests/test_remote_code_reads.py +0 -0
  187. {webbee-0.7.40 → webbee-0.7.42}/tests/test_render.py +0 -0
  188. {webbee-0.7.40 → webbee-0.7.42}/tests/test_repl.py +0 -0
  189. {webbee-0.7.40 → webbee-0.7.42}/tests/test_repo.py +0 -0
  190. {webbee-0.7.40 → webbee-0.7.42}/tests/test_resilient_http.py +0 -0
  191. {webbee-0.7.40 → webbee-0.7.42}/tests/test_result_fits_the_door.py +0 -0
  192. {webbee-0.7.40 → webbee-0.7.42}/tests/test_review_fixes_1030.py +0 -0
  193. {webbee-0.7.40 → webbee-0.7.42}/tests/test_rooms.py +0 -0
  194. {webbee-0.7.40 → webbee-0.7.42}/tests/test_session_review_1030.py +0 -0
  195. {webbee-0.7.40 → webbee-0.7.42}/tests/test_sessions.py +0 -0
  196. {webbee-0.7.40 → webbee-0.7.42}/tests/test_sizing.py +0 -0
  197. {webbee-0.7.40 → webbee-0.7.42}/tests/test_slots.py +0 -0
  198. {webbee-0.7.40 → webbee-0.7.42}/tests/test_ssh_guard.py +0 -0
  199. {webbee-0.7.40 → webbee-0.7.42}/tests/test_stallwatch.py +0 -0
  200. {webbee-0.7.40 → webbee-0.7.42}/tests/test_stream.py +0 -0
  201. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tab_bar_stability.py +0 -0
  202. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tab_restore_0337.py +0 -0
  203. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tabs.py +0 -0
  204. {webbee-0.7.40 → webbee-0.7.42}/tests/test_terminal_ux_0336.py +0 -0
  205. {webbee-0.7.40 → webbee-0.7.42}/tests/test_thread.py +0 -0
  206. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tier_invalidation.py +0 -0
  207. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tier_store.py +0 -0
  208. {webbee-0.7.40 → webbee-0.7.42}/tests/test_todo_panel.py +0 -0
  209. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tokens.py +0 -0
  210. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tool_ack.py +0 -0
  211. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tools.py +0 -0
  212. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tools_eol_cancel_1030.py +0 -0
  213. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tools_vision_websearch.py +0 -0
  214. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tray_1126.py +0 -0
  215. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tui.py +0 -0
  216. {webbee-0.7.40 → webbee-0.7.42}/tests/test_tui_hardening.py +0 -0
  217. {webbee-0.7.40 → webbee-0.7.42}/tests/test_ui_tokens.py +0 -0
  218. {webbee-0.7.40 → webbee-0.7.42}/tests/test_update.py +0 -0
  219. {webbee-0.7.40 → webbee-0.7.42}/tests/test_update_badge_0340.py +0 -0
  220. {webbee-0.7.40 → webbee-0.7.42}/tests/test_urlopen.py +0 -0
  221. {webbee-0.7.40 → webbee-0.7.42}/tests/test_version.py +0 -0
  222. {webbee-0.7.40 → webbee-0.7.42}/tests/test_version_badge_corner.py +0 -0
  223. {webbee-0.7.40 → webbee-0.7.42}/tests/test_voice_outcome.py +0 -0
  224. {webbee-0.7.40 → webbee-0.7.42}/tests/test_wallet.py +0 -0
  225. {webbee-0.7.40 → webbee-0.7.42}/tests/test_worktrees.py +0 -0
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.42
4
+
5
+ * The agents' inbox, exactly once: an idle Webbee takes a letter from another session with a lease and its own reader id, and acknowledges it as soon as the server accepted the turn. A letter not acknowledged is delivered again; one already accepted is never run twice. An older gateway ignores both and hands letters over as before.
6
+ * A picked-up letter says where it came from (the person's surface, another session, a room's assignment, or the system) and rides the turn with it; a letter with no surface is never dressed as the person's own words.
7
+ * Dependency bump: requires `imperal-mcp>=0.9.28`.
8
+
9
+ ## 0.7.41
10
+
11
+ * 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.
12
+ * 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.
13
+ * Dependency bump: requires `imperal-mcp>=0.9.27`.
14
+
3
15
  ## 0.7.40
4
16
 
5
17
  * 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`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: webbee
3
- Version: 0.7.40
3
+ Version: 0.7.42
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,7 +31,7 @@ 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.26; python_version >= '3.10'
34
+ Requires-Dist: imperal-mcp>=0.9.28; python_version >= '3.10'
35
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'
@@ -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.40"
3
+ version = "0.7.42"
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,7 +13,7 @@ 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.26; python_version >= "3.10"', # raised to the newest at each release
16
+ 'imperal-mcp>=0.9.28; python_version >= "3.10"', # raised to the newest at each release
17
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"',
@@ -0,0 +1 @@
1
+ __version__ = "0.7.42"
@@ -24,6 +24,7 @@ _HELP = """Commands:
24
24
  /tabs list open tabs
25
25
  /rename <name> rename the active tab (sticks -- auto-naming won't override it)
26
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
27
28
  /queue [clear] messages queued while Webbee works (clear drops them all)
28
29
  /steps [N] last turn's steps; N expands one (also: Up/Down + Enter)
29
30
  /jobs background jobs of this session on this machine
@@ -109,6 +110,8 @@ def dispatch(line: str, ctx: CommandContext) -> SlashResult:
109
110
  if cmd == "/attach":
110
111
  return SlashResult(handled=True, action="attach",
111
112
  arg=(" ".join(args) if args else ""))
113
+ if cmd == "/takeover":
114
+ return SlashResult(handled=True, action="takeover")
112
115
  if cmd == "/new":
113
116
  return SlashResult(handled=True, action="new_tab", arg=(" ".join(args) if args else ""))
114
117
  if cmd == "/tab":
@@ -0,0 +1,191 @@
1
+ """Per-repo single-instance advisory lock (0.3.25 Part C, second-instance
2
+ collision fix): today a second `webbee` launched in the SAME repo derives
3
+ the SAME legacy session id as the first (tab-1's `slot_id` is always ""),
4
+ so both processes poll/stream the IDENTICAL gateway session and starve each
5
+ other -- looks frozen, live-reproduced twice (Valentin, 2026-07-19/20).
6
+
7
+ `acquire(repo_key)` takes a non-blocking exclusive `flock` on
8
+ `~/.cache/webbee/instance-{repo_key}.lock` (same repo-identity/cache-dir
9
+ house pattern as `mode_store` — `webbee.repo.compute_repo_key`). The FIRST
10
+ process to open a given repo keeps the fd open for its whole lifetime; the
11
+ kernel drops the flock automatically the instant that fd closes — process
12
+ exit, crash, `kill -9`, all release it for free, no stale-lock cleanup ever
13
+ needed anywhere. A SECOND process trying the SAME repo_key finds the lock
14
+ already held and gets `held=True` back — `repl._make_session_slot` reads
15
+ that to mint a fresh `slot_id` for what would otherwise be its own tab 1,
16
+ exactly like every LATER tab already does, and leaves an honest transcript
17
+ note instead of silently starving.
18
+
19
+ Fail-soft in BOTH directions, matching `mode_store`'s posture: ANY error
20
+ acquiring the lock (a read-only home, a full disk, no `fcntl` on this
21
+ platform, a filesystem that doesn't support `flock` at all) degrades to
22
+ "proceed as primary" (`held=False`) — a false negative here is, at worst,
23
+ the very starvation this module exists to fix; it is never a reason to
24
+ crash the terminal."""
25
+ from __future__ import annotations
26
+
27
+ import os
28
+ import re
29
+ from uuid import uuid4
30
+
31
+ _CACHE_DIR = os.path.expanduser("~/.cache/webbee") # test seam: monkeypatch this name
32
+ _SAFE_LOCK_KEY_RE = re.compile(r"[^A-Za-z0-9._-]+")
33
+ _INSTANCE_ID: "str | None" = None
34
+
35
+
36
+ def get_instance_id() -> str:
37
+ """Return a process-stable Webbee instance identifier for `X-Webbee-Instance`.
38
+
39
+ Generated once per OS process so every reconnect from the SAME terminal
40
+ window carries the identical instance id (gateway treats it as a seamless
41
+ same-instance reconnect), while a second terminal window generates a
42
+ distinct id (gateway enforces one-executor and cleanly supersedes the old
43
+ window). Format matches gateway's `^[A-Za-z0-9._-]{3,64}$`.
44
+ """
45
+ global _INSTANCE_ID
46
+ if _INSTANCE_ID is None:
47
+ _INSTANCE_ID = f"wb-{os.getpid()}-{uuid4().hex[:12]}"
48
+ return _INSTANCE_ID
49
+
50
+
51
+ def _path_for(repo_key: str) -> str:
52
+ return os.path.join(_CACHE_DIR, f"instance-{repo_key}.lock")
53
+
54
+
55
+ def _session_lock_path(session_id: str) -> str:
56
+ safe = _SAFE_LOCK_KEY_RE.sub("_", str(session_id or "").strip())[:120]
57
+ return os.path.join(_CACHE_DIR, f"session-{safe}.lock")
58
+
59
+
60
+ def _current_tty() -> str:
61
+ """Best-effort short tty name for holder diagnostics (e.g. 'ttys004'), or ''."""
62
+ import sys
63
+ for stream in (sys.stdin, sys.stdout, sys.stderr):
64
+ try:
65
+ fd = stream.fileno()
66
+ if os.isatty(fd):
67
+ name = os.ttyname(fd)
68
+ return os.path.basename(name) if name else ""
69
+ except Exception:
70
+ continue
71
+ return ""
72
+
73
+
74
+ def _read_holder(fd: int) -> dict:
75
+ """Read holder metadata JSON from an already-locked fd, fail-soft."""
76
+ try:
77
+ import json
78
+ os.lseek(fd, 0, os.SEEK_SET)
79
+ raw = os.read(fd, 512).decode("utf-8", "replace").strip()
80
+ if not raw:
81
+ return {}
82
+ data = json.loads(raw)
83
+ return data if isinstance(data, dict) else {}
84
+ except Exception:
85
+ return {}
86
+
87
+
88
+ def _write_holder(fd: int) -> None:
89
+ """Write this process's pid/tty/instance metadata into the locked fd, fail-soft."""
90
+ try:
91
+ import json
92
+ payload = json.dumps({
93
+ "pid": os.getpid(),
94
+ "tty": _current_tty(),
95
+ "instance_id": get_instance_id(),
96
+ }).encode("utf-8")
97
+ os.ftruncate(fd, 0)
98
+ os.lseek(fd, 0, os.SEEK_SET)
99
+ os.write(fd, payload)
100
+ except Exception:
101
+ pass
102
+
103
+
104
+ class InstanceLock:
105
+ """The result of one `acquire()` call. `held` is True iff SOME OTHER
106
+ process already owned this repo's lock at that moment (this instance is
107
+ SECONDARY); `holder` holds best-effort metadata (`pid`, `tty`, `instance_id`)
108
+ of the holding terminal when `held` is True. `close()` releases the fd (a
109
+ no-op the second time, and on a `held=True` result — there is nothing of
110
+ this instance's own to release) and never raises."""
111
+
112
+ def __init__(self, held: bool, fd: "int | None", holder: "dict | None" = None) -> None:
113
+ self.held = held
114
+ self._fd = fd
115
+ self.holder: dict = dict(holder or {})
116
+
117
+ def holder_label(self) -> str:
118
+ """Human-readable description of the terminal holding this lock, or ''."""
119
+ parts = []
120
+ pid = self.holder.get("pid")
121
+ if pid:
122
+ parts.append(f"pid {pid}")
123
+ tty = str(self.holder.get("tty") or "").strip()
124
+ if tty:
125
+ parts.append(tty)
126
+ inst = str(self.holder.get("instance_id") or "").strip()
127
+ if not parts and inst:
128
+ parts.append(inst)
129
+ return " · ".join(parts)
130
+
131
+ def close(self) -> None:
132
+ if self._fd is not None:
133
+ try:
134
+ os.close(self._fd)
135
+ except OSError:
136
+ pass
137
+ self._fd = None
138
+
139
+
140
+ def _acquire_path(path: str) -> InstanceLock:
141
+ """Acquire a non-blocking exclusive flock on `path`, fail-soft on OS errors."""
142
+ try:
143
+ import fcntl
144
+ os.makedirs(_CACHE_DIR, exist_ok=True)
145
+ fd = os.open(path, os.O_CREAT | os.O_RDWR, 0o600)
146
+ except Exception:
147
+ return InstanceLock(held=False, fd=None)
148
+ try:
149
+ fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
150
+ except OSError:
151
+ holder = _read_holder(fd)
152
+ os.close(fd)
153
+ return InstanceLock(held=True, fd=None, holder=holder)
154
+ except Exception:
155
+ os.close(fd)
156
+ return InstanceLock(held=False, fd=None)
157
+ _write_holder(fd)
158
+ return InstanceLock(held=False, fd=fd)
159
+
160
+
161
+ def acquire(repo_key: str) -> InstanceLock:
162
+ """Try to become the primary Webbee for `repo_key`. Never raises: any
163
+ failure along the way degrades to `InstanceLock(held=False, fd=None)`
164
+ (module docstring) — this instance simply proceeds as primary."""
165
+ return _acquire_path(_path_for(repo_key))
166
+
167
+
168
+ def acquire_session(session_id: str) -> InstanceLock:
169
+ """Acquire a per-conversation advisory flock for `session_id`.
170
+
171
+ Protects against two tabs or two local Webbee processes attaching to the
172
+ same conversation simultaneously. Empty session_id is a harmless no-op.
173
+ Never raises (same fail-soft posture as `acquire`).
174
+ """
175
+ sid = str(session_id or "").strip()
176
+ if not sid:
177
+ return InstanceLock(held=False, fd=None)
178
+ return _acquire_path(_session_lock_path(sid))
179
+
180
+
181
+ def is_session_held(session_id: str) -> bool:
182
+ """Non-blocking probe: True iff another open fd currently holds the local
183
+ per-conversation flock for `session_id`. Never leaves a lock held."""
184
+ sid = str(session_id or "").strip()
185
+ if not sid:
186
+ return False
187
+ lock = acquire_session(sid)
188
+ try:
189
+ return bool(lock.held)
190
+ finally:
191
+ lock.close()