@agentlayer.tech/wallet 0.1.71 → 0.1.73

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.
@@ -2,7 +2,7 @@
2
2
  "id": "agent-wallet",
3
3
  "name": "Agent Wallet",
4
4
  "description": "Official OpenClaw plugin bridge for the agent-wallet backends, including Solana, local BTC, and local EVM.",
5
- "version": "0.1.71",
5
+ "version": "0.1.73",
6
6
  "contracts": {
7
7
  "tools": [
8
8
  "agentlayer_autonomous_approve",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentlayertech/agent-wallet-plugin",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "description": "OpenClaw plugin bridge for the AgentLayer wallet runtime.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN ../../../LICENSE",
package/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v0.1.73 - 2026-07-09
6
+
7
+ - Fixed CLI installer/update boot-key precedence when recovering an existing
8
+ hardened install. `buildInstallerEnv()` now resolves the boot key in the same
9
+ order as the runtime itself: explicit env first, then keystore, and only then
10
+ plaintext fallback files. This prevents a stale
11
+ `~/.openclaw/agent-wallet-runtime/boot-key` from overriding a correct key in
12
+ the keystore and breaking `wallet install` / `wallet update` even though the
13
+ active runtime can still decrypt `sealed_keys.json`.
14
+ - `bin/openclaw-agent-wallet.mjs`
15
+ - `agent-wallet/tests/smoke_cli_install_prefers_keystore_over_stale_boot_file.py`
16
+
17
+ ## v0.1.72 - 2026-07-09
18
+
19
+ - Fixed a `0.1.71` installer regression where `wallet update --yes` could fail
20
+ during the nested OpenClaw config step on hardened installs with:
21
+ `AGENT_WALLET_BOOT_KEY is required`. The config installer was checking only
22
+ the direct env var even though the runtime now legitimately resolves the boot
23
+ key via the OS keystore or `agent-wallet-runtime/boot-key`. It now uses the
24
+ shared boot-key resolver, so update/install works again when the boot key is
25
+ available through the supported non-env paths.
26
+ - `agent-wallet/scripts/install_openclaw_local_config.py`
27
+ - `agent-wallet/tests/smoke_install_openclaw_local_config_sealed.py`
28
+
5
29
  ## v0.1.71 - 2026-07-09
6
30
 
7
31
  - Fixed `wallet update` leaving editor integrations pinned to a stale
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.71
1
+ 0.1.73
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Keep in sync with package.json, pyproject.toml, and the npm installer version.
4
4
  # scripts/check_release_version.mjs enforces this on release.
5
- __version__ = "0.1.71"
5
+ __version__ = "0.1.73"
6
6
 
7
7
  __all__ = [
8
8
  "config",
@@ -2,7 +2,7 @@
2
2
  "id": "agent-wallet",
3
3
  "name": "Agent Wallet",
4
4
  "description": "Plugin-friendly wallet backend for OpenClaw agents with safe wallet tools and runtime instructions across Solana, local BTC, and local EVM.",
5
- "version": "0.1.71",
5
+ "version": "0.1.73",
6
6
  "skills": ["skills/wallet-operator"],
7
7
  "configSchema": {
8
8
  "type": "object",
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "openclaw-agent-wallet"
7
- version = "0.1.71"
7
+ version = "0.1.73"
8
8
  description = "Plugin-friendly wallet backend for OpenClaw agents"
9
9
  requires-python = ">=3.10"
10
10
  dependencies = [
@@ -17,6 +17,7 @@ from agent_wallet.config import (
17
17
  normalize_btc_network,
18
18
  normalize_evm_network,
19
19
  normalize_solana_network,
20
+ resolve_boot_key,
20
21
  )
21
22
  from agent_wallet.sealed_keys import resolve_sealed_keys_path, seal_keys, unseal_keys
22
23
  from security_utils import write_redacted_backup
@@ -277,10 +278,11 @@ def _require_hardened_runtime_secrets(backend: str) -> str | None:
277
278
  if backend.strip().lower() in {"", "none"}:
278
279
  return None
279
280
 
280
- boot_key = os.getenv("AGENT_WALLET_BOOT_KEY", "").strip()
281
+ boot_key = resolve_boot_key().strip()
281
282
  if not boot_key:
282
283
  raise SystemExit(
283
- "AGENT_WALLET_BOOT_KEY is required. Runtime secrets must be loaded from sealed_keys.json."
284
+ "A boot key is required to unlock sealed_keys.json. Resolve it via "
285
+ "AGENT_WALLET_BOOT_KEY, the OS keystore, or AGENT_WALLET_BOOT_KEY_FILE."
284
286
  )
285
287
 
286
288
  sealed_path = resolve_sealed_keys_path()
@@ -1237,11 +1237,14 @@ function buildInstallerEnv(args) {
1237
1237
  const sealedKeysExist = fs.existsSync(sealedKeysPath);
1238
1238
  const dryRun = hasFlag(args, "--dry-run");
1239
1239
  if (!env.AGENT_WALLET_BOOT_KEY) {
1240
+ // Keep installer/update boot-key resolution aligned with the runtime:
1241
+ // explicit env first, then keystore, then plaintext fallback paths. A stale
1242
+ // boot-key file must not override a good keystore key and break updates.
1240
1243
  const existingBootKey =
1244
+ readBootKeyFromKeystore(env) ||
1241
1245
  resolveBootKeyFromFile(env) ||
1242
1246
  readTextIfExists(defaultBootKeyFile(env)).trim() ||
1243
- currentBootKey(env) ||
1244
- readBootKeyFromKeystore(env);
1247
+ currentBootKey(env);
1245
1248
  if (existingBootKey) {
1246
1249
  env.AGENT_WALLET_BOOT_KEY = existingBootKey;
1247
1250
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-wallet",
3
3
  "displayName": "Agent Wallet",
4
- "version": "0.1.71",
4
+ "version": "0.1.73",
5
5
  "description": "Claude Code bridge for the existing AgentLayer wallet runtime. Connects to Solana, Bitcoin, and EVM wallets without creating a new one.",
6
6
  "author": {
7
7
  "name": "AgentLayer"
@@ -7,7 +7,8 @@
7
7
  ],
8
8
  "env": {
9
9
  "FASTMCP_SHOW_SERVER_BANNER": "false",
10
- "FASTMCP_LOG_LEVEL": "ERROR"
10
+ "FASTMCP_LOG_LEVEL": "ERROR",
11
+ "OPENCLAW_HOME": "/tmp/openclaw-cli-install-keystore-precedence-smoke"
11
12
  }
12
13
  }
13
14
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-wallet",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "description": "Codex plugin bridge for the AgentLayer wallet runtime.",
5
5
  "author": {
6
6
  "name": "AgentLayer"
@@ -1,5 +1,5 @@
1
1
  name: agent-wallet
2
- version: 0.1.71
2
+ version: 0.1.73
3
3
  description: Thin Hermes Agent bridge to the existing AgentLayer/OpenClaw wallet backend
4
4
  provides_tools:
5
5
  - agent_wallet_tools
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentlayer.tech/wallet",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "description": "NPM installer for the OpenClaw Agent Wallet local runtime.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wdk-btc-wallet",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Separate BTC-only wallet service built on Tether WDK.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wdk-evm-wallet",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Separate EVM wallet service built on Tether WDK.",