chelamux 0.19.0__py3-none-any.whl

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 (252) hide show
  1. chela/__init__.py +12 -0
  2. chela/agent_manager.py +1079 -0
  3. chela/assets/SymbolsNerdFontMono-Regular.ttf +0 -0
  4. chela/assets/share-sandbox-web/Dockerfile +25 -0
  5. chela/assets/share-sandbox-web/browse.py +76 -0
  6. chela/automerge.py +128 -0
  7. chela/backlog.py +45 -0
  8. chela/basemerge.py +215 -0
  9. chela/basesync.py +107 -0
  10. chela/cachekey.py +57 -0
  11. chela/capabilities.py +469 -0
  12. chela/collab-relay/.gitignore +4 -0
  13. chela/collab-relay/README.md +49 -0
  14. chela/collab-relay/package-lock.json +1583 -0
  15. chela/collab-relay/package.json +14 -0
  16. chela/collab-relay/public/e2e.js +191 -0
  17. chela/collab-relay/public/fonts/LICENSE-Symbola.txt +19 -0
  18. chela/collab-relay/public/fonts/README.md +21 -0
  19. chela/collab-relay/public/fonts/Symbola-Subset.ttf +0 -0
  20. chela/collab-relay/public/fonts/SymbolsNerdFontMono-Regular.ttf +0 -0
  21. chela/collab-relay/public/index.html +563 -0
  22. chela/collab-relay/public/keys.js +34 -0
  23. chela/collab-relay/public/presence-core.js +172 -0
  24. chela/collab-relay/public/restart.js +70 -0
  25. chela/collab-relay/public/vendor/xterm.css +209 -0
  26. chela/collab-relay/public/vendor/xterm.js +2 -0
  27. chela/collab-relay/src/index.js +51 -0
  28. chela/collab-relay/wrangler.jsonc +27 -0
  29. chela/collab.py +276 -0
  30. chela/collab_host.py +403 -0
  31. chela/collab_stream.py +1048 -0
  32. chela/concurrency.py +109 -0
  33. chela/config.py +1468 -0
  34. chela/context.py +569 -0
  35. chela/contract.py +921 -0
  36. chela/critic.py +227 -0
  37. chela/dashboard/__init__.py +0 -0
  38. chela/dashboard/app.py +6405 -0
  39. chela/dashboard/frontend_build.py +78 -0
  40. chela/dashboard/resources.py +156 -0
  41. chela/dashboard/static/app/assets/Geist-Variable-DPGgOCY9.woff2 +0 -0
  42. chela/dashboard/static/app/assets/Heebo-CZLdcoYQ.woff2 +0 -0
  43. chela/dashboard/static/app/assets/main-CQW6yjFU.css +1 -0
  44. chela/dashboard/static/app/assets/main-vGkdtCIt.js +70 -0
  45. chela/dashboard/static/app/manifest.json +23 -0
  46. chela/dashboard/static/collab/e2e.js +191 -0
  47. chela/dashboard/static/collab/fit.js +26 -0
  48. chela/dashboard/static/collab/fit.test.mjs +43 -0
  49. chela/dashboard/static/collab/package.json +5 -0
  50. chela/dashboard/static/collab/presence-core.js +172 -0
  51. chela/dashboard/static/collab/presence-owner.d.ts +12 -0
  52. chela/dashboard/static/collab/presence-owner.js +288 -0
  53. chela/dashboard/static/collab/presence-shim.js +85 -0
  54. chela/dashboard/static/collab/presence.js +346 -0
  55. chela/dashboard/static/fonts/Assistant.woff2 +0 -0
  56. chela/dashboard/static/fonts/CascadiaCode.woff2 +0 -0
  57. chela/dashboard/static/fonts/DavidLibre-Bold.woff2 +0 -0
  58. chela/dashboard/static/fonts/DavidLibre-Regular.woff2 +0 -0
  59. chela/dashboard/static/fonts/FiraCode.woff2 +0 -0
  60. chela/dashboard/static/fonts/FrankRuhlLibre.woff2 +0 -0
  61. chela/dashboard/static/fonts/GPL-2.txt +339 -0
  62. chela/dashboard/static/fonts/Geist-Variable.woff2 +0 -0
  63. chela/dashboard/static/fonts/Heebo.woff2 +0 -0
  64. chela/dashboard/static/fonts/IBMPlexMono-Bold.woff2 +0 -0
  65. chela/dashboard/static/fonts/IBMPlexMono-Regular.woff2 +0 -0
  66. chela/dashboard/static/fonts/JetBrainsMono.ttf +0 -0
  67. chela/dashboard/static/fonts/JetBrainsMono.woff2 +0 -0
  68. chela/dashboard/static/fonts/LICENSE-Symbola.txt +19 -0
  69. chela/dashboard/static/fonts/MiriamMonoCLM-Bold.woff2 +0 -0
  70. chela/dashboard/static/fonts/MiriamMonoCLM-Book.ttf +0 -0
  71. chela/dashboard/static/fonts/MiriamMonoCLM-Book.woff2 +0 -0
  72. chela/dashboard/static/fonts/NotoSansHebrew.woff2 +0 -0
  73. chela/dashboard/static/fonts/OFL-Assistant.txt +95 -0
  74. chela/dashboard/static/fonts/OFL-CascadiaCode.txt +94 -0
  75. chela/dashboard/static/fonts/OFL-DavidLibre.txt +93 -0
  76. chela/dashboard/static/fonts/OFL-FiraCode.txt +93 -0
  77. chela/dashboard/static/fonts/OFL-FrankRuhlLibre.txt +105 -0
  78. chela/dashboard/static/fonts/OFL-Geist.txt +93 -0
  79. chela/dashboard/static/fonts/OFL-Heebo.txt +93 -0
  80. chela/dashboard/static/fonts/OFL-IBMPlexMono.txt +93 -0
  81. chela/dashboard/static/fonts/OFL-JetBrainsMono.txt +93 -0
  82. chela/dashboard/static/fonts/OFL-NotoSansHebrew.txt +93 -0
  83. chela/dashboard/static/fonts/OFL-Rubik.txt +93 -0
  84. chela/dashboard/static/fonts/OFL-SourceCodePro.txt +93 -0
  85. chela/dashboard/static/fonts/README.md +96 -0
  86. chela/dashboard/static/fonts/Rubik.woff2 +0 -0
  87. chela/dashboard/static/fonts/SourceCodePro.woff2 +0 -0
  88. chela/dashboard/static/fonts/Symbola-Subset.ttf +0 -0
  89. chela/dashboard/static/fonts/Symbola-Subset.woff2 +0 -0
  90. chela/dashboard/static/fonts/SymbolsNerdFont-FileIcons.woff2 +0 -0
  91. chela/dashboard/static/fonts/SymbolsNerdFont-FontAwesome.woff2 +0 -0
  92. chela/dashboard/static/fonts/SymbolsNerdFont-MaterialA.woff2 +0 -0
  93. chela/dashboard/static/fonts/SymbolsNerdFont-MaterialB.woff2 +0 -0
  94. chela/dashboard/static/fonts/SymbolsNerdFont-Powerline.woff2 +0 -0
  95. chela/dashboard/static/fonts/SymbolsNerdFont-UI.woff2 +0 -0
  96. chela/dashboard/static/fonts/SymbolsNerdFontMono-Regular.ttf +0 -0
  97. chela/dashboard/static/img/banner.svg +4 -0
  98. chela/dashboard/static/img/claw-mark.svg +3 -0
  99. chela/dashboard/static/img/favicon.svg +4 -0
  100. chela/dashboard/static/js/wallmodel.ts +319 -0
  101. chela/dashboard/static/js/windowid.ts +31 -0
  102. chela/dashboard/static/js/wire.ts +114 -0
  103. chela/dashboard/static/style.css +4172 -0
  104. chela/dashboard/static/term-reconnect.js +130 -0
  105. chela/dashboard/static/term-touch.css +10 -0
  106. chela/dashboard/static/term-upload.js +153 -0
  107. chela/dashboard/static/vendor/gridstack-all.js +3 -0
  108. chela/dashboard/static/vendor/gridstack.min.css +1 -0
  109. chela/dashboard/templates/index.html +30 -0
  110. chela/dashboard/term_fonts.py +124 -0
  111. chela/dashboard/term_themes.py +159 -0
  112. chela/diffsurface.py +192 -0
  113. chela/digest.py +434 -0
  114. chela/discovery.py +184 -0
  115. chela/dismissed_sessions.py +73 -0
  116. chela/dispatcher.py +9788 -0
  117. chela/doctor.py +118 -0
  118. chela/e2e.py +235 -0
  119. chela/envutil.py +403 -0
  120. chela/epoch.py +142 -0
  121. chela/event_log.py +626 -0
  122. chela/flaky.py +177 -0
  123. chela/fleet.py +285 -0
  124. chela/gateanswer.py +547 -0
  125. chela/generated.py +56 -0
  126. chela/handinmove.py +114 -0
  127. chela/hold.py +279 -0
  128. chela/hooks.py +1168 -0
  129. chela/inbox.py +3517 -0
  130. chela/judge.py +4133 -0
  131. chela/judge_eval/__init__.py +28 -0
  132. chela/judge_eval/cli.py +165 -0
  133. chela/judge_eval/data/cases.jsonl +89 -0
  134. chela/judge_eval/data/grader_controls.jsonl +8 -0
  135. chela/judge_eval/data/seeds.jsonl +4 -0
  136. chela/judge_eval/dataset.py +195 -0
  137. chela/judge_eval/design.py +142 -0
  138. chela/judge_eval/evaluate.py +303 -0
  139. chela/judge_eval/grade.py +320 -0
  140. chela/judge_eval/mine.py +241 -0
  141. chela/judge_eval/report.py +161 -0
  142. chela/judge_eval/rubric.md +83 -0
  143. chela/judge_eval/runner.py +79 -0
  144. chela/judge_select.py +485 -0
  145. chela/judge_timing.py +256 -0
  146. chela/keeper.py +463 -0
  147. chela/keeper_run.py +392 -0
  148. chela/keeper_schedule.py +145 -0
  149. chela/launcher.py +151 -0
  150. chela/main.py +5064 -0
  151. chela/malloc_arenas.py +61 -0
  152. chela/memcap.py +224 -0
  153. chela/mergegate.py +970 -0
  154. chela/messenger.py +996 -0
  155. chela/models.py +52 -0
  156. chela/notify.py +277 -0
  157. chela/okf.py +734 -0
  158. chela/ops.py +802 -0
  159. chela/orchestrator.py +267 -0
  160. chela/overrides.py +724 -0
  161. chela/park.py +196 -0
  162. chela/personas/__init__.py +155 -0
  163. chela/personas/autolaunch.py +434 -0
  164. chela/personas/lease.py +160 -0
  165. chela/personas/orchestrator.md +167 -0
  166. chela/pr_status.py +111 -0
  167. chela/probecache.py +126 -0
  168. chela/procguard.py +243 -0
  169. chela/rc_rename.py +233 -0
  170. chela/release.py +612 -0
  171. chela/release_notes.py +477 -0
  172. chela/restore.py +929 -0
  173. chela/resume_state.py +120 -0
  174. chela/reviewgate.py +64 -0
  175. chela/risktier.py +84 -0
  176. chela/rooms.py +699 -0
  177. chela/roster.py +261 -0
  178. chela/runtime_truth.py +3790 -0
  179. chela/sandbox.py +121 -0
  180. chela/sandbox_status.py +62 -0
  181. chela/scheduler.py +236 -0
  182. chela/scripts/cache-statusline.sh +114 -0
  183. chela/service_code.py +205 -0
  184. chela/sessionids.py +187 -0
  185. chela/sessions.py +1318 -0
  186. chela/shape_sites.py +148 -0
  187. chela/share_proxy.py +566 -0
  188. chela/share_requests.py +526 -0
  189. chela/share_sandbox.py +1240 -0
  190. chela/share_store.py +141 -0
  191. chela/share_web_proxy.py +472 -0
  192. chela/shell/claude-rc.sh +24 -0
  193. chela/sidebar_archive.py +449 -0
  194. chela/sidebar_layout.py +164 -0
  195. chela/sizegate.py +139 -0
  196. chela/sources/__init__.py +147 -0
  197. chela/sources/gh_issues.py +369 -0
  198. chela/sources/linear.py +1445 -0
  199. chela/sources/markdown.py +439 -0
  200. chela/spawn.py +399 -0
  201. chela/stall_alerts.py +186 -0
  202. chela/standing_rules.py +61 -0
  203. chela/starter.py +175 -0
  204. chela/suite_guard.py +470 -0
  205. chela/sweep.py +1283 -0
  206. chela/sweep_github.py +140 -0
  207. chela/sweep_nightly.py +781 -0
  208. chela/task_show.py +94 -0
  209. chela/tasklists.py +150 -0
  210. chela/telegram/__init__.py +128 -0
  211. chela/telegram/bindings.py +295 -0
  212. chela/telegram/detection_manifest.py +206 -0
  213. chela/telegram/detection_manifest.toml +128 -0
  214. chela/telegram/fleetcmd.py +61 -0
  215. chela/telegram/format.py +225 -0
  216. chela/telegram/gateanswers.py +199 -0
  217. chela/telegram/gatewatch.py +2142 -0
  218. chela/telegram/hookgate.py +184 -0
  219. chela/telegram/inbound.py +1258 -0
  220. chela/telegram/interactive.py +695 -0
  221. chela/telegram/media.py +291 -0
  222. chela/telegram/monitor.py +263 -0
  223. chela/telegram/newsession.py +220 -0
  224. chela/telegram/overridewatch.py +230 -0
  225. chela/telegram/panecache.py +141 -0
  226. chela/telegram/panescan.py +775 -0
  227. chela/telegram/parser.py +370 -0
  228. chela/telegram/reconcile.py +1025 -0
  229. chela/telegram/relay.py +928 -0
  230. chela/telegram/sandboxrelay.py +72 -0
  231. chela/telegram/screenshot.py +315 -0
  232. chela/telegram/senders.py +123 -0
  233. chela/ticklock.py +105 -0
  234. chela/toolconfig.py +142 -0
  235. chela/topic_ledger.py +97 -0
  236. chela/transcripts.py +556 -0
  237. chela/tui_text.py +87 -0
  238. chela/update.py +824 -0
  239. chela/uploads.py +148 -0
  240. chela/usage.py +589 -0
  241. chela/userconfig.py +48 -0
  242. chela/verdictcarry.py +135 -0
  243. chela/wait.py +269 -0
  244. chela/workflow.py +352 -0
  245. chela/worktree.py +636 -0
  246. chela/worktree_gc.py +375 -0
  247. chelamux-0.19.0.dist-info/METADATA +255 -0
  248. chelamux-0.19.0.dist-info/RECORD +252 -0
  249. chelamux-0.19.0.dist-info/WHEEL +4 -0
  250. chelamux-0.19.0.dist-info/entry_points.txt +3 -0
  251. chelamux-0.19.0.dist-info/licenses/LICENSE +661 -0
  252. chelamux-0.19.0.dist-info/licenses/NOTICE +97 -0
chela/__init__.py ADDED
@@ -0,0 +1,12 @@
1
+ """chela — a tiny control plane for a fleet of Claude Code agents on tmux."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ try:
6
+ # pyproject.toml's `version` field is the ONLY place this number is written.
7
+ # Deriving it here (instead of a second hardcoded literal) is what makes it
8
+ # a single fact — the two could otherwise drift silently, as they briefly
9
+ # did across 0.2.0 and 0.3.0.
10
+ __version__ = version("chelamux")
11
+ except PackageNotFoundError: # pragma: no cover - only when chelamux isn't installed at all
12
+ __version__ = "0.0.0+unknown"