MCPcopy Create free account
hub / github.com/anomalyco/opencode / compactIDs

Function compactIDs

packages/opencode/src/cli/cmd/run/subagent-data.ts:523–525  ·  view source on GitHub ↗
(detail: DetailState)

Source from the content-addressed store, hash-verified

521}
522
523function compactIDs(detail: DetailState) {
524 return new Set(recent(detail.data.ids, SUBAGENT_COMMIT_LIMIT + SUBAGENT_ERROR_LIMIT))
525}
526
527function compactDetail(detail: DetailState) {
528 const next = createSessionData({

Callers 1

compactDetailFunction · 0.85

Calls 1

recentFunction · 0.70

Tested by

no test coverage detected