fix(foreign): keep session_list arity empty

ForeignSessionList accepts no id; only ForeignSessionInterrupt takes id.
This commit is contained in:
cflmy committed 2026-10-18 14:38:27 +08:00
1 parent 064522a338
commit e5e532d83f
1 file changed
+1 -1
+1 -1
View File
@@ -907,7 +907,7 @@ impl HostFn {
Self::ForeignSessionGet => &["id", "name"],
Self::ForeignSessionNames => &["id"],
Self::ForeignSessionClose => &["id"],
Self::ForeignSessionList => &["id"],
Self::ForeignSessionList => &[],
Self::ForeignSessionInterrupt => &["id"],
Self::ForeignLangs => &[],
Self::PluginLoad => &["path"],