@vaubaan/harness 2.3.1 → 3.0.0
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/README.md +207 -83
- package/dist/cli/index.js +4165 -843
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/harn-canvas.cmd.md +23 -0
- package/dist/commands/{decision.cmd.md → harn-decision.cmd.md} +6 -6
- package/dist/commands/{doc-audit.cmd.md → harn-doc-audit.cmd.md} +7 -7
- package/dist/commands/{drift.cmd.md → harn-drift.cmd.md} +6 -6
- package/dist/commands/{handbook.cmd.md → harn-handbook.cmd.md} +6 -6
- package/dist/commands/harn-improve.cmd.md +20 -0
- package/dist/commands/{intent.cmd.md → harn-intent.cmd.md} +9 -9
- package/dist/commands/{readme.cmd.md → harn-readme.cmd.md} +6 -6
- package/dist/commands/{spec.cmd.md → harn-spec.cmd.md} +6 -6
- package/dist/commands/{test-plan.cmd.md → harn-test-plan.cmd.md} +6 -6
- package/dist/commands/harn-upgrade.cmd.md +22 -0
- package/dist/commands/{workflow.cmd.md → harn-workflow.cmd.md} +6 -6
- package/dist/index.d.ts +32 -3
- package/dist/index.js +533 -96
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +1 -1
- package/dist/init.js +468 -93
- package/dist/init.js.map +1 -1
- package/dist/linters/index.d.ts +3 -34
- package/dist/linters/index.js +996 -554
- package/dist/linters/index.js.map +1 -1
- package/dist/parser/index.d.ts +96 -6
- package/dist/parser/index.js +220 -10
- package/dist/parser/index.js.map +1 -1
- package/dist/render-BhUar2gf.d.ts +81 -0
- package/dist/render.d.ts +1 -1
- package/dist/render.js +233 -22
- package/dist/render.js.map +1 -1
- package/dist/skills/harn-canvas-review.skill.md +87 -0
- package/dist/skills/{decision-record-writer.skill.md → harn-decision-record-writer.skill.md} +2 -1
- package/dist/skills/{doc-audit.skill.md → harn-doc-audit.skill.md} +75 -26
- package/dist/skills/{drift-detector.skill.md → harn-drift-detector.skill.md} +15 -14
- package/dist/skills/harn-guide.skill.md +137 -0
- package/dist/skills/{handbook-writer.skill.md → harn-handbook-writer.skill.md} +2 -1
- package/dist/skills/{intent-writer.skill.md → harn-intent-writer.skill.md} +83 -16
- package/dist/skills/{readme-writer.skill.md → harn-readme-writer.skill.md} +4 -4
- package/dist/skills/harn-self-improve.skill.md +84 -0
- package/dist/skills/{spec-writer.skill.md → harn-spec-writer.skill.md} +8 -8
- package/dist/skills/{test-plan-writer.skill.md → harn-test-plan-writer.skill.md} +6 -5
- package/dist/skills/harn-upgrade.skill.md +171 -0
- package/dist/skills/{workflow-writer.skill.md → harn-workflow-writer.skill.md} +6 -5
- package/dist/templates/decisions-index.md.tmpl +11 -0
- package/dist/templates/handbook-index.md.tmpl +8 -0
- package/dist/templates/profile.md.tmpl +30 -0
- package/dist/types-CfUByAIr.d.ts +35 -0
- package/dist/view/index.d.ts +117 -0
- package/dist/view/index.js +3987 -0
- package/dist/view/index.js.map +1 -0
- package/package.json +6 -2
- package/dist/render-CTx7VNOK.d.ts +0 -45
package/dist/linters/index.d.ts
CHANGED
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
declare function loadLintConfig(repoRoot: string): HarnessLintConfig;
|
|
5
|
-
|
|
6
|
-
type Severity = "error" | "warning";
|
|
7
|
-
interface LintIssue {
|
|
8
|
-
linter: string;
|
|
9
|
-
severity: Severity;
|
|
10
|
-
file: string;
|
|
11
|
-
line?: number;
|
|
12
|
-
message: string;
|
|
13
|
-
}
|
|
14
|
-
interface LintContext {
|
|
15
|
-
repoRoot: string;
|
|
16
|
-
config: HarnessLintConfig;
|
|
17
|
-
}
|
|
18
|
-
interface Linter {
|
|
19
|
-
id: string;
|
|
20
|
-
pillars: ReadonlyArray<string>;
|
|
21
|
-
defaultSeverity: Severity;
|
|
22
|
-
suggestedSkills?: ReadonlyArray<string>;
|
|
23
|
-
run(repoRoot: string, ctx?: LintContext): LintIssue[];
|
|
24
|
-
}
|
|
25
|
-
interface LintReport {
|
|
26
|
-
version: 1;
|
|
27
|
-
summary: {
|
|
28
|
-
errors: number;
|
|
29
|
-
warnings: number;
|
|
30
|
-
pass: boolean;
|
|
31
|
-
};
|
|
32
|
-
issues: LintIssue[];
|
|
33
|
-
}
|
|
1
|
+
import { c as Linter, b as LintReport } from '../types-CfUByAIr.js';
|
|
2
|
+
export { H as HarnessLintConfig, L as LintContext, a as LintIssue, S as Severity, l as loadLintConfig } from '../types-CfUByAIr.js';
|
|
34
3
|
|
|
35
4
|
declare const ALL_LINTERS: ReadonlyArray<Linter>;
|
|
36
5
|
interface RunOptions {
|
|
@@ -40,4 +9,4 @@ interface RunOptions {
|
|
|
40
9
|
declare function runLinters(repoRoot: string, opts?: RunOptions): LintReport;
|
|
41
10
|
declare function formatReportText(report: LintReport): string;
|
|
42
11
|
|
|
43
|
-
export { ALL_LINTERS,
|
|
12
|
+
export { ALL_LINTERS, LintReport, Linter, type RunOptions, formatReportText, runLinters };
|