diff --git a/literate/setup.org b/literate/setup.org index ff76370..9a4ec2c 100644 --- a/literate/setup.org +++ b/literate/setup.org @@ -56,6 +56,7 @@ setup_system() { read -p "Memex Root [/memex]: " memex_dir memex_dir=${memex_dir:-/memex} sed -i "s|MEMEX_DIR=.*|MEMEX_DIR=\"$memex_dir\"|" .env + sed -i "s|\"/memex/|\"$memex_dir/|g" .env read -p "Inbox Directory [$memex_dir/inbox]: " inbox_dir inbox_dir=${inbox_dir:-$memex_dir/inbox} diff --git a/opencortex-tui b/opencortex-tui new file mode 100755 index 0000000..2313fb7 Binary files /dev/null and b/opencortex-tui differ diff --git a/opencortex.asd b/opencortex.asd index da8a50c..3327586 100644 --- a/opencortex.asd +++ b/opencortex.asd @@ -4,7 +4,7 @@ :version "0.1.0" :license "AGPLv3" :description "The Probabilistic-Deterministic Lisp Machine Harness" - :depends-on (:usocket :bordeaux-threads :dexador :uiop :cl-dotenv :cl-ppcre :hunchentoot :ironclad :str :cl-json :uuid :croatoan) + :depends-on (:usocket :bordeaux-threads :dexador :uiop :cl-dotenv :cl-ppcre :hunchentoot :ironclad :str :cl-json :uuid) :serial t :components ((:file "src/package") (:file "src/skills") @@ -37,10 +37,3 @@ (uiop:symbol-call :fiveam :run! (uiop:find-symbol* :boot-suite :opencortex-boot-tests)) (uiop:symbol-call :fiveam :run! (uiop:find-symbol* :memory-suite :opencortex-memory-tests)) (uiop:symbol-call :fiveam :run! (uiop:find-symbol* :immune-suite :opencortex-immune-system-tests)))) - -(defsystem :opencortex/tui - :depends-on (:opencortex :croatoan :usocket :bordeaux-threads) - :components ((:file "src/tui-client")) - :build-operation "program-op" - :build-pathname "opencortex-tui" - :entry-point "opencortex.tui:main") diff --git a/opencortex.sh b/opencortex.sh index 55985d8..190a78e 100755 --- a/opencortex.sh +++ b/opencortex.sh @@ -47,6 +47,7 @@ setup_system() { read -p "Memex Root [/memex]: " memex_dir memex_dir=${memex_dir:-/memex} sed -i "s|MEMEX_DIR=.*|MEMEX_DIR=\"$memex_dir\"|" .env + sed -i "s|\"/memex/|\"$memex_dir/|g" .env read -p "Inbox Directory [$memex_dir/inbox]: " inbox_dir inbox_dir=${inbox_dir:-$memex_dir/inbox} diff --git a/src/tui-client.lisp b/src/tui-client.lisp index 5c4d45c..56713c0 100644 --- a/src/tui-client.lisp +++ b/src/tui-client.lisp @@ -108,4 +108,4 @@ (sleep 0.02)))) (setf *is-running* nil) - (when *socket* (usocket:socket-close *socket*)))) \ No newline at end of file + (when *socket* (usocket:socket-close *socket*)))) diff --git a/test_input.txt b/test_input.txt new file mode 100644 index 0000000..a9b04a1 --- /dev/null +++ b/test_input.txt @@ -0,0 +1,9 @@ +TestUser +TestAgent +test_gemini_key + + +/home/user/memex/test_memex +/home/user/memex/test_memex/inbox +/home/user/memex/test_memex/daily +/home/user/memex/test_memex/projects