theclawbay 0.6.3 → 0.6.4
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.
|
@@ -5,7 +5,7 @@ export declare const MANAGED_END = "# theclawbay-managed:end";
|
|
|
5
5
|
export declare const HISTORY_PROVIDER_NEUTRALIZE_SOURCES: Set<string>;
|
|
6
6
|
export declare const HISTORY_PROVIDER_DB_MIGRATE_SOURCES: string[];
|
|
7
7
|
export declare const CODEX_MODEL_CONTEXT_WINDOW = 272000;
|
|
8
|
-
export declare const CODEX_MODEL_AUTO_COMPACT_TOKEN_LIMIT =
|
|
8
|
+
export declare const CODEX_MODEL_AUTO_COMPACT_TOKEN_LIMIT = 240000;
|
|
9
9
|
export type CodexFeatureFlagSnapshot = {
|
|
10
10
|
hadFeaturesTable: boolean;
|
|
11
11
|
appsHadKey: boolean;
|
|
@@ -32,10 +32,10 @@ exports.HISTORY_PROVIDER_DB_MIGRATE_SOURCES = ["openai", providers_1.DEFAULT_PRO
|
|
|
32
32
|
// In API-key + custom base_url mode there is no server-provided window, so unless
|
|
33
33
|
// we write these, `model_context_window()` is None and compaction never fires —
|
|
34
34
|
// the conversation grows unbounded until it hits the relay's request-size cap.
|
|
35
|
-
//
|
|
36
|
-
//
|
|
35
|
+
// Keep the compact trigger below the long-context pricing threshold so Codex
|
|
36
|
+
// compacts before customers are likely to enter the higher-priced tier.
|
|
37
37
|
exports.CODEX_MODEL_CONTEXT_WINDOW = 272000;
|
|
38
|
-
exports.CODEX_MODEL_AUTO_COMPACT_TOKEN_LIMIT =
|
|
38
|
+
exports.CODEX_MODEL_AUTO_COMPACT_TOKEN_LIMIT = 240000;
|
|
39
39
|
function removeProviderTable(source, providerId) {
|
|
40
40
|
const header = `[model_providers.${providerId}]`;
|
|
41
41
|
const lines = source.split(/\r?\n/);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "theclawbay",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
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": {
|