     (messaging/announce-job-end (:server driver) request-id)))
 
 (defn announce-ns [driver]
-  (messaging/announce-repl-ns (:server driver) (str ana/*cljs-ns*)))
+  (messaging/announce-repl-ns (:server driver) (get-last-ns driver)))
 
 ; -- job management ---------------------------------------------------------------------------------------------------------
 

    (assert sniffer&)
    @sniffer&))

; -- announcements ----------------------------------------------------------------------------------------------------------

(defn announce-job-start [driver job]


(defn get-initial-settings []
  {:commands-channel                     (chan)                                                                               ; channel for REPL commands (actually command records) from *in* and also network
   :last-ns                              (volatile! "")                                                                       ; string name of last namespace seen on prompt
   :current-job                          (volatile! nil)                                                                      ; command-record currently being processed {:request-id :kind :command}
   :active-repl-opts                     (volatile! nil)                                                                      ; cached repl opts
   :recording?                           (volatile! false)                                                                    ; should we record printing into *out* and *err*?
