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.
Files changed (426) hide show
  1. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/PKG-INFO +4 -4
  2. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/README.md +3 -3
  3. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/__init__.py +3 -0
  4. agentloop_profiler-0.3.0/agentloop/cli.py +265 -0
  5. agentloop_profiler-0.3.0/agentloop/cli_analysis.py +579 -0
  6. agentloop_profiler-0.3.0/agentloop/cli_onboarding.py +154 -0
  7. agentloop_profiler-0.3.0/agentloop/cli_remote.py +241 -0
  8. agentloop_profiler-0.3.0/agentloop/cli_runtime.py +82 -0
  9. agentloop_profiler-0.3.0/agentloop/cli_setup.py +75 -0
  10. agentloop_profiler-0.3.0/agentloop/cli_store.py +356 -0
  11. agentloop_profiler-0.3.0/agentloop/conditioned_calibration.py +307 -0
  12. agentloop_profiler-0.3.0/agentloop/content_fingerprints.py +250 -0
  13. agentloop_profiler-0.3.0/agentloop/content_rules.py +231 -0
  14. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/decorators.py +52 -13
  15. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/estimates.py +16 -0
  16. agentloop_profiler-0.3.0/agentloop/execution_ir.py +652 -0
  17. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/finding_benchmark_types.py +1 -1
  18. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/finding_benchmarks.py +7 -0
  19. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/findings.py +17 -3
  20. agentloop_profiler-0.3.0/agentloop/improvement.py +66 -0
  21. agentloop_profiler-0.3.0/agentloop/improvement_capture.py +375 -0
  22. agentloop_profiler-0.3.0/agentloop/improvement_compare.py +135 -0
  23. agentloop_profiler-0.3.0/agentloop/improvement_decision.py +555 -0
  24. agentloop_profiler-0.3.0/agentloop/improvement_planning.py +287 -0
  25. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/intervention_store.py +3 -3
  26. agentloop_profiler-0.3.0/agentloop/mcp_server.py +439 -0
  27. agentloop_profiler-0.3.0/agentloop/optimization_search.py +502 -0
  28. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/patches.py +172 -4
  29. agentloop_profiler-0.3.0/agentloop/pilot_records.py +245 -0
  30. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ranking.py +63 -3
  31. agentloop_profiler-0.3.0/agentloop/request_reuse.py +395 -0
  32. agentloop_profiler-0.3.0/agentloop/retry_passes.py +439 -0
  33. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/rules.py +20 -3
  34. agentloop_profiler-0.3.0/agentloop/schedule_compiler.py +245 -0
  35. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/server.py +17 -2
  36. agentloop_profiler-0.3.0/agentloop/source_provenance.py +461 -0
  37. agentloop_profiler-0.3.0/agentloop/store.py +83 -0
  38. agentloop_profiler-0.3.0/agentloop/store_common.py +422 -0
  39. agentloop_profiler-0.3.0/agentloop/store_keys.py +81 -0
  40. agentloop_profiler-0.3.0/agentloop/store_postgres.py +726 -0
  41. agentloop_profiler-0.3.0/agentloop/store_sqlite.py +674 -0
  42. agentloop_profiler-0.3.0/agentloop/store_types.py +149 -0
  43. agentloop_profiler-0.3.0/agentloop/system_telemetry.py +342 -0
  44. agentloop_profiler-0.3.0/agentloop/timing_sensitivity.py +364 -0
  45. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/tracer.py +6 -0
  46. agentloop_profiler-0.3.0/agentloop/transformations.py +660 -0
  47. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/version.py +1 -1
  48. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/PKG-INFO +4 -4
  49. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/SOURCES.txt +74 -0
  50. agentloop_profiler-0.3.0/dashboard/app.py +174 -0
  51. agentloop_profiler-0.3.0/dashboard/assets/agentloop-logo-dark.svg +1 -0
  52. agentloop_profiler-0.3.0/dashboard/assets/agentloop-logo-light.svg +1 -0
  53. agentloop_profiler-0.3.0/dashboard/assets/agentloop-mark.svg +1 -0
  54. agentloop_profiler-0.3.0/dashboard/common.py +343 -0
  55. agentloop_profiler-0.3.0/dashboard/theme.py +221 -0
  56. agentloop_profiler-0.3.0/dashboard/views/__init__.py +1 -0
  57. agentloop_profiler-0.3.0/dashboard/views/api_keys.py +38 -0
  58. agentloop_profiler-0.3.0/dashboard/views/audit_log.py +41 -0
  59. agentloop_profiler-0.3.0/dashboard/views/ci_runs.py +67 -0
  60. agentloop_profiler-0.3.0/dashboard/views/diagnosis.py +89 -0
  61. agentloop_profiler-0.3.0/dashboard/views/ingest.py +101 -0
  62. agentloop_profiler-0.3.0/dashboard/views/optimization.py +128 -0
  63. agentloop_profiler-0.3.0/dashboard/views/optimization_queue.py +225 -0
  64. agentloop_profiler-0.3.0/dashboard/views/overview.py +124 -0
  65. agentloop_profiler-0.3.0/dashboard/views/patch_plan.py +80 -0
  66. agentloop_profiler-0.3.0/dashboard/views/quality_gates.py +147 -0
  67. agentloop_profiler-0.3.0/dashboard/views/replay_proof.py +38 -0
  68. agentloop_profiler-0.3.0/dashboard/views/setup.py +41 -0
  69. agentloop_profiler-0.3.0/dashboard/views/traces.py +214 -0
  70. agentloop_profiler-0.3.0/dashboard/views/value_pricing.py +51 -0
  71. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/pyproject.toml +4 -1
  72. agentloop_profiler-0.3.0/tests/test_brand_colours.py +55 -0
  73. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ci_evidence.py +29 -0
  74. agentloop_profiler-0.3.0/tests/test_cli_surface.py +103 -0
  75. agentloop_profiler-0.3.0/tests/test_conditioned_calibration.py +146 -0
  76. agentloop_profiler-0.3.0/tests/test_content_fingerprints.py +327 -0
  77. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_project_access.py +9 -2
  78. agentloop_profiler-0.3.0/tests/test_dashboard_queue_cache.py +76 -0
  79. agentloop_profiler-0.3.0/tests/test_dashboard_scale.py +71 -0
  80. agentloop_profiler-0.3.0/tests/test_dashboard_surface.py +96 -0
  81. agentloop_profiler-0.3.0/tests/test_dashboard_theme.py +64 -0
  82. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_docs_site.py +11 -0
  83. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_estimates.py +8 -1
  84. agentloop_profiler-0.3.0/tests/test_execution_ir.py +278 -0
  85. agentloop_profiler-0.3.0/tests/test_finding_benchmark_docs.py +176 -0
  86. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_finding_rules.py +2 -0
  87. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_improvement.py +3 -2
  88. agentloop_profiler-0.3.0/tests/test_improvement_public_surface.py +45 -0
  89. agentloop_profiler-0.3.0/tests/test_mcp_server.py +344 -0
  90. agentloop_profiler-0.3.0/tests/test_optimization_benchmark.py +139 -0
  91. agentloop_profiler-0.3.0/tests/test_optimization_search.py +243 -0
  92. agentloop_profiler-0.3.0/tests/test_pilot_records.py +160 -0
  93. agentloop_profiler-0.3.0/tests/test_request_reuse.py +337 -0
  94. agentloop_profiler-0.3.0/tests/test_retry_passes.py +242 -0
  95. agentloop_profiler-0.3.0/tests/test_routing_quality_gate.py +191 -0
  96. agentloop_profiler-0.3.0/tests/test_schedule_compiler.py +282 -0
  97. agentloop_profiler-0.3.0/tests/test_source_provenance.py +466 -0
  98. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_store_contract.py +82 -0
  99. agentloop_profiler-0.3.0/tests/test_store_init_cache.py +132 -0
  100. agentloop_profiler-0.3.0/tests/test_store_public_surface.py +116 -0
  101. agentloop_profiler-0.3.0/tests/test_system_telemetry.py +177 -0
  102. agentloop_profiler-0.3.0/tests/test_timing_sensitivity.py +202 -0
  103. agentloop_profiler-0.3.0/tests/test_transformations.py +320 -0
  104. agentloop_profiler-0.2.9/agentloop/cli.py +0 -1610
  105. agentloop_profiler-0.2.9/agentloop/improvement.py +0 -1262
  106. agentloop_profiler-0.2.9/agentloop/store.py +0 -1818
  107. agentloop_profiler-0.2.9/dashboard/app.py +0 -1149
  108. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/LICENSE +0 -0
  109. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/THIRD_PARTY_LICENSES.md +0 -0
  110. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ablation_protocol.py +0 -0
  111. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ablations.py +0 -0
  112. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/aggregate_cli.py +0 -0
  113. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/aggregate_stats.py +0 -0
  114. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/aggregates.py +0 -0
  115. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/audit.py +0 -0
  116. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/autoinstrument.py +0 -0
  117. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/batch_experiments.py +0 -0
  118. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/batching.py +0 -0
  119. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/budget_types.py +0 -0
  120. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/budgets.py +0 -0
  121. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/calibration.py +0 -0
  122. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/checkpoint_state.py +0 -0
  123. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/checkpoint_store.py +0 -0
  124. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ci.py +0 -0
  125. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/ci_runs.py +0 -0
  126. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/cli_paths.py +0 -0
  127. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/client.py +0 -0
  128. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/completion.py +0 -0
  129. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/completion_types.py +0 -0
  130. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/config.py +0 -0
  131. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/context_controls.py +0 -0
  132. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/context_experiments.py +0 -0
  133. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/context_types.py +0 -0
  134. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/costs.py +0 -0
  135. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/cursor_validation.py +0 -0
  136. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/demo.py +0 -0
  137. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/doctor.py +0 -0
  138. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift.py +0 -0
  139. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift_cli.py +0 -0
  140. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift_types.py +0 -0
  141. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/drift_windows.py +0 -0
  142. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/entrypoint.py +0 -0
  143. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/events.py +0 -0
  144. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_artifacts.py +0 -0
  145. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_observations.py +0 -0
  146. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_reports.py +0 -0
  147. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiment_types.py +0 -0
  148. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/experiments.py +0 -0
  149. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/exporters.py +0 -0
  150. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/graph.py +0 -0
  151. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness.py +0 -0
  152. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/__init__.py +0 -0
  153. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/cli.py +0 -0
  154. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/drivers.py +0 -0
  155. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_bench/offline.py +0 -0
  156. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_evidence.py +0 -0
  157. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/harness_usage.py +0 -0
  158. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/html_report.py +0 -0
  159. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/http_security.py +0 -0
  160. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_cli.py +0 -0
  161. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_init.py +0 -0
  162. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_report.py +0 -0
  163. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/improvement_verifier.py +0 -0
  164. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/__init__.py +0 -0
  165. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/crewai.py +0 -0
  166. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/__init__.py +0 -0
  167. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/atif.py +0 -0
  168. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/atif_validation.py +0 -0
  169. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/cli.py +0 -0
  170. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/manifest.py +0 -0
  171. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/trial_evidence.py +0 -0
  172. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/trials.py +0 -0
  173. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/harbor/verifier.py +0 -0
  174. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/hermes.py +0 -0
  175. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/hermes_cli.py +0 -0
  176. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/hermes_recorder.py +0 -0
  177. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/langgraph.py +0 -0
  178. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/langgraph_harness.py +0 -0
  179. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/langgraph_recovery.py +0 -0
  180. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/__init__.py +0 -0
  181. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/cli.py +0 -0
  182. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/evidence.py +0 -0
  183. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/omnigent/telemetry.py +0 -0
  184. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/openai.py +0 -0
  185. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/openai_agents.py +0 -0
  186. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/sdk.py +0 -0
  187. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/integrations/vercel_ai.py +0 -0
  188. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/__init__.py +0 -0
  189. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/artifacts.py +0 -0
  190. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/cli.py +0 -0
  191. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/cohort_evidence.py +0 -0
  192. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/cohorts.py +0 -0
  193. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/contracts.py +0 -0
  194. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/coordination.py +0 -0
  195. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/evidence.py +0 -0
  196. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/otlp_jsonl.py +0 -0
  197. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/otlp_validation.py +0 -0
  198. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/registry.py +0 -0
  199. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interoperability/validation.py +0 -0
  200. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/intervention_service.py +0 -0
  201. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/interventions.py +0 -0
  202. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/issues.py +0 -0
  203. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_adapters.py +0 -0
  204. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_benchmark_types.py +0 -0
  205. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_benchmarks.py +0 -0
  206. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_types.py +0 -0
  207. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgment_views.py +0 -0
  208. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/judgments.py +0 -0
  209. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/loop_guards.py +0 -0
  210. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/loop_types.py +0 -0
  211. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/markdown.py +0 -0
  212. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/metrics.py +0 -0
  213. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/migrations.py +0 -0
  214. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/model_routing.py +0 -0
  215. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/onboarding.py +0 -0
  216. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/operations.py +0 -0
  217. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/optimizer.py +0 -0
  218. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/otel.py +0 -0
  219. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/otel_ids.py +0 -0
  220. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/otel_semantics.py +0 -0
  221. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/parallelism.py +0 -0
  222. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/plan_export.py +0 -0
  223. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/policy_promotion.py +0 -0
  224. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/promotion_evidence.py +0 -0
  225. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/promotion_types.py +0 -0
  226. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/quality.py +0 -0
  227. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/recovery_evidence.py +0 -0
  228. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/repetitions.py +0 -0
  229. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/replay.py +0 -0
  230. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/request_limits.py +0 -0
  231. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/retention.py +0 -0
  232. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/retention_types.py +0 -0
  233. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/reuse_experiments.py +0 -0
  234. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/routing_checks.py +0 -0
  235. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/routing_types.py +0 -0
  236. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/__init__.py +0 -0
  237. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/_common.py +0 -0
  238. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/claude_code.py +0 -0
  239. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runners/codex.py +0 -0
  240. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/runtime.py +0 -0
  241. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/savings.py +0 -0
  242. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/scheduling_plan.py +0 -0
  243. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/scheduling_types.py +0 -0
  244. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/schema.py +0 -0
  245. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/semantic_rules.py +0 -0
  246. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/semantic_waste.py +0 -0
  247. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/semantic_waste_types.py +0 -0
  248. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/structural_experiments.py +0 -0
  249. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/structural_types.py +0 -0
  250. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/structured_quality.py +0 -0
  251. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/studies.py +0 -0
  252. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/study_statistics.py +0 -0
  253. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_evidence.py +0 -0
  254. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_export.py +0 -0
  255. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_reports.py +0 -0
  256. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitution_types.py +0 -0
  257. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/substitutions.py +0 -0
  258. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/timing.py +0 -0
  259. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/tokens.py +0 -0
  260. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/tool_scheduling.py +0 -0
  261. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/trace_sources.py +0 -0
  262. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/value.py +0 -0
  263. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/workflow_types.py +0 -0
  264. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop/workflows.py +0 -0
  265. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/dependency_links.txt +0 -0
  266. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/entry_points.txt +0 -0
  267. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/requires.txt +0 -0
  268. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/agentloop_profiler.egg-info/top_level.txt +0 -0
  269. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/__init__.py +0 -0
  270. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/access.py +0 -0
  271. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/streamlit_compat.py +0 -0
  272. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/trace_upload.py +0 -0
  273. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/dashboard/value_view.py +0 -0
  274. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/setup.cfg +0 -0
  275. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ablations.py +0 -0
  276. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_aggregates.py +0 -0
  277. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_api_versioning.py +0 -0
  278. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_batch_data_pipeline.py +0 -0
  279. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_budgets.py +0 -0
  280. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_bump_version.py +0 -0
  281. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_calibration.py +0 -0
  282. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_capability_registry.py +0 -0
  283. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_checkpoint_recovery.py +0 -0
  284. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ci_command.py +0 -0
  285. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ci_runs.py +0 -0
  286. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_claude_code_runner.py +0 -0
  287. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_output_paths.py +0 -0
  288. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_store_commands.py +0 -0
  289. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_trace_inputs.py +0 -0
  290. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cli_upload.py +0 -0
  291. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_client.py +0 -0
  292. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_client_transport.py +0 -0
  293. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_codex_exec_runner.py +0 -0
  294. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_completion.py +0 -0
  295. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_context_controls.py +0 -0
  296. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_context_reuse_experiments.py +0 -0
  297. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_context_study.py +0 -0
  298. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_costs.py +0 -0
  299. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_crewai_integration.py +0 -0
  300. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cursor_server.py +0 -0
  301. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_cursor_shape_validation.py +0 -0
  302. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_input_validation.py +0 -0
  303. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_quality.py +0 -0
  304. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_runs_dir.py +0 -0
  305. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_semantic_waste.py +0 -0
  306. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_structured_quality.py +0 -0
  307. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_trace_upload.py +0 -0
  308. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_value_view.py +0 -0
  309. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dashboard_workflows.py +0 -0
  310. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_decorators.py +0 -0
  311. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_demo_cli.py +0 -0
  312. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_dependabot_config.py +0 -0
  313. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_diagnosis_api.py +0 -0
  314. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_distribution_metadata.py +0 -0
  315. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_doctor_autoinstrument.py +0 -0
  316. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_drift.py +0 -0
  317. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_email_workflow.py +0 -0
  318. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_empirical_calibration.py +0 -0
  319. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_enforcement_conformance.py +0 -0
  320. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_evidence_workflow.py +0 -0
  321. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_experiments.py +0 -0
  322. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_exporters.py +0 -0
  323. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_external_cohorts.py +0 -0
  324. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_finding_benchmarks.py +0 -0
  325. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_finding_identity.py +0 -0
  326. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_first_use_cli.py +0 -0
  327. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_graph.py +0 -0
  328. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_guided_validation.py +0 -0
  329. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_guided_verifier.py +0 -0
  330. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harbor_atif.py +0 -0
  331. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harbor_trials.py +0 -0
  332. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness.py +0 -0
  333. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness_bench.py +0 -0
  334. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness_error_usage.py +0 -0
  335. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_harness_evidence.py +0 -0
  336. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_integration.py +0 -0
  337. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_replay_capture.py +0 -0
  338. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_repository_example.py +0 -0
  339. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_hermes_runtime_evidence.py +0 -0
  340. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_html_report.py +0 -0
  341. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_http_security.py +0 -0
  342. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_improvement_init.py +0 -0
  343. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_incident_triage.py +0 -0
  344. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_instrumentation_measurement.py +0 -0
  345. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_integration_conformance.py +0 -0
  346. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_interoperability_contracts.py +0 -0
  347. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_interventions.py +0 -0
  348. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_issues.py +0 -0
  349. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_adapters.py +0 -0
  350. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_benchmarks.py +0 -0
  351. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_evidence.py +0 -0
  352. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgment_provider_optional.py +0 -0
  353. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_judgments.py +0 -0
  354. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_conformance.py +0 -0
  355. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_harness.py +0 -0
  356. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_integration.py +0 -0
  357. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_langgraph_recovery.py +0 -0
  358. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_loop_guards.py +0 -0
  359. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_markdown.py +0 -0
  360. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_markdown_exporters.py +0 -0
  361. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_marketplace_workflow.py +0 -0
  362. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_metrics.py +0 -0
  363. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_migrations.py +0 -0
  364. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_model_batching.py +0 -0
  365. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_model_routing.py +0 -0
  366. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_multiagent_coordination.py +0 -0
  367. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_non_agent_study.py +0 -0
  368. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_omnigent_telemetry.py +0 -0
  369. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_onboarding.py +0 -0
  370. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_openai_agents_integration.py +0 -0
  371. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_openai_integration.py +0 -0
  372. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_operations.py +0 -0
  373. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_optimizer.py +0 -0
  374. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_otel_ids.py +0 -0
  375. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_otel_interop.py +0 -0
  376. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_otlp_jsonl.py +0 -0
  377. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_parallelization_evidence.py +0 -0
  378. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_patch_plan.py +0 -0
  379. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_patch_source_scope.py +0 -0
  380. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_payment_review.py +0 -0
  381. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_policy_promotion.py +0 -0
  382. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_published_readme.py +0 -0
  383. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_python_support.py +0 -0
  384. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_quality.py +0 -0
  385. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_ranking.py +0 -0
  386. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_real_agent_study.py +0 -0
  387. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_real_calibration_study.py +0 -0
  388. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_real_harness_study.py +0 -0
  389. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_release_workflows.py +0 -0
  390. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_remote_cli_credentials.py +0 -0
  391. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_repetitions.py +0 -0
  392. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_replay.py +0 -0
  393. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_repository_policy_traversal.py +0 -0
  394. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_request_limits.py +0 -0
  395. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_research_example.py +0 -0
  396. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_retention.py +0 -0
  397. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_retry_recommendations.py +0 -0
  398. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_routing_study.py +0 -0
  399. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_rule_error_privacy.py +0 -0
  400. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_runtime.py +0 -0
  401. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_savings_aggregation.py +0 -0
  402. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_scheduling_study.py +0 -0
  403. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_semantic_findings.py +0 -0
  404. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_semantic_waste.py +0 -0
  405. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_server.py +0 -0
  406. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_standalone_notices.py +0 -0
  407. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_store.py +0 -0
  408. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_streaming_inventory.py +0 -0
  409. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_streamlit_compat.py +0 -0
  410. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_structural_experiments.py +0 -0
  411. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_structured_quality.py +0 -0
  412. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_structured_quality_evidence.py +0 -0
  413. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_studies.py +0 -0
  414. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_substitutions.py +0 -0
  415. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_telemetry_conformance.py +0 -0
  416. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_timing.py +0 -0
  417. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_token_provenance.py +0 -0
  418. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_tool_scheduling.py +0 -0
  419. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_trace_context.py +0 -0
  420. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_trace_failure_recording.py +0 -0
  421. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_trace_schema.py +0 -0
  422. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_usefulness_benchmark.py +0 -0
  423. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_value.py +0 -0
  424. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_vercel_ai_integration.py +0 -0
  425. {agentloop_profiler-0.2.9 → agentloop_profiler-0.3.0}/tests/test_workflow_storage.py +0 -0
  426. {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.2.9
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.2.9. Change the version when choosing another release.
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.2.9
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.2.9"
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.2.9. Change the version when choosing another release.
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.2.9
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.2.9"
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()