@flamingo-stack/openframe-frontend-core 0.0.490 → 0.0.492-1506.3956.1
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/chat-protocol/decode.d.ts +58 -0
- package/dist/chat-protocol/decode.d.ts.map +1 -0
- package/dist/chat-protocol/encode.d.ts +44 -0
- package/dist/chat-protocol/encode.d.ts.map +1 -0
- package/dist/chat-protocol/env-flag.d.ts +35 -0
- package/dist/chat-protocol/env-flag.d.ts.map +1 -0
- package/dist/chat-protocol/events.d.ts +207 -0
- package/dist/chat-protocol/events.d.ts.map +1 -0
- package/dist/chat-protocol/frames.d.ts +213 -0
- package/dist/chat-protocol/frames.d.ts.map +1 -0
- package/dist/chat-protocol/index.cjs +500 -0
- package/dist/chat-protocol/index.cjs.map +1 -0
- package/dist/chat-protocol/index.d.ts +18 -0
- package/dist/chat-protocol/index.d.ts.map +1 -0
- package/dist/chat-protocol/index.js +484 -0
- package/dist/chat-protocol/index.js.map +1 -0
- package/dist/chat-protocol/ip-normalize.d.ts +44 -0
- package/dist/chat-protocol/ip-normalize.d.ts.map +1 -0
- package/dist/chat-protocol/nats-decoder.d.ts +26 -0
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -0
- package/dist/{chunk-WLM3F3WU.js → chunk-34TDA22K.js} +3 -3
- package/dist/{chunk-EGXCWZYP.js → chunk-3LKB722U.js} +3 -3
- package/dist/{chunk-RW2LPL72.js → chunk-6WTCJI5R.js} +2 -2
- package/dist/{chunk-VUXNXWOQ.cjs → chunk-7N7YZCHR.cjs} +7503 -5167
- package/dist/chunk-7N7YZCHR.cjs.map +1 -0
- package/dist/{chunk-AW63ET2A.cjs → chunk-A6FPYAUD.cjs} +19 -19
- package/dist/{chunk-AW63ET2A.cjs.map → chunk-A6FPYAUD.cjs.map} +1 -1
- package/dist/{chunk-BZMOEWWS.js → chunk-BEEPU44B.js} +12 -12
- package/dist/chunk-BEEPU44B.js.map +1 -0
- package/dist/{chunk-EJQUYZXF.cjs → chunk-C65NCIMV.cjs} +12 -12
- package/dist/{chunk-EJQUYZXF.cjs.map → chunk-C65NCIMV.cjs.map} +1 -1
- package/dist/{chunk-VL2YMDPH.js → chunk-J3VBVR4W.js} +6 -6
- package/dist/{chunk-AIRNG27G.js → chunk-JHEIOXXZ.js} +8 -7
- package/dist/chunk-JHEIOXXZ.js.map +1 -0
- package/dist/{chunk-D5LQMRPU.cjs → chunk-JSEJ5MH5.cjs} +5 -5
- package/dist/{chunk-D5LQMRPU.cjs.map → chunk-JSEJ5MH5.cjs.map} +1 -1
- package/dist/{chunk-FY5XAW3H.cjs → chunk-KX3K2EH4.cjs} +18 -18
- package/dist/{chunk-FY5XAW3H.cjs.map → chunk-KX3K2EH4.cjs.map} +1 -1
- package/dist/{chunk-3IEVA5AO.cjs → chunk-M6FEGPQJ.cjs} +93 -93
- package/dist/{chunk-3IEVA5AO.cjs.map → chunk-M6FEGPQJ.cjs.map} +1 -1
- package/dist/{chunk-7I42V2OD.cjs → chunk-MEIGDK7M.cjs} +74 -74
- package/dist/chunk-MEIGDK7M.cjs.map +1 -0
- package/dist/{chunk-OQIMH2WQ.js → chunk-MEMRQTOI.js} +12263 -9927
- package/dist/chunk-MEMRQTOI.js.map +1 -0
- package/dist/{chunk-GUTYUMGV.cjs → chunk-MPUQFRJG.cjs} +12 -12
- package/dist/{chunk-GUTYUMGV.cjs.map → chunk-MPUQFRJG.cjs.map} +1 -1
- package/dist/{chunk-UZZT65PQ.cjs → chunk-MSL5NE3N.cjs} +40 -40
- package/dist/{chunk-UZZT65PQ.cjs.map → chunk-MSL5NE3N.cjs.map} +1 -1
- package/dist/{chunk-6CJ2K7BD.js → chunk-MZRIRQYV.js} +3 -3
- package/dist/{chunk-NGEFYPY7.js → chunk-NCAN6VUF.js} +4 -4
- package/dist/{chunk-6QK3ONDD.js → chunk-OL3MJKUI.js} +2 -2
- package/dist/{chunk-MPYDX5WX.js → chunk-PLB6CQSO.js} +4 -4
- package/dist/{chunk-6CFFISUC.js → chunk-PTXZB2KW.js} +3 -3
- package/dist/{chunk-GMPYR3MX.cjs → chunk-QDGB2DKY.cjs} +33 -33
- package/dist/{chunk-GMPYR3MX.cjs.map → chunk-QDGB2DKY.cjs.map} +1 -1
- package/dist/{chunk-2MKUHJ3O.cjs → chunk-QG2EBIH5.cjs} +40 -40
- package/dist/{chunk-2MKUHJ3O.cjs.map → chunk-QG2EBIH5.cjs.map} +1 -1
- package/dist/{chunk-GZK7FWJJ.js → chunk-QKWOBV55.js} +12 -12
- package/dist/chunk-QKWOBV55.js.map +1 -0
- package/dist/{chunk-STYA77PH.cjs → chunk-SGL6URIJ.cjs} +12 -12
- package/dist/chunk-SGL6URIJ.cjs.map +1 -0
- package/dist/{chunk-KP5KRRD6.cjs → chunk-THC3K262.cjs} +3 -3
- package/dist/{chunk-KP5KRRD6.cjs.map → chunk-THC3K262.cjs.map} +1 -1
- package/dist/{chunk-BIKOJ4FH.cjs → chunk-TTYJAZ7P.cjs} +58 -32
- package/dist/chunk-TTYJAZ7P.cjs.map +1 -0
- package/dist/{chunk-IEZ3YBAP.cjs → chunk-W56JYDSC.cjs} +34 -33
- package/dist/chunk-W56JYDSC.cjs.map +1 -0
- package/dist/{chunk-PB3BTZDU.js → chunk-WEUNPE3S.js} +139 -113
- package/dist/chunk-WEUNPE3S.js.map +1 -0
- package/dist/{chunk-VDZO6IDR.js → chunk-XOFE2RT4.js} +5 -5
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +0 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +15 -48
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts +10 -57
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +12 -4
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +23 -15
- package/dist/components/chat/stream/chat-dialog-store.d.ts +184 -0
- package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -0
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +367 -0
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -0
- package/dist/components/chat/stream/delta-batcher.d.ts +51 -0
- package/dist/components/chat/stream/delta-batcher.d.ts.map +1 -0
- package/dist/components/chat/stream/index.d.ts +17 -0
- package/dist/components/chat/stream/index.d.ts.map +1 -0
- package/dist/components/chat/stream/message-mutations.d.ts +77 -0
- package/dist/components/chat/stream/message-mutations.d.ts.map +1 -0
- package/dist/components/chat/stream/use-chat-stream-reducer.d.ts +22 -0
- package/dist/components/chat/stream/use-chat-stream-reducer.d.ts.map +1 -0
- package/dist/components/chat/types/api.types.d.ts +1 -81
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/processing.types.d.ts +2 -93
- package/dist/components/chat/types/processing.types.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts +34 -6
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
- package/dist/components/chat/utils/index.d.ts +2 -3
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts +59 -11
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/features/select-button.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +203 -161
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +66 -24
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/page-layout.d.ts +7 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +23 -1
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/navigation/index.js +3 -3
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/related-content/index.js +5 -5
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/checkbox-block.d.ts.map +1 -1
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/field-wrapper.d.ts +10 -1
- package/dist/components/ui/field-wrapper.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +50 -50
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/floating-tooltip.d.ts +8 -1
- package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +46 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -2
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +57 -15
- package/dist/components/ui/input-trigger.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.d.ts +51 -0
- package/dist/components/ui/markdown/base-components.d.ts.map +1 -0
- package/dist/components/ui/markdown/engine.d.ts +99 -0
- package/dist/components/ui/markdown/engine.d.ts.map +1 -0
- package/dist/components/ui/markdown/heading-ids.d.ts +65 -0
- package/dist/components/ui/markdown/heading-ids.d.ts.map +1 -0
- package/dist/components/ui/markdown/index.d.ts +18 -0
- package/dist/components/ui/markdown/index.d.ts.map +1 -0
- package/dist/components/ui/markdown/mermaid-diagram.d.ts +79 -0
- package/dist/components/ui/markdown/mermaid-diagram.d.ts.map +1 -0
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts +14 -0
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -0
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +40 -0
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -0
- package/dist/components/ui/markdown/rich/shortcodes.d.ts +8 -0
- package/dist/components/ui/markdown/rich/shortcodes.d.ts.map +1 -0
- package/dist/components/ui/markdown/sanitize.d.ts +153 -0
- package/dist/components/ui/markdown/sanitize.d.ts.map +1 -0
- package/dist/components/ui/markdown/simple-markdown-renderer.d.ts +23 -0
- package/dist/components/ui/markdown/simple-markdown-renderer.d.ts.map +1 -0
- package/dist/components/ui/markdown/streaming.d.ts +78 -0
- package/dist/components/ui/markdown/streaming.d.ts.map +1 -0
- package/dist/components/ui/markdown/text-size.d.ts +34 -0
- package/dist/components/ui/markdown/text-size.d.ts.map +1 -0
- package/dist/components/ui/page-actions.d.ts +7 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.d.ts +10 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tag-search-input.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/truncate-text.d.ts +2 -2
- package/dist/components/ui/truncate-text.d.ts.map +1 -1
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +3 -1
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-is-truncated.d.ts +33 -0
- package/dist/hooks/ui/use-is-truncated.d.ts.map +1 -0
- package/dist/index.cjs +64 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +75 -15
- package/dist/utils/index.cjs +169 -40
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +162 -41
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/markdown-fences.d.ts +42 -0
- package/dist/utils/markdown-fences.d.ts.map +1 -0
- package/dist/utils/markdown-heading-id.d.ts +85 -0
- package/dist/utils/markdown-heading-id.d.ts.map +1 -0
- package/dist/utils/markdown-section-extractor.d.ts.map +1 -1
- package/package.json +7 -1
- package/src/chat-protocol/__tests__/__snapshots__/nats-decoder-golden.test.ts.snap +317 -0
- package/src/chat-protocol/__tests__/chat-protocol.test.ts +516 -0
- package/src/chat-protocol/__tests__/env-flag.test.ts +52 -0
- package/src/chat-protocol/__tests__/ip-normalize.test.ts +136 -0
- package/src/chat-protocol/__tests__/nats-decoder-golden.test.ts +232 -0
- package/src/chat-protocol/decode.ts +278 -0
- package/src/chat-protocol/encode.ts +71 -0
- package/src/chat-protocol/env-flag.ts +39 -0
- package/src/chat-protocol/events.ts +245 -0
- package/src/chat-protocol/frames.ts +245 -0
- package/src/chat-protocol/index.ts +21 -0
- package/src/chat-protocol/ip-normalize.ts +146 -0
- package/src/chat-protocol/nats-decoder.ts +258 -0
- package/src/components/chat/__tests__/chat-message-list.test.tsx +293 -5
- package/src/components/chat/__tests__/chat-message-streaming-memo.test.tsx +207 -0
- package/src/components/chat/__tests__/chat-pending-turn.test.tsx +230 -0
- package/src/components/chat/chat-message-enhanced.tsx +122 -20
- package/src/components/chat/chat-message-list.tsx +358 -109
- package/src/components/chat/embeddable-chat.tsx +6 -0
- package/src/components/chat/hooks/.index.md +30 -33
- package/src/components/chat/hooks/.use-nats-chat-adapter.md +36 -55
- package/src/components/chat/hooks/__tests__/__snapshots__/conversation-id-persistence-golden.test.ts.snap +37 -0
- package/src/components/chat/hooks/__tests__/__snapshots__/sse-stream-golden.test.ts.snap +0 -0
- package/src/components/chat/hooks/__tests__/conversation-id-persistence-golden.test.ts +438 -0
- package/src/components/chat/hooks/__tests__/sse-stream-golden.test.ts +318 -0
- package/src/components/chat/hooks/index.ts +0 -1
- package/src/components/chat/hooks/use-chat.ts +8 -0
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +243 -825
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +380 -684
- package/src/components/chat/index.ts +5 -0
- package/src/components/chat/stream/__tests__/__snapshots__/chat-stream-reducer-golden.test.ts.snap +940 -0
- package/src/components/chat/stream/__tests__/chat-dialog-store.test.ts +756 -0
- package/src/components/chat/stream/__tests__/chat-stream-reducer-golden.test.ts +460 -0
- package/src/components/chat/stream/__tests__/chat-stream-reducer.test.ts +973 -0
- package/src/components/chat/stream/__tests__/delta-batcher.test.ts +255 -0
- package/src/components/chat/stream/__tests__/use-chat-stream-reducer.test.ts +98 -0
- package/src/components/chat/stream/chat-dialog-store.ts +536 -0
- package/src/components/chat/stream/chat-stream-reducer.ts +1808 -0
- package/src/components/chat/stream/delta-batcher.ts +168 -0
- package/src/components/chat/stream/index.ts +55 -0
- package/src/components/chat/stream/message-mutations.ts +340 -0
- package/src/components/chat/stream/use-chat-stream-reducer.ts +126 -0
- package/src/components/chat/thinking-display.tsx +1 -1
- package/src/components/chat/types/.api.types.md +39 -49
- package/src/components/chat/types/.processing.types.md +29 -58
- package/src/components/chat/types/api.types.ts +6 -73
- package/src/components/chat/types/processing.types.ts +11 -53
- package/src/components/chat/utils/.index.md +31 -40
- package/src/components/chat/utils/__tests__/__snapshots__/process-historical-messages-golden.test.ts.snap +420 -0
- package/src/components/chat/utils/__tests__/__snapshots__/segment-accumulator-golden.test.ts.snap +605 -0
- package/src/components/chat/utils/__tests__/process-historical-messages-golden.test.ts +394 -0
- package/src/components/chat/utils/__tests__/segment-accumulator-golden.test.ts +270 -0
- package/src/components/chat/utils/extract-incomplete-message-state.ts +63 -5
- package/src/components/chat/utils/index.ts +5 -8
- package/src/components/chat/utils/process-historical-messages.ts +358 -386
- package/src/components/features/select-button.tsx +4 -1
- package/src/components/layout/page-layout.tsx +16 -0
- package/src/components/layout/title-block.tsx +106 -7
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +22 -4
- package/src/components/shared/legal-document/legal-document-page.tsx +1 -1
- package/src/components/shared/product-release/release-detail-page.tsx +19 -4
- package/src/components/ui/.field-wrapper.md +5 -4
- package/src/components/ui/.tab-navigation.md +14 -1
- package/src/components/ui/__tests__/__snapshots__/markdown-parity.test.tsx.snap +2420 -0
- package/src/components/ui/__tests__/markdown-parity.test.tsx +2528 -0
- package/src/components/ui/autocomplete.tsx +13 -1
- package/src/components/ui/button/button.tsx +1 -1
- package/src/components/ui/checkbox-block.tsx +27 -3
- package/src/components/ui/date-picker.tsx +15 -1
- package/src/components/ui/field-wrapper.tsx +12 -6
- package/src/components/ui/floating-tooltip.tsx +9 -1
- package/src/components/ui/index.ts +1 -2
- package/src/components/ui/input-trigger.tsx +8 -1
- package/src/components/ui/input.tsx +8 -1
- package/src/components/ui/markdown/__tests__/mermaid-security.test.ts +115 -0
- package/src/components/ui/markdown/__tests__/mermaid-stale-render.test.tsx +95 -0
- package/src/components/ui/markdown/__tests__/sanitize-invariant.test.ts +309 -0
- package/src/components/ui/markdown/__tests__/streaming.test.tsx +388 -0
- package/src/components/ui/markdown/base-components.tsx +360 -0
- package/src/components/ui/markdown/engine.tsx +315 -0
- package/src/components/ui/markdown/heading-ids.ts +239 -0
- package/src/components/ui/markdown/index.ts +49 -0
- package/src/components/ui/markdown/mermaid-diagram.tsx +291 -0
- package/src/components/ui/markdown/rich/embed-overrides.tsx +199 -0
- package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +184 -0
- package/src/components/ui/markdown/rich/shortcodes.ts +170 -0
- package/src/components/ui/markdown/sanitize.ts +3499 -0
- package/src/components/ui/markdown/simple-markdown-renderer.tsx +28 -0
- package/src/components/ui/markdown/streaming.ts +362 -0
- package/src/components/ui/markdown/text-size.ts +106 -0
- package/src/components/ui/page-actions.tsx +142 -30
- package/src/components/ui/radio-group.tsx +28 -3
- package/src/components/ui/release-changelog-section.tsx +1 -1
- package/src/components/ui/search-input.tsx +2 -1
- package/src/components/ui/select.tsx +7 -0
- package/src/components/ui/tab-navigation.tsx +26 -4
- package/src/components/ui/tag-search-input.tsx +9 -2
- package/src/components/ui/textarea.tsx +8 -1
- package/src/components/ui/ticket-info-section.tsx +1 -1
- package/src/components/ui/truncate-text.tsx +3 -18
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-is-truncated.ts +66 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/markdown-fences.ts +127 -0
- package/src/utils/markdown-heading-id.ts +348 -0
- package/src/utils/markdown-section-extractor.ts +41 -56
- package/dist/chunk-7I42V2OD.cjs.map +0 -1
- package/dist/chunk-AIRNG27G.js.map +0 -1
- package/dist/chunk-BIKOJ4FH.cjs.map +0 -1
- package/dist/chunk-BZMOEWWS.js.map +0 -1
- package/dist/chunk-GZK7FWJJ.js.map +0 -1
- package/dist/chunk-IEZ3YBAP.cjs.map +0 -1
- package/dist/chunk-OQIMH2WQ.js.map +0 -1
- package/dist/chunk-PB3BTZDU.js.map +0 -1
- package/dist/chunk-STYA77PH.cjs.map +0 -1
- package/dist/chunk-VUXNXWOQ.cjs.map +0 -1
- package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts +0 -6
- package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts.map +0 -1
- package/dist/components/chat/utils/chunk-parser.d.ts +0 -25
- package/dist/components/chat/utils/chunk-parser.d.ts.map +0 -1
- package/dist/components/ui/rich-markdown-renderer.d.ts +0 -34
- package/dist/components/ui/rich-markdown-renderer.d.ts.map +0 -1
- package/dist/components/ui/simple-markdown-renderer.d.ts +0 -73
- package/dist/components/ui/simple-markdown-renderer.d.ts.map +0 -1
- package/src/components/chat/hooks/.use-realtime-chunk-processor.md +0 -77
- package/src/components/chat/hooks/use-realtime-chunk-processor.ts +0 -489
- package/src/components/chat/utils/.chunk-parser.md +0 -62
- package/src/components/chat/utils/chunk-parser.ts +0 -262
- package/src/components/ui/.simple-markdown-renderer.md +0 -52
- package/src/components/ui/rich-markdown-renderer.tsx +0 -1223
- package/src/components/ui/simple-markdown-renderer.tsx +0 -964
- /package/dist/{chunk-WLM3F3WU.js.map → chunk-34TDA22K.js.map} +0 -0
- /package/dist/{chunk-EGXCWZYP.js.map → chunk-3LKB722U.js.map} +0 -0
- /package/dist/{chunk-RW2LPL72.js.map → chunk-6WTCJI5R.js.map} +0 -0
- /package/dist/{chunk-VL2YMDPH.js.map → chunk-J3VBVR4W.js.map} +0 -0
- /package/dist/{chunk-6CJ2K7BD.js.map → chunk-MZRIRQYV.js.map} +0 -0
- /package/dist/{chunk-NGEFYPY7.js.map → chunk-NCAN6VUF.js.map} +0 -0
- /package/dist/{chunk-6QK3ONDD.js.map → chunk-OL3MJKUI.js.map} +0 -0
- /package/dist/{chunk-MPYDX5WX.js.map → chunk-PLB6CQSO.js.map} +0 -0
- /package/dist/{chunk-6CFFISUC.js.map → chunk-PTXZB2KW.js.map} +0 -0
- /package/dist/{chunk-VDZO6IDR.js.map → chunk-XOFE2RT4.js.map} +0 -0
|
@@ -518,6 +518,31 @@ function useImageEdgeColor(imageUrl, fallback = "#000000") {
|
|
|
518
518
|
return color;
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
+
// src/hooks/ui/use-is-truncated.ts
|
|
522
|
+
|
|
523
|
+
function useIsTruncated(value, options) {
|
|
524
|
+
const multiline = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _8 => _8.multiline]), () => ( false));
|
|
525
|
+
const [element, setElement] = _react.useState.call(void 0, null);
|
|
526
|
+
const [isTruncated, setIsTruncated] = _react.useState.call(void 0, false);
|
|
527
|
+
const ref = _react.useCallback.call(void 0, (node) => setElement(node), []);
|
|
528
|
+
_react.useEffect.call(void 0, () => {
|
|
529
|
+
if (!element) {
|
|
530
|
+
setIsTruncated(false);
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
533
|
+
const check = () => {
|
|
534
|
+
setIsTruncated(
|
|
535
|
+
multiline ? element.scrollHeight > element.clientHeight + 1 : element.scrollWidth > element.clientWidth + 1
|
|
536
|
+
);
|
|
537
|
+
};
|
|
538
|
+
check();
|
|
539
|
+
const observer = new ResizeObserver(check);
|
|
540
|
+
observer.observe(element);
|
|
541
|
+
return () => observer.disconnect();
|
|
542
|
+
}, [element, value, multiline]);
|
|
543
|
+
return { ref, isTruncated };
|
|
544
|
+
}
|
|
545
|
+
|
|
521
546
|
// src/hooks/ui/use-local-storage.ts
|
|
522
547
|
|
|
523
548
|
function useLocalStorage(key, initialValue) {
|
|
@@ -610,7 +635,7 @@ function useMarqueeEngine(options) {
|
|
|
610
635
|
const wrap = _react.useCallback.call(void 0, (pos) => {
|
|
611
636
|
const half = optsRef.current.getWrapSize();
|
|
612
637
|
if (half <= 0) return pos;
|
|
613
|
-
const min = _nullishCoalesce(_optionalChain([optsRef, 'access',
|
|
638
|
+
const min = _nullishCoalesce(_optionalChain([optsRef, 'access', _9 => _9.current, 'access', _10 => _10.getWrapMin, 'optionalCall', _11 => _11()]), () => ( 0));
|
|
614
639
|
while (pos >= min + half) pos -= half;
|
|
615
640
|
while (pos < min) pos += half;
|
|
616
641
|
return pos;
|
|
@@ -654,7 +679,7 @@ function useMarqueeEngine(options) {
|
|
|
654
679
|
} else if (external !== null) {
|
|
655
680
|
posRef.current = external;
|
|
656
681
|
}
|
|
657
|
-
_optionalChain([opts, 'access',
|
|
682
|
+
_optionalChain([opts, 'access', _12 => _12.onAfterFrame, 'optionalCall', _13 => _13()]);
|
|
658
683
|
raf = requestAnimationFrame(tick);
|
|
659
684
|
};
|
|
660
685
|
raf = requestAnimationFrame(tick);
|
|
@@ -723,16 +748,16 @@ function useNotificationPermission() {
|
|
|
723
748
|
sync();
|
|
724
749
|
let cancelled = false;
|
|
725
750
|
let status;
|
|
726
|
-
_optionalChain([navigator, 'access',
|
|
751
|
+
_optionalChain([navigator, 'access', _14 => _14.permissions, 'optionalAccess', _15 => _15.query, 'call', _16 => _16({ name: "notifications" }), 'access', _17 => _17.then, 'call', _18 => _18((s) => {
|
|
727
752
|
if (cancelled) return;
|
|
728
753
|
status = s;
|
|
729
754
|
s.addEventListener("change", sync);
|
|
730
|
-
}), 'access',
|
|
755
|
+
}), 'access', _19 => _19.catch, 'call', _20 => _20(() => void 0)]);
|
|
731
756
|
document.addEventListener("visibilitychange", sync);
|
|
732
757
|
window.addEventListener("focus", sync);
|
|
733
758
|
return () => {
|
|
734
759
|
cancelled = true;
|
|
735
|
-
_optionalChain([status, 'optionalAccess',
|
|
760
|
+
_optionalChain([status, 'optionalAccess', _21 => _21.removeEventListener, 'call', _22 => _22("change", sync)]);
|
|
736
761
|
document.removeEventListener("visibilitychange", sync);
|
|
737
762
|
window.removeEventListener("focus", sync);
|
|
738
763
|
};
|
|
@@ -1368,7 +1393,7 @@ var toolIconMap = {
|
|
|
1368
1393
|
[ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.OsqueryLogoGreyIcon, { size, className }),
|
|
1369
1394
|
[ToolTypeValues.SYSTEM]: () => null
|
|
1370
1395
|
};
|
|
1371
|
-
var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access',
|
|
1396
|
+
var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access', _23 => _23[toolType], 'optionalCall', _24 => _24(size, className)]), () => ( null)) });
|
|
1372
1397
|
ToolIcon.displayName = "ToolIcon";
|
|
1373
1398
|
|
|
1374
1399
|
// src/components/ui/toaster.tsx
|
|
@@ -1487,11 +1512,11 @@ function CommandApprovalToast({
|
|
|
1487
1512
|
}) {
|
|
1488
1513
|
const [expanded, setExpanded] = React2.useState(defaultExpanded);
|
|
1489
1514
|
const handleApprove = () => {
|
|
1490
|
-
_optionalChain([onApprove, 'optionalCall',
|
|
1515
|
+
_optionalChain([onApprove, 'optionalCall', _25 => _25()]);
|
|
1491
1516
|
_sonner.toast.dismiss(id);
|
|
1492
1517
|
};
|
|
1493
1518
|
const handleReject = () => {
|
|
1494
|
-
_optionalChain([onReject, 'optionalCall',
|
|
1519
|
+
_optionalChain([onReject, 'optionalCall', _26 => _26()]);
|
|
1495
1520
|
_sonner.toast.dismiss(id);
|
|
1496
1521
|
};
|
|
1497
1522
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -1714,7 +1739,7 @@ function createLocalStorageAdapter(options) {
|
|
|
1714
1739
|
const tag = _nullishCoalesce(options.logTag, () => ( "[local-storage]"));
|
|
1715
1740
|
const backend = _nullishCoalesce(options.backend, () => ( "local"));
|
|
1716
1741
|
const resolveKey = () => {
|
|
1717
|
-
const ns = _optionalChain([options, 'access',
|
|
1742
|
+
const ns = _optionalChain([options, 'access', _27 => _27.namespace, 'optionalCall', _28 => _28()]);
|
|
1718
1743
|
return ns ? `${ns}.${options.key}` : options.key;
|
|
1719
1744
|
};
|
|
1720
1745
|
return {
|
|
@@ -1805,7 +1830,7 @@ function getEmbedProxyAuth() {
|
|
|
1805
1830
|
}
|
|
1806
1831
|
function getPersistedProxyEmail() {
|
|
1807
1832
|
const persisted = adapter.load();
|
|
1808
|
-
return _nullishCoalesce(_optionalChain([persisted, 'optionalAccess',
|
|
1833
|
+
return _nullishCoalesce(_optionalChain([persisted, 'optionalAccess', _29 => _29.email, 'access', _30 => _30.trim, 'call', _31 => _31(), 'access', _32 => _32.toLowerCase, 'call', _33 => _33()]), () => ( null));
|
|
1809
1834
|
}
|
|
1810
1835
|
function setEmbedProxyAuth(value) {
|
|
1811
1836
|
adapter.save({
|
|
@@ -1822,15 +1847,15 @@ function clearEmbedProxyAuth() {
|
|
|
1822
1847
|
function applyProxyAuth(url, baseHeaders = { "Content-Type": "application/json" }) {
|
|
1823
1848
|
const auth = getEmbedProxyAuth();
|
|
1824
1849
|
const headers = { ...baseHeaders };
|
|
1825
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
1850
|
+
if (_optionalChain([auth, 'optionalAccess', _34 => _34.secret])) {
|
|
1826
1851
|
headers.Authorization = `Bearer ${auth.secret}`;
|
|
1827
1852
|
}
|
|
1828
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
1853
|
+
if (_optionalChain([auth, 'optionalAccess', _35 => _35.email])) {
|
|
1829
1854
|
headers["X-Chat-Act-As"] = auth.email;
|
|
1830
1855
|
}
|
|
1831
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
1832
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
1833
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
1856
|
+
if (_optionalChain([auth, 'optionalAccess', _36 => _36.firstName])) headers["X-Chat-First-Name"] = auth.firstName;
|
|
1857
|
+
if (_optionalChain([auth, 'optionalAccess', _37 => _37.lastName])) headers["X-Chat-Last-Name"] = auth.lastName;
|
|
1858
|
+
if (_optionalChain([auth, 'optionalAccess', _38 => _38.avatarUrl])) headers["X-Chat-Avatar-Url"] = auth.avatarUrl;
|
|
1834
1859
|
return { url, headers };
|
|
1835
1860
|
}
|
|
1836
1861
|
|
|
@@ -1858,7 +1883,7 @@ function hasEmbedAuthAdapter() {
|
|
|
1858
1883
|
function needsBearerAssetFetch(url) {
|
|
1859
1884
|
if (typeof window === "undefined") return false;
|
|
1860
1885
|
const adapter2 = getRegisteredAuthAdapter();
|
|
1861
|
-
if (!_optionalChain([adapter2, 'optionalAccess',
|
|
1886
|
+
if (!_optionalChain([adapter2, 'optionalAccess', _39 => _39.allowedOrigins, 'optionalAccess', _40 => _40.length]) || _optionalChain([adapter2, 'access', _41 => _41.getHeaders, 'optionalCall', _42 => _42(), 'access', _43 => _43.Authorization]) === void 0) {
|
|
1862
1887
|
return false;
|
|
1863
1888
|
}
|
|
1864
1889
|
let target;
|
|
@@ -1900,7 +1925,7 @@ function setInFlightRefresh(refresh) {
|
|
|
1900
1925
|
}
|
|
1901
1926
|
function dedupedRefresh() {
|
|
1902
1927
|
const adapter2 = getRegisteredAuthAdapter();
|
|
1903
|
-
if (!_optionalChain([adapter2, 'optionalAccess',
|
|
1928
|
+
if (!_optionalChain([adapter2, 'optionalAccess', _44 => _44.refresh])) return Promise.resolve(false);
|
|
1904
1929
|
let inFlightRefresh = getInFlightRefresh();
|
|
1905
1930
|
if (!inFlightRefresh) {
|
|
1906
1931
|
inFlightRefresh = Promise.resolve().then(() => adapter2.refresh()).catch(() => false).finally(() => {
|
|
@@ -1913,12 +1938,12 @@ function dedupedRefresh() {
|
|
|
1913
1938
|
async function fetchWithRefresh(url, init, baseHeaders, isRetry) {
|
|
1914
1939
|
const { url: authedUrl, headers } = applyProxyAuth(url, { ...baseHeaders });
|
|
1915
1940
|
const adapter2 = getRegisteredAuthAdapter();
|
|
1916
|
-
if (_optionalChain([adapter2, 'optionalAccess',
|
|
1941
|
+
if (_optionalChain([adapter2, 'optionalAccess', _45 => _45.getHeaders])) {
|
|
1917
1942
|
for (const [k, v] of Object.entries(adapter2.getHeaders())) {
|
|
1918
1943
|
if (v !== void 0) headers[k] = v;
|
|
1919
1944
|
}
|
|
1920
1945
|
}
|
|
1921
|
-
const credentials = _nullishCoalesce(_nullishCoalesce(_optionalChain([adapter2, 'optionalAccess',
|
|
1946
|
+
const credentials = _nullishCoalesce(_nullishCoalesce(_optionalChain([adapter2, 'optionalAccess', _46 => _46.credentials]), () => ( init.credentials)), () => ( "same-origin"));
|
|
1922
1947
|
const response = await fetch(authedUrl, {
|
|
1923
1948
|
...init,
|
|
1924
1949
|
headers,
|
|
@@ -1929,7 +1954,7 @@ async function fetchWithRefresh(url, init, baseHeaders, isRetry) {
|
|
|
1929
1954
|
// `SameSite=None` must be configured server-side for that to work).
|
|
1930
1955
|
credentials
|
|
1931
1956
|
});
|
|
1932
|
-
if (response.status === 401 && !isRetry && _optionalChain([adapter2, 'optionalAccess',
|
|
1957
|
+
if (response.status === 401 && !isRetry && _optionalChain([adapter2, 'optionalAccess', _47 => _47.refresh])) {
|
|
1933
1958
|
const refreshed = await dedupedRefresh();
|
|
1934
1959
|
if (refreshed) {
|
|
1935
1960
|
return fetchWithRefresh(url, init, baseHeaders, true);
|
|
@@ -1953,7 +1978,7 @@ function assertSameOrigin(url) {
|
|
|
1953
1978
|
);
|
|
1954
1979
|
}
|
|
1955
1980
|
if (target.origin !== pageOrigin) {
|
|
1956
|
-
if (_optionalChain([getRegisteredAuthAdapter, 'call',
|
|
1981
|
+
if (_optionalChain([getRegisteredAuthAdapter, 'call', _48 => _48(), 'optionalAccess', _49 => _49.allowedOrigins, 'optionalAccess', _50 => _50.includes, 'call', _51 => _51(target.origin)])) {
|
|
1957
1982
|
return;
|
|
1958
1983
|
}
|
|
1959
1984
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2601,7 +2626,7 @@ function setNestedValue(obj, path, value) {
|
|
|
2601
2626
|
}
|
|
2602
2627
|
function getNestedValue(obj, path) {
|
|
2603
2628
|
return path.split(".").reduce((current, key) => {
|
|
2604
|
-
return _optionalChain([current, 'optionalAccess',
|
|
2629
|
+
return _optionalChain([current, 'optionalAccess', _52 => _52[key]]);
|
|
2605
2630
|
}, obj);
|
|
2606
2631
|
}
|
|
2607
2632
|
function mergeVariables(currentVariables, updates, schema) {
|
|
@@ -3376,7 +3401,7 @@ function useNearViewport(rootMargin = NEAR_VIEWPORT_ROOT_MARGIN, threshold = 0)
|
|
|
3376
3401
|
const stillOurs = subscribers.get(prev);
|
|
3377
3402
|
if (stillOurs) {
|
|
3378
3403
|
subscribers.delete(prev);
|
|
3379
|
-
_optionalChain([observers, 'access',
|
|
3404
|
+
_optionalChain([observers, 'access', _53 => _53.get, 'call', _54 => _54(key), 'optionalAccess', _55 => _55.unobserve, 'call', _56 => _56(prev)]);
|
|
3380
3405
|
}
|
|
3381
3406
|
}
|
|
3382
3407
|
elRef.current = node;
|
|
@@ -3393,7 +3418,7 @@ function useNearViewport(rootMargin = NEAR_VIEWPORT_ROOT_MARGIN, threshold = 0)
|
|
|
3393
3418
|
if (!el) return;
|
|
3394
3419
|
if (subscribers.get(el)) {
|
|
3395
3420
|
subscribers.delete(el);
|
|
3396
|
-
_optionalChain([observers, 'access',
|
|
3421
|
+
_optionalChain([observers, 'access', _57 => _57.get, 'call', _58 => _58(key), 'optionalAccess', _59 => _59.unobserve, 'call', _60 => _60(el)]);
|
|
3397
3422
|
}
|
|
3398
3423
|
};
|
|
3399
3424
|
}, [key]);
|
|
@@ -3508,8 +3533,8 @@ function useAccessCodeIntegration() {
|
|
|
3508
3533
|
// src/utils/og-placeholder.ts
|
|
3509
3534
|
var DEFAULT_OG_PLACEHOLDER_PATH = "/api/og-placeholder";
|
|
3510
3535
|
function resolveOgPlaceholderBase(endpoints) {
|
|
3511
|
-
if (_optionalChain([endpoints, 'optionalAccess',
|
|
3512
|
-
const imageProxy = _optionalChain([endpoints, 'optionalAccess',
|
|
3536
|
+
if (_optionalChain([endpoints, 'optionalAccess', _61 => _61.ogPlaceholderUrl])) return endpoints.ogPlaceholderUrl;
|
|
3537
|
+
const imageProxy = _optionalChain([endpoints, 'optionalAccess', _62 => _62.imageProxyUrlPrefix]);
|
|
3513
3538
|
if (imageProxy) {
|
|
3514
3539
|
const derived = imageProxy.replace(/\/image-proxy(?=$|[?/])/, "/og-placeholder");
|
|
3515
3540
|
if (derived !== imageProxy) return derived;
|
|
@@ -3537,7 +3562,7 @@ function useOgPlaceholderUrl({
|
|
|
3537
3562
|
aspect = "wide",
|
|
3538
3563
|
enabled = true
|
|
3539
3564
|
}) {
|
|
3540
|
-
const endpoints = _optionalChain([_chunkLILQJ3UZcjs.useChatRuntime.call(void 0, ), 'optionalAccess',
|
|
3565
|
+
const endpoints = _optionalChain([_chunkLILQJ3UZcjs.useChatRuntime.call(void 0, ), 'optionalAccess', _63 => _63.endpoints]);
|
|
3541
3566
|
return _react.useMemo.call(void 0, () => {
|
|
3542
3567
|
if (!enabled || !title) return null;
|
|
3543
3568
|
return buildOgPlaceholderUrl(endpoints, title, { site: siteName || void 0, aspect });
|
|
@@ -3682,7 +3707,7 @@ function navigateSamePageHash(target, options = {}) {
|
|
|
3682
3707
|
// src/hooks/use-scroll-to-hash.ts
|
|
3683
3708
|
var MAX_POLL_FRAMES = 60;
|
|
3684
3709
|
function useScrollToHash(readyDep = true, options) {
|
|
3685
|
-
const headerOffset = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3710
|
+
const headerOffset = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _64 => _64.headerOffset]), () => ( 0));
|
|
3686
3711
|
_react.useEffect.call(void 0, () => {
|
|
3687
3712
|
if (typeof window === "undefined") return;
|
|
3688
3713
|
if (readyDep === null || readyDep === false) return;
|
|
@@ -3743,7 +3768,7 @@ function evaluateHumanitySignals(body, opts) {
|
|
|
3743
3768
|
if (elapsedMs !== null && elapsedMs < opts.minFillMs) return { ok: false, reason: "too_fast" };
|
|
3744
3769
|
return { ok: true };
|
|
3745
3770
|
}
|
|
3746
|
-
var splitCsvEnv = (s) => _nullishCoalesce(_optionalChain([s, 'optionalAccess',
|
|
3771
|
+
var splitCsvEnv = (s) => _nullishCoalesce(_optionalChain([s, 'optionalAccess', _65 => _65.split, 'call', _66 => _66(","), 'access', _67 => _67.map, 'call', _68 => _68((t) => t.trim()), 'access', _69 => _69.filter, 'call', _70 => _70(Boolean)]), () => ( []));
|
|
3747
3772
|
|
|
3748
3773
|
// src/hooks/use-humanity-signals.ts
|
|
3749
3774
|
function useHumanitySignals() {
|
|
@@ -3751,7 +3776,7 @@ function useHumanitySignals() {
|
|
|
3751
3776
|
const mountedAt = _react.useRef.call(void 0, typeof performance !== "undefined" ? performance.now() : 0);
|
|
3752
3777
|
const getSignals = _react.useCallback.call(void 0,
|
|
3753
3778
|
() => ({
|
|
3754
|
-
[HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access',
|
|
3779
|
+
[HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _71 => _71.current, 'optionalAccess', _72 => _72.value]), () => ( "")),
|
|
3755
3780
|
[ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - mountedAt.current) : 0
|
|
3756
3781
|
}),
|
|
3757
3782
|
[]
|
|
@@ -3884,5 +3909,6 @@ function useHumanitySignals() {
|
|
|
3884
3909
|
|
|
3885
3910
|
|
|
3886
3911
|
|
|
3887
|
-
|
|
3888
|
-
|
|
3912
|
+
|
|
3913
|
+
exports.useAutoLimitTags = useAutoLimitTags; exports.useDebounce = useDebounce; exports.useDeferredError = useDeferredError; exports.useFocusTrap = useFocusTrap; exports.useHeaderHeight = useHeaderHeight; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useIsTruncated = useIsTruncated; exports.useLocalStorage = useLocalStorage; exports.useMarqueeEngine = useMarqueeEngine; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useResetOnPageHidden = useResetOnPageHidden; exports.useSearch = useSearch; exports.useSuppressCloneFocus = useSuppressCloneFocus; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.usePreventScroll = _overlays.usePreventScroll; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.createLocalStorageAdapter = createLocalStorageAdapter; exports.getAppType = getAppType; exports.getEmbedProxyAuth = getEmbedProxyAuth; exports.getPersistedProxyEmail = getPersistedProxyEmail; exports.setEmbedProxyAuth = setEmbedProxyAuth; exports.clearEmbedProxyAuth = clearEmbedProxyAuth; exports.applyProxyAuth = applyProxyAuth; exports.setEmbedAuthAdapter = setEmbedAuthAdapter; exports.embedAuthedFetch = embedAuthedFetch; exports.contentFetch = contentFetch; exports.useContactSubmission = useContactSubmission; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.clearAuthedImageCache = clearAuthedImageCache; exports.useAuthedImageSrc = useAuthedImageSrc; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.NEAR_VIEWPORT_ROOT_MARGIN = NEAR_VIEWPORT_ROOT_MARGIN; exports.useNearViewport = useNearViewport; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.buildOgPlaceholderUrl = buildOgPlaceholderUrl; exports.useOgPlaceholderUrl = useOgPlaceholderUrl; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.navigateSamePageHash = navigateSamePageHash; exports.useScrollToHash = useScrollToHash; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.extractHumanitySignals = extractHumanitySignals; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.useHumanitySignals = useHumanitySignals;
|
|
3914
|
+
//# sourceMappingURL=chunk-TTYJAZ7P.cjs.map
|