feat: enhance abortSession method to include current directory in query
This commit is contained in:
@@ -473,6 +473,7 @@ class OpencodeService {
|
||||
async abortSession(id: string): Promise<boolean> {
|
||||
const response = await this.client.session.abort({
|
||||
path: { id },
|
||||
query: this.currentDirectory ? { directory: this.currentDirectory } : undefined,
|
||||
throwOnError: true,
|
||||
});
|
||||
return Boolean(response.data);
|
||||
|
||||
Reference in New Issue
Block a user