@openclaw/slack 2026.7.1 → 2026.7.2-beta.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/accounts.runtime-KvftRRek.js +2 -0
- package/dist/{action-runtime-DoQGk_8D.js → action-runtime-p6M2ULpv.js} +205 -29
- package/dist/action-runtime.runtime-DQstDkHG.js +2 -0
- package/dist/{actions-DMpDmKEA.js → actions-DkTcWmpT.js} +87 -138
- package/dist/{actions.runtime-C103_BPW.js → actions.runtime-BSxpwgUc.js} +1 -1
- package/dist/api.js +14 -13
- package/dist/{approval-handler.runtime-CIUbOt5T.js → approval-handler.runtime-UGbnz9OC.js} +3 -3
- package/dist/{channel-BjlsaGHn.js → channel-B0_j6C6z.js} +116 -140
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/channel-type-BpeTezY4.js +109 -0
- package/dist/{channel.setup-Dq6syTNU.js → channel.setup-BQFut21T.js} +2 -2
- package/dist/{client-DGxwSL7f.js → client-D2F6m8CP.js} +38 -2
- package/dist/config-api-Df9a1B8C.js +3 -0
- package/dist/{config-schema-BzqzFW__.js → config-schema-DYI01PV2.js} +20 -37
- package/dist/cursor-pages-DSmTg0su.js +13 -0
- package/dist/{directory-config-BZuS8141.js → directory-config-DRkFujwG.js} +2 -2
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-BNsxCgqP.js → directory-live-DX7yFsM-.js} +2 -2
- package/dist/{doctor-contract-XL6HeNCb.js → doctor-contract-DddfkMlF.js} +25 -38
- package/dist/doctor-contract-api.js +1 -1
- package/dist/group-policy-C-b2ZnSl.js +2332 -0
- package/dist/{interactive-replies-CXpT-vA_.js → interactive-replies-BilWUdcI.js} +5 -1
- package/dist/interactive-replies-api.js +1 -1
- package/dist/{message-tool-api-BgWKyu2r.js → message-tool-api-CA9jZrCY.js} +1 -1
- package/dist/message-tool-api.js +1 -1
- package/dist/{monitor-Ux-wzUWI.js → monitor-BN_uuvrQ.js} +3 -3
- package/dist/outbound-adapter-ECl0go7d.js +228 -0
- package/dist/{pipeline.runtime-rpVpay59.js → pipeline.runtime-f0eJJoJL.js} +492 -178
- package/dist/{policy-Dj-puVPb.js → policy-f8b0edSi.js} +1 -1
- package/dist/preflight-audio.runtime-D5Bgags0.js +3 -0
- package/dist/{probe-CuwRDE5j.js → probe-CfALk0l4.js} +2 -2
- package/dist/{provider-C1-DFSpw.js → provider-Ds-y-imP.js} +658 -192
- package/dist/{relay-source-D2jv1iGg.js → relay-source-B-6LFUdz.js} +6 -17
- package/dist/replies-BMvf3ihj.js +420 -0
- package/dist/{resolve-channels-CstkChBE.js → resolve-channels-DOMgNCWb.js} +17 -6
- package/dist/{resolve-users-C3NP2c-Q.js → resolve-users-aL6-Ssee.js} +11 -6
- package/dist/{runtime-BOk7xkOl.js → runtime-CauEvswP.js} +1 -1
- package/dist/{runtime-api-CEmqYxR-.js → runtime-api-CVb6CQjX.js} +3 -3
- package/dist/runtime-api.js +11 -11
- package/dist/runtime-setter-api.js +1 -1
- package/dist/{scopes-DCWVD5-8.js → scopes-Dw8wbU0j.js} +2 -2
- package/dist/{secret-contract-C3ChHo5A.js → secret-contract-CMohXFWS.js} +18 -113
- package/dist/secret-contract-api.js +1 -1
- package/dist/{send-DKDXoeoV.js → send-NEfJ0GvM.js} +662 -325
- package/dist/{send.runtime-GPRa63l1.js → send.runtime-BkKpitPu.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-Dv2fIJNB.js → setup-surface-BN2WeG5c.js} +3 -3
- package/dist/{shared-CosfcFri.js → shared-BLnB9R1T.js} +7 -5
- package/dist/{slash-dispatch.runtime-CcMbbT3_.js → slash-dispatch.runtime-C0Otuf_T.js} +1 -1
- package/dist/{streaming-compat-DjlgH-Be.js → streaming-compat-3_X-21wW.js} +1 -0
- package/dist/{target-parsing-3jYH8LfB.js → target-parsing-N6lHogYZ.js} +16 -3
- package/dist/{targets-Dll4NJgs.js → targets-KmjP2E8s.js} +1 -1
- package/node_modules/p-map/index.d.ts +155 -0
- package/node_modules/p-map/index.js +284 -0
- package/node_modules/p-map/license +9 -0
- package/node_modules/p-map/package.json +57 -0
- package/node_modules/p-map/readme.md +190 -0
- package/npm-shrinkwrap.json +16 -3
- package/openclaw.plugin.json +16 -0
- package/package.json +6 -4
- package/dist/accounts.runtime-DWvaCb-X.js +0 -2
- package/dist/action-runtime.runtime-BABj3aM-.js +0 -2
- package/dist/config-api-DnT9ohtE.js +0 -2
- package/dist/format-YCNoNkM2.js +0 -107
- package/dist/outbound-adapter-DVoBfBW5.js +0 -272
- package/dist/replies-DpF38e1y.js +0 -287
- package/dist/reply-blocks-BGQ6zSqM.js +0 -877
- package/dist/resolve-allowlist-common-CP8SH0Zf.js +0 -43
|
@@ -1,117 +1,22 @@
|
|
|
1
|
-
import { collectConditionalChannelFieldAssignments, collectNestedChannelFieldAssignments, collectSimpleChannelFieldAssignments, getChannelSurface, hasOwnProperty } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
|
|
1
|
+
import { collectConditionalChannelFieldAssignments, collectNestedChannelFieldAssignments, collectSimpleChannelFieldAssignments, createChannelSecretTargetRegistryEntries, getChannelSurface, hasOwnProperty } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
|
|
2
2
|
//#region extensions/slack/src/secret-contract.ts
|
|
3
|
-
const secretTargetRegistryEntries =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
secretShape: "secret_input",
|
|
21
|
-
expectedResolvedValue: "string",
|
|
22
|
-
includeInPlan: true,
|
|
23
|
-
includeInConfigure: true,
|
|
24
|
-
includeInAudit: true
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: "channels.slack.accounts.*.botToken",
|
|
28
|
-
targetType: "channels.slack.accounts.*.botToken",
|
|
29
|
-
configFile: "openclaw.json",
|
|
30
|
-
pathPattern: "channels.slack.accounts.*.botToken",
|
|
31
|
-
secretShape: "secret_input",
|
|
32
|
-
expectedResolvedValue: "string",
|
|
33
|
-
includeInPlan: true,
|
|
34
|
-
includeInConfigure: true,
|
|
35
|
-
includeInAudit: true
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: "channels.slack.accounts.*.signingSecret",
|
|
39
|
-
targetType: "channels.slack.accounts.*.signingSecret",
|
|
40
|
-
configFile: "openclaw.json",
|
|
41
|
-
pathPattern: "channels.slack.accounts.*.signingSecret",
|
|
42
|
-
secretShape: "secret_input",
|
|
43
|
-
expectedResolvedValue: "string",
|
|
44
|
-
includeInPlan: true,
|
|
45
|
-
includeInConfigure: true,
|
|
46
|
-
includeInAudit: true
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "channels.slack.accounts.*.userToken",
|
|
50
|
-
targetType: "channels.slack.accounts.*.userToken",
|
|
51
|
-
configFile: "openclaw.json",
|
|
52
|
-
pathPattern: "channels.slack.accounts.*.userToken",
|
|
53
|
-
secretShape: "secret_input",
|
|
54
|
-
expectedResolvedValue: "string",
|
|
55
|
-
includeInPlan: true,
|
|
56
|
-
includeInConfigure: true,
|
|
57
|
-
includeInAudit: true
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
id: "channels.slack.appToken",
|
|
61
|
-
targetType: "channels.slack.appToken",
|
|
62
|
-
configFile: "openclaw.json",
|
|
63
|
-
pathPattern: "channels.slack.appToken",
|
|
64
|
-
secretShape: "secret_input",
|
|
65
|
-
expectedResolvedValue: "string",
|
|
66
|
-
includeInPlan: true,
|
|
67
|
-
includeInConfigure: true,
|
|
68
|
-
includeInAudit: true
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
id: "channels.slack.botToken",
|
|
72
|
-
targetType: "channels.slack.botToken",
|
|
73
|
-
configFile: "openclaw.json",
|
|
74
|
-
pathPattern: "channels.slack.botToken",
|
|
75
|
-
secretShape: "secret_input",
|
|
76
|
-
expectedResolvedValue: "string",
|
|
77
|
-
includeInPlan: true,
|
|
78
|
-
includeInConfigure: true,
|
|
79
|
-
includeInAudit: true
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
id: "channels.slack.relay.authToken",
|
|
83
|
-
targetType: "channels.slack.relay.authToken",
|
|
84
|
-
configFile: "openclaw.json",
|
|
85
|
-
pathPattern: "channels.slack.relay.authToken",
|
|
86
|
-
secretShape: "secret_input",
|
|
87
|
-
expectedResolvedValue: "string",
|
|
88
|
-
includeInPlan: true,
|
|
89
|
-
includeInConfigure: true,
|
|
90
|
-
includeInAudit: true
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: "channels.slack.signingSecret",
|
|
94
|
-
targetType: "channels.slack.signingSecret",
|
|
95
|
-
configFile: "openclaw.json",
|
|
96
|
-
pathPattern: "channels.slack.signingSecret",
|
|
97
|
-
secretShape: "secret_input",
|
|
98
|
-
expectedResolvedValue: "string",
|
|
99
|
-
includeInPlan: true,
|
|
100
|
-
includeInConfigure: true,
|
|
101
|
-
includeInAudit: true
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
id: "channels.slack.userToken",
|
|
105
|
-
targetType: "channels.slack.userToken",
|
|
106
|
-
configFile: "openclaw.json",
|
|
107
|
-
pathPattern: "channels.slack.userToken",
|
|
108
|
-
secretShape: "secret_input",
|
|
109
|
-
expectedResolvedValue: "string",
|
|
110
|
-
includeInPlan: true,
|
|
111
|
-
includeInConfigure: true,
|
|
112
|
-
includeInAudit: true
|
|
113
|
-
}
|
|
114
|
-
];
|
|
3
|
+
const secretTargetRegistryEntries = createChannelSecretTargetRegistryEntries({
|
|
4
|
+
channelKey: "slack",
|
|
5
|
+
account: [
|
|
6
|
+
"appToken",
|
|
7
|
+
"relay.authToken",
|
|
8
|
+
"botToken",
|
|
9
|
+
"signingSecret",
|
|
10
|
+
"userToken"
|
|
11
|
+
],
|
|
12
|
+
channel: [
|
|
13
|
+
"appToken",
|
|
14
|
+
"botToken",
|
|
15
|
+
"relay.authToken",
|
|
16
|
+
"signingSecret",
|
|
17
|
+
"userToken"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
115
20
|
function collectRuntimeConfigAssignments(params) {
|
|
116
21
|
const resolved = getChannelSurface(params.config, "slack");
|
|
117
22
|
if (!resolved) return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-
|
|
1
|
+
import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-CMohXFWS.js";
|
|
2
2
|
export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
|