dsh-context-compression-improved 0.14.3 → 0.14.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 +13 -0
- package/package.json +1 -1
- package/packages/selector/dsh.plugin.json +1 -1
- package/packages/selector/lib/client.js +4568 -4549
- package/packages/selector/package.json +1 -1
- package/packages/selector/src/client/CutTimeline.tsx +112 -0
- package/packages/selector/src/client/FieldTooltip.tsx +49 -0
- package/packages/selector/src/client/SettingsGroup.tsx +61 -0
- package/packages/selector/src/runtime/conflict-detect.ts +53 -0
package/README.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
[中文说明](README.zh.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Italiano](README.it.md) · [Русский](README.ru.md) · [Español](README.es.md) · [Português](README.pt.md) · [Changelog](CHANGELOG.md) · [Installation guide](docs/installation.md)
|
|
6
6
|
|
|
7
|
+
## Positioning: Independent Multiplication Zones
|
|
8
|
+
|
|
9
|
+
CCI occupies a distinct layer in the context-compression ecosystem. These plugins are **multiplicative, not overlapping**:
|
|
10
|
+
|
|
11
|
+
| Plugin | Decides | Reversible? | Extra LLM Call? | Prefix Cache Impact | Scope |
|
|
12
|
+
|--------|---------|-------------|----------------|--------------------|--------------|
|
|
13
|
+
| **CCI** (this) | Rule-based per-message trimming with precise tokenizer | Yes (session log) | No | None (replaces content in-place) | Tool-result quality |
|
|
14
|
+
| **live-compact** | Turn-end mechanical small cuts | Yes (shadow/index) | No (small) / Yes (big knife) | Minimal (tail-only) | Historical accumulation |
|
|
15
|
+
| **billion-context** | Model-driven fold when context grows | Yes (decompress) | Yes (model writes summary) | Incremental ranges preserved | Extreme long sessions |
|
|
16
|
+
| **flash-presets** | Global threshold + tool schema pruning | N/A (preset config) | No | Schema-level | Cost optimization for Flash |
|
|
17
|
+
|
|
18
|
+
Install any combination without conflict. CCI’s panel shows “共存模式” when other compression plugins are detected.
|
|
19
|
+
|
|
7
20
|
> [!NOTE]
|
|
8
21
|
> **What this fork adds on top of upstream 0.1.0:**
|
|
9
22
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-context-compression-improved",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.5",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"description": "Token-saving, auditable tool-result context-compression selector with code-skeleton gate for DeepSeek Harness — fewer tokens on every turn",
|
|
6
6
|
"engines": {
|