Skip to content

Interface: InstallPluginResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / InstallPluginResponse

Defined in: src/types/marketplace.ts:292

The result of an install or an upgrade.

sortsAdded / rulesAdded report the plugin’s contribution to the scope’s knowledge base — the sorts and rules it committed into the lattice.

state is the resulting lifecycle state, one of "Published", "InstalledDisabled", "Enabled", "Upgrading", or "Uninstalled". It is "Enabled" after a successful install. The backend types this as an open string, so it is surfaced as string rather than a closed union.

optional degradation?: string | null

Defined in: src/types/marketplace.ts:311

What is missing from the live contribution, when InstallPluginResponse.degraded.


optional degraded?: boolean

Defined in: src/types/marketplace.ts:309

Whether the contribution is only PARTIALLY applied to the live view.

InstallPluginResponse.state cannot express this: a plugin whose sorts the live lattice rejected, or whose startup replay failed, still reads "Enabled" while contributing less than it reports — or nothing at all.


installId: string

Defined in: src/types/marketplace.ts:294

The new install’s id.


rulesAdded: number

Defined in: src/types/marketplace.ts:298

The number of rules the install contributed.


sortsAdded: number

Defined in: src/types/marketplace.ts:296

The number of sorts the install contributed.


state: string

Defined in: src/types/marketplace.ts:300

The resulting lifecycle state ("Enabled" after a successful install).