Actionkdeps asset
kdeps-actions-cap
v1.0.0Bound a collection to a fixed count while building it, keeping priority/recency order instead of growing unboundedly.
Install
A kdeps asset: kdeps installs it on first run and updates it without a new release.
kdeps update actions/cap
Pin a version with kdeps update actions/cap@<version>.
Contents
Bound a collection to a fixed count while building it, keeping priority/recency order instead of growing unboundedly.
- name
- cap
- kind
- items
version: 1.0.0
name: cap
# kind names the trigger shape this action is meant for. Valid values:
# tokens a token-count measurement (events' "tokens"/"ctxWindowFraction"/"tokensSinceCheckpoint")
# bytes a byte-length measurement (events' "bytes")
# distinctCalls a distinct-call-count measurement (events' "distinctCalls")
# items a bare count with no trigger condition (events' "items")
# rounds a round/repeat-count measurement (events' "rounds")
kind: items
description: >-
Bound a collection to a fixed count while building it, keeping
priority/recency order instead of growing unboundedly.
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 10/11/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 10/11/2026
Tags
kdepsaction