kimiflare 0.72.0 → 0.73.0
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 +30 -3
- package/dist/index.js +2366 -717
- package/dist/index.js.map +1 -1
- package/dist/sdk/index.d.ts +18 -0
- package/dist/sdk/index.js +314 -39
- package/dist/sdk/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
<a href="https://github.com/sinameraji/kimiflare/blob/main/LICENSE"><img src="https://img.shields.io/github/license/sinameraji/kimiflare?style=flat-square&color=2ea44f" alt="license"></a>
|
|
9
9
|
<img src="https://img.shields.io/badge/node-%3E%3D20-339933?style=flat-square&logo=nodedotjs&logoColor=white" alt="Node.js >= 20">
|
|
10
10
|
<img src="https://img.shields.io/badge/typescript-5.7-3178c6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript">
|
|
11
|
-
<a href="https://developers.cloudflare.com/
|
|
11
|
+
<a href="https://developers.cloudflare.com/ai-gateway/"><img src="https://img.shields.io/badge/powered%20by-Multiple%20Models-f59e0b?style=flat-square" alt="Powered by Multiple Models"></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
|
-
<strong>A terminal coding agent powered by
|
|
16
|
-
|
|
15
|
+
<strong>A terminal coding agent powered by multiple models (Kimi-K2.6, Claude, GPT-5, Gemini, Llama, and more), routed through your own <a href="https://developers.cloudflare.com/ai-gateway/">Cloudflare AI Gateway</a>.</strong><br>
|
|
16
|
+
Switch models anytime with <code>/model</code>. First-class observability, caching, and authoritative cost — all on your Cloudflare account.
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
<p align="center">
|
|
@@ -91,6 +91,33 @@ Edit your token at: https://dash.cloudflare.com/profile/api-tokens
|
|
|
91
91
|
|
|
92
92
|
Once configured, `/cost` shows the Gateway-confirmed totals, cache hit ratio, per-feature breakdown, and direct dashboard links to each request log. `/gateway status` shows the current TTL, skip-cache flag, metadata tags, and live cache-hit ratio.
|
|
93
93
|
|
|
94
|
+
### Model selection
|
|
95
|
+
|
|
96
|
+
KimiFlare supports **11 models** across multiple providers, all routed through Cloudflare AI Gateway:
|
|
97
|
+
|
|
98
|
+
**Cloudflare Workers AI** (default, no API key needed):
|
|
99
|
+
- `@cf/moonshotai/kimi-k2.6` — 262k context, reasoning, tools
|
|
100
|
+
- `@cf/meta/llama-3.3-70b-instruct-fp8-fast` — 24k context, tools
|
|
101
|
+
- `@cf/meta/llama-4-scout-17b-16e-instruct` — 131k context, tools
|
|
102
|
+
|
|
103
|
+
**Anthropic** (requires API key):
|
|
104
|
+
- `anthropic/claude-opus-4-7` — 1M context, reasoning, tools
|
|
105
|
+
- `anthropic/claude-sonnet-4-6` — 1M context, reasoning, tools
|
|
106
|
+
- `anthropic/claude-haiku-4-5` — 200k context, tools
|
|
107
|
+
|
|
108
|
+
**OpenAI** (requires API key):
|
|
109
|
+
- `openai/gpt-5` — 400k context, reasoning, tools
|
|
110
|
+
- `openai/gpt-5-mini` — 400k context, reasoning, tools
|
|
111
|
+
|
|
112
|
+
**Google** (requires API key):
|
|
113
|
+
- `google-ai-studio/gemini-2.5-pro` — 1M context, reasoning, tools
|
|
114
|
+
- `google-ai-studio/gemini-2.5-flash` — 1M context, tools
|
|
115
|
+
|
|
116
|
+
**Other OpenAI-compatible** (requires API key):
|
|
117
|
+
- `groq/llama-3.3-70b-versatile` — 128k context, tools
|
|
118
|
+
|
|
119
|
+
Switch models anytime in the TUI with `/model`, or set at startup with `--model <id>` or the config file.
|
|
120
|
+
|
|
94
121
|
### One-shot mode
|
|
95
122
|
|
|
96
123
|
```sh
|