@agentlayer.tech/wallet 0.1.36 → 0.1.37

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.36",
5
+ "version": "0.1.37",
6
6
  "contracts": {
7
7
  "tools": [
8
8
  "close_empty_token_accounts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentlayertech/agent-wallet-plugin",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
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,23 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v0.1.37 - 2026-06-05
6
+
7
+ - Fixed the Claude Code / Codex MCP bridge failing to start with
8
+ `MCP error -32000: Connection closed` when the plugin is run through a
9
+ marketplace symlink. run_mcp.sh resolved PLUGIN_ROOT with a logical `pwd`, so
10
+ the symlink stayed in the path and the sibling-codex fallback (`../../../codex`)
11
+ collapsed lexically into a non-existent path. The launcher now resolves paths
12
+ physically (`pwd -P`), keeping the `..` arithmetic consistent with the real
13
+ layout, with a regression test that drives the launcher through a symlink.
14
+
15
+ ## v0.1.36 - 2026-06-03
16
+
17
+ - Installer no longer pins a redundant `OPENCLAW_HOME` into the version-controlled
18
+ bundle `.mcp.json` when the install home is the default `~/.openclaw`
19
+ (run_mcp.sh already derives it). Any stale pin is removed so the tracked file
20
+ self-heals to a clean state; non-default homes still pin as before.
21
+
5
22
  ## v0.1.35 - 2026-06-03
6
23
 
7
24
  - Hardened the Codex / Claude Code MCP wallet bridge:
package/README.md CHANGED
@@ -6,10 +6,18 @@
6
6
  [![docs](https://img.shields.io/badge/docs-agent--layer.tech-blue)](https://docs.agent-layer.tech/)
7
7
  [![license](https://img.shields.io/github/license/lopushok9/Agent-Layer)](https://github.com/lopushok9/Agent-Layer/blob/main/LICENSE)
8
8
 
9
+ For Openclaw:
10
+
9
11
  ```bash
10
12
  npx @agentlayer.tech/wallet install --yes
11
13
  ```
12
14
 
15
+ For Codex:
16
+
17
+ ```bash
18
+ npx @agentlayer.tech/wallet install --yes && npx @agentlayer.tech/wallet codex install --yes
19
+ ```
20
+
13
21
  For Hermes:
14
22
 
15
23
  ```bash
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.36
1
+ 0.1.37
@@ -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.36"
5
+ __version__ = "0.1.37"
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.36",
5
+ "version": "0.1.37",
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.36"
7
+ version = "0.1.37"
8
8
  description = "Plugin-friendly wallet backend for OpenClaw agents"
9
9
  requires-python = ">=3.10"
10
10
  dependencies = [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-wallet",
3
3
  "displayName": "Agent Wallet",
4
- "version": "0.1.36",
4
+ "version": "0.1.37",
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"
@@ -1,14 +1,21 @@
1
1
  #!/bin/sh
2
2
  set -eu
3
3
 
4
- SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
5
- PLUGIN_ROOT=$(CDPATH= cd -- "$SCRIPT_DIR/.." && pwd)
4
+ # Resolve to PHYSICAL paths (pwd -P). Claude Code runs this plugin through a
5
+ # marketplace symlink (~/.claude/agentlayer-local/plugins/agent-wallet -> the real
6
+ # plugin dir). With a logical pwd, the symlink stays in PLUGIN_ROOT and the
7
+ # "../../../codex" sibling math below collapses lexically into a non-existent path
8
+ # (e.g. ~/.claude/codex), so `cd` fails and the server dies with -32000. Resolving
9
+ # the symlink up front keeps the `..` arithmetic consistent with the real layout.
10
+ SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
11
+ PLUGIN_ROOT=$(CDPATH= cd -- "$SCRIPT_DIR/.." && pwd -P)
6
12
  OPENCLAW_HOME=${OPENCLAW_HOME:-"$HOME/.openclaw"}
7
13
  PACKAGE_ROOT=${AGENT_WALLET_PACKAGE_ROOT:-${OPENCLAW_AGENT_WALLET_PACKAGE_ROOT:-"$OPENCLAW_HOME/agent-wallet-runtime/current/agent-wallet"}}
8
14
 
9
- # Resolve server.py. When Claude Code copies this plugin into its cache, the
10
- # relative sibling paths below no longer resolve, so fall back to the codex
11
- # plugin copy inside the installed runtime package, which is always present.
15
+ # Resolve server.py. The claude-code plugin ships no server.py of its own; it
16
+ # reuses the sibling codex copy (real repo / installed runtime, where claude-code
17
+ # and codex sit side by side), falling back to the codex copy inside the runtime
18
+ # package, which is always present.
12
19
  LOCAL_SERVER="$PLUGIN_ROOT/server.py"
13
20
  CODEX_SERVER="$PLUGIN_ROOT/../../../codex/plugins/agent-wallet/server.py"
14
21
  RUNTIME_CODEX_DIR="$OPENCLAW_HOME/agent-wallet-runtime/current/codex/plugins/agent-wallet"
@@ -16,9 +23,9 @@ RUNTIME_CODEX_DIR="$OPENCLAW_HOME/agent-wallet-runtime/current/codex/plugins/age
16
23
  if [ -f "$LOCAL_SERVER" ]; then
17
24
  SERVER_PY="$LOCAL_SERVER"
18
25
  elif [ -f "$CODEX_SERVER" ]; then
19
- SERVER_PY=$(CDPATH= cd -- "$PLUGIN_ROOT/../../../codex/plugins/agent-wallet" && pwd)/server.py
26
+ SERVER_PY=$(CDPATH= cd -- "$PLUGIN_ROOT/../../../codex/plugins/agent-wallet" && pwd -P)/server.py
20
27
  elif [ -f "$RUNTIME_CODEX_DIR/server.py" ]; then
21
- SERVER_PY=$(CDPATH= cd -- "$RUNTIME_CODEX_DIR" && pwd)/server.py
28
+ SERVER_PY=$(CDPATH= cd -- "$RUNTIME_CODEX_DIR" && pwd -P)/server.py
22
29
  else
23
30
  printf '{"error":"agent-wallet server.py not found in plugin, codex sibling, or runtime package.","fix":"npx @agentlayer.tech/wallet install --yes"}\n' >&2
24
31
  exit 1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-wallet",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Codex plugin bridge for the AgentLayer wallet runtime.",
5
5
  "author": {
6
6
  "name": "AgentLayer"
@@ -1,8 +1,9 @@
1
1
  #!/bin/sh
2
2
  set -eu
3
3
 
4
- SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
5
- PLUGIN_ROOT=$(CDPATH= cd -- "$SCRIPT_DIR/.." && pwd)
4
+ # Physical paths (pwd -P) so symlinked install layouts resolve to the real dir.
5
+ SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
6
+ PLUGIN_ROOT=$(CDPATH= cd -- "$SCRIPT_DIR/.." && pwd -P)
6
7
  OPENCLAW_HOME=${OPENCLAW_HOME:-"$HOME/.openclaw"}
7
8
  PACKAGE_ROOT=${AGENT_WALLET_PACKAGE_ROOT:-${OPENCLAW_AGENT_WALLET_PACKAGE_ROOT:-"$OPENCLAW_HOME/agent-wallet-runtime/current/agent-wallet"}}
8
9
 
@@ -1,5 +1,5 @@
1
1
  name: agent-wallet
2
- version: 0.1.36
2
+ version: 0.1.37
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.36",
3
+ "version": "0.1.37",
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.36",
3
+ "version": "0.1.37",
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.36",
3
+ "version": "0.1.37",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Separate EVM wallet service built on Tether WDK.",