mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix(skills): scope completions by session flavor (#667)
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user