aigent-hive 0.14.0-test.2 → 0.14.0-test.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.
package/install.cmd CHANGED
@@ -1,6 +1,6 @@
1
1
  @echo off
2
2
  setlocal EnableExtensions DisableDelayedExpansion
3
- set "HIVE_INSTALL_PACKAGE_VERSION=0.14.0-test.2"
3
+ set "HIVE_INSTALL_PACKAGE_VERSION=0.14.0-test.4"
4
4
  set "HIVE_INSTALL_URL=https://unpkg.com/aigent-hive@%HIVE_INSTALL_PACKAGE_VERSION%/install.ps1"
5
5
  set "HIVE_INSTALL_SCRIPT=%TEMP%\aigent-hive-install-%RANDOM%-%RANDOM%.ps1"
6
6
 
package/install.ps1 CHANGED
@@ -2,14 +2,14 @@ param(
2
2
  [ValidatePattern('^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$')]
3
3
  [string]$Version = "0.14.0",
4
4
  [ValidatePattern('^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-test(\.[1-9][0-9]*)?)?$')]
5
- [string]$PackageVersion = "0.14.0-test.2",
5
+ [string]$PackageVersion = "0.14.0-test.4",
6
6
  [string]$Prefix = "$env:LOCALAPPDATA\AigentHive",
7
7
  [switch]$DeferLockedBackup
8
8
  )
9
9
 
10
10
  $ErrorActionPreference = "Stop"
11
11
  $AuthorizedSignerThumbprint = ""
12
- $ExpectedArchiveSha256 = "49a33aff75c1519e97edd847c18b7ac08419138b7ae2a04469abc6d03c951024"
12
+ $ExpectedArchiveSha256 = "8a9237f52e3ce38b40dcb7fd5a01e17fc1d5f7513f3b31495067b8a7e738f8b0"
13
13
  if ($AuthorizedSignerThumbprint -like "__AIGENT_HIVE_*") {
14
14
  $AuthorizedSignerThumbprint = ""
15
15
  }
@@ -519,12 +519,19 @@ try {
519
519
  -Signature $signature `
520
520
  -AuthorizedThumbprint $AuthorizedSignerThumbprint
521
521
  }
522
- if (-not (Test-HiveVersionOutput `
523
- -Output (& $binary --version) `
524
- -ExpectedVersion $Version `
525
- -ExpectedPackageVersion $PackageVersion
526
- )) {
527
- throw "signed binary version differs from requested release"
522
+ $previousOutputEncoding = [Console]::OutputEncoding
523
+ try {
524
+ [Console]::OutputEncoding = [Text.UTF8Encoding]::new($false)
525
+ $binaryVersion = & $binary --version
526
+ if ($LASTEXITCODE -ne 0 -or -not (Test-HiveVersionOutput `
527
+ -Output $binaryVersion `
528
+ -ExpectedVersion $Version `
529
+ -ExpectedPackageVersion $PackageVersion
530
+ )) {
531
+ throw "signed binary version differs from requested release"
532
+ }
533
+ } finally {
534
+ [Console]::OutputEncoding = $previousOutputEncoding
528
535
  }
529
536
 
530
537
  Publish-DirectInstall -Binary $binary -Prefix $Prefix -Version $Version `
package/install.sh CHANGED
@@ -2,15 +2,15 @@
2
2
  set -eu
3
3
 
4
4
  embedded_product_version='0.14.0'
5
- embedded_package_version='0.14.0-test.2'
5
+ embedded_package_version='0.14.0-test.4'
6
6
  version=${AIGENT_HIVE_VERSION:-$embedded_product_version}
7
7
  package_version=${AIGENT_HIVE_PACKAGE_VERSION:-$embedded_package_version}
8
8
  prefix=${AIGENT_HIVE_PREFIX:-"${HOME:?HOME is required}/.local"}
9
9
  authorized_team_id=''
10
- sha_aarch64_apple_darwin='bd92c58338f57a029ae380b141ea7f0c5e7bf8ac9fd8473a84b5ca3590eaef93'
11
- sha_x86_64_apple_darwin='b31896cf246dca2e20f1489a686580c0e0f417b5d53f10b4daf19f1f6db69ada'
12
- sha_aarch64_linux_musl='95ca8d2012aefd88008266f45725c8c7a13f14789e390d39d7ea07c32dd1c2eb'
13
- sha_x86_64_linux_musl='511d40d44f4757a0dbf3d255236ad89a3ee18f593dd8f2b4d458810ed06af09b'
10
+ sha_aarch64_apple_darwin='9206d5128a8685c23b81043a45c790114d06ace91c2d0909d6f64133b0d622e8'
11
+ sha_x86_64_apple_darwin='34ea33b9e215d8729ea13a4b100a3a1b7c1d3f1ea6b3bf394507f1812d69afd1'
12
+ sha_aarch64_linux_musl='53375955c2219e1a683d93e8f57f725495a1a2658638ea2036b28a95e9bf5609'
13
+ sha_x86_64_linux_musl='d201bd10a8b099f48e56d075f0479deeb2fd84e7d3809100213b748d56a0f5bd'
14
14
 
15
15
  if ! printf '%s\n' "$version" | awk -F. '
16
16
  NF != 3 { exit 1 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aigent-hive",
3
- "version": "0.14.0-test.2",
3
+ "version": "0.14.0-test.4",
4
4
  "aigentHive": {
5
5
  "productVersion": "0.14.0"
6
6
  },
@@ -31,10 +31,10 @@
31
31
  "node": ">=18"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@aigent-hive/darwin-arm64": "0.14.0-test.2",
35
- "@aigent-hive/darwin-x64": "0.14.0-test.2",
36
- "@aigent-hive/linux-arm64": "0.14.0-test.2",
37
- "@aigent-hive/linux-x64": "0.14.0-test.2",
38
- "@aigent-hive/win32-x64": "0.14.0-test.2"
34
+ "@aigent-hive/darwin-arm64": "0.14.0-test.4",
35
+ "@aigent-hive/darwin-x64": "0.14.0-test.4",
36
+ "@aigent-hive/linux-arm64": "0.14.0-test.4",
37
+ "@aigent-hive/linux-x64": "0.14.0-test.4",
38
+ "@aigent-hive/win32-x64": "0.14.0-test.4"
39
39
  }
40
40
  }