Skip to content

Commit da718e9

Browse files
committed
release: 1.9.7
1 parent 65d8e2d commit da718e9

20 files changed

Lines changed: 922 additions & 89 deletions

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Avalanche-first agent wallet and execution SDK for AI agents, with multi-EVM sup
55
<!-- GENERATED:release-summary:start -->
66
## Current Release
77

8-
- Latest release: [v1.9.2](docs/releases/RELEASE_NOTES_1.9.2.md)
9-
- Published package: `evalanche@1.9.2`
8+
- Latest release: [v1.9.7](docs/releases/RELEASE_NOTES_1.9.7.md)
9+
- Published package: `evalanche@1.9.7`
1010
- Current package surface:
11-
- Added macOS Keychain fallback for agent credentials, so Mony and other local agents can resolve the `EvaWallet` / `EvaMain` sovereign wallet after OpenClaw secrets and env vars and before the encrypted keystore path
12-
- Made Polymarket orderbook handling deterministic by sorting visible bids highest-first and asks lowest-first before pricing, preflight, and sell-fill estimation
13-
- Preserved the `v1.9.0` Polymarket withdrawal flow while promoting the Mony-tested Evalanche runtime fixes into the public release line
14-
- Added focused regression coverage for keychain credential resolution and unsorted CLOB orderbook arrays
11+
- Hardened MCP HTTP mode so it now requires an explicit bearer token, binds to loopback by default, enforces request timeouts, and rejects oversized request bodies before parsing.
12+
- Routed high-risk execution helpers through active spending-policy checks, including approve-and-call, UUPS proxy upgrades, Li.Fi bridge/swap execution, and Gas.zip funding.
13+
- Tightened x402 paid-service hosting so settled endpoints require a settlement verifier by default, while preserving explicit `signed-intent` mode for trusted peer flows and tests.
14+
- Fixed Polymarket collateral normalization for live pUSD spender allowances, and made `pm_approve` / `pm_deposit` sync both wallet USDC.e -> CLOB approval and Polygon pUSD spender approvals.
1515
- Docs:
1616
- [Release notes](docs/releases/README.md)
1717
- [Roadmap](ROADMAP.md)
@@ -45,6 +45,11 @@ npx evalanche-mcp
4545
```
4646

4747
Evalanche ships an MCP server for wallet actions, holdings discovery, DeFi, bridge and swap flows, Polymarket, and perpetual venues.
48+
The default MCP transport is stdio. HTTP mode is available for local automation, but requires an explicit bearer token:
49+
50+
```bash
51+
EVALANCHE_MCP_HTTP_TOKEN="$(openssl rand -hex 32)" npx evalanche-mcp --http --port 3402
52+
```
4853

4954
## What It Does
5055

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Evalanche uses a tag-driven GitHub Actions release workflow.
55
<!-- GENERATED:release-process:start -->
66
## Current Release Automation
77

8-
- Current release line: `v1.9.2`
9-
- Release notes path: `docs/releases/RELEASE_NOTES_1.9.2.md`
8+
- Current release line: `v1.9.7`
9+
- Release notes path: `docs/releases/RELEASE_NOTES_1.9.7.md`
1010
- Required workflow checks:
1111
- release integrity and notes coverage
1212
- `npm test`

ROADMAP.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ This is the active roadmap for the repository.
55
<!-- GENERATED:roadmap-release:start -->
66
## Latest Shipped Release
77

8-
- Latest release: [v1.9.2](docs/releases/RELEASE_NOTES_1.9.2.md)
9-
- Shipped in `v1.9.2`:
10-
- Added macOS Keychain fallback for agent credentials, so Mony and other local agents can resolve the `EvaWallet` / `EvaMain` sovereign wallet after OpenClaw secrets and env vars and before the encrypted keystore path
11-
- Made Polymarket orderbook handling deterministic by sorting visible bids highest-first and asks lowest-first before pricing, preflight, and sell-fill estimation
12-
- Preserved the `v1.9.0` Polymarket withdrawal flow while promoting the Mony-tested Evalanche runtime fixes into the public release line
13-
- Added focused regression coverage for keychain credential resolution and unsorted CLOB orderbook arrays
8+
- Latest release: [v1.9.7](docs/releases/RELEASE_NOTES_1.9.7.md)
9+
- Shipped in `v1.9.7`:
10+
- Hardened MCP HTTP mode so it now requires an explicit bearer token, binds to loopback by default, enforces request timeouts, and rejects oversized request bodies before parsing.
11+
- Routed high-risk execution helpers through active spending-policy checks, including approve-and-call, UUPS proxy upgrades, Li.Fi bridge/swap execution, and Gas.zip funding.
12+
- Tightened x402 paid-service hosting so settled endpoints require a settlement verifier by default, while preserving explicit `signed-intent` mode for trusted peer flows and tests.
13+
- Fixed Polymarket collateral normalization for live pUSD spender allowances, and made `pm_approve` / `pm_deposit` sync both wallet USDC.e -> CLOB approval and Polygon pUSD spender approvals.
1414

1515
## Current Focus
1616

VULN_NOTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ This file is a short current-state security posture note, not a historical remed
55
<!-- GENERATED:vuln-snapshot:start -->
66
## Current Release Snapshot
77

8-
- Current release: `1.9.2`
9-
- `npm audit --omit=dev`: `5 critical`, `3 high`, `12 low`
8+
- Current release: `1.9.7`
9+
- `npm audit --omit=dev`: `5 critical`, `4 high`, `12 low`
1010

1111
## Active Overrides
1212

docs/releases/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Versioned release notes live in this folder.
44

55
Latest releases:
66

7+
- [v1.9.7](RELEASE_NOTES_1.9.7.md)
8+
- [v1.9.4](RELEASE_NOTES_1.9.4.md)
79
- [v1.9.2](RELEASE_NOTES_1.9.2.md)
810
- [v1.9.0](RELEASE_NOTES_1.9.0.md)
911
- [v1.8.9](RELEASE_NOTES_1.8.9.md)
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Highlights
2+
3+
- Hardened MCP HTTP mode so it requires an explicit bearer token, binds to loopback by default, enforces request timeouts, and rejects oversized request bodies.
4+
- Routed high-risk helper execution through the active spending policy, including generic approve-and-call, UUPS proxy upgrade, Li.Fi bridge/swap execution, and Gas.zip funding.
5+
- Made MCP policy removal explicit with `remove=true` and `confirm="remove"` instead of treating an empty policy payload as removal.
6+
- Changed x402 service hosting so paid endpoints require a settlement verifier by default, while preserving explicit `signed-intent` mode for trusted peer demos and tests.
7+
- Added an adversarial threat model documenting resolved threats, residual risks, and focus paths for future AppSec review.
8+
9+
## Validation
10+
11+
- `npm run typecheck`
12+
- `npm run test -- test/mcp/server.test.ts test/economy/service.test.ts`
13+
- `npm run test`
14+
- `npm run build`
15+
16+
## Notes
17+
18+
- HTTP MCP users must now set `EVALANCHE_MCP_HTTP_TOKEN` or pass `startHTTP({ authToken })`.
19+
- `v1.9.3` was intentionally skipped; `v1.9.4` is the next published patch after `v1.9.2`.
20+
- Remaining follow-up work is tracked in the updated threat model: scoped MCP tokens, production x402 settlement verifier adapters, semantic quote invariant checks, and dependency reachability triage.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Highlights
2+
3+
- Hardened MCP HTTP mode so it now requires an explicit bearer token, binds to loopback by default, enforces request timeouts, and rejects oversized request bodies before parsing.
4+
- Routed high-risk execution helpers through active spending-policy checks, including approve-and-call, UUPS proxy upgrades, Li.Fi bridge/swap execution, and Gas.zip funding.
5+
- Tightened x402 paid-service hosting so settled endpoints require a settlement verifier by default, while preserving explicit `signed-intent` mode for trusted peer flows and tests.
6+
- Fixed Polymarket collateral normalization for live pUSD spender allowances, and made `pm_approve` / `pm_deposit` sync both wallet USDC.e -> CLOB approval and Polygon pUSD spender approvals.
7+
8+
## Validation
9+
10+
- `npm test`
11+
- `npm run typecheck`
12+
- `npm run build`
13+
14+
## Notes
15+
16+
- HTTP MCP users must now set `EVALANCHE_MCP_HTTP_TOKEN` or pass `startHTTP({ authToken })`.
17+
- Polymarket venue balance reads now prefer live pUSD spender approvals over the stale single-allowance assumption, with wallet-side USDC.e -> CLOB approval retained as fallback.
18+
- This release folds the previously prepared 1.9.4/1.9.5 hardening work together with the pending Polymarket allowance fix into one clean public release line: `v1.9.7`.

0 commit comments

Comments
 (0)