File tree Expand file tree Collapse file tree 3 files changed +5
-79
lines changed
resources/clojure-mcp/agents
src/clojure_mcp/tools/agent_tool_builder Expand file tree Collapse file tree 3 files changed +5
-79
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11(ns clojure-mcp.tools.agent-tool-builder.default-agents
2- " Default agent configurations that replicate the functionality of
2+ " Default agent configurations that replicate the functionality of
33 the original hardcoded agent tools (dispatch_agent, architect, code_critique)"
4- (:require [clojure.java.io :as io]
5- [clojure.edn :as edn]))
4+ (:require [clojure.java.io :as io]))
65
76(defn dispatch-agent-config
87 " Configuration for the dispatch agent - a general purpose agent with read-only tools"
3736 :enable-tools nil ; No tools needed
3837 :memory-size 35 })
3938
40- (defn clojure-edit-agent-config
41- " Configuration for the clojure edit agent - loaded from EDN resource"
42- []
43- (-> (io/resource " clojure-mcp/agents/clojure_edit_agent.edn" )
44- slurp
45- edn/read-string))
46-
4739(defn parent-agent-config
4840 " Configuration for the parent agent - has all tools and uses Clojure REPL system prompt"
4941 []
6254 []
6355 [(dispatch-agent-config )
6456 (architect-config )
65- (code-critique-config )
66- #_(clojure-edit-agent-config )])
57+ (code-critique-config )])
6758
6859(defn default-agent-ids
6960 " Returns a set of default agent IDs for easy checking"
7061 []
71- #{:dispatch-agent :architect :code-critique :clojure-edit-agent })
62+ #{:dispatch-agent :architect :code-critique })
7263
7364(defn merge-tool-config-into-agent
7465 " Merges tool-specific configuration from :tools-config into an agent configuration.
Original file line number Diff line number Diff line change 8888 ; ; Map tool-id keywords to agent-id keywords
8989 tool-id->agent-id {:dispatch_agent :dispatch-agent
9090 :architect :architect
91- :code_critique :code-critique
92- :clojure_edit_agent :clojure-edit-agent }
91+ :code_critique :code-critique }
9392
9493 ; ; Merge tool configs into matching default agents
9594 default-agents-with-tool-config
You can’t perform that action at this time.
0 commit comments