PSF: Foundry Progress Sync. 57 high-fidelity blueprints established. Open Fleet routing (Kimi/Qwen) active. GTD updated.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
(in-package :org-agent)
|
||||
|
||||
(defun ask-gemini-web (prompt)
|
||||
"Calls the Playwright bridge to interact with Gemini Web UI."
|
||||
(let* ((cookie-str (uiop:getenv "GEMINI_COOKIES"))
|
||||
(script-path (namestring (merge-pathnames "src/gemini-web.js" (asdf:system-source-directory :org-skill-web-research)))))
|
||||
(unless cookie-str (return-from ask-gemini-web "(:type :LOG :payload (:text \"Gemini Cookies missing\"))"))
|
||||
(uiop:run-program (list "node" script-path prompt cookie-str) :output :string)))
|
||||
"Calls the Playwright stealth bridge to interact with Gemini Web UI via a persistent profile."
|
||||
(let* ((script-path (namestring (merge-pathnames "src/gemini-web.js" (asdf:system-source-directory :org-skill-web-research)))))
|
||||
(multiple-value-bind (output error-output exit-code)
|
||||
(uiop:run-program (list "node" script-path prompt) :output :string :error-output :string :ignore-error-status t)
|
||||
(if (= exit-code 0)
|
||||
output
|
||||
(format nil "(:type :LOG :payload (:text \"Node Error (~a): ~a\"))" exit-code error-output)))))
|
||||
|
||||
Reference in New Issue
Block a user