@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.
Files changed (222) hide show
  1. package/dist/{_baseUniq-BTv7M834.js → _baseUniq-ijHblO0i.js} +1 -1
  2. package/dist/{arc-GsL4cqyW.js → arc-DSoiQqhG.js} +1 -1
  3. package/dist/{architecture-U656AL7Q-DL2Qaesc.js → architecture-U656AL7Q-0EY1UA93.js} +1 -1
  4. package/dist/{architectureDiagram-VXUJARFQ-DhRxYxVL.js → architectureDiagram-VXUJARFQ-CpZ7MNJ1.js} +3 -3
  5. package/dist/assets/{_baseUniq-Deb5Ms7c.js → _baseUniq-CwL8whuW.js} +1 -1
  6. package/dist/assets/{arc-Buu9h4aM.js → arc-DQK79yWt.js} +1 -1
  7. package/dist/assets/{architectureDiagram-VXUJARFQ-C3TCHsQ1.js → architectureDiagram-VXUJARFQ-0lyQJAFV.js} +1 -1
  8. package/dist/assets/{blockDiagram-VD42YOAC-DSFIE2zv.js → blockDiagram-VD42YOAC-De6LVB6b.js} +1 -1
  9. package/dist/assets/{c4Diagram-YG6GDRKO-BGmtJFyE.js → c4Diagram-YG6GDRKO-DmO_YZpf.js} +1 -1
  10. package/dist/assets/channel-CPL3ZhB2.js +1 -0
  11. package/dist/assets/{chunk-4BX2VUAB-DMwZgyny.js → chunk-4BX2VUAB-D_i5DxBx.js} +1 -1
  12. package/dist/assets/{chunk-55IACEB6-BS2IX41E.js → chunk-55IACEB6-CYBqqEaM.js} +1 -1
  13. package/dist/assets/{chunk-B4BG7PRW-B8eM1odI.js → chunk-B4BG7PRW-B_kJst0L.js} +1 -1
  14. package/dist/assets/{chunk-DI55MBZ5-o67_VCyE.js → chunk-DI55MBZ5-DmQQvuy9.js} +1 -1
  15. package/dist/assets/{chunk-FMBD7UC4-BcEYG9iw.js → chunk-FMBD7UC4-DIj1fMOC.js} +1 -1
  16. package/dist/assets/{chunk-QN33PNHL-DTvKnDBL.js → chunk-QN33PNHL-Dob4GXZN.js} +1 -1
  17. package/dist/assets/{chunk-QZHKN3VN-Bi5HqsVm.js → chunk-QZHKN3VN-B9l1Ct5_.js} +1 -1
  18. package/dist/assets/{chunk-TZMSLE5B-BthbcwRa.js → chunk-TZMSLE5B-D5kj2wzj.js} +1 -1
  19. package/dist/assets/classDiagram-2ON5EDUG-BGtOMy27.js +1 -0
  20. package/dist/assets/classDiagram-v2-WZHVMYZB-BGtOMy27.js +1 -0
  21. package/dist/assets/clone-TRq3RsgR.js +1 -0
  22. package/dist/assets/{code-block-37QAKDTI-SzwmDSkS.js → code-block-37QAKDTI-DPta_cDe.js} +1 -1
  23. package/dist/assets/{cose-bilkent-S5V4N54A-DbRhVW8y.js → cose-bilkent-S5V4N54A-CIbyIxy7.js} +1 -1
  24. package/dist/assets/{dagre-6UL2VRFP-D_VH5kFn.js → dagre-6UL2VRFP-DiNoo8UH.js} +1 -1
  25. package/dist/assets/{diagram-PSM6KHXK-BbXozfvF.js → diagram-PSM6KHXK-oPUYMkQi.js} +1 -1
  26. package/dist/assets/{diagram-QEK2KX5R-CI0xoYPG.js → diagram-QEK2KX5R-ekYHp-_K.js} +1 -1
  27. package/dist/assets/{diagram-S2PKOQOG-De1ir5Gb.js → diagram-S2PKOQOG-BjESZsAo.js} +1 -1
  28. package/dist/assets/{erDiagram-Q2GNP2WA-BFw_wW_L.js → erDiagram-Q2GNP2WA-C18-XmOn.js} +1 -1
  29. package/dist/assets/{flowDiagram-NV44I4VS-DyVvOAX3.js → flowDiagram-NV44I4VS-C_-yn3lU.js} +1 -1
  30. package/dist/assets/{ganttDiagram-JELNMOA3-DTFARGAn.js → ganttDiagram-JELNMOA3-Da95ISpS.js} +1 -1
  31. package/dist/assets/{gitGraphDiagram-NY62KEGX-DnO4UpgE.js → gitGraphDiagram-NY62KEGX-CKst-DTk.js} +1 -1
  32. package/dist/assets/{graph-DUzLz0PA.js → graph-ByVyFk5n.js} +1 -1
  33. package/dist/assets/index-B-FvbnKr.js +2236 -0
  34. package/dist/assets/index-BUH5BNQv.css +1 -0
  35. package/dist/assets/{infoDiagram-WHAUD3N6-BEUgS7mj.js → infoDiagram-WHAUD3N6-B-KLbNx8.js} +1 -1
  36. package/dist/assets/{journeyDiagram-XKPGCS4Q-BlNh1zHL.js → journeyDiagram-XKPGCS4Q-Dc0gGxNW.js} +1 -1
  37. package/dist/assets/{kanban-definition-3W4ZIXB7-D4KqvMxd.js → kanban-definition-3W4ZIXB7-BBl3Os5b.js} +1 -1
  38. package/dist/assets/{layout-C69Vzf47.js → layout-DUjHnQ3q.js} +1 -1
  39. package/dist/assets/{min-BgYUCOZC.js → min-B84CwCRn.js} +1 -1
  40. package/dist/assets/{mindmap-definition-VGOIOE7T-CBfzzNul.js → mindmap-definition-VGOIOE7T-DwXr0an_.js} +1 -1
  41. package/dist/assets/{pieDiagram-ADFJNKIX-BH4Rg8wz.js → pieDiagram-ADFJNKIX-kg25OEdx.js} +1 -1
  42. package/dist/assets/{quadrantDiagram-AYHSOK5B-BFz2Bllq.js → quadrantDiagram-AYHSOK5B-jzIPJrQC.js} +1 -1
  43. package/dist/assets/{requirementDiagram-UZGBJVZJ-DxdMfd_i.js → requirementDiagram-UZGBJVZJ-D7lvVmve.js} +1 -1
  44. package/dist/assets/{sankeyDiagram-TZEHDZUN-CQZM-FY2.js → sankeyDiagram-TZEHDZUN-CkKJUu-X.js} +1 -1
  45. package/dist/assets/{sequenceDiagram-WL72ISMW-DM3FHm-E.js → sequenceDiagram-WL72ISMW-DWXoU2Xu.js} +1 -1
  46. package/dist/assets/{stateDiagram-FKZM4ZOC-CquvRUcS.js → stateDiagram-FKZM4ZOC-DKMSa2-u.js} +1 -1
  47. package/dist/assets/stateDiagram-v2-4FDKWEC3-fGhjroU9.js +1 -0
  48. package/dist/assets/{timeline-definition-IT6M3QCI-peYNY-nB.js → timeline-definition-IT6M3QCI-i8tdCjji.js} +1 -1
  49. package/dist/assets/{treemap-KMMF4GRG-Cr2QSg6a.js → treemap-KMMF4GRG-Bo2ueTP9.js} +1 -1
  50. package/dist/assets/{xychartDiagram-PRI3JC2R-H327siGT.js → xychartDiagram-PRI3JC2R-C54lHEBd.js} +1 -1
  51. package/dist/{blockDiagram-VD42YOAC-CAgANapr.js → blockDiagram-VD42YOAC-ByO9mclR.js} +5 -5
  52. package/dist/{c4Diagram-YG6GDRKO-BUw8hNx5.js → c4Diagram-YG6GDRKO-G9IBNezV.js} +2 -2
  53. package/dist/{channel-CRd-JKjv.js → channel-TVLaQyE6.js} +1 -1
  54. package/dist/{chunk-4BX2VUAB-6tNpYwPa.js → chunk-4BX2VUAB-DvQETnkD.js} +1 -1
  55. package/dist/{chunk-55IACEB6-2hXhhF7j.js → chunk-55IACEB6-Fx760vrL.js} +1 -1
  56. package/dist/{chunk-B4BG7PRW-C-2biLpP.js → chunk-B4BG7PRW-BdBF-s3l.js} +4 -4
  57. package/dist/{chunk-DI55MBZ5-Cp5Rk4Z4.js → chunk-DI55MBZ5-Bq1Xpipe.js} +3 -3
  58. package/dist/{chunk-FMBD7UC4-MdCVmzo1.js → chunk-FMBD7UC4-CHwx9e7Z.js} +1 -1
  59. package/dist/{chunk-QN33PNHL-B4huGwhH.js → chunk-QN33PNHL-29-xlpoh.js} +1 -1
  60. package/dist/{chunk-QZHKN3VN-DBNnz3QF.js → chunk-QZHKN3VN-B4R9UyOO.js} +1 -1
  61. package/dist/{chunk-TZMSLE5B-C0UUeY_R.js → chunk-TZMSLE5B-D7ZMH86x.js} +1 -1
  62. package/dist/{classDiagram-v2-WZHVMYZB-CNDoWJPi.js → classDiagram-2ON5EDUG-BZJNp72Q.js} +2 -2
  63. package/dist/{classDiagram-2ON5EDUG-CNDoWJPi.js → classDiagram-v2-WZHVMYZB-BZJNp72Q.js} +2 -2
  64. package/dist/{clone-NOdph9FW.js → clone-BuM257qi.js} +1 -1
  65. package/dist/{cose-bilkent-S5V4N54A-CGzTFBg6.js → cose-bilkent-S5V4N54A-BDx7dcIS.js} +1 -1
  66. package/dist/{dagre-6UL2VRFP-Dbb2Qtkd.js → dagre-6UL2VRFP-fvMEdLZ9.js} +5 -5
  67. package/dist/{diagram-PSM6KHXK-BkHIn4Na.js → diagram-PSM6KHXK-B5DR0Fbv.js} +4 -4
  68. package/dist/{diagram-QEK2KX5R-C2SOXIsZ.js → diagram-QEK2KX5R-DVAmb4ns.js} +3 -3
  69. package/dist/{diagram-S2PKOQOG-Dhg7S4sS.js → diagram-S2PKOQOG-oXO-KMCB.js} +3 -3
  70. package/dist/{erDiagram-Q2GNP2WA-DNtKi97U.js → erDiagram-Q2GNP2WA-Cw3S1xrg.js} +4 -4
  71. package/dist/{flowDiagram-NV44I4VS-BUqt43hW.js → flowDiagram-NV44I4VS-B41EhOsx.js} +5 -5
  72. package/dist/{ganttDiagram-JELNMOA3-B2Lg_NoT.js → ganttDiagram-JELNMOA3-CktjaPtm.js} +2 -2
  73. package/dist/{gitGraph-F6HP7TQM-CHYr4iss.js → gitGraph-F6HP7TQM-BtaG3hDI.js} +1 -1
  74. package/dist/{gitGraphDiagram-NY62KEGX-opS5iBAi.js → gitGraphDiagram-NY62KEGX-DoYr9lJ6.js} +4 -4
  75. package/dist/{graph-C4lFiFlc.js → graph-aZrSt0UC.js} +2 -2
  76. package/dist/{index-Y0he5qiC.js → index-2ILPnvAG.js} +8342 -8536
  77. package/dist/index.html +2 -2
  78. package/dist/info-NVLQJR56-5Whifced.js +5 -0
  79. package/dist/{infoDiagram-WHAUD3N6-jD1UokkI.js → infoDiagram-WHAUD3N6-C-9mSXCL.js} +2 -2
  80. package/dist/{journeyDiagram-XKPGCS4Q-DiH_3HWQ.js → journeyDiagram-XKPGCS4Q-BZaGhFGN.js} +4 -4
  81. package/dist/{kanban-definition-3W4ZIXB7-Ct8nHz6y.js → kanban-definition-3W4ZIXB7-DcgJ4LvA.js} +2 -2
  82. package/dist/{layout-BB0ezvOF.js → layout-CZbv8l1x.js} +4 -4
  83. package/dist/lib/components/dependencies/dependency-filter-bar.d.ts +18 -0
  84. package/dist/lib/components/dependencies/dependency-graph-view.d.ts +14 -0
  85. package/dist/lib/components/dependencies/spec-selector.d.ts +10 -0
  86. package/dist/lib/components/library/ai-elements/prompt-input/AttachmentBar.d.ts +2 -0
  87. package/dist/lib/components/library/ai-elements/prompt-input/ContextSelector.d.ts +2 -0
  88. package/dist/lib/components/library/ai-elements/prompt-input/PromptTextArea.d.ts +2 -0
  89. package/dist/lib/components/library/ai-elements/prompt-input/VoiceInput.d.ts +2 -0
  90. package/dist/lib/components/library/ai-elements/prompt-input/compounds.d.ts +72 -0
  91. package/dist/lib/components/library/ai-elements/prompt-input/context.d.ts +14 -0
  92. package/dist/lib/components/library/ai-elements/prompt-input/core.d.ts +16 -0
  93. package/dist/lib/components/library/ai-elements/prompt-input/hooks.d.ts +46 -0
  94. package/dist/lib/components/library/ai-elements/prompt-input.d.ts +4 -137
  95. package/dist/lib/components/sessions/sessions-popover.d.ts +1 -0
  96. package/dist/lib/components/settings/models-settings/ModelEditor.d.ts +2 -0
  97. package/dist/lib/components/settings/models-settings/ModelTestPanel.d.ts +2 -0
  98. package/dist/lib/components/settings/models-settings/ModelsList.d.ts +2 -0
  99. package/dist/lib/components/settings/models-settings/custom-provider-card.d.ts +9 -0
  100. package/dist/lib/components/settings/models-settings/custom-provider-dialog.d.ts +8 -0
  101. package/dist/lib/components/settings/models-settings/provider-api-key-dialog.d.ts +7 -0
  102. package/dist/lib/components/settings/models-settings/provider-models-dialog.d.ts +8 -0
  103. package/dist/lib/components/settings/models-settings/registry-provider-card.d.ts +10 -0
  104. package/dist/lib/components/spec-detail/spec-detail-content.d.ts +9 -0
  105. package/dist/lib/components/spec-detail/spec-detail-header.d.ts +36 -0
  106. package/dist/lib/components/spec-detail/sub-spec-tabs.d.ts +14 -0
  107. package/dist/lib/components/specs-nav/SidebarGrouping.d.ts +2 -0
  108. package/dist/lib/components/specs-nav/SidebarSearch.d.ts +2 -0
  109. package/dist/lib/components/specs-nav/SidebarSpecList.d.ts +2 -0
  110. package/dist/lib/components/specs-nav/sidebar-filters.d.ts +18 -0
  111. package/dist/lib/components/specs-nav/sidebar-spec-list.d.ts +22 -0
  112. package/dist/lib/hooks/useSessionStatusToasts.d.ts +4 -0
  113. package/dist/lib/hooks/useSpecsQuery.d.ts +6 -1
  114. package/dist/lib/index.js +366 -361
  115. package/dist/lib/lib/api-error.d.ts +2 -0
  116. package/dist/lib/lib/api.d.ts +3 -1
  117. package/dist/lib/lib/backend-adapter/core.d.ts +16 -3
  118. package/dist/lib/lib/backend-adapter/http.d.ts +3 -1
  119. package/dist/lib/lib/backend-adapter/tauri.d.ts +3 -1
  120. package/dist/lib/locales/en/common.json.d.ts +20 -1
  121. package/dist/lib/locales/en/errors.json.d.ts +14 -0
  122. package/dist/lib/locales/zh-CN/common.json.d.ts +47 -1
  123. package/dist/lib/locales/zh-CN/errors.json.d.ts +14 -0
  124. package/dist/lib/pages/dependencies/DependencyControls.d.ts +2 -0
  125. package/dist/lib/pages/dependencies/DependencyFilters.d.ts +2 -0
  126. package/dist/lib/pages/dependencies/DependencyGraph.d.ts +2 -0
  127. package/dist/lib/pages/spec-detail/SpecContent.d.ts +2 -0
  128. package/dist/lib/pages/spec-detail/SpecHeader.d.ts +2 -0
  129. package/dist/lib/pages/spec-detail/SpecMetadataPanel.d.ts +2 -0
  130. package/dist/lib/pages/spec-detail/SpecRelationships.d.ts +2 -0
  131. package/dist/lib/stores/sessions-ui.d.ts +2 -0
  132. package/dist/lib/types/api.d.ts +17 -5
  133. package/dist/lib/types/generated/BatchMetadataRequest.d.ts +6 -0
  134. package/dist/lib/types/generated/BatchMetadataResponse.d.ts +9 -0
  135. package/dist/lib/types/generated/ChecklistToggleItem.d.ts +7 -0
  136. package/dist/lib/types/generated/ChecklistToggleRequest.d.ts +12 -0
  137. package/dist/lib/types/generated/ChecklistToggleResponse.d.ts +9 -0
  138. package/dist/lib/types/generated/ChecklistToggledResult.d.ts +8 -0
  139. package/dist/lib/types/generated/ConfigFeatures.d.ts +3 -0
  140. package/dist/lib/types/generated/ConfigStructure.d.ts +7 -0
  141. package/dist/lib/types/generated/ContextFile.d.ts +10 -0
  142. package/dist/lib/types/generated/CreateSpecRequest.d.ts +14 -0
  143. package/dist/lib/types/generated/DependencyEdge.d.ts +5 -0
  144. package/dist/lib/types/generated/DependencyGraphResponse.d.ts +10 -0
  145. package/dist/lib/types/generated/DependencyNode.d.ts +8 -0
  146. package/dist/lib/types/generated/DependencyResponse.d.ts +9 -0
  147. package/dist/lib/types/generated/DetailedBreakdown.d.ts +22 -0
  148. package/dist/lib/types/generated/DetectionConfig.d.ts +6 -0
  149. package/dist/lib/types/generated/DetectionResult.d.ts +6 -0
  150. package/dist/lib/types/generated/DraftStatusConfig.d.ts +3 -0
  151. package/dist/lib/types/generated/FrontmatterResponse.d.ts +15 -0
  152. package/dist/lib/types/generated/HealthResponse.d.ts +7 -0
  153. package/dist/lib/types/generated/HierarchyNode.d.ts +29 -0
  154. package/dist/lib/types/generated/LeanSpecConfig.d.ts +16 -0
  155. package/dist/lib/types/generated/ListSpecsQuery.d.ts +16 -0
  156. package/dist/lib/types/generated/ListSpecsResponse.d.ts +15 -0
  157. package/dist/lib/types/generated/MetadataUpdate.d.ts +17 -0
  158. package/dist/lib/types/generated/PriorityCountItem.d.ts +4 -0
  159. package/dist/lib/types/generated/ProjectConfigResponse.d.ts +9 -0
  160. package/dist/lib/types/generated/ProjectContextResponse.d.ts +12 -0
  161. package/dist/lib/types/generated/ProjectValidationResponse.d.ts +9 -0
  162. package/dist/lib/types/generated/ProjectValidationSummary.d.ts +5 -0
  163. package/dist/lib/types/generated/RunnerDefinition.d.ts +19 -0
  164. package/dist/lib/types/generated/SearchFilters.d.ts +8 -0
  165. package/dist/lib/types/generated/SearchRequest.d.ts +9 -0
  166. package/dist/lib/types/generated/SearchResponse.d.ts +10 -0
  167. package/dist/lib/types/generated/SectionTokenCount.d.ts +7 -0
  168. package/dist/lib/types/generated/Session.d.ts +69 -0
  169. package/dist/lib/types/generated/SessionConfig.d.ts +44 -0
  170. package/dist/lib/types/generated/SessionMode.d.ts +4 -0
  171. package/dist/lib/types/generated/SessionStatus.d.ts +4 -0
  172. package/dist/lib/types/generated/SpecDetail.d.ts +31 -0
  173. package/dist/lib/types/generated/SpecMetadata.d.ts +8 -0
  174. package/dist/lib/types/generated/SpecPriority.d.ts +4 -0
  175. package/dist/lib/types/generated/SpecRawResponse.d.ts +8 -0
  176. package/dist/lib/types/generated/SpecRawUpdateRequest.d.ts +7 -0
  177. package/dist/lib/types/generated/SpecRelationships.d.ts +7 -0
  178. package/dist/lib/types/generated/SpecStatus.d.ts +4 -0
  179. package/dist/lib/types/generated/SpecSummary.d.ts +28 -0
  180. package/dist/lib/types/generated/SpecTokenResponse.d.ts +9 -0
  181. package/dist/lib/types/generated/SpecValidationError.d.ts +10 -0
  182. package/dist/lib/types/generated/SpecValidationResponse.d.ts +8 -0
  183. package/dist/lib/types/generated/StatsResponse.d.ts +13 -0
  184. package/dist/lib/types/generated/StatusCountItem.d.ts +4 -0
  185. package/dist/lib/types/generated/StatusTransition.d.ts +8 -0
  186. package/dist/lib/types/generated/SubSpec.d.ts +8 -0
  187. package/dist/lib/types/generated/TokenBreakdown.d.ts +13 -0
  188. package/dist/lib/types/generated/UpdateMetadataResponse.d.ts +9 -0
  189. package/dist/lib/types/generated/ValidationError.d.ts +5 -0
  190. package/dist/lib/types/generated/ValidationResponse.d.ts +8 -0
  191. package/dist/lib/types/generated/index.d.ts +58 -0
  192. package/dist/lib/types/specs.d.ts +3 -12
  193. package/dist/{linear-22T2wQM-.js → linear-DOiEav8w.js} +1 -1
  194. package/dist/{mermaid-parser.core-7H2TB5OK.js → mermaid-parser.core-CE74cRHV.js} +10 -10
  195. package/dist/{min-CTCa51YR.js → min-iEZRg5We.js} +2 -2
  196. package/dist/{mindmap-definition-VGOIOE7T-Vr4FAsaw.js → mindmap-definition-VGOIOE7T-B7vK-2rU.js} +3 -3
  197. package/dist/{packet-BFZMPI3H-DaHUmEbo.js → packet-BFZMPI3H-CRtMZ75O.js} +1 -1
  198. package/dist/pie-7BOR55EZ-CTCOpJ_s.js +5 -0
  199. package/dist/{pieDiagram-ADFJNKIX-B00pZd9u.js → pieDiagram-ADFJNKIX-B2CycMp2.js} +4 -4
  200. package/dist/{quadrantDiagram-AYHSOK5B-CBFHSPbe.js → quadrantDiagram-AYHSOK5B-DWzMKUVW.js} +2 -2
  201. package/dist/radar-NHE76QYJ-B-kEmJss.js +5 -0
  202. package/dist/{requirementDiagram-UZGBJVZJ-CcWV4kDd.js → requirementDiagram-UZGBJVZJ-B1JPpr0N.js} +3 -3
  203. package/dist/{sankeyDiagram-TZEHDZUN-Bh_9B5Is.js → sankeyDiagram-TZEHDZUN-DUe4DMeI.js} +1 -1
  204. package/dist/{sequenceDiagram-WL72ISMW-CXSDC0SA.js → sequenceDiagram-WL72ISMW-D1ka_qcb.js} +3 -3
  205. package/dist/{stateDiagram-FKZM4ZOC-BSe9CFeA.js → stateDiagram-FKZM4ZOC-kHECs8c-.js} +4 -4
  206. package/dist/{stateDiagram-v2-4FDKWEC3-Ci8JXu6f.js → stateDiagram-v2-4FDKWEC3-DtTw2e8h.js} +2 -2
  207. package/dist/{timeline-definition-IT6M3QCI-KvPKQjWb.js → timeline-definition-IT6M3QCI-B9QaWiVQ.js} +2 -2
  208. package/dist/{treemap-KMMF4GRG-CQejoiGu.js → treemap-KMMF4GRG-Ba6NXlAy.js} +1 -1
  209. package/dist/ui.css +1 -1
  210. package/dist/{xychartDiagram-PRI3JC2R-BgtmCQ1i.js → xychartDiagram-PRI3JC2R-Cx42bjo1.js} +2 -2
  211. package/package.json +2 -2
  212. package/dist/assets/channel-DXSNL_In.js +0 -1
  213. package/dist/assets/classDiagram-2ON5EDUG-DF__c9oZ.js +0 -1
  214. package/dist/assets/classDiagram-v2-WZHVMYZB-DF__c9oZ.js +0 -1
  215. package/dist/assets/clone-yzvp7c46.js +0 -1
  216. package/dist/assets/index-8bAo-Ya1.js +0 -2242
  217. package/dist/assets/index-DpQZDEhA.css +0 -1
  218. package/dist/assets/stateDiagram-v2-4FDKWEC3-fmuxwJig.js +0 -1
  219. package/dist/info-NVLQJR56-CtYMindw.js +0 -5
  220. package/dist/lib/components/sessions/sessions-drawer.d.ts +0 -1
  221. package/dist/pie-7BOR55EZ-CdGJxDmJ.js +0 -5
  222. 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,4 @@
1
+ export type PriorityCountItem = {
2
+ priority: string;
3
+ count: number;
4
+ };
@@ -0,0 +1,9 @@
1
+ import { ContextFile } from './ContextFile';
2
+ import { LeanSpecConfig } from './LeanSpecConfig';
3
+ /**
4
+ * Project config container
5
+ */
6
+ export type ProjectConfigResponse = {
7
+ file: ContextFile | null;
8
+ parsed: LeanSpecConfig | null;
9
+ };
@@ -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,9 @@
1
+ import { ProjectValidationSummary } from './ProjectValidationSummary';
2
+ /**
3
+ * Project validation summary
4
+ */
5
+ export type ProjectValidationResponse = {
6
+ projectId: string;
7
+ path: string;
8
+ validation: ProjectValidationSummary;
9
+ };
@@ -0,0 +1,5 @@
1
+ export type ProjectValidationSummary = {
2
+ isValid: boolean;
3
+ error: string | null;
4
+ specsDir: string | null;
5
+ };
@@ -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,8 @@
1
+ /**
2
+ * Search filters
3
+ */
4
+ export type SearchFilters = {
5
+ status: string | null;
6
+ priority: string | null;
7
+ tags: Array<string> | null;
8
+ };
@@ -0,0 +1,9 @@
1
+ import { SearchFilters } from './SearchFilters';
2
+ /**
3
+ * Request body for search
4
+ */
5
+ export type SearchRequest = {
6
+ query: string;
7
+ filters: SearchFilters | null;
8
+ projectId: string | null;
9
+ };
@@ -0,0 +1,10 @@
1
+ import { SpecSummary } from './SpecSummary';
2
+ /**
3
+ * Response for search endpoint
4
+ */
5
+ export type SearchResponse = {
6
+ results: Array<SpecSummary>;
7
+ total: number;
8
+ query: string;
9
+ projectId: string | null;
10
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Section token count for h2 sections
3
+ */
4
+ export type SectionTokenCount = {
5
+ heading: string;
6
+ tokens: number;
7
+ };
@@ -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,4 @@
1
+ /**
2
+ * Session mode - controls behavior during execution
3
+ */
4
+ export type SessionMode = "guided" | "autonomous" | "ralph";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Session status
3
+ */
4
+ export type SessionStatus = "pending" | "running" | "paused" | "completed" | "failed" | "cancelled";
@@ -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,8 @@
1
+ /**
2
+ * Metadata for a single spec (tokens + validation)
3
+ */
4
+ export type SpecMetadata = {
5
+ tokenCount: number;
6
+ tokenStatus: string;
7
+ validationStatus: string;
8
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Priority of a spec
3
+ */
4
+ export type SpecPriority = "low" | "medium" | "high" | "critical";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Raw spec content response
3
+ */
4
+ export type SpecRawResponse = {
5
+ content: string;
6
+ contentHash: string;
7
+ filePath: string;
8
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Request to update raw spec content
3
+ */
4
+ export type SpecRawUpdateRequest = {
5
+ content: string;
6
+ expectedContentHash: string | null;
7
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Spec relationships container
3
+ */
4
+ export type SpecRelationships = {
5
+ dependsOn: Array<string>;
6
+ requiredBy: Array<string> | null;
7
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Status of a spec
3
+ */
4
+ export type SpecStatus = "draft" | "planned" | "in-progress" | "complete" | "archived";
@@ -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,9 @@
1
+ import { TokenBreakdown } from './TokenBreakdown';
2
+ /**
3
+ * Spec token response
4
+ */
5
+ export type SpecTokenResponse = {
6
+ tokenCount: number;
7
+ tokenStatus: string;
8
+ tokenBreakdown: TokenBreakdown;
9
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Spec validation error
3
+ */
4
+ export type SpecValidationError = {
5
+ severity: string;
6
+ message: string;
7
+ line: number | null;
8
+ type: string;
9
+ suggestion: string | null;
10
+ };
@@ -0,0 +1,8 @@
1
+ import { SpecValidationError } from './SpecValidationError';
2
+ /**
3
+ * Spec validation response
4
+ */
5
+ export type SpecValidationResponse = {
6
+ status: string;
7
+ errors: Array<SpecValidationError>;
8
+ };
@@ -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,4 @@
1
+ export type StatusCountItem = {
2
+ status: string;
3
+ count: number;
4
+ };
@@ -0,0 +1,8 @@
1
+ import { SpecStatus } from './SpecStatus';
2
+ /**
3
+ * A status transition record for tracking spec lifecycle
4
+ */
5
+ export type StatusTransition = {
6
+ status: SpecStatus;
7
+ at: string;
8
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Sub-spec metadata for spec detail payloads
3
+ */
4
+ export type SubSpec = {
5
+ name: string;
6
+ file: string;
7
+ content: string;
8
+ };
@@ -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,9 @@
1
+ import { FrontmatterResponse } from './FrontmatterResponse';
2
+ /**
3
+ * Metadata update response
4
+ */
5
+ export type UpdateMetadataResponse = {
6
+ success: boolean;
7
+ specId: string;
8
+ frontmatter: FrontmatterResponse;
9
+ };
@@ -0,0 +1,5 @@
1
+ export type ValidationError = {
2
+ severity: string;
3
+ message: string;
4
+ spec: string | null;
5
+ };
@@ -0,0 +1,8 @@
1
+ import { ValidationError } from './ValidationError';
2
+ /**
3
+ * Validation result
4
+ */
5
+ export type ValidationResponse = {
6
+ isValid: boolean;
7
+ errors: Array<ValidationError>;
8
+ };
@@ -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
- * Spec-related TypeScript types
3
- * Framework-agnostic types for spec data structures
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-Y0he5qiC.js";
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) {