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 ピア範囲
^4.0.1
バージョン
0.1.0
最終更新
2026/08/21

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.