MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / workspaceFiles

Function workspaceFiles

packages/core/src/agent.ts:801–807  ·  view source on GitHub ↗
(fs: TextEditorFsCallbacks | undefined)

Source from the content-addressed store, hash-verified

799}
800
801function workspaceFiles(fs: TextEditorFsCallbacks | undefined): string[] {
802 if (!fs) return [];
803 return fs
804 .listDir('.')
805 .filter((file) => file.trim().length > 0)
806 .sort((a, b) => a.localeCompare(b));
807}
808
809function isVirtualTemplatePath(file: string): boolean {
810 const normalized = file.replace(/\\/g, '/').toLowerCase();

Callers 2

buildWorkspaceBriefFunction · 0.85
generateViaAgentFunction · 0.85

Calls 1

listDirMethod · 0.80

Tested by

no test coverage detected