kimiflare 0.86.0 → 0.88.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 +6 -6
- package/dist/index.js +2485 -1289
- package/dist/index.js.map +1 -1
- package/dist/sdk/index.d.ts +9 -1
- package/dist/sdk/index.js +15 -6
- package/dist/sdk/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
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/workers-ai/models/kimi-k2"><img src="https://img.shields.io/badge/powered%20by-Kimi%20K2.
|
|
11
|
+
<a href="https://developers.cloudflare.com/workers-ai/models/kimi-k2"><img src="https://img.shields.io/badge/powered%20by-Kimi%20K2.7-f59e0b?style=flat-square" alt="Powered by Kimi K2.7"></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
|
-
<strong>A terminal coding agent powered by <a href="https://developers.cloudflare.com/workers-ai/models/kimi-k2">Kimi K2.
|
|
15
|
+
<strong>A terminal coding agent powered by <a href="https://developers.cloudflare.com/workers-ai/models/kimi-k2">Kimi K2.7</a> on <a href="https://developers.cloudflare.com/workers-ai/">Cloudflare Workers AI</a> — with optional routing through your own <a href="https://developers.cloudflare.com/ai-gateway/">AI Gateway</a> for first-class observability, caching, and authoritative cost.</strong><br>
|
|
16
16
|
All on your Cloudflare account.
|
|
17
17
|
</p>
|
|
18
18
|
|
|
@@ -93,11 +93,11 @@ Once configured, `/cost` shows the Gateway-confirmed totals, cache hit ratio, pe
|
|
|
93
93
|
|
|
94
94
|
### Model
|
|
95
95
|
|
|
96
|
-
KimiFlare runs on **Kimi K2.
|
|
96
|
+
KimiFlare runs on **Kimi K2.7** via Cloudflare Workers AI — no API key needed beyond your Cloudflare token:
|
|
97
97
|
|
|
98
|
-
- `@cf/moonshotai/kimi-k2.
|
|
98
|
+
- `@cf/moonshotai/kimi-k2.7-code` — 262k context, reasoning, tools, vision
|
|
99
99
|
|
|
100
|
-
`@cf/moonshotai/kimi-k2.5`
|
|
100
|
+
`@cf/moonshotai/kimi-k2.6` and `@cf/moonshotai/kimi-k2.5` are also available.
|
|
101
101
|
|
|
102
102
|
### One-shot mode
|
|
103
103
|
|
|
@@ -120,7 +120,7 @@ const { session } = await createAgentSession({
|
|
|
120
120
|
accountId: process.env.CLOUDFLARE_ACCOUNT_ID,
|
|
121
121
|
apiToken: process.env.CLOUDFLARE_API_TOKEN,
|
|
122
122
|
aiGatewayId: process.env.CLOUDFLARE_AI_GATEWAY_ID,
|
|
123
|
-
model: "@cf/moonshotai/kimi-k2.
|
|
123
|
+
model: "@cf/moonshotai/kimi-k2.7-code",
|
|
124
124
|
},
|
|
125
125
|
});
|
|
126
126
|
|