@leanspec/ui 0.2.24 → 0.2.26
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/{_baseUniq-0KC2LwTU.js → _baseUniq-ijHblO0i.js} +1 -1
- package/dist/{arc-BF3pCZeb.js → arc-DSoiQqhG.js} +1 -1
- package/dist/{architecture-U656AL7Q-Dvz3aEBf.js → architecture-U656AL7Q-0EY1UA93.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-DUvgrr6M.js → architectureDiagram-VXUJARFQ-CpZ7MNJ1.js} +3 -3
- package/dist/assets/{_baseUniq-zaVu3d-8.js → _baseUniq-CwL8whuW.js} +1 -1
- package/dist/assets/{arc-CNsbs1Hc.js → arc-DQK79yWt.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-CNRNXzWH.js → architectureDiagram-VXUJARFQ-0lyQJAFV.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-B-z5fhLO.js → blockDiagram-VD42YOAC-De6LVB6b.js} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-D1wRy3rn.js → c4Diagram-YG6GDRKO-DmO_YZpf.js} +1 -1
- package/dist/assets/channel-CPL3ZhB2.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-Ju0iuf5T.js → chunk-4BX2VUAB-D_i5DxBx.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-BOKBDX1b.js → chunk-55IACEB6-CYBqqEaM.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-DsLx2FWG.js → chunk-B4BG7PRW-B_kJst0L.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-DVZlU9hx.js → chunk-DI55MBZ5-DmQQvuy9.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-DcibvRDC.js → chunk-FMBD7UC4-DIj1fMOC.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-CNdyoS13.js → chunk-QN33PNHL-Dob4GXZN.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-B6wDkRFR.js → chunk-QZHKN3VN-B9l1Ct5_.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-DiRAl639.js → chunk-TZMSLE5B-D5kj2wzj.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-BGtOMy27.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-BGtOMy27.js +1 -0
- package/dist/assets/clone-TRq3RsgR.js +1 -0
- package/dist/assets/{code-block-37QAKDTI-D0bYQ3tc.js → code-block-37QAKDTI-DPta_cDe.js} +1 -1
- package/dist/assets/{cose-bilkent-S5V4N54A-C7eFSjsi.js → cose-bilkent-S5V4N54A-CIbyIxy7.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-Chm9A17M.js → dagre-6UL2VRFP-DiNoo8UH.js} +1 -1
- package/dist/assets/devopicons-JYBX4xNv.woff2 +0 -0
- package/dist/assets/{diagram-PSM6KHXK-CCbDlCx9.js → diagram-PSM6KHXK-oPUYMkQi.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-Dtd49XA6.js → diagram-QEK2KX5R-ekYHp-_K.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-0K2p7g5b.js → diagram-S2PKOQOG-BjESZsAo.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-jqGcgMyf.js → erDiagram-Q2GNP2WA-C18-XmOn.js} +1 -1
- package/dist/assets/file-icons-Byv9wKV-.woff2 +0 -0
- package/dist/assets/{flowDiagram-NV44I4VS-Dq-5nSyY.js → flowDiagram-NV44I4VS-C_-yn3lU.js} +1 -1
- package/dist/assets/fontawesome-B-jkhYfk.woff2 +0 -0
- package/dist/assets/{ganttDiagram-JELNMOA3-I2WySoN5.js → ganttDiagram-JELNMOA3-Da95ISpS.js} +1 -1
- package/dist/assets/{gitGraphDiagram-NY62KEGX-B-rqrf_i.js → gitGraphDiagram-NY62KEGX-CKst-DTk.js} +1 -1
- package/dist/assets/{graph-BXq8Vy6g.js → graph-ByVyFk5n.js} +1 -1
- package/dist/assets/index-B-FvbnKr.js +2236 -0
- package/dist/assets/index-BUH5BNQv.css +1 -0
- package/dist/assets/{infoDiagram-WHAUD3N6-C7RcpAsC.js → infoDiagram-WHAUD3N6-B-KLbNx8.js} +1 -1
- package/dist/assets/{journeyDiagram-XKPGCS4Q-CzPy13x7.js → journeyDiagram-XKPGCS4Q-Dc0gGxNW.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-BwjszvCG.js → kanban-definition-3W4ZIXB7-BBl3Os5b.js} +1 -1
- package/dist/assets/{layout-tBkKcjOH.js → layout-DUjHnQ3q.js} +1 -1
- package/dist/assets/mfixx-DfQCz-aF.woff2 +0 -0
- package/dist/assets/{min-L_dIkaz8.js → min-B84CwCRn.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-Dv_R0Kzs.js → mindmap-definition-VGOIOE7T-DwXr0an_.js} +1 -1
- package/dist/assets/octicons-CS-gsnb3.woff2 +0 -0
- package/dist/assets/{pieDiagram-ADFJNKIX-DBdEQqzX.js → pieDiagram-ADFJNKIX-kg25OEdx.js} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-DSe0t1Vr.js → quadrantDiagram-AYHSOK5B-jzIPJrQC.js} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-DINdLdJg.js → requirementDiagram-UZGBJVZJ-D7lvVmve.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-ByLK18cs.js → sankeyDiagram-TZEHDZUN-CkKJUu-X.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-BtwZoEF6.js → sequenceDiagram-WL72ISMW-DWXoU2Xu.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-B_dGGh5t.js → stateDiagram-FKZM4ZOC-DKMSa2-u.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-fGhjroU9.js +1 -0
- package/dist/assets/{timeline-definition-IT6M3QCI-BKq8fAVj.js → timeline-definition-IT6M3QCI-i8tdCjji.js} +1 -1
- package/dist/assets/{treemap-KMMF4GRG-DpzypmYP.js → treemap-KMMF4GRG-Bo2ueTP9.js} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-B2nRsBEy.js → xychartDiagram-PRI3JC2R-C54lHEBd.js} +1 -1
- package/dist/{blockDiagram-VD42YOAC-C5CukG0j.js → blockDiagram-VD42YOAC-ByO9mclR.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-D700bLUP.js → c4Diagram-YG6GDRKO-G9IBNezV.js} +2 -2
- package/dist/{channel-Cti7M2bZ.js → channel-TVLaQyE6.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CgLsIbqb.js → chunk-4BX2VUAB-DvQETnkD.js} +1 -1
- package/dist/{chunk-55IACEB6-BlgtjLk2.js → chunk-55IACEB6-Fx760vrL.js} +1 -1
- package/dist/{chunk-B4BG7PRW-B0F1XFJz.js → chunk-B4BG7PRW-BdBF-s3l.js} +4 -4
- package/dist/{chunk-DI55MBZ5-DHtjqtxd.js → chunk-DI55MBZ5-Bq1Xpipe.js} +3 -3
- package/dist/{chunk-FMBD7UC4-d2R18kU3.js → chunk-FMBD7UC4-CHwx9e7Z.js} +1 -1
- package/dist/{chunk-QN33PNHL-hc_HFHv7.js → chunk-QN33PNHL-29-xlpoh.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DFrM02dn.js → chunk-QZHKN3VN-B4R9UyOO.js} +1 -1
- package/dist/{chunk-TZMSLE5B-BKKjuHyU.js → chunk-TZMSLE5B-D7ZMH86x.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CWBGyk3O.js → classDiagram-2ON5EDUG-BZJNp72Q.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CWBGyk3O.js → classDiagram-v2-WZHVMYZB-BZJNp72Q.js} +2 -2
- package/dist/{clone-C-SjnjM3.js → clone-BuM257qi.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-DP3AP0OF.js → cose-bilkent-S5V4N54A-BDx7dcIS.js} +1 -1
- package/dist/{dagre-6UL2VRFP-D9e9iL9P.js → dagre-6UL2VRFP-fvMEdLZ9.js} +5 -5
- package/dist/{diagram-PSM6KHXK-BpO0cxRG.js → diagram-PSM6KHXK-B5DR0Fbv.js} +4 -4
- package/dist/{diagram-QEK2KX5R-CSMfjuPl.js → diagram-QEK2KX5R-DVAmb4ns.js} +3 -3
- package/dist/{diagram-S2PKOQOG-Csx2ehrH.js → diagram-S2PKOQOG-oXO-KMCB.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-X4t9tzNA.js → erDiagram-Q2GNP2WA-Cw3S1xrg.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-JVEdioX6.js → flowDiagram-NV44I4VS-B41EhOsx.js} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-BksGSOHP.js → ganttDiagram-JELNMOA3-CktjaPtm.js} +2 -2
- package/dist/{gitGraph-F6HP7TQM-OK0kClD7.js → gitGraph-F6HP7TQM-BtaG3hDI.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-BRpBdTVE.js → gitGraphDiagram-NY62KEGX-DoYr9lJ6.js} +4 -4
- package/dist/{graph-Czb_7a7B.js → graph-aZrSt0UC.js} +2 -2
- package/dist/{index-iCTLJvaV.js → index-2ILPnvAG.js} +9703 -9869
- package/dist/index.html +2 -2
- package/dist/info-NVLQJR56-5Whifced.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-DWuyY_dJ.js → infoDiagram-WHAUD3N6-C-9mSXCL.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-CrnINICH.js → journeyDiagram-XKPGCS4Q-BZaGhFGN.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-64OgHBcl.js → kanban-definition-3W4ZIXB7-DcgJ4LvA.js} +2 -2
- package/dist/{layout-Bx4_X9_k.js → layout-CZbv8l1x.js} +4 -4
- package/dist/lib/components/dependencies/dependency-filter-bar.d.ts +18 -0
- package/dist/lib/components/dependencies/dependency-graph-view.d.ts +14 -0
- package/dist/lib/components/dependencies/spec-selector.d.ts +10 -0
- package/dist/lib/components/files/CodeViewer.d.ts +7 -0
- package/dist/lib/components/files/FileExplorer.d.ts +29 -0
- package/dist/lib/components/files/FileIcon.d.ts +7 -0
- package/dist/lib/components/library/ai-elements/prompt-input/AttachmentBar.d.ts +2 -0
- package/dist/lib/components/library/ai-elements/prompt-input/ContextSelector.d.ts +2 -0
- package/dist/lib/components/library/ai-elements/prompt-input/PromptTextArea.d.ts +2 -0
- package/dist/lib/components/library/ai-elements/prompt-input/VoiceInput.d.ts +2 -0
- package/dist/lib/components/library/ai-elements/prompt-input/compounds.d.ts +72 -0
- package/dist/lib/components/library/ai-elements/prompt-input/context.d.ts +14 -0
- package/dist/lib/components/library/ai-elements/prompt-input/core.d.ts +16 -0
- package/dist/lib/components/library/ai-elements/prompt-input/hooks.d.ts +46 -0
- package/dist/lib/components/library/ai-elements/prompt-input.d.ts +4 -136
- package/dist/lib/components/library/navigation/back-to-top.d.ts +3 -1
- package/dist/lib/components/library/project/project-avatar.d.ts +1 -1
- package/dist/lib/components/library/ui/avatar.d.ts +2 -2
- package/dist/lib/components/library/ui/input-group.d.ts +1 -1
- package/dist/lib/components/searchable-select.d.ts +12 -0
- package/dist/lib/components/session-detail-layout.context.d.ts +5 -0
- package/dist/lib/components/session-detail-layout.d.ts +1 -0
- package/dist/lib/components/session-status-badge.d.ts +9 -0
- package/dist/lib/components/sessions/acp-conversation.d.ts +13 -0
- package/dist/lib/components/sessions/collapsible-json-log.d.ts +5 -0
- package/dist/lib/components/sessions/session-create-dialog.d.ts +1 -5
- package/dist/lib/components/sessions/session-duration-badge.d.ts +8 -0
- package/dist/lib/components/sessions/session-mode-badge.d.ts +6 -0
- package/dist/lib/components/sessions/sessions-popover.d.ts +1 -0
- package/dist/lib/components/sessions-nav-sidebar.d.ts +6 -0
- package/dist/lib/components/settings/models-settings/ModelEditor.d.ts +2 -0
- package/dist/lib/components/settings/models-settings/ModelTestPanel.d.ts +2 -0
- package/dist/lib/components/settings/models-settings/ModelsList.d.ts +2 -0
- package/dist/lib/components/settings/models-settings/custom-provider-card.d.ts +9 -0
- package/dist/lib/components/settings/models-settings/custom-provider-dialog.d.ts +8 -0
- package/dist/lib/components/settings/models-settings/provider-api-key-dialog.d.ts +7 -0
- package/dist/lib/components/settings/models-settings/provider-models-dialog.d.ts +8 -0
- package/dist/lib/components/settings/models-settings/registry-provider-card.d.ts +10 -0
- package/dist/lib/components/shared/back-to-top.d.ts +5 -1
- package/dist/lib/components/shared/project-avatar.d.ts +1 -1
- package/dist/lib/components/spec-context-attachments.d.ts +26 -0
- package/dist/lib/components/spec-detail/spec-detail-content.d.ts +9 -0
- package/dist/lib/components/spec-detail/spec-detail-header.d.ts +36 -0
- package/dist/lib/components/spec-detail/sub-spec-tabs.d.ts +14 -0
- package/dist/lib/components/spec-search-select.d.ts +8 -0
- package/dist/lib/components/specs/board-view.d.ts +1 -1
- package/dist/lib/components/specs/list-view.d.ts +1 -1
- package/dist/lib/components/specs-nav/SidebarGrouping.d.ts +2 -0
- package/dist/lib/components/specs-nav/SidebarSearch.d.ts +2 -0
- package/dist/lib/components/specs-nav/SidebarSpecList.d.ts +2 -0
- package/dist/lib/components/specs-nav/sidebar-filters.d.ts +18 -0
- package/dist/lib/components/specs-nav/sidebar-spec-list.d.ts +22 -0
- package/dist/lib/hooks/useSessionStatusToasts.d.ts +4 -0
- package/dist/lib/hooks/useSessionsQuery.d.ts +2 -0
- package/dist/lib/hooks/useSpecsQuery.d.ts +6 -1
- package/dist/lib/index.js +366 -361
- package/dist/lib/lib/api-error.d.ts +2 -0
- package/dist/lib/lib/api.d.ts +12 -2
- package/dist/lib/lib/backend-adapter/core.d.ts +26 -4
- package/dist/lib/lib/backend-adapter/http.d.ts +12 -2
- package/dist/lib/lib/backend-adapter/tauri.d.ts +12 -2
- package/dist/lib/lib/session-stream.d.ts +15 -0
- package/dist/lib/lib/session-utils.d.ts +25 -1
- package/dist/lib/locales/en/common.json.d.ts +115 -3
- package/dist/lib/locales/en/errors.json.d.ts +14 -0
- package/dist/lib/locales/zh-CN/common.json.d.ts +115 -3
- package/dist/lib/locales/zh-CN/errors.json.d.ts +14 -0
- package/dist/lib/pages/FilesPage.d.ts +5 -0
- package/dist/lib/pages/dependencies/DependencyControls.d.ts +2 -0
- package/dist/lib/pages/dependencies/DependencyFilters.d.ts +2 -0
- package/dist/lib/pages/dependencies/DependencyGraph.d.ts +2 -0
- package/dist/lib/pages/spec-detail/SpecContent.d.ts +2 -0
- package/dist/lib/pages/spec-detail/SpecHeader.d.ts +2 -0
- package/dist/lib/pages/spec-detail/SpecMetadataPanel.d.ts +2 -0
- package/dist/lib/pages/spec-detail/SpecRelationships.d.ts +2 -0
- package/dist/lib/stores/sessions-sidebar.d.ts +19 -0
- package/dist/lib/stores/sessions-ui.d.ts +2 -0
- package/dist/lib/stores/settings-filters.d.ts +4 -0
- package/dist/lib/types/api.d.ts +128 -5
- package/dist/lib/types/generated/BatchMetadataRequest.d.ts +6 -0
- package/dist/lib/types/generated/BatchMetadataResponse.d.ts +9 -0
- package/dist/lib/types/generated/ChecklistToggleItem.d.ts +7 -0
- package/dist/lib/types/generated/ChecklistToggleRequest.d.ts +12 -0
- package/dist/lib/types/generated/ChecklistToggleResponse.d.ts +9 -0
- package/dist/lib/types/generated/ChecklistToggledResult.d.ts +8 -0
- package/dist/lib/types/generated/ConfigFeatures.d.ts +3 -0
- package/dist/lib/types/generated/ConfigStructure.d.ts +7 -0
- package/dist/lib/types/generated/ContextFile.d.ts +10 -0
- package/dist/lib/types/generated/CreateSpecRequest.d.ts +14 -0
- package/dist/lib/types/generated/DependencyEdge.d.ts +5 -0
- package/dist/lib/types/generated/DependencyGraphResponse.d.ts +10 -0
- package/dist/lib/types/generated/DependencyNode.d.ts +8 -0
- package/dist/lib/types/generated/DependencyResponse.d.ts +9 -0
- package/dist/lib/types/generated/DetailedBreakdown.d.ts +22 -0
- package/dist/lib/types/generated/DetectionConfig.d.ts +6 -0
- package/dist/lib/types/generated/DetectionResult.d.ts +6 -0
- package/dist/lib/types/generated/DraftStatusConfig.d.ts +3 -0
- package/dist/lib/types/generated/FrontmatterResponse.d.ts +15 -0
- package/dist/lib/types/generated/HealthResponse.d.ts +7 -0
- package/dist/lib/types/generated/HierarchyNode.d.ts +29 -0
- package/dist/lib/types/generated/LeanSpecConfig.d.ts +16 -0
- package/dist/lib/types/generated/ListSpecsQuery.d.ts +16 -0
- package/dist/lib/types/generated/ListSpecsResponse.d.ts +15 -0
- package/dist/lib/types/generated/MetadataUpdate.d.ts +17 -0
- package/dist/lib/types/generated/PriorityCountItem.d.ts +4 -0
- package/dist/lib/types/generated/ProjectConfigResponse.d.ts +9 -0
- package/dist/lib/types/generated/ProjectContextResponse.d.ts +12 -0
- package/dist/lib/types/generated/ProjectValidationResponse.d.ts +9 -0
- package/dist/lib/types/generated/ProjectValidationSummary.d.ts +5 -0
- package/dist/lib/types/generated/RunnerDefinition.d.ts +19 -0
- package/dist/lib/types/generated/SearchFilters.d.ts +8 -0
- package/dist/lib/types/generated/SearchRequest.d.ts +9 -0
- package/dist/lib/types/generated/SearchResponse.d.ts +10 -0
- package/dist/lib/types/generated/SectionTokenCount.d.ts +7 -0
- package/dist/lib/types/generated/Session.d.ts +69 -0
- package/dist/lib/types/generated/SessionConfig.d.ts +44 -0
- package/dist/lib/types/generated/SessionMode.d.ts +4 -0
- package/dist/lib/types/generated/SessionStatus.d.ts +4 -0
- package/dist/lib/types/generated/SpecDetail.d.ts +31 -0
- package/dist/lib/types/generated/SpecMetadata.d.ts +8 -0
- package/dist/lib/types/generated/SpecPriority.d.ts +4 -0
- package/dist/lib/types/generated/SpecRawResponse.d.ts +8 -0
- package/dist/lib/types/generated/SpecRawUpdateRequest.d.ts +7 -0
- package/dist/lib/types/generated/SpecRelationships.d.ts +7 -0
- package/dist/lib/types/generated/SpecStatus.d.ts +4 -0
- package/dist/lib/types/generated/SpecSummary.d.ts +28 -0
- package/dist/lib/types/generated/SpecTokenResponse.d.ts +9 -0
- package/dist/lib/types/generated/SpecValidationError.d.ts +10 -0
- package/dist/lib/types/generated/SpecValidationResponse.d.ts +8 -0
- package/dist/lib/types/generated/StatsResponse.d.ts +13 -0
- package/dist/lib/types/generated/StatusCountItem.d.ts +4 -0
- package/dist/lib/types/generated/StatusTransition.d.ts +8 -0
- package/dist/lib/types/generated/SubSpec.d.ts +8 -0
- package/dist/lib/types/generated/TokenBreakdown.d.ts +13 -0
- package/dist/lib/types/generated/UpdateMetadataResponse.d.ts +9 -0
- package/dist/lib/types/generated/ValidationError.d.ts +5 -0
- package/dist/lib/types/generated/ValidationResponse.d.ts +8 -0
- package/dist/lib/types/generated/index.d.ts +58 -0
- package/dist/lib/types/specs.d.ts +3 -12
- package/dist/{linear-D6e8ml0A.js → linear-DOiEav8w.js} +1 -1
- package/dist/{mermaid-parser.core-CJoVqMU2.js → mermaid-parser.core-CE74cRHV.js} +10 -10
- package/dist/{min-D0H_bVmw.js → min-iEZRg5We.js} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-c7LG-I9l.js → mindmap-definition-VGOIOE7T-B7vK-2rU.js} +3 -3
- package/dist/{packet-BFZMPI3H-Xg1qsh9M.js → packet-BFZMPI3H-CRtMZ75O.js} +1 -1
- package/dist/pie-7BOR55EZ-CTCOpJ_s.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-Dq5FSMbe.js → pieDiagram-ADFJNKIX-B2CycMp2.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-CSC6AaCS.js → quadrantDiagram-AYHSOK5B-DWzMKUVW.js} +2 -2
- package/dist/radar-NHE76QYJ-B-kEmJss.js +5 -0
- package/dist/{requirementDiagram-UZGBJVZJ-B1VMLqi1.js → requirementDiagram-UZGBJVZJ-B1JPpr0N.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-5yhAl98J.js → sankeyDiagram-TZEHDZUN-DUe4DMeI.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-BdRUPrKR.js → sequenceDiagram-WL72ISMW-D1ka_qcb.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-ieQQjJqa.js → stateDiagram-FKZM4ZOC-kHECs8c-.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-CMJV60i9.js → stateDiagram-v2-4FDKWEC3-DtTw2e8h.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-CgpuLO53.js → timeline-definition-IT6M3QCI-B9QaWiVQ.js} +2 -2
- package/dist/{treemap-KMMF4GRG-C-mDpIlT.js → treemap-KMMF4GRG-Ba6NXlAy.js} +1 -1
- package/dist/ui.css +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-CQmC0pjv.js → xychartDiagram-PRI3JC2R-Cx42bjo1.js} +2 -2
- package/package.json +3 -2
- package/src/index.css +2 -6
- package/dist/assets/channel-C1utiKyQ.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-DHe9K9aJ.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-DHe9K9aJ.js +0 -1
- package/dist/assets/clone-BP5MKGQF.js +0 -1
- package/dist/assets/index-CiNlAQ9U.js +0 -2224
- package/dist/assets/index-CzAbEYUe.css +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-lqWWS4Yz.js +0 -1
- package/dist/info-NVLQJR56-BY80xctL.js +0 -5
- package/dist/lib/components/badge-config.d.ts +0 -13
- package/dist/lib/components/sessions/sessions-drawer.d.ts +0 -1
- package/dist/pie-7BOR55EZ-DTOFOZjt.js +0 -5
- package/dist/radar-NHE76QYJ-C6sDWiPq.js +0 -5
package/dist/index.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<link rel="apple-touch-icon" href="/logo.svg" />
|
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
10
10
|
<title>LeanSpec</title>
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-B-FvbnKr.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BUH5BNQv.css">
|
|
13
13
|
</head>
|
|
14
14
|
|
|
15
15
|
<body>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, H as o, e as i, I as g } from "./index-
|
|
2
|
-
import { p } from "./mermaid-parser.core-
|
|
1
|
+
import { _ as e, l as s, H as o, e as i, I as g } from "./index-2ILPnvAG.js";
|
|
2
|
+
import { p } from "./mermaid-parser.core-CE74cRHV.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-
|
|
2
|
-
import { g as kt } from "./chunk-FMBD7UC4-
|
|
3
|
-
import { _ as n, g as _t, s as vt, a as bt, b as wt, q as Tt, p as St, c as R, d as X, e as $t, y as Mt } from "./index-
|
|
4
|
-
import { d as et } from "./arc-
|
|
1
|
+
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-D7ZMH86x.js";
|
|
2
|
+
import { g as kt } from "./chunk-FMBD7UC4-CHwx9e7Z.js";
|
|
3
|
+
import { _ as n, g as _t, s as vt, a as bt, b as wt, q as Tt, p as St, c as R, d as X, e as $t, y as Mt } from "./index-2ILPnvAG.js";
|
|
4
|
+
import { d as et } from "./arc-DSoiQqhG.js";
|
|
5
5
|
var U = (function() {
|
|
6
6
|
var t = /* @__PURE__ */ n(function(h, i, a, l) {
|
|
7
7
|
for (a = a || {}, l = h.length; l--; a[h[l]] = i) ;
|
package/dist/{kanban-definition-3W4ZIXB7-64OgHBcl.js → kanban-definition-3W4ZIXB7-DcgJ4LvA.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as _e, F as Y, i as j, t as Ee, J as ke, W as Se, X as ce, Y as le } from "./index-
|
|
2
|
-
import { g as Ne } from "./chunk-FMBD7UC4-
|
|
1
|
+
import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as _e, F as Y, i as j, t as Ee, J as ke, W as Se, X as ce, Y as le } from "./index-2ILPnvAG.js";
|
|
2
|
+
import { g as Ne } from "./chunk-FMBD7UC4-CHwx9e7Z.js";
|
|
3
3
|
var $ = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ o(function(O, i, n, r) {
|
|
5
5
|
for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as Ve, G as g, i as m, v as E } from "./graph-
|
|
2
|
-
import { i as X, d as C, k as Ye, o as $e, p as ve, q as pe, t as De, u as we, v as qe, w as be, c as V, x as We, b as Xe, y as ze, n as f, m as I, r as B } from "./_baseUniq-
|
|
3
|
-
import { f as O, b as me, a as He, c as Ue, m as w, d as P } from "./min-
|
|
4
|
-
import { aZ as M, bi as Ze, bj as Je, b4 as ge, bk as S, aQ as ye, bl as Ke, aD as Qe, bm as en, bn as nn, aF as xe, bo as rn, b3 as Ee, aE as ke, aX as tn, b6 as an, bp as z } from "./index-
|
|
1
|
+
import { b as Ve, G as g, i as m, v as E } from "./graph-aZrSt0UC.js";
|
|
2
|
+
import { i as X, d as C, k as Ye, o as $e, p as ve, q as pe, t as De, u as we, v as qe, w as be, c as V, x as We, b as Xe, y as ze, n as f, m as I, r as B } from "./_baseUniq-ijHblO0i.js";
|
|
3
|
+
import { f as O, b as me, a as He, c as Ue, m as w, d as P } from "./min-iEZRg5We.js";
|
|
4
|
+
import { aZ as M, bi as Ze, bj as Je, b4 as ge, bk as S, aQ as ye, bl as Ke, aD as Qe, bm as en, bn as nn, aF as xe, bo as rn, b3 as Ee, aE as ke, aX as tn, b6 as an, bp as z } from "./index-2ILPnvAG.js";
|
|
5
5
|
var on = /\s/;
|
|
6
6
|
function un(e) {
|
|
7
7
|
for (var n = e.length; n-- && on.test(e.charAt(n)); )
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ConnectionStats } from './types';
|
|
2
|
+
interface DependencyFilterBarProps {
|
|
3
|
+
statusFilter: string[];
|
|
4
|
+
statusCounts: Record<string, number>;
|
|
5
|
+
showStandalone: boolean;
|
|
6
|
+
isCompact: boolean;
|
|
7
|
+
viewMode: 'graph' | 'focus';
|
|
8
|
+
focusedNodeId: string | null;
|
|
9
|
+
connectionStats: ConnectionStats;
|
|
10
|
+
onToggleStatus: (status: string) => void;
|
|
11
|
+
onToggleStandalone: () => void;
|
|
12
|
+
onToggleCompact: () => void;
|
|
13
|
+
onToggleViewMode: () => void;
|
|
14
|
+
onClear: () => void;
|
|
15
|
+
t: (key: string, options?: Record<string, unknown>) => string;
|
|
16
|
+
}
|
|
17
|
+
export declare function DependencyFilterBar({ statusFilter, statusCounts, showStandalone, isCompact, viewMode, focusedNodeId, connectionStats, onToggleStatus, onToggleStandalone, onToggleCompact, onToggleViewMode, onClear, t, }: DependencyFilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Edge, Node, ReactFlowInstance } from 'reactflow';
|
|
2
|
+
import { SpecNodeData } from './types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
interface DependencyGraphViewProps {
|
|
5
|
+
nodes: Node<SpecNodeData>[];
|
|
6
|
+
edges: Edge[];
|
|
7
|
+
showStandalone: boolean;
|
|
8
|
+
onNodeClick: (event: React.MouseEvent, node: Node<SpecNodeData>) => void;
|
|
9
|
+
onPaneClick: () => void;
|
|
10
|
+
onInstance: (instance: ReactFlowInstance) => void;
|
|
11
|
+
t: (key: string) => string;
|
|
12
|
+
}
|
|
13
|
+
export declare function DependencyGraphView({ nodes, edges, showStandalone, onNodeClick, onPaneClick, onInstance, t, }: DependencyGraphViewProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DependencyGraph } from '../../types/api';
|
|
2
|
+
interface SpecSelectorProps {
|
|
3
|
+
data: DependencyGraph;
|
|
4
|
+
focusedNodeId: string | null;
|
|
5
|
+
onSelectSpec: (specId: string) => void;
|
|
6
|
+
onClearSelection: () => void;
|
|
7
|
+
t: (key: string) => string;
|
|
8
|
+
}
|
|
9
|
+
export declare function SpecSelector({ data, focusedNodeId, onSelectSpec, onClearSelection, t, }: SpecSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FileContentResponse } from '../../types/api';
|
|
2
|
+
interface CodeViewerProps {
|
|
3
|
+
file: FileContentResponse;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function CodeViewer({ file, className }: CodeViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FileListResponse } from '../../types/api';
|
|
2
|
+
interface FileExplorerProps {
|
|
3
|
+
/** Initial root listing */
|
|
4
|
+
rootListing: FileListResponse;
|
|
5
|
+
/** Currently selected file path */
|
|
6
|
+
selectedPath?: string;
|
|
7
|
+
/** Called when user clicks a file */
|
|
8
|
+
onFileSelect: (path: string) => void;
|
|
9
|
+
}
|
|
10
|
+
interface TreeNode {
|
|
11
|
+
name: string;
|
|
12
|
+
path: string;
|
|
13
|
+
type: 'file' | 'directory';
|
|
14
|
+
size?: number;
|
|
15
|
+
ignored?: boolean;
|
|
16
|
+
children?: TreeNode[];
|
|
17
|
+
loaded?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
expanded?: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface FileTreeProps {
|
|
22
|
+
rootListing: FileListResponse;
|
|
23
|
+
selectedPath?: string;
|
|
24
|
+
onFileSelect: (path: string) => void;
|
|
25
|
+
onNodesChange?: (nodes: TreeNode[]) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare function FileTree({ rootListing, selectedPath, onFileSelect, onNodesChange }: FileTreeProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function FileExplorer({ rootListing, selectedPath, onFileSelect }: FileExplorerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '../../ui/command';
|
|
2
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem } from '../../ui/dropdown-menu';
|
|
3
|
+
import { HoverCard, HoverCardContent, HoverCardTrigger } from '../../ui/hover-card';
|
|
4
|
+
import { InputGroupAddon, InputGroupButton, InputGroupTextarea } from '../../ui/input-group';
|
|
5
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../ui/select';
|
|
6
|
+
import { ChatStatus } from 'ai';
|
|
7
|
+
import { ComponentProps, HTMLAttributes } from 'react';
|
|
8
|
+
export type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
9
|
+
export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
|
|
11
|
+
export declare const PromptInputTextarea: ({ onChange, onKeyDown, className, placeholder, ...props }: PromptInputTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
13
|
+
export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
15
|
+
export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
17
|
+
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export type PromptInputButtonProps = ComponentProps<typeof InputGroupButton>;
|
|
19
|
+
export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
21
|
+
export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
|
|
23
|
+
export declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
25
|
+
export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
27
|
+
export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
|
|
29
|
+
status?: ChatStatus;
|
|
30
|
+
onStop?: () => void;
|
|
31
|
+
};
|
|
32
|
+
export declare const PromptInputSubmit: ({ className, variant, size, status, onStop, onClick, children, ...props }: PromptInputSubmitProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export type PromptInputSelectProps = ComponentProps<typeof Select>;
|
|
34
|
+
export declare const PromptInputSelect: (props: PromptInputSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export type PromptInputSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
36
|
+
export declare const PromptInputSelectTrigger: ({ className, ...props }: PromptInputSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export type PromptInputSelectContentProps = ComponentProps<typeof SelectContent>;
|
|
38
|
+
export declare const PromptInputSelectContent: ({ className, ...props }: PromptInputSelectContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export type PromptInputSelectItemProps = ComponentProps<typeof SelectItem>;
|
|
40
|
+
export declare const PromptInputSelectItem: ({ className, ...props }: PromptInputSelectItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export type PromptInputSelectValueProps = ComponentProps<typeof SelectValue>;
|
|
42
|
+
export declare const PromptInputSelectValue: ({ className, ...props }: PromptInputSelectValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
|
|
44
|
+
export declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
|
|
46
|
+
export declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
|
|
48
|
+
export declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
|
|
50
|
+
export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
|
|
52
|
+
export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
|
|
54
|
+
export declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
56
|
+
export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
|
|
58
|
+
export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export type PromptInputCommandProps = ComponentProps<typeof Command>;
|
|
60
|
+
export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
|
|
62
|
+
export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
export type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
|
|
64
|
+
export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
66
|
+
export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
export type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
|
|
68
|
+
export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
export type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
|
|
70
|
+
export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
export type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
72
|
+
export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentProps, PropsWithChildren } from 'react';
|
|
2
|
+
import { DropdownMenuItem } from '../../ui/dropdown-menu';
|
|
3
|
+
export type PromptInputProviderProps = PropsWithChildren<{
|
|
4
|
+
initialInput?: string;
|
|
5
|
+
}>;
|
|
6
|
+
/**
|
|
7
|
+
* Optional global provider that lifts PromptInput state outside of PromptInput.
|
|
8
|
+
* If you don't use it, PromptInput stays fully self-managed.
|
|
9
|
+
*/
|
|
10
|
+
export declare function PromptInputProvider({ initialInput: initialTextInput, children, }: PromptInputProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
12
|
+
label?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormEvent, HTMLAttributes } from 'react';
|
|
2
|
+
import { PromptInputMessage } from './hooks';
|
|
3
|
+
export type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
|
|
4
|
+
accept?: string;
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
globalDrop?: boolean;
|
|
7
|
+
syncHiddenInput?: boolean;
|
|
8
|
+
maxFiles?: number;
|
|
9
|
+
maxFileSize?: number;
|
|
10
|
+
onError?: (err: {
|
|
11
|
+
code: "max_files" | "max_file_size" | "accept";
|
|
12
|
+
message: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FileUIPart, SourceDocumentUIPart } from 'ai';
|
|
2
|
+
import { RefObject } from 'react';
|
|
3
|
+
export interface AttachmentsContext {
|
|
4
|
+
files: (FileUIPart & {
|
|
5
|
+
id: string;
|
|
6
|
+
})[];
|
|
7
|
+
add: (files: File[] | FileList) => void;
|
|
8
|
+
remove: (id: string) => void;
|
|
9
|
+
clear: () => void;
|
|
10
|
+
openFileDialog: () => void;
|
|
11
|
+
fileInputRef: RefObject<HTMLInputElement | null>;
|
|
12
|
+
}
|
|
13
|
+
export interface TextInputContext {
|
|
14
|
+
value: string;
|
|
15
|
+
setInput: (v: string) => void;
|
|
16
|
+
clear: () => void;
|
|
17
|
+
}
|
|
18
|
+
export interface PromptInputControllerProps {
|
|
19
|
+
textInput: TextInputContext;
|
|
20
|
+
attachments: AttachmentsContext;
|
|
21
|
+
/** INTERNAL: Allows PromptInput to register its file textInput + "open" callback */
|
|
22
|
+
__registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const PromptInputController: import('react').Context<PromptInputControllerProps | null>;
|
|
25
|
+
export declare const ProviderAttachmentsContext: import('react').Context<AttachmentsContext | null>;
|
|
26
|
+
export declare const LocalAttachmentsContext: import('react').Context<AttachmentsContext | null>;
|
|
27
|
+
export declare const LocalReferencedSourcesContext: import('react').Context<ReferencedSourcesContext | null>;
|
|
28
|
+
export declare const usePromptInputController: () => PromptInputControllerProps;
|
|
29
|
+
export declare const useOptionalPromptInputController: () => PromptInputControllerProps | null;
|
|
30
|
+
export declare const useProviderAttachments: () => AttachmentsContext;
|
|
31
|
+
export declare const useOptionalProviderAttachments: () => AttachmentsContext | null;
|
|
32
|
+
export declare const usePromptInputAttachments: () => AttachmentsContext;
|
|
33
|
+
export interface ReferencedSourcesContext {
|
|
34
|
+
sources: (SourceDocumentUIPart & {
|
|
35
|
+
id: string;
|
|
36
|
+
})[];
|
|
37
|
+
add: (sources: SourceDocumentUIPart[] | SourceDocumentUIPart) => void;
|
|
38
|
+
remove: (id: string) => void;
|
|
39
|
+
clear: () => void;
|
|
40
|
+
}
|
|
41
|
+
export declare const usePromptInputReferencedSources: () => ReferencedSourcesContext;
|
|
42
|
+
export interface PromptInputMessage {
|
|
43
|
+
text: string;
|
|
44
|
+
files: FileUIPart[];
|
|
45
|
+
referencedSources: SourceDocumentUIPart[];
|
|
46
|
+
}
|
|
@@ -1,136 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../ui/select';
|
|
6
|
-
import { ChatStatus, FileUIPart, SourceDocumentUIPart } from 'ai';
|
|
7
|
-
import { ComponentProps, FormEvent, HTMLAttributes, PropsWithChildren, RefObject } from 'react';
|
|
8
|
-
export interface AttachmentsContext {
|
|
9
|
-
files: (FileUIPart & {
|
|
10
|
-
id: string;
|
|
11
|
-
})[];
|
|
12
|
-
add: (files: File[] | FileList) => void;
|
|
13
|
-
remove: (id: string) => void;
|
|
14
|
-
clear: () => void;
|
|
15
|
-
openFileDialog: () => void;
|
|
16
|
-
fileInputRef: RefObject<HTMLInputElement | null>;
|
|
17
|
-
}
|
|
18
|
-
export interface TextInputContext {
|
|
19
|
-
value: string;
|
|
20
|
-
setInput: (v: string) => void;
|
|
21
|
-
clear: () => void;
|
|
22
|
-
}
|
|
23
|
-
export interface PromptInputControllerProps {
|
|
24
|
-
textInput: TextInputContext;
|
|
25
|
-
attachments: AttachmentsContext;
|
|
26
|
-
/** INTERNAL: Allows PromptInput to register its file textInput + "open" callback */
|
|
27
|
-
__registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
|
|
28
|
-
}
|
|
29
|
-
export declare const usePromptInputController: () => PromptInputControllerProps;
|
|
30
|
-
export declare const useProviderAttachments: () => AttachmentsContext;
|
|
31
|
-
export type PromptInputProviderProps = PropsWithChildren<{
|
|
32
|
-
initialInput?: string;
|
|
33
|
-
}>;
|
|
34
|
-
/**
|
|
35
|
-
* Optional global provider that lifts PromptInput state outside of PromptInput.
|
|
36
|
-
* If you don't use it, PromptInput stays fully self-managed.
|
|
37
|
-
*/
|
|
38
|
-
export declare function PromptInputProvider({ initialInput: initialTextInput, children, }: PromptInputProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare const usePromptInputAttachments: () => AttachmentsContext;
|
|
40
|
-
export interface ReferencedSourcesContext {
|
|
41
|
-
sources: (SourceDocumentUIPart & {
|
|
42
|
-
id: string;
|
|
43
|
-
})[];
|
|
44
|
-
add: (sources: SourceDocumentUIPart[] | SourceDocumentUIPart) => void;
|
|
45
|
-
remove: (id: string) => void;
|
|
46
|
-
clear: () => void;
|
|
47
|
-
}
|
|
48
|
-
export declare const LocalReferencedSourcesContext: import('react').Context<ReferencedSourcesContext | null>;
|
|
49
|
-
export declare const usePromptInputReferencedSources: () => ReferencedSourcesContext;
|
|
50
|
-
export type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
51
|
-
label?: string;
|
|
52
|
-
};
|
|
53
|
-
export declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
export interface PromptInputMessage {
|
|
55
|
-
text: string;
|
|
56
|
-
files: FileUIPart[];
|
|
57
|
-
}
|
|
58
|
-
export type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
|
|
59
|
-
accept?: string;
|
|
60
|
-
multiple?: boolean;
|
|
61
|
-
globalDrop?: boolean;
|
|
62
|
-
syncHiddenInput?: boolean;
|
|
63
|
-
maxFiles?: number;
|
|
64
|
-
maxFileSize?: number;
|
|
65
|
-
onError?: (err: {
|
|
66
|
-
code: "max_files" | "max_file_size" | "accept";
|
|
67
|
-
message: string;
|
|
68
|
-
}) => void;
|
|
69
|
-
onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
|
|
70
|
-
};
|
|
71
|
-
export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
72
|
-
export type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
73
|
-
export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
74
|
-
export type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
|
|
75
|
-
export declare const PromptInputTextarea: ({ onChange, onKeyDown, className, placeholder, ...props }: PromptInputTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
76
|
-
export type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
77
|
-
export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
78
|
-
export type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
79
|
-
export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
81
|
-
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react/jsx-runtime").JSX.Element;
|
|
82
|
-
export type PromptInputButtonProps = ComponentProps<typeof InputGroupButton>;
|
|
83
|
-
export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
84
|
-
export type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
85
|
-
export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
86
|
-
export type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
|
|
87
|
-
export declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
88
|
-
export type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
89
|
-
export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
|
-
export type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
91
|
-
export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
92
|
-
export type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
|
|
93
|
-
status?: ChatStatus;
|
|
94
|
-
onStop?: () => void;
|
|
95
|
-
};
|
|
96
|
-
export declare const PromptInputSubmit: ({ className, variant, size, status, onStop, onClick, children, ...props }: PromptInputSubmitProps) => import("react/jsx-runtime").JSX.Element;
|
|
97
|
-
export type PromptInputSelectProps = ComponentProps<typeof Select>;
|
|
98
|
-
export declare const PromptInputSelect: (props: PromptInputSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
99
|
-
export type PromptInputSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
100
|
-
export declare const PromptInputSelectTrigger: ({ className, ...props }: PromptInputSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
101
|
-
export type PromptInputSelectContentProps = ComponentProps<typeof SelectContent>;
|
|
102
|
-
export declare const PromptInputSelectContent: ({ className, ...props }: PromptInputSelectContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
103
|
-
export type PromptInputSelectItemProps = ComponentProps<typeof SelectItem>;
|
|
104
|
-
export declare const PromptInputSelectItem: ({ className, ...props }: PromptInputSelectItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
105
|
-
export type PromptInputSelectValueProps = ComponentProps<typeof SelectValue>;
|
|
106
|
-
export declare const PromptInputSelectValue: ({ className, ...props }: PromptInputSelectValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
107
|
-
export type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
|
|
108
|
-
export declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
109
|
-
export type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
|
|
110
|
-
export declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
111
|
-
export type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
|
|
112
|
-
export declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
113
|
-
export type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
|
|
114
|
-
export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
115
|
-
export type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
|
|
116
|
-
export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
117
|
-
export type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
|
|
118
|
-
export declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
119
|
-
export type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
120
|
-
export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
121
|
-
export type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
|
|
122
|
-
export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
123
|
-
export type PromptInputCommandProps = ComponentProps<typeof Command>;
|
|
124
|
-
export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => import("react/jsx-runtime").JSX.Element;
|
|
125
|
-
export type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
|
|
126
|
-
export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
127
|
-
export type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
|
|
128
|
-
export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => import("react/jsx-runtime").JSX.Element;
|
|
129
|
-
export type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
130
|
-
export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
131
|
-
export type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
|
|
132
|
-
export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
133
|
-
export type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
|
|
134
|
-
export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
135
|
-
export type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
136
|
-
export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export * from './prompt-input/hooks';
|
|
2
|
+
export * from './prompt-input/context';
|
|
3
|
+
export * from './prompt-input/core';
|
|
4
|
+
export * from './prompt-input/compounds';
|
|
@@ -11,5 +11,7 @@ export interface BackToTopProps {
|
|
|
11
11
|
bottom?: string | number;
|
|
12
12
|
/** Position from right (in pixels or CSS value) */
|
|
13
13
|
right?: string | number;
|
|
14
|
+
/** Optional target scroll container element id. Falls back to window. */
|
|
15
|
+
targetId?: string;
|
|
14
16
|
}
|
|
15
|
-
export declare function BackToTop({ threshold, className, bottom, right, }: BackToTopProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
export declare function BackToTop({ threshold, className, bottom, right, targetId, }: BackToTopProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -2,11 +2,11 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
declare const avatarVariants: (props?: ({
|
|
5
|
-
size?: "default" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
|
+
size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> & VariantProps<typeof avatarVariants>;
|
|
8
8
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
-
size?: "default" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
12
12
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -7,7 +7,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "xs" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
12
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface SearchableSelectProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onValueChange: (value: string) => void;
|
|
4
|
+
options: {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
searchPlaceholder?: string;
|
|
10
|
+
emptyText?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function SearchableSelect({ value, onValueChange, options, placeholder, searchPlaceholder, emptyText, }: SearchableSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SessionDetailLayout(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SessionStatus } from '../types/api';
|
|
2
|
+
interface SessionStatusBadgeProps {
|
|
3
|
+
status: SessionStatus;
|
|
4
|
+
className?: string;
|
|
5
|
+
iconOnly?: boolean;
|
|
6
|
+
responsive?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function SessionStatusBadge({ status, className, iconOnly, responsive }: SessionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SessionStreamEvent } from '../../types/api';
|
|
2
|
+
interface AcpConversationProps {
|
|
3
|
+
events: SessionStreamEvent[];
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
emptyTitle: string;
|
|
6
|
+
emptyDescription: string;
|
|
7
|
+
onPermissionResponse?: (permissionId: string, option: string) => void;
|
|
8
|
+
isPermissionResponding?: (permissionId: string) => boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function AcpConversation({ events, loading, emptyTitle, emptyDescription, onPermissionResponse, isPermissionResponding, className, }: AcpConversationProps & {
|
|
11
|
+
className?: string;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -4,11 +4,7 @@ interface SessionCreateDialogProps {
|
|
|
4
4
|
onOpenChange: (open: boolean) => void;
|
|
5
5
|
projectPath?: string | null;
|
|
6
6
|
defaultSpecId?: string | null;
|
|
7
|
-
specOptions?: Array<{
|
|
8
|
-
id: string;
|
|
9
|
-
label: string;
|
|
10
|
-
}>;
|
|
11
7
|
onCreated?: (session: Session) => void;
|
|
12
8
|
}
|
|
13
|
-
export declare function SessionCreateDialog({ open, onOpenChange, projectPath, defaultSpecId,
|
|
9
|
+
export declare function SessionCreateDialog({ open, onOpenChange, projectPath, defaultSpecId, onCreated, }: SessionCreateDialogProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
10
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface SessionDurationBadgeProps {
|
|
2
|
+
duration: string;
|
|
3
|
+
/** 'pill' renders a muted rounded badge (sidebar style); 'text' renders inline text (list style) */
|
|
4
|
+
variant?: 'pill' | 'text';
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function SessionDurationBadge({ duration, variant, className }: SessionDurationBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SessionsPopover(): import("react/jsx-runtime").JSX.Element;
|