microsoft-agents-hosting-msteams 1.8.0.dev0__tar.gz → 1.9.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_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/PKG-INFO +2 -2
- microsoft_agents_hosting_msteams-1.9.0.dev0/VERSION.txt +1 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/meeting/meeting.py +8 -3
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/meeting/route_handlers.py +4 -3
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents_hosting_msteams.egg-info/PKG-INFO +2 -2
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents_hosting_msteams.egg-info/requires.txt +1 -1
- microsoft_agents_hosting_msteams-1.8.0.dev0/VERSION.txt +0 -1
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/LICENSE +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/MANIFEST.in +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/_graph.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/_teams_api_client.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/_utils.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/channel/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/channel/channel.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/channel/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/config/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/config/config.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/config/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/errors/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/errors/error_resources.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/file_consent/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/file_consent/file_consent.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/file_consent/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/meeting/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/message/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/message/message.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/message/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/message_extension/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/message_extension/message_extension.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/message_extension/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/models/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/models/quoted_reply.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/models/targeted_message_info.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/proactive_service_endpoints.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/py.typed +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/task_module/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/task_module/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/task_module/task_module.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/team/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/team/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/team/team.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/teams_activity.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/teams_agent_extension.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/teams_turn_context.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents/hosting/msteams/type_defs.py +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents_hosting_msteams.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents_hosting_msteams.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/microsoft_agents_hosting_msteams.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/pyproject.toml +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/readme.md +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/setup.cfg +0 -0
- {microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/setup.py +0 -0
{microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-msteams
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0.dev0
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Teams
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: microsoft-agents-hosting-core==1.
|
|
17
|
+
Requires-Dist: microsoft-agents-hosting-core==1.9.0.dev0
|
|
18
18
|
Requires-Dist: aiohttp>=3.11.11
|
|
19
19
|
Requires-Dist: microsoft-teams-api==2.1.0
|
|
20
20
|
Requires-Dist: msgraph-sdk>=1.58.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.9.0.dev0
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
from typing import Generic, Optional, overload
|
|
7
7
|
|
|
8
|
-
from microsoft_teams.api.
|
|
8
|
+
from microsoft_teams.api.activities.event.meeting_end import MeetingEndEventValue
|
|
9
|
+
from microsoft_teams.api.activities.event.meeting_start import MeetingStartEventValue
|
|
9
10
|
|
|
10
11
|
from microsoft_agents.activity import ActivityTypes
|
|
11
12
|
from microsoft_agents.activity.teams import MeetingParticipantsEventDetails
|
|
@@ -79,7 +80,9 @@ class Meeting(Generic[StateT]):
|
|
|
79
80
|
async def __handler(context: TurnContext, state: StateT) -> None:
|
|
80
81
|
"""Adapt the core turn context and dispatch to the meeting start handler."""
|
|
81
82
|
teams_context = TeamsTurnContext(context, self._app)
|
|
82
|
-
meeting =
|
|
83
|
+
meeting = MeetingStartEventValue.model_validate(
|
|
84
|
+
context.activity.value or {}
|
|
85
|
+
)
|
|
83
86
|
await func(teams_context, state, meeting)
|
|
84
87
|
|
|
85
88
|
self._app.add_route(
|
|
@@ -130,7 +133,9 @@ class Meeting(Generic[StateT]):
|
|
|
130
133
|
async def __handler(context: TurnContext, state: StateT) -> None:
|
|
131
134
|
"""Adapt the core turn context and dispatch to the meeting end handler."""
|
|
132
135
|
teams_context = TeamsTurnContext(context, self._app)
|
|
133
|
-
meeting =
|
|
136
|
+
meeting = MeetingEndEventValue.model_validate(
|
|
137
|
+
context.activity.value or {}
|
|
138
|
+
)
|
|
134
139
|
await func(teams_context, state, meeting)
|
|
135
140
|
|
|
136
141
|
self._app.add_route(
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
from typing import Awaitable, Protocol
|
|
7
7
|
|
|
8
|
-
from microsoft_teams.api.
|
|
8
|
+
from microsoft_teams.api.activities.event.meeting_end import MeetingEndEventValue
|
|
9
|
+
from microsoft_teams.api.activities.event.meeting_start import MeetingStartEventValue
|
|
9
10
|
from microsoft_agents.activity.teams import MeetingParticipantsEventDetails
|
|
10
11
|
|
|
11
12
|
from microsoft_agents.hosting.core.app._type_defs import _StateContra
|
|
@@ -19,7 +20,7 @@ class MeetingStartHandler(Protocol[_StateContra]):
|
|
|
19
20
|
self,
|
|
20
21
|
context: TeamsTurnContext,
|
|
21
22
|
state: _StateContra,
|
|
22
|
-
meeting:
|
|
23
|
+
meeting: MeetingStartEventValue,
|
|
23
24
|
/,
|
|
24
25
|
) -> Awaitable[None]:
|
|
25
26
|
"""Handle a meeting start event.
|
|
@@ -39,7 +40,7 @@ class MeetingEndHandler(Protocol[_StateContra]):
|
|
|
39
40
|
self,
|
|
40
41
|
context: TeamsTurnContext,
|
|
41
42
|
state: _StateContra,
|
|
42
|
-
meeting:
|
|
43
|
+
meeting: MeetingEndEventValue,
|
|
43
44
|
/,
|
|
44
45
|
) -> Awaitable[None]:
|
|
45
46
|
"""Handle a meeting end event.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-msteams
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0.dev0
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Teams
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: microsoft-agents-hosting-core==1.
|
|
17
|
+
Requires-Dist: microsoft-agents-hosting-core==1.9.0.dev0
|
|
18
18
|
Requires-Dist: aiohttp>=3.11.11
|
|
19
19
|
Requires-Dist: microsoft-teams-api==2.1.0
|
|
20
20
|
Requires-Dist: msgraph-sdk>=1.58.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.8.0.dev0
|
{microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/LICENSE
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
{microsoft_agents_hosting_msteams-1.8.0.dev0 → microsoft_agents_hosting_msteams-1.9.0.dev0}/setup.py
RENAMED
|
File without changes
|