Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Eventkdeps asset

kdeps-events-tool-result-truncate

v1.0.6

kdeps event: tool-result-truncate

set events / shelf context

PurposeThresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.

LLM context: none - kdeps uses it without sending it to the model

Where it runs

Part of the events set, used in workflow and agent mode. Thresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.

  1. the agent loop runs a turn
  2. kdeps measures tokens, rounds and calls
  3. an event's trigger is metevents/tool-result-truncate
  4. its action runs
  5. the turn continues

Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade

In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runagent.(*Loop).startSubagentsagent.eventPatternMatch

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install events/tool-result-truncate

Also installs what it requires, when missing or older: actions/truncate.

Pin a version with kdeps install events/tool-result-truncate@<version>.

Contents

name
tool-result-truncate
run
truncate
requires:
  actions/truncate: ""
on:
  bytes: 8192

Versions

VersionPublishedStatusSource
1.0.611/26/2026activeGitHub v1.0.6
1.0.211/21/2026activeGitHub v1.0.2
1.0.311/21/2026activeGitHub v1.0.3
1.0.411/21/2026activeGitHub v1.0.4
1.0.011/21/2026activeGitHub v1.0.0
1.0.111/21/2026activeGitHub v1.0.1
1.0.511/21/2026activeGitHub v1.0.5

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.6
Published
11/21/2026

Tags

kdepsevent