mercury-agent 0.4.14 → 0.4.16

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mercury-agent",
3
- "version": "0.4.14",
3
+ "version": "0.4.16",
4
4
  "description": "Personal AI assistant for chat platforms (WhatsApp, Slack, Discord, Telegram)",
5
5
  "license": "MIT",
6
6
  "author": "Avishai Tsabari",
@@ -364,6 +364,7 @@ export function mergeRawMercuryConfig(
364
364
  const msg = e instanceof Error ? e.message : String(e);
365
365
  throw new Error(`Failed to read mercury config ${configPath}: ${msg}`);
366
366
  }
367
+ if (rawYaml == null) rawYaml = {};
367
368
  const parsed = mercuryFileSchema.safeParse(rawYaml);
368
369
  if (!parsed.success) {
369
370
  const issues = parsed.error.issues
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("@Pi,Pi"),
86
+ triggerPatterns: z.string().default("@Mercury,Mercury"),
87
87
  triggerMatch: z.string().default("mention"),
88
88
 
89
89
  // ─── Context Behavior ───────────────────────────────────────────────