@e-llm-studio/requirement-ai 0.0.316 → 0.0.318
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/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
- package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/userstory-approval-transform.utils.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
- package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/features/RequirementAI/utils/userstory-approval-transform.utils.js +1 -1
- package/dist/types/src/features/RequirementAI/components/story-screen/BigEnoughPanel.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +7 -0
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/utils/userstory-approval-transform.utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),i=require("../../icons/BigEnoughIcon.js"),n=require("../ai-reasoning/AiReasoningCitationContent.js"),l=require("../RequirementAIWrapper/RequirementAIWrapper.js"),s=require("./BigEnoughPanel.module.css.js");exports.BigEnoughPanel=({customIcons:r,customStyles:t,currentUserStory:a,panelStyles:c,showPanel:u=!1})=>{var d,v,g,p,_,h,y,m;l.useRequirementAI();const[f,b]=o.useState(!!u),j=o.useRef(null);return e.jsxs("div",{onClick:e=>e.stopPropagation(),children:[!u&&e.jsx("button",{ref:j,className:s.default.developerEffortButton,style:null==c?void 0:c.buttonStyle,onClick:e=>{e.stopPropagation(),b(e=>!e)},children:e.jsx(i.default,{color:null==c?void 0:c.iconColor,size:null==c?void 0:c.iconSize})}),f&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:null===s.default||void 0===s.default?void 0:s.default.backdrop,style:u?null==c?void 0:c.showPanelBackdropStyles:null==c?void 0:c.backdropStyle,onClick:e=>{e.stopPropagation(),b(!1)},onWheel:e=>e.stopPropagation()}),e.jsxs("div",{className:`${s.default.dropdown} ${u?s.default.showPanelDropdown:""}`,style:{...null==c?void 0:c.dropdownStyle,...u?null==c?void 0:c.showPanelDropdownStyle:{}},children:[e.jsx(n.default,{cognitiveDecisionHeaders:{mainHeader:`Feature Implementation Score - ${(null==a?void 0:a.big_enough)||0}`},big_enough_block:null===(d=a.big_enough_decision_factors)||void 0===d?void 0:d.big_enough_block,aiReason:{relevance_score:(null===(v=null==a?void 0:a.big_enough_decision_factors)||void 0===v?void 0:v.relevance_score)||0,reason:(null===(g=null==a?void 0:a.big_enough_decision_factors)||void 0===g?void 0:g.score_reason)||"",gap:(null===(p=null==a?void 0:a.big_enough_decision_factors)||void 0===p?void 0:p.gap)||"",id:"big-enough-cd"},customIcons:r,customStyles:t}),(null==a?void 0:a.technicality_score)&&e.jsx(n.default,{cognitiveDecisionHeaders:{mainHeader:`Technicality Score - ${(null===(_=null==a?void 0:a.technicality_score)||void 0===_?void 0:_.score)||0}`},aiReason:{relevance_score:(null===(h=null==a?void 0:a.technicality_score)||void 0===h?void 0:h.score)||0,reason:(null===(y=null==a?void 0:a.technicality_score)||void 0===y?void 0:y.reasoning)||"",gap:(null===(m=null==a?void 0:a.technicality_score)||void 0===m?void 0:m.gap)||"",id:"big-enough-cd"},customIcons:r,customStyles:t})]})]})]})};
|
|
2
2
|
//# sourceMappingURL=BigEnoughPanel.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../utils/proccess-stream.utils.js");exports.useStreamContentHandler=function({setUserStory:i,setAiReasoning:o,setUserStoryCitations:n,onStreamingCompleted:s,isGraphQLCallInProgress:r,knowledgeBase:a,projectAnalyserSummary:l,dataSourceFiles:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../utils/proccess-stream.utils.js");exports.useStreamContentHandler=function({setUserStory:i,setAiReasoning:o,setUserStoryCitations:n,onStreamingCompleted:s,isGraphQLCallInProgress:r,knowledgeBase:a,projectAnalyserSummary:l,dataSourceFiles:c,aiReasoning:u,setRedisValue:d,fetchCitationByBlock:p,isOnDemandCitation:_}){const[m,g]=e.useState({finalGap:"",finalRisk:"",status:"in-progress"}),f=e.useRef(new Set),b=e.useRef(new Set),v=e.useRef(null),h=e.useRef(null),y=e.useRef({gap_items_prompt:"",risk_items_prompt:""}),k=e.useRef(new Set);return e.useEffect(()=>{"complete"!==m.status||r||(console.log("streaming::userstory::onStreamingCompleted"),s(m.finalGap,m.finalRisk),f.current.clear(),b.current.clear(),v.current=null,h.current=null,y.current={gap_items_prompt:"",risk_items_prompt:""},k.current.clear(),g({finalGap:"",finalRisk:"",status:"in-progress"}))},[m,r]),{processStreamContent:function(e,s,r,m){try{console.log("streaming::userstory::completed",m,_),m&&_&&(console.log("streaming::userstory::completed::lib"),g({finalGap:"",finalRisk:"",status:"complete"}));const R=JSON.stringify(e);if(h.current===R)return;h.current=R;let N=[],S=[];e=e.map(e=>{var i;const r=`${(e={...e,subBlockNumber:null!==(i=e.subBlockNumber)&&void 0!==i?i:"1"}).storyNumber}-${e.blockNumber}-${e.subBlockNumber}`;if(k.current.has(r))return null;k.current.add(r);let{outputText:a,reasonings:l,gpt_citation:c,processedDescription:u}=t.processAIReasoningFromBlocks(e.value,e.blockNumber,e.storyNumber,e.description);n(e=>{var t;return c.length>0&&((null==e?void 0:e.gpt_citations)||(e.gpt_citations=[]),null===(t=e.gpt_citations)||void 0===t||t.push(...c)),{...e}}),N.push(...l),S.push([...l]);const d=l.filter(e=>e.on_demand).flatMap(e=>[...e.reason.matchAll(/<a[^>]*href="([^"]+)\?type=on_demand"/g),...e.gap.matchAll(/<a[^>]*href="([^"]+)\?type=on_demand"/g)].map(e=>{const[t,i]=e[1].split("$");return"book_citation_doc"!==t&&"book_citation_pdf"!==t&&"document_citation"!==t?null:{citation_number:i,customMetadata:{type:"document_citation"===t?"book_citation_pdf":t,file_name:"",fileType:"",gcs_upload_url:""}}}).filter(Boolean));d.length&&n(e=>{var t;return{...e,file_citations:[...null!==(t=e.file_citations)&&void 0!==t?t:[],...d]}});let m=`<STORY_NUMBER>${e.storyNumber}<BLOCK_NUMBER>${e.blockNumber}<SUB_BLOCK>${e.subBlockNumber}`;return _||f.current.has(m)||(!async function(e,t,i){var s,r;let a="",l="";try{const c=await p(e,i,t);o(e=>{var t;const i=[...e];return null===(t=c.response.ai_reasonings)||void 0===t||t.forEach(e=>{const t=i.findIndex(t=>t.id===e.id);-1!==t&&e.gap.length>0&&e.reason.length>0&&(i[t]={...e})}),i}),a=(null===(s=c.response)||void 0===s?void 0:s.gap_items_prompt)||"",l=(null===(r=c.response)||void 0===r?void 0:r.risk_items_prompt)||"",(a||l)&&(y.current={gap_items_prompt:a,risk_items_prompt:l}),n(e=>{var t,i,o,n,s,r,a,l,u,d,p,_,m,g;return{...e,appmod_citations:[...null!==(t=e.appmod_citations)&&void 0!==t?t:[],...null!==(i=c.response.appmod_citations)&&void 0!==i?i:[]],audio_citations:[...null!==(o=e.audio_citations)&&void 0!==o?o:[],...null!==(n=c.response.audio_citations)&&void 0!==n?n:[]],file_citations:[...null!==(s=e.file_citations)&&void 0!==s?s:[],...null!==(r=c.response.file_citations)&&void 0!==r?r:[]],image_citations:[...null!==(a=e.image_citations)&&void 0!==a?a:[],...null!==(l=c.response.image_citations)&&void 0!==l?l:[]],rca_citations:[...null!==(u=e.rca_citations)&&void 0!==u?u:[],...null!==(d=c.response.rca_citations)&&void 0!==d?d:[]],web_citations:[...null!==(p=e.web_citations)&&void 0!==p?p:[],...null!==(_=c.response.web_citations)&&void 0!==_?_:[]],readfile_citations:[...null!==(m=e.readfile_citations)&&void 0!==m?m:[],...null!==(g=c.response.readfile_citations)&&void 0!==g?g:[]]}})}catch(t){console.error("[liblogs] processCitationsByBlock error — story:%s block:%s",e.storyNumber,e.blockNumber,t)}finally{let t=`<STORY_NUMBER>${e.storyNumber}<BLOCK_NUMBER>${e.blockNumber}`;if(b.current.add(t),b.current.size===f.current.size){const e=a||y.current.gap_items_prompt,t=l||y.current.risk_items_prompt;g({finalGap:e,finalRisk:t,status:"complete"})}}}({...e,value:a,description:u},l,s),f.current.add(m)),{...e,value:a,description:u}}).filter(Boolean),N.forEach(e=>{o(t=>(t.find(t=>t.id===e.id)||t.push(e),[...t]))}),e.length>0&&e.map(({title:e,section:t,value:o,storyNumber:n,description:s,blockNumber:p,big_enough:_,big_enough_decision_factors:m,technicality_score:g,gapValue:f,confidenceScore:b,metadata:h},y)=>{i(i=>{var k,R,N,B,$,C,O,w;const E=i.findIndex(e=>e.storyNumber===n);if("intro"===t)-1===E?i.push({artifactId:`STORY-${n}-${p}`,title:e,value:o,description:s,storyNumber:n,sub_features:[],section:t,blockNumber:p,aiReasoning:S[y],big_enough:_,big_enough_decision_factors:m,technicality_score:g,gapValue:f,confidenceScore:b,metadata:h}):(i[E].value+=o,i[E].aiReasoning=i[E].aiReasoning||[],null===(R=null===(k=i[E])||void 0===k?void 0:k.aiReasoning)||void 0===R||R.push(...S[y]),i[E].big_enough=_,i[E].big_enough_decision_factors=m,i[E].technicality_score=g,i[E].gapValue=f,i[E].confidenceScore=b,i[E].metadata=h);else{i[E].sub_features||(i[E].sub_features=[]);const s=(null===(B=null===(N=i[E])||void 0===N?void 0:N.sub_features)||void 0===B?void 0:B.findIndex(e=>e.blockNumber===p))||-1;if(-1===s)null===(C=null===($=i[E])||void 0===$?void 0:$.sub_features)||void 0===C||C.push({artifactId:`STORY-${n}-${p}`,title:e,value:o,storyNumber:n,blockNumber:p,section:t,aiReasoning:S[y],big_enough:_,big_enough_decision_factors:m,technicality_score:g,gapValue:f,confidenceScore:b,metadata:h});else{let e=null===(w=null===(O=null==i?void 0:i[E])||void 0===O?void 0:O.sub_features)||void 0===w?void 0:w[s];e.value=(e.value||"")+o,e.aiReasoning=e.aiReasoning||[],e.aiReasoning.push(...S[y]),e.big_enough=_,e.big_enough_decision_factors=m,e.technicality_score=g,e.gapValue=f,e.confidenceScore=b,e.metadata=h}}const I=JSON.stringify(i);return v.current!==I&&(d({key:`streaming-redis-key-${r}`,value:{mmvf_list:i,knowledgeBase:a,projectAnalyserSummary:l,dataSources_files:c,ai_reasonings:u}}),v.current=I),[...i]})})}catch(e){console.error("Error in processing Stream Content",e)}}}};
|
|
2
2
|
//# sourceMappingURL=useStreamContentHandler.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("uuid");const o=e=>{if(!e)return[];return e.split(/(?=<h1>[A-Z]\.\s+.*?<\/h1>)/g).filter(Boolean).map(e=>e.trim())};exports.cloneUserStories=e=>structuredClone(e),exports.createUserStoriesForApproval=t=>{const r=(t,i)=>{const n=o(t.value).map(o=>({contentId:e.v4(),content:o,isApproved:!1})),a={artifactId:t.artifactId,title:t.title,value:n,description:t.description,approval_status:i?void 0:"NOT_APPROVED",big_enough:null==t?void 0:t.big_enough,big_enough_decision_factors:null==t?void 0:t.big_enough_decision_factors,metadata:null==t?void 0:t.metadata,gapValue:null==t?void 0:t.gapValue,confidenceScore:null==t?void 0:t.confidenceScore,storyNumber:t.storyNumber,blockNumber:t.blockNumber,aiReasoning:null==t?void 0:t.aiReasoning,section:null==t?void 0:t.section};return t.sub_features&&t.sub_features.length>0&&(a.sub_features=t.sub_features.map(e=>r(e,!0))),a};return t.map(e=>r(e,!1))},exports.splitByHeaders=o,exports.transformApprovalToUserStory=e=>{const o=e=>{var t;const r=Array.isArray(e.value)?e.value.map(e=>e.content).join("\n\n"):e.value,i={artifactId:e.artifactId,title:e.title,description:e.description,value:r,big_enough:e.big_enough,big_enough_decision_factors:e.big_enough_decision_factors,metadata:null==e?void 0:e.metadata,gapValue:null==e?void 0:e.gapValue,confidenceScore:null==e?void 0:e.confidenceScore,storyNumber:e.storyNumber,blockNumber:e.blockNumber,aiReasoning:null==e?void 0:e.aiReasoning,section:null==e?void 0:e.section};return(null===(t=e.sub_features)||void 0===t?void 0:t.length)&&(i.sub_features=e.sub_features.map(o)),i};return e.map(o)};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("uuid");const o=e=>{if(!e)return[];return e.split(/(?=<h1>[A-Z]\.\s+.*?<\/h1>)/g).filter(Boolean).map(e=>e.trim())};exports.cloneUserStories=e=>structuredClone(e),exports.createUserStoriesForApproval=t=>{const r=(t,i)=>{const n=o(t.value).map(o=>({contentId:e.v4(),content:o,isApproved:!1})),a={artifactId:t.artifactId,title:t.title,value:n,description:t.description,approval_status:i?void 0:"NOT_APPROVED",big_enough:null==t?void 0:t.big_enough,big_enough_decision_factors:null==t?void 0:t.big_enough_decision_factors,technicality_score:null==t?void 0:t.technicality_score,metadata:null==t?void 0:t.metadata,gapValue:null==t?void 0:t.gapValue,confidenceScore:null==t?void 0:t.confidenceScore,storyNumber:t.storyNumber,blockNumber:t.blockNumber,aiReasoning:null==t?void 0:t.aiReasoning,section:null==t?void 0:t.section};return t.sub_features&&t.sub_features.length>0&&(a.sub_features=t.sub_features.map(e=>r(e,!0))),a};return t.map(e=>r(e,!1))},exports.splitByHeaders=o,exports.transformApprovalToUserStory=e=>{const o=e=>{var t;const r=Array.isArray(e.value)?e.value.map(e=>e.content).join("\n\n"):e.value,i={artifactId:e.artifactId,title:e.title,description:e.description,value:r,big_enough:e.big_enough,big_enough_decision_factors:e.big_enough_decision_factors,metadata:null==e?void 0:e.metadata,gapValue:null==e?void 0:e.gapValue,confidenceScore:null==e?void 0:e.confidenceScore,storyNumber:e.storyNumber,blockNumber:e.blockNumber,aiReasoning:null==e?void 0:e.aiReasoning,section:null==e?void 0:e.section};return(null===(t=e.sub_features)||void 0===t?void 0:t.length)&&(i.sub_features=e.sub_features.map(o)),i};return e.map(o)};
|
|
2
2
|
//# sourceMappingURL=userstory-approval-transform.utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as o,jsx as e,Fragment as
|
|
1
|
+
import{jsxs as o,jsx as e,Fragment as i}from"react/jsx-runtime";import{useState as n,useRef as l}from"react";import r from"../../icons/BigEnoughIcon.js";import c from"../ai-reasoning/AiReasoningCitationContent.js";import{useRequirementAI as s}from"../RequirementAIWrapper/RequirementAIWrapper.js";import t from"./BigEnoughPanel.module.css.js";const a=({customIcons:a,customStyles:d,currentUserStory:u,panelStyles:v,showPanel:g=!1})=>{var p,m,h,_,y,b,f,S;s();const[P,k]=n(!!g),w=l(null);return o("div",{onClick:o=>o.stopPropagation(),children:[!g&&e("button",{ref:w,className:t.developerEffortButton,style:null==v?void 0:v.buttonStyle,onClick:o=>{o.stopPropagation(),k(o=>!o)},children:e(r,{color:null==v?void 0:v.iconColor,size:null==v?void 0:v.iconSize})}),P&&o(i,{children:[e("div",{className:null==t?void 0:t.backdrop,style:g?null==v?void 0:v.showPanelBackdropStyles:null==v?void 0:v.backdropStyle,onClick:o=>{o.stopPropagation(),k(!1)},onWheel:o=>o.stopPropagation()}),o("div",{className:`${t.dropdown} ${g?t.showPanelDropdown:""}`,style:{...null==v?void 0:v.dropdownStyle,...g?null==v?void 0:v.showPanelDropdownStyle:{}},children:[e(c,{cognitiveDecisionHeaders:{mainHeader:`Feature Implementation Score - ${(null==u?void 0:u.big_enough)||0}`},big_enough_block:null===(p=u.big_enough_decision_factors)||void 0===p?void 0:p.big_enough_block,aiReason:{relevance_score:(null===(m=null==u?void 0:u.big_enough_decision_factors)||void 0===m?void 0:m.relevance_score)||0,reason:(null===(h=null==u?void 0:u.big_enough_decision_factors)||void 0===h?void 0:h.score_reason)||"",gap:(null===(_=null==u?void 0:u.big_enough_decision_factors)||void 0===_?void 0:_.gap)||"",id:"big-enough-cd"},customIcons:a,customStyles:d}),(null==u?void 0:u.technicality_score)&&e(c,{cognitiveDecisionHeaders:{mainHeader:`Technicality Score - ${(null===(y=null==u?void 0:u.technicality_score)||void 0===y?void 0:y.score)||0}`},aiReason:{relevance_score:(null===(b=null==u?void 0:u.technicality_score)||void 0===b?void 0:b.score)||0,reason:(null===(f=null==u?void 0:u.technicality_score)||void 0===f?void 0:f.reasoning)||"",gap:(null===(S=null==u?void 0:u.technicality_score)||void 0===S?void 0:S.gap)||"",id:"big-enough-cd"},customIcons:a,customStyles:d})]})]})]})};export{a as BigEnoughPanel};
|
|
2
2
|
//# sourceMappingURL=BigEnoughPanel.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as e,useRef as t,useEffect as i}from"react";import{processAIReasoningFromBlocks as o}from"../utils/proccess-stream.utils.js";function n({setUserStory:n,setAiReasoning:r,setUserStoryCitations:s,onStreamingCompleted:a,isGraphQLCallInProgress:l,knowledgeBase:
|
|
1
|
+
import{useState as e,useRef as t,useEffect as i}from"react";import{processAIReasoningFromBlocks as o}from"../utils/proccess-stream.utils.js";function n({setUserStory:n,setAiReasoning:r,setUserStoryCitations:s,onStreamingCompleted:a,isGraphQLCallInProgress:l,knowledgeBase:c,projectAnalyserSummary:u,dataSourceFiles:d,aiReasoning:p,setRedisValue:_,fetchCitationByBlock:m,isOnDemandCitation:g}){const[f,b]=e({finalGap:"",finalRisk:"",status:"in-progress"}),v=t(new Set),h=t(new Set),y=t(null),k=t(null),N=t({gap_items_prompt:"",risk_items_prompt:""}),S=t(new Set);return i(()=>{"complete"!==f.status||l||(console.log("streaming::userstory::onStreamingCompleted"),a(f.finalGap,f.finalRisk),v.current.clear(),h.current.clear(),y.current=null,k.current=null,N.current={gap_items_prompt:"",risk_items_prompt:""},S.current.clear(),b({finalGap:"",finalRisk:"",status:"in-progress"}))},[f,l]),{processStreamContent:function(e,t,i,a){try{console.log("streaming::userstory::completed",a,g),a&&g&&(console.log("streaming::userstory::completed::lib"),b({finalGap:"",finalRisk:"",status:"complete"}));const l=JSON.stringify(e);if(k.current===l)return;k.current=l;let f=[],R=[];e=e.map(e=>{var i;const n=`${(e={...e,subBlockNumber:null!==(i=e.subBlockNumber)&&void 0!==i?i:"1"}).storyNumber}-${e.blockNumber}-${e.subBlockNumber}`;if(S.current.has(n))return null;S.current.add(n);let{outputText:a,reasonings:l,gpt_citation:c,processedDescription:u}=o(e.value,e.blockNumber,e.storyNumber,e.description);s(e=>{var t;return c.length>0&&((null==e?void 0:e.gpt_citations)||(e.gpt_citations=[]),null===(t=e.gpt_citations)||void 0===t||t.push(...c)),{...e}}),f.push(...l),R.push([...l]);const d=l.filter(e=>e.on_demand).flatMap(e=>[...e.reason.matchAll(/<a[^>]*href="([^"]+)\?type=on_demand"/g),...e.gap.matchAll(/<a[^>]*href="([^"]+)\?type=on_demand"/g)].map(e=>{const[t,i]=e[1].split("$");return"book_citation_doc"!==t&&"book_citation_pdf"!==t&&"document_citation"!==t?null:{citation_number:i,customMetadata:{type:"document_citation"===t?"book_citation_pdf":t,file_name:"",fileType:"",gcs_upload_url:""}}}).filter(Boolean));d.length&&s(e=>{var t;return{...e,file_citations:[...null!==(t=e.file_citations)&&void 0!==t?t:[],...d]}});let p=`<STORY_NUMBER>${e.storyNumber}<BLOCK_NUMBER>${e.blockNumber}<SUB_BLOCK>${e.subBlockNumber}`;return g||v.current.has(p)||(!async function(e,t,i){var o,n;let a="",l="";try{const c=await m(e,i,t);r(e=>{var t;const i=[...e];return null===(t=c.response.ai_reasonings)||void 0===t||t.forEach(e=>{const t=i.findIndex(t=>t.id===e.id);-1!==t&&e.gap.length>0&&e.reason.length>0&&(i[t]={...e})}),i}),a=(null===(o=c.response)||void 0===o?void 0:o.gap_items_prompt)||"",l=(null===(n=c.response)||void 0===n?void 0:n.risk_items_prompt)||"",(a||l)&&(N.current={gap_items_prompt:a,risk_items_prompt:l}),s(e=>{var t,i,o,n,r,s,a,l,u,d,p,_,m,g;return{...e,appmod_citations:[...null!==(t=e.appmod_citations)&&void 0!==t?t:[],...null!==(i=c.response.appmod_citations)&&void 0!==i?i:[]],audio_citations:[...null!==(o=e.audio_citations)&&void 0!==o?o:[],...null!==(n=c.response.audio_citations)&&void 0!==n?n:[]],file_citations:[...null!==(r=e.file_citations)&&void 0!==r?r:[],...null!==(s=c.response.file_citations)&&void 0!==s?s:[]],image_citations:[...null!==(a=e.image_citations)&&void 0!==a?a:[],...null!==(l=c.response.image_citations)&&void 0!==l?l:[]],rca_citations:[...null!==(u=e.rca_citations)&&void 0!==u?u:[],...null!==(d=c.response.rca_citations)&&void 0!==d?d:[]],web_citations:[...null!==(p=e.web_citations)&&void 0!==p?p:[],...null!==(_=c.response.web_citations)&&void 0!==_?_:[]],readfile_citations:[...null!==(m=e.readfile_citations)&&void 0!==m?m:[],...null!==(g=c.response.readfile_citations)&&void 0!==g?g:[]]}})}catch(t){console.error("[liblogs] processCitationsByBlock error — story:%s block:%s",e.storyNumber,e.blockNumber,t)}finally{let t=`<STORY_NUMBER>${e.storyNumber}<BLOCK_NUMBER>${e.blockNumber}`;if(h.current.add(t),h.current.size===v.current.size){const e=a||N.current.gap_items_prompt,t=l||N.current.risk_items_prompt;b({finalGap:e,finalRisk:t,status:"complete"})}}}({...e,value:a,description:u},l,t),v.current.add(p)),{...e,value:a,description:u}}).filter(Boolean),f.forEach(e=>{r(t=>(t.find(t=>t.id===e.id)||t.push(e),[...t]))}),e.length>0&&e.map(({title:e,section:t,value:o,storyNumber:r,description:s,blockNumber:a,big_enough:l,big_enough_decision_factors:m,technicality_score:g,gapValue:f,confidenceScore:b,metadata:v},h)=>{n(n=>{var k,N,S,B,$,C,O,w;const E=n.findIndex(e=>e.storyNumber===r);if("intro"===t)-1===E?n.push({artifactId:`STORY-${r}-${a}`,title:e,value:o,description:s,storyNumber:r,sub_features:[],section:t,blockNumber:a,aiReasoning:R[h],big_enough:l,big_enough_decision_factors:m,technicality_score:g,gapValue:f,confidenceScore:b,metadata:v}):(n[E].value+=o,n[E].aiReasoning=n[E].aiReasoning||[],null===(N=null===(k=n[E])||void 0===k?void 0:k.aiReasoning)||void 0===N||N.push(...R[h]),n[E].big_enough=l,n[E].big_enough_decision_factors=m,n[E].technicality_score=g,n[E].gapValue=f,n[E].confidenceScore=b,n[E].metadata=v);else{n[E].sub_features||(n[E].sub_features=[]);const i=(null===(B=null===(S=n[E])||void 0===S?void 0:S.sub_features)||void 0===B?void 0:B.findIndex(e=>e.blockNumber===a))||-1;if(-1===i)null===(C=null===($=n[E])||void 0===$?void 0:$.sub_features)||void 0===C||C.push({artifactId:`STORY-${r}-${a}`,title:e,value:o,storyNumber:r,blockNumber:a,section:t,aiReasoning:R[h],big_enough:l,big_enough_decision_factors:m,technicality_score:g,gapValue:f,confidenceScore:b,metadata:v});else{let e=null===(w=null===(O=null==n?void 0:n[E])||void 0===O?void 0:O.sub_features)||void 0===w?void 0:w[i];e.value=(e.value||"")+o,e.aiReasoning=e.aiReasoning||[],e.aiReasoning.push(...R[h]),e.big_enough=l,e.big_enough_decision_factors=m,e.technicality_score=g,e.gapValue=f,e.confidenceScore=b,e.metadata=v}}const U=JSON.stringify(n);return y.current!==U&&(_({key:`streaming-redis-key-${i}`,value:{mmvf_list:n,knowledgeBase:c,projectAnalyserSummary:u,dataSources_files:d,ai_reasonings:p}}),y.current=U),[...n]})})}catch(e){console.error("Error in processing Stream Content",e)}}}}export{n as useStreamContentHandler};
|
|
2
2
|
//# sourceMappingURL=useStreamContentHandler.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{v4 as e}from"uuid";const o=e=>{if(!e)return[];return e.split(/(?=<h1>[A-Z]\.\s+.*?<\/h1>)/g).filter(Boolean).map(e=>e.trim())},t=t=>{const
|
|
1
|
+
import{v4 as e}from"uuid";const o=e=>{if(!e)return[];return e.split(/(?=<h1>[A-Z]\.\s+.*?<\/h1>)/g).filter(Boolean).map(e=>e.trim())},t=t=>{const i=(t,n)=>{const a=o(t.value).map(o=>({contentId:e(),content:o,isApproved:!1})),u={artifactId:t.artifactId,title:t.title,value:a,description:t.description,approval_status:n?void 0:"NOT_APPROVED",big_enough:null==t?void 0:t.big_enough,big_enough_decision_factors:null==t?void 0:t.big_enough_decision_factors,technicality_score:null==t?void 0:t.technicality_score,metadata:null==t?void 0:t.metadata,gapValue:null==t?void 0:t.gapValue,confidenceScore:null==t?void 0:t.confidenceScore,storyNumber:t.storyNumber,blockNumber:t.blockNumber,aiReasoning:null==t?void 0:t.aiReasoning,section:null==t?void 0:t.section};return t.sub_features&&t.sub_features.length>0&&(u.sub_features=t.sub_features.map(e=>i(e,!0))),u};return t.map(e=>i(e,!1))},i=e=>{const o=e=>{var t;const i=Array.isArray(e.value)?e.value.map(e=>e.content).join("\n\n"):e.value,n={artifactId:e.artifactId,title:e.title,description:e.description,value:i,big_enough:e.big_enough,big_enough_decision_factors:e.big_enough_decision_factors,metadata:null==e?void 0:e.metadata,gapValue:null==e?void 0:e.gapValue,confidenceScore:null==e?void 0:e.confidenceScore,storyNumber:e.storyNumber,blockNumber:e.blockNumber,aiReasoning:null==e?void 0:e.aiReasoning,section:null==e?void 0:e.section};return(null===(t=e.sub_features)||void 0===t?void 0:t.length)&&(n.sub_features=e.sub_features.map(o)),n};return e.map(o)},n=e=>structuredClone(e);export{n as cloneUserStories,t as createUserStoriesForApproval,o as splitByHeaders,i as transformApprovalToUserStory};
|
|
2
2
|
//# sourceMappingURL=userstory-approval-transform.utils.js.map
|
package/dist/types/src/features/RequirementAI/components/story-screen/BigEnoughPanel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BigEnoughPanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/story-screen/BigEnoughPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAA4B,uBAAuB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEjH,OAA6B,EAAE,0BAA0B,EAAoB,MAAM,8CAA8C,CAAC;AAIlI,eAAO,MAAM,cAAc;iBAEX,cAAc;kBACZ,uBAAuB;sBACpB,qBAAqB,GAAG,UAAU;;;
|
|
1
|
+
{"version":3,"file":"BigEnoughPanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/story-screen/BigEnoughPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAA4B,uBAAuB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEjH,OAA6B,EAAE,0BAA0B,EAAoB,MAAM,8CAA8C,CAAC;AAIlI,eAAO,MAAM,cAAc;iBAEX,cAAc;kBACZ,uBAAuB;sBACpB,qBAAqB,GAAG,UAAU;;;6CA+FtD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TAIReasoning } from "../types/aiReasoning.type";
|
|
3
|
-
import { BigEnoughDecisionFactors, IUserStory } from "../interfaces/userstory.interface";
|
|
3
|
+
import { BigEnoughDecisionFactors, ITechnicalityScore, IUserStory } from "../interfaces/userstory.interface";
|
|
4
4
|
import { UserStoryCitations } from "../interfaces/citation.interface";
|
|
5
5
|
import { IGetCitationsByBlock, SetRedisParams } from "../types/streaming-block.type";
|
|
6
6
|
export type BlockStreamItem = {
|
|
@@ -13,6 +13,7 @@ export type BlockStreamItem = {
|
|
|
13
13
|
storyNumber: string;
|
|
14
14
|
big_enough?: number;
|
|
15
15
|
big_enough_decision_factors?: BigEnoughDecisionFactors;
|
|
16
|
+
technicality_score?: ITechnicalityScore;
|
|
16
17
|
gapValue?: string;
|
|
17
18
|
confidenceScore?: string;
|
|
18
19
|
metadata?: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStreamContentHandler.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/hooks/useStreamContentHandler.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"useStreamContentHandler.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/hooks/useStreamContentHandler.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGrF,MAAM,MAAM,eAAe,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,GAAG,YAAY,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2BAA2B,CAAC,EAAE,wBAAwB,CAAC;IACvD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAC,OAAO,CAAC,CAAC;CACrC,CAAC;AAEF,UAAU,MAAM;IACZ,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,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,7 @@ export interface IUserStory {
|
|
|
15
15
|
aiReasoning?: TAIReasoning[];
|
|
16
16
|
isEnd?: boolean;
|
|
17
17
|
big_enough_decision_factors?: BigEnoughDecisionFactors;
|
|
18
|
+
technicality_score?: ITechnicalityScore;
|
|
18
19
|
big_enough?: number;
|
|
19
20
|
completion_percentage?: number;
|
|
20
21
|
completion_decision_factors?: CompletionDecisionFactors;
|
|
@@ -58,6 +59,7 @@ export interface IUserStoryForApproval {
|
|
|
58
59
|
description?: string;
|
|
59
60
|
big_enough: number;
|
|
60
61
|
big_enough_decision_factors: BigEnoughDecisionFactors;
|
|
62
|
+
technicality_score?: ITechnicalityScore;
|
|
61
63
|
completion_percentage?: number;
|
|
62
64
|
completion_decision_factors?: CompletionDecisionFactors;
|
|
63
65
|
storyNumber?: string;
|
|
@@ -321,6 +323,11 @@ export interface BigEnoughDecisionFactors {
|
|
|
321
323
|
gap: string;
|
|
322
324
|
big_enough_block: IBigEnoughBlock[];
|
|
323
325
|
}
|
|
326
|
+
export interface ITechnicalityScore {
|
|
327
|
+
score: number;
|
|
328
|
+
reasoning: string;
|
|
329
|
+
gap: string;
|
|
330
|
+
}
|
|
324
331
|
export interface CompletionDecisionFactors {
|
|
325
332
|
explanation?: string;
|
|
326
333
|
score_reason: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userstory.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/interfaces/userstory.interface.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAe,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChK,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAElG,MAAM,WAAW,UAAU;IAEzB,UAAU,EAAE,MAAM,CAAC;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AkB,GAC1B,OAAO,GACP,kBAAkB,GAClB,UAAU,CAAC;AAEf,MAAM,MAAM,eAAe,GAAG,MAAM,CAClC,kBAAkB,EAClB,qBAAqB,EAAE,CACxB,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,eAAe,EAAE,CAAC;CACrC;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
1
|
+
{"version":3,"file":"userstory.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/interfaces/userstory.interface.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAe,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChK,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAElG,MAAM,WAAW,UAAU;IAEzB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,UAAU,EAAE,CAAC;IAG5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IACjC,WAAW,CAAC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B;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,eAAe,EAAE,CAAC;CACrC;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/types/src/features/RequirementAI/utils/userstory-approval-transform.utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userstory-approval-transform.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/utils/userstory-approval-transform.utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,qBAAqB,
|
|
1
|
+
{"version":3,"file":"userstory-approval-transform.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/utils/userstory-approval-transform.utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,qBAAqB,EAItB,MAAM,mCAAmC,CAAC;AAE3C;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,MAAM,EAWpD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,gBAC1B,UAAU,EAAE,KACxB,qBAAqB,EA0CvB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,oBAAqB,qBAAqB,EAAE,KAAG,UAAU,EA+BjG,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,sBAE5B,CAAC"}
|