MCPcopy Create free account
hub / github.com/QodeXcli/QodeX /

Class

src/tools/network/network-optimize.ts:89–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87});
88
89export class NetworkOptimizeTool extends Tool<z.infer<typeof Args>> {
90 name = 'network_optimize';
91 description = 'Diagnose a slow/restricted network and pick the fastest reachable package mirror for npm, pip, HuggingFace and GitHub. Probes official vs known mirrors concurrently (through any configured proxy), ranks by reachability + latency, and returns the exact config to use. Set apply:true to write ~/.npmrc / pip.conf / git proxy automatically. Use this when installs time out (the recurring [NO_RESULTS] / npm-hang situation).';
92 isReadOnly = false; // probing is read-only; apply writes config files

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected