@openclaw/msteams 2026.7.2-beta.7 → 2026.8.1-beta.2
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/dist/adapter.runtime-DEYjslFX.cjs +309 -0
- package/dist/api.cjs +2 -2
- package/dist/{channel-C7QxRjBW.cjs → channel-DfCbi0d_.cjs} +205 -205
- package/dist/channel-plugin-api.cjs +1 -1
- package/dist/{channel.runtime-DjY6d_hd.cjs → channel.runtime-BJmueA4q.cjs} +91 -61
- package/dist/directory-contract-api.cjs +1 -1
- package/dist/doctor-contract-api.cjs +18 -17
- package/dist/{messenger-DTiaLTDO.cjs → messenger-BqA8G3pY.cjs} +21 -12
- package/dist/{oauth-CW6jVGp8.cjs → oauth-DktsbN22.cjs} +12 -25
- package/dist/{polls-BWKNpBSg.cjs → polls-DvuJvaDG.cjs} +6 -39
- package/dist/qa-runner-api.cjs +36 -0
- package/dist/{resolve-allowlist-CEj9sABO.cjs → resolve-allowlist-C6YcNC9a.cjs} +229 -167
- package/dist/rolldown-runtime-D6vf50IK.cjs +28 -0
- package/dist/secret-contract-api.cjs +6 -30
- package/dist/setup-plugin-api.cjs +2 -3
- package/dist/{setup-surface-ByWjaXEn.cjs → setup-surface-DAhGL2h8.cjs} +5 -10
- package/dist/{src-B_BdEvcr.cjs → src-Bz9wY0Mr.cjs} +344 -180
- package/dist/{sso-token-store-TKYk_Ms7.cjs → sso-token-store-ChhO1f4i.cjs} +1 -1
- package/openclaw.plugin.json +34 -8
- package/package.json +4 -5
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
//#endregion
|
|
23
|
+
Object.defineProperty(exports, "__toESM", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return __toESM;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -1,37 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let openclaw_plugin_sdk_channel_secret_basic_runtime = require("openclaw/plugin-sdk/channel-secret-basic-runtime");
|
|
3
2
|
//#region extensions/msteams/src/secret-contract.ts
|
|
4
|
-
const
|
|
3
|
+
const channelSecrets = (0, require("openclaw/plugin-sdk/channel-secret-basic-runtime").createSimpleChannelSecretContract)({
|
|
5
4
|
channelKey: "msteams",
|
|
6
|
-
|
|
5
|
+
label: "Microsoft Teams",
|
|
6
|
+
accountFields: [],
|
|
7
|
+
channelFields: ["appPassword"],
|
|
8
|
+
mode: "channel-only"
|
|
7
9
|
});
|
|
8
|
-
|
|
9
|
-
const msteams = (0, openclaw_plugin_sdk_channel_secret_basic_runtime.getChannelRecord)(params.config, "msteams");
|
|
10
|
-
if (!msteams) return;
|
|
11
|
-
(0, openclaw_plugin_sdk_channel_secret_basic_runtime.collectSecretInputAssignment)({
|
|
12
|
-
value: msteams.appPassword,
|
|
13
|
-
path: "channels.msteams.appPassword",
|
|
14
|
-
expected: "string",
|
|
15
|
-
defaults: params.defaults,
|
|
16
|
-
context: params.context,
|
|
17
|
-
active: msteams.enabled !== false,
|
|
18
|
-
inactiveReason: "Microsoft Teams channel is disabled.",
|
|
19
|
-
owner: {
|
|
20
|
-
ownerKind: "account",
|
|
21
|
-
ownerId: "msteams:default",
|
|
22
|
-
requiredForGateway: false,
|
|
23
|
-
disposition: "isolate",
|
|
24
|
-
contract: msteams
|
|
25
|
-
},
|
|
26
|
-
apply: (value) => {
|
|
27
|
-
msteams.appPassword = value;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
const channelSecrets = {
|
|
32
|
-
secretTargetRegistryEntries,
|
|
33
|
-
collectRuntimeConfigAssignments
|
|
34
|
-
};
|
|
10
|
+
const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
|
|
35
11
|
//#endregion
|
|
36
12
|
exports.channelSecrets = channelSecrets;
|
|
37
13
|
exports.collectRuntimeConfigAssignments = collectRuntimeConfigAssignments;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_resolve_allowlist = require("./resolve-allowlist-
|
|
3
|
-
const require_setup_surface = require("./setup-surface-
|
|
2
|
+
const require_resolve_allowlist = require("./resolve-allowlist-C6YcNC9a.cjs");
|
|
3
|
+
const require_setup_surface = require("./setup-surface-DAhGL2h8.cjs");
|
|
4
4
|
const require_config_schema = require("./config-schema-C4CszdDi.cjs");
|
|
5
5
|
let openclaw_plugin_sdk_account_helpers = require("openclaw/plugin-sdk/account-helpers");
|
|
6
6
|
//#region extensions/msteams/src/channel.setup.ts
|
|
@@ -31,7 +31,6 @@ const msteamsSetupPlugin = {
|
|
|
31
31
|
})
|
|
32
32
|
},
|
|
33
33
|
setupWizard: require_setup_surface.msteamsSetupWizard,
|
|
34
|
-
setup: require_setup_surface.msteamsSetupAdapter,
|
|
35
34
|
setupContract: require_setup_surface.msteamsSetupContract
|
|
36
35
|
};
|
|
37
36
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_resolve_allowlist = require("./resolve-allowlist-
|
|
1
|
+
const require_resolve_allowlist = require("./resolve-allowlist-C6YcNC9a.cjs");
|
|
2
2
|
let openclaw_plugin_sdk_string_coerce_runtime = require("openclaw/plugin-sdk/string-coerce-runtime");
|
|
3
3
|
let openclaw_plugin_sdk_account_id = require("openclaw/plugin-sdk/account-id");
|
|
4
4
|
let openclaw_plugin_sdk_allow_from = require("openclaw/plugin-sdk/allow-from");
|
|
@@ -93,8 +93,8 @@ function createMSTeamsSetupWizardBase() {
|
|
|
93
93
|
let appPassword = null;
|
|
94
94
|
let tenantId = null;
|
|
95
95
|
if (!resolved && !hasConfigCreds) await noteMSTeamsCredentialHelp(prompter);
|
|
96
|
-
if (canUseEnv) if (await prompter.confirm({
|
|
97
|
-
message: t$1("wizard.msteams.envPrompt"),
|
|
96
|
+
if (canUseEnv || hasConfigCreds) if (await prompter.confirm({
|
|
97
|
+
message: t$1(canUseEnv ? "wizard.msteams.envPrompt" : "wizard.msteams.credentialsKeep"),
|
|
98
98
|
initialValue: true
|
|
99
99
|
})) next = msteamsSetupAdapter.applyAccountConfig({
|
|
100
100
|
cfg: next,
|
|
@@ -102,12 +102,7 @@ function createMSTeamsSetupWizardBase() {
|
|
|
102
102
|
input: {}
|
|
103
103
|
});
|
|
104
104
|
else ({appId, appPassword, tenantId} = await promptMSTeamsCredentials(prompter));
|
|
105
|
-
else
|
|
106
|
-
if (!await prompter.confirm({
|
|
107
|
-
message: t$1("wizard.msteams.credentialsKeep"),
|
|
108
|
-
initialValue: true
|
|
109
|
-
})) ({appId, appPassword, tenantId} = await promptMSTeamsCredentials(prompter));
|
|
110
|
-
} else ({appId, appPassword, tenantId} = await promptMSTeamsCredentials(prompter));
|
|
105
|
+
else ({appId, appPassword, tenantId} = await promptMSTeamsCredentials(prompter));
|
|
111
106
|
if (appId && appPassword && tenantId) next = {
|
|
112
107
|
...next,
|
|
113
108
|
channels: {
|
|
@@ -471,7 +466,7 @@ const msteamsSetupWizard = {
|
|
|
471
466
|
};
|
|
472
467
|
let oauthModule;
|
|
473
468
|
try {
|
|
474
|
-
oauthModule = await Promise.resolve().then(() => require("./oauth-
|
|
469
|
+
oauthModule = await Promise.resolve().then(() => require("./oauth-DktsbN22.cjs"));
|
|
475
470
|
} catch (err) {
|
|
476
471
|
await noteDelegatedAuthFailure(err);
|
|
477
472
|
return {
|