mercury-agent 0.4.13 → 0.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,9 +44,13 @@ type MercuryExt = {
44
44
  ): void;
45
45
  };
46
46
 
47
- import manifest from "mercury-agent/resources/connection-env-vars.json";
48
-
49
- const gwsEnv = manifest.gws;
47
+ const gwsEnv = {
48
+ credentialEnvVar: "MERCURY_GWS_CREDENTIALS_JSON",
49
+ env: {
50
+ credentials: "MERCURY_GWS_CREDENTIALS_JSON",
51
+ legacyCredentialsFile: "MERCURY_GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE",
52
+ },
53
+ };
50
54
 
51
55
  /** Path where credentials are materialized inside the inner container's own /tmp. */
52
56
  const CREDENTIALS_FILE = "/tmp/gws-credentials.json";
@@ -30,9 +30,13 @@ type MercuryExt = {
30
30
  }): void;
31
31
  };
32
32
 
33
- import manifest from "mercury-agent/resources/connection-env-vars.json";
34
-
35
- const yahooEnv = manifest["yahoo-mail"];
33
+ const yahooEnv = {
34
+ credentialEnvVar: "MERCURY_YAHOO_APP_PASSWORD",
35
+ env: {
36
+ email: "MERCURY_YAHOO_EMAIL",
37
+ appPassword: "MERCURY_YAHOO_APP_PASSWORD",
38
+ },
39
+ };
36
40
 
37
41
  export default function (mercury: MercuryExt) {
38
42
  mercury.cli({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mercury-agent",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Personal AI assistant for chat platforms (WhatsApp, Slack, Discord, Telegram)",
5
5
  "license": "MIT",
6
6
  "author": "Avishai Tsabari",