@pstdio/ui 0.26.0 → 0.35.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-DGDnQ6pb.js +90 -0
- package/dist/MermaidComponent-DGDnQ6pb.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-DNJG8tLZ.js +415 -0
- package/dist/data-table-stats-row-DNJG8tLZ.js.map +1 -0
- package/dist/data-table.d.ts +143 -2
- package/dist/data-table.js +1216 -1188
- 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 +1508 -40
- package/dist/index.js +3167 -2707
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +337 -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-IJzw1cA2.js +225 -0
- package/dist/param-editor-IJzw1cA2.js.map +1 -0
- package/dist/param-editor-field-DscIjv8s.js +2368 -0
- package/dist/param-editor-field-DscIjv8s.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-DtQpHBlX.js +7018 -0
- package/dist/rich-text-DtQpHBlX.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-kSkOHzbV.js +2852 -0
- package/dist/theme-kSkOHzbV.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-9g78pXHS.js +245 -0
- package/dist/workspace-badge-9g78pXHS.js.map +1 -0
- package/dist/workspace-badge-CkJ_jTQw.d.ts +75 -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,7 +0,0 @@
|
|
|
1
|
-
import { IconButtonProps } from '@chakra-ui/react';
|
|
2
|
-
export interface SendButtonProps extends IconButtonProps {
|
|
3
|
-
shortcut?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
canInterrupt: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const SendButton: (props: SendButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { QuestionFormBlockQuestion, TodoListBlockItem } from './timeline';
|
|
2
|
-
interface QuestionFormBlockViewProps {
|
|
3
|
-
questions: QuestionFormBlockQuestion[];
|
|
4
|
-
editable?: boolean;
|
|
5
|
-
selectedOptionsByQuestion?: Record<string, string[]>;
|
|
6
|
-
customAnswersByQuestion?: Record<string, string>;
|
|
7
|
-
onToggleOption?: (question: QuestionFormBlockQuestion, questionIndex: number, optionLabel: string) => void;
|
|
8
|
-
onCustomAnswerChange?: (question: QuestionFormBlockQuestion, questionIndex: number, answer: string) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const TodoListBlockView: (props: {
|
|
11
|
-
items: TodoListBlockItem[];
|
|
12
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare const QuestionFormBlockView: (props: QuestionFormBlockViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IconName } from '../utils/get-icon';
|
|
3
|
-
export type TimelineDoc = {
|
|
4
|
-
items: Item[];
|
|
5
|
-
};
|
|
6
|
-
export type Item = {
|
|
7
|
-
id?: string;
|
|
8
|
-
timestamp?: string;
|
|
9
|
-
indicator?: Indicator;
|
|
10
|
-
title: TitleSegment[];
|
|
11
|
-
blocks?: Block[];
|
|
12
|
-
expandable?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export type Indicator = {
|
|
15
|
-
type: "icon";
|
|
16
|
-
icon: IconName;
|
|
17
|
-
color?: string;
|
|
18
|
-
} | {
|
|
19
|
-
type: "avatar";
|
|
20
|
-
src: string;
|
|
21
|
-
alt?: string;
|
|
22
|
-
} | {
|
|
23
|
-
type: "none";
|
|
24
|
-
};
|
|
25
|
-
export type TitleSegment = {
|
|
26
|
-
kind: "text";
|
|
27
|
-
text: string;
|
|
28
|
-
bold?: boolean;
|
|
29
|
-
muted?: boolean;
|
|
30
|
-
truncate?: boolean;
|
|
31
|
-
monospace?: boolean;
|
|
32
|
-
} | {
|
|
33
|
-
kind: "avatar";
|
|
34
|
-
src: string;
|
|
35
|
-
alt?: string;
|
|
36
|
-
} | {
|
|
37
|
-
kind: "diff";
|
|
38
|
-
fileName: string;
|
|
39
|
-
filePath?: string;
|
|
40
|
-
additions?: number;
|
|
41
|
-
deletions?: number;
|
|
42
|
-
} | {
|
|
43
|
-
kind: "link";
|
|
44
|
-
text: string;
|
|
45
|
-
href?: string;
|
|
46
|
-
filePath?: string;
|
|
47
|
-
bold?: boolean;
|
|
48
|
-
muted?: boolean;
|
|
49
|
-
variant?: "default" | "bubble";
|
|
50
|
-
};
|
|
51
|
-
export type TodoListBlockItem = {
|
|
52
|
-
label: string;
|
|
53
|
-
checked: boolean;
|
|
54
|
-
};
|
|
55
|
-
export type QuestionFormBlockOption = {
|
|
56
|
-
label: string;
|
|
57
|
-
description?: string;
|
|
58
|
-
};
|
|
59
|
-
export type QuestionFormBlockQuestion = {
|
|
60
|
-
id?: string;
|
|
61
|
-
question: string;
|
|
62
|
-
options: QuestionFormBlockOption[];
|
|
63
|
-
multiple: boolean;
|
|
64
|
-
required: boolean;
|
|
65
|
-
allowCustomAnswer: boolean;
|
|
66
|
-
};
|
|
67
|
-
export type Block = {
|
|
68
|
-
type: "comment";
|
|
69
|
-
text: string;
|
|
70
|
-
reactions?: {
|
|
71
|
-
clap?: number;
|
|
72
|
-
};
|
|
73
|
-
} | {
|
|
74
|
-
type: "code";
|
|
75
|
-
language: string;
|
|
76
|
-
code: string;
|
|
77
|
-
editable?: boolean;
|
|
78
|
-
} | {
|
|
79
|
-
type: "diff";
|
|
80
|
-
language?: string;
|
|
81
|
-
original: string;
|
|
82
|
-
modified: string;
|
|
83
|
-
sideBySide?: boolean;
|
|
84
|
-
} | {
|
|
85
|
-
type: "input";
|
|
86
|
-
placeholder?: string;
|
|
87
|
-
} | {
|
|
88
|
-
type: "text";
|
|
89
|
-
text: string;
|
|
90
|
-
} | {
|
|
91
|
-
type: "todo-list";
|
|
92
|
-
items: TodoListBlockItem[];
|
|
93
|
-
} | {
|
|
94
|
-
type: "question-form";
|
|
95
|
-
questions: QuestionFormBlockQuestion[];
|
|
96
|
-
} | {
|
|
97
|
-
type: "references";
|
|
98
|
-
references: string[];
|
|
99
|
-
} | {
|
|
100
|
-
type: "image";
|
|
101
|
-
src: string;
|
|
102
|
-
alt: string;
|
|
103
|
-
caption?: string;
|
|
104
|
-
} | {
|
|
105
|
-
type: "component";
|
|
106
|
-
render: (ctx: {
|
|
107
|
-
onOpenFile?: (filePath: string) => void;
|
|
108
|
-
}) => ReactNode;
|
|
109
|
-
};
|
|
110
|
-
export declare function TimelineFromJSON({ data, onOpenFile }: {
|
|
111
|
-
data: TimelineDoc;
|
|
112
|
-
onOpenFile?: (filePath: string) => void;
|
|
113
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ToolPart } from './message-types';
|
|
2
|
-
export interface ToolInvocationTimelineProps {
|
|
3
|
-
invocations: ToolPart[];
|
|
4
|
-
labeledBlocks?: boolean;
|
|
5
|
-
hideQuestionForms?: boolean;
|
|
6
|
-
onOpenFile?: (filePath: string) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function ToolInvocationTimeline(props: ToolInvocationTimelineProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PromptEditorRef } from '../../rich-text';
|
|
2
|
-
interface ChatInputHistoryOptions {
|
|
3
|
-
recentUserMessages: string[];
|
|
4
|
-
text: string;
|
|
5
|
-
blocked: boolean;
|
|
6
|
-
resetKey: string;
|
|
7
|
-
onChange: (text: string) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const useChatInputHistory: (options: ChatInputHistoryOptions) => {
|
|
10
|
-
editorRef: import('react').RefObject<PromptEditorRef | null>;
|
|
11
|
-
reset: () => void;
|
|
12
|
-
change: (value: string) => void;
|
|
13
|
-
recallPrevious: () => boolean;
|
|
14
|
-
recallNext: () => boolean;
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Working indicator: a spinner followed by the elapsed run time in mono digits — never a
|
|
3
|
-
* static "Working…" label. The elapsed time is the one thing a static label cannot tell you
|
|
4
|
-
* and how you judge whether a run is stuck. Counts from the start of the active stream, including
|
|
5
|
-
* time spent temporarily hidden while the workspace initializes.
|
|
6
|
-
*/
|
|
7
|
-
export declare const WorkingIndicator: (props: {
|
|
8
|
-
hidden?: boolean;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type WorkspaceHubStatus = "ready" | "loading" | "error";
|
|
3
|
-
interface ChatWorkspaceHubProps {
|
|
4
|
-
/** Workspace identity/selector shown at the start of the header (e.g. GitBranch + name). */
|
|
5
|
-
workspaceControl?: ReactNode;
|
|
6
|
-
additions: number;
|
|
7
|
-
deletions: number;
|
|
8
|
-
/** Icon-only action that opens the workspace resource. */
|
|
9
|
-
action?: ReactNode;
|
|
10
|
-
status?: WorkspaceHubStatus;
|
|
11
|
-
statusLabel?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Workspace hub header: the frame the session sits in. The identity is always present;
|
|
15
|
-
* the slot beside it carries the diff counts, or the setup status while the workspace is
|
|
16
|
-
* being created or has failed. The open action recedes during setup.
|
|
17
|
-
*/
|
|
18
|
-
export declare const ChatWorkspaceHub: (props: ChatWorkspaceHubProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type { ConversationContentProps, ConversationRootProps, ConversationScrollButtonProps, } from './components/ai-conversation';
|
|
2
|
-
export { ChatPrimitives } from './components/ai-conversation';
|
|
3
|
-
export type { MessageContentProps, MessageRootProps } from './components/ai-message';
|
|
4
|
-
export { ChatMessage } from './components/ai-message';
|
|
5
|
-
export { ApprovalPrompt } from './components/approval-prompt';
|
|
6
|
-
export { AttachmentList } from './components/attachment-list';
|
|
7
|
-
export type { AutoScrollProps } from './components/auto-scroll';
|
|
8
|
-
export { AutoScroll } from './components/auto-scroll';
|
|
9
|
-
export { ChatInput, type ChatInputProps } from './components/chat-input';
|
|
10
|
-
export type { ChatInputQuestionPrompt, ChatInputQuestionResponse } from './components/chat-input-question-prompt';
|
|
11
|
-
export { ChatPanel } from './components/chat-panel';
|
|
12
|
-
export { ChatSkeleton } from './components/chat-skeleton';
|
|
13
|
-
export { ConversationBrowse, type ConversationBrowseItem } from './components/conversation-browse';
|
|
14
|
-
export type { AlertPart, ChatMessagePart, QueuedFollowUp, SessionMessage, SessionMessagePart, ToolPart, } from './components/message-types';
|
|
15
|
-
export type { QueuedFollowUpMoveDirection } from './components/queued-follow-up-list-state';
|
|
16
|
-
export type { SendButtonProps } from './components/send-button';
|
|
17
|
-
export { SendButton } from './components/send-button';
|
|
18
|
-
export { ChatWorkspaceHub } from './components/workspace-hub';
|
|
19
|
-
export { createSerializedPromptState } from './utils/editor-state';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SessionMessage } from '../../components/message-types';
|
|
2
|
-
export type ConversationFixture = {
|
|
3
|
-
id: string;
|
|
4
|
-
agent: string;
|
|
5
|
-
label: string;
|
|
6
|
-
description: string;
|
|
7
|
-
messages: SessionMessage[];
|
|
8
|
-
};
|
|
9
|
-
export declare const fixtures: ConversationFixture[];
|
|
10
|
-
export declare const fixturesById: Map<string, ConversationFixture>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type ChatMountMetric = {
|
|
2
|
-
id: string;
|
|
3
|
-
scenario: string;
|
|
4
|
-
label: string;
|
|
5
|
-
totalMs: number;
|
|
6
|
-
messageCount: number;
|
|
7
|
-
perMessageMs: number | null;
|
|
8
|
-
startedAtMs: number;
|
|
9
|
-
completedAtMs: number;
|
|
10
|
-
};
|
|
11
|
-
type PendingChatMountMetric = {
|
|
12
|
-
scenario: string;
|
|
13
|
-
label: string;
|
|
14
|
-
messageCount: number;
|
|
15
|
-
startedAtMs: number;
|
|
16
|
-
};
|
|
17
|
-
type StartChatMountMetricInput = {
|
|
18
|
-
scenario: string;
|
|
19
|
-
label: string;
|
|
20
|
-
messageCount: number;
|
|
21
|
-
startMarkName?: string;
|
|
22
|
-
};
|
|
23
|
-
type FinishChatMountMetricInput = {
|
|
24
|
-
id: string;
|
|
25
|
-
messageCount: number;
|
|
26
|
-
readyMarkName?: string;
|
|
27
|
-
};
|
|
28
|
-
declare global {
|
|
29
|
-
interface Window {
|
|
30
|
-
__chatPanelMountMetrics?: ChatMountMetric[];
|
|
31
|
-
__chatPanelPendingMountMetrics?: Record<string, PendingChatMountMetric>;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export declare const startChatMountMetric: (input: StartChatMountMetricInput) => string;
|
|
35
|
-
export declare const finishChatMountMetricAfterPaint: (input: FinishChatMountMetricInput) => void;
|
|
36
|
-
export declare const readLatestChatMountMetric: (scenario: string) => ChatMountMetric | null;
|
|
37
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ChatMountMetric } from './chat-mount-metrics';
|
|
2
|
-
type ProfilerSample = {
|
|
3
|
-
scenario: string;
|
|
4
|
-
phase: string;
|
|
5
|
-
actualDuration: number;
|
|
6
|
-
baseDuration: number;
|
|
7
|
-
commitTime: number;
|
|
8
|
-
};
|
|
9
|
-
declare global {
|
|
10
|
-
interface Window {
|
|
11
|
-
__chatPanelPerf?: ProfilerSample[];
|
|
12
|
-
__chatPanelMountMetrics?: ChatMountMetric[];
|
|
13
|
-
__longTasks?: Array<{
|
|
14
|
-
duration: number;
|
|
15
|
-
}>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SessionMessage } from '../components/message-types';
|
|
2
|
-
export interface LargeChatConversationOptions {
|
|
3
|
-
sessionId: string;
|
|
4
|
-
turns: number;
|
|
5
|
-
textRepeat?: number;
|
|
6
|
-
toolCallsPerTurn?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface ChatPerformanceSession {
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
messages: SessionMessage[];
|
|
12
|
-
}
|
|
13
|
-
export declare const CHAT_PERFORMANCE_STRESS_TURNS = 500;
|
|
14
|
-
export declare const buildLargeChatConversation: (options: LargeChatConversationOptions) => SessionMessage[];
|
|
15
|
-
export declare const buildChatSessionSwitchFixture: () => {
|
|
16
|
-
primarySession: {
|
|
17
|
-
id: string;
|
|
18
|
-
label: string;
|
|
19
|
-
messages: SessionMessage[];
|
|
20
|
-
};
|
|
21
|
-
secondarySession: {
|
|
22
|
-
id: string;
|
|
23
|
-
label: string;
|
|
24
|
-
messages: SessionMessage[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const seedStreamingMessage: (message: SessionMessage) => SessionMessage;
|
|
28
|
-
export declare const updateStreamingTextPart: (messages: SessionMessage[], messageId: string, partIndex: number, text: string) => SessionMessage[];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export type ChatPerfSample = {
|
|
2
|
-
scenario: string;
|
|
3
|
-
phase: string;
|
|
4
|
-
actualDuration: number;
|
|
5
|
-
baseDuration: number;
|
|
6
|
-
commitTime: number;
|
|
7
|
-
};
|
|
8
|
-
declare global {
|
|
9
|
-
interface Window {
|
|
10
|
-
__chatPanelPerf?: ChatPerfSample[];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const ensureChatPerfBuffer: () => {
|
|
14
|
-
scenario: string;
|
|
15
|
-
phase: string;
|
|
16
|
-
actualDuration: number;
|
|
17
|
-
baseDuration: number;
|
|
18
|
-
commitTime: number;
|
|
19
|
-
}[] | null;
|
|
20
|
-
export declare const ChatPerformancePanel: (props: {
|
|
21
|
-
scenario: string;
|
|
22
|
-
messageCount: number;
|
|
23
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SessionMessage } from '../components/message-types';
|
|
3
|
-
export declare const defaultChatPanelProps: {
|
|
4
|
-
readonly emptyStateTitle: "No messages";
|
|
5
|
-
readonly emptyStateDescription: "";
|
|
6
|
-
readonly chatInputPlaceholder: "Benchmark prompt";
|
|
7
|
-
};
|
|
8
|
-
export type ActiveMountMeasurement = {
|
|
9
|
-
id: string;
|
|
10
|
-
readyMarkName?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const markAfterPaint: (markName: string) => void;
|
|
13
|
-
export declare const nextFrame: () => Promise<void>;
|
|
14
|
-
export declare const streamMessages: (input: {
|
|
15
|
-
messages: SessionMessage[];
|
|
16
|
-
isCancelled: () => boolean;
|
|
17
|
-
appendMessage: (message: SessionMessage) => void;
|
|
18
|
-
updateText: (messageId: string, partIndex: number, text: string) => void;
|
|
19
|
-
}) => Promise<void>;
|
|
20
|
-
export declare function ChatMountReadyMarker(props: {
|
|
21
|
-
measurement: ActiveMountMeasurement | null;
|
|
22
|
-
messageCount: number;
|
|
23
|
-
}): null;
|
|
24
|
-
export declare function ChatPerfShell(props: {
|
|
25
|
-
scenario: string;
|
|
26
|
-
activeLabel: string;
|
|
27
|
-
messageCount: number;
|
|
28
|
-
actions?: ReactNode;
|
|
29
|
-
children: ReactNode;
|
|
30
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ToolPart } from '../components/message-types';
|
|
2
|
-
import { Block, Item, TitleSegment } from '../components/timeline';
|
|
3
|
-
import { ToolTimelineBuilderOptions } from './types';
|
|
4
|
-
export declare const buildTimelineDocFromInvocations: (invocations: ToolPart[], options?: ToolTimelineBuilderOptions) => {
|
|
5
|
-
items: (Item | {
|
|
6
|
-
indicator: {
|
|
7
|
-
readonly type: "icon";
|
|
8
|
-
readonly icon: "search" | "dot" | "danger" | "file" | "terminal" | "shell" | "ls" | "read_file" | "write_file" | "delete_file" | "patch" | "upload_files" | "download_file" | "move_file" | "browser" | "question" | "todo";
|
|
9
|
-
};
|
|
10
|
-
title: TitleSegment[];
|
|
11
|
-
blocks: Block[];
|
|
12
|
-
})[];
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const createDefaultToolRenderers: () => {
|
|
2
|
-
apply_patch: import('./types').ToolRenderer;
|
|
3
|
-
bash: import('./types').ToolRenderer;
|
|
4
|
-
edit: import('./types').ToolRenderer;
|
|
5
|
-
glob: import('./types').ToolRenderer;
|
|
6
|
-
grep: import('./types').ToolRenderer;
|
|
7
|
-
question: import('./types').ToolRenderer;
|
|
8
|
-
read: import('./types').ToolRenderer;
|
|
9
|
-
shell: import('./types').ToolRenderer;
|
|
10
|
-
skill: import('./types').ToolRenderer;
|
|
11
|
-
todo_write: import('./types').ToolRenderer;
|
|
12
|
-
todowrite: import('./types').ToolRenderer;
|
|
13
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SessionMessage } from '../components/message-types';
|
|
2
|
-
import { QuestionFormBlockQuestion } from '../components/timeline';
|
|
3
|
-
export declare const getQuestionResponseText: (value: unknown) => string | null;
|
|
4
|
-
export declare const parseQuestionPrompt: (input: unknown) => {
|
|
5
|
-
questions: QuestionFormBlockQuestion[];
|
|
6
|
-
} | null;
|
|
7
|
-
export declare const resolveActiveQuestionPrompt: (messages: SessionMessage[]) => {
|
|
8
|
-
questions: QuestionFormBlockQuestion[];
|
|
9
|
-
} | undefined;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ToolPart } from '../components/message-types';
|
|
2
|
-
import { Block, Item, TitleSegment } from '../components/timeline';
|
|
3
|
-
import { ToolRenderer } from './types';
|
|
4
|
-
type QuestionRendererDependencies = {
|
|
5
|
-
buildBaseTitle: (invocation: ToolPart, detail?: string, labelOverride?: string) => TitleSegment[];
|
|
6
|
-
buildIndicator: (invocation: ToolPart) => Item["indicator"];
|
|
7
|
-
prependErrorBlock: (invocation: ToolPart, blocks: Block[]) => Block[];
|
|
8
|
-
};
|
|
9
|
-
export declare const createQuestionRenderer: (deps: QuestionRendererDependencies) => ToolRenderer;
|
|
10
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ToolPart } from '../components/message-types';
|
|
2
|
-
import { Block, TitleSegment } from '../components/timeline';
|
|
3
|
-
export type ApplyPatchMetadataFile = {
|
|
4
|
-
filePath: string;
|
|
5
|
-
additions: number;
|
|
6
|
-
deletions: number;
|
|
7
|
-
diff?: string;
|
|
8
|
-
before?: string;
|
|
9
|
-
after?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const normalizeToolType: (value: string) => string;
|
|
12
|
-
export declare const getToolType: (invocation: ToolPart) => string;
|
|
13
|
-
export declare const getToolLabel: (value: string) => string;
|
|
14
|
-
export declare const getStateLabel: (invocation: ToolPart) => string | null;
|
|
15
|
-
export declare const isErrorState: (invocation: ToolPart) => boolean;
|
|
16
|
-
export declare const buildIndicator: (invocation: ToolPart) => {
|
|
17
|
-
readonly type: "icon";
|
|
18
|
-
readonly icon: "search" | "dot" | "danger" | "file" | "terminal" | "shell" | "ls" | "read_file" | "write_file" | "delete_file" | "patch" | "upload_files" | "download_file" | "move_file" | "browser" | "question" | "todo";
|
|
19
|
-
};
|
|
20
|
-
export declare const buildBaseTitle: (invocation: ToolPart, detail?: string, labelOverride?: string, detailStyle?: "monospace") => TitleSegment[];
|
|
21
|
-
export declare const getInputObject: (invocation: ToolPart) => Record<string, unknown> | null;
|
|
22
|
-
export declare const getOutputObject: (invocation: ToolPart) => Record<string, unknown> | null;
|
|
23
|
-
export declare const getStringValue: (value: unknown) => string | null;
|
|
24
|
-
export declare const getObjectValue: (value: unknown) => Record<string, unknown> | null;
|
|
25
|
-
export declare const getStateObject: (invocation: ToolPart, key: string) => Record<string, unknown> | null;
|
|
26
|
-
export declare const getApplyPatchMetadataFiles: (invocation: ToolPart) => ApplyPatchMetadataFile[];
|
|
27
|
-
export declare const getApplyPatchInputFilePaths: (invocation: ToolPart) => string[];
|
|
28
|
-
export declare const getApplyPatchDiffText: (invocation: ToolPart) => string | null;
|
|
29
|
-
export declare const buildApplyPatchMetadataTitleSegments: (files: ApplyPatchMetadataFile[]) => TitleSegment[];
|
|
30
|
-
export declare const getApplyPatchMetadataReferences: (files: ApplyPatchMetadataFile[]) => string[];
|
|
31
|
-
export declare const getOutputText: (invocation: ToolPart) => string | null;
|
|
32
|
-
export declare const parseSkillContentBlock: (value: string) => {
|
|
33
|
-
skillName: string | undefined;
|
|
34
|
-
content: string;
|
|
35
|
-
} | null;
|
|
36
|
-
export declare const getSkillName: (invocation: ToolPart) => string | undefined;
|
|
37
|
-
export declare const buildFileLinkSegment: (filePath: string, variant?: "default" | "bubble") => TitleSegment;
|
|
38
|
-
export declare const prependErrorBlock: (invocation: ToolPart, blocks: Block[]) => Block[];
|
|
39
|
-
export declare const getDiffBlocks: (diffText?: string | null) => {
|
|
40
|
-
type: "diff";
|
|
41
|
-
language: string;
|
|
42
|
-
original: string;
|
|
43
|
-
modified: string;
|
|
44
|
-
sideBySide: false;
|
|
45
|
-
}[];
|
|
46
|
-
export declare const getDiffTitleSegments: (diffText?: string | null) => {
|
|
47
|
-
kind: "diff";
|
|
48
|
-
fileName: string;
|
|
49
|
-
filePath: string;
|
|
50
|
-
additions: number;
|
|
51
|
-
deletions: number;
|
|
52
|
-
}[];
|
|
53
|
-
export declare const getDiffReferences: (diffText?: string | null) => string[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ToolRenderer } from './types';
|
|
2
|
-
export declare const renderRead: ToolRenderer;
|
|
3
|
-
export declare const renderBash: ToolRenderer;
|
|
4
|
-
export declare const renderShell: ToolRenderer;
|
|
5
|
-
export declare const renderGrep: ToolRenderer;
|
|
6
|
-
export declare const renderGlob: ToolRenderer;
|
|
7
|
-
export declare const renderSkill: ToolRenderer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ToolPart } from '../components/message-types';
|
|
2
|
-
import { Block, Item, TitleSegment } from '../components/timeline';
|
|
3
|
-
import { ToolRenderer } from './types';
|
|
4
|
-
type TodowriteRendererDependencies = {
|
|
5
|
-
buildBaseTitle: (invocation: ToolPart, detail?: string, labelOverride?: string) => TitleSegment[];
|
|
6
|
-
buildIndicator: (invocation: ToolPart) => Item["indicator"];
|
|
7
|
-
prependErrorBlock: (invocation: ToolPart, blocks: Block[]) => Block[];
|
|
8
|
-
};
|
|
9
|
-
export declare const createTodowriteRenderer: (deps: TodowriteRendererDependencies) => ToolRenderer;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ToolPart } from '../components/message-types';
|
|
2
|
-
import { Item } from '../components/timeline';
|
|
3
|
-
export type ToolRenderResult = Item;
|
|
4
|
-
export type ToolRenderOptions = {
|
|
5
|
-
labeledBlocks?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export type ToolRenderer = (invocation: ToolPart, options?: ToolRenderOptions) => ToolRenderResult | null;
|
|
8
|
-
export type ToolRenderersMap = Record<string, ToolRenderer>;
|
|
9
|
-
export type ToolTimelineBuilderOptions = {
|
|
10
|
-
labeledBlocks?: boolean;
|
|
11
|
-
toolRenderers?: ToolRenderersMap;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type FileChange = {
|
|
2
|
-
filePath: string;
|
|
3
|
-
additions: number;
|
|
4
|
-
deletions: number;
|
|
5
|
-
};
|
|
6
|
-
export declare function basenameSafe(path: string): string;
|
|
7
|
-
export declare function parseUnifiedDiff(diffText?: string): FileChange[];
|
|
8
|
-
export declare function buildDiffTitleSegments(diffText?: string): {
|
|
9
|
-
kind: "diff";
|
|
10
|
-
fileName: string;
|
|
11
|
-
filePath: string;
|
|
12
|
-
additions: number;
|
|
13
|
-
deletions: number;
|
|
14
|
-
}[];
|
|
15
|
-
export declare function extractDiffFilePaths(diffText?: string): string[];
|
|
16
|
-
export type FileDiffPreview = {
|
|
17
|
-
filePath: string;
|
|
18
|
-
original: string;
|
|
19
|
-
modified: string;
|
|
20
|
-
};
|
|
21
|
-
export declare function buildFileDiffPreviews(diffText?: string): FileDiffPreview[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const createSerializedPromptState: (input?: string) => string;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { LucideIcon } from 'lucide-react';
|
|
2
|
-
declare const toolIconMap: {
|
|
3
|
-
readonly shell: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
4
|
-
readonly ls: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
5
|
-
readonly read_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
6
|
-
readonly write_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
7
|
-
readonly delete_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
8
|
-
readonly patch: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
9
|
-
readonly upload_files: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
10
|
-
readonly download_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
11
|
-
readonly move_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
12
|
-
};
|
|
13
|
-
declare const iconMap: {
|
|
14
|
-
readonly shell: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
15
|
-
readonly ls: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
16
|
-
readonly read_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
|
-
readonly write_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
18
|
-
readonly delete_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
19
|
-
readonly patch: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
|
-
readonly upload_files: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
|
-
readonly download_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
22
|
-
readonly move_file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
23
|
-
readonly dot: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
24
|
-
readonly danger: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
25
|
-
readonly search: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
26
|
-
readonly browser: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
27
|
-
readonly file: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
28
|
-
readonly question: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
29
|
-
readonly todo: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
30
|
-
readonly terminal: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
31
|
-
};
|
|
32
|
-
export type IconName = keyof typeof iconMap;
|
|
33
|
-
export type ToolIconName = keyof typeof toolIconMap;
|
|
34
|
-
export declare const getIconComponent: (name: IconName) => LucideIcon;
|
|
35
|
-
export declare const toolTypeToIconName: (type?: string) => IconName;
|
|
36
|
-
export { getFileTypeIcon } from '../../../utils/get-file-type-icon';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type { FilterPaletteEntriesOptions, PaletteEntry, PaletteEscapeContext, PaletteMode, PaletteProps, PaletteSearchEntry, PaletteState, PaletteStateValue, } from './palette';
|
|
2
|
-
export { DEFAULT_PALETTE_ASSET_LIMIT, filterPaletteEntries, Palette } from './palette';
|
|
3
|
-
export type { PaletteShortcutBinding } from './palette-shortcut';
|
|
4
|
-
export { PaletteShortcut } from './palette-shortcut';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare const DEFAULT_PALETTE_ASSET_LIMIT = 48;
|
|
3
|
-
export interface PaletteSearchEntry {
|
|
4
|
-
id: string;
|
|
5
|
-
mode?: string;
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
searchText?: string;
|
|
8
|
-
secondaryLabel?: ReactNode;
|
|
9
|
-
assetType?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface PaletteMode {
|
|
12
|
-
id: string;
|
|
13
|
-
inputPrefix?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface FilterPaletteEntriesOptions {
|
|
16
|
-
query: string;
|
|
17
|
-
mode?: string;
|
|
18
|
-
getEffectiveQuery?: (query: string) => string;
|
|
19
|
-
defaultAssetLimit?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const resolvePaletteMode: (query: string, modes?: readonly PaletteMode[], fallbackMode?: string) => string;
|
|
22
|
-
export declare const getPaletteEffectiveQuery: (query: string, modes?: readonly PaletteMode[], modeId?: string) => string;
|
|
23
|
-
export declare const filterPaletteEntries: <T extends PaletteSearchEntry>(entries: T[], options: FilterPaletteEntriesOptions) => T[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
import { PaletteEntry } from './palette';
|
|
3
|
-
interface PaletteListProps<T extends PaletteEntry> {
|
|
4
|
-
entries: T[];
|
|
5
|
-
activeIndex: number;
|
|
6
|
-
emptyLabel: string;
|
|
7
|
-
onHover: (index: number) => void;
|
|
8
|
-
scrollRef: RefObject<HTMLDivElement | null>;
|
|
9
|
-
}
|
|
10
|
-
export declare const PaletteList: <T extends PaletteEntry>(props: PaletteListProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|