@sixb/app 0.2.1 → 0.2.4
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/activity-label.d.ts.map +1 -1
- 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/background/background-tool-row.d.ts.map +1 -1
- package/dist/agent/background/interpret.d.ts +1 -1
- package/dist/agent/background/interpret.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 +7 -2
- 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/components/transcript.d.ts +5 -0
- package/dist/agent/components/transcript.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/agent-exchange.d.ts +16 -0
- package/dist/agent/delegation/agent-exchange.d.ts.map +1 -0
- package/dist/agent/delegation/child-card.d.ts +3 -3
- package/dist/agent/delegation/child-card.d.ts.map +1 -1
- package/dist/agent/delegation/child-parts.d.ts +1 -10
- package/dist/agent/delegation/child-parts.d.ts.map +1 -1
- package/dist/agent/delegation/child-work.d.ts.map +1 -1
- package/dist/agent/delegation/interpret.d.ts +4 -10
- package/dist/agent/delegation/interpret.d.ts.map +1 -1
- package/dist/agent/delegation/use-children.d.ts +5 -5
- package/dist/agent/delegation/use-children.d.ts.map +1 -1
- package/dist/agent/file-edits/file-edit-tool-view.d.ts +10 -0
- package/dist/agent/file-edits/file-edit-tool-view.d.ts.map +1 -0
- package/dist/agent/file-edits/interpret.d.ts +25 -0
- package/dist/agent/file-edits/interpret.d.ts.map +1 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts +16 -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 +59 -4
- 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 +96 -8
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/message-agent/interpret.d.ts +2 -2
- package/dist/agent/message-agent/interpret.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/questions/interpret.d.ts +31 -0
- package/dist/agent/questions/interpret.d.ts.map +1 -0
- package/dist/agent/questions/question-card.d.ts +16 -0
- package/dist/agent/questions/question-card.d.ts.map +1 -0
- package/dist/agent/questions/question-composer.d.ts +15 -0
- package/dist/agent/questions/question-composer.d.ts.map +1 -0
- package/dist/agent/read/interpret.d.ts +8 -1
- package/dist/agent/read/interpret.d.ts.map +1 -1
- package/dist/agent/read/read-tool-view.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/agent/waits.d.ts +14 -0
- package/dist/agent/waits.d.ts.map +1 -0
- 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 +17 -7
- 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 +476 -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 +50 -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 +77 -20
- package/dist/artifacts/renderers/canvas/board.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/canvas.d.ts +14 -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/controls.d.ts +15 -4
- package/dist/artifacts/renderers/canvas/controls.d.ts.map +1 -1
- 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 +54 -5
- package/dist/artifacts/renderers/canvas/focus.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/gestures.d.ts +46 -0
- package/dist/artifacts/renderers/canvas/gestures.d.ts.map +1 -0
- 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/page-resize.d.ts +21 -0
- package/dist/artifacts/renderers/canvas/page-resize.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/page-size-controls.d.ts +21 -0
- package/dist/artifacts/renderers/canvas/page-size-controls.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/page-size.d.ts +93 -0
- package/dist/artifacts/renderers/canvas/page-size.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/page-zoom.d.ts +64 -0
- package/dist/artifacts/renderers/canvas/page-zoom.d.ts.map +1 -0
- 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/shown-size.d.ts +26 -0
- package/dist/artifacts/renderers/canvas/shown-size.d.ts.map +1 -0
- 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-00wggsst.js +7 -0
- package/dist/chunk-00wggsst.js.map +10 -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-7fj9cfkw.js → chunk-970s5nkn.js} +1 -1
- package/dist/{chunk-4mprsd2n.js → chunk-fg6thecb.js} +25 -1
- package/dist/chunk-fg6thecb.js.map +10 -0
- package/dist/{chunk-ytadd0b5.js → chunk-kymx9y5e.js} +8126 -4257
- package/dist/chunk-kymx9y5e.js.map +211 -0
- package/dist/{chunk-j8g956dt.js → chunk-pxd07kvx.js} +1 -1
- package/dist/{chunk-kwbw4dyk.js → chunk-ryed2jq8.js} +1 -1
- package/dist/chunk-yrcm1pbg.js +5975 -0
- package/dist/chunk-yrcm1pbg.js.map +34 -0
- package/dist/codegen.d.ts.map +1 -1
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +932 -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/activity-label.ts +6 -1
- package/src/agent/agent-chat.tsx +52 -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/background/background-tool-row.tsx +24 -10
- package/src/agent/background/interpret.ts +60 -51
- 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 +30 -10
- package/src/agent/components/message-parts.tsx +29 -6
- package/src/agent/components/thread-artifacts-menu.tsx +22 -5
- package/src/agent/components/transcript.tsx +45 -27
- package/src/agent/composer-insertion.ts +36 -0
- package/src/agent/delegation/agent-exchange.tsx +53 -0
- package/src/agent/delegation/child-card.tsx +6 -40
- package/src/agent/delegation/child-parts.tsx +1 -84
- package/src/agent/delegation/child-work.tsx +19 -5
- package/src/agent/delegation/interpret.ts +33 -54
- package/src/agent/delegation/model.ts +1 -1
- package/src/agent/file-edits/file-edit-tool-view.tsx +126 -0
- package/src/agent/file-edits/interpret.ts +120 -0
- package/src/agent/hooks/use-agent-conversation.ts +61 -10
- package/src/agent/hooks/use-new-thread-place.ts +149 -25
- package/src/agent/i18n/en.ts +60 -4
- package/src/agent/i18n/fr.ts +51 -4
- package/src/agent/message-agent/interpret.ts +4 -3
- package/src/agent/publish-artifact/interpret.ts +37 -6
- 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/questions/interpret.ts +90 -0
- package/src/agent/questions/question-card.tsx +57 -0
- package/src/agent/questions/question-composer.tsx +257 -0
- package/src/agent/react-router.tsx +2 -2
- package/src/agent/read/interpret.ts +34 -1
- package/src/agent/read/read-tool-view.tsx +20 -4
- package/src/agent/tool-views/built-in.tsx +22 -8
- package/src/agent/types.ts +4 -0
- package/src/agent/waits.ts +50 -0
- package/src/artifacts/artifact-page.tsx +42 -17
- package/src/artifacts/artifact-viewer.tsx +56 -0
- package/src/artifacts/artifacts.css +116 -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 +21 -7
- package/src/artifacts/file-source.ts +10 -3
- package/src/artifacts/frame.tsx +53 -14
- 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 +469 -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 +839 -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 +373 -35
- package/src/artifacts/renderers/canvas/canvas.tsx +441 -75
- 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/controls.tsx +64 -30
- 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 +321 -26
- package/src/artifacts/renderers/canvas/gestures.ts +265 -0
- package/src/artifacts/renderers/canvas/items.tsx +179 -52
- package/src/artifacts/renderers/canvas/layout.ts +99 -47
- package/src/artifacts/renderers/canvas/page-resize.tsx +542 -0
- package/src/artifacts/renderers/canvas/page-size-controls.tsx +193 -0
- package/src/artifacts/renderers/canvas/page-size.ts +218 -0
- package/src/artifacts/renderers/canvas/page-zoom.ts +280 -0
- 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/shown-size.ts +105 -0
- 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 +219 -147
- package/src/build.ts +96 -11
- package/src/codegen.ts +83 -5
- package/src/createCustomApp.ts +20 -7
- package/src/index.ts +14 -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-7fj9cfkw.js.map → chunk-970s5nkn.js.map} +0 -0
- /package/dist/{chunk-j8g956dt.js.map → chunk-pxd07kvx.js.map} +0 -0
- /package/dist/{chunk-kwbw4dyk.js.map → chunk-ryed2jq8.js.map} +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type Query } from "@tanstack/react-query";
|
|
2
|
+
import type { ArtifactVersion } from "../../queries";
|
|
3
|
+
/**
|
|
4
|
+
* Whether a board's picture can be shown: `ready`, `pending` while it is rendered, `none` when
|
|
5
|
+
* none will come and the board shows its outline.
|
|
6
|
+
*/
|
|
7
|
+
export type BoardPreviewStatus = "ready" | "pending" | "none";
|
|
8
|
+
export type BoardPreviews = Readonly<Record<string, BoardPreviewStatus>>;
|
|
9
|
+
/**
|
|
10
|
+
* How long to wait before asking the version again which pictures are ready: never when none is
|
|
11
|
+
* pending or the version's last write is past the server's wait, else a little longer each time
|
|
12
|
+
* it is asked. An open version waits from its last write, as the server does.
|
|
13
|
+
*/
|
|
14
|
+
export declare function nextPreviewCheck(previews: BoardPreviews, version: Pick<ArtifactVersion, "updatedAt">, checks: number, now: number): number | false;
|
|
15
|
+
/**
|
|
16
|
+
* A canvas version's boards and whether each one's picture is ready, asked again while some are
|
|
17
|
+
* rendered, as {@link nextPreviewCheck} says. Its own query, so the viewer's version stays as it
|
|
18
|
+
* was read. Without a version, a canvas drawn on its own, no board has a picture.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useBoardPreviews(version: ArtifactVersion | undefined): BoardPreviews;
|
|
21
|
+
/**
|
|
22
|
+
* The query {@link useBoardPreviews} runs. The version's own answer starts it when it holds one:
|
|
23
|
+
* one without it, such as a version seeded from elsewhere, is asked rather than read as none.
|
|
24
|
+
*/
|
|
25
|
+
export declare function boardPreviewsQuery(version: ArtifactVersion | undefined): {
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
staleTime: number;
|
|
28
|
+
retry: boolean;
|
|
29
|
+
refetchInterval: (current: Query<BoardPreviews>) => number | false;
|
|
30
|
+
initialData?: {
|
|
31
|
+
[key: string]: "none" | "pending" | "ready";
|
|
32
|
+
} | undefined;
|
|
33
|
+
queryKey: (string | number | undefined)[];
|
|
34
|
+
queryFn: () => Promise<BoardPreviews>;
|
|
35
|
+
};
|
|
36
|
+
/** A board's picture at its own size, or one at most {@link SMALL_BOARD_PREVIEW_WIDTH} wide. */
|
|
37
|
+
export type BoardPreviewSize = "small" | "full";
|
|
38
|
+
/**
|
|
39
|
+
* The picture a board's tile shows, from how wide it is on screen: the small one while that
|
|
40
|
+
* covers it pixel for pixel, the full one past it, so a canvas fitted to a hundred boards holds a
|
|
41
|
+
* hundred small pictures, not a hundred screens.
|
|
42
|
+
*/
|
|
43
|
+
export declare function boardPreviewSize(screenWidth: number, pixelRatio: number): BoardPreviewSize;
|
|
44
|
+
/**
|
|
45
|
+
* Where a board's picture is, in the reader's mode, at a size, of what the board shows: the
|
|
46
|
+
* server picks the mode a canvas pins, and the full size is its default. Named by the board's
|
|
47
|
+
* render key, the picture stays the same while the board does, however often an open canvas
|
|
48
|
+
* changes around it, as it does edited live; without one, by the revision shown. Either way it is
|
|
49
|
+
* kept for good, and one the version moved past is not found, never shown.
|
|
50
|
+
*/
|
|
51
|
+
export declare function boardPreviewUrl(version: Pick<ArtifactVersion, "artifactId" | "version" | "revision" | "outline">, board: string, mode: "light" | "dark", size?: BoardPreviewSize): string;
|
|
52
|
+
/** The render key a version's outline gives a board, if it gives one. */
|
|
53
|
+
export declare function renderKeyOf(version: Pick<ArtifactVersion, "outline">, board: string): string | undefined;
|
|
54
|
+
//# sourceMappingURL=previews.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previews.d.ts","sourceRoot":"","sources":["../../../../src/artifacts/renderers/canvas/previews.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAE7D,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAA;AAQxE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,EAC3C,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,KAAK,CAMhB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS,GAAG,aAAa,CAEpF;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS;;;;+BAiBxC,KAAK,CAAC,aAAa,CAAC;;;;;mBAb5B,OAAO,CAAC,aAAa,CAAC;EAuB5C;AAED,gGAAgG;AAChG,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,CAAA;AAE/C;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAE1F;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC,EACjF,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,OAAO,GAAG,MAAM,EACtB,IAAI,GAAE,gBAAyB,GAC9B,MAAM,CAWR;AAED,yEAAyE;AACzE,wBAAgB,WAAW,CACzB,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,EACzC,KAAK,EAAE,MAAM,GACZ,MAAM,GAAG,SAAS,CAMpB"}
|
|
@@ -4,8 +4,17 @@ import { type ArtifactVersion } from "../../queries";
|
|
|
4
4
|
* A version's `canvas.json`, parsed once it is read: undefined until then, and null when it
|
|
5
5
|
* cannot be read or does not parse.
|
|
6
6
|
*/
|
|
7
|
-
export declare function useCanvas(version: ArtifactVersion
|
|
8
|
-
|
|
7
|
+
export declare function useCanvas(version: ArtifactVersion, options?: {
|
|
8
|
+
readonly enabled?: boolean;
|
|
9
|
+
}): Canvas | null | undefined;
|
|
10
|
+
/** The mode a canvas's boards draw in: the one its theme.json pins, else the app's. */
|
|
11
|
+
export declare function useCanvasMode(version: ArtifactVersion): "light" | "dark";
|
|
12
|
+
/**
|
|
13
|
+
* A canvas artifact: its board, in the app's theme or its own, opened where an address points.
|
|
14
|
+
* Held live by the viewer, it is drawn from its live document once that holds it, everyone's
|
|
15
|
+
* changes as they make them, and edited there; else from the version's `canvas.json`, edited as
|
|
16
|
+
* a draft the header saves.
|
|
17
|
+
*/
|
|
9
18
|
export declare function CanvasRenderer({ version, part, }: {
|
|
10
19
|
readonly version: ArtifactVersion;
|
|
11
20
|
readonly part?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../src/artifacts/renderers/canvas/renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,MAAM,EAAe,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../src/artifacts/renderers/canvas/renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,MAAM,EAAe,MAAM,sBAAsB,CAAA;AAU5E,OAAO,EAAE,KAAK,eAAe,EAAkC,MAAM,eAAe,CAAA;AAQpF;;;GAGG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,eAAe,EACxB,OAAO,GAAE;IAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GAC3C,MAAM,GAAG,IAAI,GAAG,SAAS,CAS3B;AAED,uFAAuF;AACvF,wBAAgB,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,GAAG,MAAM,CAYxE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,IAAI,GACL,EAAE;IACD,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;IACjC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACvB,+BAmCA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type PageSize, type SizeName, type SnappedSize } from "./page-size";
|
|
2
|
+
/**
|
|
3
|
+
* The size an opened board's page is shown at, for the reader alone, while the boards are open.
|
|
4
|
+
*
|
|
5
|
+
* A size set on a board stays on it as the reader steps through the others. A common screen's
|
|
6
|
+
* width, picked or snapped to, carries to them: each is shown at it, at its own board's height, or
|
|
7
|
+
* its full page once the reader chose that, so a flow is walked at a phone's width. Back to board
|
|
8
|
+
* size puts every board back.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useShownSize(id: string, own: PageSize): {
|
|
11
|
+
shown: PageSize;
|
|
12
|
+
resized: boolean;
|
|
13
|
+
suggestions: import("./page-size").SizeSuggestions;
|
|
14
|
+
/** The page's height as its frame reports it. */
|
|
15
|
+
onContentHeight: (next: number) => void;
|
|
16
|
+
resize: (size: PageSize) => void;
|
|
17
|
+
/** A size picked from the menu. */
|
|
18
|
+
pick: (size: PageSize, name: SizeName) => void;
|
|
19
|
+
/** A resize ended, at what it snapped to: a free one stays on this board. */
|
|
20
|
+
settle: (snapped: SnappedSize) => void;
|
|
21
|
+
/** Back to the board's size: every board's, and no screen's width carried any more. */
|
|
22
|
+
reset: () => void;
|
|
23
|
+
/** The size shown was kept as the board's. */
|
|
24
|
+
keep: () => void;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=shown-size.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shown-size.d.ts","sourceRoot":"","sources":["../../../../src/artifacts/renderers/canvas/shown-size.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,WAAW,EAGjB,MAAM,aAAa,CAAA;AAQpB;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ;;;;IA0DlD,iDAAiD;4BAvC1C,MAAM;mBAMN,QAAQ;IAoCf,mCAAmC;iBACtB,QAAQ,QAAQ,QAAQ;IAErC,6EAA6E;sBAC3D,WAAW;IAI7B,uFAAuF;;IAKvF,8CAA8C;;EAKjD"}
|
|
@@ -2,9 +2,12 @@ import type { Canvas } from "@sixb/core/artifacts";
|
|
|
2
2
|
/**
|
|
3
3
|
* A canvas drawn small, as a card previews it: boards, embeds, notes, and shapes as their shapes in
|
|
4
4
|
* the theme's colors, texts and sections' headings as lines, arrows between what they join. Plain
|
|
5
|
-
* SVG, so a card never loads the board.
|
|
5
|
+
* SVG, so a card never loads the board. A board with a picture shows it, up to
|
|
6
|
+
* {@link MAX_PICTURED_BOARDS}: past them, each is a few pixels on a card, and drawn as its shape.
|
|
6
7
|
*/
|
|
7
|
-
export declare function CanvasThumbnail({ canvas }: {
|
|
8
|
+
export declare function CanvasThumbnail({ canvas, pictures, }: {
|
|
8
9
|
readonly canvas: Canvas;
|
|
10
|
+
/** Each board's small picture, by board id, for those that have one. */
|
|
11
|
+
readonly pictures?: ReadonlyMap<string, string>;
|
|
9
12
|
}): import("react").JSX.Element;
|
|
10
13
|
//# sourceMappingURL=thumbnail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumbnail.d.ts","sourceRoot":"","sources":["../../../../src/artifacts/renderers/canvas/thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,sBAAsB,CAAA;AAI9D
|
|
1
|
+
{"version":3,"file":"thumbnail.d.ts","sourceRoot":"","sources":["../../../../src/artifacts/renderers/canvas/thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,sBAAsB,CAAA;AAI9D;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,QAAsB,GACvB,EAAE;IACD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChD,+BAsCA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type GetArtifactResponse } from "@sixb/client";
|
|
2
|
+
import { type ArtifactVersion } from "./queries";
|
|
3
|
+
type ArtifactDetail = GetArtifactResponse;
|
|
4
|
+
/**
|
|
5
|
+
* The version shown, as a pill beside the title: "Current" while it is the open version, which
|
|
6
|
+
* changes in place, else its number. It opens every version with who last wrote or created it, and
|
|
7
|
+
* for whoever may change the artifact, *Create version*, which freezes the current one, and the
|
|
8
|
+
* restore points kept before the Agent's turns and before restores, each restored once confirmed. An earlier
|
|
9
|
+
* version than the latest carries a dot, so the reader knows there is a newer one.
|
|
10
|
+
*/
|
|
11
|
+
export declare function VersionMenu({ detail, version, onVersionChange, onRestored, }: {
|
|
12
|
+
readonly detail: ArtifactDetail;
|
|
13
|
+
readonly version: ArtifactVersion;
|
|
14
|
+
readonly onVersionChange: (version: number) => void;
|
|
15
|
+
/** The artifact holds a restore point's content again: the view goes to its latest. */
|
|
16
|
+
readonly onRestored: () => void;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=version-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-menu.d.ts","sourceRoot":"","sources":["../../src/artifacts/version-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EAGzB,MAAM,cAAc,CAAA;AAmCrB,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,WAAW,CAAA;AAEjE,KAAK,cAAc,GAAG,mBAAmB,CAAA;AAIzC;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,eAAe,EACf,UAAU,GACX,EAAE;IACD,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAA;IAC/B,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;IACjC,QAAQ,CAAC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,uFAAuF;IACvF,QAAQ,CAAC,UAAU,EAAE,MAAM,IAAI,CAAA;CAChC,+BAuJA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { AgentContextInput } from "@sixb/core/agents/context";
|
|
2
|
+
/** What the reader may do with the artifact the viewer shows, and where it is. */
|
|
3
|
+
export interface ArtifactViewContext {
|
|
4
|
+
/** As the API says it: everything as its owner, publish as a participant, or only read. */
|
|
5
|
+
readonly access: "owner" | "update" | "read";
|
|
6
|
+
/** The artifact's latest version, and its revision now. */
|
|
7
|
+
readonly latestVersion: number;
|
|
8
|
+
readonly revision: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const ArtifactViewProvider: import("react").Provider<ArtifactViewContext | null>;
|
|
11
|
+
/** The artifact the viewer shows, for a renderer that acts on it; null outside the viewer. */
|
|
12
|
+
export declare function useArtifactView(): ArtifactViewContext | null;
|
|
13
|
+
/**
|
|
14
|
+
* What the viewer hands the conversation for the Agent: a sentence the person may change, and
|
|
15
|
+
* context that goes with their message, shown as a chip, such as the comments they chose.
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentDraft {
|
|
18
|
+
readonly text: string;
|
|
19
|
+
readonly context?: AgentContextInput;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Where the viewer puts a message for the Agent: in the input of the conversation it opens
|
|
23
|
+
* beside, never sent on its own. Null where there is no conversation to write in.
|
|
24
|
+
*/
|
|
25
|
+
export declare const AgentDraftContext: import("react").Context<((draft: AgentDraft) => void) | null>;
|
|
26
|
+
export declare function useAgentDraft(): ((draft: AgentDraft) => void) | null;
|
|
27
|
+
/** How long words kept for the Agent wait: the next page opens at once, or never takes them. */
|
|
28
|
+
export declare const PENDING_DRAFT_MS: number;
|
|
29
|
+
/** Whose words they are: the next conversation takes them only for the same person and project. */
|
|
30
|
+
export interface AgentDraftOwner {
|
|
31
|
+
readonly userId: string | null;
|
|
32
|
+
readonly projectId: string;
|
|
33
|
+
}
|
|
34
|
+
/** Keeps words about an artifact for the next conversation that opens in this tab. */
|
|
35
|
+
export declare function keepAgentDraft(draft: AgentDraftOwner & AgentDraft & {
|
|
36
|
+
readonly artifactId: string;
|
|
37
|
+
}, now?: number): void;
|
|
38
|
+
/**
|
|
39
|
+
* The words kept for the next conversation, taken once: only by the same person in the same
|
|
40
|
+
* project, and only for {@link PENDING_DRAFT_MS}. Anything else is dropped.
|
|
41
|
+
*/
|
|
42
|
+
export declare function takeAgentDraft(owner: AgentDraftOwner, now?: number): AgentDraft | null;
|
|
43
|
+
//# sourceMappingURL=view-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-context.d.ts","sourceRoot":"","sources":["../../src/artifacts/view-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAGlE,kFAAkF;AAClF,MAAM,WAAW,mBAAmB;IACl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Root":"","sources":["../../src/artifacts/viewer.tsx"],"names":[],"mappings":"AA+EA,OAAO,EAAE,KAAK,cAAc,EAAgB,KAAK,YAAY,EAAE,MAAM,UAAU,CAAA;AAI/E,MAAM,WAAW,YAAY;IAC3B,2CAA2C;IAC3C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,4DAA4D;IAC5D,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,2FAA2F;IAC3F,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,mFAAmF;IACnF,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CACnC;AAED,qGAAqG;AACrG,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,cAAc,EACd,eAAgC,EAChC,MAAW,EACX,SAAS,GACV,EAAE;IACD,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAA;IACvD,sFAAsF;IACtF,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IAC3D,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAA;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B,+BAsBA"}
|
package/dist/build.d.ts
CHANGED
|
@@ -48,4 +48,9 @@ export declare function buildSharedAppDev(options: {
|
|
|
48
48
|
export declare function buildAuthExperience(options: BuildAuthExperienceOptions): Promise<BuildAppResult>;
|
|
49
49
|
export declare function prepareAppHtmlBundleEntry(entryPath: string): Promise<string>;
|
|
50
50
|
export declare function restoreAppStaticUrls(html: string): string;
|
|
51
|
+
/**
|
|
52
|
+
* The chunks the entry imports as it loads, and the chunks those import: everything the app runs
|
|
53
|
+
* before its first screen. Chunks loaded on demand, such as a chart, are saved when first used.
|
|
54
|
+
*/
|
|
55
|
+
export declare function startupChunks(outdir: string, entry: string): Promise<string[]>;
|
|
51
56
|
//# sourceMappingURL=build.d.ts.map
|
package/dist/build.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,0BAA0B,sBAAsB,CAAA;AAE7D,MAAM,WAAW,eAAe;IAC9B,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAA;IACjB,gEAAgE;IAChE,eAAe,EAAE,MAAM,CAAA;IACvB,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gEAAgE;IAChE,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAA;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAA;IACjB,gEAAgE;IAChE,eAAe,EAAE,MAAM,CAAA;IACvB,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CA0EhF;AAED;;;;GAIG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE;IAC/C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CACjC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAuBnC;AAsGD,yEAAyE;AACzE,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CAgEzB;AAKD,wBAAsB,yBAAyB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAUlF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEzD;AAyED;;;GAGG;AACH,wBAAsB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAYpF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/shell/phone/launch.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"/**\n * The launch screen's icon size in CSS pixels. The production loading shell and the iOS launch\n * image draw the app's icon at this size in the middle of the screen, so one hands over to the\n * other without a jump.\n */\nexport const LAUNCH_ICON_SIZE = 72\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;AAKO,IAAM,mBAAmB;",
|
|
8
|
+
"debugId": "DC57A0E4B0D0DE6E64756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -73,6 +73,12 @@ var sectionCatalog = [
|
|
|
73
73
|
group: "data",
|
|
74
74
|
details: [{ path: "/console/datasets/:datasetId", exportName: "ConsoleDatasetPage" }]
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
id: "lake-health",
|
|
78
|
+
path: "/console/lake-health",
|
|
79
|
+
exportName: "ConsoleLakeHealthPage",
|
|
80
|
+
group: "data"
|
|
81
|
+
},
|
|
76
82
|
{
|
|
77
83
|
id: "pipelines",
|
|
78
84
|
path: "/console/pipelines",
|
|
@@ -195,4 +201,4 @@ var sectionCatalog = [
|
|
|
195
201
|
|
|
196
202
|
export { defineAgentToolView2, agentToolViews, sectionCatalog };
|
|
197
203
|
|
|
198
|
-
//# debugId=
|
|
204
|
+
//# debugId=8845B1F342AFB7F364756E2164756E21
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"sources": ["../src/agent/tool-views/define.ts", "../src/sections/catalog.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"import type { AgentToolDefinition, InferAgentToolInput, InferAgentToolOutput } from \"@sixb/core\"\nimport type { ReactNode } from \"react\"\n\n/** Where a tool's view shows in the chat: in place of its row in the work, or in the answer. */\nexport type AgentToolViewPlacement = \"work\" | \"answer\"\n\n/**\n * What a tool's view receives, by the state of the call. A saved message holds only finished\n * calls; a live reply goes through every state.\n */\nexport type AgentToolViewProps<TTool extends AgentToolDefinition = AgentToolDefinition> =\n | {\n /** The model is still writing the input. */\n readonly state: \"input-streaming\"\n /** The input written so far: partial JSON text. */\n readonly inputText?: string\n readonly input?: undefined\n readonly output?: undefined\n readonly errorText?: undefined\n }\n | {\n /** The input is valid and the tool is running. */\n readonly state: \"input-available\"\n readonly inputText?: undefined\n readonly input: InferAgentToolInput<TTool>\n readonly output?: undefined\n readonly errorText?: undefined\n }\n | {\n readonly state: \"output-available\"\n readonly inputText?: undefined\n readonly input: InferAgentToolInput<TTool>\n readonly output: InferAgentToolOutput<TTool>\n readonly errorText?: undefined\n }\n | {\n readonly state: \"output-error\"\n readonly inputText?: undefined\n /**\n * What the model sent, when the call got that far. Not typed as the tool's input: a call\n * refused for its input carries the input it was refused for, which may not match the schema.\n */\n readonly input?: unknown\n readonly output?: undefined\n readonly errorText: string\n }\n\n// Views are stored together whatever their tool. Keep variance erasure at this boundary, so a\n// list of views for different tools is a `readonly AgentToolView[]`.\ntype StoredAgentToolViewRender<TTool extends AgentToolDefinition> = {\n bivarianceHack(props: AgentToolViewProps<TTool>): ReactNode\n}[\"bivarianceHack\"]\n\n/** How the chat shows one tool's calls. Register it in the `toolViews` export of `app/layout.tsx`. */\nexport interface AgentToolView<TTool extends AgentToolDefinition = AgentToolDefinition> {\n readonly kind: \"agentToolView\"\n readonly toolName: TTool[\"name\"]\n readonly placement: AgentToolViewPlacement\n readonly render: StoredAgentToolViewRender<TTool>\n}\n\nconst AGENT_TOOL_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_-]{0,63}$/\nconst PLACEMENTS: readonly AgentToolViewPlacement[] = [\"work\", \"answer\"]\n\n/**\n * Define how the chat shows a tool's calls. Type it with the tool's definition, imported as a type\n * so nothing from the server reaches the browser:\n *\n * ```tsx\n * import type { quoteShipping } from \"../../agent-tools/quote-shipping\"\n *\n * export const quoteView = defineAgentToolView<typeof quoteShipping>(\"quote_shipping\", {\n * placement: \"answer\",\n * }).render(({ state, output }) => (state === \"output-available\" ? <Quote {...output} /> : null))\n * ```\n *\n * The component renders as a React component, so it can use hooks. A view that throws falls back\n * to the tool's built-in row.\n */\nexport function defineAgentToolView<TTool extends AgentToolDefinition>(\n name: TTool[\"name\"],\n options: { readonly placement?: AgentToolViewPlacement } = {}\n): {\n render(component: (props: AgentToolViewProps<TTool>) => ReactNode): AgentToolView<TTool>\n} {\n if (typeof name !== \"string\" || !AGENT_TOOL_NAME_PATTERN.test(name)) {\n throw new Error(\n `[SixbApp] defineAgentToolView needs the name of a tool: 1-64 characters, starting with a letter or underscore, with only letters, numbers, underscores, or hyphens. Got ${JSON.stringify(name)}.`\n )\n }\n\n const placement = options.placement ?? \"work\"\n if (!PLACEMENTS.includes(placement)) {\n throw new Error(\n `[SixbApp] The view of tool '${name}' has placement ${JSON.stringify(placement)}. Use \"work\" or \"answer\".`\n )\n }\n\n return {\n render(component) {\n if (typeof component !== \"function\") {\n throw new Error(\n `[SixbApp] The view of tool '${name}' needs a component: pass one to .render().`\n )\n }\n\n return Object.freeze({ kind: \"agentToolView\", toolName: name, placement, render: component })\n },\n }\n}\n\nexport function isAgentToolView(value: unknown): value is AgentToolView {\n if (typeof value !== \"object\" || value === null) return false\n\n return (\n Reflect.get(value, \"kind\") === \"agentToolView\" &&\n typeof Reflect.get(value, \"toolName\") === \"string\" &&\n (PLACEMENTS as readonly unknown[]).includes(Reflect.get(value, \"placement\")) &&\n typeof Reflect.get(value, \"render\") === \"function\"\n )\n}\n\n/**\n * The views of a layout's `toolViews` export by tool name. Both the build, when it loads the\n * layout, and the provider in the browser read the export through this, so a mistake is reported\n * the same way: `fail` turns what is wrong into the error to throw.\n */\nexport function agentToolViews(\n views: unknown,\n fail: (detail: string) => Error = (detail) =>\n new Error(`[SixbApp] Invalid toolViews in app/layout.tsx: ${detail}`)\n): ReadonlyMap<string, AgentToolView> {\n if (views === undefined) return new Map()\n if (!Array.isArray(views)) {\n throw fail(\"the named toolViews export must be an array of views from defineAgentToolView.\")\n }\n\n const registry = new Map<string, AgentToolView>()\n views.forEach((view: unknown, index) => {\n if (!isAgentToolView(view)) {\n throw fail(`toolViews[${index}] is not a view from defineAgentToolView.`)\n }\n if (registry.has(view.toolName)) {\n throw fail(`two views for the tool '${view.toolName}'. Keep one view per tool.`)\n }\n registry.set(view.toolName, view)\n })\n\n return registry\n}\n",
|
|
6
|
-
"/**\n * The sections Sixb builds into every app, as plain data: the build reads it to add their routes,\n * and the browser reads it to draw their navigation. No React here, so the CLI can import it.\n *\n * A section is a group of pages at one path prefix. The Console opens to whoever holds\n * `can.observe(project.console)`. Settings opens to everyone signed in, and each of its project\n * pages to whoever may do what the page is for.\n */\n\nexport type AppSectionId = \"console\" | \"settings\"\n\n/** What the session's `access` says whether this person may open. */\nexport type SectionAccess =\n | \"console\"\n | \"logs\"\n | \"members\"\n | \"serviceAccounts\"\n | \"usage\"\n | \"activity\"\n\nexport interface SectionPageDefinition {\n readonly id: string\n readonly path: string\n /** The page's export from `@sixb/app/pages`. */\n readonly exportName: string\n /** Pages sharing a group sit under one heading in the section's navigation. */\n readonly group?: string\n /** A signed-in person sees the page when the session's `access` allows any of these. */\n readonly requires?: readonly SectionAccess[]\n /** Pages for one item below this one, such as a single sync under Syncs. */\n readonly details?: readonly { readonly path: string; readonly exportName: string }[]\n /** Paths outside the section that open from this page and keep the section around them. */\n readonly activeFor?: readonly string[]\n}\n\nexport interface SectionDefinition {\n readonly id: AppSectionId\n readonly path: string\n /** The export that answers the section's own path by opening its first page. */\n readonly indexExportName: string\n /** Every page needs a signed-in person, so the section is absent when auth is off. */\n readonly requiresUser: boolean\n /** A signed-in person sees the section when the session's `access` allows any of these. */\n readonly requires?: readonly SectionAccess[]\n readonly pages: readonly SectionPageDefinition[]\n}\n\nexport const sectionCatalog: readonly SectionDefinition[] = [\n // In this order in the user menu, Settings last.\n {\n // What the project runs, how data reaches it, and what it models: the developer's view.\n id: \"console\",\n path: \"/console\",\n indexExportName: \"ConsoleIndexPage\",\n requiresUser: false,\n requires: [\"console\"],\n // Pages appear in this order; consecutive pages of one group share its heading.\n pages: [\n {\n id: \"connectors\",\n path: \"/console/connectors\",\n exportName: \"ConsoleConnectorsPage\",\n group: \"data\",\n details: [{ path: \"/console/connectors/:connectorId\", exportName: \"ConsoleConnectorPage\" }],\n },\n {\n id: \"syncs\",\n path: \"/console/syncs\",\n exportName: \"ConsoleSyncsPage\",\n group: \"data\",\n details: [{ path: \"/console/syncs/:syncId\", exportName: \"ConsoleSyncPage\" }],\n },\n {\n id: \"datasets\",\n path: \"/console/datasets\",\n exportName: \"ConsoleDatasetsPage\",\n group: \"data\",\n details: [{ path: \"/console/datasets/:datasetId\", exportName: \"ConsoleDatasetPage\" }],\n },\n {\n id: \"pipelines\",\n path: \"/console/pipelines\",\n exportName: \"ConsolePipelinesPage\",\n group: \"data\",\n details: [{ path: \"/console/pipelines/:pipelineId\", exportName: \"ConsolePipelinePage\" }],\n },\n {\n id: \"projections\",\n path: \"/console/projections\",\n exportName: \"ConsoleProjectionsPage\",\n group: \"data\",\n details: [\n { path: \"/console/projections/:projectionId\", exportName: \"ConsoleProjectionPage\" },\n ],\n },\n {\n id: \"object-types\",\n path: \"/console/object-types\",\n exportName: \"ConsoleObjectTypesPage\",\n group: \"ontology\",\n details: [\n { path: \"/console/object-types/:objectTypeId\", exportName: \"ConsoleObjectTypePage\" },\n ],\n },\n {\n id: \"objects\",\n path: \"/console/objects\",\n exportName: \"ConsoleObjectsPage\",\n group: \"ontology\",\n // An object's page lives outside the section, so people who cannot open it still can.\n activeFor: [\"/objects\"],\n },\n { id: \"graph\", path: \"/console/graph\", exportName: \"ConsoleGraphPage\", group: \"ontology\" },\n {\n id: \"actions\",\n path: \"/console/actions\",\n exportName: \"ConsoleActionsPage\",\n group: \"ontology\",\n details: [{ path: \"/console/actions/runs/:runId\", exportName: \"ConsoleActionRunPage\" }],\n },\n {\n id: \"workflows\",\n path: \"/console/workflows\",\n exportName: \"ConsoleWorkflowsPage\",\n group: \"ontology\",\n details: [\n { path: \"/console/workflows/:workflowId\", exportName: \"ConsoleWorkflowPage\" },\n { path: \"/console/workflows/runs/:runId\", exportName: \"ConsoleWorkflowRunPage\" },\n ],\n },\n {\n id: \"rules\",\n path: \"/console/rules\",\n exportName: \"ConsoleRulesPage\",\n group: \"ontology\",\n details: [{ path: \"/console/rules/:ruleId\", exportName: \"ConsoleRulePage\" }],\n },\n // Logs read across Data and Ontology, so they close the list rather than open it.\n {\n id: \"logs\",\n path: \"/console/logs\",\n exportName: \"ConsoleLogsPage\",\n requires: [\"logs\"],\n },\n ],\n },\n {\n id: \"settings\",\n path: \"/settings\",\n indexExportName: \"SettingsIndexPage\",\n requiresUser: true,\n // Pages appear in this order; consecutive pages of one group share its heading.\n pages: [\n {\n id: \"personal\",\n path: \"/settings/personal\",\n exportName: \"SettingsPersonalPage\",\n group: \"account\",\n },\n {\n id: \"developers\",\n path: \"/settings/developers\",\n exportName: \"SettingsDevelopersPage\",\n group: \"account\",\n },\n {\n id: \"memory\",\n path: \"/settings/memory\",\n exportName: \"SettingsMemoryPage\",\n group: \"account\",\n },\n {\n id: \"members\",\n path: \"/settings/members\",\n exportName: \"SettingsMembersPage\",\n group: \"project\",\n // People, groups and service accounts, each a tab for whoever may manage it. The people\n // listed are only those a person may change, so it is for those who can.\n requires: [\"members\", \"serviceAccounts\"],\n },\n {\n id: \"usage\",\n path: \"/settings/usage\",\n exportName: \"SettingsUsagePage\",\n group: \"project\",\n requires: [\"usage\"],\n },\n {\n id: \"activity\",\n path: \"/settings/activity\",\n exportName: \"SettingsActivityPage\",\n group: \"project\",\n requires: [\"activity\"],\n details: [\n {\n path: \"/settings/activity/threads/:threadId\",\n exportName: \"SettingsActivityThreadPage\",\n },\n ],\n },\n ],\n },\n]\n"
|
|
6
|
+
"/**\n * The sections Sixb builds into every app, as plain data: the build reads it to add their routes,\n * and the browser reads it to draw their navigation. No React here, so the CLI can import it.\n *\n * A section is a group of pages at one path prefix. The Console opens to whoever holds\n * `can.observe(project.console)`. Settings opens to everyone signed in, and each of its project\n * pages to whoever may do what the page is for.\n */\n\nexport type AppSectionId = \"console\" | \"settings\"\n\n/** What the session's `access` says whether this person may open. */\nexport type SectionAccess =\n | \"console\"\n | \"logs\"\n | \"members\"\n | \"serviceAccounts\"\n | \"usage\"\n | \"activity\"\n\nexport interface SectionPageDefinition {\n readonly id: string\n readonly path: string\n /** The page's export from `@sixb/app/pages`. */\n readonly exportName: string\n /** Pages sharing a group sit under one heading in the section's navigation. */\n readonly group?: string\n /** A signed-in person sees the page when the session's `access` allows any of these. */\n readonly requires?: readonly SectionAccess[]\n /** Pages for one item below this one, such as a single sync under Syncs. */\n readonly details?: readonly { readonly path: string; readonly exportName: string }[]\n /** Paths outside the section that open from this page and keep the section around them. */\n readonly activeFor?: readonly string[]\n}\n\nexport interface SectionDefinition {\n readonly id: AppSectionId\n readonly path: string\n /** The export that answers the section's own path by opening its first page. */\n readonly indexExportName: string\n /** Every page needs a signed-in person, so the section is absent when auth is off. */\n readonly requiresUser: boolean\n /** A signed-in person sees the section when the session's `access` allows any of these. */\n readonly requires?: readonly SectionAccess[]\n readonly pages: readonly SectionPageDefinition[]\n}\n\nexport const sectionCatalog: readonly SectionDefinition[] = [\n // In this order in the user menu, Settings last.\n {\n // What the project runs, how data reaches it, and what it models: the developer's view.\n id: \"console\",\n path: \"/console\",\n indexExportName: \"ConsoleIndexPage\",\n requiresUser: false,\n requires: [\"console\"],\n // Pages appear in this order; consecutive pages of one group share its heading.\n pages: [\n {\n id: \"connectors\",\n path: \"/console/connectors\",\n exportName: \"ConsoleConnectorsPage\",\n group: \"data\",\n details: [{ path: \"/console/connectors/:connectorId\", exportName: \"ConsoleConnectorPage\" }],\n },\n {\n id: \"syncs\",\n path: \"/console/syncs\",\n exportName: \"ConsoleSyncsPage\",\n group: \"data\",\n details: [{ path: \"/console/syncs/:syncId\", exportName: \"ConsoleSyncPage\" }],\n },\n {\n id: \"datasets\",\n path: \"/console/datasets\",\n exportName: \"ConsoleDatasetsPage\",\n group: \"data\",\n details: [{ path: \"/console/datasets/:datasetId\", exportName: \"ConsoleDatasetPage\" }],\n },\n {\n id: \"lake-health\",\n path: \"/console/lake-health\",\n exportName: \"ConsoleLakeHealthPage\",\n group: \"data\",\n },\n {\n id: \"pipelines\",\n path: \"/console/pipelines\",\n exportName: \"ConsolePipelinesPage\",\n group: \"data\",\n details: [{ path: \"/console/pipelines/:pipelineId\", exportName: \"ConsolePipelinePage\" }],\n },\n {\n id: \"projections\",\n path: \"/console/projections\",\n exportName: \"ConsoleProjectionsPage\",\n group: \"data\",\n details: [\n { path: \"/console/projections/:projectionId\", exportName: \"ConsoleProjectionPage\" },\n ],\n },\n {\n id: \"object-types\",\n path: \"/console/object-types\",\n exportName: \"ConsoleObjectTypesPage\",\n group: \"ontology\",\n details: [\n { path: \"/console/object-types/:objectTypeId\", exportName: \"ConsoleObjectTypePage\" },\n ],\n },\n {\n id: \"objects\",\n path: \"/console/objects\",\n exportName: \"ConsoleObjectsPage\",\n group: \"ontology\",\n // An object's page lives outside the section, so people who cannot open it still can.\n activeFor: [\"/objects\"],\n },\n { id: \"graph\", path: \"/console/graph\", exportName: \"ConsoleGraphPage\", group: \"ontology\" },\n {\n id: \"actions\",\n path: \"/console/actions\",\n exportName: \"ConsoleActionsPage\",\n group: \"ontology\",\n details: [{ path: \"/console/actions/runs/:runId\", exportName: \"ConsoleActionRunPage\" }],\n },\n {\n id: \"workflows\",\n path: \"/console/workflows\",\n exportName: \"ConsoleWorkflowsPage\",\n group: \"ontology\",\n details: [\n { path: \"/console/workflows/:workflowId\", exportName: \"ConsoleWorkflowPage\" },\n { path: \"/console/workflows/runs/:runId\", exportName: \"ConsoleWorkflowRunPage\" },\n ],\n },\n {\n id: \"rules\",\n path: \"/console/rules\",\n exportName: \"ConsoleRulesPage\",\n group: \"ontology\",\n details: [{ path: \"/console/rules/:ruleId\", exportName: \"ConsoleRulePage\" }],\n },\n // Logs read across Data and Ontology, so they close the list rather than open it.\n {\n id: \"logs\",\n path: \"/console/logs\",\n exportName: \"ConsoleLogsPage\",\n requires: [\"logs\"],\n },\n ],\n },\n {\n id: \"settings\",\n path: \"/settings\",\n indexExportName: \"SettingsIndexPage\",\n requiresUser: true,\n // Pages appear in this order; consecutive pages of one group share its heading.\n pages: [\n {\n id: \"personal\",\n path: \"/settings/personal\",\n exportName: \"SettingsPersonalPage\",\n group: \"account\",\n },\n {\n id: \"developers\",\n path: \"/settings/developers\",\n exportName: \"SettingsDevelopersPage\",\n group: \"account\",\n },\n {\n id: \"memory\",\n path: \"/settings/memory\",\n exportName: \"SettingsMemoryPage\",\n group: \"account\",\n },\n {\n id: \"members\",\n path: \"/settings/members\",\n exportName: \"SettingsMembersPage\",\n group: \"project\",\n // People, groups and service accounts, each a tab for whoever may manage it. The people\n // listed are only those a person may change, so it is for those who can.\n requires: [\"members\", \"serviceAccounts\"],\n },\n {\n id: \"usage\",\n path: \"/settings/usage\",\n exportName: \"SettingsUsagePage\",\n group: \"project\",\n requires: [\"usage\"],\n },\n {\n id: \"activity\",\n path: \"/settings/activity\",\n exportName: \"SettingsActivityPage\",\n group: \"project\",\n requires: [\"activity\"],\n details: [\n {\n path: \"/settings/activity/threads/:threadId\",\n exportName: \"SettingsActivityThreadPage\",\n },\n ],\n },\n ],\n },\n]\n"
|
|
7
7
|
],
|
|
8
|
-
"mappings": ";;AA6DA,IAAM,0BAA0B;AAChC,IAAM,aAAgD,CAAC,QAAQ,QAAQ;AAiBhE,SAAS,oBAAsD,CACpE,MACA,UAA2D,CAAC,GAG5D;AAAA,EACA,IAAI,OAAO,SAAS,YAAY,CAAC,wBAAwB,KAAK,IAAI,GAAG;AAAA,IACnE,MAAM,IAAI,MACR,2KAA2K,KAAK,UAAU,IAAI,IAChM;AAAA,EACF;AAAA,EAEA,MAAM,YAAY,QAAQ,aAAa;AAAA,EACvC,IAAI,CAAC,WAAW,SAAS,SAAS,GAAG;AAAA,IACnC,MAAM,IAAI,MACR,+BAA+B,uBAAuB,KAAK,UAAU,SAAS,4BAChF;AAAA,EACF;AAAA,EAEA,OAAO;AAAA,IACL,MAAM,CAAC,WAAW;AAAA,MAChB,IAAI,OAAO,cAAc,YAAY;AAAA,QACnC,MAAM,IAAI,MACR,+BAA+B,iDACjC;AAAA,MACF;AAAA,MAEA,OAAO,OAAO,OAAO,EAAE,MAAM,iBAAiB,UAAU,MAAM,WAAW,QAAQ,UAAU,CAAC;AAAA;AAAA,EAEhG;AAAA;AAGK,SAAS,eAAe,CAAC,OAAwC;AAAA,EACtE,IAAI,OAAO,UAAU,YAAY,UAAU;AAAA,IAAM,OAAO;AAAA,EAExD,OACE,QAAQ,IAAI,OAAO,MAAM,MAAM,mBAC/B,OAAO,QAAQ,IAAI,OAAO,UAAU,MAAM,YACzC,WAAkC,SAAS,QAAQ,IAAI,OAAO,WAAW,CAAC,KAC3E,OAAO,QAAQ,IAAI,OAAO,QAAQ,MAAM;AAAA;AASrC,SAAS,cAAc,CAC5B,OACA,OAAkC,CAAC,WACjC,IAAI,MAAM,kDAAkD,QAAQ,GAClC;AAAA,EACpC,I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AAY;AAAA,QACZ,OAAO;AAAA,QAGP,UAAU,CAAC,WAAW,iBAAiB;AAAA,MACzC;AAAA,MACA;AAAA,QACE,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,UAAU,CAAC,OAAO;AAAA,MACpB;AAAA,MACA;AAAA,QACE,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,UAAU,CAAC,UAAU;AAAA,QACrB,SAAS;AAAA,UACP;AAAA,YACE,MAAM;AAAA,YACN,YAAY;AAAA,UACd;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;",
|
|
9
|
+
"debugId": "8845B1F342AFB7F364756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
|
@@ -12,6 +12,10 @@ var en = {
|
|
|
12
12
|
title: "Something went wrong",
|
|
13
13
|
sharedDetail: "This shared page could not be displayed."
|
|
14
14
|
},
|
|
15
|
+
offline: {
|
|
16
|
+
title: "You're offline",
|
|
17
|
+
detail: "The app opens as soon as you're connected again."
|
|
18
|
+
},
|
|
15
19
|
apiUnavailable: {
|
|
16
20
|
title: "Can't reach the Sixb API",
|
|
17
21
|
detail: (apiBaseUrl) => `This app could not load your session from ${apiBaseUrl}. Check that the API is running and allows this origin, then retry.`
|
|
@@ -37,6 +41,13 @@ var en = {
|
|
|
37
41
|
},
|
|
38
42
|
agent: { title: "Agent", open: "Ask the agent" },
|
|
39
43
|
artifacts: "Artifacts",
|
|
44
|
+
phone: {
|
|
45
|
+
back: "Back",
|
|
46
|
+
more: "More",
|
|
47
|
+
moreDescription: "Every place in the app, and your account.",
|
|
48
|
+
tabs: "Primary",
|
|
49
|
+
workspace: "Workspace"
|
|
50
|
+
},
|
|
40
51
|
sections: {
|
|
41
52
|
back: "Back",
|
|
42
53
|
console: {
|
|
@@ -47,6 +58,7 @@ var en = {
|
|
|
47
58
|
connectors: "Connectors",
|
|
48
59
|
syncs: "Syncs",
|
|
49
60
|
datasets: "Datasets",
|
|
61
|
+
"lake-health": "Lake health",
|
|
50
62
|
pipelines: "Pipelines",
|
|
51
63
|
projections: "Projections",
|
|
52
64
|
"object-types": "Object types",
|
|
@@ -92,6 +104,10 @@ var fr = {
|
|
|
92
104
|
title: "Une erreur est survenue",
|
|
93
105
|
sharedDetail: "Cette page partag\xE9e n\u2019a pas pu \xEAtre affich\xE9e."
|
|
94
106
|
},
|
|
107
|
+
offline: {
|
|
108
|
+
title: "Vous \xEAtes hors ligne",
|
|
109
|
+
detail: "L\u2019application s\u2019ouvre d\xE8s que vous \xEAtes de nouveau connect\xE9."
|
|
110
|
+
},
|
|
95
111
|
apiUnavailable: {
|
|
96
112
|
title: "Impossible de joindre l\u2019API Sixb",
|
|
97
113
|
detail: (apiBaseUrl) => `L\u2019application n\u2019a pas pu charger la session depuis ${apiBaseUrl}. V\xE9rifiez que l\u2019API est d\xE9marr\xE9e et autorise cette origine, puis r\xE9essayez.`
|
|
@@ -117,6 +133,13 @@ var fr = {
|
|
|
117
133
|
},
|
|
118
134
|
agent: { title: "Agent", open: "Demander \xE0 l\u2019agent" },
|
|
119
135
|
artifacts: "Artefacts",
|
|
136
|
+
phone: {
|
|
137
|
+
back: "Retour",
|
|
138
|
+
more: "Plus",
|
|
139
|
+
moreDescription: "Toutes les pages de l\u2019application, et votre compte.",
|
|
140
|
+
tabs: "Principal",
|
|
141
|
+
workspace: "Espace de travail"
|
|
142
|
+
},
|
|
120
143
|
sections: {
|
|
121
144
|
back: "Retour",
|
|
122
145
|
console: {
|
|
@@ -127,6 +150,7 @@ var fr = {
|
|
|
127
150
|
connectors: "Connecteurs",
|
|
128
151
|
syncs: "Synchronisations",
|
|
129
152
|
datasets: "Jeux de donn\xE9es",
|
|
153
|
+
"lake-health": "Sant\xE9 du lac",
|
|
130
154
|
pipelines: "Pipelines",
|
|
131
155
|
projections: "Projections",
|
|
132
156
|
"object-types": "Types d\u2019objets",
|
|
@@ -163,4 +187,4 @@ var fr = {
|
|
|
163
187
|
|
|
164
188
|
export { en, fr };
|
|
165
189
|
|
|
166
|
-
//# debugId=
|
|
190
|
+
//# debugId=9E21454DA151970A64756E2164756E21
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/locale-messages.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import type { MessageTree, Translation } from \"@sixb/ui/lib/i18n\"\n\n/** Source catalog of the screens Sixb generates around a custom app. */\nexport const en = {\n goHome: \"Go home\",\n reload: \"Reload\",\n retry: \"Retry\",\n notFound: {\n title: \"Not found\",\n detail: \"The page or resource you requested does not exist.\",\n },\n error: {\n title: \"Something went wrong\",\n sharedDetail: \"This shared page could not be displayed.\",\n },\n offline: {\n title: \"You're offline\",\n detail: \"The app opens as soon as you're connected again.\",\n },\n apiUnavailable: {\n title: \"Can't reach the Sixb API\",\n detail: (apiBaseUrl: string) =>\n `This app could not load your session from ${apiBaseUrl}. Check that the API is running and allows this origin, then retry.`,\n },\n home: {\n title: \"Ask your project.\",\n subtitle: \"Then make it yours.\",\n description:\n \"The agent reads your project's objects and everything behind them: their sources, syncs and runs.\",\n empty: \"There's nothing here yet.\",\n },\n userMenu: {\n // Names the menu's button when sign-in is off and nobody is signed in.\n signInOff: \"Sign-in off\",\n theme: \"Theme\",\n signOut: \"Sign out\",\n },\n search: {\n label: \"Search\",\n placeholder: \"Search pages and objects…\",\n empty: \"Nothing matches.\",\n searching: \"Searching objects…\",\n objects: \"Objects\",\n pages: \"Pages\",\n },\n agent: { title: \"Agent\", open: \"Ask the agent\" },\n artifacts: \"Artifacts\",\n phone: {\n back: \"Back\",\n more: \"More\",\n moreDescription: \"Every place in the app, and your account.\",\n tabs: \"Primary\",\n workspace: \"Workspace\",\n },\n sections: {\n back: \"Back\",\n console: {\n label: \"Console\",\n groups: { data: \"Data\", ontology: \"Ontology\" },\n pages: {\n logs: \"Logs\",\n connectors: \"Connectors\",\n syncs: \"Syncs\",\n datasets: \"Datasets\",\n \"lake-health\": \"Lake health\",\n pipelines: \"Pipelines\",\n projections: \"Projections\",\n \"object-types\": \"Object types\",\n objects: \"Objects\",\n graph: \"Graph\",\n actions: \"Actions\",\n workflows: \"Workflows\",\n rules: \"Rules\",\n },\n },\n settings: {\n label: \"Settings\",\n groups: { account: \"Your account\", project: \"Project\" },\n pages: {\n personal: \"Personal\",\n developers: \"Developers\",\n memory: \"Memory\",\n members: \"Members\",\n usage: \"Usage\",\n activity: \"Activity\",\n },\n },\n },\n shared: {\n opening: \"Opening shared access…\",\n verifying: \"Please wait while this link is verified.\",\n retryableTitle: \"Unable to open this link\",\n retryableDetail: \"A temporary problem occurred. Please try again.\",\n unavailableTitle: \"Link unavailable\",\n unavailableDetail: \"This shared link is invalid, expired, or no longer available.\",\n tryAgain: \"Try again\",\n },\n} satisfies MessageTree\n\nexport type AppMessages = typeof en\n\nexport const fr: Translation<AppMessages> = {\n goHome: \"Retour à l’accueil\",\n reload: \"Recharger\",\n retry: \"Réessayer\",\n notFound: {\n title: \"Page introuvable\",\n detail: \"La page ou la ressource demandée n’existe pas.\",\n },\n error: {\n title: \"Une erreur est survenue\",\n sharedDetail: \"Cette page partagée n’a pas pu être affichée.\",\n },\n offline: {\n title: \"Vous êtes hors ligne\",\n detail: \"L’application s’ouvre dès que vous êtes de nouveau connecté.\",\n },\n apiUnavailable: {\n title: \"Impossible de joindre l’API Sixb\",\n detail: (apiBaseUrl) =>\n `L’application n’a pas pu charger la session depuis ${apiBaseUrl}. Vérifiez que l’API est démarrée et autorise cette origine, puis réessayez.`,\n },\n home: {\n title: \"Interrogez votre projet.\",\n subtitle: \"Puis faites-en le vôtre.\",\n description:\n \"L’agent lit les objets de votre projet et tout ce qui les alimente : leurs sources, leurs synchronisations et leurs exécutions.\",\n empty: \"Il n’y a rien ici pour l’instant.\",\n },\n userMenu: {\n signInOff: \"Connexion désactivée\",\n theme: \"Thème\",\n signOut: \"Se déconnecter\",\n },\n search: {\n label: \"Rechercher\",\n placeholder: \"Rechercher des pages et des objets…\",\n empty: \"Aucun résultat.\",\n searching: \"Recherche d’objets…\",\n objects: \"Objets\",\n pages: \"Pages\",\n },\n agent: { title: \"Agent\", open: \"Demander à l’agent\" },\n artifacts: \"Artefacts\",\n phone: {\n back: \"Retour\",\n more: \"Plus\",\n moreDescription: \"Toutes les pages de l’application, et votre compte.\",\n tabs: \"Principal\",\n workspace: \"Espace de travail\",\n },\n sections: {\n back: \"Retour\",\n console: {\n label: \"Console\",\n groups: { data: \"Données\", ontology: \"Ontologie\" },\n pages: {\n logs: \"Journaux\",\n connectors: \"Connecteurs\",\n syncs: \"Synchronisations\",\n datasets: \"Jeux de données\",\n \"lake-health\": \"Santé du lac\",\n pipelines: \"Pipelines\",\n projections: \"Projections\",\n \"object-types\": \"Types d’objets\",\n objects: \"Objets\",\n graph: \"Graphe\",\n actions: \"Actions\",\n workflows: \"Workflows\",\n rules: \"Règles\",\n },\n },\n settings: {\n label: \"Paramètres\",\n groups: { account: \"Votre compte\", project: \"Projet\" },\n pages: {\n personal: \"Personnel\",\n developers: \"Développeurs\",\n memory: \"Mémoire\",\n members: \"Membres\",\n usage: \"Usage\",\n activity: \"Activité\",\n },\n },\n },\n shared: {\n opening: \"Ouverture de l’accès partagé…\",\n verifying: \"Vérification du lien en cours.\",\n retryableTitle: \"Impossible d’ouvrir ce lien\",\n retryableDetail: \"Un problème temporaire est survenu. Réessayez.\",\n unavailableTitle: \"Lien indisponible\",\n unavailableDetail: \"Ce lien de partage est invalide, a expiré ou n’est plus disponible.\",\n tryAgain: \"Réessayer\",\n },\n}\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;AAGO,IAAM,KAAK;AAAA,EAChB,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,UAAU;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,EACV;AAAA,EACA,OAAO;AAAA,IACL,OAAO;AAA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