       (add-dependencies :coordinates coords :repositories repos)
       (transport/send transport
                       (response-for msg :status :done
-                                    :dependency
-                                    (apply str (interpose " " (first coords))))))
+                                    :dependency (str/join " " dependency-vector))))
     (catch Exception e
       (transport/send transport (response-for msg :error (.getMessage e)
                                               :status :done)))))

             [string :as str]]
            [clojure.data.json :as json]
            [clojure.java.io :as io]
            [clojure.tools.nrepl
             [middleware :refer [set-descriptor!]]
             [misc :refer [response-for]]

                          dorun)))))

(defn- get-artifacts-from-mvn-central! []
  (add-artifacts (get-all-clj-artifacts!)))

(defn- update-artifact-cache! []
  (let [mvn-central-futures (get-artifacts-from-mvn-central!)
        clojars-future (future (add-artifacts-from-clojars!))]
    (dorun (map deref mvn-central-futures))
    @clojars-future)
  (alter-meta! artifacts update-in [:last-modified]
               (constantly (java.util.Date.))))
