civaapple-alt/pi-cordis--packages-plugins-output-truncator ↗★ 0

@pi-cordis/plugin-output-truncator

Large tool output truncation and context overflow protection plugin for Pi-Cordis 适合处理大输出易撑爆上下文的用户;可配置字节、行数与保留头尾行数。

패키지
@pi-cordis/plugin-output-truncator
호환성
미검증
Cordis peer 범위
^4.0.1
버전
0.1.0
최근 업데이트
2026. 8. 21.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

Configuration

  • maxBytes (number, default: 51200 / 50KB): Maximum byte length threshold.
  • maxLines (number, default: 2000): Maximum line count threshold.
  • headLines (number, default: 30): Head lines preserved before truncation.
  • tailLines (number, default: 20): Tail lines preserved after truncation.
  • enableSpill (boolean, default: true): Persists full raw output to .picds/spill/ disk files.
  • spillDir (string, optional): Overrides the spill directory.