prismcast 1.9.0 → 1.10.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 (360) hide show
  1. package/dist/app.d.ts +1 -1
  2. package/dist/app.js +27 -9
  3. package/dist/app.js.map +1 -1
  4. package/dist/browser/cdp.js +7 -7
  5. package/dist/browser/cdp.js.map +1 -1
  6. package/dist/browser/channelSelection.d.ts +41 -11
  7. package/dist/browser/channelSelection.js +75 -24
  8. package/dist/browser/channelSelection.js.map +1 -1
  9. package/dist/browser/display.d.ts +1 -1
  10. package/dist/browser/index.d.ts +8 -8
  11. package/dist/browser/index.js +42 -43
  12. package/dist/browser/index.js.map +1 -1
  13. package/dist/browser/login.d.ts +2 -2
  14. package/dist/browser/login.js +1 -1
  15. package/dist/browser/manifestInterceptor.d.ts +77 -0
  16. package/dist/browser/manifestInterceptor.js +323 -0
  17. package/dist/browser/manifestInterceptor.js.map +1 -0
  18. package/dist/browser/precaching.js +4 -4
  19. package/dist/browser/tuning/comcastPolymer.d.ts +1 -1
  20. package/dist/browser/tuning/cox.d.ts +1 -1
  21. package/dist/browser/tuning/directv.d.ts +1 -1
  22. package/dist/browser/tuning/directv.js +61 -62
  23. package/dist/browser/tuning/directv.js.map +1 -1
  24. package/dist/browser/tuning/fox.d.ts +1 -1
  25. package/dist/browser/tuning/fox.js +171 -14
  26. package/dist/browser/tuning/fox.js.map +1 -1
  27. package/dist/browser/tuning/hbo.d.ts +1 -1
  28. package/dist/browser/tuning/hbo.js +6 -6
  29. package/dist/browser/tuning/hbo.js.map +1 -1
  30. package/dist/browser/tuning/hulu.d.ts +1 -1
  31. package/dist/browser/tuning/hulu.js +117 -110
  32. package/dist/browser/tuning/hulu.js.map +1 -1
  33. package/dist/browser/tuning/shared.d.ts +3 -3
  34. package/dist/browser/tuning/shared.js +5 -5
  35. package/dist/browser/tuning/sling.d.ts +1 -1
  36. package/dist/browser/tuning/sling.js +28 -28
  37. package/dist/browser/tuning/sling.js.map +1 -1
  38. package/dist/browser/tuning/spectrum.d.ts +1 -1
  39. package/dist/browser/tuning/spectrum.js +21 -22
  40. package/dist/browser/tuning/spectrum.js.map +1 -1
  41. package/dist/browser/tuning/thumbnailRow.d.ts +1 -1
  42. package/dist/browser/tuning/thumbnailRow.js +1 -1
  43. package/dist/browser/tuning/tileClick.d.ts +1 -1
  44. package/dist/browser/tuning/tileClick.js +5 -5
  45. package/dist/browser/tuning/xfinity.d.ts +1 -1
  46. package/dist/browser/tuning/youtubeTv.d.ts +1 -1
  47. package/dist/browser/tuning/youtubeTv.js +17 -18
  48. package/dist/browser/tuning/youtubeTv.js.map +1 -1
  49. package/dist/browser/video.d.ts +20 -6
  50. package/dist/browser/video.js +30 -38
  51. package/dist/browser/video.js.map +1 -1
  52. package/dist/channels/index.d.ts +1 -2
  53. package/dist/channels/index.js +73 -40
  54. package/dist/channels/index.js.map +1 -1
  55. package/dist/config/channelForm.d.ts +58 -0
  56. package/dist/config/channelForm.js +129 -0
  57. package/dist/config/channelForm.js.map +1 -0
  58. package/dist/config/consistencyProbe.d.ts +7 -0
  59. package/dist/config/consistencyProbe.js +143 -0
  60. package/dist/config/consistencyProbe.js.map +1 -0
  61. package/dist/config/health.d.ts +4 -3
  62. package/dist/config/health.js +75 -62
  63. package/dist/config/health.js.map +1 -1
  64. package/dist/config/index.d.ts +1 -1
  65. package/dist/config/index.js +19 -12
  66. package/dist/config/index.js.map +1 -1
  67. package/dist/config/paths.d.ts +9 -3
  68. package/dist/config/paths.js +12 -4
  69. package/dist/config/paths.js.map +1 -1
  70. package/dist/config/persistence.context.d.ts +8 -0
  71. package/dist/config/persistence.context.js +30 -0
  72. package/dist/config/persistence.context.js.map +1 -0
  73. package/dist/config/persistence.d.ts +110 -12
  74. package/dist/config/persistence.js +351 -32
  75. package/dist/config/persistence.js.map +1 -1
  76. package/dist/config/presets.d.ts +14 -4
  77. package/dist/config/presets.js +84 -75
  78. package/dist/config/presets.js.map +1 -1
  79. package/dist/config/profiles.d.ts +2 -2
  80. package/dist/config/profiles.js +7 -9
  81. package/dist/config/profiles.js.map +1 -1
  82. package/dist/config/servicePacks.d.ts +2 -2
  83. package/dist/config/servicePacks.js +28 -28
  84. package/dist/config/servicePacks.js.map +1 -1
  85. package/dist/config/services.d.ts +62 -36
  86. package/dist/config/services.js +150 -136
  87. package/dist/config/services.js.map +1 -1
  88. package/dist/config/sites.d.ts +3 -3
  89. package/dist/config/sites.js +16 -16
  90. package/dist/config/sites.js.map +1 -1
  91. package/dist/config/userChannels.d.ts +500 -41
  92. package/dist/config/userChannels.js +1201 -312
  93. package/dist/config/userChannels.js.map +1 -1
  94. package/dist/config/userConfig.d.ts +103 -10
  95. package/dist/config/userConfig.js +277 -117
  96. package/dist/config/userConfig.js.map +1 -1
  97. package/dist/config/userProfiles.d.ts +4 -2
  98. package/dist/config/userProfiles.js +72 -26
  99. package/dist/config/userProfiles.js.map +1 -1
  100. package/dist/hdhr/channelMap.js +8 -11
  101. package/dist/hdhr/channelMap.js.map +1 -1
  102. package/dist/hdhr/deviceId.js +10 -9
  103. package/dist/hdhr/deviceId.js.map +1 -1
  104. package/dist/hdhr/discover.js +4 -5
  105. package/dist/hdhr/discover.js.map +1 -1
  106. package/dist/hdhr/index.js +6 -10
  107. package/dist/hdhr/index.js.map +1 -1
  108. package/dist/index.js +12 -12
  109. package/dist/index.js.map +1 -1
  110. package/dist/native/codecInference.d.ts +44 -0
  111. package/dist/native/codecInference.js +327 -0
  112. package/dist/native/codecInference.js.map +1 -0
  113. package/dist/native/decrypt.d.ts +1 -1
  114. package/dist/native/index.d.ts +5 -5
  115. package/dist/native/index.js +42 -64
  116. package/dist/native/index.js.map +1 -1
  117. package/dist/native/probe.d.ts +27 -9
  118. package/dist/native/probe.js +158 -67
  119. package/dist/native/probe.js.map +1 -1
  120. package/dist/native/proxy.d.ts +4 -2
  121. package/dist/native/proxy.js +52 -49
  122. package/dist/native/proxy.js.map +1 -1
  123. package/dist/native/tokenExpiry.d.ts +22 -0
  124. package/dist/native/tokenExpiry.js +153 -0
  125. package/dist/native/tokenExpiry.js.map +1 -0
  126. package/dist/routes/auth.js +6 -10
  127. package/dist/routes/auth.js.map +1 -1
  128. package/dist/routes/components.js +2 -2
  129. package/dist/routes/components.js.map +1 -1
  130. package/dist/routes/config/channels/endpoints/browse.d.ts +6 -0
  131. package/dist/routes/config/channels/endpoints/browse.js +195 -0
  132. package/dist/routes/config/channels/endpoints/browse.js.map +1 -0
  133. package/dist/routes/config/channels/endpoints/bulk.d.ts +6 -0
  134. package/dist/routes/config/channels/endpoints/bulk.js +128 -0
  135. package/dist/routes/config/channels/endpoints/bulk.js.map +1 -0
  136. package/dist/routes/config/channels/endpoints/crud.d.ts +6 -0
  137. package/dist/routes/config/channels/endpoints/crud.js +504 -0
  138. package/dist/routes/config/channels/endpoints/crud.js.map +1 -0
  139. package/dist/routes/config/channels/endpoints/importExport.d.ts +6 -0
  140. package/dist/routes/config/channels/endpoints/importExport.js +131 -0
  141. package/dist/routes/config/channels/endpoints/importExport.js.map +1 -0
  142. package/dist/routes/config/channels/endpoints/predefined.d.ts +6 -0
  143. package/dist/routes/config/channels/endpoints/predefined.js +78 -0
  144. package/dist/routes/config/channels/endpoints/predefined.js.map +1 -0
  145. package/dist/routes/config/channels/endpoints/prefs.d.ts +6 -0
  146. package/dist/routes/config/channels/endpoints/prefs.js +58 -0
  147. package/dist/routes/config/channels/endpoints/prefs.js.map +1 -0
  148. package/dist/routes/config/channels/endpoints/service.d.ts +6 -0
  149. package/dist/routes/config/channels/endpoints/service.js +149 -0
  150. package/dist/routes/config/channels/endpoints/service.js.map +1 -0
  151. package/dist/routes/config/channels/endpoints/tags.d.ts +6 -0
  152. package/dist/routes/config/channels/endpoints/tags.js +185 -0
  153. package/dist/routes/config/channels/endpoints/tags.js.map +1 -0
  154. package/dist/routes/config/channels/http/handler.d.ts +10 -0
  155. package/dist/routes/config/channels/http/handler.js +20 -0
  156. package/dist/routes/config/channels/http/handler.js.map +1 -0
  157. package/dist/routes/config/channels/http/playlistHint.d.ts +25 -0
  158. package/dist/routes/config/channels/http/playlistHint.js +40 -0
  159. package/dist/routes/config/channels/http/playlistHint.js.map +1 -0
  160. package/dist/routes/config/channels/http/serviceWarning.d.ts +10 -0
  161. package/dist/routes/config/channels/http/serviceWarning.js +28 -0
  162. package/dist/routes/config/channels/http/serviceWarning.js.map +1 -0
  163. package/dist/routes/config/channels/index.d.ts +3 -3
  164. package/dist/routes/config/channels/index.js +1 -1
  165. package/dist/routes/config/channels/index.js.map +1 -1
  166. package/dist/routes/config/channels/{routes.d.ts → setup.d.ts} +1 -1
  167. package/dist/routes/config/channels/setup.js +23 -0
  168. package/dist/routes/config/channels/setup.js.map +1 -0
  169. package/dist/routes/config/channels/table.d.ts +9 -9
  170. package/dist/routes/config/channels/table.js +124 -76
  171. package/dist/routes/config/channels/table.js.map +1 -1
  172. package/dist/routes/config/http/envelope.d.ts +111 -0
  173. package/dist/routes/config/http/envelope.js +103 -0
  174. package/dist/routes/config/http/envelope.js.map +1 -0
  175. package/dist/routes/config/index.d.ts +9 -9
  176. package/dist/routes/config/index.js +2 -2
  177. package/dist/routes/config/index.js.map +1 -1
  178. package/dist/routes/config/services.js +69 -68
  179. package/dist/routes/config/services.js.map +1 -1
  180. package/dist/routes/config/settings.d.ts +1 -1
  181. package/dist/routes/config/settings.js +45 -38
  182. package/dist/routes/config/settings.js.map +1 -1
  183. package/dist/routes/debug.js +12 -11
  184. package/dist/routes/debug.js.map +1 -1
  185. package/dist/routes/icons.js +2 -2
  186. package/dist/routes/icons.js.map +1 -1
  187. package/dist/routes/logs.js +19 -30
  188. package/dist/routes/logs.js.map +1 -1
  189. package/dist/routes/mpegts.js +1 -1
  190. package/dist/routes/playlist.d.ts +1 -1
  191. package/dist/routes/playlist.js +37 -26
  192. package/dist/routes/playlist.js.map +1 -1
  193. package/dist/routes/root/content.js +27 -6
  194. package/dist/routes/root/content.js.map +1 -1
  195. package/dist/routes/root/index.js +2 -5
  196. package/dist/routes/root/index.js.map +1 -1
  197. package/dist/routes/root/scripts/channels.js +16 -16
  198. package/dist/routes/root/scripts/channels.js.map +1 -1
  199. package/dist/routes/root/scripts/config.js +59 -59
  200. package/dist/routes/root/scripts/config.js.map +1 -1
  201. package/dist/routes/root/scripts/index.d.ts +4 -4
  202. package/dist/routes/root/scripts/shared.js +24 -10
  203. package/dist/routes/root/scripts/shared.js.map +1 -1
  204. package/dist/routes/root/scripts/status.d.ts +4 -0
  205. package/dist/routes/root/scripts/status.handlers.d.ts +182 -0
  206. package/dist/routes/root/scripts/status.handlers.js +713 -0
  207. package/dist/routes/root/scripts/status.handlers.js.map +1 -0
  208. package/dist/routes/root/scripts/status.js +86 -488
  209. package/dist/routes/root/scripts/status.js.map +1 -1
  210. package/dist/routes/root/styles.js +5 -5
  211. package/dist/routes/services.js +18 -15
  212. package/dist/routes/services.js.map +1 -1
  213. package/dist/routes/sse.d.ts +16 -0
  214. package/dist/routes/sse.js +29 -0
  215. package/dist/routes/sse.js.map +1 -0
  216. package/dist/routes/streams.js +10 -23
  217. package/dist/routes/streams.js.map +1 -1
  218. package/dist/routes/ui.d.ts +2 -2
  219. package/dist/routes/upgrade.js +6 -7
  220. package/dist/routes/upgrade.js.map +1 -1
  221. package/dist/service/commands.context.d.ts +6 -0
  222. package/dist/service/commands.context.js +47 -0
  223. package/dist/service/commands.context.js.map +1 -0
  224. package/dist/service/commands.d.ts +53 -8
  225. package/dist/service/commands.js +171 -188
  226. package/dist/service/commands.js.map +1 -1
  227. package/dist/service/generators.context.d.ts +6 -0
  228. package/dist/service/generators.context.js +45 -0
  229. package/dist/service/generators.context.js.map +1 -0
  230. package/dist/service/generators.d.ts +56 -16
  231. package/dist/service/generators.js +499 -383
  232. package/dist/service/generators.js.map +1 -1
  233. package/dist/service/index.d.ts +2 -2
  234. package/dist/streaming/clients.d.ts +2 -2
  235. package/dist/streaming/clients.js +2 -2
  236. package/dist/streaming/codec.d.ts +2 -2
  237. package/dist/streaming/codec.js +0 -1
  238. package/dist/streaming/codec.js.map +1 -1
  239. package/dist/streaming/fmp4Segmenter.d.ts +2 -2
  240. package/dist/streaming/fmp4Segmenter.js +12 -12
  241. package/dist/streaming/hls.d.ts +3 -3
  242. package/dist/streaming/hls.js +81 -70
  243. package/dist/streaming/hls.js.map +1 -1
  244. package/dist/streaming/hlsResume.d.ts +3 -3
  245. package/dist/streaming/hlsResume.js +5 -5
  246. package/dist/streaming/hlsSegments.d.ts +5 -2
  247. package/dist/streaming/hlsSegments.js +14 -9
  248. package/dist/streaming/hlsSegments.js.map +1 -1
  249. package/dist/streaming/monitor.d.ts +12 -12
  250. package/dist/streaming/monitor.js +80 -54
  251. package/dist/streaming/monitor.js.map +1 -1
  252. package/dist/streaming/mp4Parser.d.ts +34 -4
  253. package/dist/streaming/mp4Parser.js +111 -29
  254. package/dist/streaming/mp4Parser.js.map +1 -1
  255. package/dist/streaming/mpegts.d.ts +1 -1
  256. package/dist/streaming/mpegts.js +13 -10
  257. package/dist/streaming/mpegts.js.map +1 -1
  258. package/dist/streaming/playlistBuilder.d.ts +1 -1
  259. package/dist/streaming/playlistBuilder.js +2 -2
  260. package/dist/streaming/preroll.d.ts +9 -9
  261. package/dist/streaming/preroll.js +39 -41
  262. package/dist/streaming/preroll.js.map +1 -1
  263. package/dist/streaming/pretune.js +4 -4
  264. package/dist/streaming/pretune.js.map +1 -1
  265. package/dist/streaming/recovery.d.ts +3 -3
  266. package/dist/streaming/recovery.js +4 -4
  267. package/dist/streaming/registry.d.ts +6 -6
  268. package/dist/streaming/setup.d.ts +9 -8
  269. package/dist/streaming/setup.js +97 -49
  270. package/dist/streaming/setup.js.map +1 -1
  271. package/dist/streaming/showInfo.d.ts +9 -3
  272. package/dist/streaming/showInfo.js +26 -18
  273. package/dist/streaming/showInfo.js.map +1 -1
  274. package/dist/streaming/statusEmitter.d.ts +4 -4
  275. package/dist/streaming/statusEmitter.js +2 -2
  276. package/dist/types/channels.d.ts +133 -34
  277. package/dist/types/channels.js +39 -1
  278. package/dist/types/channels.js.map +1 -1
  279. package/dist/types/config.d.ts +20 -1
  280. package/dist/types/index.d.ts +9 -8
  281. package/dist/types/index.js +1 -0
  282. package/dist/types/index.js.map +1 -1
  283. package/dist/types/profiles.d.ts +5 -4
  284. package/dist/types/selection.d.ts +48 -4
  285. package/dist/types/streaming.d.ts +1 -1
  286. package/dist/upgrade/commands.context.d.ts +6 -0
  287. package/dist/upgrade/commands.context.js +29 -0
  288. package/dist/upgrade/commands.context.js.map +1 -0
  289. package/dist/upgrade/commands.d.ts +29 -2
  290. package/dist/upgrade/commands.js +87 -134
  291. package/dist/upgrade/commands.js.map +1 -1
  292. package/dist/upgrade/detection.context.d.ts +6 -0
  293. package/dist/upgrade/detection.context.js +24 -0
  294. package/dist/upgrade/detection.context.js.map +1 -0
  295. package/dist/upgrade/detection.d.ts +140 -10
  296. package/dist/upgrade/detection.js +153 -66
  297. package/dist/upgrade/detection.js.map +1 -1
  298. package/dist/upgrade/index.d.ts +2 -2
  299. package/dist/utils/chromeFetch.d.ts +1 -1
  300. package/dist/utils/chromeFetch.js +1 -1
  301. package/dist/utils/clock.d.ts +14 -0
  302. package/dist/utils/clock.js +28 -0
  303. package/dist/utils/clock.js.map +1 -0
  304. package/dist/utils/debugFilter.d.ts +1 -1
  305. package/dist/utils/debugFilter.js +6 -4
  306. package/dist/utils/debugFilter.js.map +1 -1
  307. package/dist/utils/delay.d.ts +2 -3
  308. package/dist/utils/delay.js +10 -16
  309. package/dist/utils/delay.js.map +1 -1
  310. package/dist/utils/evaluate.js +12 -14
  311. package/dist/utils/evaluate.js.map +1 -1
  312. package/dist/utils/ffmpeg.context.d.ts +6 -0
  313. package/dist/utils/ffmpeg.context.js +31 -0
  314. package/dist/utils/ffmpeg.context.js.map +1 -0
  315. package/dist/utils/ffmpeg.d.ts +85 -29
  316. package/dist/utils/ffmpeg.js +126 -129
  317. package/dist/utils/ffmpeg.js.map +1 -1
  318. package/dist/utils/fileLogger.d.ts +18 -2
  319. package/dist/utils/fileLogger.js +58 -30
  320. package/dist/utils/fileLogger.js.map +1 -1
  321. package/dist/utils/format.d.ts +1 -1
  322. package/dist/utils/format.js +2 -2
  323. package/dist/utils/format.js.map +1 -1
  324. package/dist/utils/html.js +1 -3
  325. package/dist/utils/html.js.map +1 -1
  326. package/dist/utils/index.d.ts +21 -20
  327. package/dist/utils/index.js +1 -0
  328. package/dist/utils/index.js.map +1 -1
  329. package/dist/utils/logger.js +16 -20
  330. package/dist/utils/logger.js.map +1 -1
  331. package/dist/utils/m3u.d.ts +18 -3
  332. package/dist/utils/m3u.js +28 -14
  333. package/dist/utils/m3u.js.map +1 -1
  334. package/dist/utils/memo.d.ts +19 -0
  335. package/dist/utils/memo.js +53 -0
  336. package/dist/utils/memo.js.map +1 -0
  337. package/dist/utils/morganStream.js +2 -2
  338. package/dist/utils/morganStream.js.map +1 -1
  339. package/dist/utils/pid.d.ts +2 -2
  340. package/dist/utils/pid.js +2 -2
  341. package/dist/utils/platform.d.ts +1 -1
  342. package/dist/utils/platform.js +3 -3
  343. package/dist/utils/platform.js.map +1 -1
  344. package/dist/utils/retry.d.ts +2 -0
  345. package/dist/utils/retry.js +9 -7
  346. package/dist/utils/retry.js.map +1 -1
  347. package/dist/utils/sanitize.d.ts +2 -2
  348. package/dist/utils/sanitize.js +4 -4
  349. package/dist/utils/timing.d.ts +6 -3
  350. package/dist/utils/timing.js +10 -6
  351. package/dist/utils/timing.js.map +1 -1
  352. package/dist/utils/version.d.ts +3 -2
  353. package/dist/utils/version.js +14 -27
  354. package/dist/utils/version.js.map +1 -1
  355. package/package.json +13 -7
  356. package/dist/native/intercept.d.ts +0 -35
  357. package/dist/native/intercept.js +0 -181
  358. package/dist/native/intercept.js.map +0 -1
  359. package/dist/routes/config/channels/routes.js +0 -1505
  360. package/dist/routes/config/channels/routes.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"showInfo.js","sourceRoot":"","sources":["../../src/streaming/showInfo.ts"],"names":[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CAAC,CAAC;QAE/C,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC3B,CAAC;IAAC,MAAM,CAAC;QAEP,OAAO,GAAG,CAAC;IACb,CAAC;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { HealthEvent, HealthSnapshot } from "../config/health.js";
2
- import type { Nullable, StreamingMode } from "../types/index.js";
3
- import type { ClientTypeCount } from "./clients.js";
1
+ import type { HealthEvent, HealthSnapshot } from "../config/health.ts";
2
+ import type { Nullable, StreamingMode } from "../types/index.ts";
3
+ import type { ClientTypeCount } from "./clients.ts";
4
4
  /**
5
5
  * Health classification for a stream based on its current state.
6
6
  */
@@ -127,7 +127,7 @@ export declare function getStreamStatus(streamId: number): StreamStatus | undefi
127
127
  */
128
128
  export declare function removeStreamStatus(streamId: number): void;
129
129
  /**
130
- * Emits a channel table update event. The payload is a partial patch — any combination of rows, counts, scopeCounts, and logos. SSE clients that have the
130
+ * Emits a channel table update event. The payload is a partial patch - any combination of rows, counts, scopeCounts, and logos. SSE clients that have the
131
131
  * channels tab open apply the patch via channelTable.applyPatch. Used for server-initiated updates like logo population that have no associated client request.
132
132
  * @param patch - The partial channel table patch to emit.
133
133
  */
@@ -83,7 +83,7 @@ export function emitStreamHealthChanged(status) {
83
83
  * @param status - The updated system status.
84
84
  */
85
85
  export function emitSystemStatusChanged(status) {
86
- // Only emit if something meaningful changed. The optional chain on the second condition is defensive — TypeScript narrows cachedSystemStatus as non-null after
86
+ // Only emit if something meaningful changed. The optional chain on the second condition is defensive - TypeScript narrows cachedSystemStatus as non-null after
87
87
  // the first comparison, but at runtime the first condition can be truthy with cachedSystemStatus === null (undefined !== true).
88
88
  if ((cachedSystemStatus?.browser.connected !== status.browser.connected) ||
89
89
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
@@ -131,7 +131,7 @@ export function removeStreamStatus(streamId) {
131
131
  streamStatuses.delete(streamId);
132
132
  }
133
133
  /**
134
- * Emits a channel table update event. The payload is a partial patch — any combination of rows, counts, scopeCounts, and logos. SSE clients that have the
134
+ * Emits a channel table update event. The payload is a partial patch - any combination of rows, counts, scopeCounts, and logos. SSE clients that have the
135
135
  * channels tab open apply the patch via channelTable.applyPatch. Used for server-initiated updates like logo population that have no associated client request.
136
136
  * @param patch - The partial channel table patch to emit.
137
137
  */
@@ -1,70 +1,174 @@
1
- import type { Nullable } from "./shared.js";
1
+ import type { Nullable } from "./shared.ts";
2
2
  /**
3
- * Nested channel definition separating identity from service affiliation. The authoring format for predefined channels in channels/index.ts. The flattener
4
- * compiles these into flat Channel entries keyed as "{canonical}" (for the canonical service) and "{canonical}-{slug}" (for each additional service).
3
+ * Identity fields - properties of the channel itself, independent of any specific service. These inherit from canonical to variant during resolution. A user
4
+ * may override identity fields on a canonical entry (renaming, retagging, custom logo, etc.); the override applies to the canonical and propagates to all
5
+ * variants through resolution.
5
6
  */
6
- export interface ChannelDefinition {
7
+ export interface ChannelIdentity {
7
8
  channelNumber?: number;
8
- name: string;
9
+ guideTitle?: string;
10
+ hdhrEnabled?: boolean;
11
+ logoUrl?: string;
12
+ name?: string;
9
13
  pacificStationId?: string;
10
- services: Record<string, ServiceVariant>;
11
14
  stationId?: string;
12
15
  tags?: string[];
13
16
  tvgShift?: number;
14
17
  }
15
18
  /**
16
- * A single service's streaming configuration within a ChannelDefinition. Each service variant specifies how to reach the channel on that service's platform.
17
- * Optional fields override the parent ChannelDefinition's values when this variant is the active service.
19
+ * Service binding fields - how to reach the channel on a particular service's platform. These do NOT inherit from canonical to variant, because each service
20
+ * has its own URL, its own selector vocabulary, its own player DOM hooks. A variant must declare its own binding fields (or have them populated by discovery);
21
+ * the canonical service's binding is meaningful only for the canonical service.
18
22
  */
19
- export interface ServiceVariant {
20
- channelNumber?: number;
23
+ export interface ChannelServiceBinding {
21
24
  channelSelector?: string;
22
25
  dismissSelector?: string;
23
26
  profile?: string;
24
- service?: string;
25
27
  scrollSelector?: string;
26
28
  scrollTarget?: string;
27
29
  scrollToBottom?: boolean;
30
+ service?: string;
28
31
  url: string;
29
32
  }
30
33
  /**
31
- * Channel definition mapping a short name to a streaming URL with optional configuration overrides.
34
+ * Canonical or standalone channel entry. Carries identity (the "what") plus the canonical service's binding (the "how to reach it on this service"). The
35
+ * canonicalKey field is structurally absent (typed as never) so that the discriminated union below distinguishes canonicals from variants by shape: a value
36
+ * with a string canonicalKey is a VariantChannel, anything else is a CanonicalChannel.
37
+ *
38
+ * Predefined canonicals are produced by the flattener; standalone user channels (no predefined parent) take this same shape.
39
+ */
40
+ export interface CanonicalChannel extends ChannelIdentity, ChannelServiceBinding {
41
+ canonicalKey?: never;
42
+ }
43
+ /**
44
+ * Variant channel entry. Carries the binding (tuning) for one non-canonical service, plus a canonicalKey reference to its parent. Variants are pure tuning
45
+ * data: how to reach the channel via this service. Identity (the channel's name, station ID, channel number, hdhrEnabled, tags, etc.) lives on the canonical
46
+ * entry alone and inherits to variants at resolution time. Per-affiliate identity (e.g., a local Chicago Fox affiliate that needs its own station ID) is
47
+ * modeled as a separate canonical channel rather than as a variant carrying override identity.
48
+ *
49
+ * Enforcement layers:
50
+ *
51
+ * 1. Type system (this declaration): VariantChannel extends only ChannelServiceBinding. The type structurally refuses to admit identity fields on
52
+ * variants in code; identity always inherits from the canonical at resolution time.
53
+ * 2. Catalog source (ServiceVariant in this file): carries binding fields only. The catalog flattener cannot produce identity-bearing variants.
54
+ * 3. Resolver (overlayVariantBinding in userChannels.ts): variant overlays apply CHANNEL_BINDING_KEYS only. Identity fields encountered in a variant entry
55
+ * (legacy data, hand-edited files, future migrations) are silently dropped during resolution - canonical's identity always wins.
56
+ * 4. PUT handler routing (handlePredefinedEdit in routes/config/channels/endpoints/crud.ts): identity-field edits route to the canonical entry, binding-
57
+ * field edits route to the active variant entry. Users cannot create identity-on-variant state through the UI.
58
+ *
59
+ * The structural invariant the type DOES enforce is the discriminator: canonicalKey is required (and structurally absent on CanonicalChannel via never), so a
60
+ * value with a string canonicalKey is unambiguously a VariantChannel.
61
+ */
62
+ export interface VariantChannel extends ChannelServiceBinding {
63
+ canonicalKey: string;
64
+ }
65
+ /**
66
+ * The shape of a raw stored or predefined-catalog channel entry. Used by the flattener output (PREDEFINED_CHANNELS), by the on-disk channels.json store, and
67
+ * by internal flatten/resolve/normalize logic. Consumers of resolved data use ResolvedChannel instead.
68
+ */
69
+ export type Channel = CanonicalChannel | VariantChannel;
70
+ /**
71
+ * Map of channel keys to raw stored or predefined-catalog channel entries. Channel keys are URL-safe slugs (lowercase letters, numbers, hyphens) since they
72
+ * appear in stream request URLs.
73
+ */
74
+ export type ChannelMap = Record<string, Channel>;
75
+ /**
76
+ * Post-resolution channel shape. Variants have had their identity merged in from the canonical, so this carries both identity and binding plus an optional
77
+ * canonicalKey indicating the variant relationship (kept for downstream consumers that need to distinguish a resolved variant from a resolved canonical).
78
+ *
79
+ * This is what most of the codebase consumes - getMergedChannelMap, getChannelListing, the playlist generator, the HDHR lineup, route handlers, and so on
80
+ * all return or handle ResolvedChannel data.
32
81
  */
33
- export interface Channel {
82
+ export interface ResolvedChannel extends ChannelIdentity, ChannelServiceBinding {
34
83
  canonicalKey?: string;
84
+ }
85
+ /**
86
+ * Map of channel keys to resolved channels. The output type of getMergedChannelMap and the consumption type for the rest of the codebase.
87
+ */
88
+ export type ResolvedChannelMap = Record<string, ResolvedChannel>;
89
+ /**
90
+ * Single source of truth for which Channel fields are identity. Used by resolveVariant and normalizeChannelDeltas to extract the inheritable subset of a
91
+ * canonical, by the M3U/HDHR output layers to know which fields to read for guide metadata, and by the user-edit form's allowlist for predefined-channel
92
+ * overrides. Adding a field to ChannelIdentity without listing it here is a compile error via the exhaustiveness check below.
93
+ */
94
+ export declare const CHANNEL_IDENTITY_KEYS: readonly ["channelNumber", "guideTitle", "hdhrEnabled", "logoUrl", "name", "pacificStationId", "stationId", "tags", "tvgShift"];
95
+ /**
96
+ * Single source of truth for which Channel fields are service-bindings. Used by the variant builder, the resolver (which excludes these from canonical->variant
97
+ * inheritance), the user-edit form's binding-override allowlist, and any code that needs to distinguish "how to reach the channel" from "what the channel is."
98
+ * Adding a field to ChannelServiceBinding without listing it here is a compile error via the exhaustiveness check below.
99
+ */
100
+ export declare const CHANNEL_BINDING_KEYS: readonly ["channelSelector", "dismissSelector", "profile", "scrollSelector", "scrollTarget", "scrollToBottom", "service", "url"];
101
+ /**
102
+ * Identity fields that participate in the user-facing delta surface (form input, JSON import, channels.json hand edit). Subset of CHANNEL_IDENTITY_KEYS that
103
+ * excludes catalog-driven structural fields like pacificStationId, which trigger Pacific auto-generation in the flattener and are not user-overridable through
104
+ * any path. Symmetric to DELTA_ELIGIBLE_BINDING_KEYS - both arrays describe "delta-eligible," the universe of fields that may legitimately appear in a
105
+ * ChannelDelta or a stored override.
106
+ *
107
+ * The `satisfies` constraint guarantees every entry is in CHANNEL_IDENTITY_KEYS - this array can never include a field that isn't structurally identity.
108
+ */
109
+ export declare const DELTA_ELIGIBLE_IDENTITY_KEYS: readonly ["channelNumber", "guideTitle", "hdhrEnabled", "logoUrl", "name", "stationId", "tags", "tvgShift"];
110
+ /**
111
+ * Binding fields that participate in the user-facing delta surface. Subset of CHANNEL_BINDING_KEYS that excludes internal DOM-hook fields (dismissSelector,
112
+ * scrollSelector, scrollTarget, scrollToBottom, service) that are set by site profiles and ServiceVariant catalog entries, never by user input. Symmetric to
113
+ * DELTA_ELIGIBLE_IDENTITY_KEYS.
114
+ *
115
+ * The `satisfies` constraint guarantees every entry is in CHANNEL_BINDING_KEYS.
116
+ */
117
+ export declare const DELTA_ELIGIBLE_BINDING_KEYS: readonly ["channelSelector", "profile", "url"];
118
+ /**
119
+ * The universe of fields that may legitimately appear in a stored override (ChannelDelta) or be customized by the user. Used to type the customization
120
+ * accessor's Map keys, drive the runtime DELTA_ALLOWED_FIELDS Set in userChannels.ts, and underpin every "is this field user-overridable?" question across the
121
+ * codebase. Equal to DELTA_ELIGIBLE_IDENTITY_KEYS ∪ DELTA_ELIGIBLE_BINDING_KEYS.
122
+ */
123
+ export type CustomizableField = typeof DELTA_ELIGIBLE_IDENTITY_KEYS[number] | typeof DELTA_ELIGIBLE_BINDING_KEYS[number];
124
+ /**
125
+ * Nested channel definition - the AUTHORING shape for predefined channels in channels/index.ts. Already correctly partitioned: identity at the top level,
126
+ * services map below. The flattener compiles these into the runtime Channel discriminated union.
127
+ */
128
+ export interface ChannelDefinition {
35
129
  channelNumber?: number;
130
+ name: string;
131
+ pacificStationId?: string;
132
+ services: Record<string, ServiceVariant>;
133
+ stationId?: string;
134
+ tags?: string[];
135
+ tvgShift?: number;
136
+ }
137
+ /**
138
+ * A single service's streaming configuration within a ChannelDefinition. Each service variant specifies how to reach the channel on that service's platform -
139
+ * exclusively binding (tuning) data. Identity fields (channelNumber, hdhrEnabled, tags, etc.) are user preferences for the channel as a whole and live on the
140
+ * ChannelDefinition (canonical) rather than on individual service variants. Adding a field here that conceptually represents user preference rather than
141
+ * tuning is a category error.
142
+ */
143
+ export interface ServiceVariant {
36
144
  channelSelector?: string;
37
145
  dismissSelector?: string;
38
- guideTitle?: string;
39
- hdhrEnabled?: boolean;
40
- logoUrl?: string;
41
- name?: string;
42
- pacificStationId?: string;
43
146
  profile?: string;
44
147
  service?: string;
45
148
  scrollSelector?: string;
46
149
  scrollTarget?: string;
47
150
  scrollToBottom?: boolean;
48
- stationId?: string;
49
- tags?: string[];
50
- tvgShift?: number;
51
151
  url: string;
52
152
  }
53
153
  /**
54
- * Enriched channel entry returned by getChannelListing(). Wraps a Channel definition with source classification and enabled status metadata, providing the
154
+ * Enriched channel entry returned by getChannelListing(). Wraps a resolved Channel with source classification and enabled status metadata, providing the
55
155
  * single source of truth for merged channel data across the codebase.
56
156
  */
57
157
  export interface ChannelListingEntry {
58
158
  availableByService: boolean;
59
- channel: Channel;
159
+ channel: ResolvedChannel;
60
160
  enabled: boolean;
61
161
  key: string;
62
162
  source: "override" | "predefined" | "user";
63
163
  }
64
164
  /**
65
- * A delta override for a predefined channel. All fields are optional because only fields that differ from the predefined definition are stored. String and number
66
- * fields use Nullable<T> to distinguish "user cleared this field" (null) from "inherit from predefined" (absent). When a field is null, the predefined value is
67
- * removed in the resolved channel. When a field is absent, the predefined value is inherited.
165
+ * A delta override for a predefined channel. All fields are optional because only fields that differ from the predefined definition are stored. String and
166
+ * number fields use Nullable<T> to distinguish "user cleared this field" (null) from "inherit from predefined" (absent). When a field is null, the predefined
167
+ * value is removed in the resolved channel. When a field is absent, the predefined value is inherited.
168
+ *
169
+ * The set of fields here is the union of DELTA_ELIGIBLE_IDENTITY_KEYS (delta-eligible identity overrides) and DELTA_ELIGIBLE_BINDING_KEYS (delta-eligible
170
+ * binding overrides). Catalog-driven identity (pacificStationId) and internal binding (DOM hooks) are not user-overridable and intentionally absent. The
171
+ * _deltaCompleteness compile-time check (above) enforces that this interface and the two partition arrays stay in agreement.
68
172
  */
69
173
  export interface ChannelDelta {
70
174
  channelNumber?: Nullable<number>;
@@ -80,20 +184,15 @@ export interface ChannelDelta {
80
184
  url?: Nullable<string>;
81
185
  }
82
186
  /**
83
- * What gets stored in channels.json per key. For user-defined channels (no predefined equivalent), this is a full Channel with a required url. For overrides of
84
- * predefined channels, this can be a ChannelDelta with only the differing fields. Legacy full-override entries (from before the delta model) are also valid — they
85
- * are just deltas that happen to override every field.
187
+ * What gets stored in channels.json per key. For user-defined channels (no predefined equivalent), this is a full Channel with a required url. For overrides
188
+ * of predefined channels, this can be a ChannelDelta with only the differing fields. Legacy full-override entries (from before the delta model) are also valid -
189
+ * they are just deltas that happen to override every field.
86
190
  */
87
191
  export type StoredChannel = Channel | ChannelDelta;
88
192
  /**
89
193
  * Map of channel keys to stored channel data (full definitions or deltas). This is the raw type for the channels.json file contents.
90
194
  */
91
195
  export type StoredChannelMap = Record<string, StoredChannel>;
92
- /**
93
- * Map of channel short names to channel definitions. Channel names must be URL-safe strings (lowercase letters, numbers, hyphens) since they appear in stream
94
- * request URLs.
95
- */
96
- export type ChannelMap = Record<string, Channel>;
97
196
  /**
98
197
  * Represents a group of service variants for the same content. Used by the UI to display service selection dropdowns for multi-service channels.
99
198
  */
@@ -1,2 +1,40 @@
1
- export {};
1
+ /**
2
+ * Single source of truth for which Channel fields are identity. Used by resolveVariant and normalizeChannelDeltas to extract the inheritable subset of a
3
+ * canonical, by the M3U/HDHR output layers to know which fields to read for guide metadata, and by the user-edit form's allowlist for predefined-channel
4
+ * overrides. Adding a field to ChannelIdentity without listing it here is a compile error via the exhaustiveness check below.
5
+ */
6
+ export const CHANNEL_IDENTITY_KEYS = ["channelNumber", "guideTitle", "hdhrEnabled", "logoUrl", "name", "pacificStationId", "stationId", "tags", "tvgShift"];
7
+ /**
8
+ * Single source of truth for which Channel fields are service-bindings. Used by the variant builder, the resolver (which excludes these from canonical->variant
9
+ * inheritance), the user-edit form's binding-override allowlist, and any code that needs to distinguish "how to reach the channel" from "what the channel is."
10
+ * Adding a field to ChannelServiceBinding without listing it here is a compile error via the exhaustiveness check below.
11
+ */
12
+ export const CHANNEL_BINDING_KEYS = ["channelSelector", "dismissSelector", "profile", "scrollSelector", "scrollTarget", "scrollToBottom", "service", "url"];
13
+ const _partitionCompleteness = true;
14
+ /* Mark the assertion as intentionally unused - its only purpose is the compile-time check above. */
15
+ void _partitionCompleteness;
16
+ /**
17
+ * Identity fields that participate in the user-facing delta surface (form input, JSON import, channels.json hand edit). Subset of CHANNEL_IDENTITY_KEYS that
18
+ * excludes catalog-driven structural fields like pacificStationId, which trigger Pacific auto-generation in the flattener and are not user-overridable through
19
+ * any path. Symmetric to DELTA_ELIGIBLE_BINDING_KEYS - both arrays describe "delta-eligible," the universe of fields that may legitimately appear in a
20
+ * ChannelDelta or a stored override.
21
+ *
22
+ * The `satisfies` constraint guarantees every entry is in CHANNEL_IDENTITY_KEYS - this array can never include a field that isn't structurally identity.
23
+ */
24
+ export const DELTA_ELIGIBLE_IDENTITY_KEYS = [
25
+ "channelNumber", "guideTitle", "hdhrEnabled", "logoUrl", "name", "stationId", "tags", "tvgShift"
26
+ ];
27
+ /**
28
+ * Binding fields that participate in the user-facing delta surface. Subset of CHANNEL_BINDING_KEYS that excludes internal DOM-hook fields (dismissSelector,
29
+ * scrollSelector, scrollTarget, scrollToBottom, service) that are set by site profiles and ServiceVariant catalog entries, never by user input. Symmetric to
30
+ * DELTA_ELIGIBLE_IDENTITY_KEYS.
31
+ *
32
+ * The `satisfies` constraint guarantees every entry is in CHANNEL_BINDING_KEYS.
33
+ */
34
+ export const DELTA_ELIGIBLE_BINDING_KEYS = [
35
+ "channelSelector", "profile", "url"
36
+ ];
37
+ const _deltaCompleteness = true;
38
+ /* Mark the assertion as intentionally unused - its only purpose is the compile-time check above. */
39
+ void _deltaCompleteness;
2
40
  //# sourceMappingURL=channels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"channels.js","sourceRoot":"","sources":["../../src/types/channels.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"channels.js","sourceRoot":"","sources":["../../src/types/channels.ts"],"names":[],"mappings":"AA0LA;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,CAAW,CAAC;AAEvK;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAE,iBAAiB,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,CAAW,CAAC;AAiBvK,MAAM,sBAAsB,GAAyE,IAAI,CAAC;AAE1G,oGAAoG;AACpG,KAAK,sBAAsB,CAAC;AAE5B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU;CAC9B,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,iBAAiB,EAAE,SAAS,EAAE,KAAK;CAC8B,CAAC;AA0BpE,MAAM,kBAAkB,GAA0F,IAAI,CAAC;AAEvH,oGAAoG;AACpG,KAAK,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ChannelSortField, Nullable, SortDirection } from "./shared.js";
1
+ import type { ChannelSortField, Nullable, SortDirection } from "./shared.ts";
2
2
  /**
3
3
  * Browser-related configuration controlling Chrome launch behavior. Viewport dimensions are derived from the quality preset via getViewport() and are not stored in
4
4
  * this configuration object.
@@ -65,6 +65,24 @@ export interface ChannelsConfig {
65
65
  setupCompleted: boolean;
66
66
  visibleColumns: string[];
67
67
  }
68
+ /**
69
+ * Connection settings for the user's external Channels DVR server. PrismCast talks to Channels DVR over HTTP for show-info polling, device-mapping discovery,
70
+ * and pretune scheduling.
71
+ *
72
+ * Host is auto-discovered at runtime from client request IPs by `showInfo.ts`. It is intentionally NOT in `CONFIG_METADATA` and is not exposed as a settings
73
+ * UI field - users do not configure it directly. The host invariant: host-only, never `host:port`. Port lives at `channelsDvr.port` exclusively.
74
+ *
75
+ * Port is user-configurable via `CONFIG_METADATA` because Channels DVR's port is user-configurable per their docs and a non-default port would otherwise be
76
+ * unreachable from PrismCast.
77
+ *
78
+ * Single-instance shape today. Multi-DVR support, if/when added in a future release, migrates this to `{ instances: ChannelsDvrInstance[] }` via the
79
+ * schema-migration framework. Don't proliferate patterns that fight the eventual array shape - keep all DVR-targeted code consuming this single canonical
80
+ * config location.
81
+ */
82
+ export interface ChannelsDvrConfig {
83
+ host: string;
84
+ port: number;
85
+ }
68
86
  /**
69
87
  * HDHomeRun emulation configuration. When enabled, PrismCast runs a separate HTTP server that emulates the HDHomeRun API, allowing Plex to discover and use
70
88
  * PrismCast as a virtual tuner for live TV and DVR recording. The emulated device appears in Plex's tuner setup and serves PrismCast's HLS streams directly.
@@ -117,6 +135,7 @@ export interface StreamingConfig {
117
135
  export interface Config {
118
136
  browser: BrowserConfig;
119
137
  channels: ChannelsConfig;
138
+ channelsDvr: ChannelsDvrConfig;
120
139
  hdhr: HdhrConfig;
121
140
  hls: HLSConfig;
122
141
  logging: LoggingConfig;
@@ -1,8 +1,9 @@
1
- export type { BrowserConfig, CaptureMode, ChannelsConfig, Config, HdhrConfig, HLSConfig, LoggingConfig, PathsConfig, PlaybackConfig, RecoveryConfig, ServerConfig, StreamingConfig } from "./config.js";
2
- export type { Channel, ChannelDefinition, ChannelDelta, ChannelListingEntry, ChannelMap, ServiceGroup, ServiceVariant, StoredChannel, StoredChannelMap } from "./channels.js";
3
- export type { ChannelSelectionConfig, ChannelSelectionStrategy, DomainConfig, ProfileCategory, ProfileResolutionResult, ProfilesValidationResult, ResolvedSiteProfile, ServicePack, SiteProfile, UserProfilesFile, UserProfilesLoadResult } from "./profiles.js";
4
- export type { ChannelSelectionProfile, ChannelSelectorResult, ChannelStrategyEntry, ChannelStrategyHandler, ClickTarget, DiscoveredChannel, ProviderModule, TuneResult, UiSize } from "./selection.js";
5
- export type { ChannelSortField, Nullable, SortDirection } from "./shared.js";
6
- export type { CaptureCodec, HealthStatus, StreamListItem, StreamListResponse, StreamingMode, UrlValidationResult, VideoSelectorType, VideoState } from "./streaming.js";
7
- export { RECOGNIZED_CODECS } from "./streaming.js";
8
- export { isChannelSelectionProfile } from "./selection.js";
1
+ export type { BrowserConfig, CaptureMode, ChannelsConfig, Config, HdhrConfig, HLSConfig, LoggingConfig, PathsConfig, PlaybackConfig, RecoveryConfig, ServerConfig, StreamingConfig } from "./config.ts";
2
+ export type { CanonicalChannel, Channel, ChannelDefinition, ChannelDelta, ChannelIdentity, ChannelListingEntry, ChannelMap, ChannelServiceBinding, CustomizableField, ResolvedChannel, ResolvedChannelMap, ServiceGroup, ServiceVariant, StoredChannel, StoredChannelMap, VariantChannel } from "./channels.ts";
3
+ export { CHANNEL_BINDING_KEYS, CHANNEL_IDENTITY_KEYS, DELTA_ELIGIBLE_BINDING_KEYS, DELTA_ELIGIBLE_IDENTITY_KEYS } from "./channels.ts";
4
+ export type { ChannelSelectionConfig, ChannelSelectionStrategy, DomainConfig, ProfileCategory, ProfileResolutionResult, ProfilesValidationResult, ResolvedSiteProfile, ServicePack, SiteProfile, UserProfilesFile, UserProfilesLoadResult } from "./profiles.ts";
5
+ export type { CategoryResolution, CategoryResolutionConfig, CategoryResolutionFailure, CategoryResolutionSuccess, ChannelSelectionProfile, ChannelSelectorResult, ChannelStrategyEntry, ChannelStrategyHandler, ClickTarget, DiscoveredChannel, ProviderModule, TuneResult, UiSize } from "./selection.ts";
6
+ export type { ChannelSortField, Nullable, SortDirection } from "./shared.ts";
7
+ export type { CaptureCodec, HealthStatus, StreamListItem, StreamListResponse, StreamingMode, UrlValidationResult, VideoSelectorType, VideoState } from "./streaming.ts";
8
+ export { RECOGNIZED_CODECS } from "./streaming.ts";
9
+ export { isChannelSelectionProfile } from "./selection.ts";
@@ -1,3 +1,4 @@
1
+ export { CHANNEL_BINDING_KEYS, CHANNEL_IDENTITY_KEYS, DELTA_ELIGIBLE_BINDING_KEYS, DELTA_ELIGIBLE_IDENTITY_KEYS } from "./channels.js";
1
2
  export { RECOGNIZED_CODECS } from "./streaming.js";
2
3
  export { isChannelSelectionProfile } from "./selection.js";
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAQvI,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,14 +1,14 @@
1
- import type { ChannelMap } from "./channels.js";
2
- import type { Nullable } from "./shared.js";
1
+ import type { ChannelMap } from "./channels.ts";
2
+ import type { Nullable } from "./shared.ts";
3
3
  /**
4
4
  * Available channel selection strategies. Each strategy implements a different approach to finding and selecting channels in a multi-channel player UI.
5
5
  *
6
- * - "directvGrid": Tune via webpack injection — captures __webpack_require__, extracts the Redux store from the React fiber tree, matches by channel name, and
6
+ * - "directvGrid": Tune via webpack injection - captures __webpack_require__, extracts the Redux store from the React fiber tree, matches by channel name, and
7
7
  * dispatches playConsumable. Falls back to logo aria-label click when the interceptor fails. Used by DirecTV Stream.
8
8
  * - "foxGrid": Find channel by station code in a non-virtualized guide grid, click the channel logo button via DOM .click(). Used by Fox.com.
9
9
  * - "guideGrid": Find channel by exact-matching image alt text, click nearest clickable ancestor. Optionally clicks a tab to reveal the list first. Used by Hulu
10
10
  * Live TV.
11
- * - "hboGrid": Discover the HBO tab page URL from the homepage menu bar, scrape the live channel tile rail for a matching channel name, and navigate to the watch
11
+ * - "hboGrid": Discover the HBO tab page URL from the homepage menu bar, read the live channel tile rail for a matching channel name, and navigate to the watch
12
12
  * URL. Caches the tab URL across tunes with stale-cache fallback. Used by HBO Max.
13
13
  * - "none": No channel selection needed (single-channel sites). This is the default.
14
14
  * - "slingGrid": Find channel by data-testid in a virtualized A-Z guide grid, scroll via binary search on .guide-cell scrollTop, click the on-now program
@@ -132,6 +132,7 @@ export interface UserProfilesLoadResult {
132
132
  parseError: boolean;
133
133
  parseErrorMessage?: string;
134
134
  profiles: Record<string, SiteProfile>;
135
+ recoveredFromBackup: boolean;
135
136
  }
136
137
  /**
137
138
  * Service pack distribution format. Bundles a profile, domain mapping(s), and optionally channels for a streaming service into a single JSON file. On import,
@@ -1,6 +1,6 @@
1
- import type { ChannelSelectionStrategy, ResolvedSiteProfile, SiteProfile } from "./profiles.js";
1
+ import type { ChannelSelectionStrategy, ResolvedSiteProfile, SiteProfile } from "./profiles.ts";
2
2
  import type { Frame, Page } from "puppeteer-core";
3
- import type { Nullable } from "./shared.js";
3
+ import type { Nullable } from "./shared.ts";
4
4
  export interface ChannelSelectionProfile extends ResolvedSiteProfile {
5
5
  channelSelector: string;
6
6
  }
@@ -19,7 +19,7 @@ export interface ChannelSelectorResult {
19
19
  export type ChannelStrategyHandler = (page: Page, profile: ChannelSelectionProfile) => Promise<ChannelSelectorResult>;
20
20
  /**
21
21
  * The complete contract for a channel selection strategy. Each provider file exports a single object implementing this interface. The coordinator accesses all
22
- * provider behavior through these hooks — no strategy-specific imports or hardcoded strategy name checks outside the registry.
22
+ * provider behavior through these hooks - no strategy-specific imports or hardcoded strategy name checks outside the registry.
23
23
  */
24
24
  export interface ChannelStrategyEntry {
25
25
  /**
@@ -48,6 +48,7 @@ export interface ChannelStrategyEntry {
48
48
  */
49
49
  export interface DiscoveredChannel {
50
50
  affiliate?: string;
51
+ categorySelector?: string;
51
52
  channelSelector: string;
52
53
  name: string;
53
54
  stationId?: string;
@@ -56,7 +57,7 @@ export interface DiscoveredChannel {
56
57
  /**
57
58
  * Unified provider contract that bundles identity metadata, tuning strategy, and channel discovery into a single registry entry. Each provider tuning file
58
59
  * exports one ProviderModule. The coordinator builds its strategy dispatch lookup from provider modules at evaluation time. Generic strategies (thumbnailRow,
59
- * tileClick) remain bare ChannelStrategyEntry objects — they are not providers.
60
+ * tileClick) remain bare ChannelStrategyEntry objects - they are not providers.
60
61
  */
61
62
  export interface ProviderModule {
62
63
  /**
@@ -81,6 +82,49 @@ export interface ProviderModule {
81
82
  strategyName: ChannelSelectionStrategy;
82
83
  validatePrecache?: (channels: DiscoveredChannel[]) => boolean;
83
84
  validateTune?: (channelSelector: string) => boolean;
85
+ verifyManifestForChannel?: (url: string, channelSelector: string) => Nullable<string>;
86
+ categoryResolution?: CategoryResolutionConfig;
87
+ }
88
+ /**
89
+ * Successful outcome of resolving a category selector. Carries the concrete per-user channel selector that the strategy will use for matching and the verifier
90
+ * will use for URL comparison (e.g., "WFLD" for a Chicago-market user resolving the "FOXD2C" category). The value is always a concrete identifier, never another
91
+ * category value - the resolver guarantees the resolution is terminal.
92
+ */
93
+ export interface CategoryResolutionSuccess {
94
+ callSign: string;
95
+ }
96
+ /**
97
+ * Failed outcome of resolving a category selector. Carries a provider-authored, user-facing explanation that the framework relays verbatim - to debug logs on
98
+ * permissive paths, to user-facing errors on strict paths. The resolver writes a complete sentence including any selector- or provider-specific context the user
99
+ * needs to understand the failure and remediate it; the framework adds nothing.
100
+ */
101
+ export interface CategoryResolutionFailure {
102
+ reason: string;
103
+ }
104
+ /**
105
+ * Outcome of resolving a category selector. Discriminated union of CategoryResolutionSuccess and CategoryResolutionFailure. Resolvers must always return one of
106
+ * these two shapes - there is no null. This forces every resolver to articulate its outcome explicitly, which guarantees diagnostic detail on every failure and
107
+ * removes ambiguity between "could not resolve" and "did not attempt to resolve."
108
+ *
109
+ * The union is structurally discriminated by the `callSign` and `reason` field names so consumers can use TypeScript's `"callSign" in result` narrowing without
110
+ * needing a tagged enum. A future evolution that needs additional outcomes (e.g., resolution to a list of candidates for user disambiguation) can add a new
111
+ * variant here as a new named interface without touching the existing two.
112
+ */
113
+ export type CategoryResolution = CategoryResolutionSuccess | CategoryResolutionFailure;
114
+ /**
115
+ * Cohesive configuration for a provider that exposes one or more category selectors - selector values that represent a category of channels needing per-user
116
+ * resolution to a concrete identifier rather than naming a specific channel directly. Grouping the three related fields into one sub-object makes the contract
117
+ * atomic in the type system: a provider either has the entire configuration or has none of it. There is no way to declare a category list without a resolver, no
118
+ * way to set a resolver without category values, and no way to set the strict-resolution flag without the rest of the machinery being present.
119
+ *
120
+ * Fox is the canonical example: its category selectors include "FOXD2C" (a title shared by every Fox-owned local affiliate Fox.com surfaces in the user's market),
121
+ * and its resolver converts that to a concrete per-market call sign like "WFLD" or "WPWRDT". Providers with no category structure (e.g., Hulu, Sling, where every
122
+ * selector names a specific channel) omit this configuration entirely.
123
+ */
124
+ export interface CategoryResolutionConfig {
125
+ resolve: (selector: string, page: Page) => Promise<CategoryResolution>;
126
+ requireResolution?: boolean;
127
+ selectors: readonly string[];
84
128
  }
85
129
  /**
86
130
  * Coordinates for a click target, used when clicking channel selector elements.
@@ -1,4 +1,4 @@
1
- import type { Nullable } from "./shared.js";
1
+ import type { Nullable } from "./shared.ts";
2
2
  /**
3
3
  * All recognized capture codec identifiers. H.264 is the universal baseline; additional codecs require GPU hardware encoding. This array is the single definition
4
4
  * from which the CaptureCodec type, MIME type lookup, and config validation all derive.
@@ -0,0 +1,6 @@
1
+ import type { UpgradeContext } from "./commands.ts";
2
+ /**
3
+ * Builds the default UpgradeContext from real runtime I/O.
4
+ * @returns An UpgradeContext populated from the live process.
5
+ */
6
+ export declare function createDefaultUpgradeContext(): UpgradeContext;
@@ -0,0 +1,29 @@
1
+ import { print, printError } from "../utils/cliOutput.js";
2
+ import { detectInstallMethod } from "./detection.js";
3
+ import { execSync } from "node:child_process";
4
+ import { fetchLatestVersion } from "../utils/version.js";
5
+ import { isRunningAsService } from "../utils/platform.js";
6
+ /**
7
+ * Builds the default UpgradeContext from real runtime I/O.
8
+ * @returns An UpgradeContext populated from the live process.
9
+ */
10
+ export function createDefaultUpgradeContext() {
11
+ return {
12
+ detect: detectInstallMethod,
13
+ exit: (code) => process.exit(code),
14
+ fetchLatestVersion,
15
+ isService: isRunningAsService(),
16
+ runUpgradeCommand: (cmd, options) => {
17
+ try {
18
+ execSync(cmd, { cwd: options.cwd, encoding: "utf-8", stdio: "inherit" });
19
+ return { success: true };
20
+ }
21
+ catch {
22
+ return { success: false };
23
+ }
24
+ },
25
+ stderr: printError,
26
+ stdout: print
27
+ };
28
+ }
29
+ //# sourceMappingURL=commands.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.context.js","sourceRoot":"","sources":["../../src/upgrade/commands.context.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D;;;GAGG;AACH,MAAM,UAAU,2BAA2B;IAEzC,OAAO;QAEL,MAAM,EAAE,mBAAmB;QAC3B,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;QAClC,kBAAkB;QAClB,SAAS,EAAE,kBAAkB,EAAE;QAC/B,iBAAiB,EAAE,CAAC,GAAW,EAAE,OAAyB,EAAiB,EAAE;YAE3E,IAAI,CAAC;gBAEH,QAAQ,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;gBAEzE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;YAC3B,CAAC;YAAC,MAAM,CAAC;gBAEP,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;YAC5B,CAAC;QACH,CAAC;QACD,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,KAAK;KACd,CAAC;AACJ,CAAC"}