# nativeUiHostReferenceProvider

A native ui host reference provider record carrying schema, schemaVersion, provider, capabilitySchema, capabilitySchemaVersion, and related state.

Last updated: 2026-09-09

Package: host.ui_services | Status: source-declared

Tags: class, cpu, host, host.ui_services, method, source-example, ui_services, yeho

Define host text, editing, clipboard, and accessibility service contracts.

```yh
external class nativeUiHostReferenceProvider
```

- text schema: Stores schema as text.
- int schemaVersion: Stores schema version as int.
- text provider: Stores provider as text.
- text capabilitySchema: Stores capability schema as text.
- int capabilitySchemaVersion: Stores capability schema version as int.
- text state: Stores state as text.
- int ownerThread: Stores owner thread as int.
- text diagnostic: Stores diagnostic as text.
- int nextSequence: Stores next sequence as int.
- int lastTimestamp: Stores last timestamp as int.
- int lastCorrelation: Stores last correlation as int.
- int failureCount: Stores failure count as int.
- int allocationCount: Stores allocation count as int.
- int maxLatencyMicroseconds: Stores max latency microseconds as int.
- bool dispatching: Stores dispatching as bool.
- bool accessibilityAvailable: Stores accessibility available as bool.
- bool textInputAvailable: Stores text input available as bool.
- bool clipboardAvailable: Stores clipboard available as bool.
- bool displayAvailable: Stores display available as bool.
- bool sessionAvailable: Stores session available as bool.
- bool virtualKeyboardAvailable: Stores virtual keyboard available as bool.
- bool delayedClipboardAvailable: Stores delayed clipboard available as bool.
- int accessibilityBatchDepth: Stores accessibility batch depth as int.
- list of text accessibilityNodeIds: Stores accessibility node ids as list of text.
- list of int accessibilityGenerations: Stores accessibility generations as list of int.
- list of text accessibilityRoles: Stores accessibility roles as list of text.
- list of text accessibilityNames: Stores accessibility names as list of text.
- text textWindow: Stores text window as text.
- text preedit: Stores preedit as text.
- text surroundingText: Stores surrounding text as text.
- int selectionStart: Stores selection start as int.
- int selectionLength: Stores selection length as int.
- int replacementStart: Stores replacement start as int.
- int replacementLength: Stores replacement length as int.
- int caretX: Stores caret x as int.
- int caretY: Stores caret y as int.
- int caretWidth: Stores caret width as int.
- int caretHeight: Stores caret height as int.
- int candidateX: Stores candidate x as int.
- int candidateY: Stores candidate y as int.
- text inputPurpose: Stores input purpose as text.
- text inputHints: Stores input hints as text.
- bool compositionActive: Stores composition active as bool.
- bool virtualKeyboardRequested: Stores virtual keyboard requested as bool.
- bool virtualKeyboardVisible: Stores virtual keyboard visible as bool.
- text clipboardOwner: Stores clipboard owner as text.
- text clipboardFormat: Stores clipboard format as text.
- text clipboardData: Stores clipboard data as text.
- bool clipboardDelayed: Stores clipboard delayed as bool.
- list of text displayIds: Stores display ids as list of text.
- list of int displayX: Stores display x as list of int.
- list of int displayY: Stores display y as list of int.
- list of int displayWidth: Stores display width as list of int.
- list of int displayHeight: Stores display height as list of int.
- list of int displayWorkX: Stores display work x as list of int.
- list of int displayWorkY: Stores display work y as list of int.
- list of int displayWorkWidth: Stores display work width as list of int.
- list of int displayWorkHeight: Stores display work height as list of int.
- list of int displayScale: Stores display scale as list of int.
- list of bool displayPrimary: Stores display primary as list of bool.
- int topologyRevision: Stores topology revision as int.
- text sessionState: Stores session state as text.
- list of text events: Stores events as list of text.
- nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord capabilities, int ownerThread): Native ui host reference provider.
- Reject(text operation, text reason) returns bool: Reject.
- CapabilityAvailable(text capability) returns bool: Capability available.
- Ready(int thread, text capability) returns bool: Ready.
- Initialize(bool providerAvailable, bool failAfterCapabilities, int thread, int timestampMicroseconds, int correlationId) returns bool: Initialize.
- Record(text category, text subject, text eventState, text detail, int timestampMicroseconds, int correlationId, int latencyMicroseconds): Record.
- ObserveWindowEvent(text windowId, text eventState, int timestampMicroseconds, int correlationId, int thread) returns bool: Observe window event.
- AccessibilityNodeIndex(text nodeId) returns int: Accessibility node index.
- BeginAccessibilityBatch(int thread, int timestampMicroseconds, int correlationId) returns bool: Begin accessibility batch.
- PublishAccessibilityNode(text nodeId, int generation, text role, text name, int thread) returns bool: Publish accessibility node.
- EndAccessibilityBatch(int thread, int timestampMicroseconds, int correlationId) returns bool: End accessibility batch.
- RouteAccessibilityAction(text nodeId, int generation, text action, bool simulateReentrancy, int thread, int timestampMicroseconds, int correlationId) returns bool: Route accessibility action.
- BeginTextInput(text windowId, text value, int selectionStart, int selectionLength, int replacementStart, int replacementLength, int caretX, int caretY, int caretWidth, int caretHeight, int candidateX, int candidateY, text purpose, text hints, bool deadKey, bool requestVirtualKeyboard, int thread, int timestampMicroseconds, int correlationId) returns bool: Begin text input.
- UpdateSurroundingText(text windowId, text value, int selectionStart, int selectionLength, int deleteStart, int deleteLength, int thread, int timestampMicroseconds, int correlationId) returns bool: Update surrounding text.
- CommitText(text windowId, text value, int replacementStart, int replacementLength, int thread, int timestampMicroseconds, int correlationId) returns bool: Commit text.
- CancelText(text windowId, text reason, int thread, int timestampMicroseconds, int correlationId) returns bool: Cancel text.
- TransferTextFocus(text fromWindowId, text toWindowId, int thread, int timestampMicroseconds, int correlationId) returns bool: Transfer text focus.
- SetVirtualKeyboard(bool requested, bool visible, text keyboardState, int thread, int timestampMicroseconds, int correlationId) returns bool: Set virtual keyboard.
- ClipboardFormatKnown(text format) returns bool: Clipboard format known.
- SetClipboard(text owner, text format, text value, bool delayed, bool permissionGranted, int thread, int timestampMicroseconds, int correlationId) returns bool: Set clipboard.
- MaterializeClipboard(text owner, text value, bool permissionGranted, int thread, int timestampMicroseconds, int correlationId) returns bool: Materialize clipboard.
- ReadClipboard(text format, bool permissionGranted, int thread, int timestampMicroseconds, int correlationId) returns text: Read clipboard.
- DisplayIndex(text displayId) returns int: Display index.
- PublishDisplay(nativeUiDisplayRecord display, int thread) returns bool: Publish display.
- CommitTopology(int thread, int timestampMicroseconds, int correlationId) returns bool: Commit topology.
- SetSessionSuspended(bool suspended, text reason, int thread, int timestampMicroseconds, int correlationId) returns bool: Set session suspended.
- ProviderLost(text reason, int thread, int timestampMicroseconds, int correlationId) returns bool: Provider lost.
- TearDown(int thread, int timestampMicroseconds, int correlationId) returns bool: Tear down.
- EventAt(int index) returns text: Event at.
- Describe() returns text: Describe.

## Use nativeUiHostReferenceProvider

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using host.ui_services

// Define host text, editing, clipboard, and accessibility service contracts.
nativeUiHostReferenceProvider sample = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
Console.Log(Text.From(sample.schema))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.Reject

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Reject.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_operation = "argument operation"
text argument_reason = "argument reason"
bool result = instance.Reject(argument_operation, argument_reason)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-Reject-64 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.CapabilityAvailable

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Capability available.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_capability = "argument capability"
bool result = instance.CapabilityAvailable(argument_capability)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-CapabilityAvailable-65 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.Ready

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Ready.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
int argument_thread = 1
text argument_capability = "argument capability"
bool result = instance.Ready(argument_thread, argument_capability)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-Ready-66 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.Initialize

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Initialize.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
bool argument_providerAvailable = true
bool argument_failAfterCapabilities = true
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.Initialize(argument_providerAvailable, argument_failAfterCapabilities, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-Initialize-67 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.Record

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Record.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_category = "argument category"
text argument_subject = "argument subject"
text argument_eventState = "argument event State"
text argument_detail = "argument detail"
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
int argument_latencyMicroseconds = 1
instance.Record(argument_category, argument_subject, argument_eventState, argument_detail, argument_timestampMicroseconds, argument_correlationId, argument_latencyMicroseconds)
Console.Log("Record completed")

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-Record-68 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.ObserveWindowEvent

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Observe window event.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_windowId = "argument window Id"
text argument_eventState = "argument event State"
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
int argument_thread = 1
bool result = instance.ObserveWindowEvent(argument_windowId, argument_eventState, argument_timestampMicroseconds, argument_correlationId, argument_thread)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-ObserveWindowEvent-69 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.AccessibilityNodeIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Accessibility node index.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_nodeId = "argument node Id"
int result = instance.AccessibilityNodeIndex(argument_nodeId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-AccessibilityNodeIndex-70 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.BeginAccessibilityBatch

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Begin accessibility batch.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.BeginAccessibilityBatch(argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-BeginAccessibilityBatch-71 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.PublishAccessibilityNode

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Publish accessibility node.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_nodeId = "argument node Id"
int argument_generation = 1
text argument_role = "argument role"
text argument_name = "argument name"
int argument_thread = 1
bool result = instance.PublishAccessibilityNode(argument_nodeId, argument_generation, argument_role, argument_name, argument_thread)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-PublishAccessibilityNode-72 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.EndAccessibilityBatch

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// End accessibility batch.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.EndAccessibilityBatch(argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-EndAccessibilityBatch-73 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.RouteAccessibilityAction

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Route accessibility action.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_nodeId = "argument node Id"
int argument_generation = 1
text argument_action = "argument action"
bool argument_simulateReentrancy = true
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.RouteAccessibilityAction(argument_nodeId, argument_generation, argument_action, argument_simulateReentrancy, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-RouteAccessibilityAction-74 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.BeginTextInput

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Begin text input.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_windowId = "argument window Id"
text argument_value = "argument value"
int argument_selectionStart = 1
int argument_selectionLength = 1
int argument_replacementStart = 1
int argument_replacementLength = 1
int argument_caretX = 1
int argument_caretY = 1
int argument_caretWidth = 1
int argument_caretHeight = 1
int argument_candidateX = 1
int argument_candidateY = 1
text argument_purpose = "argument purpose"
text argument_hints = "argument hints"
bool argument_deadKey = true
bool argument_requestVirtualKeyboard = true
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.BeginTextInput(argument_windowId, argument_value, argument_selectionStart, argument_selectionLength, argument_replacementStart, argument_replacementLength, argument_caretX, argument_caretY, argument_caretWidth, argument_caretHeight, argument_candidateX, argument_candidateY, argument_purpose, argument_hints, argument_deadKey, argument_requestVirtualKeyboard, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-BeginTextInput-75 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.UpdateSurroundingText

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Update surrounding text.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_windowId = "argument window Id"
text argument_value = "argument value"
int argument_selectionStart = 1
int argument_selectionLength = 1
int argument_deleteStart = 1
int argument_deleteLength = 1
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.UpdateSurroundingText(argument_windowId, argument_value, argument_selectionStart, argument_selectionLength, argument_deleteStart, argument_deleteLength, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-UpdateSurroundingText-76 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.CommitText

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Commit text.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_windowId = "argument window Id"
text argument_value = "argument value"
int argument_replacementStart = 1
int argument_replacementLength = 1
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.CommitText(argument_windowId, argument_value, argument_replacementStart, argument_replacementLength, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-CommitText-77 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.CancelText

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Cancel text.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_windowId = "argument window Id"
text argument_reason = "argument reason"
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.CancelText(argument_windowId, argument_reason, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-CancelText-78 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.TransferTextFocus

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Transfer text focus.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_fromWindowId = "argument from Window Id"
text argument_toWindowId = "argument to Window Id"
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.TransferTextFocus(argument_fromWindowId, argument_toWindowId, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-TransferTextFocus-79 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.SetVirtualKeyboard

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Set virtual keyboard.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
bool argument_requested = true
bool argument_visible = true
text argument_keyboardState = "argument keyboard State"
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.SetVirtualKeyboard(argument_requested, argument_visible, argument_keyboardState, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-SetVirtualKeyboard-80 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.ClipboardFormatKnown

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Clipboard format known.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_format = "argument format"
bool result = instance.ClipboardFormatKnown(argument_format)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-ClipboardFormatKnown-81 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.SetClipboard

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Set clipboard.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_owner = "argument owner"
text argument_format = "argument format"
text argument_value = "argument value"
bool argument_delayed = true
bool argument_permissionGranted = true
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.SetClipboard(argument_owner, argument_format, argument_value, argument_delayed, argument_permissionGranted, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-SetClipboard-82 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.MaterializeClipboard

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Materialize clipboard.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_owner = "argument owner"
text argument_value = "argument value"
bool argument_permissionGranted = true
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.MaterializeClipboard(argument_owner, argument_value, argument_permissionGranted, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-MaterializeClipboard-83 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.ReadClipboard

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Read clipboard.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_format = "argument format"
bool argument_permissionGranted = true
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
text result = instance.ReadClipboard(argument_format, argument_permissionGranted, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-ReadClipboard-84 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.DisplayIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Display index.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_displayId = "argument display Id"
int result = instance.DisplayIndex(argument_displayId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-DisplayIndex-85 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.PublishDisplay

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Publish display.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
nativeUiDisplayRecord argument_display = nativeUiDisplayRecord("id", 1, 1, 1, 1, 1, 1, 1, 1, 1, true)
int argument_thread = 1
bool result = instance.PublishDisplay(argument_display, argument_thread)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-PublishDisplay-86 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.CommitTopology

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Commit topology.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.CommitTopology(argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-CommitTopology-87 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.SetSessionSuspended

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Set session suspended.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
bool argument_suspended = true
text argument_reason = "argument reason"
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.SetSessionSuspended(argument_suspended, argument_reason, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-SetSessionSuspended-88 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.ProviderLost

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Provider lost.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text argument_reason = "argument reason"
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.ProviderLost(argument_reason, argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-ProviderLost-89 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.TearDown

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Tear down.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
int argument_thread = 1
int argument_timestampMicroseconds = 1
int argument_correlationId = 1
bool result = instance.TearDown(argument_thread, argument_timestampMicroseconds, argument_correlationId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-TearDown-90 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.EventAt

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Event at.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
int argument_index = 1
text result = instance.EventAt(argument_index)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-EventAt-91 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## nativeUiHostReferenceProvider.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.ui_services

// Describe.
nativeUiHostReferenceProvider instance = nativeUiHostReferenceProvider(nativeUiHostCapabilityRecord("provider", true, true, true, true, true, true, true), 1)
text result = instance.Describe()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.host_ui_services__nativeuihostreferenceprovider"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.ui_services--nativeUiHostReferenceProvider/method-Describe-92 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/host/ui_services/10-reference-provider.yh

AI training permission: https://demonhunterlabs.com/ai-use
