fix(skills): scope completions by session flavor (#667)

This commit is contained in:
NightWatcher314
2026-05-24 10:59:32 +08:00
committed by GitHub
parent 04d3d02627
commit c417330d55
6 changed files with 252 additions and 37 deletions
+2 -2
View File
@@ -889,12 +889,12 @@ export class SyncEngine {
return await this.rpcGateway.listSlashCommands(sessionId, agent)
}
async listSkills(sessionId: string): Promise<{
async listSkills(sessionId: string, flavor?: string): Promise<{
success: boolean
skills?: Array<{ name: string; description?: string }>
error?: string
}> {
return await this.rpcGateway.listSkills(sessionId)
return await this.rpcGateway.listSkills(sessionId, flavor)
}
async listCodexModelsForSession(sessionId: string): Promise<RpcListCodexModelsResponse> {