"use strict";
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (C) 2024-2026 Gracker (Chris)
// This file is part of SmartPerfetto. See LICENSE for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.translateStrategy = exports.concludeDecision = exports.normalizeDomain = exports.DEFAULT_EVIDENCE = exports.DOMAIN_ALIASES = exports.DEFAULT_CONFIG = exports.AGENT_IDS = exports.generateDeduplicationKey = exports.createEmittedEnvelopeRegistry = exports.EmittedEnvelopeRegistry = exports.CAUSE_TYPE_LABELS = exports.formatJankSummaryForPrompt = exports.summarizeJankCauses = exports.resolveAgentIdForDomain = exports.parseTimeRange = exports.buildTasksFromGraph = exports.planTaskGraph = exports.synthesizeFeedback = exports.emitDataEnvelopes = exports.executeTaskGraph = exports.renderConclusionContractMarkdown = exports.deriveConclusionContract = exports.generateSimpleConclusion = exports.generateConclusion = exports.createHypothesis = exports.generateDefaultHypotheses = exports.generateInitialHypotheses = exports.understandIntent = exports.PipelineExecutor = exports.AllModelsFailedError = exports.ModelRouter = exports.CircuitBreaker = exports.AgentStateMachine = void 0;
/**
 * SmartPerfetto Agent Core Module
 *
 * 导出核心架构组件
 */
var stateMachine_1 = require("./stateMachine");
Object.defineProperty(exports, "AgentStateMachine", { enumerable: true, get: function () { return stateMachine_1.AgentStateMachine; } });
var circuitBreaker_1 = require("./circuitBreaker");
Object.defineProperty(exports, "CircuitBreaker", { enumerable: true, get: function () { return circuitBreaker_1.CircuitBreaker; } });
var modelRouter_1 = require("./modelRouter");
Object.defineProperty(exports, "ModelRouter", { enumerable: true, get: function () { return modelRouter_1.ModelRouter; } });
Object.defineProperty(exports, "AllModelsFailedError", { enumerable: true, get: function () { return modelRouter_1.AllModelsFailedError; } });
var pipelineExecutor_1 = require("./pipelineExecutor");
Object.defineProperty(exports, "PipelineExecutor", { enumerable: true, get: function () { return pipelineExecutor_1.PipelineExecutor; } });
// Orchestrator sub-modules
var intentUnderstanding_1 = require("./intentUnderstanding");
Object.defineProperty(exports, "understandIntent", { enumerable: true, get: function () { return intentUnderstanding_1.understandIntent; } });
var hypothesisGenerator_1 = require("./hypothesisGenerator");
Object.defineProperty(exports, "generateInitialHypotheses", { enumerable: true, get: function () { return hypothesisGenerator_1.generateInitialHypotheses; } });
Object.defineProperty(exports, "generateDefaultHypotheses", { enumerable: true, get: function () { return hypothesisGenerator_1.generateDefaultHypotheses; } });
Object.defineProperty(exports, "createHypothesis", { enumerable: true, get: function () { return hypothesisGenerator_1.createHypothesis; } });
var conclusionGenerator_1 = require("./conclusionGenerator");
Object.defineProperty(exports, "generateConclusion", { enumerable: true, get: function () { return conclusionGenerator_1.generateConclusion; } });
Object.defineProperty(exports, "generateSimpleConclusion", { enumerable: true, get: function () { return conclusionGenerator_1.generateSimpleConclusion; } });
Object.defineProperty(exports, "deriveConclusionContract", { enumerable: true, get: function () { return conclusionGenerator_1.deriveConclusionContract; } });
Object.defineProperty(exports, "renderConclusionContractMarkdown", { enumerable: true, get: function () { return conclusionGenerator_1.renderConclusionContractMarkdown; } });
var taskGraphExecutor_1 = require("./taskGraphExecutor");
Object.defineProperty(exports, "executeTaskGraph", { enumerable: true, get: function () { return taskGraphExecutor_1.executeTaskGraph; } });
Object.defineProperty(exports, "emitDataEnvelopes", { enumerable: true, get: function () { return taskGraphExecutor_1.emitDataEnvelopes; } });
var feedbackSynthesizer_1 = require("./feedbackSynthesizer");
Object.defineProperty(exports, "synthesizeFeedback", { enumerable: true, get: function () { return feedbackSynthesizer_1.synthesizeFeedback; } });
var taskGraphPlanner_1 = require("./taskGraphPlanner");
Object.defineProperty(exports, "planTaskGraph", { enumerable: true, get: function () { return taskGraphPlanner_1.planTaskGraph; } });
Object.defineProperty(exports, "buildTasksFromGraph", { enumerable: true, get: function () { return taskGraphPlanner_1.buildTasksFromGraph; } });
Object.defineProperty(exports, "parseTimeRange", { enumerable: true, get: function () { return taskGraphPlanner_1.parseTimeRange; } });
Object.defineProperty(exports, "resolveAgentIdForDomain", { enumerable: true, get: function () { return taskGraphPlanner_1.resolveAgentIdForDomain; } });
// Jank cause analysis
var jankCauseSummarizer_1 = require("./jankCauseSummarizer");
Object.defineProperty(exports, "summarizeJankCauses", { enumerable: true, get: function () { return jankCauseSummarizer_1.summarizeJankCauses; } });
Object.defineProperty(exports, "formatJankSummaryForPrompt", { enumerable: true, get: function () { return jankCauseSummarizer_1.formatJankSummaryForPrompt; } });
Object.defineProperty(exports, "CAUSE_TYPE_LABELS", { enumerable: true, get: function () { return jankCauseSummarizer_1.CAUSE_TYPE_LABELS; } });
// Deduplication registry
var emittedEnvelopeRegistry_1 = require("./emittedEnvelopeRegistry");
Object.defineProperty(exports, "EmittedEnvelopeRegistry", { enumerable: true, get: function () { return emittedEnvelopeRegistry_1.EmittedEnvelopeRegistry; } });
Object.defineProperty(exports, "createEmittedEnvelopeRegistry", { enumerable: true, get: function () { return emittedEnvelopeRegistry_1.createEmittedEnvelopeRegistry; } });
Object.defineProperty(exports, "generateDeduplicationKey", { enumerable: true, get: function () { return emittedEnvelopeRegistry_1.generateDeduplicationKey; } });
var orchestratorTypes_1 = require("./orchestratorTypes");
Object.defineProperty(exports, "AGENT_IDS", { enumerable: true, get: function () { return orchestratorTypes_1.AGENT_IDS; } });
Object.defineProperty(exports, "DEFAULT_CONFIG", { enumerable: true, get: function () { return orchestratorTypes_1.DEFAULT_CONFIG; } });
Object.defineProperty(exports, "DOMAIN_ALIASES", { enumerable: true, get: function () { return orchestratorTypes_1.DOMAIN_ALIASES; } });
Object.defineProperty(exports, "DEFAULT_EVIDENCE", { enumerable: true, get: function () { return orchestratorTypes_1.DEFAULT_EVIDENCE; } });
Object.defineProperty(exports, "normalizeDomain", { enumerable: true, get: function () { return orchestratorTypes_1.normalizeDomain; } });
Object.defineProperty(exports, "concludeDecision", { enumerable: true, get: function () { return orchestratorTypes_1.concludeDecision; } });
Object.defineProperty(exports, "translateStrategy", { enumerable: true, get: function () { return orchestratorTypes_1.translateStrategy; } });
//# sourceMappingURL=index.js.map