mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-26 23:43:31 +00:00
fix(acp): strip provider auth env for child ACP processes (openclaw#42250)
Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: rodrigouroz <384037+rodrigouroz@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
@@ -98,6 +98,12 @@ describe("plugin-sdk subpath exports", () => {
|
||||
expect(typeof msteamsSdk.loadOutboundMediaFromUrl).toBe("function");
|
||||
});
|
||||
|
||||
it("exports acpx helpers", async () => {
|
||||
const acpxSdk = await import("openclaw/plugin-sdk/acpx");
|
||||
expect(typeof acpxSdk.listKnownProviderAuthEnvVarNames).toBe("function");
|
||||
expect(typeof acpxSdk.omitEnvKeysCaseInsensitive).toBe("function");
|
||||
});
|
||||
|
||||
it("resolves bundled extension subpaths", async () => {
|
||||
for (const { id, load } of bundledExtensionSubpathLoaders) {
|
||||
const mod = await load();
|
||||
|
||||
Reference in New Issue
Block a user