@dtlabs/ai-toolkit 0.23.0 → 0.23.1
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 +7 -0
- package/lib/task-executor/index.js +15 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
## 0.1.4 (2026-07-21)
|
|
2
|
+
## [0.23.1](https://github.com/dtlab-tech/ai-toolkit/compare/v0.23.0...v0.23.1) (2026-10-22)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **task-executor:** disable MSYS argv path-conversion for verification commands ([00d66ee](https://github.com/dtlab-tech/ai-toolkit/commit/00d66eecb94f7b5464c58cbfec33eb1793e82664))
|
|
8
|
+
|
|
2
9
|
## [0.23.0](https://github.com/dtlab-tech/ai-toolkit/compare/v0.22.1...v0.23.0) (2026-10-22)
|
|
3
10
|
|
|
4
11
|
|
|
@@ -1056,6 +1056,21 @@ function _runVerificationCommand(command, cwd, timeoutMs) {
|
|
|
1056
1056
|
shell: false, // never true: shell:true on Windows silently runs cmd.exe, not Bash
|
|
1057
1057
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
1058
1058
|
windowsHide: true,
|
|
1059
|
+
// MSYS2_ARG_CONV_EXCL: this `bash` is MSYS2/git-bash on Windows, which by default
|
|
1060
|
+
// auto-converts any argument shaped like a POSIX path before handing it to a native
|
|
1061
|
+
// (non-MSYS-aware) child process. A verification command invoking a native tool with
|
|
1062
|
+
// leading-slash switches — e.g. MSBuild's `/p:Configuration=Release`, this project's own
|
|
1063
|
+
// documented build syntax for a .NET consumer — gets silently mangled: MSYS treats
|
|
1064
|
+
// `/p:Configuration=Release` as a POSIX-path-shaped argument, finds no matching drive for
|
|
1065
|
+
// `p:`, and strips the leading slash entirely, leaving MSBuild unable to recognize it as
|
|
1066
|
+
// a property switch (MSB1008: "Only one project can be specified"). Confirmed by direct
|
|
1067
|
+
// reproduction (`bash -c 'node dump-argv.js /p:Configuration=Release'` prints
|
|
1068
|
+
// `p:Configuration=Release`, leading slash gone, UNLESS this variable is set). '*'
|
|
1069
|
+
// excludes every argument from conversion — verification commands never rely on MSYS's
|
|
1070
|
+
// automatic POSIX-to-Windows path conversion for an argument (a real path either
|
|
1071
|
+
// resolves natively as a relative repo path, or is already given in Windows-native form
|
|
1072
|
+
// for a native tool), so excluding all of them is safe, not just the switch-shaped ones.
|
|
1073
|
+
env: Object.assign({}, process.env, { MSYS2_ARG_CONV_EXCL: '*' }),
|
|
1059
1074
|
});
|
|
1060
1075
|
} catch (err) {
|
|
1061
1076
|
finish({ spawnError: 'failed to spawn bash: ' + err.message });
|