code-context-control 2.157.1__tar.gz → 2.158.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 (618) hide show
  1. {code_context_control-2.157.1 → code_context_control-2.158.0}/PKG-INFO +1 -1
  2. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/_shell_writes.py +68 -3
  3. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/c3.py +1 -1
  4. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_access_guard.py +115 -14
  5. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/mcp_server.py +36 -9
  6. code_context_control-2.158.0/cli/tools/_json_reply.py +90 -0
  7. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/bitbucket.py +497 -146
  8. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/jira.py +263 -75
  9. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/shell.py +80 -19
  10. {code_context_control-2.157.1 → code_context_control-2.158.0}/code_context_control.egg-info/PKG-INFO +1 -1
  11. {code_context_control-2.157.1 → code_context_control-2.158.0}/code_context_control.egg-info/SOURCES.txt +2 -0
  12. {code_context_control-2.157.1 → code_context_control-2.158.0}/pyproject.toml +1 -1
  13. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/access_guard.py +13 -1
  14. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bitbucket_client.py +115 -2
  15. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/jira_client.py +170 -4
  16. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/jira_cloud.py +19 -3
  17. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/jira_data_center.py +34 -13
  18. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_access_guard.py +21 -0
  19. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_access_guard_shell_project.py +34 -1
  20. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_bitbucket_client.py +102 -0
  21. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_bitbucket_tool.py +243 -5
  22. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_access_guard.py +90 -9
  23. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_client.py +111 -2
  24. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_tool.py +88 -0
  25. code_context_control-2.158.0/tests/test_json_reply.py +88 -0
  26. {code_context_control-2.157.1 → code_context_control-2.158.0}/LICENSE +0 -0
  27. {code_context_control-2.157.1 → code_context_control-2.158.0}/README.md +0 -0
  28. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/__init__.py +0 -0
  29. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/_hook_utils.py +0 -0
  30. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/commands/__init__.py +0 -0
  31. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/commands/common.py +0 -0
  32. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/commands/parser.py +0 -0
  33. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/docs.html +0 -0
  34. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/edits.html +0 -0
  35. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/access.html +0 -0
  36. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/bitbucket.html +0 -0
  37. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/ci.html +0 -0
  38. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/credentials.html +0 -0
  39. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/delegate.html +0 -0
  40. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/getting-started.html +0 -0
  41. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/index.html +0 -0
  42. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/jira.html +0 -0
  43. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/masking.html +0 -0
  44. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/oracle.html +0 -0
  45. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/sessions.html +0 -0
  46. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/shared.css +0 -0
  47. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/tools.html +0 -0
  48. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/guide/workflow.html +0 -0
  49. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_agent_model.py +0 -0
  50. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_artifact.py +0 -0
  51. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_auto_snapshot.py +0 -0
  52. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_c3_signal.py +0 -0
  53. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_c3read.py +0 -0
  54. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_codex_lifecycle.py +0 -0
  55. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_dispatch.py +0 -0
  56. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_edit_ledger.py +0 -0
  57. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_edit_unlock.py +0 -0
  58. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_filter.py +0 -0
  59. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_ghost_files.py +0 -0
  60. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_pretool_enforce.py +0 -0
  61. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_prompt_recall.py +0 -0
  62. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_read.py +0 -0
  63. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_session_end.py +0 -0
  64. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_session_open.py +0 -0
  65. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_session_stats.py +0 -0
  66. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hook_terse_advisor.py +0 -0
  67. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_server.py +0 -0
  68. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/app.js +0 -0
  69. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/add_project.js +0 -0
  70. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/config_editor.js +0 -0
  71. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/drill_artifacts.js +0 -0
  72. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/drill_health.js +0 -0
  73. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/drill_panel.js +0 -0
  74. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/drill_subprojects.js +0 -0
  75. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/drill_tasks.js +0 -0
  76. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/drill_views.js +0 -0
  77. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/global_search.js +0 -0
  78. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_access.js +0 -0
  79. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_ci.js +0 -0
  80. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_cred_audit.js +0 -0
  81. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_credentials.js +0 -0
  82. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_enforcement.js +0 -0
  83. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_locks.js +0 -0
  84. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_schedules.js +0 -0
  85. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_sessions.js +0 -0
  86. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/hub_tokens.js +0 -0
  87. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/mcp_manager.js +0 -0
  88. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/modals.js +0 -0
  89. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/project_card.js +0 -0
  90. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/project_tree.js +0 -0
  91. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/session_drawer.js +0 -0
  92. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/settings_modal.js +0 -0
  93. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/sidebar.js +0 -0
  94. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/summary_bar.js +0 -0
  95. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/task_board.js +0 -0
  96. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/toasts.js +0 -0
  97. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/components/topbar.js +0 -0
  98. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui/state.js +0 -0
  99. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/hub_ui.html +0 -0
  100. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/mcp_proxy.py +0 -0
  101. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/progress.py +0 -0
  102. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/server.py +0 -0
  103. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/__init__.py +0 -0
  104. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/_edit_report.py +0 -0
  105. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/_grants.py +0 -0
  106. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/_helpers.py +0 -0
  107. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/agent.py +0 -0
  108. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/artifacts.py +0 -0
  109. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/ci.py +0 -0
  110. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/compress.py +0 -0
  111. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/credentials.py +0 -0
  112. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/delegate.py +0 -0
  113. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/edit.py +0 -0
  114. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/edit_verify.py +0 -0
  115. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/edits.py +0 -0
  116. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/federate.py +0 -0
  117. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/filter.py +0 -0
  118. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/impact.py +0 -0
  119. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/locks.py +0 -0
  120. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/memory.py +0 -0
  121. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/override.py +0 -0
  122. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/project.py +0 -0
  123. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/read.py +0 -0
  124. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/schedule.py +0 -0
  125. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/search.py +0 -0
  126. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/session.py +0 -0
  127. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/shell_job.py +0 -0
  128. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/shell_nudge.py +0 -0
  129. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/shell_parsers.py +0 -0
  130. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/shell_render.py +0 -0
  131. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/status.py +0 -0
  132. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/tasks.py +0 -0
  133. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/tools/validate.py +0 -0
  134. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/api.js +0 -0
  135. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/app.js +0 -0
  136. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/access.js +0 -0
  137. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/bitbucket.js +0 -0
  138. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/chat.js +0 -0
  139. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/credentials.js +0 -0
  140. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/dashboard.js +0 -0
  141. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/edits.js +0 -0
  142. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/enforcement.js +0 -0
  143. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/instructions.js +0 -0
  144. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/jira.js +0 -0
  145. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/memory.js +0 -0
  146. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/sessions.js +0 -0
  147. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/settings.js +0 -0
  148. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/sidebar.js +0 -0
  149. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/components/tasks.js +0 -0
  150. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/icons.js +0 -0
  151. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/pm_shared.js +0 -0
  152. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/shared.js +0 -0
  153. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui/theme.js +0 -0
  154. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui.html +0 -0
  155. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui_legacy.html +0 -0
  156. {code_context_control-2.157.1 → code_context_control-2.158.0}/cli/ui_nano.html +0 -0
  157. {code_context_control-2.157.1 → code_context_control-2.158.0}/code_context_control.egg-info/dependency_links.txt +0 -0
  158. {code_context_control-2.157.1 → code_context_control-2.158.0}/code_context_control.egg-info/entry_points.txt +0 -0
  159. {code_context_control-2.157.1 → code_context_control-2.158.0}/code_context_control.egg-info/requires.txt +0 -0
  160. {code_context_control-2.157.1 → code_context_control-2.158.0}/code_context_control.egg-info/top_level.txt +0 -0
  161. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/__init__.py +0 -0
  162. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/codex_patch.py +0 -0
  163. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/config.py +0 -0
  164. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/grok_payload.py +0 -0
  165. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/hook_command.py +0 -0
  166. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/host.py +0 -0
  167. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/ide.py +0 -0
  168. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/mcp_toml.py +0 -0
  169. {code_context_control-2.157.1 → code_context_control-2.158.0}/core/web_security.py +0 -0
  170. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/__init__.py +0 -0
  171. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/config.py +0 -0
  172. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/listeners.py +0 -0
  173. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/mcp_oracle.py +0 -0
  174. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/oracle_server.py +0 -0
  175. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/oracle_ui.html +0 -0
  176. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/__init__.py +0 -0
  177. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/activity_reporter.py +0 -0
  178. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/api_auth.py +0 -0
  179. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/c3_bridge.py +0 -0
  180. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/chat_engine.py +0 -0
  181. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/chat_poll.py +0 -0
  182. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/chat_store.py +0 -0
  183. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/client_tokens.py +0 -0
  184. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/cross_memory.py +0 -0
  185. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/discovery_audit.py +0 -0
  186. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/federated_graph.py +0 -0
  187. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/health_checker.py +0 -0
  188. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/insight_engine.py +0 -0
  189. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/local_session.py +0 -0
  190. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/memory_reader.py +0 -0
  191. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/memory_writer.py +0 -0
  192. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/mobile_api.py +0 -0
  193. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/mobile_fleet.py +0 -0
  194. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/project_scanner.py +0 -0
  195. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/review_agent.py +0 -0
  196. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/schedule_api.py +0 -0
  197. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/scheduler.py +0 -0
  198. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/tool_executor.py +0 -0
  199. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/services/tool_registry.py +0 -0
  200. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/activity.js +0 -0
  201. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/agents.js +0 -0
  202. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/app.js +0 -0
  203. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/busy.js +0 -0
  204. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/chat/conversations.js +0 -0
  205. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/chat/input.js +0 -0
  206. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/chat/markdown.js +0 -0
  207. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/chat/send.js +0 -0
  208. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/chat/stream_renderer.js +0 -0
  209. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/chat/toolbar.js +0 -0
  210. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/core.js +0 -0
  211. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/crossgraph.js +0 -0
  212. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/header.js +0 -0
  213. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/insights.js +0 -0
  214. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/projects.js +0 -0
  215. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/qrcode.js +0 -0
  216. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/settings.js +0 -0
  217. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/suggestions.js +0 -0
  218. {code_context_control-2.157.1 → code_context_control-2.158.0}/oracle/ui/theme_tabs.js +0 -0
  219. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/__init__.py +0 -0
  220. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/access_telemetry.py +0 -0
  221. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/activity_log.py +0 -0
  222. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/agent_base.py +0 -0
  223. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/agent_downshift.py +0 -0
  224. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/agent_locks.py +0 -0
  225. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/agents.py +0 -0
  226. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/agents_workflow.py +0 -0
  227. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/artifact_defs.py +0 -0
  228. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/artifact_store.py +0 -0
  229. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/atomic_json.py +0 -0
  230. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/auto_memory.py +0 -0
  231. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/background_service.py +0 -0
  232. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/__init__.py +0 -0
  233. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/delegate_eval.py +0 -0
  234. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/delegate_write_eval.py +0 -0
  235. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/external/__init__.py +0 -0
  236. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/external/aider_polyglot.py +0 -0
  237. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/external/swe_bench.py +0 -0
  238. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/map_eval.py +0 -0
  239. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/search_eval.py +0 -0
  240. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bench/shell_eval.py +0 -0
  241. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/benchmark_dashboard.py +0 -0
  242. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/bitbucket_credentials.py +0 -0
  243. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/builtin_leases.py +0 -0
  244. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_act.py +0 -0
  245. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_cache.py +0 -0
  246. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_expr.py +0 -0
  247. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_failures.py +0 -0
  248. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_github.py +0 -0
  249. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_impact.py +0 -0
  250. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_intel.py +0 -0
  251. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_runner.py +0 -0
  252. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ci_workflow.py +0 -0
  253. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/circuit_breaker.py +0 -0
  254. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/claude_md.py +0 -0
  255. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/codex_integration.py +0 -0
  256. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/codex_transcript.py +0 -0
  257. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/compressor.py +0 -0
  258. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/context_snapshot.py +0 -0
  259. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/conversation_store.py +0 -0
  260. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/cred_audit.py +0 -0
  261. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/cred_telemetry.py +0 -0
  262. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/credential_backup.py +0 -0
  263. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/credential_store.py +0 -0
  264. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/cron_expr.py +0 -0
  265. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/delegate_agents.py +0 -0
  266. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/delegate_hints.py +0 -0
  267. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/delegate_write.py +0 -0
  268. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/dir_map.py +0 -0
  269. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/doc_index.py +0 -0
  270. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/e2e_benchmark.py +0 -0
  271. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/e2e_evaluator.py +0 -0
  272. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/e2e_tasks.py +0 -0
  273. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/edit_blobs.py +0 -0
  274. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/edit_ledger.py +0 -0
  275. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/embedding_index.py +0 -0
  276. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/enforcement_policy.py +0 -0
  277. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/error_reporting.py +0 -0
  278. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/file_map.py +0 -0
  279. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/file_memory.py +0 -0
  280. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/fleet_overview.py +0 -0
  281. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/git_context.py +0 -0
  282. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/grok_integration.py +0 -0
  283. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/grok_transcript.py +0 -0
  284. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/host_handoff.py +0 -0
  285. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/host_sessions.py +0 -0
  286. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/hub_service.py +0 -0
  287. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/index_store.py +0 -0
  288. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/indexer.py +0 -0
  289. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/jira_credentials.py +0 -0
  290. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/jira_links.py +0 -0
  291. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/lexical_index.py +0 -0
  292. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/mask_activation.py +0 -0
  293. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/mask_mirror.py +0 -0
  294. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/mask_presets.py +0 -0
  295. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory.py +0 -0
  296. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory_consolidator.py +0 -0
  297. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory_distiller.py +0 -0
  298. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory_graph.py +0 -0
  299. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory_grounder.py +0 -0
  300. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory_queue.py +0 -0
  301. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/memory_scorer.py +0 -0
  302. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/metrics.py +0 -0
  303. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/notifications.py +0 -0
  304. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ollama_bridge.py +0 -0
  305. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ollama_client.py +0 -0
  306. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ollama_credentials.py +0 -0
  307. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/oracle_service.py +0 -0
  308. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/output_filter.py +0 -0
  309. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/override_costs.py +0 -0
  310. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/override_grants.py +0 -0
  311. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/override_policy.py +0 -0
  312. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/override_requests.py +0 -0
  313. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/override_wake.py +0 -0
  314. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/parser.py +0 -0
  315. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/project_manager.py +0 -0
  316. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/project_runtime.py +0 -0
  317. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/protocol.py +0 -0
  318. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/proxy_state.py +0 -0
  319. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/read_stamps.py +0 -0
  320. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/repo_map.py +0 -0
  321. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/repo_shape.py +0 -0
  322. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/reranker.py +0 -0
  323. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/retention.py +0 -0
  324. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/retrieval.py +0 -0
  325. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/retrieval_broker.py +0 -0
  326. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/router.py +0 -0
  327. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/runtime.py +0 -0
  328. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/scanner.py +0 -0
  329. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/schedule_approvals.py +0 -0
  330. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/schedule_runner.py +0 -0
  331. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/schedule_store.py +0 -0
  332. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/session_benchmark.py +0 -0
  333. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/session_catalog.py +0 -0
  334. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/session_live.py +0 -0
  335. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/session_manager.py +0 -0
  336. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/session_preloader.py +0 -0
  337. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/shell_jobs.py +0 -0
  338. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/shell_output.py +0 -0
  339. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/subprojects.py +0 -0
  340. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/task_store.py +0 -0
  341. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/telemetry.py +0 -0
  342. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/terminal_launch.py +0 -0
  343. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/text_index.py +0 -0
  344. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/time_tracker.py +0 -0
  345. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/tool_classifier.py +0 -0
  346. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/transcript_index.py +0 -0
  347. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/ui_registry.py +0 -0
  348. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/validation_cache.py +0 -0
  349. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/vector_store.py +0 -0
  350. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/watcher.py +0 -0
  351. {code_context_control-2.157.1 → code_context_control-2.158.0}/services/win_subprocess.py +0 -0
  352. {code_context_control-2.157.1 → code_context_control-2.158.0}/setup.cfg +0 -0
  353. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_access_builtin_optout.py +0 -0
  354. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_access_guard_meta.py +0 -0
  355. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_access_guard_surfaces.py +0 -0
  356. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_access_guard_wiring.py +0 -0
  357. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_activity_log_find_last.py +0 -0
  358. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_activity_reporter.py +0 -0
  359. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_agent_locks.py +0 -0
  360. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_aider_polyglot.py +0 -0
  361. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_antigravity_transition.py +0 -0
  362. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_artifact_store.py +0 -0
  363. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_artifact_tool.py +0 -0
  364. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_atomic_json.py +0 -0
  365. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_background_service.py +0 -0
  366. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_bitbucket_cli_smoke.py +0 -0
  367. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_bitbucket_config_fallback.py +0 -0
  368. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_bitbucket_credentials.py +0 -0
  369. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_builtin_leases.py +0 -0
  370. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_builtin_modes.py +0 -0
  371. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_c3_bridge_project_artifacts.py +0 -0
  372. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_c3_shell.py +0 -0
  373. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_chat_poll.py +0 -0
  374. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_act.py +0 -0
  375. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_cache.py +0 -0
  376. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_dag_ownership.py +0 -0
  377. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_expr.py +0 -0
  378. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_impact.py +0 -0
  379. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_intel.py +0 -0
  380. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_runner.py +0 -0
  381. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ci_workflow.py +0 -0
  382. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_circuit_breaker.py +0 -0
  383. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_claude_md_merge.py +0 -0
  384. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_claude_md_updater.py +0 -0
  385. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_cli_smoke.py +0 -0
  386. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_codex_mcp_transport.py +0 -0
  387. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_codex_native.py +0 -0
  388. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_compressor_large_file.py +0 -0
  389. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_confirm_guard.py +0 -0
  390. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_confirm_guard_wiring.py +0 -0
  391. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_cooccurrence_bounds.py +0 -0
  392. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_cred_audit.py +0 -0
  393. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_cred_telemetry.py +0 -0
  394. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_credential_backup.py +0 -0
  395. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_credential_login_kind.py +0 -0
  396. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_credential_store.py +0 -0
  397. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_credential_ui_parity.py +0 -0
  398. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_credentials_routes.py +0 -0
  399. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_credentials_tool.py +0 -0
  400. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_creds_cli_smoke.py +0 -0
  401. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_cron_expr.py +0 -0
  402. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_adoption_d4.py +0 -0
  403. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_auto.py +0 -0
  404. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_cascade.py +0 -0
  405. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_claude_d1.py +0 -0
  406. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_eval.py +0 -0
  407. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_grok.py +0 -0
  408. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_host_d2.py +0 -0
  409. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_scout_d3.py +0 -0
  410. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_telemetry_d0.py +0 -0
  411. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_thinking_cap.py +0 -0
  412. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_tuning.py +0 -0
  413. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_version_probe.py +0 -0
  414. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_write.py +0 -0
  415. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_delegate_write_eval.py +0 -0
  416. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_dir_map_c3.py +0 -0
  417. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_e2e_benchmark.py +0 -0
  418. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_eol_atomic.py +0 -0
  419. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_ledger_deadline.py +0 -0
  420. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_ledger_hook.py +0 -0
  421. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_locking.py +0 -0
  422. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_normalization.py +0 -0
  423. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_outcome.py +0 -0
  424. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_report.py +0 -0
  425. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_revert.py +0 -0
  426. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_stale.py +0 -0
  427. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_edit_verify.py +0 -0
  428. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_embedding_index_corrupt_store.py +0 -0
  429. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_embedding_index_deadlock.py +0 -0
  430. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_embedding_store_safety.py +0 -0
  431. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_enforcement_flip.py +0 -0
  432. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_enforcement_policy.py +0 -0
  433. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_enforcement_routes.py +0 -0
  434. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_env_parser.py +0 -0
  435. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_failed_calls_do_not_unlock.py +0 -0
  436. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_federated_graph.py +0 -0
  437. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_file_map_c1.py +0 -0
  438. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_filter_backoff.py +0 -0
  439. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ghost_files.py +0 -0
  440. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ghost_generation.py +0 -0
  441. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_git_branch_awareness.py +0 -0
  442. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_grok_native.py +0 -0
  443. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_codex_compat.py +0 -0
  444. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_dispatch.py +0 -0
  445. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_grok_compat.py +0 -0
  446. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_pretool_enforce.py +0 -0
  447. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_prompt_recall.py +0 -0
  448. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_session_end.py +0 -0
  449. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_smoke.py +0 -0
  450. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_state.py +0 -0
  451. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hook_utf8_stdio.py +0 -0
  452. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_host_handoff.py +0 -0
  453. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_host_rebind.py +0 -0
  454. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_access_routes.py +0 -0
  455. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_builtin_routes.py +0 -0
  456. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_credentials_route.py +0 -0
  457. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_credentials_routes_write.py +0 -0
  458. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_enforcement_routes.py +0 -0
  459. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_hook_migration.py +0 -0
  460. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_ide_cmd.py +0 -0
  461. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_inspect_api.py +0 -0
  462. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_locks_routes.py +0 -0
  463. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_oracle_service_routes.py +0 -0
  464. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_override_policy_routes.py +0 -0
  465. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_override_routes.py +0 -0
  466. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_rules_routes.py +0 -0
  467. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_schedules_routes.py +0 -0
  468. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_server_smoke.py +0 -0
  469. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_sessions_routes.py +0 -0
  470. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_hub_subproject_links.py +0 -0
  471. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ide_workflow_adaptation.py +0 -0
  472. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_index_cap_not_hardcoded.py +0 -0
  473. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_init_clear_preserves_user_content.py +0 -0
  474. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_init_scan.py +0 -0
  475. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_install_mcp_entrypoint.py +0 -0
  476. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_cli_smoke.py +0 -0
  477. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_config_fallback.py +0 -0
  478. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_credentials.py +0 -0
  479. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_links.py +0 -0
  480. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_jira_routes.py +0 -0
  481. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_large_files_c4.py +0 -0
  482. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_lazy_store_init.py +0 -0
  483. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_map_eval.py +0 -0
  484. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_map_telemetry_c0.py +0 -0
  485. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mask_guard.py +0 -0
  486. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mask_routes.py +0 -0
  487. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mask_surfaces.py +0 -0
  488. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mcp_host_guard.py +0 -0
  489. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mcp_memory_timeout.py +0 -0
  490. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mcp_server_smoke.py +0 -0
  491. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mcp_toml.py +0 -0
  492. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_memory_distiller.py +0 -0
  493. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_memory_graph_api.py +0 -0
  494. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_memory_queue.py +0 -0
  495. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_memory_system.py +0 -0
  496. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_api.py +0 -0
  497. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_clients.py +0 -0
  498. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_extras.py +0 -0
  499. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_fleet.py +0 -0
  500. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_jobs_ci.py +0 -0
  501. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_override_costs.py +0 -0
  502. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_override_routes.py +0 -0
  503. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_schedules.py +0 -0
  504. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_mobile_security_api.py +0 -0
  505. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_no_stale_model_pins.py +0 -0
  506. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_notification_dedup.py +0 -0
  507. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_notification_discipline.py +0 -0
  508. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_notification_kinds.py +0 -0
  509. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ollama_credentials.py +0 -0
  510. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_api_auth.py +0 -0
  511. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_apikey_api.py +0 -0
  512. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_c3_bridge.py +0 -0
  513. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_chat_engine.py +0 -0
  514. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_chat_store.py +0 -0
  515. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_discovery_api.py +0 -0
  516. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_discovery_audit.py +0 -0
  517. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_health_probe.py +0 -0
  518. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_local_auth.py +0 -0
  519. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_loopback.py +0 -0
  520. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_ollama_bridge.py +0 -0
  521. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_scanner_cache.py +0 -0
  522. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_security_fixes.py +0 -0
  523. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_session_bootstrap.py +0 -0
  524. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_subproject_awareness.py +0 -0
  525. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_oracle_ui_bundle.py +0 -0
  526. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_output_filter.py +0 -0
  527. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_override_costs.py +0 -0
  528. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_override_grants.py +0 -0
  529. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_override_grants_mcp.py +0 -0
  530. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_override_requests.py +0 -0
  531. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_override_wake.py +0 -0
  532. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_permissions.py +0 -0
  533. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_pm_api.py +0 -0
  534. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_project_lease_identity.py +0 -0
  535. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_project_manager.py +0 -0
  536. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_project_manager_merge.py +0 -0
  537. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_project_tool.py +0 -0
  538. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_quarantine_sweep.py +0 -0
  539. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_read_coercion.py +0 -0
  540. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_read_edit_parity.py +0 -0
  541. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_read_outside_root.py +0 -0
  542. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_related_facts.py +0 -0
  543. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_repo_map.py +0 -0
  544. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_repo_shape.py +0 -0
  545. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_response_boilerplate.py +0 -0
  546. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_retention.py +0 -0
  547. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_review_digest.py +0 -0
  548. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_schedule_api.py +0 -0
  549. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_schedule_approvals.py +0 -0
  550. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_schedule_mcp.py +0 -0
  551. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_schedule_runner.py +0 -0
  552. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_schedule_store.py +0 -0
  553. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_scheduler_tick.py +0 -0
  554. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_eval.py +0 -0
  555. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_p1.py +0 -0
  556. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_p2.py +0 -0
  557. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_p2b.py +0 -0
  558. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_p3.py +0 -0
  559. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_p4.py +0 -0
  560. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_search_p5.py +0 -0
  561. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_service_durability.py +0 -0
  562. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_session_benchmark.py +0 -0
  563. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_session_budget.py +0 -0
  564. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_session_catalog.py +0 -0
  565. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_session_live.py +0 -0
  566. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_session_tool.py +0 -0
  567. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_budget_s1.py +0 -0
  568. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_creds.py +0 -0
  569. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_eval.py +0 -0
  570. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_jobs_argv.py +0 -0
  571. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_jobs_s3.py +0 -0
  572. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_nudge_s4.py +0 -0
  573. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_output.py +0 -0
  574. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_parsers_s2.py +0 -0
  575. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_robustness.py +0 -0
  576. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_telemetry_s0.py +0 -0
  577. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_write_ledger.py +0 -0
  578. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_shell_writes.py +0 -0
  579. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_subproject_clear_scope.py +0 -0
  580. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_subproject_depth_consumers.py +0 -0
  581. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_subproject_exclusion.py +0 -0
  582. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_subproject_federation.py +0 -0
  583. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_subproject_linkage_api.py +0 -0
  584. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_subprojects.py +0 -0
  585. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_swe_bench.py +0 -0
  586. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_task_store.py +0 -0
  587. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_task_tool.py +0 -0
  588. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_time_tracker.py +0 -0
  589. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_token_telemetry.py +0 -0
  590. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_token_tracking.py +0 -0
  591. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_tool_registry.py +0 -0
  592. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ui_jsx_syntax.py +0 -0
  593. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_ui_registry.py +0 -0
  594. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_upgrade_and_version.py +0 -0
  595. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_validate.py +0 -0
  596. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_vault_write_guard.py +0 -0
  597. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_version_sync.py +0 -0
  598. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_watcher_pruning.py +0 -0
  599. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_web_security.py +0 -0
  600. {code_context_control-2.157.1 → code_context_control-2.158.0}/tests/test_windows_reliability.py +0 -0
  601. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/__init__.py +0 -0
  602. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/backend.py +0 -0
  603. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/main.py +0 -0
  604. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/__init__.py +0 -0
  605. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/benchmark_view.py +0 -0
  606. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/claudemd_view.py +0 -0
  607. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/compress_view.py +0 -0
  608. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/index_view.py +0 -0
  609. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/init_view.py +0 -0
  610. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/mcp_view.py +0 -0
  611. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/optimize_view.py +0 -0
  612. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/pipe_view.py +0 -0
  613. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/projects_view.py +0 -0
  614. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/search_view.py +0 -0
  615. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/session_view.py +0 -0
  616. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/stats.py +0 -0
  617. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/screens/ui_view.py +0 -0
  618. {code_context_control-2.157.1 → code_context_control-2.158.0}/tui/theme.tcss +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-context-control
3
- Version: 2.157.1
3
+ Version: 2.158.0
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
@@ -33,7 +33,73 @@ _PY_WRITE_TEXT_RE = re.compile(r"""Path\(\s*(?P<q>['"])(?P<t>[^'"]+)(?P=q)\s*\)\
33
33
  _FILE_CMDS = {"cp", "mv", "touch", "rm", "install"}
34
34
  _STREAMS = {"/dev/null", "/dev/stdout", "/dev/stderr", "nul", "&1", "&2", "-"}
35
35
  _SYNTAX = set("$`(){}|<>*?")
36
+ _MSYS_DRIVE_RE = re.compile(r"^/([a-zA-Z])(?=/|$)")
37
+ _QUOTED_RES = (re.compile(r'"([^"\n]{1,400})"'), re.compile(r"'([^'\n]{1,400})'"))
36
38
  MAX_TARGETS = 20
39
+ MAX_QUOTED = 64
40
+
41
+
42
+ def msys_drive(path: str) -> str:
43
+ """`/c/x` -> `c:/x` on Windows, where Git Bash spells drives that way.
44
+
45
+ Without it `cd /u/repo` resolves to `<cwd drive>:/u/repo`, a directory
46
+ that does not exist, and every relative path after it is judged there.
47
+ """
48
+ if os.name != "nt" or not _MSYS_DRIVE_RE.match(path):
49
+ return path
50
+ return f"{path[1]}:/{path[3:]}"
51
+
52
+
53
+ def _shell_quoted(cmd: str) -> list[str]:
54
+ """Quoted strings as the shell reads them: `'` is literal inside `"`."""
55
+ out: list[str] = []
56
+ buf: list[str] = []
57
+ quote, esc = None, False
58
+ for ch in cmd:
59
+ if quote is None:
60
+ if esc:
61
+ esc = False
62
+ elif ch == "\\":
63
+ esc = True
64
+ elif ch in "'\"":
65
+ quote, buf = ch, []
66
+ elif quote == '"' and esc:
67
+ buf.append(ch)
68
+ esc = False
69
+ elif quote == '"' and ch == "\\":
70
+ buf.append(ch)
71
+ esc = True
72
+ elif ch == quote:
73
+ out.append("".join(buf))
74
+ quote = None
75
+ else:
76
+ buf.append(ch)
77
+ return out
78
+
79
+
80
+ def quoted_paths(cmd: str) -> list[str]:
81
+ """Path-shaped quoted substrings of a command, for the access scans.
82
+
83
+ A quoted path with spaces (`"U:/1. Projects/x/.env"`) splits into
84
+ fragments under a whitespace tokenizer, and quoted code
85
+ (`node -e "fs.readFileSync('x/.env')"`, a heredoc body) hides its
86
+ path inside a larger token. So this returns the shell's own quoted
87
+ strings plus the string literals inside them and anywhere in the text.
88
+ Over-collecting is expected: callers judge each candidate against files
89
+ that exist.
90
+ """
91
+ out: list[str] = []
92
+ cmd = cmd or ""
93
+ tops = _shell_quoted(cmd)
94
+ for s in tops + [m.group(1) for t in tops + [cmd]
95
+ for rx in _QUOTED_RES for m in rx.finditer(t)]:
96
+ s = s.strip()
97
+ if (s and "\n" not in s and len(s) <= 400 and s not in out
98
+ and ("/" in s or "\\" in s or s.startswith("."))):
99
+ out.append(s)
100
+ if len(out) >= MAX_QUOTED:
101
+ break
102
+ return out
37
103
 
38
104
 
39
105
  def _clean(tok: str) -> str:
@@ -79,7 +145,7 @@ def _cd_target(segment: str, cwd: str) -> str | None:
79
145
  m = _CD_RE.match(segment)
80
146
  if not m:
81
147
  return None
82
- target = m.group("dir").strip("\"'")
148
+ target = msys_drive(os.path.expanduser(m.group("dir").strip("\"'")))
83
149
  try:
84
150
  return target if os.path.isabs(target) else os.path.normpath(os.path.join(cwd, target))
85
151
  except (OSError, ValueError):
@@ -99,8 +165,7 @@ def shell_write_targets(cmd: str, cwd: str) -> list[str]:
99
165
  try:
100
166
  for segment in _SEGMENT_SPLIT.split(cmd or ""):
101
167
  for tok in _segment_targets(segment):
102
- if re.match(r"^/[a-z]/", tok): # MSYS /c/foo -> C:/foo
103
- tok = f"{tok[1]}:{tok[2:]}"
168
+ tok = msys_drive(os.path.expanduser(tok))
104
169
  try:
105
170
  p = Path(tok) if os.path.isabs(tok) else Path(here) / tok
106
171
  key = os.path.normcase(os.path.normpath(str(p)))
@@ -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.157.1"
94
+ __version__ = "2.158.0"
95
95
 
96
96
  # The PreToolUse matcher for native subagent calls (installer and hub migration).
97
97
  AGENT_MATCHER = "Agent|Task"
@@ -34,13 +34,19 @@ except Exception: # pragma: no cover — telemetry is never load-bearing
34
34
  # The same write-target extractor the edit ledger uses after the fact. Its
35
35
  # absence degrades the shell branch to the read-only scan, never to a crash.
36
36
  try:
37
- from _shell_writes import shell_write_targets
37
+ from _shell_writes import msys_drive, quoted_paths, shell_write_targets
38
38
  except Exception: # pragma: no cover — package-style import (dispatcher, tests)
39
39
  try:
40
- from cli._shell_writes import shell_write_targets
40
+ from cli._shell_writes import msys_drive, quoted_paths, shell_write_targets
41
41
  except Exception:
42
42
  shell_write_targets = None
43
43
 
44
+ def msys_drive(path: str) -> str:
45
+ return path
46
+
47
+ def quoted_paths(cmd: str) -> list:
48
+ return []
49
+
44
50
  _WRITE_TOOLS = {"Edit", "Write", "MultiEdit", "NotebookEdit"}
45
51
  _READ_TOOLS = {"Read", "SearchText"}
46
52
  _SEARCH_TOOLS = {"Grep", "Glob", "FindFiles"}
@@ -112,7 +118,20 @@ _DOUBLE_COLON_RE = re.compile(r"::(?!\$)")
112
118
  # `<rev>:<path>` — how git names a blob: `git show HEAD:setup.py`,
113
119
  # `git cat-file -p origin/main:src/a.py`.
114
120
  _GIT_REVSPEC_RE = re.compile(r"^(?P<rev>[^:\s]+):(?P<path>[^:\s]+)$")
115
- _GIT_CMD_RE = re.compile(r"^\s*(?:[\w.\-]*[/\\])?git(?:\.exe)?\b", re.IGNORECASE)
121
+ # Loop and conditional bodies (`do git show …`) and env prefixes
122
+ # (`GIT_PAGER= git show …`) are still git commands.
123
+ _GIT_CMD_RE = re.compile(
124
+ r"^\s*(?:(?:do|then|else|time|exec|command)\s+|[!({]\s*|[A-Za-z_]\w*=\S*\s+)*"
125
+ r"(?:[\w.\-]*[/\\])?git(?:\.exe)?\b",
126
+ re.IGNORECASE,
127
+ )
128
+
129
+ # Refusals that judge how a path is SPELLED rather than which file it names.
130
+ # A shell token that trips one is usually not a path at all, so these are
131
+ # re-judged as the file they could reach (_spelling_verdict).
132
+ _SPELLING_RULES = frozenset({"<ads>", "<unc>", "<empty-component>", "<8.3-alias>"})
133
+ # `\\host\share` or `//host/share`: one separator between host and share.
134
+ _UNC_SHARE_RE = re.compile(r"^(?:\\\\|//)[^\\/\s]+[\\/][^\\/\s]+")
116
135
 
117
136
  # Where one command ends and the next begins. Anchoring "is this git?" to the
118
137
  # start of the whole string was wrong in the most ordinary way possible:
@@ -190,6 +209,56 @@ def _looks_like_a_path(tok: str) -> bool:
190
209
  return not (_SYNTAX_CHARS & set(tok))
191
210
 
192
211
 
212
+ def _exists(path: str) -> bool:
213
+ try:
214
+ return Path(path).exists()
215
+ except (OSError, ValueError):
216
+ return False
217
+
218
+
219
+ def _stream_base(path: str) -> str:
220
+ """`C:/x/f.txt:name:$DATA` -> `C:/x/f.txt`: the file a stream belongs to."""
221
+ head = path[:2] if re.match(r"^[A-Za-z]:", path) else ""
222
+ return head + path[len(head):].split(":", 1)[0]
223
+
224
+
225
+ def _dots_collapsed(path: str) -> str:
226
+ """The path Windows opens for a spelling with dot-only components.
227
+
228
+ Win32 strips trailing dots and spaces, so `a/.../b` and `a/x/../b` both
229
+ land somewhere real; model that before asking which file it is.
230
+ """
231
+ parts = re.split(r"[\\/]", path)
232
+ kept = [p if p in ("", ".", "..") or p.rstrip(". ") else "." for p in parts]
233
+ return os.path.normpath("/".join(kept))
234
+
235
+
236
+ def _spelling_verdict(denial, tok: str, probe: str, base: str):
237
+ """The deny a path-spelling refusal stands for in a shell command, or None.
238
+
239
+ The spelling rules keep a protected file from being reached under an odd
240
+ name. Tokens that trip them in shell text are mostly not paths
241
+ (`origin/main:x`, `// comment`, `taskkill //F`, `...`), so the token is
242
+ judged as the file it could name, with the usual existence gate, and
243
+ refused only when that file is denied. A real UNC share stays denied: a
244
+ network path cannot be judged locally.
245
+ """
246
+ if denial.rule == "<unc>":
247
+ unc = any(_UNC_SHARE_RE.match(t) for t in (tok, tok.replace("\\\\", "\\")))
248
+ return denial if unc else None
249
+ if denial.rule == "<ads>":
250
+ target = _stream_base(probe)
251
+ elif denial.rule == "<empty-component>":
252
+ target = _dots_collapsed(probe)
253
+ else:
254
+ return None # <8.3-alias>: a short name that does not exist names nothing
255
+ real = ag.check(target, "read", base)
256
+ if (real and real.kind == "deny" and not real.rule.startswith("<")
257
+ and _exists(target)):
258
+ return real
259
+ return None
260
+
261
+
193
262
  def _deny(reason: str) -> dict:
194
263
  return {
195
264
  "hookSpecificOutput": {
@@ -290,7 +359,8 @@ def _cd_target(segment: str, cwd: str) -> str | None:
290
359
  if not target or target.startswith("-"):
291
360
  return None
292
361
  try:
293
- return os.path.abspath(os.path.join(cwd, os.path.expanduser(target)))
362
+ return os.path.abspath(
363
+ os.path.join(cwd, msys_drive(os.path.expanduser(target))))
294
364
  except (OSError, ValueError):
295
365
  return None
296
366
 
@@ -300,12 +370,13 @@ def _scan_shell(cmd: str, base: str):
300
370
 
301
371
  Confident = the token resolves to an EXISTING path that a ``deny`` rule
302
372
  covers (existence-gating keeps regex/pattern arguments like '\\.env'
303
- from false-denying), or the evaluator flags the spelling itself.
373
+ from false-denying). A spelling refusal (``<ads>``, ``<unc>``, …) counts
374
+ only when the file the spelling could reach is itself denied
375
+ (``_spelling_verdict``). Quoted substrings are judged as well, so a
376
+ quoted path with spaces is not lost to whitespace splitting.
304
377
 
305
378
  Tokens that are shell syntax rather than path arguments are skipped
306
- outright, as are URLs and IPv6 literals: all of them trip the ADS spelling
307
- check, which is exempt from existence-gating, so a token naming nothing on
308
- disk would otherwise hard-deny (#50).
379
+ outright, as are URLs and IPv6 literals.
309
380
 
310
381
  Scanning is per **command segment**, not per whole string. A segment is what
311
382
  sits between `&&`, `||`, `;`, `|` or a newline, and each one answers "am I a
@@ -315,6 +386,7 @@ def _scan_shell(cmd: str, base: str):
315
386
  """
316
387
  budget = _MAX_TOKENS
317
388
  cwd = base
389
+ visited = [base]
318
390
  for segment in _SEGMENT_SPLIT.split(cmd or ""):
319
391
  if budget <= 0:
320
392
  break
@@ -347,8 +419,7 @@ def _scan_shell(cmd: str, base: str):
347
419
  from_revspec = revspec_path is not None
348
420
  if from_revspec:
349
421
  tok = revspec_path
350
- if re.match(r"^/[a-z]/", tok): # MSYS /c/foo → C:/foo
351
- tok = f"{tok[1]}:{tok[2:]}"
422
+ tok = msys_drive(tok)
352
423
  # Resolve against the cwd the command will actually run in, not the
353
424
  # session root. `cd /elsewhere && cat .env` used to compute the
354
425
  # denial correctly and then throw it away, because the existence
@@ -363,10 +434,12 @@ def _scan_shell(cmd: str, base: str):
363
434
  probe = tok
364
435
  denial = ag.check(probe, "read", base)
365
436
  if denial and denial.kind == "deny":
366
- try:
367
- exists = Path(probe).exists()
368
- except OSError:
369
- exists = False
437
+ if denial.rule in _SPELLING_RULES:
438
+ denial = _spelling_verdict(denial, tok, probe, base)
439
+ if denial is not None:
440
+ return denial, tok
441
+ continue
442
+ exists = _exists(probe)
370
443
  # A revspec names a path in HISTORY, so the working tree is the
371
444
  # wrong place to ask whether it is real. `git show HEAD~5:.env`
372
445
  # reads a denied file whether or not that file exists today, and
@@ -378,6 +451,34 @@ def _scan_shell(cmd: str, base: str):
378
451
  moved = _cd_target(segment, cwd)
379
452
  if moved is not None:
380
453
  cwd = moved
454
+ visited.append(cwd)
455
+ return _scan_quoted(cmd, visited, base)
456
+
457
+
458
+ def _scan_quoted(cmd: str, dirs: list, base: str):
459
+ """(denial, token) for a quoted path naming an existing denied file.
460
+
461
+ Quotes can span the segment separators, so this runs over the whole
462
+ command and resolves a relative path against every directory the scan
463
+ visited. A quoted `//host/path` is far more often a protocol-relative URL
464
+ in code than a share, so `<unc>` is not judged here; the token scan still
465
+ judges it.
466
+ """
467
+ for raw in quoted_paths(cmd):
468
+ if _is_network_token(raw):
469
+ continue
470
+ tok = msys_drive(os.path.expanduser(raw))
471
+ for here in ([base] if os.path.isabs(tok) else dirs):
472
+ probe = tok if os.path.isabs(tok) else os.path.join(here, tok)
473
+ denial = ag.check(probe, "read", base)
474
+ if not denial or denial.kind != "deny" or denial.rule == "<unc>":
475
+ continue
476
+ if denial.rule in _SPELLING_RULES:
477
+ denial = _spelling_verdict(denial, tok, probe, base)
478
+ elif not (_exists(probe) or denial.rule.startswith("<")):
479
+ denial = None
480
+ if denial is not None:
481
+ return denial, tok
381
482
  return None, ""
382
483
 
383
484
 
@@ -768,10 +768,13 @@ def _finalize_response(ctx: Context, tool_name: str, args: dict,
768
768
  reasoning=f"Budget at {snap_pct}% — auto-snapshot before potential /clear",
769
769
  description="", summary="", event_type="auto",
770
770
  svc=svc, finalize=lambda *a, **kw: "")
771
- response += (
772
- f"\n\n[c3:auto_snapshot] Budget {snap_pct}%. Snapshot saved. "
773
- f"Tell user to /clear, then restore."
774
- )
771
+ # A format="json" reply must stay parseable: no text appended.
772
+ from cli.tools._json_reply import is_json_reply
773
+ if not is_json_reply(response):
774
+ response += (
775
+ f"\n\n[c3:auto_snapshot] Budget {snap_pct}%. Snapshot saved. "
776
+ f"Tell user to /clear, then restore."
777
+ )
775
778
  svc.activity_log.log("auto_snapshot", {"budget_pct": snap_pct})
776
779
  except Exception:
777
780
  pass
@@ -1289,11 +1292,20 @@ async def c3_bitbucket(
1289
1292
  webhook_id: int = 0,
1290
1293
  comment_id: int = 0,
1291
1294
  limit: int = 50,
1295
+ path: str = "",
1296
+ at: str = "",
1297
+ filter_text: str = "",
1298
+ order: str = "",
1299
+ format: str = "",
1292
1300
  ctx: Context = None,
1293
1301
  ) -> str:
1294
1302
  """BITBUCKET (Data Center / Server) — see and act on PRs, branches, builds, repo admin.
1295
- actions: status, whoami, list_projects, list_repos, get_repo,
1303
+ actions: status, whoami, list_projects, list_repos, get_repo (description,
1304
+ default branch, browse and clone URLs),
1305
+ readme ([at=branch/commit] — the root README, markdown preferred),
1306
+ get_file (path [at] — one text file, 256 KB cap, binary refused),
1296
1307
  list_prs, get_pr, get_pr_diff, get_pr_activities, get_pr_commits,
1308
+ pr_issues (pr_id — Jira issues Bitbucket's Jira integration links to the PR),
1297
1309
  create_pr, update_pr (pr_id + any of title/description/reviewers/to_branch —
1298
1310
  unchanged fields are preserved; reviewers is the FULL comma-separated
1299
1311
  replacement set), comment_pr,
@@ -1305,10 +1317,13 @@ async def c3_bitbucket(
1305
1317
  list_pr_tasks (state filters OPEN/RESOLVED), create_pr_task (pr_id, body —
1306
1318
  a blocker task on the PR), resolve_pr_task (pr_id, comment_id from
1307
1319
  list_pr_tasks),
1308
- list_branches, create_branch, delete_branch,
1309
- list_commits, list_activity, build_status,
1320
+ list_branches ([filter_text] [order=MODIFICATION|ALPHABETICAL]), create_branch,
1321
+ delete_branch, list_commits ([branch] [path]), list_activity, build_status (commit),
1310
1322
  repo_settings, update_repo_settings, list_webhooks, create_webhook, delete_webhook,
1311
1323
  list_permissions.
1324
+ format="json": reads return {"ok", "action", "data"} JSON (normalized fields, a
1325
+ ~400k-char cap that trims lists and sets "truncated"); writes return the text
1326
+ reply in data.text; errors return {"ok": false, "error"}. For programs, not agents.
1312
1327
  project/repo fall back to bitbucket.default_project/default_repo from .c3/config.json.
1313
1328
  Tokens live in the OS keyring — `c3 bitbucket login` to set them up first."""
1314
1329
  svc = _svc(ctx)
@@ -1324,7 +1339,8 @@ async def c3_bitbucket(
1324
1339
  description=description, reviewers=reviewers, name=name, url=url,
1325
1340
  events=events, start_point=start_point, commit=commit,
1326
1341
  settings=settings, webhook_id=webhook_id, comment_id=comment_id,
1327
- limit=limit,
1342
+ limit=limit, path=path, at=at, filter_text=filter_text, order=order,
1343
+ format=format,
1328
1344
  )
1329
1345
 
1330
1346
 
@@ -1357,10 +1373,16 @@ async def c3_jira(
1357
1373
  file_path: str = "",
1358
1374
  delete_subtasks: bool = False,
1359
1375
  limit: int = 25,
1376
+ validate: str = "",
1377
+ format: str = "",
1360
1378
  ctx: Context = None,
1361
1379
  ) -> str:
1362
1380
  """JIRA (Cloud + Data Center) — search, read, create, update, link, sprint, comment, transition, assign issues.
1363
- actions: status, whoami, search (jql), get_issue (issue — shows parent, links, attachments),
1381
+ actions: status, whoami, search (jql [validate=warn — Data Center: unknown keys in
1382
+ `key in (...)` become warnings instead of failing the query]),
1383
+ get_issue (issue — shows type, parent, subtasks, links, attachments),
1384
+ dev_status (issue — pull requests, branches and commits from Jira's development panel;
1385
+ some instances disable that API, which reports as unavailable),
1364
1386
  my_issues, list_projects, list_transitions (issue), get_create_metadata (project, issue_type),
1365
1387
  search_users (query), list_link_types,
1366
1388
  list_boards ([project]), list_sprints (board_id [sprint_state=active|future|closed]),
@@ -1383,6 +1405,10 @@ async def c3_jira(
1383
1405
  get_create_metadata reflects Jira's field configuration, not the create screen — if
1384
1406
  create_issue rejects a listed field ('not on the appropriate screen'), create without
1385
1407
  it and set it via update_issue (the edit screen is configured separately).
1408
+ format="json": reads return {"ok", "action", "data"} JSON (normalized fields incl.
1409
+ rendered HTML description/comments, a ~400k-char cap that trims lists and sets
1410
+ "truncated"); writes return the text reply in data.text; errors return
1411
+ {"ok": false, "error"}. For programs, not agents.
1386
1412
  project falls back to the account's default_project; account to jira.default_account.
1387
1413
  Mutating actions are ledger-logged. Tokens live in the OS keyring — `c3 jira login` first."""
1388
1414
  svc = _svc(ctx)
@@ -1402,6 +1428,7 @@ async def c3_jira(
1402
1428
  sprint_id=sprint_id, sprint_state=sprint_state,
1403
1429
  time_spent=time_spent, file_path=file_path,
1404
1430
  delete_subtasks=delete_subtasks, limit=limit,
1431
+ validate=validate, format=format,
1405
1432
  )
1406
1433
 
1407
1434
 
@@ -0,0 +1,90 @@
1
+ """JSON replies for c3_jira / c3_bitbucket ``format="json"``.
2
+
3
+ Programs (dashboards, the Work Agents Work page) read these tools too, and
4
+ the text replies are capped at a few thousand tokens for agents. JSON mode
5
+ returns the normalized data instead, under a much larger character cap that
6
+ trims list and string fields so the reply always stays valid JSON:
7
+
8
+ {"ok": true, "action": "get_issue", "data": {...}, "truncated": ["comments"]}
9
+ {"ok": false, "action": "get_issue", "error": "...", "status": 404}
10
+ """
11
+ from __future__ import annotations
12
+
13
+ import json
14
+ from typing import Any
15
+
16
+ JSON_CHAR_CAP = 400_000
17
+
18
+ # Lists ordered oldest first: trimming keeps their newest entries.
19
+ _KEEP_TAIL = {"comments", "activities"}
20
+
21
+ # A string shorter than this is not worth cutting; the next field is.
22
+ _MIN_CUT = 1000
23
+
24
+
25
+ def wants_json(kwargs: dict) -> bool:
26
+ return str(kwargs.get("format") or "").strip().lower() == "json"
27
+
28
+
29
+ def _dumps(obj: Any) -> str:
30
+ return json.dumps(obj, ensure_ascii=False, default=str)
31
+
32
+
33
+ def _fit(data: dict, cap: int, overhead: int) -> list[str]:
34
+ """Shrink the largest top-level fields of *data* in place until the
35
+ serialized dict fits in ``cap - overhead`` characters. Returns the names
36
+ of the fields that were cut."""
37
+ truncated: list[str] = []
38
+ budget = max(0, cap - overhead)
39
+ for _ in range(200):
40
+ if len(_dumps(data)) <= budget:
41
+ break
42
+ sizes = {k: len(_dumps(v)) for k, v in data.items()}
43
+ key = max(sizes, key=sizes.get)
44
+ value = data[key]
45
+ if isinstance(value, list) and len(value) > 1:
46
+ keep = max(1, len(value) * 3 // 4)
47
+ data[key] = value[-keep:] if key in _KEEP_TAIL else value[:keep]
48
+ elif isinstance(value, str) and len(value) > _MIN_CUT:
49
+ data[key] = value[: len(value) * 3 // 4]
50
+ elif isinstance(value, (list, dict)) and value:
51
+ data[key] = [] if isinstance(value, list) else {}
52
+ else:
53
+ data[key] = None
54
+ if key not in truncated:
55
+ truncated.append(key)
56
+ return truncated
57
+
58
+
59
+ def ok(action: str, data: Any, *, cap: int = JSON_CHAR_CAP) -> str:
60
+ """Serialize a successful read. A non-dict *data* is wrapped as
61
+ ``{"values": data}`` so every reply trims the same way."""
62
+ if not isinstance(data, dict):
63
+ data = {"values": data}
64
+ data = dict(data)
65
+ head = {"ok": True, "action": action}
66
+ truncated = _fit(data, cap, len(_dumps(head)) + 64)
67
+ out = {**head, "data": data}
68
+ if truncated:
69
+ out["truncated"] = truncated
70
+ return _dumps(out)
71
+
72
+
73
+ def error(action: str, message: str, *, status: int = 0, code: str = "") -> str:
74
+ out: dict[str, Any] = {"ok": False, "action": action, "error": message}
75
+ if status:
76
+ out["status"] = status
77
+ if code:
78
+ out["code"] = code
79
+ return _dumps(out)
80
+
81
+
82
+ def text(action: str, resp: str) -> str:
83
+ """An action with no structured form (writes, diffs) in JSON mode: the
84
+ text reply rides in ``data.text`` so the caller still gets JSON."""
85
+ return ok(action, {"text": resp})
86
+
87
+
88
+ def is_json_reply(response: str) -> bool:
89
+ """True for a reply built here; callers must not append text to it."""
90
+ return response.startswith('{"ok": ')