@cascade-fyi/sati-agent0-sdk 0.3.1 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -5,6 +5,28 @@ 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.4.0] - 2026-02-12
9
+
10
+ ### Breaking Changes
11
+
12
+ - **`SatiSDK` renamed to `SatiAgent0`** - the old class name is removed entirely. Migration: `import { SatiAgent0 } from "@cascade-fyi/sati-agent0-sdk"`
13
+ - **`SatiSDKConfig` renamed to `SatiAgent0Config`** - same migration pattern
14
+ - **`FeedbackCache` removed** - moved to `@cascade-fyi/sati-sdk` (import from there if needed directly)
15
+
16
+ ### Changed
17
+
18
+ - Internal delegation to `@cascade-fyi/sati-sdk` convenience methods - `SatiAgent0` is now a thin CAIP-2 type-conversion wrapper over `Sati` class
19
+ - `SatiAgent` internally wraps `SatiAgentBuilder` from sati-sdk for registration and updates
20
+ - Reduced bundle size: duplicated logic (content parsing, schema resolution, cache, slot-to-timestamp) removed in favor of sati-sdk
21
+
22
+ ### Added
23
+
24
+ - `sdk.sati` accessor - exposes the underlying `Sati` instance for direct access to native Solana types
25
+
26
+ ### Dependencies
27
+
28
+ - Requires `@cascade-fyi/sati-sdk` >= 0.7.0
29
+
8
30
  ## [0.3.1] - 2026-02-12
9
31
 
10
32
  ### Fixed
@@ -105,6 +127,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
105
127
  - Transaction sender support for browser wallet integration
106
128
  - Re-exports of agent0-sdk types and SATI constants for consumer convenience
107
129
 
130
+ [0.4.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-agent0-sdk@0.3.1...@cascade-fyi/sati-agent0-sdk@0.4.0
108
131
  [0.3.1]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-agent0-sdk@0.3.0...@cascade-fyi/sati-agent0-sdk@0.3.1
109
132
  [0.3.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-agent0-sdk@0.2.0...@cascade-fyi/sati-agent0-sdk@0.3.0
110
133
  [0.2.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-agent0-sdk@0.1.1...@cascade-fyi/sati-agent0-sdk@0.2.0
package/README.md CHANGED
@@ -18,11 +18,11 @@ pnpm add @cascade-fyi/sati-sdk @solana/kit @solana-program/token-2022 agent0-sdk
18
18
  ## Quick Start
19
19
 
20
20
  ```typescript
21
- import { SatiSDK, Outcome } from "@cascade-fyi/sati-agent0-sdk";
21
+ import { SatiAgent0, Outcome } from "@cascade-fyi/sati-agent0-sdk";
22
22
  import { generateKeyPairSigner } from "@solana/kit";
23
23
 
24
24
  const signer = await generateKeyPairSigner();
25
- const sdk = new SatiSDK({
25
+ const sdk = new SatiAgent0({
26
26
  network: "devnet",
27
27
  signer,
28
28
  });
@@ -55,13 +55,13 @@ The SDK supports three modes depending on your use case:
55
55
 
56
56
  ```typescript
57
57
  // Read-only (no signer) - search agents, read feedback
58
- const readOnly = new SatiSDK({ network: "devnet" });
58
+ const readOnly = new SatiAgent0({ network: "devnet" });
59
59
 
60
60
  // Server-side (KeyPairSigner) - full write access
61
- const server = new SatiSDK({ network: "devnet", signer });
61
+ const server = new SatiAgent0({ network: "devnet", signer });
62
62
 
63
63
  // Browser wallet (TransactionSender) - wallet-signed writes
64
- const browser = new SatiSDK({ network: "devnet", transactionSender: walletAdapter });
64
+ const browser = new SatiAgent0({ network: "devnet", transactionSender: walletAdapter });
65
65
  ```
66
66
 
67
67
  ---