Skip to content

Commit ee033d0

Browse files
committed
chore: improve subagent types
1 parent 060c8f0 commit ee033d0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ const config = {
223223
"An expert SalesForce partner sentiment agent, designed to produce insights for renewal and churn conversations",
224224
prompt: getPrompt("agents/sales-partner-sentiment-agent.md"),
225225
mcpServers: ["salesforce"],
226+
disallowedTools: ["Bash"],
226227
}),
227228
},
228229
mcpServers: {

agent-chat-cli.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const config: AgentChatConfig = {
1212
description: "A claude subagent designed to show off functionality",
1313
prompt: getPrompt("agents/demo-agent.md"),
1414
mcpServers: [],
15+
disallowedTools: ["Bash"],
1516
}),
1617
},
1718

src/utils/createAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { AgentDefinition } from "@anthropic-ai/claude-agent-sdk"
22

3-
export interface AgentConfig {
3+
export interface AgentConfig extends Omit<AgentDefinition, "prompt"> {
44
description: string
55
prompt: () => Promise<string>
66
mcpServers?: string[]

0 commit comments

Comments
 (0)