File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ function createPowerShellModelDescription(shell: string): string {
6060 // doesn't parse `&&`. See https://github.com/airbus-cert/tree-sitter-powershell/issues/27
6161 '- Use semicolons ; to chain commands on one line, NEVER use && even when asked explicitly' ,
6262 '- Prefer pipelines | for object-based data flow' ,
63+ '- Never create a sub-shell (eg. powershell -c "command") unless explicitly asked' ,
6364 '' ,
6465 'Directory Management:' ,
6566 '- Must use absolute paths to avoid navigation issues' ,
@@ -97,6 +98,7 @@ Command Execution:
9798- Does NOT support multi-line commands
9899- Use && to chain simple commands on one line
99100- Prefer pipelines | over temporary files for data flow
101+ - Never create a sub-shell (eg. bash -c "command") unless explicitly asked
100102
101103Directory Management:
102104- Must use absolute paths to avoid navigation issues
You can’t perform that action at this time.
0 commit comments