Skip to main content

Crate lenso_plugin_sdk

Crate lenso_plugin_sdk 

Source
Expand description

Target-independent Rust authoring for portable Lenso Plugins.

Plugin business code implements a product-facing trait once. The export macro lowers that implementation to the selected execution target at compile time, keeping WIT and process framing out of the Plugin project.

Macros§

export_agent_tool
Exports one typed Agent Tool from the same source as Wasm or Process.
export_request_plugin
Exports one request Plugin as Wasm Component or Process according to the active Cargo target.

Enums§

RequestOutcome
One target-independent request result.

Traits§

AgentTool
A typed Agent Tool exposed through lenso.agent.tool-provider@2.
RequestPlugin
Business implementation for one request-based Lenso Plugin.