@pstdio/ui 0.26.0 → 0.36.0
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/EquationComponent-DDd5UoIP.js +65 -0
- package/dist/EquationComponent-DDd5UoIP.js.map +1 -0
- package/dist/MermaidComponent-Cxg7NtjX.js +90 -0
- package/dist/MermaidComponent-Cxg7NtjX.js.map +1 -0
- package/dist/browser-storage-C_ipoNwP.js +37 -0
- package/dist/browser-storage-C_ipoNwP.js.map +1 -0
- package/dist/chat-ui.d.ts +688 -2
- package/dist/chat-ui.js +3271 -2848
- package/dist/chat-ui.js.map +1 -1
- package/dist/data-table-stats-row-UuTinYfL.js +415 -0
- package/dist/data-table-stats-row-UuTinYfL.js.map +1 -0
- package/dist/data-table.d.ts +174 -2
- package/dist/data-table.js +1349 -1187
- package/dist/data-table.js.map +1 -1
- package/dist/diff-bubble-DZsarmSG.js +61 -0
- package/dist/diff-bubble-DZsarmSG.js.map +1 -0
- package/dist/diff-drawer-45rpk3aq.js +776 -0
- package/dist/diff-drawer-45rpk3aq.js.map +1 -0
- package/dist/diff-editor-CGpeyoCE.js +124 -0
- package/dist/diff-editor-CGpeyoCE.js.map +1 -0
- package/dist/diff-size-Dydn_Uw5.js +61 -0
- package/dist/diff-size-Dydn_Uw5.js.map +1 -0
- package/dist/diff-viewer-hGkaF_zW.js +558 -0
- package/dist/diff-viewer-hGkaF_zW.js.map +1 -0
- package/dist/diff.d.ts +128 -2
- package/dist/diff.js +163 -1302
- package/dist/diff.js.map +1 -1
- package/dist/empty-state-3mVV_pV-.js +38 -0
- package/dist/empty-state-3mVV_pV-.js.map +1 -0
- package/dist/file-change-badge-0QFNv82B.js +64 -0
- package/dist/file-change-badge-0QFNv82B.js.map +1 -0
- package/dist/index-BfFLdci8.d.ts +189 -0
- package/dist/index-Dd6e8lU_.d.ts +61 -0
- package/dist/index-DlmvvQ6x.d.ts +143 -0
- package/dist/index.d.ts +1504 -40
- package/dist/index.js +3121 -2707
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +339 -2
- package/dist/kanban-renderer.js +1413 -1085
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/list-row-De9R2zKU.js +1008 -0
- package/dist/list-row-De9R2zKU.js.map +1 -0
- package/dist/mermaid-renderer-DImi0fDp.js +553 -0
- package/dist/mermaid-renderer-DImi0fDp.js.map +1 -0
- package/dist/mermaid.d.ts +12 -2
- package/dist/mermaid.js +2 -5
- package/dist/monaco-browser-CLRPSE4-.js +14 -0
- package/dist/monaco-browser-CLRPSE4-.js.map +1 -0
- package/dist/param-editor-I0dKQeeZ.js +225 -0
- package/dist/param-editor-I0dKQeeZ.js.map +1 -0
- package/dist/param-editor-field-CBguLs_b.js +2368 -0
- package/dist/param-editor-field-CBguLs_b.js.map +1 -0
- package/dist/param-editor.d.ts +407 -2
- package/dist/param-editor.js +3 -47
- package/dist/prism-pSHJejZx.js +646 -0
- package/dist/prism-pSHJejZx.js.map +1 -0
- package/dist/radio-CiFrDN6O.js +54 -0
- package/dist/radio-CiFrDN6O.js.map +1 -0
- package/dist/resource-badge-95WPVlZf.d.ts +76 -0
- package/dist/rich-text-BgDvOEGH.js +7021 -0
- package/dist/rich-text-BgDvOEGH.js.map +1 -0
- package/dist/rich-text.d.ts +3 -2
- package/dist/rich-text.js +2 -429
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/scroll-area-Cr1lNXAr.js +100 -0
- package/dist/scroll-area-Cr1lNXAr.js.map +1 -0
- package/dist/slider-hwHYe98I.js +423 -0
- package/dist/slider-hwHYe98I.js.map +1 -0
- package/dist/style.css +2 -1
- package/dist/terminal.d.ts +203 -2
- package/dist/terminal.js +324 -360
- package/dist/terminal.js.map +1 -1
- package/dist/theme-0cbWICbg.js +2936 -0
- package/dist/theme-0cbWICbg.js.map +1 -0
- package/dist/theme-preference-pzfuK5cH.js +101 -0
- package/dist/theme-preference-pzfuK5cH.js.map +1 -0
- package/dist/theme.d.ts +3 -2
- package/dist/theme.js +2 -15
- package/dist/tree-list-BUfDQz3v.js +1449 -0
- package/dist/tree-list-BUfDQz3v.js.map +1 -0
- package/dist/types-yjKBk07w.d.ts +161 -0
- package/dist/workspace-badge-Brm3Xr3m.d.ts +75 -0
- package/dist/workspace-badge-DrvH8WKV.js +241 -0
- package/dist/workspace-badge-DrvH8WKV.js.map +1 -0
- package/dist-monaco/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist-monaco/assets/css.worker-DFdt6_zu.js +89 -0
- package/dist-monaco/assets/editor.worker-O-CH8JUO.js +26 -0
- package/dist-monaco/assets/html.worker-JUzsMP-j.js +502 -0
- package/dist-monaco/assets/json.worker-B4dEhy0e.js +58 -0
- package/dist-monaco/assets/ts.worker-CmEKzkmF.js +67734 -0
- package/dist-monaco/monaco.css +1 -0
- package/dist-monaco/monaco.js +1201 -0
- package/package.json +26 -13
- package/dist/EquationComponent-DeDYHvqY.js +0 -62
- package/dist/EquationComponent-DeDYHvqY.js.map +0 -1
- package/dist/MermaidComponent-X__B6qib.js +0 -60
- package/dist/MermaidComponent-X__B6qib.js.map +0 -1
- package/dist/activity-timeline-BynMjXSB.js +0 -283
- package/dist/activity-timeline-BynMjXSB.js.map +0 -1
- package/dist/alert-ubcrW24X.js +0 -33
- package/dist/alert-ubcrW24X.js.map +0 -1
- package/dist/browser-storage-BinyFNJX.js +0 -40
- package/dist/browser-storage-BinyFNJX.js.map +0 -1
- package/dist/components/activity/activity-avatar.d.ts +0 -9
- package/dist/components/activity/activity-comment.d.ts +0 -27
- package/dist/components/activity/activity-composer.d.ts +0 -18
- package/dist/components/activity/activity-event.d.ts +0 -12
- package/dist/components/activity/activity-root.d.ts +0 -15
- package/dist/components/activity/activity-timeline.d.ts +0 -6
- package/dist/components/activity/activity.types.d.ts +0 -5
- package/dist/components/activity/index.d.ts +0 -25
- package/dist/components/chat-ui/components/ai-conversation.d.ts +0 -603
- package/dist/components/chat-ui/components/ai-message.d.ts +0 -91
- package/dist/components/chat-ui/components/ai-response.d.ts +0 -5
- package/dist/components/chat-ui/components/approval-prompt.d.ts +0 -8
- package/dist/components/chat-ui/components/attachment-list.d.ts +0 -23
- package/dist/components/chat-ui/components/auto-scroll.d.ts +0 -37
- package/dist/components/chat-ui/components/chat-history-story.d.ts +0 -14
- package/dist/components/chat-ui/components/chat-input-actions.d.ts +0 -13
- package/dist/components/chat-ui/components/chat-input-attachments.d.ts +0 -12
- package/dist/components/chat-ui/components/chat-input-history.d.ts +0 -6
- package/dist/components/chat-ui/components/chat-input-question-prompt.d.ts +0 -36
- package/dist/components/chat-ui/components/chat-input.d.ts +0 -33
- package/dist/components/chat-ui/components/chat-message-animation.d.ts +0 -22
- package/dist/components/chat-ui/components/chat-message-list-items.d.ts +0 -17
- package/dist/components/chat-ui/components/chat-message-list.d.ts +0 -12
- package/dist/components/chat-ui/components/chat-panel-composer.d.ts +0 -49
- package/dist/components/chat-ui/components/chat-panel-sticky-user-message.d.ts +0 -13
- package/dist/components/chat-ui/components/chat-panel.d.ts +0 -45
- package/dist/components/chat-ui/components/chat-skeleton.d.ts +0 -1
- package/dist/components/chat-ui/components/composer-constants.d.ts +0 -1
- package/dist/components/chat-ui/components/conversation-browse.d.ts +0 -22
- package/dist/components/chat-ui/components/message-action-panel.d.ts +0 -10
- package/dist/components/chat-ui/components/message-parts-renderer.d.ts +0 -13
- package/dist/components/chat-ui/components/message-types.d.ts +0 -116
- package/dist/components/chat-ui/components/model-swap-separator.d.ts +0 -5
- package/dist/components/chat-ui/components/queued-follow-up-list-state.d.ts +0 -4
- package/dist/components/chat-ui/components/queued-follow-up-list.d.ts +0 -11
- package/dist/components/chat-ui/components/send-button.d.ts +0 -7
- package/dist/components/chat-ui/components/timeline-title.d.ts +0 -6
- package/dist/components/chat-ui/components/timeline-tool-blocks.d.ts +0 -14
- package/dist/components/chat-ui/components/timeline.d.ts +0 -113
- package/dist/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -8
- package/dist/components/chat-ui/components/use-chat-input-history.d.ts +0 -16
- package/dist/components/chat-ui/components/working-indicator.d.ts +0 -9
- package/dist/components/chat-ui/components/workspace-hub.d.ts +0 -19
- package/dist/components/chat-ui/index.d.ts +0 -19
- package/dist/components/chat-ui/mocks/library/index.d.ts +0 -10
- package/dist/components/chat-ui/performance/chat-mount-metrics.d.ts +0 -37
- package/dist/components/chat-ui/performance/chat-panel.perf.d.ts +0 -18
- package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -28
- package/dist/components/chat-ui/performance/chat-performance-panel.d.ts +0 -23
- package/dist/components/chat-ui/performance/chat-performance-story-utils.d.ts +0 -30
- package/dist/components/chat-ui/tool-rendering/apply-patch-renderer.d.ts +0 -2
- package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +0 -13
- package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -13
- package/dist/components/chat-ui/tool-rendering/edit-renderer.d.ts +0 -2
- package/dist/components/chat-ui/tool-rendering/index.d.ts +0 -3
- package/dist/components/chat-ui/tool-rendering/question-prompt.d.ts +0 -9
- package/dist/components/chat-ui/tool-rendering/question-renderer.d.ts +0 -10
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +0 -53
- package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +0 -7
- package/dist/components/chat-ui/tool-rendering/todowrite-renderer.d.ts +0 -10
- package/dist/components/chat-ui/tool-rendering/types.d.ts +0 -12
- package/dist/components/chat-ui/utils/diff.d.ts +0 -21
- package/dist/components/chat-ui/utils/editor-state.d.ts +0 -1
- package/dist/components/chat-ui/utils/get-icon.d.ts +0 -36
- package/dist/components/chat-ui/utils/tool-name.d.ts +0 -2
- package/dist/components/command-palette/index.d.ts +0 -4
- package/dist/components/command-palette/palette-filter.d.ts +0 -23
- package/dist/components/command-palette/palette-list.d.ts +0 -11
- package/dist/components/command-palette/palette-shortcut.d.ts +0 -12
- package/dist/components/command-palette/palette.d.ts +0 -48
- package/dist/components/data-table/build-columns.d.ts +0 -16
- package/dist/components/data-table/categorical-color-cell.d.ts +0 -8
- package/dist/components/data-table/color-cell-style.d.ts +0 -13
- package/dist/components/data-table/color-scale-cell.d.ts +0 -7
- package/dist/components/data-table/data-table-column-menu.d.ts +0 -17
- package/dist/components/data-table/data-table-header.d.ts +0 -12
- package/dist/components/data-table/data-table-row-display.d.ts +0 -11
- package/dist/components/data-table/data-table-skeleton.d.ts +0 -13
- package/dist/components/data-table/data-table-stat-chart.d.ts +0 -21
- package/dist/components/data-table/data-table-state.d.ts +0 -27
- package/dist/components/data-table/data-table-stats-row.d.ts +0 -11
- package/dist/components/data-table/data-table-stats.d.ts +0 -19
- package/dist/components/data-table/data-table-table-parts.d.ts +0 -22
- package/dist/components/data-table/data-table.d.ts +0 -2
- package/dist/components/data-table/data-table.story-descriptions.d.ts +0 -6
- package/dist/components/data-table/data-table.story-fixtures.d.ts +0 -6
- package/dist/components/data-table/edit-mode-data-table-body.d.ts +0 -30
- package/dist/components/data-table/edit-mode-data-table-cell.d.ts +0 -16
- package/dist/components/data-table/edit-mode-data-table-editors.d.ts +0 -19
- package/dist/components/data-table/edit-mode-data-table-header.d.ts +0 -24
- package/dist/components/data-table/edit-mode-data-table-selection.d.ts +0 -12
- package/dist/components/data-table/edit-mode-data-table.d.ts +0 -2
- package/dist/components/data-table/edit-mode-story.d.ts +0 -5
- package/dist/components/data-table/friendly-json-display.d.ts +0 -31
- package/dist/components/data-table/helpers.d.ts +0 -10
- package/dist/components/data-table/index.d.ts +0 -7
- package/dist/components/data-table/json-cell.d.ts +0 -6
- package/dist/components/data-table/pagination-footer.d.ts +0 -11
- package/dist/components/data-table/selection-toolbar.d.ts +0 -11
- package/dist/components/data-table/types.d.ts +0 -117
- package/dist/components/diff-viewer/build-changed-files-tree.d.ts +0 -4
- package/dist/components/diff-viewer/code-editor.d.ts +0 -45
- package/dist/components/diff-viewer/diff-bubble.d.ts +0 -14
- package/dist/components/diff-viewer/diff-card-body.d.ts +0 -60
- package/dist/components/diff-viewer/diff-card-content.d.ts +0 -23
- package/dist/components/diff-viewer/diff-card-load-state.d.ts +0 -9
- package/dist/components/diff-viewer/diff-card.d.ts +0 -46
- package/dist/components/diff-viewer/diff-drawer-empty-state.d.ts +0 -1
- package/dist/components/diff-viewer/diff-drawer-height.d.ts +0 -10
- package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -28
- package/dist/components/diff-viewer/diff-drawer.d.ts +0 -29
- package/dist/components/diff-viewer/diff-editor.d.ts +0 -20
- package/dist/components/diff-viewer/diff-size.d.ts +0 -16
- package/dist/components/diff-viewer/diff-view-adapter.d.ts +0 -27
- package/dist/components/diff-viewer/diff-viewer-options-menu.d.ts +0 -16
- package/dist/components/diff-viewer/diff-viewer.d.ts +0 -14
- package/dist/components/diff-viewer/diff-viewer.store.d.ts +0 -21
- package/dist/components/diff-viewer/file-change-badge.d.ts +0 -3
- package/dist/components/diff-viewer/file-list-panel.d.ts +0 -18
- package/dist/components/diff-viewer/index.d.ts +0 -9
- package/dist/components/diff-viewer/monaco-browser.d.ts +0 -1
- package/dist/components/diff-viewer/types.d.ts +0 -13
- package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +0 -23
- package/dist/components/file-browser/column-file-browser.d.ts +0 -20
- package/dist/components/internal/performance-panel.d.ts +0 -40
- package/dist/components/internal/style-guide.d.ts +0 -14
- package/dist/components/internal/token-editor-controls.d.ts +0 -8
- package/dist/components/internal/token-editor-data.d.ts +0 -40
- package/dist/components/internal/token-editor-state.d.ts +0 -22
- package/dist/components/kanban-renderer/collection-badge.d.ts +0 -7
- package/dist/components/kanban-renderer/display-menu.d.ts +0 -16
- package/dist/components/kanban-renderer/filter-menu.d.ts +0 -12
- package/dist/components/kanban-renderer/index.d.ts +0 -19
- package/dist/components/kanban-renderer/kanban-renderer-attribute-badge.d.ts +0 -7
- package/dist/components/kanban-renderer/kanban-renderer-badge-helpers.d.ts +0 -46
- package/dist/components/kanban-renderer/kanban-renderer-board-column-header.d.ts +0 -8
- package/dist/components/kanban-renderer/kanban-renderer-board-group-section.d.ts +0 -17
- package/dist/components/kanban-renderer/kanban-renderer-board-move.d.ts +0 -21
- package/dist/components/kanban-renderer/kanban-renderer-board.d.ts +0 -49
- package/dist/components/kanban-renderer/kanban-renderer-card.d.ts +0 -17
- package/dist/components/kanban-renderer/kanban-renderer-content.d.ts +0 -27
- package/dist/components/kanban-renderer/kanban-renderer-create-dialog.d.ts +0 -12
- package/dist/components/kanban-renderer/kanban-renderer-create-field.d.ts +0 -10
- package/dist/components/kanban-renderer/kanban-renderer-enum-helpers.d.ts +0 -10
- package/dist/components/kanban-renderer/kanban-renderer-grouping.d.ts +0 -23
- package/dist/components/kanban-renderer/kanban-renderer-helpers.d.ts +0 -58
- package/dist/components/kanban-renderer/kanban-renderer-list-items.d.ts +0 -25
- package/dist/components/kanban-renderer/kanban-renderer-list.d.ts +0 -43
- package/dist/components/kanban-renderer/kanban-renderer-story-fixtures.d.ts +0 -14
- package/dist/components/kanban-renderer/kanban-renderer-toolbar.d.ts +0 -15
- package/dist/components/kanban-renderer/kanban-renderer-view-bar.d.ts +0 -14
- package/dist/components/kanban-renderer/kanban-renderer-views.d.ts +0 -12
- package/dist/components/kanban-renderer/kanban-renderer.d.ts +0 -43
- package/dist/components/kanban-renderer/types.d.ts +0 -159
- package/dist/components/kanban-renderer/use-kanban-renderer-store.d.ts +0 -78
- package/dist/components/kanban-renderer/use-resolved-attributes.d.ts +0 -14
- package/dist/components/layout/header.d.ts +0 -7
- package/dist/components/layout/horizontal-menu-stack.d.ts +0 -6
- package/dist/components/layout/index.d.ts +0 -8
- package/dist/components/layout/item-section.d.ts +0 -11
- package/dist/components/layout/panel-header.constants.d.ts +0 -3
- package/dist/components/layout/resizable-split-layout.d.ts +0 -22
- package/dist/components/layout/resizable-split-layout.geometry.d.ts +0 -56
- package/dist/components/layout/resizable-split-layout.handle.d.ts +0 -25
- package/dist/components/layout/resizable-split-layout.panels.d.ts +0 -29
- package/dist/components/layout/resizable-split-layout.root-size.d.ts +0 -3
- package/dist/components/list-row/list-row-actions.d.ts +0 -11
- package/dist/components/list-row/list-row-chrome.d.ts +0 -11
- package/dist/components/list-row/list-row-content.d.ts +0 -17
- package/dist/components/list-row/list-row-menu.d.ts +0 -12
- package/dist/components/list-row/list-row-root-props.d.ts +0 -34
- package/dist/components/list-row/list-row.d.ts +0 -2
- package/dist/components/list-row/list-row.types.d.ts +0 -109
- package/dist/components/list-row/searchable-action-menu.d.ts +0 -6
- package/dist/components/mermaid-renderer/download-png.d.ts +0 -7
- package/dist/components/mermaid-renderer/index.d.ts +0 -2
- package/dist/components/mermaid-renderer/mermaid-error-state.d.ts +0 -6
- package/dist/components/mermaid-renderer/mermaid-fixtures.d.ts +0 -9
- package/dist/components/mermaid-renderer/mermaid-fullscreen.d.ts +0 -10
- package/dist/components/mermaid-renderer/mermaid-renderer.d.ts +0 -8
- package/dist/components/mermaid-renderer/mermaid-svg-view.d.ts +0 -12
- package/dist/components/mermaid-renderer/mermaid-toolbar.d.ts +0 -12
- package/dist/components/mermaid-renderer/mermaid-zoom.d.ts +0 -6
- package/dist/components/mermaid-renderer/svg-data-url.d.ts +0 -6
- package/dist/components/mermaid-renderer/use-mermaid-render.d.ts +0 -5
- package/dist/components/notification-center/index.d.ts +0 -2
- package/dist/components/notification-center/notification-center.d.ts +0 -2
- package/dist/components/notification-center/notification-center.types.d.ts +0 -37
- package/dist/components/overlays/attached-menu.d.ts +0 -6
- package/dist/components/overlays/attached-panel.d.ts +0 -9
- package/dist/components/overlays/attachment-chip.d.ts +0 -13
- package/dist/components/overlays/bubble-button.d.ts +0 -10
- package/dist/components/overlays/bubble-panel.d.ts +0 -18
- package/dist/components/overlays/delete-confirmation-modal.d.ts +0 -13
- package/dist/components/overlays/dialog-accept-shortcut.d.ts +0 -12
- package/dist/components/overlays/index.d.ts +0 -17
- package/dist/components/overlays/repo-picker-dialog.d.ts +0 -25
- package/dist/components/overlays/resource-context-menu.d.ts +0 -35
- package/dist/components/overlays/search-modal-content.d.ts +0 -20
- package/dist/components/overlays/searchable-menu-input.d.ts +0 -9
- package/dist/components/overlays/searchable-menu.d.ts +0 -65
- package/dist/components/param-editor/index.d.ts +0 -31
- package/dist/components/param-editor/inputs/action-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +0 -12
- package/dist/components/param-editor/inputs/anchor-grid.d.ts +0 -4
- package/dist/components/param-editor/inputs/boolean-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/color-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/date-input.d.ts +0 -16
- package/dist/components/param-editor/inputs/file-upload-input.d.ts +0 -15
- package/dist/components/param-editor/inputs/file-upload-value.d.ts +0 -7
- package/dist/components/param-editor/inputs/horizontal-text-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/markdown-input.d.ts +0 -13
- package/dist/components/param-editor/inputs/number-input.d.ts +0 -18
- package/dist/components/param-editor/inputs/numeric-value.d.ts +0 -6
- package/dist/components/param-editor/inputs/range-input.d.ts +0 -18
- package/dist/components/param-editor/inputs/range-value.d.ts +0 -5
- package/dist/components/param-editor/inputs/resource-input-chips.d.ts +0 -15
- package/dist/components/param-editor/inputs/resource-input.d.ts +0 -20
- package/dist/components/param-editor/inputs/segmented-input.d.ts +0 -15
- package/dist/components/param-editor/inputs/selection-input.d.ts +0 -27
- package/dist/components/param-editor/inputs/selection-menu.d.ts +0 -39
- package/dist/components/param-editor/inputs/slider-marks.d.ts +0 -5
- package/dist/components/param-editor/inputs/text-input.d.ts +0 -14
- package/dist/components/param-editor/inputs/vector-input.d.ts +0 -17
- package/dist/components/param-editor/inputs/vector-value.d.ts +0 -7
- package/dist/components/param-editor/param-editor-advanced-field.d.ts +0 -14
- package/dist/components/param-editor/param-editor-control-fixtures.d.ts +0 -24
- package/dist/components/param-editor/param-editor-control-item.d.ts +0 -15
- package/dist/components/param-editor/param-editor-control-list.d.ts +0 -5
- package/dist/components/param-editor/param-editor-field-label.d.ts +0 -1
- package/dist/components/param-editor/param-editor-field.d.ts +0 -13
- package/dist/components/param-editor/param-editor-horizontal.d.ts +0 -11
- package/dist/components/param-editor/param-editor-inline-group.d.ts +0 -5
- package/dist/components/param-editor/param-editor-label.d.ts +0 -7
- package/dist/components/param-editor/param-editor-presentation.d.ts +0 -3
- package/dist/components/param-editor/param-editor-read-only-field.d.ts +0 -9
- package/dist/components/param-editor/param-editor-read-only-value.d.ts +0 -8
- package/dist/components/param-editor/param-editor-row.d.ts +0 -17
- package/dist/components/param-editor/param-editor-section.d.ts +0 -17
- package/dist/components/param-editor/param-editor.d.ts +0 -12
- package/dist/components/param-editor/param-editor.types.d.ts +0 -31
- package/dist/components/param-editor/resolve-param-value.d.ts +0 -2
- package/dist/components/primitives/alert.d.ts +0 -9
- package/dist/components/primitives/breadcrumb.d.ts +0 -20
- package/dist/components/primitives/checkbox.d.ts +0 -8
- package/dist/components/primitives/chip.d.ts +0 -4
- package/dist/components/primitives/content-placeholder.d.ts +0 -6
- package/dist/components/primitives/empty-state.d.ts +0 -12
- package/dist/components/primitives/error-boundary.d.ts +0 -26
- package/dist/components/primitives/glyph-icon.d.ts +0 -16
- package/dist/components/primitives/icon-color-picker.d.ts +0 -15
- package/dist/components/primitives/icon-options.d.ts +0 -301
- package/dist/components/primitives/index.d.ts +0 -39
- package/dist/components/primitives/info-card.d.ts +0 -12
- package/dist/components/primitives/integration-card.d.ts +0 -12
- package/dist/components/primitives/number-input.d.ts +0 -6
- package/dist/components/primitives/radio.d.ts +0 -8
- package/dist/components/primitives/resource-badge.d.ts +0 -64
- package/dist/components/primitives/scroll-area.d.ts +0 -17
- package/dist/components/primitives/segmented-control.d.ts +0 -20
- package/dist/components/primitives/session-indicator.d.ts +0 -15
- package/dist/components/primitives/simple-card.d.ts +0 -5
- package/dist/components/primitives/slider.d.ts +0 -5
- package/dist/components/primitives/switch.d.ts +0 -15
- package/dist/components/primitives/tag-swatch.d.ts +0 -10
- package/dist/components/primitives/toaster.d.ts +0 -3
- package/dist/components/primitives/tooltip.d.ts +0 -11
- package/dist/components/primitives/workspace-badge.d.ts +0 -23
- package/dist/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -5
- package/dist/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +0 -9
- package/dist/components/rich-text/index.d.ts +0 -19
- package/dist/components/rich-text/lazy-markdown-editor.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/markdown-editor-scrolling.play.d.ts +0 -4
- package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +0 -17
- package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +0 -3
- package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +0 -8
- package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +0 -1
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
- package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +0 -1
- package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +0 -20
- package/dist/components/rich-text/prompt-input/commands.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/events.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -1
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -3
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -1
- package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -16
- package/dist/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -6
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -12
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -11
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -12
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -14
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -9
- package/dist/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -2
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -25
- package/dist/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -11
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +0 -27
- package/dist/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -3
- package/dist/components/rich-text/prompt-input/utils.d.ts +0 -22
- package/dist/components/rich-text/resource-activity-feed/resource-activity-feed.d.ts +0 -58
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -21
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -2
- package/dist/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -2
- package/dist/components/rich-text/rich-message/rich-message.d.ts +0 -10
- package/dist/components/rich-text/shared/components/content-editable.d.ts +0 -9
- package/dist/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -3
- package/dist/components/rich-text/shared/editor-config.d.ts +0 -5
- package/dist/components/rich-text/shared/lexical-code.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-ast.d.ts +0 -7
- package/dist/components/rich-text/shared/markdown-codec.d.ts +0 -3
- package/dist/components/rich-text/shared/markdown-export.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-import.d.ts +0 -2
- package/dist/components/rich-text/shared/markdown-inline.d.ts +0 -5
- package/dist/components/rich-text/shared/markdown-source-document.d.ts +0 -7
- package/dist/components/rich-text/shared/markdown-source-links.d.ts +0 -11
- package/dist/components/rich-text/shared/markdown-source-map.d.ts +0 -10
- package/dist/components/rich-text/shared/markdown-table.d.ts +0 -41
- package/dist/components/rich-text/shared/markdown-url-context.d.ts +0 -9
- package/dist/components/rich-text/shared/markdown-url.d.ts +0 -3
- package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -24
- package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +0 -35
- package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +0 -18
- package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +0 -31
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockActionsPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeHighlightingPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -26
- package/dist/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +0 -18
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +0 -17
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +0 -12
- package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -13
- package/dist/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -4
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/commands.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/index.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/link-editor-content.d.ts +0 -18
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/link-edit-state.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/selection-link-url.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -1
- package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -2
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidComponent.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -23
- package/dist/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -6
- package/dist/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -3
- package/dist/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -1
- package/dist/components/rich-text/shared/prism-global.d.ts +0 -2
- package/dist/components/rich-text/shared/transformers/markdown-transformers-test-utils.d.ts +0 -3
- package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -16
- package/dist/components/rich-text/shared/types/rich-text-components.d.ts +0 -15
- package/dist/components/rich-text/theme/rich-text-theme.d.ts +0 -3
- package/dist/components/rich-text/types.d.ts +0 -8
- package/dist/components/rich-text/utils/inferResourceType.d.ts +0 -1
- package/dist/components/rich-text/utils/markdown.d.ts +0 -5
- package/dist/components/rich-text/utils/mediaType.d.ts +0 -1
- package/dist/components/sidenav/sidenav-footer.d.ts +0 -6
- package/dist/components/sidenav/sidenav-header.d.ts +0 -6
- package/dist/components/sidenav/sidenav.d.ts +0 -2
- package/dist/components/sidenav/sidenav.store.d.ts +0 -49
- package/dist/components/sidenav/sidenav.types.d.ts +0 -31
- package/dist/components/tab-strip/tab-visibility-filter.d.ts +0 -22
- package/dist/components/tab-strip/tab-visibility.store.d.ts +0 -41
- package/dist/components/tab-strip/window-tabs.d.ts +0 -15
- package/dist/components/tab-strip/window-title-bar.d.ts +0 -6
- package/dist/components/tag-editor/index.d.ts +0 -8
- package/dist/components/tag-editor/tag-editor-heading.d.ts +0 -11
- package/dist/components/tag-editor/tag-editor-row.d.ts +0 -20
- package/dist/components/tag-editor/tag-editor-save-bar.d.ts +0 -13
- package/dist/components/tag-editor/tag-editor.d.ts +0 -2
- package/dist/components/tag-editor/tag-editor.types.d.ts +0 -57
- package/dist/components/tag-editor/tag-settings-panel.d.ts +0 -30
- package/dist/components/terminal/bind-session.d.ts +0 -33
- package/dist/components/terminal/index.d.ts +0 -6
- package/dist/components/terminal/scripted-bridge.d.ts +0 -35
- package/dist/components/terminal/terminal-contract.d.ts +0 -22
- package/dist/components/terminal/terminal-theme.d.ts +0 -12
- package/dist/components/terminal/terminal.d.ts +0 -56
- package/dist/components/terminal/types.d.ts +0 -35
- package/dist/components/terminal/use-terminal-session.d.ts +0 -21
- package/dist/components/tree-list/tree-list-background.d.ts +0 -8
- package/dist/components/tree-list/tree-list-drag-provider.d.ts +0 -13
- package/dist/components/tree-list/tree-list-drag.d.ts +0 -7
- package/dist/components/tree-list/tree-list-inline-creation-story.d.ts +0 -3
- package/dist/components/tree-list/tree-list-inline-input.d.ts +0 -9
- package/dist/components/tree-list/tree-list-model.d.ts +0 -58
- package/dist/components/tree-list/tree-list-move-surface.d.ts +0 -7
- package/dist/components/tree-list/tree-list-node-row.d.ts +0 -21
- package/dist/components/tree-list/tree-list-order-filter.d.ts +0 -2
- package/dist/components/tree-list/tree-list-order.store.d.ts +0 -45
- package/dist/components/tree-list/tree-list-reorder.d.ts +0 -24
- package/dist/components/tree-list/tree-list-section-header.d.ts +0 -14
- package/dist/components/tree-list/tree-list-sortable.d.ts +0 -24
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +0 -24
- package/dist/components/tree-list/tree-list-visibility.store.d.ts +0 -45
- package/dist/components/tree-list/tree-list.d.ts +0 -41
- package/dist/components/tree-list/tree-list.types.d.ts +0 -63
- package/dist/components/tree-list/use-tree-list-keyboard-navigation.d.ts +0 -15
- package/dist/diff-bubble-DvUPRnfB.js +0 -183
- package/dist/diff-bubble-DvUPRnfB.js.map +0 -1
- package/dist/edit-mode-data-table-Nfmfi7bz.js +0 -847
- package/dist/edit-mode-data-table-Nfmfi7bz.js.map +0 -1
- package/dist/empty-state-Bo4HVrgr.js +0 -34
- package/dist/empty-state-Bo4HVrgr.js.map +0 -1
- package/dist/foundations/gallery/gallery-frame.d.ts +0 -21
- package/dist/foundations/gallery/sections/badges-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/buttons-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/composite-chat-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/composites-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/feedback-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/input-authoring-card.d.ts +0 -1
- package/dist/foundations/gallery/sections/inputs-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/layout-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/overlays-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/panels-section.d.ts +0 -1
- package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +0 -1
- package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +0 -1
- package/dist/kanban-renderer-toolbar-Buek4icz.js +0 -1375
- package/dist/kanban-renderer-toolbar-Buek4icz.js.map +0 -1
- package/dist/lazy-markdown-editor-PzIBc9-l.js +0 -42
- package/dist/lazy-markdown-editor-PzIBc9-l.js.map +0 -1
- package/dist/list-row-DHzRa9-O.js +0 -815
- package/dist/list-row-DHzRa9-O.js.map +0 -1
- package/dist/markdown-BCfPxNpb.js +0 -1663
- package/dist/markdown-BCfPxNpb.js.map +0 -1
- package/dist/markdown-editor-CsJ4KNGu.js +0 -1034
- package/dist/markdown-editor-CsJ4KNGu.js.map +0 -1
- package/dist/mermaid-renderer-D0YP0FmJ.js +0 -425
- package/dist/mermaid-renderer-D0YP0FmJ.js.map +0 -1
- package/dist/mermaid.js.map +0 -1
- package/dist/monaco-browser-l82HnffN.js +0 -22
- package/dist/monaco-browser-l82HnffN.js.map +0 -1
- package/dist/param-editor-CFM2Nf3l.js +0 -161
- package/dist/param-editor-CFM2Nf3l.js.map +0 -1
- package/dist/param-editor-field-Bj-AGUY6.js +0 -1728
- package/dist/param-editor-field-Bj-AGUY6.js.map +0 -1
- package/dist/param-editor.js.map +0 -1
- package/dist/prism-n5gcERyD.js +0 -202
- package/dist/prism-n5gcERyD.js.map +0 -1
- package/dist/radio-BfjibByI.js +0 -51
- package/dist/radio-BfjibByI.js.map +0 -1
- package/dist/rich-message-q6Y6QJOq.js +0 -633
- package/dist/rich-message-q6Y6QJOq.js.map +0 -1
- package/dist/rich-text.js.map +0 -1
- package/dist/scroll-area-BMbg1WcD.js +0 -91
- package/dist/scroll-area-BMbg1WcD.js.map +0 -1
- package/dist/slider-DBHjdxsU.js +0 -1092
- package/dist/slider-DBHjdxsU.js.map +0 -1
- package/dist/test-utils/local-storage.d.ts +0 -1
- package/dist/theme/custom/index.d.ts +0 -2
- package/dist/theme/custom/vscode-theme.d.ts +0 -32
- package/dist/theme/global.d.ts +0 -62
- package/dist/theme/index.d.ts +0 -3
- package/dist/theme/primitives/colors.d.ts +0 -1081
- package/dist/theme/primitives/fonts.d.ts +0 -84
- package/dist/theme/primitives/sizes.d.ts +0 -207
- package/dist/theme/recipes/activity-comment.d.ts +0 -36
- package/dist/theme/recipes/alert.d.ts +0 -1
- package/dist/theme/recipes/badge.d.ts +0 -58
- package/dist/theme/recipes/button.d.ts +0 -188
- package/dist/theme/recipes/color-picker.d.ts +0 -18
- package/dist/theme/recipes/dialog.d.ts +0 -1
- package/dist/theme/recipes/divider.d.ts +0 -1
- package/dist/theme/recipes/drawer.d.ts +0 -1
- package/dist/theme/recipes/editable.d.ts +0 -46
- package/dist/theme/recipes/form.d.ts +0 -1
- package/dist/theme/recipes/input.d.ts +0 -94
- package/dist/theme/recipes/kbd.d.ts +0 -41
- package/dist/theme/recipes/menu.d.ts +0 -1
- package/dist/theme/recipes/number-input.d.ts +0 -98
- package/dist/theme/recipes/popover.d.ts +0 -16
- package/dist/theme/recipes/progress-circle.d.ts +0 -28
- package/dist/theme/recipes/resizable-split-layout.d.ts +0 -106
- package/dist/theme/recipes/segmented-control.d.ts +0 -22
- package/dist/theme/recipes/skeleton.d.ts +0 -1
- package/dist/theme/recipes/switch.d.ts +0 -18
- package/dist/theme/recipes/tabs.d.ts +0 -80
- package/dist/theme/recipes/textarea.d.ts +0 -62
- package/dist/theme/recipes/timeline.d.ts +0 -83
- package/dist/theme/recipes/tooltip.d.ts +0 -1
- package/dist/theme/recipes/window-title-bar.d.ts +0 -19
- package/dist/theme/shadowless-default-config.d.ts +0 -2
- package/dist/theme/theme.d.ts +0 -2
- package/dist/theme/tokens/borders.d.ts +0 -17
- package/dist/theme/tokens/colors-background.d.ts +0 -260
- package/dist/theme/tokens/colors-visualization.d.ts +0 -162
- package/dist/theme/tokens/colors.d.ts +0 -878
- package/dist/theme/tokens/layer-styles.d.ts +0 -1
- package/dist/theme/tokens/text.d.ts +0 -1
- package/dist/theme-AzJH4Om3.js +0 -3999
- package/dist/theme-AzJH4Om3.js.map +0 -1
- package/dist/theme-preference-DxGW1qg-.js +0 -114
- package/dist/theme-preference-DxGW1qg-.js.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/tree-list-CPjbGTvs.js +0 -1348
- package/dist/tree-list-CPjbGTvs.js.map +0 -1
- package/dist/utils/apply-file-icon-theme-preference.d.ts +0 -35
- package/dist/utils/apply-theme-preference.d.ts +0 -22
- package/dist/utils/browser-storage.d.ts +0 -7
- package/dist/utils/file-icon-theme-preference.d.ts +0 -15
- package/dist/utils/get-file-type-icon.d.ts +0 -2
- package/dist/utils/prism.d.ts +0 -1
- package/dist/utils/resolve-file-icon-element.d.ts +0 -8
- package/dist/utils/theme-preference.d.ts +0 -20
- package/dist/workspace-badge-CuOcmnZc.js +0 -175
- package/dist/workspace-badge-CuOcmnZc.js.map +0 -1
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { HTMLChakraProps, RecipeVariantProps } from '@chakra-ui/react';
|
|
2
|
-
declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root", {
|
|
3
|
-
from: {
|
|
4
|
-
user: {
|
|
5
|
-
root: {
|
|
6
|
-
mb: "md";
|
|
7
|
-
flexDirection: "row";
|
|
8
|
-
};
|
|
9
|
-
content: {
|
|
10
|
-
borderTopWidth: "1px";
|
|
11
|
-
borderRightWidth: "1px";
|
|
12
|
-
borderBottomWidth: "1px";
|
|
13
|
-
borderLeftWidth: "1px";
|
|
14
|
-
borderColor: "border.subtle";
|
|
15
|
-
bg: "bg.subtle";
|
|
16
|
-
px: "xs";
|
|
17
|
-
py: "xs";
|
|
18
|
-
width: "full";
|
|
19
|
-
borderRadius: "0";
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
assistant: {
|
|
23
|
-
root: {
|
|
24
|
-
mb: "md";
|
|
25
|
-
flexDirection: "row";
|
|
26
|
-
justifyContent: "start";
|
|
27
|
-
};
|
|
28
|
-
content: {
|
|
29
|
-
width: "full";
|
|
30
|
-
px: "xs";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
developer: {
|
|
34
|
-
root: {
|
|
35
|
-
width: "full";
|
|
36
|
-
flexDirection: "row-reverse";
|
|
37
|
-
};
|
|
38
|
-
content: {
|
|
39
|
-
width: "full";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
size: {
|
|
44
|
-
sm: {
|
|
45
|
-
root: {
|
|
46
|
-
gap: "xs";
|
|
47
|
-
};
|
|
48
|
-
content: {
|
|
49
|
-
textStyle: "xs";
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
md: {};
|
|
53
|
-
lg: {
|
|
54
|
-
root: {
|
|
55
|
-
gap: "md";
|
|
56
|
-
};
|
|
57
|
-
content: {
|
|
58
|
-
textStyle: "md";
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
shape: {
|
|
63
|
-
rounded: {
|
|
64
|
-
content: {
|
|
65
|
-
rounded: "0";
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
pill: {
|
|
69
|
-
content: {
|
|
70
|
-
rounded: "0";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
square: {
|
|
74
|
-
content: {
|
|
75
|
-
rounded: "0";
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
}>;
|
|
80
|
-
type VariantProps = RecipeVariantProps<typeof recipe>;
|
|
81
|
-
export interface MessageRootProps extends HTMLChakraProps<"div">, VariantProps {
|
|
82
|
-
}
|
|
83
|
-
export declare const MessageRoot: import('react').ForwardRefExoticComponent<MessageRootProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
84
|
-
export interface MessageContentProps extends HTMLChakraProps<"div">, VariantProps {
|
|
85
|
-
}
|
|
86
|
-
export declare const MessageContent: import('react').ForwardRefExoticComponent<MessageContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
87
|
-
export declare const ChatMessage: {
|
|
88
|
-
readonly Root: import('react').ForwardRefExoticComponent<MessageRootProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
89
|
-
readonly Content: import('react').ForwardRefExoticComponent<MessageContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
90
|
-
};
|
|
91
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ResourceBadgeProps } from '../../primitives/resource-badge';
|
|
3
|
-
export type AttachmentListRenderBadge = (props: AttachmentListItemRenderProps) => ReactNode;
|
|
4
|
-
export interface AttachmentListItemRenderProps {
|
|
5
|
-
attachmentId: string;
|
|
6
|
-
onSelect?: () => void;
|
|
7
|
-
onRemove?: () => void;
|
|
8
|
-
size: ResourceBadgeProps["size"];
|
|
9
|
-
tone: ResourceBadgeProps["tone"];
|
|
10
|
-
}
|
|
11
|
-
export interface AttachmentListProps {
|
|
12
|
-
attachments?: string[];
|
|
13
|
-
onSelect?: (attachmentId: string) => void;
|
|
14
|
-
onRemove?: (attachmentId: string) => void;
|
|
15
|
-
renderBadge?: AttachmentListRenderBadge;
|
|
16
|
-
size?: ResourceBadgeProps["size"];
|
|
17
|
-
tone?: ResourceBadgeProps["tone"];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Simple attachment list component that displays resource badges.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export declare const AttachmentList: (props: AttachmentListProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export interface AutoScrollProps {
|
|
2
|
-
userMessageCount: number;
|
|
3
|
-
conversationKey?: string | null;
|
|
4
|
-
}
|
|
5
|
-
interface ShouldAutoScrollArgs {
|
|
6
|
-
previousUserMessageCount: number;
|
|
7
|
-
userMessageCount: number;
|
|
8
|
-
}
|
|
9
|
-
export interface AutoScrollState {
|
|
10
|
-
conversationKey: string | null;
|
|
11
|
-
userMessageCount: number;
|
|
12
|
-
}
|
|
13
|
-
interface NextAutoScrollStateArgs {
|
|
14
|
-
state: AutoScrollState;
|
|
15
|
-
conversationKey?: string | null;
|
|
16
|
-
userMessageCount: number;
|
|
17
|
-
}
|
|
18
|
-
interface ScrollForNextAutoScrollStateArgs extends NextAutoScrollStateArgs {
|
|
19
|
-
scrollToBottom: (animation?: "instant") => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const shouldAutoScroll: (args: ShouldAutoScrollArgs) => boolean;
|
|
22
|
-
export declare const getNextAutoScrollState: (args: NextAutoScrollStateArgs) => {
|
|
23
|
-
shouldScroll: boolean;
|
|
24
|
-
state: {
|
|
25
|
-
conversationKey: string | null;
|
|
26
|
-
userMessageCount: number;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const scrollForNextAutoScrollState: (args: ScrollForNextAutoScrollStateArgs) => {
|
|
30
|
-
shouldScroll: boolean;
|
|
31
|
-
state: {
|
|
32
|
-
conversationKey: string | null;
|
|
33
|
-
userMessageCount: number;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export declare function AutoScroll(props: AutoScrollProps): null;
|
|
37
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const PromptHistoryPanel: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export declare const walkThreePrompts: ({ canvasElement }: {
|
|
3
|
-
canvasElement: HTMLElement;
|
|
4
|
-
}) => Promise<void>;
|
|
5
|
-
export declare const walkTenPrompts: ({ canvasElement }: {
|
|
6
|
-
canvasElement: HTMLElement;
|
|
7
|
-
}) => Promise<void>;
|
|
8
|
-
export declare const keepDraft: ({ canvasElement }: {
|
|
9
|
-
canvasElement: HTMLElement;
|
|
10
|
-
}) => Promise<void>;
|
|
11
|
-
export declare const PromptHistoryResetPanel: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const resetHistoryWalk: ({ canvasElement }: {
|
|
13
|
-
canvasElement: HTMLElement;
|
|
14
|
-
}) => Promise<void>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface ChatInputActionState {
|
|
2
|
-
canInterrupt: boolean;
|
|
3
|
-
/** False while the runtime cannot accept a message, for example without a model. */
|
|
4
|
-
canSubmit: boolean;
|
|
5
|
-
hasQuestionPrompt: boolean;
|
|
6
|
-
isDisabled: boolean;
|
|
7
|
-
streaming: boolean;
|
|
8
|
-
text: string;
|
|
9
|
-
}
|
|
10
|
-
export type ChatInputAction = "interrupt" | "none" | "submit";
|
|
11
|
-
export declare const resolveChatInputKeyboardAction: (state: ChatInputActionState) => ChatInputAction;
|
|
12
|
-
export declare const resolveChatInputButtonAction: (state: ChatInputActionState) => ChatInputAction;
|
|
13
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClipboardEvent, DragEvent } from 'react';
|
|
2
|
-
export declare const DEFAULT_TEXT_ATTACHMENT_PASTE_LINE_THRESHOLD = 200;
|
|
3
|
-
export declare const shouldAttachPastedText: (text: string, lineThreshold?: number) => boolean;
|
|
4
|
-
export declare const createAttachmentEventHandlers: (input: {
|
|
5
|
-
onAttachFiles?: (files: File[]) => void;
|
|
6
|
-
onAttachText?: (text: string) => void;
|
|
7
|
-
textAttachmentPasteLineThreshold: number;
|
|
8
|
-
}) => {
|
|
9
|
-
onDragOver: (event: DragEvent<HTMLDivElement>) => void;
|
|
10
|
-
onDropCapture: (event: DragEvent<HTMLDivElement>) => void;
|
|
11
|
-
onPasteCapture: (event: ClipboardEvent<HTMLDivElement>) => void;
|
|
12
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SessionMessage } from './message-types';
|
|
2
|
-
export declare const MAX_RECENT_USER_PROMPTS = 10;
|
|
3
|
-
export declare const getRecentUserPrompts: (messages: SessionMessage[]) => string[];
|
|
4
|
-
export declare const movePromptHistory: (index: number | null, direction: "previous" | "next", text: string, count: number) => {
|
|
5
|
-
index: number | null;
|
|
6
|
-
} | null;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface ChatInputQuestionOption {
|
|
2
|
-
label: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
}
|
|
5
|
-
export interface ChatInputQuestion {
|
|
6
|
-
id?: string;
|
|
7
|
-
question: string;
|
|
8
|
-
options: ChatInputQuestionOption[];
|
|
9
|
-
multiple?: boolean;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
allowCustomAnswer?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface ChatInputQuestionPrompt {
|
|
14
|
-
questions: ChatInputQuestion[];
|
|
15
|
-
}
|
|
16
|
-
export interface ChatInputQuestionResponse {
|
|
17
|
-
answers: string[][];
|
|
18
|
-
}
|
|
19
|
-
export type ChatInputQuestionCustomAnswers = Record<string, string>;
|
|
20
|
-
interface QuestionPromptControlsProps {
|
|
21
|
-
questionPrompt: ChatInputQuestionPrompt;
|
|
22
|
-
selectedOptionsByQuestion: Record<string, string[]>;
|
|
23
|
-
customAnswersByQuestion: ChatInputQuestionCustomAnswers;
|
|
24
|
-
onToggleOption: (question: ChatInputQuestion, questionIndex: number, optionLabel: string) => void;
|
|
25
|
-
onCustomAnswerChange: (question: ChatInputQuestion, questionIndex: number, answer: string) => void;
|
|
26
|
-
}
|
|
27
|
-
export declare const getQuestionSelectionKey: (question: ChatInputQuestion, index: number) => string;
|
|
28
|
-
export declare const toggleQuestionOptionSelection: (selectedOptionsByQuestion: Record<string, string[]>, question: ChatInputQuestion, questionIndex: number, optionLabel: string) => {
|
|
29
|
-
[x: string]: string[];
|
|
30
|
-
};
|
|
31
|
-
export declare const getQuestionPromptSignature: (questionPrompt: ChatInputQuestionPrompt | undefined) => string;
|
|
32
|
-
export declare const buildQuestionResponse: (questionPrompt: ChatInputQuestionPrompt | undefined, selectedOptionsByQuestion: Record<string, string[]>, answerInput: ChatInputQuestionCustomAnswers | string) => string;
|
|
33
|
-
export declare const buildQuestionAnswerValues: (questionPrompt: ChatInputQuestionPrompt, selectedOptionsByQuestion: Record<string, string[]>, answerInput: ChatInputQuestionCustomAnswers | string) => string[][];
|
|
34
|
-
export declare const hasMissingRequiredQuestionAnswer: (questionPrompt: ChatInputQuestionPrompt | undefined, selectedOptionsByQuestion: Record<string, string[]>, answerInput: ChatInputQuestionCustomAnswers | string) => boolean;
|
|
35
|
-
export declare const QuestionPromptControls: (props: QuestionPromptControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ReferenceItem } from '../../rich-text';
|
|
3
|
-
import { ChatInputQuestionPrompt, ChatInputQuestionResponse } from './chat-input-question-prompt';
|
|
4
|
-
export interface ChatInputProps {
|
|
5
|
-
defaultState: string;
|
|
6
|
-
/** Plain-text prompts from the active conversation, newest first. */
|
|
7
|
-
recentUserMessages?: string[];
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
onSubmit?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void | Promise<void>;
|
|
10
|
-
onInterrupt?: () => void;
|
|
11
|
-
onAttachFiles?: (files: File[]) => void;
|
|
12
|
-
onAttachText?: (text: string) => void;
|
|
13
|
-
textAttachmentPasteLineThreshold?: number;
|
|
14
|
-
streaming?: boolean;
|
|
15
|
-
attachedResources?: string[];
|
|
16
|
-
onClearAttachments?: () => void;
|
|
17
|
-
isDisabled?: boolean;
|
|
18
|
-
/** Keeps the editor usable but blocks sending, for example while no model is selected. */
|
|
19
|
-
submitDisabled?: boolean;
|
|
20
|
-
onChange?: (text: string) => void;
|
|
21
|
-
attachmentList?: ReactNode;
|
|
22
|
-
actions?: ReactNode;
|
|
23
|
-
attachedToTop?: boolean;
|
|
24
|
-
/** Recede the resting border to border.subtle when nested inside a stronger shell (the workspace hub). */
|
|
25
|
-
recessed?: boolean;
|
|
26
|
-
questionPrompt?: ChatInputQuestionPrompt;
|
|
27
|
-
autoFocus?: boolean;
|
|
28
|
-
focusSignal?: number;
|
|
29
|
-
submitTitle?: string;
|
|
30
|
-
references?: ReferenceItem[];
|
|
31
|
-
onAddReference?: (resourceId: string, resourceType: ReferenceItem["resourceType"]) => void;
|
|
32
|
-
}
|
|
33
|
-
export declare const ChatInput: (props: ChatInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface MessageAnimationState {
|
|
2
|
-
initialized: boolean;
|
|
3
|
-
seenKeys: Set<string>;
|
|
4
|
-
}
|
|
5
|
-
interface NextMessageAnimationStateArgs {
|
|
6
|
-
itemKeys: string[];
|
|
7
|
-
state: MessageAnimationState;
|
|
8
|
-
}
|
|
9
|
-
export declare const messageFadeInProps: {
|
|
10
|
-
readonly animationName: "message-fade-in";
|
|
11
|
-
readonly animationDuration: "200ms";
|
|
12
|
-
readonly animationTimingFunction: "ease-out";
|
|
13
|
-
};
|
|
14
|
-
export declare const getNextMessageAnimationState: (args: NextMessageAnimationStateArgs) => {
|
|
15
|
-
animatedKeys: Set<string>;
|
|
16
|
-
state: {
|
|
17
|
-
initialized: boolean;
|
|
18
|
-
seenKeys: Set<string>;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const useMessageAnimationKeys: (itemKeys: string[]) => Set<string>;
|
|
22
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SessionMessage } from './message-types';
|
|
3
|
-
interface ChatMessageListResponseProps {
|
|
4
|
-
message: SessionMessage;
|
|
5
|
-
streaming: boolean;
|
|
6
|
-
hideQuestionForms?: boolean;
|
|
7
|
-
animate?: boolean;
|
|
8
|
-
showAssistantActions: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const ChatMessageListResponse: (props: ChatMessageListResponseProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
interface StickyMessageToggleProps {
|
|
12
|
-
label: string;
|
|
13
|
-
onClick: () => void;
|
|
14
|
-
actionPanel?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const StickyMessageToggle: (props: StickyMessageToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MessageGroup, SessionMessage } from './message-types';
|
|
2
|
-
interface ChatMessageListProps {
|
|
3
|
-
leadingResponses: SessionMessage[];
|
|
4
|
-
groups: MessageGroup[];
|
|
5
|
-
streaming: boolean;
|
|
6
|
-
hideActiveQuestionForms: boolean;
|
|
7
|
-
expandedStickyMessageIds: Set<string>;
|
|
8
|
-
onToggleStickyMessage: (messageId: string) => void;
|
|
9
|
-
onReady?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const ChatMessageList: (props: ChatMessageListProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ReferenceItem } from '../../rich-text';
|
|
3
|
-
import { ChatInputQuestionPrompt, ChatInputQuestionResponse } from './chat-input-question-prompt';
|
|
4
|
-
import { QueuedFollowUp } from './message-types';
|
|
5
|
-
import { QueuedFollowUpMoveDirection } from './queued-follow-up-list-state';
|
|
6
|
-
interface QueuedFollowUpComposerInput {
|
|
7
|
-
queuedFollowUps: QueuedFollowUp[];
|
|
8
|
-
defaultValue: string;
|
|
9
|
-
onChange?: (text: string) => void;
|
|
10
|
-
onSubmit?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void | Promise<void>;
|
|
11
|
-
onUpdate?: (itemId: string, prompt: string) => void;
|
|
12
|
-
}
|
|
13
|
-
interface ChatPanelComposerProps {
|
|
14
|
-
conversationKey?: string;
|
|
15
|
-
recentUserMessages: string[];
|
|
16
|
-
actions?: ReactNode;
|
|
17
|
-
attachedResources?: string[];
|
|
18
|
-
attachmentList?: ReactNode;
|
|
19
|
-
chatInputAutoFocus: boolean;
|
|
20
|
-
chatInputPlaceholder: string;
|
|
21
|
-
chatInputQuestionPrompt?: ChatInputQuestionPrompt;
|
|
22
|
-
chatInputReferences: ReferenceItem[];
|
|
23
|
-
hasWorkspaceHub: boolean;
|
|
24
|
-
inputDisabled: boolean;
|
|
25
|
-
submitDisabled: boolean;
|
|
26
|
-
onAttachFiles?: (files: File[]) => void;
|
|
27
|
-
onAttachText?: (text: string) => void;
|
|
28
|
-
onChatInputAddReference?: (resourceId: string, resourceType: ReferenceItem["resourceType"]) => void;
|
|
29
|
-
onClearAttachments?: () => void;
|
|
30
|
-
onInterrupt?: () => void;
|
|
31
|
-
onQueuedFollowUpMove?: (itemId: string, direction: QueuedFollowUpMoveDirection, steps?: number) => void;
|
|
32
|
-
onQueuedFollowUpRemove?: (itemId: string) => void;
|
|
33
|
-
onQueuedFollowUpUpdate?: (itemId: string, prompt: string) => void;
|
|
34
|
-
queuedComposer: ReturnType<typeof useQueuedFollowUpComposer>;
|
|
35
|
-
queuedFollowUps: QueuedFollowUp[];
|
|
36
|
-
streaming: boolean;
|
|
37
|
-
workspaceHub?: ReactNode;
|
|
38
|
-
}
|
|
39
|
-
export declare const useQueuedFollowUpComposer: (input: QueuedFollowUpComposerInput) => {
|
|
40
|
-
change: (text: string) => void;
|
|
41
|
-
edit: (item: QueuedFollowUp) => void;
|
|
42
|
-
editingItemId: string | null;
|
|
43
|
-
focusSignal: number;
|
|
44
|
-
inputValue: string;
|
|
45
|
-
isEditing: boolean;
|
|
46
|
-
submit: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void | Promise<void>;
|
|
47
|
-
};
|
|
48
|
-
export declare const ChatPanelComposer: (props: ChatPanelComposerProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SessionMessage } from './message-types';
|
|
2
|
-
export declare const STICKY_USER_MESSAGE_COLLAPSE_TEXT_THRESHOLD = 360;
|
|
3
|
-
export declare const STICKY_USER_MESSAGE_COLLAPSE_LINE_THRESHOLD = 4;
|
|
4
|
-
export declare const STICKY_USER_MESSAGE_COLLAPSED_MAX_HEIGHT = "min(10vh, 4rem)";
|
|
5
|
-
export declare const STICKY_USER_MESSAGE_EXPANDED_MAX_HEIGHT = "min(70dvh, calc(100dvh - 12rem), 22rem)";
|
|
6
|
-
interface StickyUserMessageScrollElement {
|
|
7
|
-
clientHeight: number;
|
|
8
|
-
scrollHeight: number;
|
|
9
|
-
scrollTop: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const isStickyUserMessageCollapsible: (message: SessionMessage) => boolean;
|
|
12
|
-
export declare const shouldStopStickyUserMessageWheel: (element: StickyUserMessageScrollElement, deltaY: number) => boolean;
|
|
13
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ReferenceItem } from '../../rich-text';
|
|
3
|
-
import { ChatInputQuestionPrompt, ChatInputQuestionResponse } from './chat-input-question-prompt';
|
|
4
|
-
import { QueuedFollowUp, SessionMessage } from './message-types';
|
|
5
|
-
import { QueuedFollowUpMoveDirection } from './queued-follow-up-list-state';
|
|
6
|
-
/** Full conversation shell for agent sessions, including messages, input, attachments, and host-provided slots. */
|
|
7
|
-
export interface ChatPanelProps {
|
|
8
|
-
/** Stable conversation identity used to reset ready state when switching sessions. */
|
|
9
|
-
conversationKey?: string;
|
|
10
|
-
messages: SessionMessage[];
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
streaming?: boolean;
|
|
13
|
-
emptyStateTitle: string;
|
|
14
|
-
emptyStateDescription: string;
|
|
15
|
-
emptyStateContent?: ReactNode;
|
|
16
|
-
loaderComponent?: ReactNode;
|
|
17
|
-
chatInputPlaceholder: string;
|
|
18
|
-
chatInputDefaultValue?: string;
|
|
19
|
-
onSubmitMessage?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void | Promise<void>;
|
|
20
|
-
onInterrupt?: () => void;
|
|
21
|
-
onAttachFiles?: (files: File[]) => void;
|
|
22
|
-
onAttachText?: (text: string) => void;
|
|
23
|
-
onChatInputChange?: (text: string) => void;
|
|
24
|
-
/** Extra controls rendered in the chat input toolbar (attach, model, params). */
|
|
25
|
-
actions?: ReactNode;
|
|
26
|
-
attachedResources?: string[];
|
|
27
|
-
onClearAttachments?: () => void;
|
|
28
|
-
attachmentList?: ReactNode;
|
|
29
|
-
approvalPrompt?: ReactNode;
|
|
30
|
-
/** Optional workspace status/control surface rendered above the conversation viewport. */
|
|
31
|
-
workspaceHub?: ReactNode;
|
|
32
|
-
workspaceInitializing?: boolean;
|
|
33
|
-
inputDisabled?: boolean;
|
|
34
|
-
/** Blocks sending while the editor stays usable, for example while no model is selected. */
|
|
35
|
-
submitDisabled?: boolean;
|
|
36
|
-
chatInputQuestionPrompt?: ChatInputQuestionPrompt;
|
|
37
|
-
chatInputAutoFocus?: boolean;
|
|
38
|
-
queuedFollowUps?: QueuedFollowUp[];
|
|
39
|
-
onQueuedFollowUpUpdate?: (itemId: string, prompt: string) => void;
|
|
40
|
-
onQueuedFollowUpRemove?: (itemId: string) => void;
|
|
41
|
-
onQueuedFollowUpMove?: (itemId: string, direction: QueuedFollowUpMoveDirection, steps?: number) => void;
|
|
42
|
-
chatInputReferences?: ReferenceItem[];
|
|
43
|
-
onChatInputAddReference?: (resourceId: string, resourceType: ReferenceItem["resourceType"]) => void;
|
|
44
|
-
}
|
|
45
|
-
export declare const ChatPanel: (props: ChatPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ChatSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPOSER_CONTROL_HEIGHT = "7";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface ConversationBrowseItem {
|
|
2
|
-
/** Turn id used to scroll the log to this user message. */
|
|
3
|
-
id: string;
|
|
4
|
-
/** The user message this tick indexes (shown in the hover card). */
|
|
5
|
-
message: string;
|
|
6
|
-
/** Optional assistant reply preview; hidden for a turn not yet answered. */
|
|
7
|
-
reply?: string;
|
|
8
|
-
}
|
|
9
|
-
interface ConversationBrowseProps {
|
|
10
|
-
items: ConversationBrowseItem[];
|
|
11
|
-
onSelect?: (id: string) => void;
|
|
12
|
-
/** Overlay the log's left edge with a scrim instead of reserving a gutter (panels under ~480px). */
|
|
13
|
-
floating?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* ChatBrowse — the conversation scrubber for the chat log's left gutter. One tick per user
|
|
17
|
-
* message, in order; the ticks nearest the pointer swell into a lens (growing along X only, so
|
|
18
|
-
* the row you aim at never moves), and the active tick raises a preview card. Clicking a tick
|
|
19
|
-
* selects that turn. Hidden below a few messages, where a gutter costs space and buys nothing.
|
|
20
|
-
*/
|
|
21
|
-
export declare const ConversationBrowse: (props: ConversationBrowseProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
22
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SessionMessage } from './message-types';
|
|
2
|
-
interface MessageActionPanelProps {
|
|
3
|
-
message: SessionMessage;
|
|
4
|
-
alwaysVisible?: boolean;
|
|
5
|
-
copyAlwaysVisible?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const getMessageCopyText: (message: SessionMessage) => string;
|
|
8
|
-
export declare const getMessageTimestampLabel: (message: SessionMessage, locale?: string, timeZone?: string) => string;
|
|
9
|
-
export declare const MessageActionPanel: (props: MessageActionPanelProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SessionMessage } from './message-types';
|
|
3
|
-
import { ToolInvocationTimelineProps } from './tool-invocation-timeline';
|
|
4
|
-
type ToolInvocationTimelineComponent = (props: ToolInvocationTimelineProps) => ReactNode;
|
|
5
|
-
export interface MessagePartsProps {
|
|
6
|
-
message: SessionMessage;
|
|
7
|
-
streaming?: boolean;
|
|
8
|
-
hideQuestionForms?: boolean;
|
|
9
|
-
onOpenFile?: (filePath: string) => void;
|
|
10
|
-
toolInvocationTimeline?: ToolInvocationTimelineComponent;
|
|
11
|
-
}
|
|
12
|
-
export declare function MessagePartsRenderer(props: MessagePartsProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
export type SessionMessageRole = "user" | "assistant" | "tool" | "system" | "developer";
|
|
2
|
-
export type TextPart = {
|
|
3
|
-
type: "text";
|
|
4
|
-
text: string;
|
|
5
|
-
};
|
|
6
|
-
export type ReasoningPart = {
|
|
7
|
-
type: "reasoning";
|
|
8
|
-
text: string;
|
|
9
|
-
};
|
|
10
|
-
export type ToolPartActionType = "read" | "write" | "execute" | "network" | "other";
|
|
11
|
-
export type ToolPartStatus = "pending" | "running" | "completed" | "failed" | "denied";
|
|
12
|
-
export type ToolPart = {
|
|
13
|
-
type: "tool";
|
|
14
|
-
tool: string;
|
|
15
|
-
callId?: string;
|
|
16
|
-
actionType?: ToolPartActionType;
|
|
17
|
-
status?: ToolPartStatus;
|
|
18
|
-
state?: {
|
|
19
|
-
status?: string;
|
|
20
|
-
input?: unknown;
|
|
21
|
-
output?: unknown;
|
|
22
|
-
errorText?: string;
|
|
23
|
-
metadata?: unknown;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export type StepStartPart = {
|
|
27
|
-
type: "step-start";
|
|
28
|
-
snapshot?: string;
|
|
29
|
-
};
|
|
30
|
-
export type StepFinishPart = {
|
|
31
|
-
type: "step-finish";
|
|
32
|
-
reason?: string;
|
|
33
|
-
snapshot?: string;
|
|
34
|
-
cost?: number;
|
|
35
|
-
tokens?: unknown;
|
|
36
|
-
};
|
|
37
|
-
export type PatchPart = {
|
|
38
|
-
type: "patch";
|
|
39
|
-
hash?: string;
|
|
40
|
-
files?: unknown;
|
|
41
|
-
};
|
|
42
|
-
export type FilePart = {
|
|
43
|
-
type: "file";
|
|
44
|
-
fileId?: string;
|
|
45
|
-
mediaType?: string;
|
|
46
|
-
filename?: string;
|
|
47
|
-
size?: number;
|
|
48
|
-
url: string;
|
|
49
|
-
};
|
|
50
|
-
export type LoadingPart = {
|
|
51
|
-
type: "loading";
|
|
52
|
-
};
|
|
53
|
-
export type ErrorPart = {
|
|
54
|
-
type: "error";
|
|
55
|
-
errorType: "timeout" | "crash" | "permission" | "other";
|
|
56
|
-
message?: string;
|
|
57
|
-
};
|
|
58
|
-
export type TokenUsagePart = {
|
|
59
|
-
type: "token_usage";
|
|
60
|
-
inputTokens: number;
|
|
61
|
-
outputTokens: number;
|
|
62
|
-
cacheReadTokens?: number;
|
|
63
|
-
cacheWriteTokens?: number;
|
|
64
|
-
};
|
|
65
|
-
export type AlertPart = {
|
|
66
|
-
type: "alert";
|
|
67
|
-
status: "info" | "warning" | "error" | "success" | "loading";
|
|
68
|
-
title: string;
|
|
69
|
-
message?: string;
|
|
70
|
-
};
|
|
71
|
-
export type SessionMessagePart = TextPart | ReasoningPart | ToolPart | StepStartPart | StepFinishPart | PatchPart | FilePart | LoadingPart | ErrorPart | TokenUsagePart;
|
|
72
|
-
export type ChatMessagePart = SessionMessagePart | AlertPart;
|
|
73
|
-
export type SessionMessage = {
|
|
74
|
-
id: string;
|
|
75
|
-
role: SessionMessageRole;
|
|
76
|
-
parts: ChatMessagePart[];
|
|
77
|
-
index?: number;
|
|
78
|
-
createdAt?: number;
|
|
79
|
-
modelId?: string;
|
|
80
|
-
providerId?: string;
|
|
81
|
-
tokens?: {
|
|
82
|
-
input?: number;
|
|
83
|
-
output?: number;
|
|
84
|
-
reasoning?: number;
|
|
85
|
-
cache?: {
|
|
86
|
-
read?: number;
|
|
87
|
-
write?: number;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
export type QueuedFollowUp = {
|
|
92
|
-
id: string;
|
|
93
|
-
prompt: string;
|
|
94
|
-
attachments?: Array<{
|
|
95
|
-
id: string;
|
|
96
|
-
name: string;
|
|
97
|
-
mediaType?: string;
|
|
98
|
-
url?: string;
|
|
99
|
-
}>;
|
|
100
|
-
position?: number;
|
|
101
|
-
};
|
|
102
|
-
export type MessageOrigin = "user" | "assistant" | "developer";
|
|
103
|
-
export declare const getMessageOrigin: (role: string) => MessageOrigin;
|
|
104
|
-
export declare const mergeReasoningToolOnlyMessages: (messages: SessionMessage[]) => SessionMessage[];
|
|
105
|
-
export declare const normalizeChatMessagesForDisplay: (messages: SessionMessage[], options?: {
|
|
106
|
-
streaming?: boolean;
|
|
107
|
-
}) => SessionMessage[];
|
|
108
|
-
export interface MessageGroup {
|
|
109
|
-
userMessage: SessionMessage;
|
|
110
|
-
responses: SessionMessage[];
|
|
111
|
-
}
|
|
112
|
-
export declare const getAssistantMessageActionTargetId: (messages: SessionMessage[]) => string | null;
|
|
113
|
-
export declare const groupMessagesByTurn: (messages: SessionMessage[]) => {
|
|
114
|
-
groups: MessageGroup[];
|
|
115
|
-
leadingResponses: SessionMessage[];
|
|
116
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { QueuedFollowUp } from './message-types';
|
|
2
|
-
export type QueuedFollowUpMoveDirection = "up" | "down";
|
|
3
|
-
export declare const moveQueuedFollowUp: (items: QueuedFollowUp[], itemId: string, direction: QueuedFollowUpMoveDirection, steps?: number) => QueuedFollowUp[];
|
|
4
|
-
export declare const reorderQueuedFollowUp: (items: QueuedFollowUp[], itemId: string, targetIndex: number) => QueuedFollowUp[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { QueuedFollowUp } from './message-types';
|
|
2
|
-
import { QueuedFollowUpMoveDirection } from './queued-follow-up-list-state';
|
|
3
|
-
interface QueuedFollowUpListProps {
|
|
4
|
-
items: QueuedFollowUp[];
|
|
5
|
-
editingItemId?: string | null;
|
|
6
|
-
onEdit?: (item: QueuedFollowUp) => void;
|
|
7
|
-
onRemove?: (itemId: string) => void;
|
|
8
|
-
onMove?: (itemId: string, direction: QueuedFollowUpMoveDirection, steps?: number) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const QueuedFollowUpList: (props: QueuedFollowUpListProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export {};
|