@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/lib/lib/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIError, BackendAdapter } from './backend-adapter';
|
|
2
|
-
import { ListParams, Spec, SpecDetail, Stats, DependencyGraph, MachinesResponse, Session, SessionLog, SessionMode, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse } from '../types/api';
|
|
2
|
+
import { FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, DependencyGraph, MachinesResponse, Session, SessionLog, SessionMode, SpecSearchFilters, SpecSearchResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse } from '../types/api';
|
|
3
3
|
import { ChatConfig } from '../types/chat-config';
|
|
4
4
|
import { ModelsRegistryResponse } from '../types/models-registry';
|
|
5
5
|
import { ChatStorageInfo } from './backend-adapter/core';
|
|
@@ -65,6 +65,7 @@ declare class ProjectAPI {
|
|
|
65
65
|
getProjectStats(projectId: string): Promise<Stats>;
|
|
66
66
|
getDependencies(specName?: string): Promise<DependencyGraph>;
|
|
67
67
|
listSessions(params?: {
|
|
68
|
+
projectId?: string;
|
|
68
69
|
specId?: string;
|
|
69
70
|
status?: string;
|
|
70
71
|
runner?: string;
|
|
@@ -72,14 +73,18 @@ declare class ProjectAPI {
|
|
|
72
73
|
getSession(sessionId: string): Promise<Session>;
|
|
73
74
|
createSession(payload: {
|
|
74
75
|
projectPath: string;
|
|
76
|
+
specIds?: string[];
|
|
75
77
|
specId?: string | null;
|
|
78
|
+
prompt?: string | null;
|
|
76
79
|
runner?: string;
|
|
77
80
|
mode: SessionMode;
|
|
81
|
+
model?: string;
|
|
78
82
|
}): Promise<Session>;
|
|
79
83
|
startSession(sessionId: string): Promise<Session>;
|
|
80
84
|
pauseSession(sessionId: string): Promise<Session>;
|
|
81
85
|
resumeSession(sessionId: string): Promise<Session>;
|
|
82
86
|
stopSession(sessionId: string): Promise<Session>;
|
|
87
|
+
respondToSessionPermission(sessionId: string, permissionId: string, option: string): Promise<Session>;
|
|
83
88
|
archiveSession(sessionId: string, options?: {
|
|
84
89
|
compress?: boolean;
|
|
85
90
|
}): Promise<import('./backend-adapter').SessionArchiveResult>;
|
|
@@ -91,6 +96,7 @@ declare class ProjectAPI {
|
|
|
91
96
|
skipValidation?: boolean;
|
|
92
97
|
}): Promise<RunnerListResponse>;
|
|
93
98
|
getRunner(runnerId: string, projectPath?: string): Promise<RunnerDefinition>;
|
|
99
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
94
100
|
createRunner(payload: {
|
|
95
101
|
projectPath: string;
|
|
96
102
|
runner: {
|
|
@@ -111,7 +117,7 @@ declare class ProjectAPI {
|
|
|
111
117
|
env?: Record<string, string>;
|
|
112
118
|
};
|
|
113
119
|
scope?: RunnerScope;
|
|
114
|
-
}): Promise<
|
|
120
|
+
}): Promise<RunnerDefinition>;
|
|
115
121
|
deleteRunner(runnerId: string, payload: {
|
|
116
122
|
projectPath: string;
|
|
117
123
|
scope?: RunnerScope;
|
|
@@ -130,6 +136,10 @@ declare class ProjectAPI {
|
|
|
130
136
|
}) => Promise<ModelsRegistryResponse>;
|
|
131
137
|
refreshModelsRegistry: () => Promise<void>;
|
|
132
138
|
setProviderApiKey: (providerId: string, apiKey: string, baseUrl?: string) => Promise<void>;
|
|
139
|
+
getFiles(path?: string): Promise<FileListResponse>;
|
|
140
|
+
getFile(path: string): Promise<FileContentResponse>;
|
|
141
|
+
searchFiles(query: string, limit?: number): Promise<FileSearchResponse>;
|
|
142
|
+
searchSpecs(query: string, filters?: SpecSearchFilters): Promise<SpecSearchResponse>;
|
|
133
143
|
}
|
|
134
144
|
export declare const api: ProjectAPI;
|
|
135
145
|
export { APIError };
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse } from '../../types/api';
|
|
1
|
+
import { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, SpecSearchFilters, SpecSearchResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse } from '../../types/api';
|
|
2
2
|
import { ChatConfig } from '../../types/chat-config';
|
|
3
3
|
import { ModelsRegistryResponse } from '../../types/models-registry';
|
|
4
4
|
export interface ChatStorageInfo {
|
|
5
5
|
path: string;
|
|
6
6
|
sizeBytes: number;
|
|
7
7
|
}
|
|
8
|
+
export interface StructuredApiError {
|
|
9
|
+
code: string;
|
|
10
|
+
message: string;
|
|
11
|
+
details?: unknown;
|
|
12
|
+
}
|
|
8
13
|
export declare class APIError extends Error {
|
|
9
14
|
status: number;
|
|
10
|
-
|
|
15
|
+
code?: string;
|
|
16
|
+
details?: unknown;
|
|
17
|
+
constructor(status: number, message: string, options?: {
|
|
18
|
+
code?: string;
|
|
19
|
+
details?: unknown;
|
|
20
|
+
});
|
|
21
|
+
toStructured(): StructuredApiError;
|
|
11
22
|
}
|
|
12
23
|
/**
|
|
13
24
|
* Backend adapter interface - abstracts the communication layer
|
|
@@ -66,6 +77,7 @@ export interface BackendAdapter {
|
|
|
66
77
|
getProjectContext(projectId: string): Promise<ProjectContext>;
|
|
67
78
|
listDirectory(path?: string): Promise<DirectoryListResponse>;
|
|
68
79
|
listSessions(params?: {
|
|
80
|
+
projectId?: string;
|
|
69
81
|
specId?: string;
|
|
70
82
|
status?: string;
|
|
71
83
|
runner?: string;
|
|
@@ -73,14 +85,19 @@ export interface BackendAdapter {
|
|
|
73
85
|
getSession(sessionId: string): Promise<Session>;
|
|
74
86
|
createSession(payload: {
|
|
75
87
|
projectPath: string;
|
|
88
|
+
specIds?: string[];
|
|
89
|
+
/** @deprecated Use specIds instead */
|
|
76
90
|
specId?: string | null;
|
|
91
|
+
prompt?: string | null;
|
|
77
92
|
runner?: string;
|
|
78
93
|
mode: SessionMode;
|
|
94
|
+
model?: string;
|
|
79
95
|
}): Promise<Session>;
|
|
80
96
|
startSession(sessionId: string): Promise<Session>;
|
|
81
97
|
pauseSession(sessionId: string): Promise<Session>;
|
|
82
98
|
resumeSession(sessionId: string): Promise<Session>;
|
|
83
99
|
stopSession(sessionId: string): Promise<Session>;
|
|
100
|
+
respondToSessionPermission(sessionId: string, permissionId: string, option: string): Promise<Session>;
|
|
84
101
|
archiveSession(sessionId: string, options?: {
|
|
85
102
|
compress?: boolean;
|
|
86
103
|
}): Promise<SessionArchiveResult>;
|
|
@@ -92,6 +109,7 @@ export interface BackendAdapter {
|
|
|
92
109
|
skipValidation?: boolean;
|
|
93
110
|
}): Promise<RunnerListResponse>;
|
|
94
111
|
getRunner(runnerId: string, projectPath?: string): Promise<RunnerDefinition>;
|
|
112
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
95
113
|
createRunner(payload: {
|
|
96
114
|
projectPath: string;
|
|
97
115
|
runner: {
|
|
@@ -112,7 +130,7 @@ export interface BackendAdapter {
|
|
|
112
130
|
env?: Record<string, string>;
|
|
113
131
|
};
|
|
114
132
|
scope?: RunnerScope;
|
|
115
|
-
}): Promise<
|
|
133
|
+
}): Promise<RunnerDefinition>;
|
|
116
134
|
deleteRunner(runnerId: string, payload: {
|
|
117
135
|
projectPath: string;
|
|
118
136
|
scope?: RunnerScope;
|
|
@@ -131,5 +149,9 @@ export interface BackendAdapter {
|
|
|
131
149
|
}): Promise<ModelsRegistryResponse>;
|
|
132
150
|
refreshModelsRegistry(): Promise<void>;
|
|
133
151
|
setProviderApiKey(providerId: string, apiKey: string, baseUrl?: string): Promise<void>;
|
|
152
|
+
searchSpecs(projectId: string, query: string, filters?: SpecSearchFilters): Promise<SpecSearchResponse>;
|
|
153
|
+
getProjectFiles(projectId: string, path?: string): Promise<FileListResponse>;
|
|
154
|
+
getProjectFile(projectId: string, path: string): Promise<FileContentResponse>;
|
|
155
|
+
searchProjectFiles(projectId: string, query: string, limit?: number): Promise<FileSearchResponse>;
|
|
134
156
|
}
|
|
135
|
-
export type { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, ChatConfig, ModelsRegistryResponse, };
|
|
157
|
+
export type { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse, ChatConfig, ModelsRegistryResponse, FileListResponse, FileContentResponse, FileSearchResponse, SpecSearchFilters, SpecSearchResponse, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackendAdapter, BatchMetadataResponse, ChatStorageInfo, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, ChatConfig, ModelsRegistryResponse } from './core';
|
|
1
|
+
import { BackendAdapter, BatchMetadataResponse, ChatStorageInfo, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, SpecSearchFilters, SpecSearchResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse, ChatConfig, ModelsRegistryResponse } from './core';
|
|
2
2
|
/**
|
|
3
3
|
* HTTP adapter for web browser - connects to Rust HTTP server
|
|
4
4
|
*/
|
|
@@ -58,6 +58,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
58
58
|
getProjectContext(projectId: string): Promise<ProjectContext>;
|
|
59
59
|
listDirectory(path?: string): Promise<DirectoryListResponse>;
|
|
60
60
|
listSessions(params?: {
|
|
61
|
+
projectId?: string;
|
|
61
62
|
specId?: string;
|
|
62
63
|
status?: string;
|
|
63
64
|
runner?: string;
|
|
@@ -65,14 +66,18 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
65
66
|
getSession(sessionId: string): Promise<Session>;
|
|
66
67
|
createSession(payload: {
|
|
67
68
|
projectPath: string;
|
|
69
|
+
specIds?: string[];
|
|
68
70
|
specId?: string | null;
|
|
71
|
+
prompt?: string | null;
|
|
69
72
|
runner?: string;
|
|
70
73
|
mode: SessionMode;
|
|
74
|
+
model?: string;
|
|
71
75
|
}): Promise<Session>;
|
|
72
76
|
startSession(sessionId: string): Promise<Session>;
|
|
73
77
|
pauseSession(sessionId: string): Promise<Session>;
|
|
74
78
|
resumeSession(sessionId: string): Promise<Session>;
|
|
75
79
|
stopSession(sessionId: string): Promise<Session>;
|
|
80
|
+
respondToSessionPermission(sessionId: string, permissionId: string, option: string): Promise<Session>;
|
|
76
81
|
archiveSession(sessionId: string, options?: {
|
|
77
82
|
compress?: boolean;
|
|
78
83
|
}): Promise<SessionArchiveResult>;
|
|
@@ -84,6 +89,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
84
89
|
skipValidation?: boolean;
|
|
85
90
|
}): Promise<RunnerListResponse>;
|
|
86
91
|
getRunner(runnerId: string, projectPath?: string): Promise<RunnerDefinition>;
|
|
92
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
87
93
|
createRunner(payload: {
|
|
88
94
|
projectPath: string;
|
|
89
95
|
runner: {
|
|
@@ -104,7 +110,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
104
110
|
env?: Record<string, string>;
|
|
105
111
|
};
|
|
106
112
|
scope?: RunnerScope;
|
|
107
|
-
}): Promise<
|
|
113
|
+
}): Promise<RunnerDefinition>;
|
|
108
114
|
deleteRunner(runnerId: string, payload: {
|
|
109
115
|
projectPath: string;
|
|
110
116
|
scope?: RunnerScope;
|
|
@@ -123,4 +129,8 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
123
129
|
}): Promise<ModelsRegistryResponse>;
|
|
124
130
|
refreshModelsRegistry(): Promise<void>;
|
|
125
131
|
setProviderApiKey(providerId: string, apiKey: string, baseUrl?: string): Promise<void>;
|
|
132
|
+
searchSpecs(projectId: string, query: string, filters?: SpecSearchFilters): Promise<SpecSearchResponse>;
|
|
133
|
+
getProjectFiles(projectId: string, path?: string): Promise<FileListResponse>;
|
|
134
|
+
getProjectFile(projectId: string, path: string): Promise<FileContentResponse>;
|
|
135
|
+
searchProjectFiles(projectId: string, query: string, limit?: number): Promise<FileSearchResponse>;
|
|
126
136
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackendAdapter, BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, ChatConfig, ChatStorageInfo, ModelsRegistryResponse, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse } from './core';
|
|
1
|
+
import { BackendAdapter, BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, ChatConfig, ChatStorageInfo, ModelsRegistryResponse, SpecTokenResponse, SpecValidationResponse, SpecSearchFilters, SpecSearchResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse } from './core';
|
|
2
2
|
/**
|
|
3
3
|
* Tauri adapter for desktop app - uses IPC commands
|
|
4
4
|
*/
|
|
@@ -55,6 +55,7 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
55
55
|
getProjectContext(projectId: string): Promise<ProjectContext>;
|
|
56
56
|
listDirectory(path?: string): Promise<DirectoryListResponse>;
|
|
57
57
|
listSessions(params?: {
|
|
58
|
+
projectId?: string;
|
|
58
59
|
specId?: string;
|
|
59
60
|
status?: string;
|
|
60
61
|
runner?: string;
|
|
@@ -62,14 +63,18 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
62
63
|
getSession(sessionId: string): Promise<Session>;
|
|
63
64
|
createSession(payload: {
|
|
64
65
|
projectPath: string;
|
|
66
|
+
specIds?: string[];
|
|
65
67
|
specId?: string | null;
|
|
68
|
+
prompt?: string | null;
|
|
66
69
|
runner?: string;
|
|
67
70
|
mode: SessionMode;
|
|
71
|
+
model?: string;
|
|
68
72
|
}): Promise<Session>;
|
|
69
73
|
startSession(): Promise<Session>;
|
|
70
74
|
pauseSession(): Promise<Session>;
|
|
71
75
|
resumeSession(): Promise<Session>;
|
|
72
76
|
stopSession(): Promise<Session>;
|
|
77
|
+
respondToSessionPermission(): Promise<Session>;
|
|
73
78
|
archiveSession(): Promise<SessionArchiveResult>;
|
|
74
79
|
deleteSession(): Promise<void>;
|
|
75
80
|
getSessionLogs(): Promise<SessionLog[]>;
|
|
@@ -99,12 +104,13 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
99
104
|
env?: Record<string, string>;
|
|
100
105
|
};
|
|
101
106
|
scope?: RunnerScope;
|
|
102
|
-
}): Promise<
|
|
107
|
+
}): Promise<RunnerDefinition>;
|
|
103
108
|
deleteRunner(runnerId: string, payload: {
|
|
104
109
|
projectPath: string;
|
|
105
110
|
scope?: RunnerScope;
|
|
106
111
|
}): Promise<RunnerListResponse>;
|
|
107
112
|
validateRunner(runnerId: string, projectPath?: string): Promise<RunnerValidateResponse>;
|
|
113
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
108
114
|
setDefaultRunner(payload: {
|
|
109
115
|
projectPath: string;
|
|
110
116
|
runnerId: string;
|
|
@@ -118,4 +124,8 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
118
124
|
}): Promise<ModelsRegistryResponse>;
|
|
119
125
|
refreshModelsRegistry(): Promise<void>;
|
|
120
126
|
setProviderApiKey(providerId: string, apiKey: string, baseUrl?: string): Promise<void>;
|
|
127
|
+
getProjectFiles(projectId: string, path?: string): Promise<FileListResponse>;
|
|
128
|
+
getProjectFile(projectId: string, path: string): Promise<FileContentResponse>;
|
|
129
|
+
searchProjectFiles(projectId: string, query: string, limit?: number): Promise<FileSearchResponse>;
|
|
130
|
+
searchSpecs(projectId: string, query: string, filters?: SpecSearchFilters): Promise<SpecSearchResponse>;
|
|
121
131
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Session, SessionLog, SessionStreamEvent } from '../types/api';
|
|
2
|
+
export type AcpFilterType = 'messages' | 'thoughts' | 'tools' | 'plan';
|
|
3
|
+
export declare function isAcpSession(session?: Session | null): boolean;
|
|
4
|
+
export declare function parseStreamEventPayload(payload: unknown): SessionStreamEvent | null;
|
|
5
|
+
export declare function parseSessionLog(log: SessionLog): SessionStreamEvent;
|
|
6
|
+
export declare function appendStreamEvent(events: SessionStreamEvent[], next: SessionStreamEvent): SessionStreamEvent[];
|
|
7
|
+
export declare function getAcpFilterType(event: SessionStreamEvent): AcpFilterType | null;
|
|
8
|
+
export declare function getActiveToolCall(events: SessionStreamEvent[]): {
|
|
9
|
+
tool: string;
|
|
10
|
+
id: string;
|
|
11
|
+
} | null;
|
|
12
|
+
export declare function getPlanProgress(events: SessionStreamEvent[]): {
|
|
13
|
+
completed: number;
|
|
14
|
+
total: number;
|
|
15
|
+
} | null;
|
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LucideIcon } from 'lucide-react';
|
|
2
|
+
import { Session, SessionMode, SessionStatus } from '../types/api';
|
|
3
|
+
export interface SessionStatusConfig {
|
|
4
|
+
icon: LucideIcon;
|
|
5
|
+
label: string;
|
|
6
|
+
labelKey: string;
|
|
7
|
+
className: string;
|
|
8
|
+
dotClassName: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Session status badge configuration
|
|
12
|
+
* Aligned with spec status badge pattern from badge-config.ts
|
|
13
|
+
*/
|
|
14
|
+
export declare const sessionStatusConfig: Record<SessionStatus, SessionStatusConfig>;
|
|
15
|
+
export interface SessionModeConfig {
|
|
16
|
+
icon: LucideIcon;
|
|
17
|
+
label: string;
|
|
18
|
+
labelKey: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const sessionModeConfig: Record<SessionMode, SessionModeConfig>;
|
|
2
21
|
export declare const SESSION_STATUS_STYLES: Record<SessionStatus, string>;
|
|
3
22
|
export declare const SESSION_STATUS_DOT_STYLES: Record<SessionStatus, string>;
|
|
4
23
|
export declare function getSessionDurationMs(session: Session, now?: number): number | null;
|
|
@@ -6,3 +25,8 @@ export declare function formatDuration(ms: number): string;
|
|
|
6
25
|
export declare function formatSessionDuration(session: Session, now?: number): string | null;
|
|
7
26
|
export declare function formatTokenCount(tokens?: number | null): string | null;
|
|
8
27
|
export declare function estimateSessionCost(tokens?: number | null): number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Get translated runner display name, falling back to the raw runner ID
|
|
30
|
+
* with the first letter capitalized.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getRunnerDisplayName(runnerId: string, t: (key: string) => string): string;
|
|
@@ -20,6 +20,8 @@ declare const _default: {
|
|
|
20
20
|
"allSpecifications": "All Specifications",
|
|
21
21
|
"sessions": "Sessions",
|
|
22
22
|
"sessionsDescription": "Monitor AI sessions",
|
|
23
|
+
"files": "Files",
|
|
24
|
+
"filesDescription": "Browse project codebase",
|
|
23
25
|
"dependencyGraph": "Dependency Graph",
|
|
24
26
|
"analytics": "Analytics",
|
|
25
27
|
"projectContext": "Project Context",
|
|
@@ -88,6 +90,11 @@ declare const _default: {
|
|
|
88
90
|
"emptyLogs": "No logs recorded yet.",
|
|
89
91
|
"status": {
|
|
90
92
|
"pending": "Pending",
|
|
93
|
+
"indicators": {
|
|
94
|
+
"running": "Session running",
|
|
95
|
+
"attention": "Session needs attention",
|
|
96
|
+
"completedRecent": "Session completed recently"
|
|
97
|
+
},
|
|
91
98
|
"running": "Running",
|
|
92
99
|
"paused": "Paused",
|
|
93
100
|
"completed": "Completed",
|
|
@@ -102,6 +109,7 @@ declare const _default: {
|
|
|
102
109
|
"resume": "Resume",
|
|
103
110
|
"archive": "Archive",
|
|
104
111
|
"stop": "Stop",
|
|
112
|
+
"viewAll": "View all",
|
|
105
113
|
"logs": "View Logs",
|
|
106
114
|
"view": "View",
|
|
107
115
|
"retry": "Retry",
|
|
@@ -115,6 +123,7 @@ declare const _default: {
|
|
|
115
123
|
"labels": {
|
|
116
124
|
"runner": "Runner",
|
|
117
125
|
"mode": "Mode",
|
|
126
|
+
"model": "Model",
|
|
118
127
|
"started": "Started",
|
|
119
128
|
"ended": "Ended",
|
|
120
129
|
"duration": "Duration",
|
|
@@ -122,6 +131,12 @@ declare const _default: {
|
|
|
122
131
|
"spec": "Spec",
|
|
123
132
|
"specId": "Spec ID",
|
|
124
133
|
"specIdPlaceholder": "Expected Spec ID",
|
|
134
|
+
"prompt": "Initial Prompt",
|
|
135
|
+
"promptPlaceholder": "Optional instructions or context for the AI runner",
|
|
136
|
+
"promptTemplateDefault": "Implement the following specs:\n\n{specs}",
|
|
137
|
+
"promptPreview": "Effective prompt preview",
|
|
138
|
+
"promptPreviewEmpty": "Attach specs or enter a custom prompt to preview what will be sent.",
|
|
139
|
+
"attachSpec": "@ spec",
|
|
125
140
|
"noSpec": "No spec",
|
|
126
141
|
"tokens": "Tokens",
|
|
127
142
|
"cost": "Estimated cost",
|
|
@@ -130,12 +145,44 @@ declare const _default: {
|
|
|
130
145
|
"unknownTime": "Unknown",
|
|
131
146
|
"autoScroll": "Auto-scroll",
|
|
132
147
|
"logs": "Logs",
|
|
148
|
+
"plan": "Plan",
|
|
149
|
+
"protocolAcp": "ACP",
|
|
150
|
+
"protocolCli": "CLI",
|
|
151
|
+
"activeTool": "Tool: {{tool}}",
|
|
152
|
+
"planProgress": "Plan: {{completed}}/{{total}}",
|
|
133
153
|
"completed": "Completed"
|
|
134
154
|
},
|
|
135
155
|
"modes": {
|
|
136
156
|
"autonomous": "Autonomous",
|
|
137
157
|
"guided": "Guided",
|
|
138
|
-
"ralph": "Ralph"
|
|
158
|
+
"ralph": "Ralph (deprecated)"
|
|
159
|
+
},
|
|
160
|
+
"runners": {
|
|
161
|
+
"claude": "Claude",
|
|
162
|
+
"copilot": "GitHub Copilot",
|
|
163
|
+
"codex": "Codex",
|
|
164
|
+
"opencode": "OpenCode",
|
|
165
|
+
"aider": "Aider",
|
|
166
|
+
"cline": "Cline",
|
|
167
|
+
"gemini": "Gemini",
|
|
168
|
+
"cursor": "Cursor",
|
|
169
|
+
"windsurf": "Windsurf",
|
|
170
|
+
"droid": "Droid",
|
|
171
|
+
"kiro": "Kiro",
|
|
172
|
+
"kimi": "Kimi",
|
|
173
|
+
"qodo": "Qodo",
|
|
174
|
+
"amp": "Amp",
|
|
175
|
+
"trae": "Trae",
|
|
176
|
+
"qwen-code": "Qwen Code",
|
|
177
|
+
"goose": "Goose",
|
|
178
|
+
"openhands": "OpenHands",
|
|
179
|
+
"continue": "Continue",
|
|
180
|
+
"crush": "Crush",
|
|
181
|
+
"roo": "Roo",
|
|
182
|
+
"codebuddy": "CodeBuddy",
|
|
183
|
+
"kilo": "Kilo",
|
|
184
|
+
"augment": "Augment",
|
|
185
|
+
"antigravity": "Antigravity"
|
|
139
186
|
},
|
|
140
187
|
"select": {
|
|
141
188
|
"placeholder": "Select...",
|
|
@@ -154,6 +201,12 @@ declare const _default: {
|
|
|
154
201
|
"load": "Failed to load sessions.",
|
|
155
202
|
"create": "Failed to create session.",
|
|
156
203
|
"noProjectPath": "Project path missing for this workspace."
|
|
204
|
+
},
|
|
205
|
+
"permissions": {
|
|
206
|
+
"allow_once": "Allow once",
|
|
207
|
+
"allow_always": "Always allow",
|
|
208
|
+
"reject": "Reject",
|
|
209
|
+
"responding": "Sending response..."
|
|
157
210
|
}
|
|
158
211
|
},
|
|
159
212
|
"sessionsPage": {
|
|
@@ -183,6 +236,15 @@ declare const _default: {
|
|
|
183
236
|
"emptyDescription": "Create a new session to start tracking AI runs.",
|
|
184
237
|
"noResultsTitle": "No matching sessions",
|
|
185
238
|
"noResultsDescription": "Try adjusting your filters or search."
|
|
239
|
+
},
|
|
240
|
+
"groups": {
|
|
241
|
+
"active": "Active",
|
|
242
|
+
"today": "Today",
|
|
243
|
+
"yesterday": "Yesterday",
|
|
244
|
+
"older": "Older"
|
|
245
|
+
},
|
|
246
|
+
"labels": {
|
|
247
|
+
"noSpecs": "No specs"
|
|
186
248
|
}
|
|
187
249
|
},
|
|
188
250
|
"sessionDetail": {
|
|
@@ -197,7 +259,21 @@ declare const _default: {
|
|
|
197
259
|
"logsDescription": "Streaming output from this session.",
|
|
198
260
|
"filters": {
|
|
199
261
|
"search": "Search logs",
|
|
200
|
-
"autoScroll": "Auto-scroll"
|
|
262
|
+
"autoScroll": "Auto-scroll",
|
|
263
|
+
"acp": {
|
|
264
|
+
"messages": "Messages",
|
|
265
|
+
"thoughts": "Thoughts",
|
|
266
|
+
"tools": "Tool Calls",
|
|
267
|
+
"plan": "Plan"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"displayMode": {
|
|
271
|
+
"messages": "Messages",
|
|
272
|
+
"verbose": "Verbose"
|
|
273
|
+
},
|
|
274
|
+
"actions": {
|
|
275
|
+
"download": "Download logs as file",
|
|
276
|
+
"copyLogs": "Copy logs to clipboard"
|
|
201
277
|
},
|
|
202
278
|
"state": {
|
|
203
279
|
"notFoundTitle": "Session unavailable",
|
|
@@ -283,6 +359,8 @@ declare const _default: {
|
|
|
283
359
|
"toggleModelSettings": "Toggle model settings",
|
|
284
360
|
"openChat": "Open AI Chat",
|
|
285
361
|
"openFullChat": "Full Chat",
|
|
362
|
+
"attachSpec": "@ spec",
|
|
363
|
+
"specContextPrefix": "Use the following specs as context:",
|
|
286
364
|
"toolExecution": {
|
|
287
365
|
"status": {
|
|
288
366
|
"failed": "Failed",
|
|
@@ -651,6 +729,7 @@ declare const _default: {
|
|
|
651
729
|
"filters": {
|
|
652
730
|
"status": "Status",
|
|
653
731
|
"showUnavailable": "Show unavailable",
|
|
732
|
+
"showIdeRunners": "Show IDE runners",
|
|
654
733
|
"source": "Source",
|
|
655
734
|
"allSources": "All Sources",
|
|
656
735
|
"builtin": "Built-in",
|
|
@@ -775,6 +854,8 @@ declare const _default: {
|
|
|
775
854
|
"quickSearch": "Open quick search",
|
|
776
855
|
"toggleChat": "Toggle AI chat",
|
|
777
856
|
"toggleChatSidebar": "Toggle AI chat sidebar",
|
|
857
|
+
"toggleSessionsPopover": "Toggle sessions popover",
|
|
858
|
+
"newSession": "Start new session",
|
|
778
859
|
"focusChatInput": "Focus chat input",
|
|
779
860
|
"newConversation": "New conversation",
|
|
780
861
|
"viewHistory": "View history",
|
|
@@ -824,6 +905,12 @@ declare const _default: {
|
|
|
824
905
|
"collapse": "Collapse sidebar",
|
|
825
906
|
"expand": "Expand sidebar"
|
|
826
907
|
},
|
|
908
|
+
"sessionsSidebar": {
|
|
909
|
+
"searchPlaceholder": "Search sessions...",
|
|
910
|
+
"noResults": "No sessions found",
|
|
911
|
+
"collapse": "Collapse sidebar",
|
|
912
|
+
"expand": "Expand sidebar"
|
|
913
|
+
},
|
|
827
914
|
"specsNavSidebar": {
|
|
828
915
|
"title": "Specifications",
|
|
829
916
|
"searchPlaceholder": "Search specs...",
|
|
@@ -889,7 +976,8 @@ declare const _default: {
|
|
|
889
976
|
"enter": "Enter wide mode",
|
|
890
977
|
"exit": "Exit wide mode"
|
|
891
978
|
},
|
|
892
|
-
"searchPlaceholder": "Search
|
|
979
|
+
"searchPlaceholder": "Search titles, content, tags...",
|
|
980
|
+
"searchHint": "Searches across spec titles, content, and tags",
|
|
893
981
|
"filters": {
|
|
894
982
|
"status": "Status",
|
|
895
983
|
"priority": "Priority",
|
|
@@ -902,6 +990,8 @@ declare const _default: {
|
|
|
902
990
|
"hideArchived": "Hide archived",
|
|
903
991
|
"settings": "Settings",
|
|
904
992
|
"filteredCount": "{{filtered}} of {{total}} specs",
|
|
993
|
+
"showingAll": "Showing all {{count}} sessions",
|
|
994
|
+
"showingFiltered": "Showing {{count}} of {{total}} sessions",
|
|
905
995
|
"sortOptions": {
|
|
906
996
|
"id-desc": "Newest First",
|
|
907
997
|
"id-asc": "Oldest First",
|
|
@@ -1416,6 +1506,28 @@ declare const _default: {
|
|
|
1416
1506
|
"website": "Website",
|
|
1417
1507
|
"support": "Support"
|
|
1418
1508
|
}
|
|
1509
|
+
},
|
|
1510
|
+
"filesPage": {
|
|
1511
|
+
"title": "Files",
|
|
1512
|
+
"description": "Browse source code files in your project.",
|
|
1513
|
+
"loading": "Loading files...",
|
|
1514
|
+
"loadingFile": "Loading file...",
|
|
1515
|
+
"emptyDirectory": "This directory is empty.",
|
|
1516
|
+
"selectFile": "Select a file to view its contents.",
|
|
1517
|
+
"binaryFile": "Binary files cannot be displayed.",
|
|
1518
|
+
"fileTooLarge": "File is too large to display (max 1 MB).",
|
|
1519
|
+
"lines": "{{count}} lines",
|
|
1520
|
+
"bytes": "{{size}} bytes",
|
|
1521
|
+
"copyPath": "Copy path",
|
|
1522
|
+
"pathCopied": "Path copied!",
|
|
1523
|
+
"searchPlaceholder": "Search files...",
|
|
1524
|
+
"clearSearch": "Clear search",
|
|
1525
|
+
"noSearchResults": "No files match your search.",
|
|
1526
|
+
"closeTab": "Close tab",
|
|
1527
|
+
"errors": {
|
|
1528
|
+
"loadFailed": "Failed to load directory.",
|
|
1529
|
+
"fileFailed": "Failed to load file."
|
|
1530
|
+
}
|
|
1419
1531
|
}
|
|
1420
1532
|
};
|
|
1421
1533
|
|
|
@@ -8,6 +8,20 @@ declare const _default: {
|
|
|
8
8
|
"unknownError": "An unknown error occurred",
|
|
9
9
|
"permissionDenied": "Permission denied",
|
|
10
10
|
"operationFailed": "Operation failed",
|
|
11
|
+
"apiCodes": {
|
|
12
|
+
"notFound": "Resource not found",
|
|
13
|
+
"projectNotFound": "Project not found",
|
|
14
|
+
"specNotFound": "Spec not found",
|
|
15
|
+
"noProject": "No project selected",
|
|
16
|
+
"invalidRequest": "Invalid request",
|
|
17
|
+
"unauthorized": "Unauthorized",
|
|
18
|
+
"validationFailed": "Validation failed",
|
|
19
|
+
"databaseError": "Database error",
|
|
20
|
+
"configError": "Configuration error",
|
|
21
|
+
"toolNotFound": "Tool not found",
|
|
22
|
+
"toolError": "Tool execution failed",
|
|
23
|
+
"internalError": "Internal server error"
|
|
24
|
+
},
|
|
11
25
|
"pageError": {
|
|
12
26
|
"title": "Something went wrong",
|
|
13
27
|
"description": "The page failed to render."
|