thincoder 0.12.4 → 0.12.5
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 +3 -0
- package/package.json +1 -1
- package/src/tui/markdown.mjs +3 -3
package/README.md
CHANGED
|
@@ -208,6 +208,9 @@ Code conventions: pure `.mjs`, no semicolons, no npm dependencies allowed (inclu
|
|
|
208
208
|
|
|
209
209
|
## Changelog
|
|
210
210
|
|
|
211
|
+
### 0.12.5 (2026-08)
|
|
212
|
+
- **Fix: inline code styling** — markdown code spans now render with underline instead of reverse video (less harsh on the eyes)
|
|
213
|
+
|
|
211
214
|
### 0.12.4 (2026-08)
|
|
212
215
|
- **Context compaction unified spec** — CLI/VS Code now share one compaction semantics (`docs/design/CONTEXT-COMPACTION.md`): window-adaptive tail size (`max(10, ctx/100K×30)`, ≤40% of history), measured prompt-token baseline preferred, pure-estimation path includes system+tools overhead, head/tail tool-call pairing protection on both sides, 3-tier fallback (LLM summary → deterministic truncation after 3 failures → per-message shrink), compaction summaries are silent to the frontend (no streaming into the conversation), task re-injection deduplicated. Unknown model names now warn once instead of silently degrading to the 128K default
|
|
213
216
|
- **Kimi For Coding support** — new `kimi-code` preset (`api.kimi.com/coding/v1`, model `k3`, platform.kimi.com, `sk-kimi-` keys — NOT interchangeable with Moonshot); `MODEL_SPECS` gains the `k3` alias (1M context / multimodal / partialMode / reasoningEcho); 401 errors hint at the two-platform key mismatch; README documents the split
|
package/package.json
CHANGED
package/src/tui/markdown.mjs
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
const BOLD = "\x1b[1m"
|
|
18
18
|
const BOLD_OFF = "\x1b[22m"
|
|
19
|
-
const
|
|
20
|
-
const
|
|
19
|
+
const UNDERLINE = "\x1b[4m"
|
|
20
|
+
const UNDERLINE_OFF = "\x1b[24m"
|
|
21
21
|
const STRIKE = "\x1b[9m"
|
|
22
22
|
const STRIKE_OFF = "\x1b[29m"
|
|
23
23
|
|
|
@@ -33,7 +33,7 @@ export function renderMarkdownInline(line) {
|
|
|
33
33
|
let out = ""
|
|
34
34
|
for (let i = 0; i < parts.length; i++) {
|
|
35
35
|
if (i % 2 === 1) {
|
|
36
|
-
out +=
|
|
36
|
+
out += UNDERLINE + parts[i] + UNDERLINE_OFF
|
|
37
37
|
} else {
|
|
38
38
|
out += parts[i]
|
|
39
39
|
.replace(/\*\*([^*\n]+)\*\*/g, `${BOLD}$1${BOLD_OFF}`)
|