@cardstack/boxel-cli 0.9.0 → 0.10.0-unstable.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 (995) hide show
  1. package/README.md +12 -0
  2. package/bundled-test-harness/assets/account-switch-failed-GCSVbJML.js +23 -0
  3. package/bundled-test-harness/assets/account-switch-failed-GsWni_Gk.css +18 -0
  4. package/bundled-test-harness/assets/account-switch-failed-test-CdZWNths.js +45 -0
  5. package/bundled-test-harness/assets/add-workspace-c7L50Gx8.js +141 -0
  6. package/bundled-test-harness/assets/add-workspace-test-BZxHa6Pe.js +72 -0
  7. package/bundled-test-harness/assets/advanced-color-picker-0pGF-3WG.js +504 -0
  8. package/bundled-test-harness/assets/advanced-color-picker-pbO4HWc_.js +2 -0
  9. package/bundled-test-harness/assets/ai-assistant-test-Dnm4o9vK.js +2211 -0
  10. package/bundled-test-harness/assets/ai-module-creation-test-C6253CMt.js +151 -0
  11. package/bundled-test-harness/assets/aibot-message-miKyGeKk.js +278 -0
  12. package/bundled-test-harness/assets/app-i8pGdQkw.js +22855 -0
  13. package/bundled-test-harness/assets/app-zC7o6PyQ.css +2718 -0
  14. package/bundled-test-harness/assets/audio-file-def-DHnydP0t.js +133 -0
  15. package/bundled-test-harness/assets/auth-container-BP2gSoo4.css +51 -0
  16. package/bundled-test-harness/assets/auth-container-DN94iVfX.js +24 -0
  17. package/bundled-test-harness/assets/avif-meta-extractor-Bo5zRX1V.js +162 -0
  18. package/bundled-test-harness/assets/base64-image-B0RYxzHT.js +2 -0
  19. package/bundled-test-harness/assets/base64-image-Bxjqdwew.js +262 -0
  20. package/bundled-test-harness/assets/big-integer-7RLj5_7H.js +89 -0
  21. package/bundled-test-harness/assets/big-integer-C9sJxKVy.js +2 -0
  22. package/bundled-test-harness/assets/binary-upload-dedupe-test-DZo3EaV0.js +308 -0
  23. package/bundled-test-harness/assets/boolean-CcKPYUph.js +94 -0
  24. package/bundled-test-harness/assets/boolean-DvsSmtM7.js +2 -0
  25. package/bundled-test-harness/assets/brand-functional-palette-KpVSY2Sa.js +137 -0
  26. package/bundled-test-harness/assets/brand-logo-DDiOec0t.js +295 -0
  27. package/bundled-test-harness/assets/broken-link-template-test-DAngUbFJ.js +192 -0
  28. package/bundled-test-harness/assets/bundled-base-C_lumba6.js +254 -0
  29. package/bundled-test-harness/assets/bundled-base-modules-test-CSF7Rl4Z.js +54 -0
  30. package/bundled-test-harness/assets/buried-stack-item-scroll-test-B0J_EP88.js +236 -0
  31. package/bundled-test-harness/assets/bxl-expression-test-Dej7WgI6.js +250 -0
  32. package/bundled-test-harness/assets/can-invoke-test-elyUcOKT.js +401 -0
  33. package/bundled-test-harness/assets/card-api-CjWXCkqh.js +8 -0
  34. package/bundled-test-harness/assets/card-api-Dzje0smT.js +4393 -0
  35. package/bundled-test-harness/assets/card-api-test-DA8d4Ooc.js +198 -0
  36. package/bundled-test-harness/assets/card-basics-test-mp1Odo-l.js +5364 -0
  37. package/bundled-test-harness/assets/card-chooser-paging-test-y8OfboYd.js +235 -0
  38. package/bundled-test-harness/assets/card-chooser-test-nmg2zkDj.js +393 -0
  39. package/bundled-test-harness/assets/card-collection-BXiO3i7R.js +118 -0
  40. package/bundled-test-harness/assets/card-context-search-results-Dbhn7lvW.js +30 -0
  41. package/bundled-test-harness/assets/card-context-search-results-test-DVXT-YC5.js +184 -0
  42. package/bundled-test-harness/assets/card-def-field-def-relationships-test-mX4rxrtO.js +562 -0
  43. package/bundled-test-harness/assets/card-delete-test-BxFsqFnX.js +466 -0
  44. package/bundled-test-harness/assets/card-error-C-7hjxu9.js +72 -0
  45. package/bundled-test-harness/assets/card-error-awaiting-index-test-BvfY2eaW.js +53 -0
  46. package/bundled-test-harness/assets/card-error-detail-nMwopDir.js +271 -0
  47. package/bundled-test-harness/assets/card-info-CTFxdohf.js +2 -0
  48. package/bundled-test-harness/assets/card-list-B9QrkJ97.js +2 -0
  49. package/bundled-test-harness/assets/card-list-XbwLCXZS.js +202 -0
  50. package/bundled-test-harness/assets/card-resource-JGLjQUy6.js +86 -0
  51. package/bundled-test-harness/assets/cards-grid-CWG41hZE.js +344 -0
  52. package/bundled-test-harness/assets/cards-grid-DSpX99p6.js +2 -0
  53. package/bundled-test-harness/assets/cards-grid-layout-Bht0LwZy.js +2 -0
  54. package/bundled-test-harness/assets/cards-grid-layout-CdpKlHUb.js +111 -0
  55. package/bundled-test-harness/assets/check-correctness-test-C4BrUeKA.js +554 -0
  56. package/bundled-test-harness/assets/clip-BEVvLrXx.js +2 -0
  57. package/bundled-test-harness/assets/clip-CoB714qX.js +92 -0
  58. package/bundled-test-harness/assets/code-ref-C2uguisI.js +2 -0
  59. package/bundled-test-harness/assets/code-ref-Cy7sV5a4.js +138 -0
  60. package/bundled-test-harness/assets/code-submode-availability-test-BsA_Ul01.js +198 -0
  61. package/bundled-test-harness/assets/code-submode-test-DkBhpEPB.js +1839 -0
  62. package/bundled-test-harness/assets/codeblocks-test-B1eZ2_JF.js +418 -0
  63. package/bundled-test-harness/assets/codemirror-editor-C6pxSm5y.js +2 -0
  64. package/bundled-test-harness/assets/codemirror-editor-DzM46Cd8.js +701 -0
  65. package/bundled-test-harness/assets/codemirror-embed-toolbar-test-BemP-ZdG.js +366 -0
  66. package/bundled-test-harness/assets/color-C-jGNFWZ.js +2 -0
  67. package/bundled-test-harness/assets/color-field-test-DPIRaBec.js +212 -0
  68. package/bundled-test-harness/assets/color-picker-field-Bv4IjS-d.js +139 -0
  69. package/bundled-test-harness/assets/color-picker-field-D1bYCQIg.js +2 -0
  70. package/bundled-test-harness/assets/color-wheel-picker-IIaCQplL.js +283 -0
  71. package/bundled-test-harness/assets/color-wheel-picker-Kw-UN3kV.js +2 -0
  72. package/bundled-test-harness/assets/color-zzCBneih.js +65 -0
  73. package/bundled-test-harness/assets/command-data-BMBtjT1E.js +95 -0
  74. package/bundled-test-harness/assets/command-data-BXC5Z0oA.js +2 -0
  75. package/bundled-test-harness/assets/compaction-test-CxUKnxlQ.js +150 -0
  76. package/bundled-test-harness/assets/components-Ct_agx0G.js +14294 -0
  77. package/bundled-test-harness/assets/computed-test-C-lpGQQ3.js +1320 -0
  78. package/bundled-test-harness/assets/container-BdPu8rvc.css +5565 -0
  79. package/bundled-test-harness/assets/container-Dj-5prh9.js +11288 -0
  80. package/bundled-test-harness/assets/contains-many-component-CAWqzX8W.js +2 -0
  81. package/bundled-test-harness/assets/contrast-checker-addon-BTLD7oMx.js +2 -0
  82. package/bundled-test-harness/assets/contrast-checker-addon-DBzizR04.js +71 -0
  83. package/bundled-test-harness/assets/convert-to-class-name-test-zZuKxYvF.js +17 -0
  84. package/bundled-test-harness/assets/coordinate-Bw8va6tO.js +48 -0
  85. package/bundled-test-harness/assets/copy-file-to-realm-test-DtCKPzqj.js +148 -0
  86. package/bundled-test-harness/assets/country-B_tWpLlO.js +199 -0
  87. package/bundled-test-harness/assets/create-file-modal-D-VPyEYp.js +570 -0
  88. package/bundled-test-harness/assets/create-listing-modal-test-hyLkQY0u.js +273 -0
  89. package/bundled-test-harness/assets/create-listing-pr-request-test-rjWFA_5S.js +117 -0
  90. package/bundled-test-harness/assets/create-spec-test-HKIxZGxK.js +256 -0
  91. package/bundled-test-harness/assets/create-specs-9-ELVyJP.js +215 -0
  92. package/bundled-test-harness/assets/create-submission-workflow-test-DNZrbRX8.js +132 -0
  93. package/bundled-test-harness/assets/credential-fields-test-xPEdA911.js +157 -0
  94. package/bundled-test-harness/assets/css-value-Du3HL39X.js +48 -0
  95. package/bundled-test-harness/assets/csv-file-def-EHRmilrp.js +277 -0
  96. package/bundled-test-harness/assets/currency-y6ZCHIqG.js +134 -0
  97. package/bundled-test-harness/assets/date-B27PrSFT.js +183 -0
  98. package/bundled-test-harness/assets/date-CiP5Eb9i.js +2 -0
  99. package/bundled-test-harness/assets/date-time-fields-test-Clf5vxRW.js +359 -0
  100. package/bundled-test-harness/assets/datetime-BEbR9YgU.js +201 -0
  101. package/bundled-test-harness/assets/datetime-DPnrt1wl.js +2 -0
  102. package/bundled-test-harness/assets/datetime-stamp-AuT7F7qn.js +2 -0
  103. package/bundled-test-harness/assets/datetime-stamp-CGwP2P3f.js +81 -0
  104. package/bundled-test-harness/assets/day-BFLxZ9bQ.js +2 -0
  105. package/bundled-test-harness/assets/day-CQoEkqgE.js +113 -0
  106. package/bundled-test-harness/assets/debug-message-test-CzgOpfcI.js +117 -0
  107. package/bundled-test-harness/assets/dist-B-fYvxfL.js +389 -0
  108. package/bundled-test-harness/assets/dist-C2IXvIKX.js +323 -0
  109. package/bundled-test-harness/assets/dist-CdNZu43l.js +1710 -0
  110. package/bundled-test-harness/assets/docx-file-def-BQMw460_.js +60 -0
  111. package/bundled-test-harness/assets/docx-meta-extractor-DBlmH_kV.js +60 -0
  112. package/bundled-test-harness/assets/docx-meta-extractor-Dw4gZ0ae.js +2 -0
  113. package/bundled-test-harness/assets/duration-B0SnEiw1.js +184 -0
  114. package/bundled-test-harness/assets/duration-DbjJTFeA.js +2 -0
  115. package/bundled-test-harness/assets/email-C-8cyWiQ.js +80 -0
  116. package/bundled-test-harness/assets/email-field-test-BOBmvQqx.js +75 -0
  117. package/bundled-test-harness/assets/email-xUgCst-p.js +2 -0
  118. package/bundled-test-harness/assets/enum-BWiCyJlu.js +167 -0
  119. package/bundled-test-harness/assets/enum-CzYjivhO.js +2 -0
  120. package/bundled-test-harness/assets/enum-field-test-Bea9EsQR.js +953 -0
  121. package/bundled-test-harness/assets/error-display-test-Cbl2D_0c.js +343 -0
  122. package/bundled-test-harness/assets/ethereum-address-Bw_J05bD.js +78 -0
  123. package/bundled-test-harness/assets/ethereum-address-C9wHMBt3.js +2 -0
  124. package/bundled-test-harness/assets/expiration-warning-BHcJEjZt.js +90 -0
  125. package/bundled-test-harness/assets/expiration-warning-_G8SKZd0.js +2 -0
  126. package/bundled-test-harness/assets/externals-CKblKBo1.js +4393 -0
  127. package/bundled-test-harness/assets/fallback-banner-BqCrvTDt.js +24 -0
  128. package/bundled-test-harness/assets/fallback-banner-live-delete-test-D_AYMvf6.js +207 -0
  129. package/bundled-test-harness/assets/fallback-banner-test-B8Ne9a5g.js +225 -0
  130. package/bundled-test-harness/assets/fallback-banner-test-C7oaSxd1.js +53 -0
  131. package/bundled-test-harness/assets/fallback-models-test-DY-PvU9k.js +161 -0
  132. package/bundled-test-harness/assets/field-component-Bj8YthPE.js +2 -0
  133. package/bundled-test-harness/assets/field-configuration-test-B5LztQ47.js +548 -0
  134. package/bundled-test-harness/assets/field-edit-Cx_haspD.js +36 -0
  135. package/bundled-test-harness/assets/field-edit-DQZWUz3F.js +2 -0
  136. package/bundled-test-harness/assets/field-markdown-domain-test-DnqK3CrE.js +616 -0
  137. package/bundled-test-harness/assets/field-markdown-oversize-test-BEpbXIvl.js +88 -0
  138. package/bundled-test-harness/assets/field-markdown-primitives-test-BDORWoOk.js +365 -0
  139. package/bundled-test-harness/assets/field-markdown-specialized-test-BmIzadYq.js +534 -0
  140. package/bundled-test-harness/assets/field-test-helpers-CRF9-jFw.js +45 -0
  141. package/bundled-test-harness/assets/file-api-DPMJghBY.js +7 -0
  142. package/bundled-test-harness/assets/file-attachment-test-DFLXg3xV.js +796 -0
  143. package/bundled-test-harness/assets/file-chooser-panel-test-B4DzCWkt.js +153 -0
  144. package/bundled-test-harness/assets/file-chooser-test-DpjOWgpB.js +504 -0
  145. package/bundled-test-harness/assets/file-def-edit-Bstl7Kkl.js +2 -0
  146. package/bundled-test-harness/assets/file-def-edit-C1dzJxmQ.js +26 -0
  147. package/bundled-test-harness/assets/file-def-embedded-CUy4G7Vc.js +2 -0
  148. package/bundled-test-harness/assets/file-def-embedded-DJs6P5t0.js +38 -0
  149. package/bundled-test-harness/assets/file-def-fitted-BlrBFfLh.js +38 -0
  150. package/bundled-test-harness/assets/file-def-fitted-Bo5Qfkyf.js +2 -0
  151. package/bundled-test-harness/assets/file-def-isolated-BsHydanv.js +38 -0
  152. package/bundled-test-harness/assets/file-def-isolated-Dp-Lc99-.js +2 -0
  153. package/bundled-test-harness/assets/file-def-serialization-test-CISKpt_o.js +89 -0
  154. package/bundled-test-harness/assets/file-menu-items-7_ltrFZq.js +117 -0
  155. package/bundled-test-harness/assets/file-menu-items-BnRG9ydE.js +2 -0
  156. package/bundled-test-harness/assets/file-preview-stage-CV3qZpiK.js +72 -0
  157. package/bundled-test-harness/assets/file-preview-stage-DTA5X8rX.js +2 -0
  158. package/bundled-test-harness/assets/file-shell-embedded-BpmiVzIG.js +2 -0
  159. package/bundled-test-harness/assets/file-shell-embedded-CEv0-6OE.js +68 -0
  160. package/bundled-test-harness/assets/file-shell-fitted-C6k3GnMc.js +2 -0
  161. package/bundled-test-harness/assets/file-shell-fitted-iSTg3PJa.js +98 -0
  162. package/bundled-test-harness/assets/file-shell-isolated-C-pEod2J.js +195 -0
  163. package/bundled-test-harness/assets/file-shell-isolated-DI9oU7ix.js +2 -0
  164. package/bundled-test-harness/assets/file-tree-from-index-BtOOMqnb.js +151 -0
  165. package/bundled-test-harness/assets/file-tree-from-index-test-T8w3hPw_.js +96 -0
  166. package/bundled-test-harness/assets/film-5n9_gRqZ.js +4074 -0
  167. package/bundled-test-harness/assets/film-Ca2Vzlfu.js +13 -0
  168. package/bundled-test-harness/assets/film-DEvhBbBu.js +2 -0
  169. package/bundled-test-harness/assets/fitted-6OGuHgoU.js +2 -0
  170. package/bundled-test-harness/assets/fitted-B2l1jlSp.js +34 -0
  171. package/bundled-test-harness/assets/flac-meta-extractor-BoJqvmDC.js +99 -0
  172. package/bundled-test-harness/assets/font-file-def-Czzt5paT.js +64 -0
  173. package/bundled-test-harness/assets/font-meta-extractor-DQYT_e5b.js +2 -0
  174. package/bundled-test-harness/assets/font-meta-extractor-IHD-pG8V.js +303 -0
  175. package/bundled-test-harness/assets/formatted-aibot-message-test-Djsl8RzE.js +109 -0
  176. package/bundled-test-harness/assets/from-elsewhere-BXcLYxxu.js +131 -0
  177. package/bundled-test-harness/assets/frontmatter-field-CciolgL3.js +41 -0
  178. package/bundled-test-harness/assets/garbage-collection-test-BTOLAfB6.js +403 -0
  179. package/bundled-test-harness/assets/gauge-C1loqGq3.js +2 -0
  180. package/bundled-test-harness/assets/gauge-u8dxl90d.js +106 -0
  181. package/bundled-test-harness/assets/general-test-Cd5WtVvd.js +926 -0
  182. package/bundled-test-harness/assets/get-relationship-membership-state-test-DJAuhOVM.js +1308 -0
  183. package/bundled-test-harness/assets/gif-meta-extractor-tSaPtuYW.js +114 -0
  184. package/bundled-test-harness/assets/glimmer-motion-and-choreo-in-cards-test-DNSy5l59.js +160 -0
  185. package/bundled-test-harness/assets/glimmer-motion-and-choreo-test-B6BbQxYq.js +74 -0
  186. package/bundled-test-harness/assets/helper-m6jA5HmU.js +478 -0
  187. package/bundled-test-harness/assets/host-submode-test-CsgdksBi.js +1243 -0
  188. package/bundled-test-harness/assets/html-file-def-yKtdMSa-.js +82 -0
  189. package/bundled-test-harness/assets/hydratable-card-CxNfbqly.js +147 -0
  190. package/bundled-test-harness/assets/hydratable-card-test-NJ4CI4ey.js +426 -0
  191. package/bundled-test-harness/assets/icons-B3SAtRoj.js +894 -0
  192. package/bundled-test-harness/assets/image-file-def-B0rpS3Yy.js +3 -0
  193. package/bundled-test-harness/assets/image-file-def-DUFmjNL8.js +65 -0
  194. package/bundled-test-harness/assets/image-olOUqgMQ.js +47 -0
  195. package/bundled-test-harness/assets/index-changes-test-D7OE-99k.js +367 -0
  196. package/bundled-test-harness/assets/index-query-engine-test-BBKqgSmg.js +2593 -0
  197. package/bundled-test-harness/assets/inspector-test-DV6Ms2uz.js +1930 -0
  198. package/bundled-test-harness/assets/instance-filter-matcher-test-Bs4kf7E8.js +788 -0
  199. package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-DIfgRhIN.js +475 -0
  200. package/bundled-test-harness/assets/interact-submode-setup-D4M_e580.js +566 -0
  201. package/bundled-test-harness/assets/is-component-declaration-test-jPGRTVh1.js +50 -0
  202. package/bundled-test-harness/assets/iso-bmff-DHtkSbQM.js +205 -0
  203. package/bundled-test-harness/assets/iso-bmff-zmOHoSVg.js +2 -0
  204. package/bundled-test-harness/assets/isolated-and-edit-BAnwcK1T.js +2 -0
  205. package/bundled-test-harness/assets/job-priority-header-test-7j2f3Dtl.js +81 -0
  206. package/bundled-test-harness/assets/job-scoped-instance-residency-test-DPzVQUL3.js +103 -0
  207. package/bundled-test-harness/assets/join-the-community-Ft5fjeIA.js +86 -0
  208. package/bundled-test-harness/assets/jpg-meta-extractor-Dsq6rZ8F.js +88 -0
  209. package/bundled-test-harness/assets/json-field-CxOZvp3k.js +19 -0
  210. package/bundled-test-harness/assets/json-field-ojdwGD6T.js +2 -0
  211. package/bundled-test-harness/assets/json-file-def-Da_5-zSM.js +298 -0
  212. package/bundled-test-harness/assets/last-modified-date-BnyJsc04.js +43 -0
  213. package/bundled-test-harness/assets/last-modified-date-test-DFl2mo1B.js +28 -0
  214. package/bundled-test-harness/assets/links-to-editor-DO24-71w.js +2 -0
  215. package/bundled-test-harness/assets/links-to-many-component-C7DabwAY.js +2 -0
  216. package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-D4lDhvnQ.js +398 -0
  217. package/bundled-test-harness/assets/linksto-error-sentinel-test-oWgDz00K.js +238 -0
  218. package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-CpSl7zJ7.js +354 -0
  219. package/bundled-test-harness/assets/linksto-many-per-slot-access-test-DJY3J8Xl.js +303 -0
  220. package/bundled-test-harness/assets/linksto-sentinel-reload-test-BxzfoONe.js +197 -0
  221. package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DyE99km_.js +260 -0
  222. package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-dcWAAgxt.js +196 -0
  223. package/bundled-test-harness/assets/llm-model-DrswiczZ.js +64 -0
  224. package/bundled-test-harness/assets/login-C-EIG0-Q.css +543 -0
  225. package/bundled-test-harness/assets/login-CNeL-9IC.js +408 -0
  226. package/bundled-test-harness/assets/login-error-text-test-CEH2tjNP.js +51 -0
  227. package/bundled-test-harness/assets/login-test-BpMx7qwV.js +246 -0
  228. package/bundled-test-harness/assets/m4a-meta-extractor-BJkMHUIK.js +204 -0
  229. package/bundled-test-harness/assets/main-BaUgfpPE.js +5 -0
  230. package/bundled-test-harness/assets/markdown-ByEGbwov.js +7 -0
  231. package/bundled-test-harness/assets/markdown-KJzgTg-A.js +2 -0
  232. package/bundled-test-harness/assets/markdown-editor-mode-select-BUGPXaSE.js +2 -0
  233. package/bundled-test-harness/assets/markdown-editor-mode-select-DBk8dG0O.js +54 -0
  234. package/bundled-test-harness/assets/markdown-embed-chooser-modal-test-BIlEmna9.js +470 -0
  235. package/bundled-test-harness/assets/markdown-embed-preview-pane-test-B6rscKpk.js +447 -0
  236. package/bundled-test-harness/assets/markdown-embed-preview-test-CTQw1wq-.js +368 -0
  237. package/bundled-test-harness/assets/markdown-fallback-BVsco6gJ.js +2 -0
  238. package/bundled-test-harness/assets/markdown-fallback-test-C_CIFEzH.js +316 -0
  239. package/bundled-test-harness/assets/markdown-highlighting-test-D6YvywF5.js +244 -0
  240. package/bundled-test-harness/assets/markdown-preview-1TSMSUv0.js +64 -0
  241. package/bundled-test-harness/assets/markdown-preview-jbuUjLoD.js +72 -0
  242. package/bundled-test-harness/assets/markdown-preview-test-zuU5uoA_.js +238 -0
  243. package/bundled-test-harness/assets/markdown-skill-frontmatter-test-CoicGRkb.js +146 -0
  244. package/bundled-test-harness/assets/menu-items-DZ_uOoYu.js +2 -0
  245. package/bundled-test-harness/assets/message-tool-test-K6LgTq5d.js +33 -0
  246. package/bundled-test-harness/assets/metadata-fields-WiOuUCDl.js +1415 -0
  247. package/bundled-test-harness/assets/metadata-fields-iu5AfQp3.js +2 -0
  248. package/bundled-test-harness/assets/midi-audio-def-CD2-4Wjx.js +52 -0
  249. package/bundled-test-harness/assets/midi-meta-extractor-CE3sLiEV.js +284 -0
  250. package/bundled-test-harness/assets/midi-meta-extractor-O7c8LHYV.js +2 -0
  251. package/bundled-test-harness/assets/migrate-skill-test-Beh-AeSN.js +161 -0
  252. package/bundled-test-harness/assets/mini-BNXINKKF.js +85 -0
  253. package/bundled-test-harness/assets/mini-C43Q4BWp.js +1519 -0
  254. package/bundled-test-harness/assets/mini-card-chooser-test-B1GMp-31.js +272 -0
  255. package/bundled-test-harness/assets/mini-file-chooser-test-CbI1vrQn.js +201 -0
  256. package/bundled-test-harness/assets/missing-template-BPhJRbDs.js +48 -0
  257. package/bundled-test-harness/assets/missing-template-DP-Pi-HQ.js +2 -0
  258. package/bundled-test-harness/assets/modal-KpPz2f8x.js +322 -0
  259. package/bundled-test-harness/assets/modal-container-0Efz_h2z.js +40 -0
  260. package/bundled-test-harness/assets/model-cost-tier-test-D-5VSjh6.js +173 -0
  261. package/bundled-test-harness/assets/module-contents-service-BRkTETb6.js +256 -0
  262. package/bundled-test-harness/assets/moment-Cln59YUK.js +3474 -0
  263. package/bundled-test-harness/assets/monaco-AbHCoDJY.js +143 -0
  264. package/bundled-test-harness/assets/monaco-test-DCPi18sy.js +100 -0
  265. package/bundled-test-harness/assets/monaco-test-waiter-lvFEYpFj.js +190 -0
  266. package/bundled-test-harness/assets/month-1eUIsvWN.js +2 -0
  267. package/bundled-test-harness/assets/month-BeUdWMWQ.js +123 -0
  268. package/bundled-test-harness/assets/month-day-Bbsd8YbR.js +192 -0
  269. package/bundled-test-harness/assets/month-day-Dks5STJu.js +2 -0
  270. package/bundled-test-harness/assets/month-year-pL_rpUhX.js +2 -0
  271. package/bundled-test-harness/assets/month-year-wH_YnYgL.js +93 -0
  272. package/bundled-test-harness/assets/mp3-meta-extractor-C3u34UHM.js +476 -0
  273. package/bundled-test-harness/assets/mp4-meta-extractor-Bj3F7dxs.js +188 -0
  274. package/bundled-test-harness/assets/multiple-stacks-test-mkNdTUMI.js +208 -0
  275. package/bundled-test-harness/assets/nested-query-field-render-test-BQLn3wg9.js +249 -0
  276. package/bundled-test-harness/assets/no-stacks-test-DpwZQAJ-.js +48 -0
  277. package/bundled-test-harness/assets/number-DZa-fHpu.js +151 -0
  278. package/bundled-test-harness/assets/number-Dvua76YP.js +3 -0
  279. package/bundled-test-harness/assets/number-field-test-BiaH2eaB.js +184 -0
  280. package/bundled-test-harness/assets/number-input-D5nDYDkK.js +82 -0
  281. package/bundled-test-harness/assets/office-extract-JzYva33g.js +27 -0
  282. package/bundled-test-harness/assets/office-extract-XMpsyYRh.js +2 -0
  283. package/bundled-test-harness/assets/ogg-meta-extractor-DJosZ9LA.js +225 -0
  284. package/bundled-test-harness/assets/on-key-BBVkS8Bi.js +472 -0
  285. package/bundled-test-harness/assets/ooxml-BlAE2w4d.js +172 -0
  286. package/bundled-test-harness/assets/ooxml-D-p8OmuM.js +2 -0
  287. package/bundled-test-harness/assets/open-image-in-new-tab-test-DWBU5pw9.js +52 -0
  288. package/bundled-test-harness/assets/operation-lowering-test-nzqprueU.js +2812 -0
  289. package/bundled-test-harness/assets/operations-CPvfTuY3.js +766 -0
  290. package/bundled-test-harness/assets/operations-invocation-test-C75T6zn3.js +523 -0
  291. package/bundled-test-harness/assets/operations-query-test-BoCszQEW.js +459 -0
  292. package/bundled-test-harness/assets/operations-test-79ipSnpM.js +2518 -0
  293. package/bundled-test-harness/assets/operations-x3Aw2Nky.js +3 -0
  294. package/bundled-test-harness/assets/operator-mode-acceptance-test-jjsYtt96.js +1188 -0
  295. package/bundled-test-harness/assets/operator-mode-card-chooser-test-hZP9gEQK.js +1036 -0
  296. package/bundled-test-harness/assets/operator-mode-links-test-DN16SuIx.js +793 -0
  297. package/bundled-test-harness/assets/operator-mode-state-service-gwiTSiWX.js +1275 -0
  298. package/bundled-test-harness/assets/operator-mode-state-service-test-Dt2qnKKP.js +206 -0
  299. package/bundled-test-harness/assets/operator-mode-test-BZnnxO9q.js +683 -0
  300. package/bundled-test-harness/assets/operator-mode-ui-test-O--qEo-y.js +1027 -0
  301. package/bundled-test-harness/assets/overlay-menu-items-test-Bl2k0aAa.js +317 -0
  302. package/bundled-test-harness/assets/overlays-CdN_JokA.js +270 -0
  303. package/bundled-test-harness/assets/overlays-clip-test-DpbR1ZTz.js +91 -0
  304. package/bundled-test-harness/assets/overlays-detached-element-test-cLgEGvMs.js +56 -0
  305. package/bundled-test-harness/assets/pane-PYdezM7g.js +330 -0
  306. package/bundled-test-harness/assets/panel-7FDqkxrr.js +474 -0
  307. package/bundled-test-harness/assets/panel-C3E0s49q.js +3540 -0
  308. package/bundled-test-harness/assets/past-sessions-test-BsjEeoze.js +321 -0
  309. package/bundled-test-harness/assets/patch-fields-test-CsixJmSr.js +1014 -0
  310. package/bundled-test-harness/assets/patch-instance-test-CBDgTi0L.js +348 -0
  311. package/bundled-test-harness/assets/pdf-file-def-9VNjnqDa.js +76 -0
  312. package/bundled-test-harness/assets/pdf-meta-extractor-BF4e5kMR.js +156 -0
  313. package/bundled-test-harness/assets/pdf-meta-extractor-D8Bxh2cc.js +2 -0
  314. package/bundled-test-harness/assets/pdf-viewer-Bu413sN8.js +112 -0
  315. package/bundled-test-harness/assets/pdf-viewer-GKDi_xmf.js +2 -0
  316. package/bundled-test-harness/assets/percentage-TOr6qK2T.js +84 -0
  317. package/bundled-test-harness/assets/permission-checking-realm-test-BRNVYszm.js +306 -0
  318. package/bundled-test-harness/assets/phone-number-D5SR8nWu.js +236 -0
  319. package/bundled-test-harness/assets/phone-number-field-test-DffwtqGd.js +73 -0
  320. package/bundled-test-harness/assets/phone-number-hf_xIVGQ.js +2 -0
  321. package/bundled-test-harness/assets/plate-Vojc88hM.js +41 -0
  322. package/bundled-test-harness/assets/plate-dTUzEMj5.js +2 -0
  323. package/bundled-test-harness/assets/player-CmRw0uM5.js +82 -0
  324. package/bundled-test-harness/assets/player-Dt85lPZl.js +2 -0
  325. package/bundled-test-harness/assets/plural-field-components-test-DNpGuH1D.js +198 -0
  326. package/bundled-test-harness/assets/png-image-def-GY7gjqya.js +48 -0
  327. package/bundled-test-harness/assets/png-meta-extractor-4pI611re.js +2 -0
  328. package/bundled-test-harness/assets/png-meta-extractor-CHp_rpAi.js +111 -0
  329. package/bundled-test-harness/assets/policy-scoped-search-test-CipPu7tY.js +339 -0
  330. package/bundled-test-harness/assets/pptx-file-def-lBBiebvn.js +60 -0
  331. package/bundled-test-harness/assets/pptx-meta-extractor-BjJYWiOJ.js +77 -0
  332. package/bundled-test-harness/assets/pptx-meta-extractor-DbT-dPRg.js +2 -0
  333. package/bundled-test-harness/assets/prerender-persistence-block-test-ClHMVvJt.js +124 -0
  334. package/bundled-test-harness/assets/prerender-serialize-cycle-test-LdqaMTK8.js +134 -0
  335. package/bundled-test-harness/assets/preview-CYlam_aW.js +74 -0
  336. package/bundled-test-harness/assets/preview-format-CiSo4kEa.js +41 -0
  337. package/bundled-test-harness/assets/preview-format-test-MsB1TOLB.js +103 -0
  338. package/bundled-test-harness/assets/process-card-B3xBGkv1.js +2 -0
  339. package/bundled-test-harness/assets/process-card-DumVcx9E.js +114 -0
  340. package/bundled-test-harness/assets/process-card-test-C44H8yVy.js +94 -0
  341. package/bundled-test-harness/assets/profile-settings-modal-ipYzrVTz.js +708 -0
  342. package/bundled-test-harness/assets/progress-circle-DJ6WSO2E.js +95 -0
  343. package/bundled-test-harness/assets/progress-circle-q358_9Sn.js +2 -0
  344. package/bundled-test-harness/assets/quarter-BjO5DlU2.js +2 -0
  345. package/bundled-test-harness/assets/quarter-_D72FwfS.js +168 -0
  346. package/bundled-test-harness/assets/query-field-membership-status-test-CzDyfK49.js +323 -0
  347. package/bundled-test-harness/assets/query-field-page-optin-test-B-x3vsmC.js +126 -0
  348. package/bundled-test-harness/assets/query-field-schema-test-DFw6KuYv.js +231 -0
  349. package/bundled-test-harness/assets/query-field-stale-prerender-test-DSQ-cv_O.js +152 -0
  350. package/bundled-test-harness/assets/query-fields-test-DQiMFRCe.js +535 -0
  351. package/bundled-test-harness/assets/rail-CNspDFyn.js +44 -0
  352. package/bundled-test-harness/assets/rail-D2YcQ0VP.js +2 -0
  353. package/bundled-test-harness/assets/realm-82Z5RUM_.js +95 -0
  354. package/bundled-test-harness/assets/realm-config-SgrwqjRu.js +844 -0
  355. package/bundled-test-harness/assets/realm-config-policy-standing-test-C6sQNk2u.js +290 -0
  356. package/bundled-test-harness/assets/realm-config-routing-rule-edit-test-DcYXBlvi.js +274 -0
  357. package/bundled-test-harness/assets/realm-config-settings-test-DblJv06X.js +187 -0
  358. package/bundled-test-harness/assets/realm-dropdown-CDvL8k3B.js +560 -0
  359. package/bundled-test-harness/assets/realm-et890flh.js +2 -0
  360. package/bundled-test-harness/assets/realm-field-test-pBK_x-Xw.js +100 -0
  361. package/bundled-test-harness/assets/realm-indexing-test-DSFn2F8F.js +4380 -0
  362. package/bundled-test-harness/assets/realm-policy-test-DYnLqzTS.js +1141 -0
  363. package/bundled-test-harness/assets/realm-test-DOZT2EG5.js +2363 -0
  364. package/bundled-test-harness/assets/realm-url-tooltip-qaXTjRb-.js +56 -0
  365. package/bundled-test-harness/assets/realm-url-tooltip-test-DGTEeLH9.js +78 -0
  366. package/bundled-test-harness/assets/reasoning-test-BRkhvYjr.js +234 -0
  367. package/bundled-test-harness/assets/recent-colors-addon-BreXcpg8.js +2 -0
  368. package/bundled-test-harness/assets/recent-colors-addon-CmCkbJ2_.js +61 -0
  369. package/bundled-test-harness/assets/relationship-loading-state-test-B6UGYKzG.js +290 -0
  370. package/bundled-test-harness/assets/relative-time-BjHvL023.js +2 -0
  371. package/bundled-test-harness/assets/relative-time-ChYKOMIM.js +129 -0
  372. package/bundled-test-harness/assets/remix-card-test-CpV0kKfq.js +58 -0
  373. package/bundled-test-harness/assets/rendered-markdown-CJa7IzCC.js +263 -0
  374. package/bundled-test-harness/assets/rendered-markdown-test-CVKsHS4P.js +587 -0
  375. package/bundled-test-harness/assets/resident-instance-reuse-test-jQfW1NMn.js +82 -0
  376. package/bundled-test-harness/assets/response-field-B2-daCl2.js +38 -0
  377. package/bundled-test-harness/assets/result-tile-BSg4mzbc.js +140 -0
  378. package/bundled-test-harness/assets/rich-markdown-BtP1yamM.js +2 -0
  379. package/bundled-test-harness/assets/rich-markdown-C6rQUngb.js +218 -0
  380. package/bundled-test-harness/assets/rich-markdown-field-test-9yB6ykCe.js +1647 -0
  381. package/bundled-test-harness/assets/room-C7tKd02X.js +1008 -0
  382. package/bundled-test-harness/assets/room-message-test-DsMmRYpV.js +445 -0
  383. package/bundled-test-harness/assets/room-test-golI1H61.js +95 -0
  384. package/bundled-test-harness/assets/run-realm-code-CbXk6bnK.js +1600 -0
  385. package/bundled-test-harness/assets/run-realm-code-test-B9JeesaW.js +2468 -0
  386. package/bundled-test-harness/assets/schema-generation-test-uLLGm5Vh.js +28 -0
  387. package/bundled-test-harness/assets/score-BQhCQdUP.js +2 -0
  388. package/bundled-test-harness/assets/score-CoWEzENH.js +100 -0
  389. package/bundled-test-harness/assets/scrolling-test-WHWEkKeZ.js +384 -0
  390. package/bundled-test-harness/assets/search-BkQYpQDY.js +605 -0
  391. package/bundled-test-harness/assets/search-adorn-test-CW92JPOk.js +136 -0
  392. package/bundled-test-harness/assets/search-entries-BU4w6Ymc.js +472 -0
  393. package/bundled-test-harness/assets/search-entries-result-test-9eydsDtD.js +234 -0
  394. package/bundled-test-harness/assets/search-entries-test-ByUREx0G.js +1486 -0
  395. package/bundled-test-harness/assets/search-result-header-UFkdo0Bx.js +128 -0
  396. package/bundled-test-harness/assets/search-results-DrHTuVRZ.js +266 -0
  397. package/bundled-test-harness/assets/search-results-test-krtQQM57.js +578 -0
  398. package/bundled-test-harness/assets/search-selection-menu-test-DoqSbez7.js +108 -0
  399. package/bundled-test-harness/assets/search-sheet-persistence-test-4ZPaEY-y.js +131 -0
  400. package/bundled-test-harness/assets/search-test-BYpq32RM.js +2241 -0
  401. package/bundled-test-harness/assets/searchable-BXw4T11q.js +192 -0
  402. package/bundled-test-harness/assets/searchable-CVvPDA3Q.js +2 -0
  403. package/bundled-test-harness/assets/searchable-option-test-BhLFI4ei.js +322 -0
  404. package/bundled-test-harness/assets/searchable-search-doc-test-DrNLCF73.js +1271 -0
  405. package/bundled-test-harness/assets/secure-sign-in-VNQhe0ae.js +130 -0
  406. package/bundled-test-harness/assets/secure-sign-in-Za8PX9cD.css +24 -0
  407. package/bundled-test-harness/assets/secure-sign-in-aunWHCrB.js +73 -0
  408. package/bundled-test-harness/assets/secure-sign-in-test-BcY1TcNd.js +32 -0
  409. package/bundled-test-harness/assets/secure-sign-in-test-DRdz89BT.js +245 -0
  410. package/bundled-test-harness/assets/sending-test-mbHpGZUu.js +576 -0
  411. package/bundled-test-harness/assets/serialization-rri-form-audit-test-nypV9J82.js +136 -0
  412. package/bundled-test-harness/assets/serialization-test-aLwrFv4d.js +8758 -0
  413. package/bundled-test-harness/assets/setup-Dgn0s6Zk.js +772 -0
  414. package/bundled-test-harness/assets/shared-link-target-reuse-test-D9MR2UNc.js +207 -0
  415. package/bundled-test-harness/assets/show-card-Dwfk332M.js +67 -0
  416. package/bundled-test-harness/assets/show-card-test-CRPwwJvc.js +365 -0
  417. package/bundled-test-harness/assets/show-file-DLdFPHMR.js +34 -0
  418. package/bundled-test-harness/assets/signed-capture-DUR9PohQ.js +204 -0
  419. package/bundled-test-harness/assets/signed-capture-link-test-DfTAB6OT.js +132 -0
  420. package/bundled-test-harness/assets/single-stack-test-Crr_8nti.js +652 -0
  421. package/bundled-test-harness/assets/skill-DQ00VonZ.js +3 -0
  422. package/bundled-test-harness/assets/skill-reference-LEitQV9i.js +112 -0
  423. package/bundled-test-harness/assets/skill-yZXS1VHQ.js +76 -0
  424. package/bundled-test-harness/assets/skills-test-D3-C-Dbm.js +648 -0
  425. package/bundled-test-harness/assets/slider-picker-B6AxKL2j.js +245 -0
  426. package/bundled-test-harness/assets/slider-picker-C4Tc5o-s.js +2 -0
  427. package/bundled-test-harness/assets/spec-Cl_LB6nC.js +602 -0
  428. package/bundled-test-harness/assets/spinner-BHFM7zcR.js +39 -0
  429. package/bundled-test-harness/assets/spinner-DvAvsyDT.css +21 -0
  430. package/bundled-test-harness/assets/store-BV6WX8oV.js +2205 -0
  431. package/bundled-test-harness/assets/store-module-rebuild-test-HyphFJiF.js +454 -0
  432. package/bundled-test-harness/assets/store-search-test-nUeJ5opb.js +175 -0
  433. package/bundled-test-harness/assets/store-test-BebUIJAg.js +3460 -0
  434. package/bundled-test-harness/assets/string-BHZZwNlZ.js +9 -0
  435. package/bundled-test-harness/assets/submode-switcher-D-U9cXo0.js +169 -0
  436. package/bundled-test-harness/assets/svg-meta-extractor-BsG4w2nX.js +42 -0
  437. package/bundled-test-harness/assets/swatches-picker-4vFztxHo.js +33 -0
  438. package/bundled-test-harness/assets/swatches-picker-C7RE7uJ8.js +2 -0
  439. package/bundled-test-harness/assets/switch-submode-CuA0Zfjn.js +79 -0
  440. package/bundled-test-harness/assets/switch-submode-test-i1Qic_Cp.js +168 -0
  441. package/bundled-test-harness/assets/tag-CZNs3DPN.js +105 -0
  442. package/bundled-test-harness/assets/tests-BneuP252.js +3523 -0
  443. package/bundled-test-harness/assets/text-area-DAShQQBe.js +9 -0
  444. package/bundled-test-harness/assets/text-file-def-D2Rs6nS1.js +151 -0
  445. package/bundled-test-harness/assets/text-input-validator-test-C9IG-1GZ.js +156 -0
  446. package/bundled-test-harness/assets/theme-Dm8LWaRK.js +9 -0
  447. package/bundled-test-harness/assets/theme-card-test-Cbb6tAap.js +621 -0
  448. package/bundled-test-harness/assets/theme-scheme-island-test-DOVLakx3.js +264 -0
  449. package/bundled-test-harness/assets/three-d-model-def-DWSPQGgD.js +70 -0
  450. package/bundled-test-harness/assets/time--_Txqya1.js +126 -0
  451. package/bundled-test-harness/assets/time-DKD7Bdjd.js +2 -0
  452. package/bundled-test-harness/assets/time-slots-BZaugjq_.js +2 -0
  453. package/bundled-test-harness/assets/time-slots-C85M0rWl.js +85 -0
  454. package/bundled-test-harness/assets/timeline-B3KGDm3M.js +2 -0
  455. package/bundled-test-harness/assets/timeline-BMwgaZZu.js +59 -0
  456. package/bundled-test-harness/assets/to-device-streaming-test-CMp5bFiz.js +163 -0
  457. package/bundled-test-harness/assets/token-usage-test-CXA0b8Ep.js +166 -0
  458. package/bundled-test-harness/assets/tool-field-BGLelnsr.js +94 -0
  459. package/bundled-test-harness/assets/tool-field-BOFuDDt3.js +2 -0
  460. package/bundled-test-harness/assets/tools-CTjy7Aub.js +725 -0
  461. package/bundled-test-harness/assets/tools-calling-test--JR-7AK7.js +200 -0
  462. package/bundled-test-harness/assets/tools-test-6yAW3W5I.js +2820 -0
  463. package/bundled-test-harness/assets/tools-test-DhpMUQkz.js +1624 -0
  464. package/bundled-test-harness/assets/ts-file-def-CDbf8aw2.js +159 -0
  465. package/bundled-test-harness/assets/update-room-skills-test-DoKsS_1C.js +240 -0
  466. package/bundled-test-harness/assets/url-D0ooeJxC.js +2 -0
  467. package/bundled-test-harness/assets/url-mFskVPSX.js +96 -0
  468. package/bundled-test-harness/assets/video-file-def-AcmWqzev.js +76 -0
  469. package/bundled-test-harness/assets/wav-meta-extractor-CbTLruQf.js +368 -0
  470. package/bundled-test-harness/assets/webm-meta-extractor-C9JH-CMX.js +178 -0
  471. package/bundled-test-harness/assets/webp-meta-extractor-C6sHm4J7.js +98 -0
  472. package/bundled-test-harness/assets/website-Bxuk_OmR.js +92 -0
  473. package/bundled-test-harness/assets/week-Bxssxce7.js +2 -0
  474. package/bundled-test-harness/assets/week-DQLj9974.js +111 -0
  475. package/bundled-test-harness/assets/welcome-to-boxel-BH82RsW5.js +172 -0
  476. package/bundled-test-harness/assets/workspace-DJ_s2x4g.js +614 -0
  477. package/bundled-test-harness/assets/workspace-a11y-test-BJbZNgoP.js +197 -0
  478. package/bundled-test-harness/assets/workspace-behavior-test-BLBARTfb.js +200 -0
  479. package/bundled-test-harness/assets/workspace-chooser-BpmlVrVn.js +2219 -0
  480. package/bundled-test-harness/assets/workspace-chooser-CqLR2Dzh.css +1296 -0
  481. package/bundled-test-harness/assets/workspace-chooser-catalog-order-test-CmAVNAWC.js +36 -0
  482. package/bundled-test-harness/assets/workspace-chooser-unreachable-notice-test-DEfG7Uh9.js +60 -0
  483. package/bundled-test-harness/assets/workspace-delete-multiple-test-DE7Z8ooj.js +212 -0
  484. package/bundled-test-harness/assets/workspace-delete-summary-test-CwtG_zLH.js +63 -0
  485. package/bundled-test-harness/assets/workspace-timestamp-labels-test-DFAaRmJW.js +58 -0
  486. package/bundled-test-harness/assets/xlsx-file-def-DcvaRYnZ.js +60 -0
  487. package/bundled-test-harness/assets/xlsx-meta-extractor-0RlViVaf.js +101 -0
  488. package/bundled-test-harness/assets/xlsx-meta-extractor-BH30Vuem.js +2 -0
  489. package/bundled-test-harness/assets/year-B_MBk_hE.js +78 -0
  490. package/bundled-test-harness/assets/year-hSpccI9L.js +2 -0
  491. package/bundled-test-harness/assets/zip-file-def-c84iddi9.js +288 -0
  492. package/bundled-test-harness/index.html +78 -68
  493. package/bundled-test-harness/tests/index.html +78 -68
  494. package/bundled-types/host-app/components/matrix/account-switch-failed.gts +2 -2
  495. package/bundled-types/host-app/components/matrix/auth.gts +2 -2
  496. package/bundled-types/host-app/components/matrix/cli-auth.gts +7 -6
  497. package/bundled-types/host-app/components/matrix/forgot-password.gts +43 -129
  498. package/bundled-types/host-app/components/matrix/login.gts +15 -118
  499. package/bundled-types/host-app/components/matrix/register-user.gts +45 -226
  500. package/bundled-types/host-app/components/matrix/secure-sign-in.gts +235 -0
  501. package/bundled-types/host-app/components/operator-mode/container.gts +13 -1
  502. package/bundled-types/host-app/components/operator-mode/profile-info-popover.gts +1 -1
  503. package/bundled-types/host-app/config/environment.ts +1 -1
  504. package/bundled-types/host-app/lib/secure-sign-in.ts +130 -0
  505. package/bundled-types/host-app/services/matrix-service.ts +46 -0
  506. package/bundled-types/host-app/services/monaco-service.ts +0 -5
  507. package/bundled-types/host-app/utils/login-token.ts +23 -10
  508. package/dist/api.js +1 -1
  509. package/dist/index.js +289 -285
  510. package/package.json +1 -1
  511. package/src/build-program.ts +6 -2
  512. package/src/commands/profile.ts +72 -3
  513. package/src/lib/profile-manager.ts +5 -1
  514. package/src/lib/secure-session.ts +29 -0
  515. package/src/lib/sso-login.ts +94 -15
  516. package/bundled-test-harness/assets/account-switch-failed-B3pr_iC3.js +0 -32
  517. package/bundled-test-harness/assets/account-switch-failed-DTGZZo-G.css +0 -61
  518. package/bundled-test-harness/assets/account-switch-failed-test-9ENVgvlx.js +0 -45
  519. package/bundled-test-harness/assets/add-workspace-BAbk0250.js +0 -141
  520. package/bundled-test-harness/assets/add-workspace-test-ChAja_t-.js +0 -72
  521. package/bundled-test-harness/assets/advanced-color-picker-C-xBFJ2S.js +0 -504
  522. package/bundled-test-harness/assets/advanced-color-picker-bWAmCT-8.js +0 -2
  523. package/bundled-test-harness/assets/ai-assistant-test-BJ9yetuC.js +0 -2211
  524. package/bundled-test-harness/assets/ai-module-creation-test-Bw3TKS9d.js +0 -151
  525. package/bundled-test-harness/assets/aibot-message-DkgHT6eJ.js +0 -465
  526. package/bundled-test-harness/assets/app-DW5QjtRp.js +0 -22816
  527. package/bundled-test-harness/assets/app-yCDjO4mk.css +0 -2718
  528. package/bundled-test-harness/assets/audio-file-def-bJ3cXVmC.js +0 -133
  529. package/bundled-test-harness/assets/avif-meta-extractor-CrSDfYEt.js +0 -162
  530. package/bundled-test-harness/assets/base64-image-C7UBjK5W.js +0 -262
  531. package/bundled-test-harness/assets/base64-image-CjWpxROT.js +0 -2
  532. package/bundled-test-harness/assets/big-integer-BBql7oGZ.js +0 -89
  533. package/bundled-test-harness/assets/big-integer-B_TrzRy_.js +0 -2
  534. package/bundled-test-harness/assets/binary-upload-dedupe-test-BiX8kS7D.js +0 -308
  535. package/bundled-test-harness/assets/boolean-9LNUUTfw.js +0 -2
  536. package/bundled-test-harness/assets/boolean-BAmK01TF.js +0 -94
  537. package/bundled-test-harness/assets/brand-functional-palette-CFuoS-LS.js +0 -137
  538. package/bundled-test-harness/assets/brand-logo-By89eknI.js +0 -295
  539. package/bundled-test-harness/assets/broken-link-template-test-odBriDSP.js +0 -192
  540. package/bundled-test-harness/assets/bundled-base-CLQkkmN4.js +0 -254
  541. package/bundled-test-harness/assets/bundled-base-modules-test-BYrTaTwa.js +0 -54
  542. package/bundled-test-harness/assets/buried-stack-item-scroll-test-DU4bM5nd.js +0 -236
  543. package/bundled-test-harness/assets/bxl-expression-test-Cs9JaZbC.js +0 -250
  544. package/bundled-test-harness/assets/can-invoke-test-ccMc06BU.js +0 -401
  545. package/bundled-test-harness/assets/card-api-Bn65NUT0.js +0 -8
  546. package/bundled-test-harness/assets/card-api-test-COrFXu2i.js +0 -198
  547. package/bundled-test-harness/assets/card-api-u1pOrwS6.js +0 -4393
  548. package/bundled-test-harness/assets/card-basics-test-D4rn3iN-.js +0 -5364
  549. package/bundled-test-harness/assets/card-chooser-paging-test-bZhdrUXt.js +0 -235
  550. package/bundled-test-harness/assets/card-chooser-test-D9w1duob.js +0 -393
  551. package/bundled-test-harness/assets/card-collection-ClCV-__1.js +0 -118
  552. package/bundled-test-harness/assets/card-context-search-results-H_rN3Upz.js +0 -30
  553. package/bundled-test-harness/assets/card-context-search-results-test-jciyaouV.js +0 -184
  554. package/bundled-test-harness/assets/card-def-field-def-relationships-test-BVZoQzM8.js +0 -562
  555. package/bundled-test-harness/assets/card-delete-test-CuLcZFnY.js +0 -466
  556. package/bundled-test-harness/assets/card-error-DIOivSkD.js +0 -72
  557. package/bundled-test-harness/assets/card-error-awaiting-index-test-JMwcRONq.js +0 -53
  558. package/bundled-test-harness/assets/card-error-detail-96jWBx6B.js +0 -271
  559. package/bundled-test-harness/assets/card-info-BxPtwG1h.js +0 -2
  560. package/bundled-test-harness/assets/card-list-B34qY3io.js +0 -2
  561. package/bundled-test-harness/assets/card-list-BpCaKkZJ.js +0 -202
  562. package/bundled-test-harness/assets/card-resource-DcPbIwH9.js +0 -86
  563. package/bundled-test-harness/assets/cards-grid-CTN8nBT_.js +0 -344
  564. package/bundled-test-harness/assets/cards-grid-Cx44vL-M.js +0 -2
  565. package/bundled-test-harness/assets/cards-grid-layout-BdL0Uzxl.js +0 -111
  566. package/bundled-test-harness/assets/cards-grid-layout-Dn8Yb4ma.js +0 -2
  567. package/bundled-test-harness/assets/check-correctness-test-BfMV-MC0.js +0 -554
  568. package/bundled-test-harness/assets/clip-CK6mVuyN.js +0 -92
  569. package/bundled-test-harness/assets/clip-CfXD1JTr.js +0 -2
  570. package/bundled-test-harness/assets/code-ref-85Bih6Zl.js +0 -138
  571. package/bundled-test-harness/assets/code-ref-DATHaoyt.js +0 -2
  572. package/bundled-test-harness/assets/code-submode-availability-test-DLYlx0wo.js +0 -198
  573. package/bundled-test-harness/assets/code-submode-test-CDIi7MjD.js +0 -1824
  574. package/bundled-test-harness/assets/codeblocks-test-CNPyTvuv.js +0 -418
  575. package/bundled-test-harness/assets/codemirror-editor-BPOPTR-f.js +0 -2
  576. package/bundled-test-harness/assets/codemirror-editor-DPhG0pec.js +0 -701
  577. package/bundled-test-harness/assets/codemirror-embed-toolbar-test-Dk5lFOUq.js +0 -366
  578. package/bundled-test-harness/assets/color-BxN5gRSg.js +0 -65
  579. package/bundled-test-harness/assets/color-CrunRcis.js +0 -2
  580. package/bundled-test-harness/assets/color-field-test-COjFIpXV.js +0 -212
  581. package/bundled-test-harness/assets/color-picker-field-C-GS1CIw.js +0 -139
  582. package/bundled-test-harness/assets/color-picker-field-D3RXhbCK.js +0 -2
  583. package/bundled-test-harness/assets/color-wheel-picker-Bz8cBmf4.js +0 -283
  584. package/bundled-test-harness/assets/color-wheel-picker-DrwPrB8B.js +0 -2
  585. package/bundled-test-harness/assets/command-data-BxXgtNBf.js +0 -2
  586. package/bundled-test-harness/assets/command-data-ZdkcpEgG.js +0 -95
  587. package/bundled-test-harness/assets/compaction-test-DS7DTGT_.js +0 -150
  588. package/bundled-test-harness/assets/components-CbCTWAON.js +0 -17777
  589. package/bundled-test-harness/assets/computed-test-D_OrXDtR.js +0 -1320
  590. package/bundled-test-harness/assets/container-DDolu1gk.js +0 -11109
  591. package/bundled-test-harness/assets/container-DndcCIMv.css +0 -5169
  592. package/bundled-test-harness/assets/contains-many-component-BtgnAXih.js +0 -2
  593. package/bundled-test-harness/assets/contrast-checker-addon-kwtLKWdL.js +0 -2
  594. package/bundled-test-harness/assets/contrast-checker-addon-zFY5cen1.js +0 -71
  595. package/bundled-test-harness/assets/convert-to-class-name-test-BcGWl2K1.js +0 -17
  596. package/bundled-test-harness/assets/coordinate-D72EF1Pl.js +0 -48
  597. package/bundled-test-harness/assets/copy-file-to-realm-test-CYoDX4YV.js +0 -148
  598. package/bundled-test-harness/assets/country-B-iIe5v8.js +0 -199
  599. package/bundled-test-harness/assets/create-file-modal-PpvMksjR.js +0 -570
  600. package/bundled-test-harness/assets/create-listing-modal-test-CQtEf_UD.js +0 -273
  601. package/bundled-test-harness/assets/create-listing-pr-request-test-CDtKWyfk.js +0 -117
  602. package/bundled-test-harness/assets/create-spec-test-Cbqk8I9T.js +0 -256
  603. package/bundled-test-harness/assets/create-specs-CZg2cpnh.js +0 -215
  604. package/bundled-test-harness/assets/create-submission-workflow-test-CYrxF7bg.js +0 -132
  605. package/bundled-test-harness/assets/credential-fields-test-Di4jCJgU.js +0 -157
  606. package/bundled-test-harness/assets/css-value-CceJyI5o.js +0 -48
  607. package/bundled-test-harness/assets/csv-file-def-DJL2aZI9.js +0 -277
  608. package/bundled-test-harness/assets/currency-Bn5WIqzF.js +0 -134
  609. package/bundled-test-harness/assets/date-XI2CVYA2.js +0 -2
  610. package/bundled-test-harness/assets/date-h83UJcFR.js +0 -183
  611. package/bundled-test-harness/assets/date-time-fields-test-Cterr2mj.js +0 -359
  612. package/bundled-test-harness/assets/datetime-DadI80tC.js +0 -201
  613. package/bundled-test-harness/assets/datetime-Dpb_Sejj.js +0 -2
  614. package/bundled-test-harness/assets/datetime-stamp-C4vv397u.js +0 -81
  615. package/bundled-test-harness/assets/datetime-stamp-DIsJdQux.js +0 -2
  616. package/bundled-test-harness/assets/day-C4pZoGNM.js +0 -113
  617. package/bundled-test-harness/assets/day-D0goBhKb.js +0 -2
  618. package/bundled-test-harness/assets/debug-message-test-CV0sj-fl.js +0 -117
  619. package/bundled-test-harness/assets/dist-CAIttNZm.js +0 -1710
  620. package/bundled-test-harness/assets/dist-CLbqnmnm.js +0 -389
  621. package/bundled-test-harness/assets/dist-qkBOmIQy.js +0 -323
  622. package/bundled-test-harness/assets/docx-file-def-hz2tVQKf.js +0 -60
  623. package/bundled-test-harness/assets/docx-meta-extractor-CeRshlxL.js +0 -60
  624. package/bundled-test-harness/assets/docx-meta-extractor-muK5CKF3.js +0 -2
  625. package/bundled-test-harness/assets/duration-BYx1dLfm.js +0 -2
  626. package/bundled-test-harness/assets/duration-FAmTFeUa.js +0 -184
  627. package/bundled-test-harness/assets/email-D-bFy_C1.js +0 -80
  628. package/bundled-test-harness/assets/email-field-test-CY9K2zur.js +0 -75
  629. package/bundled-test-harness/assets/email-j4DZNH2-.js +0 -2
  630. package/bundled-test-harness/assets/enum-B7_baAn_.js +0 -167
  631. package/bundled-test-harness/assets/enum-BQqNzVQS.js +0 -2
  632. package/bundled-test-harness/assets/enum-field-test-BJ9Epz15.js +0 -953
  633. package/bundled-test-harness/assets/error-display-test-CbDWjJ2F.js +0 -343
  634. package/bundled-test-harness/assets/ethereum-address-BOLEnKsm.js +0 -78
  635. package/bundled-test-harness/assets/ethereum-address-s3Kvb2wG.js +0 -2
  636. package/bundled-test-harness/assets/expiration-warning-BaIP1MOZ.js +0 -2
  637. package/bundled-test-harness/assets/expiration-warning-gjEtxPk0.js +0 -90
  638. package/bundled-test-harness/assets/externals-Bih8ejPS.js +0 -4393
  639. package/bundled-test-harness/assets/fallback-banner-MlImHjSD.js +0 -24
  640. package/bundled-test-harness/assets/fallback-banner-live-delete-test-Bm7IKXPf.js +0 -207
  641. package/bundled-test-harness/assets/fallback-banner-test-C7TGA0Ob.js +0 -53
  642. package/bundled-test-harness/assets/fallback-banner-test-lvuaVRXu.js +0 -225
  643. package/bundled-test-harness/assets/fallback-models-test-Dy7iIKUS.js +0 -161
  644. package/bundled-test-harness/assets/field-component-DBoOxTke.js +0 -2
  645. package/bundled-test-harness/assets/field-configuration-test-DnAnzyC-.js +0 -548
  646. package/bundled-test-harness/assets/field-edit-DdJ8Akso.js +0 -2
  647. package/bundled-test-harness/assets/field-edit-XAop92l8.js +0 -36
  648. package/bundled-test-harness/assets/field-markdown-domain-test-cZCqbcjj.js +0 -616
  649. package/bundled-test-harness/assets/field-markdown-oversize-test-BuATetVz.js +0 -88
  650. package/bundled-test-harness/assets/field-markdown-primitives-test-BsubQfhv.js +0 -365
  651. package/bundled-test-harness/assets/field-markdown-specialized-test-4eNLiYpF.js +0 -534
  652. package/bundled-test-harness/assets/field-test-helpers-9I7cHnaU.js +0 -45
  653. package/bundled-test-harness/assets/file-api-CC86I7Er.js +0 -7
  654. package/bundled-test-harness/assets/file-attachment-test-o9191GMb.js +0 -796
  655. package/bundled-test-harness/assets/file-chooser-panel-test-C8aZuJlk.js +0 -153
  656. package/bundled-test-harness/assets/file-chooser-test-B0Tn8CCR.js +0 -504
  657. package/bundled-test-harness/assets/file-def-edit-BSiF2Lje.js +0 -2
  658. package/bundled-test-harness/assets/file-def-edit-C5TYBp_q.js +0 -26
  659. package/bundled-test-harness/assets/file-def-embedded-BLVTCiVB.js +0 -2
  660. package/bundled-test-harness/assets/file-def-embedded-Bep4iD6s.js +0 -38
  661. package/bundled-test-harness/assets/file-def-fitted-BTs-AS78.js +0 -2
  662. package/bundled-test-harness/assets/file-def-fitted-DcPitdYu.js +0 -38
  663. package/bundled-test-harness/assets/file-def-isolated-Kg1YVhm-.js +0 -38
  664. package/bundled-test-harness/assets/file-def-isolated-tK5JWCam.js +0 -2
  665. package/bundled-test-harness/assets/file-def-serialization-test-D4wnd5XK.js +0 -89
  666. package/bundled-test-harness/assets/file-menu-items-CH4-naSK.js +0 -117
  667. package/bundled-test-harness/assets/file-menu-items-emUxx3ZI.js +0 -2
  668. package/bundled-test-harness/assets/file-preview-stage-B1McIWwu.js +0 -2
  669. package/bundled-test-harness/assets/file-preview-stage-BgZLNMN4.js +0 -72
  670. package/bundled-test-harness/assets/file-shell-embedded-BmfuwWfU.js +0 -2
  671. package/bundled-test-harness/assets/file-shell-embedded-zh8CJanA.js +0 -68
  672. package/bundled-test-harness/assets/file-shell-fitted-DSFUNRGJ.js +0 -2
  673. package/bundled-test-harness/assets/file-shell-fitted-DXKDH0fn.js +0 -98
  674. package/bundled-test-harness/assets/file-shell-isolated-0F1MFv4q.js +0 -2
  675. package/bundled-test-harness/assets/file-shell-isolated-DduZZzmi.js +0 -195
  676. package/bundled-test-harness/assets/file-tree-from-index-BzDvvUHy.js +0 -151
  677. package/bundled-test-harness/assets/file-tree-from-index-test-D0hfI4a1.js +0 -96
  678. package/bundled-test-harness/assets/film-BN_HVXBU.js +0 -13
  679. package/bundled-test-harness/assets/film-CKkbUi0L.js +0 -2
  680. package/bundled-test-harness/assets/film-CMNJITZ-.js +0 -4074
  681. package/bundled-test-harness/assets/fitted-CAvdcKpu.js +0 -34
  682. package/bundled-test-harness/assets/fitted-CbKOwd1u.js +0 -2
  683. package/bundled-test-harness/assets/flac-meta-extractor-e8qajPSl.js +0 -99
  684. package/bundled-test-harness/assets/font-file-def-9atde5W8.js +0 -64
  685. package/bundled-test-harness/assets/font-meta-extractor-IralDC8M.js +0 -303
  686. package/bundled-test-harness/assets/font-meta-extractor-zPBVOfoR.js +0 -2
  687. package/bundled-test-harness/assets/formatted-aibot-message-test-CWOiZUng.js +0 -109
  688. package/bundled-test-harness/assets/from-elsewhere-ChxbtsBa.js +0 -131
  689. package/bundled-test-harness/assets/frontmatter-field-cdig7KR9.js +0 -41
  690. package/bundled-test-harness/assets/garbage-collection-test-Dg-ww_Sb.js +0 -403
  691. package/bundled-test-harness/assets/gauge-B45nLOGe.js +0 -106
  692. package/bundled-test-harness/assets/gauge-BK-768BM.js +0 -2
  693. package/bundled-test-harness/assets/general-test-D7cn7PUr.js +0 -926
  694. package/bundled-test-harness/assets/get-relationship-membership-state-test-Skmj9V6y.js +0 -1308
  695. package/bundled-test-harness/assets/gif-meta-extractor-BychhK9q.js +0 -114
  696. package/bundled-test-harness/assets/glimmer-motion-and-choreo-in-cards-test-C09YUmk4.js +0 -160
  697. package/bundled-test-harness/assets/glimmer-motion-and-choreo-test-DYskx_Kk.js +0 -74
  698. package/bundled-test-harness/assets/helper-BHX0HLF2.js +0 -478
  699. package/bundled-test-harness/assets/host-submode-test-Clw_QnvF.js +0 -1243
  700. package/bundled-test-harness/assets/html-file-def-C0P9giwU.js +0 -82
  701. package/bundled-test-harness/assets/hydratable-card-DnjrxKsT.js +0 -147
  702. package/bundled-test-harness/assets/hydratable-card-test-BAmWHfv1.js +0 -426
  703. package/bundled-test-harness/assets/icons-DBXBZgLe.js +0 -894
  704. package/bundled-test-harness/assets/image-Cip6ojDd.js +0 -47
  705. package/bundled-test-harness/assets/image-file-def-BdQxjZcN.js +0 -65
  706. package/bundled-test-harness/assets/image-file-def-DP4aqWcS.js +0 -3
  707. package/bundled-test-harness/assets/index-changes-test-D8b_56Ke.js +0 -367
  708. package/bundled-test-harness/assets/index-query-engine-test-CCyaUwMX.js +0 -2593
  709. package/bundled-test-harness/assets/inspector-test-BJTVGdOO.js +0 -1930
  710. package/bundled-test-harness/assets/instance-filter-matcher-test-DjsPrXL7.js +0 -788
  711. package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-DSqM0vxh.js +0 -475
  712. package/bundled-test-harness/assets/interact-submode-setup-DF31UMX-.js +0 -566
  713. package/bundled-test-harness/assets/is-component-declaration-test-Did47eG9.js +0 -50
  714. package/bundled-test-harness/assets/iso-bmff-LuWkGL__.js +0 -205
  715. package/bundled-test-harness/assets/iso-bmff-_flO6c20.js +0 -2
  716. package/bundled-test-harness/assets/isolated-and-edit-frocLHin.js +0 -2
  717. package/bundled-test-harness/assets/job-priority-header-test-DHLAXfp7.js +0 -81
  718. package/bundled-test-harness/assets/job-scoped-instance-residency-test-C1Bt5j98.js +0 -103
  719. package/bundled-test-harness/assets/join-the-community-BBUSO2cs.js +0 -86
  720. package/bundled-test-harness/assets/jpg-meta-extractor-CoybO4Hq.js +0 -88
  721. package/bundled-test-harness/assets/json-field-8sdH5RQb.js +0 -2
  722. package/bundled-test-harness/assets/json-field-BDD3iTUh.js +0 -19
  723. package/bundled-test-harness/assets/json-file-def-BKibsfc6.js +0 -298
  724. package/bundled-test-harness/assets/last-modified-date-CR5jru2m.js +0 -43
  725. package/bundled-test-harness/assets/last-modified-date-test-jJ00YdTm.js +0 -28
  726. package/bundled-test-harness/assets/links-to-editor-rDoCYaN-.js +0 -2
  727. package/bundled-test-harness/assets/links-to-many-component-BqZT88Fb.js +0 -2
  728. package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-Cp1Eb_4U.js +0 -398
  729. package/bundled-test-harness/assets/linksto-error-sentinel-test-Bddavnh_.js +0 -238
  730. package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-c5WegXnR.js +0 -354
  731. package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CWskzfGW.js +0 -303
  732. package/bundled-test-harness/assets/linksto-sentinel-reload-test-ByeVNhr8.js +0 -197
  733. package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DP26i6Gb.js +0 -260
  734. package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-fDUXx8tO.js +0 -196
  735. package/bundled-test-harness/assets/llm-model-BcLEkTV7.js +0 -64
  736. package/bundled-test-harness/assets/login-CeuuNVvU.css +0 -139
  737. package/bundled-test-harness/assets/login-DV0WlJv-.js +0 -348
  738. package/bundled-test-harness/assets/login-error-text-test-BMGY_9gW.js +0 -51
  739. package/bundled-test-harness/assets/login-test-CL9YpMH5.js +0 -246
  740. package/bundled-test-harness/assets/m4a-meta-extractor-CHO1JQtb.js +0 -204
  741. package/bundled-test-harness/assets/main-CPLT8JNu.js +0 -5
  742. package/bundled-test-harness/assets/markdown-BvBALLGh.js +0 -7
  743. package/bundled-test-harness/assets/markdown-DFezmrFD.js +0 -2
  744. package/bundled-test-harness/assets/markdown-editor-mode-select-Au64bcIO.js +0 -2
  745. package/bundled-test-harness/assets/markdown-editor-mode-select-rK9PP8rv.js +0 -54
  746. package/bundled-test-harness/assets/markdown-embed-chooser-modal-test-CIxizf5k.js +0 -470
  747. package/bundled-test-harness/assets/markdown-embed-preview-pane-test-C7GoNN7l.js +0 -447
  748. package/bundled-test-harness/assets/markdown-embed-preview-test-CDnj4uhd.js +0 -368
  749. package/bundled-test-harness/assets/markdown-fallback-n7PsLNmO.js +0 -2
  750. package/bundled-test-harness/assets/markdown-fallback-test-DTHT6OwQ.js +0 -316
  751. package/bundled-test-harness/assets/markdown-highlighting-test-DJ-4WSE_.js +0 -244
  752. package/bundled-test-harness/assets/markdown-preview-Ccelx5W-.js +0 -64
  753. package/bundled-test-harness/assets/markdown-preview-JXuMC_ve.js +0 -72
  754. package/bundled-test-harness/assets/markdown-preview-test-ByZqrpPk.js +0 -238
  755. package/bundled-test-harness/assets/markdown-skill-frontmatter-test-DAHGeL4K.js +0 -146
  756. package/bundled-test-harness/assets/menu-items-DzJm9H_H.js +0 -2
  757. package/bundled-test-harness/assets/message-tool-test-lmdrIEdY.js +0 -33
  758. package/bundled-test-harness/assets/metadata-fields-BZZr4Qe5.js +0 -2
  759. package/bundled-test-harness/assets/metadata-fields-BtdjGsKE.js +0 -1415
  760. package/bundled-test-harness/assets/midi-audio-def-uYbYFmFi.js +0 -52
  761. package/bundled-test-harness/assets/midi-meta-extractor-DNI5gc1q.js +0 -284
  762. package/bundled-test-harness/assets/midi-meta-extractor-DbKZ4fMG.js +0 -2
  763. package/bundled-test-harness/assets/migrate-skill-test-DI1xceiL.js +0 -161
  764. package/bundled-test-harness/assets/mini-CNoDyHqG.js +0 -1519
  765. package/bundled-test-harness/assets/mini-DexlIeKK.js +0 -85
  766. package/bundled-test-harness/assets/mini-card-chooser-test-DT5eIf1_.js +0 -272
  767. package/bundled-test-harness/assets/mini-file-chooser-test-DTQnKTZJ.js +0 -201
  768. package/bundled-test-harness/assets/missing-template-DL2mwddM.js +0 -2
  769. package/bundled-test-harness/assets/missing-template-ltqlJ4JC.js +0 -48
  770. package/bundled-test-harness/assets/modal-container-DRnt95-S.js +0 -40
  771. package/bundled-test-harness/assets/modal-zE95eEFp.js +0 -322
  772. package/bundled-test-harness/assets/model-cost-tier-test-CcFz7hcv.js +0 -173
  773. package/bundled-test-harness/assets/module-contents-service-Dk_zWt-V.js +0 -256
  774. package/bundled-test-harness/assets/month-BqReBYWo.js +0 -2
  775. package/bundled-test-harness/assets/month-RhvmIp40.js +0 -123
  776. package/bundled-test-harness/assets/month-day-XFAQA72z.js +0 -2
  777. package/bundled-test-harness/assets/month-day-XzKpk6nz.js +0 -192
  778. package/bundled-test-harness/assets/month-year-BeuNr2Cl.js +0 -2
  779. package/bundled-test-harness/assets/month-year-DhU7hATV.js +0 -93
  780. package/bundled-test-harness/assets/mp3-meta-extractor-Dx2RnJc5.js +0 -476
  781. package/bundled-test-harness/assets/mp4-meta-extractor--k0m8KsT.js +0 -188
  782. package/bundled-test-harness/assets/multiple-stacks-test-bC24IWcJ.js +0 -208
  783. package/bundled-test-harness/assets/nested-query-field-render-test-qxElXx1e.js +0 -249
  784. package/bundled-test-harness/assets/no-stacks-test-Br7IGAgV.js +0 -48
  785. package/bundled-test-harness/assets/number-73SsCMEF.js +0 -3
  786. package/bundled-test-harness/assets/number-CicTBWQd.js +0 -151
  787. package/bundled-test-harness/assets/number-field-test-kV5zXo1J.js +0 -184
  788. package/bundled-test-harness/assets/number-input-CQy4xUeA.js +0 -82
  789. package/bundled-test-harness/assets/office-extract-Bo8sbNkK.js +0 -27
  790. package/bundled-test-harness/assets/office-extract-CfBaoRMD.js +0 -2
  791. package/bundled-test-harness/assets/ogg-meta-extractor-aIf5q_Rq.js +0 -225
  792. package/bundled-test-harness/assets/on-key-C8acaldQ.js +0 -472
  793. package/bundled-test-harness/assets/ooxml-Bu3iZezv.js +0 -172
  794. package/bundled-test-harness/assets/ooxml-jQPBQK25.js +0 -2
  795. package/bundled-test-harness/assets/open-image-in-new-tab-test-CP7q3kMm.js +0 -52
  796. package/bundled-test-harness/assets/operation-lowering-test-9Mdr0hRT.js +0 -2812
  797. package/bundled-test-harness/assets/operations-R9b661Qn.js +0 -3
  798. package/bundled-test-harness/assets/operations-Zv_V3Api.js +0 -766
  799. package/bundled-test-harness/assets/operations-invocation-test-BJPpWb2H.js +0 -523
  800. package/bundled-test-harness/assets/operations-query-test-DufdmPQF.js +0 -459
  801. package/bundled-test-harness/assets/operations-test-CzT051YH.js +0 -2518
  802. package/bundled-test-harness/assets/operator-mode-acceptance-test-ByOIOcD0.js +0 -1188
  803. package/bundled-test-harness/assets/operator-mode-card-chooser-test-CNhR9mvv.js +0 -1036
  804. package/bundled-test-harness/assets/operator-mode-links-test-CuxSVTPR.js +0 -793
  805. package/bundled-test-harness/assets/operator-mode-state-service-CCeHt5SH.js +0 -1275
  806. package/bundled-test-harness/assets/operator-mode-state-service-test-C8TI9WWg.js +0 -206
  807. package/bundled-test-harness/assets/operator-mode-test-DG-mG8Tn.js +0 -683
  808. package/bundled-test-harness/assets/operator-mode-ui-test-DB7xhjS0.js +0 -1027
  809. package/bundled-test-harness/assets/overlay-menu-items-test-C6rcdF_S.js +0 -317
  810. package/bundled-test-harness/assets/overlays-D2zmPxzK.js +0 -270
  811. package/bundled-test-harness/assets/overlays-clip-test-Clpq3JzQ.js +0 -91
  812. package/bundled-test-harness/assets/overlays-detached-element-test-BtsTeJch.js +0 -56
  813. package/bundled-test-harness/assets/pane-f-IYhcWT.js +0 -330
  814. package/bundled-test-harness/assets/panel-B3PCSBbf.js +0 -3540
  815. package/bundled-test-harness/assets/panel-Ban7zCBP.js +0 -474
  816. package/bundled-test-harness/assets/past-sessions-test-uM2m-oKV.js +0 -321
  817. package/bundled-test-harness/assets/patch-fields-test-COPjDhnt.js +0 -1014
  818. package/bundled-test-harness/assets/patch-instance-test-CRb3dfby.js +0 -348
  819. package/bundled-test-harness/assets/pdf-file-def-J_yOUU8_.js +0 -76
  820. package/bundled-test-harness/assets/pdf-meta-extractor-83T5Bdo7.js +0 -156
  821. package/bundled-test-harness/assets/pdf-meta-extractor-INFIklMy.js +0 -2
  822. package/bundled-test-harness/assets/pdf-viewer-B4rRluWA.js +0 -2
  823. package/bundled-test-harness/assets/pdf-viewer-vYem8ozk.js +0 -112
  824. package/bundled-test-harness/assets/percentage-ChagfNRG.js +0 -84
  825. package/bundled-test-harness/assets/permission-checking-realm-test-Dmb2a428.js +0 -306
  826. package/bundled-test-harness/assets/phone-number-BiD2eaSd.js +0 -236
  827. package/bundled-test-harness/assets/phone-number-C-wt4_UK.js +0 -2
  828. package/bundled-test-harness/assets/phone-number-field-test-BHzAmuBP.js +0 -73
  829. package/bundled-test-harness/assets/plate-CqN2nM6P.js +0 -41
  830. package/bundled-test-harness/assets/plate-DaIfpORN.js +0 -2
  831. package/bundled-test-harness/assets/player-CGt5fTd5.js +0 -2
  832. package/bundled-test-harness/assets/player-CN0l44LK.js +0 -82
  833. package/bundled-test-harness/assets/plural-field-components-test-CO2g2opW.js +0 -198
  834. package/bundled-test-harness/assets/png-image-def-B_oou2wS.js +0 -48
  835. package/bundled-test-harness/assets/png-meta-extractor-BfPz1qP_.js +0 -2
  836. package/bundled-test-harness/assets/png-meta-extractor-C8ai8sPw.js +0 -111
  837. package/bundled-test-harness/assets/policy-scoped-search-test-BRRp2a1A.js +0 -339
  838. package/bundled-test-harness/assets/pptx-file-def-C3qYEHDM.js +0 -60
  839. package/bundled-test-harness/assets/pptx-meta-extractor-8IuoBq4I.js +0 -77
  840. package/bundled-test-harness/assets/pptx-meta-extractor-BPhy9RMM.js +0 -2
  841. package/bundled-test-harness/assets/prerender-persistence-block-test-Cteb_Rs_.js +0 -124
  842. package/bundled-test-harness/assets/prerender-serialize-cycle-test-CH7b6Ra9.js +0 -134
  843. package/bundled-test-harness/assets/preview-CmERZpI6.js +0 -74
  844. package/bundled-test-harness/assets/preview-format-BPMlCSbb.js +0 -41
  845. package/bundled-test-harness/assets/preview-format-test-B7sA8fbZ.js +0 -103
  846. package/bundled-test-harness/assets/process-card-CtDzDB-_.js +0 -2
  847. package/bundled-test-harness/assets/process-card-erbWKY5h.js +0 -114
  848. package/bundled-test-harness/assets/process-card-test-DXOt1jDW.js +0 -94
  849. package/bundled-test-harness/assets/profile-settings-modal-11BrR058.js +0 -708
  850. package/bundled-test-harness/assets/progress-circle-Cd79Zqh2.js +0 -2
  851. package/bundled-test-harness/assets/progress-circle-sc-W5aUl.js +0 -95
  852. package/bundled-test-harness/assets/quarter-B61kCpcD.js +0 -168
  853. package/bundled-test-harness/assets/quarter-d5jkTzcz.js +0 -2
  854. package/bundled-test-harness/assets/query-field-membership-status-test-BmpVfohw.js +0 -323
  855. package/bundled-test-harness/assets/query-field-page-optin-test-9_Cce-OJ.js +0 -126
  856. package/bundled-test-harness/assets/query-field-schema-test-CwV7xanX.js +0 -231
  857. package/bundled-test-harness/assets/query-field-stale-prerender-test-RkdnZ-VV.js +0 -152
  858. package/bundled-test-harness/assets/query-fields-test-BLxYkTAM.js +0 -535
  859. package/bundled-test-harness/assets/rail-CFPU0tFe.js +0 -2
  860. package/bundled-test-harness/assets/rail-CQ53Dakr.js +0 -44
  861. package/bundled-test-harness/assets/realm-DdVH9lSZ.js +0 -95
  862. package/bundled-test-harness/assets/realm-DdsFw3b-.js +0 -2
  863. package/bundled-test-harness/assets/realm-config-DIslxoB7.js +0 -844
  864. package/bundled-test-harness/assets/realm-config-policy-standing-test-b4WxNDor.js +0 -290
  865. package/bundled-test-harness/assets/realm-config-routing-rule-edit-test-C-rcvkkD.js +0 -274
  866. package/bundled-test-harness/assets/realm-config-settings-test-DDUkM3zw.js +0 -187
  867. package/bundled-test-harness/assets/realm-dropdown-1j55Dy-1.js +0 -560
  868. package/bundled-test-harness/assets/realm-field-test-D-uEtFKO.js +0 -100
  869. package/bundled-test-harness/assets/realm-indexing-test-U9m0epR-.js +0 -4380
  870. package/bundled-test-harness/assets/realm-policy-test-DhKabhlk.js +0 -1141
  871. package/bundled-test-harness/assets/realm-test-BX6C9SS5.js +0 -2363
  872. package/bundled-test-harness/assets/realm-url-tooltip-BjjcKqBx.js +0 -56
  873. package/bundled-test-harness/assets/realm-url-tooltip-test-DW0ZwEEE.js +0 -78
  874. package/bundled-test-harness/assets/reasoning-test-BWT94KXG.js +0 -234
  875. package/bundled-test-harness/assets/recent-colors-addon-CfgmgilF.js +0 -61
  876. package/bundled-test-harness/assets/recent-colors-addon-D--Ry3Pf.js +0 -2
  877. package/bundled-test-harness/assets/relationship-loading-state-test-C5R6jao_.js +0 -290
  878. package/bundled-test-harness/assets/relative-time-Bq7pqums.js +0 -2
  879. package/bundled-test-harness/assets/relative-time-D0QyW4ig.js +0 -129
  880. package/bundled-test-harness/assets/remix-card-test-Cy0h3Xdf.js +0 -58
  881. package/bundled-test-harness/assets/rendered-markdown-Hw_EF8SO.js +0 -263
  882. package/bundled-test-harness/assets/rendered-markdown-test-CqeF-UZd.js +0 -587
  883. package/bundled-test-harness/assets/resident-instance-reuse-test-BiI6L40n.js +0 -82
  884. package/bundled-test-harness/assets/response-field-BCxG5phG.js +0 -38
  885. package/bundled-test-harness/assets/result-tile-DMzRnTP8.js +0 -140
  886. package/bundled-test-harness/assets/rich-markdown-C4RUl7L0.js +0 -2
  887. package/bundled-test-harness/assets/rich-markdown-DxQSCg-o.js +0 -218
  888. package/bundled-test-harness/assets/rich-markdown-field-test-B7wpedKs.js +0 -1647
  889. package/bundled-test-harness/assets/room-D0M0Zwrs.js +0 -1008
  890. package/bundled-test-harness/assets/room-message-test-BWWd4xC8.js +0 -445
  891. package/bundled-test-harness/assets/room-test-DFH-nOwi.js +0 -95
  892. package/bundled-test-harness/assets/run-realm-code-DyVyEDBl.js +0 -1600
  893. package/bundled-test-harness/assets/run-realm-code-test-BpxF-tOz.js +0 -2468
  894. package/bundled-test-harness/assets/schema-generation-test-DjaJqpYP.js +0 -28
  895. package/bundled-test-harness/assets/score-Cfp34BE7.js +0 -2
  896. package/bundled-test-harness/assets/score-DIWWpeyf.js +0 -100
  897. package/bundled-test-harness/assets/scrolling-test-hA_uBwBg.js +0 -384
  898. package/bundled-test-harness/assets/search-C0-b7dJI.js +0 -605
  899. package/bundled-test-harness/assets/search-adorn-test-C6KP3AwA.js +0 -136
  900. package/bundled-test-harness/assets/search-entries-BfPq5sPS.js +0 -472
  901. package/bundled-test-harness/assets/search-entries-result-test-Bl9u_BOD.js +0 -234
  902. package/bundled-test-harness/assets/search-entries-test-BDC_lS43.js +0 -1486
  903. package/bundled-test-harness/assets/search-result-header-DCAze_cg.js +0 -128
  904. package/bundled-test-harness/assets/search-results-Dd0enVun.js +0 -266
  905. package/bundled-test-harness/assets/search-results-test-T5KEEII4.js +0 -578
  906. package/bundled-test-harness/assets/search-selection-menu-test-CCssnBq1.js +0 -108
  907. package/bundled-test-harness/assets/search-sheet-persistence-test-BzQiO-FK.js +0 -131
  908. package/bundled-test-harness/assets/search-test-fyCWb24m.js +0 -2241
  909. package/bundled-test-harness/assets/searchable-BkgeKQMl.js +0 -2
  910. package/bundled-test-harness/assets/searchable-D_6p6fyb.js +0 -192
  911. package/bundled-test-harness/assets/searchable-option-test-CnCUYGaq.js +0 -322
  912. package/bundled-test-harness/assets/searchable-search-doc-test-B8Q0D98v.js +0 -1271
  913. package/bundled-test-harness/assets/sending-test-D5PGBDys.js +0 -576
  914. package/bundled-test-harness/assets/serialization-rri-form-audit-test-BRJ1cJ31.js +0 -136
  915. package/bundled-test-harness/assets/serialization-test-DM6hK258.js +0 -8758
  916. package/bundled-test-harness/assets/setup-C_GgVgzM.js +0 -772
  917. package/bundled-test-harness/assets/shared-link-target-reuse-test-Be-lSKib.js +0 -207
  918. package/bundled-test-harness/assets/show-card-BFG6KR1m.js +0 -67
  919. package/bundled-test-harness/assets/show-card-test-l0wMrfZq.js +0 -365
  920. package/bundled-test-harness/assets/show-file-B8-FRVHj.js +0 -34
  921. package/bundled-test-harness/assets/signed-capture-D_Q44TQ7.js +0 -204
  922. package/bundled-test-harness/assets/signed-capture-link-test-DOS5xpYv.js +0 -132
  923. package/bundled-test-harness/assets/single-stack-test-BIEtzHVS.js +0 -652
  924. package/bundled-test-harness/assets/skill-BUTGmSsm.js +0 -76
  925. package/bundled-test-harness/assets/skill-Bo7R_2Ud.js +0 -3
  926. package/bundled-test-harness/assets/skill-reference-Cs64py3k.js +0 -112
  927. package/bundled-test-harness/assets/skills-test-CXxSIkYa.js +0 -648
  928. package/bundled-test-harness/assets/slider-picker-C81errGI.js +0 -245
  929. package/bundled-test-harness/assets/slider-picker-mvKsy6cR.js +0 -2
  930. package/bundled-test-harness/assets/spec-B55lJurX.js +0 -602
  931. package/bundled-test-harness/assets/store-DyQ0KiyI.js +0 -2205
  932. package/bundled-test-harness/assets/store-module-rebuild-test-C7532_bS.js +0 -454
  933. package/bundled-test-harness/assets/store-search-test-80NMJuoW.js +0 -175
  934. package/bundled-test-harness/assets/store-test-dHiWXXMs.js +0 -3460
  935. package/bundled-test-harness/assets/string-DHlQEHYm.js +0 -9
  936. package/bundled-test-harness/assets/submode-switcher-DQv-CD6G.js +0 -169
  937. package/bundled-test-harness/assets/svg-meta-extractor-Uw_EJytF.js +0 -42
  938. package/bundled-test-harness/assets/swatches-picker-CaEoibN1.js +0 -33
  939. package/bundled-test-harness/assets/swatches-picker-gPl50JbP.js +0 -2
  940. package/bundled-test-harness/assets/switch-submode-BKDnJd4m.js +0 -79
  941. package/bundled-test-harness/assets/switch-submode-test-_E2mVk4z.js +0 -168
  942. package/bundled-test-harness/assets/tag-B60lDr-j.js +0 -105
  943. package/bundled-test-harness/assets/tests-BBBgPBB6.js +0 -3520
  944. package/bundled-test-harness/assets/text-area-CJjWmwpi.js +0 -9
  945. package/bundled-test-harness/assets/text-file-def-u_dl0i2z.js +0 -151
  946. package/bundled-test-harness/assets/text-input-validator-test-BTwnkSS2.js +0 -156
  947. package/bundled-test-harness/assets/theme-BK-fAHVn.js +0 -9
  948. package/bundled-test-harness/assets/theme-card-test-BQmT7rqr.js +0 -621
  949. package/bundled-test-harness/assets/theme-scheme-island-test-Oi3aeyp1.js +0 -264
  950. package/bundled-test-harness/assets/three-d-model-def-B4KckPVC.js +0 -70
  951. package/bundled-test-harness/assets/time-BcuaSkHg.js +0 -126
  952. package/bundled-test-harness/assets/time-f7Irg7Z7.js +0 -2
  953. package/bundled-test-harness/assets/time-slots-ClYIZN53.js +0 -2
  954. package/bundled-test-harness/assets/time-slots-TI1aaqRN.js +0 -85
  955. package/bundled-test-harness/assets/timeline-Cof9eyq0.js +0 -59
  956. package/bundled-test-harness/assets/timeline-DFWQtCWE.js +0 -2
  957. package/bundled-test-harness/assets/to-device-streaming-test-BDrUUlOt.js +0 -163
  958. package/bundled-test-harness/assets/token-usage-test-CiZo03fY.js +0 -166
  959. package/bundled-test-harness/assets/tool-field-BXHr9r0w.js +0 -94
  960. package/bundled-test-harness/assets/tool-field-CoRO5C4R.js +0 -2
  961. package/bundled-test-harness/assets/tools-CmVaYDIS.js +0 -725
  962. package/bundled-test-harness/assets/tools-calling-test-B454__XF.js +0 -200
  963. package/bundled-test-harness/assets/tools-test-CLu51dJO.js +0 -1624
  964. package/bundled-test-harness/assets/tools-test-XGRAvVug.js +0 -2820
  965. package/bundled-test-harness/assets/ts-file-def-C05BDwdg.js +0 -159
  966. package/bundled-test-harness/assets/update-room-skills-test-jOvP14JX.js +0 -240
  967. package/bundled-test-harness/assets/url-BFf2CNo-.js +0 -2
  968. package/bundled-test-harness/assets/url-CYm-CeXp.js +0 -96
  969. package/bundled-test-harness/assets/video-file-def-B2UIrOFS.js +0 -76
  970. package/bundled-test-harness/assets/wav-meta-extractor-BNkv7e2f.js +0 -368
  971. package/bundled-test-harness/assets/webm-meta-extractor-C933kYyc.js +0 -178
  972. package/bundled-test-harness/assets/webp-meta-extractor-BLz0z1pZ.js +0 -98
  973. package/bundled-test-harness/assets/website-BuOMUW1v.js +0 -92
  974. package/bundled-test-harness/assets/week-Bo0666ji.js +0 -111
  975. package/bundled-test-harness/assets/week-CaVFA8Vc.js +0 -2
  976. package/bundled-test-harness/assets/welcome-to-boxel-PWard7GF.js +0 -172
  977. package/bundled-test-harness/assets/workspace-KXfFTQNV.js +0 -614
  978. package/bundled-test-harness/assets/workspace-a11y-test-Buwb-rfO.js +0 -197
  979. package/bundled-test-harness/assets/workspace-behavior-test-CbgFUOOo.js +0 -200
  980. package/bundled-test-harness/assets/workspace-chooser-BmQvhhrl.js +0 -2248
  981. package/bundled-test-harness/assets/workspace-chooser-Cu84Gd_E.css +0 -1317
  982. package/bundled-test-harness/assets/workspace-chooser-catalog-order-test-rcRw6sni.js +0 -36
  983. package/bundled-test-harness/assets/workspace-chooser-unreachable-notice-test-DUXnBIdY.js +0 -60
  984. package/bundled-test-harness/assets/workspace-delete-multiple-test-DjRKhZ2g.js +0 -212
  985. package/bundled-test-harness/assets/workspace-delete-summary-test-CvkLVYyN.js +0 -63
  986. package/bundled-test-harness/assets/workspace-timestamp-labels-test-AYJT4inv.js +0 -58
  987. package/bundled-test-harness/assets/xlsx-file-def-DuKdbGrJ.js +0 -60
  988. package/bundled-test-harness/assets/xlsx-meta-extractor-Bz-C2JWP.js +0 -101
  989. package/bundled-test-harness/assets/xlsx-meta-extractor-ClwwgABg.js +0 -2
  990. package/bundled-test-harness/assets/year-B6ctHikl.js +0 -2
  991. package/bundled-test-harness/assets/year-C11uAQE6.js +0 -78
  992. package/bundled-test-harness/assets/zip-file-def-B8XN-OS_.js +0 -288
  993. package/bundled-types/host-app/components/matrix/auth-button.gts +0 -39
  994. package/bundled-types/host-app/components/matrix/auth-container.gts +0 -69
  995. package/bundled-types/host-app/components/matrix/auth-form-field.gts +0 -43
@@ -0,0 +1,766 @@
1
+ import "./chunk-Rp0pCe6z.js";
2
+ import { Ga as PRERENDERED_HTML_FORMATS, Ii as buildOperations, Ni as operationLabelProblem, c as getOperationsTransport, fo as assertQuery, jo as identifyCard, wo as codeRefForDef, xo as InvalidQueryError } from "./runtime-common-ClpqhbwG.js";
3
+ import { K as realmURL, V as localId } from "./constants-CqKWhRfY.js";
4
+ import { Y as serializeCard } from "./field-support-DdQ7XgyM.js";
5
+ import { a as CardDef, d as FileDef, l as FieldDef, n as BaseDef } from "./card-api-Dzje0smT.js";
6
+ //#region ../base/operations.ts
7
+ var BASE_OPERATIONS = [
8
+ "read",
9
+ "readSource",
10
+ "create",
11
+ "update",
12
+ "delete",
13
+ "query",
14
+ "transform",
15
+ "appendContainsMany",
16
+ "appendLine",
17
+ "explain",
18
+ "validate",
19
+ "callApi"
20
+ ];
21
+ var CARRIED_BY = {
22
+ read: [
23
+ "card",
24
+ "file",
25
+ "base"
26
+ ],
27
+ readSource: [
28
+ "card",
29
+ "file",
30
+ "base"
31
+ ],
32
+ create: ["card"],
33
+ update: ["card", "file"],
34
+ delete: ["card"],
35
+ query: ["card"],
36
+ transform: ["card"],
37
+ appendContainsMany: ["card"],
38
+ appendLine: ["file"],
39
+ explain: [],
40
+ validate: [],
41
+ callApi: []
42
+ };
43
+ var DECLARATION_ONLY = {
44
+ explain: ["card"],
45
+ validate: ["card"],
46
+ callApi: ["card"]
47
+ };
48
+ function operationsCarriedBy(family) {
49
+ return BASE_OPERATIONS.filter((base) => CARRIED_BY[base].includes(family));
50
+ }
51
+ function declarationOnlyBases(family) {
52
+ return BASE_OPERATIONS.filter((base) => DECLARATION_ONLY[base]?.includes(family));
53
+ }
54
+ var CARD_OPERATIONS = operationsCarriedBy("card");
55
+ var FILE_OPERATIONS = operationsCarriedBy("file");
56
+ var BASE_DEF_OPERATIONS = operationsCarriedBy("base");
57
+ var NOT_DECLARABLE = ["readSource"];
58
+ function isNotDeclarable(name) {
59
+ return NOT_DECLARABLE.includes(name);
60
+ }
61
+ var RESERVED_BY_INVOCATION = [
62
+ "atomic",
63
+ "on",
64
+ "find",
65
+ "parallel",
66
+ "serial"
67
+ ];
68
+ function isReservedByInvocation(name) {
69
+ return RESERVED_BY_INVOCATION.includes(name);
70
+ }
71
+ var RESERVED_BY_SEARCH = ["query"];
72
+ function isReservedBySearch(name) {
73
+ return RESERVED_BY_SEARCH.includes(name);
74
+ }
75
+ function params(key) {
76
+ if (typeof key !== "string" || key.length === 0) throw new Error(`params() takes the name of a param declared in the operation's \`params\` schema`);
77
+ return {
78
+ $ref: "params",
79
+ key
80
+ };
81
+ }
82
+ function actor(...args) {
83
+ if (args.length > 0) throw new Error(`actor() takes no argument; it is the caller's user id`);
84
+ return { $ref: "actor" };
85
+ }
86
+ function actorIsNotACard(what) {
87
+ return `${what} takes a card identity, and \`actor()\` is the caller's user id rather than a card — declare the person as a \`params\` member typed \`linkTo(…)\` and link that`;
88
+ }
89
+ function instance(key) {
90
+ assertOptionalReferenceKey("instance", key);
91
+ return key === void 0 ? { $ref: "instance" } : {
92
+ $ref: "instance",
93
+ key
94
+ };
95
+ }
96
+ function realmConfig(key) {
97
+ assertOptionalReferenceKey("realmConfig", key);
98
+ return key === void 0 ? { $ref: "realmConfig" } : {
99
+ $ref: "realmConfig",
100
+ key
101
+ };
102
+ }
103
+ function card(reference) {
104
+ if (typeof reference === "string") {
105
+ if (reference.length === 0) throw new Error(`card() takes a card URL or a typed reference to one`);
106
+ return {
107
+ $ref: "card",
108
+ value: reference
109
+ };
110
+ }
111
+ if (!isReferenceMarker(reference)) throw new Error(`card() takes a card URL or a typed reference to one`);
112
+ if (reference.$ref === "actor") throw new Error(actorIsNotACard("card()"));
113
+ return {
114
+ $ref: "card",
115
+ value: reference
116
+ };
117
+ }
118
+ function bxl(program, ...substitutions) {
119
+ if (!Array.isArray(program) || !Array.isArray(program?.raw)) throw new Error(`bxl is a template tag: write bxl\`…\` rather than calling it`);
120
+ if (substitutions.length > 0) throw new Error(`the bxl tag does not interpolate values; read the payload, the actor, the target and the realm's configuration inside the program with the params(), actor(), instance() and realmConfig() builtins`);
121
+ return { $bxl: program.raw.join("") };
122
+ }
123
+ function linkTo(def) {
124
+ if (typeof def !== "function") throw new Error(`linkTo() takes a card class (or a thunk returning one, for a class declared later in the module)`);
125
+ if (isDefConstructor(def) && !isSubclassOf(def, CardDef) && !isSubclassOf(def, FileDef)) throw new Error(`linkTo() takes a card or file class — a link points at something with a URL`);
126
+ return { $linkTo: def };
127
+ }
128
+ var LINK_STRATEGIES = Object.keys({
129
+ full: true,
130
+ ids: true,
131
+ none: true
132
+ });
133
+ var READ_LINK_STRATEGIES = LINK_STRATEGIES.filter((strategy) => strategy !== "none");
134
+ var HTML_SHARINGS = Object.keys({
135
+ shareable: true,
136
+ unshareable: true
137
+ });
138
+ var CALL_API_METHODS = [
139
+ "GET",
140
+ "POST",
141
+ "PUT",
142
+ "PATCH",
143
+ "DELETE"
144
+ ];
145
+ var operationDeclarations = Symbol.for("cardstack-operation-declarations");
146
+ var COMMON_DECLARATION_KEYS = [
147
+ "base",
148
+ "label",
149
+ "params",
150
+ "optimistic",
151
+ "nonGrantable",
152
+ "input",
153
+ "transformations",
154
+ "output"
155
+ ];
156
+ var CLAUSE_KEYS = {
157
+ transform: [
158
+ "append",
159
+ "assert",
160
+ "set"
161
+ ],
162
+ create: ["of", "fill"],
163
+ update: [],
164
+ delete: [],
165
+ read: [],
166
+ readSource: [],
167
+ query: ["query"],
168
+ appendContainsMany: [
169
+ "field",
170
+ "item",
171
+ "fields"
172
+ ],
173
+ appendLine: [],
174
+ explain: [],
175
+ validate: [],
176
+ callApi: [
177
+ "method",
178
+ "url",
179
+ "path",
180
+ "headers",
181
+ "query",
182
+ "json",
183
+ "graphql"
184
+ ]
185
+ };
186
+ var MODIFIER_KEYS = {
187
+ read: ["links", "html"],
188
+ query: ["links", "html"]
189
+ };
190
+ var REQUIRED_CLAUSE = {
191
+ create: "of",
192
+ query: "query",
193
+ callApi: "url"
194
+ };
195
+ var TYPE_NAMING_KEYS = ["of"];
196
+ var operation = function(target, key, descriptor) {
197
+ if (typeof key === "symbol") throw new Error(`the @operation decorator only supports string operation names, not symbols`);
198
+ let owner = assertOperationTarget(target, key);
199
+ if (isNotDeclarable(key)) throw new Error(`${declarationLabel(owner, key)}: "${key}" is a reserved operation name — a "${key}" serves the bytes stored at the def's URL, which the realm answers without reading a definition, so a declaration under this name would never be reached`);
200
+ if (isReservedByInvocation(key)) throw new Error(`${declarationLabel(owner, key)}: "${key}" is a member of the invocation surface — operations(instance).${key} and a batch builder's ${key} are that, so a declaration under this name would never be reached`);
201
+ if (isReservedBySearch(key)) throw new Error(`${declarationLabel(owner, key)}: "${key}" is a reserved operation name — it is the name a search the caller writes by hand is invoked and granted under, so a saved search needs a name of its own`);
202
+ assertNameAvailable(owner, key);
203
+ if (typeof descriptor?.initializer !== "function") throw new Error(`${declarationLabel(owner, key)}: an operation must be assigned a declaration object`);
204
+ let declaration = descriptor.initializer.call(owner);
205
+ assertValidDeclaration(owner, key, declaration);
206
+ recordDeclaration(owner, key, declaration);
207
+ return {
208
+ configurable: true,
209
+ enumerable: true,
210
+ writable: true,
211
+ value: declaration
212
+ };
213
+ };
214
+ function getOperations(classOrInstance) {
215
+ let owner = defConstructorFor(classOrInstance, "getOperations");
216
+ let operations = emptyOperationRecord();
217
+ for (let base of impliedOperations(owner)) operations[base] = { base };
218
+ return Object.assign(operations, declaredOperations(owner));
219
+ }
220
+ function getDeclaredOperations(classOrInstance) {
221
+ return declaredOperations(defConstructorFor(classOrInstance, "getDeclaredOperations"));
222
+ }
223
+ function impliedOperations(owner) {
224
+ let family = defFamily(owner);
225
+ if (family === "card") return CARD_OPERATIONS;
226
+ if (family === "file") return FILE_OPERATIONS;
227
+ if (family === "base") return BASE_DEF_OPERATIONS;
228
+ return [];
229
+ }
230
+ function declarableOperations(owner) {
231
+ let family = defFamily(owner);
232
+ return family ? [...impliedOperations(owner), ...declarationOnlyBases(family)] : [];
233
+ }
234
+ function defFamily(owner) {
235
+ if (isSubclassOf(owner, FieldDef)) return;
236
+ if (isSubclassOf(owner, CardDef)) return "card";
237
+ if (isSubclassOf(owner, FileDef)) return "file";
238
+ return "base";
239
+ }
240
+ function declaredOperations(owner) {
241
+ let levels = [];
242
+ let current = owner;
243
+ while (typeof current === "function") {
244
+ let declarations = ownDeclarations(current);
245
+ if (declarations) levels.unshift(declarations);
246
+ current = Object.getPrototypeOf(current);
247
+ }
248
+ return Object.assign(emptyOperationRecord(), ...levels);
249
+ }
250
+ function emptyOperationRecord() {
251
+ return Object.create(null);
252
+ }
253
+ function defConstructorFor(classOrInstance, reader) {
254
+ let owner = typeof classOrInstance === "function" ? classOrInstance : classOrInstance?.constructor;
255
+ if (typeof owner !== "function" || !isDefConstructor(owner)) throw new Error(`${reader}() takes a class that extends BaseDef, or an instance of one; got ${describeTarget(classOrInstance)}`);
256
+ return owner;
257
+ }
258
+ function ownDeclarations(owner) {
259
+ if (!hasOwn(owner, operationDeclarations)) return;
260
+ return owner[operationDeclarations];
261
+ }
262
+ function recordDeclaration(owner, key, declaration) {
263
+ let declarations = ownDeclarations(owner);
264
+ if (!declarations) {
265
+ declarations = Object.create(null);
266
+ Object.defineProperty(owner, operationDeclarations, {
267
+ value: declarations,
268
+ configurable: true,
269
+ enumerable: false,
270
+ writable: false
271
+ });
272
+ }
273
+ declarations[key] = declaration;
274
+ }
275
+ function describeTarget(value) {
276
+ if (value === null || value === void 0) return String(value);
277
+ if (typeof value === "function") return `the class ${value.name || "(anonymous)"}, which does not extend BaseDef`;
278
+ if (typeof value !== "object") return typeof value;
279
+ let owner = value.constructor;
280
+ return owner ? `an instance of ${owner.name || "(anonymous)"}` : "an object with no constructor";
281
+ }
282
+ function hasOwn(target, key) {
283
+ return Object.prototype.hasOwnProperty.call(target, key);
284
+ }
285
+ function isDefConstructor(target) {
286
+ return typeof target === "function" && (target === BaseDef || target.prototype instanceof BaseDef);
287
+ }
288
+ function isSubclassOf(target, def) {
289
+ return target === def || target.prototype instanceof def;
290
+ }
291
+ function noProgramReason(owner, base) {
292
+ if (base === "appendLine" || base === "appendContainsMany") return `an "${base}" operation appends to the stored file rather than running a program over a document`;
293
+ if (base === "update" && isSubclassOf(owner, FileDef)) return `an "update" on a file def replaces the file's content wholesale rather than transforming a document`;
294
+ if (base === "explain") return `an "explain" operation reports what the realm's policy decides rather than running a program over a document`;
295
+ if (base === "validate") return `a "validate" operation reports what the policy card compiles to rather than running a program over a document`;
296
+ if (base === "callApi") return `a "callApi" operation sends the request it declares rather than running a program over a document`;
297
+ }
298
+ function assertOperationTarget(target, key) {
299
+ if (!isDefConstructor(target)) throw new Error(`the @operation decorator can only be used on static properties of classes that extend BaseDef`);
300
+ if (isSubclassOf(target, FieldDef)) throw new Error(`${declarationLabel(target, key)}: a field has no URL of its own, so it cannot carry operations — declare this on the card that contains the field`);
301
+ return target;
302
+ }
303
+ function assertNameAvailable(owner, key) {
304
+ if (!(key in owner)) return;
305
+ if (hasOwn(declaredOperations(owner), key)) return;
306
+ throw new Error(`${declarationLabel(owner, key)}: "${key}" already resolves on this class, so it cannot name an operation`);
307
+ }
308
+ function assertValidHtmlDeclaration(label, base, value) {
309
+ let subject = base === "query" ? "which prerendered formats this query's results are served data-only for" : "which prerendered formats reads of this card serve data-only";
310
+ if (!isPlainObject(value)) throw new Error(`${label}: \`html\` must be an object naming ${subject}, by format`);
311
+ for (let [format, sharing] of Object.entries(value)) {
312
+ if (!PRERENDERED_HTML_FORMATS.includes(format)) throw new Error(`${label}: \`html\` names "${format}", which is not a prerendered format — one of ${quoteList(PRERENDERED_HTML_FORMATS)}`);
313
+ if (!HTML_SHARINGS.includes(sharing)) throw new Error(`${label}: \`html.${format}\` must say whether the format's prerendered HTML is served — one of ${quoteList(HTML_SHARINGS)}`);
314
+ }
315
+ }
316
+ function assertValidDeclaration(owner, key, value) {
317
+ let label = declarationLabel(owner, key);
318
+ if (!isPlainObject(value)) throw new Error(`${label}: an operation must be a declaration object`);
319
+ let declaration = value;
320
+ let base = declaration.base;
321
+ if (!isBaseOperationName(base)) throw new Error(`${label}: \`base\` must name the built-in behavior this operation builds on — one of ${quoteList(BASE_OPERATIONS)}`);
322
+ if (isNotDeclarable(base)) throw new Error(`${label}: a "${base}" operation serves the bytes stored at the def's URL, so there is nothing for a declaration to specialize or rebind`);
323
+ let declarable = declarableOperations(owner);
324
+ if (!declarable.includes(base)) throw new Error(`${label}: this def type carries only ${quoteList(declarable)}, so it cannot declare a "${base}" operation`);
325
+ if (base === "explain" && declaration.nonGrantable !== true) throw new Error(`${label}: an "explain" operation reports what the realm's policy decides, which is what a refusal withholds, so no policy may grant it; declare it with \`nonGrantable: true\``);
326
+ if (base === "validate" && declaration.nonGrantable !== true) throw new Error(`${label}: a "validate" operation reports what a policy card compiles to, which only a caller the realm's own permissions let read the card may learn, so no policy may grant it; declare it with \`nonGrantable: true\``);
327
+ if (base === "validate") {
328
+ for (let key of ["params", "input"]) if (declaration[key] !== void 0) throw new Error(`${label}: a "validate" operation takes no payload, since the card it is invoked on is the whole question, so it carries no \`${key}\``);
329
+ }
330
+ let clauseKeys = CLAUSE_KEYS[base];
331
+ let legalKeys = new Set([
332
+ ...COMMON_DECLARATION_KEYS,
333
+ ...clauseKeys,
334
+ ...MODIFIER_KEYS[base] ?? []
335
+ ]);
336
+ for (let declaredKey of Object.keys(declaration)) if (!legalKeys.has(declaredKey)) throw new Error(`${label}: "${declaredKey}" is not a valid key for a "${base}" operation; valid keys are ${quoteList([...legalKeys].sort())}`);
337
+ let paramNames = assertValidParamsSchema(label, declaration.params);
338
+ if (declaration.optimistic !== void 0 && typeof declaration.optimistic !== "boolean") throw new Error(`${label}: \`optimistic\` must be a boolean`);
339
+ if (declaration.nonGrantable !== void 0 && typeof declaration.nonGrantable !== "boolean") throw new Error(`${label}: \`nonGrantable\` must be a boolean`);
340
+ if (declaration.label !== void 0) {
341
+ let problem = operationLabelProblem(declaration.label);
342
+ if (problem) throw new Error(`${label}: ${problem}`);
343
+ }
344
+ if (declaration.links !== void 0) {
345
+ let strategies = base === "query" ? LINK_STRATEGIES : READ_LINK_STRATEGIES;
346
+ if (!strategies.includes(declaration.links)) throw new Error(`${label}: \`links\` must name how much of the card's link graph ${base === "query" ? "each of this query's results carries" : "this read carries"} — one of ${quoteList(strategies)}${base === "read" && declaration.links === "none" ? `. A read's strategy governs the card's plain GET, which the host loads the card with to render and edit it, so under "none" an edit to a link field would replace the stored links the editor was never shown; "ids" narrows a read without hiding them` : ""}`);
347
+ }
348
+ if (declaration.html !== void 0) assertValidHtmlDeclaration(label, base, declaration.html);
349
+ if (declaration.input !== void 0) assertBxlProgram(label, "input", declaration.input);
350
+ if (base === "explain" && declaration.input !== void 0) throw new Error(`${label}: an "explain" operation answers the question its payload asks, so it carries no \`input\` to rewrite it`);
351
+ let usedClauses = clauseKeys.filter((clause) => declaration[clause] !== void 0 && !TYPE_NAMING_KEYS.includes(clause));
352
+ let hasProgram = declaration.transformations !== void 0;
353
+ if (hasProgram) {
354
+ assertBxlProgram(label, "transformations", declaration.transformations);
355
+ let noProgram = noProgramReason(owner, base);
356
+ if (noProgram) throw new Error(`${label}: ${noProgram}, so it carries no \`transformations\``);
357
+ if (usedClauses.length > 0) throw new Error(`${label}: a declaration expresses its work either with clauses (${quoteList(usedClauses)}) or with a raw \`transformations\` program, not both`);
358
+ }
359
+ let required = REQUIRED_CLAUSE[base];
360
+ if (required !== void 0 && declaration[required] === void 0) {
361
+ if (TYPE_NAMING_KEYS.includes(required)) throw new Error(`${label}: a "${base}" operation needs \`${required}\` to name what it creates`);
362
+ if (!hasProgram) throw new Error(`${label}: a "${base}" operation needs \`${required}\`, or a raw \`transformations\` program`);
363
+ }
364
+ assertValidClauses(label, base, declaration, key);
365
+ if (declaration.output !== void 0 && !isPlainObject(declaration.output)) throw new Error(`${label}: \`output\` must be a projection object or a bxl program`);
366
+ if (base === "explain" && declaration.output !== void 0) throw new Error(`${label}: an "explain" operation answers with the policy's explanation as the gate reports it, so it carries no \`output\` to reshape it`);
367
+ if (base === "validate" && declaration.output !== void 0) throw new Error(`${label}: a "validate" operation answers with what the policy card compiles to, as compiling reports it, so it carries no \`output\` to reshape it`);
368
+ assertReferencesResolve(label, declaration, paramNames);
369
+ if (base === "query") assertQueryIsWellFormed(label, declaration.query);
370
+ }
371
+ function assertQueryIsWellFormed(label, query) {
372
+ if (!isPlainObject(query) || holdsReference(query)) return;
373
+ try {
374
+ assertQuery(withTypeSentinels(query));
375
+ } catch (error) {
376
+ if (error instanceof InvalidQueryError) throw new Error(`${label}: \`query\` is not a query the realm accepts — ${error.message}`);
377
+ throw error;
378
+ }
379
+ }
380
+ function holdsReference(node) {
381
+ if (Array.isArray(node)) return node.some(holdsReference);
382
+ if (!isPlainObject(node)) return false;
383
+ if (hasOwn(node, "$ref") || hasOwn(node, "$bxl")) return true;
384
+ return Object.values(node).some(holdsReference);
385
+ }
386
+ function withTypeSentinels(node) {
387
+ if (typeof node === "function") return {
388
+ notJson: () => {},
389
+ module: TYPE_SLOT_SENTINEL,
390
+ name: TYPE_SLOT_SENTINEL
391
+ };
392
+ if (Array.isArray(node)) return node.map(withTypeSentinels);
393
+ if (!isPlainObject(node)) return node;
394
+ return Object.fromEntries(Object.entries(node).map(([key, value]) => [key, withTypeSentinels(value)]));
395
+ }
396
+ var TYPE_SLOT_SENTINEL = "$operation-type-slot";
397
+ function assertValidClauses(label, base, declaration, name) {
398
+ if (declaration.append !== void 0) {
399
+ let append = declaration.append;
400
+ if (!isPlainObject(append)) throw new Error(`${label}: \`append\` must be an object naming the field to append \`to\` and the \`value\` to append`);
401
+ assertOnlyKeys(label, "append", append, ["to", "value"]);
402
+ if (typeof append.to !== "string" || append.to.length === 0) throw new Error(`${label}: \`append.to\` must name the collection field to append to`);
403
+ if (append.value === void 0) throw new Error(`${label}: \`append\` must carry a \`value\` to append`);
404
+ }
405
+ if (declaration.assert !== void 0) {
406
+ let assertion = declaration.assert;
407
+ if (!isPlainObject(assertion)) throw new Error(`${label}: \`assert\` must be an object naming the collection that must stay \`unique\` and the value to key it \`by\``);
408
+ assertOnlyKeys(label, "assert", assertion, [
409
+ "unique",
410
+ "by",
411
+ "message",
412
+ "snapshot"
413
+ ]);
414
+ if (typeof assertion.unique !== "string" || assertion.unique.length === 0) throw new Error(`${label}: \`assert.unique\` must name the collection field that must not already hold the value`);
415
+ if (assertion.by === void 0) throw new Error(`${label}: \`assert\` must carry a \`by\` value to key the uniqueness check on`);
416
+ if (assertion.message !== void 0 && typeof assertion.message !== "string") throw new Error(`${label}: \`assert.message\` must be a string`);
417
+ if (assertion.snapshot !== void 0 && typeof assertion.snapshot !== "boolean") throw new Error(`${label}: \`assert.snapshot\` must be a boolean`);
418
+ }
419
+ for (let clause of ["set", "fill"]) {
420
+ let value = declaration[clause];
421
+ if (value === void 0) continue;
422
+ if (!isPlainObject(value) || Object.keys(value).length === 0) throw new Error(`${label}: \`${clause}\` must be an object mapping field names to values`);
423
+ }
424
+ if (declaration.of !== void 0) {
425
+ if (typeof declaration.of !== "function") throw new Error(`${label}: \`of\` must be the card class to create, or a thunk returning it`);
426
+ if (isDefConstructor(declaration.of) && !isSubclassOf(declaration.of, CardDef)) throw new Error(`${label}: \`of\` must be a card class — only a card can be created`);
427
+ }
428
+ if (base === "callApi") assertDeclaresARequest(label, declaration);
429
+ if (base === "appendLine") assertAppendsALine(label, declaration);
430
+ if (base === "appendContainsMany" && !isBuiltInAppend(name, declaration)) assertNamesItemsToAppend(label, declaration);
431
+ if (base === "query" && declaration.query !== void 0) {
432
+ let query = declaration.query;
433
+ if (!isPlainObject(query) || Object.keys(query).length === 0) throw new Error(`${label}: \`query\` must be an object with at least one of \`filter\`, \`sort\`, \`queryString\`, \`page\` and \`realms\``);
434
+ assertOnlyKeys(label, "query", query, [
435
+ "filter",
436
+ "sort",
437
+ "queryString",
438
+ "page",
439
+ "realms"
440
+ ]);
441
+ if (query.queryString !== void 0) {
442
+ let term = query.queryString;
443
+ if (!(typeof term === "string" && term.length > 0) && !isReferenceMarker(term)) throw new Error(`${label}: \`query.queryString\` must be a search term, or a reference to one`);
444
+ }
445
+ if (query.page !== void 0) {
446
+ if (!isPlainObject(query.page)) throw new Error(`${label}: \`query.page\` must be an object with \`size\` and an optional \`number\``);
447
+ assertOnlyKeys(label, "query.page", query.page, ["size", "number"]);
448
+ let size = query.page.size;
449
+ if (typeof size !== "number" || !Number.isInteger(size) || size < 1) throw new Error(`${label}: \`query.page.size\` must be a positive integer`);
450
+ let pageNumber = query.page.number;
451
+ if (pageNumber !== void 0 && (typeof pageNumber !== "number" || !Number.isInteger(pageNumber) || pageNumber < 0)) throw new Error(`${label}: \`query.page.number\` must be a whole number, counting from 0`);
452
+ }
453
+ if (query.realms !== void 0) {
454
+ let realms = query.realms;
455
+ if (!Array.isArray(realms) || realms.length === 0 || realms.some((realm) => typeof realm !== "string" || realm.length === 0)) throw new Error(`${label}: \`query.realms\` must be a non-empty array of realm URLs`);
456
+ }
457
+ }
458
+ }
459
+ function assertDeclaresARequest(label, declaration) {
460
+ let { method, url, json, graphql } = declaration;
461
+ if (typeof url !== "string" || url.length === 0) throw new Error(`${label}: \`url\` must be the absolute URL the request is sent to, with each path segment the payload fills written \`{name}\``);
462
+ if (method !== void 0 && !CALL_API_METHODS.includes(method)) throw new Error(`${label}: \`method\` must be one of ${quoteList(CALL_API_METHODS)}`);
463
+ for (let part of [
464
+ "path",
465
+ "headers",
466
+ "query"
467
+ ]) {
468
+ let value = declaration[part];
469
+ if (value !== void 0 && !isPlainObject(value)) throw new Error(`${label}: \`${part}\` must be an object mapping each name to its value`);
470
+ }
471
+ if (json !== void 0 && graphql !== void 0) throw new Error(`${label}: a request carries one body — \`json\` or \`graphql\`, not both`);
472
+ if (graphql !== void 0) {
473
+ if (!isPlainObject(graphql)) throw new Error(`${label}: \`graphql\` must be an object with the \`document\` to send and its \`variables\``);
474
+ assertOnlyKeys(label, "graphql", graphql, ["document", "variables"]);
475
+ if (graphql.variables !== void 0 && !isPlainObject(graphql.variables)) throw new Error(`${label}: \`graphql.variables\` must be an object mapping each variable to its value`);
476
+ }
477
+ if (method === "GET" && (json !== void 0 || graphql !== void 0)) throw new Error(`${label}: a GET request carries no body, so it takes no \`${json !== void 0 ? "json" : "graphql"}\``);
478
+ }
479
+ function assertAppendsALine(label, declaration) {
480
+ if (declaration.input !== void 0) return;
481
+ let line = declaration.params?.line;
482
+ if (line === void 0) throw new Error(`${label}: an "appendLine" operation appends the line its payload carries, so it declares a \`line\` param — or an \`input\` program that produces one`);
483
+ if (isPlainObject(line)) throw new Error(`${label}: \`params.line\` is the text a line holds, so it is a field class rather than a linkTo(…)`);
484
+ }
485
+ function isBuiltInAppend(name, declaration) {
486
+ return name === "appendContainsMany" && declaration.field === void 0 && declaration.item === void 0 && declaration.fields === void 0;
487
+ }
488
+ function assertNamesItemsToAppend(label, declaration) {
489
+ let singular = declaration.field !== void 0 || declaration.item !== void 0;
490
+ let plural = declaration.fields !== void 0;
491
+ if (singular && plural) throw new Error(`${label}: an "appendContainsMany" operation names one field with its \`item\`, or several under \`fields\` — not both`);
492
+ if (!singular && !plural) throw new Error(`${label}: an "appendContainsMany" operation needs \`field\` and \`item\`, or \`fields\` mapping each field to the item to append to it`);
493
+ if (plural) {
494
+ let fields = declaration.fields;
495
+ if (!isPlainObject(fields) || Object.keys(fields).length === 0) throw new Error(`${label}: \`fields\` must be an object mapping each \`containsMany\` field to the item to append to it`);
496
+ for (let [name, item] of Object.entries(fields)) if (item === void 0) throw new Error(`${label}: \`fields.${name}\` must carry the item to append to "${name}"`);
497
+ return;
498
+ }
499
+ if (typeof declaration.field !== "string" || declaration.field.length === 0) throw new Error(`${label}: \`field\` must name the \`containsMany\` field to append to`);
500
+ if (declaration.item === void 0) throw new Error(`${label}: an "appendContainsMany" operation needs an \`item\` to append to "${declaration.field}"`);
501
+ }
502
+ function assertValidParamsSchema(label, schema) {
503
+ if (schema === void 0) return /* @__PURE__ */ new Set();
504
+ if (!isPlainObject(schema)) throw new Error(`${label}: \`params\` must be an object mapping param names to a field class or linkTo(…)`);
505
+ let names = /* @__PURE__ */ new Set();
506
+ for (let [name, type] of Object.entries(schema)) {
507
+ if (isPlainObject(type)) {
508
+ if (typeof type.$linkTo !== "function") throw new Error(`${label}: param "${name}" must be a field class or linkTo(…)`);
509
+ assertOnlyKeys(label, `params.${name}`, type, ["$linkTo"]);
510
+ let linked = type.$linkTo;
511
+ if (isDefConstructor(linked) && !isSubclassOf(linked, CardDef) && !isSubclassOf(linked, FileDef)) throw new Error(`${label}: param "${name}" links to a card or file class — a link points at something with a URL`);
512
+ } else if (!isFieldDefConstructor(type)) throw new Error(`${label}: param "${name}" must be a field class or linkTo(…)${isDefConstructor(type) ? ", and a card or file identity is a linkTo(…) param" : ""}`);
513
+ names.add(name);
514
+ }
515
+ return names;
516
+ }
517
+ function isFieldDefConstructor(value) {
518
+ return typeof value === "function" && isSubclassOf(value, FieldDef);
519
+ }
520
+ function assertReferencesResolve(label, declaration, paramNames) {
521
+ let ancestors = /* @__PURE__ */ new Set();
522
+ let walk = (node, path, position) => {
523
+ if (node === null) return;
524
+ if (typeof node === "function") {
525
+ if (position !== "type") throw new Error(`${label}: \`${path}\` is a function; a declaration is data — name a run-time value with params(), actor(), instance(), realmConfig() or card(), or a program with the bxl tag`);
526
+ if (isDefConstructor(node) && !isSubclassOf(node, CardDef) && !isSubclassOf(node, FileDef)) throw new Error(`${label}: \`${path}\` must be a card or file class — a field has no type of its own to name`);
527
+ return;
528
+ }
529
+ if (typeof node !== "object") {
530
+ if (typeof node === "symbol" || typeof node === "bigint") throw new Error(`${label}: \`${path}\` is ${describeValue(node)}, which a declaration cannot carry`);
531
+ if (node === void 0) throw new Error(`${label}: \`${path}\` is undefined; omit an optional key rather than declaring it as undefined`);
532
+ if (typeof node === "number" && !Number.isFinite(node)) throw new Error(`${label}: \`${path}\` is ${node}, which serializes as null`);
533
+ return;
534
+ }
535
+ if (ancestors.has(node)) throw new Error(`${label}: \`${path}\` refers back to a value that contains it; a declaration is a tree`);
536
+ if (isBxlMarker(node)) {
537
+ assertBxlProgram(label, path, node);
538
+ return;
539
+ }
540
+ if (isReferenceMarker(node)) {
541
+ assertValidReference(label, path, node, paramNames, ancestors);
542
+ return;
543
+ }
544
+ if (!Array.isArray(node) && !isPlainObject(node)) throw new Error(`${label}: \`${path}\` is ${describeValue(node)}; a declaration carries plain objects, arrays and primitives`);
545
+ ancestors.add(node);
546
+ if (Array.isArray(node)) {
547
+ let elementPosition = positionInside(position);
548
+ node.forEach((entry, index) => walk(entry, `${path}[${index}]`, elementPosition));
549
+ } else for (let [key, value] of Object.entries(node)) {
550
+ if (position === "declaration" && key === "params") continue;
551
+ walk(value, path === "" ? key : `${path}.${key}`, position === "declaration" && key === "query" && declaration.base !== "query" ? "value" : positionUnder(position, key));
552
+ }
553
+ ancestors.delete(node);
554
+ };
555
+ walk(declaration, "", "declaration");
556
+ }
557
+ function positionUnder(position, key) {
558
+ switch (position) {
559
+ case "declaration":
560
+ if (key === "of") return "type";
561
+ return key === "query" ? "query" : "value";
562
+ case "query":
563
+ if (key === "filter") return "filter";
564
+ return key === "sort" ? "sortList" : "value";
565
+ case "filter":
566
+ if (key === "on" || key === "type") return "type";
567
+ if (key === "any" || key === "every") return "filterList";
568
+ return key === "not" ? "filter" : "value";
569
+ case "sortEntry": return key === "on" ? "type" : "value";
570
+ case "type":
571
+ case "value":
572
+ case "filterList":
573
+ case "sortList": return "value";
574
+ }
575
+ }
576
+ function positionInside(position) {
577
+ switch (position) {
578
+ case "filterList": return "filter";
579
+ case "sortList": return "sortEntry";
580
+ default: return "value";
581
+ }
582
+ }
583
+ function describeValue(value) {
584
+ if (value === void 0) return "undefined";
585
+ if (typeof value === "symbol") return "a symbol";
586
+ if (typeof value === "bigint") return "a bigint";
587
+ if (typeof value === "function") return "a function";
588
+ let name = value?.constructor?.name;
589
+ return name ? `a ${name} instance` : "a non-plain object";
590
+ }
591
+ function assertValidReference(label, path, node, paramNames, ancestors) {
592
+ if (ancestors.has(node)) throw new Error(`${label}: \`${path}\` refers back to a value that contains it; a declaration is a tree`);
593
+ let reference = node;
594
+ switch (reference.$ref) {
595
+ case "params": {
596
+ assertOnlyKeys(label, path, reference, ["$ref", "key"]);
597
+ let key = reference.key;
598
+ if (typeof key !== "string" || key.length === 0) throw new Error(`${label}: the params reference at \`${path}\` must name a param`);
599
+ if (!paramNames.has(key)) throw new Error(`${label}: \`${path}\` references the param "${key}", which the \`params\` schema does not declare`);
600
+ return;
601
+ }
602
+ case "actor":
603
+ if (reference.key !== void 0) throw new Error(`${label}: the actor reference at \`${path}\` carries a key; actor() is the caller's user id and has no members to read`);
604
+ assertOnlyKeys(label, path, reference, ["$ref"]);
605
+ return;
606
+ case "instance":
607
+ assertOnlyKeys(label, path, reference, ["$ref", "key"]);
608
+ if (reference.key !== void 0 && (typeof reference.key !== "string" || reference.key.length === 0)) throw new Error(`${label}: the instance reference at \`${path}\` must name a member, or none at all`);
609
+ return;
610
+ case "realmConfig":
611
+ assertOnlyKeys(label, path, reference, ["$ref", "key"]);
612
+ if (reference.key !== void 0 && (typeof reference.key !== "string" || reference.key.length === 0)) throw new Error(`${label}: the realmConfig reference at \`${path}\` must name a setting, or none at all`);
613
+ return;
614
+ case "card": {
615
+ assertOnlyKeys(label, path, reference, ["$ref", "value"]);
616
+ let value = reference.value;
617
+ if (typeof value === "string") {
618
+ if (value.length === 0) throw new Error(`${label}: the card reference at \`${path}\` must carry a card URL or a reference to one`);
619
+ return;
620
+ }
621
+ if (!isReferenceMarker(value)) throw new Error(`${label}: the card reference at \`${path}\` must carry a card URL or a reference to one`);
622
+ if (value.$ref === "actor") throw new Error(`${label}: ${actorIsNotACard(`the card reference at \`${path}\``)}`);
623
+ ancestors.add(node);
624
+ assertValidReference(label, `${path}.value`, value, paramNames, ancestors);
625
+ ancestors.delete(node);
626
+ return;
627
+ }
628
+ default: throw new Error(`${label}: \`${path}\` is not a typed reference; build one with params(), actor(), instance(), realmConfig() or card()`);
629
+ }
630
+ }
631
+ function assertBxlProgram(label, path, value) {
632
+ if (!isBxlMarker(value) || typeof value.$bxl !== "string" || value.$bxl.length === 0) throw new Error(`${label}: \`${path}\` must be a program written with the bxl tag`);
633
+ assertOnlyKeys(label, path, value, ["$bxl"]);
634
+ }
635
+ function assertOnlyKeys(label, path, node, allowed) {
636
+ for (let key of Object.keys(node)) if (!allowed.includes(key)) throw new Error(`${label}: "${key}" is not a valid key for \`${path}\`; valid keys are ${quoteList(allowed)}`);
637
+ }
638
+ function assertOptionalReferenceKey(kind, key) {
639
+ if (key === void 0) return;
640
+ if (typeof key !== "string" || key.length === 0) throw new Error(`${kind}() takes the name of a member to read, or no argument at all`);
641
+ }
642
+ function isReferenceMarker(value) {
643
+ return isPlainObject(value) && hasOwn(value, "$ref");
644
+ }
645
+ function isBxlMarker(value) {
646
+ return isPlainObject(value) && hasOwn(value, "$bxl");
647
+ }
648
+ function isPlainObject(value) {
649
+ if (value == null || typeof value !== "object" || Array.isArray(value)) return false;
650
+ let proto = Object.getPrototypeOf(value);
651
+ return proto === Object.prototype || proto === null;
652
+ }
653
+ function isBaseOperationName(value) {
654
+ return typeof value === "string" && BASE_OPERATIONS.includes(value);
655
+ }
656
+ function declarationLabel(owner, key) {
657
+ return `@operation "${key}" on ${owner.name || owner.displayName || "card"}`;
658
+ }
659
+ function quoteList(values) {
660
+ return values.map((value) => `"${value}"`).join(", ");
661
+ }
662
+ function operations(target, opts) {
663
+ return buildOperations(subjectFor(target), {
664
+ transport: getOperationsTransport(),
665
+ ...opts ? { options: opts } : {},
666
+ subject: (other) => subjectFor(other),
667
+ codeRef: (value) => identifyDef(value),
668
+ resourceFor: (instance) => adoptedResource(instance)
669
+ });
670
+ }
671
+ function adoptedResource(instance) {
672
+ let { id: _id, ...resource } = serializeCard(instance, {
673
+ useAbsoluteURL: true,
674
+ omitQueryFields: true,
675
+ includedScope: "none"
676
+ }).data;
677
+ return resource;
678
+ }
679
+ function subjectFor(target) {
680
+ if (typeof target === "string") return {
681
+ scope: "instance",
682
+ family: "file",
683
+ displayName: `file ${target}`,
684
+ operations: carriedOperations(FileDef),
685
+ id: target
686
+ };
687
+ if (isDefConstructor(target)) {
688
+ let codeRef = identifyCard(target);
689
+ if (!codeRef) throw new Error(`operations() takes a class some module exports, and no module exports ${defName(target)} — an operation on a type names it by its module and export`);
690
+ return {
691
+ scope: "type",
692
+ family: familyOf(target, "operations"),
693
+ displayName: defName(target),
694
+ operations: carriedOperations(target),
695
+ codeRef
696
+ };
697
+ }
698
+ let owner = defConstructorFor(target, "operations");
699
+ let instance = target;
700
+ let realm = instance[realmURL];
701
+ let codeRef = identifyCard(owner);
702
+ return {
703
+ scope: "instance",
704
+ family: familyOf(owner, "operations"),
705
+ displayName: defName(owner),
706
+ operations: carriedOperations(owner),
707
+ ...instance.id ? { id: instance.id } : {},
708
+ ...instance[localId] ? { localId: instance[localId] } : {},
709
+ ...realm ? { realmURL: realm.href } : {},
710
+ ...codeRef ? { codeRef } : {}
711
+ };
712
+ }
713
+ function carriedOperations(owner) {
714
+ let carried = Object.create(null);
715
+ for (let base of impliedOperations(owner)) carried[base] = {
716
+ base,
717
+ declared: false
718
+ };
719
+ for (let [name, declaration] of Object.entries(declaredOperations(owner))) carried[name] = {
720
+ base: declaration.base,
721
+ declared: true,
722
+ ...declaration.optimistic === void 0 ? {} : { optimistic: declaration.optimistic },
723
+ ...declaration.base === "query" ? { query: queryDeclaration(declaration) } : {}
724
+ };
725
+ return carried;
726
+ }
727
+ function queryDeclaration(declaration) {
728
+ let { query, params } = declaration;
729
+ return {
730
+ ...query === void 0 ? {} : { query },
731
+ ...params === void 0 ? {} : { params }
732
+ };
733
+ }
734
+ function familyOf(owner, reader) {
735
+ if (isSubclassOf(owner, FieldDef)) throw new Error(`${reader}() takes a card, a file or a class of one; a field has no URL of its own, so nothing is invocable on it — reach a field's data through the operations of the card that contains it`);
736
+ if (isSubclassOf(owner, CardDef)) return "card";
737
+ if (isSubclassOf(owner, FileDef)) return "file";
738
+ return "base";
739
+ }
740
+ function identifyDef(value) {
741
+ return codeRefForDef(value, identifyCard);
742
+ }
743
+ function defName(owner) {
744
+ return owner.displayName || owner.name || "card";
745
+ }
746
+ (globalThis.__boxelBundledBaseScopedCSS ??= {})["operations"] = {
747
+ "css": [],
748
+ "imports": ["card-api"]
749
+ };
750
+ (globalThis.__boxelBundledBaseIdentities ??= {})["operations"] = {
751
+ "BASE_OPERATIONS": BASE_OPERATIONS,
752
+ "CALL_API_METHODS": CALL_API_METHODS,
753
+ "actor": actor,
754
+ "bxl": bxl,
755
+ "card": card,
756
+ "getDeclaredOperations": getDeclaredOperations,
757
+ "getOperations": getOperations,
758
+ "instance": instance,
759
+ "linkTo": linkTo,
760
+ "operation": operation,
761
+ "operations": operations,
762
+ "params": params,
763
+ "realmConfig": realmConfig
764
+ };
765
+ //#endregion
766
+ export { card as a, instance as c, operations as d, params as f, bxl as i, linkTo as l, CALL_API_METHODS as n, getDeclaredOperations as o, realmConfig as p, actor as r, getOperations as s, BASE_OPERATIONS as t, operation as u };