@deadair/plugin-sdk 0.19.3 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,12 +111,17 @@ export interface ConfigFieldOption {
111
111
  * `narration` band means. Third instance of one argument, which is what makes it a pattern rather
112
112
  * than three special cases: an id a plugin minted and only the station can collect.
113
113
  *
114
- * The four `plugins.*` members answer the enabled plugins that declare a given capability — speech,
115
- * llm, mixer, analysis — by id and name, for the settings that pick which plugin a capability with
116
- * several installed candidates uses. Those settings stay free text (`selectPlugin` in
117
- * `plugin.selection.ts` accepts an id that is not currently a candidate without falling back), so
118
- * this is a suggestion list rather than a closed `select` — the console resolves it the same way as
119
- * the other sources here, against the plugin list rather than a static enum.
114
+ * The `plugins.*` members answer the enabled plugins that declare a given capability — speech, llm,
115
+ * mixer, analysis, similarity — by id and name, for the settings that pick which plugin a
116
+ * capability with several installed candidates uses. Those settings stay free text (`selectPlugin`
117
+ * in `plugin.selection.ts` accepts an id that is not currently a candidate without falling back),
118
+ * so this is a suggestion list rather than a closed `select` — the console resolves it the same way
119
+ * as the other sources here, against the plugin list rather than a static enum.
120
+ *
121
+ * `plugins.similarity` is the one that does not pick a plugin: every enabled similarity source is
122
+ * asked whatever the setting says, and `rotation.similarityOrder` only says which is asked FIRST.
123
+ * It is here rather than being a different kind of thing because the console resolves it
124
+ * identically — the enabled plugins declaring a capability, by id and name.
120
125
  *
121
126
  * `llm.models` is the odd one and the only member whose answer comes from a PLUGIN rather than from
122
127
  * a station table: the models the selected model plugin currently offers, for the settings that say
@@ -129,7 +134,7 @@ export interface ConfigFieldOption {
129
134
  * personas) is obvious, and a closed set is what the contract mirroring this can express. Whatever
130
135
  * it names is resolved by the CONSOLE; nothing here reaches a plugin.
131
136
  */
132
- export type ConfigFieldOptionSource = 'station.newsCategories' | 'station.newsFeeds' | 'station.podcastShows' | 'station.narrationSeries' | 'intl.timeZones' | 'plugins.speech' | 'plugins.llm' | 'plugins.mixer' | 'plugins.analysis' | 'llm.models';
137
+ export type ConfigFieldOptionSource = 'station.newsCategories' | 'station.newsFeeds' | 'station.podcastShows' | 'station.narrationSeries' | 'intl.timeZones' | 'plugins.speech' | 'plugins.llm' | 'plugins.mixer' | 'plugins.analysis' | 'plugins.similarity' | 'llm.models';
133
138
  /**
134
139
  * One column of a `list` field.
135
140
  *
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.config.fields.d.ts","sourceRoot":"","sources":["../src/plugin.config.fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvI;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,UAAU,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEnD,uEAAuE;AACvE,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,MAAM,uBAAuB,GAC7B,wBAAwB,GACxB,mBAAmB,GACnB,sBAAsB,GACtB,yBAAyB,GACzB,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,eAAe,GACf,kBAAkB,GAClB,YAAY,CAAC;AAEnB;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;;;;;;;;;OAYG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ,sBAAsB;I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b,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAE9B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;IAEtC;;;;OAIG;IACH,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAE9B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;EAA4G,CAAC;AAE/I,eAAO,MAAM,qBAAqB;;;EAAgC,CAAC;AAEnE,eAAO,MAAM,wBAAwB;;;EAA6B,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;EAWxC,CAAC;AAMH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB5B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deadair/plugin-sdk",
3
- "version": "0.19.3",
3
+ "version": "0.21.0",
4
4
  "description": "The contract a deadair plugin is written against: the manifest, the capabilities, the host it is handed, and a fake host for its tests.",
5
5
  "keywords": [
6
6
  "deadair",