@abraca/mcp 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abraca/mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "MCP server for Abracadabra — AI agent collaboration on CRDT documents",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/server.ts CHANGED
@@ -100,8 +100,8 @@ export class AbracadabraMCPServer {
100
100
  // Step 1b: Get user profile for publicKey identity
101
101
  try {
102
102
  const me = await this.client.getMe()
103
- this._userId = me.id
104
- console.error(`[abracadabra-mcp] User ID: ${this._userId}`)
103
+ this._userId = me.publicKey ?? me.id
104
+ console.error(`[abracadabra-mcp] User ID (pubkey): ${this._userId}`)
105
105
  } catch {
106
106
  console.error('[abracadabra-mcp] Could not fetch user profile, proceeding without userId')
107
107
  }