@openclaw/slack 2026.8.1 → 2026.8.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.
Files changed (60) hide show
  1. package/dist/{account-inspect-CN2hBsim.js → account-inspect-C3sePHWa.js} +3 -3
  2. package/dist/account-inspect-api.js +1 -1
  3. package/dist/{action-runtime-044ldvNL.js → action-runtime-B0kRJ69h.js} +50 -40
  4. package/dist/action-runtime.runtime-IuA14rev.js +2 -0
  5. package/dist/{actions-BI7JkfVm.js → actions-BOxiu2Vy.js} +18 -12
  6. package/dist/api.js +14 -14
  7. package/dist/{approval-handler.runtime-DYv0UIZS.js → approval-handler.runtime-l5_2JLqi.js} +7 -6
  8. package/dist/{channel-1vIJOzPx.js → channel-BguxhhNG.js} +39 -31
  9. package/dist/channel-config-api.js +1 -1
  10. package/dist/channel-plugin-api.js +1 -1
  11. package/dist/{channel-type-DlFSKeIZ.js → channel-type-ChkODKBW.js} +2 -2
  12. package/dist/{channel.setup-ofDi3_Pu.js → channel.setup-BJohRJha.js} +23 -22
  13. package/dist/{config-schema-BVIMyiDN.js → config-schema-B9GwoRlE.js} +5 -3
  14. package/dist/{conversation-binding-route-DFVLUdYF.js → conversation-binding-route-Vee8Dgbf.js} +2 -2
  15. package/dist/{directory-config-DqfQ42OV.js → directory-config-Bmw4ykSy.js} +4 -3
  16. package/dist/directory-contract-api.js +1 -1
  17. package/dist/{directory-live-BPaNHjmP.js → directory-live-BOILcXPo.js} +1 -1
  18. package/dist/{doctor-contract-BAy7-EUQ.js → doctor-contract-BNjw9bxb.js} +5 -4
  19. package/dist/doctor-contract-api.js +1 -1
  20. package/dist/{group-policy-BdwszjYn.js → group-policy-BYH74y50.js} +70 -39
  21. package/dist/{message-tool-api-CJ0kjcg5.js → message-tool-api-BsZbsulu.js} +1 -1
  22. package/dist/message-tool-api.js +1 -1
  23. package/dist/{monitor-Dq5Cmrvp.js → monitor-B72wWXWg.js} +3 -3
  24. package/dist/{outbound-adapter-DYaI8ThX.js → outbound-adapter-CPgYQ-BM.js} +3 -3
  25. package/dist/{pipeline.runtime-Bd22U0ga.js → pipeline.runtime-CcdujV99.js} +238 -393
  26. package/dist/{policy-CtQVbde1.js → policy-CUpBeOt9.js} +7 -5
  27. package/dist/{probe-0usmAb0i.js → probe-gj5yQgN2.js} +113 -112
  28. package/dist/{provider-CN_8hFv2.js → provider-DW9YC_no.js} +69 -44
  29. package/dist/{relay-source-BNGpsdwV.js → relay-source-BLMdBrAw.js} +6 -4
  30. package/dist/{replies-BSiRQOJ1.js → replies-DLjQ8RYU.js} +13 -8
  31. package/dist/{resolve-channels-Czheznc8.js → resolve-channels-Bv6IiGZ4.js} +4 -3
  32. package/dist/{resolve-users-BAOlNimr.js → resolve-users-BXw2pA7y.js} +4 -3
  33. package/dist/runtime-api.js +10 -10
  34. package/dist/{scopes-COSlmhnH.js → scopes-B9HRguDe.js} +1 -1
  35. package/dist/{send-DS9ICrBI.js → send-GUz4_v2E.js} +21 -13
  36. package/dist/{send.runtime-D_Bb6IuH.js → send.runtime-rScD-UJi.js} +1 -1
  37. package/dist/setup-plugin-api.js +1 -1
  38. package/dist/{setup-surface-BGnd2pSe.js → setup-surface-Cc3P-z35.js} +5 -5
  39. package/dist/{shared-D5B-5hBg.js → shared-CQGVZ_8a.js} +5 -5
  40. package/dist/{slash-dispatch.runtime-CilDmI0c.js → slash-dispatch.runtime-C2015r6s.js} +1 -1
  41. package/dist/{target-parsing-BnMD2ZqZ.js → target-parsing-PbxGDbr9.js} +11 -6
  42. package/dist/{targets-Cx5W_n3W.js → targets-7FexXJ62.js} +1 -1
  43. package/node_modules/@slack/bolt/node_modules/negotiator/lib/accept.js +54 -0
  44. package/node_modules/@slack/bolt/node_modules/negotiator/lib/charset.js +10 -34
  45. package/node_modules/@slack/bolt/node_modules/negotiator/lib/encoding.js +9 -30
  46. package/node_modules/@slack/bolt/node_modules/negotiator/lib/language.js +15 -36
  47. package/node_modules/@slack/bolt/node_modules/negotiator/lib/mediaType.js +16 -134
  48. package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/LICENSE +22 -0
  49. package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/README.md +71 -0
  50. package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.d.ts +46 -0
  51. package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js +176 -0
  52. package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/dist/index.js.map +1 -0
  53. package/node_modules/@slack/bolt/node_modules/negotiator/node_modules/content-type/package.json +52 -0
  54. package/node_modules/@slack/bolt/node_modules/negotiator/package.json +16 -10
  55. package/node_modules/typebox/build/format/email.mjs +1 -1
  56. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +19 -1
  57. package/node_modules/typebox/package.json +1 -1
  58. package/package.json +5 -5
  59. package/dist/action-runtime.runtime-BL3KzX13.js +0 -2
  60. package/node_modules/@slack/bolt/node_modules/negotiator/HISTORY.md +0 -114
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "negotiator",
3
3
  "description": "HTTP content negotiation",
4
- "version": "1.0.0",
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": "9.1.3",
24
- "nyc": "15.1.0"
30
+ "mocha": "^11.7.0",
31
+ "nyc": "^17.1.0",
32
+ "vitest": "3.2.4"
25
33
  },
26
34
  "files": [
27
35
  "lib/",
28
- "HISTORY.md",
29
- "LICENSE",
30
- "index.js",
31
- "README.md"
36
+ "index.js"
32
37
  ],
33
38
  "engines": {
34
- "node": ">= 0.6"
39
+ "node": ">=18"
35
40
  },
36
41
  "scripts": {
42
+ "bench": "vitest bench",
37
43
  "lint": "eslint .",
38
- "test": "mocha --reporter spec --check-leaks --bail test/",
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=lcov --reporter=text npm test",
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!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]|\\.)*")@(?:[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;
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.normalize('NFC').replace(/[\u002E\u3002\uFF0E\uFF61]/g, '.');
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;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typebox",
3
3
  "description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
4
- "version": "1.3.16",
4
+ "version": "1.3.17",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "jsonschema"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/slack",
3
- "version": "2026.8.1",
3
+ "version": "2026.8.2",
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",
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.8.1"
22
+ "openclaw": ">=2026.8.2"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "openclaw": {
@@ -151,10 +151,10 @@
151
151
  "allowInvalidConfigRecovery": true
152
152
  },
153
153
  "compat": {
154
- "pluginApi": ">=2026.8.1"
154
+ "pluginApi": ">=2026.8.2"
155
155
  },
156
156
  "build": {
157
- "openclawVersion": "2026.8.1",
157
+ "openclawVersion": "2026.8.2",
158
158
  "bundledDist": false
159
159
  },
160
160
  "release": {
@@ -1,2 +0,0 @@
1
- import { t as handleSlackAction } from "./action-runtime-044ldvNL.js";
2
- export { handleSlackAction };
@@ -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