@sixb/app 0.2.1 → 0.2.3
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/agent/agent-chat.d.ts +9 -2
- package/dist/agent/agent-chat.d.ts.map +1 -1
- package/dist/agent/agent-panel.d.ts +9 -1
- package/dist/agent/agent-panel.d.ts.map +1 -1
- package/dist/agent/agent-surface.d.ts.map +1 -1
- package/dist/agent/artifact-card.d.ts +3 -1
- package/dist/agent/artifact-card.d.ts.map +1 -1
- package/dist/agent/artifact-panel.d.ts +7 -1
- package/dist/agent/artifact-panel.d.ts.map +1 -1
- package/dist/agent/components/composer-place.d.ts +3 -1
- package/dist/agent/components/composer-place.d.ts.map +1 -1
- package/dist/agent/components/composer.d.ts +20 -1
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/context-chips.d.ts.map +1 -1
- package/dist/agent/components/context-meter.d.ts +1 -1
- package/dist/agent/components/conversation-panel.d.ts +3 -1
- package/dist/agent/components/conversation-panel.d.ts.map +1 -1
- package/dist/agent/components/message-parts.d.ts +3 -1
- package/dist/agent/components/message-parts.d.ts.map +1 -1
- package/dist/agent/components/thread-artifacts-menu.d.ts.map +1 -1
- package/dist/agent/composer-insertion.d.ts +24 -0
- package/dist/agent/composer-insertion.d.ts.map +1 -0
- package/dist/agent/delegation/use-children.d.ts +5 -5
- package/dist/agent/delegation/use-children.d.ts.map +1 -1
- package/dist/agent/hooks/use-agent-conversation.d.ts +10 -4
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-new-thread-place.d.ts +39 -17
- package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -1
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
- package/dist/agent/i18n/en.d.ts +14 -0
- package/dist/agent/i18n/en.d.ts.map +1 -1
- package/dist/agent/i18n/fr.d.ts.map +1 -1
- package/dist/agent/i18n/index.d.ts +20 -0
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/publish-artifact/interpret.d.ts +8 -2
- package/dist/agent/publish-artifact/interpret.d.ts.map +1 -1
- package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts +9 -0
- package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts.map +1 -0
- package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts +4 -2
- package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts.map +1 -1
- package/dist/agent/publish-artifact/use-live-publishes.d.ts +3 -3
- package/dist/agent/publish-artifact/use-live-publishes.d.ts.map +1 -1
- package/dist/agent/tool-views/built-in.d.ts.map +1 -1
- package/dist/agent/types.d.ts +3 -1
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/artifacts/artifact-page.d.ts.map +1 -1
- package/dist/artifacts/artifact-viewer.d.ts +16 -0
- package/dist/artifacts/artifact-viewer.d.ts.map +1 -0
- package/dist/artifacts/card-details.d.ts +1 -1
- package/dist/artifacts/card-details.d.ts.map +1 -1
- package/dist/artifacts/card-preview.d.ts.map +1 -1
- package/dist/artifacts/comments-context.d.ts +48 -0
- package/dist/artifacts/comments-context.d.ts.map +1 -0
- package/dist/artifacts/edit-session.d.ts +6 -6
- package/dist/artifacts/edit-session.d.ts.map +1 -1
- package/dist/artifacts/file-source.d.ts.map +1 -1
- package/dist/artifacts/frame.d.ts +10 -2
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/artifacts/guest-badge.d.ts +8 -0
- package/dist/artifacts/guest-badge.d.ts.map +1 -0
- package/dist/artifacts/held-artifact.d.ts +19 -0
- package/dist/artifacts/held-artifact.d.ts.map +1 -0
- package/dist/artifacts/holders.d.ts +10 -0
- package/dist/artifacts/holders.d.ts.map +1 -0
- package/dist/artifacts/live/boards.d.ts +15 -0
- package/dist/artifacts/live/boards.d.ts.map +1 -0
- package/dist/artifacts/live/canvas.d.ts +79 -0
- package/dist/artifacts/live/canvas.d.ts.map +1 -0
- package/dist/artifacts/live/header.d.ts +29 -0
- package/dist/artifacts/live/header.d.ts.map +1 -0
- package/dist/artifacts/live/hooks.d.ts +21 -0
- package/dist/artifacts/live/hooks.d.ts.map +1 -0
- package/dist/artifacts/live/presence.d.ts +32 -0
- package/dist/artifacts/live/presence.d.ts.map +1 -0
- package/dist/artifacts/live/session.d.ts +130 -0
- package/dist/artifacts/live/session.d.ts.map +1 -0
- package/dist/artifacts/live/view.d.ts +28 -0
- package/dist/artifacts/live/view.d.ts.map +1 -0
- package/dist/artifacts/messages.d.ts +424 -14
- package/dist/artifacts/messages.d.ts.map +1 -1
- package/dist/artifacts/page-queries.d.ts +2 -2
- package/dist/artifacts/page-queries.d.ts.map +1 -1
- package/dist/artifacts/page-state.d.ts.map +1 -1
- package/dist/artifacts/publish-edit.d.ts +24 -14
- package/dist/artifacts/publish-edit.d.ts.map +1 -1
- package/dist/artifacts/queries.d.ts +490 -9
- package/dist/artifacts/queries.d.ts.map +1 -1
- package/dist/artifacts/references/references.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/arrows.d.ts +0 -18
- package/dist/artifacts/renderers/canvas/arrows.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/board-editor.d.ts +43 -0
- package/dist/artifacts/renderers/canvas/board-editor.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board-properties.d.ts +37 -0
- package/dist/artifacts/renderers/canvas/board-properties.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board-source.d.ts +18 -0
- package/dist/artifacts/renderers/canvas/board-source.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board.d.ts +64 -19
- package/dist/artifacts/renderers/canvas/board.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/canvas.d.ts +13 -4
- package/dist/artifacts/renderers/canvas/canvas.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/comment-pins.d.ts +84 -0
- package/dist/artifacts/renderers/canvas/comment-pins.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/commenting.d.ts +58 -0
- package/dist/artifacts/renderers/canvas/commenting.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/comments-panel.d.ts +27 -0
- package/dist/artifacts/renderers/canvas/comments-panel.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/comments.d.ts +56 -0
- package/dist/artifacts/renderers/canvas/comments.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/draft.d.ts +7 -6
- package/dist/artifacts/renderers/canvas/draft.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/edit-mode.d.ts +19 -2
- package/dist/artifacts/renderers/canvas/edit-mode.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/focus.d.ts +40 -5
- package/dist/artifacts/renderers/canvas/focus.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/items.d.ts +47 -4
- package/dist/artifacts/renderers/canvas/items.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/layout.d.ts +5 -8
- package/dist/artifacts/renderers/canvas/layout.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/presence.d.ts +21 -0
- package/dist/artifacts/renderers/canvas/presence.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/previews.d.ts +54 -0
- package/dist/artifacts/renderers/canvas/previews.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/renderer.d.ts +11 -2
- package/dist/artifacts/renderers/canvas/renderer.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/thumbnail.d.ts +5 -2
- package/dist/artifacts/renderers/canvas/thumbnail.d.ts.map +1 -1
- package/dist/artifacts/version-menu.d.ts +19 -0
- package/dist/artifacts/version-menu.d.ts.map +1 -0
- package/dist/artifacts/view-context.d.ts +43 -0
- package/dist/artifacts/view-context.d.ts.map +1 -0
- package/dist/artifacts/viewer.d.ts.map +1 -1
- package/dist/build.d.ts +5 -0
- package/dist/build.d.ts.map +1 -1
- package/dist/{chunk-ytadd0b5.js → chunk-001c4gnk.js} +6871 -3756
- package/dist/chunk-001c4gnk.js.map +204 -0
- package/dist/chunk-00wggsst.js +7 -0
- package/dist/chunk-00wggsst.js.map +10 -0
- package/dist/chunk-5crvhjp2.js +4704 -0
- package/dist/chunk-5crvhjp2.js.map +28 -0
- package/dist/{chunk-q69001w3.js → chunk-694m74s7.js} +7 -1
- package/dist/{chunk-q69001w3.js.map → chunk-694m74s7.js.map} +3 -3
- package/dist/{chunk-4mprsd2n.js → chunk-fg6thecb.js} +25 -1
- package/dist/chunk-fg6thecb.js.map +10 -0
- package/dist/{chunk-j8g956dt.js → chunk-fwb9mxwm.js} +1 -1
- package/dist/{chunk-7fj9cfkw.js → chunk-kes4ygmz.js} +1 -1
- package/dist/{chunk-kwbw4dyk.js → chunk-ryed2jq8.js} +1 -1
- package/dist/codegen.d.ts.map +1 -1
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +930 -309
- package/dist/index.js.map +15 -10
- package/dist/locale-messages.d.ts +12 -0
- package/dist/locale-messages.d.ts.map +1 -1
- package/dist/locale.d.ts +12 -0
- package/dist/locale.d.ts.map +1 -1
- package/dist/locale.js +1 -1
- package/dist/metadata.d.ts +8 -0
- package/dist/metadata.d.ts.map +1 -1
- package/dist/pages/console/action-run.d.ts.map +1 -1
- package/dist/pages/console/data/connectors.d.ts.map +1 -1
- package/dist/pages/console/data/datasets.d.ts.map +1 -1
- package/dist/pages/console/data/lake-health.d.ts +3 -0
- package/dist/pages/console/data/lake-health.d.ts.map +1 -0
- package/dist/pages/console/data/messages.d.ts +98 -2
- package/dist/pages/console/data/messages.d.ts.map +1 -1
- package/dist/pages/console/data/pipelines.d.ts.map +1 -1
- package/dist/pages/console/data/projections.d.ts.map +1 -1
- package/dist/pages/console/data/syncs.d.ts.map +1 -1
- package/dist/pages/console/ontology/action-runs.d.ts.map +1 -1
- package/dist/pages/console/ontology/actions.d.ts.map +1 -1
- package/dist/pages/console/ontology/components/action-button.d.ts.map +1 -1
- package/dist/pages/console/ontology/components/artifact-picker.d.ts +36 -0
- package/dist/pages/console/ontology/components/artifact-picker.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/object-query-bar.d.ts.map +1 -1
- package/dist/pages/console/ontology/lib/action-params.d.ts +2 -0
- package/dist/pages/console/ontology/lib/action-params.d.ts.map +1 -1
- package/dist/pages/console/ontology/lineage/properties-panel.d.ts +2 -1
- package/dist/pages/console/ontology/lineage/properties-panel.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-page.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-type.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-types.d.ts.map +1 -1
- package/dist/pages/console/ontology/objects.d.ts.map +1 -1
- package/dist/pages/console/ontology/rules.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflow.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows/run-input-form.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows/schema-shape.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows.d.ts.map +1 -1
- package/dist/pages/console/skeletons.d.ts +30 -0
- package/dist/pages/console/skeletons.d.ts.map +1 -0
- package/dist/pages/console/workflow-run.d.ts.map +1 -1
- package/dist/pages/section-page.d.ts +11 -1
- package/dist/pages/section-page.d.ts.map +1 -1
- package/dist/pages/section-ui.d.ts +25 -3
- package/dist/pages/section-ui.d.ts.map +1 -1
- package/dist/pages/settings/activity/calendar.d.ts.map +1 -1
- package/dist/pages/settings/activity/connections.d.ts.map +1 -1
- package/dist/pages/settings/activity/page.d.ts.map +1 -1
- package/dist/pages/settings/activity/thread.d.ts.map +1 -1
- package/dist/pages/settings/activity/timeline.d.ts +2 -0
- package/dist/pages/settings/activity/timeline.d.ts.map +1 -1
- package/dist/pages/settings/controls.d.ts +4 -0
- package/dist/pages/settings/controls.d.ts.map +1 -1
- package/dist/pages/settings/members.d.ts.map +1 -1
- package/dist/pages/settings/memory-history.d.ts +2 -0
- package/dist/pages/settings/memory-history.d.ts.map +1 -1
- package/dist/pages/settings/memory.d.ts.map +1 -1
- package/dist/pages/settings/service-accounts.d.ts.map +1 -1
- package/dist/pages/settings/sessions.d.ts.map +1 -1
- package/dist/pages/settings/usage/breakdown.d.ts.map +1 -1
- package/dist/pages/settings/usage/limits.d.ts.map +1 -1
- package/dist/pages/settings/usage/messages.d.ts +0 -2
- package/dist/pages/settings/usage/messages.d.ts.map +1 -1
- package/dist/pages/settings/usage/runs.d.ts +8 -2
- package/dist/pages/settings/usage/runs.d.ts.map +1 -1
- package/dist/pages/settings/usage/spend-chart.d.ts.map +1 -1
- package/dist/pages/settings/usage/spend-model.d.ts +5 -0
- package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
- package/dist/pages/values.d.ts +6 -0
- package/dist/pages/values.d.ts.map +1 -1
- package/dist/pages.d.ts +4 -0
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +8188 -4841
- package/dist/pages.js.map +56 -47
- package/dist/sections/catalog.d.ts.map +1 -1
- package/dist/sections/sections.d.ts.map +1 -1
- package/dist/server.js +294 -23
- package/dist/server.js.map +8 -7
- package/dist/service-worker.d.ts +39 -0
- package/dist/service-worker.d.ts.map +1 -0
- package/dist/shared-session.d.ts +25 -0
- package/dist/shared-session.d.ts.map +1 -0
- package/dist/shell/app-return.d.ts +35 -0
- package/dist/shell/app-return.d.ts.map +1 -0
- package/dist/shell/app-shell.d.ts +1 -1
- package/dist/shell/app-shell.d.ts.map +1 -1
- package/dist/shell/nav-items.d.ts +2 -0
- package/dist/shell/nav-items.d.ts.map +1 -1
- package/dist/shell/phone/back.d.ts +6 -0
- package/dist/shell/phone/back.d.ts.map +1 -0
- package/dist/shell/phone/launch.d.ts +7 -0
- package/dist/shell/phone/launch.d.ts.map +1 -0
- package/dist/shell/phone/more-sheet.d.ts +36 -0
- package/dist/shell/phone/more-sheet.d.ts.map +1 -0
- package/dist/shell/phone/phone-foundations.d.ts +9 -0
- package/dist/shell/phone/phone-foundations.d.ts.map +1 -0
- package/dist/shell/phone/pull-to-refresh.d.ts +9 -0
- package/dist/shell/phone/pull-to-refresh.d.ts.map +1 -0
- package/dist/shell/phone/routes.d.ts +12 -0
- package/dist/shell/phone/routes.d.ts.map +1 -0
- package/dist/shell/phone/screen-motion.d.ts +11 -0
- package/dist/shell/phone/screen-motion.d.ts.map +1 -0
- package/dist/shell/phone/scroll-restoration.d.ts +7 -0
- package/dist/shell/phone/scroll-restoration.d.ts.map +1 -0
- package/dist/shell/phone/startup-image.d.ts +17 -0
- package/dist/shell/phone/startup-image.d.ts.map +1 -0
- package/dist/shell/phone/tab-bar.d.ts +14 -0
- package/dist/shell/phone/tab-bar.d.ts.map +1 -0
- package/dist/shell/phone/top-bar.d.ts +24 -0
- package/dist/shell/phone/top-bar.d.ts.map +1 -0
- package/dist/shell/search-command.d.ts +3 -1
- package/dist/shell/search-command.d.ts.map +1 -1
- package/dist/shell/user-menu.d.ts +2 -0
- package/dist/shell/user-menu.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/agent/agent-chat.tsx +51 -8
- package/src/agent/agent-panel.tsx +12 -0
- package/src/agent/agent-surface.tsx +4 -0
- package/src/agent/artifact-card.tsx +84 -16
- package/src/agent/artifact-panel.tsx +63 -43
- package/src/agent/components/agent-message-body.tsx +1 -1
- package/src/agent/components/composer-place.tsx +77 -53
- package/src/agent/components/composer.tsx +92 -7
- package/src/agent/components/context-chips.tsx +72 -2
- package/src/agent/components/conversation-panel.tsx +3 -2
- package/src/agent/components/message-parts.tsx +6 -1
- package/src/agent/components/thread-artifacts-menu.tsx +22 -5
- package/src/agent/composer-insertion.ts +36 -0
- package/src/agent/hooks/use-agent-conversation.ts +41 -10
- package/src/agent/hooks/use-new-thread-place.ts +149 -25
- package/src/agent/i18n/en.ts +14 -0
- package/src/agent/i18n/fr.ts +12 -0
- package/src/agent/publish-artifact/interpret.ts +27 -5
- package/src/agent/publish-artifact/open-artifact-tool-view.tsx +49 -0
- package/src/agent/publish-artifact/publish-artifact-tool-view.tsx +14 -8
- package/src/agent/publish-artifact/use-live-publishes.ts +7 -11
- package/src/agent/react-router.tsx +2 -2
- package/src/agent/tool-views/built-in.tsx +3 -0
- package/src/agent/types.ts +4 -0
- package/src/artifacts/artifact-page.tsx +42 -17
- package/src/artifacts/artifact-viewer.tsx +56 -0
- package/src/artifacts/artifacts.css +80 -0
- package/src/artifacts/card-details.ts +2 -2
- package/src/artifacts/card-preview.tsx +17 -3
- package/src/artifacts/comments-context.ts +125 -0
- package/src/artifacts/edit-session.tsx +6 -6
- package/src/artifacts/file-source.ts +10 -3
- package/src/artifacts/frame.tsx +50 -12
- package/src/artifacts/gallery.tsx +9 -11
- package/src/artifacts/guest-badge.tsx +21 -0
- package/src/artifacts/held-artifact.tsx +241 -0
- package/src/artifacts/holders.tsx +170 -0
- package/src/artifacts/live/boards.ts +95 -0
- package/src/artifacts/live/canvas.ts +402 -0
- package/src/artifacts/live/header.tsx +137 -0
- package/src/artifacts/live/hooks.ts +94 -0
- package/src/artifacts/live/presence.ts +147 -0
- package/src/artifacts/live/session.ts +520 -0
- package/src/artifacts/live/view.ts +81 -0
- package/src/artifacts/messages.ts +415 -24
- package/src/artifacts/page-queries.ts +2 -3
- package/src/artifacts/page-state.ts +16 -7
- package/src/artifacts/publish-edit.ts +50 -22
- package/src/artifacts/queries.ts +108 -10
- package/src/artifacts/references/references.tsx +6 -9
- package/src/artifacts/renderers/canvas/arrows.tsx +12 -39
- package/src/artifacts/renderers/canvas/board-editor.tsx +817 -0
- package/src/artifacts/renderers/canvas/board-properties.tsx +488 -0
- package/src/artifacts/renderers/canvas/board-source.ts +110 -0
- package/src/artifacts/renderers/canvas/board.tsx +309 -33
- package/src/artifacts/renderers/canvas/canvas.tsx +387 -72
- package/src/artifacts/renderers/canvas/comment-pins.tsx +465 -0
- package/src/artifacts/renderers/canvas/commenting.tsx +319 -0
- package/src/artifacts/renderers/canvas/comments-panel.tsx +574 -0
- package/src/artifacts/renderers/canvas/comments.ts +225 -0
- package/src/artifacts/renderers/canvas/draft.ts +41 -50
- package/src/artifacts/renderers/canvas/edit-mode.tsx +145 -20
- package/src/artifacts/renderers/canvas/focus.tsx +175 -24
- package/src/artifacts/renderers/canvas/items.tsx +179 -52
- package/src/artifacts/renderers/canvas/layout.ts +99 -47
- package/src/artifacts/renderers/canvas/presence.tsx +184 -0
- package/src/artifacts/renderers/canvas/previews.ts +127 -0
- package/src/artifacts/renderers/canvas/renderer.tsx +87 -22
- package/src/artifacts/renderers/canvas/thumbnail.tsx +56 -15
- package/src/artifacts/renderers/canvas/toolbar.tsx +1 -1
- package/src/artifacts/renderers/slides/slides.tsx +1 -1
- package/src/artifacts/version-menu.tsx +438 -0
- package/src/artifacts/view-context.ts +102 -0
- package/src/artifacts/viewer.tsx +205 -147
- package/src/build.ts +96 -11
- package/src/codegen.ts +83 -5
- package/src/createCustomApp.ts +20 -7
- package/src/index.ts +12 -0
- package/src/locale-messages.ts +24 -0
- package/src/metadata.ts +12 -0
- package/src/pages/console/action-run.tsx +20 -0
- package/src/pages/console/data/connectors.tsx +27 -3
- package/src/pages/console/data/datasets.tsx +30 -1
- package/src/pages/console/data/lake-health.tsx +299 -0
- package/src/pages/console/data/messages.ts +143 -2
- package/src/pages/console/data/pipelines.tsx +91 -3
- package/src/pages/console/data/projections.tsx +23 -4
- package/src/pages/console/data/syncs.tsx +39 -2
- package/src/pages/console/ontology/action-runs.tsx +8 -2
- package/src/pages/console/ontology/actions.tsx +39 -15
- package/src/pages/console/ontology/components/action-button.tsx +10 -0
- package/src/pages/console/ontology/components/artifact-picker.tsx +522 -0
- package/src/pages/console/ontology/components/object-query-bar.tsx +21 -5
- package/src/pages/console/ontology/lib/action-params.ts +10 -0
- package/src/pages/console/ontology/lineage/properties-panel.tsx +32 -24
- package/src/pages/console/ontology/object-page.tsx +2 -0
- package/src/pages/console/ontology/object-type.tsx +73 -14
- package/src/pages/console/ontology/object-types.tsx +56 -7
- package/src/pages/console/ontology/objects.tsx +167 -19
- package/src/pages/console/ontology/rules.tsx +186 -30
- package/src/pages/console/ontology/workflow.tsx +130 -74
- package/src/pages/console/ontology/workflows/run-input-form.tsx +21 -2
- package/src/pages/console/ontology/workflows/schema-shape.tsx +3 -0
- package/src/pages/console/ontology/workflows.tsx +34 -21
- package/src/pages/console/skeletons.tsx +99 -0
- package/src/pages/console/workflow-run.tsx +20 -0
- package/src/pages/section-page.tsx +37 -7
- package/src/pages/section-ui.tsx +96 -13
- package/src/pages/settings/activity/calendar.tsx +13 -6
- package/src/pages/settings/activity/connections.tsx +26 -9
- package/src/pages/settings/activity/page.tsx +31 -4
- package/src/pages/settings/activity/thread.tsx +32 -18
- package/src/pages/settings/activity/timeline.tsx +39 -0
- package/src/pages/settings/controls.tsx +19 -1
- package/src/pages/settings/developers.tsx +2 -2
- package/src/pages/settings/members.tsx +42 -9
- package/src/pages/settings/memory-history.tsx +76 -10
- package/src/pages/settings/memory.tsx +47 -5
- package/src/pages/settings/service-accounts.tsx +7 -2
- package/src/pages/settings/sessions.tsx +6 -2
- package/src/pages/settings/usage/breakdown.tsx +62 -2
- package/src/pages/settings/usage/limits.tsx +45 -3
- package/src/pages/settings/usage/messages.ts +0 -2
- package/src/pages/settings/usage/page.tsx +99 -52
- package/src/pages/settings/usage/runs.tsx +105 -8
- package/src/pages/settings/usage/spend-chart.tsx +79 -45
- package/src/pages/settings/usage/spend-model.ts +16 -0
- package/src/pages/values.tsx +72 -6
- package/src/pages.ts +4 -0
- package/src/sections/catalog.ts +6 -0
- package/src/sections/sections.tsx +2 -0
- package/src/service-worker.ts +176 -0
- package/src/shared-session.ts +73 -0
- package/src/shell/app-return.ts +115 -0
- package/src/shell/app-shell.tsx +125 -27
- package/src/shell/nav-items.tsx +2 -0
- package/src/shell/phone/back.ts +16 -0
- package/src/shell/phone/launch.ts +6 -0
- package/src/shell/phone/more-sheet.tsx +249 -0
- package/src/shell/phone/phone-foundations.tsx +43 -0
- package/src/shell/phone/phone.css +660 -0
- package/src/shell/phone/pull-to-refresh.tsx +201 -0
- package/src/shell/phone/routes.ts +34 -0
- package/src/shell/phone/screen-motion.ts +292 -0
- package/src/shell/phone/scroll-restoration.tsx +70 -0
- package/src/shell/phone/startup-image.ts +119 -0
- package/src/shell/phone/tab-bar.tsx +95 -0
- package/src/shell/phone/top-bar.tsx +195 -0
- package/src/shell/search-command.tsx +30 -14
- package/src/shell/user-menu.tsx +2 -1
- package/dist/chunk-4j3c3p72.js +0 -1487
- package/dist/chunk-4j3c3p72.js.map +0 -18
- package/dist/chunk-4mprsd2n.js.map +0 -10
- package/dist/chunk-ytadd0b5.js.map +0 -188
- /package/dist/{chunk-j8g956dt.js.map → chunk-fwb9mxwm.js.map} +0 -0
- /package/dist/{chunk-7fj9cfkw.js.map → chunk-kes4ygmz.js.map} +0 -0
- /package/dist/{chunk-kwbw4dyk.js.map → chunk-ryed2jq8.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/sections/catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,CAAA;AAEjD,qEAAqE;AACrE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,MAAM,GACN,SAAS,GACT,iBAAiB,GACjB,OAAO,GACP,UAAU,CAAA;AAEd,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gDAAgD;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,wFAAwF;IACxF,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,4EAA4E;IAC5E,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACpF,2FAA2F;IAC3F,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACvC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,YAAY,CAAA;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gFAAgF;IAChF,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,sFAAsF;IACtF,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,2FAA2F;IAC3F,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAAqB,EAAE,CAAA;CACjD;AAED,eAAO,MAAM,cAAc,EAAE,SAAS,iBAAiB,
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/sections/catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,CAAA;AAEjD,qEAAqE;AACrE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,MAAM,GACN,SAAS,GACT,iBAAiB,GACjB,OAAO,GACP,UAAU,CAAA;AAEd,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gDAAgD;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,wFAAwF;IACxF,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,4EAA4E;IAC5E,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACpF,2FAA2F;IAC3F,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACvC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,YAAY,CAAA;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gFAAgF;IAChF,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,sFAAsF;IACtF,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,2FAA2F;IAC3F,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAAqB,EAAE,CAAA;CACjD;AAED,eAAO,MAAM,cAAc,EAAE,SAAS,iBAAiB,EAiKtD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/sections/sections.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/sections/sections.tsx"],"names":[],"mappings":"AAuBA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAId,OAAO,EAAiB,KAAK,QAAQ,EAAgB,MAAM,oBAAoB,CAAA;AAC/E,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAE3B,MAAM,WAAW,CAAA;AAElB,sFAAsF;AACtF,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,YAAY,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,qDAAqD;IACrD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC7D,wCAAwC;IACxC,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAA;CACpC;AAMD,MAAM,WAAW,qBAAqB;IACpC,yEAAyE;IACzE,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B;AAED,4EAA4E;AAC5E,wBAAgB,gBAAgB,CAAC,EAAE,OAAc,EAAE,QAAQ,EAAE,EAAE,qBAAqB,+BAEnF;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,UAAU,EAAE,iBAAiB,CAAA;IACtC,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAAqB,EAAE,CAAA;CACjD;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,CAAA;IAChE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B,GAAG,SAAS,WAAW,EAAE,CAUzB;AAED,qFAAqF;AACrF,wBAAgB,cAAc,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAE7D;AAED,oFAAoF;AACpF,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,SAAS,WAAW,EAAE,CAQxD;AA6BD;;;GAGG;AACH,wBAAgB,WAAW,IAAI,SAAS,UAAU,EAAE,CAwCnD;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,UAAU,GAAG,IAAI,CAGrD;AAwBD,+DAA+D;AAC/D,wBAAgB,qBAAqB,IAAI,IAAI,CAS5C;AAED,yFAAyF;AACzF,wBAAgB,oBAAoB,IAAI,OAAO,CAM9C"}
|
package/dist/server.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
LAUNCH_ICON_SIZE
|
|
4
|
+
} from "./chunk-00wggsst.js";
|
|
2
5
|
import {
|
|
3
6
|
agentToolViews,
|
|
4
7
|
sectionCatalog
|
|
5
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-694m74s7.js";
|
|
6
9
|
import {
|
|
7
10
|
en,
|
|
8
11
|
fr
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-fg6thecb.js";
|
|
10
13
|
|
|
11
14
|
// src/createCustomApp.ts
|
|
12
15
|
import { randomBytes } from "crypto";
|
|
@@ -16,6 +19,7 @@ import { dirname as dirname4, isAbsolute, join as join7, normalize, relative as
|
|
|
16
19
|
import { pathToFileURL as pathToFileURL2 } from "url";
|
|
17
20
|
|
|
18
21
|
// src/build.ts
|
|
22
|
+
import { createHash } from "crypto";
|
|
19
23
|
import { existsSync } from "fs";
|
|
20
24
|
import { copyFile, mkdir, readFile, rm, writeFile } from "fs/promises";
|
|
21
25
|
import { basename, dirname, join, resolve } from "path";
|
|
@@ -25,6 +29,145 @@ import {
|
|
|
25
29
|
gzip as gzipCallback,
|
|
26
30
|
constants as zlibConstants
|
|
27
31
|
} from "zlib";
|
|
32
|
+
|
|
33
|
+
// src/service-worker.ts
|
|
34
|
+
var SERVICE_WORKER_PATH = "/sixb-service-worker.js";
|
|
35
|
+
var RESERVED_PATH_PREFIXES = ["/api", "/auth", "/ws", "/docs", "/shared"];
|
|
36
|
+
var IMMUTABLE_ASSET_PATTERN = /^(?:(?:app|shared|chunk)-[a-z0-9]+|(?:chunk|asset)-.+-[a-z0-9]+)\.[a-z0-9]+(?:\.map)?$/;
|
|
37
|
+
var NAVIGATION_TIMEOUT_MS = 3000;
|
|
38
|
+
function renderServiceWorker(options) {
|
|
39
|
+
return `// Generated by Sixb: the app's service worker. See @sixb/app's service-worker.ts.
|
|
40
|
+
const CACHE_PREFIX = "sixb-app-"
|
|
41
|
+
const CACHE = CACHE_PREFIX + ${JSON.stringify(options.version)}
|
|
42
|
+
const SHELL = "/"
|
|
43
|
+
const ENTRY = ${JSON.stringify(options.entry)}
|
|
44
|
+
const PRECACHE = ${JSON.stringify(options.precache)}
|
|
45
|
+
const RESERVED = ${JSON.stringify(RESERVED_PATH_PREFIXES)}
|
|
46
|
+
const IMMUTABLE = ${IMMUTABLE_ASSET_PATTERN.toString()}
|
|
47
|
+
const NAVIGATION_TIMEOUT_MS = ${NAVIGATION_TIMEOUT_MS}
|
|
48
|
+
|
|
49
|
+
self.addEventListener("install", (event) => {
|
|
50
|
+
// Best effort: a file that fails to save is saved when the app next loads it.
|
|
51
|
+
event.waitUntil(
|
|
52
|
+
caches
|
|
53
|
+
.open(CACHE)
|
|
54
|
+
.then((cache) =>
|
|
55
|
+
Promise.allSettled([
|
|
56
|
+
fetch(new Request(SHELL, { cache: "reload" })).then((response) => saveShell(cache, response)),
|
|
57
|
+
// The page has just loaded these, so most come from the browser's cache.
|
|
58
|
+
...PRECACHE.map((path) => cache.add(path)),
|
|
59
|
+
])
|
|
60
|
+
)
|
|
61
|
+
.then(() => self.skipWaiting())
|
|
62
|
+
)
|
|
63
|
+
})
|
|
64
|
+
|
|
65
|
+
self.addEventListener("activate", (event) => {
|
|
66
|
+
event.waitUntil(
|
|
67
|
+
caches
|
|
68
|
+
.keys()
|
|
69
|
+
.then((keys) =>
|
|
70
|
+
Promise.all(
|
|
71
|
+
keys
|
|
72
|
+
.filter((key) => key.startsWith(CACHE_PREFIX) && key !== CACHE)
|
|
73
|
+
// Oldest first: all but the last version go.
|
|
74
|
+
.slice(0, -1)
|
|
75
|
+
.map((key) => caches.delete(key))
|
|
76
|
+
)
|
|
77
|
+
)
|
|
78
|
+
// The browser asks for a page while it starts the worker, rather than after.
|
|
79
|
+
.then(() => self.registration.navigationPreload?.enable())
|
|
80
|
+
.then(() => self.clients.claim())
|
|
81
|
+
)
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
self.addEventListener("fetch", (event) => {
|
|
85
|
+
const request = event.request
|
|
86
|
+
if (request.method !== "GET" || request.headers.has("range")) return
|
|
87
|
+
const url = new URL(request.url)
|
|
88
|
+
if (url.origin !== self.location.origin || isReserved(url.pathname)) return
|
|
89
|
+
|
|
90
|
+
if (request.mode === "navigate") {
|
|
91
|
+
event.respondWith(page(event, url))
|
|
92
|
+
} else {
|
|
93
|
+
event.respondWith(file(event, url))
|
|
94
|
+
}
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
function page(event, url) {
|
|
98
|
+
let saving = Promise.resolve()
|
|
99
|
+
const network = Promise.resolve(event.preloadResponse)
|
|
100
|
+
.then((preloaded) => preloaded ?? fetch(event.request))
|
|
101
|
+
.then((response) => {
|
|
102
|
+
// Only "/" refreshes the shell: another address may be a page of the project's own.
|
|
103
|
+
if (url.pathname === SHELL) {
|
|
104
|
+
const copy = response.clone()
|
|
105
|
+
saving = caches.open(CACHE).then((cache) => saveShell(cache, copy))
|
|
106
|
+
}
|
|
107
|
+
return response
|
|
108
|
+
})
|
|
109
|
+
event.waitUntil(network.then(() => saving, () => undefined))
|
|
110
|
+
|
|
111
|
+
const offline = network.catch(() => savedShell().then((saved) => saved ?? Response.error()))
|
|
112
|
+
const slow = delay(NAVIGATION_TIMEOUT_MS)
|
|
113
|
+
.then(savedShell)
|
|
114
|
+
.then((saved) => saved ?? offline)
|
|
115
|
+
return Promise.race([offline, slow])
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
async function file(event, url) {
|
|
119
|
+
// Any version's copy will do for a hashed file, so a page the last version runs still finds its own.
|
|
120
|
+
const immutable = IMMUTABLE.test(url.pathname.split("/").pop() ?? "")
|
|
121
|
+
if (immutable) {
|
|
122
|
+
const saved = await caches.match(event.request)
|
|
123
|
+
if (saved) return saved
|
|
124
|
+
}
|
|
125
|
+
try {
|
|
126
|
+
const response = await fetch(event.request)
|
|
127
|
+
if (response.ok && response.type === "basic") {
|
|
128
|
+
const copy = response.clone()
|
|
129
|
+
event.waitUntil(caches.open(CACHE).then((cache) => cache.put(event.request, copy)))
|
|
130
|
+
}
|
|
131
|
+
return response
|
|
132
|
+
} catch (error) {
|
|
133
|
+
const saved = await caches.match(event.request)
|
|
134
|
+
if (saved) return saved
|
|
135
|
+
throw error
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
async function saveShell(cache, response) {
|
|
140
|
+
if (!isShell(response)) return
|
|
141
|
+
// Mid-rollout another server can answer with the other deploy's shell, whose files aren't kept.
|
|
142
|
+
if (!(await response.clone().text()).includes(ENTRY)) return
|
|
143
|
+
await cache.put(SHELL, response)
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function isShell(response) {
|
|
147
|
+
return (
|
|
148
|
+
response.ok &&
|
|
149
|
+
!response.redirected &&
|
|
150
|
+
response.type === "basic" &&
|
|
151
|
+
(response.headers.get("content-type") ?? "").includes("text/html")
|
|
152
|
+
)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// This version's shell, else the last version's, whose files are still kept.
|
|
156
|
+
async function savedShell() {
|
|
157
|
+
return (await (await caches.open(CACHE)).match(SHELL)) ?? (await caches.match(SHELL))
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
function isReserved(pathname) {
|
|
161
|
+
return RESERVED.some((prefix) => pathname === prefix || pathname.startsWith(prefix + "/"))
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
function delay(ms) {
|
|
165
|
+
return new Promise((resolve) => setTimeout(resolve, ms))
|
|
166
|
+
}
|
|
167
|
+
`;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// src/build.ts
|
|
28
171
|
var STATIC_ASSET_ORIGIN = "https://sixb-static.invalid";
|
|
29
172
|
var brotliCompress = promisify(brotliCompressCallback);
|
|
30
173
|
var gzip = promisify(gzipCallback);
|
|
@@ -57,7 +200,8 @@ async function buildApp(options) {
|
|
|
57
200
|
].join("");
|
|
58
201
|
const html = withLoadingShell(sourceHtml).replace(sourceEntryPattern, "").replace("</head>", ` ${assetTags}</head>`);
|
|
59
202
|
await writeFile(join(outdir, "index.html"), html, "utf-8");
|
|
60
|
-
const
|
|
203
|
+
const serviceWorkerPath = await writeServiceWorker(outdir, html, `/${basename(normalEntry.script.path)}`);
|
|
204
|
+
const outputs = [...result.outputs, { path: serviceWorkerPath, type: "text/javascript" }];
|
|
61
205
|
if (options.sharedEntryPath && options.sharedScriptEntryPath) {
|
|
62
206
|
const sharedResult = await buildBrowserEntry(options.sharedScriptEntryPath, outdir, "shared");
|
|
63
207
|
if (!sharedResult.success) {
|
|
@@ -113,7 +257,8 @@ async function buildBrowserEntry(entrypoint, outdir, entryName, development = fa
|
|
|
113
257
|
chunk: "chunk-[name]-[hash].[ext]",
|
|
114
258
|
asset: "asset-[name]-[hash].[ext]"
|
|
115
259
|
},
|
|
116
|
-
plugins: [extensionlessSourceImportPlugin],
|
|
260
|
+
plugins: [extensionlessSourceImportPlugin, publicRootUrlPlugin],
|
|
261
|
+
throw: false,
|
|
117
262
|
define: { "process.env.NODE_ENV": development ? '"development"' : '"production"' },
|
|
118
263
|
sourcemap: development ? "inline" : "external"
|
|
119
264
|
});
|
|
@@ -174,7 +319,8 @@ async function buildAuthExperience(options) {
|
|
|
174
319
|
chunk: "chunk-[name]-[hash].[ext]",
|
|
175
320
|
asset: "asset-[name]-[hash].[ext]"
|
|
176
321
|
},
|
|
177
|
-
plugins: [extensionlessSourceImportPlugin],
|
|
322
|
+
plugins: [extensionlessSourceImportPlugin, publicRootUrlPlugin],
|
|
323
|
+
throw: false,
|
|
178
324
|
define: { "process.env.NODE_ENV": '"production"' },
|
|
179
325
|
sourcemap: "external"
|
|
180
326
|
});
|
|
@@ -217,22 +363,61 @@ function restoreAppStaticUrls(html) {
|
|
|
217
363
|
}
|
|
218
364
|
var THEME_BOOTSTRAP = 'try{var t=localStorage.getItem("sixb-theme");if(t==="dark"||t==="light")document.documentElement.classList.add(t)}catch(e){}';
|
|
219
365
|
function withLoadingShell(html) {
|
|
366
|
+
const icon = html.match(/<link\s+rel=["']icon["']\s+href=["']([^"']+)["']/)?.[1];
|
|
220
367
|
const styles = `<style data-sixb-loading-shell>
|
|
221
|
-
.sixb-loading-shell{position:fixed;
|
|
222
|
-
.sixb-loading-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
368
|
+
.sixb-loading-shell{position:fixed;top:0;left:0;width:100%;height:var(--viewport-height,100vh);display:grid;place-items:center;background:var(--background,#fff);color:var(--muted-foreground,#71717a)}
|
|
369
|
+
html:has(.sixb-loading-shell){background:var(--background,#fff)}
|
|
370
|
+
.sixb-loading-icon{width:${LAUNCH_ICON_SIZE}px;height:${LAUNCH_ICON_SIZE}px;object-fit:contain}
|
|
371
|
+
.sixb-loading-spinner{width:1.25rem;height:1.25rem;border:2px solid currentColor;border-right-color:transparent;border-radius:9999px;opacity:0;animation:sixb-loading-spin .7s linear infinite,sixb-loading-show .2s ease-out .8s forwards}
|
|
372
|
+
.sixb-loading-icon+.sixb-loading-spinner{position:absolute;top:calc(50% + ${LAUNCH_ICON_SIZE / 2 + 24}px);left:calc(50% - .625rem)}
|
|
373
|
+
@media(prefers-color-scheme:dark){html:not(.light):not(.dark):has(.sixb-loading-shell),html:not(.light):not(.dark) .sixb-loading-shell{background:#09090b;color:#a1a1aa}}
|
|
374
|
+
@media(prefers-reduced-motion:reduce){.sixb-loading-spinner{animation-duration:1.5s,.2s}}
|
|
226
375
|
@keyframes sixb-loading-spin{to{transform:rotate(360deg)}}
|
|
376
|
+
@keyframes sixb-loading-show{to{opacity:1}}
|
|
227
377
|
</style>
|
|
228
|
-
<script data-sixb-theme>${THEME_BOOTSTRAP}</script
|
|
229
|
-
|
|
378
|
+
<script data-sixb-theme>${THEME_BOOTSTRAP}</script>${icon ? `
|
|
379
|
+
<link rel="preload" as="image" href="${icon}">` : ""}`;
|
|
380
|
+
const iconTag = icon ? `<img class="sixb-loading-icon" src="${icon}" alt="" width="${LAUNCH_ICON_SIZE}" height="${LAUNCH_ICON_SIZE}">` : "";
|
|
381
|
+
const root = `<div id="root"><div class="sixb-loading-shell" role="status" aria-label="Loading application">${iconTag}<span class="sixb-loading-spinner" aria-hidden="true"></span></div></div>`;
|
|
230
382
|
if (!html.includes('<div id="root"></div>') || !html.includes("</head>")) {
|
|
231
383
|
throw new Error("[SixbCustomApp] Generated app shell is missing its root or head element.");
|
|
232
384
|
}
|
|
233
385
|
return html.replace("</head>", `${styles}
|
|
234
386
|
</head>`).replace('<div id="root"></div>', root);
|
|
235
387
|
}
|
|
388
|
+
async function writeServiceWorker(outdir, html, entry) {
|
|
389
|
+
const version = createHash("sha256").update(html).digest("hex").slice(0, 16);
|
|
390
|
+
const precache = [
|
|
391
|
+
...new Set([
|
|
392
|
+
...[...html.matchAll(/<(?:script|link)\b[^>]*\s(?:src|href)=["'](\/[^"'/][^"']*)["']/g)].map((match) => match[1]).filter((path) => path !== undefined && path !== "/app.webmanifest"),
|
|
393
|
+
...await startupChunks(outdir, entry)
|
|
394
|
+
])
|
|
395
|
+
];
|
|
396
|
+
const path = join(outdir, SERVICE_WORKER_PATH.slice(1));
|
|
397
|
+
await writeFile(path, renderServiceWorker({ version, entry, precache }), "utf-8");
|
|
398
|
+
return path;
|
|
399
|
+
}
|
|
400
|
+
var STATIC_CHUNK_IMPORT = /\b(?:from|import)\s*["'](\/chunk-[^"']+\.js)["']/g;
|
|
401
|
+
async function startupChunks(outdir, entry) {
|
|
402
|
+
const found = new Set;
|
|
403
|
+
const pending = [entry];
|
|
404
|
+
for (let path = pending.pop();path !== undefined; path = pending.pop()) {
|
|
405
|
+
const source = await readFile(join(outdir, path.slice(1)), "utf-8").catch(() => "");
|
|
406
|
+
for (const [, chunk] of source.matchAll(STATIC_CHUNK_IMPORT)) {
|
|
407
|
+
if (chunk === undefined || found.has(chunk))
|
|
408
|
+
continue;
|
|
409
|
+
found.add(chunk);
|
|
410
|
+
pending.push(chunk);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
return [...found];
|
|
414
|
+
}
|
|
415
|
+
var publicRootUrlPlugin = {
|
|
416
|
+
name: "sixb-public-root-urls",
|
|
417
|
+
setup(build) {
|
|
418
|
+
build.onResolve({ filter: /^\/(?!\/)/ }, (args) => args.importer.endsWith(".css") ? { path: args.path, external: true } : undefined);
|
|
419
|
+
}
|
|
420
|
+
};
|
|
236
421
|
var extensionlessSourceImportPlugin = {
|
|
237
422
|
name: "sixb-extensionless-source-imports",
|
|
238
423
|
setup(build) {
|
|
@@ -300,7 +485,7 @@ function renderAppManifest(metadata) {
|
|
|
300
485
|
}
|
|
301
486
|
|
|
302
487
|
// src/metadata.ts
|
|
303
|
-
import { createHash } from "crypto";
|
|
488
|
+
import { createHash as createHash2 } from "crypto";
|
|
304
489
|
import { readFile as readFile2, stat } from "fs/promises";
|
|
305
490
|
import { createRequire } from "module";
|
|
306
491
|
import { dirname as dirname2, extname, join as join2, sep } from "path";
|
|
@@ -364,7 +549,8 @@ async function resolveAppMetadata(options) {
|
|
|
364
549
|
themeColor,
|
|
365
550
|
backgroundColor,
|
|
366
551
|
...await fileExists(join2(options.publicDir, "apple-touch-icon.png")) ? { appleTouchIcon: "/apple-touch-icon.png" } : {},
|
|
367
|
-
icons
|
|
552
|
+
icons,
|
|
553
|
+
statusBar: configured.statusBar ?? "under"
|
|
368
554
|
};
|
|
369
555
|
}
|
|
370
556
|
async function loadConfiguredMetadata(layoutPath) {
|
|
@@ -372,7 +558,7 @@ async function loadConfiguredMetadata(layoutPath) {
|
|
|
372
558
|
return {};
|
|
373
559
|
}
|
|
374
560
|
try {
|
|
375
|
-
const sourceHash =
|
|
561
|
+
const sourceHash = createHash2("sha256").update(await readFile2(layoutPath)).digest("hex");
|
|
376
562
|
const url = pathToFileURL(layoutPath);
|
|
377
563
|
const appDir = dirname2(metadataRequire.resolve(layoutPath)) + sep;
|
|
378
564
|
for (const modulePath of Object.keys(metadataRequire.cache)) {
|
|
@@ -404,6 +590,9 @@ function validateMetadata(metadata, layoutPath) {
|
|
|
404
590
|
throw metadataError(layoutPath, `metadata.${field} must be a non-empty string when provided`);
|
|
405
591
|
}
|
|
406
592
|
}
|
|
593
|
+
if (metadata.statusBar !== undefined && !["under", "below"].includes(metadata.statusBar)) {
|
|
594
|
+
throw metadataError(layoutPath, 'metadata.statusBar must be "under" or "below" when provided');
|
|
595
|
+
}
|
|
407
596
|
}
|
|
408
597
|
function metadataError(layoutPath, detail) {
|
|
409
598
|
return new Error(`[SixbCustomApp] Invalid app metadata in ${layoutPath}: ${detail}`);
|
|
@@ -922,6 +1111,7 @@ async function generateAppEntry(projectRoot, generatedDir, options = {}) {
|
|
|
922
1111
|
const runtimeContent = `import React from "react"
|
|
923
1112
|
import { createRoot, type Root } from "react-dom/client"
|
|
924
1113
|
import type { GetAuthSessionResponse } from "@sixb/client"
|
|
1114
|
+
import type { SixbSharedAccessSession } from "@sixb/client/browser"
|
|
925
1115
|
import {
|
|
926
1116
|
BrowserRouter,
|
|
927
1117
|
matchPath,
|
|
@@ -938,6 +1128,12 @@ import {
|
|
|
938
1128
|
SixbEventsProvider,
|
|
939
1129
|
} from "@sixb/client/hooks"
|
|
940
1130
|
import { LocaleProvider, useAppMessages } from "@sixb/app/locale"
|
|
1131
|
+
import {
|
|
1132
|
+
keepSharedSession,
|
|
1133
|
+
PhoneFoundations,
|
|
1134
|
+
refreshOnReturn,
|
|
1135
|
+
restoreLastScreen,
|
|
1136
|
+
} from "@sixb/app/pages"
|
|
941
1137
|
${sectionsImport}${toolViewsImport}import { activityRoutePaths, routePaths, routes } from "./routes"
|
|
942
1138
|
${globalsCssImport}
|
|
943
1139
|
${layoutImport}
|
|
@@ -951,6 +1147,8 @@ export interface StartAppOptions {
|
|
|
951
1147
|
readonly basename?: string
|
|
952
1148
|
/** The session the bootstrap already loaded, so useCurrentUser does not fetch it again. */
|
|
953
1149
|
readonly session?: GetAuthSessionResponse
|
|
1150
|
+
/** A shared link's session, which the bootstrap opened for its visitor. */
|
|
1151
|
+
readonly sharedSession?: SixbSharedAccessSession
|
|
954
1152
|
}
|
|
955
1153
|
|
|
956
1154
|
if (import.meta.hot) import.meta.hot.accept()
|
|
@@ -993,7 +1191,7 @@ function createQueryClient(): QueryClient {
|
|
|
993
1191
|
})
|
|
994
1192
|
}
|
|
995
1193
|
|
|
996
|
-
const RESERVED_PATH_PREFIXES = [
|
|
1194
|
+
const RESERVED_PATH_PREFIXES = [${RESERVED_PATH_PREFIXES.map((prefix) => JSON.stringify(prefix)).join(", ")}]
|
|
997
1195
|
|
|
998
1196
|
function isReservedPath(pathname: string) {
|
|
999
1197
|
return RESERVED_PATH_PREFIXES.some(
|
|
@@ -1183,7 +1381,8 @@ function AppFallback({
|
|
|
1183
1381
|
alignItems: "center",
|
|
1184
1382
|
justifyContent: "center",
|
|
1185
1383
|
gap: "1rem",
|
|
1186
|
-
padding:
|
|
1384
|
+
padding:
|
|
1385
|
+
"calc(2rem + env(safe-area-inset-top, 0px)) 2rem calc(2rem + env(safe-area-inset-bottom, 0px))",
|
|
1187
1386
|
textAlign: "center",
|
|
1188
1387
|
fontFamily:
|
|
1189
1388
|
"var(--font-sans, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif)",
|
|
@@ -1400,6 +1599,7 @@ function App({ basename }: StartAppOptions) {
|
|
|
1400
1599
|
<ProjectLocale shared={Boolean(basename)}>
|
|
1401
1600
|
${sectionsStart}
|
|
1402
1601
|
<BrowserRouter basename={basename}>
|
|
1602
|
+
<PhoneFoundations />
|
|
1403
1603
|
<ActivityPageView />
|
|
1404
1604
|
<RefusedFrameReporter />
|
|
1405
1605
|
<SharedDocumentLinkInterceptor basename={basename} />
|
|
@@ -1421,6 +1621,10 @@ function App({ basename }: StartAppOptions) {
|
|
|
1421
1621
|
|
|
1422
1622
|
export function startApp(options: StartAppOptions = {}) {
|
|
1423
1623
|
if (options.session) queryClient.setQueryData(getAuthSessionQueryKey(), options.session)
|
|
1624
|
+
if (options.sharedSession) keepSharedSession(queryClient, options.sharedSession)
|
|
1625
|
+
// The installed app reopens where it was left, and shows what changed while it was away.
|
|
1626
|
+
if (!options.basename) restoreLastScreen()
|
|
1627
|
+
refreshOnReturn(queryClient)
|
|
1424
1628
|
// The HTML is built without loading the project: declare the project's language on the document
|
|
1425
1629
|
// as soon as the API answers, without waiting for the page tree to render.
|
|
1426
1630
|
if (!options.basename) {
|
|
@@ -1445,10 +1649,27 @@ export function renderApiUnavailable(apiBaseUrl: string) {
|
|
|
1445
1649
|
|
|
1446
1650
|
function ApiUnavailableView({ apiBaseUrl }: { readonly apiBaseUrl: string }) {
|
|
1447
1651
|
const messages = useAppMessages()
|
|
1652
|
+
// Opened offline, from the device: say so, and open by itself once the connection is back. A
|
|
1653
|
+
// phone can report itself online with no way out, so the app's own server out of reach as well
|
|
1654
|
+
// as the API means offline too; the API alone is the API.
|
|
1655
|
+
const [offline, setOffline] = React.useState<boolean | null>(() => (navigator.onLine ? null : true))
|
|
1656
|
+
React.useEffect(() => {
|
|
1657
|
+
if (offline === null) {
|
|
1658
|
+
// A request that hangs for want of a route out is offline too.
|
|
1659
|
+
fetch("/", { method: "HEAD", cache: "no-store", signal: AbortSignal.timeout(3000) }).then(
|
|
1660
|
+
() => setOffline(false),
|
|
1661
|
+
() => setOffline(true)
|
|
1662
|
+
)
|
|
1663
|
+
}
|
|
1664
|
+
const retry = () => window.location.reload()
|
|
1665
|
+
window.addEventListener("online", retry)
|
|
1666
|
+
return () => window.removeEventListener("online", retry)
|
|
1667
|
+
}, [offline])
|
|
1668
|
+
if (offline === null) return null
|
|
1448
1669
|
return (
|
|
1449
1670
|
<AppFallback
|
|
1450
|
-
title={messages.apiUnavailable.title}
|
|
1451
|
-
detail={messages.apiUnavailable.detail(apiBaseUrl)}
|
|
1671
|
+
title={offline ? messages.offline.title : messages.apiUnavailable.title}
|
|
1672
|
+
detail={offline ? messages.offline.detail : messages.apiUnavailable.detail(apiBaseUrl)}
|
|
1452
1673
|
action={
|
|
1453
1674
|
<button
|
|
1454
1675
|
type="button"
|
|
@@ -1495,6 +1716,39 @@ if (import.meta.hot) {
|
|
|
1495
1716
|
import.meta.hot.dispose(() => browserClient.dispose())
|
|
1496
1717
|
}
|
|
1497
1718
|
|
|
1719
|
+
// A production build keeps the app on the device, so the installed app opens without the network.
|
|
1720
|
+
// A browser gives the root one worker: a project that registers its own there keeps it. The
|
|
1721
|
+
// development server has no worker, and removes Sixb's if an earlier build left it on its address.
|
|
1722
|
+
if ("serviceWorker" in navigator) {
|
|
1723
|
+
const isSixbWorker = (registration: ServiceWorkerRegistration) =>
|
|
1724
|
+
[registration.installing, registration.waiting, registration.active].some((worker) =>
|
|
1725
|
+
worker?.scriptURL.endsWith(${JSON.stringify(SERVICE_WORKER_PATH)})
|
|
1726
|
+
)
|
|
1727
|
+
if (import.meta.hot) {
|
|
1728
|
+
void navigator.serviceWorker.getRegistrations().then((registrations) => {
|
|
1729
|
+
for (const registration of registrations) {
|
|
1730
|
+
if (isSixbWorker(registration)) void registration.unregister()
|
|
1731
|
+
}
|
|
1732
|
+
})
|
|
1733
|
+
} else {
|
|
1734
|
+
// Once the page has loaded, so installing never competes with opening the app.
|
|
1735
|
+
const register = () => {
|
|
1736
|
+
navigator.serviceWorker
|
|
1737
|
+
.getRegistration("/")
|
|
1738
|
+
.then((existing) =>
|
|
1739
|
+
existing && !isSixbWorker(existing)
|
|
1740
|
+
? undefined
|
|
1741
|
+
: navigator.serviceWorker.register(${JSON.stringify(SERVICE_WORKER_PATH)})
|
|
1742
|
+
)
|
|
1743
|
+
.catch((error: unknown) => {
|
|
1744
|
+
console.warn("[SixbCustomApp] Could not register the service worker:", error)
|
|
1745
|
+
})
|
|
1746
|
+
}
|
|
1747
|
+
if (document.readyState === "complete") register()
|
|
1748
|
+
else window.addEventListener("load", register, { once: true })
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1498
1752
|
// Without the API's answer the app can neither render nor send the user to sign in.
|
|
1499
1753
|
const authSession = runtimeConfig.auth.enabled
|
|
1500
1754
|
? await requireSixbBrowserAuthSession(runtimeConfig, browserClient).catch((error: unknown) => {
|
|
@@ -1578,6 +1832,11 @@ export function startSharedApp(
|
|
|
1578
1832
|
const runtimeConfig = readSixbBrowserRuntimeConfig({ authEnabled: false })
|
|
1579
1833
|
controller = configureSixbSharedBrowserClient(runtimeConfig, {
|
|
1580
1834
|
grantId,
|
|
1835
|
+
// A link revoked or a session expired while the page is open: loading it again finds no
|
|
1836
|
+
// session, and shows the unavailable screen.
|
|
1837
|
+
onEnded: () => {
|
|
1838
|
+
if (established) window.location.reload()
|
|
1839
|
+
},
|
|
1581
1840
|
})
|
|
1582
1841
|
activeController = controller
|
|
1583
1842
|
} catch {
|
|
@@ -1626,7 +1885,7 @@ export function startSharedApp(
|
|
|
1626
1885
|
}
|
|
1627
1886
|
|
|
1628
1887
|
const { startApp } = await import("./app-runtime")
|
|
1629
|
-
startApp({ basename })
|
|
1888
|
+
startApp({ basename, sharedSession: session })
|
|
1630
1889
|
// After a start that held: a failed one is retried, and must still find the arrival.
|
|
1631
1890
|
startSixbActivityCapture()
|
|
1632
1891
|
} catch (error) {
|
|
@@ -1983,6 +2242,9 @@ function renderMetadataHead(metadata) {
|
|
|
1983
2242
|
` <title>${escapeHtmlText(metadata.title)}</title>`,
|
|
1984
2243
|
...metadata.description ? [` <meta name="description" content="${escapeHtmlAttribute(metadata.description)}" />`] : [],
|
|
1985
2244
|
` <meta name="theme-color" content="${escapeHtmlAttribute(metadata.themeColor)}" />`,
|
|
2245
|
+
' <meta name="apple-mobile-web-app-capable" content="yes" />',
|
|
2246
|
+
' <meta name="mobile-web-app-capable" content="yes" />',
|
|
2247
|
+
...metadata.statusBar === "under" ? [' <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />'] : [],
|
|
1986
2248
|
' <link rel="manifest" href="/app.webmanifest" />',
|
|
1987
2249
|
...metadata.favicon ? [` <link rel="icon" href="${escapeHtmlAttribute(metadata.favicon)}" />`] : [],
|
|
1988
2250
|
...metadata.appleTouchIcon ? [` <link rel="apple-touch-icon" href="${metadata.appleTouchIcon}" />`] : []
|
|
@@ -2261,6 +2523,7 @@ var builtInPageSourcePath = join7(packageRoot, "src", "pages");
|
|
|
2261
2523
|
var builtInPageStylesheetPath = join7(packageRoot, "src", "pages", "canvas.css");
|
|
2262
2524
|
var agentStylesheetPath = join7(packageRoot, "src", "agent", "agent.css");
|
|
2263
2525
|
var artifactsStylesheetPath = join7(packageRoot, "src", "artifacts", "artifacts.css");
|
|
2526
|
+
var phoneStylesheetPath = join7(packageRoot, "src", "shell", "phone", "phone.css");
|
|
2264
2527
|
var customAppManifestRoute = "/app.webmanifest";
|
|
2265
2528
|
var internalAppShellRoute = "/__sixb/generated/app-shell";
|
|
2266
2529
|
var frameworkAssetsRoute = "/__sixb/assets";
|
|
@@ -2322,6 +2585,7 @@ async function createCustomApp(options) {
|
|
|
2322
2585
|
`@import ${JSON.stringify(stylesheet.sourcePath)};`,
|
|
2323
2586
|
`@import ${JSON.stringify(agentStylesheetPath)};`,
|
|
2324
2587
|
`@import ${JSON.stringify(artifactsStylesheetPath)};`,
|
|
2588
|
+
`@import ${JSON.stringify(phoneStylesheetPath)};`,
|
|
2325
2589
|
""
|
|
2326
2590
|
].join(`
|
|
2327
2591
|
`));
|
|
@@ -2357,6 +2621,7 @@ async function createCustomApp(options) {
|
|
|
2357
2621
|
`@import ${JSON.stringify(builtInPageStylesheetPath)};`,
|
|
2358
2622
|
`@import ${JSON.stringify(agentStylesheetPath)};`,
|
|
2359
2623
|
`@import ${JSON.stringify(artifactsStylesheetPath)};`,
|
|
2624
|
+
`@import ${JSON.stringify(phoneStylesheetPath)};`,
|
|
2360
2625
|
""
|
|
2361
2626
|
].join(`
|
|
2362
2627
|
`));
|
|
@@ -3034,11 +3299,15 @@ function sharedHtmlResponse(request, html, apiBaseUrl, frameOrigins) {
|
|
|
3034
3299
|
}
|
|
3035
3300
|
});
|
|
3036
3301
|
}
|
|
3302
|
+
function socketOrigin(apiOrigin) {
|
|
3303
|
+
const url = new URL(apiOrigin);
|
|
3304
|
+
return `${url.protocol === "https:" ? "wss:" : "ws:"}//${url.host}`;
|
|
3305
|
+
}
|
|
3037
3306
|
function secureSharedHtml(html, request, options) {
|
|
3038
3307
|
const nonce = randomBytes(18).toString("base64url");
|
|
3039
3308
|
const { requestOrigin, apiOrigin } = resolveOrigins(request, options.apiBaseUrl);
|
|
3040
3309
|
const apiSources = apiOrigin === requestOrigin ? [] : [apiOrigin];
|
|
3041
|
-
const connectSources = ["'self'", ...apiSources];
|
|
3310
|
+
const connectSources = ["'self'", ...apiSources, socketOrigin(apiOrigin)];
|
|
3042
3311
|
const fileSources = ["'self'", ...apiSources, "data:", "blob:", "https:"];
|
|
3043
3312
|
const scriptSources = [`'nonce-${nonce}'`, "'strict-dynamic'", "'self'"];
|
|
3044
3313
|
const contentSecurityPolicy = [
|
|
@@ -3069,7 +3338,6 @@ function secureSharedHtml(html, request, options) {
|
|
|
3069
3338
|
}
|
|
3070
3339
|
};
|
|
3071
3340
|
}
|
|
3072
|
-
var IMMUTABLE_ASSET_PATTERN = /^(?:(?:app|shared|chunk)-[a-z0-9]+|(?:chunk|asset)-.+-[a-z0-9]+)\.[a-z0-9]+(?:\.map)?$/;
|
|
3073
3341
|
function staticAssetHeaders(pathname) {
|
|
3074
3342
|
if (pathname === customAppManifestRoute) {
|
|
3075
3343
|
return {
|
|
@@ -3077,6 +3345,9 @@ function staticAssetHeaders(pathname) {
|
|
|
3077
3345
|
"cache-control": "no-cache"
|
|
3078
3346
|
};
|
|
3079
3347
|
}
|
|
3348
|
+
if (pathname === SERVICE_WORKER_PATH) {
|
|
3349
|
+
return { "content-type": "text/javascript; charset=utf-8", "cache-control": "no-cache" };
|
|
3350
|
+
}
|
|
3080
3351
|
const lastSegment = pathname.split("/").pop() ?? "";
|
|
3081
3352
|
if (!IMMUTABLE_ASSET_PATTERN.test(lastSegment)) {
|
|
3082
3353
|
return {};
|
|
@@ -3234,4 +3505,4 @@ export {
|
|
|
3234
3505
|
createCustomApp
|
|
3235
3506
|
};
|
|
3236
3507
|
|
|
3237
|
-
//# debugId=
|
|
3508
|
+
//# debugId=D6843BD384F21F5A64756E2164756E21
|