Arcane OS Docs Development only

Reference

Arcane.platform.status()

Gets native platform status.

  • Reference

This focused page is derived from the mechanically checked full member inventory.

Syntax

Arcane.platform.status()

Parameters

None

Return value

Promise<status>

Description

Gets native platform status.

Overview

Arcane.platform.status() returns the host, execution-evidence, renderer, permission, application, and effective-capability snapshot for the bound session. It is a repeatable read with no side effect or event. It requires system.read and is available on Core and Android.

Result and platform differences

Core returns exactly platform, rawPlatform, displayName, architecture, release, desktop, sessionType, simulated, adapter, version, protocol, application, renderer, permissions, capabilities, and execution. Microsoft NT uses platform: "windows" and rawPlatform: "win32"; Linux uses "linux" for both. hostname is deliberately omitted.

execution is exactly {hostPlatform, effectivePlatform, simulation, evidenceClass}. Core uses evidenceClass: "real-host" or "simulation". Android reports platform/rawPlatform: "android" and execution: {hostPlatform:"android", effectivePlatform:"android", simulation:false, evidenceClass:"application-host"}. Simulation and Android application-host evidence are not publisher, signing, or release-candidate attestations.

renderer contains id, available, and nullable version, with host-specific adapter or executable metadata. permissions has the shape documented by Arcane.permissions.status(). capabilities is exactly {app, grants, methods} and is the Android replacement for the Core-only direct Arcane.capabilities.list() method.

Errors and recovery

METHOD_NOT_ALLOWED or ANDROID_CAPABILITY_DENIED means system.read is not granted. METHOD_CONTRACT_OUTPUT_INVALID means the host status failed its closed shape or internal-consistency checks; repair the matching host and app package rather than inferring platform state from user-agent strings.

Example

const status = await Arcane.platform.status();

console.log(status.displayName, status.architecture, status.release);
console.log(status.execution.evidenceClass);
console.log('Admitted methods', status.capabilities.methods);

Reference group

Platform, installation, users, and system

Repository and reviewed source access