fix(plugins): persist synthetic auth refs in index · openclaw/openclaw@3a54bbb
vincentkoc
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -123,6 +123,7 @@ function createRichPluginFixture(params: { packageVersion?: string } = {}) {
|
123 | 123 | providerAuthEnvVars: { |
124 | 124 | demo: ["DEMO_API_KEY"], |
125 | 125 | }, |
| 126 | +syntheticAuthRefs: ["demo", "demo-cli"], |
126 | 127 | channelEnvVars: { |
127 | 128 | "demo-chat": ["DEMO_CHAT_TOKEN"], |
128 | 129 | }, |
@@ -182,6 +183,7 @@ describe("installed plugin index", () => {
|
182 | 183 | rootDir: fixture.rootDir, |
183 | 184 | source: path.join(fixture.rootDir, "index.ts"), |
184 | 185 | enabled: true, |
| 186 | +syntheticAuthRefs: ["demo", "demo-cli"], |
185 | 187 | packageInstall: { |
186 | 188 | defaultChoice: "npm", |
187 | 189 | npm: { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。