@aihq/harness 0.2.0-rc.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/dist/index.js ADDED
@@ -0,0 +1,131 @@
1
+ import {
2
+ ALL_COMMANDS,
3
+ AihError,
4
+ CAPABILITIES,
5
+ ContextDir,
6
+ DirtyWorktreeError,
7
+ FsTransaction,
8
+ FsTxnError,
9
+ MergeError,
10
+ NotImplementedError,
11
+ PathContainmentError,
12
+ PlatformError,
13
+ READONLY,
14
+ SettingsError,
15
+ VERSION,
16
+ VerificationError,
17
+ VerificationReport,
18
+ beginMarker,
19
+ buildProgram,
20
+ deepMerge,
21
+ defaultRunner,
22
+ derBase64ToPem,
23
+ digest,
24
+ doc,
25
+ dynamicDigest,
26
+ endMarker,
27
+ ensureTrailingNewline,
28
+ envBlock,
29
+ exec,
30
+ executePlan,
31
+ fakeRunner,
32
+ formatExport,
33
+ frontmatter,
34
+ indent,
35
+ isPlainObject,
36
+ jsonFile,
37
+ lines,
38
+ loadSettings,
39
+ makeHostAdapter,
40
+ managedBlock,
41
+ missingToolRunner,
42
+ parseCertLines,
43
+ parseFirstInt,
44
+ parseJsoncText,
45
+ parseNvidiaSmi,
46
+ parsePemBlocks,
47
+ plan,
48
+ probe,
49
+ probeMany,
50
+ readIfExists,
51
+ registerCommands,
52
+ removeManagedBlock,
53
+ resolveContents,
54
+ resolvePlatform,
55
+ retryTransient,
56
+ safeCaPattern,
57
+ stripTrailingNewlines,
58
+ summarizeResult,
59
+ upsertManagedBlock,
60
+ upsertTextBlock,
61
+ vdiFromEnv,
62
+ writeArtifact,
63
+ writeJson,
64
+ writeText
65
+ } from "./chunk-S7XFTZJW.js";
66
+ export {
67
+ ALL_COMMANDS,
68
+ AihError,
69
+ CAPABILITIES,
70
+ ContextDir,
71
+ DirtyWorktreeError,
72
+ FsTransaction,
73
+ FsTxnError,
74
+ MergeError,
75
+ NotImplementedError,
76
+ PathContainmentError,
77
+ PlatformError,
78
+ READONLY,
79
+ SettingsError,
80
+ VERSION,
81
+ VerificationError,
82
+ VerificationReport,
83
+ beginMarker,
84
+ buildProgram,
85
+ deepMerge,
86
+ defaultRunner,
87
+ derBase64ToPem,
88
+ digest,
89
+ doc,
90
+ dynamicDigest,
91
+ endMarker,
92
+ ensureTrailingNewline,
93
+ envBlock,
94
+ exec,
95
+ executePlan,
96
+ fakeRunner,
97
+ formatExport,
98
+ frontmatter,
99
+ indent,
100
+ isPlainObject,
101
+ jsonFile,
102
+ lines,
103
+ loadSettings,
104
+ makeHostAdapter,
105
+ managedBlock,
106
+ missingToolRunner,
107
+ parseCertLines,
108
+ parseFirstInt,
109
+ parseJsoncText,
110
+ parseNvidiaSmi,
111
+ parsePemBlocks,
112
+ plan,
113
+ probe,
114
+ probeMany,
115
+ readIfExists,
116
+ registerCommands,
117
+ removeManagedBlock,
118
+ resolveContents,
119
+ resolvePlatform,
120
+ retryTransient,
121
+ safeCaPattern,
122
+ stripTrailingNewlines,
123
+ summarizeResult,
124
+ upsertManagedBlock,
125
+ upsertTextBlock,
126
+ vdiFromEnv,
127
+ writeArtifact,
128
+ writeJson,
129
+ writeText
130
+ };
131
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@aihq/harness",
3
+ "version": "0.2.0-rc.0",
4
+ "description": "Enterprise AI Bootstrapping Harness — bootstraps governed, proxy-safe AI coding into workstations and repos",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/samartomar/ai-harness.git"
8
+ },
9
+ "homepage": "https://github.com/samartomar/ai-harness#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/samartomar/ai-harness/issues"
12
+ },
13
+ "type": "module",
14
+ "bin": {
15
+ "aih": "dist/cli.js"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md"
20
+ ],
21
+ "engines": {
22
+ "node": ">=20"
23
+ },
24
+ "scripts": {
25
+ "build": "tsup",
26
+ "dev": "tsx src/cli.ts",
27
+ "test": "vitest run",
28
+ "test:watch": "vitest",
29
+ "test:cov": "vitest run --coverage",
30
+ "lint": "biome check src tests",
31
+ "lint:fix": "biome check --write src tests",
32
+ "lint:ci": "biome ci src tests",
33
+ "format": "biome format --write src tests",
34
+ "typecheck": "tsc --noEmit",
35
+ "verify": "npm run typecheck && npm run lint:ci && npm run test:cov && npm run build"
36
+ },
37
+ "keywords": [
38
+ "ai",
39
+ "harness",
40
+ "bootstrap",
41
+ "devsecops",
42
+ "enterprise",
43
+ "claude-code",
44
+ "mcp"
45
+ ],
46
+ "license": "Apache-2.0",
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "dependencies": {
51
+ "commander": "^15.0.0",
52
+ "jsonc-parser": "^3.3.1",
53
+ "yaml": "2.9.0",
54
+ "zod": "^4.4.3"
55
+ },
56
+ "devDependencies": {
57
+ "@biomejs/biome": "^2.5.1",
58
+ "@types/node": "^26.0.1",
59
+ "@vitest/coverage-v8": "^4.1.9",
60
+ "happy-dom": "^20.10.6",
61
+ "tsup": "^8.5.1",
62
+ "tsx": "^4.22.4",
63
+ "typescript": "^6.0.3",
64
+ "vitest": "^4.1.9"
65
+ },
66
+ "overrides": {
67
+ "esbuild": "^0.28.1"
68
+ }
69
+ }