@mushi-mushi/plugin-msteams 0.1.7 → 0.1.8
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 +1 -1
- package/README.md +20 -22
- package/package.json +3 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,41 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
> **Your AI wrote it. Mushi tells you why it broke.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Posts a card to a Microsoft Teams channel when Mushi triages a bug, proposes
|
|
6
|
+
a fix, or applies it.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
**Do you need this package?** Not on Mushi Cloud: paste a Teams incoming
|
|
9
|
+
webhook URL on the **Integrations** page of the console and Mushi posts to
|
|
10
|
+
the channel itself. The console's Marketplace has no Teams listing (checked
|
|
11
|
+
2026-10-26), so this package only receives events from a Mushi server you
|
|
12
|
+
run yourself, once you add a `plugin_registry` row for it.
|
|
12
13
|
|
|
13
14
|
```bash
|
|
14
15
|
npm i @mushi-mushi/plugin-msteams
|
|
16
|
+
export MUSHI_PLUGIN_SECRET=... # the signing secret set when the plugin is installed
|
|
17
|
+
export TEAMS_WEBHOOK_URL=https://... # Teams incoming webhook URL
|
|
18
|
+
export ADMIN_BASE_URL=https://... # optional: Mushi console URL, for report links
|
|
19
|
+
npx -p @mushi-mushi/plugin-msteams mushi-plugin-msteams # POST /mushi/webhook on PORT (default 3000)
|
|
15
20
|
```
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
Docs: https://kensaur.us/mushi-mushi/docs/plugins/msteams
|
|
23
|
+
|
|
24
|
+
## Programmatic usage
|
|
18
25
|
|
|
19
26
|
```bash
|
|
20
|
-
|
|
21
|
-
TEAMS_WEBHOOK_URL=https://... # Microsoft Teams Incoming Webhook URL
|
|
22
|
-
ADMIN_BASE_URL=https://... # Mushi admin base URL (deep-links)
|
|
23
|
-
PORT=3000 # optional
|
|
24
|
-
npx mushi-plugin-msteams
|
|
27
|
+
npm i @mushi-mushi/plugin-msteams @mushi-mushi/plugin-sdk express
|
|
25
28
|
```
|
|
26
29
|
|
|
27
|
-
Install **Microsoft Teams** in the Mushi admin Marketplace and point its
|
|
28
|
-
`webhook_url` at `https://your-host/mushi/webhook`.
|
|
29
|
-
|
|
30
|
-
## Programmatic usage
|
|
31
|
-
|
|
32
30
|
```ts
|
|
33
|
-
import {
|
|
31
|
+
import { createMsteamsPlugin } from '@mushi-mushi/plugin-msteams'
|
|
34
32
|
import express from 'express'
|
|
35
|
-
import { expressMiddleware } from '@mushi-mushi/plugin-sdk'
|
|
33
|
+
import { expressMiddleware } from '@mushi-mushi/plugin-sdk/express'
|
|
36
34
|
|
|
37
|
-
const handler =
|
|
35
|
+
const handler = createMsteamsPlugin({
|
|
38
36
|
webhookUrl: process.env.TEAMS_WEBHOOK_URL!,
|
|
39
|
-
adminBaseUrl: process.env.ADMIN_BASE_URL
|
|
37
|
+
adminBaseUrl: process.env.ADMIN_BASE_URL ?? '',
|
|
40
38
|
mushiSecret: process.env.MUSHI_PLUGIN_SECRET!,
|
|
41
39
|
})
|
|
42
40
|
|
|
@@ -64,4 +62,4 @@ MIT
|
|
|
64
62
|
<!-- mushi-readme-stats-footer -->
|
|
65
63
|
---
|
|
66
64
|
|
|
67
|
-
<sub>Monorepo scale (July 2026):
|
|
65
|
+
<sub>Monorepo scale (July 2026): 76 edge functions · 509 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/plugin-msteams",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Mushi Mushi plugin for Microsoft Teams — posts
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "Mushi Mushi plugin for Microsoft Teams — posts a channel card when Mushi triages a bug or a fix is proposed or applied. Self-hosted; Mushi Cloud posts to Teams natively.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@mushi-mushi/plugin-sdk": "^0.9.
|
|
22
|
+
"@mushi-mushi/plugin-sdk": "^0.9.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^22.20.0",
|