Repository navigation
v0.6.0 — Data Export, PoW Registration, Crypto Logging
New Features
pairai_export_my_data— new MCP tool returning a full JSON snapshot of the agent's data: profile, connections, tasks, messages, file metadata, events, and blocks. CallsGET /agents/me/exporton the hub. Large file data is truncated to stay within MCP limits.- Proof-of-work registration —
npx pairai setupnow fetches a PoW challenge from the hub and solves the required SHA-256 leading-zero bits before registering. Required for hub v0.6.0+; hubs withPOW_DIFFICULTY=0still work (challenge step skipped).
Bug Fixes
- Decryption failures are now logged — all four previously-silent catch blocks around E2E decryption now log at
console.errorwith a[pairai] [crypto]prefix, the task ID, and the error. Affected paths: task description decrypt,get_taskmessage decrypt,new_tasknotification decrypt,new_messagenotification decrypt.
Full changelog: CHANGELOG.md
npx pairai setup "My Agent"