substrate-ai 0.16.4 → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createLogger } from "../logger-KeHncl-f.js";
|
|
|
4
4
|
import { createEventBus } from "../helpers-CElYrONe.js";
|
|
5
5
|
import { AdapterRegistry, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, ConfigError, CostTrackerConfigSchema, DEFAULT_CONFIG, DoltClient, DoltNotInstalled, EXPERIMENT_RESULT, GlobalSettingsSchema, IngestionServer, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProvidersSchema, RoutingRecommender, STORY_METRICS, TelemetryConfigSchema, addTokenUsage, aggregateTokenUsageForRun, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDecision, createDoltClient, createPipelineRun, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadParentRunDecisions, supersedeDecision, tagRunAsBaseline, updatePipelineRun } from "../dist-CLvAwmT7.js";
|
|
6
6
|
import "../adapter-registry-DXLMTmfD.js";
|
|
7
|
-
import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-
|
|
7
|
+
import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-3sUmDFaj.js";
|
|
8
8
|
import "../errors-D1LU8CZ9.js";
|
|
9
9
|
import "../routing-CcBOCuC9.js";
|
|
10
10
|
import "../decisions-C0pz9Clx.js";
|
|
@@ -4359,7 +4359,7 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
4359
4359
|
await initSchema(expAdapter);
|
|
4360
4360
|
const { runRunAction: runPipeline } = await import(
|
|
4361
4361
|
/* @vite-ignore */
|
|
4362
|
-
"../run-
|
|
4362
|
+
"../run-CxN4St_1.js"
|
|
4363
4363
|
);
|
|
4364
4364
|
const runStoryFn = async (opts) => {
|
|
4365
4365
|
const exitCode = await runPipeline({
|
|
@@ -29157,8 +29157,8 @@ async function factorySchema(adapter) {
|
|
|
29157
29157
|
`);
|
|
29158
29158
|
await adapter.exec(`
|
|
29159
29159
|
CREATE TABLE IF NOT EXISTS graph_node_results (
|
|
29160
|
-
id INTEGER PRIMARY KEY
|
|
29161
|
-
run_id VARCHAR(255) NOT NULL
|
|
29160
|
+
id INTEGER PRIMARY KEY AUTO_INCREMENT,
|
|
29161
|
+
run_id VARCHAR(255) NOT NULL ,
|
|
29162
29162
|
node_id VARCHAR(255) NOT NULL,
|
|
29163
29163
|
attempt INTEGER NOT NULL DEFAULT 1,
|
|
29164
29164
|
status VARCHAR(32) NOT NULL,
|
|
@@ -29173,8 +29173,8 @@ async function factorySchema(adapter) {
|
|
|
29173
29173
|
await adapter.exec("CREATE INDEX IF NOT EXISTS idx_graph_node_results_run ON graph_node_results(run_id)");
|
|
29174
29174
|
await adapter.exec(`
|
|
29175
29175
|
CREATE TABLE IF NOT EXISTS scenario_results (
|
|
29176
|
-
id INTEGER PRIMARY KEY
|
|
29177
|
-
run_id VARCHAR(255) NOT NULL
|
|
29176
|
+
id INTEGER PRIMARY KEY AUTO_INCREMENT,
|
|
29177
|
+
run_id VARCHAR(255) NOT NULL ,
|
|
29178
29178
|
node_id VARCHAR(255) NOT NULL,
|
|
29179
29179
|
iteration INTEGER NOT NULL DEFAULT 1,
|
|
29180
29180
|
total_scenarios INTEGER NOT NULL,
|
|
@@ -29192,7 +29192,7 @@ async function factorySchema(adapter) {
|
|
|
29192
29192
|
CREATE TABLE IF NOT EXISTS twin_runs (
|
|
29193
29193
|
id VARCHAR(255) PRIMARY KEY,
|
|
29194
29194
|
run_id VARCHAR(255),
|
|
29195
|
-
twin_name
|
|
29195
|
+
twin_name VARCHAR(255) NOT NULL,
|
|
29196
29196
|
started_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
29197
29197
|
stopped_at DATETIME,
|
|
29198
29198
|
status VARCHAR(32) NOT NULL DEFAULT 'running',
|
|
@@ -29201,8 +29201,8 @@ async function factorySchema(adapter) {
|
|
|
29201
29201
|
`);
|
|
29202
29202
|
await adapter.exec(`
|
|
29203
29203
|
CREATE TABLE IF NOT EXISTS twin_health_failures (
|
|
29204
|
-
id INTEGER PRIMARY KEY
|
|
29205
|
-
twin_name
|
|
29204
|
+
id INTEGER PRIMARY KEY AUTO_INCREMENT,
|
|
29205
|
+
twin_name VARCHAR(255) NOT NULL,
|
|
29206
29206
|
run_id VARCHAR(255),
|
|
29207
29207
|
checked_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
29208
29208
|
error_message TEXT NOT NULL
|
|
@@ -31023,4 +31023,4 @@ function registerRunCommand(program, _version = "0.0.0", projectRoot = process.c
|
|
|
31023
31023
|
|
|
31024
31024
|
//#endregion
|
|
31025
31025
|
export { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, normalizeGraphSummaryToStatus, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runRunAction, runSolutioningPhase, validateStopAfterFromConflict };
|
|
31026
|
-
//# sourceMappingURL=run-
|
|
31026
|
+
//# sourceMappingURL=run-3sUmDFaj.js.map
|
|
@@ -2,7 +2,7 @@ import "./health-DswaC1q5.js";
|
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./helpers-CElYrONe.js";
|
|
4
4
|
import "./dist-CLvAwmT7.js";
|
|
5
|
-
import { normalizeGraphSummaryToStatus, registerRunCommand, runRunAction } from "./run-
|
|
5
|
+
import { normalizeGraphSummaryToStatus, registerRunCommand, runRunAction } from "./run-3sUmDFaj.js";
|
|
6
6
|
import "./routing-CcBOCuC9.js";
|
|
7
7
|
import "./decisions-C0pz9Clx.js";
|
|
8
8
|
|