cc-claw 0.4.8 → 0.4.10
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/dist/cli.js +7 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -48,7 +48,7 @@ var VERSION;
|
|
|
48
48
|
var init_version = __esm({
|
|
49
49
|
"src/version.ts"() {
|
|
50
50
|
"use strict";
|
|
51
|
-
VERSION = true ? "0.4.
|
|
51
|
+
VERSION = true ? "0.4.10" : (() => {
|
|
52
52
|
try {
|
|
53
53
|
return JSON.parse(readFileSync(join2(process.cwd(), "package.json"), "utf-8")).version ?? "unknown";
|
|
54
54
|
} catch {
|
|
@@ -2889,28 +2889,28 @@ var init_codex = __esm({
|
|
|
2889
2889
|
thinkingLevels: ["low", "medium", "high", "extra_high"],
|
|
2890
2890
|
defaultThinkingLevel: "medium"
|
|
2891
2891
|
},
|
|
2892
|
-
"gpt-5.
|
|
2893
|
-
label: "GPT-5.
|
|
2892
|
+
"gpt-5.4-mini": {
|
|
2893
|
+
label: "GPT-5.4 Mini \u2014 small, fast, cheap",
|
|
2894
2894
|
thinking: "adjustable",
|
|
2895
2895
|
thinkingLevels: ["low", "medium", "high", "extra_high"],
|
|
2896
2896
|
defaultThinkingLevel: "low"
|
|
2897
2897
|
}
|
|
2898
2898
|
};
|
|
2899
2899
|
defaultModel = "gpt-5.4";
|
|
2900
|
-
summarizerModel = "gpt-5.
|
|
2900
|
+
summarizerModel = "gpt-5.4-mini";
|
|
2901
2901
|
pricing = {
|
|
2902
2902
|
"gpt-5.4": { in: 2.5, out: 10, cache: 0.63 },
|
|
2903
2903
|
"gpt-5.3-codex": { in: 2, out: 8, cache: 0.5 },
|
|
2904
2904
|
"gpt-5.2-codex": { in: 2, out: 8, cache: 0.5 },
|
|
2905
2905
|
"gpt-5.1-codex-max": { in: 1.25, out: 10, cache: 0.125 },
|
|
2906
|
-
"gpt-5.
|
|
2906
|
+
"gpt-5.4-mini": { in: 0.25, out: 2, cache: 0.025 }
|
|
2907
2907
|
};
|
|
2908
2908
|
contextWindow = {
|
|
2909
2909
|
"gpt-5.4": 2e5,
|
|
2910
2910
|
"gpt-5.3-codex": 2e5,
|
|
2911
2911
|
"gpt-5.2-codex": 2e5,
|
|
2912
2912
|
"gpt-5.1-codex-max": 4e5,
|
|
2913
|
-
"gpt-5.
|
|
2913
|
+
"gpt-5.4-mini": 2e5
|
|
2914
2914
|
};
|
|
2915
2915
|
// Codex has no single result event with final text -- the caller (spawnQuery)
|
|
2916
2916
|
// accumulates text from "text" events and uses it as fallback for resultText.
|
|
@@ -2937,7 +2937,7 @@ var init_codex = __esm({
|
|
|
2937
2937
|
}
|
|
2938
2938
|
applyThinkingConfig(level, _model) {
|
|
2939
2939
|
if (level === "auto") return {};
|
|
2940
|
-
const mapped = level === "off" ? "low" : level;
|
|
2940
|
+
const mapped = level === "off" ? "low" : level === "extra_high" ? "xhigh" : level;
|
|
2941
2941
|
return { extraArgs: ["-c", `model_reasoning_effort=${mapped}`] };
|
|
2942
2942
|
}
|
|
2943
2943
|
buildSpawnConfig(opts) {
|
package/package.json
CHANGED