Skip to content

wpf-dev-pack v1.7.1

Choose a tag to compare

@christian289 christian289 released this 04 Jun 11:14
· 44 commits to main since this release

What's New

🛡️ RepoPathGuard hardening (reliable mechanical gate)

  • Fixed cold-start fail-open. The PreToolUse hook that blocks WpfDevPackMcp tool calls when the knowledge repo path is unset used a 5s timeout. A cold dotnet file-based-app compile exceeded it, so the hook was killed and the call slipped through to the server — after which the agent would auto-search for a clone and self-run set-repo-path. The hook timeout is now 30s, so the deny reliably lands (warm runs ~750ms; only the first call per plugin version pays the cold-compile cost).
  • "Repo not configured" messages now defer to the user. Both the RepoPathGuard deny reason and the server-side RepoNotConfiguredException state that this is a one-time USER setup and instruct the agent not to search the filesystem or run set-repo-path itself. Defense in depth: the MCP server's code-level check backstops the hook if it ever fails open again.

🔌 MCP

  • Re-pinned WpfDevPackMcp to @0.1.2 in .mcp.json (ships the reworded server-side message).

⚠️ Notes

  • After updating, the new hook behavior and the @0.1.2 pin take effect. The 11 bundled command skills are unchanged. WPF knowledge still requires a one-time /wpf-dev-pack:set-repo-path <path> by the user.

Stats

  • Skills: 11
  • Agents: 10
  • MCP Servers: 2