@sixb/app 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/agent-chat.d.ts +9 -2
- package/dist/agent/agent-chat.d.ts.map +1 -1
- package/dist/agent/agent-panel.d.ts +9 -1
- package/dist/agent/agent-panel.d.ts.map +1 -1
- package/dist/agent/agent-surface.d.ts.map +1 -1
- package/dist/agent/artifact-card.d.ts +3 -1
- package/dist/agent/artifact-card.d.ts.map +1 -1
- package/dist/agent/artifact-panel.d.ts +7 -1
- package/dist/agent/artifact-panel.d.ts.map +1 -1
- package/dist/agent/components/composer-place.d.ts +3 -1
- package/dist/agent/components/composer-place.d.ts.map +1 -1
- package/dist/agent/components/composer.d.ts +20 -1
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/context-chips.d.ts.map +1 -1
- package/dist/agent/components/context-meter.d.ts +1 -1
- package/dist/agent/components/conversation-panel.d.ts +3 -1
- package/dist/agent/components/conversation-panel.d.ts.map +1 -1
- package/dist/agent/components/message-parts.d.ts +3 -1
- package/dist/agent/components/message-parts.d.ts.map +1 -1
- package/dist/agent/components/thread-artifacts-menu.d.ts.map +1 -1
- package/dist/agent/composer-insertion.d.ts +24 -0
- package/dist/agent/composer-insertion.d.ts.map +1 -0
- package/dist/agent/delegation/use-children.d.ts +5 -5
- package/dist/agent/delegation/use-children.d.ts.map +1 -1
- package/dist/agent/hooks/use-agent-conversation.d.ts +10 -4
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-new-thread-place.d.ts +39 -17
- package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -1
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
- package/dist/agent/i18n/en.d.ts +14 -0
- package/dist/agent/i18n/en.d.ts.map +1 -1
- package/dist/agent/i18n/fr.d.ts.map +1 -1
- package/dist/agent/i18n/index.d.ts +20 -0
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/publish-artifact/interpret.d.ts +8 -2
- package/dist/agent/publish-artifact/interpret.d.ts.map +1 -1
- package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts +9 -0
- package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts.map +1 -0
- package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts +4 -2
- package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts.map +1 -1
- package/dist/agent/publish-artifact/use-live-publishes.d.ts +3 -3
- package/dist/agent/publish-artifact/use-live-publishes.d.ts.map +1 -1
- package/dist/agent/tool-views/built-in.d.ts.map +1 -1
- package/dist/agent/types.d.ts +3 -1
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/artifacts/artifact-page.d.ts.map +1 -1
- package/dist/artifacts/artifact-viewer.d.ts +16 -0
- package/dist/artifacts/artifact-viewer.d.ts.map +1 -0
- package/dist/artifacts/card-details.d.ts +1 -1
- package/dist/artifacts/card-details.d.ts.map +1 -1
- package/dist/artifacts/card-preview.d.ts.map +1 -1
- package/dist/artifacts/comments-context.d.ts +48 -0
- package/dist/artifacts/comments-context.d.ts.map +1 -0
- package/dist/artifacts/edit-session.d.ts +6 -6
- package/dist/artifacts/edit-session.d.ts.map +1 -1
- package/dist/artifacts/file-source.d.ts.map +1 -1
- package/dist/artifacts/frame.d.ts +10 -2
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/artifacts/guest-badge.d.ts +8 -0
- package/dist/artifacts/guest-badge.d.ts.map +1 -0
- package/dist/artifacts/held-artifact.d.ts +19 -0
- package/dist/artifacts/held-artifact.d.ts.map +1 -0
- package/dist/artifacts/holders.d.ts +10 -0
- package/dist/artifacts/holders.d.ts.map +1 -0
- package/dist/artifacts/live/boards.d.ts +15 -0
- package/dist/artifacts/live/boards.d.ts.map +1 -0
- package/dist/artifacts/live/canvas.d.ts +79 -0
- package/dist/artifacts/live/canvas.d.ts.map +1 -0
- package/dist/artifacts/live/header.d.ts +29 -0
- package/dist/artifacts/live/header.d.ts.map +1 -0
- package/dist/artifacts/live/hooks.d.ts +21 -0
- package/dist/artifacts/live/hooks.d.ts.map +1 -0
- package/dist/artifacts/live/presence.d.ts +32 -0
- package/dist/artifacts/live/presence.d.ts.map +1 -0
- package/dist/artifacts/live/session.d.ts +130 -0
- package/dist/artifacts/live/session.d.ts.map +1 -0
- package/dist/artifacts/live/view.d.ts +28 -0
- package/dist/artifacts/live/view.d.ts.map +1 -0
- package/dist/artifacts/messages.d.ts +424 -14
- package/dist/artifacts/messages.d.ts.map +1 -1
- package/dist/artifacts/page-queries.d.ts +2 -2
- package/dist/artifacts/page-queries.d.ts.map +1 -1
- package/dist/artifacts/page-state.d.ts.map +1 -1
- package/dist/artifacts/publish-edit.d.ts +24 -14
- package/dist/artifacts/publish-edit.d.ts.map +1 -1
- package/dist/artifacts/queries.d.ts +490 -9
- package/dist/artifacts/queries.d.ts.map +1 -1
- package/dist/artifacts/references/references.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/arrows.d.ts +0 -18
- package/dist/artifacts/renderers/canvas/arrows.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/board-editor.d.ts +43 -0
- package/dist/artifacts/renderers/canvas/board-editor.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board-properties.d.ts +37 -0
- package/dist/artifacts/renderers/canvas/board-properties.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board-source.d.ts +18 -0
- package/dist/artifacts/renderers/canvas/board-source.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board.d.ts +64 -19
- package/dist/artifacts/renderers/canvas/board.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/canvas.d.ts +13 -4
- package/dist/artifacts/renderers/canvas/canvas.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/comment-pins.d.ts +84 -0
- package/dist/artifacts/renderers/canvas/comment-pins.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/commenting.d.ts +58 -0
- package/dist/artifacts/renderers/canvas/commenting.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/comments-panel.d.ts +27 -0
- package/dist/artifacts/renderers/canvas/comments-panel.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/comments.d.ts +56 -0
- package/dist/artifacts/renderers/canvas/comments.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/draft.d.ts +7 -6
- package/dist/artifacts/renderers/canvas/draft.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/edit-mode.d.ts +19 -2
- package/dist/artifacts/renderers/canvas/edit-mode.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/focus.d.ts +40 -5
- package/dist/artifacts/renderers/canvas/focus.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/items.d.ts +47 -4
- package/dist/artifacts/renderers/canvas/items.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/layout.d.ts +5 -8
- package/dist/artifacts/renderers/canvas/layout.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/presence.d.ts +21 -0
- package/dist/artifacts/renderers/canvas/presence.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/previews.d.ts +54 -0
- package/dist/artifacts/renderers/canvas/previews.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/renderer.d.ts +11 -2
- package/dist/artifacts/renderers/canvas/renderer.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/thumbnail.d.ts +5 -2
- package/dist/artifacts/renderers/canvas/thumbnail.d.ts.map +1 -1
- package/dist/artifacts/version-menu.d.ts +19 -0
- package/dist/artifacts/version-menu.d.ts.map +1 -0
- package/dist/artifacts/view-context.d.ts +43 -0
- package/dist/artifacts/view-context.d.ts.map +1 -0
- package/dist/artifacts/viewer.d.ts.map +1 -1
- package/dist/build.d.ts +5 -0
- package/dist/build.d.ts.map +1 -1
- package/dist/{chunk-ytadd0b5.js → chunk-001c4gnk.js} +6871 -3756
- package/dist/chunk-001c4gnk.js.map +204 -0
- package/dist/chunk-00wggsst.js +7 -0
- package/dist/chunk-00wggsst.js.map +10 -0
- package/dist/chunk-5crvhjp2.js +4704 -0
- package/dist/chunk-5crvhjp2.js.map +28 -0
- package/dist/{chunk-q69001w3.js → chunk-694m74s7.js} +7 -1
- package/dist/{chunk-q69001w3.js.map → chunk-694m74s7.js.map} +3 -3
- package/dist/{chunk-4mprsd2n.js → chunk-fg6thecb.js} +25 -1
- package/dist/chunk-fg6thecb.js.map +10 -0
- package/dist/{chunk-j8g956dt.js → chunk-fwb9mxwm.js} +1 -1
- package/dist/{chunk-7fj9cfkw.js → chunk-kes4ygmz.js} +1 -1
- package/dist/{chunk-kwbw4dyk.js → chunk-ryed2jq8.js} +1 -1
- package/dist/codegen.d.ts.map +1 -1
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +930 -309
- package/dist/index.js.map +15 -10
- package/dist/locale-messages.d.ts +12 -0
- package/dist/locale-messages.d.ts.map +1 -1
- package/dist/locale.d.ts +12 -0
- package/dist/locale.d.ts.map +1 -1
- package/dist/locale.js +1 -1
- package/dist/metadata.d.ts +8 -0
- package/dist/metadata.d.ts.map +1 -1
- package/dist/pages/console/action-run.d.ts.map +1 -1
- package/dist/pages/console/data/connectors.d.ts.map +1 -1
- package/dist/pages/console/data/datasets.d.ts.map +1 -1
- package/dist/pages/console/data/lake-health.d.ts +3 -0
- package/dist/pages/console/data/lake-health.d.ts.map +1 -0
- package/dist/pages/console/data/messages.d.ts +98 -2
- package/dist/pages/console/data/messages.d.ts.map +1 -1
- package/dist/pages/console/data/pipelines.d.ts.map +1 -1
- package/dist/pages/console/data/projections.d.ts.map +1 -1
- package/dist/pages/console/data/syncs.d.ts.map +1 -1
- package/dist/pages/console/ontology/action-runs.d.ts.map +1 -1
- package/dist/pages/console/ontology/actions.d.ts.map +1 -1
- package/dist/pages/console/ontology/components/action-button.d.ts.map +1 -1
- package/dist/pages/console/ontology/components/artifact-picker.d.ts +36 -0
- package/dist/pages/console/ontology/components/artifact-picker.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/object-query-bar.d.ts.map +1 -1
- package/dist/pages/console/ontology/lib/action-params.d.ts +2 -0
- package/dist/pages/console/ontology/lib/action-params.d.ts.map +1 -1
- package/dist/pages/console/ontology/lineage/properties-panel.d.ts +2 -1
- package/dist/pages/console/ontology/lineage/properties-panel.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-page.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-type.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-types.d.ts.map +1 -1
- package/dist/pages/console/ontology/objects.d.ts.map +1 -1
- package/dist/pages/console/ontology/rules.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflow.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows/run-input-form.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows/schema-shape.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows.d.ts.map +1 -1
- package/dist/pages/console/skeletons.d.ts +30 -0
- package/dist/pages/console/skeletons.d.ts.map +1 -0
- package/dist/pages/console/workflow-run.d.ts.map +1 -1
- package/dist/pages/section-page.d.ts +11 -1
- package/dist/pages/section-page.d.ts.map +1 -1
- package/dist/pages/section-ui.d.ts +25 -3
- package/dist/pages/section-ui.d.ts.map +1 -1
- package/dist/pages/settings/activity/calendar.d.ts.map +1 -1
- package/dist/pages/settings/activity/connections.d.ts.map +1 -1
- package/dist/pages/settings/activity/page.d.ts.map +1 -1
- package/dist/pages/settings/activity/thread.d.ts.map +1 -1
- package/dist/pages/settings/activity/timeline.d.ts +2 -0
- package/dist/pages/settings/activity/timeline.d.ts.map +1 -1
- package/dist/pages/settings/controls.d.ts +4 -0
- package/dist/pages/settings/controls.d.ts.map +1 -1
- package/dist/pages/settings/members.d.ts.map +1 -1
- package/dist/pages/settings/memory-history.d.ts +2 -0
- package/dist/pages/settings/memory-history.d.ts.map +1 -1
- package/dist/pages/settings/memory.d.ts.map +1 -1
- package/dist/pages/settings/service-accounts.d.ts.map +1 -1
- package/dist/pages/settings/sessions.d.ts.map +1 -1
- package/dist/pages/settings/usage/breakdown.d.ts.map +1 -1
- package/dist/pages/settings/usage/limits.d.ts.map +1 -1
- package/dist/pages/settings/usage/messages.d.ts +0 -2
- package/dist/pages/settings/usage/messages.d.ts.map +1 -1
- package/dist/pages/settings/usage/runs.d.ts +8 -2
- package/dist/pages/settings/usage/runs.d.ts.map +1 -1
- package/dist/pages/settings/usage/spend-chart.d.ts.map +1 -1
- package/dist/pages/settings/usage/spend-model.d.ts +5 -0
- package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
- package/dist/pages/values.d.ts +6 -0
- package/dist/pages/values.d.ts.map +1 -1
- package/dist/pages.d.ts +4 -0
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +8188 -4841
- package/dist/pages.js.map +56 -47
- package/dist/sections/catalog.d.ts.map +1 -1
- package/dist/sections/sections.d.ts.map +1 -1
- package/dist/server.js +294 -23
- package/dist/server.js.map +8 -7
- package/dist/service-worker.d.ts +39 -0
- package/dist/service-worker.d.ts.map +1 -0
- package/dist/shared-session.d.ts +25 -0
- package/dist/shared-session.d.ts.map +1 -0
- package/dist/shell/app-return.d.ts +35 -0
- package/dist/shell/app-return.d.ts.map +1 -0
- package/dist/shell/app-shell.d.ts +1 -1
- package/dist/shell/app-shell.d.ts.map +1 -1
- package/dist/shell/nav-items.d.ts +2 -0
- package/dist/shell/nav-items.d.ts.map +1 -1
- package/dist/shell/phone/back.d.ts +6 -0
- package/dist/shell/phone/back.d.ts.map +1 -0
- package/dist/shell/phone/launch.d.ts +7 -0
- package/dist/shell/phone/launch.d.ts.map +1 -0
- package/dist/shell/phone/more-sheet.d.ts +36 -0
- package/dist/shell/phone/more-sheet.d.ts.map +1 -0
- package/dist/shell/phone/phone-foundations.d.ts +9 -0
- package/dist/shell/phone/phone-foundations.d.ts.map +1 -0
- package/dist/shell/phone/pull-to-refresh.d.ts +9 -0
- package/dist/shell/phone/pull-to-refresh.d.ts.map +1 -0
- package/dist/shell/phone/routes.d.ts +12 -0
- package/dist/shell/phone/routes.d.ts.map +1 -0
- package/dist/shell/phone/screen-motion.d.ts +11 -0
- package/dist/shell/phone/screen-motion.d.ts.map +1 -0
- package/dist/shell/phone/scroll-restoration.d.ts +7 -0
- package/dist/shell/phone/scroll-restoration.d.ts.map +1 -0
- package/dist/shell/phone/startup-image.d.ts +17 -0
- package/dist/shell/phone/startup-image.d.ts.map +1 -0
- package/dist/shell/phone/tab-bar.d.ts +14 -0
- package/dist/shell/phone/tab-bar.d.ts.map +1 -0
- package/dist/shell/phone/top-bar.d.ts +24 -0
- package/dist/shell/phone/top-bar.d.ts.map +1 -0
- package/dist/shell/search-command.d.ts +3 -1
- package/dist/shell/search-command.d.ts.map +1 -1
- package/dist/shell/user-menu.d.ts +2 -0
- package/dist/shell/user-menu.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/agent/agent-chat.tsx +51 -8
- package/src/agent/agent-panel.tsx +12 -0
- package/src/agent/agent-surface.tsx +4 -0
- package/src/agent/artifact-card.tsx +84 -16
- package/src/agent/artifact-panel.tsx +63 -43
- package/src/agent/components/agent-message-body.tsx +1 -1
- package/src/agent/components/composer-place.tsx +77 -53
- package/src/agent/components/composer.tsx +92 -7
- package/src/agent/components/context-chips.tsx +72 -2
- package/src/agent/components/conversation-panel.tsx +3 -2
- package/src/agent/components/message-parts.tsx +6 -1
- package/src/agent/components/thread-artifacts-menu.tsx +22 -5
- package/src/agent/composer-insertion.ts +36 -0
- package/src/agent/hooks/use-agent-conversation.ts +41 -10
- package/src/agent/hooks/use-new-thread-place.ts +149 -25
- package/src/agent/i18n/en.ts +14 -0
- package/src/agent/i18n/fr.ts +12 -0
- package/src/agent/publish-artifact/interpret.ts +27 -5
- package/src/agent/publish-artifact/open-artifact-tool-view.tsx +49 -0
- package/src/agent/publish-artifact/publish-artifact-tool-view.tsx +14 -8
- package/src/agent/publish-artifact/use-live-publishes.ts +7 -11
- package/src/agent/react-router.tsx +2 -2
- package/src/agent/tool-views/built-in.tsx +3 -0
- package/src/agent/types.ts +4 -0
- package/src/artifacts/artifact-page.tsx +42 -17
- package/src/artifacts/artifact-viewer.tsx +56 -0
- package/src/artifacts/artifacts.css +80 -0
- package/src/artifacts/card-details.ts +2 -2
- package/src/artifacts/card-preview.tsx +17 -3
- package/src/artifacts/comments-context.ts +125 -0
- package/src/artifacts/edit-session.tsx +6 -6
- package/src/artifacts/file-source.ts +10 -3
- package/src/artifacts/frame.tsx +50 -12
- package/src/artifacts/gallery.tsx +9 -11
- package/src/artifacts/guest-badge.tsx +21 -0
- package/src/artifacts/held-artifact.tsx +241 -0
- package/src/artifacts/holders.tsx +170 -0
- package/src/artifacts/live/boards.ts +95 -0
- package/src/artifacts/live/canvas.ts +402 -0
- package/src/artifacts/live/header.tsx +137 -0
- package/src/artifacts/live/hooks.ts +94 -0
- package/src/artifacts/live/presence.ts +147 -0
- package/src/artifacts/live/session.ts +520 -0
- package/src/artifacts/live/view.ts +81 -0
- package/src/artifacts/messages.ts +415 -24
- package/src/artifacts/page-queries.ts +2 -3
- package/src/artifacts/page-state.ts +16 -7
- package/src/artifacts/publish-edit.ts +50 -22
- package/src/artifacts/queries.ts +108 -10
- package/src/artifacts/references/references.tsx +6 -9
- package/src/artifacts/renderers/canvas/arrows.tsx +12 -39
- package/src/artifacts/renderers/canvas/board-editor.tsx +817 -0
- package/src/artifacts/renderers/canvas/board-properties.tsx +488 -0
- package/src/artifacts/renderers/canvas/board-source.ts +110 -0
- package/src/artifacts/renderers/canvas/board.tsx +309 -33
- package/src/artifacts/renderers/canvas/canvas.tsx +387 -72
- package/src/artifacts/renderers/canvas/comment-pins.tsx +465 -0
- package/src/artifacts/renderers/canvas/commenting.tsx +319 -0
- package/src/artifacts/renderers/canvas/comments-panel.tsx +574 -0
- package/src/artifacts/renderers/canvas/comments.ts +225 -0
- package/src/artifacts/renderers/canvas/draft.ts +41 -50
- package/src/artifacts/renderers/canvas/edit-mode.tsx +145 -20
- package/src/artifacts/renderers/canvas/focus.tsx +175 -24
- package/src/artifacts/renderers/canvas/items.tsx +179 -52
- package/src/artifacts/renderers/canvas/layout.ts +99 -47
- package/src/artifacts/renderers/canvas/presence.tsx +184 -0
- package/src/artifacts/renderers/canvas/previews.ts +127 -0
- package/src/artifacts/renderers/canvas/renderer.tsx +87 -22
- package/src/artifacts/renderers/canvas/thumbnail.tsx +56 -15
- package/src/artifacts/renderers/canvas/toolbar.tsx +1 -1
- package/src/artifacts/renderers/slides/slides.tsx +1 -1
- package/src/artifacts/version-menu.tsx +438 -0
- package/src/artifacts/view-context.ts +102 -0
- package/src/artifacts/viewer.tsx +205 -147
- package/src/build.ts +96 -11
- package/src/codegen.ts +83 -5
- package/src/createCustomApp.ts +20 -7
- package/src/index.ts +12 -0
- package/src/locale-messages.ts +24 -0
- package/src/metadata.ts +12 -0
- package/src/pages/console/action-run.tsx +20 -0
- package/src/pages/console/data/connectors.tsx +27 -3
- package/src/pages/console/data/datasets.tsx +30 -1
- package/src/pages/console/data/lake-health.tsx +299 -0
- package/src/pages/console/data/messages.ts +143 -2
- package/src/pages/console/data/pipelines.tsx +91 -3
- package/src/pages/console/data/projections.tsx +23 -4
- package/src/pages/console/data/syncs.tsx +39 -2
- package/src/pages/console/ontology/action-runs.tsx +8 -2
- package/src/pages/console/ontology/actions.tsx +39 -15
- package/src/pages/console/ontology/components/action-button.tsx +10 -0
- package/src/pages/console/ontology/components/artifact-picker.tsx +522 -0
- package/src/pages/console/ontology/components/object-query-bar.tsx +21 -5
- package/src/pages/console/ontology/lib/action-params.ts +10 -0
- package/src/pages/console/ontology/lineage/properties-panel.tsx +32 -24
- package/src/pages/console/ontology/object-page.tsx +2 -0
- package/src/pages/console/ontology/object-type.tsx +73 -14
- package/src/pages/console/ontology/object-types.tsx +56 -7
- package/src/pages/console/ontology/objects.tsx +167 -19
- package/src/pages/console/ontology/rules.tsx +186 -30
- package/src/pages/console/ontology/workflow.tsx +130 -74
- package/src/pages/console/ontology/workflows/run-input-form.tsx +21 -2
- package/src/pages/console/ontology/workflows/schema-shape.tsx +3 -0
- package/src/pages/console/ontology/workflows.tsx +34 -21
- package/src/pages/console/skeletons.tsx +99 -0
- package/src/pages/console/workflow-run.tsx +20 -0
- package/src/pages/section-page.tsx +37 -7
- package/src/pages/section-ui.tsx +96 -13
- package/src/pages/settings/activity/calendar.tsx +13 -6
- package/src/pages/settings/activity/connections.tsx +26 -9
- package/src/pages/settings/activity/page.tsx +31 -4
- package/src/pages/settings/activity/thread.tsx +32 -18
- package/src/pages/settings/activity/timeline.tsx +39 -0
- package/src/pages/settings/controls.tsx +19 -1
- package/src/pages/settings/developers.tsx +2 -2
- package/src/pages/settings/members.tsx +42 -9
- package/src/pages/settings/memory-history.tsx +76 -10
- package/src/pages/settings/memory.tsx +47 -5
- package/src/pages/settings/service-accounts.tsx +7 -2
- package/src/pages/settings/sessions.tsx +6 -2
- package/src/pages/settings/usage/breakdown.tsx +62 -2
- package/src/pages/settings/usage/limits.tsx +45 -3
- package/src/pages/settings/usage/messages.ts +0 -2
- package/src/pages/settings/usage/page.tsx +99 -52
- package/src/pages/settings/usage/runs.tsx +105 -8
- package/src/pages/settings/usage/spend-chart.tsx +79 -45
- package/src/pages/settings/usage/spend-model.ts +16 -0
- package/src/pages/values.tsx +72 -6
- package/src/pages.ts +4 -0
- package/src/sections/catalog.ts +6 -0
- package/src/sections/sections.tsx +2 -0
- package/src/service-worker.ts +176 -0
- package/src/shared-session.ts +73 -0
- package/src/shell/app-return.ts +115 -0
- package/src/shell/app-shell.tsx +125 -27
- package/src/shell/nav-items.tsx +2 -0
- package/src/shell/phone/back.ts +16 -0
- package/src/shell/phone/launch.ts +6 -0
- package/src/shell/phone/more-sheet.tsx +249 -0
- package/src/shell/phone/phone-foundations.tsx +43 -0
- package/src/shell/phone/phone.css +660 -0
- package/src/shell/phone/pull-to-refresh.tsx +201 -0
- package/src/shell/phone/routes.ts +34 -0
- package/src/shell/phone/screen-motion.ts +292 -0
- package/src/shell/phone/scroll-restoration.tsx +70 -0
- package/src/shell/phone/startup-image.ts +119 -0
- package/src/shell/phone/tab-bar.tsx +95 -0
- package/src/shell/phone/top-bar.tsx +195 -0
- package/src/shell/search-command.tsx +30 -14
- package/src/shell/user-menu.tsx +2 -1
- package/dist/chunk-4j3c3p72.js +0 -1487
- package/dist/chunk-4j3c3p72.js.map +0 -18
- package/dist/chunk-4mprsd2n.js.map +0 -10
- package/dist/chunk-ytadd0b5.js.map +0 -188
- /package/dist/{chunk-j8g956dt.js.map → chunk-fwb9mxwm.js.map} +0 -0
- /package/dist/{chunk-7fj9cfkw.js.map → chunk-kes4ygmz.js.map} +0 -0
- /package/dist/{chunk-kwbw4dyk.js.map → chunk-ryed2jq8.js.map} +0 -0
|
@@ -1,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,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,IAAI,CAAA;IACnC,QAAQ,CAAC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACrD,gGAAgG;IAChG,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,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,0DAA0D;IAC1D,QAAQ,CAAC,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1C,gFAAgF;IAChF,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;IACjC,+EAA+E;IAC/E,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/C,QAAQ,CAAC,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;IACzE,QAAQ,CAAC,yBAAyB,CAAC,EAAE,SAAS,CAAA;IAC9C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IACrC;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,wBAAwB,CAAA;IACpD,sFAAsF;IACtF,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAA;CACvC;AAED,iGAAiG;AACjG,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EAAE,aAAoB,EAC9B,cAAc,EACd,gBAAgB,EAChB,aAAa,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,+BAmLhB"}
|
|
@@ -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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,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,EAEl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GAAG,IAAI,CAAA;CACtC;AAYD,2EAA2E;AAC3E,wBAAgB,gBAAgB,IAAI,kBAAkB,GAAG,IAAI,CAE5D;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;IAC5B,gGAAgG;IAChG,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;IACxB,4DAA4D;IAC5D,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IACzC,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC5C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;IACtE,yFAAyF;IACzF,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;CACpD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,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"}
|
|
@@ -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,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;AAc3D,OAAO,EAGL,KAAK,SAAS,EAOf,MAAM,OAAO,CAAA;AAEd,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,cAAc,CAAA;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAQ3D,OAAO,EAEL,KAAK,eAAe,EAIrB,MAAM,qBAAqB,CAAA;AAS5B,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAItE,MAAM,WAAW,aAAa;IAC5B,QAAQ,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EAAE,iBAAiB,CAAA;IACzC,2FAA2F;IAC3F,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAA;IACpD;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAA;CACvC;AAsCD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,OAAO,GACR,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG,OAAO,CAEvD;AAED,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EACJ,KAAK,EACL,KAAK,EACL,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,UAAU,EACV,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,7 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { ConversationComposerProps } from "../hooks/use-agent-conversation";
|
|
3
3
|
import type { Agent, AgentContextInput, AgentThread } from "../types";
|
|
4
|
+
import { type ComposerProps } from "./composer";
|
|
4
5
|
import { type TranscriptProps } from "./transcript";
|
|
5
6
|
export interface ConversationPanelProps {
|
|
6
7
|
readonly sandboxRecovery?: ReactNode;
|
|
@@ -10,7 +11,8 @@ export interface ConversationPanelProps {
|
|
|
10
11
|
readonly readOnly?: boolean;
|
|
11
12
|
readonly agent: Agent | undefined;
|
|
12
13
|
readonly transcript: TranscriptProps;
|
|
13
|
-
|
|
14
|
+
/** The conversation's composer, and the page's choices for a conversation not created yet. */
|
|
15
|
+
readonly composer: ConversationComposerProps & Pick<ComposerProps, "newThreadControls">;
|
|
14
16
|
readonly messagesLoading: boolean;
|
|
15
17
|
readonly messagesError: string | null;
|
|
16
18
|
/** The selected durable thread, or null while composing a new one. */
|
|
@@ -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,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,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,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,+BAiGxB"}
|
|
@@ -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":"AAmBA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,UAAU,CAAA;AAajB;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAY,EACZ,MAAc,
|
|
1
|
+
{"version":3,"file":"message-parts.d.ts","sourceRoot":"","sources":["../../../src/agent/components/message-parts.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,UAAU,CAAA;AAajB;;;;;;;;;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,+BAmFA;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"}
|
|
@@ -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"}
|
|
@@ -98,7 +98,7 @@ export declare function useChildMessages(input: {
|
|
|
98
98
|
} | {
|
|
99
99
|
kind: "error";
|
|
100
100
|
error: {
|
|
101
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
101
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
102
102
|
message: string;
|
|
103
103
|
retryable: boolean;
|
|
104
104
|
at: string;
|
|
@@ -300,7 +300,7 @@ export declare function useChildMessages(input: {
|
|
|
300
300
|
} | {
|
|
301
301
|
kind: "error";
|
|
302
302
|
error: {
|
|
303
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
303
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
304
304
|
message: string;
|
|
305
305
|
retryable: boolean;
|
|
306
306
|
at: string;
|
|
@@ -502,7 +502,7 @@ export declare function useChildMessages(input: {
|
|
|
502
502
|
} | {
|
|
503
503
|
kind: "error";
|
|
504
504
|
error: {
|
|
505
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
505
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
506
506
|
message: string;
|
|
507
507
|
retryable: boolean;
|
|
508
508
|
at: string;
|
|
@@ -704,7 +704,7 @@ export declare function useChildMessages(input: {
|
|
|
704
704
|
} | {
|
|
705
705
|
kind: "error";
|
|
706
706
|
error: {
|
|
707
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
707
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
708
708
|
message: string;
|
|
709
709
|
retryable: boolean;
|
|
710
710
|
at: string;
|
|
@@ -906,7 +906,7 @@ export declare function useChildMessages(input: {
|
|
|
906
906
|
} | {
|
|
907
907
|
kind: "error";
|
|
908
908
|
error: {
|
|
909
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
909
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
910
910
|
message: string;
|
|
911
911
|
retryable: boolean;
|
|
912
912
|
at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-children.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/use-children.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,cAAc,CAAA;AAUrB,OAAO,EAAE,KAAK,WAAW,EAA4B,MAAM,uBAAuB,CAAA;AAElF,OAAO,EAAsB,KAAK,YAAY,EAAkB,MAAM,aAAa,CAAA;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAqB7C;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,kCAAkC;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC3B;AAED,UAAU,mBAAoB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,UAAU,CAAC;IACjF,sEAAsE;IACtE,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAA;IACtC,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAC/C,qFAAqF;IACrF,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;CAC9B;AAED;;;GAGG;AACH,wBAAgB,iB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;;;;;;qBAA0U,CAAC;;uBAA2D,CAAC;;;;;;;;kBAAkP,CAAC;;;;;;gBAA2K,CAAC;;;;;mBAAqL,CAAC;;;;;mBAAkI,CAAC;;;;yDAxGl2vsB;AAED,iEAAiE;AACjE,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAc1D;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,cAAc;;0BA6BnC,MAAM,SAAS,mBAAmB;EAclD;AAED,0DAA0D;AAC1D,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,OAAO,GACR,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;CACtE,QAGA;AAED,yFAAyF;AACzF,wBAAgB,eAAe,CAC7B,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,UAAU,CAAC,iBAStD"}
|
|
@@ -4,15 +4,21 @@ import type { ComposerProps } from "../components/composer";
|
|
|
4
4
|
import { type ComputerOfflineNoticeProps } from "../components/computer-place";
|
|
5
5
|
import type { SandboxRecoveryProps } from "../components/sandbox-recovery";
|
|
6
6
|
import type { TranscriptProps } from "../components/transcript";
|
|
7
|
-
import type { AgentContextEntryInput, AgentFileRef, LanguageModel } from "../types";
|
|
7
|
+
import type { AgentContextEntryInput, AgentFileRef, AgentThreadSandboxParams, LanguageModel } from "../types";
|
|
8
8
|
export interface UseAgentConversationInput {
|
|
9
9
|
/** The open thread, or null to start a new one with the next message. */
|
|
10
10
|
readonly threadId: string | null;
|
|
11
11
|
/** The first message created a thread; show it from now on. */
|
|
12
12
|
readonly onThreadCreated: (threadId: string) => void;
|
|
13
|
+
/**
|
|
14
|
+
* The sandbox the conversation the next message creates works in, as the project's sandbox
|
|
15
|
+
* declares its params, such as a repository and a branch. Such a conversation runs in the cloud,
|
|
16
|
+
* so the composer offers no other place. An open thread keeps the sandbox it was created with.
|
|
17
|
+
*/
|
|
18
|
+
readonly newThreadSandbox?: AgentThreadSandboxParams;
|
|
13
19
|
}
|
|
14
20
|
/** The parts of {@link ComposerProps} a conversation decides; the page adds the rest. */
|
|
15
|
-
export type ConversationComposerProps = Pick<ComposerProps, "onSend" | "newThreadPlace" | "error" | "disabled" | "pending" | "running" | "stopping" | "onStop" | "hint" | "models" | "selectedModel" | "selectedReasoning" | "modelsLoading" | "modelsError" | "onSelectModel" | "onSelectReasoning" | "onResetReasoning" | "usingDefaultModel" | "onResetModelSelection" | "modelRouting" | "draft" | "draftAttachments" | "draftContext" | "draftNonce" | "approvalMode" | "onApprovalModeChange" | "awaitingApproval" | "dictation" | "contextMeter">;
|
|
21
|
+
export type ConversationComposerProps = Pick<ComposerProps, "onSend" | "newThreadPlace" | "error" | "disabled" | "pending" | "running" | "stopping" | "onStop" | "hint" | "models" | "selectedModel" | "selectedReasoning" | "modelsLoading" | "modelsError" | "onSelectModel" | "onSelectReasoning" | "onResetReasoning" | "usingDefaultModel" | "onResetModelSelection" | "modelRouting" | "draft" | "draftAttachments" | "draftContext" | "draftNonce" | "insertion" | "onInserted" | "approvalMode" | "onApprovalModeChange" | "awaitingApproval" | "dictation" | "contextMeter">;
|
|
16
22
|
export type AgentConversation = ReturnType<typeof useAgentConversation>;
|
|
17
23
|
/** Why a message, a retry or a stop did not go through, or the approval mode did not change. */
|
|
18
24
|
export type AgentConversationSendError =
|
|
@@ -41,7 +47,7 @@ export interface AgentConversationMessagesError {
|
|
|
41
47
|
* both render it, by spreading `transcriptProps` and `composerProps` or by drawing `messages` and
|
|
42
48
|
* `turn` themselves.
|
|
43
49
|
*/
|
|
44
|
-
export declare function useAgentConversation({ threadId, onThreadCreated }: UseAgentConversationInput): {
|
|
50
|
+
export declare function useAgentConversation({ threadId, onThreadCreated, newThreadSandbox, }: UseAgentConversationInput): {
|
|
45
51
|
agentLoading: boolean;
|
|
46
52
|
sandboxRecovery: {
|
|
47
53
|
name: string;
|
|
@@ -618,7 +624,7 @@ export declare function useAgentConversation({ threadId, onThreadCreated }: UseA
|
|
|
618
624
|
} | {
|
|
619
625
|
kind: "error";
|
|
620
626
|
error: {
|
|
621
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
627
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
622
628
|
message: string;
|
|
623
629
|
retryable: boolean;
|
|
624
630
|
at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-agent-conversation.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-agent-conversation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-agent-conversation.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-agent-conversation.ts"],"names":[],"mappings":"AAgCA,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAIpF,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAG1B,KAAK,iBAAiB,EAIvB,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,KAAK,0BAA0B,EAAe,MAAM,8BAA8B,CAAA;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAmC/D,OAAO,KAAK,EACV,sBAAsB,EACtB,YAAY,EAEZ,wBAAwB,EACxB,aAAa,EACd,MAAM,UAAU,CAAA;AA8BjB,MAAM,WAAW,yBAAyB;IACxC,yEAAyE;IACzE,QAAQ,CAAC,QAAQ,EAAE,MAA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S,sBAAsB,EAAE;eACnC,MAAM;;;iBAmJP,MAAM,eACC,SAAS,YAAY,EAAE,WAC3B,SAAS,sBAAsB,EAAE;IA+rB1C,sDAAsD;;IAEtD,oEAAoE;;IAEpE,4DAA4D;;IAE5D,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiNutzxB,CAAC;;;;;;;;;;0BAAqgB,CAAC;wBAAkC,CAAC;yBAAiC,CAAC;;;;;;;;;;;;;uBAA0tD,CAAC;;;0BAAiJ,CAAC;wBAAkC,CAAC;yBAAiC,CAAC;;;;;IA/Mvy4xB,uFAAuF;;IAEvF;;;OAGG;uBA5eO,aAAa,YACb,qBAAqB,KAC9B,OAAO,CAAC,oBAAoB,CAAC;IA4e9B,sFAAsF;;4BAzhBzD,iBAAiB;IA4hB9C,gEAAgE;;IAEhE,kCAAkC;;IAElC,qFAAqF;;IAErF,mGAAmG;;IAEnG,iFAAiF;;;;;;;IAEjF,2EAA2E;;EAG9E"}
|
|
@@ -12,27 +12,41 @@ export type NewThreadPlaceBody = {
|
|
|
12
12
|
readonly folder: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
/** A computer a new conversation can run on, with the folders to choose from there. */
|
|
16
|
+
export interface PlaceComputer {
|
|
17
|
+
/** Both null while what runs the agent on this computer can't start: the cloud is still a choice. */
|
|
18
|
+
readonly id: string | null;
|
|
19
|
+
readonly name: string | null;
|
|
20
|
+
readonly folders: readonly string[];
|
|
21
|
+
}
|
|
15
22
|
/** The composer's choice of where a new conversation runs. */
|
|
16
23
|
export interface NewThreadPlace {
|
|
17
|
-
/**
|
|
18
|
-
|
|
24
|
+
/**
|
|
25
|
+
* In a desktop app, this computer alone. In a browser, the person's computers with `sixb` open,
|
|
26
|
+
* which aren't the one the page is on.
|
|
27
|
+
*/
|
|
28
|
+
readonly computers: readonly PlaceComputer[];
|
|
29
|
+
/** The computers are elsewhere: what's shown names the computer as well as the folder. */
|
|
30
|
+
readonly remote: boolean;
|
|
19
31
|
readonly cloud: boolean;
|
|
20
|
-
/** Null before the person has chosen one: the first message asks. */
|
|
21
|
-
readonly
|
|
22
|
-
|
|
23
|
-
|
|
32
|
+
/** Null before the person has chosen one: in a desktop app, the first message asks. */
|
|
33
|
+
readonly chosen: {
|
|
34
|
+
readonly computer: PlaceComputer;
|
|
35
|
+
readonly folder: string;
|
|
36
|
+
} | null;
|
|
24
37
|
readonly chooseCloud: () => void;
|
|
25
|
-
readonly chooseFolder: (folder: string) => void;
|
|
26
|
-
/**
|
|
27
|
-
readonly pickFolder
|
|
28
|
-
|
|
29
|
-
readonly
|
|
38
|
+
readonly chooseFolder: (computer: PlaceComputer, folder: string) => void;
|
|
39
|
+
/** In a desktop app: ask the person for a folder, and use it. */
|
|
40
|
+
readonly pickFolder?: () => Promise<void>;
|
|
41
|
+
/** In a desktop app: take a folder back. */
|
|
42
|
+
readonly forgetFolder?: (folder: string) => void;
|
|
43
|
+
/**
|
|
44
|
+
* In a desktop app: read this computer's folders again, as the menu opens. A browser's list
|
|
45
|
+
* follows the activity feed instead.
|
|
46
|
+
*/
|
|
47
|
+
readonly refreshFolders?: () => void;
|
|
30
48
|
}
|
|
31
|
-
|
|
32
|
-
* Where a new conversation runs, in a desktop app that can run the agent here: this computer unless
|
|
33
|
-
* the person chooses the cloud. In a browser there's nothing to choose, and this says so.
|
|
34
|
-
*/
|
|
35
|
-
export declare function useNewThreadPlace(): {
|
|
49
|
+
export interface NewThreadPlaceState {
|
|
36
50
|
/** Null where the only place is the cloud, or until it's known that there's another. */
|
|
37
51
|
readonly place: NewThreadPlace | null;
|
|
38
52
|
/** A desktop app that hasn't said yet whether it can run the agent here. */
|
|
@@ -44,5 +58,13 @@ export declare function useNewThreadPlace(): {
|
|
|
44
58
|
* person cancels, so that their message stays in the composer.
|
|
45
59
|
*/
|
|
46
60
|
readonly resolveBody: () => Promise<NewThreadPlaceBody | null>;
|
|
47
|
-
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Where a new conversation runs. In a desktop app that can run the agent here: this computer
|
|
64
|
+
* unless the person chooses the cloud. In a browser: the cloud unless they choose a folder on one
|
|
65
|
+
* of their computers where `sixb` is open now, and there's nothing to choose while none is.
|
|
66
|
+
*
|
|
67
|
+
* `starting`: a new conversation is open. Only then does a browser list the person's computers.
|
|
68
|
+
*/
|
|
69
|
+
export declare function useNewThreadPlace(starting: boolean): NewThreadPlaceState;
|
|
48
70
|
//# sourceMappingURL=use-new-thread-place.d.ts.map
|