agentloop-profiler 0.2.9__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/PKG-INFO +4 -4
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/README.md +3 -3
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/__init__.py +3 -0
- agentloop_profiler-0.3.0/agentloop/cli.py +265 -0
- agentloop_profiler-0.3.0/agentloop/cli_analysis.py +579 -0
- agentloop_profiler-0.3.0/agentloop/cli_onboarding.py +154 -0
- agentloop_profiler-0.3.0/agentloop/cli_remote.py +241 -0
- agentloop_profiler-0.3.0/agentloop/cli_runtime.py +82 -0
- agentloop_profiler-0.3.0/agentloop/cli_setup.py +75 -0
- agentloop_profiler-0.3.0/agentloop/cli_store.py +356 -0
- agentloop_profiler-0.3.0/agentloop/conditioned_calibration.py +307 -0
- agentloop_profiler-0.3.0/agentloop/content_fingerprints.py +250 -0
- agentloop_profiler-0.3.0/agentloop/content_rules.py +231 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/decorators.py +52 -13
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/estimates.py +16 -0
- agentloop_profiler-0.3.0/agentloop/execution_ir.py +652 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/finding_benchmark_types.py +1 -1
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/finding_benchmarks.py +7 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/findings.py +17 -3
- agentloop_profiler-0.3.0/agentloop/improvement.py +66 -0
- agentloop_profiler-0.3.0/agentloop/improvement_capture.py +375 -0
- agentloop_profiler-0.3.0/agentloop/improvement_compare.py +135 -0
- agentloop_profiler-0.3.0/agentloop/improvement_decision.py +555 -0
- agentloop_profiler-0.3.0/agentloop/improvement_planning.py +287 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/intervention_store.py +3 -3
- agentloop_profiler-0.3.0/agentloop/mcp_server.py +439 -0
- agentloop_profiler-0.3.0/agentloop/optimization_search.py +502 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/patches.py +172 -4
- agentloop_profiler-0.3.0/agentloop/pilot_records.py +245 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ranking.py +63 -3
- agentloop_profiler-0.3.0/agentloop/request_reuse.py +395 -0
- agentloop_profiler-0.3.0/agentloop/retry_passes.py +439 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/rules.py +20 -3
- agentloop_profiler-0.3.0/agentloop/schedule_compiler.py +245 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/server.py +17 -2
- agentloop_profiler-0.3.0/agentloop/source_provenance.py +461 -0
- agentloop_profiler-0.3.0/agentloop/store.py +83 -0
- agentloop_profiler-0.3.0/agentloop/store_common.py +422 -0
- agentloop_profiler-0.3.0/agentloop/store_keys.py +81 -0
- agentloop_profiler-0.3.0/agentloop/store_postgres.py +726 -0
- agentloop_profiler-0.3.0/agentloop/store_sqlite.py +674 -0
- agentloop_profiler-0.3.0/agentloop/store_types.py +149 -0
- agentloop_profiler-0.3.0/agentloop/system_telemetry.py +342 -0
- agentloop_profiler-0.3.0/agentloop/timing_sensitivity.py +364 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/tracer.py +6 -0
- agentloop_profiler-0.3.0/agentloop/transformations.py +660 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/version.py +1 -1
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/PKG-INFO +4 -4
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/SOURCES.txt +74 -0
- agentloop_profiler-0.3.0/dashboard/app.py +174 -0
- agentloop_profiler-0.3.0/dashboard/assets/agentloop-logo-dark.svg +1 -0
- agentloop_profiler-0.3.0/dashboard/assets/agentloop-logo-light.svg +1 -0
- agentloop_profiler-0.3.0/dashboard/assets/agentloop-mark.svg +1 -0
- agentloop_profiler-0.3.0/dashboard/common.py +343 -0
- agentloop_profiler-0.3.0/dashboard/theme.py +221 -0
- agentloop_profiler-0.3.0/dashboard/views/__init__.py +1 -0
- agentloop_profiler-0.3.0/dashboard/views/api_keys.py +38 -0
- agentloop_profiler-0.3.0/dashboard/views/audit_log.py +41 -0
- agentloop_profiler-0.3.0/dashboard/views/ci_runs.py +67 -0
- agentloop_profiler-0.3.0/dashboard/views/diagnosis.py +89 -0
- agentloop_profiler-0.3.0/dashboard/views/ingest.py +101 -0
- agentloop_profiler-0.3.0/dashboard/views/optimization.py +128 -0
- agentloop_profiler-0.3.0/dashboard/views/optimization_queue.py +225 -0
- agentloop_profiler-0.3.0/dashboard/views/overview.py +124 -0
- agentloop_profiler-0.3.0/dashboard/views/patch_plan.py +80 -0
- agentloop_profiler-0.3.0/dashboard/views/quality_gates.py +147 -0
- agentloop_profiler-0.3.0/dashboard/views/replay_proof.py +38 -0
- agentloop_profiler-0.3.0/dashboard/views/setup.py +41 -0
- agentloop_profiler-0.3.0/dashboard/views/traces.py +214 -0
- agentloop_profiler-0.3.0/dashboard/views/value_pricing.py +51 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/pyproject.toml +4 -1
- agentloop_profiler-0.3.0/tests/test_brand_colours.py +55 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ci_evidence.py +29 -0
- agentloop_profiler-0.3.0/tests/test_cli_surface.py +103 -0
- agentloop_profiler-0.3.0/tests/test_conditioned_calibration.py +146 -0
- agentloop_profiler-0.3.0/tests/test_content_fingerprints.py +327 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_project_access.py +9 -2
- agentloop_profiler-0.3.0/tests/test_dashboard_queue_cache.py +76 -0
- agentloop_profiler-0.3.0/tests/test_dashboard_scale.py +71 -0
- agentloop_profiler-0.3.0/tests/test_dashboard_surface.py +96 -0
- agentloop_profiler-0.3.0/tests/test_dashboard_theme.py +64 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_docs_site.py +11 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_estimates.py +8 -1
- agentloop_profiler-0.3.0/tests/test_execution_ir.py +278 -0
- agentloop_profiler-0.3.0/tests/test_finding_benchmark_docs.py +176 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_finding_rules.py +2 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_improvement.py +3 -2
- agentloop_profiler-0.3.0/tests/test_improvement_public_surface.py +45 -0
- agentloop_profiler-0.3.0/tests/test_mcp_server.py +344 -0
- agentloop_profiler-0.3.0/tests/test_optimization_benchmark.py +139 -0
- agentloop_profiler-0.3.0/tests/test_optimization_search.py +243 -0
- agentloop_profiler-0.3.0/tests/test_pilot_records.py +160 -0
- agentloop_profiler-0.3.0/tests/test_request_reuse.py +337 -0
- agentloop_profiler-0.3.0/tests/test_retry_passes.py +242 -0
- agentloop_profiler-0.3.0/tests/test_routing_quality_gate.py +191 -0
- agentloop_profiler-0.3.0/tests/test_schedule_compiler.py +282 -0
- agentloop_profiler-0.3.0/tests/test_source_provenance.py +466 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_store_contract.py +82 -0
- agentloop_profiler-0.3.0/tests/test_store_init_cache.py +132 -0
- agentloop_profiler-0.3.0/tests/test_store_public_surface.py +116 -0
- agentloop_profiler-0.3.0/tests/test_system_telemetry.py +177 -0
- agentloop_profiler-0.3.0/tests/test_timing_sensitivity.py +202 -0
- agentloop_profiler-0.3.0/tests/test_transformations.py +320 -0
- agentloop_profiler-0.2.9/agentloop/cli.py +0 -1610
- agentloop_profiler-0.2.9/agentloop/improvement.py +0 -1262
- agentloop_profiler-0.2.9/agentloop/store.py +0 -1818
- agentloop_profiler-0.2.9/dashboard/app.py +0 -1149
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/LICENSE +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/THIRD_PARTY_LICENSES.md +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ablation_protocol.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ablations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/aggregate_cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/aggregate_stats.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/aggregates.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/audit.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/autoinstrument.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/batch_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/batching.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/budget_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/budgets.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/calibration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/checkpoint_state.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/checkpoint_store.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ci.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ci_runs.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/cli_paths.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/client.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/completion.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/completion_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/config.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/context_controls.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/context_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/context_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/costs.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/cursor_validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/demo.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/doctor.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift_cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift_windows.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/entrypoint.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/events.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_artifacts.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_observations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_reports.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/exporters.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/graph.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/drivers.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/offline.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_usage.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/html_report.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/http_security.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_init.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_report.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_verifier.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/crewai.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/atif.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/atif_validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/manifest.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/trial_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/trials.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/verifier.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/hermes.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/hermes_cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/hermes_recorder.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/langgraph.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/langgraph_harness.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/langgraph_recovery.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/telemetry.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/openai.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/openai_agents.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/sdk.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/vercel_ai.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/artifacts.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/cohort_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/cohorts.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/contracts.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/coordination.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/otlp_jsonl.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/otlp_validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/registry.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/intervention_service.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interventions.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/issues.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_adapters.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_benchmark_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_benchmarks.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_views.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/loop_guards.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/loop_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/markdown.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/metrics.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/migrations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/model_routing.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/onboarding.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/operations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/optimizer.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/otel.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/otel_ids.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/otel_semantics.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/parallelism.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/plan_export.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/policy_promotion.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/promotion_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/promotion_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/quality.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/recovery_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/repetitions.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/replay.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/request_limits.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/retention.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/retention_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/reuse_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/routing_checks.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/routing_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/_common.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/claude_code.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/codex.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runtime.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/savings.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/scheduling_plan.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/scheduling_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/schema.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/semantic_rules.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/semantic_waste.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/semantic_waste_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/structural_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/structural_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/structured_quality.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/studies.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/study_statistics.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_export.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_reports.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitutions.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/timing.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/tokens.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/tool_scheduling.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/trace_sources.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/value.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/workflow_types.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/workflows.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/dependency_links.txt +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/entry_points.txt +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/requires.txt +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/top_level.txt +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/__init__.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/access.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/streamlit_compat.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/trace_upload.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/value_view.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/setup.cfg +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ablations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_aggregates.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_api_versioning.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_batch_data_pipeline.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_budgets.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_bump_version.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_calibration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_capability_registry.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_checkpoint_recovery.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ci_command.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ci_runs.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_claude_code_runner.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_output_paths.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_store_commands.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_trace_inputs.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_upload.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_client.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_client_transport.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_codex_exec_runner.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_completion.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_context_controls.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_context_reuse_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_context_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_costs.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_crewai_integration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cursor_server.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cursor_shape_validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_input_validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_quality.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_runs_dir.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_semantic_waste.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_structured_quality.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_trace_upload.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_value_view.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_workflows.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_decorators.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_demo_cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dependabot_config.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_diagnosis_api.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_distribution_metadata.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_doctor_autoinstrument.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_drift.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_email_workflow.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_empirical_calibration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_enforcement_conformance.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_evidence_workflow.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_exporters.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_external_cohorts.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_finding_benchmarks.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_finding_identity.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_first_use_cli.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_graph.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_guided_validation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_guided_verifier.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harbor_atif.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harbor_trials.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness_bench.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness_error_usage.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_integration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_replay_capture.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_repository_example.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_runtime_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_html_report.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_http_security.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_improvement_init.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_incident_triage.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_instrumentation_measurement.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_integration_conformance.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_interoperability_contracts.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_interventions.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_issues.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_adapters.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_benchmarks.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_provider_optional.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_conformance.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_harness.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_integration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_recovery.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_loop_guards.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_markdown.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_markdown_exporters.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_marketplace_workflow.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_metrics.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_migrations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_model_batching.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_model_routing.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_multiagent_coordination.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_non_agent_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_omnigent_telemetry.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_onboarding.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_openai_agents_integration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_openai_integration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_operations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_optimizer.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_otel_ids.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_otel_interop.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_otlp_jsonl.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_parallelization_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_patch_plan.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_patch_source_scope.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_payment_review.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_policy_promotion.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_published_readme.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_python_support.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_quality.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ranking.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_real_agent_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_real_calibration_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_real_harness_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_release_workflows.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_remote_cli_credentials.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_repetitions.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_replay.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_repository_policy_traversal.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_request_limits.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_research_example.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_retention.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_retry_recommendations.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_routing_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_rule_error_privacy.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_runtime.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_savings_aggregation.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_scheduling_study.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_semantic_findings.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_semantic_waste.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_server.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_standalone_notices.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_store.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_streaming_inventory.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_streamlit_compat.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_structural_experiments.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_structured_quality.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_structured_quality_evidence.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_studies.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_substitutions.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_telemetry_conformance.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_timing.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_token_provenance.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_tool_scheduling.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_trace_context.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_trace_failure_recording.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_trace_schema.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_usefulness_benchmark.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_value.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_vercel_ai_integration.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_workflow_storage.py +0 -0
- {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_workflows.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentloop-profiler
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Profiler and optimization layer for AI agent execution graphs
|
|
5
5
|
Author: Dipesh Tharu Mahato
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -534,13 +534,13 @@ where the examples show `agentloop`.
|
|
|
534
534
|
<summary>Download and verify a standalone executable</summary>
|
|
535
535
|
|
|
536
536
|
Download the executable and `SHA256SUMS` from the same release. These examples use
|
|
537
|
-
version 0.
|
|
537
|
+
version 0.3.0. Change the version when choosing another release.
|
|
538
538
|
|
|
539
539
|
Linux (Bash):
|
|
540
540
|
|
|
541
541
|
```bash
|
|
542
542
|
set -euo pipefail
|
|
543
|
-
version=0.
|
|
543
|
+
version=0.3.0
|
|
544
544
|
asset="agentloop-v${version}-linux-x86_64"
|
|
545
545
|
curl --fail --location --remote-name "https://github.com/dipeshbabu/agentloop/releases/download/v${version}/${asset}"
|
|
546
546
|
curl --fail --location --remote-name "https://github.com/dipeshbabu/agentloop/releases/download/v${version}/SHA256SUMS"
|
|
@@ -557,7 +557,7 @@ chmod +x "$asset"
|
|
|
557
557
|
Windows PowerShell:
|
|
558
558
|
|
|
559
559
|
```powershell
|
|
560
|
-
$Version = "0.
|
|
560
|
+
$Version = "0.3.0"
|
|
561
561
|
$Asset = "agentloop-v$Version-windows-x86_64.exe"
|
|
562
562
|
Invoke-WebRequest "https://github.com/dipeshbabu/agentloop/releases/download/v$Version/$Asset" -OutFile agentloop.exe
|
|
563
563
|
Invoke-WebRequest "https://github.com/dipeshbabu/agentloop/releases/download/v$Version/SHA256SUMS" -OutFile SHA256SUMS
|
|
@@ -476,13 +476,13 @@ where the examples show `agentloop`.
|
|
|
476
476
|
<summary>Download and verify a standalone executable</summary>
|
|
477
477
|
|
|
478
478
|
Download the executable and `SHA256SUMS` from the same release. These examples use
|
|
479
|
-
version 0.
|
|
479
|
+
version 0.3.0. Change the version when choosing another release.
|
|
480
480
|
|
|
481
481
|
Linux (Bash):
|
|
482
482
|
|
|
483
483
|
```bash
|
|
484
484
|
set -euo pipefail
|
|
485
|
-
version=0.
|
|
485
|
+
version=0.3.0
|
|
486
486
|
asset="agentloop-v${version}-linux-x86_64"
|
|
487
487
|
curl --fail --location --remote-name "https://github.com/dipeshbabu/agentloop/releases/download/v${version}/${asset}"
|
|
488
488
|
curl --fail --location --remote-name "https://github.com/dipeshbabu/agentloop/releases/download/v${version}/SHA256SUMS"
|
|
@@ -499,7 +499,7 @@ chmod +x "$asset"
|
|
|
499
499
|
Windows PowerShell:
|
|
500
500
|
|
|
501
501
|
```powershell
|
|
502
|
-
$Version = "0.
|
|
502
|
+
$Version = "0.3.0"
|
|
503
503
|
$Asset = "agentloop-v$Version-windows-x86_64.exe"
|
|
504
504
|
Invoke-WebRequest "https://github.com/dipeshbabu/agentloop/releases/download/v$Version/$Asset" -OutFile agentloop.exe
|
|
505
505
|
Invoke-WebRequest "https://github.com/dipeshbabu/agentloop/releases/download/v$Version/SHA256SUMS" -OutFile SHA256SUMS
|
|
@@ -6,6 +6,7 @@ from agentloop.autoinstrument import (
|
|
|
6
6
|
instrument,
|
|
7
7
|
)
|
|
8
8
|
from agentloop.client import AgentLoopClient, AgentLoopClientError
|
|
9
|
+
from agentloop.content_fingerprints import content_metadata, record_content
|
|
9
10
|
from agentloop.decorators import trace_model, trace_tool, traceable
|
|
10
11
|
from agentloop.doctor import run_doctor
|
|
11
12
|
from agentloop.findings import build_diagnosis
|
|
@@ -111,6 +112,7 @@ __all__ = [
|
|
|
111
112
|
"detect_integrations",
|
|
112
113
|
"instrument",
|
|
113
114
|
"build_value_report",
|
|
115
|
+
"content_metadata",
|
|
114
116
|
"build_diagnosis",
|
|
115
117
|
"build_patch_plan",
|
|
116
118
|
"build_replay_report",
|
|
@@ -118,6 +120,7 @@ __all__ = [
|
|
|
118
120
|
"get_last_error",
|
|
119
121
|
"get_runtime_config",
|
|
120
122
|
"init",
|
|
123
|
+
"record_content",
|
|
121
124
|
"record_model_call",
|
|
122
125
|
"record_tool_call",
|
|
123
126
|
"reset_runtime",
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
import os
|
|
5
|
+
import sys
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
|
|
8
|
+
import typer
|
|
9
|
+
from rich.console import Console
|
|
10
|
+
from rich.table import Table
|
|
11
|
+
|
|
12
|
+
from agentloop.aggregate_cli import aggregate_app
|
|
13
|
+
from agentloop.client import AgentLoopClient
|
|
14
|
+
from agentloop.costs import format_cost_usd
|
|
15
|
+
from agentloop.drift_cli import drift_app
|
|
16
|
+
from agentloop.harness_bench.cli import harness_app
|
|
17
|
+
from agentloop.improvement_cli import improve_app
|
|
18
|
+
from agentloop.integrations.harbor.cli import harbor_app
|
|
19
|
+
from agentloop.integrations.hermes_cli import hermes_app
|
|
20
|
+
from agentloop.integrations.omnigent.cli import omnigent_app
|
|
21
|
+
from agentloop.interoperability.cli import telemetry_app
|
|
22
|
+
from agentloop.otel import trace_from_otel
|
|
23
|
+
from agentloop.quality import (
|
|
24
|
+
QualityValidationError,
|
|
25
|
+
build_quality_report,
|
|
26
|
+
load_quality_fixtures,
|
|
27
|
+
)
|
|
28
|
+
from agentloop.store import (
|
|
29
|
+
LABEL_KEY_PATTERN,
|
|
30
|
+
MAX_LABEL_VALUE_LENGTH,
|
|
31
|
+
)
|
|
32
|
+
from agentloop.tracer import AgentTrace
|
|
33
|
+
|
|
34
|
+
app = typer.Typer(help="AgentLoop profiler CLI")
|
|
35
|
+
console = Console()
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _utf8_output() -> None:
|
|
39
|
+
"""Write UTF-8 when output is redirected on a legacy code page.
|
|
40
|
+
|
|
41
|
+
On Windows, piped or redirected output uses the ANSI code page (for example
|
|
42
|
+
cp1252). Task IDs, trace names and other user text outside that code page
|
|
43
|
+
then raise UnicodeEncodeError mid-command and hide the real result.
|
|
44
|
+
Interactive consoles already use UTF-8 and are left unchanged.
|
|
45
|
+
"""
|
|
46
|
+
for stream in (sys.stdout, sys.stderr):
|
|
47
|
+
encoding = (getattr(stream, "encoding", None) or "").lower().replace("-", "")
|
|
48
|
+
if encoding in {"utf8", "utf_8"} or not hasattr(stream, "reconfigure"):
|
|
49
|
+
continue
|
|
50
|
+
try:
|
|
51
|
+
stream.reconfigure(encoding="utf-8", errors="replace")
|
|
52
|
+
except (OSError, ValueError):
|
|
53
|
+
continue
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
@app.callback()
|
|
57
|
+
def _main() -> None:
|
|
58
|
+
"""AgentLoop profiler CLI"""
|
|
59
|
+
_utf8_output()
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
study_app = typer.Typer(help="Summarize offline studies and preserved intervention evidence.")
|
|
63
|
+
app.add_typer(study_app, name="study")
|
|
64
|
+
app.add_typer(aggregate_app, name="aggregate")
|
|
65
|
+
app.add_typer(drift_app, name="drift")
|
|
66
|
+
app.add_typer(harbor_app, name="harbor")
|
|
67
|
+
app.add_typer(hermes_app, name="hermes")
|
|
68
|
+
app.add_typer(telemetry_app, name="telemetry")
|
|
69
|
+
app.add_typer(omnigent_app, name="omnigent")
|
|
70
|
+
app.add_typer(harness_app, name="harness")
|
|
71
|
+
app.add_typer(improve_app, name="improve")
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def _remote_client(api_url: str, api_key: str | None) -> AgentLoopClient:
|
|
75
|
+
resolved_api_key = api_key if api_key is not None else os.getenv("AGENTLOOP_API_KEY")
|
|
76
|
+
return AgentLoopClient(base_url=api_url, api_key=resolved_api_key)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def _remote_admin_client(api_url: str, admin_api_key: str | None) -> AgentLoopClient:
|
|
80
|
+
resolved_admin_key = (
|
|
81
|
+
admin_api_key if admin_api_key is not None else os.getenv("AGENTLOOP_ADMIN_API_KEY")
|
|
82
|
+
)
|
|
83
|
+
return AgentLoopClient(base_url=api_url, admin_api_key=resolved_admin_key)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def _read_json_input(path: Path, *, param_hint: str) -> object:
|
|
87
|
+
try:
|
|
88
|
+
exists = path.exists()
|
|
89
|
+
is_file = path.is_file() if exists else False
|
|
90
|
+
except OSError as exc:
|
|
91
|
+
raise typer.BadParameter(
|
|
92
|
+
f"Input file is not readable: {path} ({exc})", param_hint=param_hint
|
|
93
|
+
) from exc
|
|
94
|
+
|
|
95
|
+
if not exists:
|
|
96
|
+
raise typer.BadParameter(
|
|
97
|
+
f"Input file does not exist: {path}. "
|
|
98
|
+
"Generate synthetic traces explicitly with `agentloop demo` or `agentloop demo-all`.",
|
|
99
|
+
param_hint=param_hint,
|
|
100
|
+
)
|
|
101
|
+
if not is_file:
|
|
102
|
+
raise typer.BadParameter(f"Input path is not a regular file: {path}", param_hint=param_hint)
|
|
103
|
+
|
|
104
|
+
try:
|
|
105
|
+
raw = path.read_text(encoding="utf-8")
|
|
106
|
+
except (OSError, UnicodeError) as exc:
|
|
107
|
+
raise typer.BadParameter(
|
|
108
|
+
f"Input file is not readable as UTF-8: {path} ({exc})", param_hint=param_hint
|
|
109
|
+
) from exc
|
|
110
|
+
try:
|
|
111
|
+
return json.loads(raw)
|
|
112
|
+
except json.JSONDecodeError as exc:
|
|
113
|
+
raise typer.BadParameter(
|
|
114
|
+
f"Input file is not valid JSON: {path} ({exc.msg} at line {exc.lineno}, "
|
|
115
|
+
f"column {exc.colno})",
|
|
116
|
+
param_hint=param_hint,
|
|
117
|
+
) from exc
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def _write_json(out: Path, payload: dict) -> None:
|
|
121
|
+
out.parent.mkdir(parents=True, exist_ok=True)
|
|
122
|
+
out.write_text(json.dumps(payload, indent=2), encoding="utf-8")
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def _load_trace(
|
|
126
|
+
path: Path,
|
|
127
|
+
*,
|
|
128
|
+
otel: bool = False,
|
|
129
|
+
name: str | None = None,
|
|
130
|
+
param_hint: str = "path",
|
|
131
|
+
) -> AgentTrace:
|
|
132
|
+
payload = _read_json_input(path, param_hint=param_hint)
|
|
133
|
+
format_name = "OpenTelemetry" if otel else "AgentLoop"
|
|
134
|
+
try:
|
|
135
|
+
if otel:
|
|
136
|
+
if not isinstance(payload, (dict, list)):
|
|
137
|
+
raise ValueError("expected a JSON object or array")
|
|
138
|
+
return trace_from_otel(payload, name=name)
|
|
139
|
+
if not isinstance(payload, dict):
|
|
140
|
+
raise ValueError("expected a JSON object")
|
|
141
|
+
return AgentTrace.from_dict(payload)
|
|
142
|
+
except (AttributeError, KeyError, TypeError, ValueError) as exc:
|
|
143
|
+
raise typer.BadParameter(
|
|
144
|
+
f"Input file is not a valid {format_name} trace: {path} ({exc})",
|
|
145
|
+
param_hint=param_hint,
|
|
146
|
+
) from exc
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
def _build_quality_report_from_file(
|
|
150
|
+
path: Path,
|
|
151
|
+
*,
|
|
152
|
+
param_hint: str,
|
|
153
|
+
baseline_trace: AgentTrace | None = None,
|
|
154
|
+
candidate_trace: AgentTrace | None = None,
|
|
155
|
+
min_score: float | None = None,
|
|
156
|
+
) -> dict:
|
|
157
|
+
try:
|
|
158
|
+
fixtures = load_quality_fixtures(path)
|
|
159
|
+
return build_quality_report(
|
|
160
|
+
fixtures,
|
|
161
|
+
baseline_trace=baseline_trace,
|
|
162
|
+
candidate_trace=candidate_trace,
|
|
163
|
+
min_score=min_score,
|
|
164
|
+
)
|
|
165
|
+
except (OSError, UnicodeError, QualityValidationError) as exc:
|
|
166
|
+
raise typer.BadParameter(
|
|
167
|
+
f"Invalid quality fixture file: {path} ({exc})",
|
|
168
|
+
param_hint=param_hint,
|
|
169
|
+
) from exc
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
def _print_value_summary(value: dict) -> None:
|
|
173
|
+
monthly = value["monthly_value"]
|
|
174
|
+
per_run = value["per_run"]
|
|
175
|
+
reliability = value["reliability"]
|
|
176
|
+
pricing = value.get("pricing", {})
|
|
177
|
+
table = Table(title="AgentLoop Value Report")
|
|
178
|
+
table.add_column("Metric")
|
|
179
|
+
table.add_column("Value")
|
|
180
|
+
table.add_row(
|
|
181
|
+
"Total monthly value", format_cost_usd(monthly.get("total_value_usd"), decimals=2)
|
|
182
|
+
)
|
|
183
|
+
table.add_row(
|
|
184
|
+
"Model cost savings / month",
|
|
185
|
+
format_cost_usd(monthly.get("direct_model_cost_savings_usd"), decimals=2),
|
|
186
|
+
)
|
|
187
|
+
table.add_row("Engineering hours saved / month", str(monthly["engineering_hours_saved"]))
|
|
188
|
+
table.add_row("Latency saved / run", f"{per_run['latency_savings_ms'] / 1000:.3f}s")
|
|
189
|
+
table.add_row("Cost saved / run", format_cost_usd(per_run.get("cost_savings_usd"), decimals=6))
|
|
190
|
+
table.add_row("Reliability risk score", f"{reliability['risk_score']}/100")
|
|
191
|
+
if pricing:
|
|
192
|
+
table.add_row("Suggested plan", str(pricing.get("suggested_plan") or "unavailable"))
|
|
193
|
+
table.add_row(
|
|
194
|
+
"Suggested monthly price",
|
|
195
|
+
format_cost_usd(pricing.get("suggested_monthly_price_usd"), decimals=0),
|
|
196
|
+
)
|
|
197
|
+
ratio = pricing.get("value_to_price_ratio")
|
|
198
|
+
table.add_row("Value / price ratio", "n/a" if ratio is None else f"{ratio}x")
|
|
199
|
+
console.print(table)
|
|
200
|
+
console.print(value["value_summary"])
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
def _print_doctor(result: dict) -> None:
|
|
204
|
+
table = Table(title="AgentLoop Doctor")
|
|
205
|
+
table.add_column("Status")
|
|
206
|
+
table.add_column("Check")
|
|
207
|
+
table.add_column("Detail")
|
|
208
|
+
table.add_column("Fix")
|
|
209
|
+
for check in result["checks"]:
|
|
210
|
+
status = check["status"]
|
|
211
|
+
style = "green" if status == "ok" else "yellow" if status == "warn" else "red"
|
|
212
|
+
table.add_row(
|
|
213
|
+
f"[{style}]{status}[/{style}]", check["name"], check["detail"], check.get("fix", "")
|
|
214
|
+
)
|
|
215
|
+
console.print(table)
|
|
216
|
+
if result["failed"]:
|
|
217
|
+
raise typer.Exit(1)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
def _parse_labels(values: list[str] | None) -> dict[str, str]:
|
|
221
|
+
labels: dict[str, str] = {}
|
|
222
|
+
for value in values or []:
|
|
223
|
+
key, separator, text = value.partition("=")
|
|
224
|
+
if not separator or not LABEL_KEY_PATTERN.match(key):
|
|
225
|
+
raise typer.BadParameter(
|
|
226
|
+
"Use KEY=VALUE with a key of letters, digits, '.', '_' or '-'",
|
|
227
|
+
param_hint="--label",
|
|
228
|
+
)
|
|
229
|
+
if len(text) > MAX_LABEL_VALUE_LENGTH:
|
|
230
|
+
raise typer.BadParameter(
|
|
231
|
+
f"Label values are limited to {MAX_LABEL_VALUE_LENGTH} characters",
|
|
232
|
+
param_hint="--label",
|
|
233
|
+
)
|
|
234
|
+
labels[key] = text
|
|
235
|
+
return labels
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
def _upload_files(paths: list[Path]) -> list[Path]:
|
|
239
|
+
files: list[Path] = []
|
|
240
|
+
for path in paths:
|
|
241
|
+
if path.is_dir():
|
|
242
|
+
found = sorted(item for item in path.glob("*.json") if item.is_file())
|
|
243
|
+
if not found:
|
|
244
|
+
raise typer.BadParameter(
|
|
245
|
+
f"No .json trace files in directory {path}", param_hint="--path"
|
|
246
|
+
)
|
|
247
|
+
files.extend(found)
|
|
248
|
+
else:
|
|
249
|
+
files.append(path)
|
|
250
|
+
return files
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
# Command groups register on ``app`` when imported. The order is the order
|
|
254
|
+
# --help lists them in, so keep it (#407).
|
|
255
|
+
# isort: off
|
|
256
|
+
from agentloop import cli_onboarding # noqa: E402, F401
|
|
257
|
+
from agentloop import cli_analysis # noqa: E402, F401
|
|
258
|
+
from agentloop import cli_setup # noqa: E402, F401
|
|
259
|
+
from agentloop import cli_store # noqa: E402, F401
|
|
260
|
+
from agentloop import cli_remote # noqa: E402, F401
|
|
261
|
+
from agentloop import cli_runtime # noqa: E402, F401
|
|
262
|
+
# isort: on
|
|
263
|
+
|
|
264
|
+
if __name__ == "__main__":
|
|
265
|
+
app()
|