agent_evaluator 1.0.2__tar.gz → 1.0.3__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 (166) hide show
  1. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/PKG-INFO +4 -2
  2. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/README.md +3 -1
  3. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/__init__.py +1 -1
  4. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/claude.py +117 -10
  5. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/violation_search_mcp.py +16 -1
  6. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/pyproject.toml +1 -1
  7. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/.gitignore +0 -0
  8. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/LICENSE +0 -0
  9. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/alerts/__init__.py +0 -0
  10. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/alerts/engine.py +0 -0
  11. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/alerts/handlers.py +0 -0
  12. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/anomaly/__init__.py +0 -0
  13. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/anomaly/detector.py +0 -0
  14. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/__init__.py +0 -0
  15. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/_integration_health.py +0 -0
  16. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/_utils.py +0 -0
  17. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/abtest.py +0 -0
  18. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/benchmark.py +0 -0
  19. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/claims.py +0 -0
  20. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/dataset.py +0 -0
  21. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/diagnose.py +0 -0
  22. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/experiment.py +0 -0
  23. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/gate.py +0 -0
  24. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/improve.py +0 -0
  25. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/main.py +0 -0
  26. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/monitor.py +0 -0
  27. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/opencode.py +0 -0
  28. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/targets.py +0 -0
  29. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cli/trend.py +0 -0
  30. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/config.py +0 -0
  31. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/__init__.py +0 -0
  32. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/agent_evaluator.py +0 -0
  33. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/hybrid_monitor.py +0 -0
  34. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/monitor_context.py +0 -0
  35. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/otel/__init__.py +0 -0
  36. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/otel/metrics.py +0 -0
  37. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/otel/provider.py +0 -0
  38. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/__init__.py +0 -0
  39. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/base.py +0 -0
  40. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/conversation.py +0 -0
  41. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/feedback.py +0 -0
  42. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/layer1.py +0 -0
  43. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/layer2.py +0 -0
  44. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/monitor.py +0 -0
  45. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/core/trackers/security.py +0 -0
  46. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cost/__init__.py +0 -0
  47. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/cost/policy.py +0 -0
  48. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/datasets/__init__.py +0 -0
  49. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/datasets/builder.py +0 -0
  50. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/datasets/golden_health.py +0 -0
  51. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/datasets/korean_rag_dataset_generator.py +0 -0
  52. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/datasets/korean_rag_evaluator.py +0 -0
  53. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/decorators.py +0 -0
  54. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/examples/__init__.py +0 -0
  55. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/examples/example_runner.py +0 -0
  56. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/exceptions.py +0 -0
  57. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/__init__.py +0 -0
  58. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/base.py +0 -0
  59. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/branch_guard.py +0 -0
  60. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_a_goal/__init__.py +0 -0
  61. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_a_goal/aggregate.py +0 -0
  62. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_a_goal/configs.py +0 -0
  63. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_a_goal/evaluators.py +0 -0
  64. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_b_behavioral/__init__.py +0 -0
  65. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_b_behavioral/aggregate.py +0 -0
  66. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_b_behavioral/configs.py +0 -0
  67. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_b_behavioral/evaluators.py +0 -0
  68. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_c_reliability/__init__.py +0 -0
  69. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_c_reliability/aggregate.py +0 -0
  70. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_c_reliability/configs.py +0 -0
  71. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_c_reliability/evaluators.py +0 -0
  72. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_d_performance/__init__.py +0 -0
  73. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_d_performance/aggregate.py +0 -0
  74. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_d_performance/configs.py +0 -0
  75. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_d_performance/evaluators.py +0 -0
  76. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_e_security/__init__.py +0 -0
  77. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_e_security/aggregate.py +0 -0
  78. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_e_security/configs.py +0 -0
  79. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_e_security/evaluators.py +0 -0
  80. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_f_multiagent/__init__.py +0 -0
  81. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_f_multiagent/aggregate.py +0 -0
  82. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_f_multiagent/configs.py +0 -0
  83. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_f_multiagent/evaluators.py +0 -0
  84. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_g_observability/__init__.py +0 -0
  85. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_g_observability/aggregate.py +0 -0
  86. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_g_observability/configs.py +0 -0
  87. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/gate_g_observability/evaluators.py +0 -0
  88. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/live_guardrail.py +0 -0
  89. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/shared_metrics.py +0 -0
  90. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/gates/team_concurrency.py +0 -0
  91. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/helpers/__init__.py +0 -0
  92. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/helpers/taskresult_helpers.py +0 -0
  93. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/__init__.py +0 -0
  94. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/ask_insights_mcp.py +0 -0
  95. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/claude_code_hook.py +0 -0
  96. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/dspy_integration.py +0 -0
  97. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/framework_integrations.py +0 -0
  98. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/live_guardrail_report.py +0 -0
  99. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/live_guardrail_stdio.py +0 -0
  100. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/llm_judge.py +0 -0
  101. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/llm_judge_calibration.py +0 -0
  102. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/metric_adapters.py +0 -0
  103. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/opencode_plugin/agent-evaluator.ts +0 -0
  104. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/opencode_plugin/package-lock.json +0 -0
  105. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/opencode_plugin/package.json +0 -0
  106. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/opencode_plugin/tsconfig.json +0 -0
  107. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/pydanticai_integration.py +0 -0
  108. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/integrations/recommend_fix_mcp.py +0 -0
  109. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/ontology/__init__.py +0 -0
  110. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/ontology/failure_taxonomy.py +0 -0
  111. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/ontology/mast_taxonomy.py +0 -0
  112. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/ontology/metric_registry.py +0 -0
  113. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/py.typed +0 -0
  114. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/quick_eval.py +0 -0
  115. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/__init__.py +0 -0
  116. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/diagnose.py +0 -0
  117. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/experiment_metadata.py +0 -0
  118. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/experiments.py +0 -0
  119. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/improvement_priors.py +0 -0
  120. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/recommendation_tracking.py +0 -0
  121. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/rca/verify.py +0 -0
  122. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/reporting/__init__.py +0 -0
  123. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/reporting/comprehensive_report.py +0 -0
  124. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/reporting/history.py +0 -0
  125. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/reporting/insights.py +0 -0
  126. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/schemas/harness_groups.schema.json +0 -0
  127. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/schemas/insights.schema.json +0 -0
  128. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/__init__.py +0 -0
  129. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/cache.py +0 -0
  130. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/loader.py +0 -0
  131. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/__init__.py +0 -0
  132. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/_utils.py +0 -0
  133. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/alerts.py +0 -0
  134. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/anomaly.py +0 -0
  135. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/config.py +0 -0
  136. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/conversation.py +0 -0
  137. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/cost.py +0 -0
  138. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/data.py +0 -0
  139. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/diagnose.py +0 -0
  140. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/export.py +0 -0
  141. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/feedback.py +0 -0
  142. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/golden.py +0 -0
  143. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/stream.py +0 -0
  144. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/transparency.py +0 -0
  145. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/routers/webhook.py +0 -0
  146. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/server.py +0 -0
  147. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/templates/dashboard2.html.j2 +0 -0
  148. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/templates/sdk_docs.html.j2 +0 -0
  149. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/templates/slides.html.j2 +0 -0
  150. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/serve/watcher.py +0 -0
  151. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/storage/__init__.py +0 -0
  152. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/storage/sqlite_backend.py +0 -0
  153. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/streaming/__init__.py +0 -0
  154. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/streaming/evaluator.py +0 -0
  155. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/streaming/middleware.py +0 -0
  156. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/__init__.py +0 -0
  157. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/confidence.py +0 -0
  158. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/dashboard_integration.py +0 -0
  159. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/data_registry.py +0 -0
  160. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/lazy_import.py +0 -0
  161. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/path_helpers.py +0 -0
  162. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/pii_redaction.py +0 -0
  163. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/reference.py +0 -0
  164. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/targets.py +0 -0
  165. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/text_similarity.py +0 -0
  166. {agent_evaluator-1.0.2 → agent_evaluator-1.0.3}/agent_evaluator/utils/transparency_manager.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-evaluator
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Production-ready evaluation framework for AI agents — 58 metrics (25 native + 33 Harness Config) across 7 evaluation gates: goal achievement, behavioral integrity, reliability, performance, security, multi-agent coordination, and observability
5
5
  Project-URL: Homepage, https://github.com/bullpeng72/Agent-Evaluator
6
6
  Project-URL: Repository, https://github.com/bullpeng72/Agent-Evaluator
@@ -159,7 +159,7 @@ Description-Content-Type: text/markdown
159
159
  [![PyPI version](https://img.shields.io/pypi/v/agent-evaluator.svg)](https://pypi.org/project/agent-evaluator/)
160
160
  [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
161
161
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
162
- [![Version](https://img.shields.io/badge/version-1.0.2-brightgreen.svg)](https://github.com/bullpeng72/Agent-Evaluator)
162
+ [![Version](https://img.shields.io/badge/version-1.0.3-brightgreen.svg)](https://github.com/bullpeng72/Agent-Evaluator)
163
163
 
164
164
  **Harness Engineering evaluation SDK that judges AI agent deployment readiness through 7 Gates.**
165
165
 
@@ -343,6 +343,8 @@ tests/ # 4,800+ test functions
343
343
 
344
344
  ## Changelog
345
345
 
346
+ **v1.0.3** (2026-09-08) — Patch: `agent-eval claude install --with-violation-search` now hands the `search_violations` MCP server the Claude Code batch-report DB path (it otherwise opened the OpenCode default and failed with `unable to open database file`); `claude upgrade --with-violation-search` rewrites a stale registration and `claude doctor` flags one. `search_violations` returns a readable "no history DB yet" sentence instead of a raw SQLite traceback when the DB is missing. OpenCode was unaffected. No API, Config, or schema changes.
347
+
346
348
  **v1.0.2** (2026-09-04) — Phoenix / OTEL integration: `arize-phoenix` pin is now Python-version-scoped (v20 on 3.12+, `<19.0.0` on 3.10/3.11, dropped on 3.8/3.9); Phoenix annotations now delivered at span + trace + session tiers with a `?sync=true` + backoff POST and a non-Phoenix-endpoint probe; `agent-eval monitor` console output is ASCII-only (no more mojibake on non-UTF-8 consoles); new [`Docs/10_OTEL_DATA_REFERENCE.md`](https://github.com/bullpeng72/Agent-Evaluator/blob/HEAD/Docs/10_OTEL_DATA_REFERENCE.md) and a local-Ollama end-to-end example (`ch32_ollama_realtime.py`). No public SDK API, Config, or schema changes.
347
349
 
348
350
  **v1.0.1** (2026-09-03) — Patch: report-generation hardening (malformed / partial / externally-produced result JSON no longer crashes the static report, `agent-eval gate`, or the dashboard results list; `NaN`/`Infinity` scrubbed on read and write), dashboard ↔ static-report value parity (hallucination rate, task count, per-task fallbacks, all 7 Gate detail tables, score-breakdown reconciliation), and completion of the English-only runtime-output pass. No API, Config, or schema changes.
@@ -3,7 +3,7 @@
3
3
  [![PyPI version](https://img.shields.io/pypi/v/agent-evaluator.svg)](https://pypi.org/project/agent-evaluator/)
4
4
  [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
- [![Version](https://img.shields.io/badge/version-1.0.2-brightgreen.svg)](https://github.com/bullpeng72/Agent-Evaluator)
6
+ [![Version](https://img.shields.io/badge/version-1.0.3-brightgreen.svg)](https://github.com/bullpeng72/Agent-Evaluator)
7
7
 
8
8
  **Harness Engineering evaluation SDK that judges AI agent deployment readiness through 7 Gates.**
9
9
 
@@ -187,6 +187,8 @@ tests/ # 4,800+ test functions
187
187
 
188
188
  ## Changelog
189
189
 
190
+ **v1.0.3** (2026-09-08) — Patch: `agent-eval claude install --with-violation-search` now hands the `search_violations` MCP server the Claude Code batch-report DB path (it otherwise opened the OpenCode default and failed with `unable to open database file`); `claude upgrade --with-violation-search` rewrites a stale registration and `claude doctor` flags one. `search_violations` returns a readable "no history DB yet" sentence instead of a raw SQLite traceback when the DB is missing. OpenCode was unaffected. No API, Config, or schema changes.
191
+
190
192
  **v1.0.2** (2026-09-04) — Phoenix / OTEL integration: `arize-phoenix` pin is now Python-version-scoped (v20 on 3.12+, `<19.0.0` on 3.10/3.11, dropped on 3.8/3.9); Phoenix annotations now delivered at span + trace + session tiers with a `?sync=true` + backoff POST and a non-Phoenix-endpoint probe; `agent-eval monitor` console output is ASCII-only (no more mojibake on non-UTF-8 consoles); new [`Docs/10_OTEL_DATA_REFERENCE.md`](https://github.com/bullpeng72/Agent-Evaluator/blob/HEAD/Docs/10_OTEL_DATA_REFERENCE.md) and a local-Ollama end-to-end example (`ch32_ollama_realtime.py`). No public SDK API, Config, or schema changes.
191
193
 
192
194
  **v1.0.1** (2026-09-03) — Patch: report-generation hardening (malformed / partial / externally-produced result JSON no longer crashes the static report, `agent-eval gate`, or the dashboard results list; `NaN`/`Infinity` scrubbed on read and write), dashboard ↔ static-report value parity (hallucination rate, task count, per-task fallbacks, all 7 Gate detail tables, score-breakdown reconciliation), and completion of the English-only runtime-output pass. No API, Config, or schema changes.
@@ -41,7 +41,7 @@ from __future__ import annotations
41
41
 
42
42
  from typing import TYPE_CHECKING
43
43
 
44
- __version__ = "1.0.2"
44
+ __version__ = "1.0.3"
45
45
  __author__ = "Sungwoo Kim"
46
46
 
47
47
  # Exception hierarchy (경량 — 외부 의존성 없음)
@@ -86,6 +86,60 @@ _VIOLATION_SEARCH_MCP_NAME = "agent-evaluator-violations"
86
86
  _RECOMMEND_FIX_MCP_NAME = "agent-evaluator-recommend-fix"
87
87
  _ASK_INSIGHTS_MCP_NAME = "agent-evaluator-ask-insights"
88
88
 
89
+ # SPEC-041: the violations MCP server (violation_search_mcp) defaults its DB path to the
90
+ # *OpenCode* batch-report DB (results/opencode_live_guardrail/opencode_sessions.db). A Claude
91
+ # Code install writes its SessionEnd batch report somewhere else, so without an explicit path
92
+ # argument `search_violations` fails with "unable to open database file". These mirror
93
+ # claude_code_hook's SessionEnd report location (output_dir + save_filename="claude_code_sessions").
94
+ _REPORT_DB_DEFAULT_DIR = "results/claude_code_live_guardrail"
95
+ _REPORT_DB_FILENAME = "claude_code_sessions.db"
96
+ _PROJECT_ROOT_MARKERS = (".git", "pyproject.toml", "setup.py", "setup.cfg")
97
+
98
+
99
+ def _project_root(start: Path | None = None) -> Path:
100
+ """Walk up from *start* (cwd by default) to the nearest project-root marker.
101
+
102
+ Mirrors ``claude_code_hook._project_root_for`` so the report-DB path we hand the
103
+ violations MCP server matches where the SessionEnd batch report actually lands.
104
+ Falls back to *start* (resolved) when no marker is found.
105
+ """
106
+ try:
107
+ cur = (start or Path.cwd()).resolve()
108
+ except (OSError, RuntimeError):
109
+ return Path(".").resolve()
110
+ for cand in (cur, *cur.parents):
111
+ if any((cand / m).exists() for m in _PROJECT_ROOT_MARKERS):
112
+ return cand
113
+ return cur
114
+
115
+
116
+ def _resolve_report_db_arg(config_path: Path, is_global: bool) -> str:
117
+ """Return the LiveGuardrail batch-report SQLite path to pass the violations MCP server.
118
+
119
+ - honours a custom ``"output_dir"`` in an existing ``guardrail_config.json``;
120
+ - local install → an absolute path anchored to the project root (where the SessionEnd
121
+ hook writes the report), so it resolves regardless of the MCP server's own cwd;
122
+ - ``--global`` install → a *relative* path: a global install writes one report DB per
123
+ project (``claude_code_hook`` anchors ``output_dir`` per session), so there is no single
124
+ absolute path to pin — relative still points at the Claude Code sub-dir rather than the
125
+ wrong OpenCode default.
126
+ """
127
+ output_dir = _REPORT_DB_DEFAULT_DIR
128
+ try:
129
+ if config_path.exists():
130
+ cfg = json.loads(config_path.read_text(encoding="utf-8"))
131
+ if isinstance(cfg, dict):
132
+ _od = cfg.get("output_dir")
133
+ if isinstance(_od, str) and _od.strip():
134
+ output_dir = _od.strip()
135
+ except (json.JSONDecodeError, OSError):
136
+ pass
137
+
138
+ rel = Path(output_dir) / _REPORT_DB_FILENAME
139
+ if rel.is_absolute() or is_global:
140
+ return str(rel)
141
+ return str(_project_root() / rel)
142
+
89
143
 
90
144
  def cmd_claude(args: argparse.Namespace) -> int:
91
145
  """claude 서브커맨드 진입점."""
@@ -198,18 +252,27 @@ def _merge_settings(existing: dict, python_bin: str) -> tuple[dict, list[str], l
198
252
  return merged, added, updated
199
253
 
200
254
 
201
- def _register_mcp_server(name: str, module: str, flag: str, scope: str) -> None:
255
+ def _register_mcp_server(
256
+ name: str, module: str, flag: str, scope: str,
257
+ extra_args: list[str] | None = None,
258
+ ) -> None:
202
259
  """``claude mcp add``로 ``module``의 stdio MCP 서버를 등록한다.
203
260
 
204
261
  ``opencode.py``의 ``_register_mcp_server()``와 동일한 원칙 — 실패해도(``claude`` CLI
205
262
  미설치, ``mcp`` extra 미설치 등) 경고만 출력하고 예외를 올리지 않는다. 설치 자체(``install``의
206
263
  본래 목적)는 이 등록 성공 여부와 무관하게 이미 끝난 뒤이므로, 이 단계의 실패로 전체 install
207
264
  명령을 실패 처리할 이유가 없다.
265
+
266
+ ``extra_args``는 ``python -m <module>`` 뒤에 그대로 붙는 위치 인자다(violation_search_mcp에
267
+ 넘기는 DB 경로 등).
208
268
  """
209
- _manual = f"claude mcp add {name} --scope {scope} -- {sys.executable} -m {module}"
269
+ extra_args = list(extra_args or [])
270
+ _tail = " ".join(["-m", module, *extra_args])
271
+ _manual = f"claude mcp add {name} --scope {scope} -- {sys.executable} {_tail}"
210
272
  try:
211
273
  result = subprocess.run(
212
- ["claude", "mcp", "add", name, "--scope", scope, "--", sys.executable, "-m", module],
274
+ ["claude", "mcp", "add", name, "--scope", scope, "--",
275
+ sys.executable, "-m", module, *extra_args],
213
276
  capture_output=True, text=True, timeout=30,
214
277
  )
215
278
  except FileNotFoundError:
@@ -228,10 +291,17 @@ def _register_mcp_server(name: str, module: str, flag: str, scope: str) -> None:
228
291
 
229
292
  if result.returncode == 0:
230
293
  print(f"{_G}✅ MCP server registered: {name}{_R}")
294
+ if extra_args:
295
+ print(f"{_D} args: {' '.join(extra_args)}{_R}")
231
296
  elif "already exists" in (result.stderr or "").lower():
232
297
  # 재설치/업그레이드 시 정상 상태 — 실패가 아니다. 과거엔 이걸 ⚠️ + 수동
233
298
  # 명령으로 출력해 업그레이드가 깨진 것처럼 보였다.
234
299
  print(f"{_D} MCP server already registered: {name} — nothing to change{_R}")
300
+ if extra_args:
301
+ print(
302
+ f"{_D} (run `agent-eval claude upgrade --with-violation-search` to "
303
+ f"refresh its args to: {' '.join(extra_args)}){_R}"
304
+ )
235
305
  else:
236
306
  print(
237
307
  f"{_Y}⚠️ {flag}: 'claude mcp add' failed (exit {result.returncode}) — "
@@ -282,10 +352,13 @@ def _deregister_mcp_server(name: str, scope: str) -> None:
282
352
  print(f"{_D} {result.stderr.strip()}{_R}", file=sys.stderr)
283
353
 
284
354
 
285
- def _register_violation_search_mcp(scope: str) -> None:
355
+ def _register_violation_search_mcp(
356
+ scope: str, config_path: Path, is_global: bool,
357
+ ) -> None:
286
358
  _register_mcp_server(
287
359
  _VIOLATION_SEARCH_MCP_NAME, "agent_evaluator.integrations.violation_search_mcp",
288
360
  "--with-violation-search", scope,
361
+ extra_args=[_resolve_report_db_arg(config_path, is_global)],
289
362
  )
290
363
 
291
364
 
@@ -343,7 +416,7 @@ def _cmd_install(args: argparse.Namespace) -> int:
343
416
 
344
417
  if getattr(args, "with_violation_search", False):
345
418
  print()
346
- _register_violation_search_mcp(scope)
419
+ _register_violation_search_mcp(scope, config_path, is_global)
347
420
 
348
421
  if getattr(args, "with_recommend_fix", False):
349
422
  print()
@@ -388,15 +461,23 @@ def _cmd_install(args: argparse.Namespace) -> int:
388
461
  # ===========================================================================
389
462
  # upgrade — 패키지 업데이트 후 훅/설정 현행화 (사용자 편집 보존)
390
463
  # ===========================================================================
391
- def _mcp_is_registered(name: str) -> bool | None:
392
- """``claude mcp get <name>``으로 등록 여부를 확인한다. CLI 미설치/오류면 ``None``."""
464
+ def _mcp_get(name: str) -> tuple[bool | None, str]:
465
+ """``claude mcp get <name>`` — returns ``(registered, stdout)``.
466
+
467
+ ``registered`` is ``None`` when the ``claude`` CLI is missing or errored.
468
+ """
393
469
  try:
394
470
  r = subprocess.run(
395
471
  ["claude", "mcp", "get", name], capture_output=True, text=True, timeout=15,
396
472
  )
397
473
  except (FileNotFoundError, subprocess.TimeoutExpired, OSError):
398
- return None
399
- return r.returncode == 0
474
+ return None, ""
475
+ return (r.returncode == 0), (r.stdout or "")
476
+
477
+
478
+ def _mcp_is_registered(name: str) -> bool | None:
479
+ """``claude mcp get <name>``으로 등록 여부를 확인한다. CLI 미설치/오류면 ``None``."""
480
+ return _mcp_get(name)[0]
400
481
 
401
482
 
402
483
  def _cmd_upgrade(args: argparse.Namespace) -> int:
@@ -470,7 +551,7 @@ def _cmd_upgrade(args: argparse.Namespace) -> int:
470
551
  if getattr(args, "with_violation_search", False):
471
552
  print()
472
553
  _deregister_mcp_server(_VIOLATION_SEARCH_MCP_NAME, scope)
473
- _register_violation_search_mcp(scope)
554
+ _register_violation_search_mcp(scope, config_path, is_global)
474
555
  if getattr(args, "with_recommend_fix", False):
475
556
  print()
476
557
  _deregister_mcp_server(_RECOMMEND_FIX_MCP_NAME, scope)
@@ -875,6 +956,32 @@ def _cmd_doctor(args: argparse.Namespace) -> int:
875
956
  else:
876
957
  rpt.info("static", f"MCP registered: {mname}", "could not query `claude mcp get`")
877
958
 
959
+ # SPEC-041: the violations MCP server needs the Claude Code report-DB path as an
960
+ # argument, or `search_violations` opens the wrong (OpenCode) default and fails with
961
+ # "unable to open database file". Flag a stale registration made before this was wired.
962
+ if reg and mname == _VIOLATION_SEARCH_MCP_NAME:
963
+ _, reg_out = _mcp_get(mname)
964
+ want_db = _resolve_report_db_arg(config_path, is_global)
965
+ if not reg_out:
966
+ pass # cannot inspect the registered command — nothing actionable to say
967
+ elif _REPORT_DB_FILENAME not in reg_out:
968
+ rpt.warn(
969
+ "static", f"{mname}: report-DB arg",
970
+ "registered without a Claude Code DB path — `search_violations` will hit "
971
+ "the OpenCode default and fail. Run "
972
+ "`agent-eval claude upgrade --with-violation-search`"
973
+ + (" --global" if is_global else ""),
974
+ )
975
+ elif Path(want_db).is_absolute() and want_db not in reg_out:
976
+ rpt.info(
977
+ "static", f"{mname}: report-DB arg",
978
+ f"points at a different DB than this project's ({want_db}) — rerun "
979
+ "`agent-eval claude upgrade --with-violation-search` from the project root "
980
+ "if that is wrong",
981
+ )
982
+ else:
983
+ rpt.ok("static", f"{mname}: report-DB arg")
984
+
878
985
  # ---------- Tier 2: 라이브 ----------
879
986
  if no_live:
880
987
  rpt.info("live", "skipped (--no-live)")
@@ -33,6 +33,7 @@ OpenCode 등록::
33
33
  from __future__ import annotations
34
34
 
35
35
  import os
36
+ import sqlite3
36
37
  import sys
37
38
  from typing import Any
38
39
 
@@ -126,10 +127,24 @@ def build_server(db_path: str | None = None) -> Any:
126
127
  지금 시도하려는 도구 호출(셸 명령, 파일 삭제 등)이 과거 세션에서 이미
127
128
  LiveGuardrail에 의해 차단된 적이 있는지 확인하고 싶을 때 사용하라.
128
129
  """
130
+ # SPEC-041: the DB file only appears after the first monitored session ends
131
+ # (or the configured path is simply wrong). Degrade to a plain sentence instead
132
+ # of surfacing a raw "unable to open database file" traceback to the model.
133
+ if not os.path.exists(_db_path):
134
+ return (
135
+ f"No violation history database at {_db_path} yet — it is created when the "
136
+ f"first LiveGuardrail-monitored session ends. Nothing to search. (If sessions "
137
+ f"have already ended, this server is pointed at the wrong path: register it as "
138
+ f"`python -m agent_evaluator.integrations.violation_search_mcp <batch-report-db>` "
139
+ f"with an explicit path — see `agent-eval claude doctor`.)"
140
+ )
129
141
  # SPEC-030 REQ-5: include_blocked=True로 완전 차단 이력(SPEC-030)까지
130
142
  # 함께 검색한다 — 이 도구의 docstring이 원래부터 약속했던 "차단된 이력"
131
143
  # 검색을 실제로 이행한다.
132
- results = _search_violations(_db_path, query, include_blocked=True)
144
+ try:
145
+ results = _search_violations(_db_path, query, include_blocked=True)
146
+ except sqlite3.Error as exc:
147
+ return f"Could not read the violation history database at {_db_path}: {exc}"
133
148
  return format_results(results)
134
149
 
135
150
  return server
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "agent-evaluator"
7
- version = "1.0.2"
7
+ version = "1.0.3"
8
8
  description = "Production-ready evaluation framework for AI agents — 58 metrics (25 native + 33 Harness Config) across 7 evaluation gates: goal achievement, behavioral integrity, reliability, performance, security, multi-agent coordination, and observability"
9
9
  readme = {file = "README.md", content-type = "text/markdown"}
10
10
  requires-python = ">=3.8"
File without changes