-
Notifications
You must be signed in to change notification settings - Fork 66
feat: Add Support for Agentic Query and Analysis #535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
vet Summary ReportThis report is generated by vet Policy Checks
Malicious Package AnalysisMalicious package analysis was performed using SafeDep Cloud API Malicious Package Analysis Report
Changed PackagesChanged Packages
Policy ViolationsPackages Violating Policy[Go]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #535 +/- ##
=========================================
- Coverage 18.04% 8.09% -9.96%
=========================================
Files 176 278 +102
Lines 17009 45761 +28752
=========================================
+ Hits 3070 3706 +636
- Misses 13705 41783 +28078
- Partials 234 272 +38 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs missing: --insights-v2
- Remove decorative borders and excessive styling to maximize output area - Implement clean minimal design similar to modern TUI interfaces - Add bordered input area for clear visual separation - Move thinking indicator above input area for better visibility - Enhance input field reset logic for proper line alignment - Remove verbose help text and status messages - Optimize layout calculations for full width utilization - Add smooth animations for agent thinking state with spinner - Clean up code structure and remove unused progress bar functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Ent-generated schema and CRUD support for two new entities (ReportPackage
and ReportMalware
), laying the groundwork for an agentic query system and SQLite3 report generation in vet
.
- Introduces
ReportPackage
entity: create, update, delete, query, predicates, and model code. - Introduces
ReportMalware
entity: create, update, delete, query, predicates, and model code. - Foundations for agentic query interactions via documented schema and client methods.
Reviewed Changes
Copilot reviewed 57 out of 133 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
ent/reportpackage_delete.go | Generated delete builder for ReportPackage |
ent/reportpackage_create.go | Generated create builder and defaults for ReportPackage |
ent/reportpackage/where.go | Generated filters (predicates) for ReportPackage |
ent/reportpackage/reportpackage.go | Generated constants, edges, and OrderOption definitions for ReportPackage |
ent/reportpackage.go | Generated model, JSON scanning/assignment, and client-query methods for ReportPackage |
ent/reportmalware_update.go | Generated update builder for ReportMalware |
ent/reportmalware_query.go | Generated query builder and eager-load support for ReportMalware |
ent/reportmalware_delete.go | Generated delete builder for ReportMalware |
ent/reportmalware_create.go | Generated create builder and defaults for ReportMalware |
ent/reportmalware/where.go | Generated filters (predicates) for ReportMalware |
ent/reportmalware/reportmalware.go | Generated constants, edges, OrderOption definitions, and model scanning/assignment for ReportMalware |
Comments suppressed due to low confidence (3)
ent/reportpackage_create.go:1
- [nitpick] Generated CRUD code for ReportPackage lacks corresponding unit tests; consider adding tests to cover creation, querying, updating, and deletion of ReportPackage entities.
// Code generated by ent, DO NOT EDIT.
ent/reportmalware_create.go:1
- [nitpick] Generated CRUD code for ReportMalware lacks corresponding unit tests; consider adding tests to cover creation, querying, updating, and deletion of ReportMalware entities.
// Code generated by ent, DO NOT EDIT.
ent/reportpackage/where.go:1
- [nitpick] Consider excluding the generated
ent
directory from test coverage and linting to focus on hand-written code and reduce noise in reports.
// Code generated by ent, DO NOT EDIT.
This PR introduces two features:
It also lays the foundation for building AI agents in vet.
To test, consider the doc:
https://github.com/safedep/vet/blob/feat/vet-query-interaction-agent/docs/agent.md