microsoft-agents-hosting-teams 1.1.0.dev8__tar.gz → 1.2.0.dev0__tar.gz
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.
- {microsoft_agents_hosting_teams-1.1.0.dev8/microsoft_agents_hosting_teams.egg-info → microsoft_agents_hosting_teams-1.2.0.dev0}/PKG-INFO +11 -2
- microsoft_agents_hosting_teams-1.2.0.dev0/VERSION.txt +1 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/teams_activity_handler.py +5 -5
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/teams_agent_extension.py +2 -2
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/teams_info.py +5 -5
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0/microsoft_agents_hosting_teams.egg-info}/PKG-INFO +11 -2
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents_hosting_teams.egg-info/requires.txt +1 -1
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/readme.md +9 -0
- microsoft_agents_hosting_teams-1.1.0.dev8/VERSION.txt +0 -1
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/LICENSE +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/MANIFEST.in +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/__init__.py +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/errors/__init__.py +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/errors/error_resources.py +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents/hosting/teams/teams_cloud_adapter.py +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents_hosting_teams.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents_hosting_teams.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/microsoft_agents_hosting_teams.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/pyproject.toml +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/setup.cfg +0 -0
- {microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-teams
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0.dev0
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Teams
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,7 +13,7 @@ Classifier: Operating System :: OS Independent
|
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: microsoft-agents-hosting-core==1.
|
|
16
|
+
Requires-Dist: microsoft-agents-hosting-core==1.2.0.dev0
|
|
17
17
|
Requires-Dist: aiohttp>=3.11.11
|
|
18
18
|
Requires-Dist: microsoft-teams-api<3,>=2.0.0
|
|
19
19
|
Dynamic: license-file
|
|
@@ -39,6 +39,15 @@ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehe
|
|
|
39
39
|
<th style="width:20%">Date</th>
|
|
40
40
|
<th style="width:60%">Release Notes</th>
|
|
41
41
|
</tr>
|
|
42
|
+
<tr>
|
|
43
|
+
<td>1.1.0</td>
|
|
44
|
+
<td>2026-06-19</td>
|
|
45
|
+
<td>
|
|
46
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
|
|
47
|
+
1.1.0 Release Notes
|
|
48
|
+
</a>
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
42
51
|
<tr>
|
|
43
52
|
<td>1.0.0</td>
|
|
44
53
|
<td>2026-05-22</td>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.2.0.dev0
|
|
@@ -4,7 +4,7 @@ Licensed under the MIT License.
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
from http import HTTPStatus
|
|
7
|
-
from typing import Any
|
|
7
|
+
from typing import Any
|
|
8
8
|
|
|
9
9
|
from microsoft_agents.hosting.core import ActivityHandler, TurnContext
|
|
10
10
|
from microsoft_agents.hosting.teams.errors import teams_errors
|
|
@@ -621,7 +621,7 @@ class TeamsActivityHandler(ActivityHandler):
|
|
|
621
621
|
|
|
622
622
|
async def on_teams_members_added_dispatch(
|
|
623
623
|
self,
|
|
624
|
-
members_added:
|
|
624
|
+
members_added: list[ChannelAccount],
|
|
625
625
|
team_info: TeamInfo,
|
|
626
626
|
turn_context: TurnContext,
|
|
627
627
|
) -> None:
|
|
@@ -672,7 +672,7 @@ class TeamsActivityHandler(ActivityHandler):
|
|
|
672
672
|
|
|
673
673
|
async def on_teams_members_added(
|
|
674
674
|
self,
|
|
675
|
-
teams_members_added:
|
|
675
|
+
teams_members_added: list[TeamsChannelAccount],
|
|
676
676
|
team_info: TeamInfo,
|
|
677
677
|
turn_context: TurnContext,
|
|
678
678
|
) -> None:
|
|
@@ -686,7 +686,7 @@ class TeamsActivityHandler(ActivityHandler):
|
|
|
686
686
|
|
|
687
687
|
async def on_teams_members_removed_dispatch(
|
|
688
688
|
self,
|
|
689
|
-
members_removed:
|
|
689
|
+
members_removed: list[ChannelAccount],
|
|
690
690
|
team_info: TeamInfo,
|
|
691
691
|
turn_context: TurnContext,
|
|
692
692
|
) -> None:
|
|
@@ -706,7 +706,7 @@ class TeamsActivityHandler(ActivityHandler):
|
|
|
706
706
|
|
|
707
707
|
async def on_teams_members_removed(
|
|
708
708
|
self,
|
|
709
|
-
teams_members_removed:
|
|
709
|
+
teams_members_removed: list[TeamsChannelAccount],
|
|
710
710
|
team_info: TeamInfo,
|
|
711
711
|
turn_context: TurnContext,
|
|
712
712
|
) -> None:
|
|
@@ -7,7 +7,7 @@ from __future__ import annotations
|
|
|
7
7
|
|
|
8
8
|
import re
|
|
9
9
|
from http import HTTPStatus
|
|
10
|
-
from typing import Any, Callable, Generic, Optional, Pattern, TypeVar
|
|
10
|
+
from typing import Any, Callable, Generic, Optional, Pattern, TypeVar
|
|
11
11
|
|
|
12
12
|
from microsoft_agents.activity import Activity, ActivityTypes, InvokeResponse
|
|
13
13
|
from microsoft_agents.hosting.core import TurnContext
|
|
@@ -30,7 +30,7 @@ from microsoft_teams.api.models import (
|
|
|
30
30
|
|
|
31
31
|
StateT = TypeVar("StateT", bound=TurnState)
|
|
32
32
|
|
|
33
|
-
CommandSelector =
|
|
33
|
+
CommandSelector = str | Pattern[str] | None
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
def _match_selector(selector: CommandSelector, value: Optional[str]) -> bool:
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
"""Teams information utilities for Microsoft Agents."""
|
|
5
5
|
|
|
6
|
-
from typing import Optional,
|
|
6
|
+
from typing import Optional, Any
|
|
7
7
|
|
|
8
8
|
from microsoft_agents.activity import Activity, Channels, ConversationParameters
|
|
9
9
|
|
|
@@ -145,7 +145,7 @@ class TeamsInfo:
|
|
|
145
145
|
activity: Activity,
|
|
146
146
|
teams_channel_id: str,
|
|
147
147
|
app_id: Optional[str] = None,
|
|
148
|
-
) ->
|
|
148
|
+
) -> tuple[dict[str, Any], str]:
|
|
149
149
|
"""
|
|
150
150
|
Sends a message to a Teams channel.
|
|
151
151
|
|
|
@@ -225,7 +225,7 @@ class TeamsInfo:
|
|
|
225
225
|
@staticmethod
|
|
226
226
|
async def get_team_channels(
|
|
227
227
|
context: TurnContext, team_id: Optional[str] = None
|
|
228
|
-
) ->
|
|
228
|
+
) -> list[ChannelInfo]:
|
|
229
229
|
"""
|
|
230
230
|
Gets the channels of a team.
|
|
231
231
|
|
|
@@ -425,7 +425,7 @@ class TeamsInfo:
|
|
|
425
425
|
context: TurnContext,
|
|
426
426
|
activity: Activity,
|
|
427
427
|
tenant_id: str,
|
|
428
|
-
members:
|
|
428
|
+
members: list[TeamsMember],
|
|
429
429
|
) -> TeamsBatchOperationResponse:
|
|
430
430
|
"""
|
|
431
431
|
Sends a message to a list of users.
|
|
@@ -524,7 +524,7 @@ class TeamsInfo:
|
|
|
524
524
|
context: TurnContext,
|
|
525
525
|
activity: Activity,
|
|
526
526
|
tenant_id: str,
|
|
527
|
-
members:
|
|
527
|
+
members: list[TeamsMember],
|
|
528
528
|
) -> TeamsBatchOperationResponse:
|
|
529
529
|
"""
|
|
530
530
|
Sends a message to a list of channels.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-teams
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0.dev0
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Teams
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,7 +13,7 @@ Classifier: Operating System :: OS Independent
|
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: microsoft-agents-hosting-core==1.
|
|
16
|
+
Requires-Dist: microsoft-agents-hosting-core==1.2.0.dev0
|
|
17
17
|
Requires-Dist: aiohttp>=3.11.11
|
|
18
18
|
Requires-Dist: microsoft-teams-api<3,>=2.0.0
|
|
19
19
|
Dynamic: license-file
|
|
@@ -39,6 +39,15 @@ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehe
|
|
|
39
39
|
<th style="width:20%">Date</th>
|
|
40
40
|
<th style="width:60%">Release Notes</th>
|
|
41
41
|
</tr>
|
|
42
|
+
<tr>
|
|
43
|
+
<td>1.1.0</td>
|
|
44
|
+
<td>2026-06-19</td>
|
|
45
|
+
<td>
|
|
46
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
|
|
47
|
+
1.1.0 Release Notes
|
|
48
|
+
</a>
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
42
51
|
<tr>
|
|
43
52
|
<td>1.0.0</td>
|
|
44
53
|
<td>2026-05-22</td>
|
{microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/readme.md
RENAMED
|
@@ -18,6 +18,15 @@ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehe
|
|
|
18
18
|
<th style="width:20%">Date</th>
|
|
19
19
|
<th style="width:60%">Release Notes</th>
|
|
20
20
|
</tr>
|
|
21
|
+
<tr>
|
|
22
|
+
<td>1.1.0</td>
|
|
23
|
+
<td>2026-06-19</td>
|
|
24
|
+
<td>
|
|
25
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
|
|
26
|
+
1.1.0 Release Notes
|
|
27
|
+
</a>
|
|
28
|
+
</td>
|
|
29
|
+
</tr>
|
|
21
30
|
<tr>
|
|
22
31
|
<td>1.0.0</td>
|
|
23
32
|
<td>2026-05-22</td>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.1.0.dev8
|
{microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/LICENSE
RENAMED
|
File without changes
|
{microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/MANIFEST.in
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/setup.cfg
RENAMED
|
File without changes
|
{microsoft_agents_hosting_teams-1.1.0.dev8 → microsoft_agents_hosting_teams-1.2.0.dev0}/setup.py
RENAMED
|
File without changes
|