ai-unit-test-generator 2.0.5 β 2.0.6
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/CHANGELOG.md +9 -0
- package/lib/ai/client.mjs +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [2.0.6] - 2025-01-11
|
9
|
+
|
10
|
+
### π Hotfix
|
11
|
+
- **Fixed**: `ai-test generate` command - corrected `client.mjs` argument parsing
|
12
|
+
- Now supports `--prompt`, `--prompt-file`, and `--promptFile` for compatibility
|
13
|
+
- Resolves `Prompt file not found: prompt.txt` error in batch generation workflow
|
14
|
+
|
15
|
+
---
|
16
|
+
|
8
17
|
## [2.0.5] - 2025-01-11
|
9
18
|
|
10
19
|
### β¨ Feature: Simplified AI Suggestion Review
|
package/lib/ai/client.mjs
CHANGED
@@ -60,7 +60,8 @@ export async function runOnce({ prompt, promptFile, out = 'reports/ai_response.t
|
|
60
60
|
|
61
61
|
export async function runCLI(argv = process.argv) {
|
62
62
|
const args = parseArgs(argv)
|
63
|
-
|
63
|
+
// ζ―ζ --prompt, --prompt-file, --promptFile δΈη§ε½’εΌ
|
64
|
+
const promptFile = args['prompt'] || args['prompt-file'] || args['promptFile'] || null
|
64
65
|
const out = args['out'] || 'reports/ai_response.txt'
|
65
66
|
const model = args['model'] || null
|
66
67
|
const timeoutSec = args['timeout'] ? Number(args['timeout']) : 600
|