Commit d791a53
committed
feat: add platform-specific terminal context (#5659)
- Enhanced system prompt with platform-specific terminal guidance
- Added shell-specific command examples and best practices
- Improved execute_command tool with platform-appropriate examples
- Supports Windows (PowerShell/CMD), macOS (Zsh/Bash), and Linux (Zsh/Bash)
- Provides command syntax, operators, path separators, and tool recommendations
- Updated test snapshots to include new platform context
Fixes #56591 parent e84dd0a commit d791a53
File tree
15 files changed
+277
-3
lines changed- src/core/prompts
- __tests__/__snapshots__
- add-custom-instructions
- system-prompt
- sections
- tools
15 files changed
+277
-3
lines changedLines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments