theclawbay 0.6.4 → 0.6.5
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.
|
@@ -24,6 +24,11 @@ const SUPPORTED_MODELS = (0, supported_models_1.getSupportedModels)();
|
|
|
24
24
|
const SUPPORTED_MODEL_CONFIG = new Map(SUPPORTED_MODELS.map((model) => [model.id, model]));
|
|
25
25
|
const TEMPLATE_MODEL_IDS = TARGET_MODEL_IDS;
|
|
26
26
|
const TARGET_MODEL_LABEL_TEXT = "the current The Claw Bay model catalog";
|
|
27
|
+
const AUTO_COMPACT_TOKEN_LIMIT_BY_MODEL_ID = new Map([
|
|
28
|
+
["gpt-5.6", 240000],
|
|
29
|
+
["gpt-5.6-sol", 240000],
|
|
30
|
+
["gpt-5.6-terra", 240000],
|
|
31
|
+
]);
|
|
27
32
|
const DEFAULT_REASONING_LEVELS = [
|
|
28
33
|
{ effort: "low", description: "Fast responses with lighter reasoning" },
|
|
29
34
|
{ effort: "medium", description: "Balances speed and reasoning depth for everyday tasks" },
|
|
@@ -225,6 +230,14 @@ function normalizeSeedModel(template, modelId) {
|
|
|
225
230
|
if (typeof seed.effective_context_window_percent !== "number") {
|
|
226
231
|
seed.effective_context_window_percent = 95;
|
|
227
232
|
}
|
|
233
|
+
const autoCompactTokenLimit = AUTO_COMPACT_TOKEN_LIMIT_BY_MODEL_ID.get(modelId);
|
|
234
|
+
if (autoCompactTokenLimit !== undefined) {
|
|
235
|
+
const existingLimit = seed.auto_compact_token_limit;
|
|
236
|
+
seed.auto_compact_token_limit =
|
|
237
|
+
typeof existingLimit === "number" && Number.isFinite(existingLimit)
|
|
238
|
+
? Math.min(existingLimit, autoCompactTokenLimit)
|
|
239
|
+
: autoCompactTokenLimit;
|
|
240
|
+
}
|
|
228
241
|
if (!Array.isArray(seed.input_modalities) || seed.input_modalities.length === 0) {
|
|
229
242
|
seed.input_modalities = ["text", "image"];
|
|
230
243
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "theclawbay",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "CLI for connecting Codex, Hermes Agent, Gemini-compatible apps, Continue, Cline, GSD, OpenClaw, OpenCode, Kilo, Roo Code, Aider, experimental Trae, and experimental Zo to The Claw Bay.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|