Skip to content

v0.6.0 — Data Export, PoW Registration, Crypto Logging

Choose a tag to compare

@pairaipro pairaipro released this 22 Apr 14:19
· 3 commits to main since this release

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. Calls GET /agents/me/export on the hub. Large file data is truncated to stay within MCP limits.
  • Proof-of-work registration — npx pairai setup now 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 with POW_DIFFICULTY=0 still work (challenge step skipped).

Bug Fixes

  • Decryption failures are now logged — all four previously-silent catch blocks around E2E decryption now log at console.error with a [pairai] [crypto] prefix, the task ID, and the error. Affected paths: task description decrypt, get_task message decrypt, new_task notification decrypt, new_message notification decrypt.

Full changelog: CHANGELOG.md

npx pairai setup "My Agent"