@zhijiewang/openharness 2.38.0 → 2.40.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/main.js CHANGED
@@ -15,6 +15,7 @@ import { homedir } from "node:os";
15
15
  import { join } from "node:path";
16
16
  import { Command, Option } from "commander";
17
17
  import { render } from "ink";
18
+ import { registerEvalsCommand } from "./evals/cli.js";
18
19
  import { parseSettingSources, readOhConfig } from "./harness/config.js";
19
20
  import { emitHook, setHookDecisionObserver } from "./harness/hooks.js";
20
21
  import { languageToPrompt } from "./harness/language.js";
@@ -1318,6 +1319,8 @@ program
1318
1319
  console.log(result.message);
1319
1320
  console.log();
1320
1321
  });
1322
+ // ── evals (oh evals run/list-packs/show) ──
1323
+ registerEvalsCommand(program);
1321
1324
  // ── sessions ──
1322
1325
  program
1323
1326
  .command("sessions")
@@ -20,30 +20,30 @@ declare const inputSchema: z.ZodObject<{
20
20
  path?: string | undefined;
21
21
  type?: string | undefined;
22
22
  "-i"?: boolean | undefined;
23
+ "-C"?: number | undefined;
23
24
  context?: number | undefined;
24
25
  glob?: string | undefined;
25
26
  offset?: number | undefined;
26
- output_mode?: "content" | "files_with_matches" | "count" | undefined;
27
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
27
28
  head_limit?: number | undefined;
28
29
  multiline?: boolean | undefined;
29
30
  "-A"?: number | undefined;
30
31
  "-B"?: number | undefined;
31
- "-C"?: number | undefined;
32
32
  "-n"?: boolean | undefined;
33
33
  }, {
34
34
  pattern: string;
35
35
  path?: string | undefined;
36
36
  type?: string | undefined;
37
37
  "-i"?: boolean | undefined;
38
+ "-C"?: number | undefined;
38
39
  context?: number | undefined;
39
40
  glob?: string | undefined;
40
41
  offset?: number | undefined;
41
- output_mode?: "content" | "files_with_matches" | "count" | undefined;
42
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
42
43
  head_limit?: number | undefined;
43
44
  multiline?: boolean | undefined;
44
45
  "-A"?: number | undefined;
45
46
  "-B"?: number | undefined;
46
- "-C"?: number | undefined;
47
47
  "-n"?: boolean | undefined;
48
48
  }>;
49
49
  export declare const GrepTool: Tool<typeof inputSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhijiewang/openharness",
3
- "version": "2.38.0",
3
+ "version": "2.40.0",
4
4
  "description": "Open-source terminal coding agent. Works with any LLM.",
5
5
  "type": "module",
6
6
  "bin": {