MCPcopy
hub / github.com/shareAI-lab/Kode-CLI / push

Method push

apps/server/src/client.ts:87–95  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

85 }
86
87 push(item: T) {
88 if (this.closed) return
89 const resolve = this.resolvers.shift()
90 if (resolve) {
91 resolve({ value: item, done: false })
92 return
93 }
94 this.items.push(item)
95 }
96
97 close() {
98 if (this.closed) return

Callers 15

readResponseTextLimitedFunction · 0.45
searchProviders.tsFile · 0.45
parseGlobStringFunction · 0.45
runGrepToolFunction · 0.45
renderToolUseMessageFunction · 0.45
extractAssistantTextFunction · 0.45
addRecentActionFunction · 0.45
recordMessageFunction · 0.45
callTaskToolBackgroundFunction · 0.45

Calls

no outgoing calls

Tested by 15

createAcpProcessFunction · 0.36
waitForFunction · 0.36
createAcpHarnessFunction · 0.36
waitForFunction · 0.36
createInMemoryAcpFunction · 0.36
setToolJSXFunction · 0.36
walkFunction · 0.36
extractAssistantTextFunction · 0.36
setToolJSXFunction · 0.36
buildTarFunction · 0.36
makeLineReaderFunction · 0.36
parseTokensDirectFunction · 0.36