Interface: InstallPluginResponse
@kortexya/reasoninglayer / InstallPluginResponse
Interface: InstallPluginResponse
Section titled “Interface: InstallPluginResponse”Defined in: src/types/marketplace.ts:292
The result of an install or an upgrade.
Remarks
Section titled “Remarks”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.
Properties
Section titled “Properties”degradation?
Section titled “degradation?”
optionaldegradation?:string|null
Defined in: src/types/marketplace.ts:311
What is missing from the live contribution, when InstallPluginResponse.degraded.
degraded?
Section titled “degraded?”
optionaldegraded?:boolean
Defined in: src/types/marketplace.ts:309
Whether the contribution is only PARTIALLY applied to the live view.
Remarks
Section titled “Remarks”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
Section titled “installId”installId:
string
Defined in: src/types/marketplace.ts:294
The new install’s id.
rulesAdded
Section titled “rulesAdded”rulesAdded:
number
Defined in: src/types/marketplace.ts:298
The number of rules the install contributed.
sortsAdded
Section titled “sortsAdded”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).