Skip to content

Conversation

bhouston
Copy link
Member

Add enableUserPrompt command line option

This PR adds a new command line option --enableUserPrompt that defaults to true but can be set to false to disable the userPrompt tool for fully automated sessions.

Changes

  • Added enableUserPrompt option to the shared options in CLI package
  • Modified getTools function to conditionally include userPrompt tool based on this setting
  • Updated ToolContext type to include enableUserPrompt option
  • Updated subAgent to use the new getTools API
  • Updated README.md to document the new option
  • Added changeset file for patch version bump

Testing

  • All existing tests pass
  • Manually verified that the userPrompt tool is disabled when --enableUserPrompt false is used

Fixes #164

@bhouston bhouston merged commit 47fd9e8 into main Mar 10, 2025
1 check passed
Copy link

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version mycoder-agent-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version mycoder-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bhouston bhouston deleted the feature/disable-user-prompt branch March 12, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add command line option to disable userPrompt tool

1 participant