@mastra/teams 0.0.0-factory-auth-20261009213754

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.
package/LICENSE.md ADDED
@@ -0,0 +1,32 @@
1
+ Portions of this software are licensed as follows:
2
+
3
+ - All content that resides under any directory named `ee/` within this
4
+ repository, including but not limited to:
5
+ - `@mastra/core/auth/ee`
6
+ - `@mastra/core/agent-builder/ee`
7
+ - `@mastra/editor/ee`
8
+
9
+ is licensed under the license defined in [`ee/LICENSE`](https://github.com/mastra-ai/mastra/blob/main/ee/LICENSE).
10
+
11
+ - All third-party components incorporated into the Mastra Software are
12
+ licensed under the original license provided by the owner of the
13
+ applicable component.
14
+
15
+ - Content outside of the above-mentioned directories or restrictions is
16
+ available under the "Apache License 2.0" as defined below.
17
+
18
+ # Apache License 2.0
19
+
20
+ Copyright (c) 2025 Kepler Software, Inc.
21
+
22
+ Licensed under the Apache License, Version 2.0 (the "License");
23
+ you may not use this file except in compliance with the License.
24
+ You may obtain a copy of the License at
25
+
26
+ http://www.apache.org/licenses/LICENSE-2.0
27
+
28
+ Unless required by applicable law or agreed to in writing, software
29
+ distributed under the License is distributed on an "AS IS" BASIS,
30
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31
+ See the License for the specific language governing permissions and
32
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @mastra/teams
2
+
3
+ `@mastra/teams` connects Mastra agents to Microsoft Teams through the Bot Framework. It manages bot installations, JWT-verified activity webhooks, per-agent bot provisioning via Microsoft Graph and the Teams Developer Portal, adaptive cards, and streaming replies over Mastra's channel lifecycle.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mastra/teams
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Set `TEAMS_APP_ID` and `TEAMS_APP_PASSWORD` to the credentials of an existing Azure Bot registration whose messaging endpoint points at your Mastra server.
14
+
15
+ ```typescript
16
+ import { Mastra } from '@mastra/core/mastra';
17
+ import { TeamsProvider } from '@mastra/teams';
18
+
19
+ const teams = new TeamsProvider({
20
+ appId: process.env.TEAMS_APP_ID,
21
+ appPassword: process.env.TEAMS_APP_PASSWORD,
22
+ baseUrl: 'https://your-app.example.com',
23
+ });
24
+
25
+ export const mastra = new Mastra({
26
+ channels: { teams },
27
+ });
28
+ ```
29
+
30
+ ## Documentation
31
+
32
+ - [Reference: TeamsProvider](https://mastra.ai/reference/channels/teams-provider)
33
+
34
+ ## Changelog
35
+
36
+ See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/channels/teams/CHANGELOG.md) for version history and release notes.
37
+
38
+ ## Support
39
+
40
+ We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.