pi-free 2.2.2 → 2.2.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.
- package/CHANGELOG.md +18 -39
- package/README.md +41 -532
- package/banner.svg +23 -20
- package/config.ts +774 -702
- package/constants.ts +11 -1
- package/index.ts +432 -419
- package/lib/model-detection.ts +296 -296
- package/lib/model-metadata.ts +10 -3
- package/lib/telemetry.ts +36 -44
- package/package.json +3 -2
- package/provider-failover/benchmark-lookup.ts +30 -15
- package/provider-helper.ts +27 -8
- package/providers/bai/bai.ts +232 -237
- package/providers/cline/cline-xml-bridge.ts +31 -25
- package/providers/cline/cline.ts +17 -8
- package/providers/kilo/kilo.ts +11 -6
- package/providers/model-fetcher.ts +1 -1
- package/providers/opencode-session.ts +2 -2
- package/providers/openmodel/openmodel.ts +525 -0
- package/providers/qoder/auth.ts +548 -0
- package/providers/qoder/cosy.ts +236 -0
- package/providers/qoder/encoding.ts +48 -0
- package/providers/qoder/models.ts +321 -0
- package/providers/qoder/qoder.ts +154 -0
- package/providers/qoder/stream.ts +677 -0
- package/providers/qoder/thinking-parser.ts +251 -0
- package/providers/qoder/transform.ts +189 -0
- package/providers/tokenrouter/tokenrouter.ts +3 -6
package/banner.svg
CHANGED
|
@@ -88,28 +88,31 @@
|
|
|
88
88
|
</g>
|
|
89
89
|
|
|
90
90
|
<!-- Provider cards (right side) -->
|
|
91
|
-
<g transform="translate(700,
|
|
92
|
-
<rect x="0" y="0" width="250" height="
|
|
93
|
-
<rect x="0" y="0" width="250" height="
|
|
94
|
-
<text x="20" y="
|
|
95
|
-
<text x="20" y="
|
|
96
|
-
<text x="20" y="
|
|
97
|
-
<text x="20" y="
|
|
98
|
-
<text x="20" y="
|
|
99
|
-
<text x="20" y="
|
|
91
|
+
<g transform="translate(700, 45)">
|
|
92
|
+
<rect x="0" y="0" width="250" height="200" rx="12" fill="url(#card1)" stroke="#7c3aed" stroke-width="0.5" stroke-opacity="0.2" filter="url(#shadow)"/>
|
|
93
|
+
<rect x="0" y="0" width="250" height="200" rx="12" fill="none" stroke="url(#accent)" stroke-width="0.5" opacity="0.1"/>
|
|
94
|
+
<text x="20" y="26" font-family="system-ui, sans-serif" font-size="13" font-weight="700" fill="#c4b5fd">Providers</text>
|
|
95
|
+
<text x="20" y="46" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Kilo · Cline · OpenCode</text>
|
|
96
|
+
<text x="20" y="66" font-family="system-ui, sans-serif" font-size="11" fill="#a78bfa">OpenModel · AgentRouter</text>
|
|
97
|
+
<text x="20" y="86" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Ollama Cloud · SambaNova</text>
|
|
98
|
+
<text x="20" y="106" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Codestral · LLM7 · Novita</text>
|
|
99
|
+
<text x="20" y="126" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">ZenMux · CrofAI · DeepInfra</text>
|
|
100
|
+
<text x="20" y="146" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Together · TokenRouter · FastRouter</text>
|
|
101
|
+
<text x="20" y="166" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">+ dynamic (Mistral, Groq, …)</text>
|
|
100
102
|
</g>
|
|
101
103
|
|
|
102
|
-
<g transform="translate(970,
|
|
103
|
-
<rect x="0" y="0" width="250" height="
|
|
104
|
-
<rect x="0" y="0" width="250" height="
|
|
105
|
-
<text x="20" y="
|
|
106
|
-
<text x="20" y="
|
|
107
|
-
<text x="20" y="
|
|
108
|
-
<text x="20" y="
|
|
109
|
-
<text x="20" y="
|
|
110
|
-
<text x="20" y="
|
|
111
|
-
<text x="20" y="
|
|
112
|
-
<text x="20" y="
|
|
104
|
+
<g transform="translate(970, 45)">
|
|
105
|
+
<rect x="0" y="0" width="250" height="200" rx="12" fill="url(#card2)" stroke="#06b6d4" stroke-width="0.5" stroke-opacity="0.2" filter="url(#shadow)"/>
|
|
106
|
+
<rect x="0" y="0" width="250" height="200" rx="12" fill="none" stroke="url(#accent2)" stroke-width="0.5" opacity="0.1"/>
|
|
107
|
+
<text x="20" y="26" font-family="system-ui, sans-serif" font-size="13" font-weight="700" fill="#67e8f9">Features</text>
|
|
108
|
+
<text x="20" y="46" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Free model auto-detection</text>
|
|
109
|
+
<text x="20" y="64" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Per-provider toggles</text>
|
|
110
|
+
<text x="20" y="82" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">OAuth flows (Kilo, Cline)</text>
|
|
111
|
+
<text x="20" y="100" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Coding Index (CI) scores</text>
|
|
112
|
+
<text x="20" y="118" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Model health probes</text>
|
|
113
|
+
<text x="20" y="136" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">Thinking level maps</text>
|
|
114
|
+
<text x="20" y="154" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">404/403 auto-hide on probe</text>
|
|
115
|
+
<text x="20" y="172" font-family="system-ui, sans-serif" font-size="11" fill="#8b9aaa">+ dynamic built-in fetch</text>
|
|
113
116
|
</g>
|
|
114
117
|
|
|
115
118
|
<!-- Bottom tagline -->
|