kimiflare 0.1.0 → 0.1.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/README.md +25 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,24 +23,19 @@ kimiflare · /help for commands · ctrl-c to exit
|
|
|
23
23
|
[Allow once] [Allow for session] [Deny]
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
##
|
|
26
|
+
## Install
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- **Pay your own way.** Your Cloudflare account, your credits, your rate limits. `$0.95 / M input`, `$0.16 / M cached input`, `$4.00 / M output`. The bottom status line shows live cost.
|
|
28
|
+
```sh
|
|
29
|
+
npm install -g kimiflare
|
|
30
|
+
```
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
Or run without installing:
|
|
34
33
|
|
|
35
34
|
```sh
|
|
36
|
-
|
|
37
|
-
cd kimiflare
|
|
38
|
-
npm install
|
|
39
|
-
npm run build
|
|
40
|
-
npm link # or: ln -s "$PWD/bin/kimiflare.mjs" ~/.local/bin/kimiflare
|
|
35
|
+
npx kimiflare
|
|
41
36
|
```
|
|
42
37
|
|
|
43
|
-
|
|
38
|
+
Requires Node.js ≥ 20.
|
|
44
39
|
|
|
45
40
|
## Configure
|
|
46
41
|
|
|
@@ -93,6 +88,13 @@ Interactive slash commands:
|
|
|
93
88
|
|
|
94
89
|
Keys: `Ctrl-R` toggles reasoning, `Ctrl-C` interrupts an in-flight turn (press again to exit).
|
|
95
90
|
|
|
91
|
+
## Why
|
|
92
|
+
|
|
93
|
+
- **262k context.** Read entire modules without pagination.
|
|
94
|
+
- **Native tool use.** File I/O, shell, globs, grep, web fetch — all wired up, with per-call approval for anything mutating.
|
|
95
|
+
- **Streaming reasoning + content.** The model's chain-of-thought streams separately; toggle with `/reasoning` or `Ctrl-R`.
|
|
96
|
+
- **Pay your own way.** Your Cloudflare account, your credits, your rate limits. `$0.95 / M input`, `$0.16 / M cached input`, `$4.00 / M output`. The bottom status line shows live cost.
|
|
97
|
+
|
|
96
98
|
## Tools
|
|
97
99
|
|
|
98
100
|
All tool calls show inline; mutating ones require per-call approval the first time, with an option to allow for the rest of the session.
|
|
@@ -128,9 +130,19 @@ All tool calls show inline; mutating ones require per-call approval the first ti
|
|
|
128
130
|
|
|
129
131
|
No AI Gateway, no proxy, no OpenAI SDK. Direct `fetch` to Workers AI, OpenAI-compatible `messages` + `tools` payload, SSE stream with reasoning + content + tool-call deltas accumulated by index.
|
|
130
132
|
|
|
133
|
+
## Development
|
|
134
|
+
|
|
135
|
+
```sh
|
|
136
|
+
git clone https://github.com/sinameraji/kimiflare
|
|
137
|
+
cd kimiflare
|
|
138
|
+
npm install
|
|
139
|
+
npm run build
|
|
140
|
+
npm link # or: ln -s "$PWD/bin/kimiflare.mjs" ~/.local/bin/kimiflare
|
|
141
|
+
```
|
|
142
|
+
|
|
131
143
|
## Status
|
|
132
144
|
|
|
133
|
-
Early. Transport + tools + agent loop + print mode are verified end-to-end; interactive TUI renders cleanly under a pty and awaits real-terminal shakedown. See `PLAN.md` for milestone log and deferred items (first-run wizard,
|
|
145
|
+
Early. Transport + tools + agent loop + print mode are verified end-to-end; interactive TUI renders cleanly under a pty and awaits real-terminal shakedown. See `PLAN.md` for milestone log and deferred items (first-run wizard, session resume).
|
|
134
146
|
|
|
135
147
|
## License
|
|
136
148
|
|