@askalf/dario 2.9.4 → 2.9.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.
- package/README.md +1 -1
- package/dist/proxy.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ Opus, Sonnet, Haiku — all models, streaming, tool use. **Zero dependencies.**
|
|
|
51
51
|
|
|
52
52
|
**Copilot** (Microsoft)
|
|
53
53
|
|
|
54
|
-
*"Verdict: Safe for local use — well-implemented with strong security practices. Minimal attack surface:
|
|
54
|
+
*"Verdict: Safe for local use — well-implemented with strong security practices. Minimal attack surface: zero runtime dependencies, PKCE OAuth, localhost-only binding, timing-safe auth, zero telemetry. The main risk vector is operator error rather than code defects."*
|
|
55
55
|
|
|
56
56
|
</td>
|
|
57
57
|
<td width="33%" valign="top">
|
package/dist/proxy.js
CHANGED
|
@@ -788,7 +788,9 @@ export async function startProxy(opts = {}) {
|
|
|
788
788
|
if (supportsThinking && !r.thinking) {
|
|
789
789
|
r.thinking = { type: 'adaptive' };
|
|
790
790
|
}
|
|
791
|
-
|
|
791
|
+
// Claude Code always sends max_tokens: 64000. Values above this
|
|
792
|
+
// are a fingerprint — cap to match real CC behavior.
|
|
793
|
+
if (!r.max_tokens || r.max_tokens !== 64000) {
|
|
792
794
|
r.max_tokens = 64000;
|
|
793
795
|
}
|
|
794
796
|
if (supportsThinking && !r.output_config) {
|