

























@@ -10,52 +10,53 @@ import {
1010} from "openclaw/plugin-sdk/channel-secret-basic-runtime";
1111import { getMatrixScopedEnvVarNames } from "./env-vars.js";
121213-export const secretTargetRegistryEntries = [
14-{
15-id: "channels.matrix.accounts.*.accessToken",
16-targetType: "channels.matrix.accounts.*.accessToken",
17-configFile: "openclaw.json",
18-pathPattern: "channels.matrix.accounts.*.accessToken",
19-secretShape: "secret_input",
20-expectedResolvedValue: "string",
21-includeInPlan: true,
22-includeInConfigure: true,
23-includeInAudit: true,
24-},
25-{
26-id: "channels.matrix.accounts.*.password",
27-targetType: "channels.matrix.accounts.*.password",
28-configFile: "openclaw.json",
29-pathPattern: "channels.matrix.accounts.*.password",
30-secretShape: "secret_input",
31-expectedResolvedValue: "string",
32-includeInPlan: true,
33-includeInConfigure: true,
34-includeInAudit: true,
35-},
36-{
37-id: "channels.matrix.accessToken",
38-targetType: "channels.matrix.accessToken",
39-configFile: "openclaw.json",
40-pathPattern: "channels.matrix.accessToken",
41-secretShape: "secret_input",
42-expectedResolvedValue: "string",
43-includeInPlan: true,
44-includeInConfigure: true,
45-includeInAudit: true,
46-},
47-{
48-id: "channels.matrix.password",
49-targetType: "channels.matrix.password",
50-configFile: "openclaw.json",
51-pathPattern: "channels.matrix.password",
52-secretShape: "secret_input",
53-expectedResolvedValue: "string",
54-includeInPlan: true,
55-includeInConfigure: true,
56-includeInAudit: true,
57-},
58-] satisfies import("openclaw/plugin-sdk/channel-secret-basic-runtime").SecretTargetRegistryEntry[];
13+export const secretTargetRegistryEntries: import("openclaw/plugin-sdk/channel-secret-basic-runtime").SecretTargetRegistryEntry[] =
14+[
15+{
16+id: "channels.matrix.accounts.*.accessToken",
17+targetType: "channels.matrix.accounts.*.accessToken",
18+configFile: "openclaw.json",
19+pathPattern: "channels.matrix.accounts.*.accessToken",
20+secretShape: "secret_input",
21+expectedResolvedValue: "string",
22+includeInPlan: true,
23+includeInConfigure: true,
24+includeInAudit: true,
25+},
26+{
27+id: "channels.matrix.accounts.*.password",
28+targetType: "channels.matrix.accounts.*.password",
29+configFile: "openclaw.json",
30+pathPattern: "channels.matrix.accounts.*.password",
31+secretShape: "secret_input",
32+expectedResolvedValue: "string",
33+includeInPlan: true,
34+includeInConfigure: true,
35+includeInAudit: true,
36+},
37+{
38+id: "channels.matrix.accessToken",
39+targetType: "channels.matrix.accessToken",
40+configFile: "openclaw.json",
41+pathPattern: "channels.matrix.accessToken",
42+secretShape: "secret_input",
43+expectedResolvedValue: "string",
44+includeInPlan: true,
45+includeInConfigure: true,
46+includeInAudit: true,
47+},
48+{
49+id: "channels.matrix.password",
50+targetType: "channels.matrix.password",
51+configFile: "openclaw.json",
52+pathPattern: "channels.matrix.password",
53+secretShape: "secret_input",
54+expectedResolvedValue: "string",
55+includeInPlan: true,
56+includeInConfigure: true,
57+includeInAudit: true,
58+},
59+];
59606061export function collectRuntimeConfigAssignments(params: {
6162config: { channels?: Record<string, unknown> };
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。