Releases: cascade-protocol/sati
Releases · cascade-protocol/sati
@cascade-fyi/sati-sdk@0.15.1
Fixed
getReputationSummarynow queries both schemas (FeedbackPublicV1 + FeedbackV1) - was only querying one, causing blind feedback to be excluded from reputation calculations
@cascade-fyi/sati-sdk@0.15.0
Added
outcomefilter onFeedbackSearchOptions- filter feedback by Positive/Negative/Neutral
Changed
listAllAgents()uses batchedloadAgents()internally instead of N+1 individual calls
Fixed
listAllAgents()with large limits no longer hits rate limits on default hosted proxy
Dashboard REST API
GET /api/feedback(global) - feedback across all agents without specifying a mintGET /api/agents:offsetpagination,endpointTypesfilter,totalAgentscount,nonTransferablefieldGET /api/feedback/:mint: addedmessage,createdAt,compressedAddress,schema,outcomefilter
@cascade-fyi/sati-sdk@0.14.0
Changed
- Default RPC URLs now route through hosted Helius-backed proxy at
sati.cascade.fyi/api/rpc/:networkfor zero-config mainnet access without 429 rate limits nonTransferabledefault documented asfalse(opt-in soulbound)
@cascade-fyi/sati-sdk@0.13.0
Added
searchAllFeedback()- search feedback across all deployed schemas (FeedbackV1 + FeedbackPublicV1), merging resultslistAllFeedbacks()- async generator for bulk feedback pagination across all schemasfeedbackCacheTtlMsoption - configurable feedback cache TTL onSATIClientOptions(default 30s, 0 to disable)
Changed
- Removed
@coral-xyz/anchorfrom peer dependencies (not needed by SDK consumers) - Extracted shared feedback search logic into internal helper
@cascade-fyi/sati-sdk@0.12.0
Added
TransactionConfiginterface - new optionaltransactionConfigfield onSATIClientOptionsto configurepriorityFeeMicroLamports,computeUnitLimit, andmaxRetries- Priority fee support - all transactions now include a compute unit price instruction; defaults to 50,000 microlamports on mainnet, 0 on devnet/localnet
- Automatic retry on blockhash expiry -
buildAndSendTransactionretries with a fresh blockhash up tomaxRetriestimes (default: 2) when a transaction fails due to blockhash expiration
Changed
- Blockhash fetched at
confirmedcommitment - reduces stale blockhash errors on congested networks - Consolidated transaction sending - removed internal
sendSingleTransaction; all paths go throughbuildAndSendTransactionwith consistent compute budget and retry logic - Compute budget uses
updateOrAppend*helpers - prevents duplicate compute budget instructions when building complex transactions
@cascade-fyi/sati-sdk@0.11.0
Changed
- Migrated to Light Protocol V2 batched trees - all compressed attestation operations now use V2 state and address trees with lower rollover fees
- Updated deployed configs for all networks (localnet, devnet, mainnet) with new lookup tables and reputation score schema addresses
- Requires
@cascade-fyi/compression-kit>= 0.3.0
@cascade-fyi/compression-kit@0.3.0
Changed
- Light Protocol V2 support -
PhotonRpcconstructor andcreatePhotonRpc()now accept aversionparameter (VERSION.V1orVERSION.V2) for protocol-aware endpoint naming and response parsing. Defaults toVERSION.V1for backward compatibility. localTestActiveStateTreeInfos()andgetDefaultAddressTreeInfo()now accept aversionparameter instead of reading globalfeatureFlags- Fee constants split into
STATE_MERKLE_TREE_ROLLOVER_FEE_V1(300) andSTATE_MERKLE_TREE_ROLLOVER_FEE_V2(1)
Deprecated
featureFlagsglobal - useVERSIONenum passed to constructors/functions insteadversionedEndpoint()global - usePhotonRpcconstructor'sversionparameter insteadSTATE_MERKLE_TREE_ROLLOVER_FEE- use the V1/V2 specific constants instead
@cascade-fyi/sati-sdk@0.10.1
Fixed
listAllAgentsinput validation - offset and limit are now clamped to non-negative integers, preventingBigInterrors on fractional inputs and out-of-range member numbers on negative offsetssearchValidationsduplicate slot fetch - eliminated redundantgetSlotRPC call; now fetches slot once with graceful failure handling (consistent withlistValidations)isSatiAgentRegistryfalse positives - now verifies the registry address matches the SATI program ID, not just the Solana chain prefix
@cascade-fyi/sati-sdk@0.10.0
Breaking Changes
Endpointrenamed toServiceDefinition- deprecatedEndpointre-export kept for backward compatibilitysetEndpoint/removeEndpointrenamed tosetService/removeServiceonAgentBuilderlistAllAgentsreturn type changed fromAgentIdentity[]to{ agents: AgentIdentity[]; totalAgents: bigint }- callers must destructurelistAllAgentsoffset changed from 1-basedbigintto 0-basednumberfor simpler paginationAgentSearchOptions.offsetchanged frombiginttonumber
Added
- ERC-8004 validation and parsing - exported Zod schemas (
RegistrationFileSchema,ServiceDefinitionSchema, etc.),validateRegistrationFile(),parseRegistrationFile(),normalizeRegistrationFile() - CAIP validation helpers -
isValidAgentRegistry(),isSatiAgentRegistry() buildSatiRegistrationEntry()- network-aware helper with devnet supportERC8004_TYPE,VALID_TRUST_MODELS,SATI_CHAIN_IDSconstants- Strict mode for
fetchRegistrationFile()- validates against ERC-8004 schema whenstrict: true - Approximate
createdAttimestamps onParsedAttestation,ParsedFeedbackAttestation, andParsedValidationAttestation- derived from slot numbers, no more manual slot-to-time conversion needed listAllAgentsorder parameter -"newest"(default) or"oldest"sort orderbuildFeedbackContent()helper - builds typed ERC-8004 feedback content bytes from friendly paramshexToBytes()/bytesToHex()utilities - hex conversion exported from SDK- Typed getters
reputationScoreSchemaandcredentialon theSaticlass reviewer,feedbackURI,feedbackHashfields added toFeedbackContenttype
Fixed
listFeedbacks/listValidationsnow automatically fetch current slot and computecreatedAttimestamps
@cascade-fyi/sati-agent0-sdk@0.7.1
Changed
ValidationResult.createdAtnow optional - reflects upstream sati-sdk fix where slot fetch may be unavailable
Dependencies
@cascade-fyi/sati-sdk0.10.1