Update CLI run command and session handling
🤖 Generated with [OpenCode](https://opencode.ai) Co-Authored-By: OpenCode <noreply@opencode.ai>
This commit is contained in:
parent
a454ba8895
commit
29a6603a89
1 changed files with 6 additions and 2 deletions
|
|
@ -83,6 +83,7 @@ export const RunCommand = {
|
|||
}
|
||||
|
||||
Bus.subscribe(Message.Event.PartUpdated, async (evt) => {
|
||||
if (evt.properties.sessionID !== session.id) return
|
||||
const part = evt.properties.part
|
||||
const message = await Session.getMessage(
|
||||
evt.properties.sessionID,
|
||||
|
|
|
|||
Loading…
Reference in a new issue