@vaubaan/harness 2.4.0 → 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 +5 -1
- package/dist/render-CTx7VNOK.d.ts +0 -45
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaubaan/harness",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Project context as code for Claude Code, Codex and OpenCode — skills, agents, commands and linters",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
"types": "./dist/parser/index.d.ts",
|
|
39
39
|
"import": "./dist/parser/index.js"
|
|
40
40
|
},
|
|
41
|
+
"./view": {
|
|
42
|
+
"types": "./dist/view/index.d.ts",
|
|
43
|
+
"import": "./dist/view/index.js"
|
|
44
|
+
},
|
|
41
45
|
"./init": {
|
|
42
46
|
"types": "./dist/init.d.ts",
|
|
43
47
|
"import": "./dist/init.js"
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Skill, Cmd, ParsedIntentFile } from './parser/index.js';
|
|
2
|
-
|
|
3
|
-
declare const ENGINES: readonly ["claude-code", "codex-cli", "opencode"];
|
|
4
|
-
type Engine = (typeof ENGINES)[number];
|
|
5
|
-
interface RenderedFile {
|
|
6
|
-
path: string;
|
|
7
|
-
content: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface Harness {
|
|
11
|
-
skills: ReadonlyArray<Skill>;
|
|
12
|
-
cmds: ReadonlyArray<Cmd>;
|
|
13
|
-
}
|
|
14
|
-
interface HarnessOverrides {
|
|
15
|
-
add?: Partial<Harness>;
|
|
16
|
-
disable?: ReadonlyArray<string>;
|
|
17
|
-
}
|
|
18
|
-
interface RenderInput {
|
|
19
|
-
harness: Harness;
|
|
20
|
-
engines: ReadonlyArray<Engine>;
|
|
21
|
-
overrides?: HarnessOverrides;
|
|
22
|
-
projectSkills?: ReadonlyArray<Skill>;
|
|
23
|
-
/** True when the target project ships `docs/quality/code-quality.md` (optional pillar). */
|
|
24
|
-
hasQualityDoc?: boolean;
|
|
25
|
-
/** The project's parsed `docs/intents/*.md` (optional pillar); renders their index. */
|
|
26
|
-
intentFiles?: ReadonlyArray<ParsedIntentFile>;
|
|
27
|
-
}
|
|
28
|
-
interface RenderOutput {
|
|
29
|
-
files: RenderedFile[];
|
|
30
|
-
warnings: string[];
|
|
31
|
-
}
|
|
32
|
-
declare class RenderError extends Error {
|
|
33
|
-
constructor(message: string);
|
|
34
|
-
}
|
|
35
|
-
declare function applyOverrides(harness: Harness, overrides: HarnessOverrides | undefined): Harness;
|
|
36
|
-
/**
|
|
37
|
-
* Pure transformation `(catalog, engines, overrides) → files`. The harness
|
|
38
|
-
* ships no agent persona and no engine hook: only the doc skills, their
|
|
39
|
-
* commands, and the engine-neutral umbrella
|
|
40
|
-
* (docs/decisions/no-personas-no-code-judgment.md,
|
|
41
|
-
* docs/decisions/lint-in-ci-and-pre-commit.md).
|
|
42
|
-
*/
|
|
43
|
-
declare function render(input: RenderInput): RenderOutput;
|
|
44
|
-
|
|
45
|
-
export { type Engine as E, type Harness as H, RenderError as R, type HarnessOverrides as a, type RenderInput as b, type RenderOutput as c, type RenderedFile as d, applyOverrides as e, render as r };
|