@miller-tech/uap 1.20.46 → 1.20.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miller-tech/uap",
3
- "version": "1.20.46",
3
+ "version": "1.20.47",
4
4
  "description": "Autonomous AI agent memory system with CLAUDE.md protocol enforcement",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -812,7 +812,12 @@ class SessionMonitor:
812
812
  turns_str = f"~{turns} turns remaining" if turns is not None else "unknown"
813
813
 
814
814
  if warning == "CRITICAL":
815
- logger.error(
815
+ # WARNING, not ERROR: critical context utilization is a *handled*
816
+ # condition — the proxy force-prunes and the session continues.
817
+ # Logging it at ERROR floods the error stream (100+/2h for a few
818
+ # context-saturated agentic sessions) and drowns genuine failures.
819
+ # CONTEXT HIGH below is already WARNING; this keeps parity.
820
+ logger.warning(
816
821
  "CONTEXT CRITICAL: %d/%d tokens (%.1f%%), %s, pruned=%d, overflows=%d",
817
822
  self.last_input_tokens,
818
823
  self.context_window,