Actionkdeps asset
kdeps-actions-truncate
v1.0.0Shorten oversized content to a size budget, appending a marker noting what was cut, instead of refusing the operation outright.
Install
A kdeps asset: kdeps installs it on first run and updates it without a new release.
kdeps update actions/truncate
Pin a version with kdeps update actions/truncate@<version>.
Contents
Shorten oversized content to a size budget, appending a marker noting what was cut, instead of refusing the operation outright.
- name
- truncate
- kind
- bytes
version: 1.0.0
name: truncate
# 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: bytes
description: >-
Shorten oversized content to a size budget, appending a marker noting
what was cut, instead of refusing the operation outright.
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