mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-08 07:17:39 +00:00
feat(cli): add skill_lookup MCP for non-native agents (#1035)
* test: reproduce issue #752 * fix: expose skill lookup MCP tool (closes #752) * test: cover ACP skill lookup instructions * fix: inject ACP skill lookup instruction * test: narrow skill lookup auto-approval * fix: restrict skill lookup auto-approval * test: cover exact skill lookup tool names
This commit is contained in:
@@ -67,7 +67,9 @@ class GrokRemoteLauncher extends RemoteLauncherBase {
|
||||
|
||||
protected async runMainLoop(): Promise<void> {
|
||||
const session = this.session
|
||||
const { server, mcpServers } = await buildHapiMcpBridge(session.client)
|
||||
const { server, mcpServers } = await buildHapiMcpBridge(session.client, {
|
||||
skillLookup: { workingDirectory: session.path, flavor: 'grok' }
|
||||
})
|
||||
this.happyServer = server
|
||||
|
||||
const backend = createGrokBackend({
|
||||
|
||||
Reference in New Issue
Block a user