UNPKG

cortexweaver

Version:

CortexWeaver is a command-line interface (CLI) tool that orchestrates a swarm of specialized AI agents, powered by Claude Code and Gemini CLI, to assist in software development. It transforms a high-level project plan (plan.md) into a series of coordinate

30 lines 1.49 kB
"use strict"; /** * Context Primer - Main Entry Point * * This file serves as the main entry point for the Context Primer, now refactored * to use a modular structure to maintain the 500-line limit per file. * * Modular structure: * - context-primer/types.ts - All interfaces and type definitions * - context-primer/core.ts - Main context priming orchestration logic * - context-primer/analysis.ts - File scanning, analysis, and relevance calculations */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ContextAnalysis = exports.ContextPrimerCore = exports.ContextPrimer = void 0; const core_1 = require("./context-primer/core"); class ContextPrimer { constructor(canvas, workspace, contractsPath = './contracts') { this.core = new core_1.ContextPrimerCore(canvas, workspace, contractsPath); } async primeContext(task, agentType, projectId, options = {}) { return this.core.primeContext(task, agentType, projectId, options); } } exports.ContextPrimer = ContextPrimer; // Re-export modular components for direct access var core_2 = require("./context-primer/core"); Object.defineProperty(exports, "ContextPrimerCore", { enumerable: true, get: function () { return core_2.ContextPrimerCore; } }); var analysis_1 = require("./context-primer/analysis"); Object.defineProperty(exports, "ContextAnalysis", { enumerable: true, get: function () { return analysis_1.ContextAnalysis; } }); //# sourceMappingURL=context-primer.js.map