@alisio/sdk 0.4.5 → 0.5.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +16 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -990,12 +990,28 @@ export interface SearchProvider {
990
990
  signal?: AbortSignal;
991
991
  }): Promise<SearchResult[]>;
992
992
  }
993
+ /**
994
+ * A VSCode-style icon theme served by the host: one manifest plus a directory of SVGs. Paths are
995
+ * absolute because the host resolves them against the plugin's own installation, not the workspace.
996
+ */
997
+ export interface IconThemeProvider {
998
+ /** Stable theme id: lowercase letters, digits and dashes. */
999
+ id: string;
1000
+ /** Human label shown by the theme picker. */
1001
+ label: string;
1002
+ /** Absolute path to a VSCode-style icon theme manifest JSON. */
1003
+ manifestPath: string;
1004
+ /** Absolute directory with the SVG files. */
1005
+ iconsDir: string;
1006
+ }
993
1007
  /** Typed map of extension points; new points are added here without breaking existing ones. */
994
1008
  export interface ExtensionPoints {
995
1009
  mascot: MascotProvider;
996
1010
  "startup-screen": StartupScreenProvider;
997
1011
  /** Replaces the built-in websearch resolution (SearXNG/DuckDuckGo/configured/native) entirely. */
998
1012
  websearch: SearchProvider;
1013
+ /** Contributes a selectable icon theme for the web UI (one active at a time). */
1014
+ "icon-theme": IconThemeProvider;
999
1015
  }
1000
1016
  export interface ExtensionOptions {
1001
1017
  /** Higher wins (default 0). Ties break by plugin id, then registration order. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alisio/sdk",
3
- "version": "0.4.5",
3
+ "version": "0.5.1",
4
4
  "description": "Typed plugin SDK for Alisio: the stable contract for tools, commands, context, compaction and session hooks, model completions and storage. Types only plus tiny helpers; zero runtime dependencies.",
5
5
  "author": "Gustavo Gutiérrez",
6
6
  "license": "MIT",