mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-15 17:19:27 +02:00
fix: require explicit variable mention for all parameter types
All three parameter types now require explicit variable mention: - $pubkey: requires $pubkey in command (e.g., -a $pubkey) - $event: requires $event in command (e.g., -e $event or --id $event) - $relay: requires $relay in command (e.g., -d $relay) Everything must be explicit - no implicit filtering. All tests passing (1017/1017) and build successful.
This commit is contained in:
@@ -65,11 +65,11 @@ const PARAMETER_INFO: Record<
|
||||
$relay: {
|
||||
title: "Create Relay Spell",
|
||||
description: "Create a spell that works with any relay",
|
||||
placeholder: "req -k 1 -l 50",
|
||||
placeholder: "req -k 1 -d $relay -l 50",
|
||||
variable: "$relay",
|
||||
variableDescription:
|
||||
"$relay is implicitly used for filtering - you can optionally use it in tags like -d $relay",
|
||||
requireVariable: false,
|
||||
"Use $relay in your command (e.g., -d $relay for relay-specific events)",
|
||||
requireVariable: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user