Environment
Execution environments, identity, and runtime globals.
Functions
checkcallerCaller classification.
clear_teleport_queueClears queued entries.
get_process_identifierRead the identifier of the current process. Include it in local diagnostics to distinguish separate running host processes. A process identifier does not identify a user or remain stable across restarts.
getallthreadsWeak-value snapshot.
getexecutorversionRead the version string reported by the Kawaii runtime. Include this in diagnostic output when behavior may differ between Kawaii releases.
getgenvCurrent execution environment.
gethwidRead the identifier supplied by the Android bridge. Use it only where a local integration specifically requires Kawaii’s device identifier. Treat it as an opaque value rather than deriving device properties from its text.
getregRegistry table.
getrenvRuntime environment view.
getscriptglobalsRuntime global tables.
gettenvDefaults to current thread; nil when unavailable.
getthreadidentityCurrent identity.
identifyexecutorReturn the name and version reported by the running Kawaii build. These values can be included in logs or diagnostic information. Keep both return values when building a support report. Use getexecutorversion if only the version string is needed.
isexecutorthreadDefaults to current thread.
isluauReport whether this build uses Luau. Use it for a compatibility branch when the same utility also runs in another Lua dialect. In Kawaii the result is always true.
queue_on_teleportRegisters source for later execution.
secure_callReturns callback results; callback can yield.
setthreadidentityNon-integral or non-representable values are ignored.