codeharness 0.6.1 → 0.7.3
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/LICENSE +21 -0
- package/dist/index.js +14 -4
- package/package.json +6 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ivan Vintik
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -1288,7 +1288,7 @@ function importStoriesToBeads(stories, opts, beadsFns) {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
|
|
1290
1290
|
// src/commands/init.ts
|
|
1291
|
-
var HARNESS_VERSION = true ? "0.
|
|
1291
|
+
var HARNESS_VERSION = true ? "0.7.3" : "0.0.0-dev";
|
|
1292
1292
|
function getStackLabel(stack) {
|
|
1293
1293
|
if (stack === "nodejs") return "Node.js (package.json)";
|
|
1294
1294
|
if (stack === "python") return "Python";
|
|
@@ -4860,8 +4860,10 @@ function registerOnboardCommand(program) {
|
|
|
4860
4860
|
process.exitCode = 1;
|
|
4861
4861
|
return;
|
|
4862
4862
|
}
|
|
4863
|
-
|
|
4864
|
-
|
|
4863
|
+
if (!isJson) {
|
|
4864
|
+
for (const w of preconditions.warnings) {
|
|
4865
|
+
warn(w);
|
|
4866
|
+
}
|
|
4865
4867
|
}
|
|
4866
4868
|
const result = runScan(minModuleSize);
|
|
4867
4869
|
saveScanCache({
|
|
@@ -5122,9 +5124,17 @@ function runAudit() {
|
|
|
5122
5124
|
}
|
|
5123
5125
|
function printScanOutput(result) {
|
|
5124
5126
|
info(`Scan: ${result.totalSourceFiles} source files across ${result.modules.length} modules`);
|
|
5127
|
+
for (const mod of result.modules) {
|
|
5128
|
+
info(` ${mod.path}: ${mod.sourceFiles} source, ${mod.testFiles} test`);
|
|
5129
|
+
}
|
|
5125
5130
|
}
|
|
5126
5131
|
function printCoverageOutput2(result) {
|
|
5127
5132
|
info(`Coverage: ${result.overall}% overall (${result.uncoveredFiles} files uncovered)`);
|
|
5133
|
+
for (const mod of result.modules) {
|
|
5134
|
+
if (mod.uncoveredFileCount > 0) {
|
|
5135
|
+
info(` ${mod.path}: ${mod.coveragePercent}% (${mod.uncoveredFileCount} uncovered)`);
|
|
5136
|
+
}
|
|
5137
|
+
}
|
|
5128
5138
|
}
|
|
5129
5139
|
function printAuditOutput(result) {
|
|
5130
5140
|
info(`Docs: ${result.summary}`);
|
|
@@ -6076,7 +6086,7 @@ function registerQueryCommand(program) {
|
|
|
6076
6086
|
}
|
|
6077
6087
|
|
|
6078
6088
|
// src/index.ts
|
|
6079
|
-
var VERSION = true ? "0.
|
|
6089
|
+
var VERSION = true ? "0.7.3" : "0.0.0-dev";
|
|
6080
6090
|
function createProgram() {
|
|
6081
6091
|
const program = new Command();
|
|
6082
6092
|
program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeharness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
|
|
6
6
|
"bin": {
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"ralph/**/*.sh",
|
|
13
13
|
"ralph/AGENTS.md"
|
|
14
14
|
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/iVintik/codeharness.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
15
20
|
"engines": {
|
|
16
21
|
"node": ">=18"
|
|
17
22
|
},
|