@cuylabs/agent-channel-teams 3.2.1 → 4.0.0

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 (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { AgentEvent, ApprovalRequest, HumanInputRequest, ApprovalAction, ApprovalRememberScope, HumanInputResponse } from '@cuylabs/agent-core';
2
- import { M365ChannelOptions, M365TurnRequestContext, M365TurnPreparation, M365UserIdentity, M365TurnSource, M365ChannelAdapter, M365AmbientTurnContext } from '@cuylabs/agent-channel-m365';
1
+ import { AgentTurnSource, AgentEvent, ApprovalRequest, HumanInputRequest, ApprovalAction, ApprovalRememberScope, HumanInputResponse } from '@cuylabs/agent-core';
2
+ import { M365ChannelOptions, M365TurnRequestContext, M365TurnPreparation, M365UserIdentity, M365ChannelAdapter, M365AmbientTurnContext } from '@cuylabs/agent-channel-m365';
3
3
  import { TurnContext, AuthConfiguration, CloudAdapter } from '@microsoft/agents-hosting';
4
4
  import { TeamsChannelData } from '@microsoft/agents-hosting-extensions-teams';
5
5
  export { BatchFailedEntriesResponse, BatchOperationResponse, BatchOperationStateResponse, CancelOperationResponse, ChannelInfo, FeedbackLoopData, MeetingNotification, NotificationInfo, OnBehalfOf, TeamDetails, TeamInfo, TeamsAttachmentDownloader, TeamsChannelAccount, TeamsChannelData, TeamsChannelDataSettings, TeamsInfo, TeamsMeetingInfo, TeamsMember, TeamsPagedMembersResult, TenantInfo, parseTeamsChannelData } from '@microsoft/agents-hosting-extensions-teams';
@@ -50,7 +50,7 @@ interface TeamsHandlerContext {
50
50
  teams: TeamsActivityInfo;
51
51
  channelData?: TeamsChannelData;
52
52
  sessionId: string;
53
- source: M365TurnSource;
53
+ source: AgentTurnSource;
54
54
  /**
55
55
  * Start an agent turn inside the current Teams request context.
56
56
  *
@@ -231,7 +231,7 @@ interface MountTeamsAgentResult {
231
231
  cloudAdapter: CloudAdapter;
232
232
  server?: Server;
233
233
  }
234
- declare function mountTeamsAgent(source: M365TurnSource, options?: MountTeamsAgentOptions): Promise<MountTeamsAgentResult>;
234
+ declare function mountTeamsAgent(source: AgentTurnSource, options?: MountTeamsAgentOptions): Promise<MountTeamsAgentResult>;
235
235
 
236
236
  interface TeamsAmbientTurnContext extends M365AmbientTurnContext {
237
237
  teams: TeamsActivityInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuylabs/agent-channel-teams",
3
- "version": "3.2.1",
3
+ "version": "4.0.0",
4
4
  "description": "Teams-native channel layer for @cuylabs/agent-core built on top of @cuylabs/agent-channel-m365",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@microsoft/agents-hosting-extensions-teams": "^1.4.2",
27
- "@cuylabs/agent-channel-m365": "^3.2.1",
28
- "@cuylabs/agent-core": "^3.2.1"
27
+ "@cuylabs/agent-channel-m365": "^4.0.0",
28
+ "@cuylabs/agent-core": "^4.0.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@microsoft/agents-activity": "^1.4.2",