antenna-openclaw-plugin 1.2.12 → 1.2.14

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": "antenna-openclaw-plugin",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "description": "Antenna — agent-mediated nearby people discovery for OpenClaw",
5
5
  "openclaw": {
6
6
  "extensions": ["./index.ts"]
@@ -33,6 +33,10 @@ Create an event. Returns a shareable link (antenna.fyi/events/CODE).
33
33
  - `starts_at`, `ends_at`: optional time range (default: now to +12h)
34
34
  - `description`: optional event description
35
35
  - `og_image`: optional OG image URL for social sharing preview
36
+ - `requires_approval`: boolean, default false. If true, participants must be approved by the organizer before they become visible.
37
+ - `screening_questions`: string array. Questions to ask applicants. Agent should collect answers via conversation and submit as `application_context` when joining.
38
+
39
+ **When the user says anything about "审批" / "approval" / "筛选" / "报名表"**, set `requires_approval: true` and ask what screening questions they want.
36
40
 
37
41
  **GPS flow for events:** If the user doesn't provide coordinates, generate a bind link (`antenna_bind` with `purpose="event"` and `event_code`) and ask them to open it at the event location. The GPS will update the event's coordinates, NOT the user's profile.
38
42
 
@@ -79,9 +83,10 @@ Generate a GPS link for setting event location.
79
83
 
80
84
  ### When someone says "create an event"
81
85
  1. Ask for event name (required) and description (optional)
82
- 2. Call `antenna_event_create`
83
- 3. If no GPS provided, call `antenna_bind(purpose="event", event_code=CODE)` and send the link
84
- 4. Share the event URL with the user
86
+ 2. **Ask if participants need approval** ("Do you want to review and approve participants before they join?"). If yes, ask what screening questions to include.
87
+ 3. Call `antenna_event_create` with `requires_approval` and `screening_questions` if applicable
88
+ 4. If no GPS provided, call `antenna_bind(purpose="event", event_code=CODE)` and send the link
89
+ 5. Share the event URL with the user
85
90
 
86
91
  ### When someone shares an event link
87
92
  1. Extract the code from `antenna.fyi/events/CODE`
@@ -302,6 +302,10 @@ Create an event. Returns a shareable link (antenna.fyi/events/CODE).
302
302
  - `starts_at`, `ends_at`: optional time range (default: now to +12h)
303
303
  - `description`: optional event description
304
304
  - `og_image`: optional OG image URL for social sharing preview
305
+ - `requires_approval`: boolean, default false. If true, participants need organizer approval.
306
+ - `screening_questions`: string array. Questions for applicants.
307
+
308
+ **When the user mentions "审批" / "approval" / "筛选" / "报名表"**, set `requires_approval: true` and ask what questions they want to screen with.
305
309
 
306
310
  **GPS flow for events:** If the user doesn't provide coordinates, generate a bind link (`antenna_bind`) and ask them to open it at the event location. Once GPS comes in, use those coordinates for the event's `lat`/`lng` — do NOT treat this as the user's personal location. The bind link GPS for event creation goes to the event, not the user's profile. Only use `antenna_checkin` when the user wants to update their own location.
307
311