|
|
@@ -1702,6 +1702,16 @@ NOTE: At any point in time through this workflow you should feel free to ask the
|
|
|
: await lastModel(input.sessionID)
|
|
|
: taskModel
|
|
|
|
|
|
+ await Plugin.trigger(
|
|
|
+ "command.execute.before",
|
|
|
+ {
|
|
|
+ command: input.command,
|
|
|
+ sessionID: input.sessionID,
|
|
|
+ arguments: input.arguments,
|
|
|
+ },
|
|
|
+ { parts },
|
|
|
+ )
|
|
|
+
|
|
|
const result = (await prompt({
|
|
|
sessionID: input.sessionID,
|
|
|
messageID: input.messageID,
|