@shiqianjiang/ceru-plugin-sdk 0.2.2 → 0.2.3

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.
package/dist/index.d.ts CHANGED
@@ -148,6 +148,8 @@ export interface PluginContext extends HostServices {
148
148
  readonly plugin: {
149
149
  id: string;
150
150
  version: string;
151
+ /** The validated installed manifest. Runtime configuration is manifest.config. */
152
+ manifest: Readonly<PluginManifest>;
151
153
  };
152
154
  /** 当前 Host 的协议版本与共享资源版本。 */
153
155
  readonly host: {
@@ -27,6 +27,7 @@ export interface ProviderDeclaration {
27
27
  id: string;
28
28
  name: string;
29
29
  protocols: string[];
30
+ qualities?: string[];
30
31
  icon?: IconRef;
31
32
  connectionMode?: 'none' | 'single' | 'multiple';
32
33
  }
@@ -75,6 +76,7 @@ export interface PluginManifest {
75
76
  author?: string;
76
77
  publisher?: string;
77
78
  license?: string;
79
+ homepage?: string;
78
80
  /** Static defaults for ctx.config. Build-time @file sugar is expanded into this object. */
79
81
  config?: JsonObject;
80
82
  engines: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shiqianjiang/ceru-plugin-sdk",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Typed authoring contracts for Ceru Music v2 single-file plugins",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",