@akasecurity/cli 0.9.0-rc1 → 0.9.0
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/package.json +4 -4
- package/web-ui/web-ui/.next/BUILD_ID +1 -1
- package/web-ui/web-ui/.next/app-build-manifest.json +19 -19
- package/web-ui/web-ui/.next/app-path-routes-manifest.json +4 -4
- package/web-ui/web-ui/.next/build-manifest.json +2 -2
- package/web-ui/web-ui/.next/prerender-manifest.json +3 -3
- package/web-ui/web-ui/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/detections/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/detections/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/findings/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/policies/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/security/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/settings/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/updates/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/updates/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found.html +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found.rsc +1 -1
- package/web-ui/web-ui/.next/server/app/index.html +1 -1
- package/web-ui/web-ui/.next/server/app/index.rsc +1 -1
- package/web-ui/web-ui/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app-paths-manifest.json +4 -4
- package/web-ui/web-ui/.next/server/functions-config-manifest.json +5 -5
- package/web-ui/web-ui/.next/server/middleware-manifest.json +5 -5
- package/web-ui/web-ui/.next/server/pages/404.html +1 -1
- package/web-ui/web-ui/.next/server/pages/500.html +1 -1
- package/web-ui/web-ui/.next/server/server-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/server-reference-manifest.json +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/data-shares/{page-041187c76bd42461.js → page-b7387fc879294f9e.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/detections/page-d3c788335ec106bc.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-b9b760f81ad59940.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/new/{page-2cfe42c3dd4833c3.js → page-f25f688accef752f.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/{page-849d66cc2cd77cb6.js → page-4b63bb2d272bab7e.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/inventory/page-4b11bbcc65f8d953.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/scan/{page-50b604f229747240.js → page-00047eaf00adfcaa.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/settings/page-a2e02ffad2177626.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/updates/{page-c3c1671d32547619.js → page-e36c0f23fca981e3.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/detections/page-481fedcbfb474cef.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-a20e7d7a2f0ad507.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/inventory/page-76edd10592ba3cb1.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/settings/page-92d1086c8e8ed3bf.js +0 -1
- /package/web-ui/web-ui/.next/static/{unUYwnPVSRwxtrUFgSAxr → Oz-9GZNGXujYNXihIv5sm}/_buildManifest.js +0 -0
- /package/web-ui/web-ui/.next/static/{unUYwnPVSRwxtrUFgSAxr → Oz-9GZNGXujYNXihIv5sm}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"node":{"
|
|
1
|
+
{"node":{"60fcfea92d6adc2b54891b2a592e876dbd6fa669cd":{"workers":{"app/(app)/data-shares/page":{"moduleId":"35381","async":false}},"layer":{"app/(app)/data-shares/page":"action-browser"},"filename":"app/(app)/data-shares/actions.ts","exportedName":"setEgressDecision"},"404acccecc615c3fba01dbdab3ba387bc846a914b9":{"workers":{"app/(app)/exceptions/[id]/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/new/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/page":{"moduleId":"69073","async":false}},"layer":{"app/(app)/exceptions/[id]/page":"action-browser","app/(app)/exceptions/new/page":"action-browser","app/(app)/exceptions/page":"action-browser"},"filename":"app/(app)/exceptions/actions.ts","exportedName":"approveBlocked"},"40d5600836a4518f34a5c61544981581becb5e12ee":{"workers":{"app/(app)/exceptions/[id]/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/new/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/page":{"moduleId":"69073","async":false}},"layer":{"app/(app)/exceptions/[id]/page":"action-browser","app/(app)/exceptions/new/page":"action-browser","app/(app)/exceptions/page":"action-browser"},"filename":"app/(app)/exceptions/actions.ts","exportedName":"addException"},"40f053f11c6be87817f62cea8b0fad34d6fe0f2b27":{"workers":{"app/(app)/exceptions/[id]/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/new/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/page":{"moduleId":"69073","async":false}},"layer":{"app/(app)/exceptions/[id]/page":"action-browser","app/(app)/exceptions/new/page":"action-browser","app/(app)/exceptions/page":"action-browser"},"filename":"app/(app)/exceptions/actions.ts","exportedName":"rotateKey"},"603916444086a9c23695f6250608e16aa166944aa4":{"workers":{"app/(app)/exceptions/[id]/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/new/page":{"moduleId":"69073","async":false},"app/(app)/exceptions/page":{"moduleId":"69073","async":false}},"layer":{"app/(app)/exceptions/[id]/page":"action-browser","app/(app)/exceptions/new/page":"action-browser","app/(app)/exceptions/page":"action-browser"},"filename":"app/(app)/exceptions/actions.ts","exportedName":"revokeException"},"0069f086e93e1b100507a1c16028b23196246996fb":{"workers":{"app/(app)/detections/page":{"moduleId":"335","async":false}},"layer":{"app/(app)/detections/page":"action-browser"},"filename":"app/(app)/detections/actions.ts","exportedName":"recheckDetections"},"40b5eb570dc1bcb8c45ce6126fe90f5912f2443806":{"workers":{"app/(app)/detections/page":{"moduleId":"335","async":false}},"layer":{"app/(app)/detections/page":"action-browser"},"filename":"app/(app)/detections/actions.ts","exportedName":"pullDetectionUpdate"},"601e2beded2b4ce0bf12cb0d06229a10f40409638f":{"workers":{"app/(app)/detections/page":{"moduleId":"335","async":false}},"layer":{"app/(app)/detections/page":"action-browser"},"filename":"app/(app)/detections/actions.ts","exportedName":"setDetectionPolicy"},"609b30736481d895ce81a75e3a522fc1b1bef3f987":{"workers":{"app/(app)/detections/page":{"moduleId":"335","async":false}},"layer":{"app/(app)/detections/page":"action-browser"},"filename":"app/(app)/detections/actions.ts","exportedName":"setDetectionEnabled"},"40ac5caf2bf7a7312333e3d74800441da5e5c77dd4":{"workers":{"app/(app)/scan/page":{"moduleId":"10154","async":false}},"layer":{"app/(app)/scan/page":"action-browser"},"filename":"app/(app)/scan/actions.ts","exportedName":"listDirectory"},"40d38f88bb3faee49398b74c078b2b489a366bb069":{"workers":{"app/(app)/scan/page":{"moduleId":"10154","async":false}},"layer":{"app/(app)/scan/page":"action-browser"},"filename":"app/(app)/scan/actions.ts","exportedName":"runScan"},"60f9a51fad127c1ea88996492e97b50c813db11f93":{"workers":{"app/(app)/inventory/page":{"moduleId":"354","async":false}},"layer":{"app/(app)/inventory/page":"action-browser"},"filename":"app/(app)/inventory/actions.ts","exportedName":"setMcpTrust"},"7040b803c58a89be9cd457a1e71059eeea0ff911e2":{"workers":{"app/(app)/inventory/page":{"moduleId":"354","async":false}},"layer":{"app/(app)/inventory/page":"action-browser"},"filename":"app/(app)/inventory/actions.ts","exportedName":"setFileAccess"},"40fd3e0ad54e53cf2f6baf755d9b83af173f890ab4":{"workers":{"app/(app)/settings/page":{"moduleId":"52304","async":false}},"layer":{"app/(app)/settings/page":"action-browser"},"filename":"app/(app)/settings/actions.ts","exportedName":"saveSettings"},"005e6cd69d964cc663c56724d44721cc4938ca023f":{"workers":{"app/(app)/updates/page":{"moduleId":"81714","async":false}},"layer":{"app/(app)/updates/page":"action-browser"},"filename":"app/(app)/updates/actions.ts","exportedName":"checkNow"},"4019a1d19956c7144335f5d90a9080ef4a8c715e83":{"workers":{"app/(app)/updates/page":{"moduleId":"81714","async":false}},"layer":{"app/(app)/updates/page":"action-browser"},"filename":"app/(app)/updates/actions.ts","exportedName":"installPlugin"},"405a415de1040d163d05df2cbb306dc5933addb744":{"workers":{"app/(app)/updates/page":{"moduleId":"81714","async":false}},"layer":{"app/(app)/updates/page":"action-browser"},"filename":"app/(app)/updates/actions.ts","exportedName":"applyUpdate"}},"edge":{},"encryptionKey":"s8GfgvBKnGfkRItSdTDE8y9LQ/LDPML1C4PyuJHS+5s="}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[311],{2908:(e,s,r)=>{"use strict";r.d(s,{DataSharesClient:()=>u});var t=r(2330),n=r(7942),i=r(8726),l=r(7071),o=r(6146),a=r(7194),d=r(8622),c=r(8013);let h=(0,c.createServerReference)("600f05de3445e50e1691412bfbcd108af20eb48397",c.callServer,void 0,c.findSourceMapURL,"setEgressDecision");function u(e){var s;let{q:r,stats:c,groups:u,review:x,destination:m,selectedDest:v,selectedEndpoint:b}=e,p=(0,l.useRouter)(),f=(0,l.usePathname)(),[j,P]=(0,o.useState)({}),[g,C]=(0,o.useState)(!0),[M,w]=(0,o.useTransition)(),[N,S]=(0,o.useState)(null),k=(0,o.useCallback)(e=>{let s=(function(e){var s;let r=new URLSearchParams,t=null==(s=e.q)?void 0:s.trim();return t&&r.set("q",t),e.dest&&(r.set("dest",e.dest),e.ep&&r.set("ep",e.ep)),r})(e).toString();return s?"".concat(f,"?").concat(s):f},[f]),{query:H,setQuery:R,onNavigate:y}=(0,d.Y)(r,e=>k({q:e})),Z=(0,o.useCallback)(e=>{var s;y(null!=(s=e.q)?s:""),p.push(k(e))},[y,p,k]),L=v?{id:v,...b?{endpointId:b}:{}}:null,V=null!==v,B=m&&b&&null!=(s=m.endpoints.find(e=>e.id===b))?s:null,E=e=>{Z({q:r,dest:e})},_=r.trim();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-3.5 flex shrink-0 flex-wrap items-center gap-2.5",children:[(0,t.jsxs)("div",{className:"flex h-9 w-full items-center gap-2 rounded-lg border border-border bg-surface-2 px-3 sm:w-80",children:[(0,t.jsx)(a.WI,{"aria-hidden":!0,focusable:!1,className:"size-4 shrink-0 text-text-3"}),(0,t.jsx)("input",{value:H,onChange:e=>{R(e.target.value)},placeholder:"Search destinations, URLs & call sites…","aria-label":"Search data shares",className:"min-w-0 flex-1 bg-transparent text-sm text-text placeholder:text-text-3 focus:outline-none"})]}),(0,t.jsx)("span",{className:"h-6 w-px bg-border"}),(0,t.jsxs)("span",{className:"text-ui text-text-3",children:[(0,t.jsx)("b",{className:"text-text",children:c.destinations})," destinations \xb7"," ",(0,t.jsx)("b",{className:"text-text",children:c.endpoints})," endpoints \xb7"," ",(0,t.jsx)("b",{className:"text-text",children:c.callSites})," call sites"]})]}),(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[!_&&(0,t.jsx)("div",{className:"shrink-0",children:(0,t.jsx)(n.t6,{items:x,open:g,onToggle:()=>{C(e=>!e)},onReview:E})}),(0,t.jsx)(i.Zp,{className:"flex min-h-112 flex-1 flex-col overflow-hidden",children:(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto p-3.5",children:0===u.length?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 py-12 text-center text-text-3",children:[(0,t.jsx)(a.WI,{"aria-hidden":!0,focusable:!1,className:"size-6"}),(0,t.jsx)("div",{className:"text-sm",children:_?"No destinations match “".concat(r,"”"):"No outbound data shares detected"})]}):(0,t.jsx)(n.Im,{groups:u,expanded:j,forceExpand:!!_,selection:L,drawerOpen:V,onToggle:e=>{P(s=>({...s,[e]:!s[e]}))},onOpenDest:E,onOpenEndpoint:(e,s)=>{Z({q:r,dest:e,ep:s})}})})})]}),(0,t.jsx)(i.cj,{open:V,onOpenChange:e=>{e||(S(null),Z({q:r}))},children:(0,t.jsxs)(i.h,{className:"w-117 max-w-[92%] gap-0 p-0","aria-describedby":void 0,children:[(0,t.jsx)(i.qp,{className:"sr-only",children:m?m.name:"Data share detail"}),m?(0,t.jsxs)(t.Fragment,{children:[N&&(0,t.jsx)("div",{role:"alert",className:"border-b border-border bg-sev-critical-fill px-4 py-2.5 text-sm text-sev-critical",children:N}),(0,t.jsx)(n.MX,{destination:m,endpoint:B,isSettingDecision:M,onSetDecision:e=>{M||(S(null),w(async()=>{try{await h(m.id,e)||S("This destination no longer exists — reload to refresh the list.")}catch(e){S("Could not update the egress decision. Please try again.")}}))},onPick:e=>{Z({q:r,dest:m.id,ep:e})},onBack:()=>{Z({q:r,dest:m.id})}})]}):(0,t.jsx)("div",{className:"grid h-full place-items-center p-6 text-center text-sm text-text-3",children:"Not found"})]})})]})}},7071:(e,s,r)=>{"use strict";var t=r(7495);r.o(t,"usePathname")&&r.d(s,{usePathname:function(){return t.usePathname}}),r.o(t,"useRouter")&&r.d(s,{useRouter:function(){return t.useRouter}}),r.o(t,"useSearchParams")&&r.d(s,{useSearchParams:function(){return t.useSearchParams}})},7134:(e,s,r)=>{Promise.resolve().then(r.bind(r,523)),Promise.resolve().then(r.bind(r,3319)),Promise.resolve().then(r.bind(r,1328)),Promise.resolve().then(r.bind(r,6388)),Promise.resolve().then(r.bind(r,9822)),Promise.resolve().then(r.bind(r,6179)),Promise.resolve().then(r.bind(r,9912)),Promise.resolve().then(r.bind(r,3868)),Promise.resolve().then(r.bind(r,6324)),Promise.resolve().then(r.bind(r,8283)),Promise.resolve().then(r.bind(r,7735)),Promise.resolve().then(r.bind(r,6053)),Promise.resolve().then(r.bind(r,5130)),Promise.resolve().then(r.bind(r,6418)),Promise.resolve().then(r.bind(r,1462)),Promise.resolve().then(r.bind(r,3760)),Promise.resolve().then(r.bind(r,965)),Promise.resolve().then(r.bind(r,8885)),Promise.resolve().then(r.bind(r,7461)),Promise.resolve().then(r.bind(r,4285)),Promise.resolve().then(r.bind(r,1247)),Promise.resolve().then(r.bind(r,4453)),Promise.resolve().then(r.bind(r,3741)),Promise.resolve().then(r.bind(r,666)),Promise.resolve().then(r.bind(r,1648)),Promise.resolve().then(r.bind(r,1447)),Promise.resolve().then(r.bind(r,4026)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.bind(r,801)),Promise.resolve().then(r.bind(r,3492)),Promise.resolve().then(r.bind(r,6909)),Promise.resolve().then(r.bind(r,5875)),Promise.resolve().then(r.bind(r,5530)),Promise.resolve().then(r.bind(r,974)),Promise.resolve().then(r.bind(r,7526)),Promise.resolve().then(r.bind(r,5850)),Promise.resolve().then(r.bind(r,9102)),Promise.resolve().then(r.bind(r,4952)),Promise.resolve().then(r.bind(r,3365)),Promise.resolve().then(r.bind(r,4127)),Promise.resolve().then(r.bind(r,7889)),Promise.resolve().then(r.bind(r,209)),Promise.resolve().then(r.bind(r,1951)),Promise.resolve().then(r.bind(r,2908))},7194:(e,s,r)=>{"use strict";r.d(s,{RY:()=>a,WI:()=>n.WI,Ze:()=>c,Zu:()=>n.Zu,_G:()=>n._G,fN:()=>d,iB:()=>h,j4:()=>u,k3:()=>n.k3,kp:()=>l,mL:()=>n.mL,np:()=>o,uv:()=>n.uv});var t=r(2330),n=r(7942);let i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},l=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("path",{d:"M8 6h12M8 12h12M8 18h12"}),(0,t.jsx)("circle",{cx:"3.6",cy:"6",r:"1.1",fill:"currentColor",stroke:"none"}),(0,t.jsx)("circle",{cx:"3.6",cy:"12",r:"1.1",fill:"currentColor",stroke:"none"}),(0,t.jsx)("circle",{cx:"3.6",cy:"18",r:"1.1",fill:"currentColor",stroke:"none"})]}),o=e=>(0,t.jsx)("svg",{...i,...e,children:(0,t.jsx)("path",{d:"M3 12h4l3 8 4-16 3 8h4"})}),a=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("circle",{cx:"7.5",cy:"15.5",r:"4.5"}),(0,t.jsx)("path",{d:"M10.7 12.3 21 2M15 8l3 3M18 5l3 3"})]}),d=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-2.64-6.36"}),(0,t.jsx)("path",{d:"M21 3v6h-6"})]}),c=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,t.jsx)("path",{d:"M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.7 1.7 0 0 0-1.87-.34 1.7 1.7 0 0 0-1.03 1.56V21a2 2 0 1 1-4 0v-.09a1.7 1.7 0 0 0-1.11-1.56 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.7 1.7 0 0 0 .34-1.87 1.7 1.7 0 0 0-1.56-1.03H3a2 2 0 1 1 0-4h.09a1.7 1.7 0 0 0 1.56-1.11 1.7 1.7 0 0 0-.34-1.87l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.7 1.7 0 0 0 1.87.34h.08A1.7 1.7 0 0 0 10.12 3V3a2 2 0 1 1 4 0v.09a1.7 1.7 0 0 0 1.03 1.56 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.7 1.7 0 0 0-.34 1.87v.08a1.7 1.7 0 0 0 1.56 1.03H21a2 2 0 1 1 0 4h-.09a1.7 1.7 0 0 0-1.56 1.03Z"})]}),h=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("path",{d:"M6 3h9l3 3v15H6z"}),(0,t.jsx)("path",{d:"M15 3v3h3"}),(0,t.jsx)("path",{d:"M9 12h6M9 16h4"})]}),u=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:510,height:236,viewBox:"0 0 510 236",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M329.798 26H302.492V169.68H329.798V126.99H344.796L374.425 169.57H405.11L364.293 113.206L403.6 65.6621H371.909L343.689 101.616H329.798V26.0042V26Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M224.398 172C234.998 172 247.996 167.417 254.994 155.653H255.595V169.607H282.394V66.5446H255.595V80.2995H254.994C247.996 68.5362 234.994 63.7539 224.398 63.7539C194.799 63.7539 178 88.6717 178 117.776C178 146.879 194.799 172 224.398 172ZM205.802 117.776C205.802 101.031 213.201 85.2805 230.998 85.2805C248.796 85.2805 256.195 101.031 256.195 117.776C256.195 134.52 248.796 150.469 230.998 150.469C213.201 150.469 205.802 134.52 205.802 117.776Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M452.006 172C462.606 172 475.604 167.417 482.602 155.653H483.203V169.607H510.002V66.5446H483.203V80.2995H482.602C475.604 68.5362 462.602 63.7539 452.006 63.7539C422.407 63.7539 405.608 88.6717 405.608 117.776C405.608 146.879 422.407 172 452.006 172ZM433.409 117.776C433.409 101.031 440.809 85.2805 458.606 85.2805C476.403 85.2805 483.803 101.031 483.803 117.776C483.803 134.52 476.403 150.469 458.606 150.469C440.809 150.469 433.409 134.52 433.409 117.776Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M54 118H0C0 88.3759 24.3759 64 54 64C83.6241 64 108 88.3759 108 118H54Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M54 118H108C108 147.624 83.6241 172 54 172C24.3759 172 0 147.624 0 118H54Z",fill:"#00E0B8"}),(0,t.jsx)("path",{d:"M81 54C95.9117 54 108 41.9117 108 27C108 12.0883 95.9117 0 81 0C66.0883 0 54 12.0883 54 27C54 41.9117 66.0883 54 81 54Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M27 236C41.9117 236 54 223.912 54 209C54 194.088 41.9117 182 27 182C12.0883 182 0 194.088 0 209C0 223.912 12.0883 236 27 236Z",fill:"#00E0B8"})]})},8013:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),!function(e,s){for(var r in s)Object.defineProperty(e,r,{enumerable:!0,get:s[r]})}(s,{callServer:function(){return t.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}});let t=r(7982),n=r(3738),i=r(4656)},8622:(e,s,r)=>{"use strict";r.d(s,{Y:()=>i});var t=r(7071),n=r(6146);function i(e,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=(0,t.useRouter)(),[l,o]=(0,n.useState)(e),a=(0,n.useRef)(e),d=(0,n.useRef)(null),c=(0,n.useRef)(s);(0,n.useEffect)(()=>{c.current=s},[s]);let h=(0,n.useCallback)(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]),u=(0,n.useCallback)(e=>{h(),a.current=e.trim(),o(e)},[h]);return(0,n.useEffect)(()=>{e!==a.current&&(a.current=e,o(e))},[e]),(0,n.useEffect)(()=>{let s=l.trim();if(s===e||s===a.current)return;let t=setTimeout(()=>{a.current=s,d.current=null,i.push(c.current(l))},r);return d.current=t,()=>{clearTimeout(t),d.current=null}},[l,e,r,i]),{query:l,setQuery:o,onNavigate:u}}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=7134)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[311],{3359:(e,s,r)=>{"use strict";r.d(s,{DataSharesClient:()=>u});var t=r(2330),n=r(7942),i=r(8726),l=r(7071),o=r(6146),a=r(7194),d=r(8622),c=r(8013);let h=(0,c.createServerReference)("60fcfea92d6adc2b54891b2a592e876dbd6fa669cd",c.callServer,void 0,c.findSourceMapURL,"setEgressDecision");function u(e){var s;let{q:r,stats:c,groups:u,review:x,destination:m,selectedDest:v,selectedEndpoint:b}=e,p=(0,l.useRouter)(),f=(0,l.usePathname)(),[j,P]=(0,o.useState)({}),[g,C]=(0,o.useState)(!0),[M,w]=(0,o.useTransition)(),[N,S]=(0,o.useState)(null),k=(0,o.useCallback)(e=>{let s=(function(e){var s;let r=new URLSearchParams,t=null==(s=e.q)?void 0:s.trim();return t&&r.set("q",t),e.dest&&(r.set("dest",e.dest),e.ep&&r.set("ep",e.ep)),r})(e).toString();return s?"".concat(f,"?").concat(s):f},[f]),{query:H,setQuery:R,onNavigate:y}=(0,d.Y)(r,e=>k({q:e})),Z=(0,o.useCallback)(e=>{var s;y(null!=(s=e.q)?s:""),p.push(k(e))},[y,p,k]),L=v?{id:v,...b?{endpointId:b}:{}}:null,V=null!==v,B=m&&b&&null!=(s=m.endpoints.find(e=>e.id===b))?s:null,E=e=>{Z({q:r,dest:e})},_=r.trim();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-3.5 flex shrink-0 flex-wrap items-center gap-2.5",children:[(0,t.jsxs)("div",{className:"flex h-9 w-full items-center gap-2 rounded-lg border border-border bg-surface-2 px-3 sm:w-80",children:[(0,t.jsx)(a.WI,{"aria-hidden":!0,focusable:!1,className:"size-4 shrink-0 text-text-3"}),(0,t.jsx)("input",{value:H,onChange:e=>{R(e.target.value)},placeholder:"Search destinations, URLs & call sites…","aria-label":"Search data shares",className:"min-w-0 flex-1 bg-transparent text-sm text-text placeholder:text-text-3 focus:outline-none"})]}),(0,t.jsx)("span",{className:"h-6 w-px bg-border"}),(0,t.jsxs)("span",{className:"text-ui text-text-3",children:[(0,t.jsx)("b",{className:"text-text",children:c.destinations})," destinations \xb7"," ",(0,t.jsx)("b",{className:"text-text",children:c.endpoints})," endpoints \xb7"," ",(0,t.jsx)("b",{className:"text-text",children:c.callSites})," call sites"]})]}),(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[!_&&(0,t.jsx)("div",{className:"shrink-0",children:(0,t.jsx)(n.t6,{items:x,open:g,onToggle:()=>{C(e=>!e)},onReview:E})}),(0,t.jsx)(i.Zp,{className:"flex min-h-112 flex-1 flex-col overflow-hidden",children:(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto p-3.5",children:0===u.length?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 py-12 text-center text-text-3",children:[(0,t.jsx)(a.WI,{"aria-hidden":!0,focusable:!1,className:"size-6"}),(0,t.jsx)("div",{className:"text-sm",children:_?"No destinations match “".concat(r,"”"):"No outbound data shares detected"})]}):(0,t.jsx)(n.Im,{groups:u,expanded:j,forceExpand:!!_,selection:L,drawerOpen:V,onToggle:e=>{P(s=>({...s,[e]:!s[e]}))},onOpenDest:E,onOpenEndpoint:(e,s)=>{Z({q:r,dest:e,ep:s})}})})})]}),(0,t.jsx)(i.cj,{open:V,onOpenChange:e=>{e||(S(null),Z({q:r}))},children:(0,t.jsxs)(i.h,{className:"w-117 max-w-[92%] gap-0 p-0","aria-describedby":void 0,children:[(0,t.jsx)(i.qp,{className:"sr-only",children:m?m.name:"Data share detail"}),m?(0,t.jsxs)(t.Fragment,{children:[N&&(0,t.jsx)("div",{role:"alert",className:"border-b border-border bg-sev-critical-fill px-4 py-2.5 text-sm text-sev-critical",children:N}),(0,t.jsx)(n.MX,{destination:m,endpoint:B,isSettingDecision:M,onSetDecision:e=>{M||(S(null),w(async()=>{try{await h(m.id,e)||S("This destination no longer exists — reload to refresh the list.")}catch(e){S("Could not update the egress decision. Please try again.")}}))},onPick:e=>{Z({q:r,dest:m.id,ep:e})},onBack:()=>{Z({q:r,dest:m.id})}})]}):(0,t.jsx)("div",{className:"grid h-full place-items-center p-6 text-center text-sm text-text-3",children:"Not found"})]})})]})}},7071:(e,s,r)=>{"use strict";var t=r(7495);r.o(t,"usePathname")&&r.d(s,{usePathname:function(){return t.usePathname}}),r.o(t,"useRouter")&&r.d(s,{useRouter:function(){return t.useRouter}}),r.o(t,"useSearchParams")&&r.d(s,{useSearchParams:function(){return t.useSearchParams}})},7134:(e,s,r)=>{Promise.resolve().then(r.bind(r,523)),Promise.resolve().then(r.bind(r,3319)),Promise.resolve().then(r.bind(r,1328)),Promise.resolve().then(r.bind(r,6388)),Promise.resolve().then(r.bind(r,9822)),Promise.resolve().then(r.bind(r,6179)),Promise.resolve().then(r.bind(r,9912)),Promise.resolve().then(r.bind(r,3868)),Promise.resolve().then(r.bind(r,6324)),Promise.resolve().then(r.bind(r,8283)),Promise.resolve().then(r.bind(r,7735)),Promise.resolve().then(r.bind(r,6053)),Promise.resolve().then(r.bind(r,5130)),Promise.resolve().then(r.bind(r,6418)),Promise.resolve().then(r.bind(r,1462)),Promise.resolve().then(r.bind(r,3760)),Promise.resolve().then(r.bind(r,965)),Promise.resolve().then(r.bind(r,8885)),Promise.resolve().then(r.bind(r,7461)),Promise.resolve().then(r.bind(r,4285)),Promise.resolve().then(r.bind(r,1247)),Promise.resolve().then(r.bind(r,4453)),Promise.resolve().then(r.bind(r,3741)),Promise.resolve().then(r.bind(r,666)),Promise.resolve().then(r.bind(r,1648)),Promise.resolve().then(r.bind(r,1447)),Promise.resolve().then(r.bind(r,4026)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.bind(r,801)),Promise.resolve().then(r.bind(r,3492)),Promise.resolve().then(r.bind(r,6909)),Promise.resolve().then(r.bind(r,5875)),Promise.resolve().then(r.bind(r,5530)),Promise.resolve().then(r.bind(r,974)),Promise.resolve().then(r.bind(r,7526)),Promise.resolve().then(r.bind(r,5850)),Promise.resolve().then(r.bind(r,9102)),Promise.resolve().then(r.bind(r,4952)),Promise.resolve().then(r.bind(r,3365)),Promise.resolve().then(r.bind(r,4127)),Promise.resolve().then(r.bind(r,7889)),Promise.resolve().then(r.bind(r,209)),Promise.resolve().then(r.bind(r,1951)),Promise.resolve().then(r.bind(r,3359))},7194:(e,s,r)=>{"use strict";r.d(s,{RY:()=>a,WI:()=>n.WI,Ze:()=>c,Zu:()=>n.Zu,_G:()=>n._G,fN:()=>d,iB:()=>h,j4:()=>u,k3:()=>n.k3,kp:()=>l,mL:()=>n.mL,np:()=>o,uv:()=>n.uv});var t=r(2330),n=r(7942);let i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},l=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("path",{d:"M8 6h12M8 12h12M8 18h12"}),(0,t.jsx)("circle",{cx:"3.6",cy:"6",r:"1.1",fill:"currentColor",stroke:"none"}),(0,t.jsx)("circle",{cx:"3.6",cy:"12",r:"1.1",fill:"currentColor",stroke:"none"}),(0,t.jsx)("circle",{cx:"3.6",cy:"18",r:"1.1",fill:"currentColor",stroke:"none"})]}),o=e=>(0,t.jsx)("svg",{...i,...e,children:(0,t.jsx)("path",{d:"M3 12h4l3 8 4-16 3 8h4"})}),a=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("circle",{cx:"7.5",cy:"15.5",r:"4.5"}),(0,t.jsx)("path",{d:"M10.7 12.3 21 2M15 8l3 3M18 5l3 3"})]}),d=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-2.64-6.36"}),(0,t.jsx)("path",{d:"M21 3v6h-6"})]}),c=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,t.jsx)("path",{d:"M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.7 1.7 0 0 0-1.87-.34 1.7 1.7 0 0 0-1.03 1.56V21a2 2 0 1 1-4 0v-.09a1.7 1.7 0 0 0-1.11-1.56 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.7 1.7 0 0 0 .34-1.87 1.7 1.7 0 0 0-1.56-1.03H3a2 2 0 1 1 0-4h.09a1.7 1.7 0 0 0 1.56-1.11 1.7 1.7 0 0 0-.34-1.87l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.7 1.7 0 0 0 1.87.34h.08A1.7 1.7 0 0 0 10.12 3V3a2 2 0 1 1 4 0v.09a1.7 1.7 0 0 0 1.03 1.56 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.7 1.7 0 0 0-.34 1.87v.08a1.7 1.7 0 0 0 1.56 1.03H21a2 2 0 1 1 0 4h-.09a1.7 1.7 0 0 0-1.56 1.03Z"})]}),h=e=>(0,t.jsxs)("svg",{...i,...e,children:[(0,t.jsx)("path",{d:"M6 3h9l3 3v15H6z"}),(0,t.jsx)("path",{d:"M15 3v3h3"}),(0,t.jsx)("path",{d:"M9 12h6M9 16h4"})]}),u=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:510,height:236,viewBox:"0 0 510 236",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M329.798 26H302.492V169.68H329.798V126.99H344.796L374.425 169.57H405.11L364.293 113.206L403.6 65.6621H371.909L343.689 101.616H329.798V26.0042V26Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M224.398 172C234.998 172 247.996 167.417 254.994 155.653H255.595V169.607H282.394V66.5446H255.595V80.2995H254.994C247.996 68.5362 234.994 63.7539 224.398 63.7539C194.799 63.7539 178 88.6717 178 117.776C178 146.879 194.799 172 224.398 172ZM205.802 117.776C205.802 101.031 213.201 85.2805 230.998 85.2805C248.796 85.2805 256.195 101.031 256.195 117.776C256.195 134.52 248.796 150.469 230.998 150.469C213.201 150.469 205.802 134.52 205.802 117.776Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M452.006 172C462.606 172 475.604 167.417 482.602 155.653H483.203V169.607H510.002V66.5446H483.203V80.2995H482.602C475.604 68.5362 462.602 63.7539 452.006 63.7539C422.407 63.7539 405.608 88.6717 405.608 117.776C405.608 146.879 422.407 172 452.006 172ZM433.409 117.776C433.409 101.031 440.809 85.2805 458.606 85.2805C476.403 85.2805 483.803 101.031 483.803 117.776C483.803 134.52 476.403 150.469 458.606 150.469C440.809 150.469 433.409 134.52 433.409 117.776Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M54 118H0C0 88.3759 24.3759 64 54 64C83.6241 64 108 88.3759 108 118H54Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M54 118H108C108 147.624 83.6241 172 54 172C24.3759 172 0 147.624 0 118H54Z",fill:"#00E0B8"}),(0,t.jsx)("path",{d:"M81 54C95.9117 54 108 41.9117 108 27C108 12.0883 95.9117 0 81 0C66.0883 0 54 12.0883 54 27C54 41.9117 66.0883 54 81 54Z",fill:"#1B1F24"}),(0,t.jsx)("path",{d:"M27 236C41.9117 236 54 223.912 54 209C54 194.088 41.9117 182 27 182C12.0883 182 0 194.088 0 209C0 223.912 12.0883 236 27 236Z",fill:"#00E0B8"})]})},8013:(e,s,r)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),!function(e,s){for(var r in s)Object.defineProperty(e,r,{enumerable:!0,get:s[r]})}(s,{callServer:function(){return t.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}});let t=r(7982),n=r(3738),i=r(4656)},8622:(e,s,r)=>{"use strict";r.d(s,{Y:()=>i});var t=r(7071),n=r(6146);function i(e,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=(0,t.useRouter)(),[l,o]=(0,n.useState)(e),a=(0,n.useRef)(e),d=(0,n.useRef)(null),c=(0,n.useRef)(s);(0,n.useEffect)(()=>{c.current=s},[s]);let h=(0,n.useCallback)(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]),u=(0,n.useCallback)(e=>{h(),a.current=e.trim(),o(e)},[h]);return(0,n.useEffect)(()=>{e!==a.current&&(a.current=e,o(e))},[e]),(0,n.useEffect)(()=>{let s=l.trim();if(s===e||s===a.current)return;let t=setTimeout(()=>{a.current=s,d.current=null,i.push(c.current(l))},r);return d.current=t,()=>{clearTimeout(t),d.current=null}},[l,e,r,i]),{query:l,setQuery:o,onNavigate:u}}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=7134)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[664],{4487:(e,r,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,9983))},7071:(e,r,n)=>{"use strict";var t=n(7495);n.o(t,"usePathname")&&n.d(r,{usePathname:function(){return t.usePathname}}),n.o(t,"useRouter")&&n.d(r,{useRouter:function(){return t.useRouter}}),n.o(t,"useSearchParams")&&n.d(r,{useSearchParams:function(){return t.useSearchParams}})},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return t.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}});let t=n(7982),s=n(3738),i=n(4656)},8622:(e,r,n)=>{"use strict";n.d(r,{Y:()=>i});var t=n(7071),s=n(6146);function i(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=(0,t.useRouter)(),[o,l]=(0,s.useState)(e),u=(0,s.useRef)(e),a=(0,s.useRef)(null),d=(0,s.useRef)(r);(0,s.useEffect)(()=>{d.current=r},[r]);let c=(0,s.useCallback)(()=>{a.current&&(clearTimeout(a.current),a.current=null)},[]),v=(0,s.useCallback)(e=>{c(),u.current=e.trim(),l(e)},[c]);return(0,s.useEffect)(()=>{e!==u.current&&(u.current=e,l(e))},[e]),(0,s.useEffect)(()=>{let r=o.trim();if(r===e||r===u.current)return;let t=setTimeout(()=>{u.current=r,a.current=null,i.push(d.current(o))},n);return a.current=t,()=>{clearTimeout(t),a.current=null}},[o,e,n,i]),{query:o,setQuery:l,onNavigate:v}}},9983:(e,r,n)=>{"use strict";n.d(r,{DetectionsClient:()=>b});var t=n(2330),s=n(7942),i=n(8726),o=n(7071),l=n(6146),u=n(8622),a=n(8013);let d=(0,a.createServerReference)("609b30736481d895ce81a75e3a522fc1b1bef3f987",a.callServer,void 0,a.findSourceMapURL,"setDetectionEnabled"),c=(0,a.createServerReference)("601e2beded2b4ce0bf12cb0d06229a10f40409638f",a.callServer,void 0,a.findSourceMapURL,"setDetectionPolicy"),v=(0,a.createServerReference)("0069f086e93e1b100507a1c16028b23196246996fb",a.callServer,void 0,a.findSourceMapURL,"recheckDetections"),h=(0,a.createServerReference)("40b5eb570dc1bcb8c45ce6126fe90f5912f2443806",a.callServer,void 0,a.findSourceMapURL,"pullDetectionUpdate"),m=[["all","All"],["library","Library"],["updates","Updates"]];function b(e){var r,n;let{list:a,detail:b,filter:f,query:P,selectedId:p}=e,S=(0,o.useRouter)(),R=(0,o.usePathname)(),[g,x]=(0,l.useState)(null),[y,C]=(0,l.useState)(!1),[k,w]=(0,l.useTransition)(),[j,U]=(0,l.useTransition)(),q=(0,l.useMemo)(()=>{let e=new Map;for(let r of a.items)r.latestVersion&&e.set(r.id,r.latestVersion);return e},[a.items]),M=(0,l.useCallback)(e=>{let r=(function(e){let r=new URLSearchParams;e.filter&&"all"!==e.filter&&r.set("filter",e.filter);let n=e.q.trim();return n&&r.set("q",n),e.id&&r.set("id",e.id),r})(e).toString();return r?"".concat(R,"?").concat(r):R},[R]),{query:N,setQuery:_,onNavigate:E}=(0,u.Y)(P,e=>M({filter:f,q:e})),L=(0,l.useCallback)(e=>{E(e.q),S.push(M(e))},[E,S,M]),O=b&&g&&null!=(n=b.rules.find(e=>e.id===g))?n:null,T=b?(0,s.Xg)(b):null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-4 grid min-h-0 flex-1 grid-cols-[352px_1fr] gap-4",children:[(0,t.jsx)(s.A7,{items:a.items,counts:a.counts,activeId:p,query:N,filter:f,onQueryChange:_,onFilterChange:e=>{L({filter:e,q:N})},onSelect:e=>{x(null),L({filter:f,q:N,id:e})},filterTabs:m,updatesById:q}),(0,t.jsx)(i.Zp,{className:"flex flex-col overflow-hidden shadow-sm",children:b?(0,t.jsx)(s.MF,{d:b,onOpenRule:x,onToggleEnabled:()=>{k||(L({filter:f,q:N,id:b.id}),w(()=>{d(b.id,!b.enabled)}))},onChangePolicy:e=>{w(()=>{c(b.id,e)})},onOpenUpdate:"update-available"===T?()=>{C(!0)}:void 0,onRecheck:"unknown"===T?()=>{w(()=>{v()})}:void 0,unknownHint:(0,t.jsxs)(t.Fragment,{children:["run ",(0,t.jsx)("code",{className:"font-mono",children:"aka detections"})," or start a Claude Code session to record what your binaries ship"]})}):(0,t.jsx)("div",{className:"grid flex-1 place-items-center p-6 text-center text-sm text-text-3",children:0===a.counts.all?"No detections installed — run the plugin to populate the local store.":0===a.items.length?"updates"===f?"No pending updates — every detection is up to date.":"No detections in this view.":"Select a detection to view its rules"})})]}),(0,t.jsx)(s.wO,{rule:O,onClose:()=>{x(null)}},null!=g?g:"no-rule"),(0,t.jsx)(s.b1,{det:y&&(null==b||null==(r=b.update)?void 0:r.available)?b:null,isUpdating:j,onClose:()=>{C(!1)},onConfirm:e=>{j||(L({filter:f,q:N,id:e}),U(async()=>{try{await h(e)}finally{C(!1)}}))}})]})}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=4487)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{6283:(e,r,n)=>{"use strict";n.d(r,{ExceptionDetailClient:()=>u});var t=n(2330),o=n(7942),c=n(6146),a=n(8013);let i=(0,a.createServerReference)("603916444086a9c23695f6250608e16aa166944aa4",a.callServer,void 0,a.findSourceMapURL,"revokeException");function u(e){let{exception:r}=e,[n,a]=(0,c.useState)(null),[u,l]=(0,c.useTransition)();return(0,t.jsx)(o.Gj,{exception:r,busy:u,error:n,onRevoke:e=>{l(async()=>{var n;let t=await i(r.id,e);a(t.ok?null:null!=(n=t.error)?n:"Could not revoke.")})}})}},6434:(e,r,n)=>{Promise.resolve().then(n.t.bind(n,7338,23)),Promise.resolve().then(n.bind(n,6283))},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return t.callServer},createServerReference:function(){return c.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}});let t=n(7982),o=n(3738),c=n(4656)}},e=>{e.O(0,[24,338,561,949,496,358],()=>e(e.s=6434)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39],{453:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,7338,23)),Promise.resolve().then(t.bind(t,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39],{453:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,7338,23)),Promise.resolve().then(t.bind(t,5032))},5032:(e,r,t)=>{"use strict";t.d(r,{NewExceptionClient:()=>i});var n=t(2330),u=t(7942),a=t(7071),c=t(6146),o=t(8013);let s=(0,o.createServerReference)("40d5600836a4518f34a5c61544981581becb5e12ee",o.callServer,void 0,o.findSourceMapURL,"addException");function i(e){let{rules:r}=e,t=(0,a.useRouter)(),[o,i]=(0,c.useState)(null),[l,f]=(0,c.useTransition)();return(0,n.jsx)(u.dt,{rules:r,onSubmit:e=>{f(async()=>{let r=await s(e);if(r.ok)t.push("/exceptions");else{var n;i(null!=(n=r.error)?n:"Could not create the exception.")}})},busy:l,error:o})}},7071:(e,r,t)=>{"use strict";var n=t(7495);t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}})},8013:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}(r,{callServer:function(){return n.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return u.findSourceMapURL}});let n=t(7982),u=t(3738),a=t(4656)}},e=>{e.O(0,[24,338,561,949,496,358],()=>e(e.s=453)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[782],{4337:(e,n,r)=>{Promise.resolve().then(r.bind(r,523)),Promise.resolve().then(r.bind(r,3319)),Promise.resolve().then(r.bind(r,1328)),Promise.resolve().then(r.bind(r,6388)),Promise.resolve().then(r.bind(r,9822)),Promise.resolve().then(r.bind(r,6179)),Promise.resolve().then(r.bind(r,9912)),Promise.resolve().then(r.bind(r,3868)),Promise.resolve().then(r.bind(r,6324)),Promise.resolve().then(r.bind(r,8283)),Promise.resolve().then(r.bind(r,7735)),Promise.resolve().then(r.bind(r,6053)),Promise.resolve().then(r.bind(r,5130)),Promise.resolve().then(r.bind(r,6418)),Promise.resolve().then(r.bind(r,1462)),Promise.resolve().then(r.bind(r,3760)),Promise.resolve().then(r.bind(r,965)),Promise.resolve().then(r.bind(r,8885)),Promise.resolve().then(r.bind(r,7461)),Promise.resolve().then(r.bind(r,4285)),Promise.resolve().then(r.bind(r,1247)),Promise.resolve().then(r.bind(r,4453)),Promise.resolve().then(r.bind(r,3741)),Promise.resolve().then(r.bind(r,666)),Promise.resolve().then(r.bind(r,1648)),Promise.resolve().then(r.bind(r,1447)),Promise.resolve().then(r.bind(r,4026)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.bind(r,801)),Promise.resolve().then(r.bind(r,3492)),Promise.resolve().then(r.bind(r,6909)),Promise.resolve().then(r.bind(r,5875)),Promise.resolve().then(r.bind(r,5530)),Promise.resolve().then(r.bind(r,974)),Promise.resolve().then(r.bind(r,7526)),Promise.resolve().then(r.bind(r,5850)),Promise.resolve().then(r.bind(r,9102)),Promise.resolve().then(r.bind(r,4952)),Promise.resolve().then(r.bind(r,3365)),Promise.resolve().then(r.bind(r,4127)),Promise.resolve().then(r.bind(r,7889)),Promise.resolve().then(r.bind(r,209)),Promise.resolve().then(r.bind(r,1951)),Promise.resolve().then(r.bind(r,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[782],{4337:(e,n,r)=>{Promise.resolve().then(r.bind(r,523)),Promise.resolve().then(r.bind(r,3319)),Promise.resolve().then(r.bind(r,1328)),Promise.resolve().then(r.bind(r,6388)),Promise.resolve().then(r.bind(r,9822)),Promise.resolve().then(r.bind(r,6179)),Promise.resolve().then(r.bind(r,9912)),Promise.resolve().then(r.bind(r,3868)),Promise.resolve().then(r.bind(r,6324)),Promise.resolve().then(r.bind(r,8283)),Promise.resolve().then(r.bind(r,7735)),Promise.resolve().then(r.bind(r,6053)),Promise.resolve().then(r.bind(r,5130)),Promise.resolve().then(r.bind(r,6418)),Promise.resolve().then(r.bind(r,1462)),Promise.resolve().then(r.bind(r,3760)),Promise.resolve().then(r.bind(r,965)),Promise.resolve().then(r.bind(r,8885)),Promise.resolve().then(r.bind(r,7461)),Promise.resolve().then(r.bind(r,4285)),Promise.resolve().then(r.bind(r,1247)),Promise.resolve().then(r.bind(r,4453)),Promise.resolve().then(r.bind(r,3741)),Promise.resolve().then(r.bind(r,666)),Promise.resolve().then(r.bind(r,1648)),Promise.resolve().then(r.bind(r,1447)),Promise.resolve().then(r.bind(r,4026)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.bind(r,801)),Promise.resolve().then(r.bind(r,3492)),Promise.resolve().then(r.bind(r,6909)),Promise.resolve().then(r.bind(r,5875)),Promise.resolve().then(r.bind(r,5530)),Promise.resolve().then(r.bind(r,974)),Promise.resolve().then(r.bind(r,7526)),Promise.resolve().then(r.bind(r,5850)),Promise.resolve().then(r.bind(r,9102)),Promise.resolve().then(r.bind(r,4952)),Promise.resolve().then(r.bind(r,3365)),Promise.resolve().then(r.bind(r,4127)),Promise.resolve().then(r.bind(r,7889)),Promise.resolve().then(r.bind(r,209)),Promise.resolve().then(r.bind(r,1951)),Promise.resolve().then(r.bind(r,7845))},7071:(e,n,r)=>{"use strict";var s=r(7495);r.o(s,"usePathname")&&r.d(n,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(n,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(n,{useSearchParams:function(){return s.useSearchParams}})},7845:(e,n,r)=>{"use strict";r.d(n,{ExceptionsClient:()=>v});var s=r(2330),o=r(7942),i=r(8726),t=r(7338),l=r.n(t),a=r(7071),d=r(6146),c=r(8013);let u=(0,c.createServerReference)("404acccecc615c3fba01dbdab3ba387bc846a914b9",c.callServer,void 0,c.findSourceMapURL,"approveBlocked"),h=(0,c.createServerReference)("40f053f11c6be87817f62cea8b0fad34d6fe0f2b27",c.callServer,void 0,c.findSourceMapURL,"rotateKey");function v(e){let{items:n,blocked:r,includeTerminal:t,blockedWindow:c,keyVersion:v,activePermanent:b}=e,m=(0,a.useRouter)(),[P,f]=(0,d.useState)(null),[p,S]=(0,d.useState)(!1),[x,j]=(0,d.useState)(null),[y,R]=(0,d.useTransition)();return(0,s.jsxs)("div",{className:"px-8 pb-10 pt-7",children:[(0,s.jsx)(o.ec,{title:"Exceptions",sub:"Explicit, audited bypasses — one exact value each, never a rule-wide suppression",actions:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.$n,{asChild:!0,variant:"ghost",tone:"neutral",size:"sm",children:(0,s.jsx)(l(),{href:t?"/exceptions":"/exceptions?all=1",children:t?"Active only":"Show all (audit)"})}),(0,s.jsxs)(i.$n,{variant:"outline",tone:"neutral",size:"sm",onClick:()=>{j(null),S(!0)},children:["Rotate key",null!==v&&" (v".concat(String(v),")")]}),(0,s.jsx)(i.$n,{asChild:!0,variant:"solid",tone:"primary",size:"sm",children:(0,s.jsx)(l(),{href:"/exceptions/new",children:"Pre-authorize a value"})})]})}),(0,s.jsx)(o.VB,{items:r,onApprove:e=>{var n;j(null),f(null!=(n=r.find(n=>n.reference===e))?n:null)},blockedWindow:c,onBlockedWindowChange:e=>{let n=new URLSearchParams;n.set("window",e),t&&n.set("all","1"),m.push("/exceptions?".concat(n.toString()))}}),(0,s.jsx)(o.Eb,{items:n,includeTerminal:t,onSelect:e=>{m.push("/exceptions/".concat(e.slice(0,8)))}}),(0,s.jsx)(o.fu,{entry:P,open:null!==P,onOpenChange:e=>{e||(f(null),j(null))},onSubmit:e=>{R(async()=>{let n=await u(e);if(n.ok)f(null),j(null);else{var r;j(null!=(r=n.error)?r:"Could not grant the exception.")}})},busy:y,error:x}),(0,s.jsx)(o.nZ,{open:p,onOpenChange:e=>{S(e),e||j(null)},activePermanent:b,keyVersion:v,onConfirm:e=>{R(async()=>{let n=await h(e);if(n.ok)S(!1),j(null);else{var r;j(null!=(r=n.error)?r:"Could not rotate the key.")}})},busy:y,error:x})]})}},8013:(e,n,r)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),!function(e,n){for(var r in n)Object.defineProperty(e,r,{enumerable:!0,get:n[r]})}(n,{callServer:function(){return s.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}});let s=r(7982),o=r(3738),i=r(4656)}},e=>{e.O(0,[24,338,561,949,496,358],()=>e(e.s=4337)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20],{3541:(e,r,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,4593))},4593:(e,r,n)=>{"use strict";n.d(r,{InventoryClient:()=>h});var s=n(2330),t=n(7942),i=n(8726),o=n(7071),l=n(6146),a=n(8622),c=n(8013);let u=(0,c.createServerReference)("7040b803c58a89be9cd457a1e71059eeea0ff911e2",c.callServer,void 0,c.findSourceMapURL,"setFileAccess"),d=(0,c.createServerReference)("60f9a51fad127c1ea88996492e97b50c813db11f93",c.callServer,void 0,c.findSourceMapURL,"setMcpTrust");function h(e){let{harnesses:r,assetGroups:n,projects:c,attention:h,activeSel:m,proj:v,selHarness:b,assetDetail:P,tree:f,blocked:p,harnessEvents:x,fileDetail:S,path:j,fq:y,drawer:g}=e,R=(0,o.useRouter)(),C=(0,o.usePathname)(),[k,w]=(0,l.useState)("tree"),[N,T]=(0,l.useState)("all"),[M,_]=(0,l.useState)(""),[q,E]=(0,l.useState)(!0),[L,F]=(0,l.useState)(()=>{var e;let n=null==(e=r[0])?void 0:e.id;return n?{[n]:!0}:{}}),[O,U]=(0,l.useTransition)(),[A,Q]=(0,l.useState)(null),B=(0,l.useCallback)(e=>{let r=(function(e){var r;let n=new URLSearchParams;e.sel&&(n.set("st",e.sel.type),n.set("si",e.sel.id)),e.path&&e.path.length>0&&n.set("path",e.path.join("/"));let s=null==(r=e.fq)?void 0:r.trim();return s&&n.set("fq",s),e.file&&n.set("file",e.file),n})(e).toString();return r?"".concat(C,"?").concat(r):C},[C]),{query:Y,setQuery:G,onNavigate:H}=(0,a.Y)(y,e=>B({sel:m,path:j,fq:e})),I=(0,l.useCallback)(e=>{var r;H(null!=(r=e.fq)?r:""),R.push(B(e))},[H,R,B]),V=(e,r)=>{O||(Q(null),U(async()=>{try{await r()||Q("Couldn't ".concat(e," — reload to refresh."))}catch(r){Q("Couldn't ".concat(e,". Please try again."))}}))},W=e=>{I({sel:{type:"project",id:e}})},Z=e=>{I({sel:{type:e.type,id:e.id}})};return(0,s.jsxs)(s.Fragment,{children:[A&&(0,s.jsx)("div",{role:"alert",className:"mb-3 shrink-0 rounded-lg border border-border bg-sev-critical-fill px-4 py-2.5 text-sm text-sev-critical",children:A}),(0,s.jsxs)("div",{className:"flex min-h-0 flex-1 gap-4",children:[(0,s.jsx)(t._c,{projects:c,assetGroups:n,harnesses:r,sel:m,viewMode:k,onViewMode:w,expanded:L,onToggleExpand:(e,r)=>{F(n=>({...n,[e]:null!=r?r:!n[e]}))},typeFilter:N,onTypeFilter:T,query:M,onQuery:_,attention:h,onSelectProject:W,onSelectAsset:Z,onSelectHarness:e=>{I({sel:{type:"harness",id:e}})}}),v?(0,s.jsx)(t.kL,{proj:v,path:j,onPathChange:e=>{I({sel:m,path:e})},query:Y,onQueryChange:G,tree:f,isLoading:!1,error:null,onSetAccess:(e,r)=>{V("update file access",()=>u(v.id,e,r))},onOpenFile:e=>{I({sel:m,path:j,fq:y,file:e})},drawerPath:g,blocked:p,showBlocked:q,onToggleBlocked:()=>{E(e=>!e)}}):(0,s.jsx)(i.Zp,{className:"flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden",children:b?(0,s.jsx)(t.y2,{harness:b,events:x,onSelect:Z,onSelectProject:W}):P?(0,s.jsx)(t.i5,{asset:P,onTrust:e=>{V("update MCP trust",()=>d(P.id,e))}}):(0,s.jsx)("div",{className:"grid min-h-0 flex-1 place-items-center p-8",children:(0,s.jsx)(t.pp,{message:"No assets to display"})})})]}),(0,s.jsx)(i.cj,{open:null!==g&&null!==v,onOpenChange:e=>{e||I({sel:m,path:j,fq:y})},children:(0,s.jsx)(i.h,{className:"max-w-120 p-0","aria-describedby":void 0,children:v&&null!==g&&(S?(0,s.jsx)(t.To,{file:S,onChange:e=>{V("update file access",()=>u(v.id,S.path,e))}}):(0,s.jsx)("div",{className:"grid h-full place-items-center p-6 text-center text-sm text-text-3",children:"File not found"}))})})]})}[...n(8338).PWo.options]},7071:(e,r,n)=>{"use strict";var s=n(7495);n.o(s,"usePathname")&&n.d(r,{usePathname:function(){return s.usePathname}}),n.o(s,"useRouter")&&n.d(r,{useRouter:function(){return s.useRouter}}),n.o(s,"useSearchParams")&&n.d(r,{useSearchParams:function(){return s.useSearchParams}})},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return s.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return t.findSourceMapURL}});let s=n(7982),t=n(3738),i=n(4656)},8622:(e,r,n)=>{"use strict";n.d(r,{Y:()=>i});var s=n(7071),t=n(6146);function i(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=(0,s.useRouter)(),[o,l]=(0,t.useState)(e),a=(0,t.useRef)(e),c=(0,t.useRef)(null),u=(0,t.useRef)(r);(0,t.useEffect)(()=>{u.current=r},[r]);let d=(0,t.useCallback)(()=>{c.current&&(clearTimeout(c.current),c.current=null)},[]),h=(0,t.useCallback)(e=>{d(),a.current=e.trim(),l(e)},[d]);return(0,t.useEffect)(()=>{e!==a.current&&(a.current=e,l(e))},[e]),(0,t.useEffect)(()=>{let r=o.trim();if(r===e||r===a.current)return;let s=setTimeout(()=>{a.current=r,c.current=null,i.push(u.current(o))},n);return c.current=s,()=>{clearTimeout(s),c.current=null}},[o,e,n,i]),{query:o,setQuery:l,onNavigate:h}}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=3541)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{4931:(e,s,n)=>{"use strict";n.d(s,{ScanClient:()=>x});var t=n(2330),r=n(8726),i=n(7338),l=n.n(i),o=n(6146),a=n(8013);let d=(0,a.createServerReference)("40d38f88bb3faee49398b74c078b2b489a366bb069",a.callServer,void 0,a.findSourceMapURL,"runScan");var c=n(7942);let m=(0,a.createServerReference)("40ac5caf2bf7a7312333e3d74800441da5e5c77dd4",a.callServer,void 0,a.findSourceMapURL,"listDirectory");function h(e){let{onSelect:s}=e,[n,i]=(0,o.useState)(!1),[l,a]=(0,o.useState)(!1),[d,h]=(0,o.useState)(null),[x,v]=(0,o.useState)([]),[u,b]=(0,o.useState)(null),[f,p]=(0,o.useState)([]),[j,P]=(0,o.useState)(!1),[g,N]=(0,o.useState)(null),y=()=>{a(!1),h(null),v([]),b(null),p([]),N(null)},S=()=>{i(!1),y()},k=e=>{P(!0),N(null),m(e).then(e=>{var s,n;if(!e.ok||!e.path||!e.entries||!e.crumbs)return void N(null!=(s=e.error)?s:"Could not list directory.");h(e.path),v(e.crumbs),b(null!=(n=e.parent)?n:null),p(e.entries)}).catch(()=>{N("Could not list directory.")}).finally(()=>{P(!1)})};return(0,t.jsxs)(r.AM,{open:n,onOpenChange:e=>{i(e),e||y()},children:[(0,t.jsx)(r.Wv,{asChild:!0,children:(0,t.jsx)(r.$n,{variant:"ghost",tone:"neutral",size:"sm",children:"Browse…"})}),(0,t.jsxs)(r.hl,{align:"end",className:"w-96 p-4",children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-label font-semibold uppercase tracking-wider text-text-3",children:l?"Choose a folder":"Browse your filesystem"}),(0,t.jsx)("button",{type:"button","aria-label":"Close",onClick:S,className:"rounded p-1 text-text-3 hover:text-text",children:(0,t.jsx)(c.mD,{name:"x",className:"size-3.5"})})]}),l?(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-1 text-xs",children:[u&&(0,t.jsx)(r.$n,{variant:"ghost",size:"icon",className:"size-6",title:"Up one level",onClick:()=>{k(u)},children:(0,t.jsx)(c.mD,{name:"arrow-up",className:"size-3.5"})}),x.map((e,s)=>{let n=s===x.length-1;return(0,t.jsxs)(o.Fragment,{children:[s>0&&(0,t.jsx)(c.mD,{name:"chevron-right",className:"size-3 text-text-3"}),(0,t.jsx)("button",{type:"button",onClick:()=>{k(e.path)},className:n?"cursor-default font-mono font-bold text-text":"font-mono text-text-2 hover:text-text",children:e.name})]},e.path)})]}),(0,t.jsxs)("div",{className:"max-h-64 overflow-y-auto rounded-lg border border-border",children:[j&&(0,t.jsx)("div",{className:"p-3 text-xs text-text-3",children:"Loading…"}),!j&&g&&(0,t.jsx)("div",{className:"p-3 text-xs text-sev-critical",children:g}),!j&&!g&&f.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>{k(e.path)},className:"flex w-full items-center gap-2 px-3 py-2 text-left text-sm hover:bg-surface-2",children:[(0,t.jsx)(c.mD,{name:"folder",className:"size-4 shrink-0 text-primary"}),(0,t.jsx)("span",{className:"truncate text-text",title:e.name,children:e.name})]},e.path)),!j&&!g&&0===f.length&&(0,t.jsx)("div",{className:"p-3 text-xs text-text-3",children:"No subfolders."})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(r.$n,{variant:"solid",tone:"primary",size:"sm",disabled:!d,onClick:()=>{d&&s(d),S()},children:"Select this folder"})})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("p",{className:"text-xs text-text-3",children:"AKA will list folder names on your machine, starting from your home directory. Nothing is read or scanned until you click Scan."}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsx)(r.$n,{variant:"ghost",tone:"neutral",size:"sm",onClick:S,children:"Cancel"}),(0,t.jsx)(r.$n,{variant:"solid",tone:"primary",size:"sm",onClick:()=>{a(!0),k(void 0)},children:"Allow"})]})]})]})]})}function x(e){let{enabledRuleCount:s}=e,[n,i]=(0,o.useState)(""),[a,c]=(0,o.useState)(null),[m,x]=(0,o.useTransition)(),v=()=>{x(async()=>{c(await d(n))})};return(0,t.jsx)("div",{className:"flex max-w-xl flex-col gap-4",children:(0,t.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-5",children:[(0,t.jsx)("div",{className:"mb-1.5 text-label font-semibold uppercase tracking-wider text-text-3",children:"File or directory to scan"}),(0,t.jsxs)("p",{className:"mb-3 text-xs text-text-3",children:["Walked recursively (node_modules, dotdirs, build output and files over 1 MB are skipped). The raw match never lands on disk — findings store only a masked preview and the event keeps a redacted copy. ",String(s)," rule",1===s?"":"s"," enabled."]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.pd,{value:n,onChange:e=>{i(e.target.value)},onKeyDown:e=>{"Enter"!==e.key||m||v()},placeholder:"/path/to/project",className:"font-mono"}),(0,t.jsx)(r.$n,{variant:"solid",tone:"primary",size:"sm",disabled:m,onClick:v,children:m?"Scanning…":"Scan"}),(0,t.jsx)(h,{onSelect:e=>{i(e)}})]}),a&&!a.ok&&(0,t.jsx)("p",{className:"mt-3 text-xs text-sev-critical",children:a.error}),(null==a?void 0:a.ok)&&(0,t.jsxs)("div",{className:"mt-3 rounded-lg border border-ok-fill bg-ok-fill px-3 py-2 text-xs text-text",children:["Scanned ",String(a.scanned)," file",1===a.scanned?"":"s"," \xb7"," ",String(a.findings)," finding",1===a.findings?"":"s"," recorded."," ",void 0!==a.findings&&a.findings>0&&(0,t.jsx)(l(),{href:"/findings",className:"font-semibold text-primary underline",children:"View findings"})]})]})})}},5756:(e,s,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,4931))},8013:(e,s,n)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),!function(e,s){for(var n in s)Object.defineProperty(e,n,{enumerable:!0,get:s[n]})}(s,{callServer:function(){return t.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return r.findSourceMapURL}});let t=n(7982),r=n(3738),i=n(4656)}},e=>{e.O(0,[24,338,561,949,496,358],()=>e(e.s=5756)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[109],{8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return s.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}});let s=n(7982),i=n(3738),o=n(4656)},8188:(e,r,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,9149))},9149:(e,r,n)=>{"use strict";n.d(r,{SettingsClient:()=>v});var s=n(2330),i=n(7942),o=n(6146),t=n(8013);let l=(0,t.createServerReference)("40fd3e0ad54e53cf2f6baf755d9b83af173f890ab4",t.callServer,void 0,t.findSourceMapURL,"saveSettings");function v(e){let{settings:r}=e,[n,t]=(0,o.useState)(null),[v,d]=(0,o.useState)(!1),[b,h]=(0,o.useTransition)();return(0,s.jsx)(i.A3,{settings:r,busy:b,error:n,saved:v,onSave:e=>{h(async()=>{var r;let n=await l(e);t(n.ok?null:null!=(r=n.error)?r:"Could not save."),d(n.ok)})}})}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=8188)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[606],{891:(e,n,r)=>{Promise.resolve().then(r.bind(r,523)),Promise.resolve().then(r.bind(r,3319)),Promise.resolve().then(r.bind(r,1328)),Promise.resolve().then(r.bind(r,6388)),Promise.resolve().then(r.bind(r,9822)),Promise.resolve().then(r.bind(r,6179)),Promise.resolve().then(r.bind(r,9912)),Promise.resolve().then(r.bind(r,3868)),Promise.resolve().then(r.bind(r,6324)),Promise.resolve().then(r.bind(r,8283)),Promise.resolve().then(r.bind(r,7735)),Promise.resolve().then(r.bind(r,6053)),Promise.resolve().then(r.bind(r,5130)),Promise.resolve().then(r.bind(r,6418)),Promise.resolve().then(r.bind(r,1462)),Promise.resolve().then(r.bind(r,3760)),Promise.resolve().then(r.bind(r,965)),Promise.resolve().then(r.bind(r,8885)),Promise.resolve().then(r.bind(r,7461)),Promise.resolve().then(r.bind(r,4285)),Promise.resolve().then(r.bind(r,1247)),Promise.resolve().then(r.bind(r,4453)),Promise.resolve().then(r.bind(r,3741)),Promise.resolve().then(r.bind(r,666)),Promise.resolve().then(r.bind(r,1648)),Promise.resolve().then(r.bind(r,1447)),Promise.resolve().then(r.bind(r,4026)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.bind(r,801)),Promise.resolve().then(r.bind(r,3492)),Promise.resolve().then(r.bind(r,6909)),Promise.resolve().then(r.bind(r,5875)),Promise.resolve().then(r.bind(r,5530)),Promise.resolve().then(r.bind(r,974)),Promise.resolve().then(r.bind(r,7526)),Promise.resolve().then(r.bind(r,5850)),Promise.resolve().then(r.bind(r,9102)),Promise.resolve().then(r.bind(r,4952)),Promise.resolve().then(r.bind(r,3365)),Promise.resolve().then(r.bind(r,4127)),Promise.resolve().then(r.bind(r,7889)),Promise.resolve().then(r.bind(r,209)),Promise.resolve().then(r.bind(r,1951)),Promise.resolve().then(r.bind(r,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[606],{891:(e,n,r)=>{Promise.resolve().then(r.bind(r,523)),Promise.resolve().then(r.bind(r,3319)),Promise.resolve().then(r.bind(r,1328)),Promise.resolve().then(r.bind(r,6388)),Promise.resolve().then(r.bind(r,9822)),Promise.resolve().then(r.bind(r,6179)),Promise.resolve().then(r.bind(r,9912)),Promise.resolve().then(r.bind(r,3868)),Promise.resolve().then(r.bind(r,6324)),Promise.resolve().then(r.bind(r,8283)),Promise.resolve().then(r.bind(r,7735)),Promise.resolve().then(r.bind(r,6053)),Promise.resolve().then(r.bind(r,5130)),Promise.resolve().then(r.bind(r,6418)),Promise.resolve().then(r.bind(r,1462)),Promise.resolve().then(r.bind(r,3760)),Promise.resolve().then(r.bind(r,965)),Promise.resolve().then(r.bind(r,8885)),Promise.resolve().then(r.bind(r,7461)),Promise.resolve().then(r.bind(r,4285)),Promise.resolve().then(r.bind(r,1247)),Promise.resolve().then(r.bind(r,4453)),Promise.resolve().then(r.bind(r,3741)),Promise.resolve().then(r.bind(r,666)),Promise.resolve().then(r.bind(r,1648)),Promise.resolve().then(r.bind(r,1447)),Promise.resolve().then(r.bind(r,4026)),Promise.resolve().then(r.bind(r,5392)),Promise.resolve().then(r.bind(r,801)),Promise.resolve().then(r.bind(r,3492)),Promise.resolve().then(r.bind(r,6909)),Promise.resolve().then(r.bind(r,5875)),Promise.resolve().then(r.bind(r,5530)),Promise.resolve().then(r.bind(r,974)),Promise.resolve().then(r.bind(r,7526)),Promise.resolve().then(r.bind(r,5850)),Promise.resolve().then(r.bind(r,9102)),Promise.resolve().then(r.bind(r,4952)),Promise.resolve().then(r.bind(r,3365)),Promise.resolve().then(r.bind(r,4127)),Promise.resolve().then(r.bind(r,7889)),Promise.resolve().then(r.bind(r,209)),Promise.resolve().then(r.bind(r,1951)),Promise.resolve().then(r.bind(r,7704))},7704:(e,n,r)=>{"use strict";r.d(n,{UpdatesClient:()=>h});var s=r(2330),i=r(7942),o=r(8726),l=r(6146),t=r(8013);let d=(0,t.createServerReference)("405a415de1040d163d05df2cbb306dc5933addb744",t.callServer,void 0,t.findSourceMapURL,"applyUpdate"),a=(0,t.createServerReference)("4019a1d19956c7144335f5d90a9080ef4a8c715e83",t.callServer,void 0,t.findSourceMapURL,"installPlugin"),c=(0,t.createServerReference)("005e6cd69d964cc663c56724d44721cc4938ca023f",t.callServer,void 0,t.findSourceMapURL,"checkNow");function h(e){let{statuses:n,availablePlugins:r,checkedAt:t,commands:h,installCommands:m}=e,[v,u]=(0,l.useState)({}),[b,P]=(0,l.useState)({}),[f,p]=(0,l.useState)(null),[x,S]=(0,l.useState)(null),[k,j]=(0,l.useState)(!1),[R,g]=(0,l.useState)(null),[w,y]=(0,l.useTransition)(),[,C]=(0,l.useTransition)();return(0,s.jsxs)("div",{className:"flex max-w-3xl flex-col gap-4",children:[(0,s.jsx)(i.bn,{statuses:n,checkedAt:t,busy:w,onCheckNow:()=>{y(async()=>{await c()})},onApply:e=>{var r;let s=n.find(n=>n.id===e);s&&g({id:e,kind:"update",name:s.name,command:null!=(r=h[e])?r:""})},applyingId:f,outcomes:v,restartRequired:k}),(0,s.jsx)(i.JR,{plugins:r,onInstall:e=>{var n;let s=r.find(n=>n.id===e);s&&g({id:e,kind:"install",name:s.name,command:null!=(n=m[e])?n:""})},installingId:x,outcomes:b}),(0,s.jsx)(o.lG,{open:null!==R,onOpenChange:e=>{e||g(null)},children:(0,s.jsxs)(o.Cf,{children:[(0,s.jsxs)(o.c7,{children:[(0,s.jsxs)(o.L3,{children:[(null==R?void 0:R.kind)==="install"?"Install":"Update"," ",null==R?void 0:R.name,"?"]}),(0,s.jsx)(o.rr,{children:"This runs the following command on this machine:"})]}),(0,s.jsxs)(o.R4,{children:[(0,s.jsx)("pre",{className:"overflow-x-auto rounded-lg border border-border bg-surface-2 p-3 font-mono text-xs text-text",children:null==R?void 0:R.command}),(null==R?void 0:R.id)==="cli"&&(0,s.jsxs)("p",{className:"text-xs text-text-3",children:["This replaces the package the dashboard server itself runs from — you’ll need to restart ",(0,s.jsx)("code",{className:"font-mono",children:"aka dashboard"})," afterwards."]})]}),(0,s.jsxs)(o.Es,{children:[(0,s.jsx)(o.$n,{variant:"ghost",tone:"neutral",size:"sm",onClick:()=>{g(null)},children:"Cancel"}),(0,s.jsx)(o.$n,{variant:"solid",tone:"primary",size:"sm",onClick:()=>{R&&(g(null),"update"===R.kind?p(R.id):S(R.id),C(async()=>{let e="update"===R.kind?await d(R.id):await a(R.id),n={ok:e.ok,output:e.output};"update"===R.kind?(u(e=>({...e,[R.id]:n})),p(null),e.restartRequired&&j(!0)):(P(e=>({...e,[R.id]:n})),S(null))}))},children:"Run it"})]})]})})]})}},8013:(e,n,r)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),!function(e,n){for(var r in n)Object.defineProperty(e,r,{enumerable:!0,get:n[r]})}(n,{callServer:function(){return s.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}});let s=r(7982),i=r(3738),o=r(4656)}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=891)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[664],{982:(e,r,n)=>{"use strict";n.d(r,{DetectionsClient:()=>b});var t=n(2330),s=n(7942),i=n(8726),o=n(7071),l=n(6146),a=n(8622),u=n(8013);let d=(0,u.createServerReference)("604e7a0bac09b81f5f5135cb16a7939805df89fd4f",u.callServer,void 0,u.findSourceMapURL,"setDetectionEnabled"),c=(0,u.createServerReference)("60efac95f63c4f0868888292a196753d687878d8f6",u.callServer,void 0,u.findSourceMapURL,"setDetectionPolicy"),v=(0,u.createServerReference)("000084d504814533498ad37b7b487cf06a003e56d5",u.callServer,void 0,u.findSourceMapURL,"recheckDetections"),h=(0,u.createServerReference)("40b299790419d92115c57859c70cb457c56386d905",u.callServer,void 0,u.findSourceMapURL,"pullDetectionUpdate"),m=[["all","All"],["library","Library"],["updates","Updates"]];function b(e){var r,n;let{list:u,detail:b,filter:f,query:P,selectedId:p}=e,S=(0,o.useRouter)(),R=(0,o.usePathname)(),[g,x]=(0,l.useState)(null),[y,C]=(0,l.useState)(!1),[k,w]=(0,l.useTransition)(),[j,U]=(0,l.useTransition)(),q=(0,l.useMemo)(()=>{let e=new Map;for(let r of u.items)r.latestVersion&&e.set(r.id,r.latestVersion);return e},[u.items]),M=(0,l.useCallback)(e=>{let r=(function(e){let r=new URLSearchParams;e.filter&&"all"!==e.filter&&r.set("filter",e.filter);let n=e.q.trim();return n&&r.set("q",n),e.id&&r.set("id",e.id),r})(e).toString();return r?"".concat(R,"?").concat(r):R},[R]),{query:N,setQuery:_,onNavigate:E}=(0,a.Y)(P,e=>M({filter:f,q:e})),L=(0,l.useCallback)(e=>{E(e.q),S.push(M(e))},[E,S,M]),O=b&&g&&null!=(n=b.rules.find(e=>e.id===g))?n:null,T=b?(0,s.Xg)(b):null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-4 grid min-h-0 flex-1 grid-cols-[352px_1fr] gap-4",children:[(0,t.jsx)(s.A7,{items:u.items,counts:u.counts,activeId:p,query:N,filter:f,onQueryChange:_,onFilterChange:e=>{L({filter:e,q:N})},onSelect:e=>{x(null),L({filter:f,q:N,id:e})},filterTabs:m,updatesById:q}),(0,t.jsx)(i.Zp,{className:"flex flex-col overflow-hidden shadow-sm",children:b?(0,t.jsx)(s.MF,{d:b,onOpenRule:x,onToggleEnabled:()=>{k||(L({filter:f,q:N,id:b.id}),w(()=>{d(b.id,!b.enabled)}))},onChangePolicy:e=>{w(()=>{c(b.id,e)})},onOpenUpdate:"update-available"===T?()=>{C(!0)}:void 0,onRecheck:"unknown"===T?()=>{w(()=>{v()})}:void 0,unknownHint:(0,t.jsxs)(t.Fragment,{children:["run ",(0,t.jsx)("code",{className:"font-mono",children:"aka detections"})," or start a Claude Code session to record what your binaries ship"]})}):(0,t.jsx)("div",{className:"grid flex-1 place-items-center p-6 text-center text-sm text-text-3",children:0===u.counts.all?"No detections installed — run the plugin to populate the local store.":0===u.items.length?"updates"===f?"No pending updates — every detection is up to date.":"No detections in this view.":"Select a detection to view its rules"})})]}),(0,t.jsx)(s.wO,{rule:O,onClose:()=>{x(null)}},null!=g?g:"no-rule"),(0,t.jsx)(s.b1,{det:y&&(null==b||null==(r=b.update)?void 0:r.available)?b:null,isUpdating:j,onClose:()=>{C(!1)},onConfirm:e=>{j||(L({filter:f,q:N,id:e}),U(async()=>{try{await h(e)}finally{C(!1)}}))}})]})}},4487:(e,r,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,982))},7071:(e,r,n)=>{"use strict";var t=n(7495);n.o(t,"usePathname")&&n.d(r,{usePathname:function(){return t.usePathname}}),n.o(t,"useRouter")&&n.d(r,{useRouter:function(){return t.useRouter}}),n.o(t,"useSearchParams")&&n.d(r,{useSearchParams:function(){return t.useSearchParams}})},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return t.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}});let t=n(7982),s=n(3738),i=n(4656)},8622:(e,r,n)=>{"use strict";n.d(r,{Y:()=>i});var t=n(7071),s=n(6146);function i(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=(0,t.useRouter)(),[o,l]=(0,s.useState)(e),a=(0,s.useRef)(e),u=(0,s.useRef)(null),d=(0,s.useRef)(r);(0,s.useEffect)(()=>{d.current=r},[r]);let c=(0,s.useCallback)(()=>{u.current&&(clearTimeout(u.current),u.current=null)},[]),v=(0,s.useCallback)(e=>{c(),a.current=e.trim(),l(e)},[c]);return(0,s.useEffect)(()=>{e!==a.current&&(a.current=e,l(e))},[e]),(0,s.useEffect)(()=>{let r=o.trim();if(r===e||r===a.current)return;let t=setTimeout(()=>{a.current=r,u.current=null,i.push(d.current(o))},n);return u.current=t,()=>{clearTimeout(t),u.current=null}},[o,e,n,i]),{query:o,setQuery:l,onNavigate:v}}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=4487)),_N_E=e.O()}]);
|
package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-a20e7d7a2f0ad507.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{6434:(e,r,n)=>{Promise.resolve().then(n.t.bind(n,7338,23)),Promise.resolve().then(n.bind(n,7258))},7258:(e,r,n)=>{"use strict";n.d(r,{ExceptionDetailClient:()=>l});var t=n(2330),c=n(7942),o=n(6146),i=n(8013);let u=(0,i.createServerReference)("6050ba360db86f1f142cdf7898f107898e2ccb618d",i.callServer,void 0,i.findSourceMapURL,"revokeException");function l(e){let{exception:r}=e,[n,i]=(0,o.useState)(null),[l,a]=(0,o.useTransition)();return(0,t.jsx)(c.Gj,{exception:r,busy:l,error:n,onRevoke:e=>{a(async()=>{var n;let t=await u(r.id,e);i(t.ok?null:null!=(n=t.error)?n:"Could not revoke.")})}})}},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return t.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return c.findSourceMapURL}});let t=n(7982),c=n(3738),o=n(4656)}},e=>{e.O(0,[24,338,561,949,496,358],()=>e(e.s=6434)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20],{1492:(e,r,n)=>{"use strict";n.d(r,{InventoryClient:()=>h});var s=n(2330),t=n(7942),i=n(8726),o=n(7071),l=n(6146),a=n(8622),c=n(8013);let u=(0,c.createServerReference)("70da10aa5f9ad63c08752a96e1b8492b7b2488dc5e",c.callServer,void 0,c.findSourceMapURL,"setFileAccess"),d=(0,c.createServerReference)("6088410fc9f1393b3e2081ff4f3c93879e1c1b2cde",c.callServer,void 0,c.findSourceMapURL,"setMcpTrust");function h(e){let{harnesses:r,assetGroups:n,projects:c,attention:h,activeSel:m,proj:v,selHarness:b,assetDetail:f,tree:P,blocked:p,harnessEvents:x,fileDetail:S,path:j,fq:y,drawer:g}=e,R=(0,o.useRouter)(),C=(0,o.usePathname)(),[k,w]=(0,l.useState)("tree"),[N,T]=(0,l.useState)("all"),[M,_]=(0,l.useState)(""),[q,E]=(0,l.useState)(!0),[L,F]=(0,l.useState)(()=>{var e;let n=null==(e=r[0])?void 0:e.id;return n?{[n]:!0}:{}}),[O,U]=(0,l.useTransition)(),[A,Q]=(0,l.useState)(null),B=(0,l.useCallback)(e=>{let r=(function(e){var r;let n=new URLSearchParams;e.sel&&(n.set("st",e.sel.type),n.set("si",e.sel.id)),e.path&&e.path.length>0&&n.set("path",e.path.join("/"));let s=null==(r=e.fq)?void 0:r.trim();return s&&n.set("fq",s),e.file&&n.set("file",e.file),n})(e).toString();return r?"".concat(C,"?").concat(r):C},[C]),{query:Y,setQuery:G,onNavigate:H}=(0,a.Y)(y,e=>B({sel:m,path:j,fq:e})),I=(0,l.useCallback)(e=>{var r;H(null!=(r=e.fq)?r:""),R.push(B(e))},[H,R,B]),V=(e,r)=>{O||(Q(null),U(async()=>{try{await r()||Q("Couldn't ".concat(e," — reload to refresh."))}catch(r){Q("Couldn't ".concat(e,". Please try again."))}}))},W=e=>{I({sel:{type:"project",id:e}})},Z=e=>{I({sel:{type:e.type,id:e.id}})};return(0,s.jsxs)(s.Fragment,{children:[A&&(0,s.jsx)("div",{role:"alert",className:"mb-3 shrink-0 rounded-lg border border-border bg-sev-critical-fill px-4 py-2.5 text-sm text-sev-critical",children:A}),(0,s.jsxs)("div",{className:"flex min-h-0 flex-1 gap-4",children:[(0,s.jsx)(t._c,{projects:c,assetGroups:n,harnesses:r,sel:m,viewMode:k,onViewMode:w,expanded:L,onToggleExpand:(e,r)=>{F(n=>({...n,[e]:null!=r?r:!n[e]}))},typeFilter:N,onTypeFilter:T,query:M,onQuery:_,attention:h,onSelectProject:W,onSelectAsset:Z,onSelectHarness:e=>{I({sel:{type:"harness",id:e}})}}),v?(0,s.jsx)(t.kL,{proj:v,path:j,onPathChange:e=>{I({sel:m,path:e})},query:Y,onQueryChange:G,tree:P,isLoading:!1,error:null,onSetAccess:(e,r)=>{V("update file access",()=>u(v.id,e,r))},onOpenFile:e=>{I({sel:m,path:j,fq:y,file:e})},drawerPath:g,blocked:p,showBlocked:q,onToggleBlocked:()=>{E(e=>!e)}}):(0,s.jsx)(i.Zp,{className:"flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden",children:b?(0,s.jsx)(t.y2,{harness:b,events:x,onSelect:Z,onSelectProject:W}):f?(0,s.jsx)(t.i5,{asset:f,onTrust:e=>{V("update MCP trust",()=>d(f.id,e))}}):(0,s.jsx)("div",{className:"grid min-h-0 flex-1 place-items-center p-8",children:(0,s.jsx)(t.pp,{message:"No assets to display"})})})]}),(0,s.jsx)(i.cj,{open:null!==g&&null!==v,onOpenChange:e=>{e||I({sel:m,path:j,fq:y})},children:(0,s.jsx)(i.h,{className:"max-w-120 p-0","aria-describedby":void 0,children:v&&null!==g&&(S?(0,s.jsx)(t.To,{file:S,onChange:e=>{V("update file access",()=>u(v.id,S.path,e))}}):(0,s.jsx)("div",{className:"grid h-full place-items-center p-6 text-center text-sm text-text-3",children:"File not found"}))})})]})}[...n(8338).PWo.options]},3541:(e,r,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,1492))},7071:(e,r,n)=>{"use strict";var s=n(7495);n.o(s,"usePathname")&&n.d(r,{usePathname:function(){return s.usePathname}}),n.o(s,"useRouter")&&n.d(r,{useRouter:function(){return s.useRouter}}),n.o(s,"useSearchParams")&&n.d(r,{useSearchParams:function(){return s.useSearchParams}})},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return s.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return t.findSourceMapURL}});let s=n(7982),t=n(3738),i=n(4656)},8622:(e,r,n)=>{"use strict";n.d(r,{Y:()=>i});var s=n(7071),t=n(6146);function i(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=(0,s.useRouter)(),[o,l]=(0,t.useState)(e),a=(0,t.useRef)(e),c=(0,t.useRef)(null),u=(0,t.useRef)(r);(0,t.useEffect)(()=>{u.current=r},[r]);let d=(0,t.useCallback)(()=>{c.current&&(clearTimeout(c.current),c.current=null)},[]),h=(0,t.useCallback)(e=>{d(),a.current=e.trim(),l(e)},[d]);return(0,t.useEffect)(()=>{e!==a.current&&(a.current=e,l(e))},[e]),(0,t.useEffect)(()=>{let r=o.trim();if(r===e||r===a.current)return;let s=setTimeout(()=>{a.current=r,c.current=null,i.push(u.current(o))},n);return c.current=s,()=>{clearTimeout(s),c.current=null}},[o,e,n,i]),{query:o,setQuery:l,onNavigate:h}}}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=3541)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[109],{1880:(e,r,n)=>{"use strict";n.d(r,{SettingsClient:()=>v});var s=n(2330),i=n(7942),o=n(6146),t=n(8013);let l=(0,t.createServerReference)("403b72561c133191c4cad05fd9a6be519eef70b7a6",t.callServer,void 0,t.findSourceMapURL,"saveSettings");function v(e){let{settings:r}=e,[n,t]=(0,o.useState)(null),[v,d]=(0,o.useState)(!1),[b,h]=(0,o.useTransition)();return(0,s.jsx)(i.A3,{settings:r,busy:b,error:n,saved:v,onSave:e=>{h(async()=>{var r;let n=await l(e);t(n.ok?null:null!=(r=n.error)?r:"Could not save."),d(n.ok)})}})}},8013:(e,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]})}(r,{callServer:function(){return s.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}});let s=n(7982),i=n(3738),o=n(4656)},8188:(e,r,n)=>{Promise.resolve().then(n.bind(n,523)),Promise.resolve().then(n.bind(n,3319)),Promise.resolve().then(n.bind(n,1328)),Promise.resolve().then(n.bind(n,6388)),Promise.resolve().then(n.bind(n,9822)),Promise.resolve().then(n.bind(n,6179)),Promise.resolve().then(n.bind(n,9912)),Promise.resolve().then(n.bind(n,3868)),Promise.resolve().then(n.bind(n,6324)),Promise.resolve().then(n.bind(n,8283)),Promise.resolve().then(n.bind(n,7735)),Promise.resolve().then(n.bind(n,6053)),Promise.resolve().then(n.bind(n,5130)),Promise.resolve().then(n.bind(n,6418)),Promise.resolve().then(n.bind(n,1462)),Promise.resolve().then(n.bind(n,3760)),Promise.resolve().then(n.bind(n,965)),Promise.resolve().then(n.bind(n,8885)),Promise.resolve().then(n.bind(n,7461)),Promise.resolve().then(n.bind(n,4285)),Promise.resolve().then(n.bind(n,1247)),Promise.resolve().then(n.bind(n,4453)),Promise.resolve().then(n.bind(n,3741)),Promise.resolve().then(n.bind(n,666)),Promise.resolve().then(n.bind(n,1648)),Promise.resolve().then(n.bind(n,1447)),Promise.resolve().then(n.bind(n,4026)),Promise.resolve().then(n.bind(n,5392)),Promise.resolve().then(n.bind(n,801)),Promise.resolve().then(n.bind(n,3492)),Promise.resolve().then(n.bind(n,6909)),Promise.resolve().then(n.bind(n,5875)),Promise.resolve().then(n.bind(n,5530)),Promise.resolve().then(n.bind(n,974)),Promise.resolve().then(n.bind(n,7526)),Promise.resolve().then(n.bind(n,5850)),Promise.resolve().then(n.bind(n,9102)),Promise.resolve().then(n.bind(n,4952)),Promise.resolve().then(n.bind(n,3365)),Promise.resolve().then(n.bind(n,4127)),Promise.resolve().then(n.bind(n,7889)),Promise.resolve().then(n.bind(n,209)),Promise.resolve().then(n.bind(n,1951)),Promise.resolve().then(n.bind(n,1880))}},e=>{e.O(0,[24,561,949,496,358],()=>e(e.s=8188)),_N_E=e.O()}]);
|
|
File without changes
|
/package/web-ui/web-ui/.next/static/{unUYwnPVSRwxtrUFgSAxr → Oz-9GZNGXujYNXihIv5sm}/_ssgManifest.js
RENAMED
|
File without changes
|