MCPcopy Index your code
hub / github.com/anomalyco/opencode / stateTitle

Function stateTitle

packages/opencode/src/cli/cmd/run/subagent-data.ts:186–188  ·  view source on GitHub ↗
(part: ToolPart)

Source from the content-addressed store, hash-verified

184}
185
186function stateTitle(part: ToolPart) {
187 return text("title" in part.state ? part.state.title : undefined)
188}
189
190function callKey(messageID: string | undefined, callID: string | undefined): string | undefined {
191 if (!messageID || !callID) {

Callers 1

taskTabFunction · 0.85

Calls 1

textFunction · 0.70

Tested by

no test coverage detected