refactor(tools): remove native ast-grep tool

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-18 21:19:33 +09:00
parent ef09880e26
commit a86cc6af18
23 changed files with 0 additions and 1642 deletions
@@ -90,7 +90,6 @@ describe("team-mode tool registry wiring", () => {
createSkillTool: mock(() => fakeTool),
createGrepTools: mock(() => ({})),
createGlobTools: mock(() => ({})),
createAstGrepTools: mock(() => ({})),
createSessionManagerTools: mock(() => ({})),
createDelegateTask: mock(() => fakeTool),
discoverCommandsSync: mock(() => []),
@@ -164,7 +163,6 @@ describe("team-mode tool registry wiring", () => {
createSkillTool: mock(() => fakeTool),
createGrepTools: mock(() => ({})),
createGlobTools: mock(() => ({})),
createAstGrepTools: mock(() => ({})),
createSessionManagerTools: mock(() => ({})),
createDelegateTask: mock(() => fakeTool),
discoverCommandsSync: mock(() => []),
-1
View File
@@ -53,7 +53,6 @@ const toolFactories: NonNullable<Parameters<typeof createToolRegistry>[0]["toolF
createSkillTool: mock(() => fakeTool),
createGrepTools: mock(() => ({})),
createGlobTools: mock(() => ({})),
createAstGrepTools: mock(() => ({})),
createSessionManagerTools: mock(() => ({})),
createDelegateTask: mock((options: { onSyncSessionCreated?: typeof syncSessionCreatedCallbacks[number] }) => {
syncSessionCreatedCallbacks.push(options.onSyncSessionCreated)
-4
View File
@@ -32,7 +32,6 @@ import {
createSkillTool,
createGrepTools,
createGlobTools,
createAstGrepTools,
createSessionManagerTools,
createDelegateTask,
discoverCommandsSync,
@@ -59,7 +58,6 @@ type ToolRegistryFactories = {
createSkillTool: typeof createSkillTool
createGrepTools: typeof createGrepTools
createGlobTools: typeof createGlobTools
createAstGrepTools: typeof createAstGrepTools
createSessionManagerTools: typeof createSessionManagerTools
createDelegateTask: typeof createDelegateTask
discoverCommandsSync: typeof discoverCommandsSync
@@ -91,7 +89,6 @@ const defaultToolRegistryFactories: ToolRegistryFactories = {
createSkillTool,
createGrepTools,
createGlobTools,
createAstGrepTools,
createSessionManagerTools,
createDelegateTask,
discoverCommandsSync,
@@ -338,7 +335,6 @@ export function createToolRegistry(args: {
const allTools: Record<string, ToolDefinition> = {
...factories.createGrepTools(ctx),
...factories.createGlobTools(ctx),
...factories.createAstGrepTools(ctx),
...factories.createSessionManagerTools(ctx),
...backgroundTools,
call_omo_agent: callOmoAgent,