antenna-openclaw-plugin 1.3.24 → 1.3.25

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/index.ts +4 -4
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -608,16 +608,16 @@ export default function register(api: any) {
608
608
  api.registerTool({
609
609
  name: "antenna_link_account",
610
610
  description:
611
- "Link your Antenna agent profile to your antenna.fyi website account. The user needs to provide their user_id from the dashboard (antenna.fyi/me). After linking, the dashboard will show the same profile and match history.",
611
+ "Link your Antenna agent profile to your antenna.fyi website account. Pass the user's API key the server verifies it and extracts the user_id. The agent never needs to know or pass user_id directly.",
612
612
  parameters: {
613
613
  type: "object",
614
614
  properties: {
615
615
  sender_id: { type: "string", description: "The sender's user ID" },
616
616
  channel: { type: "string", description: "The channel name" },
617
617
  chat_id: { type: "string", description: "REQUIRED. Pass the chat/channel ID from your message context." },
618
- user_id: { type: "string", description: "The user's antenna.fyi account UUID, visible on their dashboard" },
618
+ api_key: { type: "string", description: "The user's Antenna API key (ant_xxx) from antenna.fyi/me" },
619
619
  },
620
- required: ["sender_id", "channel", "chat_id", "user_id"],
620
+ required: ["sender_id", "channel", "chat_id", "api_key"],
621
621
  },
622
622
  async execute(_id: string, params: any) {
623
623
  const cfg = getConfig(api);
@@ -626,7 +626,7 @@ export default function register(api: any) {
626
626
 
627
627
  const { data, error } = await supabase.rpc("bind_user_id", {
628
628
  p_device_id: deviceId,
629
- p_user_id: params.user_id,
629
+ p_api_key: params.api_key,
630
630
  });
631
631
  if (error) return ok({ error: error.message });
632
632
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antenna-openclaw-plugin",
3
- "version": "1.3.24",
3
+ "version": "1.3.25",
4
4
  "description": "Antenna \u2014 agent-mediated nearby people discovery for OpenClaw",
5
5
  "openclaw": {
6
6
  "extensions": [