@kb-labs/commit-entry 2.119.0 → 2.119.1-canary.b53bbee1d

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 (60) hide show
  1. package/dist/cli/commands/apply.js.map +1 -1
  2. package/dist/cli/commands/flags.js.map +1 -1
  3. package/dist/cli/commands/generate.d.ts +1 -1
  4. package/dist/cli/commands/generate.js.map +1 -1
  5. package/dist/cli/commands/index.js.map +1 -1
  6. package/dist/cli/commands/open.d.ts +1 -1
  7. package/dist/cli/commands/open.js.map +1 -1
  8. package/dist/cli/commands/push.js.map +1 -1
  9. package/dist/cli/commands/reset.js.map +1 -1
  10. package/dist/cli/commands/run.d.ts +1 -1
  11. package/dist/cli/commands/run.js.map +1 -1
  12. package/dist/cli/index.js.map +1 -1
  13. package/dist/index.js.map +1 -1
  14. package/dist/lifecycle/index.js.map +1 -1
  15. package/dist/lifecycle/setup.js.map +1 -1
  16. package/dist/manifest.js.map +1 -1
  17. package/dist/manifest.json +415 -0
  18. package/dist/rest/handlers/actions-handler.js.map +1 -1
  19. package/dist/rest/handlers/apply-handler.js.map +1 -1
  20. package/dist/rest/handlers/diff-handler.d.ts +2 -2
  21. package/dist/rest/handlers/diff-handler.js.map +1 -1
  22. package/dist/rest/handlers/files-handler.js.map +1 -1
  23. package/dist/rest/handlers/generate-handler.d.ts +2 -2
  24. package/dist/rest/handlers/generate-handler.js.map +1 -1
  25. package/dist/rest/handlers/git-status-handler.js.map +1 -1
  26. package/dist/rest/handlers/patch-plan-handler.js.map +1 -1
  27. package/dist/rest/handlers/plan-handler.d.ts +1 -1
  28. package/dist/rest/handlers/plan-handler.js.map +1 -1
  29. package/dist/rest/handlers/push-handler.js.map +1 -1
  30. package/dist/rest/handlers/regenerate-handler.d.ts +1 -1
  31. package/dist/rest/handlers/regenerate-handler.js.map +1 -1
  32. package/dist/rest/handlers/reset-handler.d.ts +1 -1
  33. package/dist/rest/handlers/reset-handler.js.map +1 -1
  34. package/dist/rest/handlers/scope-resolver.js.map +1 -1
  35. package/dist/rest/handlers/scopes-handler.js.map +1 -1
  36. package/dist/rest/handlers/status-handler.js.map +1 -1
  37. package/dist/rest/handlers/summarize-handler.d.ts +1 -1
  38. package/dist/rest/handlers/summarize-handler.js.map +1 -1
  39. package/dist/widgets/117.js +32 -0
  40. package/dist/widgets/165.js +1 -0
  41. package/dist/widgets/326.js +1 -0
  42. package/dist/widgets/370.js +1 -0
  43. package/dist/widgets/405.js +1 -0
  44. package/dist/widgets/46.js +445 -0
  45. package/dist/widgets/50.js +1 -0
  46. package/dist/widgets/546.js +1 -0
  47. package/dist/widgets/648.js +1 -0
  48. package/dist/widgets/669.js +1 -0
  49. package/dist/widgets/707.js +1 -0
  50. package/dist/widgets/775.js +1 -0
  51. package/dist/widgets/78.js +1 -0
  52. package/dist/widgets/832.js +96 -0
  53. package/dist/widgets/875.js +25 -0
  54. package/dist/widgets/945.js +1 -0
  55. package/dist/widgets/968.js +9 -0
  56. package/dist/widgets/__federation_expose_CommitOverview.js +1 -0
  57. package/dist/widgets/mf-manifest.json +229 -0
  58. package/dist/widgets/mf-stats.json +253 -0
  59. package/dist/widgets/remoteEntry.js +7 -0
  60. package/package.json +6 -6
@@ -0,0 +1 @@
1
+ "use strict";(self.rspackChunk_kb_labs_commit_entry=self.rspackChunk_kb_labs_commit_entry||[]).push([[715],{6026(e,t){var n=Symbol.for("react.transitional.element");function r(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:i,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},4552(e,t,n){e.exports=n(6026)},5498(e,t,n){n.r(t),n.d(t,{default:()=>w});var r=n(4552),i=n(92),o=n(4519),l=n(5155);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,t)||c(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}var u=n(9497).theme.useToken,d=l.UITypographyText,p={feat:"green",fix:"red",docs:"blue",style:"purple",refactor:"cyan",test:"magenta",chore:"default",perf:"gold",ci:"blue",build:"geekblue"},f=["Analyzing changed files…","Grouping into logical commits…","Writing commit messages…","Checking for secrets…"];function m(e){var t,n,m,y,g,h,x,v=e.scope,j=u().token,b=(0,o.useTheme)().semantic,I=(0,o.useNotification)(),S=s((0,i.useState)(new Set),2),k=S[0],U=S[1],w=s((0,i.useState)(new Set),2),C=w[0],O=w[1],z=s((0,i.useState)(null),2),A=z[0],T=z[1],P=s((0,i.useState)(""),2),B=P[0],E=P[1],F=s((0,i.useState)(null),2),R=F[0],D=F[1],L=s((0,i.useState)(!1),2),M=L[0],N=L[1],H=s((0,i.useState)(void 0),2),_=H[0],W=H[1],$=s((0,i.useState)(0),2),G=$[0],V=$[1],K=(0,o.useData)("/v1/plugins/commit/status",{params:{scope:v},enabled:!!v}),q=K.data,J=K.isLoading,Q=K.refetch,X=(0,o.useData)("/v1/plugins/commit/plan",{params:{scope:v},enabled:!!v}),Y=X.data,Z=X.refetch,ee=function(){Q(),Z()},et=(0,o.useMutateData)("/v1/plugins/commit/generate"),en=(0,o.useMutateData)("/v1/plugins/commit/apply"),er=(0,o.useMutateData)("/v1/plugins/commit/push"),ei=(0,o.useMutateData)("/v1/plugins/commit/plan","DELETE"),eo=(0,o.useMutateData)("/v1/plugins/commit/plan","PATCH"),el=(0,o.useMutateData)("/v1/plugins/commit/regenerate-commit"),ea=et.isLoading,es=(0,o.useElapsedTimer)(_);(0,i.useEffect)(function(){if(!ea)return void W(void 0);W(function(e){return null!=e?e:new Date().toISOString()}),V(0);var e=setInterval(function(){return V(function(e){return(e+1)%f.length})},3800);return function(){return clearInterval(e)}},[ea]);var ec=null!=(t=null==q?void 0:q.filesChanged)?t:0,eu=null!=(n=null==Y||null==(x=Y.plan)?void 0:x.commits)?n:[],ed=eu.length>0,ep=ed?null!=(m=null==q?void 0:q.planStatus)?m:"ready":"idle",ef=et.isLoading||en.isLoading||er.isLoading||ei.isLoading,em=function(){M?(0,l.UIModalConfirm)({title:"Allow Secrets?",icon:(0,r.jsx)(l.UIIcon,{name:"ExclamationCircleOutlined"}),content:"Files may contain secrets. This bypasses security checks.",okText:"Proceed",okType:"danger",onOk:function(){return et.mutate({scope:v,allowSecrets:!0,autoConfirm:!0},{onSuccess:ee})}}):et.mutate({scope:v,allowSecrets:!1,autoConfirm:!1},{onSuccess:function(e){ee(),e.secretsDetected&&e.secrets&&(0,l.UIModalError)({title:"Secrets Detected",width:600,content:(0,r.jsxs)("div",{children:[(0,r.jsx)(l.UIAlert,{message:e.message,variant:"error",showIcon:!0,style:{marginBottom:16}}),(0,r.jsxs)(d,{strong:!0,children:[e.secrets.length," potential secret(s) found."]}),(0,r.jsx)("div",{style:{maxHeight:300,overflow:"auto",marginTop:8},children:e.secrets.map(function(e,t){return(0,r.jsxs)(l.UICard,{size:"small",style:{marginBottom:8},children:[(0,r.jsxs)(d,{style:{fontFamily:"monospace",fontSize:12},children:[e.file,":",e.line]}),(0,r.jsx)("br",{}),(0,r.jsxs)(d,{type:"secondary",children:[e.type,": ",e.matched]})]},t)})})]})})}})},ey=function(e){en.mutate({scope:v,commitIds:e},{onSuccess:function(e){ee();var t,n,r,i,o=e.result,l=null!=(t=null==o||null==(r=o.appliedCommits)?void 0:r.length)?t:0,a=null!=(n=null==o?void 0:o.errors)?n:[];(null==o?void 0:o.success)?(I.success("".concat(l," commit(s) applied")),O(new Set)):l>0&&a.length>0?(I.warning("".concat(l," commit(s) applied, ").concat(a.length," failed: ").concat(a[0])),O(new Set)):I.error(null!=(i=a[0])?i:"Apply failed")},onError:function(e){return I.error("Apply failed: ".concat(e.message))}})},eg=function(e){eo.mutate({scope:v,commitId:e,message:B},{onSuccess:function(){Z(),T(null),I.success("Message updated")},onError:function(e){return I.error("Update failed: ".concat(e.message))}})},eh=function(e){D(e),el.mutate({scope:v,commitId:e},{onSuccess:function(){Z(),D(null),I.success("Commit regenerated")},onError:function(e){D(null),I.error("Regenerate failed: ".concat(e.message))}})},ex=function(e,t){var n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n};if(!v)return(0,r.jsx)(l.UIEmptyState,{description:"Select a repository to continue"});if(J)return(0,r.jsx)(l.UISpin,{size:"large",style:{display:"block",margin:"48px auto"}});var ev={idle:b.disabled,ready:b.info,applied:b.success,pushed:b.success},ej={idle:"No plan",ready:"Ready to apply",applied:"Applied",pushed:"Pushed"},eb=(0,r.jsx)("span",{style:{display:"flex",alignItems:"center",fontSize:13,color:b.textTertiary},children:"\xb7"}),eI=ed&&!!(null==q?void 0:q.planStale),eS=eI?b.warning:null!=(y=ev[ep])?y:b.disabled,ek=eI?"Outdated":null!=(g=ej[ep])?g:ej.idle,eU=(0,r.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:6,padding:"3px 10px",borderRadius:20,fontSize:12,fontWeight:600,background:"".concat(eS,"1F"),color:eS},children:[(0,r.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:"currentColor",flexShrink:0}}),ek]});return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:j.marginSM},children:[(0,r.jsx)(l.UICard,{size:"small",styles:{body:{padding:"8px 14px"}},children:(0,r.jsxs)(l.UIFlex,{justify:"between",align:"center",wrap:"wrap",gap:12,children:[(0,r.jsxs)(l.UIFlex,{align:"center",gap:10,style:{minWidth:0,flex:"1 1 auto"},children:[eI?(0,r.jsx)(l.UITooltip,{title:null!=(h=null==q?void 0:q.planStaleReason)?h:"Plan no longer matches the current changes",children:eU}):eU,ed&&(0,r.jsxs)(r.Fragment,{children:[eb,(0,r.jsxs)(d,{type:"secondary",style:{fontSize:13},children:[(0,r.jsx)(d,{strong:!0,style:{fontVariantNumeric:"tabular-nums"},children:eu.length})," commit",1!==eu.length?"s":""]})]}),eb,(0,r.jsxs)(d,{type:"secondary",style:{fontSize:13},children:[(0,r.jsx)(d,{strong:!0,style:{fontVariantNumeric:"tabular-nums"},children:ec})," file",1!==ec?"s":""," changed"]}),(null==q?void 0:q.branch)&&(0,r.jsxs)(r.Fragment,{children:[eb,(0,r.jsx)(l.UITooltip,{title:q.branch,children:(0,r.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:4,fontSize:12,fontFamily:"monospace",color:b.textSecondary,maxWidth:150,minWidth:0},children:[(0,r.jsx)(l.UIIcon,{name:"BranchesOutlined",style:{fontSize:11,flexShrink:0}}),(0,r.jsx)("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:q.branch})]})})]})]}),(0,r.jsxs)(l.UISpace,{size:8,style:{flexShrink:0},children:[!ed&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.UICheckbox,{checked:M,onChange:function(e){return N(e)},children:(0,r.jsx)(d,{type:"secondary",style:{fontSize:13},children:"Allow secrets"})}),(0,r.jsx)(l.UIButton,{variant:"primary",size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"ThunderboltOutlined"}),onClick:em,loading:et.isLoading,disabled:0===ec,children:"Generate plan"})]}),ed&&"ready"===ep&&(C.size>0?(0,r.jsxs)(l.UIButton,{variant:"primary",size:"small",onClick:function(){return ey(function(e){if(Array.isArray(e))return a(e)}(C)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(C)||c(C)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},loading:en.isLoading,disabled:ef,children:["Apply Selected (",C.size,")"]}):(0,r.jsx)(l.UIButton,{variant:"primary",size:"small",onClick:function(){return ey()},loading:en.isLoading,disabled:ef,children:"Apply All"})),ed&&("applied"===ep||"pushed"===ep)&&(0,r.jsx)(l.UIButton,{size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"CloudUploadOutlined"}),onClick:function(){er.mutate({scope:v},{onSuccess:function(e){var t,n,r;ee(),(null==(t=e.result)?void 0:t.success)?(I.success("Pushed ".concat(e.result.commitsPushed," commit(s) to ").concat(e.result.remote,"/").concat(e.result.branch)),O(new Set),U(new Set)):I.error(null!=(n=null==(r=e.result)?void 0:r.error)?n:"Push failed")},onError:function(e){return I.error("Push failed: ".concat(e.message))}})},loading:er.isLoading,disabled:ef,children:"Push"}),ed&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.UIButton,{variant:eI?"primary":void 0,size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"ReloadOutlined"}),onClick:em,loading:et.isLoading,disabled:ef,children:"Regenerate"}),(0,r.jsx)(l.UIPopconfirm,{title:"Reset commit plan?",description:"This deletes the current plan.",onConfirm:function(){ei.mutate({scope:v},{onSuccess:function(){ee(),I.success("Plan reset"),O(new Set),U(new Set)},onError:function(e){return I.error("Reset failed: ".concat(e.message))}})},okText:"Reset",okType:"danger",children:(0,r.jsx)("span",{children:(0,r.jsx)(l.UIButton,{size:"small",danger:!0,icon:(0,r.jsx)(l.UIIcon,{name:"DeleteOutlined"}),loading:ei.isLoading,disabled:ef,children:"Reset"})})})]})]})]})}),et.isLoading&&(0,r.jsxs)(l.UICard,{style:{padding:"20px 24px"},children:[(0,r.jsx)(l.UISkeletonText,{width:["100%","85%","65%"],height:"16px",gap:12}),(0,r.jsxs)("div",{style:{textAlign:"center",paddingTop:18},children:[(0,r.jsx)(l.UIShimmerText,{duration:"1.8s",children:f[G]}),es&&(0,r.jsxs)("div",{style:{fontSize:12,color:j.colorTextTertiary,marginTop:6},children:[es," elapsed"]})]})]}),!ed&&0===eu.length&&!et.isLoading&&(0,r.jsx)("div",{style:{textAlign:"center",padding:"28px 0",color:j.colorTextTertiary,fontSize:13},children:ec>0?"No commit plan yet — generate one from the toolbar above.":"No changes to commit."}),!et.isLoading&&eu.length>0&&eu.map(function(e){var t,n,i,o,a,s,c=k.has(e.id),u=A===e.id,f=R===e.id,m=C.has(e.id),y=null!=(t=p[e.type])?t:"default";return(0,r.jsxs)(l.UICard,{size:"small",style:{opacity:f?.6:1},children:[(0,r.jsxs)(l.UIFlex,{align:"center",gap:8,style:{marginBottom:c?j.marginSM:0},children:["ready"===ep&&(0,r.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,r.jsx)(l.UICheckbox,{checked:m,onChange:function(){return O(ex(C,e.id))}})}),(0,r.jsx)(l.UIIcon,{name:"RightOutlined",style:{fontSize:11,cursor:"pointer",color:j.colorTextTertiary,transform:c?"rotate(90deg)":void 0,transition:"transform 0.2s"},onClick:function(){return U(ex(k,e.id))}}),(0,r.jsx)(l.UITag,{color:y,style:{margin:0},children:e.type}),(0,r.jsx)("div",{style:{flex:1,cursor:"pointer",minWidth:0},onClick:function(){return U(ex(k,e.id))},children:u?(0,r.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center"},onClick:function(e){return e.stopPropagation()},children:[(0,r.jsx)(l.UIInput,{size:"small",value:B,onChange:function(e){return E(e)},onPressEnter:function(){return eg(e.id)},autoFocus:!0,style:{flex:1}}),(0,r.jsx)(l.UIButton,{size:"small",variant:"text",icon:(0,r.jsx)(l.UIIcon,{name:"CheckOutlined"}),onClick:function(){return eg(e.id)},loading:eo.isLoading}),(0,r.jsx)(l.UIButton,{size:"small",variant:"text",icon:(0,r.jsx)(l.UIIcon,{name:"CloseOutlined"}),onClick:function(){return T(null)}})]}):(0,r.jsxs)(d,{ellipsis:!0,children:[e.scope&&(0,r.jsxs)(d,{type:"secondary",children:["(",e.scope,")"," "]}),e.message]})}),e.breaking&&(0,r.jsx)(l.UITag,{color:"red",style:{margin:0},children:"BREAKING"}),(0,r.jsx)(l.UITooltip,{title:"".concat(null!=(n=null==(o=e.files)?void 0:o.length)?n:0," files"),children:(0,r.jsxs)(d,{type:"secondary",style:{fontSize:12,whiteSpace:"nowrap"},children:[null!=(i=null==(a=e.files)?void 0:a.length)?i:0," files"]})}),(null==(s=e.reasoning)?void 0:s.confidence)!==void 0&&(0,r.jsx)(l.UITooltip,{title:"AI confidence",children:(0,r.jsxs)(d,{type:"secondary",style:{fontSize:12},children:[(100*e.reasoning.confidence).toFixed(0),"%"]})}),"ready"===ep&&!u&&(0,r.jsx)(l.UIDropdown,{trigger:["click"],menu:{items:[{key:"edit",label:"Edit message",icon:(0,r.jsx)(l.UIIcon,{name:"EditOutlined"}),onClick:function(){T(e.id),E(e.message)}},{key:"regen",label:"Regenerate",icon:(0,r.jsx)(l.UIIcon,{name:"ReloadOutlined"}),onClick:function(){return eh(e.id)}}]},children:(0,r.jsx)(l.UIButton,{variant:"text",size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"MoreOutlined"}),onClick:function(e){return e.stopPropagation()}})})]}),c&&(0,r.jsxs)("div",{style:{paddingTop:j.paddingSM,fontSize:13},children:[f&&(0,r.jsxs)(l.UIFlex,{justify:"center",style:{padding:j.paddingSM},children:[(0,r.jsx)(l.UISpin,{size:"small"}),(0,r.jsx)(d,{type:"secondary",style:{marginLeft:8,fontSize:13},children:"Regenerating..."})]}),e.body&&(0,r.jsx)(d,{type:"secondary",style:{whiteSpace:"pre-wrap",display:"block",fontSize:13,lineHeight:1.6,marginBottom:10},children:e.body}),e.files&&e.files.length>0&&(0,r.jsxs)("div",{style:{marginBottom:10},children:[(0,r.jsxs)(d,{type:"secondary",style:{fontSize:12,display:"block",marginBottom:4},children:[e.files.length," file",1!==e.files.length?"s":""]}),(0,r.jsx)("div",{style:{background:j.colorFillAlter,borderRadius:j.borderRadiusSM,padding:"6px 10px"},children:e.files.map(function(e,t){return(0,r.jsx)("div",{style:{padding:"2px 0",fontFamily:"monospace",fontSize:12},children:e},t)})})]}),e.reasoning&&(0,r.jsx)("div",{style:{borderLeft:"2px solid ".concat(b.info),padding:"2px 10px",fontSize:12},children:(0,r.jsxs)(d,{type:"secondary",style:{fontSize:12,lineHeight:1.6},children:[e.reasoning.explanation,void 0!==e.reasoning.confidence&&(0,r.jsxs)(r.Fragment,{children:[" \xb7 ",(100*e.reasoning.confidence).toFixed(0),"% confidence"]})]})})]})]},e.id)})]})}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t,n,r,i,o,l){try{var a=e[o](l),s=a.value}catch(e){n(e);return}a.done?t(s):Promise.resolve(s).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function l(e){g(o,r,i,l,a,"next",e)}function a(e){g(o,r,i,l,a,"throw",e)}l(void 0)})}}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){x(e,t,n[t])})}return e}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),a=Object.defineProperty;return a(l,"next",{value:s(0)}),a(l,"throw",{value:s(1)}),a(l,"return",{value:s(2)}),"function"==typeof Symbol&&a(l,Symbol.iterator,{value:function(){return this}}),l;function s(a){return function(s){var c=[a,s];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var I=l.UITypographyText;function S(e){var t=e.scope,n=(0,o.useNotification)(),a=(0,o.useTheme)().semantic,s=j((0,i.useState)(new Set),2),c=s[0],u=s[1],d=j((0,i.useState)(new Set),2),p=d[0],f=d[1],m=j((0,i.useState)(null),2),y=m[0],g=m[1],S=j((0,i.useState)({}),2),U=S[0],w=S[1],C=j((0,i.useState)(null),2),O=C[0],z=C[1],A=j((0,i.useState)(!1),2),T=A[0],P=A[1],B=(0,o.useData)("/v1/plugins/commit/git-status",{params:{scope:t},enabled:!!t}),E=B.data,F=B.isLoading,R=(0,o.useMutateData)("/v1/plugins/commit/summarize");if(!t)return(0,r.jsx)(l.UIEmptyState,{description:"Select a scope to continue"});if(F)return(0,r.jsx)(l.UICard,{children:(0,r.jsx)(l.UISkeleton,{active:!0,lines:5})});var D=(null!=(_=null!=(W=null==E?void 0:E.rows)?W:null==E?void 0:E.summaries)?_:[]).filter(function(e){return"string"==typeof(null==e?void 0:e.path)}).map(function(e){var t;return{path:e.path,status:null!=(t=e.status)?t:"modified"}});if(0===D.length)return(0,r.jsxs)(l.UICard,{style:{textAlign:"center",padding:"48px 0"},children:[(0,r.jsx)(l.UIIcon,{name:"FileOutlined",style:{fontSize:48,color:a.disabled,display:"block",marginBottom:16}}),(0,r.jsx)(I,{type:"secondary",children:"No files changed"})]});var L={},M=!0,N=!1,H=void 0;try{for(var _,W,$,G,V,K,q=D[Symbol.iterator]();!(M=(K=q.next()).done);M=!0){var J,Q,X=K.value;(null!=(Q=L[J=X.status])?Q:L[J]=[]).push(X)}}catch(e){N=!0,H=e}finally{try{M||null==q.return||q.return()}finally{if(N)throw H}}var Y=[{key:"staged",label:"Staged",color:a.success,tagColor:"green",iconName:"CheckCircleOutlined",files:null!=($=L.staged)?$:[]},{key:"modified",label:"Modified",color:a.warning,tagColor:"orange",iconName:"EditOutlined",files:null!=(G=L.modified)?G:[]},{key:"untracked",label:"Untracked",color:a.disabled,tagColor:"default",iconName:"PlusOutlined",files:null!=(V=L.untracked)?V:[]}].filter(function(e){return e.files.length>0}),Z=function(e,t){var n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n};return(0,r.jsxs)("div",{children:[(0,r.jsx)(l.UICard,{size:"small",style:{marginBottom:16},styles:{body:{padding:"8px 14px"}},children:(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,r.jsxs)("div",{style:{display:"flex",gap:14,alignItems:"center"},children:[(0,r.jsxs)(I,{type:"secondary",style:{fontSize:13},children:[(0,r.jsx)(I,{strong:!0,style:{fontVariantNumeric:"tabular-nums"},children:D.length})," file",1!==D.length?"s":""," changed"]}),(0,r.jsx)("span",{style:{fontSize:13,color:a.textTertiary},children:"\xb7"}),(0,r.jsx)("div",{style:{display:"flex",gap:8,alignItems:"center"},children:Y.map(function(e){return(0,r.jsxs)(l.UITag,{color:e.tagColor,style:{margin:0},children:[e.label,": ",e.files.length]},e.key)})})]}),(0,r.jsx)(l.UIButton,{size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"RobotOutlined"}),onClick:function(){return h(function(){return b(this,function(e){switch(e.label){case 0:P(!0),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,R.mutateAsync({scope:t})];case 2:return g(e.sent().summary),n.success("Summary generated"),[3,5];case 3:return e.sent(),n.error("Failed to generate summary"),[3,5];case 4:return P(!1),[7];case 5:return[2]}})})()},loading:T,children:"Summarize All"})]})}),y&&(0,r.jsx)(l.UIAlert,{message:"AI Summary",description:y,variant:"info",closable:!0,onClose:function(){return g(null)},style:{marginBottom:16,whiteSpace:"pre-wrap"},icon:(0,r.jsx)(l.UIIcon,{name:"RobotOutlined"})}),Y.map(function(e){var i=p.has(e.key);return(0,r.jsxs)("div",{style:{marginBottom:16},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"8px 12px",cursor:"pointer",borderBottom:"2px solid ".concat(e.color),marginBottom:4},onClick:function(){return f(Z(p,e.key))},children:[(0,r.jsx)(l.UIIcon,{name:"RightOutlined",style:{fontSize:10,color:a.disabled,transform:i?void 0:"rotate(90deg)",transition:"transform 0.2s"}}),(0,r.jsx)(l.UIIcon,{name:e.iconName,style:{color:e.color}}),(0,r.jsx)(I,{strong:!0,children:e.label}),(0,r.jsx)(l.UIBadge,{count:e.files.length,style:{backgroundColor:e.color},size:"small"})]}),!i&&e.files.map(function(e){var i=c.has(e.path),o=U[e.path],s=O===e.path;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 12px",cursor:"pointer",borderBottom:"1px solid ".concat(a.borderPrimary)},onClick:function(){return u(Z(c,e.path))},children:[(0,r.jsx)(l.UIIcon,{name:"RightOutlined",style:{fontSize:10,color:a.disabled,transform:i?"rotate(90deg)":void 0,transition:"transform 0.2s"}}),(0,r.jsx)(l.UIIcon,{name:"FileOutlined",style:{fontSize:13,color:a.disabled}}),(0,r.jsx)(I,{style:{flex:1,fontFamily:"monospace",fontSize:13},ellipsis:!0,children:e.path}),(0,r.jsxs)("div",{style:{display:"flex",gap:4},onClick:function(e){return e.stopPropagation()},children:[(0,r.jsx)(l.UIButton,{variant:"text",size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"CopyOutlined"}),onClick:function(){navigator.clipboard.writeText(e.path),n.success("Copied")}}),(0,r.jsx)(l.UIButton,{variant:"text",size:"small",icon:(0,r.jsx)(l.UIIcon,{name:"RobotOutlined"}),onClick:function(){var r;return r=e.path,h(function(){var e;return b(this,function(i){switch(i.label){case 0:z(r),i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,R.mutateAsync({scope:t,file:r})];case 2:return e=i.sent(),w(function(t){var n,i;return n=v({},t),i=null!=(i=x({},r,e.summary))?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(i)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}),n}),[3,5];case 3:return i.sent(),n.error("Failed to summarize ".concat(r)),[3,5];case 4:return z(null),[7];case 5:return[2]}})})()},loading:s})]})]}),i&&(0,r.jsxs)("div",{style:{borderBottom:"1px solid ".concat(a.borderPrimary)},children:[o&&(0,r.jsx)(l.UIAlert,{message:"AI Summary",description:o,variant:"success",closable:!0,onClose:function(){return w(function(t){var n=v({},t);return delete n[e.path],n})},style:{margin:"8px 12px",whiteSpace:"pre-wrap"},icon:(0,r.jsx)(l.UIIcon,{name:"RobotOutlined"})}),(0,r.jsx)(k,{scope:t,file:e.path,status:e.status})]})]},e.path)})]},e.key)})]})}function k(e){var t=e.scope,n=e.file,i=e.status,a=(0,o.useData)("/v1/plugins/commit/diff",{params:{scope:t,file:n},enabled:!!t&&!!n}),s=a.data;return a.isLoading?(0,r.jsx)("div",{style:{padding:16},children:(0,r.jsx)(l.UISkeleton,{active:!0,lines:8})}):(null==s?void 0:s.diff)?"untracked"===i||"added"===i?(0,r.jsxs)("div",{style:{padding:16},children:[(0,r.jsx)(I,{type:"secondary",style:{display:"block",marginBottom:8},children:"New file content"}),(0,r.jsx)("pre",{style:{margin:0,maxHeight:700,overflow:"auto",fontFamily:"Monaco, Menlo, monospace",fontSize:12,lineHeight:1.5,padding:12,borderRadius:8,background:"var(--bg-tertiary)",border:"1px solid var(--border-primary)",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:s.diff})]}):(0,r.jsx)("div",{style:{padding:16},children:(0,r.jsx)(l.UIDiffViewer,{diff:s.diff,maxHeight:700})}):(0,r.jsx)("div",{style:{padding:16},children:(0,r.jsx)(I,{type:"secondary",children:"No changes to display"})})}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function w(){var e,t,n,a=function(e){if(Array.isArray(e))return e}(e=(0,i.useState)(""))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],o=!0,l=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){l=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(l)throw n}}return i}}(e)||function(e){if(e){if("string"==typeof e)return U(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return U(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=a[0],c=a[1],u=(0,o.useData)("/v1/plugins/commit/scopes"),d=u.data,p=u.isLoading;(0,i.useEffect)(function(){var e;(null==d||null==(e=d.options)?void 0:e.length)&&!s&&c(d.value||d.options[0].value)},[d,s]);var f=null!=(t=null==d||null==(n=d.options)?void 0:n.map(function(e){return{label:e.label,value:e.value}}))?t:[],y=(0,r.jsx)(l.UITabs,{syncUrl:"search",items:[{key:"plan",label:"Commit Plan",children:(0,r.jsx)(m,{scope:s})},{key:"files",label:"Files",children:(0,r.jsx)(S,{scope:s})}]}),g=f.length>1;return(0,r.jsx)(l.UIPage,{children:(0,r.jsx)(l.UIPageHeader,{title:"Commit",description:"AI-powered commit generation",actions:g?(0,r.jsx)(l.UISelect,{style:{width:260},placeholder:"Select repository...",value:s||void 0,onChange:function(e){return c(e)},loading:p,showSearch:!0,options:f}):void 0,tabs:y})})}}}]);
@@ -0,0 +1,229 @@
1
+ {
2
+ "id": "commitPlugin",
3
+ "name": "commitPlugin",
4
+ "metaData": {
5
+ "name": "commitPlugin",
6
+ "globalName": "commitPlugin",
7
+ "buildInfo": {
8
+ "buildVersion": "2.119.1-canary.b53bbee1d",
9
+ "buildName": "@kb-labs/commit-entry"
10
+ },
11
+ "publicPath": "auto",
12
+ "remoteEntry": {
13
+ "name": "remoteEntry.js",
14
+ "path": "",
15
+ "type": "global"
16
+ },
17
+ "types": {
18
+ "path": "",
19
+ "name": "",
20
+ "zip": "",
21
+ "api": ""
22
+ },
23
+ "pluginVersion": "2.3.3",
24
+ "prefetchInterface": false
25
+ },
26
+ "shared": [
27
+ {
28
+ "id": "commitPlugin:@kb-labs/studio-event-bus",
29
+ "name": "@kb-labs/studio-event-bus",
30
+ "version": "2.119.1-canary.b53bbee1d",
31
+ "singleton": true,
32
+ "requiredVersion": "^2.0.0",
33
+ "assets": {
34
+ "js": {
35
+ "sync": [
36
+ "50.js",
37
+ "669.js"
38
+ ],
39
+ "async": []
40
+ },
41
+ "css": {
42
+ "sync": [],
43
+ "async": []
44
+ }
45
+ }
46
+ },
47
+ {
48
+ "id": "commitPlugin:@kb-labs/studio-ui-core",
49
+ "name": "@kb-labs/studio-ui-core",
50
+ "version": "2.119.1-canary.b53bbee1d",
51
+ "singleton": true,
52
+ "requiredVersion": "^2.0.0",
53
+ "assets": {
54
+ "js": {
55
+ "sync": [
56
+ "968.js"
57
+ ],
58
+ "async": []
59
+ },
60
+ "css": {
61
+ "sync": [],
62
+ "async": []
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "id": "commitPlugin:antd",
68
+ "name": "antd",
69
+ "version": "5.29.3",
70
+ "singleton": true,
71
+ "requiredVersion": "^5.21.0",
72
+ "assets": {
73
+ "js": {
74
+ "sync": [
75
+ "46.js",
76
+ "648.js"
77
+ ],
78
+ "async": []
79
+ },
80
+ "css": {
81
+ "sync": [],
82
+ "async": []
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "id": "commitPlugin:@kb-labs/studio-hooks",
88
+ "name": "@kb-labs/studio-hooks",
89
+ "version": "2.119.1-canary.b53bbee1d",
90
+ "singleton": true,
91
+ "requiredVersion": "^2.0.0",
92
+ "assets": {
93
+ "js": {
94
+ "sync": [
95
+ "370.js",
96
+ "945.js"
97
+ ],
98
+ "async": []
99
+ },
100
+ "css": {
101
+ "sync": [],
102
+ "async": []
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "id": "commitPlugin:@kb-labs/studio-ui-kit",
108
+ "name": "@kb-labs/studio-ui-kit",
109
+ "version": "2.119.1-canary.b53bbee1d",
110
+ "singleton": true,
111
+ "requiredVersion": "^2.0.0",
112
+ "assets": {
113
+ "js": {
114
+ "sync": [
115
+ "117.js",
116
+ "326.js",
117
+ "648.js",
118
+ "832.js"
119
+ ],
120
+ "async": []
121
+ },
122
+ "css": {
123
+ "sync": [],
124
+ "async": []
125
+ }
126
+ }
127
+ },
128
+ {
129
+ "id": "commitPlugin:react",
130
+ "name": "react",
131
+ "version": "19.2.5",
132
+ "singleton": true,
133
+ "requiredVersion": "^19.0.0",
134
+ "assets": {
135
+ "js": {
136
+ "sync": [
137
+ "405.js"
138
+ ],
139
+ "async": []
140
+ },
141
+ "css": {
142
+ "sync": [],
143
+ "async": []
144
+ }
145
+ }
146
+ },
147
+ {
148
+ "id": "commitPlugin:react-dom",
149
+ "name": "react-dom",
150
+ "version": "19.2.5",
151
+ "singleton": true,
152
+ "requiredVersion": "^19.0.0",
153
+ "assets": {
154
+ "js": {
155
+ "sync": [
156
+ "165.js",
157
+ "546.js"
158
+ ],
159
+ "async": []
160
+ },
161
+ "css": {
162
+ "sync": [],
163
+ "async": []
164
+ }
165
+ }
166
+ },
167
+ {
168
+ "id": "commitPlugin:@tanstack/react-query",
169
+ "name": "@tanstack/react-query",
170
+ "version": "5.97.0",
171
+ "singleton": true,
172
+ "requiredVersion": "^5.0.0",
173
+ "assets": {
174
+ "js": {
175
+ "sync": [
176
+ "707.js",
177
+ "78.js"
178
+ ],
179
+ "async": []
180
+ },
181
+ "css": {
182
+ "sync": [],
183
+ "async": []
184
+ }
185
+ }
186
+ },
187
+ {
188
+ "id": "commitPlugin:react-router-dom",
189
+ "name": "react-router-dom",
190
+ "version": "7.18.1",
191
+ "singleton": true,
192
+ "requiredVersion": "^7.0.0",
193
+ "assets": {
194
+ "js": {
195
+ "sync": [
196
+ "875.js"
197
+ ],
198
+ "async": []
199
+ },
200
+ "css": {
201
+ "sync": [],
202
+ "async": []
203
+ }
204
+ }
205
+ }
206
+ ],
207
+ "remotes": [],
208
+ "exposes": [
209
+ {
210
+ "id": "commitPlugin:CommitOverview",
211
+ "name": "CommitOverview",
212
+ "assets": {
213
+ "js": {
214
+ "sync": [
215
+ "__federation_expose_CommitOverview.js"
216
+ ],
217
+ "async": [
218
+ "775.js"
219
+ ]
220
+ },
221
+ "css": {
222
+ "sync": [],
223
+ "async": []
224
+ }
225
+ },
226
+ "path": "./CommitOverview"
227
+ }
228
+ ]
229
+ }
@@ -0,0 +1,253 @@
1
+ {
2
+ "id": "commitPlugin",
3
+ "name": "commitPlugin",
4
+ "metaData": {
5
+ "name": "commitPlugin",
6
+ "globalName": "commitPlugin",
7
+ "buildInfo": {
8
+ "buildVersion": "2.119.1-canary.b53bbee1d",
9
+ "buildName": "@kb-labs/commit-entry"
10
+ },
11
+ "publicPath": "auto",
12
+ "remoteEntry": {
13
+ "name": "remoteEntry.js",
14
+ "path": "",
15
+ "type": "global"
16
+ },
17
+ "types": {
18
+ "path": "",
19
+ "name": "",
20
+ "zip": "",
21
+ "api": ""
22
+ },
23
+ "pluginVersion": "2.3.3",
24
+ "prefetchInterface": false
25
+ },
26
+ "shared": [
27
+ {
28
+ "id": "commitPlugin:@kb-labs/studio-event-bus",
29
+ "name": "@kb-labs/studio-event-bus",
30
+ "version": "2.119.1-canary.b53bbee1d",
31
+ "requiredVersion": "^2.0.0",
32
+ "singleton": true,
33
+ "assets": {
34
+ "js": {
35
+ "sync": [
36
+ "50.js",
37
+ "669.js"
38
+ ],
39
+ "async": []
40
+ },
41
+ "css": {
42
+ "sync": [],
43
+ "async": []
44
+ }
45
+ },
46
+ "usedIn": [],
47
+ "usedExports": []
48
+ },
49
+ {
50
+ "id": "commitPlugin:@kb-labs/studio-ui-core",
51
+ "name": "@kb-labs/studio-ui-core",
52
+ "version": "2.119.1-canary.b53bbee1d",
53
+ "requiredVersion": "^2.0.0",
54
+ "singleton": true,
55
+ "assets": {
56
+ "js": {
57
+ "sync": [
58
+ "968.js"
59
+ ],
60
+ "async": []
61
+ },
62
+ "css": {
63
+ "sync": [],
64
+ "async": []
65
+ }
66
+ },
67
+ "usedIn": [],
68
+ "usedExports": []
69
+ },
70
+ {
71
+ "id": "commitPlugin:antd",
72
+ "name": "antd",
73
+ "version": "5.29.3",
74
+ "requiredVersion": "^5.21.0",
75
+ "singleton": true,
76
+ "assets": {
77
+ "js": {
78
+ "sync": [
79
+ "46.js",
80
+ "648.js"
81
+ ],
82
+ "async": []
83
+ },
84
+ "css": {
85
+ "sync": [],
86
+ "async": []
87
+ }
88
+ },
89
+ "usedIn": [],
90
+ "usedExports": []
91
+ },
92
+ {
93
+ "id": "commitPlugin:@kb-labs/studio-hooks",
94
+ "name": "@kb-labs/studio-hooks",
95
+ "version": "2.119.1-canary.b53bbee1d",
96
+ "requiredVersion": "^2.0.0",
97
+ "singleton": true,
98
+ "assets": {
99
+ "js": {
100
+ "sync": [
101
+ "370.js",
102
+ "945.js"
103
+ ],
104
+ "async": []
105
+ },
106
+ "css": {
107
+ "sync": [],
108
+ "async": []
109
+ }
110
+ },
111
+ "usedIn": [],
112
+ "usedExports": []
113
+ },
114
+ {
115
+ "id": "commitPlugin:@kb-labs/studio-ui-kit",
116
+ "name": "@kb-labs/studio-ui-kit",
117
+ "version": "2.119.1-canary.b53bbee1d",
118
+ "requiredVersion": "^2.0.0",
119
+ "singleton": true,
120
+ "assets": {
121
+ "js": {
122
+ "sync": [
123
+ "117.js",
124
+ "326.js",
125
+ "648.js",
126
+ "832.js"
127
+ ],
128
+ "async": []
129
+ },
130
+ "css": {
131
+ "sync": [],
132
+ "async": []
133
+ }
134
+ },
135
+ "usedIn": [],
136
+ "usedExports": []
137
+ },
138
+ {
139
+ "id": "commitPlugin:react",
140
+ "name": "react",
141
+ "version": "19.2.5",
142
+ "requiredVersion": "^19.0.0",
143
+ "singleton": true,
144
+ "assets": {
145
+ "js": {
146
+ "sync": [
147
+ "405.js"
148
+ ],
149
+ "async": []
150
+ },
151
+ "css": {
152
+ "sync": [],
153
+ "async": []
154
+ }
155
+ },
156
+ "usedIn": [
157
+ "src/studio/pages/CommitOverview.tsx"
158
+ ],
159
+ "usedExports": []
160
+ },
161
+ {
162
+ "id": "commitPlugin:react-dom",
163
+ "name": "react-dom",
164
+ "version": "19.2.5",
165
+ "requiredVersion": "^19.0.0",
166
+ "singleton": true,
167
+ "assets": {
168
+ "js": {
169
+ "sync": [
170
+ "165.js",
171
+ "546.js"
172
+ ],
173
+ "async": []
174
+ },
175
+ "css": {
176
+ "sync": [],
177
+ "async": []
178
+ }
179
+ },
180
+ "usedIn": [],
181
+ "usedExports": []
182
+ },
183
+ {
184
+ "id": "commitPlugin:@tanstack/react-query",
185
+ "name": "@tanstack/react-query",
186
+ "version": "5.97.0",
187
+ "requiredVersion": "^5.0.0",
188
+ "singleton": true,
189
+ "assets": {
190
+ "js": {
191
+ "sync": [
192
+ "707.js",
193
+ "78.js"
194
+ ],
195
+ "async": []
196
+ },
197
+ "css": {
198
+ "sync": [],
199
+ "async": []
200
+ }
201
+ },
202
+ "usedIn": [],
203
+ "usedExports": []
204
+ },
205
+ {
206
+ "id": "commitPlugin:react-router-dom",
207
+ "name": "react-router-dom",
208
+ "version": "7.18.1",
209
+ "requiredVersion": "^7.0.0",
210
+ "singleton": true,
211
+ "assets": {
212
+ "js": {
213
+ "sync": [
214
+ "875.js"
215
+ ],
216
+ "async": []
217
+ },
218
+ "css": {
219
+ "sync": [],
220
+ "async": []
221
+ }
222
+ },
223
+ "usedIn": [],
224
+ "usedExports": []
225
+ }
226
+ ],
227
+ "remotes": [],
228
+ "exposes": [
229
+ {
230
+ "path": "./CommitOverview",
231
+ "file": "src/studio/pages/CommitOverview.tsx",
232
+ "id": "commitPlugin:CommitOverview",
233
+ "name": "CommitOverview",
234
+ "requires": [
235
+ "react"
236
+ ],
237
+ "assets": {
238
+ "js": {
239
+ "sync": [
240
+ "__federation_expose_CommitOverview.js"
241
+ ],
242
+ "async": [
243
+ "775.js"
244
+ ]
245
+ },
246
+ "css": {
247
+ "sync": [],
248
+ "async": []
249
+ }
250
+ }
251
+ }
252
+ ]
253
+ }