Package com.inductiveautomation.ignition.common.config.ai


@NullMarked package com.inductiveautomation.ignition.common.config.ai
The wire model for the read-only view of the gateway's configuration system that AI agents consume. Every type here is a flat, Gson-friendly record designed to be handed to a model as context, and to cross the designer-to-gateway RPC boundary without a bespoke serializer.

Boundaries

These are transport records, not a config API: they carry no behavior, no identity, and no link back to the live resource. The gateway decides what may appear in them — which types are visible, which instances can be listed or read, and which values are redacted first — so nothing in this package should grow validation, defaulting, or mutation helpers. A field being null here means the gateway had nothing to offer, never that the caller should substitute something.

Configuration JSON arriving in these records is the projection the gateway renders for agents, not a round-trippable copy of the persisted form, and it is user-authored text that consumers must still treat as untrusted model-visible input.

Serialization

Fields are limited to strings, booleans, JsonElement, lists, and nested records so the default RPC serializer can handle them by reflection. Adding a field of any other kind means teaching that serializer about it first.