Hardcode the Composio key in app source; drop cred.txt and build-time injection

This commit is contained in:
ZacharyZhang-NY committed 2026-07-07 10:03:26 -04:00
1 parent ae27317aad
commit dde449d226
4 files changed
+8 -36

No files matched your search

+2 -4
View File
@@ -11,9 +11,7 @@ describe("composio credential resolution", () => {
expect(normalizeComposioApiKey(" ")).toBeNull();
});
test("without the build-time injection the key is null", () => {
// Vitest runs without the electron-vite define — the same shape as a
// build from a checkout that has no cred.txt.
expect(composioApiKey()).toBeNull();
test("the hardcoded key resolves in every build", () => {
expect(composioApiKey()).toBe("***REMOVED***");
});
});