-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfunctions.lisp
More file actions
executable file
·24 lines (18 loc) · 1.05 KB
/
functions.lisp
File metadata and controls
executable file
·24 lines (18 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; -*- Mode: lisp; Coding: utf-8; -*-
(in-package "GEMINI")
(defun standard-functions-and-handlers (content-generator)
"Return a list of standard functions and their handlers based on the content-generator's configuration."
(let ((config (get-config content-generator)))
(append
(mcp-functions-and-handlers content-generator)
(let ((diary-tool (persona-diary-tool content-generator)))
(when diary-tool (list diary-tool)))
(when (get-enable-evolution-tools config) (evolution-tools-and-handlers))
(when (get-enable-filesystem-tools config) (filesystem-tools-and-handlers))
(when (get-enable-git-tools config) (git-tools-and-handlers))
(when (get-enable-interaction-tools config) (interaction-tools-and-handlers))
(when (get-enable-lisp-introspection-tools config) (lisp-introspection-tools-and-handlers))
(when (get-enable-misc-tools config) (misc-tools-and-handlers))
(when (get-enable-shell-tools config) (shell-tools-and-handlers))
(when (get-enable-web-tools config) (web-tools-and-handlers))
)))