code-context-control 2.158.3__tar.gz → 2.158.5__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 (625) hide show
  1. {code_context_control-2.158.3/code_context_control.egg-info → code_context_control-2.158.5}/PKG-INFO +1 -1
  2. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/c3.py +1 -1
  3. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_session_open.py +18 -4
  4. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/mcp_server.py +10 -1
  5. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/server.py +4 -0
  6. {code_context_control-2.158.3 → code_context_control-2.158.5/code_context_control.egg-info}/PKG-INFO +1 -1
  7. {code_context_control-2.158.3 → code_context_control-2.158.5}/code_context_control.egg-info/SOURCES.txt +5 -0
  8. code_context_control-2.158.5/core/mcp_stack.py +114 -0
  9. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/mobile_api.py +41 -27
  10. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/mobile_fleet.py +4 -5
  11. {code_context_control-2.158.3 → code_context_control-2.158.5}/pyproject.toml +1 -1
  12. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/file_memory.py +37 -22
  13. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ollama_client.py +49 -17
  14. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/project_manager.py +1 -1
  15. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/retention.py +66 -1
  16. code_context_control-2.158.5/tests/test_mcp_stack.py +122 -0
  17. code_context_control-2.158.5/tests/test_mobile_registered_rows.py +85 -0
  18. code_context_control-2.158.5/tests/test_ollama_probe_cache.py +85 -0
  19. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_retention.py +82 -0
  20. code_context_control-2.158.5/tests/test_ui_health_probe.py +64 -0
  21. {code_context_control-2.158.3 → code_context_control-2.158.5}/LICENSE +0 -0
  22. {code_context_control-2.158.3 → code_context_control-2.158.5}/README.md +0 -0
  23. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/__init__.py +0 -0
  24. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/_hook_utils.py +0 -0
  25. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/_shell_writes.py +0 -0
  26. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/commands/__init__.py +0 -0
  27. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/commands/common.py +0 -0
  28. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/commands/parser.py +0 -0
  29. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/docs.html +0 -0
  30. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/edits.html +0 -0
  31. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/access.html +0 -0
  32. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/bitbucket.html +0 -0
  33. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/ci.html +0 -0
  34. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/credentials.html +0 -0
  35. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/delegate.html +0 -0
  36. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/getting-started.html +0 -0
  37. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/index.html +0 -0
  38. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/jira.html +0 -0
  39. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/masking.html +0 -0
  40. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/oracle.html +0 -0
  41. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/sessions.html +0 -0
  42. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/shared.css +0 -0
  43. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/tools.html +0 -0
  44. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/guide/workflow.html +0 -0
  45. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_access_guard.py +0 -0
  46. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_agent_model.py +0 -0
  47. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_artifact.py +0 -0
  48. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_auto_snapshot.py +0 -0
  49. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_c3_signal.py +0 -0
  50. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_c3read.py +0 -0
  51. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_codex_lifecycle.py +0 -0
  52. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_dispatch.py +0 -0
  53. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_edit_ledger.py +0 -0
  54. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_edit_unlock.py +0 -0
  55. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_filter.py +0 -0
  56. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_ghost_files.py +0 -0
  57. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_pretool_enforce.py +0 -0
  58. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_prompt_recall.py +0 -0
  59. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_read.py +0 -0
  60. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_session_end.py +0 -0
  61. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_session_stats.py +0 -0
  62. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hook_terse_advisor.py +0 -0
  63. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_server.py +0 -0
  64. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/app.js +0 -0
  65. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/add_project.js +0 -0
  66. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/config_editor.js +0 -0
  67. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/drill_artifacts.js +0 -0
  68. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/drill_health.js +0 -0
  69. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/drill_panel.js +0 -0
  70. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/drill_subprojects.js +0 -0
  71. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/drill_tasks.js +0 -0
  72. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/drill_views.js +0 -0
  73. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/global_search.js +0 -0
  74. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_access.js +0 -0
  75. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_ci.js +0 -0
  76. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_cred_audit.js +0 -0
  77. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_credentials.js +0 -0
  78. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_enforcement.js +0 -0
  79. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_locks.js +0 -0
  80. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_schedules.js +0 -0
  81. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_sessions.js +0 -0
  82. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/hub_tokens.js +0 -0
  83. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/mcp_manager.js +0 -0
  84. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/modals.js +0 -0
  85. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/project_card.js +0 -0
  86. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/project_tree.js +0 -0
  87. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/session_drawer.js +0 -0
  88. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/settings_modal.js +0 -0
  89. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/sidebar.js +0 -0
  90. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/summary_bar.js +0 -0
  91. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/task_board.js +0 -0
  92. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/toasts.js +0 -0
  93. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/components/topbar.js +0 -0
  94. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui/state.js +0 -0
  95. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/hub_ui.html +0 -0
  96. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/mcp_proxy.py +0 -0
  97. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/progress.py +0 -0
  98. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/__init__.py +0 -0
  99. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/_edit_report.py +0 -0
  100. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/_grants.py +0 -0
  101. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/_helpers.py +0 -0
  102. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/_json_reply.py +0 -0
  103. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/agent.py +0 -0
  104. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/artifacts.py +0 -0
  105. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/bitbucket.py +0 -0
  106. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/ci.py +0 -0
  107. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/compress.py +0 -0
  108. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/credentials.py +0 -0
  109. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/delegate.py +0 -0
  110. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/edit.py +0 -0
  111. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/edit_verify.py +0 -0
  112. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/edits.py +0 -0
  113. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/federate.py +0 -0
  114. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/filter.py +0 -0
  115. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/impact.py +0 -0
  116. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/jira.py +0 -0
  117. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/locks.py +0 -0
  118. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/memory.py +0 -0
  119. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/override.py +0 -0
  120. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/project.py +0 -0
  121. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/read.py +0 -0
  122. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/schedule.py +0 -0
  123. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/search.py +0 -0
  124. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/session.py +0 -0
  125. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/shell.py +0 -0
  126. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/shell_job.py +0 -0
  127. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/shell_nudge.py +0 -0
  128. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/shell_parsers.py +0 -0
  129. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/shell_render.py +0 -0
  130. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/status.py +0 -0
  131. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/tasks.py +0 -0
  132. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/tools/validate.py +0 -0
  133. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/api.js +0 -0
  134. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/app.js +0 -0
  135. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/access.js +0 -0
  136. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/bitbucket.js +0 -0
  137. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/chat.js +0 -0
  138. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/credentials.js +0 -0
  139. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/dashboard.js +0 -0
  140. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/edits.js +0 -0
  141. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/enforcement.js +0 -0
  142. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/instructions.js +0 -0
  143. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/jira.js +0 -0
  144. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/memory.js +0 -0
  145. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/sessions.js +0 -0
  146. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/settings.js +0 -0
  147. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/sidebar.js +0 -0
  148. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/components/tasks.js +0 -0
  149. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/icons.js +0 -0
  150. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/pm_shared.js +0 -0
  151. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/shared.js +0 -0
  152. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui/theme.js +0 -0
  153. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui.html +0 -0
  154. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui_legacy.html +0 -0
  155. {code_context_control-2.158.3 → code_context_control-2.158.5}/cli/ui_nano.html +0 -0
  156. {code_context_control-2.158.3 → code_context_control-2.158.5}/code_context_control.egg-info/dependency_links.txt +0 -0
  157. {code_context_control-2.158.3 → code_context_control-2.158.5}/code_context_control.egg-info/entry_points.txt +0 -0
  158. {code_context_control-2.158.3 → code_context_control-2.158.5}/code_context_control.egg-info/requires.txt +0 -0
  159. {code_context_control-2.158.3 → code_context_control-2.158.5}/code_context_control.egg-info/top_level.txt +0 -0
  160. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/__init__.py +0 -0
  161. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/codex_patch.py +0 -0
  162. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/config.py +0 -0
  163. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/grok_payload.py +0 -0
  164. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/hook_command.py +0 -0
  165. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/host.py +0 -0
  166. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/ide.py +0 -0
  167. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/mcp_toml.py +0 -0
  168. {code_context_control-2.158.3 → code_context_control-2.158.5}/core/web_security.py +0 -0
  169. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/__init__.py +0 -0
  170. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/config.py +0 -0
  171. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/listeners.py +0 -0
  172. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/mcp_oracle.py +0 -0
  173. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/oracle_server.py +0 -0
  174. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/oracle_ui.html +0 -0
  175. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/__init__.py +0 -0
  176. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/activity_reporter.py +0 -0
  177. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/api_auth.py +0 -0
  178. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/c3_bridge.py +0 -0
  179. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/chat_engine.py +0 -0
  180. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/chat_poll.py +0 -0
  181. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/chat_store.py +0 -0
  182. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/client_tokens.py +0 -0
  183. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/cross_memory.py +0 -0
  184. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/discovery_audit.py +0 -0
  185. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/federated_graph.py +0 -0
  186. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/health_checker.py +0 -0
  187. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/insight_engine.py +0 -0
  188. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/local_session.py +0 -0
  189. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/memory_reader.py +0 -0
  190. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/memory_writer.py +0 -0
  191. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/project_scanner.py +0 -0
  192. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/review_agent.py +0 -0
  193. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/schedule_api.py +0 -0
  194. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/scheduler.py +0 -0
  195. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/tool_executor.py +0 -0
  196. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/services/tool_registry.py +0 -0
  197. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/activity.js +0 -0
  198. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/agents.js +0 -0
  199. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/app.js +0 -0
  200. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/busy.js +0 -0
  201. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/chat/conversations.js +0 -0
  202. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/chat/input.js +0 -0
  203. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/chat/markdown.js +0 -0
  204. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/chat/send.js +0 -0
  205. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/chat/stream_renderer.js +0 -0
  206. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/chat/toolbar.js +0 -0
  207. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/core.js +0 -0
  208. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/crossgraph.js +0 -0
  209. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/header.js +0 -0
  210. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/insights.js +0 -0
  211. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/projects.js +0 -0
  212. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/qrcode.js +0 -0
  213. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/settings.js +0 -0
  214. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/suggestions.js +0 -0
  215. {code_context_control-2.158.3 → code_context_control-2.158.5}/oracle/ui/theme_tabs.js +0 -0
  216. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/__init__.py +0 -0
  217. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/access_guard.py +0 -0
  218. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/access_telemetry.py +0 -0
  219. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/activity_log.py +0 -0
  220. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/agent_base.py +0 -0
  221. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/agent_downshift.py +0 -0
  222. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/agent_locks.py +0 -0
  223. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/agents.py +0 -0
  224. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/agents_workflow.py +0 -0
  225. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/artifact_defs.py +0 -0
  226. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/artifact_store.py +0 -0
  227. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/atomic_json.py +0 -0
  228. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/auto_memory.py +0 -0
  229. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/background_service.py +0 -0
  230. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/__init__.py +0 -0
  231. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/delegate_eval.py +0 -0
  232. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/delegate_write_eval.py +0 -0
  233. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/external/__init__.py +0 -0
  234. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/external/aider_polyglot.py +0 -0
  235. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/external/swe_bench.py +0 -0
  236. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/map_eval.py +0 -0
  237. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/search_eval.py +0 -0
  238. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bench/shell_eval.py +0 -0
  239. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/benchmark_dashboard.py +0 -0
  240. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bitbucket_client.py +0 -0
  241. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/bitbucket_credentials.py +0 -0
  242. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/builtin_leases.py +0 -0
  243. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_act.py +0 -0
  244. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_cache.py +0 -0
  245. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_expr.py +0 -0
  246. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_failures.py +0 -0
  247. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_github.py +0 -0
  248. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_impact.py +0 -0
  249. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_intel.py +0 -0
  250. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_runner.py +0 -0
  251. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ci_workflow.py +0 -0
  252. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/circuit_breaker.py +0 -0
  253. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/claude_md.py +0 -0
  254. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/codex_integration.py +0 -0
  255. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/codex_transcript.py +0 -0
  256. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/compressor.py +0 -0
  257. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/context_snapshot.py +0 -0
  258. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/conversation_store.py +0 -0
  259. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/cred_audit.py +0 -0
  260. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/cred_telemetry.py +0 -0
  261. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/credential_backup.py +0 -0
  262. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/credential_store.py +0 -0
  263. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/cron_expr.py +0 -0
  264. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/delegate_agents.py +0 -0
  265. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/delegate_hints.py +0 -0
  266. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/delegate_write.py +0 -0
  267. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/dir_map.py +0 -0
  268. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/doc_index.py +0 -0
  269. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/e2e_benchmark.py +0 -0
  270. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/e2e_evaluator.py +0 -0
  271. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/e2e_tasks.py +0 -0
  272. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/edit_blobs.py +0 -0
  273. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/edit_ledger.py +0 -0
  274. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/embedding_index.py +0 -0
  275. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/enforcement_policy.py +0 -0
  276. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/error_reporting.py +0 -0
  277. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/file_map.py +0 -0
  278. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/fleet_overview.py +0 -0
  279. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/git_context.py +0 -0
  280. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/grok_integration.py +0 -0
  281. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/grok_transcript.py +0 -0
  282. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/host_handoff.py +0 -0
  283. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/host_sessions.py +0 -0
  284. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/hub_service.py +0 -0
  285. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/index_store.py +0 -0
  286. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/indexer.py +0 -0
  287. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/jira_client.py +0 -0
  288. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/jira_cloud.py +0 -0
  289. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/jira_credentials.py +0 -0
  290. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/jira_data_center.py +0 -0
  291. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/jira_links.py +0 -0
  292. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/lexical_index.py +0 -0
  293. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/mask_activation.py +0 -0
  294. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/mask_mirror.py +0 -0
  295. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/mask_presets.py +0 -0
  296. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory.py +0 -0
  297. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory_consolidator.py +0 -0
  298. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory_distiller.py +0 -0
  299. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory_graph.py +0 -0
  300. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory_grounder.py +0 -0
  301. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory_queue.py +0 -0
  302. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/memory_scorer.py +0 -0
  303. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/metrics.py +0 -0
  304. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/notifications.py +0 -0
  305. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ollama_bridge.py +0 -0
  306. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ollama_credentials.py +0 -0
  307. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/oracle_service.py +0 -0
  308. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/output_filter.py +0 -0
  309. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/override_costs.py +0 -0
  310. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/override_grants.py +0 -0
  311. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/override_policy.py +0 -0
  312. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/override_requests.py +0 -0
  313. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/override_wake.py +0 -0
  314. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/parser.py +0 -0
  315. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/project_runtime.py +0 -0
  316. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/protocol.py +0 -0
  317. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/proxy_state.py +0 -0
  318. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/read_stamps.py +0 -0
  319. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/repo_map.py +0 -0
  320. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/repo_shape.py +0 -0
  321. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/reranker.py +0 -0
  322. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/retrieval.py +0 -0
  323. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/retrieval_broker.py +0 -0
  324. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/router.py +0 -0
  325. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/runtime.py +0 -0
  326. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/scanner.py +0 -0
  327. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/schedule_approvals.py +0 -0
  328. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/schedule_runner.py +0 -0
  329. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/schedule_store.py +0 -0
  330. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/session_benchmark.py +0 -0
  331. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/session_catalog.py +0 -0
  332. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/session_live.py +0 -0
  333. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/session_manager.py +0 -0
  334. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/session_preloader.py +0 -0
  335. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/shell_jobs.py +0 -0
  336. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/shell_output.py +0 -0
  337. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/subprojects.py +0 -0
  338. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/task_store.py +0 -0
  339. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/telemetry.py +0 -0
  340. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/terminal_launch.py +0 -0
  341. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/text_index.py +0 -0
  342. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/time_tracker.py +0 -0
  343. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/tool_classifier.py +0 -0
  344. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/transcript_index.py +0 -0
  345. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/ui_registry.py +0 -0
  346. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/validation_cache.py +0 -0
  347. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/vector_store.py +0 -0
  348. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/watcher.py +0 -0
  349. {code_context_control-2.158.3 → code_context_control-2.158.5}/services/win_subprocess.py +0 -0
  350. {code_context_control-2.158.3 → code_context_control-2.158.5}/setup.cfg +0 -0
  351. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_access_builtin_optout.py +0 -0
  352. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_access_guard.py +0 -0
  353. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_access_guard_meta.py +0 -0
  354. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_access_guard_shell_project.py +0 -0
  355. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_access_guard_surfaces.py +0 -0
  356. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_access_guard_wiring.py +0 -0
  357. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_activity_log_find_last.py +0 -0
  358. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_activity_reporter.py +0 -0
  359. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_agent_locks.py +0 -0
  360. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_aider_polyglot.py +0 -0
  361. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_antigravity_transition.py +0 -0
  362. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_artifact_store.py +0 -0
  363. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_artifact_tool.py +0 -0
  364. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_atomic_json.py +0 -0
  365. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_background_service.py +0 -0
  366. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_bitbucket_cli_smoke.py +0 -0
  367. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_bitbucket_client.py +0 -0
  368. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_bitbucket_config_fallback.py +0 -0
  369. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_bitbucket_credentials.py +0 -0
  370. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_bitbucket_tool.py +0 -0
  371. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_builtin_leases.py +0 -0
  372. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_builtin_modes.py +0 -0
  373. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_c3_bridge_project_artifacts.py +0 -0
  374. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_c3_shell.py +0 -0
  375. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_chat_poll.py +0 -0
  376. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_act.py +0 -0
  377. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_cache.py +0 -0
  378. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_dag_ownership.py +0 -0
  379. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_expr.py +0 -0
  380. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_impact.py +0 -0
  381. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_intel.py +0 -0
  382. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_runner.py +0 -0
  383. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ci_workflow.py +0 -0
  384. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_circuit_breaker.py +0 -0
  385. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_claude_md_merge.py +0 -0
  386. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_claude_md_updater.py +0 -0
  387. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_cli_smoke.py +0 -0
  388. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_codex_mcp_transport.py +0 -0
  389. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_codex_native.py +0 -0
  390. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_compressor_large_file.py +0 -0
  391. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_confirm_guard.py +0 -0
  392. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_confirm_guard_wiring.py +0 -0
  393. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_cooccurrence_bounds.py +0 -0
  394. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_cred_audit.py +0 -0
  395. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_cred_telemetry.py +0 -0
  396. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_credential_backup.py +0 -0
  397. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_credential_login_kind.py +0 -0
  398. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_credential_store.py +0 -0
  399. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_credential_ui_parity.py +0 -0
  400. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_credentials_routes.py +0 -0
  401. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_credentials_tool.py +0 -0
  402. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_creds_cli_smoke.py +0 -0
  403. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_cron_expr.py +0 -0
  404. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_adoption_d4.py +0 -0
  405. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_auto.py +0 -0
  406. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_cascade.py +0 -0
  407. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_claude_d1.py +0 -0
  408. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_eval.py +0 -0
  409. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_grok.py +0 -0
  410. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_host_d2.py +0 -0
  411. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_scout_d3.py +0 -0
  412. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_telemetry_d0.py +0 -0
  413. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_thinking_cap.py +0 -0
  414. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_tuning.py +0 -0
  415. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_version_probe.py +0 -0
  416. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_write.py +0 -0
  417. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_delegate_write_eval.py +0 -0
  418. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_dir_map_c3.py +0 -0
  419. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_e2e_benchmark.py +0 -0
  420. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_eol_atomic.py +0 -0
  421. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_ledger_deadline.py +0 -0
  422. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_ledger_hook.py +0 -0
  423. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_locking.py +0 -0
  424. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_normalization.py +0 -0
  425. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_outcome.py +0 -0
  426. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_report.py +0 -0
  427. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_revert.py +0 -0
  428. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_stale.py +0 -0
  429. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_edit_verify.py +0 -0
  430. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_embedding_index_corrupt_store.py +0 -0
  431. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_embedding_index_deadlock.py +0 -0
  432. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_embedding_store_safety.py +0 -0
  433. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_enforcement_flip.py +0 -0
  434. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_enforcement_policy.py +0 -0
  435. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_enforcement_routes.py +0 -0
  436. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_env_parser.py +0 -0
  437. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_failed_calls_do_not_unlock.py +0 -0
  438. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_federated_graph.py +0 -0
  439. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_file_map_c1.py +0 -0
  440. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_file_memory_fast_paths.py +0 -0
  441. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_filter_backoff.py +0 -0
  442. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ghost_files.py +0 -0
  443. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ghost_generation.py +0 -0
  444. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_git_branch_awareness.py +0 -0
  445. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_grok_native.py +0 -0
  446. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_access_guard.py +0 -0
  447. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_codex_compat.py +0 -0
  448. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_dispatch.py +0 -0
  449. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_grok_compat.py +0 -0
  450. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_pretool_enforce.py +0 -0
  451. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_prompt_recall.py +0 -0
  452. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_session_end.py +0 -0
  453. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_smoke.py +0 -0
  454. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_state.py +0 -0
  455. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hook_utf8_stdio.py +0 -0
  456. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_host_handoff.py +0 -0
  457. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_host_rebind.py +0 -0
  458. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_access_routes.py +0 -0
  459. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_builtin_routes.py +0 -0
  460. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_credentials_route.py +0 -0
  461. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_credentials_routes_write.py +0 -0
  462. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_enforcement_routes.py +0 -0
  463. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_hook_migration.py +0 -0
  464. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_ide_cmd.py +0 -0
  465. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_inspect_api.py +0 -0
  466. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_locks_routes.py +0 -0
  467. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_oracle_service_routes.py +0 -0
  468. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_override_policy_routes.py +0 -0
  469. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_override_routes.py +0 -0
  470. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_rules_routes.py +0 -0
  471. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_schedules_routes.py +0 -0
  472. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_server_smoke.py +0 -0
  473. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_sessions_routes.py +0 -0
  474. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_hub_subproject_links.py +0 -0
  475. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ide_workflow_adaptation.py +0 -0
  476. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_index_cap_not_hardcoded.py +0 -0
  477. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_init_clear_preserves_user_content.py +0 -0
  478. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_init_scan.py +0 -0
  479. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_install_mcp_entrypoint.py +0 -0
  480. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_cli_smoke.py +0 -0
  481. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_client.py +0 -0
  482. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_config_fallback.py +0 -0
  483. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_credentials.py +0 -0
  484. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_links.py +0 -0
  485. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_routes.py +0 -0
  486. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_jira_tool.py +0 -0
  487. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_json_reply.py +0 -0
  488. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_large_files_c4.py +0 -0
  489. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_lazy_store_init.py +0 -0
  490. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_map_eval.py +0 -0
  491. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_map_telemetry_c0.py +0 -0
  492. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mask_guard.py +0 -0
  493. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mask_routes.py +0 -0
  494. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mask_surfaces.py +0 -0
  495. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mcp_host_guard.py +0 -0
  496. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mcp_memory_timeout.py +0 -0
  497. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mcp_server_smoke.py +0 -0
  498. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mcp_toml.py +0 -0
  499. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_memory_distiller.py +0 -0
  500. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_memory_graph_api.py +0 -0
  501. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_memory_queue.py +0 -0
  502. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_memory_system.py +0 -0
  503. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_api.py +0 -0
  504. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_clients.py +0 -0
  505. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_extras.py +0 -0
  506. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_fleet.py +0 -0
  507. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_jobs_ci.py +0 -0
  508. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_override_costs.py +0 -0
  509. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_override_routes.py +0 -0
  510. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_schedules.py +0 -0
  511. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_mobile_security_api.py +0 -0
  512. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_no_stale_model_pins.py +0 -0
  513. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_notification_dedup.py +0 -0
  514. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_notification_discipline.py +0 -0
  515. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_notification_kinds.py +0 -0
  516. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_notification_ref_scope.py +0 -0
  517. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ollama_credentials.py +0 -0
  518. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_api_auth.py +0 -0
  519. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_apikey_api.py +0 -0
  520. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_c3_bridge.py +0 -0
  521. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_chat_engine.py +0 -0
  522. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_chat_store.py +0 -0
  523. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_discovery_api.py +0 -0
  524. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_discovery_audit.py +0 -0
  525. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_health_probe.py +0 -0
  526. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_local_auth.py +0 -0
  527. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_loopback.py +0 -0
  528. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_ollama_bridge.py +0 -0
  529. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_scanner_cache.py +0 -0
  530. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_security_fixes.py +0 -0
  531. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_session_bootstrap.py +0 -0
  532. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_subproject_awareness.py +0 -0
  533. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_oracle_ui_bundle.py +0 -0
  534. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_output_filter.py +0 -0
  535. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_override_costs.py +0 -0
  536. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_override_grants.py +0 -0
  537. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_override_grants_mcp.py +0 -0
  538. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_override_requests.py +0 -0
  539. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_override_wake.py +0 -0
  540. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_permissions.py +0 -0
  541. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_pm_api.py +0 -0
  542. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_project_lease_identity.py +0 -0
  543. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_project_manager.py +0 -0
  544. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_project_manager_merge.py +0 -0
  545. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_project_tool.py +0 -0
  546. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_quarantine_sweep.py +0 -0
  547. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_read_coercion.py +0 -0
  548. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_read_edit_parity.py +0 -0
  549. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_read_outside_root.py +0 -0
  550. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_related_facts.py +0 -0
  551. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_repo_map.py +0 -0
  552. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_repo_shape.py +0 -0
  553. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_response_boilerplate.py +0 -0
  554. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_review_digest.py +0 -0
  555. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_schedule_api.py +0 -0
  556. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_schedule_approvals.py +0 -0
  557. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_schedule_mcp.py +0 -0
  558. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_schedule_runner.py +0 -0
  559. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_schedule_store.py +0 -0
  560. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_scheduler_tick.py +0 -0
  561. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_eval.py +0 -0
  562. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_p1.py +0 -0
  563. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_p2.py +0 -0
  564. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_p2b.py +0 -0
  565. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_p3.py +0 -0
  566. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_p4.py +0 -0
  567. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_search_p5.py +0 -0
  568. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_service_durability.py +0 -0
  569. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_session_benchmark.py +0 -0
  570. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_session_budget.py +0 -0
  571. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_session_catalog.py +0 -0
  572. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_session_live.py +0 -0
  573. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_session_tool.py +0 -0
  574. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_budget_s1.py +0 -0
  575. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_creds.py +0 -0
  576. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_eval.py +0 -0
  577. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_jobs_argv.py +0 -0
  578. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_jobs_s3.py +0 -0
  579. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_nudge_s4.py +0 -0
  580. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_output.py +0 -0
  581. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_parsers_s2.py +0 -0
  582. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_robustness.py +0 -0
  583. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_telemetry_s0.py +0 -0
  584. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_write_ledger.py +0 -0
  585. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_shell_writes.py +0 -0
  586. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_subproject_clear_scope.py +0 -0
  587. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_subproject_depth_consumers.py +0 -0
  588. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_subproject_exclusion.py +0 -0
  589. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_subproject_federation.py +0 -0
  590. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_subproject_linkage_api.py +0 -0
  591. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_subprojects.py +0 -0
  592. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_swe_bench.py +0 -0
  593. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_task_store.py +0 -0
  594. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_task_tool.py +0 -0
  595. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_time_tracker.py +0 -0
  596. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_token_telemetry.py +0 -0
  597. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_token_tracking.py +0 -0
  598. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_tool_registry.py +0 -0
  599. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ui_jsx_syntax.py +0 -0
  600. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_ui_registry.py +0 -0
  601. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_upgrade_and_version.py +0 -0
  602. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_validate.py +0 -0
  603. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_vault_write_guard.py +0 -0
  604. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_version_sync.py +0 -0
  605. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_watcher_pruning.py +0 -0
  606. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_web_security.py +0 -0
  607. {code_context_control-2.158.3 → code_context_control-2.158.5}/tests/test_windows_reliability.py +0 -0
  608. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/__init__.py +0 -0
  609. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/backend.py +0 -0
  610. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/main.py +0 -0
  611. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/__init__.py +0 -0
  612. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/benchmark_view.py +0 -0
  613. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/claudemd_view.py +0 -0
  614. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/compress_view.py +0 -0
  615. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/index_view.py +0 -0
  616. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/init_view.py +0 -0
  617. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/mcp_view.py +0 -0
  618. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/optimize_view.py +0 -0
  619. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/pipe_view.py +0 -0
  620. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/projects_view.py +0 -0
  621. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/search_view.py +0 -0
  622. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/session_view.py +0 -0
  623. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/stats.py +0 -0
  624. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/screens/ui_view.py +0 -0
  625. {code_context_control-2.158.3 → code_context_control-2.158.5}/tui/theme.tcss +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-context-control
3
- Version: 2.158.3
3
+ Version: 2.158.5
4
4
  Summary: Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path-level access + masking guards, and a multi-project hub.
5
5
  Author-email: Dimitri Tselenchuk <dtselenc@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -91,7 +91,7 @@ console = Console() if HAS_RICH else None
91
91
  # Config
92
92
  CONFIG_DIR = ".c3"
93
93
  CONFIG_FILE = ".c3/config.json"
94
- __version__ = "2.158.3"
94
+ __version__ = "2.158.5"
95
95
 
96
96
  # The PreToolUse matcher for native subagent calls (installer and hub migration).
97
97
  AGENT_MATCHER = "Agent|Task"
@@ -40,14 +40,19 @@ by the host pid both of them share and hands it the new id
40
40
  the same MCP process, and a "Session started" toast on every compaction
41
41
  would teach the user to ignore the real ones.
42
42
 
43
+ When the installed fastmcp and mcp cannot load together
44
+ (``core.mcp_stack``), the MCP server dies before its handshake and the host
45
+ reports only a closed connection; this hook then returns the mismatch and
46
+ the pip repair as context, so the session can say why C3's tools are gone.
47
+
43
48
  The MCP server's own ``session_start`` row is untouched — it carries the C3
44
49
  id and, when the host put its id in the environment, ``host_session_id``
45
50
  too. This hook is what lets a client see the session before the runtime has
46
51
  finished starting (~seconds), and it is the row the desktop's "MCP failed to
47
52
  connect" sentinel starts its 30 s clock from.
48
53
 
49
- Returns None always: SessionStart hook stdout becomes model context, and
50
- this hook has nothing to tell the model.
54
+ Returns None, or ``{"_text": <mismatch>}`` for the case above: SessionStart
55
+ hook stdout becomes model context.
51
56
  """
52
57
  from __future__ import annotations
53
58
 
@@ -249,10 +254,19 @@ def hand_off_runtime(project: Path, host: str, host_sid: str, start_source: str)
249
254
 
250
255
 
251
256
  def run(payload: dict, project_path: Path | None = None):
252
- """Core logic — importable by the dispatcher and tests. Returns None."""
257
+ """Core logic — importable by the dispatcher and tests.
258
+
259
+ Returns None, or ``{"_text": ...}`` naming a fastmcp/mcp mismatch.
260
+ """
253
261
  start_source = str(payload.get("source") or "").strip().lower()
254
262
  if start_source in _SILENT_SOURCES:
255
263
  return None
264
+ try:
265
+ from core.mcp_stack import problem
266
+ stack_problem = problem()
267
+ except Exception as exc:
268
+ log_hook_error("hook_session_open", exc)
269
+ stack_problem = None
256
270
  project = find_project(payload, project_path)
257
271
  if project is None:
258
272
  return None
@@ -278,7 +292,7 @@ def run(payload: dict, project_path: Path | None = None):
278
292
  pass
279
293
  hand_off_runtime(project, host, host_sid, start_source)
280
294
  ensure_ui(project, host_sid)
281
- return None
295
+ return {"_text": stack_problem} if stack_problem else None
282
296
 
283
297
 
284
298
  def main() -> None:
@@ -21,7 +21,16 @@ from typing import Any
21
21
  # Add parent to path for imports
22
22
  sys.path.insert(0, str(Path(__file__).parent.parent))
23
23
 
24
- from fastmcp import Context, FastMCP
24
+ try:
25
+ from fastmcp import Context, FastMCP
26
+ except Exception:
27
+ # The host shows only "connection closed"; stderr reaches its MCP log.
28
+ from core.mcp_stack import problem as _mcp_stack_problem
29
+ _stack_problem = _mcp_stack_problem()
30
+ if not _stack_problem:
31
+ raise
32
+ print(_stack_problem, file=sys.stderr)
33
+ raise SystemExit(1)
25
34
 
26
35
  from cli.tools import _grants
27
36
  from core.host import resolve_host
@@ -346,6 +346,10 @@ def api_projects_open():
346
346
  @app.route('/api/health')
347
347
  def api_health():
348
348
  """Lightweight health check with connection sources."""
349
+ # ?probe=1 is the liveness form: identity only. The hub sends it for every
350
+ # UI server on every /api/projects poll and only reads "service".
351
+ if request.args.get("probe") not in (None, "", "0", "false"):
352
+ return jsonify({"service": "c3-ui", "probe": True})
349
353
  sources = {"c3": True} # If this endpoint responds, C3 API is up
350
354
 
351
355
  # Check Ollama
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-context-control
3
- Version: 2.158.3
3
+ Version: 2.158.5
4
4
  Summary: Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path-level access + masking guards, and a multi-project hub.
5
5
  Author-email: Dimitri Tselenchuk <dtselenc@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -151,6 +151,7 @@ core/grok_payload.py
151
151
  core/hook_command.py
152
152
  core/host.py
153
153
  core/ide.py
154
+ core/mcp_stack.py
154
155
  core/mcp_toml.py
155
156
  core/web_security.py
156
157
  oracle/__init__.py
@@ -487,6 +488,7 @@ tests/test_mask_surfaces.py
487
488
  tests/test_mcp_host_guard.py
488
489
  tests/test_mcp_memory_timeout.py
489
490
  tests/test_mcp_server_smoke.py
491
+ tests/test_mcp_stack.py
490
492
  tests/test_mcp_toml.py
491
493
  tests/test_memory_distiller.py
492
494
  tests/test_memory_graph_api.py
@@ -499,6 +501,7 @@ tests/test_mobile_fleet.py
499
501
  tests/test_mobile_jobs_ci.py
500
502
  tests/test_mobile_override_costs.py
501
503
  tests/test_mobile_override_routes.py
504
+ tests/test_mobile_registered_rows.py
502
505
  tests/test_mobile_schedules.py
503
506
  tests/test_mobile_security_api.py
504
507
  tests/test_no_stale_model_pins.py
@@ -507,6 +510,7 @@ tests/test_notification_discipline.py
507
510
  tests/test_notification_kinds.py
508
511
  tests/test_notification_ref_scope.py
509
512
  tests/test_ollama_credentials.py
513
+ tests/test_ollama_probe_cache.py
510
514
  tests/test_oracle_api_auth.py
511
515
  tests/test_oracle_apikey_api.py
512
516
  tests/test_oracle_c3_bridge.py
@@ -589,6 +593,7 @@ tests/test_time_tracker.py
589
593
  tests/test_token_telemetry.py
590
594
  tests/test_token_tracking.py
591
595
  tests/test_tool_registry.py
596
+ tests/test_ui_health_probe.py
592
597
  tests/test_ui_jsx_syntax.py
593
598
  tests/test_ui_registry.py
594
599
  tests/test_upgrade_and_version.py
@@ -0,0 +1,114 @@
1
+ """Whether the installed fastmcp and mcp packages can load together.
2
+
3
+ fastmcp 3.x needs ``mcp<2`` and 4.x needs ``mcp>=2``, and pip installing some
4
+ other tool can move mcp out from under fastmcp anyway. Reads installed
5
+ metadata without importing either package, so the MCP server and the
6
+ SessionStart hook can name the mismatch and the pip command that repairs it.
7
+ """
8
+ from __future__ import annotations
9
+
10
+ import sys
11
+ from importlib import metadata
12
+ from pathlib import Path
13
+
14
+ # fastmcp-slim declares mcp under these extras; fastmcp 3.2 and earlier
15
+ # declare it unconditionally ("").
16
+ _EXTRAS = ("", "client", "server", "mcp")
17
+
18
+
19
+ def _packaging():
20
+ """packaging's (Requirement, InvalidRequirement, canonicalize_name), or None."""
21
+ try:
22
+ from packaging.requirements import InvalidRequirement, Requirement
23
+ from packaging.utils import canonicalize_name
24
+ except ImportError:
25
+ try:
26
+ from pip._vendor.packaging.requirements import InvalidRequirement, Requirement
27
+ from pip._vendor.packaging.utils import canonicalize_name
28
+ except ImportError:
29
+ return None
30
+ return Requirement, InvalidRequirement, canonicalize_name
31
+
32
+
33
+ def _version(dist: str) -> str | None:
34
+ try:
35
+ return metadata.version(dist)
36
+ except metadata.PackageNotFoundError:
37
+ return None
38
+
39
+
40
+ def _mcp_requirement(requirement_cls, invalid_requirement, canonicalize_name):
41
+ """The mcp Requirement the installed fastmcp declares, or None."""
42
+ fastmcp = _version("fastmcp")
43
+ if fastmcp is None:
44
+ return None
45
+ # From 3.3 the fastmcp wheel only depends on fastmcp-slim, which carries
46
+ # the mcp pin. A slim left behind at another version is not the code in
47
+ # use, so read it only when the two versions match.
48
+ dists = ["fastmcp"]
49
+ if _version("fastmcp-slim") == fastmcp:
50
+ dists.insert(0, "fastmcp-slim")
51
+ for dist in dists:
52
+ for raw in metadata.requires(dist) or []:
53
+ try:
54
+ req = requirement_cls(raw)
55
+ except invalid_requirement:
56
+ continue
57
+ if canonicalize_name(req.name) != "mcp":
58
+ continue
59
+ if req.marker is None or any(
60
+ req.marker.evaluate({"extra": e}) for e in _EXTRAS):
61
+ return req
62
+ return None
63
+
64
+
65
+ def _console_python(executable: str) -> str:
66
+ """python.exe in place of pythonw.exe: the repair command needs a console."""
67
+ exe = Path(executable)
68
+ if exe.name.lower() == "pythonw.exe":
69
+ console = exe.with_name("python.exe")
70
+ if console.exists():
71
+ return str(console)
72
+ return executable
73
+
74
+
75
+ def problem(executable: str | None = None) -> str | None:
76
+ """Describe a fastmcp/mcp mismatch and how to repair it, or return None.
77
+
78
+ None also covers what this cannot judge: fastmcp not installed, no mcp pin
79
+ in its metadata, or no ``packaging`` to read the pin with.
80
+ """
81
+ tools = _packaging()
82
+ if tools is None:
83
+ return None
84
+ req = _mcp_requirement(*tools)
85
+ if req is None:
86
+ return None
87
+ fastmcp = _version("fastmcp")
88
+ mcp = _version("mcp")
89
+ spec = str(req.specifier)
90
+ python = _console_python(executable or sys.executable)
91
+ pip = f'"{python}" -m pip'
92
+ if mcp is None:
93
+ return (f"C3's MCP server cannot start: fastmcp {fastmcp} needs "
94
+ f"mcp{spec}, and mcp is not installed in {sys.prefix}.\n"
95
+ f'Repair: {pip} install "mcp{spec}", then restart the session.')
96
+ if req.specifier.contains(mcp, prereleases=True):
97
+ return None
98
+ too_new = any(s.operator in ("<", "<=") and not s.contains(mcp, prereleases=True)
99
+ for s in req.specifier)
100
+ lines = [
101
+ f"C3's MCP server cannot start: fastmcp {fastmcp} needs mcp{spec}, "
102
+ f"but mcp {mcp} is installed in {sys.prefix}. Installing another "
103
+ "package that wants a different mcp moves it; pip warns about the "
104
+ "conflict but installs anyway.",
105
+ "Repair with one of:",
106
+ ]
107
+ if too_new:
108
+ lines.append(f" {pip} install --upgrade fastmcp "
109
+ f"(moves fastmcp to the release built for mcp {mcp})")
110
+ lines.append(f' {pip} install "mcp{spec}" '
111
+ f"(moves mcp back to what fastmcp {fastmcp} needs)")
112
+ lines.append(f"Then run {pip} check to see whether another package "
113
+ "needs the other mcp line, and restart the session.")
114
+ return "\n".join(lines)
@@ -474,12 +474,28 @@ def _caller() -> str:
474
474
 
475
475
  # ── Path validation ───────────────────────────────────────
476
476
 
477
- def _resolve_registered(raw: str) -> Path | None:
477
+ def _registered_roots() -> list[Path]:
478
+ """Resolved path of every scanner-registered project with a .c3 dir."""
479
+ if _scanner is None:
480
+ return []
481
+ roots = []
482
+ for proj in _scanner.discover():
483
+ if not proj.get("has_c3"):
484
+ continue
485
+ try:
486
+ roots.append(Path(proj["path"]).resolve())
487
+ except (OSError, ValueError):
488
+ continue
489
+ return roots
490
+
491
+
492
+ def _resolve_registered(raw: str, roots: list[Path] | None = None) -> Path | None:
478
493
  """Resolve a request path to a scanner-registered project with a .c3 dir.
479
494
 
480
495
  Case-insensitive on Windows (normcase both sides). Returns None for
481
496
  anything unregistered — callers turn that into a 404 without ever
482
- touching the filesystem at the requested location.
497
+ touching the filesystem at the requested location. ``roots`` is a
498
+ ``_registered_roots()`` result to reuse across calls.
483
499
  """
484
500
  raw = (raw or "").strip()
485
501
  if not raw or _scanner is None:
@@ -488,19 +504,13 @@ def _resolve_registered(raw: str) -> Path | None:
488
504
  target = os.path.normcase(str(Path(raw).resolve()))
489
505
  except (OSError, ValueError):
490
506
  return None
491
- for proj in _scanner.discover():
492
- if not proj.get("has_c3"):
493
- continue
494
- try:
495
- candidate = os.path.normcase(str(Path(proj["path"]).resolve()))
496
- except (OSError, ValueError):
497
- continue
498
- if candidate == target:
499
- return Path(proj["path"]).resolve()
507
+ for root in (_registered_roots() if roots is None else roots):
508
+ if os.path.normcase(str(root)) == target:
509
+ return root
500
510
  return None
501
511
 
502
512
 
503
- def _serving_project(raw: str) -> Path | None:
513
+ def _serving_project(raw: str, roots: list[Path] | None = None) -> Path | None:
504
514
  """The registered project that serves an override row's ``project_path``:
505
515
  that project itself, or the deepest registered project containing it.
506
516
 
@@ -518,13 +528,7 @@ def _serving_project(raw: str) -> Path | None:
518
528
  return None
519
529
  best: Path | None = None
520
530
  best_len = -1
521
- for proj in _scanner.discover():
522
- if not proj.get("has_c3"):
523
- continue
524
- try:
525
- candidate = Path(proj["path"]).resolve()
526
- except (OSError, ValueError):
527
- continue
531
+ for candidate in (_registered_roots() if roots is None else roots):
528
532
  key = os.path.normcase(str(candidate))
529
533
  inside = target == key or target.startswith(key.rstrip("\\/") + os.sep)
530
534
  if inside and len(key) > best_len:
@@ -1022,8 +1026,7 @@ def mobile_jobs():
1022
1026
  # Cross-project listing must not leak rows for projects this gateway
1023
1027
  # does not serve (the store root is shared across every project on
1024
1028
  # the machine).
1025
- rows = [r for r in rows
1026
- if _resolve_registered(str(r.get("project_path") or "")) is not None]
1029
+ rows = _registered_rows(rows)
1027
1030
  if status:
1028
1031
  rows = [r for r in rows if r.get("status") == status]
1029
1032
  rows = rows[:limit]
@@ -1055,8 +1058,21 @@ def _schedule_row_or_404(schedule_id: str):
1055
1058
  return row, None
1056
1059
 
1057
1060
 
1058
- def _registered_rows(rows: list) -> list:
1059
- return [r for r in rows if _resolve_registered(str(r.get("project_path") or "")) is not None]
1061
+ def _registered_rows(rows: list, serving: bool = False) -> list:
1062
+ """The rows whose ``project_path`` is a registered project, or, with
1063
+ ``serving``, lies inside one. Resolves the registered projects once and
1064
+ each distinct row path once, not once per row and project."""
1065
+ roots = _registered_roots()
1066
+ lookup = _serving_project if serving else _resolve_registered
1067
+ keep: dict[str, bool] = {}
1068
+ out = []
1069
+ for r in rows:
1070
+ raw = str(r.get("project_path") or "")
1071
+ if raw not in keep:
1072
+ keep[raw] = lookup(raw, roots) is not None
1073
+ if keep[raw]:
1074
+ out.append(r)
1075
+ return out
1060
1076
 
1061
1077
 
1062
1078
  def _schedule_call(fn, *args, **kwargs):
@@ -2484,8 +2500,7 @@ def mobile_overrides_list():
2484
2500
  # Cross-project listing must not leak rows for projects this gateway
2485
2501
  # does not serve — the store is one file across every project on the
2486
2502
  # machine, including ones the scanner has since dropped.
2487
- rows = [r for r in rows
2488
- if _serving_project(str(r.get("project_path") or "")) is not None]
2503
+ rows = _registered_rows(rows, serving=True)
2489
2504
  channels = _override_channels(rows)
2490
2505
  cards = []
2491
2506
  for r in rows:
@@ -2770,8 +2785,7 @@ def mobile_overrides_costs():
2770
2785
  # Same rule as /overrides and /jobs: the store is one file for the
2771
2786
  # whole machine, and a cross-project view must not name a project
2772
2787
  # this token cannot otherwise see.
2773
- rules = [r for r in rules
2774
- if _serving_project(str(r.get("project_path") or "")) is not None]
2788
+ rules = _registered_rows(rules, serving=True)
2775
2789
  return jsonify({"days": days, "rules": rules, "count": len(rules),
2776
2790
  "project": project_path})
2777
2791
 
@@ -563,11 +563,10 @@ def mobile_now():
563
563
  jobs: list[dict] = []
564
564
  try:
565
565
  from services.shell_jobs import JobStore
566
- jobs = [r for r in JobStore().list_all(project_path=None,
567
- limit=m._SOURCE_CAP)
568
- if r.get("status") in ("queued", "running")
569
- and m._resolve_registered(str(r.get("project_path") or ""))
570
- is not None]
566
+ jobs = m._registered_rows(
567
+ [r for r in JobStore().list_all(project_path=None,
568
+ limit=m._SOURCE_CAP)
569
+ if r.get("status") in ("queued", "running")])
571
570
  except Exception:
572
571
  jobs = []
573
572
  body = fleet_overview.now(_registered(), job_rows=jobs)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "code-context-control"
7
- version = "2.158.3"
7
+ version = "2.158.5"
8
8
  description = "Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path-level access + masking guards, and a multi-project hub."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -405,11 +405,18 @@ class FileMemoryStore:
405
405
  Lists the store directory on every call but reads only records whose
406
406
  filename it has not seen before; removed records drop out.
407
407
  """
408
+ return list(self._tracked().values())
409
+
410
+ def _tracked(self) -> dict[str, str]:
411
+ """Record filename -> stored path for every readable record (a copy).
412
+
413
+ The refresh behind list_tracked(); {} when the store cannot be listed.
414
+ """
408
415
  try:
409
416
  names = {e.name for e in os.scandir(self.store_dir)
410
417
  if e.name.endswith(".json") and not e.name.startswith("_")}
411
418
  except OSError:
412
- return []
419
+ return {}
413
420
  with self._tracked_lock:
414
421
  known = self._tracked_paths
415
422
  for gone in known.keys() - names:
@@ -422,7 +429,7 @@ class FileMemoryStore:
422
429
  continue
423
430
  if path:
424
431
  known[name] = path
425
- return list(known.values())
432
+ return dict(known)
426
433
 
427
434
  def prune_stale(self) -> list[str]:
428
435
  """Remove records whose source file no longer exists on disk.
@@ -432,31 +439,39 @@ class FileMemoryStore:
432
439
  by the retention sweep. Records that fail to parse are left alone
433
440
  (unreadable is not the same as stale). Returns the pruned relative
434
441
  paths. Never raises.
442
+
443
+ Paths come from the list_tracked() cache, and existence is checked
444
+ with one listing per parent directory instead of a stat per record.
445
+ A name missing from its listing is confirmed with exists() before its
446
+ record is deleted, so a case-insensitive filesystem or an odd path
447
+ costs a stat, never a record.
435
448
  """
436
449
  pruned: list[str] = []
437
450
  try:
438
- for store_file in list(self.store_dir.glob("*.json")):
439
- if store_file.name.startswith("_"):
440
- continue
441
- try:
442
- with open(store_file, encoding="utf-8") as fh:
443
- data = json.load(fh)
444
- except Exception:
445
- continue
446
- rel = data.get("path", "")
447
- if not rel:
448
- continue
449
- try:
450
- if (self.project_path / rel).exists():
451
- continue
452
- except OSError:
453
- continue
451
+ by_dir: dict[str, list[tuple[str, str, str]]] = {}
452
+ for name, rel in self._tracked().items():
453
+ parent, _, base = rel.replace("\\", "/").rpartition("/")
454
+ by_dir.setdefault(parent, []).append((name, rel, base))
455
+ for parent, entries in by_dir.items():
454
456
  try:
455
- store_file.unlink()
457
+ with os.scandir(self.project_path / parent) as it:
458
+ present = {e.name for e in it}
456
459
  except OSError:
457
- continue
458
- pruned.append(rel)
459
- self._map_cache.pop(rel.replace("\\", "/"), None)
460
+ present = set()
461
+ for name, rel, base in entries:
462
+ if base in present:
463
+ continue
464
+ try:
465
+ if (self.project_path / rel).exists():
466
+ continue
467
+ except OSError:
468
+ continue
469
+ try:
470
+ (self.store_dir / name).unlink()
471
+ except OSError:
472
+ continue
473
+ pruned.append(rel)
474
+ self._map_cache.pop(rel.replace("\\", "/"), None)
460
475
  except Exception:
461
476
  return pruned
462
477
  if pruned:
@@ -7,6 +7,8 @@ Includes integrated LLM response cache (formerly llm_cache.py).
7
7
  """
8
8
  import hashlib
9
9
  import json
10
+ import threading
11
+ import time
10
12
  import urllib.error
11
13
  import urllib.request
12
14
  from pathlib import Path
@@ -56,46 +58,76 @@ class LLMCache:
56
58
  pass
57
59
 
58
60
 
61
+ # Answers from /api/tags, shared by every OllamaClient in the process:
62
+ # base_url -> {"avail": (monotonic ts, bool), "models": (ts, list | None)}.
63
+ # Callers build clients per request and per agent, so a per-instance cache let
64
+ # each of them probe the server again.
65
+ _PROBE_TTL_SECONDS = 30.0
66
+ _probe_cache: dict[str, dict[str, tuple[float, object]]] = {}
67
+ _probe_lock = threading.Lock()
68
+
69
+
70
+ def clear_probe_cache() -> None:
71
+ """Forget every cached availability and model-list answer."""
72
+ with _probe_lock:
73
+ _probe_cache.clear()
74
+
75
+
59
76
  class OllamaClient:
60
77
  """Minimal Ollama REST client using urllib."""
61
78
 
62
- _AVAIL_TTL_SECONDS = 10.0
63
-
64
79
  def __init__(self, base_url: str = DEFAULT_BASE_URL, cache_dir: str = ".c3/cache/llm"):
65
80
  self.base_url = base_url.rstrip("/")
66
81
  self.cache = LLMCache(cache_dir)
67
- self._avail_value: bool | None = None
68
- self._avail_ts: float = 0.0
82
+
83
+ def _cached(self, key: str):
84
+ with _probe_lock:
85
+ hit = _probe_cache.get(self.base_url, {}).get(key)
86
+ if hit is not None and time.monotonic() - hit[0] < _PROBE_TTL_SECONDS:
87
+ return hit
88
+ return None
89
+
90
+ def _remember(self, key: str, value) -> None:
91
+ with _probe_lock:
92
+ _probe_cache.setdefault(self.base_url, {})[key] = (time.monotonic(), value)
69
93
 
70
94
  # ── Availability ──────────────────────────────────────
71
95
 
72
96
  def is_available(self, timeout: int | None = None) -> bool:
73
- """Check if Ollama is reachable. Cached for ``_AVAIL_TTL_SECONDS`` to
74
- avoid storm when many background agents poll concurrently."""
75
- import time
76
- now = time.monotonic()
77
- if self._avail_value is not None and (now - self._avail_ts) < self._AVAIL_TTL_SECONDS:
78
- return self._avail_value
97
+ """Check if Ollama is reachable. The answer is shared process-wide for
98
+ ``_PROBE_TTL_SECONDS``."""
99
+ hit = self._cached("avail")
100
+ if hit is not None:
101
+ return hit[1]
79
102
  try:
80
103
  req = urllib.request.Request(f"{self.base_url}/api/tags")
81
104
  with urllib.request.urlopen(req, timeout=timeout or _TIMEOUT):
82
- self._avail_value = True
105
+ available = True
83
106
  except Exception:
84
- self._avail_value = False
85
- self._avail_ts = now
86
- return self._avail_value
107
+ available = False
108
+ self._remember("avail", available)
109
+ return available
87
110
 
88
111
  # ── Models ────────────────────────────────────────────
89
112
 
90
113
  def list_models(self) -> list[str] | None:
91
- """Return list of locally available model names, or None on failure."""
114
+ """Return list of locally available model names, or None on failure.
115
+ The answer is shared process-wide for ``_PROBE_TTL_SECONDS``."""
116
+ hit = self._cached("models")
117
+ if hit is not None:
118
+ return list(hit[1]) if hit[1] is not None else None
92
119
  try:
93
120
  req = urllib.request.Request(f"{self.base_url}/api/tags")
94
121
  with urllib.request.urlopen(req, timeout=_TIMEOUT) as resp:
95
122
  data = json.loads(resp.read())
96
- return [m["name"] for m in data.get("models", [])]
123
+ models = [m["name"] for m in data.get("models", [])]
97
124
  except Exception:
98
- return None
125
+ models = None
126
+ self._remember("models", models)
127
+ if models is not None:
128
+ self._remember("avail", True)
129
+ return list(models)
130
+ return None
99
131
 
100
132
  def has_model(self, model: str) -> bool:
101
133
  """Check if a specific model is pulled locally."""
@@ -101,7 +101,7 @@ class ProjectManager:
101
101
  def _verify_c3_session(self, port: int) -> bool:
102
102
  """Verify that a given port is actually a C3 session UI."""
103
103
  try:
104
- url = f"http://127.0.0.1:{port}/api/health"
104
+ url = f"http://127.0.0.1:{port}/api/health?probe=1"
105
105
  # 2 s, not 0.8: a server re-indexing after a burst of file changes
106
106
  # answers late, and a late answer must not read as "not C3".
107
107
  with urllib.request.urlopen(url, timeout=2.0) as r: