@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
|
@@ -95,6 +95,9 @@ export declare const useAgentMessages: () => {
|
|
|
95
95
|
searching: string;
|
|
96
96
|
empty: (query: string) => string;
|
|
97
97
|
remove: (label: string) => string;
|
|
98
|
+
showComments: (label: string) => string;
|
|
99
|
+
someone: string;
|
|
100
|
+
replies: (count: number) => string;
|
|
98
101
|
unnamed: string;
|
|
99
102
|
};
|
|
100
103
|
models: {
|
|
@@ -300,10 +303,7 @@ export declare const useAgentMessages: () => {
|
|
|
300
303
|
timeout: string;
|
|
301
304
|
unknown: string;
|
|
302
305
|
};
|
|
303
|
-
|
|
304
|
-
asks: string;
|
|
305
|
-
answer: string;
|
|
306
|
-
answerHint: string;
|
|
306
|
+
noAnswer: string;
|
|
307
307
|
close: string;
|
|
308
308
|
viewRequest: string;
|
|
309
309
|
stepsLater: string;
|
|
@@ -337,6 +337,9 @@ export declare const useAgentMessages: () => {
|
|
|
337
337
|
heardFrom: (key: string) => string;
|
|
338
338
|
heardFromCount: (agents: number) => string;
|
|
339
339
|
waitFailed: string;
|
|
340
|
+
stoppingAgent: (key: string) => string;
|
|
341
|
+
stoppedAgent: (key: string) => string;
|
|
342
|
+
stopAgentFailed: (key: string) => string;
|
|
340
343
|
askedAgent: (question: string) => string;
|
|
341
344
|
line: {
|
|
342
345
|
names: (names: readonly string[]) => string;
|
|
@@ -402,6 +405,34 @@ export declare const useAgentMessages: () => {
|
|
|
402
405
|
failed: (name: string) => string;
|
|
403
406
|
open: (name: string) => string;
|
|
404
407
|
};
|
|
408
|
+
questions: {
|
|
409
|
+
card: (count: number) => string;
|
|
410
|
+
asked: string;
|
|
411
|
+
waiting: string;
|
|
412
|
+
running: string;
|
|
413
|
+
send: string;
|
|
414
|
+
sending: string;
|
|
415
|
+
pickAny: string;
|
|
416
|
+
typeAnswer: string;
|
|
417
|
+
typeOther: string;
|
|
418
|
+
somethingElse: string;
|
|
419
|
+
next: string;
|
|
420
|
+
back: string;
|
|
421
|
+
step: (step: number, total: number) => string;
|
|
422
|
+
dismiss: string;
|
|
423
|
+
};
|
|
424
|
+
edit: {
|
|
425
|
+
title: (name: string) => string;
|
|
426
|
+
running: (name: string) => string;
|
|
427
|
+
failed: (name: string) => string;
|
|
428
|
+
};
|
|
429
|
+
write: {
|
|
430
|
+
created: (name: string) => string;
|
|
431
|
+
replaced: (name: string) => string;
|
|
432
|
+
running: (name: string) => string;
|
|
433
|
+
failed: (name: string) => string;
|
|
434
|
+
lines: (lines: number) => string;
|
|
435
|
+
};
|
|
405
436
|
read: {
|
|
406
437
|
file: {
|
|
407
438
|
title: (name: string) => string;
|
|
@@ -418,6 +449,12 @@ export declare const useAgentMessages: () => {
|
|
|
418
449
|
running: (name: string) => string;
|
|
419
450
|
failed: (name: string) => string;
|
|
420
451
|
};
|
|
452
|
+
directory: {
|
|
453
|
+
title: (name: string) => string;
|
|
454
|
+
running: (name: string) => string;
|
|
455
|
+
failed: (name: string) => string;
|
|
456
|
+
};
|
|
457
|
+
entries: (entries: number) => string;
|
|
421
458
|
memory: {
|
|
422
459
|
title: (project: boolean) => string;
|
|
423
460
|
running: (project: boolean) => string;
|
|
@@ -808,6 +845,13 @@ export declare const useAgentMessages: () => {
|
|
|
808
845
|
publishing: (title: string) => string;
|
|
809
846
|
published: (title: string) => string;
|
|
810
847
|
publishFailed: (title: string) => string;
|
|
848
|
+
updating: (title: string) => string;
|
|
849
|
+
updated: (title: string) => string;
|
|
850
|
+
updateFailed: (title: string) => string;
|
|
851
|
+
opening: (title: string) => string;
|
|
852
|
+
opened: (title: string) => string;
|
|
853
|
+
openFailed: (title: string) => string;
|
|
854
|
+
changed: string;
|
|
811
855
|
open: (title: string) => string;
|
|
812
856
|
cards: string;
|
|
813
857
|
close: string;
|
|
@@ -1111,6 +1155,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1111
1155
|
searching: string;
|
|
1112
1156
|
empty: (query: string) => string;
|
|
1113
1157
|
remove: (label: string) => string;
|
|
1158
|
+
showComments: (label: string) => string;
|
|
1159
|
+
someone: string;
|
|
1160
|
+
replies: (count: number) => string;
|
|
1114
1161
|
unnamed: string;
|
|
1115
1162
|
};
|
|
1116
1163
|
models: {
|
|
@@ -1316,10 +1363,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1316
1363
|
timeout: string;
|
|
1317
1364
|
unknown: string;
|
|
1318
1365
|
};
|
|
1319
|
-
|
|
1320
|
-
asks: string;
|
|
1321
|
-
answer: string;
|
|
1322
|
-
answerHint: string;
|
|
1366
|
+
noAnswer: string;
|
|
1323
1367
|
close: string;
|
|
1324
1368
|
viewRequest: string;
|
|
1325
1369
|
stepsLater: string;
|
|
@@ -1353,6 +1397,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1353
1397
|
heardFrom: (key: string) => string;
|
|
1354
1398
|
heardFromCount: (agents: number) => string;
|
|
1355
1399
|
waitFailed: string;
|
|
1400
|
+
stoppingAgent: (key: string) => string;
|
|
1401
|
+
stoppedAgent: (key: string) => string;
|
|
1402
|
+
stopAgentFailed: (key: string) => string;
|
|
1356
1403
|
askedAgent: (question: string) => string;
|
|
1357
1404
|
line: {
|
|
1358
1405
|
names: (names: readonly string[]) => string;
|
|
@@ -1418,6 +1465,34 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1418
1465
|
failed: (name: string) => string;
|
|
1419
1466
|
open: (name: string) => string;
|
|
1420
1467
|
};
|
|
1468
|
+
questions: {
|
|
1469
|
+
card: (count: number) => string;
|
|
1470
|
+
asked: string;
|
|
1471
|
+
waiting: string;
|
|
1472
|
+
running: string;
|
|
1473
|
+
send: string;
|
|
1474
|
+
sending: string;
|
|
1475
|
+
pickAny: string;
|
|
1476
|
+
typeAnswer: string;
|
|
1477
|
+
typeOther: string;
|
|
1478
|
+
somethingElse: string;
|
|
1479
|
+
next: string;
|
|
1480
|
+
back: string;
|
|
1481
|
+
step: (step: number, total: number) => string;
|
|
1482
|
+
dismiss: string;
|
|
1483
|
+
};
|
|
1484
|
+
edit: {
|
|
1485
|
+
title: (name: string) => string;
|
|
1486
|
+
running: (name: string) => string;
|
|
1487
|
+
failed: (name: string) => string;
|
|
1488
|
+
};
|
|
1489
|
+
write: {
|
|
1490
|
+
created: (name: string) => string;
|
|
1491
|
+
replaced: (name: string) => string;
|
|
1492
|
+
running: (name: string) => string;
|
|
1493
|
+
failed: (name: string) => string;
|
|
1494
|
+
lines: (lines: number) => string;
|
|
1495
|
+
};
|
|
1421
1496
|
read: {
|
|
1422
1497
|
file: {
|
|
1423
1498
|
title: (name: string) => string;
|
|
@@ -1434,6 +1509,12 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1434
1509
|
running: (name: string) => string;
|
|
1435
1510
|
failed: (name: string) => string;
|
|
1436
1511
|
};
|
|
1512
|
+
directory: {
|
|
1513
|
+
title: (name: string) => string;
|
|
1514
|
+
running: (name: string) => string;
|
|
1515
|
+
failed: (name: string) => string;
|
|
1516
|
+
};
|
|
1517
|
+
entries: (entries: number) => string;
|
|
1437
1518
|
memory: {
|
|
1438
1519
|
title: (project: boolean) => string;
|
|
1439
1520
|
running: (project: boolean) => string;
|
|
@@ -1824,6 +1905,13 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1824
1905
|
publishing: (title: string) => string;
|
|
1825
1906
|
published: (title: string) => string;
|
|
1826
1907
|
publishFailed: (title: string) => string;
|
|
1908
|
+
updating: (title: string) => string;
|
|
1909
|
+
updated: (title: string) => string;
|
|
1910
|
+
updateFailed: (title: string) => string;
|
|
1911
|
+
opening: (title: string) => string;
|
|
1912
|
+
opened: (title: string) => string;
|
|
1913
|
+
openFailed: (title: string) => string;
|
|
1914
|
+
changed: string;
|
|
1827
1915
|
open: (title: string) => string;
|
|
1828
1916
|
cards: string;
|
|
1829
1917
|
close: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,MAAM,CAAA;AAK7C,wFAAwF;AACxF,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,MAAM,CAAA;AAK7C,wFAAwF;AACxF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
@@ -6,7 +6,7 @@ export interface MessageAgentDescription {
|
|
|
6
6
|
/** The live label while it is the latest work: short, in the moment. */
|
|
7
7
|
readonly running: string;
|
|
8
8
|
}
|
|
9
|
-
/** A question a child waits on, as `
|
|
9
|
+
/** A question a child waits on, as `wait` returned it. */
|
|
10
10
|
export interface ChildQuestion {
|
|
11
11
|
readonly key: string;
|
|
12
12
|
readonly text: string;
|
|
@@ -16,6 +16,6 @@ export interface ChildQuestion {
|
|
|
16
16
|
* a child waiting on its question, it is the Agent's answer.
|
|
17
17
|
*/
|
|
18
18
|
export declare function describeMessageAgent(tool: NormalizedTool, messages: AgentMessages): MessageAgentDescription;
|
|
19
|
-
/** The questions a `
|
|
19
|
+
/** The questions a `wait` call returned: the children that wait on the Agent's answer. */
|
|
20
20
|
export declare function childQuestions(tool: NormalizedTool): readonly ChildQuestion[];
|
|
21
21
|
//# sourceMappingURL=interpret.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/message-agent/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/message-agent/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,UAAU,CAAA;AAG/D,MAAM,WAAW,uBAAuB;IACtC,8EAA8E;IAC9E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB;AAED,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,aAAa,GACtB,uBAAuB,CAmBzB;AAED,0FAA0F;AAC1F,wBAAgB,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,aAAa,EAAE,CAU7E"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import type { ArtifactKindName } from "../../artifacts/kind-icon";
|
|
2
2
|
import type { NormalizedPart, NormalizedTool } from "../parts";
|
|
3
3
|
export declare function isPublishTool(toolName: string): boolean;
|
|
4
|
+
/** Whether a publish call changed an artifact that was there before, rather than created one. */
|
|
5
|
+
export declare function isUpdate(tool: Pick<NormalizedTool, "toolName" | "input">): boolean;
|
|
4
6
|
/** What one publish call published, read from its result. */
|
|
5
7
|
export interface PublishedArtifact {
|
|
6
8
|
readonly artifactId: string;
|
|
7
9
|
readonly version: number;
|
|
10
|
+
/** The artifact's revision once written: absent from calls made before revisions. */
|
|
11
|
+
readonly revision?: number;
|
|
12
|
+
/** Whether the version written stays open; absent from calls made before open versions. */
|
|
13
|
+
readonly open?: boolean;
|
|
8
14
|
readonly kind: ArtifactKindName;
|
|
9
15
|
readonly title: string;
|
|
10
16
|
readonly warnings: readonly {
|
|
@@ -20,8 +26,8 @@ export interface TurnArtifact extends PublishedArtifact {
|
|
|
20
26
|
readonly created: boolean;
|
|
21
27
|
}
|
|
22
28
|
/**
|
|
23
|
-
* Each artifact a turn published, once,
|
|
24
|
-
*
|
|
29
|
+
* Each artifact a turn published, once, as the turn last wrote it, in the order the turn first
|
|
30
|
+
* published them.
|
|
25
31
|
*/
|
|
26
32
|
export declare function turnArtifacts(parts: readonly NormalizedPart[]): TurnArtifact[];
|
|
27
33
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/interpret.ts"],"names":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AAa,SAAQ,iBAAiB;IACrD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,YAAY,EAAE,CAe9E;AAUD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,MAAM,EAAE,CAiB5E"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NormalizedTool } from "../parts";
|
|
2
|
+
/**
|
|
3
|
+
* An `open_artifact` call in the work trace: the Agent opened an artifact to read it, or to revise
|
|
4
|
+
* it. A calm step, as reading a file is; a failure says why, without the harness's prefix.
|
|
5
|
+
*/
|
|
6
|
+
export declare function OpenArtifactToolView({ tool }: {
|
|
7
|
+
tool: NormalizedTool;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=open-artifact-tool-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-artifact-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/open-artifact-tool-view.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA4BtE"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { NormalizedTool } from "../parts";
|
|
2
2
|
/**
|
|
3
|
-
* A publish in the work trace: what it published
|
|
4
|
-
*
|
|
3
|
+
* A publish in the work trace: what it published, with any warnings, or why it was refused. The
|
|
4
|
+
* answer's cards show the result; this row keeps each attempt. A write to an open version names
|
|
5
|
+
* no version: the version is the current one, which changes until someone creates it. A call from
|
|
6
|
+
* before open versions published a version for good, which it names.
|
|
5
7
|
*/
|
|
6
8
|
export declare function PublishArtifactToolView({ tool }: {
|
|
7
9
|
tool: NormalizedTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-artifact-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/publish-artifact-tool-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C
|
|
1
|
+
{"version":3,"file":"publish-artifact-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/publish-artifact-tool-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA8CzE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { NormalizedPart } from "../parts";
|
|
2
2
|
/**
|
|
3
|
-
* Follows what a live turn publishes: each
|
|
4
|
-
* artifacts, and the turn's first publish opens the panel on it, at its latest version so
|
|
5
|
-
*
|
|
3
|
+
* Follows what a live turn publishes: each write, by its revision, refreshes the artifact and every
|
|
4
|
+
* list of artifacts, and the turn's first publish opens the panel on it, at its latest version so
|
|
5
|
+
* the turn's later writes show in place. It opens only beside the conversation or over the app:
|
|
6
6
|
* a dialog would take the reader's focus, and the composer's, while the Agent is still working,
|
|
7
7
|
* so there the card waits to be opened.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-live-publishes.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/use-live-publishes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAM9C;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAC1C,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"use-live-publishes.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/use-live-publishes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAM9C;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAC1C,GAAG,IAAI,CAsBP"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AgentConversationMessage, AgentConversationTurn } from "../conversation";
|
|
2
|
+
/** One question of an `ask` call, as the card shows it. */
|
|
3
|
+
export interface AskedQuestion {
|
|
4
|
+
readonly question: string;
|
|
5
|
+
readonly choices: readonly string[];
|
|
6
|
+
/** Several of the choices may be picked. */
|
|
7
|
+
readonly multiple: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** The tools an agent asks with: `ask`, and a sub-agent's `ask_parent` in earlier threads. */
|
|
10
|
+
export declare function isAskTool(toolName: string): boolean;
|
|
11
|
+
/** The questions of an `ask` call's input, or of an `ask_parent` call's `{ question }`. */
|
|
12
|
+
export declare function askedQuestions(input: unknown): readonly AskedQuestion[];
|
|
13
|
+
/** The questions as one line, for a row that names them: `Which year? · Which regions?`. */
|
|
14
|
+
export declare function askedText(input: unknown): string;
|
|
15
|
+
/**
|
|
16
|
+
* The user's answer as the message the card sends: the picked choices or the typed text, and with
|
|
17
|
+
* several questions each answer after its question. Unanswered questions are left out; empty when
|
|
18
|
+
* nothing was answered.
|
|
19
|
+
*/
|
|
20
|
+
export declare function answerText(questions: readonly AskedQuestion[], answers: readonly (readonly string[])[]): string;
|
|
21
|
+
/** The questions the conversation's last word asks the user, and the reply that asked them. */
|
|
22
|
+
export interface OpenQuestion {
|
|
23
|
+
readonly messageKey: string;
|
|
24
|
+
readonly questions: readonly AskedQuestion[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* What still waits for the user: the questions of the conversation's last message, a reply that
|
|
28
|
+
* asked, once its turn ended. A later message answers it, and a running turn has not asked yet.
|
|
29
|
+
*/
|
|
30
|
+
export declare function openQuestion(messages: readonly AgentConversationMessage[], turn: AgentConversationTurn): OpenQuestion | null;
|
|
31
|
+
//# sourceMappingURL=interpret.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/questions/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAEtF,2DAA2D;AAC3D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,4CAA4C;IAC5C,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC3B;AAED,8FAA8F;AAC9F,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEnD;AAED,2FAA2F;AAC3F,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,aAAa,EAAE,CAmBvE;AAED,4FAA4F;AAC5F,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIhD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,SAAS,EAAE,SAAS,aAAa,EAAE,EACnC,OAAO,EAAE,SAAS,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,GACtC,MAAM,CAOR;AAED,+FAA+F;AAC/F,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,EAAE,SAAS,aAAa,EAAE,CAAA;CAC7C;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,SAAS,wBAAwB,EAAE,EAC7C,IAAI,EAAE,qBAAqB,GAC1B,YAAY,GAAG,IAAI,CAWrB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { NormalizedTool } from "../parts";
|
|
2
|
+
/**
|
|
3
|
+
* Whether the reply a line is in asks the reader now: its question is the conversation's last word,
|
|
4
|
+
* answered in the composer, which becomes the question (`QuestionComposer`). `answering` when the
|
|
5
|
+
* reader may answer there; otherwise, as for an observer, someone else's answer is awaited.
|
|
6
|
+
*/
|
|
7
|
+
export interface QuestionTurn {
|
|
8
|
+
readonly open: boolean;
|
|
9
|
+
readonly answering?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const QuestionTurnContext: import("react").Context<QuestionTurn>;
|
|
12
|
+
/** The Agent's questions in its reply: a quiet line each, the composer asks them. */
|
|
13
|
+
export declare function QuestionCards({ tools }: {
|
|
14
|
+
readonly tools: readonly NormalizedTool[];
|
|
15
|
+
}): import("react").JSX.Element | null;
|
|
16
|
+
//# sourceMappingURL=question-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-card.d.ts","sourceRoot":"","sources":["../../../src/agent/questions/question-card.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,mBAAmB,uCAA+C,CAAA;AAE/E,qFAAqF;AACrF,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAAE,sCAUrF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type AskedQuestion } from "./interpret";
|
|
2
|
+
export interface QuestionComposerProps {
|
|
3
|
+
readonly questions: readonly AskedQuestion[];
|
|
4
|
+
readonly onAnswer: (text: string) => void;
|
|
5
|
+
/** Back to the composer, to reply in words of one's own. */
|
|
6
|
+
readonly onDismiss: () => void;
|
|
7
|
+
readonly className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The composer, become the Agent's question: the same surface in the same place, its questions one
|
|
11
|
+
* at a time, each choice a row to pick and a last row to write something else. Picking the one
|
|
12
|
+
* answer of the last question sends; several questions send together from the last.
|
|
13
|
+
*/
|
|
14
|
+
export declare function QuestionComposer({ questions, onAnswer, onDismiss, className, }: QuestionComposerProps): import("react").JSX.Element | null;
|
|
15
|
+
//# sourceMappingURL=question-composer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-composer.d.ts","sourceRoot":"","sources":["../../../src/agent/questions/question-composer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAc,MAAM,aAAa,CAAA;AAE5D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,SAAS,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,4DAA4D;IAC5D,QAAQ,CAAC,SAAS,EAAE,MAAM,IAAI,CAAA;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,qBAAqB,sCAwOvB"}
|
|
@@ -10,6 +10,12 @@ export interface ReadOutput {
|
|
|
10
10
|
readonly truncated: boolean;
|
|
11
11
|
readonly nextOffset?: number;
|
|
12
12
|
}
|
|
13
|
+
/** A folder `read` listed: its entries, folders ending in `/`. */
|
|
14
|
+
export interface ReadDirectory {
|
|
15
|
+
readonly path: string;
|
|
16
|
+
readonly entries: readonly string[];
|
|
17
|
+
readonly truncated: boolean;
|
|
18
|
+
}
|
|
13
19
|
export interface ReadDescription {
|
|
14
20
|
readonly path: string;
|
|
15
21
|
readonly title: string;
|
|
@@ -22,5 +28,6 @@ export interface ReadDescription {
|
|
|
22
28
|
}
|
|
23
29
|
export declare function coerceReadInput(value: unknown): ReadInput | null;
|
|
24
30
|
export declare function coerceReadOutput(value: unknown): ReadOutput | null;
|
|
25
|
-
export declare function
|
|
31
|
+
export declare function coerceReadDirectory(value: unknown): ReadDirectory | null;
|
|
32
|
+
export declare function describeRead(input: ReadInput | null, output: ReadOutput | null, messages?: AgentMessages, directory?: ReadDirectory | null): ReadDescription;
|
|
26
33
|
//# sourceMappingURL=interpret.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/read/interpret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,YAAY,CAAA;AAGnD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAA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AQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,sFAAsF;IACtF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CACzB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAEhE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,GAAG,IAAI,CAuBlE;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,GAAG,IAAI,CAUxE;AAED,wBAAgB,YAAY,CAC1B,KAAK,EAAE,SAAS,GAAG,IAAI,EACvB,MAAM,EAAE,UAAU,GAAG,IAAI,EACzB,QAAQ,GAAE,aAAkB,EAC5B,SAAS,GAAE,aAAa,GAAG,IAAW,GACrC,eAAe,CA0CjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/read/read-tool-view.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/read/read-tool-view.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA2D9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/built-in.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/built-in.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAyE9C,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAE/D"}
|
package/dist/agent/types.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type { GetAgentResponse, GetAgentRunResponse, GetAgentThreadContextResponse, ListAgentThreadMessagesResponse, ListAgentThreadsResponse, ListModelsResponse } from "@sixb/client";
|
|
1
|
+
import type { CreateAgentThreadData, GetAgentResponse, GetAgentRunResponse, GetAgentThreadContextResponse, ListAgentThreadMessagesResponse, ListAgentThreadsResponse, ListModelsResponse } from "@sixb/client";
|
|
2
2
|
import type { AgentContextEntryInput, AgentContextInput } from "@sixb/core/agents/context";
|
|
3
3
|
import type { ModelReasoningLevel } from "@sixb/core/models";
|
|
4
4
|
export type { AgentContextEntryInput, AgentContextInput };
|
|
5
5
|
export type Agent = GetAgentResponse;
|
|
6
6
|
export type AgentThread = ListAgentThreadsResponse["threads"][number];
|
|
7
|
+
/** What a new conversation's sandbox is made from, as the project's sandbox declares its params. */
|
|
8
|
+
export type AgentThreadSandboxParams = NonNullable<CreateAgentThreadData["body"]["sandbox"]>;
|
|
7
9
|
export type AgentMessage = ListAgentThreadMessagesResponse["messages"][number];
|
|
8
10
|
export type AgentMessagePart = AgentMessage["parts"][number];
|
|
9
11
|
export type AgentFileRef = Extract<AgentMessagePart, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/agent/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,EACxB,kB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,CAAA;AAElE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC,CAAA;IAC3D,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAA;CACzC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NormalizedTool } from "./parts";
|
|
2
|
+
/** The tools that read or stop a background command, today's and earlier threads'. */
|
|
3
|
+
export declare const COMMAND_TOOLS: ReadonlySet<string>;
|
|
4
|
+
/** What a `wait` or a `stop` names: the ids it was called with, as the model wrote them. */
|
|
5
|
+
export declare function namedIds(tool: Pick<NormalizedTool, "toolName" | "input">): readonly string[];
|
|
6
|
+
/** Whether an id names a background command rather than a sub-agent. */
|
|
7
|
+
export declare function isCommandId(id: string): boolean;
|
|
8
|
+
/** Whether a call waits for, or stops, one of the Agent's sub-agents: its row stands for it. */
|
|
9
|
+
export declare function waitsForChildren(tool: Pick<NormalizedTool, "toolName" | "input">): boolean;
|
|
10
|
+
/** Whether a call reads, waits for, or stops background commands alone. */
|
|
11
|
+
export declare function waitsForCommandsOnly(tool: Pick<NormalizedTool, "toolName" | "input">): boolean;
|
|
12
|
+
/** Whether a call stops what it names. */
|
|
13
|
+
export declare function isStop(tool: Pick<NormalizedTool, "toolName">): boolean;
|
|
14
|
+
//# sourceMappingURL=waits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waits.d.ts","sourceRoot":"","sources":["../../src/agent/waits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAM7C,sFAAsF;AACtF,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,MAAM,CAK5C,CAAA;AAEF,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,SAAS,MAAM,EAAE,CAQ5F;AAED,wEAAwE;AACxE,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED,gGAAgG;AAChG,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,OAAO,CAI1F;AAED,2EAA2E;AAC3E,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,OAAO,CAE9F;AAED,0CAA0C;AAC1C,wBAAgB,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG,OAAO,CAEtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-page.d.ts","sourceRoot":"","sources":["../../src/artifacts/artifact-page.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"artifact-page.d.ts","sourceRoot":"","sources":["../../src/artifacts/artifact-page.tsx"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,wBAAgB,YAAY,uCAsD3B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ArtifactViewerProps {
|
|
2
|
+
/** The artifact to show, at its latest version: `object.properties.plan.id`. */
|
|
3
|
+
readonly artifactId: string;
|
|
4
|
+
/** Sizes the frame; it is 34rem tall unless a class says otherwise. */
|
|
5
|
+
readonly className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* An artifact in place on a page of your own, such as the plan a contract holds: the viewer its
|
|
9
|
+
* own page uses, under its header, following it live, with its versions and its comments. Open full
|
|
10
|
+
* page, and an artifact it links to, go to that artifact's page.
|
|
11
|
+
*
|
|
12
|
+
* On a phone it is the artifact's card, opening its page: a canvas panned inside a page that
|
|
13
|
+
* scrolls fights the finger, and the page gives the artifact the whole screen.
|
|
14
|
+
*/
|
|
15
|
+
export declare function ArtifactViewer({ artifactId, className }: ArtifactViewerProps): import("react").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=artifact-viewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-viewer.d.ts","sourceRoot":"","sources":["../../src/artifacts/artifact-viewer.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,uEAAuE;IACvE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,mBAAmB,+BA+B5E"}
|
|
@@ -11,5 +11,5 @@ export declare function fileExtension(name: string): string | undefined;
|
|
|
11
11
|
* What a version changed in its artifact's structure: the sheets, charts, or sections it added and
|
|
12
12
|
* removed. Edits within them leave no trace in the structure, so they say nothing here.
|
|
13
13
|
*/
|
|
14
|
-
export declare function versionChanges(previous: ArtifactVersion, current: ArtifactVersion, messages: ArtifactMessages): string[];
|
|
14
|
+
export declare function versionChanges(previous: Pick<ArtifactVersion, "outline">, current: Pick<ArtifactVersion, "outline">, messages: ArtifactMessages): string[];
|
|
15
15
|
//# sourceMappingURL=card-details.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-details.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-details.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAEhD;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,MAAM,GACb,MAAM,CAyCR;AAED,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"card-details.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-details.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAEhD;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,MAAM,GACb,MAAM,CAyCR;AAED,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,EAC1C,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,EACzC,QAAQ,EAAE,gBAAgB,GACzB,MAAM,EAAE,CA+BV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-preview.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-preview.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAA;AAK/C,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAErE,OAAO,EAAE,KAAK,eAAe,EAAoD,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"card-preview.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-preview.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAA;AAK/C,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAErE,OAAO,EAAE,KAAK,eAAe,EAAoD,MAAM,WAAW,CAAA;AASlG,OAAO,EAAkB,KAAK,UA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;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACvB,CAmBA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type AgentContextInput } from "@sixb/core/agents/context";
|
|
2
|
+
import { quoteArtifactComment } from "@sixb/core/artifacts";
|
|
3
|
+
/** What a comments context's id starts with, before the artifact's id. */
|
|
4
|
+
export declare const COMMENTS_CONTEXT_PREFIX = "artifact-comments:";
|
|
5
|
+
/** One comment as the context holds it: quoted for the Agent, its words for the chip. */
|
|
6
|
+
export interface ContextComment {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly quote: string;
|
|
9
|
+
readonly author: string | null;
|
|
10
|
+
readonly body: string;
|
|
11
|
+
readonly replies: readonly string[];
|
|
12
|
+
}
|
|
13
|
+
/** What a comments context holds. */
|
|
14
|
+
export interface CommentsContextValue {
|
|
15
|
+
readonly artifactId: string;
|
|
16
|
+
readonly title: string;
|
|
17
|
+
readonly comments: readonly ContextComment[];
|
|
18
|
+
}
|
|
19
|
+
/** What a comment brings to the context: itself and its replies, as the API gives them. */
|
|
20
|
+
interface SentComment {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly anchor: Parameters<typeof quoteArtifactComment>[0]["anchor"];
|
|
23
|
+
readonly body: string;
|
|
24
|
+
readonly authorName?: string | null;
|
|
25
|
+
readonly author?: {
|
|
26
|
+
readonly type: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The context that sends these comments to the Agent, labelled for the chip. As many as fit in a
|
|
31
|
+
* context entry go, in order; `sent` says how many.
|
|
32
|
+
*/
|
|
33
|
+
export declare function commentsContext(input: {
|
|
34
|
+
readonly artifactId: string;
|
|
35
|
+
readonly title: string;
|
|
36
|
+
readonly label: (count: number) => string;
|
|
37
|
+
readonly threads: readonly {
|
|
38
|
+
readonly comment: SentComment;
|
|
39
|
+
readonly replies: readonly SentComment[];
|
|
40
|
+
}[];
|
|
41
|
+
}): {
|
|
42
|
+
readonly context: AgentContextInput;
|
|
43
|
+
readonly sent: number;
|
|
44
|
+
};
|
|
45
|
+
/** The comments a context sends, when it is a comments context; null for any other. */
|
|
46
|
+
export declare function readCommentsContext(context: AgentContextInput): CommentsContextValue | null;
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=comments-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comments-context.d.ts","sourceRoot":"","sources":["../../src/artifacts/comments-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAmC,MAAM,2BAA2B,CAAA;AACnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAO3D,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAE3D,yFAAyF;AACzF,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;AAED,qCAAqC;AACrC,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS,cAAc,EAAE,CAAA;CAC7C;AAED,2FAA2F;AAC3F,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,C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