substrate-ai 0.4.2 → 0.4.3
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { DEFAULT_CONFIG, DEFAULT_ROUTING_POLICY, DatabaseWrapper, DoltClient, DoltNotInstalled, DoltRepoMapMetaRepository, DoltSymbolRepository, FileStateStore, GitClient, GrammarLoader, IngestionServer, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SUBSTRATE_OWNED_SETTINGS_KEYS, SymbolParser, TelemetryPersistence, VALID_PHASES, buildPipelineStatusOutput, checkDoltInstalled, createConfigSystem, createContextCompiler, createDispatcher, createDoltClient, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStateStore, createStopAfterGate, findPackageRoot, formatOutput, formatPhaseCompletionSummary, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, initializeDolt, parseDbTimestampAsUtc, registerHealthCommand, registerRunCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot, resolveStoryKeys, runAnalysisPhase, runMigrations, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-
|
|
2
|
+
import { DEFAULT_CONFIG, DEFAULT_ROUTING_POLICY, DatabaseWrapper, DoltClient, DoltNotInstalled, DoltRepoMapMetaRepository, DoltSymbolRepository, FileStateStore, GitClient, GrammarLoader, IngestionServer, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SUBSTRATE_OWNED_SETTINGS_KEYS, SymbolParser, TelemetryPersistence, VALID_PHASES, buildPipelineStatusOutput, checkDoltInstalled, createConfigSystem, createContextCompiler, createDispatcher, createDoltClient, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStateStore, createStopAfterGate, findPackageRoot, formatOutput, formatPhaseCompletionSummary, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, initializeDolt, parseDbTimestampAsUtc, registerHealthCommand, registerRunCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot, resolveStoryKeys, runAnalysisPhase, runMigrations, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-AHblPlOJ.js";
|
|
3
3
|
import { createLogger } from "../logger-D2fS2ccL.js";
|
|
4
4
|
import { AdapterRegistry } from "../adapter-registry-rSOJ9Kvz.js";
|
|
5
5
|
import { CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, PartialSubstrateConfigSchema } from "../config-migrator-DtZW1maj.js";
|
|
@@ -622,7 +622,8 @@ async function runInitAction(options) {
|
|
|
622
622
|
config_format_version: CURRENT_CONFIG_FORMAT_VERSION,
|
|
623
623
|
task_graph_version: CURRENT_TASK_GRAPH_VERSION,
|
|
624
624
|
global: DEFAULT_CONFIG.global,
|
|
625
|
-
providers: configProviders
|
|
625
|
+
providers: configProviders,
|
|
626
|
+
telemetry: DEFAULT_CONFIG.telemetry
|
|
626
627
|
};
|
|
627
628
|
const routingPolicy = structuredClone(DEFAULT_ROUTING_POLICY);
|
|
628
629
|
await mkdir(substrateDir, { recursive: true });
|
|
@@ -2708,7 +2709,7 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
2708
2709
|
const expDb = expDbWrapper.db;
|
|
2709
2710
|
const { runRunAction: runPipeline } = await import(
|
|
2710
2711
|
/* @vite-ignore */
|
|
2711
|
-
"../run-
|
|
2712
|
+
"../run-C_mCMW99.js"
|
|
2712
2713
|
);
|
|
2713
2714
|
const runStoryFn = async (opts) => {
|
|
2714
2715
|
const exitCode = await runPipeline({
|
|
@@ -110,6 +110,10 @@ const DEFAULT_CONFIG = {
|
|
|
110
110
|
claude: DEFAULT_CLAUDE_PROVIDER,
|
|
111
111
|
codex: DEFAULT_CODEX_PROVIDER,
|
|
112
112
|
gemini: DEFAULT_GEMINI_PROVIDER
|
|
113
|
+
},
|
|
114
|
+
telemetry: {
|
|
115
|
+
enabled: true,
|
|
116
|
+
port: 4318
|
|
113
117
|
}
|
|
114
118
|
};
|
|
115
119
|
|
|
@@ -21081,4 +21085,4 @@ function registerRunCommand(program, _version = "0.0.0", projectRoot = process.c
|
|
|
21081
21085
|
|
|
21082
21086
|
//#endregion
|
|
21083
21087
|
export { DEFAULT_CONFIG, DEFAULT_ROUTING_POLICY, DatabaseWrapper, DoltClient, DoltNotInstalled, DoltRepoMapMetaRepository, DoltSymbolRepository, FileStateStore, GitClient, GrammarLoader, IngestionServer, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SUBSTRATE_OWNED_SETTINGS_KEYS, SymbolParser, TelemetryPersistence, VALID_PHASES, buildPipelineStatusOutput, checkDoltInstalled, createConfigSystem, createContextCompiler, createDispatcher, createDoltClient, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStateStore, createStopAfterGate, findPackageRoot, formatOutput, formatPhaseCompletionSummary, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, initializeDolt, parseDbTimestampAsUtc, registerHealthCommand, registerRunCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot, resolveStoryKeys, runAnalysisPhase, runMigrations, runPlanningPhase, runRunAction, runSolutioningPhase, validateStopAfterFromConflict };
|
|
21084
|
-
//# sourceMappingURL=run-
|
|
21088
|
+
//# sourceMappingURL=run-AHblPlOJ.js.map
|