Skip to content

smelt.trust

Tier: Host - Available in every runtime, including headless mode.

Visibility: Public - Stable Lua API intended for user config and plugins.

Query and mutate the per-project content trust store.

smelt.trust.mark

fun(): string

Mark the current working directory as trusted, persisting it in the user's trust store.

smelt.trust.status

fun(): string

Return the trust state of the current working directory: "trusted", "untrusted", or "no_content".