/** * `axm lint` rendering. * * The lint run itself — input admission, fact gathering, evaluation, and the * machine document — belongs to `@agentxm/workspace/linting`. What is left here * is the adapter's own work: wrap the feature's document in the machine * envelope, render the human findings ledger on stdout at the requested * verbosity, and translate the severity verdict into a process exit code. * * @experimental This API is unstable and may change without notice. */ import * as Effect from "effect/Effect"; import * as Schema from "effect/Schema"; import { type LintSelection } from "@agentxm/workspace/linting"; import { Screen } from "../../screen/index.js"; import { Verbosity } from "../../cli-flags/index.js"; export declare const LintResultDocumentSchema: Schema.Struct<{ result: Schema.Struct<{ readonly input: Schema.Union; }>, Schema.Struct<{ readonly view: Schema.Literal<"git-index">; readonly fingerprint: Schema.String; }>]>; readonly axmSkillCompatibility: Schema.optionalKey; readonly steps: Schema.$Array; readonly command: Schema.String; readonly preview: Schema.Boolean; }>>; readonly action: Schema.Literals; readonly targetCliVersion: Schema.NullOr; readonly targetSkillVersion: Schema.NullOr; }>; readonly status: Schema.Literals; readonly cliVersion: Schema.NullOr; readonly skillVersion: Schema.NullOr; readonly source: Schema.NullOr; readonly declaredCliVersion: Schema.NullOr; readonly declaredCliVersionRange: Schema.NullOr; readonly reasonCode: Schema.NullOr>; readonly detail: Schema.NullOr; }>>; readonly findings: Schema.$Array; readonly kind: Schema.Literal<"advisory">; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly displayRoot: Schema.String; readonly path: Schema.String; readonly subject: Schema.String; readonly authority: Schema.String; readonly observed: Schema.String; readonly expected: Schema.String; readonly location: Schema.optional; readonly column: Schema.optional; }>>; }>>; readonly repaired: Schema.$Array; readonly kind: Schema.Literal<"advisory">; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly displayRoot: Schema.String; readonly path: Schema.String; readonly subject: Schema.String; readonly authority: Schema.String; readonly observed: Schema.String; readonly expected: Schema.String; readonly location: Schema.optional; readonly column: Schema.optional; }>>; }>>; readonly summary: Schema.Struct<{ readonly total: Schema.Number; readonly errors: Schema.Number; readonly warnings: Schema.Number; readonly infos: Schema.Number; readonly exitCategory: Schema.Literals; }>; readonly driftBanner: Schema.$Array; }>; }>; export type LintResultDocument = typeof LintResultDocumentSchema.Type; export interface HandleLintArgs { readonly selection: LintSelection; readonly strict: boolean; } export declare const handleLint: (args: HandleLintArgs) => Effect.Effect; //# sourceMappingURL=handler.d.ts.map