@mcpview/compose 0.0.0-stage → 0.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 (450) hide show
  1. package/CHANGELOG.md +242 -0
  2. package/LICENSE +21 -0
  3. package/README.md +494 -2
  4. package/esm/_dnt.polyfills.d.ts +18 -0
  5. package/esm/_dnt.polyfills.d.ts.map +1 -0
  6. package/esm/_dnt.polyfills.js +15 -0
  7. package/esm/_dnt.shims.d.ts +2 -0
  8. package/esm/_dnt.shims.d.ts.map +1 -0
  9. package/esm/_dnt.shims.js +57 -0
  10. package/esm/deps/jsr.io/@std/yaml/1.3.0/_chars.d.ts +33 -0
  11. package/esm/deps/jsr.io/@std/yaml/1.3.0/_chars.d.ts.map +1 -0
  12. package/esm/deps/jsr.io/@std/yaml/1.3.0/_chars.js +48 -0
  13. package/esm/deps/jsr.io/@std/yaml/1.3.0/_dumper_state.d.ts +106 -0
  14. package/esm/deps/jsr.io/@std/yaml/1.3.0/_dumper_state.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@std/yaml/1.3.0/_dumper_state.js +636 -0
  16. package/esm/deps/jsr.io/@std/yaml/1.3.0/_loader_state.d.ts +67 -0
  17. package/esm/deps/jsr.io/@std/yaml/1.3.0/_loader_state.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@std/yaml/1.3.0/_loader_state.js +1393 -0
  19. package/esm/deps/jsr.io/@std/yaml/1.3.0/_schema.d.ts +44 -0
  20. package/esm/deps/jsr.io/@std/yaml/1.3.0/_schema.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/yaml/1.3.0/_schema.js +117 -0
  22. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/binary.d.ts +3 -0
  23. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/binary.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/binary.js +103 -0
  25. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/bool.d.ts +3 -0
  26. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/bool.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/bool.js +32 -0
  28. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/float.d.ts +3 -0
  29. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/float.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/float.js +96 -0
  31. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/int.d.ts +3 -0
  32. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/int.d.ts.map +1 -0
  33. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/int.js +159 -0
  34. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/map.d.ts +3 -0
  35. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/map.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/map.js +14 -0
  37. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/merge.d.ts +3 -0
  38. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/merge.d.ts.map +1 -0
  39. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/merge.js +10 -0
  40. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/nil.d.ts +3 -0
  41. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/nil.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/nil.js +22 -0
  43. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/omap.d.ts +3 -0
  44. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/omap.d.ts.map +1 -0
  45. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/omap.js +29 -0
  46. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/pairs.d.ts +3 -0
  47. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/pairs.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/pairs.js +19 -0
  49. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/regexp.d.ts +3 -0
  50. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/regexp.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/regexp.js +30 -0
  52. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/seq.d.ts +3 -0
  53. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/seq.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/seq.js +10 -0
  55. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/set.d.ts +3 -0
  56. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/set.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/set.js +14 -0
  58. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/str.d.ts +3 -0
  59. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/str.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/str.js +9 -0
  61. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/timestamp.d.ts +3 -0
  62. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/timestamp.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/timestamp.js +81 -0
  64. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/undefined.d.ts +3 -0
  65. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/undefined.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type/undefined.js +20 -0
  67. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type.d.ts +32 -0
  68. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@std/yaml/1.3.0/_type.js +6 -0
  70. package/esm/deps/jsr.io/@std/yaml/1.3.0/_utils.d.ts +4 -0
  71. package/esm/deps/jsr.io/@std/yaml/1.3.0/_utils.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@std/yaml/1.3.0/_utils.js +13 -0
  73. package/esm/deps/jsr.io/@std/yaml/1.3.0/mod.d.ts +51 -0
  74. package/esm/deps/jsr.io/@std/yaml/1.3.0/mod.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@std/yaml/1.3.0/mod.js +53 -0
  76. package/esm/deps/jsr.io/@std/yaml/1.3.0/parse.d.ts +79 -0
  77. package/esm/deps/jsr.io/@std/yaml/1.3.0/parse.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@std/yaml/1.3.0/parse.js +91 -0
  79. package/esm/deps/jsr.io/@std/yaml/1.3.0/stringify.d.ts +108 -0
  80. package/esm/deps/jsr.io/@std/yaml/1.3.0/stringify.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@std/yaml/1.3.0/stringify.js +33 -0
  82. package/esm/deps/jsr.io/@std/yaml/1.3.0/types.d.ts +111 -0
  83. package/esm/deps/jsr.io/@std/yaml/1.3.0/types.d.ts.map +1 -0
  84. package/esm/deps/jsr.io/@std/yaml/1.3.0/types.js +104 -0
  85. package/esm/mod.d.ts +49 -0
  86. package/esm/mod.d.ts.map +1 -0
  87. package/esm/mod.js +42 -0
  88. package/esm/package.json +3 -0
  89. package/esm/src/core/collector/collector.d.ts +58 -0
  90. package/esm/src/core/collector/collector.d.ts.map +1 -0
  91. package/esm/src/core/collector/collector.js +60 -0
  92. package/esm/src/core/collector/extractor.d.ts +33 -0
  93. package/esm/src/core/collector/extractor.d.ts.map +1 -0
  94. package/esm/src/core/collector/extractor.js +53 -0
  95. package/esm/src/core/collector/mod.d.ts +9 -0
  96. package/esm/src/core/collector/mod.d.ts.map +1 -0
  97. package/esm/src/core/collector/mod.js +7 -0
  98. package/esm/src/core/components/components.d.ts +4 -0
  99. package/esm/src/core/components/components.d.ts.map +1 -0
  100. package/esm/src/core/components/components.js +28 -0
  101. package/esm/src/core/components/mod.d.ts +2 -0
  102. package/esm/src/core/components/mod.d.ts.map +1 -0
  103. package/esm/src/core/components/mod.js +1 -0
  104. package/esm/src/core/composer/composer.d.ts +35 -0
  105. package/esm/src/core/composer/composer.d.ts.map +1 -0
  106. package/esm/src/core/composer/composer.js +72 -0
  107. package/esm/src/core/composer/mod.d.ts +7 -0
  108. package/esm/src/core/composer/mod.d.ts.map +1 -0
  109. package/esm/src/core/composer/mod.js +6 -0
  110. package/esm/src/core/mod.d.ts +15 -0
  111. package/esm/src/core/mod.d.ts.map +1 -0
  112. package/esm/src/core/mod.js +16 -0
  113. package/esm/src/core/sync/mod.d.ts +9 -0
  114. package/esm/src/core/sync/mod.d.ts.map +1 -0
  115. package/esm/src/core/sync/mod.js +7 -0
  116. package/esm/src/core/sync/resolver.d.ts +51 -0
  117. package/esm/src/core/sync/resolver.d.ts.map +1 -0
  118. package/esm/src/core/sync/resolver.js +88 -0
  119. package/esm/src/core/sync/validator.d.ts +39 -0
  120. package/esm/src/core/sync/validator.d.ts.map +1 -0
  121. package/esm/src/core/sync/validator.js +65 -0
  122. package/esm/src/core/types/components.d.ts +46 -0
  123. package/esm/src/core/types/components.d.ts.map +1 -0
  124. package/esm/src/core/types/components.js +2 -0
  125. package/esm/src/core/types/descriptor.d.ts +47 -0
  126. package/esm/src/core/types/descriptor.d.ts.map +1 -0
  127. package/esm/src/core/types/descriptor.js +6 -0
  128. package/esm/src/core/types/errors.d.ts +69 -0
  129. package/esm/src/core/types/errors.d.ts.map +1 -0
  130. package/esm/src/core/types/errors.js +32 -0
  131. package/esm/src/core/types/layout.d.ts +100 -0
  132. package/esm/src/core/types/layout.d.ts.map +1 -0
  133. package/esm/src/core/types/layout.js +49 -0
  134. package/esm/src/core/types/mcp-apps.d.ts +56 -0
  135. package/esm/src/core/types/mcp-apps.d.ts.map +1 -0
  136. package/esm/src/core/types/mcp-apps.js +16 -0
  137. package/esm/src/core/types/mod.d.ts +17 -0
  138. package/esm/src/core/types/mod.d.ts.map +1 -0
  139. package/esm/src/core/types/mod.js +7 -0
  140. package/esm/src/core/types/orchestration.d.ts +37 -0
  141. package/esm/src/core/types/orchestration.d.ts.map +1 -0
  142. package/esm/src/core/types/orchestration.js +6 -0
  143. package/esm/src/core/types/resources.d.ts +37 -0
  144. package/esm/src/core/types/resources.d.ts.map +1 -0
  145. package/esm/src/core/types/resources.js +1 -0
  146. package/esm/src/core/types/sync-rules.d.ts +80 -0
  147. package/esm/src/core/types/sync-rules.d.ts.map +1 -0
  148. package/esm/src/core/types/sync-rules.js +6 -0
  149. package/esm/src/deploy/mod.d.ts +12 -0
  150. package/esm/src/deploy/mod.d.ts.map +1 -0
  151. package/esm/src/deploy/mod.js +11 -0
  152. package/esm/src/deploy/types.d.ts +119 -0
  153. package/esm/src/deploy/types.d.ts.map +1 -0
  154. package/esm/src/deploy/types.js +19 -0
  155. package/esm/src/host/components-contract.d.ts +6 -0
  156. package/esm/src/host/components-contract.d.ts.map +1 -0
  157. package/esm/src/host/components-contract.js +5 -0
  158. package/esm/src/host/mod.d.ts +15 -0
  159. package/esm/src/host/mod.d.ts.map +1 -0
  160. package/esm/src/host/mod.js +14 -0
  161. package/esm/src/host/renderer/css/base.d.ts +23 -0
  162. package/esm/src/host/renderer/css/base.d.ts.map +1 -0
  163. package/esm/src/host/renderer/css/base.js +48 -0
  164. package/esm/src/host/renderer/css/layouts.d.ts +31 -0
  165. package/esm/src/host/renderer/css/layouts.d.ts.map +1 -0
  166. package/esm/src/host/renderer/css/layouts.js +129 -0
  167. package/esm/src/host/renderer/html-generator.d.ts +36 -0
  168. package/esm/src/host/renderer/html-generator.d.ts.map +1 -0
  169. package/esm/src/host/renderer/html-generator.js +227 -0
  170. package/esm/src/host/renderer/js/event-bus.d.ts +33 -0
  171. package/esm/src/host/renderer/js/event-bus.d.ts.map +1 -0
  172. package/esm/src/host/renderer/js/event-bus.js +591 -0
  173. package/esm/src/host/renderer/mod.d.ts +9 -0
  174. package/esm/src/host/renderer/mod.d.ts.map +1 -0
  175. package/esm/src/host/renderer/mod.js +7 -0
  176. package/esm/src/host/renderer/options.d.ts +126 -0
  177. package/esm/src/host/renderer/options.d.ts.map +1 -0
  178. package/esm/src/host/renderer/options.js +1 -0
  179. package/esm/src/host/serve.d.ts +55 -0
  180. package/esm/src/host/serve.d.ts.map +1 -0
  181. package/esm/src/host/serve.js +89 -0
  182. package/esm/src/host/types.d.ts +42 -0
  183. package/esm/src/host/types.d.ts.map +1 -0
  184. package/esm/src/host/types.js +9 -0
  185. package/esm/src/runtime/cluster.d.ts +92 -0
  186. package/esm/src/runtime/cluster.d.ts.map +1 -0
  187. package/esm/src/runtime/cluster.js +859 -0
  188. package/esm/src/runtime/compose.d.ts +67 -0
  189. package/esm/src/runtime/compose.d.ts.map +1 -0
  190. package/esm/src/runtime/compose.js +288 -0
  191. package/esm/src/runtime/host-dashboard-types.d.ts +79 -0
  192. package/esm/src/runtime/host-dashboard-types.d.ts.map +1 -0
  193. package/esm/src/runtime/host-dashboard-types.js +9 -0
  194. package/esm/src/runtime/host-dashboard.d.ts +29 -0
  195. package/esm/src/runtime/host-dashboard.d.ts.map +1 -0
  196. package/esm/src/runtime/host-dashboard.js +559 -0
  197. package/esm/src/runtime/manifest.d.ts +58 -0
  198. package/esm/src/runtime/manifest.d.ts.map +1 -0
  199. package/esm/src/runtime/manifest.js +144 -0
  200. package/esm/src/runtime/mod.d.ts +18 -0
  201. package/esm/src/runtime/mod.d.ts.map +1 -0
  202. package/esm/src/runtime/mod.js +21 -0
  203. package/esm/src/runtime/template.d.ts +79 -0
  204. package/esm/src/runtime/template.d.ts.map +1 -0
  205. package/esm/src/runtime/template.js +287 -0
  206. package/esm/src/runtime/types.d.ts +345 -0
  207. package/esm/src/runtime/types.d.ts.map +1 -0
  208. package/esm/src/runtime/types.js +28 -0
  209. package/esm/src/sdk/compose-events.d.ts +130 -0
  210. package/esm/src/sdk/compose-events.d.ts.map +1 -0
  211. package/esm/src/sdk/compose-events.js +127 -0
  212. package/esm/src/sdk/composition-validator.d.ts +97 -0
  213. package/esm/src/sdk/composition-validator.d.ts.map +1 -0
  214. package/esm/src/sdk/composition-validator.js +178 -0
  215. package/esm/src/sdk/mcp-sdk.d.ts +92 -0
  216. package/esm/src/sdk/mcp-sdk.d.ts.map +1 -0
  217. package/esm/src/sdk/mcp-sdk.js +54 -0
  218. package/esm/src/sdk/mod.d.ts +15 -0
  219. package/esm/src/sdk/mod.d.ts.map +1 -0
  220. package/esm/src/sdk/mod.js +10 -0
  221. package/esm/src/sdk/ui-meta-builder.d.ts +99 -0
  222. package/esm/src/sdk/ui-meta-builder.d.ts.map +1 -0
  223. package/esm/src/sdk/ui-meta-builder.js +53 -0
  224. package/esm/src/version.d.ts +30 -0
  225. package/esm/src/version.d.ts.map +1 -0
  226. package/esm/src/version.js +29 -0
  227. package/package.json +55 -4
  228. package/script/_dnt.polyfills.d.ts +18 -0
  229. package/script/_dnt.polyfills.d.ts.map +1 -0
  230. package/script/_dnt.polyfills.js +16 -0
  231. package/script/_dnt.shims.d.ts +2 -0
  232. package/script/_dnt.shims.d.ts.map +1 -0
  233. package/script/_dnt.shims.js +60 -0
  234. package/script/deps/jsr.io/@std/yaml/1.3.0/_chars.d.ts +33 -0
  235. package/script/deps/jsr.io/@std/yaml/1.3.0/_chars.d.ts.map +1 -0
  236. package/script/deps/jsr.io/@std/yaml/1.3.0/_chars.js +55 -0
  237. package/script/deps/jsr.io/@std/yaml/1.3.0/_dumper_state.d.ts +106 -0
  238. package/script/deps/jsr.io/@std/yaml/1.3.0/_dumper_state.d.ts.map +1 -0
  239. package/script/deps/jsr.io/@std/yaml/1.3.0/_dumper_state.js +640 -0
  240. package/script/deps/jsr.io/@std/yaml/1.3.0/_loader_state.d.ts +67 -0
  241. package/script/deps/jsr.io/@std/yaml/1.3.0/_loader_state.d.ts.map +1 -0
  242. package/script/deps/jsr.io/@std/yaml/1.3.0/_loader_state.js +1397 -0
  243. package/script/deps/jsr.io/@std/yaml/1.3.0/_schema.d.ts +44 -0
  244. package/script/deps/jsr.io/@std/yaml/1.3.0/_schema.d.ts.map +1 -0
  245. package/script/deps/jsr.io/@std/yaml/1.3.0/_schema.js +121 -0
  246. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/binary.d.ts +3 -0
  247. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/binary.d.ts.map +1 -0
  248. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/binary.js +106 -0
  249. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/bool.d.ts +3 -0
  250. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/bool.d.ts.map +1 -0
  251. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/bool.js +35 -0
  252. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/float.d.ts +3 -0
  253. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/float.d.ts.map +1 -0
  254. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/float.js +99 -0
  255. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/int.d.ts +3 -0
  256. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/int.d.ts.map +1 -0
  257. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/int.js +162 -0
  258. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/map.d.ts +3 -0
  259. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/map.d.ts.map +1 -0
  260. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/map.js +17 -0
  261. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/merge.d.ts +3 -0
  262. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/merge.d.ts.map +1 -0
  263. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/merge.js +13 -0
  264. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/nil.d.ts +3 -0
  265. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/nil.d.ts.map +1 -0
  266. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/nil.js +25 -0
  267. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/omap.d.ts +3 -0
  268. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/omap.d.ts.map +1 -0
  269. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/omap.js +32 -0
  270. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/pairs.d.ts +3 -0
  271. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/pairs.d.ts.map +1 -0
  272. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/pairs.js +22 -0
  273. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/regexp.d.ts +3 -0
  274. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/regexp.d.ts.map +1 -0
  275. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/regexp.js +33 -0
  276. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/seq.d.ts +3 -0
  277. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/seq.d.ts.map +1 -0
  278. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/seq.js +13 -0
  279. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/set.d.ts +3 -0
  280. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/set.d.ts.map +1 -0
  281. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/set.js +17 -0
  282. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/str.d.ts +3 -0
  283. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/str.d.ts.map +1 -0
  284. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/str.js +12 -0
  285. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/timestamp.d.ts +3 -0
  286. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/timestamp.d.ts.map +1 -0
  287. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/timestamp.js +84 -0
  288. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/undefined.d.ts +3 -0
  289. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/undefined.d.ts.map +1 -0
  290. package/script/deps/jsr.io/@std/yaml/1.3.0/_type/undefined.js +23 -0
  291. package/script/deps/jsr.io/@std/yaml/1.3.0/_type.d.ts +32 -0
  292. package/script/deps/jsr.io/@std/yaml/1.3.0/_type.d.ts.map +1 -0
  293. package/script/deps/jsr.io/@std/yaml/1.3.0/_type.js +7 -0
  294. package/script/deps/jsr.io/@std/yaml/1.3.0/_utils.d.ts +4 -0
  295. package/script/deps/jsr.io/@std/yaml/1.3.0/_utils.d.ts.map +1 -0
  296. package/script/deps/jsr.io/@std/yaml/1.3.0/_utils.js +18 -0
  297. package/script/deps/jsr.io/@std/yaml/1.3.0/mod.d.ts +51 -0
  298. package/script/deps/jsr.io/@std/yaml/1.3.0/mod.d.ts.map +1 -0
  299. package/script/deps/jsr.io/@std/yaml/1.3.0/mod.js +69 -0
  300. package/script/deps/jsr.io/@std/yaml/1.3.0/parse.d.ts +79 -0
  301. package/script/deps/jsr.io/@std/yaml/1.3.0/parse.d.ts.map +1 -0
  302. package/script/deps/jsr.io/@std/yaml/1.3.0/parse.js +95 -0
  303. package/script/deps/jsr.io/@std/yaml/1.3.0/stringify.d.ts +108 -0
  304. package/script/deps/jsr.io/@std/yaml/1.3.0/stringify.d.ts.map +1 -0
  305. package/script/deps/jsr.io/@std/yaml/1.3.0/stringify.js +36 -0
  306. package/script/deps/jsr.io/@std/yaml/1.3.0/types.d.ts +111 -0
  307. package/script/deps/jsr.io/@std/yaml/1.3.0/types.d.ts.map +1 -0
  308. package/script/deps/jsr.io/@std/yaml/1.3.0/types.js +108 -0
  309. package/script/mod.d.ts +49 -0
  310. package/script/mod.d.ts.map +1 -0
  311. package/script/mod.js +60 -0
  312. package/script/package.json +3 -0
  313. package/script/src/core/collector/collector.d.ts +58 -0
  314. package/script/src/core/collector/collector.d.ts.map +1 -0
  315. package/script/src/core/collector/collector.js +63 -0
  316. package/script/src/core/collector/extractor.d.ts +33 -0
  317. package/script/src/core/collector/extractor.d.ts.map +1 -0
  318. package/script/src/core/collector/extractor.js +56 -0
  319. package/script/src/core/collector/mod.d.ts +9 -0
  320. package/script/src/core/collector/mod.d.ts.map +1 -0
  321. package/script/src/core/collector/mod.js +12 -0
  322. package/script/src/core/components/components.d.ts +4 -0
  323. package/script/src/core/components/components.d.ts.map +1 -0
  324. package/script/src/core/components/components.js +31 -0
  325. package/script/src/core/components/mod.d.ts +2 -0
  326. package/script/src/core/components/mod.d.ts.map +1 -0
  327. package/script/src/core/components/mod.js +5 -0
  328. package/script/src/core/composer/composer.d.ts +35 -0
  329. package/script/src/core/composer/composer.d.ts.map +1 -0
  330. package/script/src/core/composer/composer.js +75 -0
  331. package/script/src/core/composer/mod.d.ts +7 -0
  332. package/script/src/core/composer/mod.d.ts.map +1 -0
  333. package/script/src/core/composer/mod.js +10 -0
  334. package/script/src/core/mod.d.ts +15 -0
  335. package/script/src/core/mod.d.ts.map +1 -0
  336. package/script/src/core/mod.js +30 -0
  337. package/script/src/core/sync/mod.d.ts +9 -0
  338. package/script/src/core/sync/mod.d.ts.map +1 -0
  339. package/script/src/core/sync/mod.js +12 -0
  340. package/script/src/core/sync/resolver.d.ts +51 -0
  341. package/script/src/core/sync/resolver.d.ts.map +1 -0
  342. package/script/src/core/sync/resolver.js +91 -0
  343. package/script/src/core/sync/validator.d.ts +39 -0
  344. package/script/src/core/sync/validator.d.ts.map +1 -0
  345. package/script/src/core/sync/validator.js +68 -0
  346. package/script/src/core/types/components.d.ts +46 -0
  347. package/script/src/core/types/components.d.ts.map +1 -0
  348. package/script/src/core/types/components.js +3 -0
  349. package/script/src/core/types/descriptor.d.ts +47 -0
  350. package/script/src/core/types/descriptor.d.ts.map +1 -0
  351. package/script/src/core/types/descriptor.js +7 -0
  352. package/script/src/core/types/errors.d.ts +69 -0
  353. package/script/src/core/types/errors.d.ts.map +1 -0
  354. package/script/src/core/types/errors.js +35 -0
  355. package/script/src/core/types/layout.d.ts +100 -0
  356. package/script/src/core/types/layout.d.ts.map +1 -0
  357. package/script/src/core/types/layout.js +55 -0
  358. package/script/src/core/types/mcp-apps.d.ts +56 -0
  359. package/script/src/core/types/mcp-apps.d.ts.map +1 -0
  360. package/script/src/core/types/mcp-apps.js +17 -0
  361. package/script/src/core/types/mod.d.ts +17 -0
  362. package/script/src/core/types/mod.d.ts.map +1 -0
  363. package/script/src/core/types/mod.js +15 -0
  364. package/script/src/core/types/orchestration.d.ts +37 -0
  365. package/script/src/core/types/orchestration.d.ts.map +1 -0
  366. package/script/src/core/types/orchestration.js +7 -0
  367. package/script/src/core/types/resources.d.ts +37 -0
  368. package/script/src/core/types/resources.d.ts.map +1 -0
  369. package/script/src/core/types/resources.js +2 -0
  370. package/script/src/core/types/sync-rules.d.ts +80 -0
  371. package/script/src/core/types/sync-rules.d.ts.map +1 -0
  372. package/script/src/core/types/sync-rules.js +7 -0
  373. package/script/src/deploy/mod.d.ts +12 -0
  374. package/script/src/deploy/mod.d.ts.map +1 -0
  375. package/script/src/deploy/mod.js +15 -0
  376. package/script/src/deploy/types.d.ts +119 -0
  377. package/script/src/deploy/types.d.ts.map +1 -0
  378. package/script/src/deploy/types.js +22 -0
  379. package/script/src/host/components-contract.d.ts +6 -0
  380. package/script/src/host/components-contract.d.ts.map +1 -0
  381. package/script/src/host/components-contract.js +8 -0
  382. package/script/src/host/mod.d.ts +15 -0
  383. package/script/src/host/mod.d.ts.map +1 -0
  384. package/script/src/host/mod.js +21 -0
  385. package/script/src/host/renderer/css/base.d.ts +23 -0
  386. package/script/src/host/renderer/css/base.d.ts.map +1 -0
  387. package/script/src/host/renderer/css/base.js +51 -0
  388. package/script/src/host/renderer/css/layouts.d.ts +31 -0
  389. package/script/src/host/renderer/css/layouts.d.ts.map +1 -0
  390. package/script/src/host/renderer/css/layouts.js +132 -0
  391. package/script/src/host/renderer/html-generator.d.ts +36 -0
  392. package/script/src/host/renderer/html-generator.d.ts.map +1 -0
  393. package/script/src/host/renderer/html-generator.js +231 -0
  394. package/script/src/host/renderer/js/event-bus.d.ts +33 -0
  395. package/script/src/host/renderer/js/event-bus.d.ts.map +1 -0
  396. package/script/src/host/renderer/js/event-bus.js +594 -0
  397. package/script/src/host/renderer/mod.d.ts +9 -0
  398. package/script/src/host/renderer/mod.d.ts.map +1 -0
  399. package/script/src/host/renderer/mod.js +12 -0
  400. package/script/src/host/renderer/options.d.ts +126 -0
  401. package/script/src/host/renderer/options.d.ts.map +1 -0
  402. package/script/src/host/renderer/options.js +2 -0
  403. package/script/src/host/serve.d.ts +55 -0
  404. package/script/src/host/serve.d.ts.map +1 -0
  405. package/script/src/host/serve.js +92 -0
  406. package/script/src/host/types.d.ts +42 -0
  407. package/script/src/host/types.d.ts.map +1 -0
  408. package/script/src/host/types.js +10 -0
  409. package/script/src/runtime/cluster.d.ts +92 -0
  410. package/script/src/runtime/cluster.d.ts.map +1 -0
  411. package/script/src/runtime/cluster.js +864 -0
  412. package/script/src/runtime/compose.d.ts +67 -0
  413. package/script/src/runtime/compose.d.ts.map +1 -0
  414. package/script/src/runtime/compose.js +292 -0
  415. package/script/src/runtime/host-dashboard-types.d.ts +79 -0
  416. package/script/src/runtime/host-dashboard-types.d.ts.map +1 -0
  417. package/script/src/runtime/host-dashboard-types.js +10 -0
  418. package/script/src/runtime/host-dashboard.d.ts +29 -0
  419. package/script/src/runtime/host-dashboard.d.ts.map +1 -0
  420. package/script/src/runtime/host-dashboard.js +563 -0
  421. package/script/src/runtime/manifest.d.ts +58 -0
  422. package/script/src/runtime/manifest.d.ts.map +1 -0
  423. package/script/src/runtime/manifest.js +150 -0
  424. package/script/src/runtime/mod.d.ts +18 -0
  425. package/script/src/runtime/mod.d.ts.map +1 -0
  426. package/script/src/runtime/mod.js +41 -0
  427. package/script/src/runtime/template.d.ts +79 -0
  428. package/script/src/runtime/template.d.ts.map +1 -0
  429. package/script/src/runtime/template.js +295 -0
  430. package/script/src/runtime/types.d.ts +345 -0
  431. package/script/src/runtime/types.d.ts.map +1 -0
  432. package/script/src/runtime/types.js +31 -0
  433. package/script/src/sdk/compose-events.d.ts +130 -0
  434. package/script/src/sdk/compose-events.d.ts.map +1 -0
  435. package/script/src/sdk/compose-events.js +154 -0
  436. package/script/src/sdk/composition-validator.d.ts +97 -0
  437. package/script/src/sdk/composition-validator.d.ts.map +1 -0
  438. package/script/src/sdk/composition-validator.js +181 -0
  439. package/script/src/sdk/mcp-sdk.d.ts +92 -0
  440. package/script/src/sdk/mcp-sdk.d.ts.map +1 -0
  441. package/script/src/sdk/mcp-sdk.js +57 -0
  442. package/script/src/sdk/mod.d.ts +15 -0
  443. package/script/src/sdk/mod.d.ts.map +1 -0
  444. package/script/src/sdk/mod.js +18 -0
  445. package/script/src/sdk/ui-meta-builder.d.ts +99 -0
  446. package/script/src/sdk/ui-meta-builder.d.ts.map +1 -0
  447. package/script/src/sdk/ui-meta-builder.js +56 -0
  448. package/script/src/version.d.ts +30 -0
  449. package/script/src/version.d.ts.map +1 -0
  450. package/script/src/version.js +33 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,242 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@mcpview/compose` (published as `@casys/mcp-compose` up to 0.9.1) will be
4
+ documented in this file.
5
+
6
+ ## [Unreleased]
7
+
8
+ ## [0.10.0] - 2026-10-17
9
+
10
+ ### Changed
11
+
12
+ - Renamed from `@casys/mcp-compose` to `@mcpview/compose`. The whole family moves to the `@mcpview`
13
+ scope on JSR and npm (repository `mcpview/mcpview`, site https://mcpview.dev, maintained by
14
+ Casys). Same code and same API: only the dependency and import name change. Version numbers
15
+ continue from 0.9.1, and `@casys/mcp-compose@0.10.0` stays published as a deprecated alias with
16
+ the same `.`, `./core`, `./sdk`, `./host`, `./runtime`, and `./deploy` entry points.
17
+ - The example servers import `@mcpview/server`, and the MCP client identity Compose announces when
18
+ it connects to a panel server (`clientInfo.name`, and the stateless client info) is now
19
+ `@mcpview/compose`.
20
+ - Wire identifiers (`ui://mcp-compose/...`, `io.casys.mcp.*`) are unchanged.
21
+ - See the
22
+ [migration guide](https://github.com/mcpview/mcpview/blob/main/docs/migration/casys-to-mcpview.md).
23
+
24
+ ## [0.9.1] - 2026-09-19
25
+
26
+ ### Changed
27
+
28
+ - Point the example servers and npm repository metadata at the canonical `@casys/mcp-platform`
29
+ package and renamed `Casys-AI/mcp-platform` repository. Existing `@casys/mcp-server` imports
30
+ remain supported by the deprecated compatibility alias; this patch does not remove or narrow that
31
+ compatibility path.
32
+
33
+ ### Fixed
34
+
35
+ - Correct the README integration example to import `composeEvents` and `uiMeta` from
36
+ `@casys/mcp-compose/sdk`, where those helpers are actually exported. Neither the canonical
37
+ framework package nor its `@casys/mcp-server` compatibility alias owns the Compose SDK surface.
38
+
39
+ ## [0.9.0] - 2026-08-31
40
+
41
+ ### Added
42
+
43
+ - Add component event-port catalogs and `portSync` policies. Hosts can keep one stable composition
44
+ policy while Compose connects only distinct active surfaces that advertise both ends, with
45
+ preflight against tool manifests and no payload or identifier transformation.
46
+ - Add an explicit JSON template parser and `.json` loading path for canonical agent-authored
47
+ composition manifests; existing YAML dashboards remain compatible.
48
+
49
+ ### Fixed
50
+
51
+ - Include the licence, README, and changelog in the npm tarball and fail the publish workflow when
52
+ any of those release files is missing.
53
+
54
+ ## [0.8.1] - 2026-08-01
55
+
56
+ ### Added
57
+
58
+ - Add explicit small-component surface negotiation between a Compose host and componentized MCP
59
+ Apps, with safe layout, stable instance identities, default standalone surfaces, and explicit
60
+ unknown-component failures.
61
+ - Support component-only Apps with no standalone default and report `surface-required` when a host
62
+ omits the selection.
63
+
64
+ ### Changed
65
+
66
+ - Keep `ui/compose/event` as the separate viewer-to-viewer event plane while adding component-only
67
+ catalogs.
68
+
69
+ ## [0.7.1] - 2026-07-31
70
+
71
+ ### Fixed
72
+
73
+ - **Nested App framing.** Reviewed `frameAncestors` now propagate to every child MCP App response as
74
+ well as the parent dashboard, so an embedded dashboard works through the complete product-shell
75
+ iframe chain. Invalid CSP sources remain excluded.
76
+
77
+ ## [0.7.0] - 2026-07-31
78
+
79
+ ### Added
80
+
81
+ - **Reviewed dashboard embedding.** `composeAndServeDashboard()` and `serveComposedDashboard()`
82
+ accept `frameAncestors` when a local product shell needs to mount the live dashboard in-place.
83
+ Values are restricted to validated HTTP(S) origins; the default remains `frame-ancestors 'none'`
84
+ so standalone dashboards are not embeddable accidentally.
85
+
86
+ ## [0.6.0] - 2026-07-31
87
+
88
+ ### Added
89
+
90
+ - **Local MCP Apps dashboard host.** `composeAndServeDashboard()` resolves each declared App through
91
+ MCP `resources/read`, serves panels on distinct loopback origins, completes the Apps handshake,
92
+ and delivers the initiating tool result.
93
+ - **Capability-bounded panel proxy.** Each panel may call only the tools explicitly marked
94
+ `appCallable` in its manifest. Resource URIs and child CSP metadata are narrowed before rendering.
95
+ - **Stateless 2026-07-28 transport support.** HTTP manifests can opt into the stateless wire
96
+ contract without initialize, session identifiers, SSE, or guessed `/ui` routes.
97
+
98
+ ## [0.5.2] - 2026-05-09
99
+
100
+ Maintenance release: align with upstream `@modelcontextprotocol/ext-apps` 1.7.x.
101
+
102
+ ### Changed
103
+
104
+ - **Bump `@modelcontextprotocol/ext-apps` `^1.6.0` → `^1.7.1`** — picks up `App.registerTool()` /
105
+ `sendToolListChanged()` (View-side WebMCP-style tool exposure), `App.createSamplingMessage()`, and
106
+ handshake-ordering guards (warn-or-throw via `AppOptions.strict`). Compose only consumes ext-apps
107
+ **types** (see 0.4.1), so the new runtime defaults — notably `allowUnsafeEval: false` with
108
+ `z.config({ jitless: true })` enforced inside the `App` constructor — do not alter compose host
109
+ behaviour. They do affect `@casys/mcp-view`, which wraps the runtime class; cross-check the view
110
+ changelog if you embed both.
111
+
112
+ - **Transitive: `zod` `4.3.6` → `4.4.3`** in `deno.lock`. Single zod family preserved (no duplicate
113
+ zod tree). Pulled in via the ext-apps re-resolution.
114
+
115
+ ## [0.5.1] - 2026-04-19
116
+
117
+ Maintenance release: housekeeping after splitting `view/` into its own workspace package
118
+ (`@casys/mcp-view`). The `compose/view` sub-export was preserved as a re-export shim, so existing
119
+ `@casys/mcp-compose/view` consumers keep working unchanged.
120
+
121
+ ## [0.5.0] - 2026-04-18
122
+
123
+ ### Added
124
+
125
+ - **New sub-export `@casys/mcp-compose/view`: a View-side SDK for SPA MCP Apps.** Lets MCP App
126
+ authors build single-page apps with internal routing instead of `sendMessage(ui/message)`, which
127
+ pollutes the chat thread and triggers Claude's prompt-injection warning. Pattern shifts from
128
+ `[click row] → sendMessage("show details X") → chat → warning → new card` to
129
+ `[click row] → ctx.callTool("get_x") → ctx.navigate("detail") → same iframe`.
130
+
131
+ Public API (`src/view/`): `createMcpApp({ info, root, views, initialView, … })` bootstraps the
132
+ `ui/initialize` handshake via ext-apps `App`; `defineView({ onEnter?, render, onLeave? })`
133
+ expresses view lifecycle; `AppContext { navigate, callTool, capabilities, state, app }` is passed
134
+ to every hook (`callTool` capability-gated on `host.serverTools`); `AppHandle` exposes router
135
+ controls and `dispose()`.
136
+
137
+ Thin wrapper around the ext-apps `App` runtime class — fits the 1-iframe-per-app model perfectly.
138
+ Memory-only routing (no URL / history API: iframes have no address bar). Router serialises
139
+ concurrent `goto()` via promise queue to prevent `onLeave`/`onEnter` interleaving on
140
+ double-clicks. `_currentView` is invalidated between `onLeave` and `onEnter` so a throwing
141
+ `onEnter` cannot corrupt router state. Errors propagate: the router never swallows user-code
142
+ exceptions.
143
+
144
+ Non-goals for 0.5.0 (reachable via `ctx.app` escape hatch; first-class wrappers later):
145
+ `sendMessage`, `updateModelContext`, `requestDisplayMode`, `openLink`, `downloadFile`.
146
+
147
+ Example: `packages/compose/examples/view-basic/` — vanilla list+detail App bundled via esbuild
148
+ into a self-contained ~490KB `index.html`. (No Vite: `import.meta.url` breaks under Vite SSR.)
149
+
150
+ 16 new view/ tests cover handshake, router, capabilities gate, concurrent navigation, dispose
151
+ idempotence.
152
+
153
+ ### Known issues
154
+
155
+ - Bundle weight dominated by `@modelcontextprotocol/sdk` + `zod` pulled transitively through
156
+ ext-apps — not tree-shakeable. Acceptable for single-page MCP Apps; mitigation deferred.
157
+
158
+ ## [0.4.1] - 2026-04-18
159
+
160
+ Spec-alignment release: stop redefining types that the official `@modelcontextprotocol/ext-apps`
161
+ spec already publishes. No behaviour changes.
162
+
163
+ ### Changed
164
+
165
+ - **Consume `@modelcontextprotocol/ext-apps` types directly** — re-export `McpUiToolMeta`,
166
+ `McpUiResourceMeta`, `McpUiResourceCsp`, `McpUiResourcePermissions` from ext-apps instead of
167
+ redefining them locally. `McpUiCsp` / `McpUiPermissions` kept as `@deprecated` aliases for
168
+ backwards compat. `McpToolResult` stays compose-local (loose structural subset).
169
+ `LATEST_PROTOCOL_VERSION` now re-exported as `MCP_APPS_PROTOCOL_VERSION` from ext-apps so the
170
+ protocol version advertised in `ui/initialize` follows the dependency automatically (was hardcoded
171
+ `'2026-01-26'`).
172
+
173
+ Why types-only: ext-apps `App`/`AppBridge` runtime classes target a 1-iframe-per-client model
174
+ incompatible with compose's multi-iframe dashboard architecture. Types-only consumption keeps
175
+ compose Deno-first and avoids pulling Node>=20 runtime deps.
176
+
177
+ ## [0.4.0] - 2026-04-08
178
+
179
+ Cleanup release: removes dead code, fixes version drift, and tightens the MCP Apps host role compose
180
+ plays for embedded apps (stops advertising capabilities it doesn't implement, drops a legacy sync
181
+ path that was bending the spec). No new features.
182
+
183
+ ### Removed
184
+
185
+ - **Dead code: `src/core/renderer/`** — the renderer was moved from `core/` to `host/` in an earlier
186
+ refactor (the renderer generates HTML, which violates `core/`'s "no I/O" rule), but the old
187
+ `core/renderer/` directory was left behind orphaned. The two `html-generator.ts` files had
188
+ diverged and the two `renderer_test.ts` files were mirrored duplicates. Removed the core side
189
+ entirely (contract.md, readme.md, mod.ts, html-generator.ts, renderer_test.ts, css/, js/). Zero
190
+ loss of coverage — the 20 tests in the removed file were symmetric duplicates of the host side.
191
+
192
+ - **`hostContext.sharedContext` field in `ui/initialize` response** — write-only data. Verified by
193
+ grep that nothing in the compose codebase (stubs, SDK, runtime event bus) reads
194
+ `hostContext.sharedContext`; consumers extract `sharedContext` from the `ui/compose/event` message
195
+ params instead. Also fixes a spec drift issue (`McpUiHostContext` in the official ext-apps spec
196
+ doesn't define `sharedContext`, and injecting compose-specific data into an otherwise-standard
197
+ shape could break embedded apps that use strict validators).
198
+
199
+ - **Legacy `ui/update-model-context` sync routing** — the handler was originally written before
200
+ `ui/compose/event` existed, and it bent the spec by using `ui/update-model-context` (whose
201
+ documented intent is "inject content into the LLM's context for the next turn") as a broadcast
202
+ channel for cross-UI sync. The `composeEvents()` SDK from `@casys/mcp-compose/sdk` has been the
203
+ documented migration path for a while. This release removes the legacy handler, the
204
+ `sendToolResult` helper it depended on, and the `ui/notifications/tool-result` forwarding logic.
205
+ Cross-UI sync now routes exclusively through `ui/compose/event`.
206
+
207
+ - **`hostCapabilities.openLinks`** — was advertised but no handler existed for `ui/open-link`
208
+ requests. Embedded apps calling `app.openLink(url)` would have hung or errored silently. Removed
209
+ from the advertised capabilities until a real handler is added.
210
+
211
+ - **`hostCapabilities.updateModelContext`** — same cleanup as above: advertised but the handler was
212
+ routing the method as a sync broadcast rather than injecting into LLM context. Not its documented
213
+ purpose.
214
+
215
+ ### Fixed
216
+
217
+ - **`hostInfo.version` was hardcoded to `'0.1.0'`** in the `ui/initialize` response for the last two
218
+ minor versions (package had been at 0.3.0 for a while). Embedded apps were being told they're
219
+ talking to compose 0.1.0 regardless of the actual package version. Now reads from a new
220
+ `COMPOSE_VERSION` constant in `src/version.ts`, kept in sync with `deno.json` by a drift test
221
+ (`src/version_test.ts`) that fails CI if the two files disagree.
222
+
223
+ - **`scripts/build-npm.ts` hardcoded `version: "0.3.0"`** in the dnt build config — matched
224
+ `deno.json` today but was guaranteed to drift on the next bump. Now reads from `deno.json` via
225
+ `JSON.parse(
226
+ readTextFile(...))` at build time and fails fast if the version is missing. Mirrors
227
+ the same fix from `@casys/mcp-server`'s `scripts/build-node.sh` landed in server v0.14.0.
228
+
229
+ ### Breaking changes
230
+
231
+ Two behaviors changed that may affect consumers on 0.3.x:
232
+
233
+ 1. **`ui/update-model-context` no longer routes sync events.** Consumers who were using raw
234
+ `ui/update-model-context` postMessage calls as a cross-UI broadcast channel (an undocumented
235
+ bending of the spec) will now hit the event bus's "Unknown method" warning. **Migration:** use
236
+ `composeEvents().emit(event, data)` from `@casys/mcp-compose/sdk` instead. Consumers who were
237
+ already using `composeEvents()` are unaffected.
238
+
239
+ 2. **`hostCapabilities.openLinks` and `updateModelContext` are no longer advertised on
240
+ `ui/initialize`.** Consumers who were checking these capabilities via `hostCapabilities`
241
+ introspection will see them absent. This is a correctness fix — neither was actually implemented,
242
+ so any consumer relying on them was already broken in practice.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Casys AI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.