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 适合处理大输出易撑爆上下文的用户;可配置字节、行数与保留头尾行数。

Package
@pi-cordis/plugin-output-truncator
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.0
Last updated
Aug 21, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.