@open-orpheus/plugin-api 0.0.0 → 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.
Files changed (174) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +192 -0
  3. package/dist/client/index.d.ts +37 -0
  4. package/dist/client/index.js +53 -0
  5. package/dist/client/index.js.map +1 -0
  6. package/dist/configuration/host/src/shared/plugin/configuration/index.d.ts +21 -0
  7. package/dist/configuration/index.d.ts +5 -0
  8. package/dist/host/_native/open-orpheus__window.d.ts +35 -17
  9. package/dist/host/src/main/assets.d.ts +2 -0
  10. package/dist/host/src/main/audio/DownloadScheduler.d.ts +2 -2
  11. package/dist/host/src/main/audio/MediaEngine.d.ts +1 -1
  12. package/dist/host/src/main/audio.d.ts +1 -1
  13. package/dist/host/src/main/av3a/Av3aEngine.d.ts +1 -1
  14. package/dist/host/src/main/av3a/Av3aM4aSession.d.ts +1 -1
  15. package/dist/host/src/main/av3a/Av3aPlaybackProcess.d.ts +1 -1
  16. package/dist/host/src/main/av3a/sources.d.ts +2 -2
  17. package/dist/host/src/main/av3a/types.d.ts +1 -1
  18. package/dist/host/src/main/bridge/ipc-main-bridge.d.ts +24 -0
  19. package/dist/host/src/main/bridge/window.d.ts +7 -0
  20. package/dist/host/src/main/cache.d.ts +3 -3
  21. package/dist/host/src/main/calls/desktop.d.ts +1 -1
  22. package/dist/host/src/main/calls/index.d.ts +16 -16
  23. package/dist/host/src/main/calls.d.ts +1 -1
  24. package/dist/host/src/main/channel.d.ts +1 -1
  25. package/dist/host/src/main/database/KeyvSqliteDriver.d.ts +1 -1
  26. package/dist/host/src/main/database.d.ts +1 -1
  27. package/dist/host/src/main/lifecycle.d.ts +15 -6
  28. package/dist/host/src/main/lyrics/DbusLyricsService.d.ts +2 -2
  29. package/dist/host/src/main/lyrics/LyricsDispatcher.d.ts +1 -1
  30. package/dist/host/src/main/lyrics/dbus.d.ts +1 -1
  31. package/dist/host/src/main/lyrics/parse.d.ts +1 -1
  32. package/dist/host/src/main/lyrics.d.ts +1 -1
  33. package/dist/host/src/main/mediaSession.d.ts +1 -1
  34. package/dist/host/src/main/menu/AppMenu.d.ts +3 -3
  35. package/dist/host/src/main/menu/backend/DesktopWindowBackend.d.ts +2 -2
  36. package/dist/host/src/main/menu/backend/MenuBackend.d.ts +3 -3
  37. package/dist/host/src/main/menu/backend/WaylandLayerShellBackend.d.ts +35 -0
  38. package/dist/host/src/main/menu/backend/WaylandOverlayBackend.d.ts +1 -1
  39. package/dist/host/src/main/menu/backend/WaylandPopupBackend.d.ts +2 -2
  40. package/dist/host/src/main/menu/constants.d.ts +2 -0
  41. package/dist/host/src/main/menu/index.d.ts +2 -2
  42. package/dist/host/src/main/menu/patch.d.ts +1 -1
  43. package/dist/host/src/main/menu/skin.d.ts +1 -1
  44. package/dist/host/src/main/menu/surface/BaseWindowMenuSurface.d.ts +15 -3
  45. package/dist/host/src/main/menu/surface/CaptureLayerSurface.d.ts +22 -0
  46. package/dist/host/src/main/menu/surface/MenuSurface.d.ts +1 -1
  47. package/dist/host/src/main/menu/surface/MenuSurfacePath.d.ts +2 -2
  48. package/dist/host/src/main/menu/surface/SurfacePool.d.ts +1 -1
  49. package/dist/host/src/main/menu/workaround.d.ts +9 -3
  50. package/dist/host/src/main/ncae.d.ts +1 -1
  51. package/dist/host/src/main/network/handler.d.ts +1 -1
  52. package/dist/host/src/main/network/interceptor.d.ts +1 -1
  53. package/dist/host/src/main/network/interceptors/anonymous.d.ts +1 -1
  54. package/dist/host/src/main/network/pipeline.d.ts +1 -1
  55. package/dist/host/src/main/pack.d.ts +1 -1
  56. package/dist/host/src/main/packs/SkinPack.d.ts +1 -1
  57. package/dist/host/src/main/packs/WebPack.d.ts +1 -1
  58. package/dist/host/src/main/playback/PlaybackController.d.ts +2 -2
  59. package/dist/host/src/main/playback/PlayerCommandRouter.d.ts +2 -2
  60. package/dist/host/src/main/playback/adapters/MediaSessionAdapter.d.ts +2 -2
  61. package/dist/host/src/main/playback/adapters/MprisAdapter.d.ts +3 -3
  62. package/dist/host/src/main/playback/adapters/NowPlayingAdapter.d.ts +2 -2
  63. package/dist/host/src/main/playback/adapters/SmtcAdapter.d.ts +2 -2
  64. package/dist/host/src/main/playback/modes.d.ts +1 -1
  65. package/dist/host/src/main/playback/types.d.ts +31 -11
  66. package/dist/host/src/main/plugin/assets.d.ts +8 -0
  67. package/dist/host/src/main/plugin/catalog.d.ts +42 -0
  68. package/dist/host/src/main/plugin/discover.d.ts +4 -7
  69. package/dist/host/src/main/plugin/index.d.ts +5 -2
  70. package/dist/host/src/main/plugin/loader.d.ts +68 -21
  71. package/dist/host/src/main/plugin/manager.d.ts +53 -7
  72. package/dist/host/src/main/plugin/metadata.d.ts +13 -3
  73. package/dist/host/src/main/plugin/state.d.ts +16 -6
  74. package/dist/host/src/main/settings.d.ts +17 -2
  75. package/dist/host/src/main/shutdown.d.ts +28 -10
  76. package/dist/host/src/main/skin/dui.d.ts +1 -1
  77. package/dist/host/src/main/update.d.ts +1 -1
  78. package/dist/host/src/main/util/color.d.ts +7 -0
  79. package/dist/host/src/main/window.d.ts +26 -4
  80. package/dist/host/src/main/windows/color-picker.d.ts +3 -0
  81. package/dist/host/src/main/windows/desktop-lyrics.d.ts +2 -2
  82. package/dist/host/src/main/windows/desktop-pet.d.ts +1 -1
  83. package/dist/host/src/main/windows/main.d.ts +1 -1
  84. package/dist/host/src/main/windows/mini-player.d.ts +2 -2
  85. package/dist/host/src/main/windows/music-desktop.d.ts +1 -1
  86. package/dist/host/src/main/windows/package-download.d.ts +1 -1
  87. package/dist/host/src/main/windows/plugin-manager-events.d.ts +7 -0
  88. package/dist/host/src/main/windows/plugin-manager.d.ts +1 -1
  89. package/dist/host/src/main/xeapi.d.ts +1 -6
  90. package/dist/host/src/preload/PlaybackBackend.d.ts +1 -1
  91. package/dist/host/src/preload/Player.d.ts +14 -6
  92. package/dist/host/src/preload/av3a/Av3aPcmPlayer.d.ts +2 -2
  93. package/dist/host/src/preload/av3a/bridge.d.ts +2 -2
  94. package/dist/host/src/preload/av3a/channel.d.ts +2 -2
  95. package/dist/host/src/preload/backends/Av3aPlaybackBackend.d.ts +2 -2
  96. package/dist/host/src/preload/backends/MediaPlaybackBackend.d.ts +1 -1
  97. package/dist/host/src/shared/bridge/constants.d.ts +2 -0
  98. package/dist/host/src/shared/bridge/endpoint.d.ts +29 -0
  99. package/dist/host/src/shared/bridge/hub.d.ts +136 -0
  100. package/dist/host/src/shared/bridge/protocol.d.ts +91 -0
  101. package/dist/host/src/shared/bridge/realm.d.ts +14 -0
  102. package/dist/host/src/shared/bridge/routes.d.ts +37 -0
  103. package/dist/host/src/shared/contracts/av3a-api.d.ts +1 -1
  104. package/dist/host/src/shared/contracts/av3a-process.d.ts +1 -1
  105. package/dist/host/src/shared/contracts/color-picker-api.d.ts +17 -0
  106. package/dist/host/src/shared/contracts/desktop-lyrics-api.d.ts +1 -2
  107. package/dist/host/src/shared/contracts/input-region-api.d.ts +1 -2
  108. package/dist/host/src/shared/contracts/lyrics-api.d.ts +1 -1
  109. package/dist/host/src/shared/contracts/manage-api.d.ts +2 -4
  110. package/dist/host/src/shared/contracts/menu-surface-api.d.ts +35 -0
  111. package/dist/host/src/shared/contracts/mini-player-api.d.ts +1 -1
  112. package/dist/host/src/shared/contracts/plugin-manager-api.d.ts +201 -12
  113. package/dist/host/src/shared/playbackMode.d.ts +1 -1
  114. package/dist/host/src/shared/plugin/cache-bust.d.ts +8 -0
  115. package/dist/host/src/shared/plugin/lifecycle.d.ts +217 -0
  116. package/dist/host/src/{main/plugin/types.d.ts → shared/plugin/realms/main/index.d.ts} +1 -1
  117. package/dist/host/src/shared/plugin/registry.d.ts +42 -5
  118. package/dist/host/src/shared/plugin/runtime-state.d.ts +4 -0
  119. package/dist/host/src/shared/settings/defaults.d.ts +35 -0
  120. package/dist/host/src/shared/settings/index.d.ts +3 -0
  121. package/dist/host/src/shared/settings/keys.d.ts +21 -0
  122. package/dist/host/src/shared/settings/values.d.ts +13 -0
  123. package/dist/host/src/shared/types/desktop-lyrics.d.ts +28 -11
  124. package/dist/host/src/shared/types/menu-surface.d.ts +2 -2
  125. package/dist/host/src/shared/types/menu.d.ts +1 -1
  126. package/dist/host/src/shared/types/mini-player.d.ts +12 -5
  127. package/dist/host/src/shared/types/ncae.d.ts +11 -3
  128. package/dist/host/src/shared/types/package-download.d.ts +13 -5
  129. package/dist/index.d.ts +3 -3
  130. package/dist/plugin-manager/host/src/preload/logger.d.ts +10 -0
  131. package/dist/plugin-manager/host/src/preload/util.d.ts +1 -0
  132. package/dist/plugin-manager/host/src/shared/bridge/constants.d.ts +2 -0
  133. package/dist/plugin-manager/host/src/shared/bridge/endpoint.d.ts +29 -0
  134. package/dist/plugin-manager/host/src/shared/bridge/hub.d.ts +136 -0
  135. package/dist/plugin-manager/host/src/shared/bridge/protocol.d.ts +91 -0
  136. package/dist/plugin-manager/host/src/shared/bridge/routes.d.ts +37 -0
  137. package/dist/plugin-manager/host/src/shared/contracts/plugin-manager-api.d.ts +223 -0
  138. package/dist/plugin-manager/host/src/shared/plugin/lifecycle.d.ts +217 -0
  139. package/dist/plugin-manager/host/src/shared/plugin/realms/common/index.d.ts +34 -0
  140. package/dist/plugin-manager/host/src/shared/plugin/realms/plugin-manager/index.d.ts +11 -0
  141. package/dist/plugin-manager/host/src/shared/plugin/registry.d.ts +69 -0
  142. package/dist/plugin-manager/host/src/shared/util.d.ts +22 -0
  143. package/dist/plugin-manager/index.d.ts +7 -0
  144. package/dist/plugin-manager/registry-map.d.ts +16 -0
  145. package/dist/preload/host/src/preload/PlaybackBackend.d.ts +1 -1
  146. package/dist/preload/host/src/preload/Player.d.ts +14 -6
  147. package/dist/preload/host/src/preload/audioplayer.d.ts +1 -1
  148. package/dist/preload/host/src/preload/av3a/Av3aPcmPlayer.d.ts +2 -2
  149. package/dist/preload/host/src/preload/av3a/bridge.d.ts +2 -2
  150. package/dist/preload/host/src/preload/av3a/channel.d.ts +2 -2
  151. package/dist/preload/host/src/preload/backends/Av3aPlaybackBackend.d.ts +2 -2
  152. package/dist/preload/host/src/preload/backends/MediaPlaybackBackend.d.ts +1 -1
  153. package/dist/preload/host/src/preload/calls/index.d.ts +6 -6
  154. package/dist/preload/host/src/preload/calls.d.ts +1 -1
  155. package/dist/preload/host/src/preload/logger.d.ts +10 -0
  156. package/dist/preload/host/src/preload/playbackMode.d.ts +1 -1
  157. package/dist/preload/host/src/shared/bridge/endpoint.d.ts +29 -0
  158. package/dist/preload/host/src/shared/bridge/hub.d.ts +136 -0
  159. package/dist/preload/host/src/shared/bridge/protocol.d.ts +91 -0
  160. package/dist/preload/host/src/shared/bridge/routes.d.ts +37 -0
  161. package/dist/preload/host/src/shared/contracts/av3a-api.d.ts +1 -1
  162. package/dist/preload/host/src/shared/contracts/av3a-process.d.ts +1 -1
  163. package/dist/preload/host/src/shared/contracts/plugin-manager-api.d.ts +223 -0
  164. package/dist/preload/host/src/shared/playbackMode.d.ts +1 -1
  165. package/dist/preload/host/src/shared/plugin/lifecycle.d.ts +217 -0
  166. package/dist/preload/host/src/shared/plugin/realms/common/index.d.ts +34 -0
  167. package/dist/preload/host/src/shared/plugin/realms/preload/index.d.ts +11 -0
  168. package/dist/preload/host/src/shared/plugin/registry.d.ts +42 -5
  169. package/dist/preload/host/src/shared/types/ncae.d.ts +11 -3
  170. package/dist/preload/index.d.ts +3 -3
  171. package/dist/preload/registry-map.d.ts +38 -31
  172. package/dist/registry-map.d.ts +159 -140
  173. package/package.json +24 -8
  174. package/dist/preload/host/src/preload/plugin/types.d.ts +0 -18
@@ -1,36 +1,43 @@
1
1
  // AUTO-GENERATED by packages/plugin-api/scripts/build.ts. Do not edit.
2
2
  export declare const load: {
3
- readonly "@/constants": () => Promise<typeof import("./host/src/constants")>;
4
- readonly "@preload/AudioEffectManager": () => Promise<typeof import("./host/src/preload/AudioEffectManager")>;
5
- readonly "@preload/audioplayer": () => Promise<typeof import("./host/src/preload/audioplayer")>;
6
- readonly "@preload/av3a/Av3aPcmPlayer": () => Promise<typeof import("./host/src/preload/av3a/Av3aPcmPlayer")>;
7
- readonly "@preload/av3a/bridge": () => Promise<typeof import("./host/src/preload/av3a/bridge")>;
8
- readonly "@preload/av3a/channel": () => Promise<typeof import("./host/src/preload/av3a/channel")>;
9
- readonly "@preload/av3a/detect": () => Promise<typeof import("./host/src/preload/av3a/detect")>;
10
- readonly "@preload/backends/Av3aPlaybackBackend": () => Promise<typeof import("./host/src/preload/backends/Av3aPlaybackBackend")>;
11
- readonly "@preload/backends/MediaPlaybackBackend": () => Promise<typeof import("./host/src/preload/backends/MediaPlaybackBackend")>;
12
- readonly "@preload/calls": () => Promise<typeof import("./host/src/preload/calls")>;
13
- readonly "@preload/calls/app": () => Promise<typeof import("./host/src/preload/calls/app")>;
14
- readonly "@preload/calls/audioeffect": () => Promise<typeof import("./host/src/preload/calls/audioeffect")>;
15
- readonly "@preload/calls/audioplayer": () => Promise<typeof import("./host/src/preload/calls/audioplayer")>;
16
- readonly "@preload/calls/im": () => Promise<typeof import("./host/src/preload/calls/im")>;
17
- readonly "@preload/calls/index": () => Promise<typeof import("./host/src/preload/calls/index")>;
18
- readonly "@preload/calls/network": () => Promise<typeof import("./host/src/preload/calls/network")>;
19
- readonly "@preload/calls/nimsys": () => Promise<typeof import("./host/src/preload/calls/nimsys")>;
20
- readonly "@preload/calls/os": () => Promise<typeof import("./host/src/preload/calls/os")>;
21
- readonly "@preload/calls/player": () => Promise<typeof import("./host/src/preload/calls/player")>;
22
- readonly "@preload/calls/update": () => Promise<typeof import("./host/src/preload/calls/update")>;
23
- readonly "@preload/channel": () => Promise<typeof import("./host/src/preload/channel")>;
24
- readonly "@preload/MusicRecognizer": () => Promise<typeof import("./host/src/preload/MusicRecognizer")>;
25
- readonly "@preload/playbackMode": () => Promise<typeof import("./host/src/preload/playbackMode")>;
26
- readonly "@preload/Player": () => Promise<typeof import("./host/src/preload/Player")>;
27
- readonly "@preload/util": () => Promise<typeof import("./host/src/preload/util")>;
28
- readonly "@preload/YunxinIM": () => Promise<typeof import("./host/src/preload/YunxinIM")>;
29
- readonly "@shared/CallDispatcher": () => Promise<typeof import("./host/src/shared/CallDispatcher")>;
30
- readonly "@shared/playbackMode": () => Promise<typeof import("./host/src/shared/playbackMode")>;
31
- readonly "@shared/plugin/registry": () => Promise<typeof import("./host/src/shared/plugin/registry")>;
32
- readonly "@shared/types/ncae": () => Promise<typeof import("./host/src/shared/types/ncae")>;
33
- readonly "@shared/util": () => Promise<typeof import("./host/src/shared/util")>;
3
+ readonly "@/constants": () => Promise<typeof import("./host/src/constants.js")>;
4
+ readonly "@preload/AudioEffectManager": () => Promise<typeof import("./host/src/preload/AudioEffectManager.js")>;
5
+ readonly "@preload/audioplayer": () => Promise<typeof import("./host/src/preload/audioplayer.js")>;
6
+ readonly "@preload/av3a/Av3aPcmPlayer": () => Promise<typeof import("./host/src/preload/av3a/Av3aPcmPlayer.js")>;
7
+ readonly "@preload/av3a/bridge": () => Promise<typeof import("./host/src/preload/av3a/bridge.js")>;
8
+ readonly "@preload/av3a/channel": () => Promise<typeof import("./host/src/preload/av3a/channel.js")>;
9
+ readonly "@preload/av3a/detect": () => Promise<typeof import("./host/src/preload/av3a/detect.js")>;
10
+ readonly "@preload/backends/Av3aPlaybackBackend": () => Promise<typeof import("./host/src/preload/backends/Av3aPlaybackBackend.js")>;
11
+ readonly "@preload/backends/MediaPlaybackBackend": () => Promise<typeof import("./host/src/preload/backends/MediaPlaybackBackend.js")>;
12
+ readonly "@preload/calls": () => Promise<typeof import("./host/src/preload/calls.js")>;
13
+ readonly "@preload/calls/app": () => Promise<typeof import("./host/src/preload/calls/app.js")>;
14
+ readonly "@preload/calls/audioeffect": () => Promise<typeof import("./host/src/preload/calls/audioeffect.js")>;
15
+ readonly "@preload/calls/audioplayer": () => Promise<typeof import("./host/src/preload/calls/audioplayer.js")>;
16
+ readonly "@preload/calls/im": () => Promise<typeof import("./host/src/preload/calls/im.js")>;
17
+ readonly "@preload/calls/index": () => Promise<typeof import("./host/src/preload/calls/index.js")>;
18
+ readonly "@preload/calls/network": () => Promise<typeof import("./host/src/preload/calls/network.js")>;
19
+ readonly "@preload/calls/nimsys": () => Promise<typeof import("./host/src/preload/calls/nimsys.js")>;
20
+ readonly "@preload/calls/os": () => Promise<typeof import("./host/src/preload/calls/os.js")>;
21
+ readonly "@preload/calls/player": () => Promise<typeof import("./host/src/preload/calls/player.js")>;
22
+ readonly "@preload/calls/update": () => Promise<typeof import("./host/src/preload/calls/update.js")>;
23
+ readonly "@preload/channel": () => Promise<typeof import("./host/src/preload/channel.js")>;
24
+ readonly "@preload/logger": () => Promise<typeof import("./host/src/preload/logger.js")>;
25
+ readonly "@preload/MusicRecognizer": () => Promise<typeof import("./host/src/preload/MusicRecognizer.js")>;
26
+ readonly "@preload/playbackMode": () => Promise<typeof import("./host/src/preload/playbackMode.js")>;
27
+ readonly "@preload/Player": () => Promise<typeof import("./host/src/preload/Player.js")>;
28
+ readonly "@preload/util": () => Promise<typeof import("./host/src/preload/util.js")>;
29
+ readonly "@preload/YunxinIM": () => Promise<typeof import("./host/src/preload/YunxinIM.js")>;
30
+ readonly "@shared/bridge/endpoint": () => Promise<typeof import("./host/src/shared/bridge/endpoint.js")>;
31
+ readonly "@shared/bridge/hub": () => Promise<typeof import("./host/src/shared/bridge/hub.js")>;
32
+ readonly "@shared/bridge/protocol": () => Promise<typeof import("./host/src/shared/bridge/protocol.js")>;
33
+ readonly "@shared/bridge/routes": () => Promise<typeof import("./host/src/shared/bridge/routes.js")>;
34
+ readonly "@shared/CallDispatcher": () => Promise<typeof import("./host/src/shared/CallDispatcher.js")>;
35
+ readonly "@shared/contracts/plugin-manager-api": () => Promise<typeof import("./host/src/shared/contracts/plugin-manager-api.js")>;
36
+ readonly "@shared/playbackMode": () => Promise<typeof import("./host/src/shared/playbackMode.js")>;
37
+ readonly "@shared/plugin/lifecycle": () => Promise<typeof import("./host/src/shared/plugin/lifecycle.js")>;
38
+ readonly "@shared/plugin/registry": () => Promise<typeof import("./host/src/shared/plugin/registry.js")>;
39
+ readonly "@shared/types/ncae": () => Promise<typeof import("./host/src/shared/types/ncae.js")>;
40
+ readonly "@shared/util": () => Promise<typeof import("./host/src/shared/util.js")>;
34
41
  };
35
42
 
36
43
  export type RegistryLoad = typeof load;
@@ -1,145 +1,164 @@
1
1
  // AUTO-GENERATED by packages/plugin-api/scripts/build.ts. Do not edit.
2
2
  export declare const load: {
3
- readonly "@/constants": () => Promise<typeof import("./host/src/constants")>;
4
- readonly "@main/afp": () => Promise<typeof import("./host/src/main/afp")>;
5
- readonly "@main/arguments": () => Promise<typeof import("./host/src/main/arguments")>;
6
- readonly "@main/audio": () => Promise<typeof import("./host/src/main/audio")>;
7
- readonly "@main/audio/ChunkTracker": () => Promise<typeof import("./host/src/main/audio/ChunkTracker")>;
8
- readonly "@main/audio/DownloadScheduler": () => Promise<typeof import("./host/src/main/audio/DownloadScheduler")>;
9
- readonly "@main/audio/MediaEngine": () => Promise<typeof import("./host/src/main/audio/MediaEngine")>;
10
- readonly "@main/audio/OnlineStreamer": () => Promise<typeof import("./host/src/main/audio/OnlineStreamer")>;
11
- readonly "@main/audio/StorageManager": () => Promise<typeof import("./host/src/main/audio/StorageManager")>;
12
- readonly "@main/av3a/Av3aEngine": () => Promise<typeof import("./host/src/main/av3a/Av3aEngine")>;
13
- readonly "@main/av3a/Av3aPlaybackProcess": () => Promise<typeof import("./host/src/main/av3a/Av3aPlaybackProcess")>;
14
- readonly "@main/av3a/detect": () => Promise<typeof import("./host/src/main/av3a/detect")>;
15
- readonly "@main/av3a/sources": () => Promise<typeof import("./host/src/main/av3a/sources")>;
16
- readonly "@main/bridge/modules/inputRegion": () => Promise<typeof import("./host/src/main/bridge/modules/inputRegion")>;
17
- readonly "@main/bridge/modules/lyrics": () => Promise<typeof import("./host/src/main/bridge/modules/lyrics")>;
18
- readonly "@main/bridge/modules/settings": () => Promise<typeof import("./host/src/main/bridge/modules/settings")>;
19
- readonly "@main/bridge/register": () => Promise<typeof import("./host/src/main/bridge/register")>;
20
- readonly "@main/cache": () => Promise<typeof import("./host/src/main/cache")>;
21
- readonly "@main/cache/HttpCacheStorage": () => Promise<typeof import("./host/src/main/cache/HttpCacheStorage")>;
22
- readonly "@main/cache/LyricCahceManager": () => Promise<typeof import("./host/src/main/cache/LyricCahceManager")>;
23
- readonly "@main/cache/PlayCacheManager": () => Promise<typeof import("./host/src/main/cache/PlayCacheManager")>;
24
- readonly "@main/calls": () => Promise<typeof import("./host/src/main/calls")>;
25
- readonly "@main/calls/app": () => Promise<typeof import("./host/src/main/calls/app")>;
26
- readonly "@main/calls/audioeffect": () => Promise<typeof import("./host/src/main/calls/audioeffect")>;
27
- readonly "@main/calls/browser": () => Promise<typeof import("./host/src/main/calls/browser")>;
28
- readonly "@main/calls/desktop": () => Promise<typeof import("./host/src/main/calls/desktop")>;
29
- readonly "@main/calls/desktoppet": () => Promise<typeof import("./host/src/main/calls/desktoppet")>;
30
- readonly "@main/calls/download": () => Promise<typeof import("./host/src/main/calls/download")>;
31
- readonly "@main/calls/index": () => Promise<typeof import("./host/src/main/calls/index")>;
32
- readonly "@main/calls/musiclibrary": () => Promise<typeof import("./host/src/main/calls/musiclibrary")>;
33
- readonly "@main/calls/network": () => Promise<typeof import("./host/src/main/calls/network")>;
34
- readonly "@main/calls/os": () => Promise<typeof import("./host/src/main/calls/os")>;
35
- readonly "@main/calls/player": () => Promise<typeof import("./host/src/main/calls/player")>;
36
- readonly "@main/calls/process": () => Promise<typeof import("./host/src/main/calls/process")>;
37
- readonly "@main/calls/rtc": () => Promise<typeof import("./host/src/main/calls/rtc")>;
38
- readonly "@main/calls/storage": () => Promise<typeof import("./host/src/main/calls/storage")>;
39
- readonly "@main/calls/trayicon": () => Promise<typeof import("./host/src/main/calls/trayicon")>;
40
- readonly "@main/calls/update": () => Promise<typeof import("./host/src/main/calls/update")>;
41
- readonly "@main/calls/winhelper": () => Promise<typeof import("./host/src/main/calls/winhelper")>;
42
- readonly "@main/channel": () => Promise<typeof import("./host/src/main/channel")>;
43
- readonly "@main/cookie": () => Promise<typeof import("./host/src/main/cookie")>;
44
- readonly "@main/crypto": () => Promise<typeof import("./host/src/main/crypto")>;
45
- readonly "@main/database": () => Promise<typeof import("./host/src/main/database")>;
46
- readonly "@main/database/KeyvSqliteDriver": () => Promise<typeof import("./host/src/main/database/KeyvSqliteDriver")>;
47
- readonly "@main/dawn": () => Promise<typeof import("./host/src/main/dawn")>;
48
- readonly "@main/device": () => Promise<typeof import("./host/src/main/device")>;
49
- readonly "@main/download": () => Promise<typeof import("./host/src/main/download")>;
50
- readonly "@main/error": () => Promise<typeof import("./host/src/main/error")>;
51
- readonly "@main/folders": () => Promise<typeof import("./host/src/main/folders")>;
52
- readonly "@main/fonts": () => Promise<typeof import("./host/src/main/fonts")>;
53
- readonly "@main/gui": () => Promise<typeof import("./host/src/main/gui")>;
54
- readonly "@main/id3": () => Promise<typeof import("./host/src/main/id3")>;
55
- readonly "@main/lifecycle": () => Promise<typeof import("./host/src/main/lifecycle")>;
56
- readonly "@main/logger": () => Promise<typeof import("./host/src/main/logger")>;
57
- readonly "@main/lyrics": () => Promise<typeof import("./host/src/main/lyrics")>;
58
- readonly "@main/lyrics/dbus": () => Promise<typeof import("./host/src/main/lyrics/dbus")>;
59
- readonly "@main/lyrics/DbusLyricsService": () => Promise<typeof import("./host/src/main/lyrics/DbusLyricsService")>;
60
- readonly "@main/lyrics/LyricsDispatcher": () => Promise<typeof import("./host/src/main/lyrics/LyricsDispatcher")>;
61
- readonly "@main/lyrics/parse": () => Promise<typeof import("./host/src/main/lyrics/parse")>;
62
- readonly "@main/mediaSession": () => Promise<typeof import("./host/src/main/mediaSession")>;
63
- readonly "@main/menu/anchor": () => Promise<typeof import("./host/src/main/menu/anchor")>;
64
- readonly "@main/menu/AppMenu": () => Promise<typeof import("./host/src/main/menu/AppMenu")>;
65
- readonly "@main/menu/backend/DesktopWindowBackend": () => Promise<typeof import("./host/src/main/menu/backend/DesktopWindowBackend")>;
66
- readonly "@main/menu/backend/MenuBackend": () => Promise<typeof import("./host/src/main/menu/backend/MenuBackend")>;
67
- readonly "@main/menu/backend/WaylandOverlayBackend": () => Promise<typeof import("./host/src/main/menu/backend/WaylandOverlayBackend")>;
68
- readonly "@main/menu/backend/WaylandPopupBackend": () => Promise<typeof import("./host/src/main/menu/backend/WaylandPopupBackend")>;
69
- readonly "@main/menu/constants": () => Promise<typeof import("./host/src/main/menu/constants")>;
70
- readonly "@main/menu/index": () => Promise<typeof import("./host/src/main/menu/index")>;
71
- readonly "@main/menu/native-popup": () => Promise<typeof import("./host/src/main/menu/native-popup")>;
72
- readonly "@main/menu/patch": () => Promise<typeof import("./host/src/main/menu/patch")>;
73
- readonly "@main/menu/skin": () => Promise<typeof import("./host/src/main/menu/skin")>;
74
- readonly "@main/menu/surface/BaseWindowMenuSurface": () => Promise<typeof import("./host/src/main/menu/surface/BaseWindowMenuSurface")>;
75
- readonly "@main/menu/surface/MenuSurfacePath": () => Promise<typeof import("./host/src/main/menu/surface/MenuSurfacePath")>;
76
- readonly "@main/menu/surface/SurfacePool": () => Promise<typeof import("./host/src/main/menu/surface/SurfacePool")>;
77
- readonly "@main/menu/workaround": () => Promise<typeof import("./host/src/main/menu/workaround")>;
78
- readonly "@main/ncae": () => Promise<typeof import("./host/src/main/ncae")>;
79
- readonly "@main/network/handler": () => Promise<typeof import("./host/src/main/network/handler")>;
80
- readonly "@main/network/interceptor": () => Promise<typeof import("./host/src/main/network/interceptor")>;
81
- readonly "@main/network/interceptors/anonymous": () => Promise<typeof import("./host/src/main/network/interceptors/anonymous")>;
82
- readonly "@main/network/pipeline": () => Promise<typeof import("./host/src/main/network/pipeline")>;
83
- readonly "@main/network/types": () => Promise<typeof import("./host/src/main/network/types")>;
84
- readonly "@main/orpheus": () => Promise<typeof import("./host/src/main/orpheus")>;
85
- readonly "@main/pack": () => Promise<typeof import("./host/src/main/pack")>;
86
- readonly "@main/packs/Pack": () => Promise<typeof import("./host/src/main/packs/Pack")>;
87
- readonly "@main/packs/SkinPack": () => Promise<typeof import("./host/src/main/packs/SkinPack")>;
88
- readonly "@main/packs/WebPack": () => Promise<typeof import("./host/src/main/packs/WebPack")>;
89
- readonly "@main/playback/adapters/MediaSessionAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/MediaSessionAdapter")>;
90
- readonly "@main/playback/adapters/MprisAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/MprisAdapter")>;
91
- readonly "@main/playback/adapters/NowPlayingAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/NowPlayingAdapter")>;
92
- readonly "@main/playback/adapters/SmtcAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/SmtcAdapter")>;
93
- readonly "@main/playback/artwork": () => Promise<typeof import("./host/src/main/playback/artwork")>;
94
- readonly "@main/playback/modes": () => Promise<typeof import("./host/src/main/playback/modes")>;
95
- readonly "@main/playback/PlaybackController": () => Promise<typeof import("./host/src/main/playback/PlaybackController")>;
96
- readonly "@main/playback/PlayerCommandRouter": () => Promise<typeof import("./host/src/main/playback/PlayerCommandRouter")>;
97
- readonly "@main/playback/types": () => Promise<typeof import("./host/src/main/playback/types")>;
98
- readonly "@main/protocol": () => Promise<typeof import("./host/src/main/protocol")>;
99
- readonly "@main/request": () => Promise<typeof import("./host/src/main/request")>;
100
- readonly "@main/settings": () => Promise<typeof import("./host/src/main/settings")>;
101
- readonly "@main/shortcuts": () => Promise<typeof import("./host/src/main/shortcuts")>;
102
- readonly "@main/shutdown": () => Promise<typeof import("./host/src/main/shutdown")>;
103
- readonly "@main/skin/color": () => Promise<typeof import("./host/src/main/skin/color")>;
104
- readonly "@main/skin/dui": () => Promise<typeof import("./host/src/main/skin/dui")>;
105
- readonly "@main/tray": () => Promise<typeof import("./host/src/main/tray")>;
106
- readonly "@main/update": () => Promise<typeof import("./host/src/main/update")>;
107
- readonly "@main/util/display": () => Promise<typeof import("./host/src/main/util/display")>;
108
- readonly "@main/util/env": () => Promise<typeof import("./host/src/main/util/env")>;
109
- readonly "@main/util/fs": () => Promise<typeof import("./host/src/main/util/fs")>;
110
- readonly "@main/util/image": () => Promise<typeof import("./host/src/main/util/image")>;
111
- readonly "@main/util/musicFile": () => Promise<typeof import("./host/src/main/util/musicFile")>;
112
- readonly "@main/util/musicPicture": () => Promise<typeof import("./host/src/main/util/musicPicture")>;
113
- readonly "@main/util/path": () => Promise<typeof import("./host/src/main/util/path")>;
114
- readonly "@main/util/send": () => Promise<typeof import("./host/src/main/util/send")>;
115
- readonly "@main/util/url": () => Promise<typeof import("./host/src/main/util/url")>;
116
- readonly "@main/util/window": () => Promise<typeof import("./host/src/main/util/window")>;
117
- readonly "@main/window": () => Promise<typeof import("./host/src/main/window")>;
118
- readonly "@main/windows/desktop-lyrics": () => Promise<typeof import("./host/src/main/windows/desktop-lyrics")>;
119
- readonly "@main/windows/desktop-pet": () => Promise<typeof import("./host/src/main/windows/desktop-pet")>;
120
- readonly "@main/windows/main": () => Promise<typeof import("./host/src/main/windows/main")>;
121
- readonly "@main/windows/manage": () => Promise<typeof import("./host/src/main/windows/manage")>;
122
- readonly "@main/windows/mini-player": () => Promise<typeof import("./host/src/main/windows/mini-player")>;
123
- readonly "@main/windows/music-desktop": () => Promise<typeof import("./host/src/main/windows/music-desktop")>;
124
- readonly "@main/windows/package-download": () => Promise<typeof import("./host/src/main/windows/package-download")>;
125
- readonly "@main/windows/plugin-manager": () => Promise<typeof import("./host/src/main/windows/plugin-manager")>;
126
- readonly "@main/xeapi": () => Promise<typeof import("./host/src/main/xeapi")>;
127
- readonly "@shared/CallDispatcher": () => Promise<typeof import("./host/src/shared/CallDispatcher")>;
128
- readonly "@shared/contracts/input-region-api": () => Promise<typeof import("./host/src/shared/contracts/input-region-api")>;
129
- readonly "@shared/contracts/lyrics-api": () => Promise<typeof import("./host/src/shared/contracts/lyrics-api")>;
130
- readonly "@shared/contracts/mini-player-api": () => Promise<typeof import("./host/src/shared/contracts/mini-player-api")>;
131
- readonly "@shared/contracts/plugin-manager-api": () => Promise<typeof import("./host/src/shared/contracts/plugin-manager-api")>;
132
- readonly "@shared/contracts/settings-api": () => Promise<typeof import("./host/src/shared/contracts/settings-api")>;
133
- readonly "@shared/playbackMode": () => Promise<typeof import("./host/src/shared/playbackMode")>;
134
- readonly "@shared/plugin/registry": () => Promise<typeof import("./host/src/shared/plugin/registry")>;
135
- readonly "@shared/types/desktop-lyrics": () => Promise<typeof import("./host/src/shared/types/desktop-lyrics")>;
136
- readonly "@shared/types/lyrics": () => Promise<typeof import("./host/src/shared/types/lyrics")>;
137
- readonly "@shared/types/menu": () => Promise<typeof import("./host/src/shared/types/menu")>;
138
- readonly "@shared/types/mini-player": () => Promise<typeof import("./host/src/shared/types/mini-player")>;
139
- readonly "@shared/types/ncae": () => Promise<typeof import("./host/src/shared/types/ncae")>;
140
- readonly "@shared/types/package-download": () => Promise<typeof import("./host/src/shared/types/package-download")>;
141
- readonly "@shared/types/settings": () => Promise<typeof import("./host/src/shared/types/settings")>;
142
- readonly "@shared/util": () => Promise<typeof import("./host/src/shared/util")>;
3
+ readonly "@/constants": () => Promise<typeof import("./host/src/constants.js")>;
4
+ readonly "@main/afp": () => Promise<typeof import("./host/src/main/afp.js")>;
5
+ readonly "@main/arguments": () => Promise<typeof import("./host/src/main/arguments.js")>;
6
+ readonly "@main/assets": () => Promise<typeof import("./host/src/main/assets.js")>;
7
+ readonly "@main/audio": () => Promise<typeof import("./host/src/main/audio.js")>;
8
+ readonly "@main/audio/ChunkTracker": () => Promise<typeof import("./host/src/main/audio/ChunkTracker.js")>;
9
+ readonly "@main/audio/DownloadScheduler": () => Promise<typeof import("./host/src/main/audio/DownloadScheduler.js")>;
10
+ readonly "@main/audio/MediaEngine": () => Promise<typeof import("./host/src/main/audio/MediaEngine.js")>;
11
+ readonly "@main/audio/OnlineStreamer": () => Promise<typeof import("./host/src/main/audio/OnlineStreamer.js")>;
12
+ readonly "@main/audio/StorageManager": () => Promise<typeof import("./host/src/main/audio/StorageManager.js")>;
13
+ readonly "@main/av3a/Av3aEngine": () => Promise<typeof import("./host/src/main/av3a/Av3aEngine.js")>;
14
+ readonly "@main/av3a/Av3aPlaybackProcess": () => Promise<typeof import("./host/src/main/av3a/Av3aPlaybackProcess.js")>;
15
+ readonly "@main/av3a/detect": () => Promise<typeof import("./host/src/main/av3a/detect.js")>;
16
+ readonly "@main/av3a/sources": () => Promise<typeof import("./host/src/main/av3a/sources.js")>;
17
+ readonly "@main/bridge/ipc-main-bridge": () => Promise<typeof import("./host/src/main/bridge/ipc-main-bridge.js")>;
18
+ readonly "@main/bridge/modules/inputRegion": () => Promise<typeof import("./host/src/main/bridge/modules/inputRegion.js")>;
19
+ readonly "@main/bridge/modules/lyrics": () => Promise<typeof import("./host/src/main/bridge/modules/lyrics.js")>;
20
+ readonly "@main/bridge/modules/settings": () => Promise<typeof import("./host/src/main/bridge/modules/settings.js")>;
21
+ readonly "@main/bridge/register": () => Promise<typeof import("./host/src/main/bridge/register.js")>;
22
+ readonly "@main/bridge/window": () => Promise<typeof import("./host/src/main/bridge/window.js")>;
23
+ readonly "@main/cache": () => Promise<typeof import("./host/src/main/cache.js")>;
24
+ readonly "@main/cache/HttpCacheStorage": () => Promise<typeof import("./host/src/main/cache/HttpCacheStorage.js")>;
25
+ readonly "@main/cache/LyricCahceManager": () => Promise<typeof import("./host/src/main/cache/LyricCahceManager.js")>;
26
+ readonly "@main/cache/PlayCacheManager": () => Promise<typeof import("./host/src/main/cache/PlayCacheManager.js")>;
27
+ readonly "@main/calls": () => Promise<typeof import("./host/src/main/calls.js")>;
28
+ readonly "@main/calls/app": () => Promise<typeof import("./host/src/main/calls/app.js")>;
29
+ readonly "@main/calls/audioeffect": () => Promise<typeof import("./host/src/main/calls/audioeffect.js")>;
30
+ readonly "@main/calls/browser": () => Promise<typeof import("./host/src/main/calls/browser.js")>;
31
+ readonly "@main/calls/desktop": () => Promise<typeof import("./host/src/main/calls/desktop.js")>;
32
+ readonly "@main/calls/desktoppet": () => Promise<typeof import("./host/src/main/calls/desktoppet.js")>;
33
+ readonly "@main/calls/download": () => Promise<typeof import("./host/src/main/calls/download.js")>;
34
+ readonly "@main/calls/index": () => Promise<typeof import("./host/src/main/calls/index.js")>;
35
+ readonly "@main/calls/musiclibrary": () => Promise<typeof import("./host/src/main/calls/musiclibrary.js")>;
36
+ readonly "@main/calls/network": () => Promise<typeof import("./host/src/main/calls/network.js")>;
37
+ readonly "@main/calls/os": () => Promise<typeof import("./host/src/main/calls/os.js")>;
38
+ readonly "@main/calls/player": () => Promise<typeof import("./host/src/main/calls/player.js")>;
39
+ readonly "@main/calls/process": () => Promise<typeof import("./host/src/main/calls/process.js")>;
40
+ readonly "@main/calls/rtc": () => Promise<typeof import("./host/src/main/calls/rtc.js")>;
41
+ readonly "@main/calls/storage": () => Promise<typeof import("./host/src/main/calls/storage.js")>;
42
+ readonly "@main/calls/trayicon": () => Promise<typeof import("./host/src/main/calls/trayicon.js")>;
43
+ readonly "@main/calls/update": () => Promise<typeof import("./host/src/main/calls/update.js")>;
44
+ readonly "@main/calls/winhelper": () => Promise<typeof import("./host/src/main/calls/winhelper.js")>;
45
+ readonly "@main/channel": () => Promise<typeof import("./host/src/main/channel.js")>;
46
+ readonly "@main/cookie": () => Promise<typeof import("./host/src/main/cookie.js")>;
47
+ readonly "@main/crypto": () => Promise<typeof import("./host/src/main/crypto.js")>;
48
+ readonly "@main/database": () => Promise<typeof import("./host/src/main/database.js")>;
49
+ readonly "@main/database/KeyvSqliteDriver": () => Promise<typeof import("./host/src/main/database/KeyvSqliteDriver.js")>;
50
+ readonly "@main/dawn": () => Promise<typeof import("./host/src/main/dawn.js")>;
51
+ readonly "@main/device": () => Promise<typeof import("./host/src/main/device.js")>;
52
+ readonly "@main/download": () => Promise<typeof import("./host/src/main/download.js")>;
53
+ readonly "@main/error": () => Promise<typeof import("./host/src/main/error.js")>;
54
+ readonly "@main/folders": () => Promise<typeof import("./host/src/main/folders.js")>;
55
+ readonly "@main/fonts": () => Promise<typeof import("./host/src/main/fonts.js")>;
56
+ readonly "@main/gui": () => Promise<typeof import("./host/src/main/gui.js")>;
57
+ readonly "@main/id3": () => Promise<typeof import("./host/src/main/id3.js")>;
58
+ readonly "@main/lifecycle": () => Promise<typeof import("./host/src/main/lifecycle.js")>;
59
+ readonly "@main/logger": () => Promise<typeof import("./host/src/main/logger.js")>;
60
+ readonly "@main/lyrics": () => Promise<typeof import("./host/src/main/lyrics.js")>;
61
+ readonly "@main/lyrics/dbus": () => Promise<typeof import("./host/src/main/lyrics/dbus.js")>;
62
+ readonly "@main/lyrics/DbusLyricsService": () => Promise<typeof import("./host/src/main/lyrics/DbusLyricsService.js")>;
63
+ readonly "@main/lyrics/LyricsDispatcher": () => Promise<typeof import("./host/src/main/lyrics/LyricsDispatcher.js")>;
64
+ readonly "@main/lyrics/parse": () => Promise<typeof import("./host/src/main/lyrics/parse.js")>;
65
+ readonly "@main/mediaSession": () => Promise<typeof import("./host/src/main/mediaSession.js")>;
66
+ readonly "@main/menu/anchor": () => Promise<typeof import("./host/src/main/menu/anchor.js")>;
67
+ readonly "@main/menu/AppMenu": () => Promise<typeof import("./host/src/main/menu/AppMenu.js")>;
68
+ readonly "@main/menu/backend/DesktopWindowBackend": () => Promise<typeof import("./host/src/main/menu/backend/DesktopWindowBackend.js")>;
69
+ readonly "@main/menu/backend/MenuBackend": () => Promise<typeof import("./host/src/main/menu/backend/MenuBackend.js")>;
70
+ readonly "@main/menu/backend/WaylandLayerShellBackend": () => Promise<typeof import("./host/src/main/menu/backend/WaylandLayerShellBackend.js")>;
71
+ readonly "@main/menu/backend/WaylandOverlayBackend": () => Promise<typeof import("./host/src/main/menu/backend/WaylandOverlayBackend.js")>;
72
+ readonly "@main/menu/backend/WaylandPopupBackend": () => Promise<typeof import("./host/src/main/menu/backend/WaylandPopupBackend.js")>;
73
+ readonly "@main/menu/constants": () => Promise<typeof import("./host/src/main/menu/constants.js")>;
74
+ readonly "@main/menu/index": () => Promise<typeof import("./host/src/main/menu/index.js")>;
75
+ readonly "@main/menu/native-popup": () => Promise<typeof import("./host/src/main/menu/native-popup.js")>;
76
+ readonly "@main/menu/patch": () => Promise<typeof import("./host/src/main/menu/patch.js")>;
77
+ readonly "@main/menu/skin": () => Promise<typeof import("./host/src/main/menu/skin.js")>;
78
+ readonly "@main/menu/surface/BaseWindowMenuSurface": () => Promise<typeof import("./host/src/main/menu/surface/BaseWindowMenuSurface.js")>;
79
+ readonly "@main/menu/surface/CaptureLayerSurface": () => Promise<typeof import("./host/src/main/menu/surface/CaptureLayerSurface.js")>;
80
+ readonly "@main/menu/surface/MenuSurfacePath": () => Promise<typeof import("./host/src/main/menu/surface/MenuSurfacePath.js")>;
81
+ readonly "@main/menu/surface/SurfacePool": () => Promise<typeof import("./host/src/main/menu/surface/SurfacePool.js")>;
82
+ readonly "@main/menu/workaround": () => Promise<typeof import("./host/src/main/menu/workaround.js")>;
83
+ readonly "@main/ncae": () => Promise<typeof import("./host/src/main/ncae.js")>;
84
+ readonly "@main/network/handler": () => Promise<typeof import("./host/src/main/network/handler.js")>;
85
+ readonly "@main/network/interceptor": () => Promise<typeof import("./host/src/main/network/interceptor.js")>;
86
+ readonly "@main/network/interceptors/anonymous": () => Promise<typeof import("./host/src/main/network/interceptors/anonymous.js")>;
87
+ readonly "@main/network/pipeline": () => Promise<typeof import("./host/src/main/network/pipeline.js")>;
88
+ readonly "@main/network/types": () => Promise<typeof import("./host/src/main/network/types.js")>;
89
+ readonly "@main/orpheus": () => Promise<typeof import("./host/src/main/orpheus.js")>;
90
+ readonly "@main/pack": () => Promise<typeof import("./host/src/main/pack.js")>;
91
+ readonly "@main/packs/Pack": () => Promise<typeof import("./host/src/main/packs/Pack.js")>;
92
+ readonly "@main/packs/SkinPack": () => Promise<typeof import("./host/src/main/packs/SkinPack.js")>;
93
+ readonly "@main/packs/WebPack": () => Promise<typeof import("./host/src/main/packs/WebPack.js")>;
94
+ readonly "@main/playback/adapters/MediaSessionAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/MediaSessionAdapter.js")>;
95
+ readonly "@main/playback/adapters/MprisAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/MprisAdapter.js")>;
96
+ readonly "@main/playback/adapters/NowPlayingAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/NowPlayingAdapter.js")>;
97
+ readonly "@main/playback/adapters/SmtcAdapter": () => Promise<typeof import("./host/src/main/playback/adapters/SmtcAdapter.js")>;
98
+ readonly "@main/playback/artwork": () => Promise<typeof import("./host/src/main/playback/artwork.js")>;
99
+ readonly "@main/playback/modes": () => Promise<typeof import("./host/src/main/playback/modes.js")>;
100
+ readonly "@main/playback/PlaybackController": () => Promise<typeof import("./host/src/main/playback/PlaybackController.js")>;
101
+ readonly "@main/playback/PlayerCommandRouter": () => Promise<typeof import("./host/src/main/playback/PlayerCommandRouter.js")>;
102
+ readonly "@main/playback/types": () => Promise<typeof import("./host/src/main/playback/types.js")>;
103
+ readonly "@main/protocol": () => Promise<typeof import("./host/src/main/protocol.js")>;
104
+ readonly "@main/request": () => Promise<typeof import("./host/src/main/request.js")>;
105
+ readonly "@main/settings": () => Promise<typeof import("./host/src/main/settings.js")>;
106
+ readonly "@main/shortcuts": () => Promise<typeof import("./host/src/main/shortcuts.js")>;
107
+ readonly "@main/shutdown": () => Promise<typeof import("./host/src/main/shutdown.js")>;
108
+ readonly "@main/skin/color": () => Promise<typeof import("./host/src/main/skin/color.js")>;
109
+ readonly "@main/skin/dui": () => Promise<typeof import("./host/src/main/skin/dui.js")>;
110
+ readonly "@main/tray": () => Promise<typeof import("./host/src/main/tray.js")>;
111
+ readonly "@main/update": () => Promise<typeof import("./host/src/main/update.js")>;
112
+ readonly "@main/util/color": () => Promise<typeof import("./host/src/main/util/color.js")>;
113
+ readonly "@main/util/display": () => Promise<typeof import("./host/src/main/util/display.js")>;
114
+ readonly "@main/util/env": () => Promise<typeof import("./host/src/main/util/env.js")>;
115
+ readonly "@main/util/fs": () => Promise<typeof import("./host/src/main/util/fs.js")>;
116
+ readonly "@main/util/image": () => Promise<typeof import("./host/src/main/util/image.js")>;
117
+ readonly "@main/util/musicFile": () => Promise<typeof import("./host/src/main/util/musicFile.js")>;
118
+ readonly "@main/util/musicPicture": () => Promise<typeof import("./host/src/main/util/musicPicture.js")>;
119
+ readonly "@main/util/path": () => Promise<typeof import("./host/src/main/util/path.js")>;
120
+ readonly "@main/util/send": () => Promise<typeof import("./host/src/main/util/send.js")>;
121
+ readonly "@main/util/url": () => Promise<typeof import("./host/src/main/util/url.js")>;
122
+ readonly "@main/util/window": () => Promise<typeof import("./host/src/main/util/window.js")>;
123
+ readonly "@main/window": () => Promise<typeof import("./host/src/main/window.js")>;
124
+ readonly "@main/windows/color-picker": () => Promise<typeof import("./host/src/main/windows/color-picker.js")>;
125
+ readonly "@main/windows/desktop-lyrics": () => Promise<typeof import("./host/src/main/windows/desktop-lyrics.js")>;
126
+ readonly "@main/windows/desktop-pet": () => Promise<typeof import("./host/src/main/windows/desktop-pet.js")>;
127
+ readonly "@main/windows/main": () => Promise<typeof import("./host/src/main/windows/main.js")>;
128
+ readonly "@main/windows/manage": () => Promise<typeof import("./host/src/main/windows/manage.js")>;
129
+ readonly "@main/windows/mini-player": () => Promise<typeof import("./host/src/main/windows/mini-player.js")>;
130
+ readonly "@main/windows/music-desktop": () => Promise<typeof import("./host/src/main/windows/music-desktop.js")>;
131
+ readonly "@main/windows/package-download": () => Promise<typeof import("./host/src/main/windows/package-download.js")>;
132
+ readonly "@main/windows/plugin-manager": () => Promise<typeof import("./host/src/main/windows/plugin-manager.js")>;
133
+ readonly "@main/windows/plugin-manager-events": () => Promise<typeof import("./host/src/main/windows/plugin-manager-events.js")>;
134
+ readonly "@main/xeapi": () => Promise<typeof import("./host/src/main/xeapi.js")>;
135
+ readonly "@shared/bridge/constants": () => Promise<typeof import("./host/src/shared/bridge/constants.js")>;
136
+ readonly "@shared/bridge/endpoint": () => Promise<typeof import("./host/src/shared/bridge/endpoint.js")>;
137
+ readonly "@shared/bridge/hub": () => Promise<typeof import("./host/src/shared/bridge/hub.js")>;
138
+ readonly "@shared/bridge/protocol": () => Promise<typeof import("./host/src/shared/bridge/protocol.js")>;
139
+ readonly "@shared/bridge/routes": () => Promise<typeof import("./host/src/shared/bridge/routes.js")>;
140
+ readonly "@shared/CallDispatcher": () => Promise<typeof import("./host/src/shared/CallDispatcher.js")>;
141
+ readonly "@shared/contracts/color-picker-api": () => Promise<typeof import("./host/src/shared/contracts/color-picker-api.js")>;
142
+ readonly "@shared/contracts/input-region-api": () => Promise<typeof import("./host/src/shared/contracts/input-region-api.js")>;
143
+ readonly "@shared/contracts/lyrics-api": () => Promise<typeof import("./host/src/shared/contracts/lyrics-api.js")>;
144
+ readonly "@shared/contracts/mini-player-api": () => Promise<typeof import("./host/src/shared/contracts/mini-player-api.js")>;
145
+ readonly "@shared/contracts/plugin-manager-api": () => Promise<typeof import("./host/src/shared/contracts/plugin-manager-api.js")>;
146
+ readonly "@shared/contracts/settings-api": () => Promise<typeof import("./host/src/shared/contracts/settings-api.js")>;
147
+ readonly "@shared/playbackMode": () => Promise<typeof import("./host/src/shared/playbackMode.js")>;
148
+ readonly "@shared/plugin/cache-bust": () => Promise<typeof import("./host/src/shared/plugin/cache-bust.js")>;
149
+ readonly "@shared/plugin/lifecycle": () => Promise<typeof import("./host/src/shared/plugin/lifecycle.js")>;
150
+ readonly "@shared/plugin/registry": () => Promise<typeof import("./host/src/shared/plugin/registry.js")>;
151
+ readonly "@shared/settings/defaults": () => Promise<typeof import("./host/src/shared/settings/defaults.js")>;
152
+ readonly "@shared/settings/index": () => Promise<typeof import("./host/src/shared/settings/index.js")>;
153
+ readonly "@shared/settings/keys": () => Promise<typeof import("./host/src/shared/settings/keys.js")>;
154
+ readonly "@shared/types/desktop-lyrics": () => Promise<typeof import("./host/src/shared/types/desktop-lyrics.js")>;
155
+ readonly "@shared/types/lyrics": () => Promise<typeof import("./host/src/shared/types/lyrics.js")>;
156
+ readonly "@shared/types/menu": () => Promise<typeof import("./host/src/shared/types/menu.js")>;
157
+ readonly "@shared/types/mini-player": () => Promise<typeof import("./host/src/shared/types/mini-player.js")>;
158
+ readonly "@shared/types/ncae": () => Promise<typeof import("./host/src/shared/types/ncae.js")>;
159
+ readonly "@shared/types/package-download": () => Promise<typeof import("./host/src/shared/types/package-download.js")>;
160
+ readonly "@shared/types/settings": () => Promise<typeof import("./host/src/shared/types/settings.js")>;
161
+ readonly "@shared/util": () => Promise<typeof import("./host/src/shared/util.js")>;
143
162
  };
144
163
 
145
164
  export type RegistryLoad = typeof load;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@open-orpheus/plugin-api",
3
- "version": "0.0.0",
4
- "description": "Type surface for Open Orpheus plugins (generated from the host).",
3
+ "version": "0.21.0",
4
+ "description": "Type and runtime API for Open Orpheus plugins (generated from the host).",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -29,6 +29,20 @@
29
29
  },
30
30
  "./preload": {
31
31
  "types": "./dist/preload/index.d.ts"
32
+ },
33
+ "./plugin-manager": {
34
+ "types": "./dist/plugin-manager/index.d.ts"
35
+ },
36
+ "./configuration": {
37
+ "types": "./dist/configuration/index.d.ts"
38
+ },
39
+ "./*": {
40
+ "types": "./dist/*"
41
+ },
42
+ "./client": {
43
+ "types": "./dist/client/index.d.ts",
44
+ "import": "./dist/client/index.js",
45
+ "default": "./dist/client/index.js"
32
46
  }
33
47
  },
34
48
  "files": [
@@ -38,14 +52,13 @@
38
52
  "registry": "https://registry.npmjs.org/",
39
53
  "access": "public"
40
54
  },
41
- "scripts": {
42
- "build": "node scripts/build.ts"
43
- },
44
55
  "dependencies": {
45
56
  "@keyv/sqlite": "6.1.0",
46
57
  "@silvia-odwyer/photon-node": "^0.3.4",
47
- "@types/node": "^25.9.9",
48
- "cookie": "^2.0.1",
58
+ "@types/cookie": "^0.6.0",
59
+ "@types/node": "^25.9.12",
60
+ "@types/unzipper": "^0.10.11",
61
+ "cookie": "^2.0.2",
49
62
  "emittery": "^2.2.0",
50
63
  "got": "^16.2.0",
51
64
  "keyv": "6.1.0",
@@ -56,5 +69,8 @@
56
69
  },
57
70
  "peerDependencies": {
58
71
  "electron": ">=45"
72
+ },
73
+ "scripts": {
74
+ "build": "node scripts/build.ts"
59
75
  }
60
- }
76
+ }
@@ -1,18 +0,0 @@
1
- import type { PluginRegistry, Registry } from "../../shared/plugin/registry";
2
- /** Everything a plugin's preload-realm module is handed. */
3
- export interface PreloadPluginRuntime {
4
- /** The generated interface registry for the preload realm. */
5
- registry: Registry;
6
- /** The preload realm's plugin-contributed exports, keyed by plugin id. */
7
- plugins: PluginRegistry;
8
- }
9
- /**
10
- * The named exports a plugin's preload entry must provide.
11
- *
12
- * Preload entries are evaluated as CJS bundles; the plugin exposes the same
13
- * `activate`/`deactivate` lifecycle as the main realm.
14
- */
15
- export interface PreloadPluginModule {
16
- activate(runtime: PreloadPluginRuntime): void | Promise<void>;
17
- deactivate?(): void | Promise<void>;
18
- }