You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: final cleanup — WEBUI.md features, CONFIG.md caveats, README test count
- Add WEBUI.md docs for token economics, inline loading indicator, smart
autoscroll (+ update done event fields and line count)
- Mark llm_learn/llm_curate as template-only in CONFIG.md (not parsed from
JSON at runtime)
- Add note that subagent config section is hardcoded in production
- Fix README test count: 888 -> 880 (stale after codebase changes)
- Clean up stale build artifacts (coverage.out, /kode binary)
Copy file name to clipboardExpand all lines: docs/CONFIG.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,8 +104,8 @@ The `skills` section controls the skill system:
104
104
|`max_auto_load`| — | 3 | Max skills injected into system prompt on start |
105
105
|`max_lazy_slots`| — | 5 | Max skills loaded per user input via trigger matching |
106
106
|`learn`|`KODE_SKILLS_LEARN`|`true`| Enable skill learning mode (detects patterns, suggests skills). On by default |
107
-
|`llm_learn`| — |`true`| Use LLM to enrich detected patterns with better names, descriptions, and structured content|
108
-
|`llm_curate`| — |`true`| Use LLM for curation quality assessment and improvement suggestions|
107
+
|`llm_learn`| — |`true`| Use LLM to enrich detected patterns. **Template-only** — set via `kode init`, not parsed from JSON at runtime|
108
+
|`llm_curate`| — |`true`| Use LLM for curation quality assessment. **Template-only** — set via `kode init`, not parsed from JSON at runtime|
109
109
|`dirs`| — |[]| Extra skill directories beyond `~/.kode/skills` and `./.kode/skills`|
110
110
|`import.max_size_bytes`| — | 1048576 (1MB) | Max size for fetched skill content |
111
111
|`import.timeout_seconds`| — | 5 | HTTP timeout for skill URI fetch |
@@ -173,6 +173,8 @@ The `subagent` section controls task decomposition and parallel sub-agent execut
173
173
174
174
This section is optional. Omitted fields inherit sensible defaults.
175
175
176
+
> **Note**: The `subagent` section is currently read only from `kode.json` by the `kode subagent` command in test code. Runtime values (`max_concurrency`, `timeout_seconds`) are hardcoded in production `kode run`/`kode serve`. This may be wired up fully in a future release.
177
+
176
178
## MCP server configuration
177
179
178
180
Connect to **external MCP servers** and expose their tools to the agent.
The **top bar** displays **session-level totals** (∑ ⌂ context · ⎇ output), reset when you start a new session.
51
+
52
+
### Inline loading indicator
53
+
54
+
When you send a prompt, a compact **`.loading-indicator`** appears below your message (not a full-screen overlay). It shows:
55
+
56
+
- An animated spinner
57
+
- Cycling status messages every 2s: *"⚡ Thinking..."*, *"🔬 Analyzing..."*, *"🧪 Running diagnostics..."*, etc.
58
+
- 8 rotating messages keep you informed without blocking the UI
59
+
60
+
The indicator is removed automatically when the first `token` event arrives or on error.
61
+
62
+
### Smart autoscroll
63
+
64
+
The chat **only auto-scrolls when you're near the bottom** (within 60px). If you scroll up to read previous content while the agent responds, the page **does not steal your scroll position**. When you send a new message, it force-scrolls to the latest response.
65
+
66
+
This uses `requestAnimationFrame` batching to avoid layout thrashing during high-frequency token updates.
67
+
42
68
Type `@` followed by a filename to see an autocomplete dropdown. kode resolves matching files and sessions:
43
69
44
70
| Prefix | Source | Example |
@@ -94,7 +120,7 @@ The UI communicates entirely over a single WebSocket at `/ws`. Messages are newl
94
120
|`token`| Streamed text content |`content` (markdown) |
95
121
|`tool_call`| Agent invokes a tool |`name`, `command`|
0 commit comments