Added support for exporting agent definitions#6
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR appears to introduce an OpenAPI-backed “agent definition export” capability and regenerate the Python SDK client code accordingly.
Changes:
- Added
GET /agents/{agent_id}/exportto the OpenAPI spec along with anAgentExportResponseschema. - Regenerated/added many
_generatedendpoint modules (agents, memory banks, knowledge bases, governance, identity, alerts, etc.), including widespread support forX-Account-Id. - Updated
.github/copilot-instructions.mdwith additional “quality gates” and workflow rules.
Reviewed changes
Copilot reviewed 94 out of 315 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| seclai/_generated/api/memory_banks/memory_bank_ai_generate_api_memory_banks_ai_assistant_post.py | New generated endpoint wrapper for memory bank AI assistant generation. |
| seclai/_generated/api/memory_banks/list_templates_api_memory_banks_templates_get.py | New generated endpoint wrapper for listing memory bank templates. |
| seclai/_generated/api/memory_banks/get_memory_bank_api_memory_banks_memory_bank_id_get.py | New generated endpoint wrapper for fetching a memory bank by ID. |
| seclai/_generated/api/memory_banks/get_agents_using_bank_api_memory_banks_memory_bank_id_agents_get.py | New generated endpoint wrapper for listing agents referencing a memory bank. |
| seclai/_generated/api/memory_banks/delete_memory_bank_source_api_memory_banks_memory_bank_id_source_delete.py | New generated endpoint wrapper for deleting a memory bank’s content source. |
| seclai/_generated/api/memory_banks/delete_memory_bank_api_memory_banks_memory_bank_id_delete.py | New generated endpoint wrapper for deleting a memory bank. |
| seclai/_generated/api/memory_banks/create_memory_bank_api_memory_banks_post.py | New generated endpoint wrapper for creating a memory bank. |
| seclai/_generated/api/memory_banks/init.py | Package initializer docstring for generated memory bank endpoints. |
| seclai/_generated/api/knowledge_bases/update_knowledge_base_api_knowledge_bases_knowledge_base_id_put.py | New generated endpoint wrapper for updating a knowledge base. |
| seclai/_generated/api/knowledge_bases/get_knowledge_base_api_knowledge_bases_knowledge_base_id_get.py | New generated endpoint wrapper for fetching a knowledge base. |
| seclai/_generated/api/knowledge_bases/delete_knowledge_base_api_knowledge_bases_knowledge_base_id_delete.py | New generated endpoint wrapper for deleting a knowledge base. |
| seclai/_generated/api/knowledge_bases/create_knowledge_base_api_knowledge_bases_post.py | New generated endpoint wrapper for creating a knowledge base. |
| seclai/_generated/api/knowledge_bases/init.py | Package initializer docstring for generated knowledge base endpoints. |
| seclai/_generated/api/identity/get_me_api_me_get.py | New generated endpoint wrapper for the /me identity endpoint. |
| seclai/_generated/api/identity/init.py | Package initializer docstring for generated identity endpoints. |
| seclai/_generated/api/governance/list_governance_ai_conversations_api_governance_ai_assistant_conversations_get.py | New generated endpoint wrapper for listing governance AI assistant conversations. |
| seclai/_generated/api/governance/governance_ai_generate_api_governance_ai_assistant_post.py | New generated endpoint wrapper for governance AI assistant generation. |
| seclai/_generated/api/governance/governance_ai_decline_api_governance_ai_assistant_conversation_id_decline_post.py | New generated endpoint wrapper to decline a governance AI plan. |
| seclai/_generated/api/governance/governance_ai_accept_api_governance_ai_assistant_conversation_id_accept_post.py | New generated endpoint wrapper to accept a governance AI plan. |
| seclai/_generated/api/governance/init.py | Package initializer docstring for generated governance endpoints. |
| seclai/_generated/api/contents/upload_file_to_content_api_contents_source_connection_content_version_upload_post.py | Updated generated content upload endpoint to support X-Account-Id and auth docstring changes. |
| seclai/_generated/api/contents/list_content_embeddings_api_contents_source_connection_content_version_embeddings_get.py | Updated generated embeddings listing endpoint to support X-Account-Id and auth docstring changes. |
| seclai/_generated/api/contents/get_content_detail_api_contents_source_connection_content_version_get.py | Updated generated content detail endpoint to support X-Account-Id and auth docstring changes. |
| seclai/_generated/api/contents/delete_content_api_contents_source_connection_content_version_delete.py | Updated generated content delete endpoint to support X-Account-Id and auth docstring changes. |
| seclai/_generated/api/alerts/get_alert_detail_api_alerts_alert_id_get.py | New generated endpoint wrapper for alert detail fetch. |
| seclai/_generated/api/alerts/delete_alert_config_api_alerts_configs_config_id_delete.py | New generated endpoint wrapper for deleting an alert config. |
| seclai/_generated/api/alerts/init.py | Package initializer docstring for generated alerts endpoints. |
| seclai/_generated/api/ai_assistant/api_ai_source_api_ai_assistant_source_post.py | New generated endpoint wrapper for standalone AI assistant “source plan”. |
| seclai/_generated/api/ai_assistant/api_ai_solution_api_ai_assistant_solution_post.py | New generated endpoint wrapper for standalone AI assistant “solution plan”. |
| seclai/_generated/api/ai_assistant/api_ai_memory_bank_api_ai_assistant_memory_bank_post.py | New generated endpoint wrapper for standalone AI assistant “memory bank” plan. |
| seclai/_generated/api/ai_assistant/api_ai_knowledge_base_api_ai_assistant_knowledge_base_post.py | New generated endpoint wrapper for standalone AI assistant “knowledge base” plan. |
| seclai/_generated/api/ai_assistant/api_ai_feedback_api_ai_assistant_feedback_post.py | New generated endpoint wrapper for AI assistant feedback submission. |
| seclai/_generated/api/ai_assistant/api_ai_decline_api_ai_assistant_conversation_id_decline_post.py | New generated endpoint wrapper to decline a standalone AI plan. |
| seclai/_generated/api/ai_assistant/api_ai_accept_api_ai_assistant_conversation_id_accept_post.py | New generated endpoint wrapper to accept/execute a standalone AI plan. |
| seclai/_generated/api/ai_assistant/init.py | Package initializer docstring for generated AI assistant endpoints. |
| seclai/_generated/api/agents/search_agent_runs_api_agents_runs_search_post.py | New generated endpoint wrapper for semantic search over agent traces/runs. |
| seclai/_generated/api/agents/run_streaming_agent_api_agents_agent_id_runs_stream_post.py | Updated generated agent streaming run endpoint to support X-Account-Id and expanded docs. |
| seclai/_generated/api/agents/run_agent_api_agents_agent_id_runs_post.py | Updated generated agent run endpoint to support X-Account-Id and expanded docs. |
| seclai/_generated/api/agents/list_agents_api_agents_get.py | New generated endpoint wrapper for listing agents with pagination. |
| seclai/_generated/api/agents/get_agent_run_api_agents_runs_run_id_get.py | Updated generated get-run endpoint to support X-Account-Id and auth docstring changes. |
| seclai/_generated/api/agents/get_agent_metadata_api_agents_agent_id_get.py | New generated endpoint wrapper for fetching agent metadata. |
| seclai/_generated/api/agents/delete_agent_run_api_agents_runs_run_id_delete.py | Updated generated cancel-run endpoint to support X-Account-Id and auth docstring changes. |
| seclai/_generated/api/agents/delete_agent_api_agents_agent_id_delete.py | New generated endpoint wrapper for deleting an agent. |
| seclai/_generated/api/agent_evaluations/list_run_evaluation_results_api_agents_agent_id_runs_run_id_evaluation_results_get.py | New generated evaluation-results listing endpoint wrapper. |
| seclai/_generated/api/agent_evaluations/list_evaluation_criteria_api_agents_agent_id_evaluation_criteria_get.py | New generated evaluation-criteria listing endpoint wrapper. |
| seclai/_generated/api/agent_evaluations/get_evaluation_summary_api_agents_evaluation_criteria_criteria_id_summary_get.py | New generated evaluation summary endpoint wrapper. |
| seclai/_generated/api/agent_evaluations/get_evaluation_criteria_api_agents_evaluation_criteria_criteria_id_get.py | New generated get-evaluation-criteria endpoint wrapper. |
| seclai/_generated/api/agent_evaluations/delete_evaluation_criteria_api_agents_evaluation_criteria_criteria_id_delete.py | New generated delete-evaluation-criteria endpoint wrapper. |
| seclai/_generated/api/agent_evaluations/create_evaluation_result_api_agents_evaluation_criteria_criteria_id_results_post.py | New generated create-evaluation-result endpoint wrapper. |
| seclai/_generated/api/agent_evaluations/init.py | Package initializer docstring for generated agent evaluations endpoints. |
| openapi/seclai.openapi.json | Adds AgentExportResponse schema, GET /agents/{agent_id}/export, and includes step input fields in responses. |
| .github/copilot-instructions.md | Adds stricter workflow/quality-gate guidance for tests, linting, and commands. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.