DIALECT_IDconstconst DIALECT_ID: "winget"The id of the dialect.
The dialect of tools for WinGet: what it guarantees, how it writes an exact version and what its check answers, as data, and the call that makes the dialect from the commands of the packaging ontology. It runs the installers its manifests name, and builds nothing itself. Everything else (the command lines, the plan file, the program, the observation) is in @intellectual-frontiers/package-managers.
import { winget, TOOL_DIALECT } from "./dialect.ts";
TOOL_DIALECT.guarantees.pin; // "exact"DIALECT_IDconstconst DIALECT_ID: "winget"The id of the dialect.
SPECconstconst SPEC: ManagerSpecThe manager as the kit needs it: WinGet, whose manifests carry the SHA-256 of each installer, which it checks before it runs one.
TOOL_DIALECTconstconst TOOL_DIALECT: ToolDialectThe dialect as Toolchain reads it.
wingetfunctionfunction winget(commands: CommandSource, options?: DialectOptions): DialectThe dialect, made from the commands of the packaging ontology (the reader of supply-chain/commands, as a function); elevate is the program that raises the rights, where the manager needs them.
observeRequirementsfunctionno test imports itfunction observeRequirements(commands: CommandSource, requirements: readonly Requirement[], o?: { readonly run?: Run | undefined; }): Promise<ReadonlyMap<RequirementId, JsonValue>>What Archon is given of what is installed: see the kit.