mercury-agent 0.4.13 → 0.4.15
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
package/src/config.ts
CHANGED
|
@@ -83,7 +83,7 @@ const schema = z.object({
|
|
|
83
83
|
modelCapabilitiesEnv: z.string().optional(),
|
|
84
84
|
|
|
85
85
|
// ─── Trigger Behavior ───────────────────────────────────────────────
|
|
86
|
-
triggerPatterns: z.string().default("@
|
|
86
|
+
triggerPatterns: z.string().default("@Mercury,Mercury"),
|
|
87
87
|
triggerMatch: z.string().default("mention"),
|
|
88
88
|
|
|
89
89
|
// ─── Context Behavior ───────────────────────────────────────────────
|