actionagent 1.9.4 → 1.9.5

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/app/assets/builds/action_agent.js +61 -61
  4. data/app/controllers/action_agent/api/agents_controller.rb +1 -17
  5. data/app/controllers/action_agent/api/evaluation_reports_controller.rb +11 -7
  6. data/app/controllers/action_agent/api/github_app_webhooks_controller.rb +98 -0
  7. data/app/controllers/action_agent/api/github_installations_controller.rb +9 -1
  8. data/app/controllers/action_agent/api/mcp_controller.rb +5 -2
  9. data/app/controllers/action_agent/api/projects_controller.rb +119 -40
  10. data/app/controllers/action_agent/dashboard_controller.rb +26 -0
  11. data/app/controllers/concerns/action_agent/api/mcp_dashboard_tools.rb +199 -24
  12. data/app/jobs/action_agent/github_webhook_job.rb +102 -0
  13. data/app/models/action_agent/github_connection.rb +21 -0
  14. data/app/models/action_agent/github_installation.rb +28 -1
  15. data/app/models/action_agent/github_webhook_delivery.rb +45 -0
  16. data/app/models/action_agent/provider_key.rb +8 -1
  17. data/app/models/action_agent/scenario_catalog.rb +8 -2
  18. data/app/serializers/action_agent/agent_version_serializer.rb +29 -0
  19. data/app/serializers/action_agent/evaluation_serializer.rb +9 -0
  20. data/app/services/action_agent/evaluation_report_import.rb +112 -19
  21. data/app/services/action_agent/github_client.rb +11 -2
  22. data/app/services/action_agent/local_sandbox_claude_login.rb +1 -1
  23. data/app/services/action_agent/project_capabilities.rb +6 -3
  24. data/config/routes.rb +15 -0
  25. data/lib/action_agent/claude_login_process.rb +1 -1
  26. data/lib/action_agent/version.rb +1 -1
  27. data/lib/action_agent.rb +15 -0
  28. data/lib/generators/action_agent/templates/action_agent.rb.erb +6 -0
  29. data/lib/generators/action_agent/templates/migrations/029_create_active_agent_github_webhook_deliveries.rb.erb +23 -0
  30. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ea6b4bb4979c1e0fd93919261efed018e5e00a652ed5d6e996c5b06793d5adc
4
- data.tar.gz: 6e8326816cab09721049a9ce78878dbbceb0e50b3c86e51e0b80c16f0a028983
3
+ metadata.gz: ef5811e29aa02b7c16a9530a2d05216440e0d090c643b0d7ce06db33b30c88bc
4
+ data.tar.gz: b46097d166249594b7dfe23ff0a941d8d51a99928dc55a23da1a3ac6f0098b15
5
5
  SHA512:
6
- metadata.gz: e46c8cf2779ca8b111f9f4748ff038f3424b546254ee50c6f4c67adde40bd64d10ca38828c5a619147f61c258570c8abb0f4775790d618e24ebc2962fbc4bd97
7
- data.tar.gz: 2a1d47fe85cbf95e9c908be774ad9700120e4541bcfed7187b9a2157fdd5efcb9e2ddb54c41cf26ebcdb3d50d4041c38fcfa4798ef0376d9a760837625748efb
6
+ metadata.gz: e2e857ea686f48442ca83f43700f4d35738e20dd13e81fee793e7148493514dceeca8d4753f2f863f78aa641536c4349b394173b9c9c348a0224cbaab73f1aab
7
+ data.tar.gz: '0629de724860b39aa21bd50928d08def0687e200078859b2db8bd8b56771df2b98e458cc04cbf5e30c35d06c96ca6989ffd2a16d4e0d3a6de4353a1696a9a0bb'
data/README.md CHANGED
@@ -112,7 +112,7 @@ and `?download=1` an attachment. A
112
112
  signed-in session reads it at
113
113
  `<mount>/api/evaluations/:id/runs/:run_id/report.json`, the HTML page at
114
114
  `report`, and GitHub-flavored Markdown at `report.md`, each downloadable with
115
- `?download=1`. From the command line:
115
+ `?download=1`. Inside the host app:
116
116
 
117
117
  ```bash
118
118
  bin/rails action_agent:evaluations:export RUN=<run_id> FORMAT=json|html|md [FILE=path]
@@ -120,6 +120,14 @@ bin/rails action_agent:evaluations:export EVALUATION=<id> RUN=<id> FORMAT=md
120
120
  bin/rails action_agent:evaluations:import FILE=run.json [ACCOUNT_ID=<id>]
121
121
  ```
122
122
 
123
+ From any machine with the `activeagent` gem, over HTTP with the ingest key
124
+ (see [Command Line](https://docs.activeagents.ai/framework/cli)):
125
+
126
+ ```bash
127
+ activeagent evals report <run_id> --format json -o run.json # or html, md
128
+ activeagent evals import run.json
129
+ ```
130
+
123
131
  See [Publishing an externally executed evaluation](https://docs.activeagents.ai/evals/publication)
124
132
  for the envelope, the run_id a dashboard run exports under, and every response.
125
133