MCPcopy Index your code
hub / github.com/anomalyco/opencode / truncate.ts

File truncate.ts

packages/opencode/src/tool/truncate.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { LayerNode } from "@opencode-ai/core/effect/layer-node"
2import { NodePath } from "@effect/platform-node"
3import { Cause, Duration, Effect, Layer, Option, Schedule, Context } from "effect"
4import path from "path"

Callers

nothing calls this directly

Calls 8

hasTaskToolFunction · 0.85
pushMethod · 0.80
createMethod · 0.65
removeMethod · 0.65
getMethod · 0.65
writeFunction · 0.50
cleanupFunction · 0.50
makeMethod · 0.45

Tested by

no test coverage detected