kimiflare 0.2.2 → 0.3.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 +5 -0
- package/dist/index.js +592 -196
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,6 +85,7 @@ Interactive slash commands:
|
|
|
85
85
|
| `/theme NAME` | Switch color scheme: `dark` (default), `light` (bright terminals), `high-contrast`. Saved to config. |
|
|
86
86
|
| `/resume` | Pick a past conversation to restore. |
|
|
87
87
|
| `/compact` | Summarize older turns to free context. Suggested automatically at ~80% full. |
|
|
88
|
+
| `/init` | Scan the repo and write a `KIMI.md` so future agents have project context. |
|
|
88
89
|
| `/reasoning` | Toggle chain-of-thought display. |
|
|
89
90
|
| `/clear` | Reset the current conversation. |
|
|
90
91
|
| `/cost` `/model` `/update` | Info commands. |
|
|
@@ -135,6 +136,10 @@ For multi-step requests, the agent can publish a live task list via the `tasks_s
|
|
|
135
136
|
|
|
136
137
|
Paste a large block (≥ 200 chars or ≥ 3 newlines in one paste) into the prompt and the input collapses it to `[pasted N lines #id]`. The full content still goes to the model on submit — only the on-screen display and chat history are collapsed, so scrollback doesn't get buried by a wall of code.
|
|
137
138
|
|
|
139
|
+
### Project context (KIMI.md)
|
|
140
|
+
|
|
141
|
+
Run `/init` inside a repo and kimiflare scans the project (reads `package.json`, `README`, source layout, etc.) and writes a concise `KIMI.md` at the repo root — project overview, build/test commands, conventions, quirks. On every subsequent launch in that directory, `KIMI.md` (or `KIMIFLARE.md` or `AGENT.md`, whichever exists) is auto-loaded into the system prompt so the agent already "knows" the project. If the file already exists, `/init` refuses so you don't overwrite hand-edited context.
|
|
142
|
+
|
|
138
143
|
## Why
|
|
139
144
|
|
|
140
145
|
- **262k context.** Read entire modules without pagination.
|