Summary
AI agents pay per token and lose reasoning capacity with irrelevant output. List commands should support field selection and streaming to minimize context window usage.
Proposal
Field Selection
# Only return specific fields
tkn pipelinerun list --fields name,status,startTime --output json
NDJSON Streaming
# One JSON object per line, streamable
tkn pipelinerun list --output ndjson
This allows agents to process results incrementally without buffering large arrays, and to request only the fields they need.
Acceptance Criteria
/kind feature
Summary
AI agents pay per token and lose reasoning capacity with irrelevant output. List commands should support field selection and streaming to minimize context window usage.
Proposal
Field Selection
# Only return specific fields tkn pipelinerun list --fields name,status,startTime --output jsonNDJSON Streaming
# One JSON object per line, streamable tkn pipelinerun list --output ndjsonThis allows agents to process results incrementally without buffering large arrays, and to request only the fields they need.
Acceptance Criteria
--fieldsflag on list commands to select output fields--output ndjsonfor newline-delimited JSON (one object per line)/kind feature