@lansenger-pm/openclaw-lansenger-channel 3.17.5 → 3.17.6
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [3.17.6] - 2026-07-15
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **`openclaw secrets configure/audit` not discovering lansenger appSecret**: OpenClaw CLI discovers secret contract APIs by loading a standalone `dist/secret-contract-api.js` file, not from the runtime plugin object. Added this file so `appSecret` now appears in `openclaw secrets configure` and `openclaw secrets audit` correctly detects plaintext appSecret values.
|
|
12
|
+
|
|
7
13
|
## [3.17.5] - 2026-07-15
|
|
8
14
|
|
|
9
15
|
### Fixed
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getChannelSurface, collectSimpleChannelFieldAssignments, } from "openclaw/plugin-sdk/channel-secret-runtime";
|
|
2
|
+
export const secretTargetRegistryEntries = [
|
|
3
|
+
{
|
|
4
|
+
id: "channels.lansenger.accounts.*.appSecret",
|
|
5
|
+
targetType: "channels.lansenger.appSecret",
|
|
6
|
+
configFile: "openclaw.json",
|
|
7
|
+
pathPattern: "channels.lansenger.accounts.*.appSecret",
|
|
8
|
+
secretShape: "secret_input",
|
|
9
|
+
expectedResolvedValue: "string",
|
|
10
|
+
includeInPlan: true,
|
|
11
|
+
includeInConfigure: true,
|
|
12
|
+
includeInAudit: true,
|
|
13
|
+
accountIdPathSegmentIndex: 3,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: "channels.lansenger.appSecret",
|
|
17
|
+
targetType: "channels.lansenger.appSecret",
|
|
18
|
+
configFile: "openclaw.json",
|
|
19
|
+
pathPattern: "channels.lansenger.appSecret",
|
|
20
|
+
secretShape: "secret_input",
|
|
21
|
+
expectedResolvedValue: "string",
|
|
22
|
+
includeInPlan: true,
|
|
23
|
+
includeInConfigure: true,
|
|
24
|
+
includeInAudit: true,
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
export function collectRuntimeConfigAssignments(params) {
|
|
28
|
+
const resolved = getChannelSurface(params.config, "lansenger");
|
|
29
|
+
if (!resolved)
|
|
30
|
+
return;
|
|
31
|
+
const { channel, surface } = resolved;
|
|
32
|
+
collectSimpleChannelFieldAssignments({
|
|
33
|
+
channelKey: "lansenger",
|
|
34
|
+
field: "appSecret",
|
|
35
|
+
channel: channel,
|
|
36
|
+
surface,
|
|
37
|
+
defaults: params.defaults,
|
|
38
|
+
context: params.context,
|
|
39
|
+
topInactiveReason: "Lansenger channel is not enabled.",
|
|
40
|
+
accountInactiveReason: "Lansenger account is disabled.",
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=secret-contract-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-contract-api.js","sourceRoot":"","sources":["../secret-contract-api.ts"],"names":[],"mappings":"AASA,OAAO,EACL,iBAAiB,EACjB,oCAAoC,GACrC,MAAM,4CAA4C,CAAC;AAEpD,MAAM,CAAC,MAAM,2BAA2B,GAAyC;IAC/E;QACE,EAAE,EAAE,yCAAyC;QAC7C,UAAU,EAAE,8BAA8B;QAC1C,UAAU,EAAE,eAAe;QAC3B,WAAW,EAAE,yCAAyC;QACtD,WAAW,EAAE,cAAc;QAC3B,qBAAqB,EAAE,QAAQ;QAC/B,aAAa,EAAE,IAAI;QACnB,kBAAkB,EAAE,IAAI;QACxB,cAAc,EAAE,IAAI;QACpB,yBAAyB,EAAE,CAAC;KAC7B;IACD;QACE,EAAE,EAAE,8BAA8B;QAClC,UAAU,EAAE,8BAA8B;QAC1C,UAAU,EAAE,eAAe;QAC3B,WAAW,EAAE,8BAA8B;QAC3C,WAAW,EAAE,cAAc;QAC3B,qBAAqB,EAAE,QAAQ;QAC/B,aAAa,EAAE,IAAI;QACnB,kBAAkB,EAAE,IAAI;QACxB,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEF,MAAM,UAAU,+BAA+B,CAAC,MAI/C;IACC,MAAM,QAAQ,GAAG,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC/D,IAAI,CAAC,QAAQ;QAAE,OAAO;IAEtB,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC;IACtC,oCAAoC,CAAC;QACnC,UAAU,EAAE,WAAW;QACvB,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,OAAkC;QAC3C,OAAO;QACP,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,iBAAiB,EAAE,mCAAmC;QACtD,qBAAqB,EAAE,gCAAgC;KACxD,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansenger-pm/openclaw-lansenger-channel",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/index.*",
|
|
11
|
+
"dist/secret-contract-api.*",
|
|
11
12
|
"dist/setup-entry.*",
|
|
12
13
|
"dist/src/channel.js",
|
|
13
14
|
"dist/src/channel.d.ts",
|