archeus 2.0.0__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 (220) hide show
  1. archeus-2.0.0/LICENSE +21 -0
  2. archeus-2.0.0/PKG-INFO +229 -0
  3. archeus-2.0.0/README.md +195 -0
  4. archeus-2.0.0/archeus.egg-info/PKG-INFO +229 -0
  5. archeus-2.0.0/archeus.egg-info/SOURCES.txt +218 -0
  6. archeus-2.0.0/archeus.egg-info/dependency_links.txt +1 -0
  7. archeus-2.0.0/archeus.egg-info/entry_points.txt +2 -0
  8. archeus-2.0.0/archeus.egg-info/requires.txt +7 -0
  9. archeus-2.0.0/archeus.egg-info/top_level.txt +1 -0
  10. archeus-2.0.0/claude_sessions/__init__.py +0 -0
  11. archeus-2.0.0/claude_sessions/__main__.py +48 -0
  12. archeus-2.0.0/claude_sessions/accounts.py +189 -0
  13. archeus-2.0.0/claude_sessions/agentnudge_hook.py +112 -0
  14. archeus-2.0.0/claude_sessions/agents.py +975 -0
  15. archeus-2.0.0/claude_sessions/automode.py +238 -0
  16. archeus-2.0.0/claude_sessions/brief.py +439 -0
  17. archeus-2.0.0/claude_sessions/ccsettings.py +267 -0
  18. archeus-2.0.0/claude_sessions/checkpoints.py +150 -0
  19. archeus-2.0.0/claude_sessions/claude_md.py +1257 -0
  20. archeus-2.0.0/claude_sessions/cli.py +116 -0
  21. archeus-2.0.0/claude_sessions/clientstate.py +338 -0
  22. archeus-2.0.0/claude_sessions/concise_hook.py +43 -0
  23. archeus-2.0.0/claude_sessions/config.py +1075 -0
  24. archeus-2.0.0/claude_sessions/connections.py +1048 -0
  25. archeus-2.0.0/claude_sessions/context_inject.py +167 -0
  26. archeus-2.0.0/claude_sessions/conventions.py +254 -0
  27. archeus-2.0.0/claude_sessions/ctxaudit.py +328 -0
  28. archeus-2.0.0/claude_sessions/denygen.py +133 -0
  29. archeus-2.0.0/claude_sessions/diffview.py +310 -0
  30. archeus-2.0.0/claude_sessions/diskgc.py +178 -0
  31. archeus-2.0.0/claude_sessions/events.py +220 -0
  32. archeus-2.0.0/claude_sessions/failover.py +582 -0
  33. archeus-2.0.0/claude_sessions/guard_hook.py +58 -0
  34. archeus-2.0.0/claude_sessions/gui.py +854 -0
  35. archeus-2.0.0/claude_sessions/gui_api.py +3810 -0
  36. archeus-2.0.0/claude_sessions/gui_html.py +73 -0
  37. archeus-2.0.0/claude_sessions/gui_qt.py +116 -0
  38. archeus-2.0.0/claude_sessions/health.py +222 -0
  39. archeus-2.0.0/claude_sessions/hookrules.py +31 -0
  40. archeus-2.0.0/claude_sessions/hooks.py +900 -0
  41. archeus-2.0.0/claude_sessions/jsonstore.py +83 -0
  42. archeus-2.0.0/claude_sessions/lessons.py +317 -0
  43. archeus-2.0.0/claude_sessions/logbash_hook.py +113 -0
  44. archeus-2.0.0/claude_sessions/loops.py +529 -0
  45. archeus-2.0.0/claude_sessions/main.py +946 -0
  46. archeus-2.0.0/claude_sessions/mcp.py +372 -0
  47. archeus-2.0.0/claude_sessions/memdirty_hook.py +92 -0
  48. archeus-2.0.0/claude_sessions/memhub.py +294 -0
  49. archeus-2.0.0/claude_sessions/memory.py +1629 -0
  50. archeus-2.0.0/claude_sessions/memrules.py +157 -0
  51. archeus-2.0.0/claude_sessions/migrate.py +386 -0
  52. archeus-2.0.0/claude_sessions/minimalcode_hook.py +43 -0
  53. archeus-2.0.0/claude_sessions/models.py +280 -0
  54. archeus-2.0.0/claude_sessions/notify.py +116 -0
  55. archeus-2.0.0/claude_sessions/omniroute.py +524 -0
  56. archeus-2.0.0/claude_sessions/outputstyles.py +288 -0
  57. archeus-2.0.0/claude_sessions/paths.py +132 -0
  58. archeus-2.0.0/claude_sessions/plan_execute.py +669 -0
  59. archeus-2.0.0/claude_sessions/plugins.py +276 -0
  60. archeus-2.0.0/claude_sessions/proc.py +278 -0
  61. archeus-2.0.0/claude_sessions/provision.py +313 -0
  62. archeus-2.0.0/claude_sessions/quota.py +345 -0
  63. archeus-2.0.0/claude_sessions/recall.py +548 -0
  64. archeus-2.0.0/claude_sessions/recall_hook.py +80 -0
  65. archeus-2.0.0/claude_sessions/render.py +308 -0
  66. archeus-2.0.0/claude_sessions/repos.py +319 -0
  67. archeus-2.0.0/claude_sessions/review.py +267 -0
  68. archeus-2.0.0/claude_sessions/search.py +100 -0
  69. archeus-2.0.0/claude_sessions/session_menu.py +721 -0
  70. archeus-2.0.0/claude_sessions/sessions.py +552 -0
  71. archeus-2.0.0/claude_sessions/skills.py +797 -0
  72. archeus-2.0.0/claude_sessions/skills_templates/changelog/SKILL.md +26 -0
  73. archeus-2.0.0/claude_sessions/skills_templates/code-explainer/SKILL.md +26 -0
  74. archeus-2.0.0/claude_sessions/skills_templates/commit-message/SKILL.md +25 -0
  75. archeus-2.0.0/claude_sessions/skills_templates/pr-description/SKILL.md +40 -0
  76. archeus-2.0.0/claude_sessions/skills_templates/refactor-planner/SKILL.md +27 -0
  77. archeus-2.0.0/claude_sessions/skills_templates/security-review/SKILL.md +31 -0
  78. archeus-2.0.0/claude_sessions/skills_templates/test-writer/SKILL.md +29 -0
  79. archeus-2.0.0/claude_sessions/skills_templates/token-economy/SKILL.md +29 -0
  80. archeus-2.0.0/claude_sessions/skillscan.py +232 -0
  81. archeus-2.0.0/claude_sessions/stats.py +635 -0
  82. archeus-2.0.0/claude_sessions/statusline.py +550 -0
  83. archeus-2.0.0/claude_sessions/statusline_cli.py +32 -0
  84. archeus-2.0.0/claude_sessions/store.py +80 -0
  85. archeus-2.0.0/claude_sessions/system_prompt.py +160 -0
  86. archeus-2.0.0/claude_sessions/term.py +198 -0
  87. archeus-2.0.0/claude_sessions/testfilter_filter.py +47 -0
  88. archeus-2.0.0/claude_sessions/testfilter_hook.py +61 -0
  89. archeus-2.0.0/claude_sessions/themes.py +840 -0
  90. archeus-2.0.0/claude_sessions/transcript.py +236 -0
  91. archeus-2.0.0/claude_sessions/transcripts.py +87 -0
  92. archeus-2.0.0/claude_sessions/ui.py +1575 -0
  93. archeus-2.0.0/claude_sessions/usage.py +433 -0
  94. archeus-2.0.0/claude_sessions/versions.py +699 -0
  95. archeus-2.0.0/claude_sessions/web/app.css +1966 -0
  96. archeus-2.0.0/claude_sessions/web/app.js +6264 -0
  97. archeus-2.0.0/claude_sessions/web/index.html +245 -0
  98. archeus-2.0.0/claude_sessions/web/instruments.js +523 -0
  99. archeus-2.0.0/claude_sessions/web/motion.js +711 -0
  100. archeus-2.0.0/claude_sessions/web/stage.js +1165 -0
  101. archeus-2.0.0/claude_sessions/web/vendor/LICENSE-anime.txt +9 -0
  102. archeus-2.0.0/claude_sessions/web/vendor/LICENSE-three.txt +21 -0
  103. archeus-2.0.0/claude_sessions/web/vendor/anime.esm.min.js +7 -0
  104. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/EffectComposer.js +365 -0
  105. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/MaskPass.js +195 -0
  106. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/OutputPass.js +148 -0
  107. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/Pass.js +191 -0
  108. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/RenderPass.js +193 -0
  109. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/ShaderPass.js +135 -0
  110. archeus-2.0.0/claude_sessions/web/vendor/postprocessing/UnrealBloomPass.js +524 -0
  111. archeus-2.0.0/claude_sessions/web/vendor/shaders/CopyShader.js +52 -0
  112. archeus-2.0.0/claude_sessions/web/vendor/shaders/LuminosityHighPassShader.js +68 -0
  113. archeus-2.0.0/claude_sessions/web/vendor/shaders/OutputShader.js +103 -0
  114. archeus-2.0.0/claude_sessions/web/vendor/three.core.min.js +6 -0
  115. archeus-2.0.0/claude_sessions/web/vendor/three.module.min.js +6 -0
  116. archeus-2.0.0/claude_sessions/worklog.py +133 -0
  117. archeus-2.0.0/claude_sessions/worklog_hook.py +91 -0
  118. archeus-2.0.0/claude_sessions/workspace.py +838 -0
  119. archeus-2.0.0/claude_sessions/worktrees.py +303 -0
  120. archeus-2.0.0/pyproject.toml +102 -0
  121. archeus-2.0.0/setup.cfg +4 -0
  122. archeus-2.0.0/tests/test_account_scope.py +210 -0
  123. archeus-2.0.0/tests/test_accounts.py +57 -0
  124. archeus-2.0.0/tests/test_api_hardening.py +235 -0
  125. archeus-2.0.0/tests/test_automode.py +173 -0
  126. archeus-2.0.0/tests/test_bgscan.py +250 -0
  127. archeus-2.0.0/tests/test_brief.py +127 -0
  128. archeus-2.0.0/tests/test_cli_help.py +106 -0
  129. archeus-2.0.0/tests/test_clientstate.py +418 -0
  130. archeus-2.0.0/tests/test_config.py +129 -0
  131. archeus-2.0.0/tests/test_connections.py +170 -0
  132. archeus-2.0.0/tests/test_context_inject.py +189 -0
  133. archeus-2.0.0/tests/test_conventions.py +150 -0
  134. archeus-2.0.0/tests/test_ctxaudit.py +297 -0
  135. archeus-2.0.0/tests/test_dashboard.py +377 -0
  136. archeus-2.0.0/tests/test_demo_fixtures.py +103 -0
  137. archeus-2.0.0/tests/test_denygen.py +72 -0
  138. archeus-2.0.0/tests/test_diffview.py +108 -0
  139. archeus-2.0.0/tests/test_docs_numbers.py +120 -0
  140. archeus-2.0.0/tests/test_docs_site.py +331 -0
  141. archeus-2.0.0/tests/test_economy_model.py +69 -0
  142. archeus-2.0.0/tests/test_encoding_and_atomicity.py +226 -0
  143. archeus-2.0.0/tests/test_endpoint_floor.py +102 -0
  144. archeus-2.0.0/tests/test_events.py +175 -0
  145. archeus-2.0.0/tests/test_failover.py +533 -0
  146. archeus-2.0.0/tests/test_features.py +174 -0
  147. archeus-2.0.0/tests/test_gui.py +508 -0
  148. archeus-2.0.0/tests/test_gui_flicker.py +464 -0
  149. archeus-2.0.0/tests/test_gui_memory_surface.py +246 -0
  150. archeus-2.0.0/tests/test_gui_parity.py +1198 -0
  151. archeus-2.0.0/tests/test_gui_plain_language.py +334 -0
  152. archeus-2.0.0/tests/test_health.py +81 -0
  153. archeus-2.0.0/tests/test_hidden_projects.py +173 -0
  154. archeus-2.0.0/tests/test_hook_encoding.py +114 -0
  155. archeus-2.0.0/tests/test_inline_handlers.py +71 -0
  156. archeus-2.0.0/tests/test_job_thread_reach.py +210 -0
  157. archeus-2.0.0/tests/test_launch_integration.py +268 -0
  158. archeus-2.0.0/tests/test_lessons.py +134 -0
  159. archeus-2.0.0/tests/test_loops.py +375 -0
  160. archeus-2.0.0/tests/test_memauto.py +515 -0
  161. archeus-2.0.0/tests/test_memhub.py +63 -0
  162. archeus-2.0.0/tests/test_memory.py +1055 -0
  163. archeus-2.0.0/tests/test_memory_graph.py +64 -0
  164. archeus-2.0.0/tests/test_memrules.py +184 -0
  165. archeus-2.0.0/tests/test_migration.py +299 -0
  166. archeus-2.0.0/tests/test_model_guide.py +70 -0
  167. archeus-2.0.0/tests/test_models.py +579 -0
  168. archeus-2.0.0/tests/test_motion.py +197 -0
  169. archeus-2.0.0/tests/test_multiaccount_memory.py +142 -0
  170. archeus-2.0.0/tests/test_no_old_brand_string.py +86 -0
  171. archeus-2.0.0/tests/test_notify.py +176 -0
  172. archeus-2.0.0/tests/test_omniroute.py +448 -0
  173. archeus-2.0.0/tests/test_ostyles_checkpoints.py +288 -0
  174. archeus-2.0.0/tests/test_packaging.py +181 -0
  175. archeus-2.0.0/tests/test_parity_gate.py +265 -0
  176. archeus-2.0.0/tests/test_paths.py +191 -0
  177. archeus-2.0.0/tests/test_perf_safety.py +209 -0
  178. archeus-2.0.0/tests/test_phase5_ux.py +94 -0
  179. archeus-2.0.0/tests/test_plan_execute.py +621 -0
  180. archeus-2.0.0/tests/test_platform.py +262 -0
  181. archeus-2.0.0/tests/test_plugin.py +179 -0
  182. archeus-2.0.0/tests/test_plugins_worktrees.py +299 -0
  183. archeus-2.0.0/tests/test_primitives.py +283 -0
  184. archeus-2.0.0/tests/test_quota.py +369 -0
  185. archeus-2.0.0/tests/test_recall.py +157 -0
  186. archeus-2.0.0/tests/test_recall_eval.py +175 -0
  187. archeus-2.0.0/tests/test_recall_hook.py +105 -0
  188. archeus-2.0.0/tests/test_regressions.py +121 -0
  189. archeus-2.0.0/tests/test_render.py +201 -0
  190. archeus-2.0.0/tests/test_repos.py +205 -0
  191. archeus-2.0.0/tests/test_review.py +120 -0
  192. archeus-2.0.0/tests/test_security_fixes.py +263 -0
  193. archeus-2.0.0/tests/test_session_cache.py +151 -0
  194. archeus-2.0.0/tests/test_sessions.py +104 -0
  195. archeus-2.0.0/tests/test_shadowed_imports.py +80 -0
  196. archeus-2.0.0/tests/test_skillscan.py +211 -0
  197. archeus-2.0.0/tests/test_skin_reach.py +302 -0
  198. archeus-2.0.0/tests/test_skins.py +219 -0
  199. archeus-2.0.0/tests/test_stage.py +334 -0
  200. archeus-2.0.0/tests/test_statusline.py +490 -0
  201. archeus-2.0.0/tests/test_surface_parity.py +352 -0
  202. archeus-2.0.0/tests/test_themes.py +198 -0
  203. archeus-2.0.0/tests/test_tools_sanity.py +93 -0
  204. archeus-2.0.0/tests/test_tui_agents.py +473 -0
  205. archeus-2.0.0/tests/test_tui_generators.py +325 -0
  206. archeus-2.0.0/tests/test_tui_hooks.py +440 -0
  207. archeus-2.0.0/tests/test_tui_launch.py +247 -0
  208. archeus-2.0.0/tests/test_tui_main.py +193 -0
  209. archeus-2.0.0/tests/test_tui_mcp.py +143 -0
  210. archeus-2.0.0/tests/test_tui_memory.py +133 -0
  211. archeus-2.0.0/tests/test_tui_pager.py +117 -0
  212. archeus-2.0.0/tests/test_tui_sessions.py +284 -0
  213. archeus-2.0.0/tests/test_tui_skills.py +323 -0
  214. archeus-2.0.0/tests/test_tui_stats.py +182 -0
  215. archeus-2.0.0/tests/test_tui_widgets.py +171 -0
  216. archeus-2.0.0/tests/test_ui_progress.py +50 -0
  217. archeus-2.0.0/tests/test_usage.py +182 -0
  218. archeus-2.0.0/tests/test_versions.py +697 -0
  219. archeus-2.0.0/tests/test_worklog.py +111 -0
  220. archeus-2.0.0/tests/test_workspace.py +411 -0
archeus-2.0.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Babar Muhammad Anas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
archeus-2.0.0/PKG-INFO ADDED
@@ -0,0 +1,229 @@
1
+ Metadata-Version: 2.4
2
+ Name: archeus
3
+ Version: 2.0.0
4
+ Summary: The workspace layer for Claude Code - persistent project memory, an interactive architecture graph, MCP awareness, and per-project launch control in a fast terminal UI
5
+ Author: Babar Muhammad Anas
6
+ License: MIT
7
+ Project-URL: Homepage, https://claudectl.space
8
+ Project-URL: Documentation, https://docs.claudectl.space/
9
+ Project-URL: Repository, https://github.com/babarmuhammad/archeus
10
+ Project-URL: Source, https://github.com/babarmuhammad/archeus
11
+ Project-URL: Issues, https://github.com/babarmuhammad/archeus/issues
12
+ Project-URL: Changelog, https://claudectl.space/changelog
13
+ Keywords: claude,claude-code,tui,session-manager,windows,ai-agents,context-management,developer-tools,mcp,terminal-ui,workspace,session-history
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Environment :: Console
16
+ Classifier: Environment :: Win32 (MS Windows)
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: License :: OSI Approved :: MIT License
19
+ Classifier: Operating System :: Microsoft :: Windows
20
+ Classifier: Operating System :: MacOS
21
+ Classifier: Operating System :: POSIX :: Linux
22
+ Classifier: Programming Language :: Python :: 3
23
+ Classifier: Topic :: Software Development
24
+ Classifier: Topic :: Utilities
25
+ Requires-Python: >=3.10
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Provides-Extra: dev
29
+ Requires-Dist: pytest; extra == "dev"
30
+ Provides-Extra: gui
31
+ Requires-Dist: PyQt6; extra == "gui"
32
+ Requires-Dist: PyQt6-WebEngine; extra == "gui"
33
+ Dynamic: license-file
34
+
35
+ <h1 align="center">archeus</h1>
36
+
37
+ <p align="center">
38
+ <sub><i>Formerly <code>claudectl</code>. Everything migrates on first run —
39
+ settings, memory graphs and per-project state. Nothing is deleted.</i></sub>
40
+ </p>
41
+
42
+ <p align="center">
43
+ <b>The workspace layer for Claude Code.</b><br>
44
+ Your projects stop being a stream of chats and start being workspaces —
45
+ with memory, history, and per-project launch control.
46
+ </p>
47
+
48
+ <p align="center">
49
+ <img alt="Python" src="https://img.shields.io/badge/python-3.10%2B-blue">
50
+ <img alt="Platform" src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-0078D6">
51
+ <img alt="Dependencies" src="https://img.shields.io/badge/runtime%20deps-zero%20(stdlib)-brightgreen">
52
+ <img alt="Tests" src="https://img.shields.io/badge/tests-1493-brightgreen">
53
+ <img alt="License" src="https://img.shields.io/badge/license-MIT-green">
54
+ <img alt="Claude Code" src="https://img.shields.io/badge/for-Claude%20Code-8A5CF6">
55
+ </p>
56
+
57
+ <p align="center">
58
+ <b>🌐 <a href="https://claudectl.space">claudectl.space</a>
59
+ &nbsp;·&nbsp;
60
+ 📖 Full documentation → <a href="https://docs.claudectl.space/">docs.claudectl.space</a></b><br>
61
+ <sub>Everything below is the short version. Every feature, key binding and file is
62
+ documented in detail on the docs site.</sub><br>
63
+ <sub>
64
+ <a href="https://pypi.org/project/archeus/">PyPI</a> ·
65
+ <a href="https://claudectl.space/blog">Blog</a> ·
66
+ <a href="https://claudectl.space/faq">FAQ</a> ·
67
+ <a href="https://www.linkedin.com/in/muhammad-anas-babar-819647240">LinkedIn</a> ·
68
+ <a href="https://dev.to/muhammad_anasbabar_31256">dev.to</a>
69
+ </sub>
70
+ </p>
71
+
72
+ <p align="center">
73
+ <sub><i>Not the Rust <code>archeus</code>. Two independent projects share this name;
74
+ this one is the Python workspace layer for Claude Code.</i></sub>
75
+ </p>
76
+
77
+ <p align="center">
78
+ <img alt="archeus dashboard" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-dashboard.png" width="900">
79
+ </p>
80
+
81
+ ---
82
+
83
+ ## What problem does this solve?
84
+
85
+ Claude Code is excellent inside a session and forgetful between them. Every new
86
+ session starts from nothing, your old sessions are hard to find, and the only
87
+ way to give the agent context is a `CLAUDE.md` that grows until it costs more
88
+ than it's worth.
89
+
90
+ **archeus sits in front of Claude Code and fixes that.** Pick a project, see
91
+ every session you've ever had in it, and launch with the model, effort,
92
+ permissions and context you meant. Underneath, it maintains a semantic memory
93
+ of the codebase and injects only the part relevant to what you just asked.
94
+
95
+ It is a terminal UI and a desktop GUI over the same engine — use whichever you
96
+ prefer, they do the same things.
97
+
98
+ ## Quickstart
99
+
100
+ ```bash
101
+ pipx install archeus # or: pip install archeus
102
+ archeus
103
+ ```
104
+
105
+ There is nothing to build and no dependencies to install. To run it from a
106
+ checkout instead:
107
+
108
+ ```bash
109
+ git clone https://github.com/babarmuhammad/archeus.git
110
+ cd archeus
111
+ python claude-sessions.py # terminal UI
112
+ python claude-sessions.py --gui # desktop GUI
113
+ ```
114
+
115
+ Requires **Python 3.10+** and the
116
+ [Claude Code CLI](https://docs.anthropic.com/claude-code) (auto-detected on
117
+ PATH or at `~/.local/bin/`). No API key — it uses the Claude Code auth you
118
+ already have. No third-party packages.
119
+
120
+ It also ships as a Claude Code plugin, if you'd rather stay inside the session:
121
+
122
+ ```
123
+ /plugin marketplace add babarmuhammad/archeus
124
+ /plugin install archeus@archeus
125
+ ```
126
+
127
+ → [Full install guide](https://docs.claudectl.space/installation/)
128
+
129
+ ## What it looks like
130
+
131
+ <table>
132
+ <tr>
133
+ <td width="50%"><img alt="Session browser" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-sessions.png"><br>
134
+ <sub><b>Every session, every project.</b> Search, tag, fork, resume, archive,
135
+ export — across multiple Claude accounts at once.</sub></td>
136
+ <td width="50%"><img alt="Project memory" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-memory.png"><br>
137
+ <sub><b>Memory Claude built about your code.</b> Entities, relations and
138
+ lessons, with the token cost of every block shown before you spend it.</sub></td>
139
+ </tr>
140
+ <tr>
141
+ <td><img alt="Usage" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-usage.png"><br>
142
+ <sub><b>Where the tokens went.</b> Per day, per project, per account, per
143
+ model — read from your own transcripts, not an API.</sub></td>
144
+ <td><img alt="Claude Code's own state" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-claude-code.png"><br>
145
+ <sub><b>Claude Code itself, made visible.</b> Which skills and plugins you
146
+ actually use, what is on disk, and a typed editor for every account's
147
+ settings.</sub></td>
148
+ </tr>
149
+ </table>
150
+
151
+ The terminal UI is the same tool, keyboard-first:
152
+
153
+ <p align="center">
154
+ <img alt="archeus TUI — project picker" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/tui-main.png" width="49%">
155
+ <img alt="archeus TUI — sessions" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/tui-sessions.png" width="49%">
156
+ </p>
157
+
158
+ <p align="center">
159
+ <img alt="Architecture graph" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/graph-real.gif" width="820">
160
+ <br><sub><b>The architecture graph</b> — every module and its dependencies,
161
+ expandable down to single files (Python · C/C++ · C# · JS/TS).</sub>
162
+ </p>
163
+
164
+ <sub>Also: 32 palettes, 8 skins and 4 themed worlds — a skin changes the shape of the app,
165
+ not just its colours.
166
+ <a href="https://docs.claudectl.space/desktop/">See them →</a></sub>
167
+
168
+ ---
169
+
170
+ ## Why archeus
171
+
172
+ - 🧠 **Intelligent memory, not a memory dump** — task-scoped, token-budgeted injection at the launcher: a micro-index always on (≤250 tok), per-module detail loaded only when Claude touches those files, and an optional per-prompt hook that injects just the subgraph relevant to what you asked.
173
+ - 📚 **It learns from every session** — durable lessons (fixes, decisions, preferences) distilled from transcripts, human-reviewed, injected when relevant, decayed when stale.
174
+ - 🕸️ **See your architecture** — an animated, expandable dependency graph that opens at the project level and drills down to single files.
175
+ - 🩺 **Auto-solves common Claude Code pain** — pre-launch health checks, context-loss insurance after `/compact`, permission-fatigue killer, token-burn advisor, daily usage tracking.
176
+ - 🤖 **Adaptive agents** — the right subagents suggested (or auto-applied) per project from local signals.
177
+ - 📦 **Workspace, not chats** — browse, search, tag, fork, resume and archive every Claude Code session across every project and account.
178
+ - ⚡ **Zero runtime dependencies** — pure Python standard library; uses your existing Claude Code auth.
179
+
180
+ ### How archeus saves tokens
181
+
182
+ Without archeus, a big project either starves the agent (no context) or floods it (a huge CLAUDE.md loaded every message). archeus spends the *minimum* tokens for the *maximum* relevant context:
183
+
184
+ - **Flat always-on cost** — the CLAUDE.md block is a ≤250-token index, not a full dump; it does **not** grow as the codebase grows.
185
+ - **On-demand detail** — per-module knowledge lives in path-scoped `.claude/rules/`, so nothing is paid for until it's relevant.
186
+ - **Task-scoped injection** — the optional prompt hook injects only the subgraph your prompt actually needs (budgeted, default ≤600 tok).
187
+ - **No stale weight** — superseded facts are invalidated, dead entities evicted.
188
+ - **Cheaper model for the grunt work** — Plan→Execute runs the expensive model once for the plan and a cheap (or free) one for execution.
189
+
190
+ → [How the token economy works](https://docs.claudectl.space/usage/)
191
+
192
+ ---
193
+
194
+ ## Documentation
195
+
196
+ The full manual lives at **[docs.claudectl.space](https://docs.claudectl.space/)**.
197
+
198
+ | | |
199
+ |---|---|
200
+ | [Getting started](https://docs.claudectl.space/getting-started/) | what it is, the three surfaces, where to go next |
201
+ | [Installation](https://docs.claudectl.space/installation/) | pipx, pip, checkout, plugin, GUI window, Windows shortcuts |
202
+ | [Quickstart](https://docs.claudectl.space/quickstart/) | install to first session in five minutes |
203
+ | [Command line](https://docs.claudectl.space/cli/) | every command, for scripts and hooks |
204
+ | [Terminal UI](https://docs.claudectl.space/tui/) | every screen and every key binding |
205
+ | [Desktop app](https://docs.claudectl.space/desktop/) | the same workspace as a local app, plus the theme system |
206
+ | [Configuration](https://docs.claudectl.space/configuration/) | every file archeus reads and writes, and where |
207
+ | [Project memory](https://docs.claudectl.space/memory/) | the three injection surfaces, lessons, recall |
208
+ | [Architecture graph](https://docs.claudectl.space/architecture/) | the interactive dependency view |
209
+ | [Usage & cost](https://docs.claudectl.space/usage/) | measuring and cutting the per-turn cost |
210
+ | [API reference](https://docs.claudectl.space/api/) | the local HTTP API the GUI is built on |
211
+ | [Troubleshooting](https://docs.claudectl.space/troubleshooting/) | when something does not work |
212
+
213
+ Product pages — [Features](https://claudectl.space/features/) ·
214
+ [Compare](https://docs.claudectl.space/compare/) · [FAQ](https://claudectl.space/faq/) ·
215
+ [Download](https://claudectl.space/download/) ·
216
+ [Changelog](https://claudectl.space/changelog/) — are on
217
+ [claudectl.space](https://claudectl.space/).
218
+
219
+ ## Credits
220
+
221
+ archeus is built on ideas from the wider Claude Code ecosystem — cognee and Aider's
222
+ repo-map behind the memory graph, Anthropic's `code-review` plugin behind `archeus review`,
223
+ claude-mem behind recent-work memory, OmniRoute behind free execution, and VoltAgent's
224
+ subagent catalog behind the agent library. Every one is credited, with links, on the
225
+ [Credits page](https://docs.claudectl.space/credits/).
226
+
227
+ ## License
228
+
229
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,195 @@
1
+ <h1 align="center">archeus</h1>
2
+
3
+ <p align="center">
4
+ <sub><i>Formerly <code>claudectl</code>. Everything migrates on first run —
5
+ settings, memory graphs and per-project state. Nothing is deleted.</i></sub>
6
+ </p>
7
+
8
+ <p align="center">
9
+ <b>The workspace layer for Claude Code.</b><br>
10
+ Your projects stop being a stream of chats and start being workspaces —
11
+ with memory, history, and per-project launch control.
12
+ </p>
13
+
14
+ <p align="center">
15
+ <img alt="Python" src="https://img.shields.io/badge/python-3.10%2B-blue">
16
+ <img alt="Platform" src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-0078D6">
17
+ <img alt="Dependencies" src="https://img.shields.io/badge/runtime%20deps-zero%20(stdlib)-brightgreen">
18
+ <img alt="Tests" src="https://img.shields.io/badge/tests-1493-brightgreen">
19
+ <img alt="License" src="https://img.shields.io/badge/license-MIT-green">
20
+ <img alt="Claude Code" src="https://img.shields.io/badge/for-Claude%20Code-8A5CF6">
21
+ </p>
22
+
23
+ <p align="center">
24
+ <b>🌐 <a href="https://claudectl.space">claudectl.space</a>
25
+ &nbsp;·&nbsp;
26
+ 📖 Full documentation → <a href="https://docs.claudectl.space/">docs.claudectl.space</a></b><br>
27
+ <sub>Everything below is the short version. Every feature, key binding and file is
28
+ documented in detail on the docs site.</sub><br>
29
+ <sub>
30
+ <a href="https://pypi.org/project/archeus/">PyPI</a> ·
31
+ <a href="https://claudectl.space/blog">Blog</a> ·
32
+ <a href="https://claudectl.space/faq">FAQ</a> ·
33
+ <a href="https://www.linkedin.com/in/muhammad-anas-babar-819647240">LinkedIn</a> ·
34
+ <a href="https://dev.to/muhammad_anasbabar_31256">dev.to</a>
35
+ </sub>
36
+ </p>
37
+
38
+ <p align="center">
39
+ <sub><i>Not the Rust <code>archeus</code>. Two independent projects share this name;
40
+ this one is the Python workspace layer for Claude Code.</i></sub>
41
+ </p>
42
+
43
+ <p align="center">
44
+ <img alt="archeus dashboard" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-dashboard.png" width="900">
45
+ </p>
46
+
47
+ ---
48
+
49
+ ## What problem does this solve?
50
+
51
+ Claude Code is excellent inside a session and forgetful between them. Every new
52
+ session starts from nothing, your old sessions are hard to find, and the only
53
+ way to give the agent context is a `CLAUDE.md` that grows until it costs more
54
+ than it's worth.
55
+
56
+ **archeus sits in front of Claude Code and fixes that.** Pick a project, see
57
+ every session you've ever had in it, and launch with the model, effort,
58
+ permissions and context you meant. Underneath, it maintains a semantic memory
59
+ of the codebase and injects only the part relevant to what you just asked.
60
+
61
+ It is a terminal UI and a desktop GUI over the same engine — use whichever you
62
+ prefer, they do the same things.
63
+
64
+ ## Quickstart
65
+
66
+ ```bash
67
+ pipx install archeus # or: pip install archeus
68
+ archeus
69
+ ```
70
+
71
+ There is nothing to build and no dependencies to install. To run it from a
72
+ checkout instead:
73
+
74
+ ```bash
75
+ git clone https://github.com/babarmuhammad/archeus.git
76
+ cd archeus
77
+ python claude-sessions.py # terminal UI
78
+ python claude-sessions.py --gui # desktop GUI
79
+ ```
80
+
81
+ Requires **Python 3.10+** and the
82
+ [Claude Code CLI](https://docs.anthropic.com/claude-code) (auto-detected on
83
+ PATH or at `~/.local/bin/`). No API key — it uses the Claude Code auth you
84
+ already have. No third-party packages.
85
+
86
+ It also ships as a Claude Code plugin, if you'd rather stay inside the session:
87
+
88
+ ```
89
+ /plugin marketplace add babarmuhammad/archeus
90
+ /plugin install archeus@archeus
91
+ ```
92
+
93
+ → [Full install guide](https://docs.claudectl.space/installation/)
94
+
95
+ ## What it looks like
96
+
97
+ <table>
98
+ <tr>
99
+ <td width="50%"><img alt="Session browser" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-sessions.png"><br>
100
+ <sub><b>Every session, every project.</b> Search, tag, fork, resume, archive,
101
+ export — across multiple Claude accounts at once.</sub></td>
102
+ <td width="50%"><img alt="Project memory" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-memory.png"><br>
103
+ <sub><b>Memory Claude built about your code.</b> Entities, relations and
104
+ lessons, with the token cost of every block shown before you spend it.</sub></td>
105
+ </tr>
106
+ <tr>
107
+ <td><img alt="Usage" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-usage.png"><br>
108
+ <sub><b>Where the tokens went.</b> Per day, per project, per account, per
109
+ model — read from your own transcripts, not an API.</sub></td>
110
+ <td><img alt="Claude Code's own state" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/gui-claude-code.png"><br>
111
+ <sub><b>Claude Code itself, made visible.</b> Which skills and plugins you
112
+ actually use, what is on disk, and a typed editor for every account's
113
+ settings.</sub></td>
114
+ </tr>
115
+ </table>
116
+
117
+ The terminal UI is the same tool, keyboard-first:
118
+
119
+ <p align="center">
120
+ <img alt="archeus TUI — project picker" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/tui-main.png" width="49%">
121
+ <img alt="archeus TUI — sessions" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/img/tui-sessions.png" width="49%">
122
+ </p>
123
+
124
+ <p align="center">
125
+ <img alt="Architecture graph" src="https://raw.githubusercontent.com/babarmuhammad/archeus/main/docs/graph-real.gif" width="820">
126
+ <br><sub><b>The architecture graph</b> — every module and its dependencies,
127
+ expandable down to single files (Python · C/C++ · C# · JS/TS).</sub>
128
+ </p>
129
+
130
+ <sub>Also: 32 palettes, 8 skins and 4 themed worlds — a skin changes the shape of the app,
131
+ not just its colours.
132
+ <a href="https://docs.claudectl.space/desktop/">See them →</a></sub>
133
+
134
+ ---
135
+
136
+ ## Why archeus
137
+
138
+ - 🧠 **Intelligent memory, not a memory dump** — task-scoped, token-budgeted injection at the launcher: a micro-index always on (≤250 tok), per-module detail loaded only when Claude touches those files, and an optional per-prompt hook that injects just the subgraph relevant to what you asked.
139
+ - 📚 **It learns from every session** — durable lessons (fixes, decisions, preferences) distilled from transcripts, human-reviewed, injected when relevant, decayed when stale.
140
+ - 🕸️ **See your architecture** — an animated, expandable dependency graph that opens at the project level and drills down to single files.
141
+ - 🩺 **Auto-solves common Claude Code pain** — pre-launch health checks, context-loss insurance after `/compact`, permission-fatigue killer, token-burn advisor, daily usage tracking.
142
+ - 🤖 **Adaptive agents** — the right subagents suggested (or auto-applied) per project from local signals.
143
+ - 📦 **Workspace, not chats** — browse, search, tag, fork, resume and archive every Claude Code session across every project and account.
144
+ - ⚡ **Zero runtime dependencies** — pure Python standard library; uses your existing Claude Code auth.
145
+
146
+ ### How archeus saves tokens
147
+
148
+ Without archeus, a big project either starves the agent (no context) or floods it (a huge CLAUDE.md loaded every message). archeus spends the *minimum* tokens for the *maximum* relevant context:
149
+
150
+ - **Flat always-on cost** — the CLAUDE.md block is a ≤250-token index, not a full dump; it does **not** grow as the codebase grows.
151
+ - **On-demand detail** — per-module knowledge lives in path-scoped `.claude/rules/`, so nothing is paid for until it's relevant.
152
+ - **Task-scoped injection** — the optional prompt hook injects only the subgraph your prompt actually needs (budgeted, default ≤600 tok).
153
+ - **No stale weight** — superseded facts are invalidated, dead entities evicted.
154
+ - **Cheaper model for the grunt work** — Plan→Execute runs the expensive model once for the plan and a cheap (or free) one for execution.
155
+
156
+ → [How the token economy works](https://docs.claudectl.space/usage/)
157
+
158
+ ---
159
+
160
+ ## Documentation
161
+
162
+ The full manual lives at **[docs.claudectl.space](https://docs.claudectl.space/)**.
163
+
164
+ | | |
165
+ |---|---|
166
+ | [Getting started](https://docs.claudectl.space/getting-started/) | what it is, the three surfaces, where to go next |
167
+ | [Installation](https://docs.claudectl.space/installation/) | pipx, pip, checkout, plugin, GUI window, Windows shortcuts |
168
+ | [Quickstart](https://docs.claudectl.space/quickstart/) | install to first session in five minutes |
169
+ | [Command line](https://docs.claudectl.space/cli/) | every command, for scripts and hooks |
170
+ | [Terminal UI](https://docs.claudectl.space/tui/) | every screen and every key binding |
171
+ | [Desktop app](https://docs.claudectl.space/desktop/) | the same workspace as a local app, plus the theme system |
172
+ | [Configuration](https://docs.claudectl.space/configuration/) | every file archeus reads and writes, and where |
173
+ | [Project memory](https://docs.claudectl.space/memory/) | the three injection surfaces, lessons, recall |
174
+ | [Architecture graph](https://docs.claudectl.space/architecture/) | the interactive dependency view |
175
+ | [Usage & cost](https://docs.claudectl.space/usage/) | measuring and cutting the per-turn cost |
176
+ | [API reference](https://docs.claudectl.space/api/) | the local HTTP API the GUI is built on |
177
+ | [Troubleshooting](https://docs.claudectl.space/troubleshooting/) | when something does not work |
178
+
179
+ Product pages — [Features](https://claudectl.space/features/) ·
180
+ [Compare](https://docs.claudectl.space/compare/) · [FAQ](https://claudectl.space/faq/) ·
181
+ [Download](https://claudectl.space/download/) ·
182
+ [Changelog](https://claudectl.space/changelog/) — are on
183
+ [claudectl.space](https://claudectl.space/).
184
+
185
+ ## Credits
186
+
187
+ archeus is built on ideas from the wider Claude Code ecosystem — cognee and Aider's
188
+ repo-map behind the memory graph, Anthropic's `code-review` plugin behind `archeus review`,
189
+ claude-mem behind recent-work memory, OmniRoute behind free execution, and VoltAgent's
190
+ subagent catalog behind the agent library. Every one is credited, with links, on the
191
+ [Credits page](https://docs.claudectl.space/credits/).
192
+
193
+ ## License
194
+
195
+ MIT — see [LICENSE](LICENSE).