parsePhasefunctionno test imports itfunction parsePhase(text: string): Result<Phase, string>A phase from its word, or why it is not one.
The analysis of a selection of tools: which tools, resolved to which dialects (or why not), what is installed, the order and the plan Archon makes, and for each dialect its render and its plan of steps. It writes nothing and runs nothing but what the dialects observe with; writeRendered is the one place files are written, and ensure the one place steps are run.
import { selectNames } from "./analysis.ts";
// selectNames(config, { phase: "core", names: [] }) is the tools of that phase, or the names givenparsePhasefunctionno test imports itfunction parsePhase(text: string): Result<Phase, string>A phase from its word, or why it is not one.
selectNamesfunctionno test imports itfunction selectNames(config: ToolPluginConfig, sel: { readonly phase?: Phase | undefined; readonly names: readonly string[]; }): Result<readonly string[], string>The names of the tools a selection asks for: the names given, each of which must be in the catalog; otherwise every tool of the phase, or every tool where there is no phase.
describeProblemsfunctionno test imports itfunction describeProblems(problems: readonly ResolveProblem[]): readonly string[]A reason a tool cannot be resolved, as sentences: one for the tool, then one for each dialect that was not chosen.
Analysistypeno test imports ittype Analysis = {
readonly resolution: Resolution;
readonly requirements: readonly Requirement[];
readonly observed: ReadonlyMap<RequirementId, JsonValue>;
readonly order: Order;
readonly plan: Plan;
readonly shares: readonly Share[];
};What an analysis found.
analysefunctionno test imports itfunction analyse(config: ToolPluginConfig, names: readonly string[]): Promise<Result<Analysis, readonly string[]>>The analysis of the named tools, or every reason it cannot be made.
writeRenderedfunctionno test imports itfunction writeRendered(folder: string, rendered: Rendered): Promise<readonly string[]>Writes what a dialect rendered below <folder>/.archon/<digest>/, where its steps read it, and says the paths.