@kungfu-tech/buildchain 2.12.3-alpha.2 → 2.12.3-alpha.4

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.
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "2.12.3-alpha.2",
7
+ "version": "2.12.3-alpha.4",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -50,7 +50,7 @@
50
50
  "retryable GitHub fallback fetches use a bounded attempt budget before exact source SHA and tree verification"
51
51
  ],
52
52
  "breakingDigest": "sha256:a6a35370d6b0d0f46e1b2712dcc01961fe53c2febde95409a27a485c10a36650",
53
- "auditDigest": "sha256:fe8c66aca800df5bac04bdf980ecf3dde1ab5b9047d20097b06258eabc38015a"
53
+ "auditDigest": "sha256:62745b34c90d223578b7e6d4121cd0c7d16f4d43f44318ee71e111a52d2139a0"
54
54
  },
55
55
  {
56
56
  "contractVersion": 1,
@@ -203,7 +203,7 @@
203
203
  "channel-aware artifact host facts are checked against the deploy plan before adapter side effects"
204
204
  ],
205
205
  "breakingDigest": "sha256:da569f90374e878948e3d5160ed9929338ce0572473ca8ee54867b0fe1aaeace",
206
- "auditDigest": "sha256:9834ea899b16cb5603551df460b9e62fa4229c320d13f91a2353b696563fe07c"
206
+ "auditDigest": "sha256:0bf34cb451ac3274e5cab5dc239643e3311e686b4cdc6ad628fcb7e8e89b4773"
207
207
  },
208
208
  {
209
209
  "contractVersion": 1,
@@ -553,5 +553,5 @@
553
553
  }
554
554
  ],
555
555
  "compatibilityDigest": "sha256:2090784977bc7d54fc647215ef73532b9db26147a0b40ec3f56c31d611d806cc",
556
- "contractDigest": "sha256:97e39d3211a9f6423c4074993eba9f7c1a688204825fa5e27b5ff0db62bfb0c7"
556
+ "contractDigest": "sha256:0bbe1ae0f47f8aefd8c57b395a315655f479cfec16c31f7690824c6e2923c41d"
557
557
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-07-13T13:40:03.654Z",
5
- "publishedAt": "2026-07-13T13:40:03.654Z",
4
+ "generatedAt": "2026-07-13T14:01:53.652Z",
5
+ "publishedAt": "2026-07-13T14:01:53.652Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "4d203ebe153c8a4481b4b5febb0dd88be935a7b8",
22
+ "sourceRevision": "89c2c09f5da9a7d3a3df77e04eae93a7a8b6e1f8",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "2.12.3-alpha.2",
40
+ "version": "2.12.3-alpha.4",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "source": {
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "2.12.3-alpha.2",
7
+ "version": "2.12.3-alpha.4",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-07-13T13:40:03.654Z",
5
- "publishedAt": "2026-07-13T13:40:03.654Z",
4
+ "generatedAt": "2026-07-13T14:01:53.652Z",
5
+ "publishedAt": "2026-07-13T14:01:53.652Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "4d203ebe153c8a4481b4b5febb0dd88be935a7b8",
22
+ "sourceRevision": "89c2c09f5da9a7d3a3df77e04eae93a7a8b6e1f8",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "package": {
34
34
  "name": "@kungfu-tech/buildchain",
35
- "version": "2.12.3-alpha.2",
35
+ "version": "2.12.3-alpha.4",
36
36
  "versionSource": "package.json#version"
37
37
  },
38
38
  "sourceKind": "package-site-bundle",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-manifest",
4
- "generatedAt": "2026-07-13T13:40:03.654Z",
5
- "publishedAt": "2026-07-13T13:40:03.654Z",
4
+ "generatedAt": "2026-07-13T14:01:53.652Z",
5
+ "publishedAt": "2026-07-13T14:01:53.652Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "4d203ebe153c8a4481b4b5febb0dd88be935a7b8",
22
+ "sourceRevision": "89c2c09f5da9a7d3a3df77e04eae93a7a8b6e1f8",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "2.12.3-alpha.2",
40
+ "version": "2.12.3-alpha.4",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungfu-tech/buildchain",
3
- "version": "2.12.3-alpha.2",
3
+ "version": "2.12.3-alpha.4",
4
4
  "private": false,
5
5
  "description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
6
6
  "repository": "https://github.com/kungfu-systems/buildchain",
@@ -95,6 +95,21 @@ function cmdQuote(value) {
95
95
  return `"${value.replace(/(\\*)"/g, '$1$1\\"').replace(/(\\+)$/g, "$1$1")}"`;
96
96
  }
97
97
 
98
+ export function windowsBatchInvocation(command, args, { cwd, comSpec } = {}) {
99
+ const resolvedCommand = /[\\/]/u.test(command)
100
+ ? path.win32.resolve(cwd || process.cwd(), command)
101
+ : command;
102
+ return {
103
+ command: comSpec || process.env.ComSpec || "cmd.exe",
104
+ args: [
105
+ "/d",
106
+ "/s",
107
+ "/c",
108
+ [resolvedCommand, ...args].map(cmdQuote).join(" "),
109
+ ],
110
+ };
111
+ }
112
+
98
113
  function runArgv(
99
114
  argv,
100
115
  args,
@@ -104,10 +119,13 @@ function runArgv(
104
119
  const commandArgs = [...argv.slice(1), ...args];
105
120
  const windowsBatch =
106
121
  process.platform === "win32" && /\.(?:cmd|bat)$/i.test(command);
122
+ const batchInvocation = windowsBatch
123
+ ? windowsBatchInvocation(command, commandArgs, { cwd })
124
+ : null;
107
125
  const result = windowsBatch
108
126
  ? spawnSync(
109
- process.env.ComSpec || "cmd.exe",
110
- ["/d", "/s", "/c", [command, ...commandArgs].map(cmdQuote).join(" ")],
127
+ batchInvocation.command,
128
+ batchInvocation.args,
111
129
  {
112
130
  cwd,
113
131
  env,