The dialect of a manager, made from its ManagerSpec and the commands of the ontology: its guarantees as data (for Archon and for Toolchain), the plan file it renders from an order and a plan, one step for each tool (the manager's own command, with its check where the status of a missing package is known), and the observation that gives Archon what is installed and at what version. Nothing is built from source and nothing is run by a shell.
import { managerDialect } from"./dialect.ts";
// managerDialect(spec, commands, { elevate: ["sudo", "-n"] }) is a Dialect for the port of Archon
typeDialectOptions= {
/** The program that raises the rights, put before a command of a manager that needs them (`["sudo", "-n"]`); none by default. */readonlyelevate?:readonlystring[];
/** The folder the files of a render are written in, below the working folder; `.archon` by default. */readonlyrenderRoot?:string;
};
What Archon is given of what is installed: the desired state itself for a tool installed at the version it asks, a state that differs for one installed at another, nothing for one that is absent or cannot be asked.