Skip to content

smelt.trust

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

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". Raises if the cwd cannot be read.