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
Session 2026-06-01 closed the second round of gaps vs rtk 0.37.1 and caveman:
133
+
Session 2026-06-01 closed the second round of gaps vs rtk 0.37.1 and prompt-compression:
134
134
135
-
-**`tok.CompressCaveman(text, intensity)`** — caveman-style prompt compression (Lite / Full / Ultra) as a public Go API. ~150 phrase substitutions, drop-lists for articles / filler / pleasantries, and auto-clarity (security/destructive segments pass through verbatim). `intensity` is monotonic: `len(ultra) <= len(full) <= len(lite)`.
135
+
-**`tok.PromptCompress(text, intensity)`** — prompt compression (Lite / Full / Ultra) as a public Go API. ~150 phrase substitutions, drop-lists for articles / filler / pleasantries, and auto-clarity (security/destructive segments pass through verbatim). `intensity` is monotonic: `len(ultra) <= len(full) <= len(lite)`.
136
136
-**`tok.IsSensitiveFilename(path)`** — 3-layer filename detection (exact basename, sensitive directory, name token). Companion to the content-based `SecretDetector`. Catches `.env`, `id_rsa`, `~/.ssh/...`, `test_credentials.json`, etc. Returns the category that fired.
137
137
-**`tok.SmartTruncate(content, maxLines, lang)`** — code truncation that preserves function signatures and **always reports the exact drop count** in the marker (`kept + dropped == total`, rtk invariant).
138
138
-**`tok.ExtractJSON(text)` / `tok.ExtractJSONArray(text)` / `tok.ExtractAllJSON(text)`** — brace-balanced JSON extraction that handles LLM output with surrounding prose, markdown code fences, and unterminated objects. Apostrophes in English prose are not confused with string delimiters.
@@ -143,7 +143,7 @@ Session 2026-06-01 closed the second round of gaps vs rtk 0.37.1 and caveman:
143
143
144
144
### Earlier (2026-04-20)
145
145
146
-
Session 2026-04-20 closed the last gaps vs rtk 0.37.1 and caveman:
146
+
Session 2026-04-20 closed the last gaps vs rtk 0.37.1 and prompt-compression:
0 commit comments