@forwardimpact/libeval 0.1.13 → 0.1.14

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.
Files changed (2) hide show
  1. package/bin/fit-eval.js +57 -44
  2. package/package.json +1 -1
package/bin/fit-eval.js CHANGED
@@ -20,7 +20,7 @@ const definition = {
20
20
  commands: [
21
21
  {
22
22
  name: "output",
23
- args: "[--format=FORMAT]",
23
+ args: "",
24
24
  description: "Process trace and output formatted result",
25
25
  },
26
26
  {
@@ -30,60 +30,73 @@ const definition = {
30
30
  },
31
31
  {
32
32
  name: "run",
33
- args: "[options]",
33
+ args: "",
34
34
  description: "Run a single agent via the Claude Agent SDK",
35
+ options: {
36
+ "task-file": { type: "string", description: "Path to task file" },
37
+ "task-text": { type: "string", description: "Inline task text" },
38
+ "task-amend": {
39
+ type: "string",
40
+ description: "Additional text appended to task",
41
+ },
42
+ model: { type: "string", description: "Claude model (default: opus)" },
43
+ "max-turns": {
44
+ type: "string",
45
+ description: "Max agentic turns (default: 50)",
46
+ },
47
+ output: { type: "string", description: "Write NDJSON trace to file" },
48
+ cwd: { type: "string", description: "Working directory" },
49
+ "agent-profile": { type: "string", description: "Agent profile name" },
50
+ "allowed-tools": {
51
+ type: "string",
52
+ description: "Comma-separated tool list",
53
+ },
54
+ },
35
55
  },
36
56
  {
37
57
  name: "supervise",
38
- args: "[options]",
58
+ args: "",
39
59
  description: "Run a supervised agent-supervisor relay loop",
60
+ options: {
61
+ "task-file": { type: "string", description: "Path to task file" },
62
+ "task-text": { type: "string", description: "Inline task text" },
63
+ "task-amend": {
64
+ type: "string",
65
+ description: "Additional text appended to task",
66
+ },
67
+ model: { type: "string", description: "Claude model (default: opus)" },
68
+ "max-turns": {
69
+ type: "string",
70
+ description: "Max agentic turns (default: 50)",
71
+ },
72
+ output: { type: "string", description: "Write NDJSON trace to file" },
73
+ cwd: { type: "string", description: "Working directory" },
74
+ "agent-profile": { type: "string", description: "Agent profile name" },
75
+ "allowed-tools": {
76
+ type: "string",
77
+ description: "Comma-separated tool list",
78
+ },
79
+ "supervisor-cwd": {
80
+ type: "string",
81
+ description: "Supervisor working directory",
82
+ },
83
+ "agent-cwd": { type: "string", description: "Agent working directory" },
84
+ "supervisor-profile": {
85
+ type: "string",
86
+ description: "Supervisor profile name",
87
+ },
88
+ "supervisor-allowed-tools": {
89
+ type: "string",
90
+ description: "Supervisor tool list",
91
+ },
92
+ },
40
93
  },
41
94
  ],
42
- options: {
95
+ globalOptions: {
43
96
  format: { type: "string", description: "Output format (json|text)" },
44
97
  help: { type: "boolean", short: "h", description: "Show this help" },
45
98
  version: { type: "boolean", description: "Show version" },
46
99
  json: { type: "boolean", description: "Output help as JSON" },
47
- "task-file": { type: "string", description: "Path to task file" },
48
- "task-text": { type: "string", description: "Inline task text" },
49
- "task-amend": {
50
- type: "string",
51
- description: "Additional text appended to task",
52
- },
53
- model: {
54
- type: "string",
55
- description: "Claude model (default: opus)",
56
- },
57
- "max-turns": {
58
- type: "string",
59
- description: "Max agentic turns (default: 50)",
60
- },
61
- output: { type: "string", description: "Write NDJSON trace to file" },
62
- cwd: { type: "string", description: "Working directory" },
63
- "agent-profile": {
64
- type: "string",
65
- description: "Agent profile name",
66
- },
67
- "allowed-tools": {
68
- type: "string",
69
- description: "Comma-separated tool list",
70
- },
71
- "supervisor-cwd": {
72
- type: "string",
73
- description: "Supervisor working directory",
74
- },
75
- "agent-cwd": {
76
- type: "string",
77
- description: "Agent working directory",
78
- },
79
- "supervisor-profile": {
80
- type: "string",
81
- description: "Supervisor profile name",
82
- },
83
- "supervisor-allowed-tools": {
84
- type: "string",
85
- description: "Supervisor tool list",
86
- },
87
100
  },
88
101
  examples: [
89
102
  "fit-eval output --format=text < trace.ndjson",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/libeval",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Process Claude Code stream-json output into structured traces",
5
5
  "license": "Apache-2.0",
6
6
  "author": "D. Olsson <hi@senzilla.io>",