MCPcopy Create free account
hub / github.com/backnotprop/plannotator / forwardLine

Function forwardLine

apps/opencode-plugin/cli-bridge.ts:209–214  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

207 const forwarded = new Set<string>();
208
209 const forwardLine = (line: string) => {
210 const message = formatUserFacingCliStderrLine(line);
211 if (!message || forwarded.has(message)) return;
212 forwarded.add(message);
213 log(client, "info", `[Plannotator] ${message}`);
214 };
215
216 return {
217 push(chunk: string) {

Callers 2

pushFunction · 0.85
flushFunction · 0.85

Calls 4

hasMethod · 0.80
addMethod · 0.80
logFunction · 0.70

Tested by

no test coverage detected