antenna-openclaw-plugin 1.3.7 → 1.3.8
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/index.ts +4 -0
- package/package.json +1 -1
- package/skills/antenna/SKILL.md +2 -0
package/index.ts
CHANGED
|
@@ -1060,6 +1060,8 @@ export default function register(api: any) {
|
|
|
1060
1060
|
lng: { type: "number", description: "New event longitude" },
|
|
1061
1061
|
starts_at: { type: "string", description: "New start time ISO" },
|
|
1062
1062
|
ends_at: { type: "string", description: "New end time ISO" },
|
|
1063
|
+
requires_approval: { type: "boolean", description: "Require host approval to join" },
|
|
1064
|
+
screening_questions: { type: "array", items: { type: "string" }, description: "Screening questions for applicants" },
|
|
1063
1065
|
},
|
|
1064
1066
|
required: ["code", "sender_id", "channel", "chat_id"],
|
|
1065
1067
|
},
|
|
@@ -1072,6 +1074,8 @@ export default function register(api: any) {
|
|
|
1072
1074
|
p_name: params.name || null, p_description: params.description || null,
|
|
1073
1075
|
p_og_image: params.og_image || null, p_lat: params.lat ?? null, p_lng: params.lng ?? null,
|
|
1074
1076
|
p_starts_at: params.starts_at || null, p_ends_at: params.ends_at || null,
|
|
1077
|
+
...(params.requires_approval != null ? { p_requires_approval: params.requires_approval } : {}),
|
|
1078
|
+
...(params.screening_questions != null ? { p_screening_questions: params.screening_questions } : {}),
|
|
1075
1079
|
});
|
|
1076
1080
|
if (error) return ok({ error: error.message });
|
|
1077
1081
|
return ok(data);
|
package/package.json
CHANGED
package/skills/antenna/SKILL.md
CHANGED
|
@@ -366,6 +366,8 @@ Update event info. Only creator or co-host can update.
|
|
|
366
366
|
- `sender_id`, `channel`: from context
|
|
367
367
|
- `chat_id`: REQUIRED for notifications
|
|
368
368
|
- `name`, `description`, `og_image`, `lat`, `lng`, `starts_at`, `ends_at`: all optional for update (only provided fields change, others stay as-is)
|
|
369
|
+
- `requires_approval`: optional boolean — enable/disable approval requirement
|
|
370
|
+
- `screening_questions`: optional string array — update screening questions
|
|
369
371
|
|
|
370
372
|
### `antenna_event_approve`
|
|
371
373
|
Approve a pending participant. Only creator or co-host.
|