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

Function say

src/index.js:441–449  ·  view source on GitHub ↗
(client, sessionID, text)

Source from the content-addressed store, hash-verified

439}
440
441function fireSdk(client, label, method, ...argsList) {
442 Promise.resolve()
443 .then(() => sdkCall(method, ...argsList))
444 .catch((error) => log(client, "warn", `${label} failed`, { error: sdkErrorMessage(error) }))
445}
446
447async function executeTuiCommand(client, command) {
448 if (!client?.tui?.executeCommand) throw new Error("client.tui.executeCommand is not available")
449 return await sdkCall(
450 client.tui.executeCommand.bind(client.tui),
451 { body: { command } },
452 { command },

Callers 7

addLoopFunction · 0.85
statusGoalFunction · 0.85
statusLoopFunction · 0.85
logsLoopFunction · 0.85
helpLoopFunction · 0.85
doctorLoopFunction · 0.85
exportLoopFunction · 0.85

Calls 1

sdkCallFunction · 0.85

Tested by

no test coverage detected