Commit cred.txt so every checkout builds with the Composio key

This commit is contained in:
ZacharyZhang-NY committed 2026-07-07 10:00:31 -04:00
1 parent 0ec13e3e3a
commit ae27317aad
3 files changed
+6 -6

No files matched your search

-1
View File
@@ -6,4 +6,3 @@ playwright-report/
coverage/
*.tsbuildinfo
design-source/
cred.txt
+4 -3
View File
@@ -8,9 +8,10 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
/**
* The Composio integration key is compiled into the main-process bundle so
* no credential file ever ships with the app. It lives in the gitignored
* cred.txt at the repository root (first line "Composio apikey: ak_...");
* a checkout without the file builds an app whose connector features report
* no credential file ever ships with the app. It lives in cred.txt at the
* repository root (first line "Composio apikey: ak_..."), committed on
* purpose — private repo, and every checkout must build a configured app.
* A checkout without the file builds an app whose connector features report
* the integration as unconfigured. Rotation = update cred.txt, rebuild.
*/
function composioApiKeyForBuild(): string {
@@ -1,7 +1,7 @@
/**
* The Composio integration key ships inside the compiled main-process
* bundle: electron.vite.config.ts reads the gitignored cred.txt at the
* repository root during build and injects the key as __COMPOSIO_API_KEY__.
* bundle: electron.vite.config.ts reads cred.txt at the repository root
* during build and injects the key as __COMPOSIO_API_KEY__.
* No credential file is packaged, nothing is persisted to the database, and
* the key is never user-visible or configurable. Rotating the key means
* updating cred.txt and rebuilding.