Hi,
As Ken says, in Scripted we are running some bits and pieces on Node to feed the client with extra information on dependencies (which drives cross file content assist and navigation). This is encapsulated in the jsdepend library in scripted. Given the simplicity of our server side, I don't think it would be too tricky to run this library in another Node environment. Obviously it interacts with the filesystem but I believe there is an abstraction (or at least the beginnings of one) in there so it can be fed by whatever filesystem you have around (i.e. it doesn't use Node 'fs' directly). Obviously we don't have any other consumers of this yet right now so it hasn't been designed for re-use but in principal I don't think the task would be too tricky and we'd be amenable to changes that make it more easily consumable.
Andrew can comment more specifically on activating the client side to utilize that info, but I think on the client side everything is there, it is just waiting for the data from the server.
cheers,
Andy