Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
Refactor multi-agent system
Khuram Niazef88650d249f
diff --git a/src/lib/ai/multi-agent.ts b/src/lib/ai/multi-agent.tsdeleted file mode 100644index 58db987..0000000--- a/src/lib/ai/multi-agent.ts+++ /dev/null@@ -1,23 +0,0 @@-/**- * Multi-Agent Collaboration System- *- * Architecture:- * User Request → Tools → Baseline → [Analysis Agent, Feedback Agent] → Validation → Output- *- * Agents:- * - Analysis Agent: Data analysis, keyword optimization, and scoring- * - Feedback Agent: Actionable recommendations and synthesis- * - Both agents run in parallel (independent of each other)- *- * Implementation split into:- * - multi-agent/utils.ts - Shared utilities (retry, timeout)- * - multi-agent/resume-review.ts - Resume review logic- * - multi-agent/job-match.ts - Job match logic- */--export {- multiAgentResumeReview,- multiAgentJobMatch,- runWithRetry,- withTimeout,-} from "./multi-agent/index";diff --git a/src/lib/ai/multi-agent/job-match.ts b/src/lib/ai/multi-agent/job-match/index.tssimilarity index 64%rename from src/lib/ai/multi-agent/job-match.tsrename to src/lib/ai/multi-agent/job-match/index.tsindex 7cef800..90b2882 100644--- a/src/lib/ai/multi-agent/job-match.ts+++ b/src/lib/ai/multi-agent/job-match/index.ts@@ -4,24 +4,24 @@* Handles job matching analysis using the multi-agent collaboration system.*/-import { getModel, ProviderType } from "../providers";+import { getModel, ProviderType } from "../../providers";import { AnalysisAgentSchema, FeedbackAgentSchema } from "@/models/ai.schemas";import {ANALYSIS_AGENT_PROMPT,FEEDBACK_AGENT_PROMPT,-} from "../prompts/prompts.agents";+} from "../../prompts/prompts.agents";import {performSemanticSkillMatch,calculateSemanticSimilarity,generateMatchExplanation,-} from "../tools";-import { ProgressStream } from "../progress-stream";+} from "../../tools";+import { ProgressStream } from "../../progress-stream";import {calculateJobMatchScore,validateScore,calculateAllowedVariance,-} from "../scoring";+} from "../../scoring";import {JobMatchResponse,AgentInsights,@@ -38,13 +38,14 @@ import {OLLAMA_JOB_MATCH_FEEDBACK_SYSTEM_PROMPT,buildOllamaJobMatchAnalysisPrompt,buildOllamaJobMatchFeedbackPrompt,-} from "../ollama";-import { withTimeout } from "./utils";+} from "../../ollama";+import { withTimeout } from "../utils";import {executeAgents,handleExtractionError,handleAgentError,-} from "./shared";+} from "../shared";+import { buildJobMatchResponse } from "./response-builder";// JOB MATCH@@ -372,172 +373,3 @@ YOUR TASKS:3. Provide specific suggestions to improve the match (keywords, skills, experience to highlight)4. Add synthesis notes on overall fit assessment`;}--// RESPONSE BUILDER--function buildJobMatchResponse(- validatedScore: number,- baselineScore: { score: number; breakdown: Record<string, number> },- toolData: ToolDataJobMatch,- semanticData: SemanticData,- analysisResult: {- keywordAnalysis: { strength: string; missingCritical: string[] };- },- feedbackResult: { suggestions: string[]; synthesisNotes: string },- matchedSkillsCount: number,- requiredSkillsCount: number-): JobMatchResponse {- const detailedAnalysis = [];-- // Skills Match - use semantic skill match data if available- if (semanticData.skillMatch) {- const exactCount = semanticData.skillMatch.exact_matches.length;- const relatedCount = semanticData.skillMatch.related_matches.length;- const missingCount = semanticData.skillMatch.missing_skills.length;-- detailedAnalysis.push({- category: `Skills Match (${baselineScore.breakdown.skillsMatch}/30 pts)`,- value: [- `${exactCount} exact matches, ${relatedCount} transferable skills, ${missingCount} gaps`,- ...semanticData.skillMatch.exact_matches- .slice(0, 3)- .map(- (m: { skill: string; resume_evidence: string }) =>- `✅ ${m.skill}: "${m.resume_evidence.substring(0, 40)}..."`- ),- ...semanticData.skillMatch.related_matches- .slice(0, 2)- .map(- (m: {- resume_skill: string;- job_skill: string;- similarity: number;- }) =>- `⚡ ${m.resume_skill} → ${m.job_skill} (${m.similarity}% similar)`- ),- ...semanticData.skillMatch.missing_skills- .filter((s: any) => s.importance === "critical")- .slice(0, 2)- .map(- (s: any) => `❌ ${s.skill} (critical, ${s.learnability} to learn)`- ),- ],- });- } else {- detailedAnalysis.push({- category: `Skills Match (${baselineScore.breakdown.skillsMatch}/30 pts)`,- value: [- `Matched ${matchedSkillsCount} of ${requiredSkillsCount} required skills`,- ...toolData.keywordOverlap.matchedKeywords- .slice(0, 5)- .map((k) => `✅ ${k}`),- ...toolData.keywordOverlap.missingKeywords- .slice(0, 3)- .map((k) => `❌ ${k}`),- ],- });- }-- // Semantic Similarity-- if (semanticData.similarity) {- detailedAnalysis.push({- category: `Semantic Fit (${baselineScore.breakdown.keywordOverlap}/20 pts)`,- value: [- `${Math.round(- semanticData.similarity.similarity_score- )}% semantic match`,- semanticData.similarity.match_explanation,- ...semanticData.similarity.key_matches.slice(0, 2),- ],- });- } else {- detailedAnalysis.push({- category: `Keyword Overlap (${baselineScore.breakdown.keywordOverlap}/20 pts)`,- value: [- `${Math.round(- toolData.keywordOverlap.overlapPercentage- )}% keyword match`,- analysisResult.keywordAnalysis.strength,- ],- });- }-- // Transferable Skills- if (- semanticData.similarity &&- semanticData.similarity.transferable_skills.length > 0- ) {- detailedAnalysis.push({- category: "Transferable Skills",- value: semanticData.similarity.transferable_skills- .slice(0, 3)- .map(- (s: any) =>- `💡 ${s.resume_skill} → ${s.job_skill}: ${s.how_it_transfers}`- ),- });- }-- // Overall Assessment- detailedAnalysis.push({- category: "Overall Assessment",- value: [- semanticData.matchExplanation?.fit_assessment ||- feedbackResult.synthesisNotes,- ],- });-- // Build suggestions using semantic data- const suggestions = [];-- // Action items from semantic analysis- if (- semanticData.matchExplanation &&- semanticData.matchExplanation.action_items.length > 0- ) {- suggestions.push({- category: "Priority Actions",- value: semanticData.matchExplanation.action_items.slice(0, 4),- });- }-- // Keywords to add- suggestions.push({- category: "Skills to Add",- value: analysisResult.keywordAnalysis.missingCritical.slice(0, 4),- });-- // Top improvements- suggestions.push({- category: "Top Improvements",- value: feedbackResult.suggestions.slice(0, 4),- });-- // Build additional comments with semantic recommendation- const recommendation =- semanticData.similarity?.application_recommendation ||- (validatedScore >= 70- ? "Apply now - strong match"- : validatedScore >= 50- ? "Apply after addressing key gaps"- : "Consider upskilling before applying");-- return {- matching_score: validatedScore,- detailed_analysis: detailedAnalysis,- suggestions,- additional_comments: [- `Score: ${validatedScore}/100 - ${- validatedScore >= 70- ? "Strong"- : validatedScore >= 50- ? "Moderate"- : "Weak"- } match`,- semanticData.similarity?.match_explanation ||- feedbackResult.synthesisNotes,- `Recommendation: ${recommendation}`,- ],- };-}diff --git a/src/lib/ai/multi-agent/job-match/response-builder.ts b/src/lib/ai/multi-agent/job-match/response-builder.tsnew file mode 100644index 0000000..02c5563--- /dev/null+++ b/src/lib/ai/multi-agent/job-match/response-builder.ts@@ -0,0 +1,190 @@+/**+ * Job Match Response Builder+ *+ * Handles building the final JobMatchResponse from agent results and semantic data.+ */++import {+ JobMatchResponse,+ ToolDataJobMatch,+ SemanticData,+} from "@/models/ai.model";++interface AnalysisResultInput {+ keywordAnalysis: { strength: string; missingCritical: string[] };+}++interface FeedbackResultInput {+ suggestions: string[];+ synthesisNotes: string;+}++interface BaselineScore {+ score: number;+ breakdown: Record<string, number>;+}++export function buildJobMatchResponse(+ validatedScore: number,+ baselineScore: BaselineScore,+ toolData: ToolDataJobMatch,+ semanticData: SemanticData,+ analysisResult: AnalysisResultInput,+ feedbackResult: FeedbackResultInput,+ matchedSkillsCount: number,+ requiredSkillsCount: number+): JobMatchResponse {+ const detailedAnalysis = [];++ // Skills Match - use semantic skill match data if available+ if (semanticData.skillMatch) {+ const exactCount = semanticData.skillMatch.exact_matches.length;+ const relatedCount = semanticData.skillMatch.related_matches.length;+ const missingCount = semanticData.skillMatch.missing_skills.length;++ detailedAnalysis.push({+ category: `Skills Match (${baselineScore.breakdown.skillsMatch}/30 pts)`,+ value: [+ `${exactCount} exact matches, ${relatedCount} transferable skills, ${missingCount} gaps`,+ ...semanticData.skillMatch.exact_matches+ .slice(0, 3)+ .map(+ (m: { skill: string; resume_evidence: string }) =>+ `✅ ${m.skill}: "${m.resume_evidence.substring(0, 40)}..."`+ ),+ ...semanticData.skillMatch.related_matches+ .slice(0, 2)+ .map(+ (m: {+ resume_skill: string;+ job_skill: string;+ similarity: number;+ }) =>+ `⚡ ${m.resume_skill} → ${m.job_skill} (${m.similarity}% similar)`+ ),+ ...semanticData.skillMatch.missing_skills+ .filter((s: any) => s.importance === "critical")+ .slice(0, 2)+ .map(+ (s: any) => `❌ ${s.skill} (critical, ${s.learnability} to learn)`+ ),+ ],+ });+ } else {+ detailedAnalysis.push({+ category: `Skills Match (${baselineScore.breakdown.skillsMatch}/30 pts)`,+ value: [+ `Matched ${matchedSkillsCount} of ${requiredSkillsCount} required skills`,+ ...toolData.keywordOverlap.matchedKeywords+ .slice(0, 5)+ .map((k) => `✅ ${k}`),+ ...toolData.keywordOverlap.missingKeywords+ .slice(0, 3)+ .map((k) => `❌ ${k}`),+ ],+ });+ }++ // Semantic Similarity++ if (semanticData.similarity) {+ detailedAnalysis.push({+ category: `Semantic Fit (${baselineScore.breakdown.keywordOverlap}/20 pts)`,+ value: [+ `${Math.round(+ semanticData.similarity.similarity_score+ )}% semantic match`,+ semanticData.similarity.match_explanation,+ ...semanticData.similarity.key_matches.slice(0, 2),+ ],+ });+ } else {+ detailedAnalysis.push({+ category: `Keyword Overlap (${baselineScore.breakdown.keywordOverlap}/20 pts)`,+ value: [+ `${Math.round(+ toolData.keywordOverlap.overlapPercentage+ )}% keyword match`,+ analysisResult.keywordAnalysis.strength,+ ],+ });+ }++ // Transferable Skills+ if (+ semanticData.similarity &&+ semanticData.similarity.transferable_skills.length > 0+ ) {+ detailedAnalysis.push({+ category: "Transferable Skills",+ value: semanticData.similarity.transferable_skills+ .slice(0, 3)+ .map(+ (s: any) =>+ `💡 ${s.resume_skill} → ${s.job_skill}: ${s.how_it_transfers}`+ ),+ });+ }++ // Overall Assessment+ detailedAnalysis.push({+ category: "Overall Assessment",+ value: [+ semanticData.matchExplanation?.fit_assessment ||+ feedbackResult.synthesisNotes,+ ],+ });++ // Build suggestions using semantic data+ const suggestions = [];++ // Action items from semantic analysis+ if (+ semanticData.matchExplanation &&+ semanticData.matchExplanation.action_items.length > 0+ ) {+ suggestions.push({+ category: "Priority Actions",+ value: semanticData.matchExplanation.action_items.slice(0, 4),+ });+ }++ // Keywords to add+ suggestions.push({+ category: "Skills to Add",+ value: analysisResult.keywordAnalysis.missingCritical.slice(0, 4),+ });++ // Top improvements+ suggestions.push({+ category: "Top Improvements",+ value: feedbackResult.suggestions.slice(0, 4),+ });++ // Build additional comments with semantic recommendation+ const recommendation =+ semanticData.similarity?.application_recommendation ||+ (validatedScore >= 70+ ? "Apply now - strong match"+ : validatedScore >= 50+ ? "Apply after addressing key gaps"+ : "Consider upskilling before applying");++ return {+ matching_score: validatedScore,+ detailed_analysis: detailedAnalysis,+ suggestions,+ additional_comments: [+ `Score: ${validatedScore}/100 - ${+ validatedScore >= 70+ ? "Strong"+ : validatedScore >= 50+ ? "Moderate"+ : "Weak"+ } match`,+ semanticData.similarity?.match_explanation ||+ feedbackResult.synthesisNotes,+ `Recommendation: ${recommendation}`,+ ],+ };+}diff --git a/src/lib/ai/multi-agent/resume-review.ts b/src/lib/ai/multi-agent/resume-review/index.tssimilarity index 75%rename from src/lib/ai/multi-agent/resume-review.tsrename to src/lib/ai/multi-agent/resume-review/index.tsindex 4dfd2ee..7fbe7a6 100644--- a/src/lib/ai/multi-agent/resume-review.ts+++ b/src/lib/ai/multi-agent/resume-review/index.ts@@ -4,12 +4,12 @@* Handles resume analysis using the multi-agent collaboration system.*/-import { getModel, ProviderType } from "../providers";+import { getModel, ProviderType } from "../../providers";import { AnalysisAgentSchema, FeedbackAgentSchema } from "@/models/ai.schemas";import {ANALYSIS_AGENT_PROMPT,FEEDBACK_AGENT_PROMPT,-} from "../prompts/prompts.agents";+} from "../../prompts/prompts.agents";import {countQuantifiedAchievements,analyzeFormatting,@@ -17,13 +17,13 @@ import {analyzeActionVerbs,getKeywordCountFromSemantic,getVerbCountFromSemantic,-} from "../tools";-import { ProgressStream } from "../progress-stream";+} from "../../tools";+import { ProgressStream } from "../../progress-stream";import {calculateResumeScore,validateScore,calculateAllowedVariance,-} from "../scoring";+} from "../../scoring";import {ResumeReviewResponse,AgentInsights,@@ -39,17 +39,16 @@ import {OLLAMA_FEEDBACK_SYSTEM_PROMPT,buildOllamaResumeAnalysisPrompt,buildOllamaResumeFeedbackPrompt,-} from "../ollama";-import { withTimeout } from "./utils";+} from "../../ollama";+import { withTimeout } from "../utils";import {executeAgents,handleExtractionError,handleAgentError,-} from "./shared";+} from "../shared";+import { buildResumeReviewResponse } from "./response-builder";-// ============================================================================// RESUME REVIEW-// ============================================================================export async function multiAgentResumeReview(resumeText: string,@@ -59,9 +58,8 @@ export async function multiAgentResumeReview(): Promise<CollaborativeResult<ResumeReviewResponse>> {const model = getModel(provider, modelName);- // =========================================================================- // STEP 1: Tool Extraction - Semantic Extraction is now the default (Phase 3)- // =========================================================================+ // STEP 1: Tool Extraction -+progressStream?.sendStarted("tool-extraction", 0);let toolData: ToolDataResume;@@ -107,9 +105,8 @@ export async function multiAgentResumeReview(progressStream?.sendCompleted("tool-extraction", 0);- // =========================================================================// STEP 2: Calculate Baseline Score- // =========================================================================+const baselineScore = calculateResumeScore({quantifiedCount: toolData.quantified.count,keywordCount: toolData.keywords.count,@@ -129,9 +126,8 @@ export async function multiAgentResumeReview(`[Resume Review] Baseline: ${baselineScore.score}, Allowed variance: ±${allowedVariance} (${minScore}-${maxScore})`);- // =========================================================================// STEP 3: PARALLEL - Analysis Agent & Feedback Agent- // =========================================================================+progressStream?.sendStarted("analysis-agent", 1);progressStream?.sendStarted("feedback-agent", 2);@@ -155,7 +151,12 @@ export async function multiAgentResumeReview(const feedbackPrompt = isOllama? buildOllamaResumeFeedbackPrompt(resumeText, baselineScore)- : buildFullResumeFeedbackPrompt(resumeText, baselineScore, minScore, maxScore);+ : buildFullResumeFeedbackPrompt(+ resumeText,+ baselineScore,+ minScore,+ maxScore+ );let analysisResult;let feedbackResult;@@ -166,13 +167,17 @@ export async function multiAgentResumeReview(provider,analysis: {schema: isOllama ? OllamaAnalysisAgentSchema : AnalysisAgentSchema,- systemPrompt: isOllama ? OLLAMA_ANALYSIS_SYSTEM_PROMPT : ANALYSIS_AGENT_PROMPT,+ systemPrompt: isOllama+ ? OLLAMA_ANALYSIS_SYSTEM_PROMPT+ : ANALYSIS_AGENT_PROMPT,prompt: analysisPrompt,temperature: 0.1,},feedback: {schema: isOllama ? OllamaFeedbackAgentSchema : FeedbackAgentSchema,- systemPrompt: isOllama ? OLLAMA_FEEDBACK_SYSTEM_PROMPT : FEEDBACK_AGENT_PROMPT,+ systemPrompt: isOllama+ ? OLLAMA_FEEDBACK_SYSTEM_PROMPT+ : FEEDBACK_AGENT_PROMPT,prompt: feedbackPrompt,temperature: 0.3,},@@ -188,9 +193,8 @@ export async function multiAgentResumeReview(progressStream?.sendCompleted("analysis-agent", 1);progressStream?.sendCompleted("feedback-agent", 2);- // =========================================================================// STEP 4: Validation- // =========================================================================+const validatedScore = validateScore(analysisResult.finalScore,baselineScore.score,@@ -204,22 +208,12 @@ export async function multiAgentResumeReview();}- // =========================================================================// STEP 5: Build Final Response- // =========================================================================- const finalResponse: ResumeReviewResponse = {- score: validatedScore,- summary: `This resume scores ${validatedScore}/100, which is ${- validatedScore >= 70- ? "above average"- : validatedScore >= 50- ? "average"- : "below average"- }. ${feedbackResult.strengths[0] || "Multiple strengths identified."}`,- strengths: feedbackResult.strengths,- weaknesses: feedbackResult.weaknesses,- suggestions: feedbackResult.suggestions,- };++ const finalResponse = buildResumeReviewResponse(+ validatedScore,+ feedbackResult+ );const agentInsights: AgentInsights = {analysis: analysisResult,@@ -234,9 +228,7 @@ export async function multiAgentResumeReview(};}-// ============================================================================// PROMPT BUILDERS-// ============================================================================function buildFullResumeAnalysisPrompt(resumeText: string,@@ -265,12 +257,18 @@ CALCULATED BASELINE SCORE: ${baselineScore.score}/100BASELINE BREAKDOWN (mathematically calculated):- Keywords: ${baselineScore.breakdown.keywords}/20 (FIXED based on count)-- Achievements: ${baselineScore.breakdown.achievements}/25 (FIXED based on count)+- Achievements: ${+ baselineScore.breakdown.achievements+ }/25 (FIXED based on count)- Action Verbs: ${baselineScore.breakdown.verbs}/10 (FIXED based on count)- Formatting: ${baselineScore.breakdown.formatting}/15 (FIXED based on analysis)- Summary: ${baselineScore.breakdown.summary}/10 (adjustable based on quality)-- Experience: ${baselineScore.breakdown.experienceClarity}/10 (adjustable based on clarity)-- Skills: ${baselineScore.breakdown.skillsSection}/5 (adjustable based on organization)+- Experience: ${+ baselineScore.breakdown.experienceClarity+ }/10 (adjustable based on clarity)+- Skills: ${+ baselineScore.breakdown.skillsSection+ }/5 (adjustable based on organization)- Grammar: ${baselineScore.breakdown.grammar}/5 (adjustable based on errors)YOUR TASKS:diff --git a/src/lib/ai/multi-agent/resume-review/response-builder.ts b/src/lib/ai/multi-agent/resume-review/response-builder.tsnew file mode 100644index 0000000..9c235e9--- /dev/null+++ b/src/lib/ai/multi-agent/resume-review/response-builder.ts@@ -0,0 +1,37 @@+/**+ * Resume Review Response Builder+ *+ * Handles building the final ResumeReviewResponse from agent results.+ */++import { ResumeReviewResponse } from "@/models/ai.model";++interface FeedbackResultInput {+ strengths: string[];+ weaknesses: string[];+ suggestions: string[];+}++export function buildResumeReviewResponse(+ validatedScore: number,+ feedbackResult: FeedbackResultInput+): ResumeReviewResponse {+ const scoreCategory =+ validatedScore >= 70+ ? "above average"+ : validatedScore >= 50+ ? "average"+ : "below average";++ const summary = `This resume scores ${validatedScore}/100, which is ${scoreCategory}. ${+ feedbackResult.strengths[0] || "Multiple strengths identified."+ }`;++ return {+ score: validatedScore,+ summary,+ strengths: feedbackResult.strengths,+ weaknesses: feedbackResult.weaknesses,+ suggestions: feedbackResult.suggestions,+ };+}diff --git a/src/lib/ai/ollama/index.ts b/src/lib/ai/ollama/index.tsindex 3f7e4b3..1feec0e 100644--- a/src/lib/ai/ollama/index.ts+++ b/src/lib/ai/ollama/index.ts@@ -7,12 +7,18 @@* - Utility functions and constants*/-// Utils-export {- isOllamaProvider,- SEMANTIC_TIMEOUT_MS,- AGENT_TIMEOUT_MS,-} from "./utils";+import type { ProviderType } from "../providers";++// Timeouts for Ollama (local models need more time)+export const SEMANTIC_TIMEOUT_MS = 60000; // 60 seconds for semantic extraction+export const AGENT_TIMEOUT_MS = 120000; // 120 seconds for agent calls++/**+ * Check if provider is Ollama (local models that need simplified prompts/schemas)+ */+export function isOllamaProvider(provider: ProviderType): boolean {+ return provider === "ollama";+}// Normalizersexport {@@ -34,7 +40,7 @@ export {buildOllamaResumeFeedbackPrompt,buildOllamaJobMatchAnalysisPrompt,buildOllamaJobMatchFeedbackPrompt,-} from "./prompts";+} from "../prompts/ollama.prompts";// Re-export schemas from models for convenienceexport {diff --git a/src/lib/ai/ollama/utils.ts b/src/lib/ai/ollama/utils.tsdeleted file mode 100644index f659a6b..0000000--- a/src/lib/ai/ollama/utils.ts+++ /dev/null@@ -1,16 +0,0 @@-/**- * Ollama-specific utilities- */--import type { ProviderType } from "../providers";--// Timeouts for Ollama (local models need more time)-export const SEMANTIC_TIMEOUT_MS = 60000; // 60 seconds for semantic extraction-export const AGENT_TIMEOUT_MS = 120000; // 120 seconds for agent calls--/**- * Check if provider is Ollama (local models that need simplified prompts/schemas)- */-export function isOllamaProvider(provider: ProviderType): boolean {- return provider === "ollama";-}diff --git a/src/lib/ai/ollama/prompts.ts b/src/lib/ai/prompts/ollama.prompts.tssimilarity index 100%rename from src/lib/ai/ollama/prompts.tsrename to src/lib/ai/prompts/ollama.prompts.tsdiff --git a/src/lib/ai/tools.ts b/src/lib/ai/tools.tsdeleted file mode 100644index 76ca9b6..0000000--- a/src/lib/ai/tools.ts+++ /dev/null@@ -1,24 +0,0 @@-/**- * AI Analysis Tools- * Re-exports from modular tools directory for backward compatibility- *- * @see ./tools/index.ts for the modular implementation- */--export {- // Error classes- AIUnavailableError,- // Achievement analysis- countQuantifiedAchievements,- // Formatting analysis- analyzeFormatting,- // Semantic extraction (LLM-powered)- extractSemanticKeywords,- analyzeActionVerbs,- performSemanticSkillMatch,- getKeywordCountFromSemantic,- getVerbCountFromSemantic,- // Semantic similarity (LLM-powered)- calculateSemanticSimilarity,- generateMatchExplanation,-} from "./tools/index";