@openclaw/msteams 2026.9.3 → 2026.9.5
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/assets/activity.svg +40 -0
- package/assets/icon.png +0 -0
- package/dist/{adapter.runtime-DDuc7sKJ.cjs → .setup/adapter.runtime-ChuVK6k_.cjs} +3 -3
- package/dist/{approval-handler.runtime-CoTQG4FS.cjs → .setup/approval-handler.runtime-DDxGPJDz.cjs} +3 -3
- package/dist/{channel-Cdm6-HsU.cjs → .setup/channel-Dzpbbht8.cjs} +63 -35
- package/dist/{channel.runtime-__5ZQlfG.cjs → .setup/channel.runtime-TE49QvFv.cjs} +57 -32
- package/dist/{channel.setup-ChwkwdLk.cjs → .setup/channel.setup-BVDfgdCc.cjs} +17 -25
- package/dist/{delegated-state-DiEz9JIa.cjs → .setup/delegated-state-u-ywZyZT.cjs} +5 -5
- package/dist/{messenger-DbWgzI01.cjs → .setup/messenger-BR1l4zw-.cjs} +108 -178
- package/dist/{oauth-BeROaYf0.cjs → .setup/oauth-C6m7dvHj.cjs} +1 -1
- package/dist/{polls-BBdZPx_R.cjs → .setup/polls-BJ4-4uZm.cjs} +14 -7
- package/dist/{reaction-types-zP91Ncwk.cjs → .setup/reaction-types-C7RA7Wxt.cjs} +1 -1
- package/dist/{resolve-allowlist-CoKmLXYe.cjs → .setup/resolve-allowlist-CHzaaWiC.cjs} +141 -93
- package/dist/.setup/secret-contract-api-ChQdBeU1.cjs +4 -0
- package/dist/.setup/secret-contract-api-ipiUsANg.cjs +28 -0
- package/dist/{send-Bw4W8RO7.cjs → .setup/send-D8ATH4QI.cjs} +95 -33
- package/dist/.setup/setup-plugin-api-DpiaA8z1.cjs +3 -0
- package/dist/{src-B--Qc6lj.cjs → .setup/src-CpKfpP1m.cjs} +134 -58
- package/dist/{sso-token-store-DTeYxubp.cjs → .setup/sso-token-store-YYLHXgFH.cjs} +1 -1
- package/dist/{thread-session-p8FNgohv.cjs → .setup/thread-session-CXgHK-yi.cjs} +1 -1
- package/dist/api.cjs +2 -2
- package/dist/channel-config-api.cjs +1 -1
- package/dist/channel-plugin-api.cjs +1 -1
- package/dist/configured-state.cjs +1 -1
- package/dist/directory-contract-api.cjs +1 -1
- package/dist/doctor-contract-api.cjs +64 -62
- package/dist/qa-runner-api.cjs +1 -1
- package/dist/runtime-api.cjs +1 -1
- package/dist/secret-contract-api.cjs +4 -13
- package/dist/setup-entry.cjs +5 -3
- package/dist/setup-plugin-api.cjs +1 -1
- package/openclaw.plugin.json +4 -1
- package/package.json +14 -11
- /package/dist/{approval-card-CPNH_q3P.cjs → .setup/approval-card-CPNH_q3P.cjs} +0 -0
- /package/dist/{config-schema-D22Lr1Qk.cjs → .setup/config-schema-D22Lr1Qk.cjs} +0 -0
- /package/dist/{rolldown-runtime-VH7oDXx4.cjs → .setup/rolldown-runtime-VH7oDXx4.cjs} +0 -0
- /package/dist/{runtime-gZTAuFux.cjs → .setup/runtime-gZTAuFux.cjs} +0 -0
- /package/dist/{secret-input-C65t6kjM.cjs → .setup/secret-input-C65t6kjM.cjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("
|
|
2
|
+
require("./.setup/secret-input-C65t6kjM.cjs");
|
|
3
3
|
let openclaw_plugin_sdk_secret_input = require("openclaw/plugin-sdk/secret-input");
|
|
4
4
|
//#region extensions/msteams/configured-state.ts
|
|
5
5
|
/** Mirror Teams auth-mode requirements without loading the Azure SDK or full channel. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_resolve_allowlist = require("
|
|
2
|
+
const require_resolve_allowlist = require("./.setup/resolve-allowlist-CHzaaWiC.cjs");
|
|
3
3
|
let openclaw_plugin_sdk_directory_runtime = require("openclaw/plugin-sdk/directory-runtime");
|
|
4
4
|
const msteamsDirectoryContractPlugin = {
|
|
5
5
|
id: "msteams",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_rolldown_runtime = require("
|
|
3
|
-
const require_delegated_state = require("
|
|
4
|
-
const require_polls = require("
|
|
5
|
-
const require_sso_token_store = require("
|
|
2
|
+
const require_rolldown_runtime = require("./.setup/rolldown-runtime-VH7oDXx4.cjs");
|
|
3
|
+
const require_delegated_state = require("./.setup/delegated-state-u-ywZyZT.cjs");
|
|
4
|
+
const require_polls = require("./.setup/polls-BJ4-4uZm.cjs");
|
|
5
|
+
const require_sso_token_store = require("./.setup/sso-token-store-YYLHXgFH.cjs");
|
|
6
6
|
let openclaw_plugin_sdk_string_coerce_runtime = require("openclaw/plugin-sdk/string-coerce-runtime");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
node_crypto = require_rolldown_runtime.__toESM(node_crypto, 1);
|
|
@@ -245,65 +245,67 @@ const stateMigrations = [
|
|
|
245
245
|
return { preview: [`- ${MSTEAMS_PLUGIN_ID} polls: ${Object.keys(state.polls).length} entries -> plugin state (${require_polls.MSTEAMS_POLLS_NAMESPACE})`] };
|
|
246
246
|
},
|
|
247
247
|
async migrateLegacyState(params) {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
const
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
248
|
+
return await require_polls.withMSTeamsSqliteMutationLock({ stateDir: params.stateDir }, require_polls.MSTEAMS_POLLS_NAMESPACE, async () => {
|
|
249
|
+
const filePath = resolveStateFilePath(params.stateDir, require_polls.MSTEAMS_POLLS_LEGACY_FILENAME);
|
|
250
|
+
const state = await readLegacyJsonFile(filePath, parseLegacyPollStore);
|
|
251
|
+
if (!state) return {
|
|
252
|
+
changes: [],
|
|
253
|
+
warnings: []
|
|
254
|
+
};
|
|
255
|
+
const pollStore = params.context.openPluginStateKeyedStore({
|
|
256
|
+
namespace: require_polls.MSTEAMS_POLLS_NAMESPACE,
|
|
257
|
+
maxEntries: require_polls.MSTEAMS_SQLITE_MAX_POLL_ROWS
|
|
258
|
+
});
|
|
259
|
+
const voteBucketStore = params.context.openPluginStateKeyedStore({
|
|
260
|
+
namespace: require_polls.MSTEAMS_POLL_VOTE_BUCKETS_NAMESPACE,
|
|
261
|
+
maxEntries: require_polls.MSTEAMS_MAX_POLL_VOTE_BUCKET_ROWS
|
|
262
|
+
});
|
|
263
|
+
const requiredPollKeys = new Set((await pollStore.entries()).map((entry) => entry.key));
|
|
264
|
+
const requiredVoteKeys = new Set((await voteBucketStore.entries()).map((entry) => entry.key));
|
|
265
|
+
let imported = 0;
|
|
266
|
+
for (const [pollId, poll] of require_polls.selectRetainedMSTeamsPolls(state.polls)) {
|
|
267
|
+
const { metadata, votes } = require_polls.splitMSTeamsPoll(poll);
|
|
268
|
+
const pollKey = require_polls.buildMSTeamsPollStateKey(pollId);
|
|
269
|
+
requiredPollKeys.add(pollKey);
|
|
270
|
+
const didImportPoll = await pollStore.registerIfAbsent(pollKey, metadata);
|
|
271
|
+
const buckets = /* @__PURE__ */ new Map();
|
|
272
|
+
for (const [voterId, selections] of Object.entries(votes)) {
|
|
273
|
+
const bucket = require_polls.selectMSTeamsPollVoteBucket(pollId, voterId);
|
|
274
|
+
const bucketVotes = buckets.get(bucket) ?? {};
|
|
275
|
+
bucketVotes[voterId] = selections;
|
|
276
|
+
buckets.set(bucket, bucketVotes);
|
|
277
|
+
}
|
|
278
|
+
let importedVoteBucket = false;
|
|
279
|
+
for (const [bucket, bucketVotes] of buckets) {
|
|
280
|
+
const key = require_polls.buildMSTeamsPollVoteBucketKey(pollId, bucket);
|
|
281
|
+
requiredVoteKeys.add(key);
|
|
282
|
+
const existing = await voteBucketStore.lookup(key);
|
|
283
|
+
await voteBucketStore.register(key, {
|
|
284
|
+
pollId,
|
|
285
|
+
bucket,
|
|
286
|
+
votes: {
|
|
287
|
+
...bucketVotes,
|
|
288
|
+
...existing?.votes
|
|
289
|
+
},
|
|
290
|
+
updatedAt: poll.updatedAt ?? poll.createdAt
|
|
291
|
+
});
|
|
292
|
+
importedVoteBucket = true;
|
|
293
|
+
}
|
|
294
|
+
if (didImportPoll || importedVoteBucket) imported++;
|
|
292
295
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}]
|
|
296
|
+
return completeLegacyKeyedImport({
|
|
297
|
+
filePath,
|
|
298
|
+
label: `${MSTEAMS_PLUGIN_ID} poll`,
|
|
299
|
+
imported,
|
|
300
|
+
warnings: [],
|
|
301
|
+
stores: [{
|
|
302
|
+
store: pollStore,
|
|
303
|
+
requiredKeys: requiredPollKeys
|
|
304
|
+
}, {
|
|
305
|
+
store: voteBucketStore,
|
|
306
|
+
requiredKeys: requiredVoteKeys
|
|
307
|
+
}]
|
|
308
|
+
});
|
|
307
309
|
});
|
|
308
310
|
}
|
|
309
311
|
},
|
package/dist/qa-runner-api.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
let openclaw_plugin_sdk_qa_runner_runtime = require("openclaw/plugin-sdk/qa-runner-runtime");
|
|
3
3
|
//#region extensions/msteams/src/qa/cli.ts
|
|
4
4
|
const DEFAULT_MSTEAMS_QA_SCENARIOS = ["channel-canary"];
|
|
5
|
-
const loadMSTeamsQaAdapterRuntime = (0, openclaw_plugin_sdk_qa_runner_runtime.createLazyCliRuntimeLoader)(() => Promise.resolve().then(() => require("
|
|
5
|
+
const loadMSTeamsQaAdapterRuntime = (0, openclaw_plugin_sdk_qa_runner_runtime.createLazyCliRuntimeLoader)(() => Promise.resolve().then(() => require("./.setup/adapter.runtime-ChuVK6k_.cjs")));
|
|
6
6
|
async function runQaMSTeams(options) {
|
|
7
7
|
await (0, openclaw_plugin_sdk_qa_runner_runtime.runLiveTransportQaSuiteCommand)({
|
|
8
8
|
channelId: "msteams",
|
package/dist/runtime-api.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_runtime = require("
|
|
2
|
+
const require_runtime = require("./.setup/runtime-gZTAuFux.cjs");
|
|
3
3
|
let openclaw_plugin_sdk_channel_outbound = require("openclaw/plugin-sdk/channel-outbound");
|
|
4
4
|
let openclaw_plugin_sdk_channel_pairing = require("openclaw/plugin-sdk/channel-pairing");
|
|
5
5
|
let openclaw_plugin_sdk_channel_policy = require("openclaw/plugin-sdk/channel-policy");
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
accountFields: [],
|
|
7
|
-
channelFields: ["appPassword"],
|
|
8
|
-
mode: "channel-only"
|
|
9
|
-
});
|
|
10
|
-
const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
|
|
11
|
-
//#endregion
|
|
12
|
-
exports.channelSecrets = channelSecrets;
|
|
13
|
-
exports.collectRuntimeConfigAssignments = collectRuntimeConfigAssignments;
|
|
14
|
-
exports.secretTargetRegistryEntries = secretTargetRegistryEntries;
|
|
2
|
+
const require_secret_contract_api = require("./.setup/secret-contract-api-ipiUsANg.cjs");
|
|
3
|
+
exports.channelSecrets = require_secret_contract_api.channelSecrets;
|
|
4
|
+
exports.collectRuntimeConfigAssignments = require_secret_contract_api.collectRuntimeConfigAssignments;
|
|
5
|
+
exports.secretTargetRegistryEntries = require_secret_contract_api.secretTargetRegistryEntries;
|
package/dist/setup-entry.cjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
let openclaw_plugin_sdk_channel_entry_contract = require("openclaw/plugin-sdk/channel-entry-contract");
|
|
2
|
+
let node_url = require("node:url");
|
|
1
3
|
//#region extensions/msteams/setup-entry.ts
|
|
2
|
-
var setup_entry_default = (0,
|
|
4
|
+
var setup_entry_default = (0, openclaw_plugin_sdk_channel_entry_contract.defineBundledChannelSetupEntry)({
|
|
3
5
|
importMetaUrl: require("url").pathToFileURL(__filename).href,
|
|
4
6
|
plugin: {
|
|
5
|
-
specifier: "
|
|
7
|
+
specifier: (0, node_url.fileURLToPath)(new URL(".setup/setup-plugin-api-DpiaA8z1.cjs", require("url").pathToFileURL(__filename).href).href),
|
|
6
8
|
exportName: "msteamsSetupPlugin"
|
|
7
9
|
},
|
|
8
10
|
secrets: {
|
|
9
|
-
specifier: "
|
|
11
|
+
specifier: (0, node_url.fileURLToPath)(new URL(".setup/secret-contract-api-ChQdBeU1.cjs", require("url").pathToFileURL(__filename).href).href),
|
|
10
12
|
exportName: "channelSecrets"
|
|
11
13
|
}
|
|
12
14
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_channel_setup = require("
|
|
2
|
+
const require_channel_setup = require("./.setup/channel.setup-BVDfgdCc.cjs");
|
|
3
3
|
exports.msteamsSetupPlugin = require_channel_setup.msteamsSetupPlugin;
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "msteams",
|
|
3
|
+
"categories": [
|
|
4
|
+
"channels"
|
|
5
|
+
],
|
|
3
6
|
"doctorContract": {
|
|
4
7
|
"configRepair": true,
|
|
5
8
|
"stateMigrations": [
|
|
@@ -767,7 +770,7 @@
|
|
|
767
770
|
},
|
|
768
771
|
"streaming.progress.toolProgress": {
|
|
769
772
|
"label": "MS Teams Progress Tool Lines",
|
|
770
|
-
"help": "Show individual tool activity in progress drafts (default: false). Quiet drafts retain plans, approval requests,
|
|
773
|
+
"help": "Show individual tool activity, including intermediate failures, in progress drafts (default: false). Quiet drafts retain plans, approval requests, and authored progress text. Terminal task errors remain visible."
|
|
771
774
|
},
|
|
772
775
|
"streaming.progress.commandText": {
|
|
773
776
|
"label": "MS Teams Progress Command Text",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/msteams",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.5",
|
|
4
4
|
"description": "OpenClaw Microsoft Teams channel plugin for bot conversations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@azure/identity": "4.13.2",
|
|
12
|
-
"@microsoft/teams.api": "2.0.
|
|
13
|
-
"@microsoft/teams.apps": "2.0.
|
|
12
|
+
"@microsoft/teams.api": "2.0.16",
|
|
13
|
+
"@microsoft/teams.apps": "2.0.16",
|
|
14
14
|
"express": "5.2.1",
|
|
15
|
-
"typebox": "1.3.
|
|
16
|
-
"zod": "4.4
|
|
15
|
+
"typebox": "1.3.30",
|
|
16
|
+
"zod": "4.5.4"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@microsoft/teams.common": "2.0.
|
|
19
|
+
"@microsoft/teams.common": "2.0.16",
|
|
20
20
|
"@openclaw/plugin-sdk": "workspace:*",
|
|
21
|
-
"jose": "6.2.
|
|
21
|
+
"jose": "6.2.12",
|
|
22
22
|
"openclaw": "workspace:*"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"openclaw": ">=2026.9.
|
|
25
|
+
"openclaw": ">=2026.9.5"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"openclaw": {
|
|
@@ -67,15 +67,16 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"install": {
|
|
70
|
+
"clawhubSpec": "clawhub:@openclaw/msteams",
|
|
70
71
|
"npmSpec": "@openclaw/msteams",
|
|
71
72
|
"defaultChoice": "npm",
|
|
72
73
|
"minHostVersion": ">=2026.4.10"
|
|
73
74
|
},
|
|
74
75
|
"compat": {
|
|
75
|
-
"pluginApi": ">=2026.9.
|
|
76
|
+
"pluginApi": ">=2026.9.5"
|
|
76
77
|
},
|
|
77
78
|
"build": {
|
|
78
|
-
"openclawVersion": "2026.9.
|
|
79
|
+
"openclawVersion": "2026.9.5",
|
|
79
80
|
"runtimeFormat": "cjs"
|
|
80
81
|
},
|
|
81
82
|
"release": {
|
|
@@ -91,6 +92,8 @@
|
|
|
91
92
|
"files": [
|
|
92
93
|
"dist/**",
|
|
93
94
|
"openclaw.plugin.json",
|
|
94
|
-
"README.md"
|
|
95
|
+
"README.md",
|
|
96
|
+
"assets/icon.png",
|
|
97
|
+
"assets/activity.svg"
|
|
95
98
|
]
|
|
96
99
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|