MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / setup

Function setup

ts/workflow-cli/scripts/build-cli.mjs:23–29  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

21const workflowCoreSource = {
22 name: "workflow-core-source",
23 setup(b) {
24 b.onResolve({ filter: /^@foresthubai\/workflow-core(\/.*)?$/ }, (args) => {
25 const sub = args.path.slice("@foresthubai/workflow-core".length);
26 const rel = sub === "" ? "src/index.ts" : `src/${sub.slice(1)}/index.ts`;
27 return { path: path.join(tsRoot, "workflow-core", rel) };
28 });
29 },
30};
31
32await build({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected