@inetafrica/open-claudia 1.13.1 → 1.13.3
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/bot.js +3 -3
- package/package.json +1 -1
package/bot.js
CHANGED
|
@@ -266,8 +266,8 @@ if (!fs.existsSync(FILES_DIR)) fs.mkdirSync(FILES_DIR, { recursive: true });
|
|
|
266
266
|
const MAX_FILE_SIZE = 50 * 1024 * 1024; // 50MB max for documents
|
|
267
267
|
const MAX_VOICE_SIZE = 10 * 1024 * 1024; // 10MB max for voice/audio
|
|
268
268
|
|
|
269
|
-
// Process timeout (
|
|
270
|
-
const MAX_PROCESS_TIMEOUT =
|
|
269
|
+
// Process timeout (6 hours max)
|
|
270
|
+
const MAX_PROCESS_TIMEOUT = 360 * 60 * 1000;
|
|
271
271
|
|
|
272
272
|
// ── Persistent state ───────────────────────────────────────────────
|
|
273
273
|
const STATE_FILE = path.join(CONFIG_DIR, "state.json");
|
|
@@ -1209,7 +1209,7 @@ bot.onText(/\/model$/, (msg) => {
|
|
|
1209
1209
|
[{ text: "GPT-5.4", callback_data: "m:gpt-5.4-medium" }, { text: "GPT-5.4 High", callback_data: "m:gpt-5.4-high" }],
|
|
1210
1210
|
[{ text: "Auto", callback_data: "m:auto" }, { text: "Default", callback_data: "m:default" }],
|
|
1211
1211
|
] : [
|
|
1212
|
-
[{ text: "Opus", callback_data: "m:opus" }, { text: "Sonnet", callback_data: "m:sonnet" }, { text: "Haiku", callback_data: "m:haiku" }],
|
|
1212
|
+
[{ text: "Opus 4.7", callback_data: "m:claude-opus-4-7" }, { text: "Opus 4.6", callback_data: "m:claude-opus-4-6" }, { text: "Sonnet 4.6", callback_data: "m:claude-sonnet-4-6" }, { text: "Haiku", callback_data: "m:claude-haiku-4-5-20251001" }],
|
|
1213
1213
|
[{ text: "Default", callback_data: "m:default" }],
|
|
1214
1214
|
];
|
|
1215
1215
|
const label = settings.backend === "cursor" ? "Cursor Agent" : "Claude Code";
|