@gholl-studio/pier-connector 0.2.48 → 0.2.49

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gholl-studio/pier-connector",
3
3
  "author": "gholl",
4
- "version": "0.2.48",
4
+ "version": "0.2.49",
5
5
  "description": "OpenClaw plugin that connects to the Pier job marketplace. Automatically fetches, executes, and reports distributed tasks for rewards.",
6
6
  "type": "module",
7
7
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -256,14 +256,14 @@ export default function register(api) {
256
256
  }
257
257
 
258
258
  const ctxPayload = api.runtime.channel.reply.finalizeInboundContext({
259
- AgentId: finalAgentId, // Explicitly override with our calculated routing result
259
+ agentId: finalAgentId, // Lowercase agentId is the standard target identifier
260
260
  Body: inbound.text,
261
261
  BodyForAgent: inbound.text,
262
262
  RawBody: inbound.text,
263
263
  From: inbound.senderId,
264
264
  To: `pier:${jobId}`,
265
265
  SessionKey: dynamicSessionKey,
266
- AccountId: inbound.accountId, // Use the real inbound account name
266
+ AccountId: inbound.accountId,
267
267
  ChatType: 'direct',
268
268
  SenderId: inbound.senderId,
269
269
  Provider: 'pier',