mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Read and write files through Zed (#6169)
Co-authored-by: Agus Zubiaga <agus@zed.dev>
This commit is contained in:
parent
4394b6ab4f
commit
fb3ceb0da4
17 changed files with 268 additions and 50 deletions
|
|
@ -11,6 +11,7 @@ import {
|
|||
FileDiscoveryService,
|
||||
GlobTool,
|
||||
ReadManyFilesTool,
|
||||
StandardFileSystemService,
|
||||
ToolRegistry,
|
||||
} from '@google/gemini-cli-core';
|
||||
import * as os from 'os';
|
||||
|
|
@ -56,6 +57,7 @@ describe('handleAtCommand', () => {
|
|||
respectGitIgnore: true,
|
||||
respectGeminiIgnore: true,
|
||||
}),
|
||||
getFileSystemService: () => new StandardFileSystemService(),
|
||||
getEnableRecursiveFileSearch: vi.fn(() => true),
|
||||
getWorkspaceContext: () => ({
|
||||
isPathWithinWorkspace: () => true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue