MCPcopy Create free account
hub / github.com/ByBrawe/opencode-loop / fireSdk

Function fireSdk

src/index.js:383–387  ·  view source on GitHub ↗
(client, label, method, modernArgs, legacyArgs)

Source from the content-addressed store, hash-verified

381
382// src/source/core/state.js
383import { promises as fs } from "fs";
384import os from "os";
385import path from "path";
386var STATE_DIR = ".opencode/opencode-loop";
387var STATE_BASELINE = Symbol("opencode-loop-state-baseline");
388var stateWriteLocks = new Map;
389function stateDir(directory) {
390 return path.join(directory, STATE_DIR);

Callers 2

fireActionFunction · 0.85
maybeRunDueJobsFunction · 0.85

Calls 3

sdkCallFunction · 0.85
logFunction · 0.85
sdkErrorMessageFunction · 0.85

Tested by

no test coverage detected