@openclaw/msteams 2026.10.1-beta.2 → 2026.10.1
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.
|
@@ -186,14 +186,20 @@ const streamingAliasMigration = (0, runtime_doctor_migrations_exports.defineChan
|
|
|
186
186
|
streaming: { defaultMode: "partial" }
|
|
187
187
|
});
|
|
188
188
|
const legacyConfigRules = [...webhookMigration.legacyConfigRules, ...streamingAliasMigration.legacyConfigRules];
|
|
189
|
+
function normalizeHistoricalWebhookConfig({ cfg }) {
|
|
190
|
+
return {
|
|
191
|
+
...webhookMigration.normalizeCompatibilityConfig({ cfg }),
|
|
192
|
+
historicalWebhookAccountIds: cfg.channels?.msteams === void 0 && !require_token_config.resolveMSTeamsCredentials() ? null : cfg.channels?.msteams?.enabled === false ? [] : [void 0]
|
|
193
|
+
};
|
|
194
|
+
}
|
|
189
195
|
function normalizeCompatibilityConfig({ cfg }) {
|
|
190
|
-
const webhook =
|
|
196
|
+
const webhook = normalizeHistoricalWebhookConfig({ cfg });
|
|
191
197
|
return {
|
|
192
198
|
...streamingAliasMigration.normalizeChannelConfig({
|
|
193
199
|
cfg: webhook.config,
|
|
194
200
|
changes: webhook.changes
|
|
195
201
|
}),
|
|
196
|
-
historicalWebhookAccountIds:
|
|
202
|
+
historicalWebhookAccountIds: webhook.historicalWebhookAccountIds
|
|
197
203
|
};
|
|
198
204
|
}
|
|
199
205
|
//#endregion
|
|
@@ -342,4 +348,5 @@ const stateMigrations = [
|
|
|
342
348
|
exports.historicalWebhookListener = historicalWebhookListener;
|
|
343
349
|
exports.legacyConfigRules = legacyConfigRules;
|
|
344
350
|
exports.normalizeCompatibilityConfig = normalizeCompatibilityConfig;
|
|
351
|
+
exports.normalizeHistoricalWebhookConfig = normalizeHistoricalWebhookConfig;
|
|
345
352
|
exports.stateMigrations = stateMigrations;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/msteams",
|
|
3
|
-
"version": "2026.10.1
|
|
3
|
+
"version": "2026.10.1",
|
|
4
4
|
"description": "OpenClaw Microsoft Teams channel plugin for bot conversations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"openclaw": "workspace:*"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"openclaw": ">=2026.10.1
|
|
25
|
+
"openclaw": ">=2026.10.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"openclaw": {
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"minHostVersion": ">=2026.4.10"
|
|
74
74
|
},
|
|
75
75
|
"compat": {
|
|
76
|
-
"pluginApi": ">=2026.10.1
|
|
76
|
+
"pluginApi": ">=2026.10.1"
|
|
77
77
|
},
|
|
78
78
|
"build": {
|
|
79
|
-
"openclawVersion": "2026.10.1
|
|
79
|
+
"openclawVersion": "2026.10.1",
|
|
80
80
|
"runtimeFormat": "cjs"
|
|
81
81
|
},
|
|
82
82
|
"release": {
|