macroclaw 0.47.0 → 0.48.0

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": "macroclaw",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "Telegram-to-Claude-Code bridge",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -22,7 +22,7 @@ const fullSchema = z.object({
22
22
  backgroundAgents: z.array(z.object({
23
23
  name: z.string(),
24
24
  prompt: z.string(),
25
- model: z.enum(["haiku", "sonnet", "opus"]).optional(),
25
+ model: z.enum(["haiku", "sonnet", "opus", "fable"]).optional(),
26
26
  })).optional(),
27
27
  });
28
28
 
@@ -29,7 +29,7 @@ const HEALTH_CHECK_TIMEOUT_MS = 120 * 1000;
29
29
  const backgroundAgentSchema = z.object({
30
30
  name: z.string().describe("Label for the background agent"),
31
31
  prompt: z.string().describe("The prompt/task for the background agent"),
32
- model: z.enum(["haiku", "sonnet", "opus"]).describe("Model to use for the background agent").optional(),
32
+ model: z.enum(["haiku", "sonnet", "opus", "fable"]).describe("Model to use for the background agent").optional(),
33
33
  });
34
34
 
35
35
  const agentOutputSchema = z.object({
package/src/settings.ts CHANGED
@@ -9,7 +9,7 @@ const log = createLogger("settings");
9
9
  export const settingsSchema = z.object({
10
10
  botToken: z.string().trim(),
11
11
  adminChatId: z.string().trim().regex(/^-?\d+$/, "Must be a numeric Telegram chat ID"),
12
- model: z.string().trim().pipe(z.enum(["haiku", "sonnet", "opus"])).default("sonnet"),
12
+ model: z.string().trim().pipe(z.enum(["haiku", "sonnet", "opus", "fable"])).default("sonnet"),
13
13
  workspace: z.string().trim().default("~/.macroclaw-workspace"),
14
14
  timeZone: z.string().trim().refine((tz) => IANAZone.isValidZone(tz), "Must be a valid IANA timezone").default("UTC"),
15
15
  openaiApiKey: z.string().trim().optional(),