summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/tools/glob.ts')
-rw-r--r--packages/server/src/tools/glob.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/server/src/tools/glob.ts b/packages/server/src/tools/glob.ts
index e81858c8..f51456c3 100644
--- a/packages/server/src/tools/glob.ts
+++ b/packages/server/src/tools/glob.ts
@@ -29,7 +29,7 @@ export interface GlobToolParams {
/**
* Implementation of the Glob tool logic (moved from CLI)
*/
-export class GlobLogic extends BaseTool<GlobToolParams, ToolResult> {
+export class GlobTool extends BaseTool<GlobToolParams, ToolResult> {
static readonly Name = 'glob'; // Keep static name
/**
@@ -43,9 +43,9 @@ export class GlobLogic extends BaseTool<GlobToolParams, ToolResult> {
*/
constructor(rootDirectory: string) {
super(
- GlobLogic.Name,
- '', // Display name handled by CLI wrapper
- '', // Description handled by CLI wrapper
+ GlobTool.Name,
+ 'FindFiles', // Display name handled by CLI wrapper
+ 'Efficiently finds files matching specific glob patterns (e.g., `src/**/*.ts`, `**/*.md`), returning absolute paths sorted by modification time (newest first). Ideal for quickly locating files based on their name or path structure, especially in large codebases.', // Description handled by CLI wrapper
{
properties: {
pattern: {