Release candidate: v0.2.0. These docs cover v0.2.0 scope and limits.
Your first runtime
import { OperatorRuntime } from '@veil-runtime/core';
import { exampleModule } from './example.js';
import { plan } from './plan.js';
const runtime = new OperatorRuntime();
runtime.use(exampleModule);
const job = await runtime.executePlan(plan, {
caller: { subject: 'demo-user', scopes: ['example:read'] },
});
console.log(job.status, job.result);
use checks that each supplied capability is declared by the module manifest, then registers it. The capability registry is process-global in v0.2.0, so runtime instances share registered capabilities. executePlan returns the completed or failed Job. See jobs.