.. cli fixtures gateway integrations parity test_backends test_cache test_cli test_compression test_dashboard test_evals test_install test_integrations test_learn test_live test_mcp_registry test_memory test_providers test_proxy test_scripts test_storage test_tokenizers test_transforms PY __init__.py 30 B PY _dotenv.py 3.9 KB PY _gemini_live.py 662 B PY _mcp_stub.py 3.8 KB PY _pricing_models.py 2.8 KB PY _skip_helpers.py 1.7 KB PY conftest.py 23.3 KB PY e2e_cortex_latency.py 17.3 KB PY e2e_cortex_mcp.py 14.9 KB PY e2e_cortex_proxy_mcp.py 15.9 KB PY e2e_cortex_proxy.py 11.9 KB PY e2e_cortex_quality.py 16.8 KB PY e2e_cortex_savings.py 17.5 KB PY e2e_real_compression.py 13.0 KB PY e2e_ws_codex_usage_headers.py 8.8 KB PY e2e_ws_responses_compression.py 9.8 KB PY repro_unsendable_panic.py 3.9 KB PY test_5xx_accounting_all_providers.py 6.1 KB PY test_acceptance.py 11.2 KB PY test_adapter_hooks.py 23.3 KB PY test_adaptive_sizer.py 8.0 KB PY test_adversarial_grid.py 6.1 KB PY test_agent_savings.py 27.9 KB PY test_anthropic_auto_mode_passthrough.py 17.7 KB PY test_anthropic_beta_session_sticky.py 12.8 KB PY test_anthropic_buffered_ccr_usage.py 11.0 KB PY test_anthropic_buffered_memory_continuation.py 5.7 KB PY test_anthropic_buffered_sse.py 11.3 KB PY test_anthropic_ccr_workspace_unbound.py 3.1 KB PY test_anthropic_client_create_stream.py 2.4 KB PY test_anthropic_compaction_transforms.py 15.9 KB PY test_anthropic_deferred_tool_lineage.py 12.9 KB PY test_anthropic_fork_lineage_cache.py 13.9 KB PY test_anthropic_hello_probe_routing.py 3.8 KB PY test_anthropic_messages_client_disconnect.py 3.3 KB PY test_anthropic_pre_upstream_backpressure.py 51.4 KB PY test_anthropic_stage_timings.py 15.2 KB PY test_anthropic_system_relocation_third_party.py 4.5 KB PY test_audit_codex.py 7.5 KB PY test_audit_reads.py 6.8 KB PY test_auth_mode.py 7.5 KB PY test_auth_policy.py 4.4 KB PY test_azure_foundry_claude_compression.py 5.5 KB PY test_backend_anyllm.py 28.6 KB PY test_backend_bugs.py 41.3 KB PY test_backend_nonstreaming_cache_metrics.py 21.2 KB PY test_backend_streaming_cache_metrics.py 12.3 KB PY test_banner_upstream_targets.py 5.4 KB PY test_bash_search_lossless_fold.py 9.8 KB PY test_beacon_gzip.py 18.3 KB PY test_beacon_schema_v2.py 34.8 KB PY test_bedrock_prefix_tracker_wiring.py 11.7 KB PY test_bedrock_region.py 27.6 KB PY test_bedrock_streaming_input_tokens.py 8.2 KB PY test_bedrock_tool_result_cache_and_streaming_stats.py 20.1 KB PY test_beta_header_merge.py 1.1 KB PY test_beta_header_policy.py 1.5 KB PY test_binaries_refusal_reaches_callers.py 2.8 KB PY test_binaries.py 23.1 KB PY test_bounded_model_caches.py 6.4 KB PY test_bounded_model_keys.py 6.4 KB PY test_buffered_ccr_accept_header.py 9.3 KB PY test_buffered_ccr_grace_window.py 10.9 KB PY test_buffered_ccr_salvage.py 7.7 KB PY test_buffered_ccr_upstream_stream.py 22.6 KB PY test_builtin_compressor_adapters.py 15.1 KB PY test_bundled_tools_savings.py 12.3 KB PY test_cache_aligner_detector_only.py 12.8 KB PY test_cache_aligner_prefix_stability.py 3.7 KB PY test_cache_breakpoint_diagnostics.py 27.6 KB PY test_cache_control_move_bust.py 16.0 KB PY test_cache_control_ttl_order.py 13.8 KB PY test_cache_mode_cold_start.py 11.9 KB PY test_cache_mode_delta_marker.py 8.3 KB PY test_cache_optimizer_example_cleanup.py 1.3 KB PY test_cache_prefix_overlay.py 13.9 KB PY test_cache_prefix_safety.py 6.5 KB PY test_cache_replay_shapes.py 6.9 KB PY test_cache_ttl_preserved.py 2.0 KB PY test_canonical_pipeline.py 10.1 KB PY test_ccr_batch_processor.py 44.1 KB PY test_ccr_batch_store.py 5.6 KB PY test_ccr_buffered_stream_signed_thinking.py 16.8 KB PY test_ccr_context_tracker.py 35.8 KB PY test_ccr_expansion_conversation_scope.py 9.8 KB PY test_ccr_feedback.py 14.5 KB PY test_ccr_golden_policy.py 1.3 KB PY test_ccr_inline_resolve_handlers.py 5.2 KB PY test_ccr_marker_policy.py 6.5 KB PY test_ccr_marker_resolution.py 2.7 KB PY test_ccr_mcp_http.py 2.1 KB PY test_ccr_mcp_server.py 29.3 KB PY test_ccr_redis_backend.py 18.3 KB PY test_ccr_response_handler_extra.py 33.4 KB PY test_ccr_response_handler_openai_responses.py 8.4 KB PY test_ccr_response_handler.py 34.5 KB PY test_ccr_retrieve_history_repair.py 5.6 KB PY test_ccr_row_drop_store_bridge.py 18.6 KB PY test_ccr_rust_marker_hash_bridge.py 6.8 KB PY test_ccr_session_tracker.py 2.4 KB PY test_ccr_sqlite_backend.py 33.3 KB PY test_ccr_stream_retrieval.py 11.7 KB PY test_ccr_tag_placeholder_regression.py 8.4 KB PY test_ccr_tool_always_on.py 15.4 KB PY test_ccr_tool_calls.py 5.6 KB PY test_ccr_tool_injection_cache_stability.py 11.6 KB PY test_ccr_tool_injection.py 29.5 KB PY test_ccr.py 10.6 KB PY test_claude_session_branch_compare.py 5.3 KB PY test_claude_session_mode_benchmark.py 19.0 KB PY test_cli_dashboard.py 1.5 KB PY test_cli_doctor.py 43.5 KB PY test_cli_extension_seam.py 3.9 KB PY test_cli_inspect.py 4.6 KB PY test_cli_learn.py 42.3 KB PY test_cli_memory_index_sync.py 23.1 KB PY test_cli_perf_format.py 22.6 KB PY test_cli_proxy_embedding_server.py 1.2 KB PY test_cli_proxy_env.py 66.6 KB PY test_cli_proxy_improvements.py 21.2 KB PY test_cli_proxy_malloc_reexec_guard.py 3.7 KB PY test_cli_tools.py 11.2 KB PY test_cli_update.py 13.0 KB PY test_client_cache_optimizer_config.py 2.0 KB PY test_client_store_url.py 3.3 KB PY test_client_stream_lifecycle.py 8.1 KB PY test_co2_estimation.py 2.1 KB PY test_code_aware_brace_comment_regressions.py 4.3 KB PY test_code_aware_regressions.py 5.0 KB PY test_code_compressor_bash.py 2.2 KB PY test_code_compressor_language_alias.py 2.7 KB PY test_code_compressor_syntax_breaker.py 4.3 KB PY test_code_compressor_thread_safety.py 5.2 KB PY test_codeql_triage_script.py 7.3 KB PY test_codex_client_stamp.py 2.5 KB PY test_codex_live.py 28.9 KB PY test_codex_openai_contract_parity.py 6.3 KB PY test_codex_project_context.py 31.8 KB PY test_codex_rate_limits.py 16.4 KB PY test_codex_responses_passthrough_bytes.py 3.8 KB PY test_codex_responses_waste_signals.py 5.7 KB PY test_codex_ws_compression_scheduler.py 8.5 KB PY test_codex_ws_per_frame_memory.py 19.6 KB PY test_codex_ws_savings_deferral.py 4.0 KB PY test_cold_prefix.py 2.7 KB PY test_cold_start_fast_pass.py 9.8 KB PY test_compaction_markdown_kv.py 5.2 KB PY test_compress_api.py 15.4 KB PY test_compress_diagnostics.py 11.2 KB PY test_compress_failure.py 1.1 KB PY test_compress_passthrough.py 3.9 KB PY test_compress_route_tokenizer_by_model.py 11.3 KB PY test_compress_session_mode.py 25.6 KB PY test_compress_session_shared.py 14.7 KB PY test_compression_batches.py 14.3 KB PY test_compression_cache_registry.py 6.3 KB PY test_compression_cache.py 34.9 KB PY test_compression_decision.py 19.5 KB PY test_compression_determinism.py 5.5 KB PY test_compression_fidelity_regression.py 3.1 KB PY test_compression_observability.py 18.4 KB PY test_compression_policy_toin_gate.py 13.5 KB PY test_compression_policy.py 11.1 KB PY test_compression_safety_rails.py 16.8 KB PY test_compression_store.py 60.3 KB PY test_compression_strategy_outcomes.py 1.5 KB PY test_compression_summary_integration.py 3.2 KB PY test_compression_summary.py 4.3 KB PY test_compression_units.py 9.3 KB PY test_compressor_config_exposure.py 5.8 KB PY test_compressor_registry.py 7.7 KB PY test_compressor_selection.py 11.7 KB PY test_config_yaml_scalar_elision.py 1.4 KB PY test_config.py 17.8 KB PY test_content_router_compact_json.py 11.3 KB PY test_content_router_concurrency.py 31.2 KB PY test_content_router_detection_dedup.py 7.0 KB PY test_content_router_exclude_tools.py 12.1 KB PY test_content_router_kompress_not_ready_log.py 4.3 KB PY test_content_router_mcp_small_result.py 4.2 KB PY test_content_router_mixed_fence_placeholder.py 1.8 KB PY test_content_router_ml_stage_deadline.py 26.3 KB PY test_content_router_recovery_tool_exclusion.py 3.1 KB PY test_content_router_shell_small_results.py 17.8 KB PY test_content_router_single_item_deadline.py 5.6 KB PY test_content_router_token_units.py 3.2 KB PY test_content_router_tool_role_reversibility.py 10.6 KB PY test_content_router_user_blocks.py 3.2 KB PY test_context_tool_cleanup.py 30.2 KB PY test_copilot_auth.py 75.3 KB PY test_copilot_inline_client_auth.py 5.0 KB PY test_copilot_integration_id_hmac.py 8.8 KB PY test_copilot_linux_secret.py 2.2 KB PY test_copilot_macos_keychain.py 3.0 KB PY test_copilot_native_mode.py 6.3 KB PY test_copilot_provider_label.py 4.9 KB PY test_copilot_quota.py 12.1 KB PY test_copilot_subscription_smoke.py 10.4 KB PY test_copilot_vscode_completions_routing.py 21.4 KB PY test_corporate_tls.py 20.9 KB PY test_corrupt_golden_bytes_recovery.py 11.3 KB PY test_cortex_code_compression.py 23.6 KB PY test_cost_budget_basis.py 11.0 KB PY test_cost_budget_performance.py 3.5 KB PY test_cost_budget_total_prompt.py 4.4 KB PY test_cost_cache_prices.py 16.8 KB PY test_cost_card_attribution.py 11.1 KB PY test_cost_pricing_warning_dedup.py 3.3 KB PY test_cost_tracker_counterfactual.py 4.9 KB PY test_cost_tracker_totals.py 2.6 KB PY test_counterfactual_pricing.py 13.0 KB PY test_critical_fixes.py 11.2 KB PY test_critical_gaps.py 47.5 KB PY test_cross_tier_output_savings.py 5.4 KB PY test_cross_turn_cache_safety.py 12.2 KB PY test_cross_turn_dedup.py 21.3 KB PY test_custom_base_passthrough_telemetry.py 6.7 KB PY test_dashboard_accessibility.py 7.9 KB PY test_dashboard_agent_usage.py 8.5 KB PY test_dashboard_cache_lifetime_playwright.py 6.8 KB PY test_dashboard_cache_net_playwright.py 22.0 KB PY test_dashboard_cache_ttl_playwright.py 12.1 KB PY test_dashboard_co2_playwright.py 1.1 KB PY test_dashboard_light_mode_contrast.py 1.3 KB PY test_dashboard_poll_guard_playwright.py 6.5 KB PY test_dashboard_settings_select_playwright.py 3.5 KB PY test_dashboard_static_assets.py 3.1 KB PY test_dashboard_static_mime_types.py 3.6 KB PY test_dashboard_teams_perk.py 2.9 KB PY test_dashboard_token_savings.py 1.9 KB PY test_dataset_recall_runner.py 4.7 KB PY test_debug_dump_gating.py 9.4 KB PY test_densify_agent_mode.py 8.1 KB PY test_dependency_overrides.py 1.4 KB PY test_diagnostic_decode_policy.py 787 B PY test_direct_chat_ccr_resolution.py 16.5 KB PY test_docker_compose_persistence.py 6.1 KB PY test_docker_healthcheck_port.py 3.7 KB PY test_error_detection.py 5.8 KB PY test_evals_cjk_tokenization.py 1.3 KB PY test_evals_core_deprecations.py 1.3 KB PY test_evals_datasets.py 20.3 KB PY test_evals_metrics.py 5.6 KB PY test_evals_multilingual.py 1.2 KB PY test_exceptions.py 1.1 KB PY test_extension_attribution.py 18.8 KB PY test_fastembed_pinned_snapshot.py 12.5 KB PY test_force_kompress_all.py 3.3 KB PY test_forwarded_headers.py 19.3 KB PY test_forwarded_policy.py 2.1 KB PY test_fsutil.py 4.1 KB PY test_garbled_compression_fixes.py 13.9 KB PY test_gateway_sidecar_ports.py 8.3 KB PY test_gateway_turn_unit.py 31.4 KB PY test_gemini_ccr_continuation_usage.py 5.7 KB PY test_gemini_compression_offload.py 3.0 KB PY test_gemini_counttokens_booking.py 3.7 KB PY test_gemini_function_response_waste.py 10.5 KB PY test_gemini_memory_tail_preserved.py 10.0 KB PY test_gemini_nonjson_status.py 2.9 KB PY test_gemini_prefix_freeze.py 10.9 KB PY test_google_multimodal_e2e.py 12.6 KB PY test_google_multimodal.py 29.2 KB PY test_graceful_shutdown.py 11.5 KB PY test_graph_installer.py 1.9 KB PY test_graph.py 7.5 KB PY test_grok_shared_proxy_call_sites.py 9.9 KB PY test_h2_stream_reset_retry.py 5.9 KB PY test_handler_outcome_tag_invariant.py 7.0 KB PY test_hard_watchdog.py 4.8 KB PY test_header_isolation.py 23.9 KB PY test_hermes_passthrough_compression.py 16.4 KB PY test_hermes_tool_call_unwrap.py 12.8 KB PY test_hf_revision_pinning.py 5.2 KB PY test_hnsw_only.py 10.5 KB PY test_hook_failure_logging.py 11.9 KB PY test_hook_net_tool_additions.py 13.1 KB PY test_hook_protect_messages.py 6.4 KB PY test_hook_tool_deferral_accounting.py 10.7 KB PY test_hooks.py 5.0 KB PY test_html_tool_reversibility.py 3.4 KB PY test_huggingface_tokenizer_allowlist.py 8.4 KB PY test_huggingface_tokenizer_timeout.py 7.8 KB PY test_identity_resolution.py 2.3 KB PY test_image_compression_decision.py 9.1 KB PY test_image_compression_isolation.py 15.7 KB PY test_image_compression_offload.py 2.3 KB PY test_image_compression_policy.py 1.7 KB PY test_image_compression.py 19.4 KB PY test_image_compressor_singleton_reuse.py 2.5 KB PY test_image_compressor_stale_result.py 1.8 KB PY test_image_compressor.py 39.0 KB PY test_image_decoder_guard.py 2.4 KB PY test_image_log_redaction.py 10.4 KB PY test_image_memo.py 7.7 KB PY test_image_ocr_api_compat.py 8.0 KB PY test_image_types_torch_decoupling.py 2.1 KB PY test_inline_extractor_inject.py 2.2 KB PY test_install_apply_no_rate_limit.py 3.7 KB PY test_install_git_hooks_script.py 4.0 KB PY test_install_tool_env_reconcile.py 5.5 KB PY test_integration_metric_timestamps_utc.py 4.9 KB PY test_internal_header_policy.py 1.6 KB PY test_invalid_request_body_message.py 1.7 KB PY test_issue_1601_remote_control_gate.py 1.1 KB PY test_issue_1779_remote_control_gate.py 12.2 KB PY test_issue_2671_block_growth_cache.py 10.9 KB PY test_issue_728_empty_tools_injection.py 7.8 KB PY test_issue_746_tool_search.py 37.5 KB PY test_json_protection_boundaries.py 1.9 KB PY test_keep_last_turns.py 23.8 KB PY test_kompress_download_backoff.py 5.8 KB PY test_kompress_failsafe.py 27.8 KB PY test_kompress_health_detail_policy.py 1.0 KB PY test_kompress_line_integrity.py 4.3 KB PY test_kompress_marker_gate.py 6.5 KB PY test_kompress_mps_serialization.py 4.6 KB PY test_kompress_must_keep.py 13.4 KB PY test_kompress_preload_deferral.py 14.0 KB PY test_kompress_remote_endpoint.py 5.3 KB PY test_kompress_request_nonblocking.py 10.1 KB PY test_kompress_rust_pins.py 1.4 KB PY test_kompress_token_window.py 5.9 KB PY test_learn_grok_plugin.py 2.7 KB PY test_license_env_and_usage_reporting.py 4.6 KB PY test_litellm_callback.py 4.7 KB PY test_litellm_caller_key.py 3.9 KB PY test_litellm_nonstream_cache_usage.py 4.1 KB PY test_litellm_openai_passthrough.py 9.3 KB PY test_litellm_optional.py 4.4 KB PY test_litellm_probe_fallback_logs.py 4.4 KB PY test_litellm_thinking_fidelity.py 17.5 KB PY test_litellm_transport_errors.py 13.3 KB PY test_litellm_upstream_timeout.py 2.4 KB PY test_local_backend_init_race.py 3.1 KB PY test_log_compressor.py 19.2 KB PY test_log_safety.py 19.4 KB PY test_loop_callback_failure_policy.py 1.3 KB PY test_lossless_diff_fold_guard.py 1.4 KB PY test_lossless_excluded_compaction.py 12.8 KB PY test_lossless_first_dispatch.py 14.8 KB PY test_lossless_mode.py 14.9 KB PY test_lossless_then_lossy.py 6.9 KB PY test_lossless_timestamp_guard.py 3.1 KB PY test_malloc_tuning.py 13.0 KB PY test_managed_block_injection.py 8.4 KB PY test_mcp_dependency_contract.py 1.6 KB PY test_mcp_registry_opencode.py 22.5 KB PY test_mcp_sdk2_contract.py 4.4 KB PY test_mcp_stub.py 4.2 KB PY test_memory_auto_tail.py 19.6 KB PY test_memory_bridge.py 21.7 KB PY test_memory_decision_policy.py 1.8 KB PY test_memory_decision.py 11.3 KB PY test_memory_eval.py 10.1 KB PY test_memory_golden_policy.py 1.5 KB PY test_memory_handler_concurrent_init.py 11.8 KB PY test_memory_handler_native_ops.py 61.2 KB PY test_memory_handler_null_function.py 3.6 KB PY test_memory_handler_project_isolation.py 14.4 KB PY test_memory_injection_budget.py 5.0 KB PY test_memory_injection_logging.py 1.9 KB PY test_memory_injection_mode_policy.py 2.2 KB PY test_memory_integration.py 23.9 KB PY test_memory_invariants.py 8.1 KB PY test_memory_query_policy.py 5.2 KB PY test_memory_query.py 8.3 KB PY test_memory_rank_policy.py 1.9 KB PY test_memory_storage_router.py 24.8 KB PY test_memory_sync.py 28.7 KB PY test_memory_system.py 73.5 KB PY test_memory_tool_mode.py 6.0 KB PY test_memory_tool_session_sticky.py 24.2 KB PY test_memory_tool_stream.py 40.3 KB PY test_memory_tracker_integration.py 15.9 KB PY test_memory_tracker.py 11.9 KB PY test_memory_usage_integration.py 25.1 KB PY test_memory_wrapper.py 10.1 KB PY test_mid_turn_steering.py 13.0 KB PY test_mixed_content_scan_cache.py 6.9 KB PY test_mixed_content_sections.py 5.8 KB PY test_ml_model_registry_lifecycle.py 3.6 KB PY test_model_alias_targets_are_priced.py 2.6 KB PY test_models.py 12.6 KB PY test_multiline_regex_blank_runs.py 5.7 KB PY test_negative_savings_reload.py 4.9 KB PY test_negative_savings_warning.py 8.6 KB PY test_net_tokens_negative_warning.py 3.9 KB PY test_netcost_gate.py 23.2 KB PY test_netcost_suffix_image_tokens.py 3.6 KB PY test_network_diff_capture.py 8.6 KB PY test_no_ccr_disables_response_handling.py 6.3 KB PY test_no_ccr_lossy.py 1.8 KB PY test_no_trust_remote_code.py 3.0 KB PY test_nonstream_sse_policy.py 9.1 KB PY test_oauth_bearer_routing.py 8.3 KB PY test_observability_metrics.py 22.1 KB PY test_observability_tracing.py 5.6 KB PY test_observed_wire_shapes.py 24.3 KB PY test_offline_egress_chokepoint.py 154 KB PY test_onnx_dependency_contract.py 4.9 KB PY test_onnx_router_threads.py 6.6 KB PY test_onnx_runtime.py 7.8 KB PY test_openai_beta_session_sticky.py 7.9 KB PY test_openai_block_cache_control_replay.py 14.6 KB PY test_openai_chat_buffered_ccr.py 25.8 KB PY test_openai_chat_dedup_recoverability.py 6.6 KB PY test_openai_chat_tool_desc_compaction.py 4.4 KB PY test_openai_chat_turn_hooks.py 13.2 KB PY test_openai_codex_routing.py 40.1 KB PY test_openai_codex_ws_lifecycle.py 111 KB PY test_openai_codex_ws_timings.py 11.7 KB PY test_openai_max_completion_tokens.py 2.1 KB PY test_openai_message_level_cache_control.py 10.6 KB PY test_openai_model_table_resolution.py 2.9 KB PY test_openai_pricing_resolution.py 3.0 KB PY test_openai_response_cache_key.py 4.0 KB PY test_openai_responses_additional_tools.py 14.8 KB PY test_openai_responses_buffered_sse.py 3.8 KB PY test_openai_responses_compression_units.py 59.5 KB PY test_openai_responses_context_compaction.py 14.8 KB PY test_openai_responses_null_arguments.py 1.2 KB PY test_openai_responses_output_shaper.py 7.0 KB PY test_openai_responses_read_protection.py 27.2 KB PY test_openai_responses_t3_replay_regression.py 7.0 KB PY test_openai_responses_traffic_learner.py 7.6 KB PY test_openai_responses_web_search_history.py 14.8 KB PY test_openai_streaming_backend.py 11.9 KB PY test_openai_tool_search_deferral.py 10.5 KB PY test_optional_dependencies.py 7.9 KB PY test_orchestrator_wrapper_ccr_retrieve.py 17.0 KB PY test_org_scale_limits.py 4.9 KB PY test_original_snapshot_in_place_hook.py 8.6 KB PY test_outcome_dual_ruler_funnel.py 5.7 KB PY test_outcome_records_5xx_as_failed.py 5.7 KB PY test_outcome_token_scale.py 3.6 KB PY test_output_only_request_blocks.py 8.2 KB PY test_output_savings_cli.py 2.2 KB PY test_output_savings_policy.py 8.3 KB PY test_output_savings.py 50.5 KB PY test_output_shaper_conversation_label.py 4.1 KB PY test_output_shaper_responses.py 14.0 KB PY test_output_shaper.py 23.0 KB PY test_output_shaping_rollup.py 3.2 KB PY test_output_steering.py 4.7 KB PY test_output_turn_policy.py 3.3 KB PY test_output_verbosity_policy.py 2.2 KB PY test_overload_retry_futile.py 3.8 KB PY test_owned_asset_encoding.py 2.4 KB PY test_package_init_lazy.py 9.7 KB PY test_packaging_extras_and_security_docs.py 9.8 KB PY test_parity_recorder_grammar.py 1.1 KB PY test_parser.py 55.2 KB PY test_paths_backward_compat.py 5.8 KB PY test_paths.py 16.6 KB PY test_per_model_tool_savings.py 8.8 KB PY test_perf_per_port_logs.py 15.9 KB PY test_perl_scanner_safety.py 4.3 KB PY test_persistent_metrics_integration.py 3.4 KB PY test_persistent_metrics_persistence.py 3.7 KB PY test_persistent_metrics.py 9.6 KB PY test_pid_alive.py 5.1 KB PY test_pipeline_outcome_stage.py 5.2 KB PY test_pipeline.py 4.2 KB PY test_platform_feature_matrix.py 2.7 KB PY test_platform_stabilization_functional.py 7.9 KB PY test_plugin_hook_launcher.py 9.7 KB PY test_plugin_manifests.py 6.3 KB PY test_plugins_hermes_retrieve.py 5.6 KB PY test_pr208_changes.py 23.3 KB PY test_prefix_tracker_client_rewrote_reply.py 5.0 KB PY test_prefix_tracker_restart.py 22.2 KB PY test_pricing_cache_ttl.py 3.4 KB PY test_pricing_deepseek_tiers.py 9.7 KB PY test_pricing_from_litellm.py 3.9 KB PY test_pricing_litellm_model_resolution.py 5.4 KB PY test_pricing_litellm.py 7.0 KB PY test_pricing.py 5.4 KB PY test_private_state_files.py 26.0 KB PY test_probe_recorder.py 4.2 KB PY test_project_name_policy.py 1.1 KB PY test_project_policy.py 1.3 KB PY test_prometheus_label_escaping.py 10.3 KB PY test_prometheus_obs_counters.py 11.7 KB PY test_prometheus_stage_timing_concurrency.py 3.1 KB PY test_provider_aider.py 1.7 KB PY test_provider_antigravity.py 3.5 KB PY test_provider_billed_input.py 11.7 KB PY test_provider_claude_vscode_config.py 15.6 KB PY test_provider_claude.py 1.2 KB PY test_provider_cloudcode_runtime.py 923 B PY test_provider_codex_config_toml.py 2.5 KB PY test_provider_codex_endpoints.py 1.0 KB PY test_provider_codex_headers.py 798 B PY test_provider_codex_images.py 1.8 KB PY test_provider_codex_install.py 13.2 KB PY test_provider_codex_model_metadata.py 5.1 KB PY test_provider_codex_responses.py 5.5 KB PY test_provider_codex_runtime.py 12.1 KB PY test_provider_codex_threads.py 6.7 KB PY test_provider_copilot_vscode_config.py 7.6 KB PY test_provider_copilot_wrap.py 9.3 KB PY test_provider_cortex_code.py 4.1 KB PY test_provider_counter_content_blocks.py 23.9 KB PY test_provider_cursor.py 1.5 KB PY test_provider_display_classification.py 2.8 KB PY test_provider_grok_build.py 4.6 KB PY test_provider_grok.py 2.5 KB PY test_provider_model_fallback.py 19.9 KB PY test_provider_model_metadata.py 12.7 KB PY test_provider_openai_images.py 3.4 KB PY test_provider_openai_responses.py 5.1 KB PY test_provider_openclaw_wrap.py 4.3 KB PY test_provider_package_init.py 3.4 KB PY test_provider_proxy_routes.py 61.2 KB PY test_provider_proxy_targets.py 6.3 KB PY test_provider_registry_extended.py 8.5 KB PY test_provider_registry.py 17.0 KB PY test_provider_route_specs.py 6.9 KB PY test_provider_tokenizer_one_ruler.py 3.8 KB PY test_provider_vertex_runtime.py 5.4 KB PY test_providers_openai_unknown_model_log.py 701 B PY test_providers_opencode_config.py 32.4 KB PY test_providers_opencode_install.py 31.2 KB PY test_providers_opencode_plugin_path.py 3.9 KB PY test_proxy_anthropic_cache_stability.py 77.6 KB PY test_proxy_anthropic_compression_diagnostics.py 5.1 KB PY test_proxy_anthropic_model_sanitization.py 2.2 KB PY test_proxy_anthropic_vertex_model_override.py 6.0 KB PY test_proxy_batch_integration.py 24.0 KB PY test_proxy_bind_policy.py 10.2 KB PY test_proxy_budget_provider_enforcement.py 5.7 KB PY test_proxy_budget.py 23.8 KB PY test_proxy_byte_faithful_forwarding.py 71.2 KB PY test_proxy_cache_telemetry.py 2.8 KB PY test_proxy_cache_ttl_metrics.py 21.5 KB PY test_proxy_ccr.py 22.7 KB PY test_proxy_client_liveness.py 2.6 KB PY test_proxy_codex_route_aliases.py 10.8 KB PY test_proxy_compress_endpoint.py 36.9 KB PY test_proxy_compression_admission.py 15.9 KB PY test_proxy_compression_executor.py 23.1 KB PY test_proxy_compression_headers.py 11.2 KB PY test_proxy_config_qdrant_port.py 1.2 KB PY test_proxy_config_rate_limit.py 1.2 KB PY test_proxy_copilot_auth_hooks.py 6.4 KB PY test_proxy_cors.py 3.8 KB PY test_proxy_count_tokens_integration.py 17.9 KB PY test_proxy_dashboard_stats_cache.py 9.0 KB PY test_proxy_debug_endpoints.py 20.9 KB PY test_proxy_disable_kompress.py 8.7 KB PY test_proxy_eager_preload_bind.py 9.9 KB PY test_proxy_extension_ordering.py 24.4 KB PY test_proxy_extensions.py 2.7 KB PY test_proxy_favicon_route.py 925 B PY test_proxy_gemini_integration.py 9.2 KB PY test_proxy_gemini_native_integration.py 15.6 KB PY test_proxy_google_cloudcode_route_aliases.py 7.0 KB PY test_proxy_handler_helpers.py 67.5 KB PY test_proxy_handlers_batch.py 81.3 KB PY test_proxy_hardening.py 44.3 KB PY test_proxy_health.py 12.1 KB PY test_proxy_healthchecks.py 11.9 KB PY test_proxy_hooks_regression.py 3.8 KB PY test_proxy_loop_exception_health.py 3.1 KB PY test_proxy_loopback_gating.py 40.7 KB PY test_proxy_memory_integration.py 25.8 KB PY test_proxy_mode_benchmark.py 688 B PY test_proxy_mode_policy.py 1.8 KB PY test_proxy_modes.py 1.8 KB PY test_proxy_openai_cache_key_integration.py 6.2 KB PY test_proxy_openai_cache_stability.py 51.1 KB PY test_proxy_openai_rate_limit_key.py 9.8 KB PY test_proxy_openai_responses_bypass.py 5.0 KB PY test_proxy_openai_responses_integration.py 13.3 KB PY test_proxy_openai_responses_stream_ccr.py 1.7 KB PY test_proxy_openai.py 15.3 KB PY test_proxy_passthrough_integration.py 19.0 KB PY test_proxy_passthrough_transient_retry.py 6.3 KB PY test_proxy_passthrough.py 5.2 KB PY test_proxy_per_provider_kompress.py 4.7 KB PY test_proxy_pipeline_lifecycle.py 10.2 KB PY test_proxy_project_savings.py 14.2 KB PY test_proxy_request_scope.py 1.5 KB PY test_proxy_response_cache_partition.py 13.2 KB PY test_proxy_response_cache_replay.py 13.2 KB PY test_proxy_response_cache_store_guard.py 3.8 KB PY test_proxy_retry_429.py 8.3 KB PY test_proxy_savings_history.py 79.6 KB PY test_proxy_scalability.py 12.9 KB PY test_proxy_semantic_cache_key_integration.py 8.1 KB PY test_proxy_semantic_cache_key_policy.py 2.6 KB PY test_proxy_semantic_cache_key.py 6.6 KB PY test_proxy_settings_endpoints.py 12.4 KB PY test_proxy_stats_recent_requests.py 10.7 KB PY test_proxy_streaming_ratelimit_headers.py 42.6 KB PY test_proxy_streaming_request_logger.py 12.0 KB PY test_proxy_streaming_resilience.py 25.4 KB PY test_proxy_system_prompt_immutable.py 26.0 KB PY test_proxy_telemetry_env.py 3.9 KB PY test_proxy_tenant_key_integration.py 7.8 KB PY test_proxy_tpm_enforcement.py 4.4 KB PY test_proxy_uds.py 13.4 KB PY test_proxy_warmup.py 8.6 KB PY test_proxy_workspace_registration_middleware.py 5.3 KB PY test_public_errors.py 11.1 KB PY test_python_forwarder_mode_policy.py 958 B PY test_quality_retention.py 15.0 KB PY test_query_log_policy.py 1005 B PY test_quota_registry.py 7.5 KB PY test_rate_limit_policy.py 2.5 KB PY test_rate_limiter.py 4.4 KB PY test_read_maturation_handler_nobust.py 24.6 KB PY test_read_maturation.py 15.1 KB PY test_realignment_live_multi_turn.py 45.6 KB PY test_recursive_json.py 8.1 KB PY test_release_version.py 6.0 KB PY test_release_workflows.py 86.2 KB PY test_relevance_extra.py 8.7 KB PY test_relevance_split.py 12.1 KB PY test_relevance.py 14.1 KB PY test_remote_kompress_dropin.py 8.4 KB PY test_reporting.py 12.8 KB PY test_request_body_decompression_limits.py 15.3 KB PY test_request_limit_policy.py 1.4 KB PY test_request_log_redaction_policy.py 1.7 KB PY test_request_outcome.py 28.2 KB PY test_request_scope_no_fastapi.py 1.2 KB PY test_reread_attribution.py 7.0 KB PY test_response_cache_in_place_hook.py 3.2 KB PY test_responses_create_hooks.py 9.5 KB PY test_responses_cross_turn_dedup.py 4.9 KB PY test_responses_pyo3_compression.py 7.6 KB PY test_responses_savings_denominator.py 5.1 KB PY test_responses_ws_pyo3_compression.py 8.3 KB PY test_retry_preserve_upstream_status.py 3.6 KB PY test_rollout.py 16.5 KB PY test_route_advice_native_providers.py 3.4 KB PY test_route_advice.py 23.6 KB PY test_router_cache_policy.py 9.1 KB PY test_router_external_dispatch.py 15.4 KB PY test_router_external_passthrough.py 3.6 KB PY test_router_registry_dispatch.py 838 B PY test_router_registry_smartcrusher.py 1.4 KB PY test_router_result_cache.py 14.8 KB PY test_routing_stats_seam.py 3.5 KB PY test_runtime_env.py 17.0 KB PY test_rust_core_smoke.py 13.1 KB PY test_saved_settings_apply_logging.py 2.0 KB PY test_savings_items.py 15.4 KB PY test_savings_ledger_before_forwarded.py 7.2 KB PY test_savings_ledger_offload.py 5.2 KB PY test_savings_ledger.py 29.0 KB PY test_savings_pricing_fallback_logging.py 3.7 KB PY test_savings_provider_matrix.py 10.0 KB PY test_savings_record.py 16.1 KB PY test_savings_tool_search_aggregation.py 2.1 KB PY test_savings_tracker_litellm_resolution_cache.py 3.5 KB PY test_savings_tracker_output_cost.py 5.7 KB PY test_savings_tracker_zero_price.py 3.4 KB PY test_search_compressor_cjk.py 1.6 KB PY test_search_compressor.py 28.7 KB PY test_security_validations.py 5.6 KB PY test_semantic_cache_key_policy.py 2.4 KB PY test_semantic_canonicalize.py 8.3 KB PY test_session_affinity.py 2.4 KB PY test_session_engine.py 11.0 KB PY test_session_probe_numeric_boundaries.py 3.3 KB PY test_session_probes.py 9.9 KB PY test_settings_isolation.py 947 B PY test_shared_context.py 4.7 KB PY test_signals_keyword_parity.py 6.3 KB PY test_smart_crusher_toin_attachment.py 12.4 KB PY test_smart_crusher.py 4.6 KB PY test_sqlite_graph_store.py 39.1 KB PY test_sqlite_vector_index.py 17.7 KB PY test_sse_byte_buffer_policy.py 2.1 KB PY test_sse_safeguards_passthrough.py 4.5 KB PY test_sse_thinking_blocks.py 21.7 KB PY test_sse_utf8_split.py 3.9 KB PY test_ssl_context.py 16.6 KB PY test_stage_timer.py 3.5 KB PY test_startup_log_noise.py 8.4 KB PY test_stateless_no_disk.py 12.9 KB PY test_stateless_toin.py 2.3 KB PY test_stateless_writers.py 3.1 KB PY test_stats_new_input_savings_rate.py 11.7 KB PY test_stats_output_reduction_gate.py 9.6 KB PY test_stats_tool_schema_savings_are_honest.py 3.5 KB PY test_storage_backends.py 23.8 KB PY test_strands_tokenizer.py 12.8 KB PY test_stream_client_hangup_after_terminal.py 8.0 KB PY test_stream_output_tokens.py 11.8 KB PY test_streaming_sse_malformed_events.py 21.0 KB PY test_streaming_usage_parser.py 2.3 KB PY test_subprocess_encoding.py 1.1 KB PY test_subprocess_identity.py 3.3 KB PY test_subscription_client.py 5.5 KB PY test_subscription_contribution.py 1.3 KB PY test_subscription_poll_credential_policy.py 7.5 KB PY test_subscription_session_tracking.py 4.4 KB PY test_subscription_tracker.py 18.9 KB PY test_subscription_window_render.py 11.6 KB PY test_system_compaction_handler.py 2.9 KB PY test_system_compaction.py 8.9 KB PY test_tag_protection_integration.py 8.3 KB PY test_tag_protector_invariant.py 10.7 KB PY test_telemetry_context.py 6.4 KB PY test_telemetry_session_selfcheck.py 24.5 KB PY test_telemetry_warning.py 19.6 KB PY test_telemetry.py 24.0 KB PY test_tenant_key.py 10.6 KB PY test_testing_harness.py 17.1 KB PY test_text_compressors.py 14.5 KB PY test_thinking_compact_sticky_drop.py 6.7 KB PY test_thinking_compactor_cache.py 2.7 KB PY test_thinking_compactor_version_gate.py 3.0 KB PY test_thinking_signature_scope_live.py 8.6 KB PY test_thinking_tokens.py 9.1 KB PY test_toin_backend_none.py 4.1 KB PY test_toin_feedback.py 12.6 KB PY test_toin_fixes.py 15.1 KB PY test_toin_full_integration.py 19.5 KB PY test_toin_integration.py 1.2 KB PY test_toin_observation_only.py 17.2 KB PY test_toin_publish.py 9.4 KB PY test_toin_retention.py 16.9 KB PY test_toin.py 25.0 KB PY test_token_count_cache.py 7.0 KB PY test_token_headroom_mode.py 21.6 KB PY test_tokenizer_count_offload.py 11.6 KB PY test_tokenizer_encoding_resolution.py 3.8 KB PY test_tokenizer_selection_coverage.py 3.9 KB PY test_tokenizer.py 3.1 KB PY test_tokenizers.py 38.5 KB PY test_tool_call_arguments_not_a_string.py 3.9 KB PY test_tool_definition_serialization.py 1.3 KB PY test_tool_injection_config.py 2.4 KB PY test_tool_injection_logging.py 1.7 KB PY test_tool_injection_policy.py 1.6 KB PY test_tool_injection_tracker.py 2.8 KB PY test_tool_name_aliases.py 764 B PY test_tool_name_policy.py 1.4 KB PY test_tool_result_interceptors.py 50.2 KB PY test_tool_schema_compaction.py 20.7 KB PY test_tool_schema_savings_policy.py 8.8 KB PY test_tool_schema_savings_split.py 8.8 KB PY test_tool_search_client_deferral.py 28.8 KB PY test_transform_pipeline_smart_crusher_config.py 3.8 KB PY test_transforms_config_compressor.py 20.1 KB PY test_transforms_content_detection.py 16.4 KB PY test_transforms_content_router.py 115 KB PY test_transforms_failure_logging.py 8.9 KB PY test_transforms_log_compressor.py 8.9 KB PY test_transforms_package.py 3.4 KB PY test_transforms_search_compressor.py 4.8 KB PY test_transforms_stack_traces.py 6.1 KB PY test_transforms_tabular.py 45.3 KB PY test_turn_hook_seams.py 5.6 KB PY test_turn_hook_usage.py 17.2 KB PY test_turn_hooks.py 7.2 KB PY test_update_check.py 6.7 KB PY test_update_helpers.py 14.6 KB PY test_upstream_credential_scoping.py 9.0 KB PY test_upstream_guard.py 42.6 KB PY test_upstream_tcp_keepalive.py 9.4 KB PY test_upstream_write_timeout.py 3.9 KB PY test_usage_reporter_snapshot.py 2.9 KB PY test_utils.py 10.4 KB PY test_uvicorn_log_level_env.py 1.5 KB PY test_verbosity_controller.py 3.4 KB PY test_verbosity_learn.py 12.3 KB PY test_vertex_claude_compression.py 10.3 KB PY test_websearch_tool_result_protection.py 6.1 KB PY test_wire_debug_format_policy.py 920 B PY test_wire_debug_redaction_policy.py 2.9 KB PY test_workspace_registry.py 4.7 KB PY test_wrap_code_memory.py 8.7 KB PY test_wrap_concurrent_settings.py 10.2 KB PY test_wrap_quiet_cli.py 3.3 KB PY test_ws_http_fallback.py 17.5 KB PY test_ws_memory_relay.py 17.9 KB PY test_ws_session_registry.py 5.0 KB PY test_xai_cache_economics.py 4.7 KB