@sixb/app 0.2.0 → 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/assets/connector-icons/README.md +1 -0
- package/assets/connector-icons/fleetio.ico +0 -0
- 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-card.d.ts +10 -0
- package/dist/agent/background/background-card.d.ts.map +1 -0
- package/dist/agent/background/background-tool-row.d.ts +9 -0
- package/dist/agent/background/background-tool-row.d.ts.map +1 -0
- package/dist/agent/background/context.d.ts +23 -0
- package/dist/agent/background/context.d.ts.map +1 -0
- package/dist/agent/background/interpret.d.ts +116 -0
- package/dist/agent/background/interpret.d.ts.map +1 -0
- package/dist/agent/bash/bash-tool-view.d.ts.map +1 -1
- package/dist/agent/bash/interpret.d.ts +4 -0
- package/dist/agent/bash/interpret.d.ts.map +1 -1
- package/dist/agent/components/composer-menu.d.ts +3 -1
- package/dist/agent/components/composer-menu.d.ts.map +1 -1
- package/dist/agent/components/composer-place.d.ts +13 -0
- package/dist/agent/components/composer-place.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +23 -1
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/computer-place.d.ts +3 -1
- package/dist/agent/components/computer-place.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/components/transcript.d.ts +6 -0
- package/dist/agent/components/transcript.d.ts.map +1 -1
- package/dist/agent/components/web-fetch-tool-view.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/child-parts.d.ts +2 -0
- package/dist/agent/delegation/child-parts.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/hooks/use-agent-conversation.d.ts +24 -4
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-new-thread-place.d.ts +70 -0
- package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -0
- package/dist/agent/hooks/use-thread-lists.d.ts +40 -0
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
- package/dist/agent/i18n/en.d.ts +74 -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 +126 -0
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/observed-conversation.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/agent/utils/web-fetch.d.ts +33 -1
- package/dist/agent/utils/web-fetch.d.ts.map +1 -1
- package/dist/agent/utils/web-search.d.ts +14 -2
- package/dist/agent/utils/web-search.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-fw2bm6dq.js → chunk-001c4gnk.js} +8086 -3870
- 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-j9653e83.js → chunk-fwb9mxwm.js} +1 -1
- package/dist/{chunk-km25essq.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/shared.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 +2 -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 +8195 -4841
- package/dist/pages.js.map +58 -49
- 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 -2
- 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/agent.css +18 -0
- package/src/agent/artifact-card.tsx +84 -16
- package/src/agent/artifact-panel.tsx +63 -43
- package/src/agent/background/background-card.tsx +308 -0
- package/src/agent/background/background-tool-row.tsx +58 -0
- package/src/agent/background/context.ts +26 -0
- package/src/agent/background/interpret.ts +356 -0
- package/src/agent/bash/bash-tool-view.tsx +9 -4
- package/src/agent/bash/interpret.ts +21 -3
- package/src/agent/components/agent-message-body.tsx +1 -1
- package/src/agent/components/composer-menu.tsx +4 -1
- package/src/agent/components/composer-place.tsx +168 -0
- package/src/agent/components/composer.tsx +101 -3
- package/src/agent/components/computer-place.tsx +18 -1
- 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/components/transcript.tsx +33 -1
- package/src/agent/components/web-fetch-tool-view.tsx +94 -29
- package/src/agent/composer-insertion.ts +36 -0
- package/src/agent/delegation/child-parts.tsx +1 -1
- package/src/agent/hooks/use-agent-conversation.ts +101 -8
- package/src/agent/hooks/use-new-thread-place.ts +294 -0
- package/src/agent/i18n/en.ts +70 -3
- package/src/agent/i18n/fr.ts +70 -3
- package/src/agent/observed-conversation.tsx +3 -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 +29 -11
- package/src/agent/types.ts +4 -0
- package/src/agent/utils/web-fetch.ts +89 -10
- package/src/agent/utils/web-search.ts +67 -28
- 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/shared.tsx +1 -0
- 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 +2 -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 +17 -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-4mprsd2n.js.map +0 -10
- package/dist/chunk-fw2bm6dq.js.map +0 -182
- package/dist/chunk-zxthr2q5.js +0 -1487
- package/dist/chunk-zxthr2q5.js.map +0 -18
- /package/dist/{chunk-j9653e83.js.map → chunk-fwb9mxwm.js.map} +0 -0
- /package/dist/{chunk-km25essq.js.map → chunk-kes4ygmz.js.map} +0 -0
- /package/dist/{chunk-kwbw4dyk.js.map → chunk-ryed2jq8.js.map} +0 -0
|
@@ -20,6 +20,7 @@ The following assets were retrieved from icons linked by the services' official
|
|
|
20
20
|
- `companycam.png`: https://cdn.companycam.com/dist/img/site/favicon-96x96-2021.png
|
|
21
21
|
- `ace-iot.ico`: https://aceiotsolutions.com/favicon.ico
|
|
22
22
|
- `exa.png`: https://exa.ai/images/favicon-32x32.png
|
|
23
|
+
- `fleetio.ico`: https://developer.fleetio.com/img/favicon.ico
|
|
23
24
|
- `google.ico`: https://www.google.com/favicon.ico
|
|
24
25
|
- `pandadoc.png`: https://files.readme.io/6ffa2ec-small-icon-192-e5478bae7f.png
|
|
25
26
|
- `microsoft.ico`: https://learn.microsoft.com/favicon.ico
|
|
Binary file
|
|
@@ -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":"AAUA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,WAAW,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,SAAS,CAAA;AAM7D,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,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,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAA;AAG7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,2FAA2F;IAC3F,QAAQ,CA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c,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,MAA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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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { NormalizedTool } from "../parts";
|
|
2
|
+
/**
|
|
3
|
+
* A command the agent started in the background, as its step in the work: the card that says how
|
|
4
|
+
* it stands, which only a reader who opens the steps sees. On its way, or outside a transcript, it
|
|
5
|
+
* is a quiet line like any other step.
|
|
6
|
+
*/
|
|
7
|
+
export declare function BackgroundCommandStep({ tool }: {
|
|
8
|
+
readonly tool: NormalizedTool;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=background-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-card.d.ts","sourceRoot":"","sources":["../../../src/agent/background/background-card.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAa9C;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAAE,+BAWhF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NormalizedTool } from "../parts";
|
|
2
|
+
/**
|
|
3
|
+
* A call that starts, reads or stops a background command, as one quiet line of the work: the
|
|
4
|
+
* card under the work is where the command stands, so the line only says what the agent did.
|
|
5
|
+
*/
|
|
6
|
+
export declare function BackgroundToolRow({ tool }: {
|
|
7
|
+
readonly tool: NormalizedTool;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=background-tool-row.d.ts.map
|
|
@@ -0,0 +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;AAK9C;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAAE,+BAuB5E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { BackgroundSource, ThreadBackground } from "./interpret";
|
|
2
|
+
/** What a conversation knows of its background commands, and lets its reader do with them. */
|
|
3
|
+
export interface TranscriptBackground {
|
|
4
|
+
readonly source: BackgroundSource;
|
|
5
|
+
/**
|
|
6
|
+
* Ask its computer to stop a command, which it does at once: its owner's, while their `sixb`
|
|
7
|
+
* runs it. Absent for anyone else.
|
|
8
|
+
*/
|
|
9
|
+
readonly stop?: (command: {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly startedAt: string;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
/** What the background command cards of a transcript read. */
|
|
15
|
+
export interface BackgroundCardsContext extends TranscriptBackground {
|
|
16
|
+
readonly thread: ThreadBackground;
|
|
17
|
+
/** The turn streaming now, which runs the commands it started. */
|
|
18
|
+
readonly liveRunId: string | null;
|
|
19
|
+
}
|
|
20
|
+
/** Null outside a transcript, such as in a workflow's agent trace: no card is shown there. */
|
|
21
|
+
export declare const BackgroundCardsContext: import("react").Context<BackgroundCardsContext | null>;
|
|
22
|
+
export declare function useBackgroundCards(): BackgroundCardsContext | null;
|
|
23
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/agent/background/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAErE,8FAA8F;AAC9F,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;IACjC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAChG;AAED,8DAA8D;AAC9D,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB;IAClE,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;IACjC,kEAAkE;IAClE,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAClC;AAED,8FAA8F;AAC9F,eAAO,MAAM,sBAAsB,wDAAqD,CAAA;AAExF,wBAAgB,kBAAkB,IAAI,sBAAsB,GAAG,IAAI,CAElE"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { AgentConversationMessage } from "../conversation";
|
|
2
|
+
import type { AgentMessages } from "../i18n/en";
|
|
3
|
+
import type { NormalizedTool } from "../parts";
|
|
4
|
+
export type BackgroundCommandStatus = "running" | "exited" | "stopped";
|
|
5
|
+
/** The tools that start, read and stop a background command. */
|
|
6
|
+
export declare const BACKGROUND_TOOLS: ReadonlySet<string>;
|
|
7
|
+
/** A background command by its start: an id is unique to its run, its start to the thread. */
|
|
8
|
+
export declare function backgroundKey(command: {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly startedAt: string;
|
|
11
|
+
}): string;
|
|
12
|
+
/** A command a work group started, which its card stands for under the work. */
|
|
13
|
+
export type BackgroundStart =
|
|
14
|
+
/** The call is on its way: the command does not run yet. */
|
|
15
|
+
{
|
|
16
|
+
readonly kind: "starting";
|
|
17
|
+
readonly key: string;
|
|
18
|
+
readonly command: string;
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: "started";
|
|
21
|
+
readonly key: string;
|
|
22
|
+
readonly id: string;
|
|
23
|
+
readonly startedAt: string;
|
|
24
|
+
readonly command: string;
|
|
25
|
+
};
|
|
26
|
+
/** What the conversation's calls say of a command, oldest to newest. */
|
|
27
|
+
export interface CommandFromCalls {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly command: string;
|
|
30
|
+
readonly startedAt: string;
|
|
31
|
+
readonly status: BackgroundCommandStatus;
|
|
32
|
+
readonly exitCode?: number;
|
|
33
|
+
readonly endedAt?: string;
|
|
34
|
+
readonly outputPath?: string;
|
|
35
|
+
/** The turn that started it. */
|
|
36
|
+
readonly runId: string | null;
|
|
37
|
+
/** What the agent read of its output, newest last; `truncated` when more came before. */
|
|
38
|
+
readonly output: string;
|
|
39
|
+
readonly truncated: boolean;
|
|
40
|
+
/** A call naming it is on its way: the agent reads it, waits for it, or stops it. */
|
|
41
|
+
readonly pending?: "reading" | "waiting" | "stopping";
|
|
42
|
+
}
|
|
43
|
+
/** The thread's background commands as its calls tell them, by {@link backgroundKey}. */
|
|
44
|
+
export interface ThreadBackground {
|
|
45
|
+
readonly commands: ReadonlyMap<string, CommandFromCalls>;
|
|
46
|
+
}
|
|
47
|
+
/** A command as the computer's `sixb` reports it to its owner, between turns too. */
|
|
48
|
+
export interface LiveBackgroundCommand {
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly command: string;
|
|
51
|
+
readonly status: BackgroundCommandStatus;
|
|
52
|
+
readonly exitCode?: number;
|
|
53
|
+
readonly startedAt: string;
|
|
54
|
+
readonly endedAt?: string;
|
|
55
|
+
/** A stop its owner asked for is on its way to it. */
|
|
56
|
+
readonly stopping?: boolean;
|
|
57
|
+
}
|
|
58
|
+
/** Where the thread's commands run, and what is known of them now. */
|
|
59
|
+
export interface BackgroundSource {
|
|
60
|
+
/** The thread runs on its owner's computer, where a command outlives its turn. */
|
|
61
|
+
readonly onComputer: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* What the computer reports, to its owner alone: null for anyone else, and in the cloud. Empty
|
|
64
|
+
* when `sixb` is closed there, which stopped them.
|
|
65
|
+
*/
|
|
66
|
+
readonly live: readonly LiveBackgroundCommand[] | null;
|
|
67
|
+
/** `sixb` is open in the thread's folder. */
|
|
68
|
+
readonly online: boolean;
|
|
69
|
+
}
|
|
70
|
+
/** How the card shows a command now. */
|
|
71
|
+
export interface BackgroundCardState {
|
|
72
|
+
readonly status: "starting" | BackgroundCommandStatus | "unknown";
|
|
73
|
+
readonly command: string;
|
|
74
|
+
readonly startedAt?: string;
|
|
75
|
+
readonly endedAt?: string;
|
|
76
|
+
readonly exitCode?: number;
|
|
77
|
+
/** Why a command its calls last saw running is gone: its turn, or its `sixb`, ended. */
|
|
78
|
+
readonly endedWith?: "turn" | "sixb";
|
|
79
|
+
/** Unknown as its owner's `sixb` does not answer there: closed, or offline. */
|
|
80
|
+
readonly unreachable?: boolean;
|
|
81
|
+
/** A stop is on its way: the agent's, or one its owner asked for. */
|
|
82
|
+
readonly stopping: boolean;
|
|
83
|
+
/** The agent waits for it, or reads it, now. */
|
|
84
|
+
readonly pending?: "reading" | "waiting";
|
|
85
|
+
/** Its owner can stop it from the card: it runs on their open `sixb`. */
|
|
86
|
+
readonly canStop: boolean;
|
|
87
|
+
readonly output: string;
|
|
88
|
+
readonly truncated: boolean;
|
|
89
|
+
readonly outputPath?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The command a background start stands for, by its call: on its way, or started with its id. Null
|
|
93
|
+
* for one that could not start, which is a failed call like any other.
|
|
94
|
+
*/
|
|
95
|
+
export declare function backgroundStartOf(tool: NormalizedTool): BackgroundStart | null;
|
|
96
|
+
/** Whether a call starts a command in the background. */
|
|
97
|
+
export declare function isBackgroundStart(tool: NormalizedTool): boolean;
|
|
98
|
+
/** Read the thread's background commands from its turns, oldest first, the one streaming last. */
|
|
99
|
+
export declare function readThreadBackground(messages: readonly Pick<AgentConversationMessage, "role" | "runId" | "parts">[]): ThreadBackground;
|
|
100
|
+
/**
|
|
101
|
+
* How a command's card reads now: its calls, what its `sixb` reports, and whether its turn still
|
|
102
|
+
* works. Whatever says it ended wins; a command its calls last saw running is gone once nothing can
|
|
103
|
+
* still run it: its turn ended in the cloud, or its `sixb` closed or no longer reports it.
|
|
104
|
+
*/
|
|
105
|
+
export declare function backgroundCardState(input: {
|
|
106
|
+
readonly start: BackgroundStart;
|
|
107
|
+
readonly calls?: CommandFromCalls;
|
|
108
|
+
readonly source: BackgroundSource;
|
|
109
|
+
/** The turn streaming now, if any. */
|
|
110
|
+
readonly liveRunId: string | null;
|
|
111
|
+
/** A stop the reader asked for here, until the computer reports it. */
|
|
112
|
+
readonly stopAsked?: boolean;
|
|
113
|
+
}): BackgroundCardState;
|
|
114
|
+
/** What a background call reads as, in the work and as the live label of a turn at work. */
|
|
115
|
+
export declare function backgroundRowLabel(tool: NormalizedTool, messages: AgentMessages): string;
|
|
116
|
+
//# sourceMappingURL=interpret.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpret.d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AAC,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,CAcxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bash-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/bash/bash-tool-view.tsx"],"names":[],"mappings":"AAyBA,OAAO,
|
|
1
|
+
{"version":3,"file":"bash-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/bash/bash-tool-view.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAUL,KAAK,UAAU,EAGhB,MAAM,aAAa,CAAA;AAgBpB,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,KAAK,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,cAAc,CAAA;IAC3F,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAoBD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,+BA2HxD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG;IAC9C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,EAAE;QAAE,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;KAAE,CAAC,CAAA;IACjE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B,GAAG,IAAI,CAWP"}
|
|
@@ -64,11 +64,15 @@ export interface ParsedBashOutput {
|
|
|
64
64
|
readonly stderr: string;
|
|
65
65
|
readonly durationMs: number;
|
|
66
66
|
readonly truncated: boolean;
|
|
67
|
+
/** The command was stopped at its timeout: its exit code is the signal's, not its verdict. */
|
|
68
|
+
readonly timedOut: boolean;
|
|
67
69
|
/** Decoded stdout when it parsed as JSON, otherwise undefined. */
|
|
68
70
|
readonly json: unknown;
|
|
69
71
|
}
|
|
70
72
|
export declare function coerceBashInput(input: unknown): BashInput | null;
|
|
71
73
|
export declare function coerceBashOutput(output: unknown): ParsedBashOutput | null;
|
|
74
|
+
/** How long a command had, as the bash tool gives it: 2 minutes unless it asked, 10 at most. */
|
|
75
|
+
export declare function commandTimeout(input: BashInput | null): string;
|
|
72
76
|
export declare function classifyCommand(command: string): BashIntent;
|
|
73
77
|
export type BashIcon = "ontology" | "objects" | "object" | "count" | "facets" | "telemetry" | "actions" | "project" | "skill" | "image" | "audio" | "transcript" | "model" | "memory" | "terminal";
|
|
74
78
|
interface BashDescription {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/bash/interpret.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,YAAY,CAAA;AACnD,OAAO,EAAE,KAAK,UAAU,EAA+C,MAAM,iBAAiB,CAAA;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C,oDAAoD;AACpD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;CAkBR,CAAA;AAEV,KAAK,QAAQ,GAAG,MAAM,OAAO,YAAY,CAAA;AACzC,KAAK,cAAc,GAAG;K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AS,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,GAAE,aAAa,CAAC,MAAM,CAAW,GAAG,MAAM,GAAG,SAAS,CAKhG;AA2BD,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAMjE;AAOD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAIzD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAExE;AA+CD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE"}
|
|
@@ -25,13 +25,15 @@ export declare function ComposerMenuDivider({ strong }: {
|
|
|
25
25
|
* A composer menu on frosted glass beside its trigger, or a bottom sheet on a phone. `trigger` is
|
|
26
26
|
* the button that opens it.
|
|
27
27
|
*/
|
|
28
|
-
export declare function ComposerMenu({ open, onOpenChange, trigger, title, align, className, onCloseAutoFocus, children, }: {
|
|
28
|
+
export declare function ComposerMenu({ open, onOpenChange, trigger, title, align, side, className, onCloseAutoFocus, children, }: {
|
|
29
29
|
readonly open: boolean;
|
|
30
30
|
readonly onOpenChange: (open: boolean) => void;
|
|
31
31
|
readonly trigger: ReactNode;
|
|
32
32
|
/** Names the menu to assistive technology. */
|
|
33
33
|
readonly title: string;
|
|
34
34
|
readonly align: "start" | "end";
|
|
35
|
+
/** Which way it opens, room allowing. By default, up, over what's above the composer. */
|
|
36
|
+
readonly side?: "top" | "bottom";
|
|
35
37
|
readonly className?: string;
|
|
36
38
|
/** Where the focus goes once the menu closes; the trigger unless prevented. */
|
|
37
39
|
readonly onCloseAutoFocus?: (event: Event) => void;
|
|
@@ -1 +1 @@
|
|
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,EACZ,SAAS,EACT,gBAAgB,EAChB,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;IAC3B,8CAA8C;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,CAAA;IAC/B,yFAAyF;IACzF,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,+EAA+E;IAC/E,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,+BAuCA;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAgChG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NewThreadPlace } from "../hooks/use-new-thread-place";
|
|
2
|
+
/**
|
|
3
|
+
* Where a new conversation runs, as a quiet line under the input: set once for the conversation, and
|
|
4
|
+
* the thing a person most needs to see before sending, so it isn't among the per-message settings.
|
|
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.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ComposerPlace({ place, disabled, }: {
|
|
10
|
+
readonly place: NewThreadPlace;
|
|
11
|
+
readonly disabled?: boolean;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=composer-place.d.ts.map
|
|
@@ -0,0 +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;;;;;;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,7 +1,9 @@
|
|
|
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";
|
|
6
|
+
import type { NewThreadPlace } from "../hooks/use-new-thread-place";
|
|
5
7
|
import type { AgentFileRef, LanguageModel } from "../types";
|
|
6
8
|
import { type ComposerCommand } from "./composer-commands";
|
|
7
9
|
import { type ContextMeterProps } from "./context-meter";
|
|
@@ -48,6 +50,19 @@ export interface ComposerProps {
|
|
|
48
50
|
/** Exact context snapshot to restore after a failed send. */
|
|
49
51
|
readonly draftContext?: readonly AgentContextEntryInput[];
|
|
50
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;
|
|
51
66
|
/** Ambient context offered for the next turn. Explicit @ selections remain composer-local. */
|
|
52
67
|
readonly ambientContext?: readonly AgentContextInput[];
|
|
53
68
|
/** Scope drag/drop and overlays to an embedded panel instead of the whole viewport. */
|
|
@@ -73,7 +88,14 @@ export interface ComposerProps {
|
|
|
73
88
|
readonly commands?: readonly ComposerCommand[];
|
|
74
89
|
/** How much of its model's limit the conversation uses: a ring beside the model. */
|
|
75
90
|
readonly contextMeter?: ContextMeterProps;
|
|
91
|
+
/** Where a new conversation runs, where there's a choice; "waiting" until that's known. */
|
|
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;
|
|
76
98
|
}
|
|
77
99
|
export declare function composerCanFocus({ disabled, pending, }: Pick<ComposerProps, "disabled" | "pending">): boolean;
|
|
78
|
-
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, }: 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;
|
|
79
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,CAAC,MAAM,EAAE,CACf,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,SAAS,YAAY,EAAE,EACpC,OAAO,EAAE,SAAS,sBAAsB,EAAE,KACvC,IAAI,CAAA;IACT,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CA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AgB,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"}
|
|
@@ -14,10 +14,12 @@ export interface ComputerOfflineNoticeProps {
|
|
|
14
14
|
/** Why the last move failed: a turn it must wait for, or anything else. */
|
|
15
15
|
readonly error: "busy" | "failed" | null;
|
|
16
16
|
readonly onContinueInCloud: () => void;
|
|
17
|
+
/** In a desktop app on this conversation's own computer: ask the person to run it here. */
|
|
18
|
+
readonly onRunHere?: () => void;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* Above the composer while the conversation's computer is offline: a message waits for it, or the
|
|
20
22
|
* conversation moves to the cloud, for good.
|
|
21
23
|
*/
|
|
22
|
-
export declare function ComputerOfflineNotice({ computer, pending, error, onContinueInCloud, }: ComputerOfflineNoticeProps): import("react").JSX.Element;
|
|
24
|
+
export declare function ComputerOfflineNotice({ computer, pending, error, onContinueInCloud, onRunHere, }: ComputerOfflineNoticeProps): import("react").JSX.Element;
|
|
23
25
|
//# sourceMappingURL=computer-place.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-place.d.ts","sourceRoot":"","sources":["../../../src/agent/components/computer-place.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,gFAAgF;AAChF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAA;AAEjE,gEAAgE;AAChE,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAElD;AAQD,+FAA+F;AAC/F,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAA;CAAE,+BAoBhF;AAED,MAAM,WAAW,0BAA0B;IACzC,6EAA6E;IAC7E,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,2EAA2E;IAC3E,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"computer-place.d.ts","sourceRoot":"","sources":["../../../src/agent/components/computer-place.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,gFAAgF;AAChF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAA;AAEjE,gEAAgE;AAChE,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAElD;AAQD,+FAA+F;AAC/F,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAA;CAAE,+BAoBhF;AAED,MAAM,WAAW,0BAA0B;IACzC,6EAA6E;IAC7E,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,2EAA2E;IAC3E,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,IAAI,CAAA;IACtC,2FAA2F;IAC3F,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,OAAO,EACP,KAAK,EACL,iBAAiB,EACjB,SAAS,GACV,EAAE,0BAA0B,+BA2D5B"}
|
|
@@ -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
|
+
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AA;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"}
|