@join-pantheon/cli 0.32.0-rc.1 → 0.32.0-rc.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "format": 1,
3
- "built_at": "2026-10-03T10:33:33.279Z",
3
+ "built_at": "2026-10-03T12:09:02.195Z",
4
4
  "swiftc": "Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)",
5
5
  "helpers": {
6
6
  "pantheon-tray": {
@@ -234,7 +234,14 @@ function Install-Pantheon {
234
234
  Get-Download "$NodeDist/v$NodeVersion/$zipName" $zip
235
235
 
236
236
  $State.step = 'checking the Node download'
237
- $got = (Get-FileHash -Algorithm SHA256 -LiteralPath $zip).Hash.ToLowerInvariant()
237
+ # .NET, not Get-FileHash: that is a script function in Microsoft.PowerShell.Utility,
238
+ # and Windows PowerShell 5.1 started from PowerShell 7 (the line pasted into pwsh)
239
+ # inherits pwsh's module path and cannot load it ("Get-FileHash is not recognized").
240
+ $stream = [IO.File]::OpenRead($zip)
241
+ try {
242
+ $sha = [Security.Cryptography.SHA256]::Create()
243
+ $got = (($sha.ComputeHash($stream) | ForEach-Object { $_.ToString('x2') }) -join '')
244
+ } finally { $stream.Dispose() }
238
245
  if ($got -ne $want) { Fail "the Node download does not match its published sha256 (expected $want, got $got), so it was not used. Something between you and nodejs.org changed it; run this again on another network." }
239
246
 
240
247
  # Unpacked entry by entry with the archive's top folder stripped, so no
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@join-pantheon/cli",
3
- "version": "0.32.0-rc.1",
3
+ "version": "0.32.0-rc.2",
4
4
  "description": "Let your coding agent collaborate directly with your teammates' agents — ask, agree an interface, and deliver, without a human relaying messages.",
5
5
  "type": "module",
6
6
  "bin": {