minovative-mind-cli 2.11.4 → 2.12.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.
Files changed (39) hide show
  1. package/README.md +21 -7
  2. package/dist/commands/eval.d.ts +22 -0
  3. package/dist/commands/eval.js +141 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +1 -0
  6. package/dist/services/agent/toolLoop.d.ts +4 -0
  7. package/dist/services/agent/toolLoop.js +61 -10
  8. package/dist/services/agent-tools.d.ts +5 -5
  9. package/dist/services/agent-tools.js +147 -9
  10. package/dist/services/ai.d.ts +1 -1
  11. package/dist/services/ai.js +40 -7
  12. package/dist/services/contextAgent.d.ts +1 -0
  13. package/dist/services/contextAgent.js +29 -6
  14. package/dist/services/investigationComplexity.d.ts +39 -13
  15. package/dist/services/investigationComplexity.js +325 -46
  16. package/dist/services/metrics.d.ts +10 -0
  17. package/dist/services/metrics.js +24 -0
  18. package/dist/services/orchestration/scopedTools.d.ts +27 -50
  19. package/dist/services/orchestration/scopedTools.js +60 -18
  20. package/dist/services/swebench/gitDiffExtractor.d.ts +57 -0
  21. package/dist/services/swebench/gitDiffExtractor.js +209 -0
  22. package/dist/services/swebench/index.d.ts +4 -0
  23. package/dist/services/swebench/index.js +4 -0
  24. package/dist/services/swebench/instanceLoader.d.ts +21 -0
  25. package/dist/services/swebench/instanceLoader.js +171 -0
  26. package/dist/services/swebench/sweBenchRunnerService.d.ts +38 -0
  27. package/dist/services/swebench/sweBenchRunnerService.js +618 -0
  28. package/dist/services/swebench/types.d.ts +167 -0
  29. package/dist/services/swebench/types.js +7 -0
  30. package/dist/services/verificationService.js +3 -0
  31. package/dist/services/workspaceRegistry.d.ts +81 -8
  32. package/dist/services/workspaceRegistry.js +222 -34
  33. package/dist/utils/analysisRunner.js +2 -1
  34. package/dist/utils/pathSecurity.d.ts +56 -14
  35. package/dist/utils/pathSecurity.js +120 -39
  36. package/dist/utils/systemPrompts.d.ts +6 -6
  37. package/dist/utils/systemPrompts.js +46 -25
  38. package/oclif.manifest.json +137 -1
  39. package/package.json +1 -1
@@ -24,6 +24,142 @@
24
24
  "chat.js"
25
25
  ]
26
26
  },
27
+ "eval": {
28
+ "aliases": [],
29
+ "args": {},
30
+ "description": "Execute automated evaluation on SWE-bench Lite benchmark instances",
31
+ "examples": [
32
+ "<%= config.bin %> <%= command.id %> -i instances.json -o predictions.jsonl",
33
+ "<%= config.bin %> <%= command.id %> --instances ./test_instances.jsonl --output ./predictions.jsonl --report ./evaluation_report.json",
34
+ "<%= config.bin %> <%= command.id %> --instances test_instances.jsonl --repo astropy/astropy --limit 5",
35
+ "<%= config.bin %> <%= command.id %> --instances test_instances.jsonl --instance-id astropy__astropy-12907",
36
+ "<%= config.bin %> <%= command.id %> --instances test_instances.jsonl --dry-run"
37
+ ],
38
+ "flags": {
39
+ "instances": {
40
+ "char": "i",
41
+ "description": "Path to input instances file (JSON or JSONL format)",
42
+ "name": "instances",
43
+ "required": true,
44
+ "hasDynamicHelp": false,
45
+ "multiple": false,
46
+ "type": "option"
47
+ },
48
+ "output": {
49
+ "char": "o",
50
+ "description": "Path to write generated predictions JSONL file",
51
+ "name": "output",
52
+ "default": "predictions.jsonl",
53
+ "hasDynamicHelp": false,
54
+ "multiple": false,
55
+ "type": "option"
56
+ },
57
+ "report": {
58
+ "char": "r",
59
+ "description": "Path to export comprehensive evaluation report JSON",
60
+ "name": "report",
61
+ "hasDynamicHelp": false,
62
+ "multiple": false,
63
+ "type": "option"
64
+ },
65
+ "model": {
66
+ "char": "m",
67
+ "description": "Model name tag for prediction metadata",
68
+ "name": "model",
69
+ "default": "minovative-mind-agent",
70
+ "hasDynamicHelp": false,
71
+ "multiple": false,
72
+ "type": "option"
73
+ },
74
+ "maxTurns": {
75
+ "description": "Maximum agent execution turns per benchmark instance",
76
+ "name": "maxTurns",
77
+ "default": 30,
78
+ "hasDynamicHelp": false,
79
+ "multiple": false,
80
+ "type": "option"
81
+ },
82
+ "timeout": {
83
+ "description": "Timeout in milliseconds per instance (default: 600000ms = 10min)",
84
+ "name": "timeout",
85
+ "default": 600000,
86
+ "hasDynamicHelp": false,
87
+ "multiple": false,
88
+ "type": "option"
89
+ },
90
+ "repo": {
91
+ "description": "Filter instances by repository name (e.g. astropy/astropy)",
92
+ "name": "repo",
93
+ "hasDynamicHelp": false,
94
+ "multiple": false,
95
+ "type": "option"
96
+ },
97
+ "instanceId": {
98
+ "description": "Filter by specific instance ID (e.g. astropy__astropy-12907)",
99
+ "name": "instanceId",
100
+ "hasDynamicHelp": false,
101
+ "multiple": false,
102
+ "type": "option"
103
+ },
104
+ "limit": {
105
+ "description": "Limit the number of instances to evaluate",
106
+ "name": "limit",
107
+ "hasDynamicHelp": false,
108
+ "multiple": false,
109
+ "type": "option"
110
+ },
111
+ "workspaceDir": {
112
+ "char": "w",
113
+ "description": "Base workspace directory where repo checkouts reside",
114
+ "name": "workspaceDir",
115
+ "hasDynamicHelp": false,
116
+ "multiple": false,
117
+ "type": "option"
118
+ },
119
+ "autoClone": {
120
+ "description": "Automatically clone repository if not found locally in workspace directory",
121
+ "name": "autoClone",
122
+ "allowNo": false,
123
+ "type": "boolean"
124
+ },
125
+ "dryRun": {
126
+ "description": "Validate instances and workspace setup without invoking the agent loop",
127
+ "name": "dryRun",
128
+ "allowNo": false,
129
+ "type": "boolean"
130
+ },
131
+ "concurrency": {
132
+ "char": "c",
133
+ "description": "Number of instances to evaluate concurrently (default: 1)",
134
+ "name": "concurrency",
135
+ "default": 1,
136
+ "hasDynamicHelp": false,
137
+ "multiple": false,
138
+ "type": "option"
139
+ },
140
+ "verbose": {
141
+ "char": "v",
142
+ "description": "Show detailed per-turn logs during evaluation",
143
+ "name": "verbose",
144
+ "allowNo": false,
145
+ "type": "boolean"
146
+ }
147
+ },
148
+ "hasDynamicHelp": false,
149
+ "hiddenAliases": [],
150
+ "id": "eval",
151
+ "pluginAlias": "minovative-mind-cli",
152
+ "pluginName": "minovative-mind-cli",
153
+ "pluginType": "core",
154
+ "strict": true,
155
+ "enableJsonFlag": false,
156
+ "isESM": true,
157
+ "relativePath": [
158
+ "dist",
159
+ "commands",
160
+ "eval.js"
161
+ ]
162
+ },
27
163
  "login": {
28
164
  "aliases": [],
29
165
  "args": {},
@@ -65,5 +201,5 @@
65
201
  ]
66
202
  }
67
203
  },
68
- "version": "2.11.4"
204
+ "version": "2.12.0"
69
205
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "minovative-mind-cli",
3
3
  "description": "An automated AI agent powered by Vertex AI that helps you write software",
4
- "version": "2.11.4",
4
+ "version": "2.12.0",
5
5
  "author": "Daniel Ward",
6
6
  "bin": {
7
7
  "minovative-mind-cli": "bin/run.js"