Перейти к основному содержимому

Interface: PluginManifest

Defined in: packages/plugin-sdk/src/manifest.ts:21

Properties

apiVersion

apiVersion: number

Defined in: packages/plugin-sdk/src/manifest.ts:26


authClients?

optional authClients?: PluginAuthClient[]

Defined in: packages/plugin-sdk/src/manifest.ts:58

Static OAuth client descriptors (rev4 §K5). v1: public clients with PKCE only — no clientSecret anywhere. Changing a descriptor requires reinstalling the package.


backend?

optional backend?: string

Defined in: packages/plugin-sdk/src/manifest.ts:31

Relative path to the backend ESM entry.


engines?

optional engines?: object

Defined in: packages/plugin-sdk/src/manifest.ts:27

host?

optional host?: string

neotavern?

optional neotavern?: string

protocol?

optional protocol?: string

sdk?

optional sdk?: string


frontend?

optional frontend?: string

Defined in: packages/plugin-sdk/src/manifest.ts:29

Relative path to the frontend ESM entry.


i18n?

optional i18n?: Record<string, string>

Defined in: packages/plugin-sdk/src/manifest.ts:35

Locale → relative path of translation JSON.


id

id: string

Defined in: packages/plugin-sdk/src/manifest.ts:23

Reverse-DNS identifier, e.g. "author.plugin-name".


legacy?

optional legacy?: object

Defined in: packages/plugin-sdk/src/manifest.ts:40

Trusted compatibility entry points for existing SillyTavern extensions. Packages using either entry must request legacy.trusted.

backend?

optional backend?: string

frontend?

optional frontend?: string


name

name: string

Defined in: packages/plugin-sdk/src/manifest.ts:24


optionalCapabilities?

optional optionalCapabilities?: CapabilityRequest[]

Defined in: packages/plugin-sdk/src/manifest.ts:52

Scoped capabilities the plugin can degrade without (rev4 §B1).


permissions?

optional permissions?: string[]

Defined in: packages/plugin-sdk/src/manifest.ts:48

Legacy flat permission list (SDK v2). Kept for compatibility; new manifests SHOULD declare scoped capabilities instead (rev4 §B1).


publisher?

optional publisher?: object

Defined in: packages/plugin-sdk/src/manifest.ts:71

Package signing (ТЗ v3.2 §36): keyId is the ed25519:<hex> fingerprint of the signing public key; signature is the base64 Ed25519 signature over the canonical manifest (set by neotavern-plugin sign/build, never handwritten).

keyId

keyId: string


requiredCapabilities?

optional requiredCapabilities?: CapabilityRequest[]

Defined in: packages/plugin-sdk/src/manifest.ts:50

Scoped capabilities the plugin cannot work without (rev4 §B1).


signature?

optional signature?: string

Defined in: packages/plugin-sdk/src/manifest.ts:72


styles?

optional styles?: string

Defined in: packages/plugin-sdk/src/manifest.ts:33

Relative path to plugin styles.


version

version: string

Defined in: packages/plugin-sdk/src/manifest.ts:25


workers?

optional workers?: string[]

Defined in: packages/plugin-sdk/src/manifest.ts:64

Package-relative entry modules the plugin may spawn as isolated compute workers (rev4 §C2). Spawning an undeclared entry is rejected; requires the compute.worker capability at runtime.