MCPcopy Index your code
hub / github.com/openai/codex-plugin-cc / labelForThread

Function labelForThread

plugins/codex/scripts/lib/codex.mjs:216–221  ·  view source on GitHub ↗
(state, threadId)

Source from the content-addressed store, hash-verified

214}
215
216function labelForThread(state, threadId) {
217 if (!threadId || threadId === state.rootThreadId || threadId === state.threadId) {
218 return null;
219 }
220 return state.threadLabels.get(threadId) ?? threadId;
221}
222
223function registerThread(state, threadId, options = {}) {
224 if (!threadId) {

Callers 3

describeStartedItemFunction · 0.85
describeCompletedItemFunction · 0.85
recordItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected