Skip to content

Merged EnhancedAgentDetails into AgentDetails - #107

Merged
fpfp100 merged 2 commits into
mainfrom
users/pefan/mergeagentdetailclass
Dec 9, 2025
Merged

Merged EnhancedAgentDetails into AgentDetails#107
fpfp100 merged 2 commits into
mainfrom
users/pefan/mergeagentdetailclass

Conversation

@fpfp100

@fpfp100 fpfp100 commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

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.

Copilot AI review requested due to automatic review settings December 8, 2025 23:28
@fpfp100
fpfp100 requested review from a team as code owners December 8, 2025 23:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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 EnhancedAgentDetails into AgentDetails
  • Updated all internal usages to reference AgentDetails instead of EnhancedAgentDetails
  • 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

@fpfp100
fpfp100 merged commit 7b596ae into main Dec 9, 2025
13 checks passed
@fpfp100
fpfp100 deleted the users/pefan/mergeagentdetailclass branch December 9, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants