@lobu/runtime-server 24.7.0 → 24.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/connectors.json +282 -322
- package/dist/catalogs/skills.json +1 -1
- package/dist/component.json +1 -1
- package/dist/connectors/README.md +6 -2
- package/dist/connectors/github.ts +16 -3
- package/dist/connectors/imessage.ts +953 -0
- package/dist/connectors/linkedin.ts +20 -377
- package/dist/connectors/market_quotes.ts +388 -91
- package/dist/connectors/postgres.ts +21 -14
- package/dist/connectors/x-dm-adapter.js +55 -21
- package/dist/connectors/x.ts +1 -1
- package/dist/db/migrations/20261109010000_workspace_navigation.sql +14 -0
- package/dist/db/migrations/20261110010000_view_resources.sql +11 -0
- package/dist/dependencies.bun.lock +135 -103
- package/dist/embeddings-server.mjs +14 -2
- package/dist/owletto/dist/assets/_-B2C9B2RM.js +2 -0
- package/dist/owletto/dist/assets/_-CjyiGzwB.js +3 -0
- package/dist/owletto/dist/assets/_agentId-DKHXGvS2.js +2 -0
- package/dist/owletto/dist/assets/_agentId-bna2tPsW.js +2 -0
- package/dist/owletto/dist/assets/_automationId-CowRFD4E.js +2 -0
- package/dist/owletto/dist/assets/_connectorKey._connectionId-dE6im18z.js +2 -0
- package/dist/owletto/dist/assets/_connectorKey.index-DqwSv8Zs.js +2 -0
- package/dist/owletto/dist/assets/_conversationId-zcs-S3dY.js +2 -0
- package/dist/owletto/dist/assets/_eventId-BVOVizs4.js +2 -0
- package/dist/owletto/dist/assets/_owner-DsvIC94q.js +3 -0
- package/dist/owletto/dist/assets/_shape-CWjpzcvv.js +2 -0
- package/dist/owletto/dist/assets/_slug-DuCxYsJk.js +2 -0
- package/dist/owletto/dist/assets/_viewKey-BqVeHB6Z.js +2 -0
- package/dist/owletto/dist/assets/_viewKey-DzyOCG5U.js +2 -0
- package/dist/owletto/dist/assets/{accept-invitation-CX7Egv-p.js → accept-invitation-k1u3zBcn.js} +2 -2
- package/dist/owletto/dist/assets/activity-route-view-jTBMW7a9.js +2 -0
- package/dist/owletto/dist/assets/agent-connect-pages-D3mVM_q4.js +4 -0
- package/dist/owletto/dist/assets/agent-editor-form-Bnc_q5WD.js +2 -0
- package/dist/owletto/dist/assets/{agent-loading-shells-DHvKiEUB.js → agent-loading-shells-xteN-pyK.js} +2 -2
- package/dist/owletto/dist/assets/agent-permissions-matrix-C_ayr0pd.js +2 -0
- package/dist/owletto/dist/assets/{agent-skill-context-DF5q0Dfr.js → agent-skill-context-r0O0BVOu.js} +2 -2
- package/dist/owletto/dist/assets/{agent-subpage-shell-Pi5cECga.js → agent-subpage-shell-C2KpYdu3.js} +2 -2
- package/dist/owletto/dist/assets/{agent-thread-B1ZepGZc.js → agent-thread-Bv_chdPy.js} +4 -4
- package/dist/owletto/dist/assets/agent-thread-storage-Bx2-WBHQ.js +2 -0
- package/dist/owletto/dist/assets/app._appId-BUcNaSMS.js +2 -0
- package/dist/owletto/dist/assets/assist-composer-B1LykXpD.js +2 -0
- package/dist/owletto/dist/assets/automation-run-now-CjkJIkaZ.js +2 -0
- package/dist/owletto/dist/assets/{callback-Ckrxv0eo.js → callback-kSLa4n5s.js} +2 -2
- package/dist/owletto/dist/assets/{card-DT9mSjSp.js → card-C01y1O-W.js} +2 -2
- package/dist/owletto/dist/assets/{claim-Bzby28tT.js → claim-Dnux9Lqf.js} +2 -2
- package/dist/owletto/dist/assets/{client-activity-scopes-DoIErdUy.js → client-activity-scopes-BBIq16tG.js} +2 -2
- package/dist/owletto/dist/assets/{client-rows-BbVQy5Ti.js → client-rows-DGh1O-Fu.js} +2 -2
- package/dist/owletto/dist/assets/clients-BCvjAJDT.js +2 -0
- package/dist/owletto/dist/assets/code-editor-BdRMYojw.js +26 -0
- package/dist/owletto/dist/assets/connect-DZeFSGIH.js +2 -0
- package/dist/owletto/dist/assets/connect-menu-D4w-JhJW.js +2 -0
- package/dist/owletto/dist/assets/connect._clientId-IZEMQJ64.js +2 -0
- package/dist/owletto/dist/assets/connected._clientId-BsDzltNz.js +2 -0
- package/dist/owletto/dist/assets/{connection-BOaMa324.js → connection-C7glVpPE.js} +2 -2
- package/dist/owletto/dist/assets/connection-feed-detail-CJju0qiw.js +2 -0
- package/dist/owletto/dist/assets/connector-page-shell-BeuyjiB2.js +2 -0
- package/dist/owletto/dist/assets/connector-provenance-B2C2cjBg.js +2 -0
- package/dist/owletto/dist/assets/{connectors-D5F5rHxX.js → connectors-DSQ5AWPf.js} +2 -2
- package/dist/owletto/dist/assets/consent-B6Aw_89N.js +2 -0
- package/dist/owletto/dist/assets/copy-button-BhXeXLIm.js +2 -0
- package/dist/owletto/dist/assets/{core.esm-BIE97rfo.js → core.esm-CJUp2aNZ.js} +3 -3
- package/dist/owletto/dist/assets/create-CWcza8NT.js +2 -0
- package/dist/owletto/dist/assets/{create-BPxsKwk7.js → create-DUlRsFNn.js} +2 -2
- package/dist/owletto/dist/assets/{create-automation-form-B12yTrmj.js → create-automation-form-D141prEG.js} +3 -3
- package/dist/owletto/dist/assets/create-bGOYifof.js +2 -0
- package/dist/owletto/dist/assets/create._connectorKey-Ds4tpwHP.js +2 -0
- package/dist/owletto/dist/assets/{custom-guardrail-edits-B9plaLBN.js → custom-guardrail-edits-DuQ28xv3.js} +2 -2
- package/dist/owletto/dist/assets/definition-comparison-BUDNuAN_.js +2 -0
- package/dist/owletto/dist/assets/{detail-page-skeleton-I5_7FkKx.js → detail-page-skeleton-BRHaq5Sj.js} +2 -2
- package/dist/owletto/dist/assets/{device-CadaiNF4.js → device-D3fzoIrM.js} +2 -2
- package/dist/owletto/dist/assets/device-pin-tombstone-BIM-ziCH.js +2 -0
- package/dist/owletto/dist/assets/device._deviceId-BnPqTgK1.js +2 -0
- package/dist/owletto/dist/assets/dynamic-schema-form-OkIZImgp.js +2 -0
- package/dist/owletto/dist/assets/entity-options-CpeX7iiX.js +2 -0
- package/dist/owletto/dist/assets/entity-page-Cjc8oXA2.js +2 -0
- package/dist/owletto/dist/assets/entity-pages-18xSANrS.js +2 -0
- package/dist/owletto/dist/assets/entity-schema-graph-uwZ-P0t8.js +2 -0
- package/dist/owletto/dist/assets/entity-type-page-MgZ7_0oh.js +2 -0
- package/dist/owletto/dist/assets/event-detail-D6AH6a2C.js +2 -0
- package/dist/owletto/dist/assets/event-kind-options-fHAIXu24.js +2 -0
- package/dist/owletto/dist/assets/events-feed-BI7wNRUY.js +2 -0
- package/dist/owletto/dist/assets/filter-editors-DDTwyYt0.js +3 -0
- package/dist/owletto/dist/assets/{full-page-spinner-CCU4PkRv.js → full-page-spinner-DWo519BU.js} +2 -2
- package/dist/owletto/dist/assets/index-9tTjJo_J.css +1 -0
- package/dist/owletto/dist/assets/{index-pmr1WUoG.js → index-BW7IFKXC.js} +2 -2
- package/dist/owletto/dist/assets/index-BYcFrinP.js +2 -0
- package/dist/owletto/dist/assets/index-BhJsTy-C.js +2 -0
- package/dist/owletto/dist/assets/index-CEcsgXDj.js +2 -0
- package/dist/owletto/dist/assets/index-CPscKk2u.js +2 -0
- package/dist/owletto/dist/assets/{index-B72KYdN1.js → index-Cd8jMsz8.js} +2 -2
- package/dist/owletto/dist/assets/index-CdDNNAx2.js +7906 -0
- package/dist/owletto/dist/assets/index-CfJ2-EpK.js +2 -0
- package/dist/owletto/dist/assets/index-D1UCJQl1.js +2 -0
- package/dist/owletto/dist/assets/index-D5DM4g2w.js +2 -0
- package/dist/owletto/dist/assets/index-DmqnKGqW.js +2 -0
- package/dist/owletto/dist/assets/index-DznAbTOF.js +2 -0
- package/dist/owletto/dist/assets/json-diff-C-WQqyIf.js +4 -0
- package/dist/owletto/dist/assets/{list-skeleton-BAqT0vxo.js → list-skeleton-0B1bTrAK.js} +2 -2
- package/dist/owletto/dist/assets/{login-D5bIjMtf.js → login-CH7P2AyR.js} +2 -2
- package/dist/owletto/dist/assets/{logout-JYZvxz8v.js → logout-D474YsYQ.js} +2 -2
- package/dist/owletto/dist/assets/member-scope-gate-CH_0jHiM.js +2 -0
- package/dist/owletto/dist/assets/memory-browse-page-Ba4aYavw.js +74 -0
- package/dist/owletto/dist/assets/model-selector-XYmk7Iru.js +2 -0
- package/dist/owletto/dist/assets/needs-you-list-Bd4iiiqm.js +2 -0
- package/dist/owletto/dist/assets/new-BOsrRqp8.js +2 -0
- package/dist/owletto/dist/assets/new-CJ6TF3Vc.js +2 -0
- package/dist/owletto/dist/assets/{new-B-Jd-vBl.js → new-DGPOjak2.js} +2 -2
- package/dist/owletto/dist/assets/new-Q0XqiZq2.js +2 -0
- package/dist/owletto/dist/assets/organization-hD_Z6TSd.js +2 -0
- package/dist/owletto/dist/assets/peek-pane-content-Cc8YX1oy.js +2 -0
- package/dist/owletto/dist/assets/{pending-seed-CoFPQ835.js → pending-seed-D7-ld7as.js} +2 -2
- package/dist/owletto/dist/assets/proposal-review-shell-BWRJidwb.js +2 -0
- package/dist/owletto/dist/assets/public-shell-ready-CRyAZATw.js +2 -0
- package/dist/owletto/dist/assets/record-activity-9ux6SfCd.js +2 -0
- package/dist/owletto/dist/assets/{record-session-Bpx4_LGk.js → record-session-ClKBr1_C.js} +2 -2
- package/dist/owletto/dist/assets/{renderer-CgaQKMoG.js → renderer-DZ0w2k2r.js} +2 -2
- package/dist/owletto/dist/assets/{reset-password-C-4Jnuqk.js → reset-password-D2RfrEVZ.js} +2 -2
- package/dist/owletto/dist/assets/run-initiator-B8IRlRd-.js +2 -0
- package/dist/owletto/dist/assets/runs-CuC7WMtd.js +2 -0
- package/dist/owletto/dist/assets/runs-list-8gUPWjP4.js +2 -0
- package/dist/owletto/dist/assets/{schema-value-BUgC0Ro8.js → schema-value-k19Ata7u.js} +3 -3
- package/dist/owletto/dist/assets/scoped-feed-bar-L7h-Ca4u.js +2 -0
- package/dist/owletto/dist/assets/{settings-DYYvrrZ4.js → settings-BZqntV3E.js} +2 -2
- package/dist/owletto/dist/assets/source-record-panels-C4UItfdk.js +2 -0
- package/dist/owletto/dist/assets/{status-variants-DT61YfsU.js → status-variants-BR_iGWN5.js} +2 -2
- package/dist/owletto/dist/assets/subDays-hOwerOLo.js +2 -0
- package/dist/owletto/dist/assets/{table-B6yimlsZ.js → table-C3DMoL4K.js} +2 -2
- package/dist/owletto/dist/assets/use-automations-CdtiVLCv.js +2 -0
- package/dist/owletto/dist/assets/use-login-redirect-CYlVkAhE.js +2 -0
- package/dist/owletto/dist/assets/use-mention-search-CtbixPEE.js +91 -0
- package/dist/owletto/dist/assets/view-param-filters-BdN8OU35.js +2 -0
- package/dist/owletto/dist/assets/{views-access-required-BVtMfgLh.js → views-access-required-CvIIxdS_.js} +2 -2
- package/dist/owletto/dist/index.html +19 -12
- package/dist/server-main.bundle.mjs +4518 -2567
- package/npm-shrinkwrap.json +644 -551
- package/package.json +4 -2
- package/vendor/connector-sdk/dist/connector-types.d.ts +23 -2
- package/vendor/connector-sdk/package.json +1 -1
- package/vendor/core/dist/classify-error.d.ts +3 -4
- package/vendor/core/dist/classify-error.js +8 -8
- package/vendor/core/dist/connector-query-errors.d.ts +6 -0
- package/vendor/core/dist/connector-query-errors.js +4 -0
- package/vendor/core/dist/contracts/tools/collection-presentation.d.ts +17 -1
- package/vendor/core/dist/contracts/tools/collection-presentation.js +27 -3
- package/vendor/core/dist/contracts/tools/manage-automations.d.ts +39 -0
- package/vendor/core/dist/contracts/tools/manage-automations.js +11 -1
- package/vendor/core/dist/contracts/tools/manage-entity-schema.js +1 -1
- package/vendor/core/dist/contracts/tools/manage-entity.d.ts +2 -0
- package/vendor/core/dist/contracts/tools/manage-entity.js +7 -0
- package/vendor/core/dist/contracts/tools/manage-feeds.d.ts +2 -0
- package/vendor/core/dist/contracts/tools/manage-feeds.js +3 -0
- package/vendor/core/dist/contracts/tools/manage-views.d.ts +249 -7
- package/vendor/core/dist/contracts/tools/manage-views.js +83 -21
- package/vendor/core/dist/contracts/tools/navigation.d.ts +248 -0
- package/vendor/core/dist/contracts/tools/navigation.js +284 -0
- package/vendor/core/dist/contracts/tools/view-attach.d.ts +7 -0
- package/vendor/core/dist/contracts/tools/view-attach.js +15 -0
- package/vendor/core/dist/contracts/tools/view-content-hash.d.ts +4 -1
- package/vendor/core/dist/contracts/tools/view-content-hash.js +4 -2
- package/vendor/core/dist/contracts/tools/view-definition.d.ts +2 -0
- package/vendor/core/dist/contracts/tools/view-definition.js +52 -0
- package/vendor/core/dist/contracts/tools/view-host.d.ts +68 -0
- package/vendor/core/dist/contracts/tools/view-host.js +30 -1
- package/vendor/core/dist/contracts/tools/view-scope.d.ts +31 -0
- package/vendor/core/dist/contracts/tools/view-scope.js +45 -0
- package/vendor/core/dist/error-report.js +1 -0
- package/vendor/core/dist/errors.d.ts +17 -24
- package/vendor/core/dist/errors.js +17 -24
- package/vendor/core/dist/types.d.ts +0 -6
- package/vendor/core/package.json +11 -1
- package/vendor/views/dist/api.d.ts +30 -5
- package/vendor/views/dist/api.js +22 -8
- package/vendor/views/dist/bridge.d.ts +17 -0
- package/vendor/views/dist/bridge.js +49 -1
- package/vendor/views/dist/components.d.ts +27 -5
- package/vendor/views/dist/components.js +57 -7
- package/vendor/views/dist/embed.d.ts +98 -0
- package/vendor/views/dist/embed.js +418 -0
- package/vendor/views/dist/index.d.ts +3 -1
- package/vendor/views/dist/index.js +1 -0
- package/vendor/views/package.json +1 -1
- package/dist/connectors/linkedin-takeout.ts +0 -577
- package/dist/connectors/takeout-utils.ts +0 -240
- package/dist/owletto/dist/assets/_-CZgmjLR9.js +0 -2
- package/dist/owletto/dist/assets/_-Cm5OgtYD.js +0 -3
- package/dist/owletto/dist/assets/_-DtqBFgK5.js +0 -2
- package/dist/owletto/dist/assets/_agentId-Cci6NFc1.js +0 -2
- package/dist/owletto/dist/assets/_agentId-GhWTlPO2.js +0 -2
- package/dist/owletto/dist/assets/_automationId-KUlxSTK2.js +0 -2
- package/dist/owletto/dist/assets/_connectorKey._connectionId-Zpy7Hvml.js +0 -2
- package/dist/owletto/dist/assets/_connectorKey.index-CYDRp9UX.js +0 -2
- package/dist/owletto/dist/assets/_conversationId-NNqDdije.js +0 -2
- package/dist/owletto/dist/assets/_eventId-0BSX6VHj.js +0 -2
- package/dist/owletto/dist/assets/_owner-C-CD22NB.js +0 -3
- package/dist/owletto/dist/assets/_shape-CvXp4omb.js +0 -2
- package/dist/owletto/dist/assets/_slug-DgK7zpKA.js +0 -2
- package/dist/owletto/dist/assets/_viewKey-cH54P0zY.js +0 -2
- package/dist/owletto/dist/assets/_viewKey-m0B5j7L9.js +0 -2
- package/dist/owletto/dist/assets/activity-link-rXNpmppV.js +0 -2
- package/dist/owletto/dist/assets/activity-route-view-B0m7_g9q.js +0 -2
- package/dist/owletto/dist/assets/agent-client-setup-list-BmD3-_Ox.js +0 -4
- package/dist/owletto/dist/assets/agent-connect-pages-BtOTCsTU.js +0 -2
- package/dist/owletto/dist/assets/agent-editor-form-CirqCpcM.js +0 -2
- package/dist/owletto/dist/assets/agent-list-row-SyACVYX7.js +0 -2
- package/dist/owletto/dist/assets/agent-permissions-matrix-Dsc26dyW.js +0 -2
- package/dist/owletto/dist/assets/agent-thread-storage-U6htL3ad.js +0 -2
- package/dist/owletto/dist/assets/agents-D1FHZ0jR.js +0 -2
- package/dist/owletto/dist/assets/app._appId-01I0CJal.js +0 -2
- package/dist/owletto/dist/assets/assist-composer-BD9msDk3.js +0 -2
- package/dist/owletto/dist/assets/automation-detail-content-BFv1TglZ.js +0 -2
- package/dist/owletto/dist/assets/automation-row-CmTpAD4r.js +0 -2
- package/dist/owletto/dist/assets/automation-source-list-D8ZSavQU.js +0 -2
- package/dist/owletto/dist/assets/automations-D1FHZ0jR.js +0 -2
- package/dist/owletto/dist/assets/change-summary-CGrKEJ04.js +0 -2
- package/dist/owletto/dist/assets/clients-6aJvabvS.js +0 -2
- package/dist/owletto/dist/assets/connect-BmDziBzI.js +0 -2
- package/dist/owletto/dist/assets/connect-menu-Bs8mxsga.js +0 -2
- package/dist/owletto/dist/assets/connect._clientId-t5aKu3aa.js +0 -2
- package/dist/owletto/dist/assets/connected._clientId-DswMAw8l.js +0 -2
- package/dist/owletto/dist/assets/connection-feed-detail-BLCjhP-H.js +0 -2
- package/dist/owletto/dist/assets/connector-boxes-BAP_f77M.js +0 -2
- package/dist/owletto/dist/assets/connector-page-shell-ClOmVPJr.js +0 -2
- package/dist/owletto/dist/assets/connector-provenance-wmYu5jwO.js +0 -2
- package/dist/owletto/dist/assets/consent-RqHNkmm8.js +0 -2
- package/dist/owletto/dist/assets/copy-button-D6zpsZLi.js +0 -2
- package/dist/owletto/dist/assets/create-GT8_yF0R.js +0 -2
- package/dist/owletto/dist/assets/create-Yx2qBMBy.js +0 -2
- package/dist/owletto/dist/assets/create._connectorKey-CzXqSkuI.js +0 -2
- package/dist/owletto/dist/assets/definition-comparison-C3k6Wa9B.js +0 -2
- package/dist/owletto/dist/assets/device-pin-tombstone-U7Bx05P6.js +0 -2
- package/dist/owletto/dist/assets/device._deviceId-DTZqj1HS.js +0 -2
- package/dist/owletto/dist/assets/dynamic-schema-form-DyT_9iVE.js +0 -2
- package/dist/owletto/dist/assets/entity-options-CGTjLlcS.js +0 -2
- package/dist/owletto/dist/assets/entity-page-DHHMmA8V.js +0 -2
- package/dist/owletto/dist/assets/entity-pages-eYbG2FDT.js +0 -2
- package/dist/owletto/dist/assets/entity-type-page-CjFqxSdL.js +0 -2
- package/dist/owletto/dist/assets/event-card-BtTUuf2q.js +0 -2
- package/dist/owletto/dist/assets/event-detail-8xHiplt_.js +0 -2
- package/dist/owletto/dist/assets/events-feed-zFnTSE27.js +0 -2
- package/dist/owletto/dist/assets/filter-editors-Dd5R2Etd.js +0 -2
- package/dist/owletto/dist/assets/home-stream-IVsNEkwp.js +0 -2
- package/dist/owletto/dist/assets/index-2oaMOFKe.js +0 -2
- package/dist/owletto/dist/assets/index-B-Ab8srM.js +0 -7899
- package/dist/owletto/dist/assets/index-B4RZgvvI.js +0 -2
- package/dist/owletto/dist/assets/index-BBZM53p8.js +0 -2
- package/dist/owletto/dist/assets/index-BOb0a5f9.js +0 -2
- package/dist/owletto/dist/assets/index-BYFDMIQC.js +0 -2
- package/dist/owletto/dist/assets/index-BwnFQcMe.js +0 -2
- package/dist/owletto/dist/assets/index-CvYsWYlF.js +0 -2
- package/dist/owletto/dist/assets/index-DIXIvtnM.js +0 -2
- package/dist/owletto/dist/assets/index-DLwokXHW.js +0 -2
- package/dist/owletto/dist/assets/index-_nlPHus1.js +0 -2
- package/dist/owletto/dist/assets/index-cwOgj4-i.js +0 -2
- package/dist/owletto/dist/assets/index-pp4qmhkA.js +0 -2
- package/dist/owletto/dist/assets/index-tTbno-PX.css +0 -1
- package/dist/owletto/dist/assets/json-diff-B-1Swv_y.js +0 -28
- package/dist/owletto/dist/assets/member-scope-gate-Lj9m4RL2.js +0 -2
- package/dist/owletto/dist/assets/memory-browse-page-rAKfVdQ_.js +0 -74
- package/dist/owletto/dist/assets/model-selector-onvGA9Ww.js +0 -2
- package/dist/owletto/dist/assets/new-BmehH1uR.js +0 -2
- package/dist/owletto/dist/assets/new-KDi15LWZ.js +0 -2
- package/dist/owletto/dist/assets/organization-B9bh20Xo.js +0 -2
- package/dist/owletto/dist/assets/peek-pane-content-Bqus80Mq.js +0 -2
- package/dist/owletto/dist/assets/proposal-review-shell-CnACXCUg.js +0 -2
- package/dist/owletto/dist/assets/public-shell-ready-Dlh-eWz0.js +0 -2
- package/dist/owletto/dist/assets/record-activity-6CfR95Ul.js +0 -2
- package/dist/owletto/dist/assets/run-initiator-BvruBM5H.js +0 -2
- package/dist/owletto/dist/assets/runs-BMzp7j7j.js +0 -2
- package/dist/owletto/dist/assets/runs-list-DVhrTr3v.js +0 -2
- package/dist/owletto/dist/assets/schema-type-editor-panel-Bdeumkux.js +0 -2
- package/dist/owletto/dist/assets/source-record-panels-CBV9tsR3.js +0 -2
- package/dist/owletto/dist/assets/use-automations-II_YJWtN.js +0 -2
- package/dist/owletto/dist/assets/use-login-redirect-BqtEilid.js +0 -2
- package/dist/owletto/dist/assets/use-mention-search-Bxlpd6Dp.js +0 -96
- package/dist/owletto/dist/assets/view-param-filters-DYlqBocg.js +0 -2
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* `<EmbeddedView>` — place another registered view inside this one.
|
|
4
|
+
*
|
|
5
|
+
* The child is never rendered by this frame. The slot reports its position
|
|
6
|
+
* to the host (`lobu/embeds/sync`), and the Lobu web host mounts the child as
|
|
7
|
+
* its own sandboxed frame over the slot: its own bundle, its own view key and
|
|
8
|
+
* actions, the visitor's own session. This frame cannot reach into the child,
|
|
9
|
+
* and the child's param changes stay with that one instance — they never
|
|
10
|
+
* reach this view's params, a sibling, or the address bar.
|
|
11
|
+
*
|
|
12
|
+
* Hosts that do not mount embedded views (other MCP Apps hosts) answer
|
|
13
|
+
* -32601, and the slot says so instead of rendering nothing.
|
|
14
|
+
*/
|
|
15
|
+
import { VIEW_EMBED_MAX_PARAMS, } from "@lobu/core/contracts/tools/view-host";
|
|
16
|
+
import { createContext, useContext, useEffect, useId, useMemo, useRef, useSyncExternalStore, } from "react";
|
|
17
|
+
import { ViewBridgeError } from "./bridge.js";
|
|
18
|
+
const PENDING = { kind: "pending" };
|
|
19
|
+
/** `Node.DOCUMENT_POSITION_FOLLOWING`, without needing the `Node` global. */
|
|
20
|
+
const DOCUMENT_POSITION_FOLLOWING = 4;
|
|
21
|
+
/** Layers laid over the page: while one covers a slot, its child hides so
|
|
22
|
+
* the parent's own dialog or menu stays on top and takes the clicks. */
|
|
23
|
+
const OVERLAYS = 'dialog[open],[role="dialog"],[role="alertdialog"],[role="menu"],[role="listbox"],[data-lobu-overlay]';
|
|
24
|
+
function intersect(a, b) {
|
|
25
|
+
const x = Math.max(a.x, b.x);
|
|
26
|
+
const y = Math.max(a.y, b.y);
|
|
27
|
+
const right = Math.min(a.x + a.width, b.x + b.width);
|
|
28
|
+
const bottom = Math.min(a.y + a.height, b.y + b.height);
|
|
29
|
+
return {
|
|
30
|
+
x,
|
|
31
|
+
y,
|
|
32
|
+
width: Math.max(0, right - x),
|
|
33
|
+
height: Math.max(0, bottom - y),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
const EMPTY = { x: 0, y: 0, width: 0, height: 0 };
|
|
37
|
+
/** The part of `element` the page actually shows: inside the viewport and
|
|
38
|
+
* every ancestor that clips or scrolls, and none of it under an overlay. */
|
|
39
|
+
function shownPart(element, box) {
|
|
40
|
+
let shown = intersect(box, {
|
|
41
|
+
x: 0,
|
|
42
|
+
y: 0,
|
|
43
|
+
width: window.innerWidth,
|
|
44
|
+
height: window.innerHeight,
|
|
45
|
+
});
|
|
46
|
+
for (let el = element.parentElement; el && el !== document.documentElement; el = el.parentElement) {
|
|
47
|
+
const style = window.getComputedStyle(el);
|
|
48
|
+
if (style.overflowX === "visible" && style.overflowY === "visible")
|
|
49
|
+
continue;
|
|
50
|
+
const r = el.getBoundingClientRect();
|
|
51
|
+
// The padding box: clientWidth/Height exclude borders and scrollbars.
|
|
52
|
+
shown = intersect(shown, {
|
|
53
|
+
x: r.left + el.clientLeft,
|
|
54
|
+
y: r.top + el.clientTop,
|
|
55
|
+
width: el.clientWidth,
|
|
56
|
+
height: el.clientHeight,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
if (shown.width === 0 || shown.height === 0)
|
|
60
|
+
return EMPTY;
|
|
61
|
+
for (const layer of document.querySelectorAll(OVERLAYS)) {
|
|
62
|
+
if (layer.contains(element))
|
|
63
|
+
continue;
|
|
64
|
+
const r = layer.getBoundingClientRect();
|
|
65
|
+
if (r.width === 0 || r.height === 0)
|
|
66
|
+
continue;
|
|
67
|
+
const over = intersect(shown, {
|
|
68
|
+
x: r.left,
|
|
69
|
+
y: r.top,
|
|
70
|
+
width: r.width,
|
|
71
|
+
height: r.height,
|
|
72
|
+
});
|
|
73
|
+
if (over.width > 0 && over.height > 0)
|
|
74
|
+
return EMPTY;
|
|
75
|
+
}
|
|
76
|
+
return shown;
|
|
77
|
+
}
|
|
78
|
+
/** Longest a transition or animation keeps the per-frame sync running. */
|
|
79
|
+
const MOTION_LIMIT_MS = 5_000;
|
|
80
|
+
/**
|
|
81
|
+
* The slots of one frame. A change that can move a slot — the page's DOM, a
|
|
82
|
+
* resize, any scroll, an image load, a transition or animation — schedules
|
|
83
|
+
* one measurement on the next animation frame; only a changed picture is
|
|
84
|
+
* sent, carrying all slots (the host's answer is the whole picture, never a
|
|
85
|
+
* diff). Nothing polls: with no change there is no work, and motion keeps
|
|
86
|
+
* measuring each frame only until it ends (bounded by `MOTION_LIMIT_MS`).
|
|
87
|
+
*/
|
|
88
|
+
export class EmbedRegistry {
|
|
89
|
+
bridge;
|
|
90
|
+
slots = new Map();
|
|
91
|
+
states = new Map();
|
|
92
|
+
listeners = new Set();
|
|
93
|
+
frame = 0;
|
|
94
|
+
unsupported = false;
|
|
95
|
+
connected = false;
|
|
96
|
+
returning = new Set();
|
|
97
|
+
/** Set while focus is being placed on entry from the host, so a slot that
|
|
98
|
+
* is itself the first or last stop passes the same direction on. */
|
|
99
|
+
arrival = null;
|
|
100
|
+
constructor(bridge) {
|
|
101
|
+
this.bridge = bridge;
|
|
102
|
+
}
|
|
103
|
+
/** Wire the host's notifications; returns the teardown. */
|
|
104
|
+
attach(bridge) {
|
|
105
|
+
const offSize = bridge.onEmbedSize((id, height) => {
|
|
106
|
+
const state = this.states.get(id);
|
|
107
|
+
if (state?.kind !== "mounted" || !Number.isFinite(height))
|
|
108
|
+
return;
|
|
109
|
+
this.setState(id, { kind: "mounted", height: Math.max(0, height) });
|
|
110
|
+
});
|
|
111
|
+
const offFocus = bridge.onEmbedFocus((id, direction) => {
|
|
112
|
+
const slot = this.slots.get(id);
|
|
113
|
+
if (!slot)
|
|
114
|
+
return;
|
|
115
|
+
if (direction === "forward") {
|
|
116
|
+
slot.after.current?.focus();
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
// Land on the slot's own entry point without re-entering the child,
|
|
120
|
+
// so the next Shift+Tab continues before the slot.
|
|
121
|
+
this.returning.add(id);
|
|
122
|
+
slot.enter.current?.focus();
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
// This view is itself a slot's child: land on its first or last control.
|
|
126
|
+
const offEnter = bridge.onFocusEnter((direction) => {
|
|
127
|
+
const stops = tabStops(document);
|
|
128
|
+
this.arrival = direction;
|
|
129
|
+
try {
|
|
130
|
+
(direction === "forward" ? stops[0] : stops[stops.length - 1])?.focus();
|
|
131
|
+
}
|
|
132
|
+
finally {
|
|
133
|
+
this.arrival = null;
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
const reflow = () => this.schedule();
|
|
137
|
+
const motionStart = () => {
|
|
138
|
+
this.motionUntil = window.performance.now() + MOTION_LIMIT_MS;
|
|
139
|
+
this.moving += 1;
|
|
140
|
+
this.schedule();
|
|
141
|
+
};
|
|
142
|
+
const motionEnd = () => {
|
|
143
|
+
this.moving = Math.max(0, this.moving - 1);
|
|
144
|
+
this.schedule();
|
|
145
|
+
};
|
|
146
|
+
window.addEventListener("resize", reflow);
|
|
147
|
+
window.addEventListener("scroll", reflow, true);
|
|
148
|
+
window.addEventListener("load", reflow, true);
|
|
149
|
+
window.addEventListener("transitionrun", motionStart, true);
|
|
150
|
+
window.addEventListener("animationstart", motionStart, true);
|
|
151
|
+
for (const end of [
|
|
152
|
+
"transitionend",
|
|
153
|
+
"transitioncancel",
|
|
154
|
+
"animationend",
|
|
155
|
+
"animationcancel",
|
|
156
|
+
])
|
|
157
|
+
window.addEventListener(end, motionEnd, true);
|
|
158
|
+
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(reflow);
|
|
159
|
+
if (observer && document.body)
|
|
160
|
+
observer.observe(document.body);
|
|
161
|
+
this.observer = observer;
|
|
162
|
+
// A slot moves without resizing when content above it changes, it is
|
|
163
|
+
// reordered, or a class or style shifts it: the DOM says so.
|
|
164
|
+
const mutations = typeof window.MutationObserver === "undefined"
|
|
165
|
+
? null
|
|
166
|
+
: new window.MutationObserver(reflow);
|
|
167
|
+
mutations?.observe(document.documentElement, {
|
|
168
|
+
subtree: true,
|
|
169
|
+
childList: true,
|
|
170
|
+
characterData: true,
|
|
171
|
+
attributes: true,
|
|
172
|
+
attributeFilter: ["class", "style", "hidden", "open", "role"],
|
|
173
|
+
});
|
|
174
|
+
return () => {
|
|
175
|
+
offSize();
|
|
176
|
+
offFocus();
|
|
177
|
+
offEnter();
|
|
178
|
+
window.removeEventListener("resize", reflow);
|
|
179
|
+
window.removeEventListener("scroll", reflow, true);
|
|
180
|
+
window.removeEventListener("load", reflow, true);
|
|
181
|
+
window.removeEventListener("transitionrun", motionStart, true);
|
|
182
|
+
window.removeEventListener("animationstart", motionStart, true);
|
|
183
|
+
for (const end of [
|
|
184
|
+
"transitionend",
|
|
185
|
+
"transitioncancel",
|
|
186
|
+
"animationend",
|
|
187
|
+
"animationcancel",
|
|
188
|
+
])
|
|
189
|
+
window.removeEventListener(end, motionEnd, true);
|
|
190
|
+
observer?.disconnect();
|
|
191
|
+
mutations?.disconnect();
|
|
192
|
+
this.observer = null;
|
|
193
|
+
if (this.frame)
|
|
194
|
+
cancelAnimationFrame(this.frame);
|
|
195
|
+
this.frame = 0;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
observer = null;
|
|
199
|
+
/** Transitions/animations running now, and when to stop trusting the count. */
|
|
200
|
+
moving = 0;
|
|
201
|
+
motionUntil = 0;
|
|
202
|
+
/** The last picture sent; an identical one is not sent again. */
|
|
203
|
+
sent = null;
|
|
204
|
+
setConnected(connected) {
|
|
205
|
+
this.connected = connected;
|
|
206
|
+
this.sent = null;
|
|
207
|
+
if (connected)
|
|
208
|
+
this.schedule();
|
|
209
|
+
}
|
|
210
|
+
register(id, entry) {
|
|
211
|
+
this.slots.set(id, entry);
|
|
212
|
+
const element = entry.element.current;
|
|
213
|
+
if (element)
|
|
214
|
+
this.observer?.observe(element);
|
|
215
|
+
if (!this.states.has(id))
|
|
216
|
+
this.setState(id, this.unsupported ? { kind: "unsupported" } : PENDING);
|
|
217
|
+
this.schedule();
|
|
218
|
+
return () => {
|
|
219
|
+
if (this.slots.get(id) !== entry)
|
|
220
|
+
return;
|
|
221
|
+
if (element)
|
|
222
|
+
this.observer?.unobserve(element);
|
|
223
|
+
this.slots.delete(id);
|
|
224
|
+
this.states.delete(id);
|
|
225
|
+
this.schedule();
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
/** Keyboard focus reached the slot: hand it to the child, unless it is
|
|
229
|
+
* coming back out of the child the other way. */
|
|
230
|
+
enter(id, direction) {
|
|
231
|
+
if (this.returning.delete(id))
|
|
232
|
+
return;
|
|
233
|
+
if (this.states.get(id)?.kind !== "mounted")
|
|
234
|
+
return;
|
|
235
|
+
void this.bridge()
|
|
236
|
+
?.focusEmbed(id, direction)
|
|
237
|
+
.catch(() => {
|
|
238
|
+
/* host declined: focus stays on the slot */
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
state(id) {
|
|
242
|
+
return this.states.get(id) ?? PENDING;
|
|
243
|
+
}
|
|
244
|
+
subscribe = (listener) => {
|
|
245
|
+
this.listeners.add(listener);
|
|
246
|
+
return () => this.listeners.delete(listener);
|
|
247
|
+
};
|
|
248
|
+
setState(id, state) {
|
|
249
|
+
this.states.set(id, state);
|
|
250
|
+
for (const listener of [...this.listeners])
|
|
251
|
+
listener();
|
|
252
|
+
}
|
|
253
|
+
schedule() {
|
|
254
|
+
if (this.frame || this.unsupported || !this.connected)
|
|
255
|
+
return;
|
|
256
|
+
this.frame = requestAnimationFrame(() => {
|
|
257
|
+
this.frame = 0;
|
|
258
|
+
void this.sync();
|
|
259
|
+
// Mid-motion a slot moves every frame without any other signal.
|
|
260
|
+
if (this.moving > 0 && window.performance.now() < this.motionUntil)
|
|
261
|
+
this.schedule();
|
|
262
|
+
else
|
|
263
|
+
this.moving = 0;
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
async sync() {
|
|
267
|
+
const bridge = this.bridge();
|
|
268
|
+
if (!bridge?.isConnected())
|
|
269
|
+
return;
|
|
270
|
+
const embeds = [];
|
|
271
|
+
// Document order, so the host's limit keeps the first slots on the page.
|
|
272
|
+
const ordered = [...this.slots].sort(([, a], [, b]) => {
|
|
273
|
+
const x = a.element.current;
|
|
274
|
+
const y = b.element.current;
|
|
275
|
+
if (!x || !y)
|
|
276
|
+
return 0;
|
|
277
|
+
return x.compareDocumentPosition(y) & DOCUMENT_POSITION_FOLLOWING
|
|
278
|
+
? -1
|
|
279
|
+
: 1;
|
|
280
|
+
});
|
|
281
|
+
for (const [id, slot] of ordered) {
|
|
282
|
+
const element = slot.element.current;
|
|
283
|
+
const r = element?.getBoundingClientRect();
|
|
284
|
+
const box = {
|
|
285
|
+
x: r?.left ?? 0,
|
|
286
|
+
y: r?.top ?? 0,
|
|
287
|
+
width: r?.width ?? 0,
|
|
288
|
+
height: r?.height ?? 0,
|
|
289
|
+
};
|
|
290
|
+
const shown = element ? shownPart(element, box) : EMPTY;
|
|
291
|
+
const whole = shown.x === box.x &&
|
|
292
|
+
shown.y === box.y &&
|
|
293
|
+
shown.width === box.width &&
|
|
294
|
+
shown.height === box.height;
|
|
295
|
+
embeds.push({
|
|
296
|
+
id,
|
|
297
|
+
view: slot.view,
|
|
298
|
+
scope: slot.scope,
|
|
299
|
+
params: slot.params,
|
|
300
|
+
rect: whole ? box : { ...box, clip: shown },
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
const picture = JSON.stringify(embeds);
|
|
304
|
+
if (picture === this.sent)
|
|
305
|
+
return;
|
|
306
|
+
this.sent = picture;
|
|
307
|
+
let answer;
|
|
308
|
+
try {
|
|
309
|
+
answer = await bridge.syncEmbeds(embeds);
|
|
310
|
+
}
|
|
311
|
+
catch (error) {
|
|
312
|
+
// Not delivered: the same picture must be sent again next time.
|
|
313
|
+
this.sent = null;
|
|
314
|
+
if (error instanceof ViewBridgeError && error.code === -32601) {
|
|
315
|
+
this.unsupported = true;
|
|
316
|
+
for (const id of this.slots.keys())
|
|
317
|
+
this.setState(id, { kind: "unsupported" });
|
|
318
|
+
}
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
for (const status of answer.embeds ?? []) {
|
|
322
|
+
if (!this.slots.has(status.id))
|
|
323
|
+
continue;
|
|
324
|
+
const previous = this.states.get(status.id);
|
|
325
|
+
if (status.status === "mounted") {
|
|
326
|
+
if (previous?.kind !== "mounted")
|
|
327
|
+
this.setState(status.id, { kind: "mounted", height: null });
|
|
328
|
+
}
|
|
329
|
+
else if (previous?.kind !== "refused" ||
|
|
330
|
+
previous.reason !== status.reason) {
|
|
331
|
+
this.setState(status.id, { kind: "refused", reason: status.reason });
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
const EmbedCtx = createContext(null);
|
|
337
|
+
/** Installed by the view runtime's provider. */
|
|
338
|
+
export function EmbedProvider({ registry, children, }) {
|
|
339
|
+
return _jsx(EmbedCtx.Provider, { value: registry, children: children });
|
|
340
|
+
}
|
|
341
|
+
const REFUSALS = {
|
|
342
|
+
cycle: "This view already contains it, so it is not shown again here.",
|
|
343
|
+
depth: "Views nest at most two levels deep.",
|
|
344
|
+
limit: "This view shows too many embedded views at once.",
|
|
345
|
+
invalid: "This embedded view's settings are not valid.",
|
|
346
|
+
};
|
|
347
|
+
const TABBABLE = 'a[href],area[href],button,input,select,textarea,iframe,summary,[tabindex],[contenteditable="true"]';
|
|
348
|
+
/** The document's Tab stops in order (positive `tabIndex` is not used by
|
|
349
|
+
* views, so document order is Tab order). */
|
|
350
|
+
function tabStops(root) {
|
|
351
|
+
return [...root.querySelectorAll(TABBABLE)].filter((el) => el.tabIndex >= 0 &&
|
|
352
|
+
!el.disabled &&
|
|
353
|
+
!el.closest("[inert],[hidden]") &&
|
|
354
|
+
el.getClientRects().length > 0);
|
|
355
|
+
}
|
|
356
|
+
/** Which way the visitor was tabbing when focus reached the slot: from a
|
|
357
|
+
* control after it means backward. From outside this frame, forward. */
|
|
358
|
+
function focusDirection(event) {
|
|
359
|
+
const from = event.relatedTarget;
|
|
360
|
+
return from &&
|
|
361
|
+
event.currentTarget.compareDocumentPosition(from) &
|
|
362
|
+
window.Node.DOCUMENT_POSITION_FOLLOWING
|
|
363
|
+
? "backward"
|
|
364
|
+
: "forward";
|
|
365
|
+
}
|
|
366
|
+
const HIDDEN = {
|
|
367
|
+
position: "absolute",
|
|
368
|
+
width: 1,
|
|
369
|
+
height: 1,
|
|
370
|
+
overflow: "hidden",
|
|
371
|
+
clip: "rect(0 0 0 0)",
|
|
372
|
+
whiteSpace: "nowrap",
|
|
373
|
+
};
|
|
374
|
+
function scalarParams(params) {
|
|
375
|
+
const out = {};
|
|
376
|
+
for (const [key, value] of Object.entries(params ?? {})) {
|
|
377
|
+
if (Object.keys(out).length >= VIEW_EMBED_MAX_PARAMS)
|
|
378
|
+
break;
|
|
379
|
+
if (typeof value === "string" ||
|
|
380
|
+
typeof value === "boolean" ||
|
|
381
|
+
(typeof value === "number" && Number.isFinite(value)))
|
|
382
|
+
out[key] = value;
|
|
383
|
+
}
|
|
384
|
+
return out;
|
|
385
|
+
}
|
|
386
|
+
export function EmbeddedView({ view, scope, params, id: explicitId, title, minHeight = 120, }) {
|
|
387
|
+
const registry = useContext(EmbedCtx);
|
|
388
|
+
if (!registry)
|
|
389
|
+
throw new Error("<EmbeddedView> must render inside mountView()");
|
|
390
|
+
const autoId = useId();
|
|
391
|
+
const id = explicitId ?? `embed${autoId.replace(/[^A-Za-z0-9_-]/g, "")}`;
|
|
392
|
+
const slotRef = useRef(null);
|
|
393
|
+
const enterRef = useRef(null);
|
|
394
|
+
const afterRef = useRef(null);
|
|
395
|
+
const scopeKey = JSON.stringify(scope ?? {});
|
|
396
|
+
const paramsKey = JSON.stringify(scalarParams(params));
|
|
397
|
+
const entryScope = useMemo(() => JSON.parse(scopeKey), [scopeKey]);
|
|
398
|
+
const entryParams = useMemo(() => JSON.parse(paramsKey), [paramsKey]);
|
|
399
|
+
useEffect(() => registry.register(id, {
|
|
400
|
+
view,
|
|
401
|
+
scope: entryScope,
|
|
402
|
+
params: entryParams,
|
|
403
|
+
element: slotRef,
|
|
404
|
+
enter: enterRef,
|
|
405
|
+
after: afterRef,
|
|
406
|
+
}), [registry, id, view, entryScope, entryParams]);
|
|
407
|
+
const state = useSyncExternalStore(registry.subscribe, () => registry.state(id), () => registry.state(id));
|
|
408
|
+
const label = title ?? view;
|
|
409
|
+
const height = state.kind === "mounted"
|
|
410
|
+
? (state.height ?? minHeight)
|
|
411
|
+
: state.kind === "pending"
|
|
412
|
+
? minHeight
|
|
413
|
+
: undefined;
|
|
414
|
+
return (_jsxs("div", { ref: slotRef, "data-lobu-embed": id, "data-state": state.kind, style: { position: "relative", height }, children: [state.kind === "mounted" || state.kind === "pending" ? (
|
|
415
|
+
// Where Tab meets the slot: focus moves on into the child's frame.
|
|
416
|
+
_jsx("button", { ref: enterRef, type: "button", style: HIDDEN, onFocus: (event) => registry.enter(id, registry.arrival ?? focusDirection(event)), onClick: () => registry.enter(id, "forward"), children: label })) : null, state.kind === "unsupported" ? (_jsxs("p", { role: "note", children: ["\u201C", label, "\u201D is an embedded view. Open this page in the Lobu app to see it."] })) : state.kind === "refused" ? (_jsx("p", { role: "note", children: REFUSALS[state.reason] ?? REFUSALS.invalid })) : null, _jsx("span", { ref: afterRef, tabIndex: -1, style: HIDDEN })] }));
|
|
417
|
+
}
|
|
418
|
+
//# sourceMappingURL=embed.js.map
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export type { AttributeFilter, CollectionSelection, } from "@lobu/core/contracts/tools/collection-selection";
|
|
9
9
|
export { ViewBridge } from "./bridge.js";
|
|
10
|
+
export { EmbeddedView } from "./embed.js";
|
|
11
|
+
export type { EmbeddedViewProps } from "./embed.js";
|
|
10
12
|
export type { BridgeOptions, HostContext, ToolResult, ViewHandoff, } from "./bridge.js";
|
|
11
13
|
export { coerceParams, defaultsFor, defineView, escapeLiteral, mintInteractionId, mountView, resolveViewHref, Provider, sql, tool, useAction, useHost, useParams, useQuery, useScope, } from "./api.js";
|
|
12
|
-
export type { ActionResult, Attachment, Container, DisplayMode, MountOptions, ParamDef, Params, ParamValue, QueryOptions, QueryState, Scope, SqlQuery, ToolQuery, ViewDefinition, } from "./api.js";
|
|
14
|
+
export type { ActionDef, ActionOptions, ActionResult, Attachment, Container, DisplayMode, MountOptions, ParamDef, Params, ParamValue, QueryOptions, QueryState, Scope, SqlQuery, ToolQuery, ViewDefinition, } from "./api.js";
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { ViewBridge } from "./bridge.js";
|
|
2
|
+
export { EmbeddedView } from "./embed.js";
|
|
2
3
|
export { coerceParams, defaultsFor, defineView, escapeLiteral, mintInteractionId, mountView, resolveViewHref, Provider, sql, tool, useAction, useHost, useParams, useQuery, useScope, } from "./api.js";
|
|
3
4
|
//# sourceMappingURL=index.js.map
|