@blockrun/runcode 2.4.0 → 2.5.0

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.
@@ -1,26 +0,0 @@
1
- /**
2
- * LLM-Safe Context Compression Types
3
- *
4
- * Types for the 5-layer compression system that reduces token usage
5
- * while preserving semantic meaning for LLM queries.
6
- */
7
- // Default configuration - CONSERVATIVE settings for model compatibility
8
- // Only enable layers that don't require the model to decode anything
9
- export const DEFAULT_COMPRESSION_CONFIG = {
10
- enabled: true,
11
- preserveRaw: true,
12
- layers: {
13
- deduplication: true, // Safe: removes duplicate messages
14
- whitespace: true, // Safe: normalizes whitespace
15
- dictionary: false, // DISABLED: requires model to understand codebook
16
- paths: false, // DISABLED: requires model to understand path codes
17
- jsonCompact: true, // Safe: just removes JSON whitespace
18
- observation: false, // DISABLED: may lose important context
19
- dynamicCodebook: false, // DISABLED: requires model to understand codes
20
- },
21
- dictionary: {
22
- maxEntries: 50,
23
- minPhraseLength: 15,
24
- includeCodebookHeader: false, // No codebook header needed
25
- },
26
- };