MCPcopy Index your code
hub / github.com/ByBrawe/opencode-loop / logsLoop

Function logsLoop

src/index.js:1524–1528  ·  view source on GitHub ↗
(directory, client, sessionID)

Source from the content-addressed store, hash-verified

1522 fireSdk(
1523 client,
1524 "session.prompt",
1525 client.session.prompt.bind(client.session),
1526 { path: { id: sessionID }, body: { parts: [{ type: "text", text: promptText }] } },
1527 { path: { sessionID }, body: { parts: [{ type: "text", text: promptText }] } },
1528 { sessionID, parts: [{ type: "text", text: promptText }] },
1529 )
1530 return { startsAssistantTurn: true }
1531}

Callers 1

handleCommandFunction · 0.85

Calls 2

stateDirFunction · 0.85
sayFunction · 0.85

Tested by

no test coverage detected