Merged EnhancedAgentDetails into AgentDetails - #107
Merged
Conversation
…mId tags; deprecate alias
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates the EnhancedAgentDetails and AgentDetails interfaces by merging all properties from EnhancedAgentDetails into AgentDetails, creating a unified type for agent details across the SDK. The change maintains backward compatibility by keeping EnhancedAgentDetails as a deprecated type alias, allowing existing code to continue working without modification while encouraging migration to the simpler AgentDetails type.
- Merged five additional properties (agentAUID, agentUPN, agentBlueprintId, tenantId, agentClientIP) from
EnhancedAgentDetailsintoAgentDetails - Updated all internal usages to reference
AgentDetailsinstead ofEnhancedAgentDetails - Maintained backward compatibility with a deprecated type alias
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/agents-a365-observability/src/tracing/contracts.ts | Merged EnhancedAgentDetails properties into AgentDetails interface, converted EnhancedAgentDetails to a deprecated type alias, and updated InvokeAgentDetails to extend AgentDetails |
| packages/agents-a365-observability/src/tracing/scopes/OpenTelemetryScope.ts | Updated import and parameter type from EnhancedAgentDetails to AgentDetails |
| packages/agents-a365-observability/src/tracing/scopes/InvokeAgentScope.ts | Updated import and parameter types from EnhancedAgentDetails to AgentDetails |
| tests-agent/basic-agent-sdk-sample/src/agent.ts | Removed unused imports (ExecutionType and EnhancedAgentDetails) following the refactoring |
| CHANGELOG.md | Documented the changes as version 1.1.0 with clear migration guidance for the non-breaking deprecation |
juliomenendez
approved these changes
Dec 9, 2025
threddy
approved these changes
Dec 9, 2025
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.
Merged EnhancedAgentDetails into AgentDetails.
EnhancedAgentDetails alias retained but marked deprecated to make the change to be non-breaking.
Changelog is updated. The change requires a minor bump.