@openclaw/mattermost 2026.11.7 → 2026.11.10-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/.setup/{callback-host-Bu2cmtfI.mjs → callback-host-CRQTeNn9.mjs} +1 -2
- package/dist/.setup/{channel-plugin-api-CIR_oWe4.mjs → channel-plugin-api-ZcL-ciz_.mjs} +24 -36
- package/dist/.setup/{channel-plugin-api-CKkUu85j.mjs → channel-plugin-api-ZioQ5n8R.mjs} +1 -1
- package/dist/.setup/{channel.runtime-DJ7_CEsh.mjs → channel.runtime-dwusbHyN.mjs} +8 -12
- package/dist/.setup/{client-CR-hGmGr.mjs → client-CVipK0N2.mjs} +1 -2
- package/dist/.setup/{doctor-contract-CjgZkyPm.mjs → doctor-contract-i788N90j.mjs} +6 -11
- package/dist/.setup/{gateway-auth-bypass-Lf99Gilr.mjs → gateway-auth-bypass-DhWaV22L.mjs} +2 -3
- package/dist/.setup/{ingress-identity-D6hxfxvo.mjs → ingress-identity-CtHiOUDu.mjs} +0 -1
- package/dist/.setup/{interactions-D5hhyPam.mjs → interactions-BWApCMHC.mjs} +12 -19
- package/dist/.setup/{monitor-BRSm3K0s.mjs → monitor-HCtx0DCQ.mjs} +109 -73
- package/dist/.setup/{monitor-auth-BxpEUfvc.mjs → monitor-auth-C9TiGGVQ.mjs} +6 -5
- package/dist/.setup/{normalize-CNFRtT1O.mjs → normalize-DuLSV4tT.mjs} +3 -5
- package/dist/.setup/{rolldown-runtime-BBjsoOtd.mjs → rolldown-runtime-782esTHO.mjs} +1 -2
- package/dist/.setup/{runtime-CNB4YGqJ.mjs → runtime-y_L8jPMH.mjs} +1 -2
- package/dist/.setup/{secret-contract-fjlTFCmD.mjs → secret-contract-BkDCURCE.mjs} +1 -2
- package/dist/.setup/{secret-contract-api-Drz4m5pq.mjs → secret-contract-api-DydsmAPQ.mjs} +1 -1
- package/dist/.setup/{send-DM4Aim3C.mjs → send-Dq203uXC.mjs} +49 -37
- package/dist/.setup/{slash-state-DurB286G.mjs → slash-state-Dyd1mDYq.mjs} +11 -17
- package/dist/.source-module-urls/8fb0cb1067b83fd2cf3f3ba0f7a23e627c27e8e3adf1a4ea18753ddb884ff71e.json +1 -1
- package/dist/api.js +2 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/gateway-auth-api.js +1 -1
- package/dist/index.js +1 -2
- package/dist/policy-api.js +1 -1
- package/dist/runtime-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/setup-entry.js +3 -4
- package/dist/slash-route-api.js +1 -1
- package/package.json +4 -4
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-
|
|
2
|
-
import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-
|
|
3
|
-
import { a as createMattermostPost, b as uploadMattermostFile, c as fetchMattermostChannelByName, d as fetchMattermostUser, f as fetchMattermostUserByUsername, g as parseMattermostApiStatus, h as normalizeMattermostBaseUrl, i as createMattermostDirectChannelWithRetry, p as fetchMattermostUserTeams, r as createMattermostClient, s as fetchMattermostChannel, u as fetchMattermostMe } from "./client-
|
|
4
|
-
import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-
|
|
5
|
-
import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-
|
|
1
|
+
import { c as setInteractionSecret, n as buildButtonProps, o as resolveInteractionCallbackUrl } from "./interactions-BWApCMHC.mjs";
|
|
2
|
+
import { n as getOptionalMattermostRuntime, t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
|
|
3
|
+
import { a as createMattermostPost, b as uploadMattermostFile, c as fetchMattermostChannelByName, d as fetchMattermostUser, f as fetchMattermostUserByUsername, g as parseMattermostApiStatus, h as normalizeMattermostBaseUrl, i as createMattermostDirectChannelWithRetry, p as fetchMattermostUserTeams, r as createMattermostClient, s as fetchMattermostChannel, u as fetchMattermostMe } from "./client-CVipK0N2.mjs";
|
|
4
|
+
import { s as resolveMattermostTrustedChatKind, v as loadOutboundMediaFromUrl } from "./monitor-auth-C9TiGGVQ.mjs";
|
|
5
|
+
import { d as resolveMattermostAccount, o as createMattermostAccountClient } from "./normalize-DuLSV4tT.mjs";
|
|
6
6
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { createChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
|
|
8
8
|
import { createMessageReceiptFromOutboundResults, listMessageReceiptPlatformIds } from "openclaw/plugin-sdk/channel-outbound";
|
|
9
9
|
import { resolveChannelMediaMaxBytes } from "openclaw/plugin-sdk/account-helpers";
|
|
10
|
+
import { resolveTextChunksWithFallback } from "openclaw/plugin-sdk/reply-payload";
|
|
10
11
|
import { convertMarkdownTables } from "openclaw/plugin-sdk/text-chunking";
|
|
11
12
|
import { createStaleWhileRevalidateCache, pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
|
|
12
13
|
import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
|
|
13
14
|
import { extensionForMime } from "openclaw/plugin-sdk/media-mime";
|
|
14
15
|
import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
15
|
-
|
|
16
|
+
// extensions/mattermost/src/mattermost/target-resolution.ts
|
|
16
17
|
const mattermostOpaqueTargetCache = createStaleWhileRevalidateCache({
|
|
17
18
|
maxEntries: 1024,
|
|
18
19
|
maxPending: Number.POSITIVE_INFINITY,
|
|
@@ -106,8 +107,7 @@ async function resolveMattermostOpaqueTarget(params) {
|
|
|
106
107
|
to: `${kind === "user" ? "user" : "channel"}:${input}`
|
|
107
108
|
};
|
|
108
109
|
}
|
|
109
|
-
|
|
110
|
-
//#region extensions/mattermost/src/mattermost/send.ts
|
|
110
|
+
// extensions/mattermost/src/mattermost/send.ts
|
|
111
111
|
const MATTERMOST_BOT_USER_CACHE_MAX_ENTRIES = 64;
|
|
112
112
|
const MATTERMOST_TARGET_CACHE_MAX_ENTRIES = 1024;
|
|
113
113
|
const botUserCache = /* @__PURE__ */ new Map();
|
|
@@ -252,6 +252,24 @@ async function sendMessageMattermost(to, text, opts) {
|
|
|
252
252
|
if (uploadError) throw new Error(`Mattermost media upload failed: ${uploadError.message}`, { cause: uploadError });
|
|
253
253
|
throw new Error("Mattermost message is empty");
|
|
254
254
|
}
|
|
255
|
+
const messageParts = fileIds?.length && message ? resolveTextChunksWithFallback(message, core.channel.text.chunkMarkdownTextWithMode(message, core.channel.text.resolveTextChunkLimit(cfg, "mattermost", accountId, { fallbackLimit: account.textChunkLimit ?? 4e3 }), core.channel.text.resolveChunkMode(cfg, "mattermost", accountId))) : [message];
|
|
256
|
+
const kind = fileIds?.length ? "media" : opts.buttons?.length || props ? "card" : "text";
|
|
257
|
+
const posts = [];
|
|
258
|
+
const createResult = (sent) => ({
|
|
259
|
+
messageId: sent[0].messageId,
|
|
260
|
+
channelId,
|
|
261
|
+
receipt: createMessageReceiptFromOutboundResults({
|
|
262
|
+
results: sent.map(({ messageId }) => ({
|
|
263
|
+
channel: "mattermost",
|
|
264
|
+
messageId,
|
|
265
|
+
channelId
|
|
266
|
+
})),
|
|
267
|
+
kind,
|
|
268
|
+
sentAt: sent[0].sentAt,
|
|
269
|
+
...opts.replyToId ? { replyToId: opts.replyToId } : {}
|
|
270
|
+
}),
|
|
271
|
+
content: sent.map((post) => post.content).join("\n")
|
|
272
|
+
});
|
|
255
273
|
client.assertRequestCurrent?.();
|
|
256
274
|
try {
|
|
257
275
|
await opts.onPlatformSendDispatch?.();
|
|
@@ -259,45 +277,39 @@ async function sendMessageMattermost(to, text, opts) {
|
|
|
259
277
|
client.assertRequestCurrent?.();
|
|
260
278
|
throw error;
|
|
261
279
|
}
|
|
262
|
-
const post = await createMattermostPost(client, {
|
|
263
|
-
channelId,
|
|
264
|
-
message,
|
|
265
|
-
rootId: opts.replyToId,
|
|
266
|
-
fileIds,
|
|
267
|
-
props
|
|
268
|
-
});
|
|
269
|
-
const messageId = post.id;
|
|
270
|
-
const receipt = createMessageReceiptFromOutboundResults({
|
|
271
|
-
results: [{
|
|
272
|
-
channel: "mattermost",
|
|
273
|
-
messageId,
|
|
274
|
-
channelId
|
|
275
|
-
}],
|
|
276
|
-
kind: fileIds?.length ? "media" : opts.buttons?.length || props ? "card" : "text",
|
|
277
|
-
...opts.replyToId ? { replyToId: opts.replyToId } : {}
|
|
278
|
-
});
|
|
279
|
-
const result = {
|
|
280
|
-
messageId,
|
|
281
|
-
channelId,
|
|
282
|
-
receipt,
|
|
283
|
-
content: post.message ?? message
|
|
284
|
-
};
|
|
285
280
|
try {
|
|
286
|
-
|
|
281
|
+
for (const [index, part] of messageParts.entries()) {
|
|
282
|
+
const post = await createMattermostPost(client, {
|
|
283
|
+
channelId,
|
|
284
|
+
message: part,
|
|
285
|
+
rootId: opts.replyToId,
|
|
286
|
+
...index === 0 ? {
|
|
287
|
+
fileIds,
|
|
288
|
+
props
|
|
289
|
+
} : {}
|
|
290
|
+
});
|
|
291
|
+
posts.push({
|
|
292
|
+
messageId: post.id,
|
|
293
|
+
content: post.message ?? part,
|
|
294
|
+
sentAt: Date.now()
|
|
295
|
+
});
|
|
296
|
+
await opts.onDeliveryResult?.(createResult(posts.slice(-1)));
|
|
297
|
+
}
|
|
287
298
|
getOptionalMattermostRuntime()?.channel.activity.record({
|
|
288
299
|
channel: "mattermost",
|
|
289
300
|
accountId,
|
|
290
301
|
direction: "outbound"
|
|
291
302
|
});
|
|
292
303
|
} catch (error) {
|
|
304
|
+
if (posts.length === 0) throw error;
|
|
305
|
+
const sent = createResult(posts);
|
|
293
306
|
throw createChannelPartialDeliveryError(error, {
|
|
294
|
-
messageIds: listMessageReceiptPlatformIds(receipt),
|
|
295
|
-
receipt,
|
|
307
|
+
messageIds: listMessageReceiptPlatformIds(sent.receipt),
|
|
308
|
+
receipt: sent.receipt,
|
|
296
309
|
visibleReplySent: true,
|
|
297
|
-
content:
|
|
310
|
+
content: sent.content
|
|
298
311
|
});
|
|
299
312
|
}
|
|
300
|
-
return
|
|
313
|
+
return createResult(posts);
|
|
301
314
|
}
|
|
302
|
-
//#endregion
|
|
303
315
|
export { resolveMattermostOpaqueTarget as n, sendMessageMattermost as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getMattermostRuntime } from "./runtime-
|
|
2
|
-
import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-
|
|
3
|
-
import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-
|
|
4
|
-
import { O as sendHttpRequestRejection, S as readRequestBodyWithLimit, a as normalizeMattermostAllowList, b as logTypingFailure, g as isRequestBodyLimitError, m as createWebhookInFlightLimiter, n as authorizeMattermostCommandInvocation, t as MATTERMOST_PAIRING_QUEUE_FULL_TEXT, u as buildPreparedModelsProviderData } from "./monitor-auth-
|
|
5
|
-
import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-
|
|
6
|
-
import { t as sendMessageMattermost } from "./send-
|
|
1
|
+
import { t as getMattermostRuntime } from "./runtime-y_L8jPMH.mjs";
|
|
2
|
+
import { n as normalizeCallbackPath, r as resolveCallbackHost, t as collectMattermostCallbackPaths } from "./callback-host-CRQTeNn9.mjs";
|
|
3
|
+
import { g as parseMattermostApiStatus, r as createMattermostClient, s as fetchMattermostChannel, v as sendMattermostTyping } from "./client-CVipK0N2.mjs";
|
|
4
|
+
import { O as sendHttpRequestRejection, S as readRequestBodyWithLimit, a as normalizeMattermostAllowList, b as logTypingFailure, g as isRequestBodyLimitError, m as createWebhookInFlightLimiter, n as authorizeMattermostCommandInvocation, t as MATTERMOST_PAIRING_QUEUE_FULL_TEXT, u as buildPreparedModelsProviderData } from "./monitor-auth-C9TiGGVQ.mjs";
|
|
5
|
+
import { a as resolveMattermostPresentation, f as resolveMattermostReplyToMode, i as requiresMattermostMediaUpload } from "./normalize-DuLSV4tT.mjs";
|
|
6
|
+
import { t as sendMessageMattermost } from "./send-Dq203uXC.mjs";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import { sendJson } from "openclaw/plugin-sdk/http-response-runtime";
|
|
9
9
|
import { safeEqualSecret } from "openclaw/plugin-sdk/security-runtime";
|
|
@@ -251,8 +251,7 @@ function resolveCallbackUrl(params) {
|
|
|
251
251
|
const path = normalizeCallbackPath(params.config.callbackPath);
|
|
252
252
|
return `http://${host}:${params.gatewayPort}${path}`;
|
|
253
253
|
}
|
|
254
|
-
|
|
255
|
-
//#region extensions/mattermost/src/mattermost/model-picker.ts
|
|
254
|
+
// extensions/mattermost/src/mattermost/model-picker.ts
|
|
256
255
|
const MATTERMOST_MODEL_PICKER_CONTEXT_KEY = "oc_model_picker";
|
|
257
256
|
const MODELS_PAGE_SIZE = 8;
|
|
258
257
|
const ACTION_IDS = {
|
|
@@ -468,8 +467,7 @@ function renderMattermostModelsPickerView(params) {
|
|
|
468
467
|
buttons: rows
|
|
469
468
|
};
|
|
470
469
|
}
|
|
471
|
-
|
|
472
|
-
//#region extensions/mattermost/src/mattermost/monitor-context.ts
|
|
470
|
+
// extensions/mattermost/src/mattermost/monitor-context.ts
|
|
473
471
|
function shouldUpdateMattermostDraftToolProgress(account) {
|
|
474
472
|
return account.streamingMode !== "off" && resolveChannelStreamingPreviewToolProgress(account.config, account.streamingMode !== "progress", account.streamingMode);
|
|
475
473
|
}
|
|
@@ -521,8 +519,7 @@ function resolveMattermostThreadSessionContext(params) {
|
|
|
521
519
|
parentSessionKey: threadKeys.parentSessionKey
|
|
522
520
|
};
|
|
523
521
|
}
|
|
524
|
-
|
|
525
|
-
//#region extensions/mattermost/src/mattermost/reply-delivery.ts
|
|
522
|
+
// extensions/mattermost/src/mattermost/reply-delivery.ts
|
|
526
523
|
/** Represents distinct provider posts without collapsing their visible boundary. */
|
|
527
524
|
function joinMattermostVisibleContent(contents) {
|
|
528
525
|
return contents.filter((content) => Boolean(content)).join("\n");
|
|
@@ -574,8 +571,7 @@ async function deliverMattermostReplyPayload(params) {
|
|
|
574
571
|
...accepted.result()
|
|
575
572
|
};
|
|
576
573
|
}
|
|
577
|
-
|
|
578
|
-
//#region extensions/mattermost/src/mattermost/slash-http.ts
|
|
574
|
+
// extensions/mattermost/src/mattermost/slash-http.ts
|
|
579
575
|
const MAX_BODY_BYTES = 65536;
|
|
580
576
|
const BODY_READ_TIMEOUT_MS = 5e3;
|
|
581
577
|
const COMMAND_LOOKUP_TIMEOUT_MS = 1e3;
|
|
@@ -1034,8 +1030,7 @@ function createSlashCommandHttpHandler(params) {
|
|
|
1034
1030
|
}
|
|
1035
1031
|
};
|
|
1036
1032
|
}
|
|
1037
|
-
|
|
1038
|
-
//#region extensions/mattermost/src/mattermost/slash-state.ts
|
|
1033
|
+
// extensions/mattermost/src/mattermost/slash-state.ts
|
|
1039
1034
|
const slashRouteInFlightLimiter = createWebhookInFlightLimiter();
|
|
1040
1035
|
const SLASH_ROUTE_IN_FLIGHT_KEY = "mattermost:slash";
|
|
1041
1036
|
const SLASH_AUTHENTICATED_IN_FLIGHT_KEY = `${SLASH_ROUTE_IN_FLIGHT_KEY}:authenticated`;
|
|
@@ -1180,5 +1175,4 @@ function registerSlashCommandRoute(api) {
|
|
|
1180
1175
|
handler: routeHandler
|
|
1181
1176
|
});
|
|
1182
1177
|
}
|
|
1183
|
-
//#endregion
|
|
1184
1178
|
export { resolveSlashCommandConfig as C, resolveCallbackUrl as S, resolveMattermostModelPickerCurrentModel as _, deliverMattermostReplyPayload as a, isSlashCommandsEnabled as b, canFinalizeMattermostPreviewInPlace as c, resolveMattermostReplyRootId as d, resolveMattermostThreadSessionContext as f, renderMattermostProviderPickerView as g, renderMattermostModelsPickerView as h, registerSlashCommandRoute as i, formatMattermostFinalDeliveryOutcomeLog as l, parseMattermostModelPickerContext as m, deactivateSlashCommands as n, joinMattermostVisibleContent as o, shouldUpdateMattermostDraftToolProgress as p, getSlashCommandState as r, buildMattermostButtonInteractionMessageSid as s, activateSlashCommands as t, resolveMattermostInteractionReplyRootId as u, DEFAULT_COMMAND_SPECS as v, registerSlashCommands as x, cleanupSlashCommands as y };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/mattermost/api.ts"},{"output":"channel-plugin-api.js","source":"extensions/mattermost/channel-plugin-api.ts"},{"output":"doctor-contract-api.js","source":"extensions/mattermost/doctor-contract-api.ts"},{"output":"gateway-auth-api.js","source":"extensions/mattermost/gateway-auth-api.ts"},{"output":"index.js","source":"extensions/mattermost/index.ts"},{"output":"policy-api.js","source":"extensions/mattermost/policy-api.ts"},{"output":"runtime-api.js","source":"extensions/mattermost/runtime-api.ts"},{"output":"secret-contract-api.js","source":"extensions/mattermost/secret-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/mattermost/setup-entry.ts"},{"output":"slash-route-api.js","source":"extensions/mattermost/slash-route-api.ts"}],"chunks":[{"output":".setup/callback-host-
|
|
1
|
+
{"version":3,"entries":[{"output":"api.js","source":"extensions/mattermost/api.ts"},{"output":"channel-plugin-api.js","source":"extensions/mattermost/channel-plugin-api.ts"},{"output":"doctor-contract-api.js","source":"extensions/mattermost/doctor-contract-api.ts"},{"output":"gateway-auth-api.js","source":"extensions/mattermost/gateway-auth-api.ts"},{"output":"index.js","source":"extensions/mattermost/index.ts"},{"output":"policy-api.js","source":"extensions/mattermost/policy-api.ts"},{"output":"runtime-api.js","source":"extensions/mattermost/runtime-api.ts"},{"output":"secret-contract-api.js","source":"extensions/mattermost/secret-contract-api.ts"},{"output":"setup-entry.js","source":"extensions/mattermost/setup-entry.ts"},{"output":"slash-route-api.js","source":"extensions/mattermost/slash-route-api.ts"}],"chunks":[{"output":".setup/callback-host-CRQTeNn9.mjs","sha256":"3ece9a206a5435985f81039d322aeaf152623f20d1cb22c84fc2ddb848b38a7a","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/callback-host.ts"]},{"output":".setup/channel-plugin-api-ZcL-ciz_.mjs","sha256":"e6bf08b3f6c30c604dbddb551acdbd0129fe8dbb88a18bd30346768238b103fb","facadeSource":null,"sources":["extensions/mattermost/src/approval-auth.ts","extensions/mattermost/src/channel-config-shared.ts","extensions/mattermost/src/channel-send-result.ts","extensions/mattermost/src/channel.setup.ts","extensions/mattermost/src/channel.ts","extensions/mattermost/src/config-schema-core.ts","extensions/mattermost/src/config-surface.ts","extensions/mattermost/src/doctor.ts","extensions/mattermost/src/group-mentions.ts","extensions/mattermost/src/mattermost/emoji.ts","extensions/mattermost/src/session-route.ts","extensions/mattermost/src/setup-core.ts","extensions/mattermost/src/setup-surface.ts"]},{"output":".setup/channel-plugin-api-ZioQ5n8R.mjs","sha256":"0dcdf0bd9ff8ccdb7bb6228aa3e036a47bada92db9ae7371e104918e6fdc5d93","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":".setup/channel.runtime-dwusbHyN.mjs","sha256":"ba59c774bd77275c5c3dd39c0e5e4cbb31fe170b17c95b1c48f21be905aa17f8","facadeSource":"extensions/mattermost/src/channel.runtime.ts","sources":["extensions/mattermost/src/mattermost/directory.ts","extensions/mattermost/src/mattermost/probe.ts","extensions/mattermost/src/mattermost/reactions.ts","extensions/mattermost/src/mattermost/read.ts"]},{"output":".setup/client-CVipK0N2.mjs","sha256":"7fbac6d265a554816e13cb913cc13f55336e58222e5e1ca3a5d46ee11e5f92f5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/client.ts"]},{"output":".setup/doctor-contract-i788N90j.mjs","sha256":"19cd8daa0e168e02f368e6e610fe44d86ed62ad513e45c979820ec174ec42d66","facadeSource":null,"sources":["extensions/mattermost/src/doctor-contract.ts","packages/normalization-core/src/record-coerce.ts","src/config/channel-config-normalization.ts","src/plugin-sdk/legacy-webhook-listener-migration.ts"]},{"output":".setup/gateway-auth-bypass-DhWaV22L.mjs","sha256":"ebe57f4c2a254b643ca60ccad75636d8a4cb1df18a5dbfe97dbc1516b8f5e304","facadeSource":null,"sources":["extensions/mattermost/src/gateway-auth-bypass.ts"]},{"output":".setup/ingress-identity-CtHiOUDu.mjs","sha256":"02e94faf15dae1f0c6d6975b58986de68f34cfa7f521b7671d908bb7888f5190","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/ingress-identity.ts"]},{"output":".setup/interactions-BWApCMHC.mjs","sha256":"520048049d234671c62e9ddcda9c50e0aed4ccb18008d6c5ef1a5dc8566c374a","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/interactions.ts","packages/normalization-core/src/string-coerce.ts","src/gateway/gateway-http-route-contracts.ts","src/gateway/security-path.ts","src/gateway/server/plugins-http/path-context.ts","src/plugins/http-path-prefix.ts"]},{"output":".setup/monitor-auth-C9TiGGVQ.mjs","sha256":"f0e700a42a9db83fa687594fdda97d666c4485c8bdf6fd215d7ab176aee67670","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/monitor-auth.ts"]},{"output":".setup/monitor-HCtx0DCQ.mjs","sha256":"ad2da7898ab42bd92f1eb50654606388960ee94c849375aa7c5629738e8f64f7","facadeSource":"extensions/mattermost/src/mattermost/monitor.ts","sources":["extensions/mattermost/src/mattermost/draft-stream.ts","extensions/mattermost/src/mattermost/monitor-draft-delivery.ts","extensions/mattermost/src/mattermost/monitor-event-plan.ts","extensions/mattermost/src/mattermost/monitor-helpers.ts","extensions/mattermost/src/mattermost/monitor-ingress.ts","extensions/mattermost/src/mattermost/monitor-interaction-dispatch.ts","extensions/mattermost/src/mattermost/monitor-interactions.ts","extensions/mattermost/src/mattermost/monitor-model-picker.ts","extensions/mattermost/src/mattermost/monitor-onchar.ts","extensions/mattermost/src/mattermost/monitor-posts.ts","extensions/mattermost/src/mattermost/monitor-reactions.ts","extensions/mattermost/src/mattermost/monitor-resources.ts","extensions/mattermost/src/mattermost/monitor-slash.ts","extensions/mattermost/src/mattermost/monitor-thread-backfill.ts","extensions/mattermost/src/mattermost/monitor-turn.ts","extensions/mattermost/src/mattermost/monitor-websocket.ts","extensions/mattermost/src/mattermost/monitor.ts","extensions/mattermost/src/mattermost/reconnect.ts","extensions/mattermost/src/mattermost/thread-participation.ts","src/channels/mention-gating.ts"]},{"output":".setup/normalize-DuLSV4tT.mjs","sha256":"648b2c397fc7ad9fc6f0b01b06ffc04a2212b6f2147d40da899574664def20a5","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/accounts.ts","extensions/mattermost/src/normalize.ts"]},{"output":".setup/rolldown-runtime-782esTHO.mjs","sha256":"5ee95aea427a7c3b63d18f4d901f7c824b836077e85aee06ae7d598c1974e2a6","facadeSource":null,"sources":[]},{"output":".setup/runtime-y_L8jPMH.mjs","sha256":"57c233e3dc66946040735eaa3183b5a6c144d5251a6a4a9a1900bb324406a504","facadeSource":null,"sources":["extensions/mattermost/src/runtime.ts"]},{"output":".setup/secret-contract-api-DydsmAPQ.mjs","sha256":"f9cc7ef69d0549017892f16541a0be494d2eceac6798f239262a2f95df8bf2a1","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":".setup/secret-contract-BkDCURCE.mjs","sha256":"457ca9ffc0a682b89037969e92e753a79a178ce8812fe9d0769727b77227ca82","facadeSource":null,"sources":["extensions/mattermost/src/secret-contract.ts"]},{"output":".setup/send-Dq203uXC.mjs","sha256":"da2e24505fce4b005b919ac8e051a1aec35692112e62199c27841bb53255fd69","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/send.ts","extensions/mattermost/src/mattermost/target-resolution.ts"]},{"output":".setup/slash-state-Dyd1mDYq.mjs","sha256":"c9cc24bd0db16fb28319ebb41be86fc30a6d877ae7d798603232b93402a97601","facadeSource":null,"sources":["extensions/mattermost/src/mattermost/model-picker.ts","extensions/mattermost/src/mattermost/monitor-context.ts","extensions/mattermost/src/mattermost/reply-delivery.ts","extensions/mattermost/src/mattermost/slash-commands.ts","extensions/mattermost/src/mattermost/slash-http.ts","extensions/mattermost/src/mattermost/slash-state.ts"]},{"output":"api.js","sha256":"3b3d532dc195c4dc8b88838505bced250aa6bc4ef5481f46b3125513e21b0498","facadeSource":"extensions/mattermost/api.ts","sources":[]},{"output":"channel-plugin-api.js","sha256":"b600959510c28dc8fcd1b51ef77249c624dc0c45e65c9a783010c1d5d744cf8f","facadeSource":"extensions/mattermost/channel-plugin-api.ts","sources":[]},{"output":"doctor-contract-api.js","sha256":"e991f0b249cd5e4dc0b33c1a470fdb11f5670db110064e232afeb875e0f36774","facadeSource":"extensions/mattermost/doctor-contract-api.ts","sources":[]},{"output":"gateway-auth-api.js","sha256":"70ab9f2ff147f0c5e640e800a930ee2a43cc856ea8b4269ec0a17b725a3f293c","facadeSource":"extensions/mattermost/gateway-auth-api.ts","sources":[]},{"output":"index.js","sha256":"6a47a0b97182b9fbf1bc11a30fce13a8f181c829afa5ec0f8f90adbe391b0d32","facadeSource":"extensions/mattermost/index.ts","sources":["extensions/mattermost/index.ts"]},{"output":"policy-api.js","sha256":"7011d2f089cb23ce900003d51cd9b22d05dfce728c0ada82dd4604efc1703c58","facadeSource":"extensions/mattermost/policy-api.ts","sources":[]},{"output":"runtime-api.js","sha256":"550cdb1c39c6ada41b6e052272563d8b17440c1715d0bb6fb346762cdba91345","facadeSource":"extensions/mattermost/runtime-api.ts","sources":[]},{"output":"secret-contract-api.js","sha256":"21c25923cfccb84def9af62fbbec3d608904df504798c95df366523f4129a478","facadeSource":"extensions/mattermost/secret-contract-api.ts","sources":[]},{"output":"setup-entry.js","sha256":"47f9a4745114aff678025e4857ec0dd7a779e25a8cdfc43225fd030c30342ae4","facadeSource":"extensions/mattermost/setup-entry.ts","sources":["extensions/mattermost/setup-entry.ts"]},{"output":"slash-route-api.js","sha256":"10aa64c22b3da06d45adbc96f3bdadd663ba24f443979b89c7999d76e16b8234","facadeSource":"extensions/mattermost/slash-route-api.ts","sources":[]}],"unrenderedSources":["extensions/mattermost/api.ts","extensions/mattermost/channel-plugin-api.ts","extensions/mattermost/config-doctor-api.ts","extensions/mattermost/doctor-contract-api.ts","extensions/mattermost/gateway-auth-api.ts","extensions/mattermost/policy-api.ts","extensions/mattermost/runtime-api.ts","extensions/mattermost/secret-contract-api.ts","extensions/mattermost/slash-route-api.ts","extensions/mattermost/src/channel.runtime.ts","extensions/mattermost/src/mattermost/runtime-api.ts"]}
|
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as buildButtonAttachments } from "./.setup/interactions-
|
|
2
|
-
import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-
|
|
1
|
+
import { t as buildButtonAttachments } from "./.setup/interactions-BWApCMHC.mjs";
|
|
2
|
+
import { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-C9TiGGVQ.mjs";
|
|
3
3
|
export { buildButtonAttachments, isMattermostSenderAllowed };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-
|
|
1
|
+
export { t as mattermostPlugin, n as mattermostSetupPlugin } from "./.setup/channel-plugin-api-ZcL-ciz_.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-
|
|
1
|
+
export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-i788N90j.mjs";
|
package/dist/gateway-auth-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as resolveGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-
|
|
1
|
+
export { t as resolveGatewayAuthBypassPaths } from "./.setup/gateway-auth-bypass-DhWaV22L.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineBundledChannelEntry, loadBundledEntryExportSync } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
|
-
|
|
2
|
+
// extensions/mattermost/index.ts
|
|
3
3
|
function registerSlashCommandRoute(api) {
|
|
4
4
|
loadBundledEntryExportSync(import.meta.url, {
|
|
5
5
|
specifier: "./slash-route-api.js",
|
|
@@ -27,5 +27,4 @@ var mattermost_default = defineBundledChannelEntry({
|
|
|
27
27
|
registerSlashCommandRoute(api);
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
//#endregion
|
|
31
30
|
export { mattermost_default as default };
|
package/dist/policy-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-
|
|
1
|
+
export { i as isMattermostSenderAllowed } from "./.setup/monitor-auth-C9TiGGVQ.mjs";
|
package/dist/runtime-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as setMattermostRuntime } from "./.setup/runtime-
|
|
1
|
+
export { r as setMattermostRuntime } from "./.setup/runtime-y_L8jPMH.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-
|
|
1
|
+
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-BkDCURCE.mjs";
|
package/dist/setup-entry.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
|
|
3
|
+
// extensions/mattermost/setup-entry.ts
|
|
4
4
|
var setup_entry_default = defineBundledChannelSetupEntry({
|
|
5
5
|
importMetaUrl: import.meta.url,
|
|
6
6
|
plugin: {
|
|
7
|
-
specifier: fileURLToPath(new URL(".setup/channel-plugin-api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/channel-plugin-api-ZioQ5n8R.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "mattermostSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-DydsmAPQ.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
//#endregion
|
|
16
15
|
export { setup_entry_default as default };
|
package/dist/slash-route-api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as registerSlashCommandRoute } from "./.setup/slash-state-
|
|
1
|
+
export { i as registerSlashCommandRoute } from "./.setup/slash-state-Dyd1mDYq.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/mattermost",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.10-beta.2",
|
|
4
4
|
"description": "OpenClaw Mattermost channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"zod": "4.6.7"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"openclaw": ">=2026.11.
|
|
14
|
+
"openclaw": ">=2026.11.10-beta.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"openclaw": {
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
"allowInvalidConfigRecovery": true
|
|
94
94
|
},
|
|
95
95
|
"compat": {
|
|
96
|
-
"pluginApi": ">=2026.11.
|
|
96
|
+
"pluginApi": ">=2026.11.10-beta.2"
|
|
97
97
|
},
|
|
98
98
|
"build": {
|
|
99
|
-
"openclawVersion": "2026.11.
|
|
99
|
+
"openclawVersion": "2026.11.10-beta.2",
|
|
100
100
|
"bundledDist": false
|
|
101
101
|
},
|
|
102
102
|
"release": {
|