leumas-function-mesh
v0.1.3
Published
Local function/component indexing and discovery mesh
Readme
Leumas Function Mesh (MVP)
Barebones MVP that indexes Node.js functions and React components into .leumas/functionIndex.json, discovers indexes across roots, and executes allowed Node functions locally.
Quick start
npm install leumas-function-meshIndex a project:
npx leumas-mesh indexDiscover indexes:
npx leumas-mesh discover --roots "/path/to/projects"Run a function (must be marked @mesh callable):
npx leumas-mesh run <entryId> --args "[1,2]"Callable exports
Add @mesh callable to a file or create mesh.exports.json at the project root:
{
"exports": [
{ "file": "src/math.js", "exportName": "add" }
]
}