feat: Add cognitive tools to skills.org (reload-skill, read-file, write-file, replace-string)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s

New tools require manual addition to skills.lisp due to compilation issue.
This commit is contained in:
2026-04-22 20:57:41 -04:00
parent 9f6e189ea0
commit 92b6f3cf2b
4 changed files with 152 additions and 53 deletions

View File

@@ -56,13 +56,13 @@
"Starts the TCP listener for local CLI clients."
(setf *cli-server-socket* (usocket:socket-listen "0.0.0.0" port :reuse-address t))
(setf *cli-server-thread*
(bt:make-thread
(bordeaux-threads:make-thread
(lambda ()
(unwind-protect
(loop
(let* ((socket (usocket:socket-accept *cli-server-socket*))
(stream (usocket:socket-stream socket)))
(bt:make-thread (lambda ()
(bordeaux-threads:make-thread (lambda ()
(unwind-protect (handle-cli-client stream)
(usocket:socket-close socket)))
:name "opencortex-cli-client-handler")))