code-context-control 2.119.0__tar.gz → 2.121.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.
- {code_context_control-2.119.0/code_context_control.egg-info → code_context_control-2.121.0}/PKG-INFO +1 -1
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/c3.py +38 -1
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/commands/parser.py +13 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/mcp_server.py +10 -7
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/agent.py +6 -8
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/compress.py +62 -6
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/read.py +24 -3
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/search.py +14 -17
- {code_context_control-2.119.0 → code_context_control-2.121.0/code_context_control.egg-info}/PKG-INFO +1 -1
- {code_context_control-2.119.0 → code_context_control-2.121.0}/code_context_control.egg-info/SOURCES.txt +5 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/pyproject.toml +3 -1
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/agents.py +4 -23
- code_context_control-2.121.0/services/bench/map_eval.py +999 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/compressor.py +4 -1
- code_context_control-2.121.0/services/file_map.py +353 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/file_memory.py +114 -156
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/parser.py +134 -36
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/telemetry.py +135 -0
- code_context_control-2.121.0/tests/test_file_map_c1.py +266 -0
- code_context_control-2.121.0/tests/test_map_eval.py +477 -0
- code_context_control-2.121.0/tests/test_map_telemetry_c0.py +272 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_windows_reliability.py +4 -1
- {code_context_control-2.119.0 → code_context_control-2.121.0}/LICENSE +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/README.md +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/_hook_utils.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/_shell_writes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/commands/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/commands/common.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/docs.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/edits.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/access.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/bitbucket.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/credentials.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/getting-started.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/index.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/masking.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/oracle.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/shared.css +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/tools.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/guide/workflow.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_access_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_artifact.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_auto_snapshot.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_c3_signal.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_c3read.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_codex_lifecycle.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_dispatch.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_edit_ledger.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_edit_unlock.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_filter.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_ghost_files.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_pretool_enforce.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_prompt_recall.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_read.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_session_stats.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hook_terse_advisor.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_server.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/app.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/add_project.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/config_editor.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/drill_artifacts.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/drill_health.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/drill_panel.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/drill_subprojects.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/drill_tasks.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/drill_views.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/global_search.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_access.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_ci.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_cred_audit.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_credentials.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_enforcement.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_locks.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/hub_tokens.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/mcp_manager.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/modals.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/project_card.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/project_tree.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/session_drawer.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/settings_modal.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/sidebar.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/summary_bar.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/task_board.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/toasts.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/components/topbar.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui/state.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/hub_ui.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/mcp_proxy.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/progress.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/server.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/_grants.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/_helpers.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/artifacts.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/bitbucket.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/ci.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/delegate.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/edit.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/edit_verify.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/edits.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/federate.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/filter.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/impact.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/jira.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/locks.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/memory.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/override.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/project.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/session.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/shell.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/shell_job.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/shell_nudge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/shell_parsers.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/shell_render.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/status.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/tasks.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/tools/validate.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/api.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/app.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/access.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/bitbucket.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/chat.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/credentials.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/dashboard.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/edits.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/enforcement.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/instructions.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/jira.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/memory.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/sessions.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/settings.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/sidebar.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/components/tasks.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/icons.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/pm_shared.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/shared.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui/theme.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui_legacy.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/cli/ui_nano.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/code_context_control.egg-info/dependency_links.txt +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/code_context_control.egg-info/entry_points.txt +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/code_context_control.egg-info/requires.txt +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/code_context_control.egg-info/top_level.txt +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/codex_patch.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/config.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/host.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/ide.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/mcp_toml.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/core/web_security.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/config.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/mcp_oracle.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/oracle_server.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/oracle_ui.html +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/activity_reporter.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/api_auth.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/c3_bridge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/chat_engine.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/chat_poll.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/chat_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/cross_memory.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/discovery_audit.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/federated_graph.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/health_checker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/insight_engine.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/local_session.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/memory_reader.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/memory_writer.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/mobile_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/project_scanner.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/review_agent.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/tool_executor.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/services/tool_registry.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/activity.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/agents.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/app.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/busy.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/chat/conversations.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/chat/input.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/chat/markdown.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/chat/send.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/chat/stream_renderer.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/chat/toolbar.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/core.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/crossgraph.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/header.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/insights.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/projects.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/qrcode.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/settings.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/suggestions.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/oracle/ui/theme_tabs.js +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/access_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/access_telemetry.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/activity_log.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/agent_base.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/agent_locks.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/artifact_defs.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/artifact_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/atomic_json.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/auto_memory.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/background_service.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bench/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bench/external/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bench/external/aider_polyglot.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bench/external/swe_bench.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bench/search_eval.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bench/shell_eval.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/benchmark_dashboard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bitbucket_client.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/bitbucket_credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_act.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_cache.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_expr.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_failures.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_github.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_impact.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_intel.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_runner.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ci_workflow.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/circuit_breaker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/claude_md.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/codex_integration.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/codex_transcript.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/context_snapshot.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/conversation_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/cred_audit.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/cred_telemetry.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/credential_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/doc_index.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/e2e_benchmark.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/e2e_evaluator.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/e2e_tasks.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/edit_ledger.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/embedding_index.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/enforcement_policy.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/error_reporting.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/git_context.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/hub_service.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/index_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/indexer.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/jira_client.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/jira_cloud.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/jira_credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/jira_data_center.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/jira_links.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/lexical_index.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/mask_activation.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/mask_mirror.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/mask_presets.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory_consolidator.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory_distiller.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory_graph.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory_grounder.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory_queue.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/memory_scorer.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/metrics.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/notifications.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ollama_bridge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ollama_client.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/ollama_credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/oracle_service.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/output_filter.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/override_grants.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/override_policy.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/override_requests.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/override_wake.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/project_manager.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/project_runtime.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/protocol.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/proxy_state.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/repo_map.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/repo_shape.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/reranker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/retention.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/retrieval.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/retrieval_broker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/router.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/runtime.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/scanner.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/session_benchmark.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/session_manager.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/session_preloader.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/shell_jobs.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/shell_output.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/subprojects.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/task_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/text_index.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/time_tracker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/tool_classifier.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/transcript_index.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/validation_cache.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/vector_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/watcher.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/services/win_subprocess.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/setup.cfg +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_access_builtin_optout.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_access_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_access_guard_meta.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_access_guard_shell_project.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_access_guard_surfaces.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_access_guard_wiring.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_activity_reporter.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_agent_locks.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_aider_polyglot.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_antigravity_transition.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_artifact_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_artifact_tool.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_atomic_json.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_background_service.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_bitbucket_cli_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_bitbucket_client.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_bitbucket_config_fallback.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_bitbucket_credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_bitbucket_tool.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_builtin_modes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_c3_bridge_project_artifacts.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_c3_shell.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_chat_poll.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_act.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_cache.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_expr.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_impact.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_intel.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_runner.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ci_workflow.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_circuit_breaker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_claude_md_merge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_claude_md_updater.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_cli_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_codex_mcp_transport.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_codex_native.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_compressor_large_file.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_confirm_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_confirm_guard_wiring.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_cooccurrence_bounds.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_cred_audit.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_cred_telemetry.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_credential_login_kind.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_credential_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_credential_ui_parity.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_credentials_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_credentials_tool.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_creds_cli_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_delegate_cascade.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_delegate_version_probe.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_e2e_benchmark.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_edit_ledger_deadline.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_edit_ledger_hook.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_edit_locking.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_edit_normalization.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_edit_verify.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_embedding_index_deadlock.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_enforcement_flip.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_enforcement_policy.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_enforcement_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_env_parser.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_failed_calls_do_not_unlock.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_federated_graph.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_filter_backoff.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ghost_files.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ghost_generation.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_git_branch_awareness.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_access_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_codex_compat.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_dispatch.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_pretool_enforce.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_prompt_recall.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_state.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hook_utf8_stdio.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_credentials_route.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_credentials_routes_write.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_enforcement_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_inspect_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_locks_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_oracle_service_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_override_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_server_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_hub_subproject_links.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ide_workflow_adaptation.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_index_cap_not_hardcoded.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_init_clear_preserves_user_content.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_init_scan.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_install_mcp_entrypoint.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_cli_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_client.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_config_fallback.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_links.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_jira_tool.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_lazy_store_init.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mask_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mask_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mask_surfaces.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mcp_host_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mcp_memory_timeout.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mcp_server_smoke.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mcp_toml.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_memory_distiller.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_memory_graph_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_memory_queue.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_memory_system.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mobile_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mobile_extras.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mobile_override_routes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_mobile_security_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_no_stale_model_pins.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_notification_dedup.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_notification_discipline.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ollama_credentials.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_api_auth.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_apikey_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_c3_bridge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_chat_engine.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_chat_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_discovery_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_discovery_audit.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_health_probe.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_local_auth.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_ollama_bridge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_scanner_cache.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_security_fixes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_session_bootstrap.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_subproject_awareness.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_oracle_ui_bundle.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_output_filter.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_override_grants.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_override_grants_mcp.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_override_requests.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_override_wake.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_permissions.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_pm_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_project_manager.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_project_manager_merge.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_project_tool.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_read_coercion.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_read_edit_parity.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_related_facts.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_repo_map.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_repo_shape.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_response_boilerplate.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_retention.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_review_digest.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_eval.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_p1.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_p2.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_p2b.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_p3.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_p4.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_search_p5.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_service_durability.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_session_benchmark.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_session_budget.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_budget_s1.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_creds.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_eval.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_jobs_s3.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_nudge_s4.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_output.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_parsers_s2.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_robustness.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_telemetry_s0.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_write_ledger.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_shell_writes.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_subproject_clear_scope.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_subproject_depth_consumers.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_subproject_exclusion.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_subproject_federation.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_subproject_linkage_api.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_subprojects.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_swe_bench.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_task_store.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_task_tool.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_time_tracker.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_token_telemetry.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_token_tracking.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_tool_registry.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_ui_jsx_syntax.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_upgrade_and_version.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_validate.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_vault_write_guard.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_version_sync.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tests/test_web_security.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/backend.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/main.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/__init__.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/benchmark_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/claudemd_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/compress_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/index_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/init_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/mcp_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/optimize_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/pipe_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/projects_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/search_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/session_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/stats.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/screens/ui_view.py +0 -0
- {code_context_control-2.119.0 → code_context_control-2.121.0}/tui/theme.tcss +0 -0
{code_context_control-2.119.0/code_context_control.egg-info → code_context_control-2.121.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-context-control
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.121.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
|
|
@@ -92,7 +92,7 @@ console = Console() if HAS_RICH else None
|
|
|
92
92
|
# Config
|
|
93
93
|
CONFIG_DIR = ".c3"
|
|
94
94
|
CONFIG_FILE = ".c3/config.json"
|
|
95
|
-
__version__ = "2.
|
|
95
|
+
__version__ = "2.121.0"
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def _compress_file_cli(compressor, path, mode="smart", **kw):
|
|
@@ -1570,6 +1570,42 @@ def cmd_shell_eval(args):
|
|
|
1570
1570
|
sys.exit(1)
|
|
1571
1571
|
|
|
1572
1572
|
|
|
1573
|
+
def cmd_map_eval(args):
|
|
1574
|
+
"""Run the file-map gold suite and compare it to its baseline.
|
|
1575
|
+
|
|
1576
|
+
Renders the hand-annotated fixtures through the renderer the MCP tool
|
|
1577
|
+
uses and grades symbol recall, signatures, ranges and determinism. Exit
|
|
1578
|
+
status 1 when the baseline is violated (a must_pass case failed, an
|
|
1579
|
+
aggregate fell under its floor or rose over its ceiling, a complete map
|
|
1580
|
+
grew). See docs/map-eval.md.
|
|
1581
|
+
"""
|
|
1582
|
+
from services.bench import map_eval as me
|
|
1583
|
+
|
|
1584
|
+
try:
|
|
1585
|
+
report = me.run_suite(args.suite, baseline=args.baseline)
|
|
1586
|
+
except FileNotFoundError as e:
|
|
1587
|
+
raise RuntimeError(str(e))
|
|
1588
|
+
|
|
1589
|
+
if args.update_baseline:
|
|
1590
|
+
path = args.baseline or me.BUNDLED_BASELINES.get(report.suite)
|
|
1591
|
+
if not path:
|
|
1592
|
+
raise RuntimeError(
|
|
1593
|
+
f"suite {report.suite!r} has no bundled baseline; pass --baseline PATH")
|
|
1594
|
+
floors = json.loads(args.floors) if args.floors else None
|
|
1595
|
+
ceilings = json.loads(args.ceilings) if args.ceilings else None
|
|
1596
|
+
me.write_baseline(report, path, floors=floors, ceilings=ceilings)
|
|
1597
|
+
report.baseline_violations, report.baseline_warnings = me.compare_to_baseline(
|
|
1598
|
+
report, me.load_baseline(path))
|
|
1599
|
+
print(f"baseline written: {path}")
|
|
1600
|
+
|
|
1601
|
+
if args.json:
|
|
1602
|
+
print(json.dumps(report.to_dict(), indent=2))
|
|
1603
|
+
else:
|
|
1604
|
+
print(report.render())
|
|
1605
|
+
if report.baseline_violations:
|
|
1606
|
+
sys.exit(1)
|
|
1607
|
+
|
|
1608
|
+
|
|
1573
1609
|
def _benchmark_extract_preview(full_path: Path, compressor: CodeCompressor, pattern: str = "", max_lines: int = 50) -> str:
|
|
1574
1610
|
"""Approximate c3_filter behavior for local benchmarking without MCP startup."""
|
|
1575
1611
|
import re as _re
|
|
@@ -9261,6 +9297,7 @@ def main():
|
|
|
9261
9297
|
"stats": cmd_stats,
|
|
9262
9298
|
"search-eval": cmd_search_eval,
|
|
9263
9299
|
"shell-eval": cmd_shell_eval,
|
|
9300
|
+
"map-eval": cmd_map_eval,
|
|
9264
9301
|
"benchmark": cmd_benchmark,
|
|
9265
9302
|
"session-benchmark": cmd_session_benchmark,
|
|
9266
9303
|
"benchmark-e2e": cmd_benchmark_e2e,
|
|
@@ -76,6 +76,19 @@ def build_parser(version: str, parse_cli_ide_arg):
|
|
|
76
76
|
help='With --update-baseline: JSON object of metric ceilings, e.g. \'{"bytes_p95": 18432}\'')
|
|
77
77
|
p_shell_eval.add_argument("--json", action="store_true", help="Emit the full report as JSON")
|
|
78
78
|
|
|
79
|
+
p_map_eval = subparsers.add_parser(
|
|
80
|
+
"map-eval", help="Run the file-map gold suite (docs/map-eval.md)")
|
|
81
|
+
p_map_eval.add_argument("--suite", default="fixture",
|
|
82
|
+
help="'fixture' (hand-annotated sources, CI gate) or a .jsonl path")
|
|
83
|
+
p_map_eval.add_argument("--baseline", default=None, help="Baseline JSON to compare against / write")
|
|
84
|
+
p_map_eval.add_argument("--update-baseline", action="store_true",
|
|
85
|
+
help="Write aggregates + per-case status to the baseline (floors/ceilings are kept)")
|
|
86
|
+
p_map_eval.add_argument("--floors", default=None,
|
|
87
|
+
help='With --update-baseline: JSON object of metric floors, e.g. \'{"symbol_recall_mean": 0.9}\'')
|
|
88
|
+
p_map_eval.add_argument("--ceilings", default=None,
|
|
89
|
+
help='With --update-baseline: JSON object of metric ceilings, e.g. \'{"tokens_p95": 4000}\'')
|
|
90
|
+
p_map_eval.add_argument("--json", action="store_true", help="Emit the full report as JSON")
|
|
91
|
+
|
|
79
92
|
p_compress = subparsers.add_parser("compress", help="Compress a file")
|
|
80
93
|
p_compress.add_argument("file", help="File to compress")
|
|
81
94
|
p_compress.add_argument("--mode", choices=["map", "dense_map", "smart", "diff"], default="smart")
|
|
@@ -85,7 +85,7 @@ def _build_instructions(ide_name: str) -> str:
|
|
|
85
85
|
return (
|
|
86
86
|
"C3 — local code intelligence. Route by goal:\n"
|
|
87
87
|
" FIND candidates → c3_search\n"
|
|
88
|
-
" MAP file
|
|
88
|
+
" MAP a file → c3_read(file_path) with no symbols, then READ → c3_read(symbols=…); batch maps → c3_compress\n"
|
|
89
89
|
" EDIT code → c3_edit (always; it logs to the ledger automatically)\n"
|
|
90
90
|
" VALIDATE after every edit → c3_validate\n"
|
|
91
91
|
" BLAST RADIUS before shared-symbol edits → c3_impact\n"
|
|
@@ -583,8 +583,10 @@ async def c3_memory(action: str, query: str = "", fact: str = "",
|
|
|
583
583
|
@mcp.tool()
|
|
584
584
|
async def c3_read(file_path: str, symbols: Any = None, lines: Any = None,
|
|
585
585
|
include_docstrings: bool = True, ctx: Context = None) -> str:
|
|
586
|
-
"""READ
|
|
587
|
-
file_path: single or comma-separated. symbols:
|
|
586
|
+
"""READ source, or MAP a file when called with only file_path (read-only, plan-mode safe).
|
|
587
|
+
file_path: single or comma-separated. symbols: names as the map prints them (Class.method ok).
|
|
588
|
+
lines: int, [start,end], or list of ranges. No symbols/lines = one line per symbol with
|
|
589
|
+
signature and [La-Lb] range at ~10% of the file's tokens; then read the symbols you need."""
|
|
588
590
|
path_err = validate_file_path(file_path)
|
|
589
591
|
if path_err:
|
|
590
592
|
return f"[c3_read:error] {path_err}"
|
|
@@ -597,10 +599,11 @@ async def c3_read(file_path: str, symbols: Any = None, lines: Any = None,
|
|
|
597
599
|
|
|
598
600
|
|
|
599
601
|
@mcp.tool()
|
|
600
|
-
async def c3_compress(file_path: str, mode: str = "
|
|
601
|
-
"""MAP file
|
|
602
|
-
|
|
603
|
-
|
|
602
|
+
async def c3_compress(file_path: str, mode: str = "map", ctx: Context = None) -> str:
|
|
603
|
+
"""MAP a file — one line per symbol with full signature and [La-Lb] range, ~10% of the
|
|
604
|
+
file's tokens (read-only, plan-mode safe). Same map as c3_read(file_path) with no symbols;
|
|
605
|
+
use this form for a comma-separated batch (up to 10). mode: map (default); other modes
|
|
606
|
+
are legacy."""
|
|
604
607
|
path_err = validate_file_path(file_path)
|
|
605
608
|
if path_err:
|
|
606
609
|
return f"[c3_compress:error] {path_err}"
|
|
@@ -877,11 +877,10 @@ def _parallel_compress(files: list, svc, steps_log: list,
|
|
|
877
877
|
maps = {}
|
|
878
878
|
|
|
879
879
|
def compress_one(fp):
|
|
880
|
-
full_path = str(Path(svc.project_path) / fp)
|
|
881
880
|
try:
|
|
882
|
-
|
|
883
|
-
if
|
|
884
|
-
return fp,
|
|
881
|
+
fmap = svc.file_memory.get_or_build_map(fp.replace("\\", "/"))
|
|
882
|
+
if fmap and not fmap.startswith("[file_map]"):
|
|
883
|
+
return fp, fmap
|
|
885
884
|
except Exception:
|
|
886
885
|
pass
|
|
887
886
|
return fp, None
|
|
@@ -936,11 +935,10 @@ def _parallel_validate_and_compress(files: list, svc, steps_log: list):
|
|
|
936
935
|
return "validate", fp, "ERROR", str(e)
|
|
937
936
|
|
|
938
937
|
def compress_one(fp):
|
|
939
|
-
full_path = str(Path(svc.project_path) / fp)
|
|
940
938
|
try:
|
|
941
|
-
|
|
942
|
-
if
|
|
943
|
-
return "compress", fp,
|
|
939
|
+
fmap = svc.file_memory.get_or_build_map(fp.replace("\\", "/"))
|
|
940
|
+
if fmap and not fmap.startswith("[file_map]"):
|
|
941
|
+
return "compress", fp, fmap
|
|
944
942
|
except Exception:
|
|
945
943
|
pass
|
|
946
944
|
return "compress", fp, None
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
"""c3_compress —
|
|
2
|
-
|
|
1
|
+
"""c3_compress — the canonical file map (services/file_map.render_map), one file or a batch.
|
|
2
|
+
|
|
3
|
+
mode='map' (default) is the same text c3_read(file_path) serves. The other
|
|
4
|
+
modes (dense_map, smart, diff, bug_scan, ast) are legacy and retire in 2.122.0."""
|
|
3
5
|
|
|
4
6
|
import json
|
|
5
7
|
import shutil
|
|
@@ -14,6 +16,48 @@ from core import count_tokens
|
|
|
14
16
|
from services import access_guard
|
|
15
17
|
|
|
16
18
|
|
|
19
|
+
def map_detail(svc, rel: str, requested_mode: str, *, cache_hit: bool,
|
|
20
|
+
symbols: int = 0, fallback: str = "") -> dict:
|
|
21
|
+
"""Telemetry `detail` for a map served from file_memory (C0, 2.120.0).
|
|
22
|
+
|
|
23
|
+
backend names the code path, parser the extractor that built the record
|
|
24
|
+
(tree_sitter | regex | generic, "" for a pre-2.120.0 record), cache_hit
|
|
25
|
+
whether the record was already fresh. `symbols` is how many the caller
|
|
26
|
+
asked for and `fallback` why a read served a map instead of source.
|
|
27
|
+
Flat so telemetry.aggregate_tool_telemetry can fold it without a schema.
|
|
28
|
+
"""
|
|
29
|
+
record = None
|
|
30
|
+
try:
|
|
31
|
+
record = svc.file_memory.get(rel)
|
|
32
|
+
except Exception:
|
|
33
|
+
record = None
|
|
34
|
+
if not isinstance(record, dict):
|
|
35
|
+
record = None
|
|
36
|
+
detail = {
|
|
37
|
+
"requested_mode": requested_mode,
|
|
38
|
+
"backend": "file_memory",
|
|
39
|
+
"parser": str((record or {}).get("parser") or ""),
|
|
40
|
+
"cache_hit": bool(cache_hit),
|
|
41
|
+
"sections": len((record or {}).get("sections") or []),
|
|
42
|
+
}
|
|
43
|
+
if symbols:
|
|
44
|
+
detail["symbols"] = int(symbols)
|
|
45
|
+
if fallback:
|
|
46
|
+
detail["fallback"] = fallback
|
|
47
|
+
return detail
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def compressor_detail(res: dict, requested_mode: str) -> dict:
|
|
51
|
+
"""Telemetry `detail` for a CodeCompressor result (smart/diff/bug_scan…)."""
|
|
52
|
+
backend = "large_fast_path" if res.get("fast_path") else "compressor"
|
|
53
|
+
return {
|
|
54
|
+
"requested_mode": requested_mode,
|
|
55
|
+
"backend": backend,
|
|
56
|
+
"actual_mode": str(res.get("mode") or ""),
|
|
57
|
+
"cache_hit": bool(res.get("cache_hit")),
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
17
61
|
def _run_memory_mcp_cli(args: list, cwd: str, timeout: int = 30) -> tuple:
|
|
18
62
|
"""Run codebase-memory-mcp CLI and return (success, output_or_error)."""
|
|
19
63
|
binary = shutil.which("codebase-memory-mcp")
|
|
@@ -150,6 +194,8 @@ def _compress_single(file_path: str, mode: str, svc, finalize, maybe_facts) -> s
|
|
|
150
194
|
return ("[file_map:error] not found. To create a new file use "
|
|
151
195
|
"c3_edit(file_path=..., old_string='', new_string=<content>).")
|
|
152
196
|
rel = str(full.resolve().relative_to(Path(svc.project_path).resolve())).replace("\\", "/")
|
|
197
|
+
# C0 measurement: was the record already fresh before this call?
|
|
198
|
+
cache_hit = not svc.file_memory.needs_update(rel)
|
|
153
199
|
queued = svc.file_memory.drain_queue()
|
|
154
200
|
completed = []
|
|
155
201
|
failed = []
|
|
@@ -174,8 +220,14 @@ def _compress_single(file_path: str, mode: str, svc, finalize, maybe_facts) -> s
|
|
|
174
220
|
raw_tokens = None
|
|
175
221
|
map_tokens = 0
|
|
176
222
|
try:
|
|
177
|
-
|
|
223
|
+
raw_text = full.read_text(encoding="utf-8", errors="replace")
|
|
224
|
+
raw_tokens = count_tokens(raw_text)
|
|
178
225
|
map_tokens = count_tokens(res)
|
|
226
|
+
if map_tokens >= raw_tokens and not res.startswith("[file_map]"):
|
|
227
|
+
# A map that costs more than the file is worth nothing
|
|
228
|
+
# (docs/file-map.md § Small files).
|
|
229
|
+
res = f"[compress:{file_path}] whole file — smaller than its map\n" + raw_text
|
|
230
|
+
map_tokens = count_tokens(res)
|
|
179
231
|
summary = mode
|
|
180
232
|
except Exception:
|
|
181
233
|
summary = "mapped"
|
|
@@ -183,7 +235,8 @@ def _compress_single(file_path: str, mode: str, svc, finalize, maybe_facts) -> s
|
|
|
183
235
|
finalize, svc, "c3_compress", {"file_path": file_path, "mode": mode},
|
|
184
236
|
res, summary,
|
|
185
237
|
raw_tokens=raw_tokens, optimized_tokens=map_tokens or None,
|
|
186
|
-
response_tokens=map_tokens
|
|
238
|
+
response_tokens=map_tokens,
|
|
239
|
+
detail=map_detail(svc, rel, mode, cache_hit=cache_hit))
|
|
187
240
|
|
|
188
241
|
try:
|
|
189
242
|
res = svc.compressor.compress_file(str(full), mode)
|
|
@@ -197,7 +250,8 @@ def _compress_single(file_path: str, mode: str, svc, finalize, maybe_facts) -> s
|
|
|
197
250
|
finalize, svc, "c3_compress", {"file_path": file_path},
|
|
198
251
|
resp + maybe_facts(svc, Path(file_path).name), mode,
|
|
199
252
|
raw_tokens=res.get('original_tokens'),
|
|
200
|
-
optimized_tokens=res.get('compressed_tokens')
|
|
253
|
+
optimized_tokens=res.get('compressed_tokens'),
|
|
254
|
+
detail=compressor_detail(res, mode))
|
|
201
255
|
|
|
202
256
|
|
|
203
257
|
def _compress_batch(paths: list, mode: str, svc, finalize, maybe_facts) -> str:
|
|
@@ -288,4 +342,6 @@ def _compress_batch(paths: list, mode: str, svc, finalize, maybe_facts) -> str:
|
|
|
288
342
|
{"file_path": ",".join(paths), "mode": mode, "batch": True},
|
|
289
343
|
body, f"batch {total_ok}/{len(paths)}",
|
|
290
344
|
raw_tokens=total_raw if measured else None,
|
|
291
|
-
optimized_tokens=total_opt if measured else None
|
|
345
|
+
optimized_tokens=total_opt if measured else None,
|
|
346
|
+
detail={"requested_mode": mode, "backend": "batch",
|
|
347
|
+
"files": len(paths), "ok": total_ok})
|
|
@@ -8,6 +8,7 @@ from typing import Any
|
|
|
8
8
|
|
|
9
9
|
from cli.tools import _grants
|
|
10
10
|
from cli.tools._helpers import finalize_with_tokens, maybe_related_facts
|
|
11
|
+
from cli.tools.compress import map_detail
|
|
11
12
|
from core import count_tokens
|
|
12
13
|
from services import access_guard
|
|
13
14
|
|
|
@@ -301,16 +302,25 @@ def handle_read(file_path: str, symbols: Any = None, lines: Any = None,
|
|
|
301
302
|
ranges.extend(main_ranges)
|
|
302
303
|
|
|
303
304
|
if not ranges and symbols:
|
|
305
|
+
map_cached = not svc.file_memory.needs_update(rel_path)
|
|
304
306
|
file_map = svc.file_memory.get_or_build_map(rel_path)
|
|
305
307
|
resp = f"[read:{file_path}] symbols not found: {symbols}. Showing file map:\n{file_map}"
|
|
306
308
|
map_tok = count_tokens(file_map)
|
|
307
309
|
return finalize_with_tokens(
|
|
308
310
|
finalize, svc, "c3_read", {"file": file_path, "symbols": symbols},
|
|
309
311
|
resp, f"{full_file_tokens()}->{map_tok}tok",
|
|
310
|
-
raw_tokens=full_file_tokens(), optimized_tokens=map_tok
|
|
312
|
+
raw_tokens=full_file_tokens(), optimized_tokens=map_tok,
|
|
313
|
+
detail=map_detail(svc, rel_path, "read", cache_hit=map_cached,
|
|
314
|
+
symbols=len(symbols), fallback="symbols_not_found"))
|
|
311
315
|
|
|
312
316
|
if not ranges:
|
|
317
|
+
map_cached = not svc.file_memory.needs_update(rel_path)
|
|
313
318
|
file_map = svc.file_memory.get_or_build_map(rel_path)
|
|
319
|
+
if count_tokens(file_map) >= full_file_tokens():
|
|
320
|
+
# A map that costs more than the file is worth nothing: serve the
|
|
321
|
+
# file (docs/file-map.md § Small files).
|
|
322
|
+
file_map = (f"[read:{file_path}] whole file — smaller than its map\n"
|
|
323
|
+
+ raw_text)
|
|
314
324
|
resp = (file_map
|
|
315
325
|
+ "\n[map only — pass lines=[start,end] or symbols=[...] for exact source]"
|
|
316
326
|
+ maybe_related_facts(svc, rel_path, top_k=3, context="read"))
|
|
@@ -319,7 +329,9 @@ def handle_read(file_path: str, symbols: Any = None, lines: Any = None,
|
|
|
319
329
|
finalize, svc, "c3_read", {"file": file_path},
|
|
320
330
|
resp, f"{full_file_tokens()}->{map_tok}tok",
|
|
321
331
|
raw_tokens=full_file_tokens(), optimized_tokens=map_tok,
|
|
322
|
-
response_tokens=map_tok
|
|
332
|
+
response_tokens=map_tok,
|
|
333
|
+
detail=map_detail(svc, rel_path, "read", cache_hit=map_cached,
|
|
334
|
+
fallback="map_only"))
|
|
323
335
|
else:
|
|
324
336
|
# Sort and merge overlapping ranges
|
|
325
337
|
ranges.sort()
|
|
@@ -359,7 +371,16 @@ def handle_read(file_path: str, symbols: Any = None, lines: Any = None,
|
|
|
359
371
|
resp = final_content + maybe_related_facts(svc, rel_path, top_k=3, context="read")
|
|
360
372
|
tokens = count_tokens(resp)
|
|
361
373
|
summary = f"{full_file_tokens()}->{tokens}tok" if tokens < full_file_tokens() else f"{tokens}tok"
|
|
374
|
+
# C0 measurement: what the read asked for and how much source it took.
|
|
375
|
+
read_detail = {
|
|
376
|
+
"backend": "source",
|
|
377
|
+
"symbols": len(symbols) if symbols else 0,
|
|
378
|
+
"by_lines": bool(lines),
|
|
379
|
+
"ranges": len(ranges),
|
|
380
|
+
"lines_served": sum(e - s_ + 1 for s_, e in ranges),
|
|
381
|
+
"file_lines": len(content_lines),
|
|
382
|
+
}
|
|
362
383
|
return finalize_with_tokens(
|
|
363
384
|
finalize, svc, "c3_read", {"file": file_path, "symbols": symbols}, resp, summary,
|
|
364
385
|
raw_tokens=full_file_tokens(), optimized_tokens=tokens,
|
|
365
|
-
response_tokens=tokens)
|
|
386
|
+
response_tokens=tokens, detail=read_detail)
|
|
@@ -13,6 +13,7 @@ from pathlib import Path
|
|
|
13
13
|
from cli.tools._helpers import finalize_with_tokens, show_token_ratios
|
|
14
14
|
from core import count_tokens
|
|
15
15
|
from services import access_guard
|
|
16
|
+
from services.file_map import render_map
|
|
16
17
|
from services.indexer import DEFAULT_CODE_EXTS
|
|
17
18
|
from services.lexical_index import Filters, doc_kind
|
|
18
19
|
from services.scanner import SKIP_DIRS, iter_files
|
|
@@ -473,21 +474,15 @@ def _first_file_map(rel: str, svc) -> str:
|
|
|
473
474
|
watcher_active = (hasattr(svc, "watcher") and svc.watcher._observer.is_alive())
|
|
474
475
|
if not watcher_active and svc.file_memory.needs_update(rel):
|
|
475
476
|
svc.file_memory.update(rel)
|
|
476
|
-
|
|
477
|
+
record = svc.file_memory.get(rel)
|
|
478
|
+
if not record:
|
|
479
|
+
return ""
|
|
480
|
+
# Same renderer as c3_read/c3_compress, shortened to the cap by
|
|
481
|
+
# dropping symbol lines from the end (docs/file-map.md).
|
|
482
|
+
fmap = render_map(record, max_tokens=_MAP_TOKEN_CAP)
|
|
477
483
|
if not fmap:
|
|
478
484
|
return ""
|
|
479
|
-
|
|
480
|
-
return f"\n {fmap.replace(chr(10), chr(10) + ' ')}"
|
|
481
|
-
# Truncate large maps: keep first N lines
|
|
482
|
-
truncated = []
|
|
483
|
-
tok = 0
|
|
484
|
-
for fl in fmap.split("\n"):
|
|
485
|
-
tok += count_tokens(fl)
|
|
486
|
-
if tok > _MAP_TOKEN_CAP:
|
|
487
|
-
break
|
|
488
|
-
truncated.append(fl)
|
|
489
|
-
truncated.append(" [map truncated]")
|
|
490
|
-
return f"\n {chr(10).join(truncated).replace(chr(10), chr(10) + ' ')}"
|
|
485
|
+
return f"\n {fmap.replace(chr(10), chr(10) + ' ')}"
|
|
491
486
|
except Exception:
|
|
492
487
|
return ""
|
|
493
488
|
|
|
@@ -720,11 +715,13 @@ def _append_prefetch(resp: str, query: str, top_k: int, svc) -> str:
|
|
|
720
715
|
uncached.append(fp)
|
|
721
716
|
|
|
722
717
|
def compress_one(fp):
|
|
718
|
+
# The canonical map from file_memory — the same text c3_read serves
|
|
719
|
+
# (compressor.compress_file never had a "map" mode; it rendered a
|
|
720
|
+
# structure-only summary under that name).
|
|
723
721
|
try:
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
return fp, result["compressed"]
|
|
722
|
+
fmap = svc.file_memory.get_or_build_map(fp.replace("\\", "/"))
|
|
723
|
+
if fmap and not fmap.startswith("[file_map]"):
|
|
724
|
+
return fp, fmap
|
|
728
725
|
except Exception:
|
|
729
726
|
pass
|
|
730
727
|
return fp, None
|
{code_context_control-2.119.0 → code_context_control-2.121.0/code_context_control.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-context-control
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.121.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
|
|
@@ -225,6 +225,7 @@ services/edit_ledger.py
|
|
|
225
225
|
services/embedding_index.py
|
|
226
226
|
services/enforcement_policy.py
|
|
227
227
|
services/error_reporting.py
|
|
228
|
+
services/file_map.py
|
|
228
229
|
services/file_memory.py
|
|
229
230
|
services/git_context.py
|
|
230
231
|
services/hub_service.py
|
|
@@ -288,6 +289,7 @@ services/vector_store.py
|
|
|
288
289
|
services/watcher.py
|
|
289
290
|
services/win_subprocess.py
|
|
290
291
|
services/bench/__init__.py
|
|
292
|
+
services/bench/map_eval.py
|
|
291
293
|
services/bench/search_eval.py
|
|
292
294
|
services/bench/shell_eval.py
|
|
293
295
|
services/bench/external/__init__.py
|
|
@@ -356,6 +358,7 @@ tests/test_enforcement_routes.py
|
|
|
356
358
|
tests/test_env_parser.py
|
|
357
359
|
tests/test_failed_calls_do_not_unlock.py
|
|
358
360
|
tests/test_federated_graph.py
|
|
361
|
+
tests/test_file_map_c1.py
|
|
359
362
|
tests/test_filter_backoff.py
|
|
360
363
|
tests/test_ghost_files.py
|
|
361
364
|
tests/test_ghost_generation.py
|
|
@@ -390,6 +393,8 @@ tests/test_jira_links.py
|
|
|
390
393
|
tests/test_jira_routes.py
|
|
391
394
|
tests/test_jira_tool.py
|
|
392
395
|
tests/test_lazy_store_init.py
|
|
396
|
+
tests/test_map_eval.py
|
|
397
|
+
tests/test_map_telemetry_c0.py
|
|
393
398
|
tests/test_mask_guard.py
|
|
394
399
|
tests/test_mask_routes.py
|
|
395
400
|
tests/test_mask_surfaces.py
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "code-context-control"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.121.0"
|
|
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"
|
|
@@ -163,6 +163,8 @@ extend-exclude = [
|
|
|
163
163
|
"commercial",
|
|
164
164
|
"tui/build.bat",
|
|
165
165
|
"tui/build.sh",
|
|
166
|
+
# map-eval fixtures are parser input, one of them deliberately malformed.
|
|
167
|
+
"tests/map_eval/fixtures",
|
|
166
168
|
]
|
|
167
169
|
|
|
168
170
|
[tool.ruff.lint]
|
|
@@ -923,29 +923,10 @@ class FileMemoryAgent(BackgroundAgent):
|
|
|
923
923
|
completed = []
|
|
924
924
|
failed = []
|
|
925
925
|
for rel_path in files_to_process:
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
#
|
|
929
|
-
|
|
930
|
-
record = self.file_memory.get(rel_path)
|
|
931
|
-
section_names = ""
|
|
932
|
-
if record:
|
|
933
|
-
names = [s.get("name", "") for s in record.get("sections", [])
|
|
934
|
-
if s.get("type") not in ("import", "decorator")]
|
|
935
|
-
section_names = ", ".join(names[:10])
|
|
936
|
-
|
|
937
|
-
if section_names:
|
|
938
|
-
ai_summary = self._ai_generate(
|
|
939
|
-
f"File: {rel_path}\n"
|
|
940
|
-
f"Symbols: {section_names}\n\n"
|
|
941
|
-
f"Describe the purpose of this file and its main symbols in 1-2 concise sentences. "
|
|
942
|
-
f"Focus on what they do, not how they are implemented.",
|
|
943
|
-
system="You are a senior architect summarizing code for an AI assistant. "
|
|
944
|
-
"Be technical, concise, and highlight the main responsibilities of the symbols.",
|
|
945
|
-
max_tokens=100,
|
|
946
|
-
)
|
|
947
|
-
|
|
948
|
-
result = self.file_memory.update(rel_path, ai_summary=ai_summary)
|
|
926
|
+
# No generated summary: it was produced from symbol names alone
|
|
927
|
+
# and half of the stored ones were cut mid-sentence (2026-09-06).
|
|
928
|
+
# The map carries symbols and ranges only (docs/file-map.md).
|
|
929
|
+
result = self.file_memory.update(rel_path)
|
|
949
930
|
if result:
|
|
950
931
|
updated_count += 1
|
|
951
932
|
completed.append(rel_path)
|