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 适合处理大输出易撑爆上下文的用户;可配置字节、行数与保留头尾行数。
インストール
検証済み 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.