code-context-control 2.158.3__tar.gz → 2.158.4__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.158.3/code_context_control.egg-info → code_context_control-2.158.4}/PKG-INFO +1 -1
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/c3.py +1 -1
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_session_open.py +18 -4
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/mcp_server.py +10 -1
- {code_context_control-2.158.3 → code_context_control-2.158.4/code_context_control.egg-info}/PKG-INFO +1 -1
- {code_context_control-2.158.3 → code_context_control-2.158.4}/code_context_control.egg-info/SOURCES.txt +2 -0
- code_context_control-2.158.4/core/mcp_stack.py +114 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/pyproject.toml +1 -1
- code_context_control-2.158.4/tests/test_mcp_stack.py +122 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/LICENSE +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/README.md +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/_hook_utils.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/_shell_writes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/commands/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/commands/common.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/commands/parser.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/docs.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/edits.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/access.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/bitbucket.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/ci.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/credentials.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/delegate.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/getting-started.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/index.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/jira.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/masking.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/oracle.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/sessions.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/shared.css +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/tools.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/workflow.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_access_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_agent_model.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_artifact.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_auto_snapshot.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_c3_signal.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_c3read.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_codex_lifecycle.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_dispatch.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_edit_ledger.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_edit_unlock.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_filter.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_ghost_files.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_pretool_enforce.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_prompt_recall.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_read.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_session_end.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_session_stats.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hook_terse_advisor.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_server.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/app.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/add_project.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/config_editor.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_artifacts.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_health.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_panel.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_subprojects.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_tasks.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_views.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/global_search.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_access.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_ci.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_cred_audit.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_credentials.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_enforcement.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_locks.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_schedules.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_sessions.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_tokens.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/mcp_manager.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/modals.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/project_card.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/project_tree.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/session_drawer.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/settings_modal.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/sidebar.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/summary_bar.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/task_board.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/toasts.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/topbar.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/state.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/mcp_proxy.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/progress.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/server.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/_edit_report.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/_grants.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/_helpers.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/_json_reply.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/agent.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/artifacts.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/bitbucket.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/ci.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/compress.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/delegate.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/edit.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/edit_verify.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/edits.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/federate.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/filter.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/impact.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/jira.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/locks.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/memory.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/override.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/project.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/read.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/schedule.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/search.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/session.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/shell.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/shell_job.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/shell_nudge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/shell_parsers.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/shell_render.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/status.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/tasks.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/tools/validate.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/api.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/app.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/access.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/bitbucket.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/chat.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/credentials.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/dashboard.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/edits.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/enforcement.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/instructions.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/jira.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/memory.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/sessions.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/settings.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/sidebar.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/components/tasks.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/icons.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/pm_shared.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/shared.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui/theme.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui_legacy.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/cli/ui_nano.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/code_context_control.egg-info/dependency_links.txt +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/code_context_control.egg-info/entry_points.txt +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/code_context_control.egg-info/requires.txt +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/code_context_control.egg-info/top_level.txt +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/codex_patch.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/config.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/grok_payload.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/hook_command.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/host.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/ide.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/mcp_toml.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/core/web_security.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/config.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/listeners.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/mcp_oracle.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/oracle_server.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/oracle_ui.html +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/activity_reporter.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/api_auth.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/c3_bridge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/chat_engine.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/chat_poll.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/chat_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/client_tokens.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/cross_memory.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/discovery_audit.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/federated_graph.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/health_checker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/insight_engine.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/local_session.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/memory_reader.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/memory_writer.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/mobile_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/mobile_fleet.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/project_scanner.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/review_agent.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/schedule_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/scheduler.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/tool_executor.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/services/tool_registry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/activity.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/agents.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/app.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/busy.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/chat/conversations.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/chat/input.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/chat/markdown.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/chat/send.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/chat/stream_renderer.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/chat/toolbar.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/core.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/crossgraph.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/header.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/insights.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/projects.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/qrcode.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/settings.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/suggestions.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/oracle/ui/theme_tabs.js +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/access_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/access_telemetry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/activity_log.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/agent_base.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/agent_downshift.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/agent_locks.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/agents.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/agents_workflow.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/artifact_defs.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/artifact_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/atomic_json.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/auto_memory.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/background_service.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/delegate_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/delegate_write_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/external/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/external/aider_polyglot.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/external/swe_bench.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/map_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/search_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bench/shell_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/benchmark_dashboard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bitbucket_client.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/bitbucket_credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/builtin_leases.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_act.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_cache.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_expr.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_failures.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_github.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_impact.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_intel.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_runner.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ci_workflow.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/circuit_breaker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/claude_md.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/codex_integration.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/codex_transcript.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/compressor.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/context_snapshot.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/conversation_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/cred_audit.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/cred_telemetry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/credential_backup.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/credential_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/cron_expr.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/delegate_agents.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/delegate_hints.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/delegate_write.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/dir_map.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/doc_index.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/e2e_benchmark.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/e2e_evaluator.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/e2e_tasks.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/edit_blobs.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/edit_ledger.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/embedding_index.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/enforcement_policy.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/error_reporting.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/file_map.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/file_memory.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/fleet_overview.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/git_context.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/grok_integration.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/grok_transcript.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/host_handoff.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/host_sessions.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/hub_service.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/index_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/indexer.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/jira_client.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/jira_cloud.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/jira_credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/jira_data_center.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/jira_links.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/lexical_index.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/mask_activation.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/mask_mirror.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/mask_presets.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory_consolidator.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory_distiller.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory_graph.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory_grounder.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory_queue.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/memory_scorer.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/metrics.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/notifications.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ollama_bridge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ollama_client.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ollama_credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/oracle_service.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/output_filter.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/override_costs.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/override_grants.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/override_policy.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/override_requests.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/override_wake.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/parser.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/project_manager.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/project_runtime.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/protocol.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/proxy_state.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/read_stamps.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/repo_map.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/repo_shape.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/reranker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/retention.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/retrieval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/retrieval_broker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/router.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/runtime.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/scanner.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/schedule_approvals.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/schedule_runner.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/schedule_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/session_benchmark.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/session_catalog.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/session_live.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/session_manager.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/session_preloader.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/shell_jobs.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/shell_output.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/subprojects.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/task_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/telemetry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/terminal_launch.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/text_index.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/time_tracker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/tool_classifier.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/transcript_index.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/ui_registry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/validation_cache.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/vector_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/watcher.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/services/win_subprocess.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/setup.cfg +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_access_builtin_optout.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_access_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_access_guard_meta.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_access_guard_shell_project.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_access_guard_surfaces.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_access_guard_wiring.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_activity_log_find_last.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_activity_reporter.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_agent_locks.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_aider_polyglot.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_antigravity_transition.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_artifact_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_artifact_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_atomic_json.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_background_service.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_bitbucket_cli_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_bitbucket_client.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_bitbucket_config_fallback.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_bitbucket_credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_bitbucket_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_builtin_leases.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_builtin_modes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_c3_bridge_project_artifacts.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_c3_shell.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_chat_poll.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_act.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_cache.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_dag_ownership.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_expr.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_impact.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_intel.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_runner.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ci_workflow.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_circuit_breaker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_claude_md_merge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_claude_md_updater.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_cli_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_codex_mcp_transport.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_codex_native.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_compressor_large_file.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_confirm_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_confirm_guard_wiring.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_cooccurrence_bounds.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_cred_audit.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_cred_telemetry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_credential_backup.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_credential_login_kind.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_credential_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_credential_ui_parity.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_credentials_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_credentials_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_creds_cli_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_cron_expr.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_adoption_d4.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_auto.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_cascade.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_claude_d1.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_grok.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_host_d2.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_scout_d3.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_telemetry_d0.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_thinking_cap.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_tuning.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_version_probe.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_write.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_delegate_write_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_dir_map_c3.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_e2e_benchmark.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_eol_atomic.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_ledger_deadline.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_ledger_hook.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_locking.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_normalization.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_outcome.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_report.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_revert.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_stale.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_edit_verify.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_embedding_index_corrupt_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_embedding_index_deadlock.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_embedding_store_safety.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_enforcement_flip.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_enforcement_policy.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_enforcement_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_env_parser.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_failed_calls_do_not_unlock.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_federated_graph.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_file_map_c1.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_file_memory_fast_paths.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_filter_backoff.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ghost_files.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ghost_generation.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_git_branch_awareness.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_grok_native.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_access_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_codex_compat.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_dispatch.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_grok_compat.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_pretool_enforce.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_prompt_recall.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_session_end.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_state.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hook_utf8_stdio.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_host_handoff.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_host_rebind.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_access_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_builtin_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_credentials_route.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_credentials_routes_write.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_enforcement_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_hook_migration.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_ide_cmd.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_inspect_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_locks_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_oracle_service_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_override_policy_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_override_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_rules_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_schedules_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_server_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_sessions_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_hub_subproject_links.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ide_workflow_adaptation.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_index_cap_not_hardcoded.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_init_clear_preserves_user_content.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_init_scan.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_install_mcp_entrypoint.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_cli_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_client.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_config_fallback.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_links.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_jira_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_json_reply.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_large_files_c4.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_lazy_store_init.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_map_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_map_telemetry_c0.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mask_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mask_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mask_surfaces.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mcp_host_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mcp_memory_timeout.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mcp_server_smoke.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mcp_toml.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_memory_distiller.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_memory_graph_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_memory_queue.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_memory_system.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_clients.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_extras.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_fleet.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_jobs_ci.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_override_costs.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_override_routes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_schedules.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_mobile_security_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_no_stale_model_pins.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_notification_dedup.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_notification_discipline.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_notification_kinds.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_notification_ref_scope.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ollama_credentials.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_api_auth.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_apikey_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_c3_bridge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_chat_engine.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_chat_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_discovery_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_discovery_audit.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_health_probe.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_local_auth.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_loopback.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_ollama_bridge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_scanner_cache.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_security_fixes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_session_bootstrap.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_subproject_awareness.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_oracle_ui_bundle.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_output_filter.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_override_costs.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_override_grants.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_override_grants_mcp.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_override_requests.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_override_wake.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_permissions.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_pm_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_project_lease_identity.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_project_manager.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_project_manager_merge.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_project_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_quarantine_sweep.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_read_coercion.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_read_edit_parity.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_read_outside_root.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_related_facts.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_repo_map.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_repo_shape.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_response_boilerplate.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_retention.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_review_digest.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_schedule_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_schedule_approvals.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_schedule_mcp.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_schedule_runner.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_schedule_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_scheduler_tick.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_p1.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_p2.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_p2b.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_p3.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_p4.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_search_p5.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_service_durability.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_session_benchmark.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_session_budget.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_session_catalog.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_session_live.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_session_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_budget_s1.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_creds.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_eval.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_jobs_argv.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_jobs_s3.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_nudge_s4.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_output.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_parsers_s2.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_robustness.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_telemetry_s0.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_write_ledger.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_shell_writes.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_subproject_clear_scope.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_subproject_depth_consumers.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_subproject_exclusion.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_subproject_federation.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_subproject_linkage_api.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_subprojects.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_swe_bench.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_task_store.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_task_tool.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_time_tracker.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_token_telemetry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_token_tracking.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_tool_registry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ui_jsx_syntax.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_ui_registry.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_upgrade_and_version.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_validate.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_vault_write_guard.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_version_sync.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_watcher_pruning.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_web_security.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tests/test_windows_reliability.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/backend.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/main.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/__init__.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/benchmark_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/claudemd_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/compress_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/index_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/init_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/mcp_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/optimize_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/pipe_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/projects_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/search_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/session_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/stats.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/screens/ui_view.py +0 -0
- {code_context_control-2.158.3 → code_context_control-2.158.4}/tui/theme.tcss +0 -0
{code_context_control-2.158.3/code_context_control.egg-info → code_context_control-2.158.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-context-control
|
|
3
|
-
Version: 2.158.
|
|
3
|
+
Version: 2.158.4
|
|
4
4
|
Summary: Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path-level access + masking guards, and a multi-project hub.
|
|
5
5
|
Author-email: Dimitri Tselenchuk <dtselenc@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -91,7 +91,7 @@ console = Console() if HAS_RICH else None
|
|
|
91
91
|
# Config
|
|
92
92
|
CONFIG_DIR = ".c3"
|
|
93
93
|
CONFIG_FILE = ".c3/config.json"
|
|
94
|
-
__version__ = "2.158.
|
|
94
|
+
__version__ = "2.158.4"
|
|
95
95
|
|
|
96
96
|
# The PreToolUse matcher for native subagent calls (installer and hub migration).
|
|
97
97
|
AGENT_MATCHER = "Agent|Task"
|
|
@@ -40,14 +40,19 @@ by the host pid both of them share and hands it the new id
|
|
|
40
40
|
the same MCP process, and a "Session started" toast on every compaction
|
|
41
41
|
would teach the user to ignore the real ones.
|
|
42
42
|
|
|
43
|
+
When the installed fastmcp and mcp cannot load together
|
|
44
|
+
(``core.mcp_stack``), the MCP server dies before its handshake and the host
|
|
45
|
+
reports only a closed connection; this hook then returns the mismatch and
|
|
46
|
+
the pip repair as context, so the session can say why C3's tools are gone.
|
|
47
|
+
|
|
43
48
|
The MCP server's own ``session_start`` row is untouched — it carries the C3
|
|
44
49
|
id and, when the host put its id in the environment, ``host_session_id``
|
|
45
50
|
too. This hook is what lets a client see the session before the runtime has
|
|
46
51
|
finished starting (~seconds), and it is the row the desktop's "MCP failed to
|
|
47
52
|
connect" sentinel starts its 30 s clock from.
|
|
48
53
|
|
|
49
|
-
Returns None
|
|
50
|
-
|
|
54
|
+
Returns None, or ``{"_text": <mismatch>}`` for the case above: SessionStart
|
|
55
|
+
hook stdout becomes model context.
|
|
51
56
|
"""
|
|
52
57
|
from __future__ import annotations
|
|
53
58
|
|
|
@@ -249,10 +254,19 @@ def hand_off_runtime(project: Path, host: str, host_sid: str, start_source: str)
|
|
|
249
254
|
|
|
250
255
|
|
|
251
256
|
def run(payload: dict, project_path: Path | None = None):
|
|
252
|
-
"""Core logic — importable by the dispatcher and tests.
|
|
257
|
+
"""Core logic — importable by the dispatcher and tests.
|
|
258
|
+
|
|
259
|
+
Returns None, or ``{"_text": ...}`` naming a fastmcp/mcp mismatch.
|
|
260
|
+
"""
|
|
253
261
|
start_source = str(payload.get("source") or "").strip().lower()
|
|
254
262
|
if start_source in _SILENT_SOURCES:
|
|
255
263
|
return None
|
|
264
|
+
try:
|
|
265
|
+
from core.mcp_stack import problem
|
|
266
|
+
stack_problem = problem()
|
|
267
|
+
except Exception as exc:
|
|
268
|
+
log_hook_error("hook_session_open", exc)
|
|
269
|
+
stack_problem = None
|
|
256
270
|
project = find_project(payload, project_path)
|
|
257
271
|
if project is None:
|
|
258
272
|
return None
|
|
@@ -278,7 +292,7 @@ def run(payload: dict, project_path: Path | None = None):
|
|
|
278
292
|
pass
|
|
279
293
|
hand_off_runtime(project, host, host_sid, start_source)
|
|
280
294
|
ensure_ui(project, host_sid)
|
|
281
|
-
return None
|
|
295
|
+
return {"_text": stack_problem} if stack_problem else None
|
|
282
296
|
|
|
283
297
|
|
|
284
298
|
def main() -> None:
|
|
@@ -21,7 +21,16 @@ from typing import Any
|
|
|
21
21
|
# Add parent to path for imports
|
|
22
22
|
sys.path.insert(0, str(Path(__file__).parent.parent))
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
try:
|
|
25
|
+
from fastmcp import Context, FastMCP
|
|
26
|
+
except Exception:
|
|
27
|
+
# The host shows only "connection closed"; stderr reaches its MCP log.
|
|
28
|
+
from core.mcp_stack import problem as _mcp_stack_problem
|
|
29
|
+
_stack_problem = _mcp_stack_problem()
|
|
30
|
+
if not _stack_problem:
|
|
31
|
+
raise
|
|
32
|
+
print(_stack_problem, file=sys.stderr)
|
|
33
|
+
raise SystemExit(1)
|
|
25
34
|
|
|
26
35
|
from cli.tools import _grants
|
|
27
36
|
from core.host import resolve_host
|
{code_context_control-2.158.3 → code_context_control-2.158.4/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.158.
|
|
3
|
+
Version: 2.158.4
|
|
4
4
|
Summary: Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path-level access + masking guards, and a multi-project hub.
|
|
5
5
|
Author-email: Dimitri Tselenchuk <dtselenc@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -151,6 +151,7 @@ core/grok_payload.py
|
|
|
151
151
|
core/hook_command.py
|
|
152
152
|
core/host.py
|
|
153
153
|
core/ide.py
|
|
154
|
+
core/mcp_stack.py
|
|
154
155
|
core/mcp_toml.py
|
|
155
156
|
core/web_security.py
|
|
156
157
|
oracle/__init__.py
|
|
@@ -487,6 +488,7 @@ tests/test_mask_surfaces.py
|
|
|
487
488
|
tests/test_mcp_host_guard.py
|
|
488
489
|
tests/test_mcp_memory_timeout.py
|
|
489
490
|
tests/test_mcp_server_smoke.py
|
|
491
|
+
tests/test_mcp_stack.py
|
|
490
492
|
tests/test_mcp_toml.py
|
|
491
493
|
tests/test_memory_distiller.py
|
|
492
494
|
tests/test_memory_graph_api.py
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"""Whether the installed fastmcp and mcp packages can load together.
|
|
2
|
+
|
|
3
|
+
fastmcp 3.x needs ``mcp<2`` and 4.x needs ``mcp>=2``, and pip installing some
|
|
4
|
+
other tool can move mcp out from under fastmcp anyway. Reads installed
|
|
5
|
+
metadata without importing either package, so the MCP server and the
|
|
6
|
+
SessionStart hook can name the mismatch and the pip command that repairs it.
|
|
7
|
+
"""
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import sys
|
|
11
|
+
from importlib import metadata
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
|
|
14
|
+
# fastmcp-slim declares mcp under these extras; fastmcp 3.2 and earlier
|
|
15
|
+
# declare it unconditionally ("").
|
|
16
|
+
_EXTRAS = ("", "client", "server", "mcp")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _packaging():
|
|
20
|
+
"""packaging's (Requirement, InvalidRequirement, canonicalize_name), or None."""
|
|
21
|
+
try:
|
|
22
|
+
from packaging.requirements import InvalidRequirement, Requirement
|
|
23
|
+
from packaging.utils import canonicalize_name
|
|
24
|
+
except ImportError:
|
|
25
|
+
try:
|
|
26
|
+
from pip._vendor.packaging.requirements import InvalidRequirement, Requirement
|
|
27
|
+
from pip._vendor.packaging.utils import canonicalize_name
|
|
28
|
+
except ImportError:
|
|
29
|
+
return None
|
|
30
|
+
return Requirement, InvalidRequirement, canonicalize_name
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def _version(dist: str) -> str | None:
|
|
34
|
+
try:
|
|
35
|
+
return metadata.version(dist)
|
|
36
|
+
except metadata.PackageNotFoundError:
|
|
37
|
+
return None
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def _mcp_requirement(requirement_cls, invalid_requirement, canonicalize_name):
|
|
41
|
+
"""The mcp Requirement the installed fastmcp declares, or None."""
|
|
42
|
+
fastmcp = _version("fastmcp")
|
|
43
|
+
if fastmcp is None:
|
|
44
|
+
return None
|
|
45
|
+
# From 3.3 the fastmcp wheel only depends on fastmcp-slim, which carries
|
|
46
|
+
# the mcp pin. A slim left behind at another version is not the code in
|
|
47
|
+
# use, so read it only when the two versions match.
|
|
48
|
+
dists = ["fastmcp"]
|
|
49
|
+
if _version("fastmcp-slim") == fastmcp:
|
|
50
|
+
dists.insert(0, "fastmcp-slim")
|
|
51
|
+
for dist in dists:
|
|
52
|
+
for raw in metadata.requires(dist) or []:
|
|
53
|
+
try:
|
|
54
|
+
req = requirement_cls(raw)
|
|
55
|
+
except invalid_requirement:
|
|
56
|
+
continue
|
|
57
|
+
if canonicalize_name(req.name) != "mcp":
|
|
58
|
+
continue
|
|
59
|
+
if req.marker is None or any(
|
|
60
|
+
req.marker.evaluate({"extra": e}) for e in _EXTRAS):
|
|
61
|
+
return req
|
|
62
|
+
return None
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def _console_python(executable: str) -> str:
|
|
66
|
+
"""python.exe in place of pythonw.exe: the repair command needs a console."""
|
|
67
|
+
exe = Path(executable)
|
|
68
|
+
if exe.name.lower() == "pythonw.exe":
|
|
69
|
+
console = exe.with_name("python.exe")
|
|
70
|
+
if console.exists():
|
|
71
|
+
return str(console)
|
|
72
|
+
return executable
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def problem(executable: str | None = None) -> str | None:
|
|
76
|
+
"""Describe a fastmcp/mcp mismatch and how to repair it, or return None.
|
|
77
|
+
|
|
78
|
+
None also covers what this cannot judge: fastmcp not installed, no mcp pin
|
|
79
|
+
in its metadata, or no ``packaging`` to read the pin with.
|
|
80
|
+
"""
|
|
81
|
+
tools = _packaging()
|
|
82
|
+
if tools is None:
|
|
83
|
+
return None
|
|
84
|
+
req = _mcp_requirement(*tools)
|
|
85
|
+
if req is None:
|
|
86
|
+
return None
|
|
87
|
+
fastmcp = _version("fastmcp")
|
|
88
|
+
mcp = _version("mcp")
|
|
89
|
+
spec = str(req.specifier)
|
|
90
|
+
python = _console_python(executable or sys.executable)
|
|
91
|
+
pip = f'"{python}" -m pip'
|
|
92
|
+
if mcp is None:
|
|
93
|
+
return (f"C3's MCP server cannot start: fastmcp {fastmcp} needs "
|
|
94
|
+
f"mcp{spec}, and mcp is not installed in {sys.prefix}.\n"
|
|
95
|
+
f'Repair: {pip} install "mcp{spec}", then restart the session.')
|
|
96
|
+
if req.specifier.contains(mcp, prereleases=True):
|
|
97
|
+
return None
|
|
98
|
+
too_new = any(s.operator in ("<", "<=") and not s.contains(mcp, prereleases=True)
|
|
99
|
+
for s in req.specifier)
|
|
100
|
+
lines = [
|
|
101
|
+
f"C3's MCP server cannot start: fastmcp {fastmcp} needs mcp{spec}, "
|
|
102
|
+
f"but mcp {mcp} is installed in {sys.prefix}. Installing another "
|
|
103
|
+
"package that wants a different mcp moves it; pip warns about the "
|
|
104
|
+
"conflict but installs anyway.",
|
|
105
|
+
"Repair with one of:",
|
|
106
|
+
]
|
|
107
|
+
if too_new:
|
|
108
|
+
lines.append(f" {pip} install --upgrade fastmcp "
|
|
109
|
+
f"(moves fastmcp to the release built for mcp {mcp})")
|
|
110
|
+
lines.append(f' {pip} install "mcp{spec}" '
|
|
111
|
+
f"(moves mcp back to what fastmcp {fastmcp} needs)")
|
|
112
|
+
lines.append(f"Then run {pip} check to see whether another package "
|
|
113
|
+
"needs the other mcp line, and restart the session.")
|
|
114
|
+
return "\n".join(lines)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "code-context-control"
|
|
7
|
-
version = "2.158.
|
|
7
|
+
version = "2.158.4"
|
|
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"
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"""core.mcp_stack names a fastmcp/mcp mismatch; the MCP server and the
|
|
2
|
+
SessionStart hook report it instead of dying with an import traceback."""
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import subprocess
|
|
7
|
+
import sys
|
|
8
|
+
import tempfile
|
|
9
|
+
import unittest
|
|
10
|
+
from importlib import metadata
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
from unittest import mock
|
|
13
|
+
|
|
14
|
+
REPO_ROOT = Path(__file__).resolve().parent.parent
|
|
15
|
+
sys.path.insert(0, str(REPO_ROOT))
|
|
16
|
+
|
|
17
|
+
from core import mcp_stack # noqa: E402
|
|
18
|
+
|
|
19
|
+
FASTMCP_3_PIN = ["httpx>=0.28.1", "mcp<2.0,>=1.24.0", "openai>=1.102.0; extra == \"openai\""]
|
|
20
|
+
SLIM_4_PINS = ["mcp-types<3.0.0,>=2.0.0",
|
|
21
|
+
"mcp<3.0.0,>=2.2.0; extra == \"client\"",
|
|
22
|
+
"mcp<3.0.0,>=2.2.0; extra == \"server\""]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def _installed(versions: dict, requires: dict):
|
|
26
|
+
def version(name):
|
|
27
|
+
if name not in versions:
|
|
28
|
+
raise metadata.PackageNotFoundError(name)
|
|
29
|
+
return versions[name]
|
|
30
|
+
|
|
31
|
+
def reqs(name):
|
|
32
|
+
if name not in versions:
|
|
33
|
+
raise metadata.PackageNotFoundError(name)
|
|
34
|
+
return requires.get(name, [])
|
|
35
|
+
|
|
36
|
+
return mock.patch.multiple(mcp_stack.metadata, version=version, requires=reqs)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class TestProblem(unittest.TestCase):
|
|
40
|
+
def test_fastmcp3_with_mcp2_names_both_repairs(self):
|
|
41
|
+
with _installed({"fastmcp": "3.2.4", "mcp": "2.3.0"}, {"fastmcp": FASTMCP_3_PIN}):
|
|
42
|
+
msg = mcp_stack.problem("C:/Py/python.exe")
|
|
43
|
+
self.assertIn("fastmcp 3.2.4 needs mcp<2.0,>=1.24.0, but mcp 2.3.0 is installed", msg)
|
|
44
|
+
self.assertIn('"C:/Py/python.exe" -m pip install --upgrade fastmcp', msg)
|
|
45
|
+
self.assertIn('"C:/Py/python.exe" -m pip install "mcp<2.0,>=1.24.0"', msg)
|
|
46
|
+
|
|
47
|
+
def test_matching_slim_pin_is_satisfied(self):
|
|
48
|
+
with _installed({"fastmcp": "4.1.3", "fastmcp-slim": "4.1.3", "mcp": "2.3.0"},
|
|
49
|
+
{"fastmcp": ["fastmcp-slim[client,server]==4.1.3"],
|
|
50
|
+
"fastmcp-slim": SLIM_4_PINS}):
|
|
51
|
+
self.assertIsNone(mcp_stack.problem())
|
|
52
|
+
|
|
53
|
+
def test_mcp_too_old_offers_only_the_mcp_repair(self):
|
|
54
|
+
with _installed({"fastmcp": "4.1.3", "fastmcp-slim": "4.1.3", "mcp": "1.30.0"},
|
|
55
|
+
{"fastmcp": ["fastmcp-slim[client,server]==4.1.3"],
|
|
56
|
+
"fastmcp-slim": SLIM_4_PINS}):
|
|
57
|
+
msg = mcp_stack.problem("python")
|
|
58
|
+
self.assertIn("needs mcp<3.0.0,>=2.2.0, but mcp 1.30.0", msg)
|
|
59
|
+
self.assertIn('install "mcp<3.0.0,>=2.2.0"', msg)
|
|
60
|
+
self.assertNotIn("--upgrade fastmcp", msg)
|
|
61
|
+
|
|
62
|
+
def test_stale_slim_at_other_version_is_ignored(self):
|
|
63
|
+
with _installed({"fastmcp": "3.2.4", "fastmcp-slim": "4.1.3", "mcp": "1.30.0"},
|
|
64
|
+
{"fastmcp": FASTMCP_3_PIN, "fastmcp-slim": SLIM_4_PINS}):
|
|
65
|
+
self.assertIsNone(mcp_stack.problem())
|
|
66
|
+
|
|
67
|
+
def test_missing_mcp_is_reported(self):
|
|
68
|
+
with _installed({"fastmcp": "3.2.4"}, {"fastmcp": FASTMCP_3_PIN}):
|
|
69
|
+
msg = mcp_stack.problem("python")
|
|
70
|
+
self.assertIn("mcp is not installed", msg)
|
|
71
|
+
|
|
72
|
+
def test_no_fastmcp_is_not_judged(self):
|
|
73
|
+
with _installed({"mcp": "2.3.0"}, {}):
|
|
74
|
+
self.assertIsNone(mcp_stack.problem())
|
|
75
|
+
|
|
76
|
+
def test_pythonw_is_swapped_for_console_python(self):
|
|
77
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
78
|
+
for name in ("python.exe", "pythonw.exe"):
|
|
79
|
+
(Path(tmp) / name).write_bytes(b"")
|
|
80
|
+
self.assertEqual(mcp_stack._console_python(str(Path(tmp) / "pythonw.exe")),
|
|
81
|
+
str(Path(tmp) / "python.exe"))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class TestSessionStartReports(unittest.TestCase):
|
|
85
|
+
def test_mismatch_becomes_session_context(self):
|
|
86
|
+
from cli import hook_session_open
|
|
87
|
+
with tempfile.TemporaryDirectory() as tmp, \
|
|
88
|
+
mock.patch.dict(os.environ, {"C3_NO_UI_AUTOSTART": "1"}), \
|
|
89
|
+
mock.patch.object(mcp_stack, "problem", return_value="fastmcp mismatch"):
|
|
90
|
+
(Path(tmp) / ".c3").mkdir()
|
|
91
|
+
out = hook_session_open.run(
|
|
92
|
+
{"session_id": "sid", "cwd": tmp, "source": "startup"}, Path(tmp))
|
|
93
|
+
self.assertEqual(out, {"_text": "fastmcp mismatch"})
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class TestServerStartup(unittest.TestCase):
|
|
97
|
+
def test_broken_stack_exits_with_repair_instead_of_traceback(self):
|
|
98
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
99
|
+
fake = Path(tmp) / "site"
|
|
100
|
+
(fake / "fastmcp").mkdir(parents=True)
|
|
101
|
+
(fake / "fastmcp" / "__init__.py").write_text(
|
|
102
|
+
"raise ImportError(\"cannot import name 'McpError' from 'mcp'\")\n",
|
|
103
|
+
encoding="utf-8")
|
|
104
|
+
for name, ver, extra in (("fastmcp", "3.2.4", "Requires-Dist: mcp<2.0,>=1.24.0\n"),
|
|
105
|
+
("mcp", "2.3.0", "")):
|
|
106
|
+
info = fake / f"{name}-{ver}.dist-info"
|
|
107
|
+
info.mkdir()
|
|
108
|
+
(info / "METADATA").write_text(
|
|
109
|
+
f"Metadata-Version: 2.1\nName: {name}\nVersion: {ver}\n{extra}",
|
|
110
|
+
encoding="utf-8")
|
|
111
|
+
env = {**os.environ, "PYTHONPATH": str(fake)}
|
|
112
|
+
proc = subprocess.run(
|
|
113
|
+
[sys.executable, str(REPO_ROOT / "cli" / "mcp_server.py"), "--project", tmp],
|
|
114
|
+
capture_output=True, text=True, env=env, timeout=60,
|
|
115
|
+
stdin=subprocess.DEVNULL)
|
|
116
|
+
self.assertEqual(proc.returncode, 1, proc.stderr)
|
|
117
|
+
self.assertIn("fastmcp 3.2.4 needs mcp<2.0,>=1.24.0, but mcp 2.3.0", proc.stderr)
|
|
118
|
+
self.assertNotIn("Traceback", proc.stderr)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
if __name__ == "__main__":
|
|
122
|
+
unittest.main()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/guide/getting-started.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/add_project.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/config_editor.js
RENAMED
|
File without changes
|
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_health.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_panel.js
RENAMED
|
File without changes
|
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_tasks.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/drill_views.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/global_search.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_access.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_ci.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_locks.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_schedules.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_sessions.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/hub_tokens.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/mcp_manager.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/modals.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/project_card.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/project_tree.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/sidebar.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/summary_bar.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/task_board.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/toasts.js
RENAMED
|
File without changes
|
{code_context_control-2.158.3 → code_context_control-2.158.4}/cli/hub_ui/components/topbar.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|