tool-loop-break 0.1.0

Detect repeated agent tool invocations to break runaway loops. Tracks recent (tool, args_hash) tuples and signals a loop when count exceeds a threshold. Zero deps.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.74"
name = "tool-loop-break"
version = "0.1.0"
authors = ["Mukunda Rao Katta <mukunda.vjcs6@gmail.com>"]
build = false
exclude = [
    ".github/*",
    "target/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detect repeated agent tool invocations to break runaway loops. Tracks recent (tool, args_hash) tuples and signals a loop when count exceeds a threshold. Zero deps."
homepage = "https://github.com/MukundaKatta/tool-loop-break"
documentation = "https://docs.rs/tool-loop-break"
readme = "README.md"
keywords = [
    "agent",
    "loop",
    "tool-call",
    "guardrail",
    "runaway",
]
categories = [
    "algorithms",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MukundaKatta/tool-loop-break"

[lib]
name = "tool_loop_break"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"