@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-label.d.ts","sourceRoot":"","sources":["../../src/agent/activity-label.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"activity-label.d.ts","sourceRoot":"","sources":["../../src/agent/activity-label.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,WAAW,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,SAAS,CAAA;AAO7D,qFAAqF;AACrF,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,QAAQ,GAAE,aAAkB,GAC3B,MAAM,CASR"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import type { ArtifactTarget } from "../artifacts/target";
|
|
3
|
-
import type { AgentContextInput } from "./types";
|
|
3
|
+
import type { AgentContextInput, AgentThreadSandboxParams } from "./types";
|
|
4
4
|
export interface AgentChatProps {
|
|
5
5
|
readonly threadId?: string | null;
|
|
6
6
|
readonly onNavigateHome: () => void;
|
|
@@ -26,7 +26,14 @@ export interface AgentChatProps {
|
|
|
26
26
|
* may call it. False hides it.
|
|
27
27
|
*/
|
|
28
28
|
readonly dictation?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The sandbox the conversation the next message creates works in, as the project's sandbox
|
|
31
|
+
* declares its params. See {@link UseAgentConversationInput.newThreadSandbox}.
|
|
32
|
+
*/
|
|
33
|
+
readonly newThreadSandbox?: AgentThreadSandboxParams;
|
|
34
|
+
/** Under the input of a new conversation, on the right: the page's choices for it. */
|
|
35
|
+
readonly newThreadControls?: ReactNode;
|
|
29
36
|
}
|
|
30
37
|
/** Route-independent conversation view; routing and embedded panels only adapt its callbacks. */
|
|
31
|
-
export declare function AgentChat({ threadId: threadIdInput, onNavigateHome, onNavigateThread, onOpenThreads, className, ambientContext, compact, welcomeContent, artifactHost, splitArtifacts, artifactTarget, onArtifactTargetChange, conversationHeaderActions: hostHeaderActions, composerPlaceholder, dictation, }: AgentChatProps): import("react").JSX.Element;
|
|
38
|
+
export declare function AgentChat({ threadId: threadIdInput, onNavigateHome, onNavigateThread, onOpenThreads, className, ambientContext, compact, welcomeContent, artifactHost, splitArtifacts, artifactTarget, onArtifactTargetChange, conversationHeaderActions: hostHeaderActions, composerPlaceholder, dictation, newThreadSandbox, newThreadControls, }: AgentChatProps): import("react").JSX.Element;
|
|
32
39
|
//# sourceMappingURL=agent-chat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-chat.d.ts","sourceRoot":"","sources":["../../src/agent/agent-chat.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-chat.d.ts","sourceRoot":"","sources":["../../src/agent/agent-chat.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAkBzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAE1E,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a,EACb,SAAS,EACT,cAAmB,EACnB,OAAe,EACf,cAAc,EACd,YAAY,EACZ,cAAsB,EACtB,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EAAE,iBAAiB,EAC5C,mBAAmB,EACnB,SAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,cAAc,+BAoLhB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AgentContextInput } from "@sixb/core/agents/context";
|
|
2
2
|
import { type ReactNode } from "react";
|
|
3
|
+
import type { AgentThreadSandboxParams } from "./types";
|
|
3
4
|
export interface AgentPanelProps {
|
|
4
5
|
/** Omitted uses AgentContextProvider; provided is the complete controlled ambient list. */
|
|
5
6
|
readonly context?: readonly AgentContextInput[];
|
|
@@ -25,7 +26,14 @@ export interface AgentPanelProps {
|
|
|
25
26
|
readonly className?: string;
|
|
26
27
|
/** Centered content for an empty conversation. Omit for the agent identity; null hides it. */
|
|
27
28
|
readonly welcomeContent?: ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* The sandbox the conversation the next message creates works in, as the project's sandbox
|
|
31
|
+
* declares its params, such as a repository and a branch.
|
|
32
|
+
*/
|
|
33
|
+
readonly newThreadSandbox?: AgentThreadSandboxParams;
|
|
34
|
+
/** Under the input of a new conversation, on the right: the page's choices for it. */
|
|
35
|
+
readonly newThreadControls?: ReactNode;
|
|
28
36
|
}
|
|
29
37
|
/** Embeddable chat that never reads or changes the host application's route. */
|
|
30
|
-
export declare function AgentPanel({ context, threadId: controlledThreadId, defaultThreadId, onThreadChange, onNewThread, onOpenThreads, artifactHost, splitArtifacts, conversationHeaderActions, composerPlaceholder, dictation, compact, className, welcomeContent, }: AgentPanelProps): import("react").JSX.Element;
|
|
38
|
+
export declare function AgentPanel({ context, threadId: controlledThreadId, defaultThreadId, onThreadChange, onNewThread, onOpenThreads, artifactHost, splitArtifacts, conversationHeaderActions, composerPlaceholder, dictation, compact, className, welcomeContent, newThreadSandbox, newThreadControls, }: AgentPanelProps): import("react").JSX.Element;
|
|
31
39
|
//# sourceMappingURL=agent-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-panel.d.ts","sourceRoot":"","sources":["../../src/agent/agent-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAElE,OAAO,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"agent-panel.d.ts","sourceRoot":"","sources":["../../src/agent/agent-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAElE,OAAO,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAA;AAG7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,2FAA2F;IAC3F,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IAC/C,0EAA0E;IAC1E,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC3D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACjC,qEAAqE;IACrE,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IACnC,iFAAiF;IACjF,QAAQ,CAAC,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1C,4EAA4E;IAC5E,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,yBAAyB,CAAC,EAAE,SAAS,CAAA;IAC9C,QAAQ,CAAC,mBAAmB,C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AAS,CAAC,EAAE,OAAO,CAAA;IAC5B,8EAA8E;IAC9E,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IACxC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAA;IAChC,8FAA8F;IAC9F,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,CAAA;CACpC;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,WAAoB,EACpB,YAAY,EACZ,QAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,OAAO,EACP,QAAQ,EACR,eAAsB,EACtB,cAAc,EACd,cAAc,EACd,aAAa,EACb,SAAS,EACT,gBAA8C,EAC9C,iBAAiB,EACjB,YAAsC,EACtC,YAAsC,EACtC,SAAgB,EAChB,cAAc,EACd,SAAS,EACT,cAAc,EACd,cAAc,GACf,EAAE,iBAAiB,+BA8QnB"}
|
|
@@ -2,8 +2,10 @@ import type { TurnArtifact } from "./publish-artifact/interpret";
|
|
|
2
2
|
/**
|
|
3
3
|
* What one response published, on the answer's reading path: a card for each artifact it created,
|
|
4
4
|
* side by side, and a line for each one it revised, since its card is already in the conversation.
|
|
5
|
+
* `runId` is the response's run, whose restore points say what it changed.
|
|
5
6
|
*/
|
|
6
|
-
export declare function ArtifactCards({ artifacts }: {
|
|
7
|
+
export declare function ArtifactCards({ artifacts, runId, }: {
|
|
7
8
|
readonly artifacts: readonly TurnArtifact[];
|
|
9
|
+
readonly runId: string | null;
|
|
8
10
|
}): import("react").JSX.Element | null;
|
|
9
11
|
//# sourceMappingURL=artifact-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-card.d.ts","sourceRoot":"","sources":["../../src/agent/artifact-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"artifact-card.d.ts","sourceRoot":"","sources":["../../src/agent/artifact-card.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEnF;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,KAAK,GACN,EAAE;IACD,QAAQ,CAAC,SAAS,EAAE,SAAS,YAAY,EAAE,CAAA;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B,sCA2BA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type ArtifactTarget, type ViewerTarget } from "../artifacts/target";
|
|
3
|
+
import { type AgentDraft } from "../artifacts/view-context";
|
|
3
4
|
import { type ArtifactPanelPresentation } from "./artifact-panel-state";
|
|
4
5
|
/**
|
|
5
6
|
* A place in the panel a part of the conversation fills itself, such as a sub-agent's thread: the
|
|
@@ -46,13 +47,18 @@ export interface ArtifactPanelRootProps {
|
|
|
46
47
|
readonly onRouteTargetChange?: (target: ArtifactTarget | null) => void;
|
|
47
48
|
/** Offer each artifact's own page, to open or to copy a link to. Off for an observer. */
|
|
48
49
|
readonly pageLinks?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Puts words in the conversation's input, as an artifact asks the Agent something: the panel
|
|
52
|
+
* closes when it covers the conversation, so the reader sees them there. None for an observer.
|
|
53
|
+
*/
|
|
54
|
+
readonly onAgentDraft?: (draft: AgentDraft) => void;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Shows one artifact or file beside the conversation. With `onRouteTargetChange`, an open artifact
|
|
52
58
|
* lives in the page's URL so reloads and shared links land on it; a file stays local, since a
|
|
53
59
|
* message file has no address of its own.
|
|
54
60
|
*/
|
|
55
|
-
export declare function ArtifactPanelRoot({ children, compact, split, overlayHost, scopeKey, routeTarget, onRouteTargetChange, pageLinks, }: ArtifactPanelRootProps): import("react").JSX.Element;
|
|
61
|
+
export declare function ArtifactPanelRoot({ children, compact, split, overlayHost, scopeKey, routeTarget, onRouteTargetChange, pageLinks, onAgentDraft, }: ArtifactPanelRootProps): import("react").JSX.Element;
|
|
56
62
|
/**
|
|
57
63
|
* Escape in a deck's overview or presentation takes the deck back to its slide; only then does it
|
|
58
64
|
* close the dialog. The dialog hears Escape first, on the document, before the deck does.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-panel.d.ts","sourceRoot":"","sources":["../../src/agent/artifact-panel.tsx"],"names":[],"mappings":"AAYA,OAAO,EAGL,KAAK,SAAS,EAUf,MAAM,OAAO,CAAA;AAGd,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,YAAY,EAElB,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"artifact-panel.d.ts","sourceRoot":"","sources":["../../src/agent/artifact-panel.tsx"],"names":[],"mappings":"AAYA,OAAO,EAGL,KAAK,SAAS,EAUf,MAAM,OAAO,CAAA;AAGd,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,YAAY,EAElB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,UAAU,EAAqB,MAAM,2BAA2B,CAAA;AAE9E,OAAO,EACL,KAAK,yBAAyB,EAI/B,MAAM,wBAAwB,CAAA;AAG/B;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,yGAAyG;IACzG,QAAQ,CAAC,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;CACxE;AAED,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,UAAU,CAAA;AAEnD,kDAAkD;AAClD,wBAAgB,cAAc,CAA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B,CAAC,EAChC,QAAQ,EACR,OAAe,EACf,KAAa,EACb,WAAW,EACX,QAAQ,EACR,WAAkB,EAClB,mBAAmB,EACnB,SAAgB,EAChB,YAAY,GACb,EAAE,sBAAsB,+BAkKxB;AAgDD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAG5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-tool-row.d.ts","sourceRoot":"","sources":["../../../src/agent/background/background-tool-row.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"background-tool-row.d.ts","sourceRoot":"","sources":["../../../src/agent/background/background-tool-row.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAM9C;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAAE,+BAuB5E"}
|
|
@@ -2,7 +2,7 @@ import type { AgentConversationMessage } from "../conversation";
|
|
|
2
2
|
import type { AgentMessages } from "../i18n/en";
|
|
3
3
|
import type { NormalizedTool } from "../parts";
|
|
4
4
|
export type BackgroundCommandStatus = "running" | "exited" | "stopped";
|
|
5
|
-
/** The tools that start, read and stop a background command. */
|
|
5
|
+
/** The tools that start, read and stop a background command, earlier threads' included. */
|
|
6
6
|
export declare const BACKGROUND_TOOLS: ReadonlySet<string>;
|
|
7
7
|
/** A background command by its start: an id is unique to its run, its start to the thread. */
|
|
8
8
|
export declare function backgroundKey(command: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/background/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAC/D,OAAO,KAAK,E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,QAAQ,CAAC,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACjC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;IACjC,sCAAsC;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,uEAAuE;IACvE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAC7B,GAAG,mBAAmB,CA4DtB;AAED,4FAA4F;AAC5F,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,aAAa,GAAG,MAAM,CAYxF"}
|
|
@@ -2,7 +2,9 @@ import type { NewThreadPlace } from "../hooks/use-new-thread-place";
|
|
|
2
2
|
/**
|
|
3
3
|
* Where a new conversation runs, as a quiet line under the input: set once for the conversation, and
|
|
4
4
|
* the thing a person most needs to see before sending, so it isn't among the per-message settings.
|
|
5
|
-
* Its menu holds
|
|
5
|
+
* Its menu holds each computer's folders and the cloud. In a desktop app, those are the folders
|
|
6
|
+
* chosen before on this computer, with a way to choose another. In a browser, they are the folders
|
|
7
|
+
* `sixb` is open in now, on each of the person's computers.
|
|
6
8
|
*/
|
|
7
9
|
export declare function ComposerPlace({ place, disabled, }: {
|
|
8
10
|
readonly place: NewThreadPlace;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer-place.d.ts","sourceRoot":"","sources":["../../../src/agent/components/composer-place.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAiBnE
|
|
1
|
+
{"version":3,"file":"composer-place.d.ts","sourceRoot":"","sources":["../../../src/agent/components/composer-place.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAiBnE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAC5B,+BAsIA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type AgentContextEntryInput, type AgentContextInput } from "@sixb/core/agents/context";
|
|
2
2
|
import type { ModelReasoningLevel } from "@sixb/core/models";
|
|
3
3
|
import type { SpeechRecognizer } from "@sixb/ui/lib/speech";
|
|
4
|
+
import { type ReactNode } from "react";
|
|
4
5
|
import { type AgentApprovalMode } from "../approvals";
|
|
5
6
|
import type { NewThreadPlace } from "../hooks/use-new-thread-place";
|
|
6
7
|
import type { AgentFileRef, LanguageModel } from "../types";
|
|
@@ -49,6 +50,19 @@ export interface ComposerProps {
|
|
|
49
50
|
/** Exact context snapshot to restore after a failed send. */
|
|
50
51
|
readonly draftContext?: readonly AgentContextEntryInput[];
|
|
51
52
|
readonly draftNonce?: number;
|
|
53
|
+
/**
|
|
54
|
+
* What an artifact hands the conversation, such as the comments the reader asks the Agent to
|
|
55
|
+
* act on, each time `nonce` changes to a non-zero value: its context joins the chips, replacing
|
|
56
|
+
* one of the same identity, and its words start an empty input, the reader's own kept. Nothing
|
|
57
|
+
* is sent.
|
|
58
|
+
*/
|
|
59
|
+
readonly insertion?: {
|
|
60
|
+
readonly text: string;
|
|
61
|
+
readonly context?: AgentContextInput;
|
|
62
|
+
readonly nonce: number;
|
|
63
|
+
};
|
|
64
|
+
/** The insertion of that `nonce` joined the input: its holder lets it go. */
|
|
65
|
+
readonly onInserted?: (nonce: number) => void;
|
|
52
66
|
/** Ambient context offered for the next turn. Explicit @ selections remain composer-local. */
|
|
53
67
|
readonly ambientContext?: readonly AgentContextInput[];
|
|
54
68
|
/** Scope drag/drop and overlays to an embedded panel instead of the whole viewport. */
|
|
@@ -76,7 +90,12 @@ export interface ComposerProps {
|
|
|
76
90
|
readonly contextMeter?: ContextMeterProps;
|
|
77
91
|
/** Where a new conversation runs, where there's a choice; "waiting" until that's known. */
|
|
78
92
|
readonly newThreadPlace?: NewThreadPlace | "waiting";
|
|
93
|
+
/**
|
|
94
|
+
* The page's own choices for the conversation the next message creates, such as its repository,
|
|
95
|
+
* at the end of the line under the input.
|
|
96
|
+
*/
|
|
97
|
+
readonly newThreadControls?: ReactNode;
|
|
79
98
|
}
|
|
80
99
|
export declare function composerCanFocus({ disabled, pending, }: Pick<ComposerProps, "disabled" | "pending">): boolean;
|
|
81
|
-
export declare function Composer({ onSend, disabled, pending, running, stopping, onStop, models, selectedModel, selectedReasoning, modelsLoading, modelsError, onSelectModel, onSelectReasoning, onResetReasoning, usingDefaultModel, onResetModelSelection, modelRouting, placeholder, className, hint, error, draft, draftAttachments, draftContext, draftNonce, ambientContext, compact, approvalMode, onApprovalModeChange, awaitingApproval, dictation, commands, contextMeter, newThreadPlace, }: ComposerProps): import("react").JSX.Element;
|
|
100
|
+
export declare function Composer({ onSend, disabled, pending, running, stopping, onStop, models, selectedModel, selectedReasoning, modelsLoading, modelsError, onSelectModel, onSelectReasoning, onResetReasoning, usingDefaultModel, onResetModelSelection, modelRouting, placeholder, className, hint, error, draft, draftAttachments, draftContext, draftNonce, insertion, onInserted, ambientContext, compact, approvalMode, onApprovalModeChange, awaitingApproval, dictation, commands, contextMeter, newThreadPlace, newThreadControls, }: ComposerProps): import("react").JSX.Element;
|
|
82
101
|
//# sourceMappingURL=composer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../src/agent/components/composer.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EAKvB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAU5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../src/agent/components/composer.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,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ACV,cAAmB,EACnB,OAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,gBAAwB,EACxB,SAAS,EACT,QAAa,EACb,YAAY,EACZ,cAAc,EACd,iBAAiB,GAClB,EAAE,aAAa,+BAu2Bf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-chips.d.ts","sourceRoot":"","sources":["../../../src/agent/components/context-chips.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"context-chips.d.ts","sourceRoot":"","sources":["../../../src/agent/components/context-chips.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,2BAA2B,CAAA;AASlC,kGAAkG;AAClG,eAAO,MAAM,wBAAwB,yJACmH,CAAA;AAExJ,4BAA4B;AAC5B,eAAO,MAAM,8BAA8B,2KAC+H,CAAA;AAE1K,eAAO,MAAM,+BAA+B,6OACgM,CAAA;AAE5O,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAA;IACnD,0CAA0C;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,sCAa/E"}
|
|
@@ -24,7 +24,7 @@ export declare function contextMeterReading(context: AgentThreadContext): {
|
|
|
24
24
|
tone: ContextMeterTone;
|
|
25
25
|
cacheShare: number | undefined;
|
|
26
26
|
parts: {
|
|
27
|
-
part: "ontology" | "memory" | "files" | "
|
|
27
|
+
part: "ontology" | "memory" | "files" | "tools" | "system" | "summary" | "messages" | "instructions" | "skills" | "toolResults";
|
|
28
28
|
tokens: number;
|
|
29
29
|
share: number;
|
|
30
30
|
}[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { ConversationComposerProps } from "../hooks/use-agent-conversation";
|
|
3
|
+
import { type QuestionComposerProps } from "../questions/question-composer";
|
|
3
4
|
import type { Agent, AgentContextInput, AgentThread } from "../types";
|
|
5
|
+
import { type ComposerProps } from "./composer";
|
|
4
6
|
import { type TranscriptProps } from "./transcript";
|
|
5
7
|
export interface ConversationPanelProps {
|
|
6
8
|
readonly sandboxRecovery?: ReactNode;
|
|
@@ -10,7 +12,10 @@ export interface ConversationPanelProps {
|
|
|
10
12
|
readonly readOnly?: boolean;
|
|
11
13
|
readonly agent: Agent | undefined;
|
|
12
14
|
readonly transcript: TranscriptProps;
|
|
13
|
-
|
|
15
|
+
/** The conversation's composer, and the page's choices for a conversation not created yet. */
|
|
16
|
+
readonly composer: ConversationComposerProps & Pick<ComposerProps, "newThreadControls">;
|
|
17
|
+
/** The Agent's question, which takes the composer's place while set. */
|
|
18
|
+
readonly question?: QuestionComposerProps | null;
|
|
14
19
|
readonly messagesLoading: boolean;
|
|
15
20
|
readonly messagesError: string | null;
|
|
16
21
|
/** The selected durable thread, or null while composing a new one. */
|
|
@@ -29,5 +34,5 @@ export interface ConversationPanelProps {
|
|
|
29
34
|
readonly welcomeContent?: ReactNode;
|
|
30
35
|
readonly headerActions?: ReactNode;
|
|
31
36
|
}
|
|
32
|
-
export declare function ConversationPanel({ agent, transcript, composer, messagesLoading, messagesError, currentThread, runningThreadCount, waitingThreadIds, onNewChat, onOpenThreads, composerPlaceholder, ambientContext, compact, welcomeContent, headerActions, sandboxRecovery, composerNotice, readOnly, }: ConversationPanelProps): import("react").JSX.Element;
|
|
37
|
+
export declare function ConversationPanel({ agent, transcript, composer, question, messagesLoading, messagesError, currentThread, runningThreadCount, waitingThreadIds, onNewChat, onOpenThreads, composerPlaceholder, ambientContext, compact, welcomeContent, headerActions, sandboxRecovery, composerNotice, readOnly, }: ConversationPanelProps): import("react").JSX.Element;
|
|
33
38
|
//# sourceMappingURL=conversation-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-panel.d.ts","sourceRoot":"","sources":["../../../src/agent/components/conversation-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAEhF,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"conversation-panel.d.ts","sourceRoot":"","sources":["../../../src/agent/components/conversation-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAEhF,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAA;AAC7F,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACrE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AAEzD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAA;AAE/D,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,CAAA;IACpC,4EAA4E;IAC5E,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,CAAA;IACnC,gGAAgG;IAChG,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAAA;IACjC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAA;IACpC,8FAA8F;IAC9F,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,GAAG,IAAI,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAA;IACvF,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAA;IAChD,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,sEAAsE;IACtE,QAAQ,CAAC,aAAa,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1C,oEAAoE;IACpE,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;IACnC,gEAAgE;IAChE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/C,QAAQ,CAAC,SAAS,EAAE,MAAM,IAAI,CAAA;IAC9B,uFAAuF;IACvF,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IACnC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IACrC,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACtD,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,8FAA8F;IAC9F,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,CAAA;IACnC,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,CAAA;CACnC;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,QAAe,EACf,eAAe,EACf,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,cAAmB,EACnB,OAAe,EACf,cAAc,EACd,aAAa,EACb,eAAe,EACf,cAAc,EACd,QAAgB,GACjB,EAAE,sBAAsB,+BAgHxB"}
|
|
@@ -9,7 +9,7 @@ import { type NormalizedFile, type NormalizedPart, type NormalizedTool } from ".
|
|
|
9
9
|
* that made it, where the reader decides on it, and so does each sub-agent the work spawned.
|
|
10
10
|
* `step-start` markers are intentionally skipped.
|
|
11
11
|
*/
|
|
12
|
-
export declare function AssistantBody({ parts, live, nested, }: {
|
|
12
|
+
export declare function AssistantBody({ parts, live, nested, runId, }: {
|
|
13
13
|
parts: readonly NormalizedPart[];
|
|
14
14
|
/** True while this body is driven by an in-flight run, so its headline shows live progress. */
|
|
15
15
|
live?: boolean;
|
|
@@ -18,6 +18,8 @@ export declare function AssistantBody({ parts, live, nested, }: {
|
|
|
18
18
|
* on the card already.
|
|
19
19
|
*/
|
|
20
20
|
nested?: boolean;
|
|
21
|
+
/** The turn's run, whose restore points say what it changed in the artifacts it revised. */
|
|
22
|
+
runId?: string | null;
|
|
21
23
|
}): import("react").JSX.Element;
|
|
22
24
|
/**
|
|
23
25
|
* Under a call whose output was too large for the model's context, the whole output it saved: it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-parts.d.ts","sourceRoot":"","sources":["../../../src/agent/components/message-parts.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message-parts.d.ts","sourceRoot":"","sources":["../../../src/agent/components/message-parts.tsx"],"names":[],"mappings":"AAoBA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,UAAU,CAAA;AAkBjB;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAY,EACZ,MAAc,EACd,KAAK,GACN,EAAE;IACD,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;IAChC,+FAA+F;IAC/F,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,4FAA4F;IAC5F,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,+BA+FA;AA4LD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAC1B,sCAqCA;AAED,wFAAwF;AACxF,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAU,GACX,EAAE;IACD,IAAI,EAAE,cAAc,CAAA;IACpB,oEAAoE;IACpE,KAAK,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;CAClC,wVAgFA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-artifacts-menu.d.ts","sourceRoot":"","sources":["../../../src/agent/components/thread-artifacts-menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"thread-artifacts-menu.d.ts","sourceRoot":"","sources":["../../../src/agent/components/thread-artifacts-menu.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAwB5D;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAM,EACN,WAAkB,GACnB,EAAE;IACD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,iGAAiG;IACjG,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IAClD,4FAA4F;IAC5F,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAC/B,sCAsDA"}
|
|
@@ -37,6 +37,11 @@ export interface TranscriptProps {
|
|
|
37
37
|
* that started it. Without it, a command its turn no longer runs reads as last seen running.
|
|
38
38
|
*/
|
|
39
39
|
readonly background?: TranscriptBackground;
|
|
40
|
+
/**
|
|
41
|
+
* Given by a chat that shows `QuestionComposer`, from its `onAnswer`: the reply then leaves the
|
|
42
|
+
* question to it. Without it, the question reads in the reply as waiting.
|
|
43
|
+
*/
|
|
44
|
+
readonly onAnswer?: (text: string) => void;
|
|
40
45
|
}
|
|
41
46
|
export declare function Transcript(props: TranscriptProps): import("react").JSX.Element;
|
|
42
47
|
//# sourceMappingURL=transcript.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../../../src/agent/components/transcript.tsx"],"names":[],"mappings":"AASA,OAAO,EAKL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAEzF,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AACtF,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../../../src/agent/components/transcript.tsx"],"names":[],"mappings":"AASA,OAAO,EAKL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAEzF,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AACtF,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AA0BzF,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,6DAA6D;IAC7D,QAAQ,CAAC,QAAQ,EAAE,SAAS,wBAAwB,EAAE,CAAA;IACtD,kEAAkE;IAClE,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAA;IACpC,+FAA+F;IAC/F,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,iFAAiF;IACjF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACjC;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAA;IACxC,kGAAkG;IAClG,QAAQ,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAA;IACxE;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,oBAAoB,CAAA;IAC1C,6FAA6F;IAC7F,QAAQ,CAAC,KAAK,CAAC,EAAE;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IACnF;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,oBAAoB,CAAA;IAC1C;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC3C;AAYD,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,+BA+ChD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { AgentContextInput } from "@sixb/core/agents/context";
|
|
2
|
+
/**
|
|
3
|
+
* Words waiting to join the composer's input, and context to join its chips, numbered so the same
|
|
4
|
+
* handed twice joins twice.
|
|
5
|
+
*/
|
|
6
|
+
export interface ComposerInsertion {
|
|
7
|
+
readonly text: string;
|
|
8
|
+
readonly context?: AgentContextInput;
|
|
9
|
+
readonly nonce: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Words an artifact hands the conversation's input, held until the composer took them: once it
|
|
13
|
+
* has, they are gone, so a composer drawn again, as when the conversation's first message replaces
|
|
14
|
+
* its welcome, does not add them a second time.
|
|
15
|
+
*/
|
|
16
|
+
export declare function useComposerInsertion(): {
|
|
17
|
+
readonly insertion: ComposerInsertion | undefined;
|
|
18
|
+
readonly insert: (draft: {
|
|
19
|
+
readonly text: string;
|
|
20
|
+
readonly context?: AgentContextInput;
|
|
21
|
+
}) => void;
|
|
22
|
+
readonly inserted: (nonce: number) => void;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=composer-insertion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composer-insertion.d.ts","sourceRoot":"","sources":["../../src/agent/composer-insertion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAGlE;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAA;IACpC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI;IACtC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,CAAA;IACjD,QAAQ,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAA;KAAE,KAAK,IAAI,CAAA;IACjG,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAC3C,CAaA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { NormalizedTool } from "../parts";
|
|
2
|
+
/**
|
|
3
|
+
* What the Agent sent a sub-agent, in the sub-agent's panel: its answer or its message, on the
|
|
4
|
+
* other side of the conversation, as a person's message reads in the Agent's own.
|
|
5
|
+
*/
|
|
6
|
+
export declare function AgentNote({ text }: {
|
|
7
|
+
readonly text: string;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* A sub-agent's question to the Agent, in its panel: what it asked, as its own words, then the
|
|
11
|
+
* Agent's answer when it came in the same run. One that came later opens the next run instead.
|
|
12
|
+
*/
|
|
13
|
+
export declare function ChildAsked({ tool }: {
|
|
14
|
+
readonly tool: NormalizedTool;
|
|
15
|
+
}): import("react").JSX.Element | null;
|
|
16
|
+
//# sourceMappingURL=agent-exchange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-exchange.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/agent-exchange.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,+BAQ5D;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAAE,sCAyBrE"}
|
|
@@ -21,10 +21,10 @@ export declare function ChildDetail({ model, source, unavailable, }: {
|
|
|
21
21
|
readonly unavailable: boolean;
|
|
22
22
|
}): import("react").JSX.Element;
|
|
23
23
|
/**
|
|
24
|
-
* What waits on the reader from one sub-agent, under the reply's line: the
|
|
25
|
-
*
|
|
24
|
+
* What waits on the reader from one sub-agent, under the reply's line: the calls it holds for
|
|
25
|
+
* approval. What passed between it and the Agent reads in its panel, from its own thread.
|
|
26
26
|
*/
|
|
27
|
-
export declare function ChildAttention({ model,
|
|
27
|
+
export declare function ChildAttention({ model, named, }: {
|
|
28
28
|
readonly model: ChildModel;
|
|
29
29
|
readonly observed: boolean;
|
|
30
30
|
readonly named: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child-card.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"child-card.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-card.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,gBAAgB,CAAA;AAKrE;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,GACP,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAA;CAC5B,+BAkDA;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,MAAM,EACN,WAAW,GACZ,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAA;IAC/B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;CAC9B,+BAiGA;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,GACN,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CACxB,sCAsBA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentMessages } from "../i18n/en";
|
|
2
|
-
import { type AgentChild, type
|
|
2
|
+
import { type AgentChild, type ChildState, type SpawnedChild } from "./interpret";
|
|
3
3
|
import type { ChildModel } from "./model";
|
|
4
4
|
/**
|
|
5
5
|
* A sub-agent at a glance: its initial on a tinted disc. It breathes while it works,
|
|
@@ -37,15 +37,6 @@ export declare function ModelChip({ child, view, className, }: {
|
|
|
37
37
|
readonly view?: AgentChild;
|
|
38
38
|
readonly className?: string;
|
|
39
39
|
}): import("react").JSX.Element | null;
|
|
40
|
-
/**
|
|
41
|
-
* What the Agent told the child, what the child asked, and what the Agent answered. The question
|
|
42
|
-
* it waits on reads in full, in amber when the reader is the one to answer.
|
|
43
|
-
*/
|
|
44
|
-
export declare function Exchanges({ exchanges, openQuestion, urgent, }: {
|
|
45
|
-
readonly exchanges: readonly ChildExchange[];
|
|
46
|
-
readonly openQuestion: string | null;
|
|
47
|
-
readonly urgent: boolean;
|
|
48
|
-
}): import("react").JSX.Element;
|
|
49
40
|
/** Now, every second while `ticking`: an elapsed time that moves. */
|
|
50
41
|
export declare function useNow(ticking: boolean): number;
|
|
51
42
|
//# sourceMappingURL=child-parts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child-parts.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-parts.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,
|
|
1
|
+
{"version":3,"file":"child-parts.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-parts.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,UAAU,EAGf,KAAK,YAAY,EAElB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,SAAS,CAAA;AAepD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAK,EACL,WAAW,EACX,IAAW,EACX,OAAe,EACf,IAAI,GACL,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gEAAgE;IAChE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC3B,gDAAgD;IAChD,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAC3B,+BAwBA;AAMD,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,uCAAuC,CAAA;AAErE,oFAAoF;AACpF,wBAAgB,WAAW,CACzB,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE;IACL,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAA;CACjC,GACA,MAAM,CAeR;AAyBD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,CAAA;CAAE,sCAM3F;AAED,2FAA2F;AAC3F,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,IAAI,EACJ,SAAS,GACV,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAA;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAA;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B,sCA8BA;AAMD,qEAAqE;AACrE,wBAAgB,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAS/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child-work.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-work.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"child-work.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-work.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAI/C,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,KAAK,cAAc,EAAoB,MAAM,gBAAgB,CAAA;AAEtE;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,WAAW,EACX,MAAM,EACN,OAAO,GACR,EAAE;IACD,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAA;IAC1B,+CAA+C;IAC/C,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAA;IAC5B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAA;IAC/B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAA;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B,+BA4HA"}
|
|
@@ -19,12 +19,7 @@ export interface SpawnedChild {
|
|
|
19
19
|
readonly tier?: string;
|
|
20
20
|
readonly pending: boolean;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
export interface ChildExchange {
|
|
24
|
-
readonly kind: "told" | "asked" | "answered";
|
|
25
|
-
readonly text: string;
|
|
26
|
-
}
|
|
27
|
-
/** What `wait_agent` last said about one of a child's runs. */
|
|
22
|
+
/** What `wait`, or a `stop`, last said about one of a child's runs. */
|
|
28
23
|
export interface WaitedChild {
|
|
29
24
|
readonly status: string;
|
|
30
25
|
readonly text?: string;
|
|
@@ -34,7 +29,6 @@ export interface WaitedChild {
|
|
|
34
29
|
export interface ThreadDelegation {
|
|
35
30
|
/** The turn that spawned each child. */
|
|
36
31
|
readonly spawnedBy: ReadonlyMap<string, string | null>;
|
|
37
|
-
readonly exchanges: ReadonlyMap<string, readonly ChildExchange[]>;
|
|
38
32
|
/** By the id of the run waited on: a child's first run, or one that continued it. */
|
|
39
33
|
readonly waited: ReadonlyMap<string, WaitedChild>;
|
|
40
34
|
/**
|
|
@@ -55,8 +49,8 @@ export interface DelegationTurn {
|
|
|
55
49
|
/** The delegation calls of each reply, oldest first, the one streaming last. */
|
|
56
50
|
export declare function delegationTurns(messages: readonly AgentConversationMessage[]): readonly DelegationTurn[];
|
|
57
51
|
/**
|
|
58
|
-
* Read the thread's sub-agents from its turns, oldest first, the one streaming now last.
|
|
59
|
-
*
|
|
52
|
+
* Read the thread's sub-agents from its turns, oldest first, the one streaming now last. What
|
|
53
|
+
* passed between the Agent and a child reads in the child's panel, from its own thread.
|
|
60
54
|
*/
|
|
61
55
|
export declare function readThreadDelegation(turns: readonly DelegationTurn[]): ThreadDelegation;
|
|
62
56
|
/** Where a child stands, as its card says it. */
|
|
@@ -84,7 +78,7 @@ export declare function workedMs(view: AgentChild, now: number): number;
|
|
|
84
78
|
* "checkINV4490" reads "Check INV4490". The key's own capitals stay.
|
|
85
79
|
*/
|
|
86
80
|
export declare function childTitle(key: string): string;
|
|
87
|
-
/** The question a child at work waits on, from its live parts: its `
|
|
81
|
+
/** The question a child at work waits on, from its live parts: its `ask` call in flight. */
|
|
88
82
|
export declare function liveQuestion(parts: readonly NormalizedPart[]): string | null;
|
|
89
83
|
/** How long, in words: "48s", "1m 12s", "1h 5m". */
|
|
90
84
|
export declare function formatWorked(ms: number, messages: AgentMessages["delegation"]): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,KAAK,wBAAwB,EAAkB,MAAM,iBAAiB,CAAA;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAmB,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EA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