Repository navigation
Hardening, multi-provider parity, ANSI & test-runner rewriters, and live cache telemetry
Fixed.
- CLI & TUI:
tamp -yno longer clobberslevel=,TAMP_LEVEL, orTAMP_COMPRESSION_PRESET; interactive TUI now bindsproxyConfig.host(127.0.0.1loopback by default);Dashboard.jsredacts query-string API keys;tamp status/tamp stoprespect config-fileTAMP_PORTand verify PID identity beforeSIGKILL. - Safe tokenizer: Shared
safeCountTokens(lib/tokens.js) wired acrosscompress.js,lib/bm25.js, andlib/px-render.js, eliminating raw tokenizer WASM traps/stalls on low-entropy payloads and reusing precomputedbm25-trimcounts. - Compression & security: Verbatim-critical guard now covers
textpressandfoundation-modelsas well asllmlingua; fixed loopback SSRF check ([::1]allowed,127.evil.comblocked); config-fingerprintedcompressBlockcache; asynctamp compress-config(textpressnow runs); fixedstrip-commentsescaped backslashes and non-Python#stripping; 64 KB argv guard onfoundation-models. - Proxy, br-cache & sidecar: HTTP/HTTPS keep-alive pooling, upstream abort on client disconnect, per-proxy sidecar probing using
TAMP_LLMLINGUA_URL, separate parse vs compress error logging, incremental byte tracking inlib/br-cache.js, and FastAPIlifespan+ threadpool inference insidecar/server.py.
Added.
- Multi-provider parity: Honor
TAMP_UPSTREAM_CHATGPT; walk past trailing non-tool messages in OpenAI/ResponsescacheSafeextraction; stripcache_controland include firstuserturn inconversationSeed; generalizedlib/path-extract.jsfor OpenAI Chat, OpenAI Responses (Codex), Kimi, and Moonshot (read-diff& protected-tool attribution). - Rewriters & redaction: Linear-time ANSI escape stripping + 4 failure-preserving rewriters (
vitest,node-test,go-test,pnpm-bun); OpenRouter, npm, PyPI, HuggingFace, Groq, and xAI secret patterns with idempotent masking. - Telemetry & batched staleness:
TAMP_STALE_IMAGE_KEEP_RECENT,TAMP_STALE_INPUT_KEEP_RECENT,TAMP_STALE_BATCH_SIZE, andTAMP_UPSTREAM_TIMEOUT; livecacheHitRate, redactions, and stale evictions surfaced intamp status,/health?text, and logs.