@leanspec/ui 0.2.25 → 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-BTv7M834.js → _baseUniq-ijHblO0i.js} +1 -1
- package/dist/{arc-GsL4cqyW.js → arc-DSoiQqhG.js} +1 -1
- package/dist/{architecture-U656AL7Q-DL2Qaesc.js → architecture-U656AL7Q-0EY1UA93.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-DhRxYxVL.js → architectureDiagram-VXUJARFQ-CpZ7MNJ1.js} +3 -3
- package/dist/assets/{_baseUniq-Deb5Ms7c.js → _baseUniq-CwL8whuW.js} +1 -1
- package/dist/assets/{arc-Buu9h4aM.js → arc-DQK79yWt.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-C3TCHsQ1.js → architectureDiagram-VXUJARFQ-0lyQJAFV.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-DSFIE2zv.js → blockDiagram-VD42YOAC-De6LVB6b.js} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-BGmtJFyE.js → c4Diagram-YG6GDRKO-DmO_YZpf.js} +1 -1
- package/dist/assets/channel-CPL3ZhB2.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-DMwZgyny.js → chunk-4BX2VUAB-D_i5DxBx.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-BS2IX41E.js → chunk-55IACEB6-CYBqqEaM.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-B8eM1odI.js → chunk-B4BG7PRW-B_kJst0L.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-o67_VCyE.js → chunk-DI55MBZ5-DmQQvuy9.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-BcEYG9iw.js → chunk-FMBD7UC4-DIj1fMOC.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-DTvKnDBL.js → chunk-QN33PNHL-Dob4GXZN.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-Bi5HqsVm.js → chunk-QZHKN3VN-B9l1Ct5_.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-BthbcwRa.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-SzwmDSkS.js → code-block-37QAKDTI-DPta_cDe.js} +1 -1
- package/dist/assets/{cose-bilkent-S5V4N54A-DbRhVW8y.js → cose-bilkent-S5V4N54A-CIbyIxy7.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-D_VH5kFn.js → dagre-6UL2VRFP-DiNoo8UH.js} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-BbXozfvF.js → diagram-PSM6KHXK-oPUYMkQi.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-CI0xoYPG.js → diagram-QEK2KX5R-ekYHp-_K.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-De1ir5Gb.js → diagram-S2PKOQOG-BjESZsAo.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-BFw_wW_L.js → erDiagram-Q2GNP2WA-C18-XmOn.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-DyVvOAX3.js → flowDiagram-NV44I4VS-C_-yn3lU.js} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-DTFARGAn.js → ganttDiagram-JELNMOA3-Da95ISpS.js} +1 -1
- package/dist/assets/{gitGraphDiagram-NY62KEGX-DnO4UpgE.js → gitGraphDiagram-NY62KEGX-CKst-DTk.js} +1 -1
- package/dist/assets/{graph-DUzLz0PA.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-BEUgS7mj.js → infoDiagram-WHAUD3N6-B-KLbNx8.js} +1 -1
- package/dist/assets/{journeyDiagram-XKPGCS4Q-BlNh1zHL.js → journeyDiagram-XKPGCS4Q-Dc0gGxNW.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-D4KqvMxd.js → kanban-definition-3W4ZIXB7-BBl3Os5b.js} +1 -1
- package/dist/assets/{layout-C69Vzf47.js → layout-DUjHnQ3q.js} +1 -1
- package/dist/assets/{min-BgYUCOZC.js → min-B84CwCRn.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-CBfzzNul.js → mindmap-definition-VGOIOE7T-DwXr0an_.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-BH4Rg8wz.js → pieDiagram-ADFJNKIX-kg25OEdx.js} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-BFz2Bllq.js → quadrantDiagram-AYHSOK5B-jzIPJrQC.js} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-DxdMfd_i.js → requirementDiagram-UZGBJVZJ-D7lvVmve.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-CQZM-FY2.js → sankeyDiagram-TZEHDZUN-CkKJUu-X.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-DM3FHm-E.js → sequenceDiagram-WL72ISMW-DWXoU2Xu.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-CquvRUcS.js → stateDiagram-FKZM4ZOC-DKMSa2-u.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-fGhjroU9.js +1 -0
- package/dist/assets/{timeline-definition-IT6M3QCI-peYNY-nB.js → timeline-definition-IT6M3QCI-i8tdCjji.js} +1 -1
- package/dist/assets/{treemap-KMMF4GRG-Cr2QSg6a.js → treemap-KMMF4GRG-Bo2ueTP9.js} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-H327siGT.js → xychartDiagram-PRI3JC2R-C54lHEBd.js} +1 -1
- package/dist/{blockDiagram-VD42YOAC-CAgANapr.js → blockDiagram-VD42YOAC-ByO9mclR.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-BUw8hNx5.js → c4Diagram-YG6GDRKO-G9IBNezV.js} +2 -2
- package/dist/{channel-CRd-JKjv.js → channel-TVLaQyE6.js} +1 -1
- package/dist/{chunk-4BX2VUAB-6tNpYwPa.js → chunk-4BX2VUAB-DvQETnkD.js} +1 -1
- package/dist/{chunk-55IACEB6-2hXhhF7j.js → chunk-55IACEB6-Fx760vrL.js} +1 -1
- package/dist/{chunk-B4BG7PRW-C-2biLpP.js → chunk-B4BG7PRW-BdBF-s3l.js} +4 -4
- package/dist/{chunk-DI55MBZ5-Cp5Rk4Z4.js → chunk-DI55MBZ5-Bq1Xpipe.js} +3 -3
- package/dist/{chunk-FMBD7UC4-MdCVmzo1.js → chunk-FMBD7UC4-CHwx9e7Z.js} +1 -1
- package/dist/{chunk-QN33PNHL-B4huGwhH.js → chunk-QN33PNHL-29-xlpoh.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DBNnz3QF.js → chunk-QZHKN3VN-B4R9UyOO.js} +1 -1
- package/dist/{chunk-TZMSLE5B-C0UUeY_R.js → chunk-TZMSLE5B-D7ZMH86x.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CNDoWJPi.js → classDiagram-2ON5EDUG-BZJNp72Q.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CNDoWJPi.js → classDiagram-v2-WZHVMYZB-BZJNp72Q.js} +2 -2
- package/dist/{clone-NOdph9FW.js → clone-BuM257qi.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-CGzTFBg6.js → cose-bilkent-S5V4N54A-BDx7dcIS.js} +1 -1
- package/dist/{dagre-6UL2VRFP-Dbb2Qtkd.js → dagre-6UL2VRFP-fvMEdLZ9.js} +5 -5
- package/dist/{diagram-PSM6KHXK-BkHIn4Na.js → diagram-PSM6KHXK-B5DR0Fbv.js} +4 -4
- package/dist/{diagram-QEK2KX5R-C2SOXIsZ.js → diagram-QEK2KX5R-DVAmb4ns.js} +3 -3
- package/dist/{diagram-S2PKOQOG-Dhg7S4sS.js → diagram-S2PKOQOG-oXO-KMCB.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-DNtKi97U.js → erDiagram-Q2GNP2WA-Cw3S1xrg.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-BUqt43hW.js → flowDiagram-NV44I4VS-B41EhOsx.js} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-B2Lg_NoT.js → ganttDiagram-JELNMOA3-CktjaPtm.js} +2 -2
- package/dist/{gitGraph-F6HP7TQM-CHYr4iss.js → gitGraph-F6HP7TQM-BtaG3hDI.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-opS5iBAi.js → gitGraphDiagram-NY62KEGX-DoYr9lJ6.js} +4 -4
- package/dist/{graph-C4lFiFlc.js → graph-aZrSt0UC.js} +2 -2
- package/dist/{index-Y0he5qiC.js → index-2ILPnvAG.js} +8342 -8536
- package/dist/index.html +2 -2
- package/dist/info-NVLQJR56-5Whifced.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-jD1UokkI.js → infoDiagram-WHAUD3N6-C-9mSXCL.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-DiH_3HWQ.js → journeyDiagram-XKPGCS4Q-BZaGhFGN.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-Ct8nHz6y.js → kanban-definition-3W4ZIXB7-DcgJ4LvA.js} +2 -2
- package/dist/{layout-BB0ezvOF.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/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 -137
- package/dist/lib/components/sessions/sessions-popover.d.ts +1 -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/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/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/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 +3 -1
- package/dist/lib/lib/backend-adapter/core.d.ts +16 -3
- package/dist/lib/lib/backend-adapter/http.d.ts +3 -1
- package/dist/lib/lib/backend-adapter/tauri.d.ts +3 -1
- package/dist/lib/locales/en/common.json.d.ts +20 -1
- package/dist/lib/locales/en/errors.json.d.ts +14 -0
- package/dist/lib/locales/zh-CN/common.json.d.ts +47 -1
- package/dist/lib/locales/zh-CN/errors.json.d.ts +14 -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-ui.d.ts +2 -0
- package/dist/lib/types/api.d.ts +17 -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-22T2wQM-.js → linear-DOiEav8w.js} +1 -1
- package/dist/{mermaid-parser.core-7H2TB5OK.js → mermaid-parser.core-CE74cRHV.js} +10 -10
- package/dist/{min-CTCa51YR.js → min-iEZRg5We.js} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-Vr4FAsaw.js → mindmap-definition-VGOIOE7T-B7vK-2rU.js} +3 -3
- package/dist/{packet-BFZMPI3H-DaHUmEbo.js → packet-BFZMPI3H-CRtMZ75O.js} +1 -1
- package/dist/pie-7BOR55EZ-CTCOpJ_s.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-B00pZd9u.js → pieDiagram-ADFJNKIX-B2CycMp2.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-CBFHSPbe.js → quadrantDiagram-AYHSOK5B-DWzMKUVW.js} +2 -2
- package/dist/radar-NHE76QYJ-B-kEmJss.js +5 -0
- package/dist/{requirementDiagram-UZGBJVZJ-CcWV4kDd.js → requirementDiagram-UZGBJVZJ-B1JPpr0N.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-Bh_9B5Is.js → sankeyDiagram-TZEHDZUN-DUe4DMeI.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-CXSDC0SA.js → sequenceDiagram-WL72ISMW-D1ka_qcb.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-BSe9CFeA.js → stateDiagram-FKZM4ZOC-kHECs8c-.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-Ci8JXu6f.js → stateDiagram-v2-4FDKWEC3-DtTw2e8h.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-KvPKQjWb.js → timeline-definition-IT6M3QCI-B9QaWiVQ.js} +2 -2
- package/dist/{treemap-KMMF4GRG-CQejoiGu.js → treemap-KMMF4GRG-Ba6NXlAy.js} +1 -1
- package/dist/ui.css +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-BgtmCQ1i.js → xychartDiagram-PRI3JC2R-Cx42bjo1.js} +2 -2
- package/package.json +2 -2
- package/dist/assets/channel-DXSNL_In.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-DF__c9oZ.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-DF__c9oZ.js +0 -1
- package/dist/assets/clone-yzvp7c46.js +0 -1
- package/dist/assets/index-8bAo-Ya1.js +0 -2242
- package/dist/assets/index-DpQZDEhA.css +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-fmuxwJig.js +0 -1
- package/dist/info-NVLQJR56-CtYMindw.js +0 -5
- package/dist/lib/components/sessions/sessions-drawer.d.ts +0 -1
- package/dist/pie-7BOR55EZ-CdGJxDmJ.js +0 -5
- package/dist/radar-NHE76QYJ-BdSRFNw4.js +0 -5
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConfigFeatures } from './ConfigFeatures';
|
|
2
|
+
import { ConfigStructure } from './ConfigStructure';
|
|
3
|
+
import { DraftStatusConfig } from './DraftStatusConfig';
|
|
4
|
+
/**
|
|
5
|
+
* LeanSpec configuration structure
|
|
6
|
+
*/
|
|
7
|
+
export type LeanSpecConfig = {
|
|
8
|
+
template: string | null;
|
|
9
|
+
specsDir: string | null;
|
|
10
|
+
structure: ConfigStructure | null;
|
|
11
|
+
features: ConfigFeatures | null;
|
|
12
|
+
draftStatus: DraftStatusConfig | null;
|
|
13
|
+
templates: {
|
|
14
|
+
[key in string]?: string;
|
|
15
|
+
} | null;
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for list specs
|
|
3
|
+
*/
|
|
4
|
+
export type ListSpecsQuery = {
|
|
5
|
+
status: string | null;
|
|
6
|
+
priority: string | null;
|
|
7
|
+
tags: string | null;
|
|
8
|
+
assignee: string | null;
|
|
9
|
+
limit: number | null;
|
|
10
|
+
offset: number | null;
|
|
11
|
+
cursor: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* When true, return pre-built hierarchy tree structure for performance
|
|
14
|
+
*/
|
|
15
|
+
hierarchy: boolean | null;
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HierarchyNode } from './HierarchyNode';
|
|
2
|
+
import { SpecSummary } from './SpecSummary';
|
|
3
|
+
/**
|
|
4
|
+
* Response for list specs endpoint
|
|
5
|
+
*/
|
|
6
|
+
export type ListSpecsResponse = {
|
|
7
|
+
specs: Array<SpecSummary>;
|
|
8
|
+
total: number;
|
|
9
|
+
nextCursor: string | null;
|
|
10
|
+
projectId: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Pre-built hierarchy tree (only when hierarchy=true query param)
|
|
13
|
+
*/
|
|
14
|
+
hierarchy: Array<HierarchyNode> | null;
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Metadata update request
|
|
3
|
+
*/
|
|
4
|
+
export type MetadataUpdate = {
|
|
5
|
+
status: string | null;
|
|
6
|
+
priority: string | null;
|
|
7
|
+
tags: Array<string> | null;
|
|
8
|
+
assignee: string | null;
|
|
9
|
+
addDependsOn: Array<string> | null;
|
|
10
|
+
removeDependsOn: Array<string> | null;
|
|
11
|
+
parent: string | null | null;
|
|
12
|
+
expectedContentHash: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Skip completion verification when setting status to complete
|
|
15
|
+
*/
|
|
16
|
+
force: boolean | null;
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ContextFile } from './ContextFile';
|
|
2
|
+
import { ProjectConfigResponse } from './ProjectConfigResponse';
|
|
3
|
+
/**
|
|
4
|
+
* Project context response
|
|
5
|
+
*/
|
|
6
|
+
export type ProjectContextResponse = {
|
|
7
|
+
agentInstructions: Array<ContextFile>;
|
|
8
|
+
config: ProjectConfigResponse;
|
|
9
|
+
projectDocs: Array<ContextFile>;
|
|
10
|
+
totalTokens: number;
|
|
11
|
+
projectRoot: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DetectionConfig } from './DetectionConfig';
|
|
2
|
+
export type RunnerDefinition = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string | null;
|
|
5
|
+
command: string | null;
|
|
6
|
+
args: Array<string>;
|
|
7
|
+
env: {
|
|
8
|
+
[key in string]?: string;
|
|
9
|
+
};
|
|
10
|
+
detection: DetectionConfig | null;
|
|
11
|
+
symlink_file: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Controls how the session prompt is passed to the runner CLI.
|
|
14
|
+
* - `Some(flag)` — prepend `flag` before the prompt value (e.g. `"--print"`).
|
|
15
|
+
* - `Some("-")` — suppress prompt injection (runner doesn't accept a prompt arg).
|
|
16
|
+
* - `None` — append the prompt as a positional argument.
|
|
17
|
+
*/
|
|
18
|
+
prompt_flag: string | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { SessionMode } from './SessionMode';
|
|
2
|
+
import { SessionStatus } from './SessionStatus';
|
|
3
|
+
/**
|
|
4
|
+
* A coding session
|
|
5
|
+
*/
|
|
6
|
+
export type Session = {
|
|
7
|
+
/**
|
|
8
|
+
* Unique session ID (UUID)
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* Project path where session runs
|
|
13
|
+
*/
|
|
14
|
+
project_path: string;
|
|
15
|
+
/**
|
|
16
|
+
* Specs attached as context (zero or more)
|
|
17
|
+
*/
|
|
18
|
+
spec_ids: Array<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Optional custom prompt/instructions for the session
|
|
21
|
+
*/
|
|
22
|
+
prompt: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* AI runner used (claude, copilot, codex, opencode)
|
|
25
|
+
*/
|
|
26
|
+
runner: string;
|
|
27
|
+
/**
|
|
28
|
+
* Session mode (guided, autonomous)
|
|
29
|
+
*/
|
|
30
|
+
mode: SessionMode;
|
|
31
|
+
/**
|
|
32
|
+
* Current session status
|
|
33
|
+
*/
|
|
34
|
+
status: SessionStatus;
|
|
35
|
+
/**
|
|
36
|
+
* Exit code (None if still running)
|
|
37
|
+
*/
|
|
38
|
+
exit_code: number | null;
|
|
39
|
+
/**
|
|
40
|
+
* When session started
|
|
41
|
+
*/
|
|
42
|
+
started_at: string;
|
|
43
|
+
/**
|
|
44
|
+
* When session ended (None if still running)
|
|
45
|
+
*/
|
|
46
|
+
ended_at: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Duration in milliseconds
|
|
49
|
+
*/
|
|
50
|
+
duration_ms: bigint | null;
|
|
51
|
+
/**
|
|
52
|
+
* Estimated token count
|
|
53
|
+
*/
|
|
54
|
+
token_count: bigint | null;
|
|
55
|
+
/**
|
|
56
|
+
* Additional metadata
|
|
57
|
+
*/
|
|
58
|
+
metadata: {
|
|
59
|
+
[key in string]?: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* When session was created in database
|
|
63
|
+
*/
|
|
64
|
+
created_at: string;
|
|
65
|
+
/**
|
|
66
|
+
* When session was last updated
|
|
67
|
+
*/
|
|
68
|
+
updated_at: string;
|
|
69
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SessionMode } from './SessionMode';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for creating a new session
|
|
4
|
+
*/
|
|
5
|
+
export type SessionConfig = {
|
|
6
|
+
/**
|
|
7
|
+
* Project path
|
|
8
|
+
*/
|
|
9
|
+
project_path: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specs attached as context (zero or more)
|
|
12
|
+
*/
|
|
13
|
+
spec_ids: Array<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Optional custom prompt/instructions for the session
|
|
16
|
+
*/
|
|
17
|
+
prompt: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* AI runner to use
|
|
20
|
+
*/
|
|
21
|
+
runner: string;
|
|
22
|
+
/**
|
|
23
|
+
* Session mode
|
|
24
|
+
*/
|
|
25
|
+
mode: SessionMode;
|
|
26
|
+
/**
|
|
27
|
+
* Maximum iterations for Ralph mode
|
|
28
|
+
*/
|
|
29
|
+
max_iterations: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Working directory
|
|
32
|
+
*/
|
|
33
|
+
working_dir: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Environment variables
|
|
36
|
+
*/
|
|
37
|
+
env_vars: {
|
|
38
|
+
[key in string]?: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Additional arguments for the runner
|
|
42
|
+
*/
|
|
43
|
+
runner_args: Array<string>;
|
|
44
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SpecRelationships } from './SpecRelationships';
|
|
2
|
+
import { SubSpec } from './SubSpec';
|
|
3
|
+
/**
|
|
4
|
+
* Full spec detail for view
|
|
5
|
+
*/
|
|
6
|
+
export type SpecDetail = {
|
|
7
|
+
projectId: string | null;
|
|
8
|
+
id: string;
|
|
9
|
+
specNumber: number | null;
|
|
10
|
+
specName: string;
|
|
11
|
+
title: string | null;
|
|
12
|
+
status: string;
|
|
13
|
+
priority: string | null;
|
|
14
|
+
tags: Array<string>;
|
|
15
|
+
assignee: string | null;
|
|
16
|
+
contentMd: string;
|
|
17
|
+
createdAt: string | null;
|
|
18
|
+
updatedAt: string | null;
|
|
19
|
+
completedAt: string | null;
|
|
20
|
+
filePath: string;
|
|
21
|
+
dependsOn: Array<string>;
|
|
22
|
+
parent: string | null;
|
|
23
|
+
children: Array<string>;
|
|
24
|
+
requiredBy: Array<string>;
|
|
25
|
+
contentHash: string | null;
|
|
26
|
+
tokenCount: number | null;
|
|
27
|
+
tokenStatus: string | null;
|
|
28
|
+
validationStatus: string | null;
|
|
29
|
+
relationships: SpecRelationships | null;
|
|
30
|
+
subSpecs: Array<SubSpec> | null;
|
|
31
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SpecRelationships } from './SpecRelationships';
|
|
2
|
+
/**
|
|
3
|
+
* Lightweight spec for list views
|
|
4
|
+
*/
|
|
5
|
+
export type SpecSummary = {
|
|
6
|
+
projectId: string | null;
|
|
7
|
+
id: string;
|
|
8
|
+
specNumber: number | null;
|
|
9
|
+
specName: string;
|
|
10
|
+
title: string | null;
|
|
11
|
+
status: string;
|
|
12
|
+
priority: string | null;
|
|
13
|
+
tags: Array<string>;
|
|
14
|
+
assignee: string | null;
|
|
15
|
+
createdAt: string | null;
|
|
16
|
+
updatedAt: string | null;
|
|
17
|
+
completedAt: string | null;
|
|
18
|
+
filePath: string;
|
|
19
|
+
dependsOn: Array<string>;
|
|
20
|
+
parent: string | null;
|
|
21
|
+
children: Array<string>;
|
|
22
|
+
requiredBy: Array<string>;
|
|
23
|
+
contentHash: string | null;
|
|
24
|
+
tokenCount: number | null;
|
|
25
|
+
tokenStatus: string | null;
|
|
26
|
+
validationStatus: string | null;
|
|
27
|
+
relationships: SpecRelationships | null;
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PriorityCountItem } from './PriorityCountItem';
|
|
2
|
+
import { StatusCountItem } from './StatusCountItem';
|
|
3
|
+
/**
|
|
4
|
+
* Statistics response
|
|
5
|
+
*/
|
|
6
|
+
export type StatsResponse = {
|
|
7
|
+
totalProjects: number;
|
|
8
|
+
totalSpecs: number;
|
|
9
|
+
specsByStatus: Array<StatusCountItem>;
|
|
10
|
+
specsByPriority: Array<PriorityCountItem>;
|
|
11
|
+
completionRate: number;
|
|
12
|
+
projectId: string | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DetailedBreakdown } from './DetailedBreakdown';
|
|
2
|
+
/**
|
|
3
|
+
* Token breakdown for a spec
|
|
4
|
+
*/
|
|
5
|
+
export type TokenBreakdown = {
|
|
6
|
+
frontmatter: number;
|
|
7
|
+
content: number;
|
|
8
|
+
title: number;
|
|
9
|
+
/**
|
|
10
|
+
* Detailed breakdown by content type
|
|
11
|
+
*/
|
|
12
|
+
detailed: DetailedBreakdown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type { BatchMetadataRequest } from './BatchMetadataRequest';
|
|
2
|
+
export type { BatchMetadataResponse } from './BatchMetadataResponse';
|
|
3
|
+
export type { ChecklistToggledResult } from './ChecklistToggledResult';
|
|
4
|
+
export type { ChecklistToggleItem } from './ChecklistToggleItem';
|
|
5
|
+
export type { ChecklistToggleRequest } from './ChecklistToggleRequest';
|
|
6
|
+
export type { ChecklistToggleResponse } from './ChecklistToggleResponse';
|
|
7
|
+
export type { ConfigFeatures } from './ConfigFeatures';
|
|
8
|
+
export type { ConfigStructure } from './ConfigStructure';
|
|
9
|
+
export type { ContextFile } from './ContextFile';
|
|
10
|
+
export type { CreateSpecRequest } from './CreateSpecRequest';
|
|
11
|
+
export type { DependencyEdge } from './DependencyEdge';
|
|
12
|
+
export type { DependencyGraphResponse } from './DependencyGraphResponse';
|
|
13
|
+
export type { DependencyNode } from './DependencyNode';
|
|
14
|
+
export type { DependencyResponse } from './DependencyResponse';
|
|
15
|
+
export type { DetailedBreakdown } from './DetailedBreakdown';
|
|
16
|
+
export type { DetectionConfig } from './DetectionConfig';
|
|
17
|
+
export type { DetectionResult } from './DetectionResult';
|
|
18
|
+
export type { DraftStatusConfig } from './DraftStatusConfig';
|
|
19
|
+
export type { FrontmatterResponse } from './FrontmatterResponse';
|
|
20
|
+
export type { HealthResponse } from './HealthResponse';
|
|
21
|
+
export type { HierarchyNode } from './HierarchyNode';
|
|
22
|
+
export type { LeanSpecConfig } from './LeanSpecConfig';
|
|
23
|
+
export type { ListSpecsQuery } from './ListSpecsQuery';
|
|
24
|
+
export type { ListSpecsResponse } from './ListSpecsResponse';
|
|
25
|
+
export type { MetadataUpdate } from './MetadataUpdate';
|
|
26
|
+
export type { PriorityCountItem } from './PriorityCountItem';
|
|
27
|
+
export type { ProjectConfigResponse } from './ProjectConfigResponse';
|
|
28
|
+
export type { ProjectContextResponse } from './ProjectContextResponse';
|
|
29
|
+
export type { ProjectValidationResponse } from './ProjectValidationResponse';
|
|
30
|
+
export type { ProjectValidationSummary } from './ProjectValidationSummary';
|
|
31
|
+
export type { RunnerDefinition } from './RunnerDefinition';
|
|
32
|
+
export type { SearchFilters } from './SearchFilters';
|
|
33
|
+
export type { SearchRequest } from './SearchRequest';
|
|
34
|
+
export type { SearchResponse } from './SearchResponse';
|
|
35
|
+
export type { SectionTokenCount } from './SectionTokenCount';
|
|
36
|
+
export type { Session } from './Session';
|
|
37
|
+
export type { SessionConfig } from './SessionConfig';
|
|
38
|
+
export type { SessionMode } from './SessionMode';
|
|
39
|
+
export type { SessionStatus } from './SessionStatus';
|
|
40
|
+
export type { SpecDetail } from './SpecDetail';
|
|
41
|
+
export type { SpecMetadata } from './SpecMetadata';
|
|
42
|
+
export type { SpecPriority } from './SpecPriority';
|
|
43
|
+
export type { SpecRawResponse } from './SpecRawResponse';
|
|
44
|
+
export type { SpecRawUpdateRequest } from './SpecRawUpdateRequest';
|
|
45
|
+
export type { SpecRelationships } from './SpecRelationships';
|
|
46
|
+
export type { SpecStatus } from './SpecStatus';
|
|
47
|
+
export type { SpecSummary } from './SpecSummary';
|
|
48
|
+
export type { SpecTokenResponse } from './SpecTokenResponse';
|
|
49
|
+
export type { SpecValidationError } from './SpecValidationError';
|
|
50
|
+
export type { SpecValidationResponse } from './SpecValidationResponse';
|
|
51
|
+
export type { StatsResponse } from './StatsResponse';
|
|
52
|
+
export type { StatusCountItem } from './StatusCountItem';
|
|
53
|
+
export type { StatusTransition } from './StatusTransition';
|
|
54
|
+
export type { SubSpec } from './SubSpec';
|
|
55
|
+
export type { TokenBreakdown } from './TokenBreakdown';
|
|
56
|
+
export type { UpdateMetadataResponse } from './UpdateMetadataResponse';
|
|
57
|
+
export type { ValidationError } from './ValidationError';
|
|
58
|
+
export type { ValidationResponse } from './ValidationResponse';
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Valid spec status values
|
|
7
|
-
*/
|
|
8
|
-
export type SpecStatus = 'draft' | 'planned' | 'in-progress' | 'complete' | 'archived';
|
|
9
|
-
/**
|
|
10
|
-
* Valid spec priority values
|
|
11
|
-
*/
|
|
12
|
-
export type SpecPriority = 'low' | 'medium' | 'high' | 'critical';
|
|
1
|
+
import { SpecPriority as GeneratedSpecPriority, SpecStatus as GeneratedSpecStatus } from './generated';
|
|
2
|
+
export type SpecStatus = GeneratedSpecStatus;
|
|
3
|
+
export type SpecPriority = GeneratedSpecPriority;
|
|
13
4
|
/**
|
|
14
5
|
* Spec relationship information
|
|
15
6
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as j, aL as p, aM as w, aN as q, aO as k } from "./index-
|
|
1
|
+
import { aK as j, aL as p, aM as w, aN as q, aO as k } from "./index-2ILPnvAG.js";
|
|
2
2
|
import { i as D } from "./init-DjUOC4st.js";
|
|
3
3
|
import { e as M, f as F, a as z, b as B } from "./defaultLocale-D7EN2tov.js";
|
|
4
4
|
function g(n, r) {
|