Skip to content

Commit 87cfb93

Browse files
committed
Update SharpNinja.McpServer.Director version to 0.5.1-42 and enhance agent chat prompt with file system command guidance. Mark McpServer submodule as dirty.
Signed-off-by: sharpninja <ninja@thesharp.ninja>
1 parent ea50d2f commit 87cfb93

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nupkg/SharpNinja.McpServer.Director.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>SharpNinja.McpServer.Director</id>
5-
<version>0.5.1-41</version>
5+
<version>0.5.1-42</version>
66
<authors>SharpNinja</authors>
77
<description>CLI management tool for McpServer. Provides workspace management, agent orchestration, compliance policy editing, Keycloak OIDC auth, and an interactive Terminal.Gui TUI with 7 tabbed screens. 18 CLI commands via System.CommandLine.</description>
88
<packageTypes>

src/McpServer.Director/Commands/AgentHostCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,8 @@ public static DirectorAgentSettings Resolve(string? workspaceOverride)
12131213
"Director MCP Agent chat",
12141214
FirstNonEmpty(
12151215
ReadEnvironmentVariable(SystemPromptEnvironmentVariable),
1216-
"You are an interactive command-line assistant running inside Director-hosted McpServer.McpAgent. Be helpful and use the available MCP workflow tools whenever they help you inspect TODOs, session logs, repository context, or other MCP-backed information.")!);
1216+
"You are an interactive command-line assistant running inside Director-hosted McpServer.McpAgent. Be helpful and use the available MCP workflow tools whenever they help you inspect TODOs, session logs, repository context, or other MCP-backed information. " +
1217+
"For reading or writing arbitrary paths on the machine where Director runs, use mcp_fs_read, mcp_fs_list, and mcp_fs_write (absolute paths or paths relative to the MCP workspace). Use mcp_repo_* when MCP-server allowlists and auditing should apply.")!);
12171218
}
12181219

12191220
internal static string BuildSystemPrompt(string basePrompt, string verbosity)

0 commit comments

Comments
 (0)