Skip to main content
Everything in this index is importable from 'lua-cli'; types and interfaces with import type. The primitive classes themselves (LuaAgent, LuaSkill, LuaJob, LuaWebhook, PreProcessor, PostProcessor, LuaMCPServer, and the define* functions) are listed on the SDK overview. Result shapes that are not exported, such as WorkflowRun, Basket, and JobExecution, are still typed on the method that returns them: name them with Awaited<ReturnType<typeof Workflows.get>> or Parameters<typeof Baskets.addItem>[1]. Verified against lua-cli 3.33.0.

Primitives

Workflow builder

Runtime objects

Not exported

These classes and shapes appear in signatures but can’t be imported. Derive them from the member that returns or accepts them.

See also

  • SDK overview — the runtime objects and primitives, and where each is available
  • Workflow builder — the builder functions and predicate helpers
  • env — build-time and run-time environment variables