aigent-hive 0.9.4 → 0.9.5-test.11
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/README.md +55 -1
- package/install.cmd +1 -1
- package/install.ps1 +3 -3
- package/install.sh +6 -6
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
> A provider-neutral local harness for Codex, Claude Code, and Gemini Antigravity.
|
|
8
8
|
|
|
9
|
-
[](https://github.com/gvm1229/aigent-hive/blob/main/Cargo.toml)
|
|
10
10
|
[](https://github.com/gvm1229/aigent-hive/blob/main/rust-toolchain.toml)
|
|
11
11
|
[](https://github.com/gvm1229/aigent-hive/blob/main/LICENSE)
|
|
12
12
|
|
|
@@ -195,6 +195,60 @@ Antigravity session retries it.
|
|
|
195
195
|
|
|
196
196
|
Hive never installs an update silently.
|
|
197
197
|
|
|
198
|
+
## Move global knowledge to another computer
|
|
199
|
+
|
|
200
|
+
Use a `.hivekb` bundle to move global knowledge between computers. `--user-root` is the
|
|
201
|
+
user home directory, not its `.hive` subdirectory. Use the command block for the shell
|
|
202
|
+
that is running it; do not copy a Windows environment variable into a macOS or Linux
|
|
203
|
+
shell, or the reverse.
|
|
204
|
+
|
|
205
|
+
The bundle contains portable canonical knowledge. It does not copy SQLite indexes,
|
|
206
|
+
runtime state, project-private knowledge, credentials, or absolute local paths.
|
|
207
|
+
|
|
208
|
+
### macOS and Linux shell
|
|
209
|
+
|
|
210
|
+
Export the global bundle:
|
|
211
|
+
|
|
212
|
+
```sh
|
|
213
|
+
bundle="$HOME/Downloads/aigent-hive-knowledge-YYYY-MM-DD.hivekb"
|
|
214
|
+
hive knowledge export --user-root "$HOME" --scope global --bundle "$bundle" --output json
|
|
215
|
+
shasum -a 256 "$bundle"
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
On the destination computer, replace the bundle path and expected checksum with the values
|
|
219
|
+
you received. Run the dry run first. Run `--apply` only after the file exists, the checksum
|
|
220
|
+
matches, and the dry run reports no conflict or validation error.
|
|
221
|
+
|
|
222
|
+
```sh
|
|
223
|
+
bundle="$HOME/Downloads/aigent-hive-knowledge-YYYY-MM-DD.hivekb"
|
|
224
|
+
shasum -a 256 "$bundle"
|
|
225
|
+
hive knowledge import --user-root "$HOME" --bundle "$bundle" --dry-run --output json
|
|
226
|
+
hive knowledge import --user-root "$HOME" --bundle "$bundle" --apply --output json
|
|
227
|
+
hive knowledge lint --target "$HOME" --user-root "$HOME" --output json
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Windows PowerShell
|
|
231
|
+
|
|
232
|
+
Export the global bundle:
|
|
233
|
+
|
|
234
|
+
```powershell
|
|
235
|
+
$bundle = "$env:USERPROFILE\Downloads\aigent-hive-knowledge-YYYY-MM-DD.hivekb"
|
|
236
|
+
hive knowledge export --user-root $env:USERPROFILE --scope global --bundle $bundle --output json
|
|
237
|
+
Get-FileHash -Algorithm SHA256 $bundle
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
On the destination computer, use the returned `Hash` value to verify the received bundle.
|
|
241
|
+
Run `--apply` only after the file exists, the hash matches, and the dry run reports no
|
|
242
|
+
conflict or validation error.
|
|
243
|
+
|
|
244
|
+
```powershell
|
|
245
|
+
$bundle = "$env:USERPROFILE\Downloads\aigent-hive-knowledge-YYYY-MM-DD.hivekb"
|
|
246
|
+
Get-FileHash -Algorithm SHA256 $bundle
|
|
247
|
+
hive knowledge import --user-root $env:USERPROFILE --bundle $bundle --dry-run --output json
|
|
248
|
+
hive knowledge import --user-root $env:USERPROFILE --bundle $bundle --apply --output json
|
|
249
|
+
hive knowledge lint --target $env:USERPROFILE --user-root $env:USERPROFILE --output json
|
|
250
|
+
```
|
|
251
|
+
|
|
198
252
|
## Automatic dispatch safeguard
|
|
199
253
|
|
|
200
254
|
When enabled, Hive checks subscription usage immediately before a new automatic
|
package/install.cmd
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@echo off
|
|
2
2
|
setlocal EnableExtensions DisableDelayedExpansion
|
|
3
|
-
set "HIVE_INSTALL_PACKAGE_VERSION=0.9.
|
|
3
|
+
set "HIVE_INSTALL_PACKAGE_VERSION=0.9.5-test.11"
|
|
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
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
param(
|
|
2
2
|
[ValidatePattern('^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$')]
|
|
3
|
-
[string]$Version = "0.9.
|
|
3
|
+
[string]$Version = "0.9.5",
|
|
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.9.
|
|
5
|
+
[string]$PackageVersion = "0.9.5-test.11",
|
|
6
6
|
[string]$Prefix = "$env:LOCALAPPDATA\AigentHive"
|
|
7
7
|
)
|
|
8
8
|
|
|
9
9
|
$ErrorActionPreference = "Stop"
|
|
10
10
|
$AuthorizedSignerThumbprint = ""
|
|
11
|
-
$ExpectedArchiveSha256 = "
|
|
11
|
+
$ExpectedArchiveSha256 = "6a7878183fe1457c024ad5a61222d9c61a3bf53933e184c82c9ab9e32e0e00e7"
|
|
12
12
|
if ($AuthorizedSignerThumbprint -like "__AIGENT_HIVE_*") {
|
|
13
13
|
$AuthorizedSignerThumbprint = ""
|
|
14
14
|
}
|
package/install.sh
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
set -eu
|
|
3
3
|
|
|
4
|
-
embedded_product_version='0.9.
|
|
5
|
-
embedded_package_version='0.9.
|
|
4
|
+
embedded_product_version='0.9.5'
|
|
5
|
+
embedded_package_version='0.9.5-test.11'
|
|
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='
|
|
11
|
-
sha_x86_64_apple_darwin='
|
|
12
|
-
sha_aarch64_linux_musl='
|
|
13
|
-
sha_x86_64_linux_musl='
|
|
10
|
+
sha_aarch64_apple_darwin='493f243334b0c11f674998aec79f8418f9362da81b143d23fbe74cbc7fb3e824'
|
|
11
|
+
sha_x86_64_apple_darwin='9cdd1676a181956afff5574289ef1a5e09ab4b95d84e4ce1991fc965c9749950'
|
|
12
|
+
sha_aarch64_linux_musl='273f9468229b7b4af47561c6865b03e77ab2d039a1a481e3b04d304a2cc3caa8'
|
|
13
|
+
sha_x86_64_linux_musl='f0dec94829c045861dc01c178ddf6ecba0392ed9b92313ec2c6efb36e23e4118'
|
|
14
14
|
|
|
15
15
|
if ! printf '%s\n' "$version" | awk -F. '
|
|
16
16
|
NF != 3 { exit 1 }
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aigent-hive",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5-test.11",
|
|
4
4
|
"aigentHive": {
|
|
5
|
-
"productVersion": "0.9.
|
|
5
|
+
"productVersion": "0.9.5"
|
|
6
6
|
},
|
|
7
7
|
"description": "Provider-neutral local agent harness for subscription-authenticated hosts",
|
|
8
8
|
"license": "Apache-2.0",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"node": ">=18"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@aigent-hive/darwin-arm64": "0.9.
|
|
35
|
-
"@aigent-hive/darwin-x64": "0.9.
|
|
36
|
-
"@aigent-hive/linux-arm64": "0.9.
|
|
37
|
-
"@aigent-hive/linux-x64": "0.9.
|
|
38
|
-
"@aigent-hive/win32-x64": "0.9.
|
|
34
|
+
"@aigent-hive/darwin-arm64": "0.9.5-test.11",
|
|
35
|
+
"@aigent-hive/darwin-x64": "0.9.5-test.11",
|
|
36
|
+
"@aigent-hive/linux-arm64": "0.9.5-test.11",
|
|
37
|
+
"@aigent-hive/linux-x64": "0.9.5-test.11",
|
|
38
|
+
"@aigent-hive/win32-x64": "0.9.5-test.11"
|
|
39
39
|
}
|
|
40
40
|
}
|