@corbat-tech/coco 2.15.0 → 2.15.1
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/index.js +26 -7
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8361,7 +8361,7 @@ function humanizeError(message, toolName) {
|
|
|
8361
8361
|
)) {
|
|
8362
8362
|
return msg;
|
|
8363
8363
|
}
|
|
8364
|
-
if (/run git_init\b
|
|
8364
|
+
if (/run git_init\b/i.test(msg)) {
|
|
8365
8365
|
return msg;
|
|
8366
8366
|
}
|
|
8367
8367
|
if (/ECONNREFUSED/i.test(msg)) {
|
|
@@ -14384,12 +14384,12 @@ var CodexProvider = class {
|
|
|
14384
14384
|
}
|
|
14385
14385
|
};
|
|
14386
14386
|
var CONTEXT_WINDOWS4 = {
|
|
14387
|
-
// Claude models
|
|
14388
|
-
"claude-sonnet-4.6":
|
|
14389
|
-
"claude-opus-4.6":
|
|
14390
|
-
"claude-sonnet-4.5":
|
|
14391
|
-
"claude-opus-4.5":
|
|
14392
|
-
"claude-haiku-4.5":
|
|
14387
|
+
// Claude models — Copilot API caps these at 168 000 (not 200 000 like Anthropic direct)
|
|
14388
|
+
"claude-sonnet-4.6": 168e3,
|
|
14389
|
+
"claude-opus-4.6": 168e3,
|
|
14390
|
+
"claude-sonnet-4.5": 168e3,
|
|
14391
|
+
"claude-opus-4.5": 168e3,
|
|
14392
|
+
"claude-haiku-4.5": 168e3,
|
|
14393
14393
|
// OpenAI models — chat/completions
|
|
14394
14394
|
"gpt-4.1": 1048576,
|
|
14395
14395
|
// OpenAI models — /responses API (Codex/GPT-5+)
|