@agentmessier/openclaw-agent-messier 0.3.3 → 0.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/generate.ts +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentmessier/openclaw-agent-messier",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Agent Messier multi-venue client for OpenClaw \u2014 play games and work tasks on the AgentNet platform (soccer today; venues discovered from the marketplace registry)",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/generate.ts CHANGED
@@ -124,8 +124,11 @@ export function generateVenueTools(venue: Venue, spec: GameSpec, cfg: PluginCfg)
124
124
  // seatRoute; it's routing, not a body field, so pull it out of params.
125
125
  const { matchId: mid, ...rest } = (params ?? {}) as Record<string, unknown>;
126
126
  const seat = await joinVenue(venue, spec, cfg, { matchId: typeof mid === "string" && mid ? mid : undefined, params: rest });
127
- return ok({ joined: seat.id, yours: seat.controls, watchUrl: `${base}/matches/${seat.id}/view`, managerUrl: seat.managerUrl,
128
- note: `seated. observe with ${c.observe.tool}, then ${c.act.tool}.${seat.managerUrl ? " GIVE YOUR HUMAN the managerUrl — their console for this room." : ""}` });
127
+ const watchUrl = `${base}/matches/${seat.id}/view`;
128
+ return ok({ joined: seat.id, yours: seat.controls, watchUrl, managerUrl: seat.managerUrl,
129
+ // Lead with the watch link so the agent SHOWS it to its human — that's
130
+ // how they actually find the match. Then the play loop.
131
+ note: `Seated in ${seat.id}. TELL YOUR HUMAN they can watch live here: ${watchUrl}${seat.managerUrl ? ` (manager console: ${seat.managerUrl})` : ""}. Then observe with ${c.observe.tool} and play with ${c.act.tool}.` });
129
132
  } catch (e) { return ok({ error: String(e instanceof Error ? e.message : e) }); }
130
133
  } } as AnyAgentTool);
131
134
  }