@openclaw/slack 2026.9.1-beta.1 → 2026.9.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.
- package/dist/{account-inspect-CN2hBsim.js → account-inspect-C3sePHWa.js} +3 -3
- package/dist/account-inspect-api.js +1 -1
- package/dist/{action-runtime-BoSeX09X.js → action-runtime-DND4Pyp2.js} +84 -66
- package/dist/action-runtime.runtime-CEhbmS-Z.js +2 -0
- package/dist/{actions-XdQyjG_p.js → actions-fh66A6lc.js} +198 -54
- package/dist/api.js +14 -14
- package/dist/{approval-handler.runtime-DxXfGX_Z.js → approval-handler.runtime-D7d8sKM0.js} +18 -12
- package/dist/{channel-C_vnTgxo.js → channel-4m8IAdMD.js} +70 -128
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-type-j-2lalcC.js → channel-type-3-SqEMVc.js} +2 -2
- package/dist/{channel.setup-aal8tokM.js → channel.setup-t_ghLGb_.js} +23 -22
- package/dist/{config-schema-CN3XZRX5.js → config-schema-bP3eV2ra.js} +25 -16
- package/dist/{conversation-binding-route-DFVLUdYF.js → conversation-binding-route-Vee8Dgbf.js} +2 -2
- package/dist/{cursor-pages-eX7p8Wwt.js → cursor-pages-ByFwo-Py.js} +7 -1
- package/dist/{directory-config-DqfQ42OV.js → directory-config-Bmw4ykSy.js} +4 -3
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-lC6X_Ru-.js → directory-live-q32AW7N1.js} +3 -8
- package/dist/{doctor-contract-BAy7-EUQ.js → doctor-contract-BNjw9bxb.js} +5 -4
- package/dist/doctor-contract-api.js +1 -1
- package/dist/{group-policy-CU1tEGpS.js → group-policy-BKjMqT-8.js} +161 -260
- package/dist/{message-tool-api-CWosHSi5.js → message-tool-api-uNEfQYGY.js} +19 -2
- package/dist/message-tool-api.js +1 -1
- package/dist/{monitor-DrNCGneD.js → monitor-Chwu_SiZ.js} +3 -3
- package/dist/{outbound-adapter-DkT2vUE9.js → outbound-adapter-BB8wAjm5.js} +95 -91
- package/dist/{pipeline.runtime-CRRng_Nw.js → pipeline.runtime-BklS_NEj.js} +347 -505
- package/dist/{policy-BoP6t88v.js → policy-D7PKkiet.js} +7 -4
- package/dist/{probe-4_aHtVT3.js → probe-gj5yQgN2.js} +210 -3
- package/dist/{provider-D4nDgxCh.js → provider-Do50wMWn.js} +168 -153
- package/dist/{relay-source-CEmze11m.js → relay-source-DWuduiJ2.js} +6 -4
- package/dist/{replies-D9XMM_S0.js → replies-Dc6WVh_Q.js} +20 -16
- package/dist/{resolve-channels-DSamDgVs.js → resolve-channels-CU7Bg5Ka.js} +6 -10
- package/dist/{resolve-users-CIzwbaJR.js → resolve-users-DrhttvRQ.js} +5 -4
- package/dist/runtime-api.js +10 -10
- package/dist/{scopes-BBrUzpBH.js → scopes-B9HRguDe.js} +1 -1
- package/dist/{send-DtjEnlLh.js → send-Djswy6lf.js} +24 -16
- package/dist/send-results-eeOu_HYm.js +23 -0
- package/dist/{send.runtime-DQeNKa2J.js → send.runtime-__WVTWLQ.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-CsBCM4rP.js → setup-surface-DO0e-MMS.js} +5 -5
- package/dist/{shared-D9GeeR9K.js → shared-DEQBEKBL.js} +7 -5
- package/dist/{slash-dispatch.runtime-Chr3YHnT.js → slash-dispatch.runtime-C3B4h5ZM.js} +2 -2
- package/dist/{target-parsing-BnMD2ZqZ.js → target-parsing-PbxGDbr9.js} +11 -6
- package/dist/{targets-Cx5W_n3W.js → targets-7FexXJ62.js} +1 -1
- package/dist/{thread-ts-DUGhaYKq.js → thread-ts-CukseRVL.js} +5 -1
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/charset.js +10 -34
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/encoding.js +9 -30
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/language.js +15 -36
- package/node_modules/@slack/bolt/node_modules/negotiator/lib/mediaType.js +16 -134
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/LICENSE +22 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/README.md +71 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/package.json +52 -0
- package/node_modules/@slack/bolt/node_modules/negotiator/package.json +16 -10
- package/node_modules/typebox/build/format/email.mjs +1 -1
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +19 -1
- package/node_modules/typebox/package.json +1 -1
- package/openclaw.plugin.json +15 -7
- package/package.json +5 -5
- package/dist/action-runtime.runtime-Dpa16J87.js +0 -2
- package/dist/slack-client-kind-hSfjXyUM.js +0 -94
- package/node_modules/@slack/bolt/node_modules/negotiator/HISTORY.md +0 -114
package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAyCH,wBAoBC;AA+BD,sBAeC;AAzGD,MAAM,WAAW,GAAG,uCAAuC,CAAC;AAC5D,MAAM,YAAY,GAAG,+BAA+B,CAAC;AAErD;;GAEG;AACH,MAAM,YAAY,GAAG,QAAQ,CAAC;AAE9B;;;;;;GAMG;AACH,MAAM,WAAW,GACf,4DAA4D,CAAC;AAE/D;;GAEG;AACH,MAAM,UAAU,GAAG,eAAe,CAAC,CAAC,GAAG,EAAE;IACvC,MAAM,CAAC,GAAG,cAAa,CAAC,CAAC;IACzB,CAAC,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,C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c,EAAE,KAAa,EAAE,GAAW;IAC7D,OAAO,GAAG,GAAG,KAAK,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;QACxC,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,IAAI;YAAE,MAAM;QACxC,GAAG,EAAE,CAAC;IACR,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CAAC,GAAW;IAC1B,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,GAAG,CAAC;IACvC,IAAI,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC;IAE3E,MAAM,IAAI,SAAS,CAAC,4BAA4B,GAAG,EAAE,CAAC,CAAC;AACzD,CAAC","sourcesContent":["/*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\nconst TEXT_REGEXP = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]*$/;\nconst TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 9110 sec 5.6.4\n */\nconst QUOTE_REGEXP = /[\\\\\"]/g;\n\n/**\n * RegExp to match type in RFC 9110 sec 8.3.1\n *\n * media-type = type \"/\" subtype\n * type = token\n * subtype = token\n */\nconst TYPE_REGEXP =\n /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;\n\n/**\n * Null object perf optimization. Faster than `Object.create(null)` and `{ __proto__: null }`.\n */\nconst NullObject = /* @__PURE__ */ (() => {\n const C = function () {};\n C.prototype = Object.create(null);\n return C;\n})() as unknown as { new (): any };\n\n/**\n * The content type object contains a type string and optional parameters.\n */\nexport interface ContentType {\n type: string;\n index: number;\n parameters: Record<string, string>;\n}\n\n/**\n * Format an object into a `Content-Type` header.\n */\nexport function format(obj: Partial<ContentType>): string {\n const { type, parameters } = obj;\n\n if (!type || !TYPE_REGEXP.test(type)) {\n throw new TypeError(`Invalid type: ${type}`);\n }\n\n let result = type;\n\n if (parameters) {\n for (const param of Object.keys(parameters)) {\n if (!TOKEN_REGEXP.test(param)) {\n throw new TypeError(`Invalid parameter name: ${param}`);\n }\n\n result += `; ${param}=${qstring(parameters[param])}`;\n }\n }\n\n return result;\n}\n\n/**\n * Options for parsing a `Content-Type` header.\n */\nexport interface ParseOptions {\n /**\n * Exit early on the first semicolon, returning only the type.\n * This is useful for parsing the MIME from `Content-Type` headers.\n *\n * @default false\n */\n parameters?: boolean;\n /**\n * Exits early on a comma, returning the first value and parameters.\n * This is useful for parsing `Accept` headers.\n *\n * @default false\n */\n comma?: boolean;\n /**\n * The index to start parsing from.\n *\n * @default 0\n */\n start?: number;\n}\n\n/**\n * Parse a `Content-Type` header.\n */\nexport function parse(header: string, options?: ParseOptions): ContentType {\n const stopChar = options?.comma === true ? COMMA : 65_536; // Sentinel for \"no stop char\".\n const len = header.length;\n let index = skipOWS(header, options?.start ?? 0, len);\n\n const valueStart = index;\n index = skipValue(header, index, len, stopChar);\n const valueEnd = trailingOWS(header, valueStart, index);\n const type = header.slice(valueStart, valueEnd).toLowerCase();\n\n if (options?.parameters === false) {\n return { type, index, parameters: new NullObject() };\n }\n\n return parseParameters(header, type, index, len, stopChar);\n}\n\nconst SP = 32; // \" \"\nconst HTAB = 9; // \"\\t\"\nconst SEMI = 59; // \";\"\nconst EQ = 61; // \"=\"\nconst DQUOTE = 34; // '\"'\nconst BSLASH = 92; // \"\\\\\"\nconst COMMA = 44; // \",\"\n\n/**\n * Parses the parameters of a `Content-Type` header starting at the given index.\n */\nfunction parseParameters(\n header: string,\n type: string,\n index: number,\n len: number,\n stopChar: number,\n): ContentType {\n const parameters: Record<string, string> = new NullObject();\n\n parameter: while (index < len) {\n if (header.charCodeAt(index) === stopChar) break;\n\n index = skipOWS(header, index + 1 /* Skip over ; */, len);\n\n const keyStart = index;\n\n while (index < len) {\n const code = header.charCodeAt(index);\n if (code === stopChar) break parameter;\n\n if (code === SEMI) continue parameter;\n\n if (code === EQ) {\n const keyEnd = trailingOWS(header, keyStart, index);\n const key = header.slice(keyStart, keyEnd).toLowerCase();\n\n index = skipOWS(header, index + 1, len);\n\n if (index < len && header.charCodeAt(index) === DQUOTE) {\n index++;\n\n let value = \"\";\n while (index < len) {\n const code = header.charCodeAt(index++);\n if (code === DQUOTE) {\n index = skipValue(header, index, len, stopChar);\n if (parameters[key] === undefined) parameters[key] = value;\n break;\n }\n\n if (code === BSLASH && index < len) {\n value += header[index++];\n continue;\n }\n\n value += String.fromCharCode(code);\n }\n\n continue parameter;\n }\n\n const valueStart = index;\n index = skipValue(header, index, len, stopChar);\n\n if (parameters[key] === undefined) {\n const valueEnd = trailingOWS(header, valueStart, index);\n parameters[key] = header.slice(valueStart, valueEnd);\n }\n\n continue parameter;\n }\n\n index++;\n }\n }\n\n return { type, index, parameters };\n}\n\n/**\n * Skip over characters until a semicolon or other exit character.\n */\nfunction skipValue(\n str: string,\n index: number,\n len: number,\n stopChar: number,\n): number {\n while (index < len) {\n const code = str.charCodeAt(index);\n if (code === SEMI || code === stopChar) break;\n index++;\n }\n return index;\n}\n\n/**\n * Skip optional whitespace (OWS) in an HTTP header value.\n *\n * OWS is defined in RFC 9110 sec 5.6.3 as SP (\" \") or HTAB (\"\\t\").\n */\nfunction skipOWS(header: string, index: number, len: number): number {\n while (index < len) {\n const char = header.charCodeAt(index);\n if (char !== SP && char !== HTAB) break;\n index++;\n }\n return index;\n}\n\n/**\n * Trim optional whitespace (OWS) from the end of a substring.\n *\n * OWS is defined in RFC 9110 sec 5.6.3 as SP (\" \") or HTAB (\"\\t\").\n */\nfunction trailingOWS(header: string, start: number, end: number): number {\n while (end > start) {\n const char = header.charCodeAt(end - 1);\n if (char !== SP && char !== HTAB) break;\n end--;\n }\n return end;\n}\n\n/**\n * Serialize a parameter value.\n */\nfunction qstring(str: string): string {\n if (TOKEN_REGEXP.test(str)) return str;\n if (TEXT_REGEXP.test(str)) return `\"${str.replace(QUOTE_REGEXP, \"\\\\$&\")}\"`;\n\n throw new TypeError(`Invalid parameter value: ${str}`);\n}\n"]}
|
package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "content-type",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Create and parse HTTP Content-Type header",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"content-type",
|
|
7
|
+
"http",
|
|
8
|
+
"req",
|
|
9
|
+
"res",
|
|
10
|
+
"rfc7231",
|
|
11
|
+
"rfc9110"
|
|
12
|
+
],
|
|
13
|
+
"repository": "jshttp/content-type",
|
|
14
|
+
"funding": {
|
|
15
|
+
"type": "opencollective",
|
|
16
|
+
"url": "https://opencollective.com/express"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
20
|
+
"type": "commonjs",
|
|
21
|
+
"exports": "./dist/index.js",
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"typings": "./dist/index.d.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist/"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"bench": "vitest bench",
|
|
29
|
+
"build": "ts-scripts build",
|
|
30
|
+
"format": "ts-scripts format",
|
|
31
|
+
"prepare": "ts-scripts install && npm run build",
|
|
32
|
+
"specs": "ts-scripts specs",
|
|
33
|
+
"test": "ts-scripts test"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@borderless/ts-scripts": "^0.15.0",
|
|
37
|
+
"@vitest/coverage-v8": "^3.0.5",
|
|
38
|
+
"typescript": "^5.7.3",
|
|
39
|
+
"vitest": "^3.2.4"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18"
|
|
43
|
+
},
|
|
44
|
+
"ts-scripts": {
|
|
45
|
+
"dist": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
|
+
"project": [
|
|
49
|
+
"tsconfig.build.json"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "negotiator",
|
|
3
3
|
"description": "HTTP content negotiation",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
7
7
|
"Federico Romero <federico.romero@outboxlabs.com>",
|
|
@@ -17,27 +17,33 @@
|
|
|
17
17
|
"accept-charset"
|
|
18
18
|
],
|
|
19
19
|
"repository": "jshttp/negotiator",
|
|
20
|
+
"funding": {
|
|
21
|
+
"type": "opencollective",
|
|
22
|
+
"url": "https://opencollective.com/express"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"content-type": "^2.1.0"
|
|
26
|
+
},
|
|
20
27
|
"devDependencies": {
|
|
21
28
|
"eslint": "7.32.0",
|
|
22
29
|
"eslint-plugin-markdown": "2.2.1",
|
|
23
|
-
"mocha": "
|
|
24
|
-
"nyc": "
|
|
30
|
+
"mocha": "^11.7.0",
|
|
31
|
+
"nyc": "^17.1.0",
|
|
32
|
+
"vitest": "3.2.4"
|
|
25
33
|
},
|
|
26
34
|
"files": [
|
|
27
35
|
"lib/",
|
|
28
|
-
"
|
|
29
|
-
"LICENSE",
|
|
30
|
-
"index.js",
|
|
31
|
-
"README.md"
|
|
36
|
+
"index.js"
|
|
32
37
|
],
|
|
33
38
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
39
|
+
"node": ">=18"
|
|
35
40
|
},
|
|
36
41
|
"scripts": {
|
|
42
|
+
"bench": "vitest bench",
|
|
37
43
|
"lint": "eslint .",
|
|
38
|
-
"test": "mocha --reporter spec --check-leaks
|
|
44
|
+
"test": "mocha --reporter spec --check-leaks test/",
|
|
39
45
|
"test:debug": "mocha --reporter spec --check-leaks --inspect --inspect-brk test/",
|
|
40
|
-
"test-ci": "nyc --reporter=
|
|
46
|
+
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
|
|
41
47
|
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
42
48
|
}
|
|
43
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const Email = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]
|
|
1
|
+
const Email = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]|\\[\x20-\x7e])*")@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*|\[(?:IPv6:[a-f0-9:]+|(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})\])$/i;
|
|
2
2
|
/**
|
|
3
3
|
* Returns true if the value is an Email
|
|
4
4
|
* @specification https://datatracker.ietf.org/doc/html/rfc5322
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as FormatBidi from './format/bidi.mjs';
|
|
2
2
|
import * as LabelUnicode from './label/unicode.mjs';
|
|
3
3
|
import * as LabelPuny from './label/puny.mjs';
|
|
4
|
+
// ------------------------------------------------------------------
|
|
5
|
+
// IsLabel
|
|
6
|
+
// ------------------------------------------------------------------
|
|
4
7
|
function IsValidLabelLength(value) {
|
|
5
8
|
return value.length > 0 && value.length <= 63;
|
|
6
9
|
}
|
|
@@ -8,9 +11,24 @@ function IsLabel(value) {
|
|
|
8
11
|
return IsValidLabelLength(value) && (LabelPuny.IsPunyLabel(value) ||
|
|
9
12
|
LabelUnicode.IsUnicodeLabel(value));
|
|
10
13
|
}
|
|
14
|
+
// ------------------------------------------------------------------
|
|
15
|
+
// NormalizeHostname
|
|
16
|
+
//
|
|
17
|
+
// Normalizes a hostname for label validation. Normalizes for NFC
|
|
18
|
+
// such that equivalent codepoint sequences can be uniformly
|
|
19
|
+
// compared. It also removes codepoints that IDNA mapping ignores,
|
|
20
|
+
// and converts full stop variants to ASCII '.' so the hostname can
|
|
21
|
+
// be split into labels.
|
|
22
|
+
// ------------------------------------------------------------------
|
|
11
23
|
function NormalizeHostname(value) {
|
|
12
|
-
return value
|
|
24
|
+
return value
|
|
25
|
+
.normalize('NFC')
|
|
26
|
+
.replace(/[\u00ad\u034f\u180b-\u180d\u200b\ufe00-\ufe0f\u{e0100}-\u{e01ef}]/gu, '') // RE_IGNORED_MAPPING
|
|
27
|
+
.replace(/[\u002E\u3002\uFF0E\uFF61]/g, '.'); // RE_FULL_STOP_MAPPING
|
|
13
28
|
}
|
|
29
|
+
// ------------------------------------------------------------------
|
|
30
|
+
// IsIdnHostname
|
|
31
|
+
// ------------------------------------------------------------------
|
|
14
32
|
export function IsIdnHostname(value) {
|
|
15
33
|
if (value.length === 0 || value.includes(' '))
|
|
16
34
|
return false;
|
package/openclaw.plugin.json
CHANGED
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"type": "boolean"
|
|
52
52
|
},
|
|
53
53
|
"dmPolicy": {
|
|
54
|
+
"default": "pairing",
|
|
54
55
|
"type": "string",
|
|
55
56
|
"enum": [
|
|
56
57
|
"pairing",
|
|
@@ -367,6 +368,9 @@
|
|
|
367
368
|
}
|
|
368
369
|
]
|
|
369
370
|
},
|
|
371
|
+
"joinIntro": {
|
|
372
|
+
"type": "boolean"
|
|
373
|
+
},
|
|
370
374
|
"postAs": {
|
|
371
375
|
"default": "bot",
|
|
372
376
|
"type": "string",
|
|
@@ -1779,6 +1783,9 @@
|
|
|
1779
1783
|
}
|
|
1780
1784
|
]
|
|
1781
1785
|
},
|
|
1786
|
+
"joinIntro": {
|
|
1787
|
+
"type": "boolean"
|
|
1788
|
+
},
|
|
1782
1789
|
"postAs": {
|
|
1783
1790
|
"type": "string",
|
|
1784
1791
|
"enum": [
|
|
@@ -2393,7 +2400,6 @@
|
|
|
2393
2400
|
]
|
|
2394
2401
|
},
|
|
2395
2402
|
"userTokenReadOnly": {
|
|
2396
|
-
"default": true,
|
|
2397
2403
|
"type": "boolean"
|
|
2398
2404
|
},
|
|
2399
2405
|
"allowBots": {
|
|
@@ -2835,9 +2841,6 @@
|
|
|
2835
2841
|
"type": "string"
|
|
2836
2842
|
}
|
|
2837
2843
|
},
|
|
2838
|
-
"required": [
|
|
2839
|
-
"userTokenReadOnly"
|
|
2840
|
-
],
|
|
2841
2844
|
"additionalProperties": false
|
|
2842
2845
|
}
|
|
2843
2846
|
},
|
|
@@ -2846,6 +2849,7 @@
|
|
|
2846
2849
|
}
|
|
2847
2850
|
},
|
|
2848
2851
|
"required": [
|
|
2852
|
+
"dmPolicy",
|
|
2849
2853
|
"groupPolicy",
|
|
2850
2854
|
"postAs",
|
|
2851
2855
|
"mode",
|
|
@@ -2947,7 +2951,7 @@
|
|
|
2947
2951
|
},
|
|
2948
2952
|
"streaming.progress.style": {
|
|
2949
2953
|
"label": "Slack Progress Style",
|
|
2950
|
-
"help": "Slack progress presentation: \"card\"
|
|
2954
|
+
"help": "Slack progress presentation: \"card\" uses structured task/session cards; \"compact\" keeps one editable text draft that the final answer replaces in place when Slack can safely edit it. Defaults to \"compact\" when progress.toolProgress is false, otherwise \"card\"."
|
|
2951
2955
|
},
|
|
2952
2956
|
"streaming.progress.nativeTaskCards": {
|
|
2953
2957
|
"label": "Slack Native Progress Task Cards",
|
|
@@ -2977,6 +2981,10 @@
|
|
|
2977
2981
|
"label": "Slack Progress Command Text",
|
|
2978
2982
|
"help": "Command/exec detail in progress draft lines: \"status\" is the safe default; \"raw\" opts into command text."
|
|
2979
2983
|
},
|
|
2984
|
+
"joinIntro": {
|
|
2985
|
+
"label": "Slack Channel Join Introduction",
|
|
2986
|
+
"help": "Post one brief, room-specific introduction when the bot joins an allowed Slack channel (default: true). Account settings override the channel-wide setting."
|
|
2987
|
+
},
|
|
2980
2988
|
"allowBots": {
|
|
2981
2989
|
"label": "Slack Allow Bot Messages",
|
|
2982
2990
|
"help": "Allow bot-authored messages to trigger Slack replies (default: false)."
|
|
@@ -3035,7 +3043,7 @@
|
|
|
3035
3043
|
},
|
|
3036
3044
|
"execApprovals": {
|
|
3037
3045
|
"label": "Slack Exec Approvals",
|
|
3038
|
-
"help": "Slack-native exec approval routing and approver authorization.
|
|
3046
|
+
"help": "Slack-native exec approval routing and approver authorization. Set enabled to \"auto\" or true to enable DM-first native approvals when approvers can be resolved for this Slack account; unset or false disables them."
|
|
3039
3047
|
},
|
|
3040
3048
|
"presenceEvents": {
|
|
3041
3049
|
"label": "Slack Presence Events",
|
|
@@ -3059,7 +3067,7 @@
|
|
|
3059
3067
|
},
|
|
3060
3068
|
"execApprovals.enabled": {
|
|
3061
3069
|
"label": "Slack Exec Approvals Enabled",
|
|
3062
|
-
"help": "Controls Slack native exec approvals for this account:
|
|
3070
|
+
"help": "Controls Slack native exec approvals for this account: \"auto\" or true enables DM-first native approvals when approvers can be resolved; unset or false disables them."
|
|
3063
3071
|
},
|
|
3064
3072
|
"execApprovals.approvers": {
|
|
3065
3073
|
"label": "Slack Exec Approval Approvers",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/slack",
|
|
3
|
-
"version": "2026.9.1
|
|
3
|
+
"version": "2026.9.1",
|
|
4
4
|
"description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"@slack/types": "3.0.0",
|
|
14
14
|
"@slack/web-api": "8.0.0",
|
|
15
15
|
"get-east-asian-width": "1.6.0",
|
|
16
|
-
"typebox": "1.3.
|
|
16
|
+
"typebox": "1.3.17",
|
|
17
17
|
"undici": "7.29.0",
|
|
18
18
|
"ws": "8.21.3",
|
|
19
19
|
"zod": "4.4.3"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"openclaw": ">=2026.9.1
|
|
22
|
+
"openclaw": ">=2026.9.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependenciesMeta": {
|
|
25
25
|
"openclaw": {
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
"allowInvalidConfigRecovery": true
|
|
152
152
|
},
|
|
153
153
|
"compat": {
|
|
154
|
-
"pluginApi": ">=2026.9.1
|
|
154
|
+
"pluginApi": ">=2026.9.1"
|
|
155
155
|
},
|
|
156
156
|
"build": {
|
|
157
|
-
"openclawVersion": "2026.9.1
|
|
157
|
+
"openclawVersion": "2026.9.1",
|
|
158
158
|
"bundledDist": false
|
|
159
159
|
},
|
|
160
160
|
"release": {
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { F as renderSlackBlockFallbackText } from "./group-policy-CU1tEGpS.js";
|
|
2
|
-
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
-
import { normalizeHostname } from "openclaw/plugin-sdk/host-runtime";
|
|
4
|
-
import { fetchWithRuntimeDispatcher } from "openclaw/plugin-sdk/runtime-fetch";
|
|
5
|
-
import { saveRemoteMedia } from "openclaw/plugin-sdk/media-runtime";
|
|
6
|
-
//#region extensions/slack/src/monitor/block-text.ts
|
|
7
|
-
function readSlackBlockType(block) {
|
|
8
|
-
return block && typeof block === "object" && !Array.isArray(block) ? block.type : void 0;
|
|
9
|
-
}
|
|
10
|
-
function hasSlackTableBlock(blocks) {
|
|
11
|
-
return blocks?.some((block) => readSlackBlockType(block) === "table") ?? false;
|
|
12
|
-
}
|
|
13
|
-
function hasSlackMessageTableBlock(message) {
|
|
14
|
-
return hasSlackTableBlock(message.blocks) || message.attachments?.some((attachment) => !isSlackUnfurlAttachment(attachment) && hasSlackTableBlock(attachment.blocks)) === true;
|
|
15
|
-
}
|
|
16
|
-
function isSlackUnfurlAttachment(attachment) {
|
|
17
|
-
return attachment.is_msg_unfurl === true || attachment.is_app_unfurl === true || typeof attachment.app_unfurl_url === "string" && attachment.app_unfurl_url.trim().length > 0;
|
|
18
|
-
}
|
|
19
|
-
function resolveSlackBlocksText(blocks) {
|
|
20
|
-
if (!blocks?.length) return;
|
|
21
|
-
const parts = [];
|
|
22
|
-
let hasRichText = false;
|
|
23
|
-
let hasNativeData = false;
|
|
24
|
-
for (const block of blocks) {
|
|
25
|
-
const blockType = readSlackBlockType(block);
|
|
26
|
-
hasRichText ||= blockType === "rich_text";
|
|
27
|
-
hasNativeData ||= blockType === "data_visualization" || blockType === "data_table" || blockType === "table";
|
|
28
|
-
const text = renderSlackBlockFallbackText(block, { nativeDataFormat: "plain" });
|
|
29
|
-
if (text) parts.push(text);
|
|
30
|
-
}
|
|
31
|
-
return parts.length > 0 ? {
|
|
32
|
-
text: parts.join("\n"),
|
|
33
|
-
hasRichText,
|
|
34
|
-
hasNativeData
|
|
35
|
-
} : void 0;
|
|
36
|
-
}
|
|
37
|
-
function appendDistinctSlackText(base, addition) {
|
|
38
|
-
if (!base) return addition;
|
|
39
|
-
const comparableBase = `\n${base.replace(/\r\n?/g, "\n")}\n`;
|
|
40
|
-
const comparableAddition = `\n${addition.replace(/\r\n?/g, "\n")}\n`;
|
|
41
|
-
if (comparableBase.includes(comparableAddition)) return base;
|
|
42
|
-
return `${base}\n${addition}`;
|
|
43
|
-
}
|
|
44
|
-
function resolveSlackAttachmentTableTexts(attachments) {
|
|
45
|
-
const seen = /* @__PURE__ */ new Set();
|
|
46
|
-
const texts = [];
|
|
47
|
-
for (const attachment of attachments ?? []) {
|
|
48
|
-
if (isSlackUnfurlAttachment(attachment)) continue;
|
|
49
|
-
for (const block of attachment.blocks ?? []) {
|
|
50
|
-
if (readSlackBlockType(block) !== "table") continue;
|
|
51
|
-
const text = renderSlackBlockFallbackText(block, { nativeDataFormat: "plain" });
|
|
52
|
-
if (!text || seen.has(text)) continue;
|
|
53
|
-
seen.add(text);
|
|
54
|
-
texts.push(text);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return texts;
|
|
58
|
-
}
|
|
59
|
-
/** Resolve agent-visible Slack text while admitting only native tables from attachments. */
|
|
60
|
-
function resolveSlackMessageText(message, options = {}) {
|
|
61
|
-
let resolved = chooseSlackPrimaryText({
|
|
62
|
-
messageText: options.preserveMessageTextWhitespace ? typeof message.text === "string" && message.text.trim().length > 0 ? message.text : void 0 : normalizeOptionalString(message.text),
|
|
63
|
-
blocksText: resolveSlackBlocksText(message.blocks)
|
|
64
|
-
});
|
|
65
|
-
for (const tableText of resolveSlackAttachmentTableTexts(message.attachments)) resolved = appendDistinctSlackText(resolved, tableText);
|
|
66
|
-
return resolved;
|
|
67
|
-
}
|
|
68
|
-
function chooseSlackPrimaryText(params) {
|
|
69
|
-
const { messageText, blocksText } = params;
|
|
70
|
-
if (!blocksText) return messageText;
|
|
71
|
-
if (!messageText) return blocksText.text;
|
|
72
|
-
if (blocksText.hasNativeData) {
|
|
73
|
-
const comparableMessageText = messageText.replace(/\s+/g, " ").trim();
|
|
74
|
-
const comparableBlocksText = blocksText.text.replace(/\s+/g, " ").trim();
|
|
75
|
-
if (comparableMessageText.includes(comparableBlocksText)) return messageText;
|
|
76
|
-
return comparableBlocksText.startsWith(comparableMessageText) ? blocksText.text : `${messageText}\n${blocksText.text}`;
|
|
77
|
-
}
|
|
78
|
-
if (blocksText.hasRichText && blocksText.text.length > messageText.length) return blocksText.text;
|
|
79
|
-
return blocksText.text.length > messageText.length && blocksText.text.startsWith(messageText) ? blocksText.text : messageText;
|
|
80
|
-
}
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region extensions/slack/src/monitor/slack-client-kind.ts
|
|
83
|
-
/** Detects the isolated GovSlack API plane without consulting mutable config. */
|
|
84
|
-
function isGovSlackClient(client) {
|
|
85
|
-
if (!client?.slackApiUrl) return false;
|
|
86
|
-
try {
|
|
87
|
-
const apiUrl = new URL(client.slackApiUrl);
|
|
88
|
-
return apiUrl.protocol === "https:" && !apiUrl.port && normalizeHostname(apiUrl.hostname) === "slack-gov.com";
|
|
89
|
-
} catch {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
export { hasSlackTableBlock as a, resolveSlackMessageText as c, hasSlackMessageTableBlock as i, fetchWithRuntimeDispatcher as n, isSlackUnfurlAttachment as o, saveRemoteMedia as r, resolveSlackBlocksText as s, isGovSlackClient as t };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
1.0.0 / 2024-08-31
|
|
2
|
-
==================
|
|
3
|
-
|
|
4
|
-
* Drop support for node <18
|
|
5
|
-
* Added an option preferred encodings array #59
|
|
6
|
-
|
|
7
|
-
0.6.3 / 2022-01-22
|
|
8
|
-
==================
|
|
9
|
-
|
|
10
|
-
* Revert "Lazy-load modules from main entry point"
|
|
11
|
-
|
|
12
|
-
0.6.2 / 2019-04-29
|
|
13
|
-
==================
|
|
14
|
-
|
|
15
|
-
* Fix sorting charset, encoding, and language with extra parameters
|
|
16
|
-
|
|
17
|
-
0.6.1 / 2016-05-02
|
|
18
|
-
==================
|
|
19
|
-
|
|
20
|
-
* perf: improve `Accept` parsing speed
|
|
21
|
-
* perf: improve `Accept-Charset` parsing speed
|
|
22
|
-
* perf: improve `Accept-Encoding` parsing speed
|
|
23
|
-
* perf: improve `Accept-Language` parsing speed
|
|
24
|
-
|
|
25
|
-
0.6.0 / 2015-09-29
|
|
26
|
-
==================
|
|
27
|
-
|
|
28
|
-
* Fix including type extensions in parameters in `Accept` parsing
|
|
29
|
-
* Fix parsing `Accept` parameters with quoted equals
|
|
30
|
-
* Fix parsing `Accept` parameters with quoted semicolons
|
|
31
|
-
* Lazy-load modules from main entry point
|
|
32
|
-
* perf: delay type concatenation until needed
|
|
33
|
-
* perf: enable strict mode
|
|
34
|
-
* perf: hoist regular expressions
|
|
35
|
-
* perf: remove closures getting spec properties
|
|
36
|
-
* perf: remove a closure from media type parsing
|
|
37
|
-
* perf: remove property delete from media type parsing
|
|
38
|
-
|
|
39
|
-
0.5.3 / 2015-05-10
|
|
40
|
-
==================
|
|
41
|
-
|
|
42
|
-
* Fix media type parameter matching to be case-insensitive
|
|
43
|
-
|
|
44
|
-
0.5.2 / 2015-05-06
|
|
45
|
-
==================
|
|
46
|
-
|
|
47
|
-
* Fix comparing media types with quoted values
|
|
48
|
-
* Fix splitting media types with quoted commas
|
|
49
|
-
|
|
50
|
-
0.5.1 / 2015-02-14
|
|
51
|
-
==================
|
|
52
|
-
|
|
53
|
-
* Fix preference sorting to be stable for long acceptable lists
|
|
54
|
-
|
|
55
|
-
0.5.0 / 2014-12-18
|
|
56
|
-
==================
|
|
57
|
-
|
|
58
|
-
* Fix list return order when large accepted list
|
|
59
|
-
* Fix missing identity encoding when q=0 exists
|
|
60
|
-
* Remove dynamic building of Negotiator class
|
|
61
|
-
|
|
62
|
-
0.4.9 / 2014-10-14
|
|
63
|
-
==================
|
|
64
|
-
|
|
65
|
-
* Fix error when media type has invalid parameter
|
|
66
|
-
|
|
67
|
-
0.4.8 / 2014-09-28
|
|
68
|
-
==================
|
|
69
|
-
|
|
70
|
-
* Fix all negotiations to be case-insensitive
|
|
71
|
-
* Stable sort preferences of same quality according to client order
|
|
72
|
-
* Support Node.js 0.6
|
|
73
|
-
|
|
74
|
-
0.4.7 / 2014-06-24
|
|
75
|
-
==================
|
|
76
|
-
|
|
77
|
-
* Handle invalid provided languages
|
|
78
|
-
* Handle invalid provided media types
|
|
79
|
-
|
|
80
|
-
0.4.6 / 2014-06-11
|
|
81
|
-
==================
|
|
82
|
-
|
|
83
|
-
* Order by specificity when quality is the same
|
|
84
|
-
|
|
85
|
-
0.4.5 / 2014-05-29
|
|
86
|
-
==================
|
|
87
|
-
|
|
88
|
-
* Fix regression in empty header handling
|
|
89
|
-
|
|
90
|
-
0.4.4 / 2014-05-29
|
|
91
|
-
==================
|
|
92
|
-
|
|
93
|
-
* Fix behaviors when headers are not present
|
|
94
|
-
|
|
95
|
-
0.4.3 / 2014-04-16
|
|
96
|
-
==================
|
|
97
|
-
|
|
98
|
-
* Handle slashes on media params correctly
|
|
99
|
-
|
|
100
|
-
0.4.2 / 2014-02-28
|
|
101
|
-
==================
|
|
102
|
-
|
|
103
|
-
* Fix media type sorting
|
|
104
|
-
* Handle media types params strictly
|
|
105
|
-
|
|
106
|
-
0.4.1 / 2014-01-16
|
|
107
|
-
==================
|
|
108
|
-
|
|
109
|
-
* Use most specific matches
|
|
110
|
-
|
|
111
|
-
0.4.0 / 2014-01-09
|
|
112
|
-
==================
|
|
113
|
-
|
|
114
|
-
* Remove preferred prefix from methods
|