@aaswe/codebase-ai
Version:
AI-Assisted Software Engineering (AASWE) - Rich codebase context for IDE LLMs
44 lines • 1.77 kB
JavaScript
;
/**
* Layer 3: AI/LLM Integration & Reasoning - Types
*
* Unified type definitions for all Layer 3 AI services including
* RAG Engine, GraphCypher QA Chain, and SPARQL Query Engine.
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Layer3Error = exports.SPARQLError = void 0;
// Re-export service-specific types with explicit naming to avoid conflicts
__exportStar(require("./langchain-rag/types"), exports);
__exportStar(require("./graph-cypher-qa/types"), exports);
var types_1 = require("./sparql-query-engine/types");
Object.defineProperty(exports, "SPARQLError", { enumerable: true, get: function () { return types_1.SPARQLError; } });
class Layer3Error extends Error {
code;
service;
query;
details;
constructor(code, message, options = {}) {
super(message);
this.name = 'Layer3Error';
this.code = code;
this.service = options.service;
this.query = options.query;
this.details = options.details;
}
}
exports.Layer3Error = Layer3Error;
//# sourceMappingURL=types.js.map