@cardstack/boxel-cli 0.3.2-unstable.59 → 0.3.2-unstable.60
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.
- package/api.ts +3 -3
- package/bundled-realms/base/command.gts +73 -0
- package/bundled-test-harness/assets/adapter-TgpmkD23.js +2 -0
- package/bundled-test-harness/assets/add-field-to-card-definition-command-test-BVVD6_Wq.js +111 -0
- package/bundled-test-harness/assets/add-workspace-test-BvvYJ2Fk.js +71 -0
- package/bundled-test-harness/assets/ai-assistant-Ba_RBqf6.js +129 -0
- package/bundled-test-harness/assets/ai-assistant-panel-service-test-DK87n1hh.js +95 -0
- package/bundled-test-harness/assets/ai-assistant-test-CZATBlJS.js +2137 -0
- package/bundled-test-harness/assets/ai-function-generation-test-e58MHziu.js +996 -0
- package/bundled-test-harness/assets/ai-module-creation-test-CEieL3Fa.js +150 -0
- package/bundled-test-harness/assets/aibot-message-DhTbAqNk.js +1185 -0
- package/bundled-test-harness/assets/amd-transpile-test-CSk5COu7.js +425 -0
- package/bundled-test-harness/assets/app-Btfy4HWI.js +21464 -0
- package/bundled-test-harness/assets/apply-boxel-formatting-test-BHTP9NBp.js +134 -0
- package/bundled-test-harness/assets/apply-markdown-edit-test-BETCndeK.js +230 -0
- package/bundled-test-harness/assets/apply-search-replace-block-test-KNolar0-.js +630 -0
- package/bundled-test-harness/assets/arc-CA8yZ0zo.js +199 -0
- package/bundled-test-harness/assets/architecture-7EHR7CIX-C5JFMGdb.js +3 -0
- package/bundled-test-harness/assets/architectureDiagram-3BPJPVTR-CmVPjKgm.js +7400 -0
- package/bundled-test-harness/assets/auth-error-guard-test-D0rKESg_.js +30 -0
- package/bundled-test-harness/assets/auth-service-worker-test-DGg_vbKo.js +538 -0
- package/bundled-test-harness/assets/authed-fetch-test-CHF3eh_H.js +75 -0
- package/bundled-test-harness/assets/avif-image-def-test-p9tiyh4_.js +186 -0
- package/bundled-test-harness/assets/base-realm-Chjzrp6m.js +2 -0
- package/bundled-test-harness/assets/base-realm-DpSTsZxD.js +140 -0
- package/bundled-test-harness/assets/basic-test-D7qEz4hw.js +128 -0
- package/bundled-test-harness/assets/bfm-card-references-test-D-m1YnL8.js +577 -0
- package/bundled-test-harness/assets/binary-upload-dedupe-test-8RKK73EG.js +308 -0
- package/bundled-test-harness/assets/blockDiagram-GPEHLZMM-BdVFTa2C.js +4355 -0
- package/bundled-test-harness/assets/bot-registration-test-9zYny2wR.js +99 -0
- package/bundled-test-harness/assets/box-test-0T92xi3A.js +51 -0
- package/bundled-test-harness/assets/brand-guide-attachments-test-5ZtPn4cC.js +87 -0
- package/bundled-test-harness/assets/brand-guide-custom-css-test-CKKSgKyp.js +135 -0
- package/bundled-test-harness/assets/brand-logo-mark-field-test-nlNNQ3rw.js +87 -0
- package/bundled-test-harness/assets/broken-link-template-test-BGIExVof.js +345 -0
- package/bundled-test-harness/assets/browser-index-BaR-gTqG.js +3 -0
- package/bundled-test-harness/assets/browser-index-G4NKYBAj.js +8802 -0
- package/bundled-test-harness/assets/c4Diagram-AAUBKEIU-DyugX7zz.js +3764 -0
- package/bundled-test-harness/assets/cached-fetch-test-MtqvDphJ.js +93 -0
- package/bundled-test-harness/assets/can-read-realm-test-BZmwIOqS.js +58 -0
- package/bundled-test-harness/assets/cancel-indexing-job-test-BsQtQbDu.js +71 -0
- package/bundled-test-harness/assets/card-api-test-BxQ8f0-c.js +196 -0
- package/bundled-test-harness/assets/card-basics-test-B-uBZ8o4.js +4895 -0
- package/bundled-test-harness/assets/card-catalog-test-YmwmyIKf.js +377 -0
- package/bundled-test-harness/assets/card-copy-test-LoqdH1CQ.js +777 -0
- package/bundled-test-harness/assets/card-def-field-def-relationships-test-DvtBA1jv.js +560 -0
- package/bundled-test-harness/assets/card-def-menu-items-test-DHnd0LuM.js +182 -0
- package/bundled-test-harness/assets/card-delete-test-vKF0Jf1X.js +412 -0
- package/bundled-test-harness/assets/card-directory-name-test-CbCuPwSz.js +71 -0
- package/bundled-test-harness/assets/card-playground-test-CRIP3b5-.js +1497 -0
- package/bundled-test-harness/assets/card-prerender-ClYlSOBU.js +12661 -0
- package/bundled-test-harness/assets/card-search-adorn-test-Mggk5ZgY.js +128 -0
- package/bundled-test-harness/assets/card-search-query-builder-test-Cdl12s50.js +88 -0
- package/bundled-test-harness/assets/card-search-selection-menu-test-CtuCCLoB.js +108 -0
- package/bundled-test-harness/assets/channel-BKUMepxs.js +8 -0
- package/bundled-test-harness/assets/check-correctness-test-DBh8DT_f.js +252 -0
- package/bundled-test-harness/assets/chunk-2J33WTMH-ClrRoNQU.js +31 -0
- package/bundled-test-harness/assets/chunk-3OPIFGDE-g_0Oh8jN.js +5548 -0
- package/bundled-test-harness/assets/chunk-4BX2VUAB-D2LCc7Y9.js +11 -0
- package/bundled-test-harness/assets/chunk-4EGX6M5U-D8vRS5IG.js +44 -0
- package/bundled-test-harness/assets/chunk-55IACEB6-C5j4VAmb.js +10 -0
- package/bundled-test-harness/assets/chunk-5DO6E6H7-CPb3jsP0.js +27 -0
- package/bundled-test-harness/assets/chunk-5ZQYHXKU-BlVb7vgG.js +1767 -0
- package/bundled-test-harness/assets/chunk-727SXJPM-C_NVCDMC.js +3877 -0
- package/bundled-test-harness/assets/chunk-AQP2D5EJ-CpwrMix_.js +2622 -0
- package/bundled-test-harness/assets/chunk-BR22UD5L-AF0NWdjT.js +85 -0
- package/bundled-test-harness/assets/chunk-BSJP7CBP-Dgun5vYb.js +114 -0
- package/bundled-test-harness/assets/chunk-CSCIHK7Q-D7nFiAZ-.js +6144 -0
- package/bundled-test-harness/assets/chunk-FHYWG6QK-2nuXS9PL.js +27 -0
- package/bundled-test-harness/assets/chunk-FMBD7UC4-O-Y8VK1S.js +20 -0
- package/bundled-test-harness/assets/chunk-KSCS5N6A-Du5-DprU.js +871 -0
- package/bundled-test-harness/assets/chunk-L5ZTLDWV-C2lDtkix.js +43 -0
- package/bundled-test-harness/assets/chunk-LZXEDZCA-qAMsMZkF.js +65 -0
- package/bundled-test-harness/assets/chunk-MPE355IW-DcT_60Oq.js +27 -0
- package/bundled-test-harness/assets/chunk-MZUSXYTE-BsH_YmnC.js +36 -0
- package/bundled-test-harness/assets/chunk-N66VUXT2-DMyMHgoS.js +70 -0
- package/bundled-test-harness/assets/chunk-ND2GUHAM-DO1Znn8O.js +93 -0
- package/bundled-test-harness/assets/chunk-NZK2D7GU-B1YWBxHm.js +89 -0
- package/bundled-test-harness/assets/chunk-O5CBEL6O-CZVSBsRq.js +2395 -0
- package/bundled-test-harness/assets/chunk-PUPMXCY4-DzOK-Vbt.js +27 -0
- package/bundled-test-harness/assets/chunk-QZHKN3VN-DJFnRn99.js +20 -0
- package/bundled-test-harness/assets/chunk-UIBZB4QT-5KIxBxjk.js +27 -0
- package/bundled-test-harness/assets/chunk-WCWK7LTN-BsQwhliq.js +36 -0
- package/bundled-test-harness/assets/chunk-WU5MYG2G-DUVb5MAo.js +12 -0
- package/bundled-test-harness/assets/chunk-XPW4576I-DLaJYAOU.js +2341 -0
- package/bundled-test-harness/assets/classDiagram-4FO5ZUOK-DjP2uozG.js +31 -0
- package/bundled-test-harness/assets/classDiagram-v2-Q7XG4LA2-Dt6ps5uz.js +31 -0
- package/bundled-test-harness/assets/code-equality-assertion-BBezFT13.js +474 -0
- package/bundled-test-harness/assets/code-patches-test-DzoQGARM.js +1128 -0
- package/bundled-test-harness/assets/code-patching-test-D8r-pJ5w.js +114 -0
- package/bundled-test-harness/assets/code-ref-test-DU3HChNz.js +138 -0
- package/bundled-test-harness/assets/code-semantics-service-test-DArUotKy.js +65 -0
- package/bundled-test-harness/assets/code-submode-test-h5wWKsz2.js +1762 -0
- package/bundled-test-harness/assets/codeblocks-test-FbuwTy5v.js +492 -0
- package/bundled-test-harness/assets/codemirror-context-DVlC9C78.js +2 -0
- package/bundled-test-harness/assets/codemirror-editor-test-JDT9uwqM.js +1176 -0
- package/bundled-test-harness/assets/color-field-test-BssRlQAX.js +213 -0
- package/bundled-test-harness/assets/command-definitions-test-J21kOxBs.js +72 -0
- package/bundled-test-harness/assets/commands-DAo0DgCX.js +1379 -0
- package/bundled-test-harness/assets/commands-calling-test-C3deVvv_.js +200 -0
- package/bundled-test-harness/assets/commands-test--0zViqs2.js +1041 -0
- package/bundled-test-harness/assets/commands-test-BwNn2npL.js +1145 -0
- package/bundled-test-harness/assets/computed-test-BD_KrZmc.js +882 -0
- package/bundled-test-harness/assets/container-C8gu0I0Q.js +14605 -0
- package/bundled-test-harness/assets/convert-to-class-name-test-CX21VRzM.js +17 -0
- package/bundled-test-harness/assets/copy-and-edit-test-BUy_o8XJ.js +291 -0
- package/bundled-test-harness/assets/copy-card-test-LWbugEPe.js +156 -0
- package/bundled-test-harness/assets/copy-file-to-realm-test-BS25EUGV.js +99 -0
- package/bundled-test-harness/assets/copy-source-test-Dh33cqM8.js +56 -0
- package/bundled-test-harness/assets/cose-bilkent-S5V4N54A-CjAFDdpS.js +4275 -0
- package/bundled-test-harness/assets/create-file-test-DOc3YYij.js +963 -0
- package/bundled-test-harness/assets/create-file-test-DgUya7-i.js +397 -0
- package/bundled-test-harness/assets/create-listing-modal-test-DZxZBYS7.js +194 -0
- package/bundled-test-harness/assets/create-listing-pr-request-Aw0ms76l.js +64 -0
- package/bundled-test-harness/assets/create-listing-pr-request-test-CFvqkgky.js +117 -0
- package/bundled-test-harness/assets/create-spec-test-BTRt8oe8.js +239 -0
- package/bundled-test-harness/assets/csv-file-def-test-BVffg8wL.js +101 -0
- package/bundled-test-harness/assets/dagre-BM42HDAG-GoRrN65x.js +606 -0
- package/bundled-test-harness/assets/dagre-ByxOOmYM.js +4195 -0
- package/bundled-test-harness/assets/date-time-fields-test-BEcfCqgB.js +322 -0
- package/bundled-test-harness/assets/debug-message-test-CAxbe6x2.js +119 -0
- package/bundled-test-harness/assets/diagram-2AECGRRQ-B6-pvp9H.js +279 -0
- package/bundled-test-harness/assets/diagram-5GNKFQAL-C9M7hXIc.js +142 -0
- package/bundled-test-harness/assets/diagram-KO2AKTUF-BNJvCLGK.js +551 -0
- package/bundled-test-harness/assets/diagram-LMA3HP47-hlJyTtqP.js +184 -0
- package/bundled-test-harness/assets/diagram-OG6HWLK6-BvPoB3IH.js +857 -0
- package/bundled-test-harness/assets/diffing-test-De9Ev_Fr.js +210 -0
- package/bundled-test-harness/assets/dist-BsEojs3T.js +232 -0
- package/bundled-test-harness/assets/dist-CY3T64Hs.js +105 -0
- package/bundled-test-harness/assets/dist-q2xz8RMj.js +2 -0
- package/bundled-test-harness/assets/editor-test-DOI_TvWQ.js +551 -0
- package/bundled-test-harness/assets/editor.main-CpuM6HrX.js +43566 -0
- package/bundled-test-harness/assets/editor.main-DkMgS1qm.js +3 -0
- package/bundled-test-harness/assets/email-field-test-t-80Z94b.js +74 -0
- package/bundled-test-harness/assets/enum-field-test-DVp-2pip.js +909 -0
- package/bundled-test-harness/assets/erDiagram-TEJ5UH35-CYniRkua.js +2041 -0
- package/bundled-test-harness/assets/error-display-test-IuRxKyLz.js +343 -0
- package/bundled-test-harness/assets/evaluate-module-test-DdnfbFp-.js +66 -0
- package/bundled-test-harness/assets/eventmodeling-FCH6USID-BO089-Cs.js +3 -0
- package/bundled-test-harness/assets/execute-atomic-operations-test-CgbvrBlu.js +75 -0
- package/bundled-test-harness/assets/externals-5atxeNU4.js +5533 -0
- package/bundled-test-harness/assets/extract-css-variables-test-Cii-CYfc.js +169 -0
- package/bundled-test-harness/assets/fallback-banner-test-CUUd-Wuu.js +227 -0
- package/bundled-test-harness/assets/fallback-banner-test-D4NWyahM.js +53 -0
- package/bundled-test-harness/assets/fallback-models-test-2MJ1jAs8.js +163 -0
- package/bundled-test-harness/assets/fetch-card-json-test-Cruqsq6S.js +63 -0
- package/bundled-test-harness/assets/fetcher-test-CkHlbTzz.js +85 -0
- package/bundled-test-harness/assets/field-configuration-test-CqwsGNib.js +535 -0
- package/bundled-test-harness/assets/field-markdown-domain-test-DPjz8i4Y.js +615 -0
- package/bundled-test-harness/assets/field-markdown-primitives-test-Dw07UtT7.js +362 -0
- package/bundled-test-harness/assets/field-markdown-specialized-test-C-t34PAw.js +527 -0
- package/bundled-test-harness/assets/field-path-parser-test-BeNjacPu.js +387 -0
- package/bundled-test-harness/assets/field-playground-test-BILTGxqr.js +902 -0
- package/bundled-test-harness/assets/field-support-predicates-test-Df24w0Wa.js +170 -0
- package/bundled-test-harness/assets/field-test-helpers-P22hxBNz.js +45 -0
- package/bundled-test-harness/assets/file-attachment-test-Cjg4NBeM.js +635 -0
- package/bundled-test-harness/assets/file-chooser-test-Cl0XujPT.js +439 -0
- package/bundled-test-harness/assets/file-def-live-reload-test-D4Obzi12.js +50 -0
- package/bundled-test-harness/assets/file-def-manager-DUgR-gjs.js +470 -0
- package/bundled-test-harness/assets/file-def-manager-canonicalize-test-D_LWVsvz.js +451 -0
- package/bundled-test-harness/assets/file-def-menu-items-test-xvsUTOK4.js +114 -0
- package/bundled-test-harness/assets/file-def-navigation-test-DxPceB7E.js +109 -0
- package/bundled-test-harness/assets/file-def-serialization-test-CpwbDb8p.js +87 -0
- package/bundled-test-harness/assets/file-def-test-CEnKcvW9.js +219 -0
- package/bundled-test-harness/assets/file-tree-test-DE2aH6iq.js +773 -0
- package/bundled-test-harness/assets/flac-audio-def-test-BCg7LnR6.js +138 -0
- package/bundled-test-harness/assets/flowDiagram-I6XJVG4X-Xv8-LIxQ.js +4883 -0
- package/bundled-test-harness/assets/formatted-aibot-message-test-CsxFn62P.js +366 -0
- package/bundled-test-harness/assets/formatted-user-message-test-DjZc8qnA.js +43 -0
- package/bundled-test-harness/assets/freestyle-test-QEZaZCNJ.js +17 -0
- package/bundled-test-harness/assets/full-reindex-realm-test-C_c2OTTD.js +103 -0
- package/bundled-test-harness/assets/ganttDiagram-6RSMTGT7-DmvkzS5w.js +4060 -0
- package/bundled-test-harness/assets/garbage-collection-test-BVuvfidI.js +373 -0
- package/bundled-test-harness/assets/general-test-Ydis4jEq.js +926 -0
- package/bundled-test-harness/assets/generate-css-variables-test-CZCmgTAO.js +88 -0
- package/bundled-test-harness/assets/generate-example-cards-one-shot-test-x_szhkSN.js +67 -0
- package/bundled-test-harness/assets/get-available-realm-identifiers-test-DvRnwCHR.js +49 -0
- package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-46TE-XA0.js +49 -0
- package/bundled-test-harness/assets/get-default-writable-realm-test-DaAkxTNh.js +56 -0
- package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-9XEGHVOV.js +55 -0
- package/bundled-test-harness/assets/get-relationship-membership-state-test-BY4gk5JZ.js +1306 -0
- package/bundled-test-harness/assets/get-type-refs-from-filter-test-BynlX0JE.js +136 -0
- package/bundled-test-harness/assets/get-user-system-card-test-D98Xxn1k.js +52 -0
- package/bundled-test-harness/assets/gif-image-def-test-FwKGFGWw.js +161 -0
- package/bundled-test-harness/assets/gitGraph-WXDBUCRP-Bmn0Z_Xi.js +3 -0
- package/bundled-test-harness/assets/gitGraphDiagram-PVQCEYII-BAo0G82W.js +1150 -0
- package/bundled-test-harness/assets/gts-file-def-test-ivEk8Muv.js +99 -0
- package/bundled-test-harness/assets/head-format-preview-test-CNhvk724.js +156 -0
- package/bundled-test-harness/assets/helpers-BH4Yfo_2.js +5 -0
- package/bundled-test-harness/assets/host-mode-test-BRNndb2h.js +391 -0
- package/bundled-test-harness/assets/host-submode-test-DHd0x-6x.js +904 -0
- package/bundled-test-harness/assets/index-query-engine-test-7Fzc09fG.js +2548 -0
- package/bundled-test-harness/assets/index-writer-test-D3cL2q2N.js +1842 -0
- package/bundled-test-harness/assets/indexeddb-crypto-store-C09Shau-.js +49434 -0
- package/bundled-test-harness/assets/info-J43DQDTF-Dz5b1Xgc.js +3 -0
- package/bundled-test-harness/assets/infoDiagram-5YYISTIA-Dl8XvIfi.js +23 -0
- package/bundled-test-harness/assets/inspector-test-CVZVQdIJ.js +1776 -0
- package/bundled-test-harness/assets/instance-filter-matcher-test-C-4z6qUt.js +564 -0
- package/bundled-test-harness/assets/instantiate-card-test-eQ22Vt_m.js +104 -0
- package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-hXPsRPMU.js +497 -0
- package/bundled-test-harness/assets/interact-submode-setup-D55IIVc5.js +558 -0
- package/bundled-test-harness/assets/interact-submode-test-BwrtFe2m.js +725 -0
- package/bundled-test-harness/assets/invalidate-realm-identifiers-test-BMk7yd-D.js +101 -0
- package/bundled-test-harness/assets/invite-user-to-room-test-B5B0umJQ.js +67 -0
- package/bundled-test-harness/assets/ishikawaDiagram-YF4QCWOH-BrO7NAng.js +1009 -0
- package/bundled-test-harness/assets/isolated-render-test-DX1wdHoS.js +51 -0
- package/bundled-test-harness/assets/item-button-QkVr-FW0.js +203 -0
- package/bundled-test-harness/assets/javascript-BWNQhcCY.js +75 -0
- package/bundled-test-harness/assets/job-priority-header-test-CuBZloLK.js +81 -0
- package/bundled-test-harness/assets/journeyDiagram-JHISSGLW-B7BT66v0.js +1256 -0
- package/bundled-test-harness/assets/jpg-image-def-test-DEx462nY.js +430 -0
- package/bundled-test-harness/assets/json-file-def-test-Cray6ly6.js +92 -0
- package/bundled-test-harness/assets/kanban-definition-UN3LZRKU-C0E5Vmr_.js +1284 -0
- package/bundled-test-harness/assets/last-modified-date-test-BzE25NOB.js +18 -0
- package/bundled-test-harness/assets/limited-set-test-NwGNoXKc.js +123 -0
- package/bundled-test-harness/assets/line-BbGOk93s.js +55 -0
- package/bundled-test-harness/assets/linear-CHTo-YQl.js +417 -0
- package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-CZdgRM1b.js +315 -0
- package/bundled-test-harness/assets/linksto-error-sentinel-test-DhsHO7Xs.js +236 -0
- package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-mt-RrRta.js +303 -0
- package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CdGUXZsi.js +301 -0
- package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DOJ_6Gwf.js +258 -0
- package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-BZC-gslF.js +194 -0
- package/bundled-test-harness/assets/live-prerendered-search-BSkwf5AH.js +639 -0
- package/bundled-test-harness/assets/live-test-DTfxZnsy.js +100 -0
- package/bundled-test-harness/assets/live-test-WOMYpc1I.js +2 -0
- package/bundled-test-harness/assets/loader-icon-error-test-F_ukQytn.js +62 -0
- package/bundled-test-harness/assets/loader-parallel-prefetch-test-DpNaFnhc.js +257 -0
- package/bundled-test-harness/assets/loader-retry-test-EQ2X0bFS.js +173 -0
- package/bundled-test-harness/assets/loader-test-BYkWAwc4.js +245 -0
- package/bundled-test-harness/assets/loading-test-jfWH_OpH.js +63 -0
- package/bundled-test-harness/assets/login-error-text-test-Cldr1X6h.js +51 -0
- package/bundled-test-harness/assets/m4a-audio-def-test-BQ1WKApD.js +185 -0
- package/bundled-test-harness/assets/main-ByAsLO_g.js +5 -0
- package/bundled-test-harness/assets/markdown-fallback-test-dtTaGP1s.js +316 -0
- package/bundled-test-harness/assets/markdown-file-def-test-shW9Xxd1.js +286 -0
- package/bundled-test-harness/assets/markdown-helpers-test-B6H7p4ay.js +183 -0
- package/bundled-test-harness/assets/markdown-highlighting-test-ZIrFNHRe.js +244 -0
- package/bundled-test-harness/assets/markdown-preview-KII3nJ2M.js +69 -0
- package/bundled-test-harness/assets/markdown-preview-test-De-IaUbK.js +237 -0
- package/bundled-test-harness/assets/marked-sync-CGSehq4u.js +2 -0
- package/bundled-test-harness/assets/marked-sync-DenC7QgC.js +2561 -0
- package/bundled-test-harness/assets/marked-sync-test-jZBr20Hq.js +146 -0
- package/bundled-test-harness/assets/matrix-service-sliding-sync-test-Ax4kyAMt.js +33 -0
- package/bundled-test-harness/assets/mermaid-parser.core-B_3tzKUl.js +114 -0
- package/bundled-test-harness/assets/mermaid.core-D2hqA7Hq.js +1700 -0
- package/bundled-test-harness/assets/message-service-subscription-test-B42KnJ91.js +113 -0
- package/bundled-test-harness/assets/mindmap-definition-RKZ34NQL-IZz7Qpd0.js +1347 -0
- package/bundled-test-harness/assets/mock-matrix-BhFWlMMr.js +14292 -0
- package/bundled-test-harness/assets/mock-matrix-CrtMntcN.js +2 -0
- package/bundled-test-harness/assets/module-transpile-cache-test-BtWN4OiM.js +66 -0
- package/bundled-test-harness/assets/monaco.contribution-B1hOUP3w.js +2 -0
- package/bundled-test-harness/assets/monaco.contribution-DhNsYtZe.js +2 -0
- package/bundled-test-harness/assets/monaco.contribution-DvJDImx2.js +103 -0
- package/bundled-test-harness/assets/monaco.contribution-yXcOyzue.js +243 -0
- package/bundled-test-harness/assets/mp3-audio-def-test-D365TuA7.js +129 -0
- package/bundled-test-harness/assets/mutex-test-DY09HLvv.js +71 -0
- package/bundled-test-harness/assets/number-field-test-wYaQjnzA.js +153 -0
- package/bundled-test-harness/assets/ogg-audio-def-test-Dl01PP31.js +191 -0
- package/bundled-test-harness/assets/open-create-listing-modal-test-D8C2PUFv.js +117 -0
- package/bundled-test-harness/assets/open-workspace-test-DN2n8IkC.js +48 -0
- package/bundled-test-harness/assets/operator-mode-acceptance-test-B_hzJZo4.js +1044 -0
- package/bundled-test-harness/assets/operator-mode-card-catalog-test-Hrrnkdt9.js +989 -0
- package/bundled-test-harness/assets/operator-mode-links-test-DC6sc9TZ.js +797 -0
- package/bundled-test-harness/assets/operator-mode-state-service-test-Aqz9_v0U.js +122 -0
- package/bundled-test-harness/assets/operator-mode-test-CLgpZGEM.js +617 -0
- package/bundled-test-harness/assets/operator-mode-ui-test-CDRrORfC.js +985 -0
- package/bundled-test-harness/assets/ordinal-BIRuJQBH.js +85 -0
- package/bundled-test-harness/assets/overlay-menu-items-test-of24KuXp.js +316 -0
- package/bundled-test-harness/assets/packet-YPE3B663-hs92geQG.js +3 -0
- package/bundled-test-harness/assets/panel-rIdTMDfK.js +3371 -0
- package/bundled-test-harness/assets/past-sessions-test-ZKr4ACF0.js +321 -0
- package/bundled-test-harness/assets/patch-code-test-BZa-Itrt.js +203 -0
- package/bundled-test-harness/assets/patch-fields-test-BkaHs-zo.js +992 -0
- package/bundled-test-harness/assets/patch-instance-test-CRMgg52p.js +287 -0
- package/bundled-test-harness/assets/persist-module-inspector-view-test-CqNy2RXR.js +62 -0
- package/bundled-test-harness/assets/phone-number-field-test-CV6gntON.js +72 -0
- package/bundled-test-harness/assets/pie-LRSECV5Y-DcM5pWE3.js +3 -0
- package/bundled-test-harness/assets/pieDiagram-4H26LBE5-CtO8RHpU.js +253 -0
- package/bundled-test-harness/assets/plan-install-test-lfBTuWXU.js +417 -0
- package/bundled-test-harness/assets/playground-VscW9KdT.js +57 -0
- package/bundled-test-harness/assets/png-image-def-test-CRspcIHP.js +222 -0
- package/bundled-test-harness/assets/prerender-file-extract-test-D3SpxfMI.js +176 -0
- package/bundled-test-harness/assets/prerender-html-test-WWptGXJ0.js +615 -0
- package/bundled-test-harness/assets/prerender-meta-test-DwQEGN6j.js +388 -0
- package/bundled-test-harness/assets/prerender-module-test-BM1AOwRF.js +195 -0
- package/bundled-test-harness/assets/prerendered-card-search-test-BVJ8IHLe.js +708 -0
- package/bundled-test-harness/assets/preview-format-test-DDpiXDN_.js +103 -0
- package/bundled-test-harness/assets/preview-test-D2UV1C5D.js +455 -0
- package/bundled-test-harness/assets/published-realm-url-DUIZzAJ5.js +52 -0
- package/bundled-test-harness/assets/published-realm-url-test-CIgSf4Ub.js +137 -0
- package/bundled-test-harness/assets/qs-test-Bi679H5w.js +36 -0
- package/bundled-test-harness/assets/quadrantDiagram-W4KKPZXB-GOTAKsCo.js +2324 -0
- package/bundled-test-harness/assets/query-field-barrier-test-BlOuVxdS.js +118 -0
- package/bundled-test-harness/assets/query-field-error-sentinel-test-BsB76iUQ.js +202 -0
- package/bundled-test-harness/assets/query-field-normalization-test-B2YodJCr.js +271 -0
- package/bundled-test-harness/assets/query-field-schema-test-CQhJASFx.js +231 -0
- package/bundled-test-harness/assets/query-fields-test-CaZ19leM.js +535 -0
- package/bundled-test-harness/assets/queue-test-DrSip6mJ.js +216 -0
- package/bundled-test-harness/assets/radar-GUYGQ44K-BkAe1nkp.js +3 -0
- package/bundled-test-harness/assets/read-card-for-ai-assistant-test-D8yB-OL9.js +91 -0
- package/bundled-test-harness/assets/read-file-for-ai-assistant-test-K3M0-lBD.js +45 -0
- package/bundled-test-harness/assets/read-source-test-CKlb0ORb.js +67 -0
- package/bundled-test-harness/assets/read-text-file-test-CJdasDDU.js +124 -0
- package/bundled-test-harness/assets/realm-DhUCLR5r.js +884 -0
- package/bundled-test-harness/assets/realm-field-test-kFgxphDI.js +101 -0
- package/bundled-test-harness/assets/realm-index-card-id-test-DAnMAqw4.js +18 -0
- package/bundled-test-harness/assets/realm-indexing-test-BQkX-Dat.js +4018 -0
- package/bundled-test-harness/assets/realm-paths-test-CmEi9rzu.js +33 -0
- package/bundled-test-harness/assets/realm-querying-test-eq3qSXLu.js +1062 -0
- package/bundled-test-harness/assets/realm-test-DLQAtdMt.js +2409 -0
- package/bundled-test-harness/assets/reasoning-test-CwTfyDlj.js +234 -0
- package/bundled-test-harness/assets/recent-files-test-MVIGLp8S.js +449 -0
- package/bundled-test-harness/assets/reindex-realm-test-BwLgJeB3.js +119 -0
- package/bundled-test-harness/assets/relationship-loading-state-test-B4Ca43yD.js +289 -0
- package/bundled-test-harness/assets/render-component-BKEihV4U.js +2 -0
- package/bundled-test-harness/assets/render-error-test-DWD6tfNe.js +22 -0
- package/bundled-test-harness/assets/render-service-test-BjuoVrUK.js +87 -0
- package/bundled-test-harness/assets/render-timer-stub-test-BgUY5u3X.js +84 -0
- package/bundled-test-harness/assets/rendered-markdown-DOP-s6fW.js +211 -0
- package/bundled-test-harness/assets/rendered-markdown-test-CD02UYwA.js +360 -0
- package/bundled-test-harness/assets/requirementDiagram-4Y6WPE33-DJIy7eR9.js +2550 -0
- package/bundled-test-harness/assets/rich-markdown-field-test-BJeQx1tL.js +806 -0
- package/bundled-test-harness/assets/room-message-test-CjD7FlPD.js +171 -0
- package/bundled-test-harness/assets/rust-crypto-GS0FFZ7H.js +16141 -0
- package/bundled-test-harness/assets/sanitize-module-list-test-gi0pcqSy.js +68 -0
- package/bundled-test-harness/assets/sankeyDiagram-5OEKKPKP-wBsbt1Mr.js +1357 -0
- package/bundled-test-harness/assets/schema-editor-test-BSqu8W3e.js +784 -0
- package/bundled-test-harness/assets/schema-generation-test-DVFuSsLl.js +28 -0
- package/bundled-test-harness/assets/scrolling-test-CpzkRiBS.js +292 -0
- package/bundled-test-harness/assets/search-and-choose-test-DVWX4XRb.js +156 -0
- package/bundled-test-harness/assets/search-cache-key-test-BMnYM4a5.js +79 -0
- package/bundled-test-harness/assets/search-command-test-kEfT0AO7.js +135 -0
- package/bundled-test-harness/assets/search-correlation-id-test-D08FtVUZ.js +101 -0
- package/bundled-test-harness/assets/search-data-test-CTrBEc1m.js +243 -0
- package/bundled-test-harness/assets/search-google-images-test-UnKG8qCp.js +168 -0
- package/bundled-test-harness/assets/search-in-flight-key-test-9Va-JXFz.js +79 -0
- package/bundled-test-harness/assets/search-test-COlO2lZi.js +847 -0
- package/bundled-test-harness/assets/send-ai-assistant-message-test-BPjOjt2R.js +52 -0
- package/bundled-test-harness/assets/send-bot-trigger-event-test-BB4lHbB_.js +56 -0
- package/bundled-test-harness/assets/send-request-via-proxy-test-U8frmHZA.js +333 -0
- package/bundled-test-harness/assets/sending-test-DjEzksEX.js +317 -0
- package/bundled-test-harness/assets/sequenceDiagram-3UESZ5HK-QAEjhoay.js +5551 -0
- package/bundled-test-harness/assets/serialization-test-DHdLriC8.js +8283 -0
- package/bundled-test-harness/assets/set-user-system-card-test-C8I1lDBh.js +59 -0
- package/bundled-test-harness/assets/setup-BkuybBki.js +769 -0
- package/bundled-test-harness/assets/setup-gxkWJKID.js +2 -0
- package/bundled-test-harness/assets/show-card-test-DHKQ6AI4.js +362 -0
- package/bundled-test-harness/assets/skills-test-DlMgZrPV.js +568 -0
- package/bundled-test-harness/assets/spec-test-s9Zj7x2E.js +1012 -0
- package/bundled-test-harness/assets/stateDiagram-AJRCARHV-nEhf3efZ.js +363 -0
- package/bundled-test-harness/assets/stateDiagram-v2-BHNVJYJU-tZz_3w-7.js +29 -0
- package/bundled-test-harness/assets/store-add-test-D44FWRl3.js +52 -0
- package/bundled-test-harness/assets/store-test-TTmNBs5v.js +1562 -0
- package/bundled-test-harness/assets/summarize-session-test-DHAuNb5K.js +169 -0
- package/bundled-test-harness/assets/svg-image-def-test-C2_GGzR6.js +164 -0
- package/bundled-test-harness/assets/switch-submode-test-CfGaoxVe.js +168 -0
- package/bundled-test-harness/assets/test-realm-service-worker-C21o7yvW.js +73 -0
- package/bundled-test-harness/assets/tests-BSt6h9iC.js +2771 -0
- package/bundled-test-harness/assets/text-file-def-test-CR4QO7e_.js +93 -0
- package/bundled-test-harness/assets/text-input-validator-test-DYS3mFj9.js +155 -0
- package/bundled-test-harness/assets/text-suggestion-test-GUxJ7WtF.js +339 -0
- package/bundled-test-harness/assets/theme-card-test-Ba2KqFB8.js +573 -0
- package/bundled-test-harness/assets/timeline-definition-PNZ67QCA-BQYyTIei.js +1545 -0
- package/bundled-test-harness/assets/transform-cards-test-DyA8eCom.js +341 -0
- package/bundled-test-harness/assets/treeView-BLDUP644-Z4ezSvef.js +3 -0
- package/bundled-test-harness/assets/treemap-LRROVOQU-Bf5rk_He.js +3 -0
- package/bundled-test-harness/assets/ts-file-def-test-Cxnc6H74.js +90 -0
- package/bundled-test-harness/assets/tsMode-oJEHe-CR.js +968 -0
- package/bundled-test-harness/assets/typescript-DLbb7q56.js +2 -0
- package/bundled-test-harness/assets/update-room-skills-test-B7VLHU3-.js +197 -0
- package/bundled-test-harness/assets/url-test-w-69Zycf.js +103 -0
- package/bundled-test-harness/assets/use-ai-assistant-test-DJkFz7_b.js +330 -0
- package/bundled-test-harness/assets/validate-realm-test-BioLutB8.js +53 -0
- package/bundled-test-harness/assets/vennDiagram-CIIHVFJN-9eLwsQET.js +2833 -0
- package/bundled-test-harness/assets/wardley-L42UT6IY-qNP5_917.js +3 -0
- package/bundled-test-harness/assets/wardleyDiagram-YWT4CUSO-DZhEm4N4.js +872 -0
- package/bundled-test-harness/assets/wav-audio-def-test-DqsTEBw8.js +155 -0
- package/bundled-test-harness/assets/webp-image-def-test-23wOLPMu.js +225 -0
- package/bundled-test-harness/assets/workspace-chooser-delete-test-Q6S_nGDT.js +189 -0
- package/bundled-test-harness/assets/workspace-chooser-test-CzsvY1v_.js +235 -0
- package/bundled-test-harness/assets/workspace-delete-multiple-test-BNFHkJpQ.js +213 -0
- package/bundled-test-harness/assets/workspace-delete-summary-test-DLzNdjvC.js +63 -0
- package/bundled-test-harness/assets/write-binary-file-test-PHHt9fVI.js +100 -0
- package/bundled-test-harness/assets/write-text-file-test-DuHe6tR5.js +172 -0
- package/bundled-test-harness/assets/xychartDiagram-2RQKCTM6-bflHQbEv.js +2551 -0
- package/bundled-test-harness/index.html +24 -23
- package/bundled-test-harness/tests/index.html +31 -30
- package/bundled-types/base/command.d.ts +48 -0
- package/bundled-types/host-app/components/operator-mode/publish-realm-modal.gts +17 -26
- package/bundled-types/host-app/lib/published-realm-url.ts +135 -0
- package/package.json +2 -2
- package/src/build-program.ts +12 -12
- package/src/commands/consolidate-workspaces.ts +1 -1
- package/src/commands/file/delete.ts +4 -4
- package/src/commands/file/index.ts +6 -6
- package/src/commands/file/lint.ts +4 -4
- package/src/commands/file/list.ts +3 -3
- package/src/commands/file/read.ts +3 -3
- package/src/commands/file/touch.ts +6 -6
- package/src/commands/file/write.ts +3 -3
- package/src/commands/lint.ts +6 -6
- package/src/commands/parse.ts +6 -6
- package/src/commands/profile.ts +4 -4
- package/src/commands/read-transpiled.ts +6 -3
- package/src/commands/realm/cancel-indexing.ts +3 -3
- package/src/commands/realm/create.ts +2 -2
- package/src/commands/realm/history.ts +4 -4
- package/src/commands/realm/index.ts +15 -15
- package/src/commands/realm/indexing-errors.ts +3 -3
- package/src/commands/realm/list.ts +2 -2
- package/src/commands/realm/milestone.ts +4 -4
- package/src/commands/realm/publish.ts +4 -4
- package/src/commands/realm/pull.ts +6 -6
- package/src/commands/realm/push.ts +7 -7
- package/src/commands/realm/remove.ts +3 -3
- package/src/commands/realm/status.ts +8 -8
- package/src/commands/realm/sync.ts +9 -9
- package/src/commands/realm/unpublish.ts +3 -3
- package/src/commands/realm/wait-for-ready.ts +2 -2
- package/src/commands/realm/watch/index.ts +2 -2
- package/src/commands/realm/watch/start.ts +13 -10
- package/src/commands/realm/watch/stop.ts +2 -2
- package/src/commands/run-command.ts +6 -3
- package/src/commands/search.ts +3 -3
- package/src/commands/test.ts +5 -5
- package/src/index.ts +2 -2
- package/src/lib/auth-resolver.ts +3 -3
- package/src/lib/boxel-cli-client.ts +18 -15
- package/src/lib/checkpoint-manager.ts +1 -1
- package/src/lib/find-checkpoint.ts +1 -1
- package/src/lib/profile-manager.ts +4 -4
- package/src/lib/realm-local-paths.ts +1 -1
- package/src/lib/realm-sync-base.ts +1 -1
- package/src/lib/seed-auth.ts +1 -1
- package/src/lib/sync-logic.ts +1 -1
- package/src/lib/watch-process-registry.ts +1 -1
- package/bundled-test-harness/assets/adapter-C8oDflNN.js +0 -2
- package/bundled-test-harness/assets/add-field-to-card-definition-command-test-Cs670972.js +0 -111
- package/bundled-test-harness/assets/add-workspace-test-BviDAUBK.js +0 -71
- package/bundled-test-harness/assets/ai-assistant-B5fp2iOz.js +0 -129
- package/bundled-test-harness/assets/ai-assistant-panel-service-test-NpHZzZAz.js +0 -95
- package/bundled-test-harness/assets/ai-assistant-test-jPV29jEw.js +0 -2137
- package/bundled-test-harness/assets/ai-function-generation-test-QRPcE9tQ.js +0 -996
- package/bundled-test-harness/assets/ai-module-creation-test-DyuyfnkY.js +0 -150
- package/bundled-test-harness/assets/aibot-message-Dwxp5hTW.js +0 -1185
- package/bundled-test-harness/assets/amd-transpile-test-CF7Lkbif.js +0 -425
- package/bundled-test-harness/assets/app-CgP2IpNG.js +0 -21464
- package/bundled-test-harness/assets/apply-boxel-formatting-test-BXyZ3z0I.js +0 -134
- package/bundled-test-harness/assets/apply-markdown-edit-test-C6bcaj3a.js +0 -230
- package/bundled-test-harness/assets/apply-search-replace-block-test-BSwC4J9g.js +0 -630
- package/bundled-test-harness/assets/arc-DNRb_8LA.js +0 -199
- package/bundled-test-harness/assets/architecture-7EHR7CIX-BtVh_LBJ.js +0 -3
- package/bundled-test-harness/assets/architectureDiagram-3BPJPVTR-D9UYbaKj.js +0 -7400
- package/bundled-test-harness/assets/auth-error-guard-test-Bvu8E7Wy.js +0 -30
- package/bundled-test-harness/assets/auth-service-worker-test-CC6DzdfK.js +0 -538
- package/bundled-test-harness/assets/authed-fetch-test-CfF-IBHI.js +0 -75
- package/bundled-test-harness/assets/avif-image-def-test-B9L2z0nR.js +0 -186
- package/bundled-test-harness/assets/base-realm-43wjttN2.js +0 -140
- package/bundled-test-harness/assets/base-realm-CJ5x9iyX.js +0 -2
- package/bundled-test-harness/assets/basic-test-B64a5zCK.js +0 -128
- package/bundled-test-harness/assets/bfm-card-references-test-cLQVLpth.js +0 -577
- package/bundled-test-harness/assets/binary-upload-dedupe-test-By7Y1iQ3.js +0 -308
- package/bundled-test-harness/assets/blockDiagram-GPEHLZMM-LgOorG2O.js +0 -4355
- package/bundled-test-harness/assets/bot-registration-test-DOjf0P1R.js +0 -99
- package/bundled-test-harness/assets/box-test-Cd1-RcXg.js +0 -51
- package/bundled-test-harness/assets/brand-guide-attachments-test-DxRqP8fo.js +0 -87
- package/bundled-test-harness/assets/brand-guide-custom-css-test-DBpZiHzJ.js +0 -135
- package/bundled-test-harness/assets/brand-logo-mark-field-test-61k4e5Om.js +0 -87
- package/bundled-test-harness/assets/broken-link-template-test-A1P4flQ5.js +0 -345
- package/bundled-test-harness/assets/browser-index-Bzhpucwe.js +0 -3
- package/bundled-test-harness/assets/browser-index-D0mzSWYV.js +0 -8802
- package/bundled-test-harness/assets/c4Diagram-AAUBKEIU-1iq94vGa.js +0 -3764
- package/bundled-test-harness/assets/cached-fetch-test-ByQ-5OQI.js +0 -93
- package/bundled-test-harness/assets/can-read-realm-test-VFLHJdEv.js +0 -58
- package/bundled-test-harness/assets/cancel-indexing-job-test-n3Os4ZaX.js +0 -71
- package/bundled-test-harness/assets/card-api-test-DvNfLv3V.js +0 -196
- package/bundled-test-harness/assets/card-basics-test-CKzZuFdw.js +0 -4895
- package/bundled-test-harness/assets/card-catalog-test-JFvkVHED.js +0 -377
- package/bundled-test-harness/assets/card-copy-test-iwrFA72s.js +0 -777
- package/bundled-test-harness/assets/card-def-field-def-relationships-test-D5s2RH5t.js +0 -560
- package/bundled-test-harness/assets/card-def-menu-items-test-XcmkT4NF.js +0 -182
- package/bundled-test-harness/assets/card-delete-test-jtAOHk1Y.js +0 -412
- package/bundled-test-harness/assets/card-directory-name-test-veQEp5FJ.js +0 -71
- package/bundled-test-harness/assets/card-playground-test-P7Ed0tO4.js +0 -1497
- package/bundled-test-harness/assets/card-prerender-DXG8cQEv.js +0 -12661
- package/bundled-test-harness/assets/card-search-adorn-test-BX0-IJHB.js +0 -128
- package/bundled-test-harness/assets/card-search-query-builder-test-D01uixke.js +0 -88
- package/bundled-test-harness/assets/card-search-selection-menu-test-DMTeZFmW.js +0 -108
- package/bundled-test-harness/assets/channel-BvoW_rbI.js +0 -8
- package/bundled-test-harness/assets/check-correctness-test-D7QB1GTo.js +0 -252
- package/bundled-test-harness/assets/chunk-2J33WTMH-BbxCvOlt.js +0 -31
- package/bundled-test-harness/assets/chunk-3OPIFGDE-DHY3s0oT.js +0 -5548
- package/bundled-test-harness/assets/chunk-4BX2VUAB-CRivrLQ6.js +0 -11
- package/bundled-test-harness/assets/chunk-4EGX6M5U-qWzlMeqd.js +0 -44
- package/bundled-test-harness/assets/chunk-55IACEB6-DOl6NECJ.js +0 -10
- package/bundled-test-harness/assets/chunk-5DO6E6H7-scwNnzDb.js +0 -27
- package/bundled-test-harness/assets/chunk-5ZQYHXKU-BeETnugr.js +0 -1767
- package/bundled-test-harness/assets/chunk-727SXJPM-BlycTxFE.js +0 -3877
- package/bundled-test-harness/assets/chunk-AQP2D5EJ-BE3Clw-g.js +0 -2622
- package/bundled-test-harness/assets/chunk-BR22UD5L-BTPKlhWA.js +0 -85
- package/bundled-test-harness/assets/chunk-BSJP7CBP-BIhtUfvc.js +0 -114
- package/bundled-test-harness/assets/chunk-CSCIHK7Q-DnRAp6Bv.js +0 -6144
- package/bundled-test-harness/assets/chunk-FHYWG6QK-DpIXIGDC.js +0 -27
- package/bundled-test-harness/assets/chunk-FMBD7UC4-B36w3LIg.js +0 -20
- package/bundled-test-harness/assets/chunk-KSCS5N6A-gbz9p9BU.js +0 -871
- package/bundled-test-harness/assets/chunk-L5ZTLDWV-HNfH9U8K.js +0 -43
- package/bundled-test-harness/assets/chunk-LZXEDZCA-CbKHJfzx.js +0 -65
- package/bundled-test-harness/assets/chunk-MPE355IW-BGVbCTZH.js +0 -27
- package/bundled-test-harness/assets/chunk-MZUSXYTE-DoCjuxcJ.js +0 -36
- package/bundled-test-harness/assets/chunk-N66VUXT2-BX17MI-i.js +0 -70
- package/bundled-test-harness/assets/chunk-ND2GUHAM-IpeiJZYz.js +0 -93
- package/bundled-test-harness/assets/chunk-NZK2D7GU-CH-Gg7qc.js +0 -89
- package/bundled-test-harness/assets/chunk-O5CBEL6O-D2JbLgI8.js +0 -2395
- package/bundled-test-harness/assets/chunk-PUPMXCY4-DS4ZxM2V.js +0 -27
- package/bundled-test-harness/assets/chunk-QZHKN3VN-WLHeRUJ3.js +0 -20
- package/bundled-test-harness/assets/chunk-UIBZB4QT-DNIJBpkq.js +0 -27
- package/bundled-test-harness/assets/chunk-WCWK7LTN-CqRJ3WOy.js +0 -36
- package/bundled-test-harness/assets/chunk-WU5MYG2G-CtItCLbE.js +0 -12
- package/bundled-test-harness/assets/chunk-XPW4576I-D2Q7Qo8n.js +0 -2341
- package/bundled-test-harness/assets/classDiagram-4FO5ZUOK-CnNFReKQ.js +0 -31
- package/bundled-test-harness/assets/classDiagram-v2-Q7XG4LA2-BlhpbohY.js +0 -31
- package/bundled-test-harness/assets/code-equality-assertion-C-2g5YGf.js +0 -474
- package/bundled-test-harness/assets/code-patches-test-DaV4Mon_.js +0 -1128
- package/bundled-test-harness/assets/code-patching-test-CcbWlImN.js +0 -114
- package/bundled-test-harness/assets/code-ref-test-8Yj8gbww.js +0 -138
- package/bundled-test-harness/assets/code-semantics-service-test-C3srTfDz.js +0 -65
- package/bundled-test-harness/assets/code-submode-test-BUhjvWtB.js +0 -1762
- package/bundled-test-harness/assets/codeblocks-test-3zAp0_GA.js +0 -492
- package/bundled-test-harness/assets/codemirror-context-C7KmSAyy.js +0 -2
- package/bundled-test-harness/assets/codemirror-editor-test-WojU4k2h.js +0 -1176
- package/bundled-test-harness/assets/color-field-test-yESUakoE.js +0 -213
- package/bundled-test-harness/assets/command-definitions-test-UsXsAhn7.js +0 -72
- package/bundled-test-harness/assets/commands-CBDBujm_.js +0 -1379
- package/bundled-test-harness/assets/commands-calling-test-DJTl0EbL.js +0 -200
- package/bundled-test-harness/assets/commands-test-DW2gupNS.js +0 -1041
- package/bundled-test-harness/assets/commands-test-DjLnuojW.js +0 -1145
- package/bundled-test-harness/assets/computed-test-0n5g8Ez5.js +0 -882
- package/bundled-test-harness/assets/container-D8y7fmir.js +0 -14602
- package/bundled-test-harness/assets/convert-to-class-name-test-DSIflIV2.js +0 -17
- package/bundled-test-harness/assets/copy-and-edit-test-BuK1ZHr-.js +0 -291
- package/bundled-test-harness/assets/copy-card-test-DnDC4_7J.js +0 -156
- package/bundled-test-harness/assets/copy-file-to-realm-test-CFd_3Iff.js +0 -99
- package/bundled-test-harness/assets/copy-source-test-38yUGJor.js +0 -56
- package/bundled-test-harness/assets/cose-bilkent-S5V4N54A-DXA1S87S.js +0 -4275
- package/bundled-test-harness/assets/create-file-test-B2oem0-V.js +0 -963
- package/bundled-test-harness/assets/create-file-test-BHk00RtD.js +0 -397
- package/bundled-test-harness/assets/create-listing-modal-test-L-71-Uo2.js +0 -194
- package/bundled-test-harness/assets/create-listing-pr-request-CZaLsHhE.js +0 -64
- package/bundled-test-harness/assets/create-listing-pr-request-test-OGzk4Q2E.js +0 -117
- package/bundled-test-harness/assets/create-spec-test-BsM7VKuH.js +0 -239
- package/bundled-test-harness/assets/csv-file-def-test-BhJalhE-.js +0 -101
- package/bundled-test-harness/assets/dagre-BIk_r1iU.js +0 -4195
- package/bundled-test-harness/assets/dagre-BM42HDAG-FaUWeGOj.js +0 -606
- package/bundled-test-harness/assets/date-time-fields-test-Cs5T6Xk1.js +0 -322
- package/bundled-test-harness/assets/debug-message-test-WlHe7pJF.js +0 -119
- package/bundled-test-harness/assets/diagram-2AECGRRQ-DLve-IVM.js +0 -279
- package/bundled-test-harness/assets/diagram-5GNKFQAL-CJG1RTLk.js +0 -142
- package/bundled-test-harness/assets/diagram-KO2AKTUF-DYGDq3dD.js +0 -551
- package/bundled-test-harness/assets/diagram-LMA3HP47-BNRYdpMl.js +0 -184
- package/bundled-test-harness/assets/diagram-OG6HWLK6-BlJH5g83.js +0 -857
- package/bundled-test-harness/assets/diffing-test-DO54USSm.js +0 -210
- package/bundled-test-harness/assets/dist-BDRmXkWl.js +0 -232
- package/bundled-test-harness/assets/dist-BfNSLd0O.js +0 -105
- package/bundled-test-harness/assets/dist-BoireClP.js +0 -2
- package/bundled-test-harness/assets/editor-test-DChC9LuR.js +0 -551
- package/bundled-test-harness/assets/editor.main-BiohyrHK.js +0 -3
- package/bundled-test-harness/assets/editor.main-CMU_0pR1.js +0 -43566
- package/bundled-test-harness/assets/email-field-test-DWIFSfZ-.js +0 -74
- package/bundled-test-harness/assets/enum-field-test-BUc6l4us.js +0 -909
- package/bundled-test-harness/assets/erDiagram-TEJ5UH35-pOJ2novh.js +0 -2041
- package/bundled-test-harness/assets/error-display-test-CHSE6h6Z.js +0 -343
- package/bundled-test-harness/assets/evaluate-module-test-Caa5n0B9.js +0 -66
- package/bundled-test-harness/assets/eventmodeling-FCH6USID-B6XXU7R3.js +0 -3
- package/bundled-test-harness/assets/execute-atomic-operations-test-CT060oDk.js +0 -75
- package/bundled-test-harness/assets/externals-Do1fVZ4j.js +0 -5533
- package/bundled-test-harness/assets/extract-css-variables-test-DzjAsMgg.js +0 -169
- package/bundled-test-harness/assets/fallback-banner-test-CmxysrDn.js +0 -227
- package/bundled-test-harness/assets/fallback-banner-test-DJ4cO8PB.js +0 -53
- package/bundled-test-harness/assets/fallback-models-test-r5upJFeA.js +0 -163
- package/bundled-test-harness/assets/fetch-card-json-test-Di1wmvy5.js +0 -63
- package/bundled-test-harness/assets/fetcher-test-DjzNl_7F.js +0 -85
- package/bundled-test-harness/assets/field-configuration-test-C3vr-HhG.js +0 -535
- package/bundled-test-harness/assets/field-markdown-domain-test-DG2U4qIm.js +0 -615
- package/bundled-test-harness/assets/field-markdown-primitives-test-Bay2v8nT.js +0 -362
- package/bundled-test-harness/assets/field-markdown-specialized-test-Bl0Sl4sc.js +0 -527
- package/bundled-test-harness/assets/field-path-parser-test-bxxwUjcm.js +0 -387
- package/bundled-test-harness/assets/field-playground-test-Bcjfws4m.js +0 -902
- package/bundled-test-harness/assets/field-support-predicates-test-DYTqOGvv.js +0 -170
- package/bundled-test-harness/assets/field-test-helpers-DYSfSGdh.js +0 -45
- package/bundled-test-harness/assets/file-attachment-test-6ypDRDS7.js +0 -635
- package/bundled-test-harness/assets/file-chooser-test-mtmcHTFP.js +0 -439
- package/bundled-test-harness/assets/file-def-live-reload-test-CX1-lOv6.js +0 -50
- package/bundled-test-harness/assets/file-def-manager-DNHII2oj.js +0 -470
- package/bundled-test-harness/assets/file-def-manager-canonicalize-test-i_7UVakF.js +0 -451
- package/bundled-test-harness/assets/file-def-menu-items-test-Dw458iku.js +0 -114
- package/bundled-test-harness/assets/file-def-navigation-test-B3Ztr1Rd.js +0 -109
- package/bundled-test-harness/assets/file-def-serialization-test-C_gV8AkU.js +0 -87
- package/bundled-test-harness/assets/file-def-test-vXXJmtxX.js +0 -219
- package/bundled-test-harness/assets/file-tree-test-BJCiw9jm.js +0 -773
- package/bundled-test-harness/assets/flac-audio-def-test-BX3SE1vW.js +0 -138
- package/bundled-test-harness/assets/flowDiagram-I6XJVG4X-7Q5ROn4X.js +0 -4883
- package/bundled-test-harness/assets/formatted-aibot-message-test-DyqUz2nt.js +0 -366
- package/bundled-test-harness/assets/formatted-user-message-test-aqAzqvBP.js +0 -43
- package/bundled-test-harness/assets/freestyle-test-CLRrZkAE.js +0 -17
- package/bundled-test-harness/assets/full-reindex-realm-test-ClqPVQ0c.js +0 -103
- package/bundled-test-harness/assets/ganttDiagram-6RSMTGT7-BkDoIAAE.js +0 -4060
- package/bundled-test-harness/assets/garbage-collection-test-Ba2dD3qS.js +0 -373
- package/bundled-test-harness/assets/general-test-D0zhs14K.js +0 -926
- package/bundled-test-harness/assets/generate-css-variables-test-CKrXSlHs.js +0 -88
- package/bundled-test-harness/assets/generate-example-cards-one-shot-test-fSAdGJeT.js +0 -67
- package/bundled-test-harness/assets/get-available-realm-identifiers-test-BXMUW65I.js +0 -49
- package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-DKEq6Zcq.js +0 -49
- package/bundled-test-harness/assets/get-default-writable-realm-test-Dp4nBIRP.js +0 -56
- package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-DYNnMgD-.js +0 -55
- package/bundled-test-harness/assets/get-relationship-membership-state-test-k9EUNWeq.js +0 -1306
- package/bundled-test-harness/assets/get-type-refs-from-filter-test-BPuivF-v.js +0 -136
- package/bundled-test-harness/assets/get-user-system-card-test-DSHv00O7.js +0 -52
- package/bundled-test-harness/assets/gif-image-def-test-LuDSr5Kz.js +0 -161
- package/bundled-test-harness/assets/gitGraph-WXDBUCRP-BrG_LYEh.js +0 -3
- package/bundled-test-harness/assets/gitGraphDiagram-PVQCEYII-QJjQcX4J.js +0 -1150
- package/bundled-test-harness/assets/gts-file-def-test-bS3ML062.js +0 -99
- package/bundled-test-harness/assets/head-format-preview-test-B8IPh71E.js +0 -156
- package/bundled-test-harness/assets/helpers-wSIq-bau.js +0 -5
- package/bundled-test-harness/assets/host-mode-test-D44nXoQZ.js +0 -391
- package/bundled-test-harness/assets/host-submode-test-CefkXg9F.js +0 -904
- package/bundled-test-harness/assets/index-query-engine-test-DJnDqmfK.js +0 -2548
- package/bundled-test-harness/assets/index-writer-test-BcrCMj37.js +0 -1842
- package/bundled-test-harness/assets/indexeddb-crypto-store-RTTNdynf.js +0 -49434
- package/bundled-test-harness/assets/info-J43DQDTF-DhDzvz9k.js +0 -3
- package/bundled-test-harness/assets/infoDiagram-5YYISTIA-8TmRFIRz.js +0 -23
- package/bundled-test-harness/assets/inspector-test-D4iMBlbL.js +0 -1776
- package/bundled-test-harness/assets/instance-filter-matcher-test-CYT6N3hN.js +0 -564
- package/bundled-test-harness/assets/instantiate-card-test-j1JS5lDe.js +0 -104
- package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-B-aXzOh6.js +0 -497
- package/bundled-test-harness/assets/interact-submode-setup-VMwOUl3u.js +0 -558
- package/bundled-test-harness/assets/interact-submode-test-D5lNNXdq.js +0 -725
- package/bundled-test-harness/assets/invalidate-realm-identifiers-test-71Ze8eGV.js +0 -101
- package/bundled-test-harness/assets/invite-user-to-room-test-UfjsvwVp.js +0 -67
- package/bundled-test-harness/assets/ishikawaDiagram-YF4QCWOH-7UALIGwM.js +0 -1009
- package/bundled-test-harness/assets/isolated-render-test-C2IL-Fz3.js +0 -51
- package/bundled-test-harness/assets/item-button-6g7XYj56.js +0 -203
- package/bundled-test-harness/assets/javascript-BwLQ7_Nc.js +0 -75
- package/bundled-test-harness/assets/job-priority-header-test-C3FfKLPP.js +0 -81
- package/bundled-test-harness/assets/journeyDiagram-JHISSGLW-t4gEZYup.js +0 -1256
- package/bundled-test-harness/assets/jpg-image-def-test-BTBk9lk5.js +0 -430
- package/bundled-test-harness/assets/json-file-def-test-BpU_Eidn.js +0 -92
- package/bundled-test-harness/assets/kanban-definition-UN3LZRKU-C_KHB3_r.js +0 -1284
- package/bundled-test-harness/assets/last-modified-date-test-fE7IP0q0.js +0 -18
- package/bundled-test-harness/assets/limited-set-test-uu2vX1Sv.js +0 -123
- package/bundled-test-harness/assets/line-BiZHXOjs.js +0 -55
- package/bundled-test-harness/assets/linear-DUaMMmmA.js +0 -417
- package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-qZeqQ1gt.js +0 -315
- package/bundled-test-harness/assets/linksto-error-sentinel-test-BaV3I8Xx.js +0 -236
- package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-BvJi1vCb.js +0 -303
- package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CK60Cugk.js +0 -301
- package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-BWxdEO9D.js +0 -258
- package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-CIsLhqR2.js +0 -194
- package/bundled-test-harness/assets/live-prerendered-search-jZe3I16p.js +0 -639
- package/bundled-test-harness/assets/live-test-CF_R5WGr.js +0 -2
- package/bundled-test-harness/assets/live-test-jO7lXuyB.js +0 -100
- package/bundled-test-harness/assets/loader-icon-error-test-N4JYZuTx.js +0 -62
- package/bundled-test-harness/assets/loader-parallel-prefetch-test-DteeG7mU.js +0 -257
- package/bundled-test-harness/assets/loader-retry-test-DYVgpS_I.js +0 -173
- package/bundled-test-harness/assets/loader-test-DLI8JIx-.js +0 -245
- package/bundled-test-harness/assets/loading-test-D4ZBtRYf.js +0 -63
- package/bundled-test-harness/assets/login-error-text-test-Dcq7q3EY.js +0 -51
- package/bundled-test-harness/assets/m4a-audio-def-test-BKqGO-CW.js +0 -185
- package/bundled-test-harness/assets/main-BjBdsiQT.js +0 -5
- package/bundled-test-harness/assets/markdown-fallback-test-BBj80dZZ.js +0 -316
- package/bundled-test-harness/assets/markdown-file-def-test-BnMF5rQF.js +0 -286
- package/bundled-test-harness/assets/markdown-helpers-test-DnuuSLfS.js +0 -183
- package/bundled-test-harness/assets/markdown-highlighting-test-CWRp2Rce.js +0 -244
- package/bundled-test-harness/assets/markdown-preview-test-Bf5OqKGf.js +0 -237
- package/bundled-test-harness/assets/markdown-preview-yYHtwNeI.js +0 -69
- package/bundled-test-harness/assets/marked-sync-2EfimW4i.js +0 -2
- package/bundled-test-harness/assets/marked-sync-DZOVFLjK.js +0 -2561
- package/bundled-test-harness/assets/marked-sync-test-BaaYbZNF.js +0 -146
- package/bundled-test-harness/assets/matrix-service-sliding-sync-test-CdEy3ASW.js +0 -33
- package/bundled-test-harness/assets/mermaid-parser.core-CKNAdXJW.js +0 -114
- package/bundled-test-harness/assets/mermaid.core-C0mfwy8A.js +0 -1700
- package/bundled-test-harness/assets/message-service-subscription-test-pGz_7rz3.js +0 -113
- package/bundled-test-harness/assets/mindmap-definition-RKZ34NQL-ClcHxkdY.js +0 -1347
- package/bundled-test-harness/assets/mock-matrix-D7JHfFtT.js +0 -2
- package/bundled-test-harness/assets/mock-matrix-DqDbNhEj.js +0 -14292
- package/bundled-test-harness/assets/module-transpile-cache-test-D0M-fPxs.js +0 -66
- package/bundled-test-harness/assets/monaco.contribution-BEs3qwfd.js +0 -103
- package/bundled-test-harness/assets/monaco.contribution-Dpx8UiPl.js +0 -2
- package/bundled-test-harness/assets/monaco.contribution-RF_qxJYG.js +0 -2
- package/bundled-test-harness/assets/monaco.contribution-jPVrF29f.js +0 -243
- package/bundled-test-harness/assets/mp3-audio-def-test-CxeRk1bl.js +0 -129
- package/bundled-test-harness/assets/mutex-test-D1xyxTj2.js +0 -71
- package/bundled-test-harness/assets/number-field-test-gjAGDy6P.js +0 -153
- package/bundled-test-harness/assets/ogg-audio-def-test-B6Ww3Ixr.js +0 -191
- package/bundled-test-harness/assets/open-create-listing-modal-test-uN58T3rI.js +0 -117
- package/bundled-test-harness/assets/open-workspace-test-DXVsvBFJ.js +0 -48
- package/bundled-test-harness/assets/operator-mode-acceptance-test-BxIq2xSS.js +0 -1044
- package/bundled-test-harness/assets/operator-mode-card-catalog-test-xFYx9_ng.js +0 -989
- package/bundled-test-harness/assets/operator-mode-links-test-qhXWmz-S.js +0 -797
- package/bundled-test-harness/assets/operator-mode-state-service-test-BdA_uvaY.js +0 -122
- package/bundled-test-harness/assets/operator-mode-test-D3EyTwq3.js +0 -617
- package/bundled-test-harness/assets/operator-mode-ui-test-CSrk6Q0A.js +0 -985
- package/bundled-test-harness/assets/ordinal-DO1mUmjg.js +0 -85
- package/bundled-test-harness/assets/overlay-menu-items-test-CuqqLsQT.js +0 -316
- package/bundled-test-harness/assets/packet-YPE3B663--JkMNy78.js +0 -3
- package/bundled-test-harness/assets/panel-C2rtbx32.js +0 -3371
- package/bundled-test-harness/assets/past-sessions-test-B9SCbbXz.js +0 -316
- package/bundled-test-harness/assets/patch-code-test-CcFr9pDb.js +0 -203
- package/bundled-test-harness/assets/patch-fields-test-BW1gzcJM.js +0 -992
- package/bundled-test-harness/assets/patch-instance-test-DKqA9gQ6.js +0 -287
- package/bundled-test-harness/assets/persist-module-inspector-view-test-D1eKBUkt.js +0 -62
- package/bundled-test-harness/assets/phone-number-field-test-D1is5RWv.js +0 -72
- package/bundled-test-harness/assets/pie-LRSECV5Y-BDVv8Wdy.js +0 -3
- package/bundled-test-harness/assets/pieDiagram-4H26LBE5-CSYI-nMz.js +0 -253
- package/bundled-test-harness/assets/plan-install-test-DB-PrjPR.js +0 -417
- package/bundled-test-harness/assets/playground-B0iQV7dU.js +0 -57
- package/bundled-test-harness/assets/png-image-def-test-DnOsJGs6.js +0 -222
- package/bundled-test-harness/assets/prerender-file-extract-test-DhOLozj2.js +0 -176
- package/bundled-test-harness/assets/prerender-html-test-DKVhQZA9.js +0 -615
- package/bundled-test-harness/assets/prerender-meta-test-CnRNyqSz.js +0 -388
- package/bundled-test-harness/assets/prerender-module-test-D163QcrZ.js +0 -195
- package/bundled-test-harness/assets/prerendered-card-search-test-DX-8yabJ.js +0 -708
- package/bundled-test-harness/assets/preview-format-test-H7bnpdlC.js +0 -103
- package/bundled-test-harness/assets/preview-test-B7u6uWJR.js +0 -455
- package/bundled-test-harness/assets/qs-test-COb0mre6.js +0 -36
- package/bundled-test-harness/assets/quadrantDiagram-W4KKPZXB-2Y2ben29.js +0 -2324
- package/bundled-test-harness/assets/query-field-barrier-test-Cypj-MhK.js +0 -118
- package/bundled-test-harness/assets/query-field-error-sentinel-test-Dnqn8TdN.js +0 -202
- package/bundled-test-harness/assets/query-field-normalization-test-B7D8SHBP.js +0 -271
- package/bundled-test-harness/assets/query-field-schema-test-DIYY3-c8.js +0 -231
- package/bundled-test-harness/assets/query-fields-test-k-VBF9PE.js +0 -535
- package/bundled-test-harness/assets/queue-test-B_74vXZE.js +0 -216
- package/bundled-test-harness/assets/radar-GUYGQ44K-Cn2A0VBR.js +0 -3
- package/bundled-test-harness/assets/read-card-for-ai-assistant-test-SyL9F_La.js +0 -91
- package/bundled-test-harness/assets/read-file-for-ai-assistant-test-nLPp49U2.js +0 -45
- package/bundled-test-harness/assets/read-source-test-DBELJkhN.js +0 -67
- package/bundled-test-harness/assets/read-text-file-test-CP1JuWlX.js +0 -124
- package/bundled-test-harness/assets/realm-Dr4iygv_.js +0 -884
- package/bundled-test-harness/assets/realm-field-test-Cice2mYk.js +0 -101
- package/bundled-test-harness/assets/realm-index-card-id-test-BzpozdWc.js +0 -18
- package/bundled-test-harness/assets/realm-indexing-test-C0YSXziR.js +0 -4018
- package/bundled-test-harness/assets/realm-paths-test-DV_g07rF.js +0 -33
- package/bundled-test-harness/assets/realm-querying-test-B526abM0.js +0 -1062
- package/bundled-test-harness/assets/realm-test-D8UN5X-w.js +0 -2409
- package/bundled-test-harness/assets/reasoning-test-ClIOvdkX.js +0 -234
- package/bundled-test-harness/assets/recent-files-test-C2J_dJUD.js +0 -449
- package/bundled-test-harness/assets/reindex-realm-test-DMphy1g6.js +0 -119
- package/bundled-test-harness/assets/relationship-loading-state-test-BWrZdLlZ.js +0 -289
- package/bundled-test-harness/assets/render-component-BII_KnyK.js +0 -2
- package/bundled-test-harness/assets/render-error-test-BUAJJlUi.js +0 -22
- package/bundled-test-harness/assets/render-service-test-BKkCjErY.js +0 -87
- package/bundled-test-harness/assets/render-timer-stub-test-TUDMWJ8v.js +0 -84
- package/bundled-test-harness/assets/rendered-markdown-ColekGTF.js +0 -211
- package/bundled-test-harness/assets/rendered-markdown-test-B4CWIo02.js +0 -360
- package/bundled-test-harness/assets/requirementDiagram-4Y6WPE33-CTICatxk.js +0 -2550
- package/bundled-test-harness/assets/rich-markdown-field-test-B5u6D3Nk.js +0 -806
- package/bundled-test-harness/assets/room-message-test-0eJSqQfu.js +0 -171
- package/bundled-test-harness/assets/rust-crypto-B0m3j_yZ.js +0 -16141
- package/bundled-test-harness/assets/sanitize-module-list-test-rH6OqjKh.js +0 -68
- package/bundled-test-harness/assets/sankeyDiagram-5OEKKPKP-hBIg6-LP.js +0 -1357
- package/bundled-test-harness/assets/schema-editor-test-DH4MLFCD.js +0 -784
- package/bundled-test-harness/assets/schema-generation-test-BZMkX7VA.js +0 -28
- package/bundled-test-harness/assets/scrolling-test-CFTyLG8X.js +0 -292
- package/bundled-test-harness/assets/search-and-choose-test-CcbVyp4c.js +0 -156
- package/bundled-test-harness/assets/search-cache-key-test-BYt46iNT.js +0 -79
- package/bundled-test-harness/assets/search-command-test-BRIJPr54.js +0 -135
- package/bundled-test-harness/assets/search-correlation-id-test-B298Tfux.js +0 -101
- package/bundled-test-harness/assets/search-data-test-DHV2Fd4S.js +0 -243
- package/bundled-test-harness/assets/search-google-images-test-CNrazllP.js +0 -168
- package/bundled-test-harness/assets/search-in-flight-key-test-Dy3bU2c1.js +0 -79
- package/bundled-test-harness/assets/search-test-DL1-gD-G.js +0 -847
- package/bundled-test-harness/assets/send-ai-assistant-message-test-CyEkQ5pD.js +0 -52
- package/bundled-test-harness/assets/send-bot-trigger-event-test-CAsK28m-.js +0 -56
- package/bundled-test-harness/assets/send-request-via-proxy-test-DpMlRvPv.js +0 -333
- package/bundled-test-harness/assets/sending-test-BOeGYcTU.js +0 -317
- package/bundled-test-harness/assets/sequenceDiagram-3UESZ5HK-DQMiI040.js +0 -5551
- package/bundled-test-harness/assets/serialization-test-gY2QQVxS.js +0 -8283
- package/bundled-test-harness/assets/set-user-system-card-test-BE3y5GNK.js +0 -59
- package/bundled-test-harness/assets/setup-B8O9JQKq.js +0 -769
- package/bundled-test-harness/assets/setup-BMqGUBDK.js +0 -2
- package/bundled-test-harness/assets/show-card-test-BfJNnWMy.js +0 -362
- package/bundled-test-harness/assets/skills-test-CqhnZxBi.js +0 -568
- package/bundled-test-harness/assets/spec-test-BUKNn_1q.js +0 -1012
- package/bundled-test-harness/assets/stateDiagram-AJRCARHV-BoOij2yt.js +0 -363
- package/bundled-test-harness/assets/stateDiagram-v2-BHNVJYJU-Dosil5p2.js +0 -29
- package/bundled-test-harness/assets/store-add-test-BR1M-IDR.js +0 -52
- package/bundled-test-harness/assets/store-test-DaqI-HRh.js +0 -1562
- package/bundled-test-harness/assets/summarize-session-test-BMg54JGF.js +0 -169
- package/bundled-test-harness/assets/svg-image-def-test-xNyIKRPV.js +0 -164
- package/bundled-test-harness/assets/switch-submode-test-BKvpODUD.js +0 -168
- package/bundled-test-harness/assets/test-realm-service-worker-DK4SmTM5.js +0 -73
- package/bundled-test-harness/assets/tests-x4_eRjiT.js +0 -2770
- package/bundled-test-harness/assets/text-file-def-test-CsXiyVfI.js +0 -93
- package/bundled-test-harness/assets/text-input-validator-test-D4s_laO7.js +0 -155
- package/bundled-test-harness/assets/text-suggestion-test-CkLf1xuS.js +0 -339
- package/bundled-test-harness/assets/theme-card-test-D-6L6OfD.js +0 -573
- package/bundled-test-harness/assets/timeline-definition-PNZ67QCA-DD2d81uJ.js +0 -1545
- package/bundled-test-harness/assets/transform-cards-test-CRZF2gqZ.js +0 -341
- package/bundled-test-harness/assets/treeView-BLDUP644-CUm8wuM-.js +0 -3
- package/bundled-test-harness/assets/treemap-LRROVOQU-lbLrY2PE.js +0 -3
- package/bundled-test-harness/assets/ts-file-def-test-CDo6ojCf.js +0 -90
- package/bundled-test-harness/assets/tsMode-BPQoRibc.js +0 -968
- package/bundled-test-harness/assets/typescript-BaU6yDhK.js +0 -2
- package/bundled-test-harness/assets/update-room-skills-test-BnSgVFwT.js +0 -197
- package/bundled-test-harness/assets/url-test-CK-HB0qu.js +0 -103
- package/bundled-test-harness/assets/use-ai-assistant-test-BuJXEP8H.js +0 -330
- package/bundled-test-harness/assets/validate-realm-test-Cx7MOtS8.js +0 -53
- package/bundled-test-harness/assets/vennDiagram-CIIHVFJN-DtXtzGwZ.js +0 -2833
- package/bundled-test-harness/assets/wardley-L42UT6IY-D8aCp_Ox.js +0 -3
- package/bundled-test-harness/assets/wardleyDiagram-YWT4CUSO-D-73g3bB.js +0 -872
- package/bundled-test-harness/assets/wav-audio-def-test-DIo2GzQL.js +0 -155
- package/bundled-test-harness/assets/webp-image-def-test-BQsV0_De.js +0 -225
- package/bundled-test-harness/assets/workspace-chooser-delete-test-peDXmnQf.js +0 -189
- package/bundled-test-harness/assets/workspace-chooser-test-DS2RtTEF.js +0 -235
- package/bundled-test-harness/assets/workspace-delete-multiple-test-DTbjRSzN.js +0 -213
- package/bundled-test-harness/assets/workspace-delete-summary-test-B--ink4m.js +0 -63
- package/bundled-test-harness/assets/write-binary-file-test-A3TQ5lFn.js +0 -100
- package/bundled-test-harness/assets/write-text-file-test-D_rjNDsT.js +0 -172
- package/bundled-test-harness/assets/xychartDiagram-2RQKCTM6-D1aoqDp-.js +0 -2551
- /package/bundled-test-harness/assets/{abap-CLdVBGqB.js → abap-FZAuBTMl.js} +0 -0
- /package/bundled-test-harness/assets/{apex-DV8eHjgQ.js → apex-CAO3qFTc.js} +0 -0
- /package/bundled-test-harness/assets/{array-DsDWWqmW.js → array-CRfHnEm4.js} +0 -0
- /package/bundled-test-harness/assets/{azcli-C4pZYsiJ.js → azcli-Bnu7jG0Y.js} +0 -0
- /package/bundled-test-harness/assets/{bat-DBoaeFpB.js → bat-DdE54Pqq.js} +0 -0
- /package/bundled-test-harness/assets/{bicep-VlrJhbeK.js → bicep-Dp4vFp3K.js} +0 -0
- /package/bundled-test-harness/assets/{cameligo-jyzrvLUm.js → cameligo-Cym4x98m.js} +0 -0
- /package/bundled-test-harness/assets/{chunk-NNHCCRGN-Be15HUz2.js → chunk-NNHCCRGN-PWOfDYpb.js} +0 -0
- /package/bundled-test-harness/assets/{clojure-bzahmEtz.js → clojure-B47IJ25u.js} +0 -0
- /package/bundled-test-harness/assets/{codemirror-context-BauLYUNt.js → codemirror-context-oJy03XqC.js} +0 -0
- /package/bundled-test-harness/assets/{coffee-CMADdzOH.js → coffee-CZlkBXT8.js} +0 -0
- /package/bundled-test-harness/assets/{cpp-CEJwzcLE.js → cpp-mX4KaA7p.js} +0 -0
- /package/bundled-test-harness/assets/{csharp-XYqm0UE0.js → csharp-C-OeDGwk.js} +0 -0
- /package/bundled-test-harness/assets/{csp-82fNWQc2.js → csp-AS2OEE8R.js} +0 -0
- /package/bundled-test-harness/assets/{css-B5b0ooFS.js → css-C-TQxhWe.js} +0 -0
- /package/bundled-test-harness/assets/{cssMode-DTKuqAkO.js → cssMode-C87GnEsk.js} +0 -0
- /package/bundled-test-harness/assets/{cypher-Df9GkdDY.js → cypher-T6F_0eIM.js} +0 -0
- /package/bundled-test-harness/assets/{cytoscape.esm-D0iwZ9Jj.js → cytoscape.esm-Bc2V-MhP.js} +0 -0
- /package/bundled-test-harness/assets/{dart-C4JY9dMc.js → dart-DzVesk0n.js} +0 -0
- /package/bundled-test-harness/assets/{defaultLocale-BtLxQtxy.js → defaultLocale-CAoL4lzt.js} +0 -0
- /package/bundled-test-harness/assets/{dist-D-PuK2H3.js → dist-BZ5MfZEJ.js} +0 -0
- /package/bundled-test-harness/assets/{dockerfile-Ck0tNttO.js → dockerfile-BH0_bQxC.js} +0 -0
- /package/bundled-test-harness/assets/{ecl-BpeXqJR_.js → ecl-KIxjxrJo.js} +0 -0
- /package/bundled-test-harness/assets/{elixir-HmBzrXaX.js → elixir-CPPdtCW1.js} +0 -0
- /package/bundled-test-harness/assets/{flow9-DhsfsDhH.js → flow9-Dxho7Ldf.js} +0 -0
- /package/bundled-test-harness/assets/{freemarker2-D3Yd6nGl.js → freemarker2-DP1aOr3_.js} +0 -0
- /package/bundled-test-harness/assets/{fsharp-D56OprHc.js → fsharp-ozN53Joe.js} +0 -0
- /package/bundled-test-harness/assets/{go-BITsFLfX.js → go-DPj6Rbqe.js} +0 -0
- /package/bundled-test-harness/assets/{graphlib-qkaQhadO.js → graphlib-DOITgaas.js} +0 -0
- /package/bundled-test-harness/assets/{graphql-CJJVsEX1.js → graphql-C8_-AnBG.js} +0 -0
- /package/bundled-test-harness/assets/{handlebars-Dvw6QbL7.js → handlebars-B2gYBZpU.js} +0 -0
- /package/bundled-test-harness/assets/{hcl-DSTZcJuq.js → hcl-r3d7BhXB.js} +0 -0
- /package/bundled-test-harness/assets/{helpers-D_JZYUOQ.js → helpers-CItTycq2.js} +0 -0
- /package/bundled-test-harness/assets/{html-Bik3qLmc.js → html-DhN1Nxr0.js} +0 -0
- /package/bundled-test-harness/assets/{htmlMode-DPCaR3Ab.js → htmlMode-BnBg5hCh.js} +0 -0
- /package/bundled-test-harness/assets/{ini-li-kC8ZU.js → ini-CzzRigmS.js} +0 -0
- /package/bundled-test-harness/assets/{init-Bq7IGMcH.js → init-Bd2YUhsG.js} +0 -0
- /package/bundled-test-harness/assets/{java-CETpuNN7.js → java-BgeDsIoV.js} +0 -0
- /package/bundled-test-harness/assets/{jsonMode-CZ3hOG-W.js → jsonMode-sRb0gsB8.js} +0 -0
- /package/bundled-test-harness/assets/{julia-hgihs1aN.js → julia-u3K1H5Ts.js} +0 -0
- /package/bundled-test-harness/assets/{katex-DqhsSYO4.js → katex-CHY7BUZt.js} +0 -0
- /package/bundled-test-harness/assets/{kotlin-CKfyb82K.js → kotlin-DfqmlJ10.js} +0 -0
- /package/bundled-test-harness/assets/{less-xB5yXbw8.js → less-CSzH7DPY.js} +0 -0
- /package/bundled-test-harness/assets/{lexon-BLwrXVrI.js → lexon-DwPTpxXt.js} +0 -0
- /package/bundled-test-harness/assets/{liquid-Bf2lpknJ.js → liquid-95J9g5Vk.js} +0 -0
- /package/bundled-test-harness/assets/{lua-Ch5i3IrF.js → lua-CGw6zbeh.js} +0 -0
- /package/bundled-test-harness/assets/{m3-D5tNlhaF.js → m3-BfgwloGF.js} +0 -0
- /package/bundled-test-harness/assets/{markdown-Dzc9uMky.js → markdown-RZRK7Mc9.js} +0 -0
- /package/bundled-test-harness/assets/{mdx-xsI4TJrf.js → mdx-BYD-W2sn.js} +0 -0
- /package/bundled-test-harness/assets/{mips-CmdzHkQm.js → mips-DAySN5Lp.js} +0 -0
- /package/bundled-test-harness/assets/{msdax-CAZvxB9E.js → msdax-Cy0COjTJ.js} +0 -0
- /package/bundled-test-harness/assets/{mysql-CyVS-z5H.js → mysql-CfGw9jyw.js} +0 -0
- /package/bundled-test-harness/assets/{objective-c-CCG8cTc_.js → objective-c-B4uU-8T-.js} +0 -0
- /package/bundled-test-harness/assets/{pascal-c8B45FOC.js → pascal-CGDuZzXi.js} +0 -0
- /package/bundled-test-harness/assets/{pascaligo-CCqwSqBv.js → pascaligo-eg02k4VJ.js} +0 -0
- /package/bundled-test-harness/assets/{path-CsS38UoK.js → path-Dxiz9G2t.js} +0 -0
- /package/bundled-test-harness/assets/{perl-JUICYbO2.js → perl-BiT-JJJw.js} +0 -0
- /package/bundled-test-harness/assets/{pgsql-aNRiL0Cg.js → pgsql-DAMjrVBF.js} +0 -0
- /package/bundled-test-harness/assets/{php-B0YZj_Vw.js → php-kOSUYQyc.js} +0 -0
- /package/bundled-test-harness/assets/{pla-D3Zb3KCn.js → pla-BShYV-HC.js} +0 -0
- /package/bundled-test-harness/assets/{postiats-ks1KABlA.js → postiats-9Xamd4W2.js} +0 -0
- /package/bundled-test-harness/assets/{powerquery-D35K_osc.js → powerquery-l2Nw525Q.js} +0 -0
- /package/bundled-test-harness/assets/{powershell-DXQo6KTk.js → powershell-B5rdEn86.js} +0 -0
- /package/bundled-test-harness/assets/{protobuf-CFDvn49_.js → protobuf-DjFcruCV.js} +0 -0
- /package/bundled-test-harness/assets/{pug-CGdWzJm1.js → pug-d79Nz4-Z.js} +0 -0
- /package/bundled-test-harness/assets/{python-BHLYjYlP.js → python-d8oxFZIM.js} +0 -0
- /package/bundled-test-harness/assets/{qsharp-BIq3i63T.js → qsharp-CeTlfxZW.js} +0 -0
- /package/bundled-test-harness/assets/{qunit-2hoQyeAZ.js → qunit-Cqwmt9Vl.js} +0 -0
- /package/bundled-test-harness/assets/{r-CBvzvDSA.js → r-BOu7JTro.js} +0 -0
- /package/bundled-test-harness/assets/{razor-JQ0RiIvo.js → razor-ZatoG_Is.js} +0 -0
- /package/bundled-test-harness/assets/{recent-files-cards-BQMviQb1.js → recent-files-cards-C3vIjaKb.js} +0 -0
- /package/bundled-test-harness/assets/{redis-BmSHTqTU.js → redis-DdXYPyQE.js} +0 -0
- /package/bundled-test-harness/assets/{redshift-B1NmQEH7.js → redshift-DswnW-YX.js} +0 -0
- /package/bundled-test-harness/assets/{render-component-g_fhz2dX.js → render-component-Bs21y6iv.js} +0 -0
- /package/bundled-test-harness/assets/{restructuredtext-Br9BtTbk.js → restructuredtext-C75vUmvX.js} +0 -0
- /package/bundled-test-harness/assets/{rough.esm-D8VnzNsL.js → rough.esm-B83ARgx6.js} +0 -0
- /package/bundled-test-harness/assets/{ruby-D9_-y1I3.js → ruby-D77950a-.js} +0 -0
- /package/bundled-test-harness/assets/{rust-1Jjr1EOs.js → rust-C_G4PKsG.js} +0 -0
- /package/bundled-test-harness/assets/{sb-X2JE4zEr.js → sb-Cz3P8_Gp.js} +0 -0
- /package/bundled-test-harness/assets/{scala-qFJERKkR.js → scala-DYqUg04P.js} +0 -0
- /package/bundled-test-harness/assets/{scheme-D-WJPStO.js → scheme-B31XEGu5.js} +0 -0
- /package/bundled-test-harness/assets/{scss-DysfZiXA.js → scss-CtvB8On5.js} +0 -0
- /package/bundled-test-harness/assets/{shell-C0Iu3NNJ.js → shell-C2QqpcPN.js} +0 -0
- /package/bundled-test-harness/assets/{solidity-Bato3Qrk.js → solidity-FHrhZFd-.js} +0 -0
- /package/bundled-test-harness/assets/{sophia-DI0cKdK8.js → sophia-Cxv5FOXb.js} +0 -0
- /package/bundled-test-harness/assets/{sparql-BTJMtwoD.js → sparql-CgGkGeQB.js} +0 -0
- /package/bundled-test-harness/assets/{sql-R6uHqFYU.js → sql-S6Dos2P0.js} +0 -0
- /package/bundled-test-harness/assets/{src-CdPyB7gY.js → src-CvuaVSsl.js} +0 -0
- /package/bundled-test-harness/assets/{st-CoyBvq37.js → st-Bfa7LAWp.js} +0 -0
- /package/bundled-test-harness/assets/{swift-Bj-haAlF.js → swift-BQD5Ef-A.js} +0 -0
- /package/bundled-test-harness/assets/{systemverilog-B-x1NEFI.js → systemverilog-DaNkPux4.js} +0 -0
- /package/bundled-test-harness/assets/{tcl-DAUdSQgz.js → tcl-gOPgCDyb.js} +0 -0
- /package/bundled-test-harness/assets/{test-support-BHjxBpDK.js → test-support-BEQX5x9U.js} +0 -0
- /package/bundled-test-harness/assets/{test-support-yKvYEh-u.js → test-support-BL4XKobD.js} +0 -0
- /package/bundled-test-harness/assets/{twig-B0sJ-GzS.js → twig-Bk4gPn5b.js} +0 -0
- /package/bundled-test-harness/assets/{typescript-DTMIM5Gl.js → typescript-pPYlxWzr.js} +0 -0
- /package/bundled-test-harness/assets/{typespec-6yo9VQxY.js → typespec-D9Zz743B.js} +0 -0
- /package/bundled-test-harness/assets/{vb-Bh2IfdtJ.js → vb-ziqHIsJV.js} +0 -0
- /package/bundled-test-harness/assets/{view-card-demo-U_AOj-RK.js → view-card-demo-CSIVYD3T.js} +0 -0
- /package/bundled-test-harness/assets/{wgsl-DsvJnCCt.js → wgsl-BXiwkiJL.js} +0 -0
- /package/bundled-test-harness/assets/{xml-CisPXcjD.js → xml-a_tUOik-.js} +0 -0
- /package/bundled-test-harness/assets/{yaml-DkHUoYI5.js → yaml-B3H8LDzK.js} +0 -0
|
@@ -1,1379 +0,0 @@
|
|
|
1
|
-
import { r as __exportAll } from "./chunk-CGdGNDIi.js";
|
|
2
|
-
import { r as initializeDeferredDecorator, t as decorateFieldV2 } from "./runtime-CYyqkz5q-z3Y1hsJm.js";
|
|
3
|
-
import { Ai as realmURL, Ei as isBaseInstance, It as SupportedMimeType, O as toBranchName, Sr as isCardInstance, ar as basicMappings, hr as getClass, jr as moduleFrom, or as generateJsonSchemaForCardType, ua as rri, vi as baseRealm, vr as identifyCard, w as ensureExtension, zn as DEFAULT_CODING_LLM } from "./runtime-common-C7uLt5dN.js";
|
|
4
|
-
import { i as v4 } from "./esm-browser-BEW1xlQc.js";
|
|
5
|
-
import { r as service } from "./service-DJ87xpDt.js";
|
|
6
|
-
import { t as HostBaseCommand } from "./host-base-command-BMsZcn1D.js";
|
|
7
|
-
import { n as write_text_file_exports, t as WriteTextFileCommand } from "./write-text-file-C5LYv8hi.js";
|
|
8
|
-
import { n as add_field_to_card_definition_exports, t as AddFieldToCardDefinitionCommand } from "./add-field-to-card-definition-DIn1q610.js";
|
|
9
|
-
import { n as create_ai_assistant_room_exports, t as CreateAiAssistantRoomCommand } from "./create-ai-assistant-room-7LllE6Lq.js";
|
|
10
|
-
import { n as open_ai_assistant_room_exports, t as OpenAiAssistantRoomCommand } from "./open-ai-assistant-room-DtydafHF.js";
|
|
11
|
-
import { c as get_events_from_room_exports, i as utils_exports, n as send_ai_assistant_message_exports, s as GetEventsFromRoomCommand, t as SendAiAssistantMessageCommand } from "./send-ai-assistant-message-DP_3ppA-.js";
|
|
12
|
-
import { i as set_active_llm_exports, n as ai_assistant_exports, r as SetActiveLLMCommand, t as UseAiAssistantCommand } from "./ai-assistant-B5fp2iOz.js";
|
|
13
|
-
import { d as UpdateRoomSkillsCommand, f as update_room_skills_exports } from "./card-prerender-DXG8cQEv.js";
|
|
14
|
-
import { i as get_card_exports, n as apply_markdown_edit_exports, r as GetCardCommand, t as ApplyMarkdownEditCommand } from "./apply-markdown-edit-CT7UXlCm.js";
|
|
15
|
-
import { n as patch_fields_exports, t as PatchFieldsCommand } from "./patch-fields-CnL9_mBJ.js";
|
|
16
|
-
import { n as send_request_via_proxy_exports, t as SendRequestViaProxyCommand } from "./send-request-via-proxy-BLX5A-HL.js";
|
|
17
|
-
import { n as apply_search_replace_block_exports, t as ApplySearchReplaceBlockCommand } from "./apply-search-replace-block-S2ZTkuTA.js";
|
|
18
|
-
import { n as authed_fetch_exports, t as AuthedFetchCommand } from "./authed-fetch-D83Ohr_b.js";
|
|
19
|
-
import { n as send_bot_trigger_event_exports, t as SendBotTriggerEventCommand } from "./send-bot-trigger-event-Bb1z75GO.js";
|
|
20
|
-
import { n as create_listing_pr_request_exports, t as CreateListingPRRequestCommand } from "./create-listing-pr-request-CZaLsHhE.js";
|
|
21
|
-
import { n as can_read_realm_exports, t as CanReadRealmCommand } from "./can-read-realm-BTFZdy1x.js";
|
|
22
|
-
import { n as cancel_indexing_job_exports, t as CancelIndexingJobCommand } from "./cancel-indexing-job-kp_C8Xl-.js";
|
|
23
|
-
import { n as check_correctness_exports, t as CheckCorrectnessCommand } from "./check-correctness-BIfYUT39.js";
|
|
24
|
-
import { n as copy_card_exports, t as CopyCardToRealmCommand } from "./copy-card-JGCXNcjb.js";
|
|
25
|
-
import { n as copy_and_edit_exports, t as CopyAndEditCommand } from "./copy-and-edit-B8M2rwoL.js";
|
|
26
|
-
import { t as isTesting } from "./runtime-BSthmflw.js";
|
|
27
|
-
import { n as copy_card_to_stack_exports, t as CopyCardToStackCommand } from "./copy-card-to-stack-Cnj8p8tc.js";
|
|
28
|
-
import { i as copy_file_to_realm_exports, n as show_file_exports, r as CopyFileToRealmCommand, t as ShowFileCommand } from "./show-file-CyRiY_6z.js";
|
|
29
|
-
import { n as copy_source_exports, t as CopySourceCommand } from "./copy-source-CSrG5lS7.js";
|
|
30
|
-
import { i as generate_readme_spec_exports, n as create_specs_exports, r as GenerateReadmeSpecCommand, t as CreateSpecCommand } from "./create-specs-t7sWc_xt.js";
|
|
31
|
-
import { a as skillCardURL, r as devSkillId } from "./utils-C7xS5xXC.js";
|
|
32
|
-
import { n as one_shot_llm_request_exports, t as OneShotLlmRequestCommand } from "./one-shot-llm-request-Cmtn_WRk.js";
|
|
33
|
-
import { n as read_source_exports, t as ReadSourceCommand } from "./read-source-C2sP8K8Z.js";
|
|
34
|
-
import { n as read_text_file_exports, t as ReadTextFileCommand } from "./read-text-file-CACAhnsS.js";
|
|
35
|
-
import { n as patch_card_instance_exports, t as PatchCardInstanceCommand } from "./patch-card-instance-BgWqjUFi.js";
|
|
36
|
-
import { n as evaluate_module_exports, t as EvaluateModuleCommand } from "./evaluate-module-C6_gzn5_.js";
|
|
37
|
-
import { n as execute_atomic_operations_exports, t as ExecuteAtomicOperationsCommand } from "./execute-atomic-operations-CC3N-5N4.js";
|
|
38
|
-
import { n as fetch_card_json_exports, t as FetchCardJsonCommand } from "./fetch-card-json-B-C1HlJO.js";
|
|
39
|
-
import { n as full_reindex_realm_exports, t as FullReindexRealmCommand } from "./full-reindex-realm-DbD6GuJ5.js";
|
|
40
|
-
import { a as ONE_SHOT_SYSTEM_PROMPT, c as parseExamplePayloadFromOutput, i as generate_example_cards_exports, o as buildAttachedFileURLs, r as createExampleInstanceFromPayload, s as buildExamplePrompt, t as GenerateExampleCardsCommand } from "./generate-example-cards-DSnMgnoE.js";
|
|
41
|
-
import { n as write_binary_file_exports, t as WriteBinaryFileCommand } from "./write-binary-file-B3j05J3o.js";
|
|
42
|
-
import { n as get_available_realm_identifiers_exports, t as GetAvailableRealmIdentifiersCommand } from "./get-available-realm-identifiers-B_Bjav4V.js";
|
|
43
|
-
import { n as get_catalog_realm_identifiers_exports, t as GetCatalogRealmIdentifiersCommand } from "./get-catalog-realm-identifiers-Bd_kaIut.js";
|
|
44
|
-
import { n as get_default_writable_realm_exports, t as GetDefaultWritableRealmCommand } from "./get-default-writable-realm-DfHmEQ8g.js";
|
|
45
|
-
import { n as get_realm_of_resource_identifier_exports, t as GetRealmOfResourceIdentifierCommand } from "./get-realm-of-resource-identifier-DR1Hzxmh.js";
|
|
46
|
-
import { n as get_user_system_card_exports, t as GetUserSystemCardCommand } from "./get-user-system-card-CSByuPXh.js";
|
|
47
|
-
import { n as instantiate_card_exports, t as InstantiateCardCommand } from "./instantiate-card-CJrMFAO_.js";
|
|
48
|
-
import { n as invalidate_realm_identifiers_exports, t as InvalidateRealmIdentifiersCommand } from "./invalidate-realm-identifiers-B_NYbRkp.js";
|
|
49
|
-
import { n as invite_user_to_room_exports, t as InviteUserToRoomCommand } from "./invite-user-to-room-By6L6O7g.js";
|
|
50
|
-
import { n as lint_and_fix_exports, t as LintAndFixCommand } from "./lint-and-fix-BMQ1syM6.js";
|
|
51
|
-
import { n as switch_submode_exports, t as SwitchSubmodeCommand } from "./switch-submode-BwkCfnCZ.js";
|
|
52
|
-
import { n as open_create_listing_modal_exports, t as OpenCreateListingModalCommand } from "./open-create-listing-modal-DFq_N8TO.js";
|
|
53
|
-
import { n as open_workspace_exports, t as OpenWorkspaceCommand } from "./open-workspace-DRfx-nzh.js";
|
|
54
|
-
import { n as patch_code_exports, t as PatchCodeCommand } from "./patch-code-BksUYDfB.js";
|
|
55
|
-
import { n as persist_module_inspector_view_exports, t as PersistModuleInspectorViewCommand } from "./persist-module-inspector-view-DJJZQppZ.js";
|
|
56
|
-
import { n as show_card_exports, t as ShowCardCommand } from "./show-card-CVJLnzLa.js";
|
|
57
|
-
import { n as preview_format_exports, t as PreviewFormatCommand } from "./preview-format-snitJHQF.js";
|
|
58
|
-
import { n as read_card_for_ai_assistant_exports, t as ReadCardForAssistantCommand } from "./read-card-for-ai-assistant-BfSsTYj2.js";
|
|
59
|
-
import { n as read_file_for_ai_assistant_exports, t as ReadFileForAssistantCommand } from "./read-file-for-ai-assistant-AEVCUknz.js";
|
|
60
|
-
import { i as register_bot_exports, n as unregister_bot_exports, r as RegisterBotCommand, t as UnregisterBotCommand } from "./unregister-bot-D7FI7Oro.js";
|
|
61
|
-
import { n as reindex_realm_exports, t as ReindexRealmCommand } from "./reindex-realm-C6fVI3zx.js";
|
|
62
|
-
import { n as sanitize_module_list_exports, t as SanitizeModuleListCommand } from "./sanitize-module-list-AEPGKeo5.js";
|
|
63
|
-
import { n as save_card_exports, t as SaveCardCommand } from "./save-card-DTRPVUI4.js";
|
|
64
|
-
import { n as SearchCardsByTypeAndTitleCommand, r as search_cards_exports, t as SearchCardsByQueryCommand } from "./search-cards-SZdPvkdH.js";
|
|
65
|
-
import { n as search_and_choose_exports, t as SearchAndChooseCommand } from "./search-and-choose-BeBlVt7F.js";
|
|
66
|
-
import { n as search_google_images_exports, t as SearchGoogleImagesCommand } from "./search-google-images-DNAUMy6E.js";
|
|
67
|
-
import { n as set_user_system_card_exports, t as SetUserSystemCardCommand } from "./set-user-system-card-Db6rI-Qt.js";
|
|
68
|
-
import { n as store_add_exports, t as StoreAddCommand } from "./store-add-DeDtbGwk.js";
|
|
69
|
-
import { n as summarize_session_exports, t as SummarizeSessionCommand } from "./summarize-session-CqSvkuVZ.js";
|
|
70
|
-
import { n as transform_cards_exports, t as TransformCardsCommand } from "./transform-cards-D-jCQJ4T.js";
|
|
71
|
-
import { n as validate_realm_exports, t as ValidateRealmCommand } from "./validate-realm-BbA9USE1.js";
|
|
72
|
-
//#region app/commands/ask-ai.ts
|
|
73
|
-
var ask_ai_exports = /* @__PURE__ */ __exportAll({ default: () => AskAiCommand });
|
|
74
|
-
var AskAiCommand = class extends HostBaseCommand {
|
|
75
|
-
static {
|
|
76
|
-
decorateFieldV2(this.prototype, "matrixService", [service]);
|
|
77
|
-
}
|
|
78
|
-
#matrixService = (initializeDeferredDecorator(this, "matrixService"), void 0);
|
|
79
|
-
static {
|
|
80
|
-
decorateFieldV2(this.prototype, "operatorModeStateService", [service]);
|
|
81
|
-
}
|
|
82
|
-
#operatorModeStateService = (initializeDeferredDecorator(this, "operatorModeStateService"), void 0);
|
|
83
|
-
static {
|
|
84
|
-
this.actionVerb = "Ask";
|
|
85
|
-
}
|
|
86
|
-
async getInputType() {
|
|
87
|
-
const { AskAiInput } = await this.loadCommandModule();
|
|
88
|
-
return AskAiInput;
|
|
89
|
-
}
|
|
90
|
-
async run(input) {
|
|
91
|
-
let createRoomCommand = new CreateAiAssistantRoomCommand(this.commandContext);
|
|
92
|
-
let openRoomCommand = new OpenAiAssistantRoomCommand(this.commandContext);
|
|
93
|
-
let sendMessageCommand = new SendAiAssistantMessageCommand(this.commandContext);
|
|
94
|
-
let [skills, openCards] = await Promise.all([this.matrixService.loadDefaultSkills("code") || Promise.resolve([]), this.operatorModeStateService.getOpenCards.perform() || Promise.resolve([])]);
|
|
95
|
-
let { roomId } = await createRoomCommand.execute({
|
|
96
|
-
name: "AI App Generator Assistant",
|
|
97
|
-
enabledSkills: skills,
|
|
98
|
-
llmMode: input.llmMode
|
|
99
|
-
});
|
|
100
|
-
await sendMessageCommand.execute({
|
|
101
|
-
roomId,
|
|
102
|
-
prompt: input.prompt,
|
|
103
|
-
attachedCards: openCards,
|
|
104
|
-
openCardIds: openCards?.map((c) => c.id),
|
|
105
|
-
realmIdentifier: this.operatorModeStateService.realmURL
|
|
106
|
-
});
|
|
107
|
-
await openRoomCommand.execute({ roomId });
|
|
108
|
-
return new (await (this.loadCommandModule())).AskAiOutput({ response: "AI assistant room created and opened successfully. You can now interact with the AI assistant." });
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
//#endregion
|
|
112
|
-
//#region app/commands/copy-card-as-markdown.ts
|
|
113
|
-
var copy_card_as_markdown_exports = /* @__PURE__ */ __exportAll({ default: () => CopyCardAsMarkdownCommand });
|
|
114
|
-
var CopyCardAsMarkdownCommand = class extends HostBaseCommand {
|
|
115
|
-
constructor(..._args) {
|
|
116
|
-
super(..._args);
|
|
117
|
-
this.#network = (initializeDeferredDecorator(this, "network"), void 0);
|
|
118
|
-
this.description = "Copy a card as markdown to the clipboard";
|
|
119
|
-
this.requireInputFields = ["cardId"];
|
|
120
|
-
}
|
|
121
|
-
static {
|
|
122
|
-
decorateFieldV2(this.prototype, "network", [service]);
|
|
123
|
-
}
|
|
124
|
-
#network;
|
|
125
|
-
static {
|
|
126
|
-
this.actionVerb = "Copy";
|
|
127
|
-
}
|
|
128
|
-
async getInputType() {
|
|
129
|
-
return (await this.loadCommandModule()).CardIdCard;
|
|
130
|
-
}
|
|
131
|
-
async run(input) {
|
|
132
|
-
let response = await this.network.authedFetch(input.cardId, { headers: { Accept: SupportedMimeType.Markdown } });
|
|
133
|
-
if (response.ok) {
|
|
134
|
-
let markdown = await response.text();
|
|
135
|
-
if (!isTesting()) await navigator.clipboard.writeText(markdown);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
//#endregion
|
|
140
|
-
//#region app/commands/open-in-interact-mode.ts
|
|
141
|
-
var open_in_interact_mode_exports = /* @__PURE__ */ __exportAll({ default: () => OpenInInteractModeCommand });
|
|
142
|
-
var OpenInInteractModeCommand = class extends HostBaseCommand {
|
|
143
|
-
constructor(..._args) {
|
|
144
|
-
super(..._args);
|
|
145
|
-
this.#operatorModeStateService = (initializeDeferredDecorator(this, "operatorModeStateService"), void 0);
|
|
146
|
-
this.description = "Show a card in interact submode, with no other stacks open. The cardId must be a fully qualified URL.";
|
|
147
|
-
this.requireInputFields = ["cardId"];
|
|
148
|
-
}
|
|
149
|
-
static {
|
|
150
|
-
decorateFieldV2(this.prototype, "operatorModeStateService", [service]);
|
|
151
|
-
}
|
|
152
|
-
#operatorModeStateService;
|
|
153
|
-
static {
|
|
154
|
-
this.actionVerb = "Open Card";
|
|
155
|
-
}
|
|
156
|
-
async getInputType() {
|
|
157
|
-
const { ShowCardInput } = await this.loadCommandModule();
|
|
158
|
-
return ShowCardInput;
|
|
159
|
-
}
|
|
160
|
-
async run(input) {
|
|
161
|
-
let { operatorModeStateService } = this;
|
|
162
|
-
let format = input.format ?? "isolated";
|
|
163
|
-
operatorModeStateService.openCardInInteractMode(input.cardId, format);
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
//#endregion
|
|
167
|
-
//#region app/commands/create-submission-workflow.ts
|
|
168
|
-
var create_submission_workflow_exports = /* @__PURE__ */ __exportAll({ default: () => CreateSubmissionWorkflowCommand });
|
|
169
|
-
var CreateSubmissionWorkflowCommand = class extends HostBaseCommand {
|
|
170
|
-
constructor(..._args) {
|
|
171
|
-
super(..._args);
|
|
172
|
-
this.#matrixService = (initializeDeferredDecorator(this, "matrixService"), void 0);
|
|
173
|
-
this.#store = (initializeDeferredDecorator(this, "store"), void 0);
|
|
174
|
-
this.#realm = (initializeDeferredDecorator(this, "realm"), void 0);
|
|
175
|
-
this.#realmServer = (initializeDeferredDecorator(this, "realmServer"), void 0);
|
|
176
|
-
this.description = "Create a submission workflow card for a catalog listing, open it in interact mode, and trigger the PR creation process.";
|
|
177
|
-
this.requireInputFields = ["realm", "listingId"];
|
|
178
|
-
}
|
|
179
|
-
static {
|
|
180
|
-
decorateFieldV2(this.prototype, "matrixService", [service]);
|
|
181
|
-
}
|
|
182
|
-
#matrixService;
|
|
183
|
-
static {
|
|
184
|
-
decorateFieldV2(this.prototype, "store", [service]);
|
|
185
|
-
}
|
|
186
|
-
#store;
|
|
187
|
-
static {
|
|
188
|
-
decorateFieldV2(this.prototype, "realm", [service]);
|
|
189
|
-
}
|
|
190
|
-
#realm;
|
|
191
|
-
static {
|
|
192
|
-
decorateFieldV2(this.prototype, "realmServer", [service]);
|
|
193
|
-
}
|
|
194
|
-
#realmServer;
|
|
195
|
-
async getInputType() {
|
|
196
|
-
const { CreateListingPRRequestInput } = await this.loadCommandModule();
|
|
197
|
-
return CreateListingPRRequestInput;
|
|
198
|
-
}
|
|
199
|
-
get submissionsRealm() {
|
|
200
|
-
return this.realmServer.catalogRealmIdentifiers.find((realm) => realm.endsWith("/submissions/"));
|
|
201
|
-
}
|
|
202
|
-
async run(input) {
|
|
203
|
-
await this.matrixService.ready;
|
|
204
|
-
let { realm, listingId } = input;
|
|
205
|
-
let listingName;
|
|
206
|
-
let listingSummary;
|
|
207
|
-
let listing = await this.store.get(listingId);
|
|
208
|
-
if (listing && isCardInstance(listing)) {
|
|
209
|
-
listingName = listing.name ?? listing.id;
|
|
210
|
-
listingSummary = listing.summary ?? void 0;
|
|
211
|
-
}
|
|
212
|
-
let submittedBy = this.matrixService.userId ?? void 0;
|
|
213
|
-
let workflowRealm = this.realm.realmOf(rri(listingId)) ?? realm;
|
|
214
|
-
let catalogRealm = this.catalogRealm;
|
|
215
|
-
if (!catalogRealm) throw new Error("Cannot create submission workflow: catalog realm URL not found");
|
|
216
|
-
let roomId = (await new UseAiAssistantCommand(this.commandContext).execute({
|
|
217
|
-
roomId: "new",
|
|
218
|
-
roomName: `PR: ${listingName ?? listingId ?? "Listing"}`,
|
|
219
|
-
openRoom: false
|
|
220
|
-
})).roomId;
|
|
221
|
-
let branchName = toBranchName(listingName ?? "UntitledListing");
|
|
222
|
-
let workflowCardId;
|
|
223
|
-
try {
|
|
224
|
-
let submissionBotId = this.matrixService.submissionBotUserId;
|
|
225
|
-
if (!await this.matrixService.isUserInRoom(roomId, submissionBotId)) await this.matrixService.inviteUserToRoom(roomId, submissionBotId);
|
|
226
|
-
let workflowDoc = { data: {
|
|
227
|
-
type: "card",
|
|
228
|
-
attributes: {
|
|
229
|
-
title: `Submit ${listingName ?? "Listing"}`,
|
|
230
|
-
submittedBy: submittedBy ?? null,
|
|
231
|
-
catalogRealmUrl: catalogRealm,
|
|
232
|
-
roomId,
|
|
233
|
-
branchName
|
|
234
|
-
},
|
|
235
|
-
relationships: {
|
|
236
|
-
listing: { links: { self: listingId } },
|
|
237
|
-
prCard: { links: { self: null } }
|
|
238
|
-
},
|
|
239
|
-
meta: { adoptsFrom: {
|
|
240
|
-
module: rri(`${catalogRealm}submission-workflow-card/submission-workflow-card`),
|
|
241
|
-
name: "SubmissionWorkflowCard"
|
|
242
|
-
} }
|
|
243
|
-
} };
|
|
244
|
-
let workflowCard = await this.store.add(workflowDoc, { realm: workflowRealm });
|
|
245
|
-
if (!isCardInstance(workflowCard)) throw new Error("Failed to create submission workflow card");
|
|
246
|
-
if (!workflowCard.id) throw new Error("Submission workflow card was created but has no ID");
|
|
247
|
-
workflowCardId = workflowCard.id;
|
|
248
|
-
} catch (err) {
|
|
249
|
-
try {
|
|
250
|
-
await this.matrixService.leave(roomId);
|
|
251
|
-
await this.matrixService.forget(roomId);
|
|
252
|
-
} catch (cleanupError) {
|
|
253
|
-
console.warn(`create-submission-workflow: failed to clean up orphaned room ${roomId}`, cleanupError);
|
|
254
|
-
}
|
|
255
|
-
throw err;
|
|
256
|
-
}
|
|
257
|
-
await new OpenInInteractModeCommand(this.commandContext).execute({ cardId: workflowCardId });
|
|
258
|
-
await new SendBotTriggerEventCommand(this.commandContext).execute({
|
|
259
|
-
roomId,
|
|
260
|
-
realm,
|
|
261
|
-
type: "pr-listing-create",
|
|
262
|
-
input: {
|
|
263
|
-
roomId,
|
|
264
|
-
realm,
|
|
265
|
-
listingId,
|
|
266
|
-
workflowCardUrl: workflowCardId,
|
|
267
|
-
workflowCardRealm: workflowRealm,
|
|
268
|
-
branchName,
|
|
269
|
-
...listingName ? { listingName } : {},
|
|
270
|
-
...listingSummary ? { listingSummary } : {},
|
|
271
|
-
...submittedBy ? { submittedBy } : {}
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
get catalogRealm() {
|
|
276
|
-
return this.realmServer.catalogRealmIdentifiers.find((realm) => realm.endsWith("/catalog/"));
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
//#endregion
|
|
280
|
-
//#region app/commands/create-and-open-submission-workflow-card.ts
|
|
281
|
-
var create_and_open_submission_workflow_card_exports = /* @__PURE__ */ __exportAll({ default: () => CreateAndOpenSubmissionWorkflowCardCommand });
|
|
282
|
-
var CreateAndOpenSubmissionWorkflowCardCommand = class extends HostBaseCommand {
|
|
283
|
-
constructor(..._args) {
|
|
284
|
-
super(..._args);
|
|
285
|
-
this.description = "Create a submission workflow card and open it in interact mode to track PR creation.";
|
|
286
|
-
this.requireInputFields = ["realm", "listingId"];
|
|
287
|
-
}
|
|
288
|
-
async getInputType() {
|
|
289
|
-
const { CreateListingPRRequestInput } = await this.loadCommandModule();
|
|
290
|
-
return CreateListingPRRequestInput;
|
|
291
|
-
}
|
|
292
|
-
async run(input) {
|
|
293
|
-
await new CreateSubmissionWorkflowCommand(this.commandContext).execute({
|
|
294
|
-
realm: input.realm,
|
|
295
|
-
listingId: input.listingId,
|
|
296
|
-
listingName: input.listingName
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
|
-
};
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region app/commands/generate-theme-example.ts
|
|
302
|
-
var generate_theme_example_exports = /* @__PURE__ */ __exportAll({ default: () => GenerateThemeExampleCommand });
|
|
303
|
-
var GenerateThemeExampleCommand = class extends HostBaseCommand {
|
|
304
|
-
static {
|
|
305
|
-
decorateFieldV2(this.prototype, "store", [service]);
|
|
306
|
-
}
|
|
307
|
-
#store = (initializeDeferredDecorator(this, "store"), void 0);
|
|
308
|
-
static {
|
|
309
|
-
decorateFieldV2(this.prototype, "realm", [service]);
|
|
310
|
-
}
|
|
311
|
-
#realm = (initializeDeferredDecorator(this, "realm"), void 0);
|
|
312
|
-
static {
|
|
313
|
-
decorateFieldV2(this.prototype, "network", [service]);
|
|
314
|
-
}
|
|
315
|
-
#network = (initializeDeferredDecorator(this, "network"), void 0);
|
|
316
|
-
static {
|
|
317
|
-
this.actionVerb = "Create Theme Example";
|
|
318
|
-
}
|
|
319
|
-
async getInputType() {
|
|
320
|
-
const { GenerateThemeExampleInput } = await this.loadCommandModule();
|
|
321
|
-
return GenerateThemeExampleInput;
|
|
322
|
-
}
|
|
323
|
-
async run(input) {
|
|
324
|
-
if (!input.codeRef) throw new Error("codeRef is required to create a card");
|
|
325
|
-
const realm = input.realm || this.realm.defaultWritableRealm?.path;
|
|
326
|
-
if (!realm) throw new Error("realm is required to create a card");
|
|
327
|
-
const promptSections = [buildExamplePrompt(1, input.codeRef)];
|
|
328
|
-
if (input.prompt && input.prompt.trim().length) promptSections.push(input.prompt.trim());
|
|
329
|
-
let guidance = this.guidanceForCodeRef(input.codeRef);
|
|
330
|
-
if (guidance) promptSections.push(guidance);
|
|
331
|
-
const userPrompt = promptSections.join("\n\n");
|
|
332
|
-
const llmModel = input.llmModel || "anthropic/claude-3-haiku";
|
|
333
|
-
const attachedFileIdentifiers = input.codeRef.module ? buildAttachedFileURLs(input.codeRef.module) : [];
|
|
334
|
-
const skillCardIds = Array.from(new Set([input.skillCard?.id, ...Array.isArray(input.skillCardIds) ? input.skillCardIds : []].filter((id) => typeof id === "string" && id.trim().length > 0)));
|
|
335
|
-
const { payload: examplePayload } = parseExamplePayloadFromOutput((await new OneShotLlmRequestCommand(this.commandContext).execute({
|
|
336
|
-
codeRef: input.codeRef,
|
|
337
|
-
systemPrompt: ONE_SHOT_SYSTEM_PROMPT,
|
|
338
|
-
userPrompt,
|
|
339
|
-
llmModel,
|
|
340
|
-
attachedFileIdentifiers: attachedFileIdentifiers.length ? attachedFileIdentifiers : void 0,
|
|
341
|
-
skillCardIds
|
|
342
|
-
})).output);
|
|
343
|
-
if (!examplePayload) throw new Error("LLM did not return a valid JSON example payload");
|
|
344
|
-
const createdCard = await createExampleInstanceFromPayload({
|
|
345
|
-
codeRef: input.codeRef,
|
|
346
|
-
examplePayload,
|
|
347
|
-
realm,
|
|
348
|
-
store: this.store,
|
|
349
|
-
network: this.network,
|
|
350
|
-
defaultRealm: this.realm.defaultWritableRealm?.path,
|
|
351
|
-
localDir: input.localDir ?? null
|
|
352
|
-
});
|
|
353
|
-
if (!createdCard) throw new Error("Failed to create theme example card");
|
|
354
|
-
const { CreateInstanceResult } = await this.loadCommandModule();
|
|
355
|
-
return new CreateInstanceResult({ createdCard });
|
|
356
|
-
}
|
|
357
|
-
guidanceForCodeRef(codeRef) {
|
|
358
|
-
let moduleString = codeRef?.module?.toString() ?? "";
|
|
359
|
-
if (moduleString.includes("style-reference")) return this.styleReferenceGuidance();
|
|
360
|
-
if (moduleString.includes("brand-guide")) return this.brandGuideGuidance();
|
|
361
|
-
if (moduleString.includes("structured-theme")) return this.structuredThemeGuidance();
|
|
362
|
-
return null;
|
|
363
|
-
}
|
|
364
|
-
structuredThemeGuidance() {
|
|
365
|
-
return [
|
|
366
|
-
"Structured Theme guidance: emit cssVariables with :root, .dark, and an `@theme inline` mapping back to Boxel tokens.",
|
|
367
|
-
"Keep palette, typography, spacing, radius, chart, sidebar, and shadow tokens cohesive across light/dark with OKLCH or Hex values that meet AA contrast.",
|
|
368
|
-
"Mirror values in `rootVariables` and `darkModeVariables`; use `var(--token, fallback)` and include remote fonts in `cssImports`."
|
|
369
|
-
].join("\n");
|
|
370
|
-
}
|
|
371
|
-
styleReferenceGuidance() {
|
|
372
|
-
return [
|
|
373
|
-
"Style Reference guidance: describe the vibe via `styleName`, `visualDNA`, inspirations, wallpapers, and card metadata while carrying structured theme tokens.",
|
|
374
|
-
"Maintain cohesive light/dark palettes, typography, spacing, radius, and shadows with OKLCH or Hex values that satisfy AA contrast.",
|
|
375
|
-
"Emit `cssVariables` with :root, .dark, and `@theme inline` mappings that match variable maps; prefer `var(--token, fallback)` and include remote fonts in `cssImports`."
|
|
376
|
-
].join("\n");
|
|
377
|
-
}
|
|
378
|
-
brandGuideGuidance() {
|
|
379
|
-
return [
|
|
380
|
-
"Brand Guide guidance: convey brand essence via `styleName`, `visualDNA`, inspirations, wall imagery, and marks/typography/palettes.",
|
|
381
|
-
"Populate marks, typography, palette, and semantic colors with cohesive OKLCH or Hex values that preserve AA contrast across light/dark.",
|
|
382
|
-
"Emit `cssVariables` covering :root, .dark, and `@theme inline` mappings; use `var(--token, fallback)` and capture fonts inside `cssImports`."
|
|
383
|
-
].join("\n");
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
//#endregion
|
|
387
|
-
//#region app/commands/generate-thumbnail.ts
|
|
388
|
-
var generate_thumbnail_exports = /* @__PURE__ */ __exportAll({ default: () => GenerateThumbnailCommand });
|
|
389
|
-
function arrayBufferToBase64(buffer) {
|
|
390
|
-
const maybeBuffer = globalThis.Buffer;
|
|
391
|
-
if (typeof maybeBuffer !== "undefined") return maybeBuffer.from(buffer).toString("base64");
|
|
392
|
-
let binary = "";
|
|
393
|
-
const bytes = new Uint8Array(buffer);
|
|
394
|
-
for (let i = 0; i < bytes.byteLength; i++) binary += String.fromCharCode(bytes[i]);
|
|
395
|
-
if (typeof btoa !== "undefined") return btoa(binary);
|
|
396
|
-
throw new Error("Unable to convert image to base64 in this environment");
|
|
397
|
-
}
|
|
398
|
-
function mimeTypeToExtension(mimeType) {
|
|
399
|
-
return {
|
|
400
|
-
"image/png": "png",
|
|
401
|
-
"image/jpeg": "jpg",
|
|
402
|
-
"image/jpg": "jpg",
|
|
403
|
-
"image/webp": "webp",
|
|
404
|
-
"image/gif": "gif",
|
|
405
|
-
"image/svg+xml": "svg",
|
|
406
|
-
"image/avif": "avif"
|
|
407
|
-
}[mimeType] ?? "png";
|
|
408
|
-
}
|
|
409
|
-
function generateFilenameFromCardName(cardName) {
|
|
410
|
-
const uniqueId = v4().split("-")[0];
|
|
411
|
-
if (!cardName || !cardName.trim()) return `thumbnail-${uniqueId}`;
|
|
412
|
-
const words = cardName.trim().split(/\s+/).slice(0, 2).map((word) => word.toLowerCase().replace(/[^a-z0-9]/g, "")).filter((word) => word.length > 0);
|
|
413
|
-
if (words.length === 0) return `thumbnail-${uniqueId}`;
|
|
414
|
-
return `${words.join("-")}-${uniqueId}`;
|
|
415
|
-
}
|
|
416
|
-
var GenerateThumbnailCommand = class extends HostBaseCommand {
|
|
417
|
-
constructor(..._args) {
|
|
418
|
-
super(..._args);
|
|
419
|
-
this.description = "Generate an AI thumbnail image and save it as an ImageDef in the realm";
|
|
420
|
-
this.requireInputFields = ["prompt", "targetRealmIdentifier"];
|
|
421
|
-
}
|
|
422
|
-
static {
|
|
423
|
-
this.actionVerb = "Generate";
|
|
424
|
-
}
|
|
425
|
-
async getInputType() {
|
|
426
|
-
const { GenerateThumbnailInput } = await this.loadCommandModule();
|
|
427
|
-
return GenerateThumbnailInput;
|
|
428
|
-
}
|
|
429
|
-
async run(input) {
|
|
430
|
-
const { prompt, sourceImageUrl, targetRealmIdentifier, targetPath, targetCardId, cardName } = input;
|
|
431
|
-
let promptText = prompt?.trim();
|
|
432
|
-
if (!promptText) throw new Error("A prompt is required to generate a thumbnail.");
|
|
433
|
-
let imageUrlForMessage;
|
|
434
|
-
const sourceUrlTrimmed = sourceImageUrl?.trim();
|
|
435
|
-
if (sourceUrlTrimmed) if (sourceUrlTrimmed.startsWith("data:image/")) imageUrlForMessage = sourceUrlTrimmed;
|
|
436
|
-
else {
|
|
437
|
-
const imageResponse = await fetch(sourceUrlTrimmed);
|
|
438
|
-
if (!imageResponse.ok) throw new Error(`Failed to fetch source image: ${imageResponse.statusText}`);
|
|
439
|
-
imageUrlForMessage = `data:${imageResponse.headers.get("content-type") ?? "image/png"};base64,${arrayBufferToBase64(await imageResponse.arrayBuffer())}`;
|
|
440
|
-
}
|
|
441
|
-
const messages = [{
|
|
442
|
-
role: "user",
|
|
443
|
-
content: [{
|
|
444
|
-
type: "text",
|
|
445
|
-
text: promptText
|
|
446
|
-
}, ...imageUrlForMessage ? [{
|
|
447
|
-
type: "image_url",
|
|
448
|
-
image_url: { url: imageUrlForMessage }
|
|
449
|
-
}] : []]
|
|
450
|
-
}];
|
|
451
|
-
const model = input.llmModel?.trim() || "google/gemini-2.5-flash-image";
|
|
452
|
-
const result = await new SendRequestViaProxyCommand(this.commandContext).execute({
|
|
453
|
-
url: "https://openrouter.ai/api/v1/chat/completions",
|
|
454
|
-
method: "POST",
|
|
455
|
-
requestBody: JSON.stringify({
|
|
456
|
-
model,
|
|
457
|
-
messages
|
|
458
|
-
})
|
|
459
|
-
});
|
|
460
|
-
if (!result.response.ok) throw new Error(`Failed to generate thumbnail: ${result.response.statusText}`);
|
|
461
|
-
const responseData = await result.response.json();
|
|
462
|
-
const messageContent = responseData.choices?.[0]?.message;
|
|
463
|
-
if (!messageContent?.images || !Array.isArray(messageContent.images)) throw new Error("No image was generated in the response.");
|
|
464
|
-
const generatedDataUrl = messageContent.images.map((img) => img.image_url?.url).find((url) => url && url.startsWith("data:image/"));
|
|
465
|
-
if (!generatedDataUrl) {
|
|
466
|
-
const errorMessage = responseData.choices?.[0]?.message?.content || "No image was generated in the response.";
|
|
467
|
-
throw new Error(`Thumbnail generation failed: ${errorMessage}`);
|
|
468
|
-
}
|
|
469
|
-
const commaIndex = generatedDataUrl.indexOf(",");
|
|
470
|
-
if (commaIndex === -1) throw new Error("Generated image data URL is malformed: missing comma separator.");
|
|
471
|
-
const prefix = generatedDataUrl.slice(0, commaIndex);
|
|
472
|
-
const base64Content = generatedDataUrl.slice(commaIndex + 1);
|
|
473
|
-
const mimeMatch = prefix.match(/^data:([^;]+);base64$/);
|
|
474
|
-
if (!mimeMatch) throw new Error("Generated image data URL has an unrecognisable MIME type.");
|
|
475
|
-
const mimeType = mimeMatch[1];
|
|
476
|
-
const extension = mimeTypeToExtension(mimeType);
|
|
477
|
-
const filename = `${generateFilenameFromCardName(cardName)}.${extension}`;
|
|
478
|
-
const filePath = targetPath?.trim() ? `${targetPath.trim().replace(/\/$/, "")}/${filename}` : filename;
|
|
479
|
-
const writeResult = await new WriteBinaryFileCommand(this.commandContext).execute({
|
|
480
|
-
path: filePath,
|
|
481
|
-
realm: targetRealmIdentifier,
|
|
482
|
-
base64Content,
|
|
483
|
-
contentType: mimeType,
|
|
484
|
-
useNonConflictingFilename: true
|
|
485
|
-
});
|
|
486
|
-
if (!writeResult?.fileIdentifier) throw new Error("Failed to write binary file to realm.");
|
|
487
|
-
const imageDefIdentifier = writeResult.fileIdentifier;
|
|
488
|
-
if (targetCardId?.trim()) {
|
|
489
|
-
const cardApiModule = await this.loaderService.loader.import("https://cardstack.com/base/card-api");
|
|
490
|
-
await new PatchCardInstanceCommand(this.commandContext, { cardType: cardApiModule.CardDef }).execute({
|
|
491
|
-
cardId: targetCardId,
|
|
492
|
-
patch: { relationships: { "cardInfo.cardThumbnail": { links: { self: imageDefIdentifier } } } }
|
|
493
|
-
});
|
|
494
|
-
}
|
|
495
|
-
const { GenerateThumbnailOutput } = await this.loadCommandModule();
|
|
496
|
-
return new GenerateThumbnailOutput({ imageDefIdentifier });
|
|
497
|
-
}
|
|
498
|
-
};
|
|
499
|
-
//#endregion
|
|
500
|
-
//#region app/commands/get-all-realm-metas.ts
|
|
501
|
-
var get_all_realm_metas_exports = /* @__PURE__ */ __exportAll({ default: () => GetAllRealmMetasCommand });
|
|
502
|
-
var GetAllRealmMetasCommand = class extends HostBaseCommand {
|
|
503
|
-
static {
|
|
504
|
-
decorateFieldV2(this.prototype, "realm", [service]);
|
|
505
|
-
}
|
|
506
|
-
#realm = (initializeDeferredDecorator(this, "realm"), void 0);
|
|
507
|
-
static {
|
|
508
|
-
this.actionVerb = "Fetch Realms";
|
|
509
|
-
}
|
|
510
|
-
static {
|
|
511
|
-
this.description = "Get information about all available realms";
|
|
512
|
-
}
|
|
513
|
-
async getInputType() {}
|
|
514
|
-
async run() {
|
|
515
|
-
let realmMetas = this.realm.allRealmsInfo;
|
|
516
|
-
const { GetAllRealmMetasResult, RealmInfoField, RealmMetaField } = await this.loadCommandModule();
|
|
517
|
-
return new GetAllRealmMetasResult({ results: Object.entries(realmMetas).map(([url, realmMeta]) => {
|
|
518
|
-
return new RealmMetaField({
|
|
519
|
-
info: new RealmInfoField({ ...realmMeta.info }),
|
|
520
|
-
canWrite: realmMeta.canWrite,
|
|
521
|
-
realmIdentifier: url
|
|
522
|
-
});
|
|
523
|
-
}) });
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
//#endregion
|
|
527
|
-
//#region app/commands/get-card-type-schema.ts
|
|
528
|
-
var get_card_type_schema_exports = /* @__PURE__ */ __exportAll({ default: () => GetCardTypeSchemaCommand });
|
|
529
|
-
var GetCardTypeSchemaCommand = class extends HostBaseCommand {
|
|
530
|
-
constructor(..._args) {
|
|
531
|
-
super(..._args);
|
|
532
|
-
this.description = "Generate JSON schema for a card type definition";
|
|
533
|
-
this.requireInputFields = ["codeRef"];
|
|
534
|
-
}
|
|
535
|
-
static {
|
|
536
|
-
this.actionVerb = "Generate";
|
|
537
|
-
}
|
|
538
|
-
async getInputType() {
|
|
539
|
-
return (await this.loadCommandModule()).CardTypeSchemaInput;
|
|
540
|
-
}
|
|
541
|
-
async run(input) {
|
|
542
|
-
let codeRef = input.codeRef;
|
|
543
|
-
if (!codeRef?.module || !codeRef?.name) throw new Error("codeRef must be a ResolvedCodeRef with module and name");
|
|
544
|
-
let loader = this.loaderService.loader;
|
|
545
|
-
let CardClass = await getClass(codeRef, loader);
|
|
546
|
-
if (!CardClass) throw new Error(`Export "${codeRef.name}" not found in module "${codeRef.module}"`);
|
|
547
|
-
let schema = generateJsonSchemaForCardType(CardClass, await loader.import(`${baseRealm.url}card-api`), await basicMappings(loader));
|
|
548
|
-
return new (await (this.loadCommandModule())).JsonCard({ json: schema });
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
//#endregion
|
|
552
|
-
//#region app/commands/listing-action-build.ts
|
|
553
|
-
var listing_action_build_exports = /* @__PURE__ */ __exportAll({ default: () => ListingActionBuildCommand });
|
|
554
|
-
var ListingActionBuildCommand = class extends HostBaseCommand {
|
|
555
|
-
constructor(..._args) {
|
|
556
|
-
super(..._args);
|
|
557
|
-
this.description = "Catalog listing build command";
|
|
558
|
-
this.requireInputFields = ["realm", "listing"];
|
|
559
|
-
}
|
|
560
|
-
async getInputType() {
|
|
561
|
-
const { ListingBuildInput } = await this.loadCommandModule();
|
|
562
|
-
return ListingBuildInput;
|
|
563
|
-
}
|
|
564
|
-
async run(input) {
|
|
565
|
-
let { realm: realmUrl, listing: listingInput } = input;
|
|
566
|
-
const listing = listingInput;
|
|
567
|
-
const prompt = `Generate .gts card definition for "${listing.name}" implementing all requirements from the attached listing specification. Then preview the final code in playground panel.`;
|
|
568
|
-
const { roomId } = await new CreateAiAssistantRoomCommand(this.commandContext).execute({ name: `Build ${listing.name}` });
|
|
569
|
-
const defaultSkills = [
|
|
570
|
-
devSkillId,
|
|
571
|
-
skillCardURL("catalog-listing"),
|
|
572
|
-
skillCardURL("source-code-editing")
|
|
573
|
-
];
|
|
574
|
-
if (roomId) {
|
|
575
|
-
await new SetActiveLLMCommand(this.commandContext).execute({
|
|
576
|
-
roomId,
|
|
577
|
-
model: DEFAULT_CODING_LLM,
|
|
578
|
-
mode: "act"
|
|
579
|
-
});
|
|
580
|
-
await new UpdateRoomSkillsCommand(this.commandContext).execute({
|
|
581
|
-
roomId,
|
|
582
|
-
skillCardIdsToActivate: defaultSkills
|
|
583
|
-
});
|
|
584
|
-
await new SwitchSubmodeCommand(this.commandContext).execute({
|
|
585
|
-
submode: "code",
|
|
586
|
-
codePath: `${realmUrl}index.json`
|
|
587
|
-
});
|
|
588
|
-
await new SendAiAssistantMessageCommand(this.commandContext).execute({
|
|
589
|
-
roomId,
|
|
590
|
-
prompt,
|
|
591
|
-
attachedCards: [listing]
|
|
592
|
-
});
|
|
593
|
-
await new OpenAiAssistantRoomCommand(this.commandContext).execute({ roomId });
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
};
|
|
597
|
-
//#endregion
|
|
598
|
-
//#region app/commands/patch-theme.ts
|
|
599
|
-
var patch_theme_exports = /* @__PURE__ */ __exportAll({ default: () => PatchThemeCommand });
|
|
600
|
-
var PatchThemeCommand = class extends HostBaseCommand {
|
|
601
|
-
constructor(..._args) {
|
|
602
|
-
super(..._args);
|
|
603
|
-
this.description = "Open the AI assistant to suggest improvements to a theme card and generate a patch.";
|
|
604
|
-
this.requireInputFields = ["cardId"];
|
|
605
|
-
}
|
|
606
|
-
static {
|
|
607
|
-
this.actionVerb = "Patch Theme";
|
|
608
|
-
}
|
|
609
|
-
async getInputType() {
|
|
610
|
-
const { PatchThemeInput } = await this.loadCommandModule();
|
|
611
|
-
return PatchThemeInput;
|
|
612
|
-
}
|
|
613
|
-
async run(input) {
|
|
614
|
-
if (!input.cardId) throw new Error("patch-theme command requires a cardId");
|
|
615
|
-
let prompt = ["Ask me for possible improvements to modify this theme card (e.g., change font, adjust backgrounds, tweak palettes, spacing, shadows).", "Then propose changes and outline the patches you would apply to the theme JSON or CSS variables."].join("\n");
|
|
616
|
-
let linkedSkill = input.skillCard;
|
|
617
|
-
let linkedSkillId = linkedSkill && typeof linkedSkill.id === "string" ? linkedSkill.id : void 0;
|
|
618
|
-
return await new UseAiAssistantCommand(this.commandContext).execute({
|
|
619
|
-
roomId: "new",
|
|
620
|
-
openRoom: true,
|
|
621
|
-
llmModel: "anthropic/claude-3.5-sonnet",
|
|
622
|
-
prompt,
|
|
623
|
-
skillCardIds: linkedSkillId ? [linkedSkillId] : void 0,
|
|
624
|
-
attachedCardIds: [input.cardId]
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
};
|
|
628
|
-
//#endregion
|
|
629
|
-
//#region app/commands/populate-with-sample-data.ts
|
|
630
|
-
var populate_with_sample_data_exports = /* @__PURE__ */ __exportAll({ default: () => PopulateWithSampleDataCommand });
|
|
631
|
-
var PopulateWithSampleDataCommand = class extends HostBaseCommand {
|
|
632
|
-
constructor(..._args) {
|
|
633
|
-
super(..._args);
|
|
634
|
-
this.#aiAssistantPanelService = (initializeDeferredDecorator(this, "aiAssistantPanelService"), void 0);
|
|
635
|
-
this.#commandService = (initializeDeferredDecorator(this, "commandService"), void 0);
|
|
636
|
-
this.#matrixService = (initializeDeferredDecorator(this, "matrixService"), void 0);
|
|
637
|
-
this.#store = (initializeDeferredDecorator(this, "store"), void 0);
|
|
638
|
-
this.description = "Fill in the card with sample data";
|
|
639
|
-
}
|
|
640
|
-
static {
|
|
641
|
-
decorateFieldV2(this.prototype, "aiAssistantPanelService", [service]);
|
|
642
|
-
}
|
|
643
|
-
#aiAssistantPanelService;
|
|
644
|
-
static {
|
|
645
|
-
decorateFieldV2(this.prototype, "commandService", [service]);
|
|
646
|
-
}
|
|
647
|
-
#commandService;
|
|
648
|
-
static {
|
|
649
|
-
decorateFieldV2(this.prototype, "matrixService", [service]);
|
|
650
|
-
}
|
|
651
|
-
#matrixService;
|
|
652
|
-
static {
|
|
653
|
-
decorateFieldV2(this.prototype, "store", [service]);
|
|
654
|
-
}
|
|
655
|
-
#store;
|
|
656
|
-
static {
|
|
657
|
-
this.actionVerb = "Populate Sample Data";
|
|
658
|
-
}
|
|
659
|
-
async getInputType() {
|
|
660
|
-
const { CardIdCard } = await this.loadCommandModule();
|
|
661
|
-
return CardIdCard;
|
|
662
|
-
}
|
|
663
|
-
get prompt() {
|
|
664
|
-
return `Fill in sample data for the attached card instance.`;
|
|
665
|
-
}
|
|
666
|
-
getAttachedFileURLs(card) {
|
|
667
|
-
const codeRef = identifyCard(card.constructor);
|
|
668
|
-
let cardModuleURL = codeRef ? ensureExtension(moduleFrom(codeRef), { default: ".gts" }) : void 0;
|
|
669
|
-
return cardModuleURL ? [cardModuleURL] : [];
|
|
670
|
-
}
|
|
671
|
-
async run(input) {
|
|
672
|
-
if (!input.cardId) throw new Error("Card is required");
|
|
673
|
-
await this.aiAssistantPanelService.openPanel();
|
|
674
|
-
let card = await this.store.get(input.cardId);
|
|
675
|
-
if (!isCard(card)) throw new Error(`Could not load card: ${card.message}`);
|
|
676
|
-
await new SendAiAssistantMessageCommand(this.commandContext).execute({
|
|
677
|
-
roomId: this.matrixService.currentRoomId,
|
|
678
|
-
prompt: this.prompt,
|
|
679
|
-
attachedCards: [card],
|
|
680
|
-
attachedFileIdentifiers: this.getAttachedFileURLs(card),
|
|
681
|
-
realmIdentifier: card[realmURL]?.href
|
|
682
|
-
});
|
|
683
|
-
}
|
|
684
|
-
};
|
|
685
|
-
function isCardOrField(card) {
|
|
686
|
-
return card && typeof card === "object" && isBaseInstance in card;
|
|
687
|
-
}
|
|
688
|
-
function isCard(card) {
|
|
689
|
-
return isCardOrField(card) && !("isFieldDef" in card.constructor);
|
|
690
|
-
}
|
|
691
|
-
//#endregion
|
|
692
|
-
//#region app/commands/read-binary-file.ts
|
|
693
|
-
var read_binary_file_exports = /* @__PURE__ */ __exportAll({ default: () => ReadBinaryFileCommand });
|
|
694
|
-
function uint8ArrayToBase64(bytes) {
|
|
695
|
-
const maybeBuffer = globalThis.Buffer;
|
|
696
|
-
if (typeof maybeBuffer !== "undefined") return maybeBuffer.from(bytes).toString("base64");
|
|
697
|
-
let binary = "";
|
|
698
|
-
for (let i = 0; i < bytes.byteLength; i++) binary += String.fromCharCode(bytes[i]);
|
|
699
|
-
return btoa(binary);
|
|
700
|
-
}
|
|
701
|
-
var ReadBinaryFileCommand = class extends HostBaseCommand {
|
|
702
|
-
constructor(..._args) {
|
|
703
|
-
super(..._args);
|
|
704
|
-
this.#network = (initializeDeferredDecorator(this, "network"), void 0);
|
|
705
|
-
this.description = "Read a binary file from a URL and return its content as base64";
|
|
706
|
-
this.requireInputFields = ["fileIdentifier"];
|
|
707
|
-
}
|
|
708
|
-
static {
|
|
709
|
-
decorateFieldV2(this.prototype, "network", [service]);
|
|
710
|
-
}
|
|
711
|
-
#network;
|
|
712
|
-
static {
|
|
713
|
-
this.actionVerb = "Read";
|
|
714
|
-
}
|
|
715
|
-
async getInputType() {
|
|
716
|
-
const { ReadBinaryFileInput } = await this.loadCommandModule();
|
|
717
|
-
return ReadBinaryFileInput;
|
|
718
|
-
}
|
|
719
|
-
async run(input) {
|
|
720
|
-
let response = await this.network.authedFetch(input.fileIdentifier);
|
|
721
|
-
let { ReadBinaryFileResult } = await this.loadCommandModule();
|
|
722
|
-
if (!response.ok) throw new Error(`Error reading binary file ${input.fileIdentifier}: ${response.statusText}`);
|
|
723
|
-
let arrayBuffer = await response.arrayBuffer();
|
|
724
|
-
return new ReadBinaryFileResult({
|
|
725
|
-
base64Content: uint8ArrayToBase64(new Uint8Array(arrayBuffer)),
|
|
726
|
-
contentType: response.headers.get("content-type") ?? ""
|
|
727
|
-
});
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
//#endregion
|
|
731
|
-
//#region app/commands/retry-submission-workflow.ts
|
|
732
|
-
var retry_submission_workflow_exports = /* @__PURE__ */ __exportAll({ default: () => RetrySubmissionWorkflowCommand });
|
|
733
|
-
var RetrySubmissionWorkflowCommand = class extends HostBaseCommand {
|
|
734
|
-
constructor(..._args) {
|
|
735
|
-
super(..._args);
|
|
736
|
-
this.#store = (initializeDeferredDecorator(this, "store"), void 0);
|
|
737
|
-
this.#realm = (initializeDeferredDecorator(this, "realm"), void 0);
|
|
738
|
-
this.description = "Retry a failed submission workflow by re-emitting the bot trigger event into the original room.";
|
|
739
|
-
this.requireInputFields = ["workflowCardId"];
|
|
740
|
-
}
|
|
741
|
-
static {
|
|
742
|
-
decorateFieldV2(this.prototype, "store", [service]);
|
|
743
|
-
}
|
|
744
|
-
#store;
|
|
745
|
-
static {
|
|
746
|
-
decorateFieldV2(this.prototype, "realm", [service]);
|
|
747
|
-
}
|
|
748
|
-
#realm;
|
|
749
|
-
async getInputType() {
|
|
750
|
-
const { RetrySubmissionWorkflowInput } = await this.loadCommandModule();
|
|
751
|
-
return RetrySubmissionWorkflowInput;
|
|
752
|
-
}
|
|
753
|
-
async run(input) {
|
|
754
|
-
let { workflowCardId } = input;
|
|
755
|
-
let result = await this.store.get(workflowCardId);
|
|
756
|
-
if (!result || !isCardInstance(result)) throw new Error(`Cannot retry: workflow card ${workflowCardId} not found`);
|
|
757
|
-
let workflowCard = result;
|
|
758
|
-
let roomId = workflowCard.roomId;
|
|
759
|
-
let listingId = workflowCard.listing?.id;
|
|
760
|
-
if (!roomId) throw new Error("Cannot retry: workflow card has no roomId — only newer submissions support retry");
|
|
761
|
-
if (!listingId) throw new Error("Cannot retry: workflow card has no linked listing");
|
|
762
|
-
let listingRealm = this.realm.realmOf(rri(listingId));
|
|
763
|
-
if (!listingRealm) throw new Error(`Cannot retry: cannot determine realm for listing ${listingId}`);
|
|
764
|
-
let priorFailedStep = workflowCard.failedStep ?? null;
|
|
765
|
-
await this.store.patch(workflowCardId, { attributes: {
|
|
766
|
-
prCreationError: null,
|
|
767
|
-
failedStep: null
|
|
768
|
-
} }, { doNotWaitForPersist: true });
|
|
769
|
-
try {
|
|
770
|
-
await new SendBotTriggerEventCommand(this.commandContext).execute({
|
|
771
|
-
roomId,
|
|
772
|
-
realm: listingRealm,
|
|
773
|
-
type: "pr-listing-retry",
|
|
774
|
-
input: {
|
|
775
|
-
workflowCardUrl: workflowCardId,
|
|
776
|
-
workflowCardRealm: this.realm.realmOf(rri(workflowCardId)) ?? void 0
|
|
777
|
-
}
|
|
778
|
-
});
|
|
779
|
-
} catch (sendError) {
|
|
780
|
-
let message = sendError instanceof Error ? sendError.message : String(sendError);
|
|
781
|
-
await this.store.patch(workflowCardId, { attributes: {
|
|
782
|
-
prCreationError: `Failed to send retry: ${message}`,
|
|
783
|
-
failedStep: priorFailedStep
|
|
784
|
-
} }, { doNotWaitForPersist: true });
|
|
785
|
-
throw sendError;
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
};
|
|
789
|
-
//#endregion
|
|
790
|
-
//#region app/commands/screenshot-card.ts
|
|
791
|
-
var screenshot_card_exports = /* @__PURE__ */ __exportAll({ default: () => ScreenshotCardCommand });
|
|
792
|
-
function generateFilenameFromCard(cardId) {
|
|
793
|
-
const uniqueId = v4().split("-")[0];
|
|
794
|
-
let url;
|
|
795
|
-
try {
|
|
796
|
-
url = new URL(cardId);
|
|
797
|
-
} catch {
|
|
798
|
-
return `screenshot-${uniqueId}`;
|
|
799
|
-
}
|
|
800
|
-
let slug = decodeURIComponent(url.pathname.split("/").filter(Boolean).pop() ?? "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
|
|
801
|
-
return slug ? `${slug}-${uniqueId}` : `screenshot-${uniqueId}`;
|
|
802
|
-
}
|
|
803
|
-
var ScreenshotCardCommand = class extends HostBaseCommand {
|
|
804
|
-
constructor(..._args) {
|
|
805
|
-
super(..._args);
|
|
806
|
-
this.#realm = (initializeDeferredDecorator(this, "realm"), void 0);
|
|
807
|
-
this.#realmServer = (initializeDeferredDecorator(this, "realmServer"), void 0);
|
|
808
|
-
this.description = "Screenshot a rendered card and save it as an ImageDef in the card's own realm";
|
|
809
|
-
this.requireInputFields = ["card", "format"];
|
|
810
|
-
}
|
|
811
|
-
static {
|
|
812
|
-
decorateFieldV2(this.prototype, "realm", [service]);
|
|
813
|
-
}
|
|
814
|
-
#realm;
|
|
815
|
-
static {
|
|
816
|
-
decorateFieldV2(this.prototype, "realmServer", [service]);
|
|
817
|
-
}
|
|
818
|
-
#realmServer;
|
|
819
|
-
static {
|
|
820
|
-
this.actionVerb = "Screenshot";
|
|
821
|
-
}
|
|
822
|
-
async getInputType() {
|
|
823
|
-
const { ScreenshotCardInput } = await this.loadCommandModule();
|
|
824
|
-
return ScreenshotCardInput;
|
|
825
|
-
}
|
|
826
|
-
async run(input) {
|
|
827
|
-
let { card, format } = input;
|
|
828
|
-
let normalizedFormat = format?.trim();
|
|
829
|
-
if (!card) throw new Error("A linked card is required to take a screenshot.");
|
|
830
|
-
if (normalizedFormat !== "isolated" && normalizedFormat !== "embedded") throw new Error(`Format must be "isolated" or "embedded" (got: ${format ?? "<missing>"}).`);
|
|
831
|
-
let cardId = card.id;
|
|
832
|
-
if (!cardId) throw new Error("Linked card must be saved before screenshotting (no id available).");
|
|
833
|
-
let cardURL = this.loaderService.loader.getVirtualNetwork().toURL(cardId).href;
|
|
834
|
-
let cardRealm = this.realm.realmOf(rri(cardURL));
|
|
835
|
-
if (!cardRealm) throw new Error(`Cannot determine realm for card ${cardURL}.`);
|
|
836
|
-
if (!this.realm.canWrite(cardRealm)) throw new Error(`Cannot screenshot ${cardURL}: no write access to its realm ${cardRealm}.`);
|
|
837
|
-
let endpoint = new URL("/_screenshot-card", this.realmServer.url);
|
|
838
|
-
let response = await this.realmServer.authedFetch(endpoint.href, {
|
|
839
|
-
method: "POST",
|
|
840
|
-
headers: {
|
|
841
|
-
Accept: "application/vnd.api+json",
|
|
842
|
-
"Content-Type": "application/vnd.api+json"
|
|
843
|
-
},
|
|
844
|
-
body: JSON.stringify({ data: {
|
|
845
|
-
type: "screenshot-card",
|
|
846
|
-
attributes: {
|
|
847
|
-
realmURL: cardRealm,
|
|
848
|
-
cardId: cardURL,
|
|
849
|
-
format: normalizedFormat
|
|
850
|
-
}
|
|
851
|
-
} })
|
|
852
|
-
});
|
|
853
|
-
if (!response.ok) {
|
|
854
|
-
let text = await response.text().catch(() => "");
|
|
855
|
-
throw new Error(`Screenshot request failed (${response.status} ${response.statusText}): ${text}`);
|
|
856
|
-
}
|
|
857
|
-
let body = await response.json();
|
|
858
|
-
let attrs = body?.data?.attributes;
|
|
859
|
-
if (!attrs || attrs.status !== "ready" || !attrs.base64) {
|
|
860
|
-
let detail = attrs?.error ?? JSON.stringify(body);
|
|
861
|
-
throw new Error(`Screenshot job did not produce a PNG: ${detail}`);
|
|
862
|
-
}
|
|
863
|
-
let filePath = `Screenshots/${`${generateFilenameFromCard(cardURL)}.png`}`;
|
|
864
|
-
let writeResult = await new WriteBinaryFileCommand(this.commandContext).execute({
|
|
865
|
-
path: filePath,
|
|
866
|
-
realm: cardRealm,
|
|
867
|
-
base64Content: attrs.base64,
|
|
868
|
-
contentType: "image/png",
|
|
869
|
-
useNonConflictingFilename: true
|
|
870
|
-
});
|
|
871
|
-
if (!writeResult?.fileIdentifier) throw new Error("Failed to write screenshot PNG to realm.");
|
|
872
|
-
const { ScreenshotCardOutput } = await this.loadCommandModule();
|
|
873
|
-
return new ScreenshotCardOutput({ imageDefUrl: writeResult.fileIdentifier });
|
|
874
|
-
}
|
|
875
|
-
};
|
|
876
|
-
//#endregion
|
|
877
|
-
//#region app/commands/serialize-card.ts
|
|
878
|
-
var serialize_card_exports = /* @__PURE__ */ __exportAll({ default: () => SerializeCardCommand });
|
|
879
|
-
var SerializeCardCommand = class extends HostBaseCommand {
|
|
880
|
-
constructor(..._args) {
|
|
881
|
-
super(..._args);
|
|
882
|
-
this.#store = (initializeDeferredDecorator(this, "store"), void 0);
|
|
883
|
-
this.#cardService = (initializeDeferredDecorator(this, "cardService"), void 0);
|
|
884
|
-
this.description = "Serialize a card by id";
|
|
885
|
-
this.requireInputFields = ["cardId"];
|
|
886
|
-
}
|
|
887
|
-
static {
|
|
888
|
-
decorateFieldV2(this.prototype, "store", [service]);
|
|
889
|
-
}
|
|
890
|
-
#store;
|
|
891
|
-
static {
|
|
892
|
-
decorateFieldV2(this.prototype, "cardService", [service]);
|
|
893
|
-
}
|
|
894
|
-
#cardService;
|
|
895
|
-
static {
|
|
896
|
-
this.actionVerb = "Serialize";
|
|
897
|
-
}
|
|
898
|
-
async getInputType() {
|
|
899
|
-
const { CardIdCard } = await this.loadCommandModule();
|
|
900
|
-
return CardIdCard;
|
|
901
|
-
}
|
|
902
|
-
async run(input) {
|
|
903
|
-
let card = await this.store.get(input.cardId);
|
|
904
|
-
if (!card || !("id" in card)) throw new Error(`Card not found for id: ${input.cardId}`);
|
|
905
|
-
let serialized = await this.cardService.serializeCard(card, { omitQueryFields: true });
|
|
906
|
-
const { JsonCard } = await this.loadCommandModule();
|
|
907
|
-
return new JsonCard({ json: serialized });
|
|
908
|
-
}
|
|
909
|
-
};
|
|
910
|
-
//#endregion
|
|
911
|
-
//#region app/commands/sync-openrouter-models.ts
|
|
912
|
-
var sync_openrouter_models_exports = /* @__PURE__ */ __exportAll({ default: () => SyncOpenRouterModelsCommand });
|
|
913
|
-
var OPENROUTER_MODELS_URL = "https://openrouter.ai/api/v1/models";
|
|
914
|
-
var BATCH_SIZE = 20;
|
|
915
|
-
function buildSlug(modelId) {
|
|
916
|
-
return modelId.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, "");
|
|
917
|
-
}
|
|
918
|
-
function buildCardJson(model) {
|
|
919
|
-
return { data: {
|
|
920
|
-
type: "card",
|
|
921
|
-
attributes: {
|
|
922
|
-
modelId: model.id,
|
|
923
|
-
canonicalSlug: model.canonical_slug ?? null,
|
|
924
|
-
name: model.name ?? null,
|
|
925
|
-
created: model.created ?? null,
|
|
926
|
-
cardDescription: model.description ?? null,
|
|
927
|
-
contextLength: model.context_length ?? null,
|
|
928
|
-
pricing: model.pricing ? {
|
|
929
|
-
prompt: model.pricing.prompt ?? null,
|
|
930
|
-
completion: model.pricing.completion ?? null,
|
|
931
|
-
request: model.pricing.request ?? null,
|
|
932
|
-
image: model.pricing.image ?? null,
|
|
933
|
-
webSearch: model.pricing.web_search ?? null
|
|
934
|
-
} : null,
|
|
935
|
-
architecture: model.architecture ? {
|
|
936
|
-
modality: model.architecture.modality ?? null,
|
|
937
|
-
inputModalities: model.architecture.input_modalities ?? [],
|
|
938
|
-
outputModalities: model.architecture.output_modalities ?? [],
|
|
939
|
-
tokenizer: model.architecture.tokenizer ?? null,
|
|
940
|
-
instructType: model.architecture.instruct_type ?? null
|
|
941
|
-
} : null,
|
|
942
|
-
topProvider: model.top_provider ? {
|
|
943
|
-
isModerated: model.top_provider.is_moderated ?? false,
|
|
944
|
-
contextLength: model.top_provider.context_length ?? null,
|
|
945
|
-
maxCompletionTokens: model.top_provider.max_completion_tokens ?? null
|
|
946
|
-
} : null,
|
|
947
|
-
perRequestLimits: model.per_request_limits ? {
|
|
948
|
-
promptTokens: model.per_request_limits.prompt_tokens ?? null,
|
|
949
|
-
completionTokens: model.per_request_limits.completion_tokens ?? null
|
|
950
|
-
} : null,
|
|
951
|
-
supportedParameters: model.supported_parameters ?? [],
|
|
952
|
-
defaultParameters: model.default_parameters ? {
|
|
953
|
-
temperature: model.default_parameters.temperature ?? null,
|
|
954
|
-
top_p: model.default_parameters.top_p ?? null,
|
|
955
|
-
max_tokens: model.default_parameters.max_tokens ?? null,
|
|
956
|
-
frequency_penalty: model.default_parameters.frequency_penalty ?? null,
|
|
957
|
-
presence_penalty: model.default_parameters.presence_penalty ?? null
|
|
958
|
-
} : null,
|
|
959
|
-
deprecated: false,
|
|
960
|
-
lastSeenInApi: Math.floor(Date.now() / 1e3),
|
|
961
|
-
expirationDate: model.expiration_date ?? null,
|
|
962
|
-
cardInfo: {
|
|
963
|
-
name: null,
|
|
964
|
-
summary: null,
|
|
965
|
-
cardThumbnailURL: null,
|
|
966
|
-
notes: null
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
meta: { adoptsFrom: {
|
|
970
|
-
module: rri("../openrouter-model"),
|
|
971
|
-
name: "OpenRouterModel"
|
|
972
|
-
} }
|
|
973
|
-
} };
|
|
974
|
-
}
|
|
975
|
-
var SyncOpenRouterModelsCommand = class extends HostBaseCommand {
|
|
976
|
-
constructor(..._args) {
|
|
977
|
-
super(..._args);
|
|
978
|
-
this.#cardService = (initializeDeferredDecorator(this, "cardService"), void 0);
|
|
979
|
-
this.#network = (initializeDeferredDecorator(this, "network"), void 0);
|
|
980
|
-
this.description = "Sync OpenRouter model data from the OpenRouter API";
|
|
981
|
-
}
|
|
982
|
-
static {
|
|
983
|
-
decorateFieldV2(this.prototype, "cardService", [service]);
|
|
984
|
-
}
|
|
985
|
-
#cardService;
|
|
986
|
-
static {
|
|
987
|
-
decorateFieldV2(this.prototype, "network", [service]);
|
|
988
|
-
}
|
|
989
|
-
#network;
|
|
990
|
-
static {
|
|
991
|
-
this.actionVerb = "Sync";
|
|
992
|
-
}
|
|
993
|
-
async getInputType() {
|
|
994
|
-
return (await this.loadCommandModule()).RealmIdentifierCard;
|
|
995
|
-
}
|
|
996
|
-
async run(input) {
|
|
997
|
-
let commandModule = await this.loadCommandModule();
|
|
998
|
-
let realmURL = input.realmIdentifier;
|
|
999
|
-
if (!realmURL) throw new Error("realmIdentifier is required");
|
|
1000
|
-
if (!realmURL.endsWith("/")) realmURL += "/";
|
|
1001
|
-
let response = await fetch(OPENROUTER_MODELS_URL, { headers: {
|
|
1002
|
-
"Content-Type": "application/json",
|
|
1003
|
-
"X-Title": "Boxel OpenRouter Model Sync"
|
|
1004
|
-
} });
|
|
1005
|
-
if (!response.ok) {
|
|
1006
|
-
let errorBody = "";
|
|
1007
|
-
try {
|
|
1008
|
-
errorBody = await response.text();
|
|
1009
|
-
} catch (_e) {}
|
|
1010
|
-
throw new Error(`OpenRouter API request failed: ${response.status} ${errorBody}`);
|
|
1011
|
-
}
|
|
1012
|
-
let apiModels = (await response.json()).data ?? [];
|
|
1013
|
-
let existingSlugs = await this.fetchExistingSlugs(realmURL);
|
|
1014
|
-
let apiSlugs = /* @__PURE__ */ new Set();
|
|
1015
|
-
let operations = [];
|
|
1016
|
-
for (let model of apiModels) {
|
|
1017
|
-
let slug = buildSlug(model.id);
|
|
1018
|
-
apiSlugs.add(slug);
|
|
1019
|
-
let href = `OpenRouterModel/${slug}.json`;
|
|
1020
|
-
let cardJson = buildCardJson(model);
|
|
1021
|
-
let op = existingSlugs.has(slug) ? "update" : "add";
|
|
1022
|
-
operations.push({
|
|
1023
|
-
op,
|
|
1024
|
-
href,
|
|
1025
|
-
data: cardJson.data
|
|
1026
|
-
});
|
|
1027
|
-
}
|
|
1028
|
-
for (let existingSlug of existingSlugs) if (!apiSlugs.has(existingSlug)) operations.push({
|
|
1029
|
-
op: "update",
|
|
1030
|
-
href: `OpenRouterModel/${existingSlug}.json`,
|
|
1031
|
-
data: {
|
|
1032
|
-
type: "card",
|
|
1033
|
-
attributes: { deprecated: true },
|
|
1034
|
-
meta: { adoptsFrom: {
|
|
1035
|
-
module: rri("../openrouter-model"),
|
|
1036
|
-
name: "OpenRouterModel"
|
|
1037
|
-
} }
|
|
1038
|
-
}
|
|
1039
|
-
});
|
|
1040
|
-
let errors = [];
|
|
1041
|
-
let batches = [];
|
|
1042
|
-
for (let i = 0; i < operations.length; i += BATCH_SIZE) batches.push(operations.slice(i, i + BATCH_SIZE));
|
|
1043
|
-
let processed = 0;
|
|
1044
|
-
for (let i = 0; i < batches.length; i++) {
|
|
1045
|
-
let batch = batches[i];
|
|
1046
|
-
let result = await this.executeBatchWithRetry(batch, new URL(realmURL));
|
|
1047
|
-
if (result.ok) processed += batch.length;
|
|
1048
|
-
else {
|
|
1049
|
-
console.error(`Batch ${i + 1} failed:`, result.error);
|
|
1050
|
-
errors.push(`Batch ${i + 1} (${batch.length} ops): ${result.error}`);
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
let status = errors.length > 0 ? `Synced ${processed}/${operations.length} models with ${errors.length} batch error(s)` : `Successfully synced ${processed} models (${apiModels.length} from API, ${operations.length - apiModels.length} deprecated)`;
|
|
1054
|
-
return new commandModule.SyncOpenRouterModelsResult({
|
|
1055
|
-
modelsProcessed: processed,
|
|
1056
|
-
totalModels: apiModels.length,
|
|
1057
|
-
status,
|
|
1058
|
-
errors: errors.length > 0 ? errors.join("\n") : void 0
|
|
1059
|
-
});
|
|
1060
|
-
}
|
|
1061
|
-
async executeBatchWithRetry(batch, realmURL) {
|
|
1062
|
-
let result = await this.cardService.executeAtomicOperations(batch, realmURL);
|
|
1063
|
-
if (!result.errors) return { ok: true };
|
|
1064
|
-
let flippedHrefs = /* @__PURE__ */ new Set();
|
|
1065
|
-
for (let error of result.errors) {
|
|
1066
|
-
let hrefMatch = (error.detail ?? "").match(/Resource (.+?) (?:already exists|does not exist)/);
|
|
1067
|
-
if (!hrefMatch) continue;
|
|
1068
|
-
let href = hrefMatch[1];
|
|
1069
|
-
if (error.status === 409 || error.title === "Resource already exists") flippedHrefs.add(href);
|
|
1070
|
-
else if (error.status === 404 || error.title === "Resource does not exist") flippedHrefs.add(href);
|
|
1071
|
-
}
|
|
1072
|
-
if (flippedHrefs.size === 0) return {
|
|
1073
|
-
ok: false,
|
|
1074
|
-
error: JSON.stringify(result.errors)
|
|
1075
|
-
};
|
|
1076
|
-
let retryBatch = batch.map((op) => {
|
|
1077
|
-
if (flippedHrefs.has(op.href)) return {
|
|
1078
|
-
...op,
|
|
1079
|
-
op: op.op === "add" ? "update" : "add"
|
|
1080
|
-
};
|
|
1081
|
-
return op;
|
|
1082
|
-
});
|
|
1083
|
-
let retryResult = await this.cardService.executeAtomicOperations(retryBatch, realmURL);
|
|
1084
|
-
if (retryResult.errors) return {
|
|
1085
|
-
ok: false,
|
|
1086
|
-
error: `Retry failed: ${JSON.stringify(retryResult.errors)}`
|
|
1087
|
-
};
|
|
1088
|
-
return { ok: true };
|
|
1089
|
-
}
|
|
1090
|
-
async fetchExistingSlugs(realmURL) {
|
|
1091
|
-
let slugs = /* @__PURE__ */ new Set();
|
|
1092
|
-
try {
|
|
1093
|
-
let response = await this.network.authedFetch(`${realmURL}_search`, {
|
|
1094
|
-
method: "QUERY",
|
|
1095
|
-
headers: {
|
|
1096
|
-
Accept: SupportedMimeType.CardJson,
|
|
1097
|
-
"Content-Type": "application/json"
|
|
1098
|
-
},
|
|
1099
|
-
body: JSON.stringify({ filter: { type: {
|
|
1100
|
-
module: new URL("openrouter-model", realmURL).href,
|
|
1101
|
-
name: "OpenRouterModel"
|
|
1102
|
-
} } })
|
|
1103
|
-
});
|
|
1104
|
-
if (response.ok) {
|
|
1105
|
-
let cards = (await response.json())?.data ?? [];
|
|
1106
|
-
for (let card of cards) {
|
|
1107
|
-
let match = (card.id ?? "").match(/OpenRouterModel\/([^/]+)$/);
|
|
1108
|
-
if (match) {
|
|
1109
|
-
let slug = match[1];
|
|
1110
|
-
if (slug.endsWith(".json")) slug = slug.slice(0, -5);
|
|
1111
|
-
slugs.add(slug);
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
} catch (e) {
|
|
1116
|
-
console.warn("Could not fetch existing models, treating all as new:", e);
|
|
1117
|
-
}
|
|
1118
|
-
return slugs;
|
|
1119
|
-
}
|
|
1120
|
-
};
|
|
1121
|
-
//#endregion
|
|
1122
|
-
//#region app/commands/update-code-path-with-selection.ts
|
|
1123
|
-
var update_code_path_with_selection_exports = /* @__PURE__ */ __exportAll({ default: () => UpdateCodePathWithSelectionCommand });
|
|
1124
|
-
var UpdateCodePathWithSelectionCommand = class extends HostBaseCommand {
|
|
1125
|
-
constructor(..._args) {
|
|
1126
|
-
super(..._args);
|
|
1127
|
-
this.#operatorModeStateService = (initializeDeferredDecorator(this, "operatorModeStateService"), void 0);
|
|
1128
|
-
this.#recentFilesService = (initializeDeferredDecorator(this, "recentFilesService"), void 0);
|
|
1129
|
-
this.description = "Update the selected code path when the user navigates to code mode.";
|
|
1130
|
-
}
|
|
1131
|
-
static {
|
|
1132
|
-
decorateFieldV2(this.prototype, "operatorModeStateService", [service]);
|
|
1133
|
-
}
|
|
1134
|
-
#operatorModeStateService;
|
|
1135
|
-
static {
|
|
1136
|
-
decorateFieldV2(this.prototype, "recentFilesService", [service]);
|
|
1137
|
-
}
|
|
1138
|
-
#recentFilesService;
|
|
1139
|
-
static {
|
|
1140
|
-
this.actionVerb = "Open";
|
|
1141
|
-
}
|
|
1142
|
-
async getInputType() {
|
|
1143
|
-
const { UpdateCodePathWithSelectionInput } = await this.loadCommandModule();
|
|
1144
|
-
return UpdateCodePathWithSelectionInput;
|
|
1145
|
-
}
|
|
1146
|
-
get codePath() {
|
|
1147
|
-
return this.operatorModeStateService.state.codePath;
|
|
1148
|
-
}
|
|
1149
|
-
async run(input) {
|
|
1150
|
-
await this.operatorModeStateService.updateCodePathWithSelection({
|
|
1151
|
-
codeRef: input.codeRef,
|
|
1152
|
-
localName: input.localName,
|
|
1153
|
-
fieldName: input.fieldName
|
|
1154
|
-
});
|
|
1155
|
-
if (this.codePath) {
|
|
1156
|
-
let urlString = this.codePath.toString();
|
|
1157
|
-
this.recentFilesService.updateCursorPositionByURL(urlString.endsWith("gts") ? urlString : `${urlString}.gts`, void 0);
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
};
|
|
1161
|
-
//#endregion
|
|
1162
|
-
//#region app/commands/update-playground-selection.ts
|
|
1163
|
-
var update_playground_selection_exports = /* @__PURE__ */ __exportAll({ default: () => UpdatePlaygroundSelectionCommand });
|
|
1164
|
-
var UpdatePlaygroundSelectionCommand = class extends HostBaseCommand {
|
|
1165
|
-
constructor(..._args) {
|
|
1166
|
-
super(..._args);
|
|
1167
|
-
this.#playgroundPanelService = (initializeDeferredDecorator(this, "playgroundPanelService"), void 0);
|
|
1168
|
-
this.description = "Persist the playground selections.";
|
|
1169
|
-
this.requireInputFields = [
|
|
1170
|
-
"moduleId",
|
|
1171
|
-
"cardId",
|
|
1172
|
-
"format"
|
|
1173
|
-
];
|
|
1174
|
-
}
|
|
1175
|
-
static {
|
|
1176
|
-
decorateFieldV2(this.prototype, "playgroundPanelService", [service]);
|
|
1177
|
-
}
|
|
1178
|
-
#playgroundPanelService;
|
|
1179
|
-
static {
|
|
1180
|
-
this.actionVerb = "Save";
|
|
1181
|
-
}
|
|
1182
|
-
async getInputType() {
|
|
1183
|
-
const { UpdatePlaygroundSelectionInput } = await this.loadCommandModule();
|
|
1184
|
-
return UpdatePlaygroundSelectionInput;
|
|
1185
|
-
}
|
|
1186
|
-
async run(input) {
|
|
1187
|
-
this.playgroundPanelService.persistSelections(input.moduleId, rri(input.cardId), input.format, input.fieldIndex);
|
|
1188
|
-
}
|
|
1189
|
-
};
|
|
1190
|
-
//#endregion
|
|
1191
|
-
//#region app/commands/index.ts
|
|
1192
|
-
var commands_exports = /* @__PURE__ */ __exportAll({
|
|
1193
|
-
HostCommandClasses: () => HostCommandClasses,
|
|
1194
|
-
shimHostCommands: () => shimHostCommands
|
|
1195
|
-
});
|
|
1196
|
-
function shimHostCommands(virtualNetwork) {
|
|
1197
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/add-field-to-card-definition", add_field_to_card_definition_exports);
|
|
1198
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/ask-ai", ask_ai_exports);
|
|
1199
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/authed-fetch", authed_fetch_exports);
|
|
1200
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/apply-markdown-edit", apply_markdown_edit_exports);
|
|
1201
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/apply-search-replace-block", apply_search_replace_block_exports);
|
|
1202
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/copy-card-as-markdown", copy_card_as_markdown_exports);
|
|
1203
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/copy-card", copy_card_exports);
|
|
1204
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/copy-card-to-stack", copy_card_to_stack_exports);
|
|
1205
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/copy-file-to-realm", copy_file_to_realm_exports);
|
|
1206
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/copy-source", copy_source_exports);
|
|
1207
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/copy-and-edit", copy_and_edit_exports);
|
|
1208
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/create-ai-assistant-room", create_ai_assistant_room_exports);
|
|
1209
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/create-specs", create_specs_exports);
|
|
1210
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/check-correctness", check_correctness_exports);
|
|
1211
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/evaluate-module", evaluate_module_exports);
|
|
1212
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/instantiate-card", instantiate_card_exports);
|
|
1213
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/cancel-indexing-job", cancel_indexing_job_exports);
|
|
1214
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/generate-theme-example", generate_theme_example_exports);
|
|
1215
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/execute-atomic-operations", execute_atomic_operations_exports);
|
|
1216
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/fetch-card-json", fetch_card_json_exports);
|
|
1217
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/full-reindex-realm", full_reindex_realm_exports);
|
|
1218
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-events-from-room", get_events_from_room_exports);
|
|
1219
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/invite-user-to-room", invite_user_to_room_exports);
|
|
1220
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/invalidate-realm-identifiers", invalidate_realm_identifiers_exports);
|
|
1221
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/lint-and-fix", lint_and_fix_exports);
|
|
1222
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/listing-action-build", listing_action_build_exports);
|
|
1223
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/create-listing-pr-request", create_listing_pr_request_exports);
|
|
1224
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/open-in-interact-mode", open_in_interact_mode_exports);
|
|
1225
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/patch-card-instance", patch_card_instance_exports);
|
|
1226
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/patch-code", patch_code_exports);
|
|
1227
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/patch-fields", patch_fields_exports);
|
|
1228
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/patch-theme", patch_theme_exports);
|
|
1229
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/persist-module-inspector-view", persist_module_inspector_view_exports);
|
|
1230
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/preview-format", preview_format_exports);
|
|
1231
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/read-binary-file", read_binary_file_exports);
|
|
1232
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/read-card-for-ai-assistant", read_card_for_ai_assistant_exports);
|
|
1233
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/read-file-for-ai-assistant", read_file_for_ai_assistant_exports);
|
|
1234
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/read-source", read_source_exports);
|
|
1235
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/read-text-file", read_text_file_exports);
|
|
1236
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/reindex-realm", reindex_realm_exports);
|
|
1237
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/register-bot", register_bot_exports);
|
|
1238
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/save-card", save_card_exports);
|
|
1239
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/serialize-card", serialize_card_exports);
|
|
1240
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/search-cards", search_cards_exports);
|
|
1241
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/search-and-choose", search_and_choose_exports);
|
|
1242
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/open-ai-assistant-room", open_ai_assistant_room_exports);
|
|
1243
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/open-create-listing-modal", open_create_listing_modal_exports);
|
|
1244
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/create-and-open-submission-workflow-card", create_and_open_submission_workflow_card_exports);
|
|
1245
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/create-submission-workflow", create_submission_workflow_exports);
|
|
1246
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/retry-submission-workflow", retry_submission_workflow_exports);
|
|
1247
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/open-workspace", open_workspace_exports);
|
|
1248
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/send-ai-assistant-message", send_ai_assistant_message_exports);
|
|
1249
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/send-bot-trigger-event", send_bot_trigger_event_exports);
|
|
1250
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/set-active-llm", set_active_llm_exports);
|
|
1251
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/show-card", show_card_exports);
|
|
1252
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/show-file", show_file_exports);
|
|
1253
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/switch-submode", switch_submode_exports);
|
|
1254
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/transform-cards", transform_cards_exports);
|
|
1255
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/unregister-bot", unregister_bot_exports);
|
|
1256
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/update-code-path-with-selection", update_code_path_with_selection_exports);
|
|
1257
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/update-playground-selection", update_playground_selection_exports);
|
|
1258
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/update-room-skills", update_room_skills_exports);
|
|
1259
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/send-request-via-proxy", send_request_via_proxy_exports);
|
|
1260
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/summarize-session", summarize_session_exports);
|
|
1261
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/sync-openrouter-models", sync_openrouter_models_exports);
|
|
1262
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/ai-assistant", ai_assistant_exports);
|
|
1263
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/utils", utils_exports);
|
|
1264
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/write-binary-file", write_binary_file_exports);
|
|
1265
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/write-text-file", write_text_file_exports);
|
|
1266
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/ai-assistant", ai_assistant_exports);
|
|
1267
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/generate-example-cards", generate_example_cards_exports);
|
|
1268
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/generate-readme-spec", generate_readme_spec_exports);
|
|
1269
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/generate-thumbnail", generate_thumbnail_exports);
|
|
1270
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/screenshot-card", screenshot_card_exports);
|
|
1271
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-card", get_card_exports);
|
|
1272
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-card-type-schema", get_card_type_schema_exports);
|
|
1273
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-all-realm-metas", get_all_realm_metas_exports);
|
|
1274
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-available-realm-identifiers", get_available_realm_identifiers_exports);
|
|
1275
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-catalog-realm-identifiers", get_catalog_realm_identifiers_exports);
|
|
1276
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/can-read-realm", can_read_realm_exports);
|
|
1277
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-default-writable-realm", get_default_writable_realm_exports);
|
|
1278
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-realm-of-resource-identifier", get_realm_of_resource_identifier_exports);
|
|
1279
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/sanitize-module-list", sanitize_module_list_exports);
|
|
1280
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/store-add", store_add_exports);
|
|
1281
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/validate-realm", validate_realm_exports);
|
|
1282
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/get-user-system-card", get_user_system_card_exports);
|
|
1283
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/search-google-images", search_google_images_exports);
|
|
1284
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/one-shot-llm-request", one_shot_llm_request_exports);
|
|
1285
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/populate-with-sample-data", populate_with_sample_data_exports);
|
|
1286
|
-
virtualNetwork.shimModule("@cardstack/boxel-host/commands/set-user-system-card", set_user_system_card_exports);
|
|
1287
|
-
}
|
|
1288
|
-
var HostCommandClasses = [
|
|
1289
|
-
AddFieldToCardDefinitionCommand,
|
|
1290
|
-
ApplySearchReplaceBlockCommand,
|
|
1291
|
-
ApplyMarkdownEditCommand,
|
|
1292
|
-
AskAiCommand,
|
|
1293
|
-
CopyCardAsMarkdownCommand,
|
|
1294
|
-
CopyCardToRealmCommand,
|
|
1295
|
-
CopyCardToStackCommand,
|
|
1296
|
-
CopyFileToRealmCommand,
|
|
1297
|
-
CopySourceCommand,
|
|
1298
|
-
AuthedFetchCommand,
|
|
1299
|
-
CanReadRealmCommand,
|
|
1300
|
-
CreateAiAssistantRoomCommand,
|
|
1301
|
-
CopyAndEditCommand,
|
|
1302
|
-
CreateSpecCommand,
|
|
1303
|
-
ExecuteAtomicOperationsCommand,
|
|
1304
|
-
FetchCardJsonCommand,
|
|
1305
|
-
FullReindexRealmCommand,
|
|
1306
|
-
GenerateExampleCardsCommand,
|
|
1307
|
-
GenerateReadmeSpecCommand,
|
|
1308
|
-
GenerateThumbnailCommand,
|
|
1309
|
-
ScreenshotCardCommand,
|
|
1310
|
-
GetAllRealmMetasCommand,
|
|
1311
|
-
GetAvailableRealmIdentifiersCommand,
|
|
1312
|
-
GetDefaultWritableRealmCommand,
|
|
1313
|
-
GetCatalogRealmIdentifiersCommand,
|
|
1314
|
-
GetCardCommand,
|
|
1315
|
-
GetRealmOfResourceIdentifierCommand,
|
|
1316
|
-
GetCardTypeSchemaCommand,
|
|
1317
|
-
GetUserSystemCardCommand,
|
|
1318
|
-
GetEventsFromRoomCommand,
|
|
1319
|
-
InviteUserToRoomCommand,
|
|
1320
|
-
InvalidateRealmIdentifiersCommand,
|
|
1321
|
-
LintAndFixCommand,
|
|
1322
|
-
ListingActionBuildCommand,
|
|
1323
|
-
CreateListingPRRequestCommand,
|
|
1324
|
-
OneShotLlmRequestCommand,
|
|
1325
|
-
OpenAiAssistantRoomCommand,
|
|
1326
|
-
OpenCreateListingModalCommand,
|
|
1327
|
-
CreateAndOpenSubmissionWorkflowCardCommand,
|
|
1328
|
-
CreateSubmissionWorkflowCommand,
|
|
1329
|
-
RetrySubmissionWorkflowCommand,
|
|
1330
|
-
OpenInInteractModeCommand,
|
|
1331
|
-
OpenWorkspaceCommand,
|
|
1332
|
-
GenerateThemeExampleCommand,
|
|
1333
|
-
PatchCodeCommand,
|
|
1334
|
-
PatchFieldsCommand,
|
|
1335
|
-
PatchThemeCommand,
|
|
1336
|
-
PersistModuleInspectorViewCommand,
|
|
1337
|
-
PopulateWithSampleDataCommand,
|
|
1338
|
-
PreviewFormatCommand,
|
|
1339
|
-
ReadBinaryFileCommand,
|
|
1340
|
-
ReadCardForAssistantCommand,
|
|
1341
|
-
ReadFileForAssistantCommand,
|
|
1342
|
-
ReadSourceCommand,
|
|
1343
|
-
ReadTextFileCommand,
|
|
1344
|
-
RegisterBotCommand,
|
|
1345
|
-
ReindexRealmCommand,
|
|
1346
|
-
SaveCardCommand,
|
|
1347
|
-
SanitizeModuleListCommand,
|
|
1348
|
-
StoreAddCommand,
|
|
1349
|
-
SerializeCardCommand,
|
|
1350
|
-
SearchAndChooseCommand,
|
|
1351
|
-
SearchCardsByQueryCommand,
|
|
1352
|
-
SearchCardsByTypeAndTitleCommand,
|
|
1353
|
-
SearchGoogleImagesCommand,
|
|
1354
|
-
SendAiAssistantMessageCommand,
|
|
1355
|
-
SendBotTriggerEventCommand,
|
|
1356
|
-
SendRequestViaProxyCommand,
|
|
1357
|
-
SetActiveLLMCommand,
|
|
1358
|
-
SetUserSystemCardCommand,
|
|
1359
|
-
ShowCardCommand,
|
|
1360
|
-
ShowFileCommand,
|
|
1361
|
-
SummarizeSessionCommand,
|
|
1362
|
-
SwitchSubmodeCommand,
|
|
1363
|
-
SyncOpenRouterModelsCommand,
|
|
1364
|
-
TransformCardsCommand,
|
|
1365
|
-
UnregisterBotCommand,
|
|
1366
|
-
CancelIndexingJobCommand,
|
|
1367
|
-
CheckCorrectnessCommand,
|
|
1368
|
-
EvaluateModuleCommand,
|
|
1369
|
-
InstantiateCardCommand,
|
|
1370
|
-
UpdateCodePathWithSelectionCommand,
|
|
1371
|
-
UpdatePlaygroundSelectionCommand,
|
|
1372
|
-
UpdateRoomSkillsCommand,
|
|
1373
|
-
UseAiAssistantCommand,
|
|
1374
|
-
ValidateRealmCommand,
|
|
1375
|
-
WriteBinaryFileCommand,
|
|
1376
|
-
WriteTextFileCommand
|
|
1377
|
-
];
|
|
1378
|
-
//#endregion
|
|
1379
|
-
export { ask_ai_exports as S, generate_theme_example_exports as _, update_code_path_with_selection_exports as a, open_in_interact_mode_exports as b, screenshot_card_exports as c, populate_with_sample_data_exports as d, patch_theme_exports as f, generate_thumbnail_exports as g, get_all_realm_metas_exports as h, update_playground_selection_exports as i, retry_submission_workflow_exports as l, get_card_type_schema_exports as m, commands_exports as n, sync_openrouter_models_exports as o, listing_action_build_exports as p, shimHostCommands as r, serialize_card_exports as s, HostCommandClasses as t, read_binary_file_exports as u, create_and_open_submission_workflow_card_exports as v, copy_card_as_markdown_exports as x, create_submission_workflow_exports as y };
|