PageSourceSearch

https://app.meetzest.com/_next/static/chunks/1863-0bf36f4b2a1e1873.js

js meetzest.com collected 2026-10-05 01:11:07 UTC 33,207 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1863],{8446:(e,s,t)=>{t.d(s,{A0:()=>o,AK:()=>f,GA:()=>b,GY:()=>d,Lh:()=>g,MO:()=>h,Nr:()=>p,a4:()=>c,bs:()=>j,kx:()=>x,uR:()=>r,wk:()=>u,zi:()=>m});var i=t(8141),a=t(54753),n=t(71610);let r=e=>e?.filter(e=>"success"===e.outcome).length||0;function l(e,s){if(e===s)return!0;let t=e.includes("/"),i=s.includes("/");return(!t||!i)&&(t?e.endsWith(`/${s}`):s.endsWith(`/${e}`))}let o=e=>c((e??[]).map(e=>e.projectName).filter(Boolean));function c(e){let s=[...new Set(e)];return s.filter(e=>!!e.includes("/")||!s.some(s=>s!==e&&s.endsWith(`/${e}`)))}function d(e,s){return e.some(e=>l(e,s))}function m(e){if(e.length<2)return!1;let s=c(e.flat());if(s.length<2)return!1;let t=e.filter(e=>e.length>0);return!(e.length-t.length>1)&&s.some(e=>t.some(s=>!d(s,e)))}function u(e,s,t){return e&&s?t.find(e=>l(e,s))??null:null}function p(e,s){let t=function(e,s,t){let i=new Map;if(Array.isArray(s.chat_session_analyses))for(let e of s.chat_session_analyses){let s=e?.chat_sessions;if(!s?.id)continue;let t=(Array.isArray(s.first_message)?s.first_message:[])[0],a=t&&"string"==typeof t.content?t.content:void 0;i.set(s.id,{platform:s.platform,source:s.source,firstPrompt:a,projectName:s.project_name??null})}return e.map(e=>{let s=i.get(e.sessionId),a=t?.get(e.sessionId),n=a?.modelUsage?Object.keys(a.modelUsage):[],r=e.models?.length?e.models:n;return{...e,platform:s?.platform,source:s?.source,models:r,firstPrompt:s?.firstPrompt,projectName:s?.projectName??e.projectName??null,totalTokens:a?.totalTokens??null,inputTokens:a?.inputTokens??null,outputTokens:a?.outputTokens??null,costUsd:a?.costUsd??null,costSource:a?.costSource??null,cacheReadTokens:a?.cacheReadTokens??null,cacheCreationTokens:a?.cacheCreationTokens??null,reasoningTokens:a?.reasoningTokens??null,contextUsedPercent:a?.contextUsedPercent??null,contextWindowSize:a?.contextWindowSize??null,rateLimitPercent:a?.rateLimitPercent??null,rateLimitType:a?.rateLimitType??null,rateLimitIsOverage:a?.rateLimitIsOverage??null,tokenSource:a?.tokenSource??null,apiEquivalentCostUsd:a?.apiEquivalentCostUsd??null,apiEquivalentCostSource:a?.apiEquivalentCostSource??null,plan:a?.plan??null,billingMode:a?.billingMode??null,overage:a?.overage??null,copilotCredits:a?.copilotCredits??null,rateLimits:a?.rateLimits??null,modelUsage:a?.modelUsage??null,fastModelUsed:a?.fastModelUsed??null,fastModelClass:a?.fastModelClass??null}})}((0,a.fT)(e.sessions||[]),e,s),n=r(t.flatMap(e=>e.tasks)),l=t.reduce((e,s)=>e+s.aiPracticesUsed.length,0),o=e.custom_prompts,c=e.parent,d=e.team??e.deleted_team;return{id:e.id,team_id:e.team_id,history_team_id:e.history_team_id??e.team_id,team_thresholds:"object"==typeof d&&null!==d&&"metric_thresholds"in d?i.ZH.safeParse(d.metric_thresholds).data??{}:void 0,team_name:"object"==typeof d&&null!==d&&"name"in d&&"string"==typeof d.name?d.name:void 0,workspace_id:e.workspace_id,user_id:e.user_id,analysis_date:e.analysis_date,date_from:e.date_from,date_to:e.date_to,sessions_analyzed:e.sessions_analyzed,summary:e.summary,sessions:t,successful_tasks_count:n,ai_practices_used_count:l,metadata:e.metadata,created_at:e.created_at,created_by:e.created_by,version:e.version,parent_analysis_id:e.parent_analysis_id,original_created_at:c?.created_at??null,is_active:e.is_active,is_public:e.is_public,prompt_id:e.prompt_id,prompt_name:o?.name||null,prompt_slug:o?.slug||null,prompt_version:o?.version||null,user_email:e.user_email||"",user_full_name:e.user_full_name||"",user_username:e.user_username||null,user_avatar_url:e.user_avatar_url||null,user_metadata:e.user_metadata??null,meme_url:e.meme_url}}function h(e,s){let t=[];return e.forEach(e=>{let i=0,a=[],n=[],r=[],l=0,c=0,d=[],m=0;e.sessions&&Array.isArray(e.sessions)&&(c=e.sessions.length,d=e.sessions.map((s,t)=>{let o=s.hoursGained,c=s.superProductiveHours,d=s.hoursLost||0;return i+=d,m+=s.promptQualityAnalysis?.score||0,s.tags&&Array.isArray(s.tags)&&(a=[...a,...s.tags]),s.aiPracticesUsed&&Array.isArray(s.aiPracticesUsed)&&(n=[...n,...s.aiPracticesUsed]),s.tasks&&Array.isArray(s.tasks)&&(r=[...r,...s.tasks.filter(e=>"success"===e.outcome).map(e=>e.title)]),"success"===s.outcome&&l++,{id:`${e.id}-session-${t}`,title:s.title||`Session ${t+1}`,description:s.description||"Coding session analysis",chats:s.chats||0,tags:s.tags||[],outcome:s.outcome||"success",promptQualityAnalysis:s.promptQualityAnalysis,sessionQuality:s.sessionQuality,tasks:s.tasks||[],startTime:s.startTime,endTime:s.endTime,aiPracticesUsed:s.aiPracticesUsed||[],hoursGained:o,superProductiveHours:c,hoursLost:d,lastMessageTime:s.endTime,firstMessageTime:s.startTime,sessionId:s.sessionId||`${e.
1id}-session-${t}`,platform:s.platform,source:s.source,models:s.models,projectName:s.projectName,firstPrompt:s.firstPrompt,totalTokens:s.totalTokens,inputTokens:s.inputTokens,outputTokens:s.outputTokens,costUsd:s.costUsd,costSource:s.costSource,cacheReadTokens:s.cacheReadTokens,cacheCreationTokens:s.cacheCreationTokens,reasoningTokens:s.reasoningTokens,contextUsedPercent:s.contextUsedPercent,contextWindowSize:s.contextWindowSize,rateLimitPercent:s.rateLimitPercent,rateLimitType:s.rateLimitType,rateLimitIsOverage:s.rateLimitIsOverage,tokenSource:s.tokenSource,apiEquivalentCostUsd:s.apiEquivalentCostUsd,apiEquivalentCostSource:s.apiEquivalentCostSource,plan:s.plan,billingMode:s.billingMode,overage:s.overage,copilotCredits:s.copilotCredits,rateLimits:s.rateLimits,modelUsage:s.modelUsage,fastModelUsed:s.fastModelUsed,fastModelClass:s.fastModelClass}}));let u=[...new Set(a)],p=[...new Set([])],h=[...new Set(n.map(e=>"string"==typeof e?e:e.name))],x=[...new Set(r)],g=c>0?l/c:0,f="success";g<.3?f="stuck":g<.7&&(f="partial");let j=c>0?m/c:0;t.push({member:{userId:s.user_id,name:s.name,email:s.email,initials:s.initials,avatar_url:s.avatar_url,slug:s.slug},analysis:{id:e.id,title:`Analysis - ${c} Sessions`,description:e.summary||`Analyzed ${c} coding sessions with ${l} successful outcomes.`,totalHoursLost:i,chats:0,tags:u,technologies:p,outcome:f,teamId:e.team_id??void 0,historyTeamId:e.history_team_id??e.team_id,teamName:e.team_name,teamThresholds:e.team_thresholds,startTime:e.date_from,endTime:e.date_to,metadata:e.metadata||{},sessionId:e.id,status:"Active",createdAt:e.created_at,successfulTasksCount:x.length,aiPracticesUsedCount:h.length,promptQualityAnalysis:j,uniqueAiPractices:h,projectNames:o(d),sessions:d,version:e.version,parent_analysis_id:e.parent_analysis_id,original_created_at:e.original_created_at,is_active:e.is_active,is_public:e.is_public,prompt_id:e.prompt_id,prompt_name:e.prompt_name,prompt_slug:e.prompt_slug,prompt_version:e.prompt_version,meme_url:e.meme_url||null}})}),t}function x(e,s){return h([e],{user_id:s.userId,name:s.name,email:s.email,initials:s.initials,avatar_url:s.avatar_url,slug:s.slug})[0]}function g(e){let s=e.user_full_name||e.user_username||e.user_email;return{user_id:e.user_id,name:s,email:e.user_email,initials:(0,n.IM)(s),avatar_url:e.user_avatar_url}}function f(e,s,t=!1){if(null==s||!t&&s<0)return null;let i=t?Math.abs(s):s;return 0===i&&(i=1),(e-s)/i*100}function j(e){let s=e?.agents_ran;return s&&"number"==typeof s.total?{total:s.total,background_agents:s.background_agents??0,normal_chats:s.normal_chats??0}:{total:0,background_agents:0,normal_chats:0}}function b(e){return Array.isArray(e)?e.filter(e=>null!=e&&"object"==typeof e).map(e=>e.sessionId||e.id).filter(Boolean):[]}},54753:(e,s,t)=>{t.d(s,{fT:()=>o,jR:()=>c});var i=t(19486),a=t(17024);let n=a.KC([a.Yj().transform(e=>({name:e,description:""})),a.Ik({name:a.Yj().default(""),description:a.Yj().default("")})]).catch({name:"",description:""}),r=a.Ik({id:a.Yj().optional(),sessionId:a.Yj().optional(),title:a.Yj().default("Untitled Session"),description:a.Yj().default(""),tags:a.YO(a.Yj()).default([]),chats:a.ai().default(0),outcome:a.k5(["success","partial","stuck","failure"]).default("partial"),hoursGained:a.ai().default(0),superProductiveHours:a.ai().default(0),hoursLost:a.ai().optional(),lastMessageTime:a.Yj().optional(),firstMessageTime:a.Yj().optional(),startTime:a.Yj().optional(),endTime:a.Yj().optional(),promptQualityAnalysis:a.bz().optional(),sessionQuality:a.bz().optional(),tasks:a.YO(a.bz()).default([]),aiPracticesUsed:a.YO(n).default([]),platform:a.Yj().optional(),source:a.Yj().optional(),models:a.YO(a.Yj()).optional(),projectName:a.Yj().nullable().optional(),totalTokens:a.ai().nullable().optional(),inputTokens:a.ai().nullable().optional(),outputTokens:a.ai().nullable().optional(),costUsd:a.ai().nullable().optional(),costSource:a.k5(i.lm).nullable().optional(),cacheReadTokens:a.ai().nullable().optional(),cacheCreationTokens:a.ai().nullable().optional(),reasoningTokens:a.ai().nullable().optional(),contextUsedPercent:a.ai().nullable().optional(),contextWindowSize:a.ai().nullable().optional(),rateLimitPercent:a.ai().nullable().optional(),rateLimitType:a.Yj().nullable().optional(),rateLimitIsOverage:a.zM().nullable().optional()}).transform(e=>{let s=e.sessionId||e.id||"",t=new Date().toISOString();
1return{id:s,sessionId:s,title:e.title,description:e.description,tags:e.tags,chats:e.chats,outcome:e.outcome,hoursGained:e.hoursGained,superProductiveHours:e.superProductiveHours,hoursLost:e.hoursLost,lastMessageTime:e.lastMessageTime||t,firstMessageTime:e.firstMessageTime||t,startTime:e.startTime||t,endTime:e.endTime||t,promptQualityAnalysis:e.promptQualityAnalysis,sessionQuality:e.sessionQuality,tasks:e.tasks,aiPracticesUsed:e.aiPracticesUsed,platform:e.platform,source:e.source,models:e.models,projectName:e.projectName??null,totalTokens:e.totalTokens??null,inputTokens:e.inputTokens??null,outputTokens:e.outputTokens??null,costUsd:e.costUsd??null,costSource:e.costSource??null,cacheReadTokens:e.cacheReadTokens??null,cacheCreationTokens:e.cacheCreationTokens??null,reasoningTokens:e.reasoningTokens??null,contextUsedPercent:e.contextUsedPercent??null,contextWindowSize:e.contextWindowSize??null,rateLimitPercent:e.rateLimitPercent??null,rateLimitType:e.rateLimitType??null,rateLimitIsOverage:e.rateLimitIsOverage??null}}),l=e=>{let s=r.safeParse(e??{});if(s.success)return s.data;console.warn("SessionSchemaAdapter: Failed to parse session:",s.error.issues);let t=new Date().toISOString(),i="object"==typeof e&&null!==e&&(e.sessionId||e.id)||"";return{id:i,sessionId:i,title:"Invalid Session Data",description:"This session data could not be parsed correctly",tags:[],chats:0,outcome:"failure",hoursGained:0,superProductiveHours:0,lastMessageTime:t,firstMessageTime:t,startTime:t,endTime:t,tasks:[],aiPracticesUsed:[]}},o=e=>Array.isArray(e)?e.map(l):(console.warn("SessionSchemaAdapter: Expected array of sessions, got:",typeof e),[]),c=e=>"object"!=typeof e||null===e?{}:e},65772:(e,s,t)=>{t.d(s,{B5:()=>S,CA:()=>q,Go:()=>G,Ie:()=>$,JC:()=>O,Lh:()=>A,MY:()=>I,O7:()=>M,T$:()=>H,Xs:()=>P,Z7:()=>D,ZS:()=>Y,_F:()=>F,gs:()=>C,jS:()=>W,kC:()=>Z,l1:()=>V,mM:()=>z,mP:()=>B,ms:()=>L,tg:()=>Q,wA:()=>T,xc:()=>U,zn:()=>E});var i=t(20828),a=t(32105),n=t(35388),r=t(30847),l=t(47851),o=t(99512),c=t(6608),d=t(5104),m=t(26072),u=t(31552),p=t(92572),h=t(90126),x=t(9894),g=t(94376),f=t(43380),j=t(69957),b=t(84523),y=t(94927),v=t(38604),w=t(91550),N=t(46623),k=t(22623),_=t(98020);let A={id:"aiAdoption",label:"AI Adoption",description:"Is user actively using Zest?",icon:a.A,color:"text-deco-blue-200"},T={id:"activeAiUsers",label:"Active AI Users",description:"Team members who have interacted with AI coding assistants",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"AI Engagement"}),(0,i.jsx)("p",{children:"Team members who have interacted with AI coding assistants."}),(0,i.jsx)("p",{className:"text-xs text-white/70",children:"Active usage indicates engagement with AI-powered development workflows."})]}),icon:e=>(0,i.jsx)(n.A,{...e,className:(0,_.cn)("text-deco-blue-400",e.className)}),color:"text-deco-blue-400"},I={id:"totalAiTasks",label:"AI Tasks",description:"Total number of successful AI tasks completed",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Successful AI-Assisted Tasks"}),(0,i.jsx)("p",{children:"Total number of completed tasks with AI assistance."}),(0,i.jsxs)("div",{className:"space-y-1 text-xs text-white/70",children:[(0,i.jsx)("p",{className:"font-medium text-white/90",children:"How we calculate this:"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-0.5 ml-1",children:[(0,i.jsx)("li",{children:"Analyze conversation patterns and code changes"}),(0,i.jsx)("li",{children:"Identify distinct problems or features"}),(0,i.jsx)("li",{children:"Evaluate outcomes (success/partial/stuck)"}),(0,i.jsx)("li",{children:'Count only tasks marked as "success"'})]}),(0,i.jsx)("p",{className:"mt-2",children:"This ensures the metric reflects completed work that adds real value to your project."})]})]}),icon:e=>(0,i.jsx)(r.A,{...e,className:(0,_.cn)("text-deco-green-400",e.className)}),color:"text-deco-green-400",unit:"count"},S={id:"medianAiTime",label:"Median AI Time",description:"Median per-member hours of active AI engagement",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Median AI Time"}),(0,i.jsx)("p",{children:"The median per-member time spent actively engaging with AI agents. Each team member's measured AI t
1ime is summed over the period, then the median across all members is shown. This represents the typical team member's experience — not skewed by outliers."}),(0,i.jsxs)("div",{className:"space-y-1 text-xs text-white/70",children:[(0,i.jsx)("p",{className:"font-medium text-white/90",children:"How we calculate this:"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-0.5 ml-1",children:[(0,i.jsx)("li",{children:"Measure each member's AI session time from message activity timestamps"}),(0,i.jsx)("li",{children:"Exclude background agent sessions (autonomous operations)"}),(0,i.jsx)("li",{children:"Take the median value across all team members"})]}),(0,i.jsx)("p",{className:"mt-2",children:"Unlike a total, the median is resilient to one power user inflating the number — it reflects how the typical team member is leveraging AI."})]})]}),icon:e=>(0,i.jsx)(l.A,{...e,className:(0,_.cn)("text-deco-rose-400",e.className)}),color:"text-deco-rose-400",unit:"hours"},P={id:"aiPractices",label:"AI Practices",description:"Number of AI Practices used",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"AI Practices Applied"}),(0,i.jsx)("p",{children:"Count of best agentic coding practices demonstrated in your AI coding sessions. Each practice represents a methodology or approach you've defined to improve your development workflow."})]}),icon:e=>(0,i.jsx)(o.A,{...e,className:(0,_.cn)("text-deco-purple-200",e.className)}),color:"text-deco-purple-200",unit:"count"},C={id:"aiTime",label:"AI Time",description:"Time spent actively engaging with AI (set threshold in minutes)",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Active AI Engagement Time"}),(0,i.jsx)("p",{children:"The actual duration you spent engaging with AI agents, including thinking, reviewing, and coding intervals."}),(0,i.jsxs)("div",{className:"space-y-1 text-xs text-white/70",children:[(0,i.jsx)("p",{className:"font-medium text-white/90",children:"How we calculate this:"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-0.5 ml-1",children:[(0,i.jsx)("li",{children:"Track chat interactions and IDE activity timestamps"}),(0,i.jsx)("li",{children:"Validate engagement through file edits and code changes"}),(0,i.jsx)("li",{children:"Exclude background agent sessions (autonomous operations)"})]}),(0,i.jsx)("p",{className:"mt-2",children:"This metric captures your real AI collaboration time—not just message counts, but the full thinking and implementation cycle."})]})]}),icon:e=>(0,i.jsx)(l.A,{...e,className:(0,_.cn)("text-deco-rose-400",e.className)}),color:"text-deco-rose-400",unit:"seconds"},U={id:"aiStack",label:"AI Stack",description:"Tools, models, and skills used during AI-assisted work",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"AI Stack"}),(0,i.jsx)("p",{children:"Shows the tools, models, skills, and integrations this teammate used while working with AI."})]}),icon:c.A,color:"text-gray-500"},M={id:"leaderboardAiTask",label:"AI Task",description:"AI-assisted tasks grouped by type, phase, and urgency",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"AI Task"}),(0,i.jsx)("p",{children:"Shows the kinds of work this teammate used AI for, grouped by task type, workflow phase, and urgency over the selected period."})]}),icon:d.A,color:"text-gray-500"},L={id:"leaderboardImplementation",label:"Impl",description:"Implementation patterns used during AI-assisted work",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Implementation Stack"}),(0,i.jsx)("p",{children:"Shows how this teammate used AI while building, testing, reviewing, and shipping code over the selected period."})]}),icon:m.A,color:"text-gray-500"},D={id:"leaderboardPlan",label:"Plan",description:"Planning patterns used during AI-assisted work",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Plan Stack"}),(0,i.jsx)("p",{children:"Shows how this teammate used AI to explore, structure, and plan work before or during implementation over the selected period."})]}),icon:u.A,color:"text-gray-500"},Y={id:"tags",label:"Tags",description:"Technologies used in sessions",icon:e=>(0,i.jsx)(h.A,{...e,className:(0,_.cn)("text-orange-400",e.className)}),color:"text-orange-400"},q={id:"hoursGained",label:"Hours Gained",description:"Estimated hours s
1aved",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Time Saved with AI Assistance"}),(0,i.jsx)("p",{children:"The estimated time you saved by using AI assistance instead of coding manually. This represents your productivity gain."})]}),icon:e=>(0,i.jsx)(x.A,{...e,className:(0,_.cn)("text-deco-rose-400",e.className)}),color:"text-deco-rose-400"},E={id:"sessions",label:"Sessions",description:"Number of analyzed sessions",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"AI Coding Sessions"}),(0,i.jsx)("p",{children:"Individual conversations with the AI. Each session represents a distinct coding task or question thread."})]}),icon:e=>(0,i.jsx)(g.A,{...e,className:(0,_.cn)("text-deco-blue-200",e.className)}),color:"text-deco-blue-200"},z={id:"summary",label:"Summary",description:"Session analysis summary",icon:e=>(0,i.jsx)(f.A,{...e,className:(0,_.cn)("text-neutral-400",e.className)}),color:"text-neutral-400"},O={id:"lastAnalysis",label:"Last Standup",description:"Date of last standup",icon:e=>(0,i.jsx)(j.A,{...e,className:(0,_.cn)("text-deco-purple-200",e.className)}),color:"text-deco-rose-400"},R={id:"promptQuality",label:"Prompt Quality",description:"Context-aware quality score of your AI prompts",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Context-Aware Prompt Quality Score (1-5)"}),(0,i.jsx)("p",{children:"Measures how effectively you communicate with AI by analyzing prompts in conversational context. We evaluate differently based on message type:"}),(0,i.jsxs)("div",{className:"space-y-2 text-xs text-white/70",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"font-medium text-white/90",children:"Initial Prompts (Strict - Baseline 1-3):"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-0.5 ml-1",children:[(0,i.jsx)("li",{children:"Must stand alone with clear context and goals"}),(0,i.jsx)("li",{children:"Should include specifics, constraints, or technical details"}),(0,i.jsx)("li",{children:"Score 5: Comprehensive context + clear goal + technical details"}),(0,i.jsx)("li",{children:"Score 1: Vague with no useful information"})]})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"font-medium text-white/90",children:"Follow-up Prompts (Lenient - Baseline 3-5):"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-0.5 ml-1",children:[(0,i.jsx)("li",{children:"Build on established conversation context"}),(0,i.jsx)("li",{children:"Brief prompts are fine if intent is clear"}),(0,i.jsx)("li",{children:"Score 5: Clear reference to context + specific action"}),(0,i.jsx)("li",{children:"Score 1: Ambiguous even with prior context"})]})]}),(0,i.jsx)("p",{className:"mt-2",children:"Your score is the average across all prompts, weighted by how well each matches its context type. Higher scores indicate more effective AI collaboration."})]})]}),icon:e=>(0,i.jsx)(b.A,{...e,className:(0,_.cn)("text-deco-green-400",e.className)}),color:"text-deco-green-400"},$={id:"agentsRan",label:"Agents Ran",description:"Number of AI agent sessions initiated",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"AI Agent Sessions"}),(0,i.jsx)("p",{children:"Total number of AI coding agent sessions you initiated across all your tools and editors."})]}),icon:e=>(0,i.jsx)(y.A,{...e,className:(0,_.cn)("text-deco-cyan-400",e.className)}),color:"text-deco-cyan-400",unit:"count"},Q={id:"goodSessions",label:"Good Sessions",description:"Sessions with quality score more than 3",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Good Quality Sessions"}),(0,i.jsx)("p",{children:"Count of AI coding sessions that achieved a quality score of 3 or higher out of 5. These sessions demonstrate effective collaboration with AI, including clear communication, efficient problem resolution, and productive outcomes."}),(0,i.jsxs)("div",{className:"space-y-1 text-xs text-white/70",children:[(0,i.jsx)("p",{className:"font-medium text-white/90",children:"Quality factors include:"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-0.5 ml-1",children:[(0,i.jsx)("li",{children:"Conversation efficie
1ncy and minimal back-and-forth"}),(0,i.jsx)("li",{children:"Effective use of context across messages"}),(0,i.jsx)("li",{children:"Clear progression toward solving stated problems"}),(0,i.jsx)("li",{children:"Appropriate use of AI capabilities"})]}),(0,i.jsx)("p",{className:"mt-2",children:"Higher counts indicate more consistently productive AI collaboration patterns."})]})]}),icon:e=>(0,i.jsx)(v.A,{...e,className:(0,_.cn)("text-orange-400",e.className)}),color:"text-orange-400",unit:"count"},H={id:"prsOpened",label:"PRs Open",description:"Pull requests opened today",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Pull Requests Opened"}),(0,i.jsx)("p",{children:"Number of pull requests you opened today across all tracked repositories."})]}),icon:e=>(0,i.jsx)(w.A,{...e,className:(0,_.cn)("text-deco-green-400",e.className)}),color:"text-deco-green-400",unit:"count"},F={id:"prsMerged",label:"PRs Merged",description:"Pull requests merged in the selected time period",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Pull Requests Merged"}),(0,i.jsx)("p",{children:"Number of your pull requests that were merged across all tracked repositories in the selected time period."})]}),icon:e=>(0,i.jsx)(N.A,{...e,className:(0,_.cn)("text-deco-purple-400",e.className)}),color:"text-deco-purple-400",unit:"count"},G="No GitHub account connected or no PRs merged in the last 4 weeks",W={id:"prThroughput",label:"PR Throughput",description:"Average PRs merged per week",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"PR Throughput"}),(0,i.jsx)("p",{children:"Your average number of pull requests merged per week over the last 4 weeks. A measure of your sustained delivery velocity."})]}),icon:e=>(0,i.jsx)(N.A,{...e,className:(0,_.cn)("text-white/70",e.className)}),color:"text-white/70",unit:"per_week"},B={id:"planVsImp",label:"Plan vs Imp",description:"Planning vs implementation session ratio",detailedDescription:(0,i.jsxs)("div",{className:"space-y-2",children:[(0,i.jsx)("p",{className:"font-medium",children:"Planning vs Implementation"}),(0,i.jsx)("p",{children:"The ratio of planning sessions to implementation sessions over the last 4 weeks. Shows how a developer splits their AI-assisted work between planning and execution."})]}),icon:e=>(0,i.jsx)(k.A,{...e,className:(0,_.cn)("text-deco-purple-300",e.className)}),color:"text-deco-purple-300"},Z=[A,W,M,D,L,O,U,B,I,C,Q,P,$,q,E,z,{id:"toolchainTags",label:"Toolchain Tags",description:"Platforms and models used in sessions",icon:e=>(0,i.jsx)(p.A,{...e,className:(0,_.cn)("text-deco-orange-400",e.className)}),color:"text-deco-orange-400"},Y,R],V=[A,W,M,D,L,O,U]},68042:(e,s,t)=>{t.d(s,{Q:()=>i});function i(e){let s=e.split("/");return s.length>1?s[s.length-1]:e}},82392:(e,s,t)=>{t.d(s,{V:()=>x,b:()=>f});var i=t(20828),a=t(46623),n=t(90432),r=t(91550),l=t(66156),o=t(10355),c=t(65991),d=t(29646),m=t(68042),u=t(74428),p=t(50927);function h(e,s){return e&&s?(0,p.a3)(e,s):null}function x({pr:e}){let s=h(e.openedAt,e.mergedAt??e.closedAt),t=e.url&&(0,u.Z8)(e.url)?e.url:null,r="flex items-center gap-3 px-4 py-3 border border-white/5 rounded-xl hover:bg-white/[0.02] transition-colors",l=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.A,{className:"w-4 h-4 text-deco-purple-400 shrink-0"}),(0,i.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)("span",{className:"text-sm text-white truncate",children:e.title}),(0,i.jsxs)("span",{className:"text-xs text-white/40 shrink-0",children:["#",e.number]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-2 mt-0.5 text-xs text-white/50",children:[(0,i.jsx)("span",{children:(0,m.Q)(e.repoFullName)}),(0,i.jsx)("span",{children:"-"}),(0,i.jsxs)("span",{children:["@",e.author]}),null!=e.additions&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"-"}),(0,i.jsxs)("span",{className:"text-deco-green-600",children:["+",e.additions]}),(0,i.jsxs)("span",{className:"text-red-400",children:["-",e.deletions??0]})]})]})]}),s&&(0,i.jsx)("span",{className:"text-xs text-white/50 shrink-0",children:s}),t&&(0,i.jsx)(n.A,{className:"w-3.5 h-3.5 text-white/30 group-hover:text-white/60 transition-colors shrink-0"})]});return t?(0,i.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`group ${r}`,children:l}):(0,i.jsx)("div",{className:r,children:l})}function g({issue:e}){let s=h(e.openedAt,e.closedAt),t=e.url&&(0,u.Z8)(e.url)?e.url:null;return(0,i.jsxs)("div",{className:"flex items-center gap-3 px-4 py-3 border border-white/5 rounded-xl hover:bg-white/[0.02] transition-colors",children:[(0,i.jsx)(r.A,{className:"w-4 h-4 text-deco-green-600 shrink-0"}),(0,i.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)("span",{className:"text-sm text-white truncate",children:e.title}),(0,i.jsxs)("span",{className:"text-xs text-white/40 shrink-0",children:["#",e.number]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-2 mt-0.5 text-xs text-white/50",children:[(0,i.jsx)("span",{children:(0,m.Q)(e.repoFullName)}),(0,i.jsx)("span",{children:"-"}),(0,i.jsxs)("span",{children:["@",e.author]})]})]}),s&&(0,i.jsx)("span",{className:"text-xs text-white/50 shrink-0",children:s}),t&&(0,i.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"text-white/30 hover:text-white/60 transition-colors shrink-0",children:(0,i.jsx)(n.A,{className:"w-3.5 h-3.5"})})]})}function f({isOpen:e,onClose:s,loading:t,loadingMore:a,error:n,data:r,hasMore:m,metric:u,onLoadMore:p}){let h=u?`${u.name} - Drilldown`:"Drilldown",j=r?.items.length??0;return(0,i.jsx)(d.a,{size:"4xl",isOpen:e,onClose:s,className:"bg-neutral-surface",children:(0,i.jsxs)("div",{className:"bg-neutral-surface flex flex-col md:max-h-[85vh]",children:[(0,i.jsxs)("div",{className:"pb-4 flex items-center justify-between shrink-0",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(o.Hk,{className:"w-4 h-4"}),(0,i.jsx)("h2",{className:"text-xl text-foreground",children:h})]}),u&&(0,i.jsxs)("div",{className:"flex items-center gap-2 text-sm text-white/50",children:[(0,i.jsx)("span",{className:"text-2xl font-medium text-white",children:u.value}),(0,i.jsx)("span",{children:u.unit})]})]}),(0,i.jsxs)("div",{className:"flex-1 overflow-y-auto custom-scrollbar min-h-0",children:[t&&(0,i.jsxs)("div",{className:"flex items-center justify-center py-12",children:[(0,i.jsx)(l.A,{className:"w-5 h-5 text-white/40 animate-spin"}),(0,i.jsx)("span",{className:"ml-2 text-sm text-white/50",children:"Loading..."})]}),n&&(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center py-12 text-center border border-white/10 rounded-lg",children:[(0,i.jsx)("p",{className:"text-sm text-red-400",children:"Failed to load drilldown data"}),(0,i.jsx)("p",{className:"text-xs text-white/40 mt-1",children:n})]}),!t&&!n&&r&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"flex items-center justify-between mb-3",children:(0,i.jsxs)("span",{className:"text-xs text-white/50",children:[j," ","gh_pull_requests"===r.type?"pull request":"issue",1===j?"":"s"]})}),0===j?(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center py-12 text-center border border-white/5 rounded-lg",children:[(0,i.jsx)(o.Hk,{className:"w-8 h-8 text-white/20 mb-3"}),(0,i.jsxs)("p",{className:"text-sm text-white/50",children:["No ","gh_pull_requests"===r.type?"pull requests":"issues"," found"]}
1)]}):(0,i.jsxs)("div",{className:"space-y-2",children:["gh_pull_requests"===r.type?r.items.map(e=>(0,i.jsx)(x,{pr:e},`${e.repoFullName}#${e.number}`)):r.items.map(e=>(0,i.jsx)(g,{issue:e},`${e.repoFullName}#${e.number}`)),m&&(0,i.jsx)("div",{className:"flex justify-center pt-2",children:(0,i.jsx)(c.$,{onClick:p,variant:"transparent",disabled:a,children:a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.A,{className:"w-3.5 h-3.5 animate-spin mr-1.5"}),"Loading..."]}):"Load more"})})]})]})]}),(0,i.jsx)("div",{className:"flex items-center justify-end pt-4 shrink-0",children:(0,i.jsx)(c.$,{onClick:s,variant:"transparent",children:"Close"})})]})})}},97272:(e,s,t)=>{t.d(s,{E:()=>c});var i=t(20828),a=t(83735),n=t(98386),r=t(19696),l=t(98020);let o=(0,n.F)("inline-flex items-center justify-center rounded-md border text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{size:{default:"px-2 py-1",pill:"px-badge-pill-x py-badge-pill-y"},variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary [a&]:hover:bg-secondary/90",success:"border-transparent bg-[rgba(63,185,80,0.12)] text-[#3FB950] [a&]:hover:bg-[rgba(63,185,80,0.18)]",warning:"border-transparent bg-deco-yellow-background text-deco-yellow-foreground [a&]:hover:bg-deco-yellow-background/90",error:"border-transparent bg-deco-rose-background text-deco-rose-foreground [a&]:hover:bg-deco-rose-background/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",metadata:"border-transparent bg-white/10 text-white/70 font-normal px-2.5",tool:"border-transparent bg-deco-blue-300/10 text-white/70 font-normal px-2.5",white:"bg-deco-blue-700/40 border-deco-blue-500/30 text-white/70 font-normal px-2.5 cursor-pointer hover:bg-deco-blue-700/60",amber:"bg-deco-yellow-950 border-deco-yellow-900 text-muted-foreground font-medium px-2.5",rose:"bg-deco-rose-700/40 border-deco-rose-500/30 text-white",purple:"bg-deco-purple-700/40 border-deco-purple-500/30 text-white",violet:"bg-deco-purple-900 border-deco-purple-800 text-white font-medium px-2.5",blue:"bg-deco-blue-700/40 border-deco-blue-500/30 text-white",green:"bg-deco-green-700/20 border-deco-green-500/20 text-white",yellow:"bg-deco-yellow-700/40 border-deco-yellow-500/30 text-white"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef(({className:e,variant:s,size:t,asChild:n=!1,...r},c)=>{let d=n?a.DX:"span";return(0,i.jsx)(d,{ref:c,"data-slot":"badge",className:(0,l.cn)(o({variant:s,size:t}),e),...r})});c.displayName="Badge"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.