feat: add initial task on session creation

This commit is contained in:
wancat committed 2023-09-01 17:16:32 +08:00
1 parent 97b0fb0f1d
commit 0ea44e1f71
7 files changed
+59 -28

No files matched your search

-1
View File
@@ -75,7 +75,6 @@ export default class CommandHandler extends SessionHandler {
.filter((s) => this.isMatch(s))
.reduce((r, s) => ({ ...r, ...this.execute(s) }), {})
console.log(this.session)
return {
end: this.session.status === 'finished',
...response,