MCPcopy Create free account
hub / github.com/codehamr/codehamr / droppedBytes

Method droppedBytes

internal/tools/bash.go:267–272  ·  view source on GitHub ↗

droppedBytes is how many middle bytes the ring discarded; 0 while the whole output still fits head+tail.

()

Source from the content-addressed store, hash-verified

265 }
266}
267
268// InlineStatus is the one-liner the TUI prints per tool call.
269func InlineStatus(call chmctx.ToolCall) string {
270 switch call.Name {
271 case BashName:
272 cmd, _ := call.Arguments["cmd"].(string)
273 return "▶ bash: " + firstLine(cmd)
274 case WriteFileName:
275 path, _ := call.Arguments["path"].(string)

Callers 2

BashFunction · 0.95
StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected