Releases: cascade-protocol/create-sati-agent
Releases · cascade-protocol/create-sati-agent
create-sati-agent@0.4.0
Added
--type MCP|A2A|OASFfilter onsearchcommand for filtering agents by service type
Changed
publishcommand now defaults todevnetnetwork (wasmainnet)
v0.3.0 - Major UX & Security Improvements
v0.3.0 - Major UX & Security Improvements
🎯 Highlights
- Context-aware info command - Auto-discovers
agent-registration.jsonwithout needing network/mint args - Critical security fix - Keypairs created with mode
0o600(owner-only permissions) - Friendly error messages - No SDK stack traces, actionable recovery steps
- Type-safe codebase - Eliminated all
anytypes with proper interfaces - ERC-8004 compliance - Best-practices integration via git submodule
🔒 Security
- File permissions: Keypairs created with mode
0o600(owner-only read/write) - Better address validation: Friendly errors with examples instead of SDK stack traces
- Existing keypair warning: Prevents accidental overwrites during init
- IPFS privacy warning: Clear notice before uploading permanent public data
✨ Features
- Info command auto-discovery: Reads
agent-registration.jsonin current directory - Flexible agent ID formats: Accepts both CAIP-2 (
solana:...:mint) and mint-only formats - Clear update vs create distinction: Explicit messaging when updating existing agents
- Improved error messages: Shows recovery steps (e.g., "Run
pnpm cli initfirst") - Comprehensive template:
agent-registration.jsoncwith 230+ lines of inline comments
🛠️ Technical Improvements
- Full type safety: Proper interfaces in
src/lib/types.ts(noanytypes) - SDK error wrapping: Catches and wraps all SDK errors with friendly messages
- Best-practices submodule: Git submodule at
docs/best-practices/for updateability - Code quality enforcement:
pnpm checkmandatory (0 errors, 0 warnings) - Solana SDK migration:
@solana/kit5.x exclusively (noweb3.jsv1 legacy)
📦 Dependencies
- Added
@solana-program/systemdependency (fixes fresh install crashes) - Updated to
@solana/kit5.x for modular web3.js v2 architecture - All peer dependencies aligned
🐛 Bug Fixes
- Fixed undefined
registeredMintvariable in publish success message - Fixed file permissions (was 0o664, now 0o600)
- Fixed invalid address error handling (friendly messages instead of stack traces)
- Fixed missing dependency causing crashes on fresh installs
📊 Test Results
Multi-persona testing with 3 independent reviewers:
- Hackathon dev: 7.5/10 → Critical security fix is "GAME CHANGER"
- Security audit: 4.5/10 → 8/10 → File permissions verified (600 not 664)
- Fresh user: 9.5/10 → "Would hack with again"
All critical blockers resolved. pnpm check passes with 0 errors, 0 warnings.
Full Changelog: v0.2.1...v0.3.0
Install: npm install -g create-sati-agent@0.3.0
Quickstart:
npx create-sati-agent init
# Edit agent-registration.json
npx create-sati-agent publishv0.2.1
v0.1.1
Fixed
- Fix
npx create-sati-agentnot working after install (bin entry stripped by npm) - Migrate build from
tsctotsdownwith properfixedExtension: falsefor.jsoutput
Added
- Biome linter and formatter configuration
npm run check(type-check + lint) andnpm run lint:fixscripts
Changed
- Build script now includes explicit clean step before bundling
- tsconfig.json simplified to type-check only (
noEmit: true)