@inetafrica/open-claudia 2.2.20 → 2.2.21

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/.env.example CHANGED
@@ -17,7 +17,7 @@ KAZEE_DEBUG_EVENTS=
17
17
  WORKSPACE=/path/to/your/workspace
18
18
  CLAUDE_PATH=/path/to/claude
19
19
  # Default Claude Code model when users haven't selected one with /model.
20
- CLAUDE_MODEL=claude-opus-4-8
20
+ CLAUDE_MODEL=claude-fable-5
21
21
  CURSOR_PATH=
22
22
  CODEX_PATH=
23
23
  AUTO_COMPACT_TOKENS=280000
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.2.21
4
+ - Add Claude Fable 5 (`claude-fable-5`) to the Claude model picker and make it the default Claude Code model used when no per-user model override is selected. The default can still be overridden with `CLAUDE_MODEL`.
5
+
3
6
  ## v2.2.19
4
7
  - Add Claude Opus 4.8 (`claude-opus-4-8`) to the Claude model picker and make it the default Claude Code model used when no per-user model override is selected. The default can still be overridden with `CLAUDE_MODEL`, now documented in `.env.example`.
5
8
 
package/bot-agent.js CHANGED
@@ -78,7 +78,7 @@ const CHAT_ID = CHAT_IDS[0]; // Primary owner chat for crons/notifications
78
78
  const WORKSPACE = config.WORKSPACE;
79
79
  const CLAUDE_PATH = config.CLAUDE_PATH;
80
80
  const CURSOR_PATH = config.CURSOR_PATH || null;
81
- const DEFAULT_CLAUDE_MODEL = config.CLAUDE_MODEL || process.env.CLAUDE_MODEL || "claude-opus-4-8";
81
+ const DEFAULT_CLAUDE_MODEL = config.CLAUDE_MODEL || process.env.CLAUDE_MODEL || "claude-fable-5";
82
82
 
83
83
  // Resolve Cursor Agent CLI (optional)
84
84
  let resolvedCursorPath = CURSOR_PATH;
@@ -1661,9 +1661,9 @@ bot.onText(/\/model$/, (msg) => {
1661
1661
  [{ text: "GPT-5.4", callback_data: "m:gpt-5.4-medium" }, { text: "GPT-5.4 High", callback_data: "m:gpt-5.4-high" }],
1662
1662
  [{ text: "Auto", callback_data: "m:auto" }, { text: "Default", callback_data: "m:default" }],
1663
1663
  ] : [
1664
- [{ text: "Opus 4.8", callback_data: "m:claude-opus-4-8" }, { text: "Opus 4.7", callback_data: "m:claude-opus-4-7" }],
1665
- [{ text: "Sonnet", callback_data: "m:sonnet" }, { text: "Haiku", callback_data: "m:haiku" }],
1666
- [{ text: "Default", callback_data: "m:default" }],
1664
+ [{ text: "Fable 5", callback_data: "m:claude-fable-5" }, { text: "Opus 4.8", callback_data: "m:claude-opus-4-8" }],
1665
+ [{ text: "Opus 4.7", callback_data: "m:claude-opus-4-7" }, { text: "Sonnet", callback_data: "m:sonnet" }],
1666
+ [{ text: "Haiku", callback_data: "m:haiku" }, { text: "Default", callback_data: "m:default" }],
1667
1667
  ];
1668
1668
  const label = settings.backend === "cursor" ? "Cursor Agent" : "Claude Code";
1669
1669
  send(`${label} model: ${settings.model || "default"}\n\nOr type /model <name> for any model.`, { keyboard: { inline_keyboard: keyboard } });
package/core/config.js CHANGED
@@ -47,7 +47,7 @@ const WORKSPACE = config.WORKSPACE;
47
47
  const CLAUDE_PATH = config.CLAUDE_PATH;
48
48
  const CURSOR_PATH = config.CURSOR_PATH || null;
49
49
  const CODEX_PATH = config.CODEX_PATH || null;
50
- const DEFAULT_CLAUDE_MODEL = config.CLAUDE_MODEL || process.env.CLAUDE_MODEL || "claude-opus-4-8";
50
+ const DEFAULT_CLAUDE_MODEL = config.CLAUDE_MODEL || process.env.CLAUDE_MODEL || "claude-fable-5";
51
51
  const AUTO_COMPACT_TOKENS = parseInt(config.AUTO_COMPACT_TOKENS || process.env.AUTO_COMPACT_TOKENS || "380000", 10);
52
52
  const MIN_COMPACT_INTERVAL_MS = parseInt(config.MIN_COMPACT_INTERVAL_MS || process.env.MIN_COMPACT_INTERVAL_MS || "1800000", 10);
53
53
  const PROJECT_TRANSCRIPTS = configTruthy(config.PROJECT_TRANSCRIPTS || process.env.PROJECT_TRANSCRIPTS, true);
package/core/handlers.js CHANGED
@@ -535,7 +535,10 @@ register({
535
535
  const rows = [];
536
536
  rows.push([{ text: "── Claude ──", callback_data: "noop" }]);
537
537
  rows.push([
538
+ { text: "Fable 5", callback_data: "mb:claude:claude-fable-5" },
538
539
  { text: "Opus 4.8", callback_data: "mb:claude:claude-opus-4-8" },
540
+ ]);
541
+ rows.push([
539
542
  { text: "Opus 4.7", callback_data: "mb:claude:claude-opus-4-7" },
540
543
  { text: "Opus 4.6", callback_data: "mb:claude:claude-opus-4-6" },
541
544
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inetafrica/open-claudia",
3
- "version": "2.2.20",
3
+ "version": "2.2.21",
4
4
  "description": "Your always-on AI coding assistant — Claude Code, Cursor Agent, and OpenAI Codex via Telegram or Kazee Chat",
5
5
  "main": "bot.js",
6
6
  "bin": {