We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03dc628 commit 2541f97Copy full SHA for 2541f97
docs/protocol.md
@@ -769,6 +769,11 @@ interface ChatCommand {
769
*/
770
description: string;
771
772
+ /**
773
+ * The type of this command
774
+ */
775
+ type: 'mcp-prompt' | 'native';
776
+
777
/**
778
* The arguments of the command.
779
src/eca/features/chat.clj
@@ -385,9 +385,11 @@
385
db*]
386
(let [mcp-prompts (->> (f.mcp/all-prompts @db*)
387
(mapv #(-> %
388
- (assoc :name (str (:server %) ":" (:name %)))
+ (assoc :name (str (:server %) ":" (:name %))
389
+ :type :mcpPrompt)
390
(dissoc :server))))
391
eca-commands [{:name "costs"
392
+ :type :native
393
:description "Show the total costs of the current chat session."
394
:arguments []}]
395
commands (concat mcp-prompts
0 commit comments