@barzkit/sdk 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +19 -1
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.1] - 2026-03-02
9
+
10
+ ### Added
11
+
12
+ - `@barzkit/mcp` — MCP Server for Claude Desktop, Cursor, Windsurf, VS Code Copilot (separate package in `plugins/mcp/`)
13
+ - 9 tools: create_wallet, send_transaction, check_balance, swap_tokens, lend_tokens, batch_transactions, freeze_wallet, unfreeze_wallet, fetch_with_payment
14
+ - `createBarzMcpServer()` — create MCP server with all wallet tools
15
+ - Stdio transport for standard MCP client integration
16
+ - MCP Server documentation (`docs/advanced/mcp-server.md`)
17
+
8
18
  ## [0.2.0] - 2026-03-02
9
19
 
10
20
  ### Added
@@ -125,6 +135,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
125
135
  - `AgentEvent` type definitions for future event hooks
126
136
  - Dual-package build: ESM (`.mjs`) + CJS (`.js`) + DTS (`.d.ts`)
127
137
 
138
+ [0.2.1]: https://github.com/barzkit/sdk/compare/v0.2.0...v0.2.1
128
139
  [0.2.0]: https://github.com/barzkit/sdk/compare/v0.1.5...v0.2.0
129
140
  [0.1.5]: https://github.com/barzkit/sdk/compare/v0.1.4...v0.1.5
130
141
  [0.1.4]: https://github.com/barzkit/sdk/compare/v0.1.3...v0.1.4
package/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  <p align="center">
5
5
  <a href="https://www.npmjs.com/package/@barzkit/sdk"><img src="https://img.shields.io/npm/v/@barzkit/sdk.svg" alt="npm version"></a>
6
6
  <a href="https://github.com/barzkit/sdk/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License"></a>
7
+ <img src="https://img.shields.io/badge/tests-77%20passed-brightgreen" alt="tests">
7
8
  </p>
8
9
  </p>
9
10
 
@@ -68,8 +69,24 @@ await agent.freeze()
68
69
 
69
70
  **Kill Switch** — Freeze the agent wallet instantly via Guardian Facet.
70
71
 
72
+ **DeFi Actions** — Swap tokens (Uniswap V3) and lend (Aave V3) with atomic approve+execute batches.
73
+
74
+ **x402 Payments** — Machine-to-machine HTTP payments. Auto-pay 402 responses, retry with proof. `fetchWithPayment()`.
75
+
76
+ **Multi-Chain** — Sepolia, Base Sepolia, Base mainnet. Add a new chain in 5 lines.
77
+
71
78
  **24/7 Security Monitoring** — Trust Wallet monitors every Barz account deployed via SDK. Free.
72
79
 
80
+ ## Plugins
81
+
82
+ Use BarzKit with your AI framework of choice:
83
+
84
+ | Plugin | Install | Description |
85
+ |--------|---------|-------------|
86
+ | [`@barzkit/elizaos`](https://www.npmjs.com/package/@barzkit/elizaos) | `npm i @barzkit/elizaos` | [ElizaOS](https://github.com/elizaOS/eliza) plugin — 8 actions, wallet provider, service |
87
+ | [`@barzkit/langchain`](https://www.npmjs.com/package/@barzkit/langchain) | `npm i @barzkit/langchain` | [LangChain](https://github.com/langchain-ai/langchainjs) tools — 8 StructuredTools with zod schemas |
88
+ | [`@barzkit/mcp`](https://www.npmjs.com/package/@barzkit/mcp) | `npx @barzkit/mcp` | [MCP](https://modelcontextprotocol.io) server — 9 tools for Claude Desktop, Cursor, Windsurf |
89
+
73
90
  ## API
74
91
 
75
92
  ```typescript
@@ -161,6 +178,7 @@ See [examples](https://github.com/barzkit/examples) for complete working example
161
178
  - [x] x402 payment handler
162
179
  - [x] ElizaOS plugin
163
180
  - [x] LangChain tool
181
+ - [x] MCP Server (Claude Desktop, Cursor, Windsurf)
164
182
  - [ ] On-chain permission enforcement via Diamond Facets
165
183
 
166
184
  ## Contributing
@@ -173,4 +191,4 @@ MIT
173
191
 
174
192
  ---
175
193
 
176
- [Documentation](https://github.com/barzkit/docs) · [Examples](https://github.com/barzkit/examples) · [Trust Wallet Barz](https://github.com/trustwallet/barz)
194
+ [Documentation](https://github.com/barzkit/docs) · [Examples](https://github.com/barzkit/examples) · [Plugins](https://github.com/barzkit/plugins) · [Trust Wallet Barz](https://github.com/trustwallet/barz) · [Pimlico Docs](https://docs.pimlico.io)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barzkit/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Self-custody AI agent wallets with passkeys, gasless transactions & programmable permissions (ERC-4337)",
6
6
  "main": "./dist/index.cjs",