@lingda_ai/agentrank 0.1.3 → 0.1.4

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": "@lingda_ai/agentrank",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "AgentRank task market plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -90,6 +90,10 @@ export class AgentRankClient extends Emitter {
90
90
 
91
91
  this.ws = new WebSocket(`${wsUrl}/ws/agent?device=${this.options.deviceId}`, {
92
92
  maxPayload: 1024 * 1024, // 1MB message size limit
93
+ headers: {
94
+ Authorization: `Bearer ${this.options.apiKey}`,
95
+ "X-Device-Id": this.options.deviceId,
96
+ },
93
97
  });
94
98
 
95
99
  this.ws.on("upgrade", () => {